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 listJul 29, 2024 06:55byrtoletbyrtoletScore: 6,408Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 06:555,99485,991,86919,182,24302,310,144
2Jul 29, 2024 06:596,00980,955,49019,230,31902,293,760
3Jul 29, 2024 06:556,04192,374,32919,330,14302,297,856
4Jul 29, 2024 06:556,04392,484,73619,336,54102,301,952
5Jul 29, 2024 06:596,06861,473,21019,416,19702,297,856
6Jul 29, 2024 06:596,07378,517,71619,434,31202,306,048
7Jul 29, 2024 06:556,37947,270,32219,393,0001,020,0002,265,088
8Jul 29, 2024 06:596,38347,500,06419,403,0001,021,0002,289,664
9Jul 29, 2024 06:556,39847,561,86919,452,0001,023,0002,289,664
10Jul 29, 2024 06:596,40247,157,57019,461,0001,024,0002,265,088
11Jul 29, 2024 06:596,40346,811,82019,465,0001,024,0002,289,664
12Jul 29, 2024 06:596,40837,879,28920,507,00002,265,088
13Jul 29, 2024 06:596,40848,869,40920,504,00002,289,664
14Jul 29, 2024 06:556,41541,750,98719,502,0001,026,0002,289,664
15Jul 29, 2024 06:556,41643,467,23219,504,0001,026,0002,367,488
16Jul 29, 2024 06:556,42143,176,32619,520,0001,027,0002,289,664
17Jul 29, 2024 06:596,42645,748,87719,534,0001,028,0002,527,232
18Jul 29, 2024 06:556,43643,672,67219,567,0001,029,0002,269,184
19Jul 29, 2024 06:556,43851,140,98819,573,0001,030,0002,347,008
20Jul 29, 2024 06:596,44252,751,25619,585,0001,030,0002,289,664
21Jul 29, 2024 06:596,45154,113,85019,612,0001,032,0002,289,664
22Jul 29, 2024 06:596,46253,490,07619,644,0001,033,0002,289,664
23Jul 29, 2024 06:556,47049,229,22719,669,0001,035,0002,289,664
24Jul 29, 2024 06:556,47246,430,21619,674,0001,035,0002,281,472