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 8, 2023 13:19Andrew MoonAndrew MoonScore: 5,351Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 13:195,32445,981,57416,036,0001,002,0002,396,160
2Jul 8, 2023 13:195,32643,278,04816,041,0001,002,0002,265,088
3Jul 8, 2023 13:195,32835,425,86716,048,0001,003,0002,387,968
4Jul 8, 2023 13:195,33038,597,57416,053,0001,003,0002,392,064
5Jul 8, 2023 13:195,33140,532,51016,057,0001,003,0002,265,088
6Jul 8, 2023 13:195,33842,366,07616,078,0001,004,0002,265,088
7Jul 8, 2023 13:195,35150,376,57615,108,0002,014,0002,396,160
8Jul 8, 2023 13:195,35344,006,40216,124,0001,007,0002,506,752
9Jul 8, 2023 13:195,37441,271,86916,186,0001,011,0002,265,088
10Jul 8, 2023 13:195,53187,114,12217,698,39602,277,376
11Jul 8, 2023 13:195,542103,184,82017,734,26202,273,280
12Jul 8, 2023 13:195,55578,671,91917,775,28202,281,472