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 listAug 16, 2026 19:02marko1597marko1597Score: 71,565Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 16, 2026 19:2071,385236,888,510227,372,0001,062,0002,121,728stderr
2Aug 16, 2026 19:2071,429237,561,177226,541,0002,034,0002,121,728stderr
3Aug 16, 2026 19:2071,478237,298,599227,697,0001,034,0002,121,728stderr
4Aug 16, 2026 19:2071,560238,536,981227,873,0001,122,0002,121,728stderr
5Aug 16, 2026 19:2071,565237,393,678227,950,0001,061,0002,121,728stderr
6Aug 16, 2026 19:2071,695238,369,264228,370,0001,057,0002,121,728stderr
7Aug 16, 2026 19:2071,731237,830,441228,478,0001,064,0002,121,728stderr
8Aug 16, 2026 19:2071,754237,984,811228,547,0001,068,0002,121,728stderr
9Aug 16, 2026 19:2071,765238,607,084228,578,0001,072,0002,121,728stderr