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 listOct 5, 2026 13:46FrederickFrederickScore: 4,482Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 5, 2026 13:484,4706,024,844,40113,277,0001,028,0002,113,536
2Oct 5, 2026 13:484,4756,023,347,07413,262,0001,059,0002,113,536
3Oct 5, 2026 13:484,4756,023,258,29213,302,0001,018,0002,113,536
4Oct 5, 2026 13:484,4816,023,352,14313,276,0001,064,0002,113,536
5Oct 5, 2026 13:484,4826,023,316,92913,313,0001,032,0002,113,536
6Oct 5, 2026 13:484,4916,023,302,30613,314,0001,058,0002,113,536
7Oct 5, 2026 13:484,4976,023,237,13013,306,0001,086,0002,113,536
8Oct 5, 2026 13:484,4986,023,436,86913,360,0001,035,0002,113,536
9Oct 5, 2026 13:484,5056,023,454,48313,407,0001,012,0002,113,536