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 18:34джулисджулисScore: 5,727Success
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 18:345,68339,296,21216,167,0002,020,0002,371,584
2Jun 8, 2024 18:345,69241,432,39117,203,0001,011,0002,367,488
3Jun 8, 2024 18:345,69743,479,45017,218,0001,012,0002,293,760
4Jun 8, 2024 18:345,69833,886,96816,208,0002,026,0002,293,760
5Jun 8, 2024 18:345,70140,495,23217,231,0001,013,0002,293,760
6Jun 8, 2024 18:345,70240,621,73617,233,0001,013,0002,293,760
7Jun 8, 2024 18:345,70345,936,81917,235,0001,013,0002,379,776
8Jun 8, 2024 18:345,71141,260,02116,244,0002,030,0002,293,760
9Jun 8, 2024 18:345,71345,040,91717,267,0001,015,0002,293,760
10Jun 8, 2024 18:345,71639,479,95816,259,0002,032,0002,367,488
11Jun 8, 2024 18:345,72040,818,75617,288,0001,016,0002,293,760
12Jun 8, 2024 18:345,72246,448,97518,310,00002,375,680
13Jun 8, 2024 18:345,72743,095,39717,309,0001,018,0002,293,760
14Jun 8, 2024 18:345,73237,743,31918,343,00002,367,488
15Jun 8, 2024 18:345,73340,544,09918,346,00002,375,680
16Jun 8, 2024 18:345,73337,780,08518,344,00002,367,488
17Jun 8, 2024 18:345,73435,488,83618,348,00002,375,680
18Jun 8, 2024 18:345,73635,416,72818,356,00002,371,584
19Jun 8, 2024 18:345,89787,212,11418,871,55002,232,320
20Jun 8, 2024 18:345,93089,461,12618,975,76702,252,800
21Jun 8, 2024 18:345,94776,204,36719,029,85602,244,608
22Jun 8, 2024 18:345,948101,840,10419,032,75202,260,992
23Jun 8, 2024 18:345,95587,261,49519,055,65902,244,608
24Jun 8, 2024 18:345,97097,241,57719,102,69102,244,608