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 listMay 3, 2026 18:29TudyMTudyMScore: 5,271Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 3, 2026 18:335,23130,972,83715,691,0001,051,0002,367,488
2May 3, 2026 18:335,26232,158,69515,767,0001,074,0002,375,680
3May 3, 2026 18:335,26335,109,81015,762,0001,081,0002,371,584
4May 3, 2026 18:335,26636,007,23315,769,0001,083,0002,371,584
5May 3, 2026 18:335,27133,448,55015,768,0001,102,0002,359,296
6May 3, 2026 18:335,27935,059,76915,808,0001,087,0002,367,488
7May 3, 2026 18:335,27933,368,96015,792,0001,101,0002,363,392
8May 3, 2026 18:335,28034,144,87115,802,0001,094,0002,367,488
9May 3, 2026 18:335,28833,678,34315,806,0001,118,0002,375,680