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 2, 2026 00:10Karthik ReddyKarthik ReddyScore: 3,983Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 2, 2026 00:113,96621,867,47212,692,000020,480
2Oct 2, 2026 00:113,97621,697,73812,726,000020,480
3Oct 2, 2026 00:113,97821,792,87412,731,000020,480
4Oct 2, 2026 00:113,98021,786,00512,738,000020,480
5Oct 2, 2026 00:113,98321,767,61212,748,000020,480
6Oct 2, 2026 00:113,98821,776,66712,763,000020,480
7Oct 2, 2026 00:114,00921,824,66712,829,000020,480
8Oct 2, 2026 00:114,02221,830,01812,873,000020,480
9Oct 2, 2026 00:114,03921,866,83712,925,000020,480