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 12, 2026 19:34Kevin HeaveyKevin HeaveyScore: 4,090Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 12, 2026 19:344,07823,054,05212,047,0001,003,0002,113,536
2Sep 12, 2026 19:344,08223,156,15512,056,0001,007,0002,113,536
3Sep 12, 2026 19:344,08323,200,90712,048,0001,018,0002,113,536
4Sep 12, 2026 19:344,08923,092,68712,074,0001,013,0002,113,536
5Sep 12, 2026 19:344,09023,239,73912,069,0001,021,0002,113,536
6Sep 12, 2026 19:344,10523,260,02712,081,0001,058,0002,113,536
7Sep 12, 2026 19:344,10923,258,97912,106,0001,044,0002,113,536
8Sep 12, 2026 19:344,11023,309,44512,096,0001,058,0002,113,536
9Sep 12, 2026 19:344,11723,327,22412,113,0001,064,0002,113,536