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 21:50Karthik ReddyKarthik ReddyScore: 3,988Success
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 21:533,9656,021,880,75112,689,000024,576
2Oct 8, 2026 21:533,9746,021,822,83612,719,000024,576
3Oct 8, 2026 21:533,9806,021,864,22512,737,000024,576
4Oct 8, 2026 21:533,9826,021,980,63312,745,000024,576
5Oct 8, 2026 21:533,9886,021,869,58912,762,000024,576
6Oct 8, 2026 21:533,9936,021,852,35712,778,000024,576
7Oct 8, 2026 21:533,9946,021,716,32612,782,000024,576
8Oct 8, 2026 21:533,9966,021,796,25512,788,000024,576
9Oct 8, 2026 21:533,9986,024,643,37512,795,000024,576