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 24, 2021 07:13Andrey TsvetkovAndrey TsvetkovScore: 6,018Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 07:135,96546,534,17817,080,0002,009,0002,531,328
2May 24, 2021 07:135,97352,171,07517,102,0002,012,0002,334,720
3May 24, 2021 07:135,97846,881,59717,116,0002,013,0002,334,720
4May 24, 2021 07:135,99440,569,63217,163,0002,019,0002,334,720
5May 24, 2021 07:135,99646,853,43317,169,0002,019,0002,523,136
6May 24, 2021 07:136,00843,267,98716,191,0003,035,0002,334,720
7May 24, 2021 07:136,01843,039,69017,231,0002,027,0002,334,720
8May 24, 2021 07:136,02442,471,64016,233,0003,043,0002,531,328
9May 24, 2021 07:136,04336,852,52916,285,0003,053,0002,535,424
10May 24, 2021 07:136,08885,002,27919,480,82702,240,512
11May 24, 2021 07:136,12282,784,83319,590,60502,236,416
12May 24, 2021 07:136,175104,501,23619,761,58502,236,416