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 listJul 7, 2026 21:57IlyaIlyaScore: 4,756Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 22:034,73824,606,34414,159,0001,004,0002,113,536
2Jul 7, 2026 22:034,73924,658,56714,152,0001,013,0002,113,536
3Jul 7, 2026 22:034,74624,642,32114,169,0001,019,0002,113,536
4Jul 7, 2026 22:034,75324,654,20114,153,0001,059,0002,113,536
5Jul 7, 2026 22:034,75624,732,44614,167,0001,055,0002,113,536
6Jul 7, 2026 22:034,75724,715,38014,155,0001,069,0002,113,536
7Jul 7, 2026 22:034,76525,944,25414,199,0001,052,0002,113,536
8Jul 7, 2026 22:034,77324,750,60214,213,0001,061,0002,113,536
9Jul 7, 2026 22:034,78024,829,74014,220,0001,077,0002,113,536