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 1, 2026 22:31Karthik ReddyKarthik ReddyScore: 4,019Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 1, 2026 22:314,00922,304,32512,829,000020,480
2Oct 1, 2026 22:314,01221,896,43912,841,000020,480
3Oct 1, 2026 22:314,01521,924,75712,851,000020,480
4Oct 1, 2026 22:314,01921,843,10712,863,000020,480
5Oct 1, 2026 22:314,01921,891,14412,863,000020,480
6Oct 1, 2026 22:314,02221,941,13412,871,000020,480
7Oct 1, 2026 22:314,02222,331,91512,872,000020,480
8Oct 1, 2026 22:314,02221,941,53812,872,000020,480
9Oct 1, 2026 22:314,02621,910,59912,884,000020,480