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 9, 2026 07:21highload-churnerhighload-churnerScore: 5,217Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 9, 2026 07:264,96924,861,98015,902,000020,480
2Oct 9, 2026 07:265,12125,306,11616,390,000020,480
3Oct 9, 2026 07:265,13925,394,65816,447,000020,480
4Oct 9, 2026 07:265,20425,547,96016,655,000020,480
5Oct 9, 2026 07:265,21725,712,41416,696,000020,480
6Oct 9, 2026 07:265,22525,640,82416,721,000020,480
7Oct 9, 2026 07:265,25425,761,99716,815,000020,480
8Oct 9, 2026 07:265,34926,179,16017,118,000020,480
9Oct 9, 2026 07:265,53226,587,15617,705,000020,480