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 19, 2022 16:32Adam StřelskýAdam StřelskýScore: 5,367Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2022 16:325,33548,617,13915,063,0002,008,0002,437,120
2Jul 19, 2022 16:325,34542,209,03215,091,0002,012,0002,273,280
3Jul 19, 2022 16:325,35941,608,44815,131,0002,017,0002,535,424
4Jul 19, 2022 16:325,35936,276,73215,131,0002,017,0002,449,408
5Jul 19, 2022 16:325,36435,659,37515,147,0002,019,0002,273,280
6Jul 19, 2022 16:325,36734,297,58315,153,0002,020,0002,449,408
7Jul 19, 2022 16:325,36745,109,24915,155,0002,020,0002,441,216
8Jul 19, 2022 16:325,36835,561,11215,156,0002,020,0002,535,424
9Jul 19, 2022 16:325,37939,763,21015,188,0002,025,0002,445,312
10Jul 19, 2022 16:325,66478,603,30818,123,45702,195,456
11Jul 19, 2022 16:325,68280,703,37918,182,08502,207,744
12Jul 19, 2022 16:325,68977,683,15718,203,79802,199,552