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 22, 2022 22:17Robert BurkeRobert BurkeScore: 4,787Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 22:174,74233,648,52314,164,0001,011,0002,433,024
2Jul 22, 2022 22:174,74636,081,65813,162,0002,024,0002,273,280
3Jul 22, 2022 22:174,75037,073,40514,187,0001,013,0002,273,280
4Jul 22, 2022 22:174,75134,515,57514,189,0001,013,0002,428,928
5Jul 22, 2022 22:174,77032,615,10314,246,0001,017,0002,535,424
6Jul 22, 2022 22:174,77039,439,00713,228,0002,035,0002,535,424
7Jul 22, 2022 22:174,78731,424,73014,297,0001,021,0002,428,928
8Jul 22, 2022 22:174,79237,248,90713,291,0002,044,0002,433,024
9Jul 22, 2022 22:174,81635,451,97813,356,0002,054,0002,506,752
10Jul 22, 2022 22:174,92668,249,76115,764,29702,191,360
11Jul 22, 2022 22:174,95080,665,76515,840,11202,191,360
12Jul 22, 2022 22:174,95482,055,10815,852,97702,195,456