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 listJun 8, 2024 19:23джулисджулисScore: 5,572Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 19:235,51838,560,70316,618,0001,038,0002,379,776
2Jun 8, 2024 19:235,52352,571,11916,634,0001,039,0002,375,680
3Jun 8, 2024 19:235,53346,601,13416,663,0001,041,0002,371,584
4Jun 8, 2024 19:235,53542,433,90717,712,00002,363,392
5Jun 8, 2024 19:235,53736,523,17816,676,0001,042,0002,367,488
6Jun 8, 2024 19:235,54133,459,13316,688,0001,043,0002,289,664
7Jun 8, 2024 19:235,57244,276,70216,840,000990,0002,375,680
8Jun 8, 2024 19:235,58145,175,15116,868,000992,0002,371,584
9Jun 8, 2024 19:235,58835,054,85916,888,000993,0002,465,792
10Jun 8, 2024 19:235,77182,263,68418,466,26202,236,416
11Jun 8, 2024 19:235,78884,832,35118,522,16202,375,680
12Jun 8, 2024 19:235,79987,305,33518,555,77802,375,680