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 13, 2021 19:34Andrey TsvetkovAndrey TsvetkovScore: 5,701Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:345,65739,492,40515,085,0003,017,0002,334,720
2Jul 13, 2021 19:345,66243,886,72215,099,0003,019,0002,527,232
3Jul 13, 2021 19:345,67843,957,41616,151,0002,018,0002,334,720
4Jul 13, 2021 19:345,69286,969,90418,213,47802,240,512
5Jul 13, 2021 19:345,69841,524,11416,208,0002,026,0002,326,528
6Jul 13, 2021 19:345,70130,470,39815,202,0003,040,0002,334,720
7Jul 13, 2021 19:345,70135,423,06615,202,0003,040,0002,527,232
8Jul 13, 2021 19:345,70140,594,18817,230,0001,013,0002,334,720
9Jul 13, 2021 19:345,70835,854,76216,236,0002,029,0002,334,720
10Jul 13, 2021 19:345,71577,604,57918,287,85702,232,320
11Jul 13, 2021 19:345,73839,881,64915,303,0003,060,0002,519,040
12Jul 13, 2021 19:345,84976,695,74418,717,39902,236,416