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 listAug 2, 2024 03:42mgildermgilderScore: 5,658Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2024 03:425,61538,948,52216,969,000998,0002,375,680
2Aug 2, 2024 03:425,61935,829,86615,983,0001,997,0002,289,664
3Aug 2, 2024 03:425,62249,195,49816,990,000999,0002,289,664
4Aug 2, 2024 03:425,62343,124,60615,993,0001,999,0002,469,888
5Aug 2, 2024 03:425,64137,600,95116,047,0002,005,0002,289,664
6Aug 2, 2024 03:425,65342,103,68416,080,0002,010,0002,367,488
7Aug 2, 2024 03:425,65841,154,30016,093,0002,011,0002,375,680
8Aug 2, 2024 03:425,66843,831,94017,131,0001,007,0002,289,664
9Aug 2, 2024 03:425,69441,314,69417,208,0001,012,0002,359,296
10Aug 2, 2024 03:425,84984,788,70218,718,20202,244,608
11Aug 2, 2024 03:425,86689,129,36218,772,75402,244,608
12Aug 2, 2024 03:425,90977,172,25418,908,72202,240,512