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 21:57Karthik ReddyKarthik ReddyScore: 4,046Success
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 21:574,03121,809,45012,900,000020,480
2Oct 1, 2026 21:574,04021,874,94612,928,000020,480
3Oct 1, 2026 21:574,04121,948,06112,933,000020,480
4Oct 1, 2026 21:574,04321,951,24212,938,000020,480
5Oct 1, 2026 21:574,04621,936,92812,948,000020,480
6Oct 1, 2026 21:574,05021,912,32312,960,000020,480
7Oct 1, 2026 21:574,05121,987,27512,964,000020,480
8Oct 1, 2026 21:574,06321,936,37313,002,000020,480
9Oct 1, 2026 21:574,06321,965,89313,003,000020,480