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 listMay 19, 2021 23:30alex3dalex3dScore: 5,048Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 23:305,00338,172,96814,008,0002,001,0002,445,312
2May 19, 2021 23:305,00928,238,86214,027,0002,003,0002,437,120
3May 19, 2021 23:305,01331,538,99815,038,0001,002,0002,445,312
4May 19, 2021 23:305,01431,466,17714,039,0002,005,0002,441,216
5May 19, 2021 23:305,01442,329,58614,041,0002,005,0002,445,312
6May 19, 2021 23:305,02839,209,94914,077,0002,011,0002,273,280
7May 19, 2021 23:305,03947,294,66014,109,0002,015,0002,449,408
8May 19, 2021 23:305,04831,946,42214,133,0002,019,0002,449,408
9May 19, 2021 23:305,05129,074,84714,143,0002,020,0002,535,424
10May 19, 2021 23:305,29780,959,88616,951,10902,195,456
11May 19, 2021 23:305,299106,838,69516,958,15402,191,360
12May 19, 2021 23:305,31290,894,66216,997,97102,207,744
13May 19, 2021 23:305,32293,701,58917,031,64302,195,456
14May 19, 2021 23:305,33781,935,99017,079,60102,199,552
15May 19, 2021 23:305,35955,809,48417,150,01502,215,936