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 19:02джулисджулисScore: 5,269Success
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 19:025,20343,106,96816,648,00002,367,488
2Jun 13, 2024 19:025,20342,127,54016,649,00002,490,368
3Jun 13, 2024 19:025,20646,270,16416,660,00002,371,584
4Jun 13, 2024 19:025,20939,844,98715,629,0001,041,0002,375,680
5Jun 13, 2024 19:025,21441,833,10315,644,0001,042,0002,293,760
6Jun 13, 2024 19:025,22637,713,70815,677,0001,045,0002,371,584
7Jun 13, 2024 19:025,26934,258,83915,871,000991,0002,293,760
8Jun 13, 2024 19:025,27450,612,01915,884,000992,0002,363,392
9Jun 13, 2024 19:025,27838,155,71714,903,0001,987,0002,375,680
10Jun 13, 2024 19:025,43687,395,49517,394,67602,248,704
11Jun 13, 2024 19:025,46666,745,55717,489,73202,244,608
12Jun 13, 2024 19:025,47081,560,44317,503,25002,240,512