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:58Karthik ReddyKarthik ReddyScore: 3,938Success
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:593,9186,021,695,75412,539,000020,480
2Oct 8, 2026 20:593,9286,021,759,43912,572,000020,480
3Oct 8, 2026 20:593,9356,021,723,46312,593,000020,480
4Oct 8, 2026 20:593,9376,021,819,74812,599,000020,480
5Oct 8, 2026 20:593,9386,021,686,68312,603,000020,480
6Oct 8, 2026 20:593,9456,021,818,05212,625,000020,480
7Oct 8, 2026 20:593,9466,021,838,61212,630,000020,480
8Oct 8, 2026 20:593,9476,021,755,67312,633,000020,480
9Oct 8, 2026 20:593,9606,023,363,21112,672,000020,480