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 25, 2025 12:44zielajzielajScore: 367,558Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2025 13:39366,6211,203,225,4271,172,190,000997,0002,498,560
2Apr 25, 2025 13:28366,6441,205,809,1161,172,264,000997,0002,494,464
3Apr 25, 2025 13:53366,6931,196,826,9841,172,422,000997,0002,527,232
4Apr 25, 2025 12:42366,8371,207,027,5421,172,881,000997,0002,527,232
5Apr 25, 2025 12:44367,0161,203,210,1621,174,451,00002,265,088
6Apr 25, 2025 12:42367,2691,205,389,7341,174,264,000997,0002,490,368
7Apr 25, 2025 13:53367,5431,204,533,1461,175,139,000997,0002,527,232
8Apr 25, 2025 13:53367,5581,201,337,4641,175,189,000997,0002,494,464
9Apr 25, 2025 13:39367,6771,200,240,9731,176,565,00002,527,232
10Apr 25, 2025 13:28367,7031,204,296,3021,176,650,00002,527,232
11Apr 25, 2025 13:39367,7811,212,331,6101,175,903,000997,0002,494,464
12Apr 25, 2025 12:44367,8101,204,661,6451,175,995,000997,0002,490,368
13Apr 25, 2025 12:42368,0981,202,595,9631,176,917,000997,0002,527,232
14Apr 25, 2025 13:28368,1731,200,154,2741,177,155,000997,0002,490,368
15Apr 25, 2025 12:44368,1871,206,676,1901,177,202,000997,0002,527,232