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 2, 2023 17:32Hal FHal FScore: 4,850Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 17:324,81652,788,06014,383,0001,027,0002,289,664
2Jan 2, 2023 17:324,81740,197,00015,414,00002,289,664
3Jan 2, 2023 17:324,82841,404,83814,419,0001,029,0002,289,664
4Jan 2, 2023 17:324,83131,483,09414,430,0001,030,0002,289,664
5Jan 2, 2023 17:324,83341,403,14214,434,0001,031,0002,269,184
6Jan 2, 2023 17:324,84132,416,45714,460,0001,032,0002,289,664
7Jan 2, 2023 17:324,85036,406,34814,487,0001,034,0002,289,664
8Jan 2, 2023 17:324,86448,539,69414,528,0001,037,0002,289,664
9Jan 2, 2023 17:324,88532,135,60614,590,0001,042,0002,351,104
10Jan 2, 2023 17:325,07489,361,86116,236,90502,301,952
11Jan 2, 2023 17:325,07884,191,31816,250,29302,293,760
12Jan 2, 2023 17:325,08694,624,64016,274,21202,289,664