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 23, 2021 20:11Yuriy LyfenkoYuriy LyfenkoScore: 5,090Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 20:115,05642,957,96214,157,0002,022,0002,265,088
2May 23, 2021 20:115,05748,864,89015,170,0001,011,0002,265,088
3May 23, 2021 20:115,07132,985,77615,214,0001,014,0002,265,088
4May 23, 2021 20:115,07332,584,00214,203,0002,029,0002,265,088
5May 23, 2021 20:115,07835,671,83715,234,0001,015,0002,527,232
6May 23, 2021 20:115,08739,098,84115,261,0001,017,0002,265,088
7May 23, 2021 20:115,09038,764,60316,288,00002,400,256
8May 23, 2021 20:115,09732,296,33516,311,00002,265,088
9May 23, 2021 20:115,11344,063,75615,340,0001,022,0002,400,256
10May 23, 2021 20:115,32178,965,35217,027,27302,281,472
11May 23, 2021 20:115,33775,893,98417,077,08002,273,280
12May 23, 2021 20:115,34076,396,54617,089,51102,273,280