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 23:48Karthik ReddyKarthik ReddyScore: 3,948Success
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 23:513,9336,021,597,25812,587,000020,480
2Oct 8, 2026 23:513,9356,021,619,81912,595,000020,480
3Oct 8, 2026 23:513,9356,021,653,59312,592,000020,480
4Oct 8, 2026 23:513,9476,021,782,74912,632,000020,480
5Oct 8, 2026 23:513,9486,021,707,27112,634,000020,480
6Oct 8, 2026 23:513,9526,021,596,61612,649,000020,480
7Oct 8, 2026 23:513,9536,021,771,16212,652,000020,480
8Oct 8, 2026 23:513,9546,021,626,42012,653,000020,480
9Oct 8, 2026 23:513,9556,021,557,66112,657,000020,480