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 23:12Karthik ReddyKarthik ReddyScore: 3,989Success
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 23:123,97821,642,69912,731,000020,480
2Oct 1, 2026 23:123,98021,652,86412,739,000020,480
3Oct 1, 2026 23:123,98521,753,92812,755,000020,480
4Oct 1, 2026 23:123,98721,754,43512,761,000020,480
5Oct 1, 2026 23:123,98921,736,73212,766,000020,480
6Oct 1, 2026 23:123,99121,703,57012,772,000020,480
7Oct 1, 2026 23:123,99421,729,07012,782,000020,480
8Oct 1, 2026 23:123,99721,745,24712,791,000020,480
9Oct 1, 2026 23:124,00621,869,51912,822,000020,480