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 listNov 1, 2021 15:51Ilya AniskovetsIlya AniskovetsScore: 5,343Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 15:515,30345,270,13214,972,0001,996,0002,392,064
2Nov 1, 2021 15:515,32042,879,34216,024,0001,001,0002,383,872
3Nov 1, 2021 15:515,32435,159,00216,036,0001,002,0002,379,776
4Nov 1, 2021 15:515,33146,941,81616,056,0001,003,0002,265,088
5Nov 1, 2021 15:515,33534,974,17416,069,0001,004,0002,265,088
6Nov 1, 2021 15:515,33944,172,81215,075,0002,010,0002,392,064
7Nov 1, 2021 15:515,34345,024,72815,087,0002,011,0002,392,064
8Nov 1, 2021 15:515,34835,724,89916,107,0001,006,0002,265,088
9Nov 1, 2021 15:515,36338,917,31015,144,0002,019,0002,387,968
10Nov 1, 2021 15:515,49677,108,48517,588,62502,269,184
11Nov 1, 2021 15:515,50596,366,75717,614,94102,289,664
12Nov 1, 2021 15:515,52579,071,32817,680,42502,277,376