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 2, 2026 00:24Karthik ReddyKarthik ReddyScore: 3,943Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 2, 2026 00:243,93021,606,97012,577,000020,480
2Oct 2, 2026 00:243,93621,531,42812,598,000020,480
3Oct 2, 2026 00:243,94021,687,87212,611,000020,480
4Oct 2, 2026 00:243,94121,531,01912,614,000020,480
5Oct 2, 2026 00:243,94321,605,87012,618,000020,480
6Oct 2, 2026 00:243,94422,159,41112,623,000020,480
7Oct 2, 2026 00:243,94421,604,06212,622,000020,480
8Oct 2, 2026 00:243,94922,948,05012,639,000020,480
9Oct 2, 2026 00:243,99221,806,36812,775,000020,480