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:23Karthik ReddyKarthik ReddyScore: 4,602Success
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:254,5716,023,573,90014,630,000020,480
2Oct 8, 2026 20:254,5776,023,573,61314,648,000020,480
3Oct 8, 2026 20:254,5876,024,637,60214,680,000020,480
4Oct 8, 2026 20:254,5986,023,720,72914,715,000020,480
5Oct 8, 2026 20:254,6026,023,640,85114,729,000020,480
6Oct 8, 2026 20:254,6066,023,790,51114,741,000020,480
7Oct 8, 2026 20:254,6256,023,945,38614,800,000020,480
8Oct 8, 2026 20:254,6496,023,913,81614,879,000020,480
9Oct 8, 2026 20:254,6576,024,050,43414,903,000020,480