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 20:29джулисджулисScore: 5,496Success
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 20:275,45738,546,13116,435,0001,027,0002,363,392
2Jun 8, 2024 20:295,46242,253,98816,451,0001,028,0002,375,680
3Jun 8, 2024 20:295,46238,889,68116,451,0001,028,0002,367,488
4Jun 8, 2024 20:275,46444,547,08516,456,0001,028,0002,367,488
5Jun 8, 2024 20:275,47145,930,01916,478,0001,029,0002,293,760
6Jun 8, 2024 20:275,48237,617,54117,541,00002,293,760
7Jun 8, 2024 20:275,48337,330,71216,512,0001,032,0002,293,760
8Jun 8, 2024 20:295,48837,997,57816,530,0001,033,0002,293,760
9Jun 8, 2024 20:295,48845,542,14916,530,0001,033,0002,293,760
10Jun 8, 2024 20:275,48942,474,37416,531,0001,033,0002,293,760
11Jun 8, 2024 20:295,49348,268,51717,577,00002,375,680
12Jun 8, 2024 20:295,49443,243,23116,546,0001,034,0002,293,760
13Jun 8, 2024 20:295,49638,511,68717,588,00002,371,584
14Jun 8, 2024 20:295,49733,372,86116,555,0001,034,0002,473,984
15Jun 8, 2024 20:295,50343,757,32516,574,0001,035,0002,293,760
16Jun 8, 2024 20:275,50444,711,15817,612,00002,375,680
17Jun 8, 2024 20:275,50536,680,63017,617,00002,293,760
18Jun 8, 2024 20:275,50637,864,85116,583,0001,036,0002,293,760
19Jun 8, 2024 20:275,64481,298,29918,062,35402,244,608
20Jun 8, 2024 20:295,70166,395,87418,243,68402,236,416
21Jun 8, 2024 20:295,71485,726,73518,284,33302,240,512
22Jun 8, 2024 20:295,73481,092,05218,348,51002,244,608
23Jun 8, 2024 20:275,74490,263,79718,381,49902,232,320
24Jun 8, 2024 20:275,75165,827,83018,403,98402,375,680