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 8, 2023 23:39Andrew MoonAndrew MoonScore: 5,614Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 23:395,57139,176,22417,828,00002,265,088
2Jul 8, 2023 23:395,58346,322,72416,872,000992,0002,265,088
3Jul 8, 2023 23:395,58348,713,70515,882,0001,985,0002,265,088
4Jul 8, 2023 23:395,58443,343,45715,884,0001,985,0002,379,776
5Jul 8, 2023 23:395,58843,832,95416,887,000993,0002,392,064
6Jul 8, 2023 23:395,58946,092,24216,891,000993,0002,265,088
7Jul 8, 2023 23:395,61449,400,25815,968,0001,996,0002,379,776
8Jul 8, 2023 23:395,61547,012,04315,971,0001,996,0002,387,968
9Jul 8, 2023 23:395,62042,319,69916,985,000999,0002,523,136
10Jul 8, 2023 23:395,77177,697,75818,466,64302,285,568
11Jul 8, 2023 23:395,77684,282,50318,482,70202,277,376
12Jul 8, 2023 23:395,82186,229,40318,626,73702,281,472