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 listJul 11, 2023 01:54Giga BowserGiga BowserScore: 5,528Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 11, 2023 01:545,47542,825,21816,489,0001,030,0002,277,376
2Jul 11, 2023 01:545,49344,745,75816,544,0001,034,0002,289,664
3Jul 11, 2023 01:545,49435,079,96117,581,00002,289,664
4Jul 11, 2023 01:545,50450,059,72916,576,0001,036,0002,289,664
5Jul 11, 2023 01:545,51640,307,82816,612,0001,038,0002,277,376
6Jul 11, 2023 01:545,51846,406,80616,621,0001,038,0002,289,664
7Jul 11, 2023 01:545,52850,408,36517,691,00002,289,664
8Jul 11, 2023 01:545,53947,714,14016,683,0001,042,0002,289,664
9Jul 11, 2023 01:545,58449,044,74715,884,0001,985,0002,289,664
10Jul 11, 2023 01:545,70774,642,68118,263,40302,179,072
11Jul 11, 2023 01:545,72463,111,42418,317,74202,174,976
12Jul 11, 2023 01:545,75183,303,32718,403,35902,301,952