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 23:07Robert BurkeRobert BurkeScore: 4,714Success
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 23:074,67032,960,48512,951,0001,992,0002,281,472
2Jul 22, 2022 23:074,68833,501,79413,002,0002,000,0002,277,376
3Jul 22, 2022 23:074,68838,882,55313,002,0002,000,0002,441,216
4Jul 22, 2022 23:074,69939,078,08513,033,0002,005,0002,281,472
5Jul 22, 2022 23:074,70332,572,57413,043,0002,006,0002,281,472
6Jul 22, 2022 23:074,70433,093,22113,045,0002,007,0002,449,408
7Jul 22, 2022 23:074,71429,285,25113,075,0002,011,0002,277,376
8Jul 22, 2022 23:074,71736,913,52013,083,0002,012,0002,445,312
9Jul 22, 2022 23:074,74439,667,48313,158,0002,024,0002,281,472
10Jul 22, 2022 23:074,89075,847,66315,649,14102,195,456
11Jul 22, 2022 23:074,89873,613,20115,673,01302,203,648
12Jul 22, 2022 23:074,89979,286,53415,677,74102,215,936