Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listApr 22, 2025 21:42Yuriy LyfenkoYuriy LyfenkoScore: 4,421Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2025 21:414,37138,000,07311,989,0001,998,0002,269,184
2Apr 22, 2025 21:414,37839,629,17212,009,0002,001,0002,269,184
3Apr 22, 2025 21:414,38333,568,46312,022,0002,003,0002,457,600
4Apr 22, 2025 21:414,38827,701,50312,036,0002,006,0002,531,328
5Apr 22, 2025 21:414,39229,083,06012,046,0002,007,0002,531,328
6Apr 22, 2025 21:424,40529,607,51712,082,0002,013,0002,531,328
7Apr 22, 2025 21:424,42129,691,76412,126,0002,021,0002,531,328
8Apr 22, 2025 21:414,42236,844,66412,130,0002,021,0002,449,408
9Apr 22, 2025 21:424,44133,334,31312,181,0002,030,0002,453,504
10Apr 22, 2025 21:424,44834,943,06412,200,0002,033,0002,453,504
11Apr 22, 2025 21:424,45241,766,19113,228,0001,017,0002,531,328
12Apr 22, 2025 21:424,45435,869,28712,218,0002,036,0002,269,184