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 23, 2023 00:05Kenneth MaplesKenneth MaplesScore: 5,126Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 23, 2023 00:055,06146,631,10914,171,0002,024,0002,265,088
2Dec 23, 2023 00:055,08637,543,46214,241,0002,034,0002,392,064
3Dec 23, 2023 00:055,09431,317,20714,263,0002,037,0002,265,088
4Dec 23, 2023 00:055,09935,026,85016,318,00002,387,968
5Dec 23, 2023 00:055,11234,676,91716,358,00002,392,064
6Dec 23, 2023 00:055,12333,302,16416,395,00002,265,088
7Dec 23, 2023 00:055,12642,806,80816,404,00002,527,232
8Dec 23, 2023 00:055,13237,265,90415,396,0001,026,0002,265,088
9Dec 23, 2023 00:055,14333,027,89615,428,0001,028,0002,265,088
10Dec 23, 2023 00:055,316100,312,32417,010,99902,265,088
11Dec 23, 2023 00:055,31789,816,82917,013,40202,260,992
12Dec 23, 2023 00:055,31993,867,17917,020,46502,269,184