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 18, 2021 14:15Yuriy LyfenkoYuriy LyfenkoScore: 5,289Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 14:155,2161,980,603,40814,606,0002,086,0002,265,088
2May 18, 2021 14:155,2381,992,213,63815,776,000986,0002,260,992
3May 18, 2021 14:155,243437,817,89013,817,0002,960,0002,527,232
4May 18, 2021 14:155,261512,572,76515,845,000990,0002,265,088
5May 18, 2021 14:155,2731,160,889,42115,880,000992,0002,519,040
6May 18, 2021 14:155,2792,293,812,07014,906,0001,987,0002,265,088
7May 18, 2021 14:155,28953,992,71915,044,0001,880,0002,387,968
8May 18, 2021 14:155,2902,561,449,34416,927,00002,387,968
9May 18, 2021 14:155,3051,435,445,36416,976,00002,396,160
10May 18, 2021 14:155,478823,828,75317,530,92802,273,280
11May 18, 2021 14:155,5052,771,787,86117,616,70002,285,568
12May 18, 2021 14:155,514855,245,09717,644,95402,289,664