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 24, 2024 07:30AnSaAnSaScore: 5,584Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 24, 2024 07:305,36134,900,17416,146,0001,009,0002,281,472
2Jan 24, 2024 07:305,37339,158,88615,171,0002,022,0002,396,160
3Jan 24, 2024 07:305,37740,106,48915,182,0002,024,0002,387,968
4Jan 24, 2024 07:305,38937,171,50016,231,0001,014,0002,281,472
5Jan 24, 2024 07:305,40242,028,41716,271,0001,016,0002,281,472
6Jan 24, 2024 07:305,40438,475,40117,292,00002,281,472
7Jan 24, 2024 07:305,42340,009,51917,355,00002,506,752
8Jan 24, 2024 07:305,42543,541,38417,361,00002,506,752
9Jan 24, 2024 07:305,44342,296,53816,393,0001,024,0002,396,160
10Jan 24, 2024 07:305,48789,725,77417,559,81102,289,664
11Jan 24, 2024 07:305,48881,556,10017,561,89202,285,568
12Jan 24, 2024 07:305,51183,655,45017,636,44702,252,800
13Jan 24, 2024 07:305,58434,344,53115,885,0001,985,0002,396,160
14Jan 24, 2024 07:305,58844,548,63715,894,0001,986,0002,281,472
15Jan 24, 2024 07:305,59136,208,20016,897,000993,0002,281,472
16Jan 24, 2024 07:305,60040,304,83316,924,000995,0002,400,256
17Jan 24, 2024 07:305,60738,012,06315,950,0001,993,0002,392,064
18Jan 24, 2024 07:305,60739,584,92916,946,000996,0002,281,472
19Jan 24, 2024 07:305,61342,854,59615,967,0001,995,0002,281,472
20Jan 24, 2024 07:305,61342,293,54116,965,000997,0002,281,472
21Jan 24, 2024 07:305,61844,579,60315,982,0001,997,0002,494,464
22Jan 24, 2024 07:305,72867,424,93718,329,03402,281,472
23Jan 24, 2024 07:305,75292,938,86718,405,74302,277,376
24Jan 24, 2024 07:305,75881,079,89918,425,88802,277,376