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 listDec 22, 2025 19:42jhallgreenjhallgreenScore: 4,473Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2025 19:424,43336,007,44713,174,0001,013,0002,273,280
2Dec 22, 2025 19:424,44436,599,84012,191,0002,031,0002,273,280
3Dec 22, 2025 19:424,45535,091,82412,221,0002,036,0002,400,256
4Dec 22, 2025 19:424,45536,782,65912,219,0002,036,0002,404,352
5Dec 22, 2025 19:424,45736,228,86012,224,0002,037,0002,273,280
6Dec 22, 2025 19:424,47031,242,95113,283,0001,021,0002,404,352
7Dec 22, 2025 19:424,47334,779,48914,314,00002,400,256
8Dec 22, 2025 19:424,47337,792,71413,293,0001,022,0002,273,280
9Dec 22, 2025 19:424,47938,313,43714,334,00002,273,280
10Dec 22, 2025 19:424,48627,931,82613,330,0001,025,0002,404,352
11Dec 22, 2025 19:424,49142,515,70413,346,0001,026,0002,273,280
12Dec 22, 2025 19:424,50235,766,52213,377,0001,029,0002,404,352