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:43Adam StřelskýAdam StřelskýScore: 5,358Success
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:435,33436,894,96315,061,0002,008,0002,441,216
2Jul 19, 2022 16:435,33635,945,05915,066,0002,008,0002,433,024
3Jul 19, 2022 16:435,34044,652,93215,077,0002,010,0002,437,120
4Jul 19, 2022 16:435,34234,480,47615,084,0002,011,0002,445,312
5Jul 19, 2022 16:435,34640,659,25815,095,0002,012,0002,535,424
6Jul 19, 2022 16:435,35640,712,20615,122,0002,016,0002,445,312
7Jul 19, 2022 16:435,35840,429,24115,129,0002,017,0002,433,024
8Jul 19, 2022 16:435,36543,350,07615,148,0002,019,0002,535,424
9Jul 19, 2022 16:435,36636,854,09315,152,0002,020,0002,273,280
10Jul 19, 2022 16:435,65263,850,19018,086,11002,187,264
11Jul 19, 2022 16:435,66160,050,75018,114,65902,199,552
12Jul 19, 2022 16:435,68997,318,23618,206,13002,191,360