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 12, 2026 16:52highload-churnerhighload-churnerScore: 4,073Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 12, 2026 16:524,06122,009,51812,996,000020,480
2Oct 12, 2026 16:524,06521,931,82813,008,000020,480
3Oct 12, 2026 16:524,06621,924,12513,013,000020,480
4Oct 12, 2026 16:524,07221,936,90313,032,000020,480
5Oct 12, 2026 16:524,07321,984,15813,035,000020,480
6Oct 12, 2026 16:524,07522,071,39613,042,000020,480
7Oct 12, 2026 16:524,07923,574,07613,053,000020,480
8Oct 12, 2026 16:524,08122,277,48813,060,000020,480
9Oct 12, 2026 16:524,13222,123,76013,224,000020,480