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 8, 2026 20:36Karthik ReddyKarthik ReddyScore: 3,920Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 8, 2026 20:373,9106,021,429,21912,515,000020,480
2Oct 8, 2026 20:373,9166,021,372,13912,533,000020,480
3Oct 8, 2026 20:373,9166,021,419,28512,533,000020,480
4Oct 8, 2026 20:373,9206,023,083,96212,547,000020,480
5Oct 8, 2026 20:373,9206,021,518,09912,547,000020,480
6Oct 8, 2026 20:373,9306,021,450,07912,577,000020,480
7Oct 8, 2026 20:373,9326,021,460,55612,584,000020,480
8Oct 8, 2026 20:373,9346,021,592,62112,591,000020,480
9Oct 8, 2026 20:373,9356,021,540,36612,594,000020,480