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 listMar 4, 2026 11:56DanielDanielScore: 5,697Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 4, 2026 11:565,66845,164,95416,122,0002,015,0002,289,664
2Mar 4, 2026 11:565,67533,520,62217,152,0001,008,0002,363,392
3Mar 4, 2026 11:565,68644,351,51616,174,0002,021,0002,355,200
4Mar 4, 2026 11:565,68739,788,24616,177,0002,022,0002,363,392
5Mar 4, 2026 11:565,69743,366,38416,206,0002,025,0002,289,664
6Mar 4, 2026 11:565,73640,411,34517,337,0001,019,0002,355,200
7Mar 4, 2026 11:565,73740,167,09317,338,0001,019,0002,293,760
8Mar 4, 2026 11:565,75646,242,42117,395,0001,023,0002,293,760
9Mar 4, 2026 11:565,79341,160,35918,538,00002,355,200