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 13, 2026 17:11Oleg SkinderevOleg SkinderevScore: 5,018Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2026 17:114,98339,867,98213,954,0001,993,0002,285,568
2Apr 13, 2026 17:115,00338,354,73214,008,0002,001,0002,498,560
3Apr 13, 2026 17:115,01441,740,03814,040,0002,005,0002,285,568
4Apr 13, 2026 17:115,01533,169,12415,046,0001,003,0002,285,568
5Apr 13, 2026 17:115,01842,089,80515,053,0001,003,0002,404,352
6Apr 13, 2026 17:115,03632,972,27914,100,0002,014,0002,285,568
7Apr 13, 2026 17:115,04229,630,79814,118,0002,016,0002,404,352
8Apr 13, 2026 17:115,05136,313,44014,144,0002,020,0002,400,256
9Apr 13, 2026 17:115,08136,435,81614,226,0002,032,0002,285,568