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:05Robert BurkeRobert BurkeScore: 4,686Success
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:054,64935,722,52913,885,000991,0002,437,120
2Jul 24, 2022 10:054,64940,931,97413,886,000991,0002,437,120
3Jul 24, 2022 10:054,65131,573,14013,892,000992,0002,281,472
4Jul 24, 2022 10:054,65229,137,34014,886,00002,281,472
5Jul 24, 2022 10:054,65432,585,94313,901,000992,0002,281,472
6Jul 24, 2022 10:054,66230,322,22413,923,000994,0002,437,120
7Jul 24, 2022 10:054,68639,035,97613,996,000999,0002,433,024
8Jul 24, 2022 10:054,68843,852,12914,003,0001,000,0002,281,472
9Jul 24, 2022 10:054,69137,377,79613,010,0002,001,0002,281,472
10Jul 24, 2022 10:054,85189,427,48915,523,90102,187,264
11Jul 24, 2022 10:054,855109,559,87415,534,97802,187,264
12Jul 24, 2022 10:054,90871,292,98415,705,42402,183,168