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:10Karthik ReddyKarthik ReddyScore: 3,944Success
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:103,92621,434,83212,565,000020,480
2Oct 2, 2026 00:103,93422,400,48012,590,000020,480
3Oct 2, 2026 00:103,93922,156,93812,606,000020,480
4Oct 2, 2026 00:103,94321,558,76412,620,000020,480
5Oct 2, 2026 00:103,94421,597,02512,622,000020,480
6Oct 2, 2026 00:103,95021,654,25012,642,000020,480
7Oct 2, 2026 00:104,01730,765,36912,856,000020,480
8Oct 2, 2026 00:104,02130,645,36512,868,000020,480
9Oct 2, 2026 00:104,05740,125,08212,985,000020,480