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 9, 2026 00:15Karthik ReddyKarthik ReddyScore: 3,958Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 9, 2026 00:193,9446,021,667,75712,622,000020,480
2Oct 9, 2026 00:193,9486,021,758,70012,636,000020,480
3Oct 9, 2026 00:193,9556,021,764,18812,657,000020,480
4Oct 9, 2026 00:193,9566,021,727,84912,660,000020,480
5Oct 9, 2026 00:193,9586,023,903,06412,666,000020,480
6Oct 9, 2026 00:193,9586,021,831,23012,666,000020,480
7Oct 9, 2026 00:193,9606,021,835,24612,674,000020,480
8Oct 9, 2026 00:193,9626,021,751,98412,679,000020,480
9Oct 9, 2026 00:193,9686,021,765,58612,699,000020,480