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:38джулисджулисScore: 5,698Success
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:395,66241,255,09916,105,0002,013,0002,363,392
2Jun 8, 2024 18:385,66941,445,77716,127,0002,015,0002,367,488
3Jun 8, 2024 18:385,67339,359,76117,146,0001,008,0002,375,680
4Jun 8, 2024 18:395,67739,721,07917,157,0001,009,0002,293,760
5Jun 8, 2024 18:395,67940,984,78516,154,0002,019,0002,371,584
6Jun 8, 2024 18:385,68040,970,45316,157,0002,019,0002,375,680
7Jun 8, 2024 18:385,68340,601,29016,166,0002,020,0002,367,488
8Jun 8, 2024 18:395,68543,441,27016,171,0002,021,0002,293,760
9Jun 8, 2024 18:395,68540,456,99617,182,0001,010,0002,371,584
10Jun 8, 2024 18:385,68835,239,66417,191,0001,011,0002,375,680
11Jun 8, 2024 18:385,69440,630,82717,210,0001,012,0002,293,760
12Jun 8, 2024 18:395,69734,767,52817,217,0001,012,0002,367,488
13Jun 8, 2024 18:385,69844,646,34916,209,0002,026,0002,371,584
14Jun 8, 2024 18:395,70341,785,23916,223,0002,027,0002,375,680
15Jun 8, 2024 18:395,71748,229,91018,294,00002,359,296
16Jun 8, 2024 18:385,73442,091,63517,330,0001,019,0002,371,584
17Jun 8, 2024 18:395,74447,663,72618,380,00002,293,760
18Jun 8, 2024 18:385,75535,304,97017,392,0001,023,0002,367,488
19Jun 8, 2024 18:385,871103,234,95018,788,79202,244,608
20Jun 8, 2024 18:395,91599,141,88618,927,36402,375,680
21Jun 8, 2024 18:385,92384,585,91418,954,20902,248,704
22Jun 8, 2024 18:395,92591,786,46118,960,05602,236,416
23Jun 8, 2024 18:385,92982,234,31518,971,56902,375,680
24Jun 8, 2024 18:395,94999,066,42419,037,95202,367,488