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 listApr 27, 2026 22:03Charles CabergsCharles CabergsScore: 5,318Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2026 22:055,28034,933,57514,910,0001,988,0002,392,064
2Apr 27, 2026 22:055,28933,469,98114,935,0001,991,0002,375,680
3Apr 27, 2026 22:055,29233,460,41914,945,0001,992,0002,334,720
4Apr 27, 2026 22:055,30535,901,08414,981,0001,997,0002,318,336
5Apr 27, 2026 22:055,31840,048,07615,017,0002,002,0002,387,968
6Apr 27, 2026 22:055,32036,535,95315,023,0002,003,0002,383,872
7Apr 27, 2026 22:055,32139,675,86915,026,0002,003,0002,387,968
8Apr 27, 2026 22:055,33734,579,68015,070,0002,009,0002,396,160
9Apr 27, 2026 22:055,34331,989,72015,089,0002,011,0002,375,680