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 listFeb 21, 2023 21:57DarkclainerDarkclainerScore: 5,470Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 21, 2023 21:575,44343,546,59116,395,0001,024,0002,375,680
2Feb 21, 2023 21:575,44344,607,37917,416,00002,375,680
3Feb 22, 2023 08:215,44833,160,54317,434,00002,371,584
4Feb 22, 2023 08:215,44939,650,84916,412,0001,025,0002,375,680
5Feb 22, 2023 08:215,45450,116,12717,453,00002,265,088
6Feb 22, 2023 08:215,45444,125,45816,426,0001,026,0002,269,184
7Feb 21, 2023 21:575,45740,151,76716,435,0001,027,0002,531,328
8Feb 22, 2023 08:215,46344,022,47617,482,00002,531,328
9Feb 22, 2023 08:215,46350,689,18716,454,0001,028,0002,269,184
10Feb 22, 2023 08:215,46642,323,03317,490,00002,371,584
11Feb 21, 2023 21:575,46734,509,85717,494,00002,260,992
12Feb 22, 2023 08:215,46834,636,16416,468,0001,029,0002,269,184
13Feb 21, 2023 21:575,47040,013,63117,503,00002,367,488
14Feb 21, 2023 21:575,47238,510,84416,481,0001,030,0002,269,184
15Feb 21, 2023 21:575,47635,787,20816,493,0001,030,0002,371,584
16Feb 22, 2023 08:215,48539,555,19416,520,0001,032,0002,269,184
17Feb 21, 2023 21:575,51149,321,59516,597,0001,037,0002,375,680
18Feb 21, 2023 21:575,51544,259,90517,647,00002,461,696
19Feb 22, 2023 08:215,67384,027,40418,152,40702,248,704
20Feb 21, 2023 21:575,67580,071,29018,160,77202,248,704
21Feb 21, 2023 21:575,67586,726,69618,159,14702,248,704
22Feb 21, 2023 21:575,67656,058,19918,163,75102,244,608
23Feb 22, 2023 08:215,682112,824,69018,181,67002,256,896
24Feb 22, 2023 08:215,70774,112,76918,261,24302,248,704