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 2, 2026 15:43IlyaIlyaScore: 4,497Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 2, 2026 15:434,46023,802,45813,246,0001,026,0002,113,536
2Jul 2, 2026 15:434,48023,776,73013,309,0001,030,0002,113,536
3Jul 2, 2026 15:434,49225,280,22013,274,0001,102,0002,113,536
4Jul 2, 2026 15:434,49623,855,08513,281,0001,108,0002,113,536
5Jul 2, 2026 15:434,49724,290,66313,278,0001,113,0002,113,536
6Jul 2, 2026 15:434,49923,873,08713,298,0001,100,0002,113,536
7Jul 2, 2026 15:434,50623,965,93913,316,0001,104,0002,113,536
8Jul 2, 2026 15:434,51124,435,58113,330,0001,107,0002,113,536
9Jul 2, 2026 15:434,52124,429,64713,355,0001,115,0002,113,536