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:39Karthik ReddyKarthik ReddyScore: 3,962Success
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:433,9346,021,700,44512,590,000020,480
2Oct 8, 2026 23:433,9366,021,831,38312,597,000020,480
3Oct 8, 2026 23:433,9386,021,843,10712,603,000020,480
4Oct 8, 2026 23:433,9406,021,704,14912,610,000020,480
5Oct 8, 2026 23:433,9626,021,853,79112,681,000020,480
6Oct 8, 2026 23:433,9636,021,782,96312,684,000020,480
7Oct 8, 2026 23:433,9666,021,767,15612,692,000020,480
8Oct 8, 2026 23:433,9666,021,824,62112,694,000020,480
9Oct 8, 2026 23:433,9696,021,908,88312,701,000020,480