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 28, 2024 12:40BenBenScore: 5,046Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 12:405,01144,638,19914,030,0002,004,0002,486,272
2Jul 28, 2024 12:405,02041,918,76115,060,0001,004,0002,494,464
3Jul 28, 2024 12:405,02636,059,45614,074,0002,010,0002,502,656
4Jul 28, 2024 12:405,02843,639,41314,077,0002,011,0002,486,272
5Jul 28, 2024 12:405,02834,793,19315,084,0001,005,0002,494,464
6Jul 28, 2024 12:405,04144,214,42314,116,0002,016,0002,490,368
7Jul 28, 2024 12:405,04633,039,73714,129,0002,018,0002,490,368
8Jul 28, 2024 12:405,05248,150,07914,146,0002,020,0002,494,464
9Jul 28, 2024 12:405,06638,041,26414,184,0002,026,0002,330,624
10Jul 28, 2024 12:405,27889,664,22416,890,01202,220,032
11Jul 28, 2024 12:405,27986,726,66516,893,15402,215,936
12Jul 28, 2024 12:405,30887,863,51916,986,47802,220,032