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 17, 2021 14:00Yuriy LyfenkoYuriy LyfenkoScore: 5,527Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 14:005,490836,886,70217,567,00002,265,088
2May 17, 2021 14:005,493855,430,13815,625,0001,953,0002,269,184
3May 17, 2021 14:005,5003,163,115,97215,644,0001,955,0002,527,232
4May 17, 2021 14:005,5054,842,561,96717,617,00002,269,184
5May 17, 2021 14:005,5063,005,713,20016,642,000978,0002,527,232
6May 17, 2021 14:005,5083,381,662,85917,625,00002,527,232
7May 17, 2021 14:005,5273,256,459,92715,721,0001,965,0002,265,088
8May 17, 2021 14:005,5344,487,599,18116,726,000983,0002,265,088
9May 17, 2021 14:005,548333,149,52616,768,000986,0002,269,184
10May 17, 2021 14:005,6801,917,618,36618,175,12902,273,280
11May 17, 2021 14:005,7024,143,399,11118,247,96002,277,376
12May 17, 2021 14:005,7204,326,412,00818,303,94202,277,376