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 listJan 5, 2026 10:46Rajarshi BasuRajarshi BasuScore: 4,722Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2026 10:464,68340,318,65814,050,000936,0002,273,280
2Jan 5, 2026 10:464,70540,979,64213,048,0002,007,0002,392,064
3Jan 5, 2026 10:464,71640,293,01713,080,0002,012,0002,400,256
4Jan 5, 2026 10:464,72135,697,74913,094,0002,014,0002,400,256
5Jan 5, 2026 10:464,72234,401,26213,096,0002,014,0002,400,256
6Jan 5, 2026 10:464,73337,431,97213,254,0001,893,0002,404,352
7Jan 5, 2026 10:464,73339,737,42913,128,0002,019,0002,392,064
8Jan 5, 2026 10:464,74741,468,66614,179,0001,012,0002,396,160
9Jan 5, 2026 10:464,82343,893,13514,470,000964,0002,273,280