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 15, 2026 13:43zielajzielajScore: 366,208Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2026 13:53365,5761,201,189,3341,168,845,000998,0002,490,368
2Jan 15, 2026 13:43365,6061,193,655,5951,168,943,000997,0002,531,328
3Jan 15, 2026 13:53365,9651,198,834,3641,170,092,000997,0002,490,368
4Jan 15, 2026 13:43366,2081,196,369,7461,169,872,0001,994,0002,494,464
5Jan 15, 2026 13:43366,2751,203,372,0241,171,082,000997,0002,531,328
6Jan 15, 2026 13:53366,3561,196,625,4391,172,340,00002,486,272