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 23:04IlyaIlyaScore: 4,246Success
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 23:054,23422,869,08012,530,0001,020,0002,113,536
2Jul 2, 2026 23:054,23722,900,92313,560,00002,113,536
3Jul 2, 2026 23:054,24322,927,02312,547,0001,031,0002,113,536
4Jul 2, 2026 23:054,24522,934,38712,570,0001,014,0002,113,536
5Jul 2, 2026 23:054,24622,919,90212,576,0001,012,0002,113,536
6Jul 2, 2026 23:054,24722,910,75112,573,0001,019,0002,113,536
7Jul 2, 2026 23:054,25522,957,43412,609,0001,008,0002,113,536
8Jul 2, 2026 23:054,25822,986,19712,569,0001,059,0002,113,536
9Jul 2, 2026 23:054,27123,008,14112,591,0001,077,0002,113,536