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 21, 2026 19:42JhnWJhnWError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2026 19:42018,957,2168,292,0001,034,0002,117,632expected "976906 ", got "488653 "
2Jul 21, 2026 19:42019,011,1018,308,0001,057,0002,117,632expected "976779 ", got "487526 "
3Jul 21, 2026 19:42019,028,1858,333,0001,079,0002,117,632expected "976772 ", got "488327 "