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 9, 2026 08:14Karthik 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 9, 2026 08:583,93021,343,15412,578,000020,480
2Oct 9, 2026 08:583,93621,542,67312,596,000020,480
3Oct 9, 2026 08:583,94021,464,93612,610,000020,480
4Oct 9, 2026 08:583,94121,422,44212,612,000020,480
5Oct 9, 2026 08:583,94321,483,62812,620,000020,480
6Oct 9, 2026 08:583,94421,565,03612,622,000020,480
7Oct 9, 2026 08:583,94721,520,52612,632,000020,480
8Oct 9, 2026 08:583,94922,190,81412,638,000020,480
9Oct 9, 2026 08:583,96321,640,94912,682,000020,480