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 12, 2026 18:50IlyaIlyaScore: 4,232Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 12, 2026 18:504,21322,910,01212,467,0001,015,0002,113,536
2Jul 12, 2026 18:504,21522,950,56712,476,0001,013,0002,113,536
3Jul 12, 2026 18:504,21622,857,86312,478,0001,015,0002,113,536
4Jul 12, 2026 18:504,23122,977,05012,533,0001,007,0002,113,536
5Jul 12, 2026 18:504,23223,015,29912,512,0001,031,0002,113,536
6Jul 12, 2026 18:504,23423,050,90112,497,0001,052,0002,113,536
7Jul 12, 2026 18:504,23623,005,18412,484,0001,074,0002,113,536
8Jul 12, 2026 18:504,24323,119,83112,505,0001,073,0002,113,536
9Jul 12, 2026 18:504,25224,513,97312,527,0001,081,0002,113,536