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:32Karthik ReddyKarthik ReddyScore: 3,949Success
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:343,9366,022,253,99612,598,000020,480
2Oct 8, 2026 20:343,9406,021,562,57112,609,000020,480
3Oct 8, 2026 20:343,9416,021,609,41312,612,000020,480
4Oct 8, 2026 20:343,9446,021,630,96512,621,000020,480
5Oct 8, 2026 20:343,9496,021,573,94712,639,000020,480
6Oct 8, 2026 20:343,9516,021,882,16112,646,000020,480
7Oct 8, 2026 20:343,9576,021,492,21312,663,000020,480
8Oct 8, 2026 20:343,9586,021,517,56212,668,000020,480
9Oct 8, 2026 20:343,9716,021,636,59312,708,000020,480