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 listApr 25, 2026 08:44olliecrowolliecrowError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2026 08:45015,985,08901,198,0002,498,560expected "976894 ", got "/mnt/hldata/data2349064505 "
2Apr 25, 2026 08:45023,336,76801,190,0002,506,752expected "976526 ", got "/mnt/hldata/data1745176155 "
3Apr 25, 2026 08:45013,938,18701,170,0002,498,560expected "977408 ", got "/mnt/hldata/data2256551273 "