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 listOct 1, 2026 22:02Karthik ReddyKarthik ReddyScore: 4,026Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 1, 2026 22:024,01321,869,45712,844,000020,480
2Oct 1, 2026 22:024,02023,181,97512,867,000020,480
3Oct 1, 2026 22:024,02121,867,91912,868,000020,480
4Oct 1, 2026 22:024,02221,887,77112,871,000020,480
5Oct 1, 2026 22:024,02621,853,54912,885,000020,480
6Oct 1, 2026 22:024,02621,881,99312,884,000020,480
7Oct 1, 2026 22:024,02721,825,85912,889,000020,480
8Oct 1, 2026 22:024,03022,373,14912,896,000020,480
9Oct 1, 2026 22:024,05422,023,97812,973,000020,480