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 21:47Robert BurkeRobert BurkeScore: 4,813Success
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 21:474,78144,073,38914,280,0001,020,0002,273,280
2Jul 22, 2022 21:474,78331,023,06813,264,0002,040,0002,535,424
3Jul 22, 2022 21:474,78833,137,14813,278,0002,042,0002,273,280
4Jul 22, 2022 21:474,79531,106,69314,322,0001,023,0002,433,024
5Jul 22, 2022 21:474,79739,162,11815,349,00002,535,424
6Jul 22, 2022 21:474,80834,704,13715,384,00002,428,928
7Jul 22, 2022 21:474,81335,126,30714,377,0001,026,0002,433,024
8Jul 22, 2022 21:474,82134,170,66714,398,0001,028,0002,433,024
9Jul 22, 2022 21:474,83237,581,13615,463,00002,433,024
10Jul 22, 2022 21:474,98685,499,05015,953,99702,187,264
11Jul 22, 2022 21:475,00584,617,43616,017,55802,187,264
12Jul 22, 2022 21:475,01185,198,10616,034,26102,252,800