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 11:24Ilya 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 11:245,30644,870,34914,982,0001,997,0002,392,064
2Nov 1, 2021 11:245,31941,527,02915,019,0002,002,0002,392,064
3Nov 1, 2021 11:245,32135,434,66715,024,0002,003,0002,387,968
4Nov 1, 2021 11:245,32233,038,43715,026,0002,003,0002,265,088
5Nov 1, 2021 11:245,32841,278,53516,048,0001,003,0002,265,088
6Nov 1, 2021 11:245,34045,211,28416,082,0001,005,0002,265,088
7Nov 1, 2021 11:245,34344,042,59616,091,0001,005,0002,392,064
8Nov 1, 2021 11:245,34841,233,14115,100,0002,013,0002,392,064
9Nov 1, 2021 11:245,36742,595,87416,164,0001,010,0002,392,064
10Nov 1, 2021 11:245,47988,673,87817,532,61702,269,184
11Nov 1, 2021 11:245,49077,494,57717,566,60902,285,568
12Nov 1, 2021 11:245,51584,676,37617,649,33502,277,376