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 listJun 12, 2024 23:25джулисджулисScore: 5,451Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 23:255,38240,529,55016,210,0001,013,0002,375,680
2Jun 12, 2024 23:255,40634,990,36615,263,0002,035,0002,371,584
3Jun 12, 2024 23:255,41633,233,76016,312,0001,019,0002,293,760
4Jun 12, 2024 23:255,42040,051,09417,344,00002,293,760
5Jun 12, 2024 23:255,42133,572,36016,327,0001,020,0002,371,584
6Jun 12, 2024 23:255,43243,798,25917,383,00002,293,760
7Jun 12, 2024 23:255,45137,240,61017,443,00002,371,584
8Jun 12, 2024 23:255,45431,037,01816,426,0001,026,0002,375,680
9Jun 12, 2024 23:255,48440,905,96416,517,0001,032,0002,293,760
10Jun 12, 2024 23:255,68685,381,46818,196,21902,248,704
11Jun 12, 2024 23:255,69982,037,96018,237,33502,252,800
12Jun 12, 2024 23:255,71682,373,12918,290,87002,252,800