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 30, 2021 16:07Yuriy LyfenkoYuriy LyfenkoScore: 5,074Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 16:075,02036,061,22514,056,0002,008,0002,396,160
2May 30, 2021 16:075,02839,058,68114,077,0002,011,0002,400,256
3May 30, 2021 16:075,04042,028,50314,113,0002,016,0002,408,448
4May 30, 2021 16:075,04641,807,63314,130,0002,018,0002,392,064
5May 30, 2021 16:075,05644,073,65215,169,0001,011,0002,404,352
6May 30, 2021 16:075,06433,323,23615,194,0001,012,0002,269,184
7May 30, 2021 16:075,07433,326,64714,207,0002,029,0002,265,088
8May 30, 2021 16:075,08032,035,35615,241,0001,016,0002,265,088
9May 30, 2021 16:075,09132,450,89314,254,0002,036,0002,265,088
10May 30, 2021 16:075,23284,408,27416,743,51002,285,568
11May 30, 2021 16:075,24175,798,05916,769,67902,277,376
12May 30, 2021 16:075,26987,279,34516,859,96002,273,280