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 listOct 29, 2026 08:18C21C21Score: 51,001Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2026 08:1949,866170,400,80252,658,000106,914,0002,113,536
2Oct 29, 2026 08:1950,135171,379,78552,607,000107,825,0002,113,536
3Oct 29, 2026 08:1950,905173,740,54652,684,000110,212,0002,113,536
4Oct 29, 2026 08:1950,970173,948,96552,576,000110,530,0002,113,536
5Oct 29, 2026 08:1951,001174,187,67452,571,000110,634,0002,113,536
6Oct 29, 2026 08:1951,014174,084,73652,552,000110,694,0002,113,536
7Oct 29, 2026 08:1951,080174,253,21152,616,000110,841,0002,113,536
8Oct 29, 2026 08:1951,351175,172,13352,637,000111,688,0002,113,536
9Oct 29, 2026 08:1951,375175,260,70752,609,000111,792,0002,113,536