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:15Karthik ReddyKarthik ReddyScore: 3,945Success
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:153,93221,569,97112,583,000020,480
2Oct 2, 2026 00:153,93422,124,80112,590,000020,480
3Oct 2, 2026 00:153,94121,541,29612,612,000020,480
4Oct 2, 2026 00:153,94221,628,45012,617,000020,480
5Oct 2, 2026 00:153,94521,598,46412,627,000020,480
6Oct 2, 2026 00:153,94521,632,17412,627,000020,480
7Oct 2, 2026 00:153,94721,723,89412,632,000020,480
8Oct 2, 2026 00:153,94921,622,62312,639,000020,480
9Oct 2, 2026 00:153,96721,630,66212,697,000020,480