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 11:54Robert BurkeRobert BurkeScore: 4,444Success
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 11:544,42532,245,86412,138,0002,023,0002,449,408
2Jul 24, 2022 11:544,42536,040,46912,138,0002,023,0002,281,472
3Jul 24, 2022 11:544,42832,693,44612,144,0002,024,0002,453,504
4Jul 24, 2022 11:544,43033,958,68512,151,0002,025,0002,449,408
5Jul 24, 2022 11:544,43333,948,30212,161,0002,026,0002,445,312
6Jul 24, 2022 11:544,44327,445,30612,186,0002,031,0002,281,472
7Jul 24, 2022 11:544,44432,982,28712,190,0002,031,0002,281,472
8Jul 24, 2022 11:544,44834,080,59412,199,0002,033,0002,453,504
9Jul 24, 2022 11:544,45427,947,23312,217,0002,036,0002,277,376
10Jul 24, 2022 11:544,69582,151,51415,024,35502,207,744
11Jul 24, 2022 11:544,70667,953,81815,060,52402,199,552
12Jul 24, 2022 11:544,70883,655,89115,065,80502,195,456