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 11, 2021 17:17Yuriy LyfenkoYuriy LyfenkoScore: 5,624Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 17:175,58742,437,33116,885,000993,0002,392,064
2May 11, 2021 17:175,58843,336,67814,902,0002,980,0002,387,968
3May 11, 2021 17:175,59446,579,22814,918,0002,983,0002,519,040
4May 11, 2021 17:175,60750,470,50616,945,000996,0002,519,040
5May 11, 2021 17:175,60848,769,43214,956,0002,991,0002,519,040
6May 11, 2021 17:175,61842,945,97815,981,0001,997,0002,519,040
7May 11, 2021 17:175,62435,335,95415,998,0001,999,0002,502,656
8May 11, 2021 17:175,63845,584,39215,036,0003,007,0002,383,872
9May 11, 2021 17:175,65244,084,41015,072,0003,014,0002,482,176
10May 11, 2021 17:175,84195,724,23118,692,24002,285,568
11May 11, 2021 17:175,85062,973,35218,720,40402,293,760
12May 11, 2021 17:175,92685,139,95518,962,17802,281,472