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 listDec 19, 2023 04:43Kenneth MaplesKenneth MaplesScore: 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
1Dec 19, 2023 04:435,02431,105,82814,068,0002,009,0002,400,256
2Dec 19, 2023 04:435,04336,707,51514,119,0002,017,0002,260,992
3Dec 19, 2023 04:435,05540,555,32815,166,0001,011,0002,400,256
4Dec 19, 2023 04:435,05744,903,46415,170,0001,011,0002,527,232
5Dec 19, 2023 04:435,05843,761,18515,173,0001,011,0002,265,088
6Dec 19, 2023 04:435,07332,230,32115,218,0001,014,0002,392,064
7Dec 19, 2023 04:435,07447,218,89014,208,0002,029,0002,265,088
8Dec 19, 2023 04:435,08739,897,83815,261,0001,017,0002,265,088
9Dec 19, 2023 04:435,09332,240,99915,278,0001,018,0002,400,256
10Dec 19, 2023 04:435,24384,166,69116,776,52002,269,184
11Dec 19, 2023 04:435,28776,256,01316,918,92902,265,088
12Dec 19, 2023 04:435,29681,224,09716,946,57502,265,088