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 listAug 11, 2022 12:31Eugene ZhydzetskiEugene ZhydzetskiError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2022 16:1900000Error: expected "977374 ", got "193376 "
2Aug 11, 2022 12:2800000Error: expected "975954 ", got "34734 "
3Aug 10, 2022 19:1511,355104,559,47136,334,66602,252,800
4Aug 10, 2022 19:1511,369117,067,29836,379,20102,248,704
5Aug 11, 2022 11:1711,37497,577,94236,395,67402,256,896
6Aug 10, 2022 19:1511,37598,218,00636,401,39102,256,896
7Aug 11, 2022 11:1711,37892,844,43836,410,83902,248,704
8Aug 11, 2022 11:1711,39697,130,02136,468,34402,248,704
9Aug 11, 2022 12:4611,85993,375,78737,948,88202,244,608
10Aug 11, 2022 12:4611,873114,829,45737,993,06302,256,896
11Aug 11, 2022 12:4511,881111,568,68438,020,16702,248,704
12Aug 11, 2022 12:4511,88293,387,59138,023,86702,265,088
13Aug 11, 2022 12:4611,883102,197,87638,025,00302,252,800
14Aug 11, 2022 12:4511,89597,015,04038,063,74302,240,512
15Aug 10, 2022 19:1411,968107,332,37938,296,48002,240,512
16Aug 10, 2022 19:1411,971102,517,98838,308,67802,252,800
17Aug 10, 2022 19:1411,972109,209,82038,311,39202,248,704
18Aug 11, 2022 12:3412,01191,414,53238,435,42002,256,896
19Aug 11, 2022 12:3412,029107,658,86238,492,22902,260,992
20Aug 11, 2022 12:3412,033101,807,28538,506,24102,240,512
21Aug 11, 2022 12:4812,050109,224,48738,559,47302,244,608
22Aug 11, 2022 12:4812,052102,614,88038,564,99802,248,704
23Aug 11, 2022 12:4812,05389,086,08638,569,99902,265,088
24Aug 11, 2022 16:1712,16396,731,59038,922,29102,252,800
25Aug 11, 2022 16:1712,189101,150,52139,003,24002,265,088
26Aug 11, 2022 16:1712,21597,681,07939,087,61702,248,704
27Aug 11, 2022 12:4712,23597,750,76639,150,92102,252,800
28Aug 11, 2022 12:4712,23699,368,54039,153,77602,244,608
29Aug 11, 2022 12:4712,24898,838,09839,195,17102,256,896
30Aug 11, 2022 12:3112,397101,979,18439,671,06802,244,608
31Aug 11, 2022 12:3112,41598,546,82939,728,04102,240,512
32Aug 11, 2022 12:3112,436101,083,59339,793,64002,248,704