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 1, 2026 17:06IlyaIlyaScore: 4,299Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 1, 2026 17:064,27923,023,73912,684,0001,010,0002,113,536
2Jul 1, 2026 17:064,28423,042,22812,703,0001,007,0002,113,536
3Jul 1, 2026 17:064,29023,058,55412,701,0001,030,0002,113,536
4Jul 1, 2026 17:064,29423,090,36412,715,0001,026,0002,113,536
5Jul 1, 2026 17:064,29923,020,59712,736,0001,023,0002,113,536
6Jul 1, 2026 17:064,30523,130,88412,710,0001,068,0002,113,536
7Jul 1, 2026 17:064,30623,120,32012,749,0001,031,0002,113,536
8Jul 1, 2026 17:064,31223,107,26312,739,0001,061,0002,113,536
9Jul 1, 2026 17:064,32523,128,43312,775,0001,065,0002,113,536