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 3, 2023 21:23Jo SeatonJo SeatonScore: 5,390Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2023 21:235,31750,144,93015,013,0002,001,000167,936
2Jul 3, 2023 21:235,32142,532,41515,024,0002,003,000430,080
3Jul 3, 2023 21:235,33942,756,91216,080,0001,005,000167,936
4Jul 3, 2023 21:235,34833,766,00915,099,0002,013,000290,816
5Jul 3, 2023 21:235,35144,289,35515,109,0002,014,000401,408
6Jul 3, 2023 21:235,36741,371,10616,164,0001,010,000278,528
7Jul 3, 2023 21:235,39044,963,97516,235,0001,014,0002,379,776
8Jul 3, 2023 21:235,40249,095,79315,254,0002,033,000430,080
9Jul 3, 2023 21:235,40647,517,63716,283,0001,017,000270,336
10Jul 3, 2023 21:235,46389,273,35117,482,43002,285,568
11Jul 3, 2023 21:235,46459,628,40717,485,79502,285,568
12Jul 3, 2023 21:235,47580,013,23117,519,39302,277,376