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 13, 2024 00:17джулисджулисScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 00:175,21447,038,64816,684,00002,367,488
2Jun 13, 2024 00:175,26748,986,61716,854,00002,293,760
3Jun 13, 2024 00:175,26833,652,32115,868,000991,0002,375,680
4Jun 13, 2024 00:175,26933,376,51115,871,000991,0002,371,584
5Jun 13, 2024 00:175,27049,272,26616,864,00002,375,680
6Jun 13, 2024 00:175,27050,182,70714,880,0001,984,0002,363,392
7Jun 13, 2024 00:175,27145,262,70414,884,0001,984,0002,371,584
8Jun 13, 2024 00:175,27234,388,56216,870,00002,379,776
9Jun 13, 2024 00:175,27341,312,61215,883,000992,0002,371,584
10Jun 13, 2024 00:175,27337,054,82415,881,000992,0002,379,776
11Jun 13, 2024 00:175,27340,242,29415,881,000992,0002,359,296
12Jun 13, 2024 00:175,27342,944,21415,882,000992,0002,375,680
13Jun 13, 2024 00:175,27342,249,22815,883,000992,0002,371,584
14Jun 13, 2024 00:175,27543,561,15814,895,0001,986,0002,367,488
15Jun 13, 2024 00:175,27831,982,44914,903,0001,987,0002,375,680
16Jun 13, 2024 00:175,27944,485,95814,907,0001,987,0002,293,760
17Jun 13, 2024 00:175,28732,404,49015,923,000995,0002,293,760
18Jun 13, 2024 00:175,28835,811,79914,932,0001,991,0002,293,760
19Jun 13, 2024 00:175,47894,077,82117,530,28702,240,512
20Jun 13, 2024 00:175,49856,689,61017,592,55902,236,416
21Jun 13, 2024 00:175,50282,620,04117,607,79002,244,608
22Jun 13, 2024 00:175,50796,606,40817,623,71902,371,584
23Jun 13, 2024 00:175,51870,084,88317,658,45302,232,320
24Jun 13, 2024 00:175,57298,511,53917,831,57502,232,320