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 27, 2026 08:33C#_userC#_userError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 27, 2026 08:34061,251,80850,506,0001,036,0002,142,208expected "976548 ", got "979902 "
2Aug 27, 2026 08:34061,196,29150,456,0001,039,0002,207,744expected "975352 ", got "978602 "
3Aug 27, 2026 08:34061,205,42050,432,0001,019,0002,142,208expected "976943 ", got "980189 "