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 listJan 3, 2023 00:40Alexander KimAlexander KimScore: 5,676Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 00:405,62838,116,27817,008,0001,000,0002,543,616
2Jan 3, 2023 00:405,65944,358,76616,097,0002,012,0002,420,736
3Jan 3, 2023 00:405,66543,739,69917,122,0001,007,0002,535,424
4Jan 3, 2023 00:405,66742,577,06317,127,0001,007,0002,342,912
5Jan 3, 2023 00:405,67443,309,76117,150,0001,008,0002,289,664
6Jan 3, 2023 00:405,67532,869,10116,142,0002,017,0002,375,680
7Jan 3, 2023 00:405,67640,192,59516,144,0002,018,0002,293,760
8Jan 3, 2023 00:405,67841,013,98417,160,0001,009,0002,416,640
9Jan 3, 2023 00:405,69146,366,40217,199,0001,011,0002,289,664
10Jan 3, 2023 00:405,73266,837,84718,342,30402,256,896
11Jan 3, 2023 00:405,74458,331,58818,380,85002,260,992
12Jan 3, 2023 00:405,88278,172,93718,821,43802,252,800