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 13:41Robert BurkeRobert BurkeScore: 4,456Success
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 13:414,42332,996,23912,131,0002,021,0002,449,408
2Jul 24, 2022 13:414,42728,478,41612,143,0002,023,0002,441,216
3Jul 24, 2022 13:414,43231,692,84412,156,0002,026,0002,449,408
4Jul 24, 2022 13:414,43428,914,53012,162,0002,027,0002,457,600
5Jul 24, 2022 13:414,44335,500,27612,187,0002,031,0002,281,472
6Jul 24, 2022 13:414,44538,570,72612,193,0002,032,0002,281,472
7Jul 24, 2022 13:414,45635,764,59812,222,0002,037,0002,281,472
8Jul 24, 2022 13:414,46034,805,32813,252,0001,019,0002,441,216
9Jul 24, 2022 13:414,46635,065,66012,250,0002,041,0002,281,472
10Jul 24, 2022 13:414,70088,825,33015,040,77902,211,840
11Jul 24, 2022 13:414,70177,851,82115,042,65502,207,744
12Jul 24, 2022 13:414,72974,510,60815,131,95502,199,552