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 listSep 29, 2026 10:27Damian HösterDamian HösterScore: 5,040Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2026 10:285,00924,810,82716,029,00002,117,632
2Sep 29, 2026 10:285,02625,043,61115,075,0001,011,0002,117,632
3Sep 29, 2026 10:285,03025,012,07416,096,00002,117,632
4Sep 29, 2026 10:285,03225,070,79516,103,00002,117,632
5Sep 29, 2026 10:285,04025,029,74015,118,0001,010,0002,117,632
6Sep 29, 2026 10:285,04525,088,34415,139,0001,006,0002,117,632
7Sep 29, 2026 10:285,05025,070,28015,137,0001,023,0002,117,632
8Sep 29, 2026 10:285,07725,231,19715,243,0001,005,0002,117,632
9Sep 29, 2026 10:285,07725,199,44815,242,0001,006,0002,117,632