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 listMay 4, 2026 23:07olliecrowolliecrowScore: 4,362Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 4, 2026 23:074,30829,986,18413,788,00002,486,272
2May 4, 2026 23:074,32432,808,96713,837,00002,490,368
3May 4, 2026 23:074,33727,451,10813,880,00002,482,176
4May 4, 2026 23:074,35026,722,13612,887,0001,035,0002,494,464
5May 4, 2026 23:074,36226,234,61812,916,0001,043,0002,486,272
6May 4, 2026 23:074,36426,775,54612,930,0001,035,0002,490,368
7May 4, 2026 23:074,36927,092,05413,981,00002,482,176
8May 4, 2026 23:074,37926,716,08512,967,0001,047,0002,490,368
9May 4, 2026 23:074,38126,677,82712,964,0001,057,0002,494,464