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:30Yuriy LyfenkoYuriy LyfenkoScore: 5,086Success
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:305,01937,086,53514,055,0002,007,0002,404,352
2May 28, 2021 06:305,03233,809,15514,089,0002,012,0002,265,088
3May 28, 2021 06:305,03444,105,37914,095,0002,013,0002,478,080
4May 28, 2021 06:305,04631,517,46914,128,0002,018,0002,392,064
5May 28, 2021 06:305,06942,658,60414,195,0002,027,0002,265,088
6May 28, 2021 06:305,07145,620,59515,213,0001,014,0002,265,088
7May 28, 2021 06:305,08632,405,93015,259,0001,017,0002,506,752
8May 28, 2021 06:305,09041,576,57414,252,0002,036,0002,265,088
9May 28, 2021 06:305,09742,281,54015,291,0001,019,0002,392,064
10May 28, 2021 06:305,26468,662,85816,844,09902,281,472
11May 28, 2021 06:305,26867,791,04816,858,34402,277,376
12May 28, 2021 06:305,26947,804,43916,859,90502,277,376