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 24, 2022 10:43Robert BurkeRobert BurkeScore: 4,498Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 10:434,46239,481,60213,258,0001,019,0002,281,472
2Jul 24, 2022 10:434,48339,786,99113,323,0001,024,0002,437,120
3Jul 24, 2022 10:434,49035,919,59313,341,0001,026,0002,281,472
4Jul 24, 2022 10:434,49332,450,75113,352,0001,027,0002,453,504
5Jul 24, 2022 10:434,49433,935,16613,353,0001,027,0002,281,472
6Jul 24, 2022 10:434,49626,134,38913,361,0001,027,0002,449,408
7Jul 24, 2022 10:434,49831,589,51613,367,0001,028,0002,449,408
8Jul 24, 2022 10:434,50631,571,22613,390,0001,030,0002,281,472
9Jul 24, 2022 10:434,50928,629,45013,398,0001,030,0002,277,376
10Jul 24, 2022 10:434,73088,441,12015,135,70502,199,552
11Jul 24, 2022 10:434,74790,315,32115,189,14202,207,744
12Jul 24, 2022 10:434,75974,392,65415,230,38602,207,744