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 8, 2026 18:13IlyaIlyaError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2026 18:13016,929,3686,322,0001,096,0002,117,632expected "976360 ", got "44390228 "
2Jul 8, 2026 18:13016,866,0936,320,0001,068,0002,117,632expected "976519 ", got "44389036 "
3Jul 8, 2026 18:13016,836,9806,350,0001,062,0002,117,632expected "977022 ", got "44391791 "