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:18Karthik ReddyKarthik ReddyScore: 4,240Success
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:184,23323,098,26113,548,000020,480
2Oct 2, 2026 00:184,23323,055,42613,546,000020,480
3Oct 2, 2026 00:184,23622,576,71413,557,000020,480
4Oct 2, 2026 00:184,23822,547,02913,562,000020,480
5Oct 2, 2026 00:184,24022,837,15613,571,000020,480
6Oct 2, 2026 00:184,24524,093,92313,586,000020,480
7Oct 2, 2026 00:184,24622,585,16313,588,000020,480
8Oct 2, 2026 00:184,25022,608,87013,601,000020,480
9Oct 2, 2026 00:184,26122,682,97313,636,000020,480