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:06IlyaIlyaScore: 4,248Success
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:074,23122,945,26312,518,0001,024,0002,113,536
2Jul 2, 2026 23:074,23522,843,87612,540,0001,012,0002,113,536
3Jul 2, 2026 23:074,23622,930,91812,531,0001,025,0002,113,536
4Jul 2, 2026 23:074,24722,932,12812,532,0001,060,0002,113,536
5Jul 2, 2026 23:074,24822,914,07412,565,0001,029,0002,113,536
6Jul 2, 2026 23:074,24922,931,02612,567,0001,030,0002,113,536
7Jul 2, 2026 23:074,26522,984,63612,573,0001,077,0002,113,536
8Jul 2, 2026 23:074,27223,044,01812,596,0001,077,0002,113,536
9Jul 2, 2026 23:074,40131,318,05013,062,0001,023,0002,113,536