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 1, 2026 23:00Karthik ReddyKarthik ReddyScore: 3,971Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 1, 2026 23:003,95921,676,89712,671,000020,480
2Oct 1, 2026 23:003,96421,720,29812,685,000020,480
3Oct 1, 2026 23:003,96621,716,59812,692,000020,480
4Oct 1, 2026 23:003,97021,629,42212,706,000020,480
5Oct 1, 2026 23:003,97121,731,02812,708,000020,480
6Oct 1, 2026 23:003,97221,741,43212,713,000020,480
7Oct 1, 2026 23:003,97221,756,19312,712,000020,480
8Oct 1, 2026 23:003,97821,801,89212,731,000020,480
9Oct 1, 2026 23:003,98021,717,49712,739,000020,480