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 listJan 3, 2023 19:24Alexander KimAlexander KimScore: 5,628Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 11:055,59138,325,32616,897,000993,0002,437,120
2Jan 3, 2023 19:245,59151,076,29015,903,0001,987,0002,441,216
3Jan 3, 2023 11:055,59951,064,86714,930,0002,986,0002,437,120
4Jan 3, 2023 19:245,60748,381,72816,947,000996,0002,342,912
5Jan 3, 2023 11:055,60944,783,52015,956,0001,994,0002,342,912
6Jan 3, 2023 11:055,61142,853,98916,957,000997,0002,338,816
7Jan 3, 2023 11:055,61436,209,45715,969,0001,996,0002,338,816
8Jan 3, 2023 19:245,61535,544,49616,970,000998,0002,338,816
9Jan 3, 2023 19:245,61542,787,60016,969,000998,0002,441,216
10Jan 3, 2023 19:245,61847,401,99916,978,000998,0002,433,024
11Jan 3, 2023 19:245,62345,337,21716,994,000999,0002,433,024
12Jan 3, 2023 19:245,62541,334,78417,001,0001,000,0002,519,040
13Jan 3, 2023 19:245,62848,323,19817,008,0001,000,0002,441,216
14Jan 3, 2023 11:055,63045,569,98117,015,0001,000,0002,338,816
15Jan 3, 2023 11:055,63135,939,62217,019,0001,001,0002,338,816
16Jan 3, 2023 19:245,63544,812,38117,030,0001,001,0002,428,928
17Jan 3, 2023 11:055,64047,155,90216,043,0002,005,0002,433,024
18Jan 3, 2023 11:055,67636,515,08216,144,0002,018,0002,437,120
19Jan 3, 2023 19:245,69166,635,86318,211,31002,265,088
20Jan 3, 2023 19:245,70667,550,52418,258,56502,260,992
21Jan 3, 2023 19:245,70890,859,39218,266,71402,265,088
22Jan 3, 2023 11:055,76083,011,88618,430,66502,256,896
23Jan 3, 2023 11:055,77678,165,69218,481,76502,256,896
24Jan 3, 2023 11:055,79689,614,97018,546,28402,252,800