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:40Robert BurkeRobert BurkeScore: 4,455Success
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:404,43931,280,94312,175,0002,029,0002,281,472
2Jul 24, 2022 13:404,44239,585,91812,183,0002,030,0002,281,472
3Jul 24, 2022 13:404,44235,324,72012,184,0002,030,0002,449,408
4Jul 24, 2022 13:404,44331,417,56012,186,0002,031,0002,449,408
5Jul 24, 2022 13:404,45130,183,52212,208,0002,034,0002,449,408
6Jul 24, 2022 13:404,45433,638,79813,235,0001,018,0002,441,216
7Jul 24, 2022 13:404,45534,100,90212,220,0002,036,0002,449,408
8Jul 24, 2022 13:404,46128,525,18013,257,0001,019,0002,449,408
9Jul 24, 2022 13:404,46334,108,72112,243,0002,040,0002,437,120
10Jul 24, 2022 13:404,68289,372,13914,983,29102,211,840
11Jul 24, 2022 13:404,71479,837,72915,086,06902,199,552
12Jul 24, 2022 13:404,71783,864,38915,092,93102,199,552