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 13, 2024 18:54Andrey LikhachevAndrey LikhachevScore: 4,777Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 18:544,75334,672,00813,182,0002,028,0002,281,472
2Jun 13, 2024 18:544,75835,893,67713,197,0002,030,0002,371,584
3Jun 13, 2024 18:544,75931,140,27114,214,0001,015,0002,371,584
4Jun 13, 2024 18:544,76344,092,56914,224,0001,016,0002,281,472
5Jun 13, 2024 18:544,76532,903,41614,233,0001,016,0002,367,488
6Jun 13, 2024 18:544,76832,686,25813,224,0002,034,0002,281,472
7Jun 13, 2024 18:544,77732,339,65614,267,0001,019,0002,469,888
8Jun 13, 2024 18:544,79536,523,97713,299,0002,046,0002,281,472
9Jun 13, 2024 18:544,79933,421,60214,333,0001,023,0002,371,584
10Jun 13, 2024 18:545,04278,360,03916,133,47302,248,704
11Jun 13, 2024 18:545,04860,724,24416,154,27602,236,416
12Jun 13, 2024 18:545,08097,939,89316,254,70002,363,392