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 10, 2023 23:41Anılcan GülkayaAnılcan GülkayaScore: 5,724Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 10, 2023 23:415,67339,293,01216,136,0002,017,0002,277,376
2Jul 10, 2023 23:415,68948,357,55016,182,0002,022,0002,289,664
3Jul 10, 2023 23:415,69141,637,63716,189,0002,023,0002,289,664
4Jul 10, 2023 23:415,69139,512,75116,189,0002,023,0002,289,664
5Jul 10, 2023 23:415,70834,244,38416,235,0002,029,0002,289,664
6Jul 10, 2023 23:415,71346,774,38416,250,0002,031,0002,289,664
7Jul 10, 2023 23:415,72441,795,37216,283,0002,035,0002,289,664
8Jul 10, 2023 23:415,74343,367,14316,335,0002,041,0002,289,664
9Jul 10, 2023 23:415,74943,981,11116,354,0002,044,0002,289,664
10Jul 10, 2023 23:416,06898,934,51719,416,64902,179,072
11Jul 10, 2023 23:416,09581,895,02419,503,81702,306,048
12Jul 10, 2023 23:416,119101,884,39819,581,05402,306,048