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 28, 2021 06:29Yuriy LyfenkoYuriy LyfenkoScore: 5,071Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 06:295,04746,437,14014,131,0002,018,0002,383,872
2May 28, 2021 06:295,04844,158,54014,136,0002,019,0002,265,088
3May 28, 2021 06:295,05148,310,95015,152,0001,010,0002,265,088
4May 28, 2021 06:295,05132,283,46815,154,0001,010,0002,269,184
5May 28, 2021 06:295,05843,899,54015,174,0001,011,0002,527,232
6May 28, 2021 06:295,06038,345,20314,169,0002,024,0002,527,232
7May 28, 2021 06:295,07145,725,29214,199,0002,028,0002,265,088
8May 28, 2021 06:295,08249,763,70015,246,0001,016,0002,265,088
9May 28, 2021 06:295,09034,724,76714,252,0002,036,0002,392,064
10May 28, 2021 06:295,23255,698,37216,743,84602,285,568
11May 28, 2021 06:295,25855,540,81716,824,34002,269,184
12May 28, 2021 06:295,31064,239,34816,992,22002,281,472