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:02Karthik ReddyKarthik ReddyScore: 3,947Success
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:023,94121,519,36912,612,000020,480
2Oct 2, 2026 00:023,94221,580,99712,615,000020,480
3Oct 2, 2026 00:023,94621,604,68412,628,000020,480
4Oct 2, 2026 00:023,94721,660,16012,633,000020,480
5Oct 2, 2026 00:023,94721,965,11712,633,000020,480
6Oct 2, 2026 00:023,94921,681,29712,637,000020,480
7Oct 2, 2026 00:023,95021,731,21412,642,000020,480
8Oct 2, 2026 00:023,95521,701,48712,659,000020,480
9Oct 2, 2026 00:023,95821,660,66412,667,000020,480