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 listDec 19, 2023 04:42Kenneth MaplesKenneth MaplesScore: 5,333Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 19, 2023 04:425,30940,178,64114,990,0001,998,0002,265,088
2Dec 19, 2023 04:425,31336,219,30815,003,0002,000,0002,396,160
3Dec 19, 2023 04:425,32341,205,79315,031,0002,004,0002,396,160
4Dec 19, 2023 04:425,32645,673,87616,042,0001,002,0002,387,968
5Dec 19, 2023 04:425,32952,080,85916,049,0001,003,0002,265,088
6Dec 19, 2023 04:425,33147,398,47516,055,0001,003,0002,392,064
7Dec 19, 2023 04:425,33338,125,64915,058,0002,007,0002,265,088
8Dec 19, 2023 04:425,33542,818,83815,063,0002,008,0002,392,064
9Dec 19, 2023 04:425,33934,077,94215,075,0002,010,0002,523,136
10Dec 19, 2023 04:425,50993,455,44817,628,21402,273,280
11Dec 19, 2023 04:425,51685,888,51717,649,60202,256,896
12Dec 19, 2023 04:425,53285,279,50917,702,73402,265,088