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 13, 2021 23:43Yuriy LyfenkoYuriy LyfenkoScore: 5,329Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 23:435,29746,762,56514,955,0001,994,0002,527,232
2May 13, 2021 23:435,30642,909,21015,981,000998,0002,404,352
3May 13, 2021 23:435,30940,197,68915,990,000999,0002,392,064
4May 13, 2021 23:435,31344,504,44315,003,0002,000,0002,392,064
5May 13, 2021 23:435,32133,668,54616,026,0001,001,0002,392,064
6May 13, 2021 23:435,32844,305,21416,048,0001,003,0002,510,848
7May 13, 2021 23:435,32944,208,31615,046,0002,006,0002,392,064
8May 13, 2021 23:435,33748,947,62916,074,0001,004,0002,265,088
9May 13, 2021 23:435,34434,226,54115,089,0002,011,0002,396,160
10May 13, 2021 23:435,50483,923,89717,611,60202,269,184
11May 13, 2021 23:435,53091,428,15917,695,48902,273,280
12May 13, 2021 23:435,54465,074,10117,741,61402,269,184