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 11:15highload-churnerhighload-churnerScore: 4,144Success
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 11:164,08622,040,31413,077,000020,480
2Oct 9, 2026 11:164,10022,082,58713,123,000020,480
3Oct 9, 2026 11:164,11922,163,97513,183,000020,480
4Oct 9, 2026 11:164,14322,229,35913,259,000020,480
5Oct 9, 2026 11:164,14422,194,42013,263,000020,480
6Oct 9, 2026 11:164,17422,411,68113,357,000020,480
7Oct 9, 2026 11:164,20122,368,31513,445,000020,480
8Oct 9, 2026 11:164,20622,428,01613,462,000020,480
9Oct 9, 2026 11:164,20922,407,42813,470,000020,480