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 21:19Karthik ReddyKarthik ReddyScore: 11,691Success
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 21:2211,6576,047,804,05236,260,0001,044,00036,864
2Oct 8, 2026 21:2211,6676,047,666,13136,311,0001,025,00077,824
3Oct 8, 2026 21:2211,6776,047,777,55736,339,0001,030,00077,824
4Oct 8, 2026 21:2211,6856,047,715,11936,348,0001,044,00077,824
5Oct 8, 2026 21:2211,6916,047,899,11135,410,0002,003,00077,824
6Oct 8, 2026 21:2211,7136,047,843,28036,430,0001,054,00053,248
7Oct 8, 2026 21:2211,7216,047,983,35635,508,0002,000,00077,824
8Oct 8, 2026 21:2211,7406,047,926,67435,548,0002,023,00077,824
9Oct 8, 2026 21:2211,7756,048,125,96836,656,0001,027,00077,824