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 27, 2021 18:21Yuriy LyfenkoYuriy LyfenkoScore: 5,098Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 18:215,05033,285,38115,151,0001,010,0002,527,232
2May 27, 2021 18:215,06338,446,04515,190,0001,012,0002,396,160
3May 27, 2021 18:215,06750,578,31015,200,0001,013,0002,265,088
4May 27, 2021 18:215,06834,430,64414,189,0002,027,0002,392,064
5May 27, 2021 18:215,08337,585,89614,231,0002,033,0002,265,088
6May 27, 2021 18:215,08639,292,42815,258,0001,017,0002,265,088
7May 27, 2021 18:215,09839,618,15514,275,0002,039,0002,510,848
8May 27, 2021 18:215,10941,242,80116,350,00002,392,064
9May 27, 2021 18:215,11633,727,45415,348,0001,023,0002,527,232
10May 27, 2021 18:215,26548,274,14016,848,18202,269,184
11May 27, 2021 18:215,292100,529,82516,935,58402,281,472
12May 27, 2021 18:215,29743,685,96116,951,68702,273,280