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 17:05Andrey LikhachevAndrey LikhachevScore: 5,374Success
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 17:055,32942,641,18815,046,0002,006,0002,359,296
2Jun 12, 2024 17:055,33039,285,08116,052,0001,003,0002,289,664
3Jun 12, 2024 17:055,33944,133,03216,080,0001,005,0002,371,584
4Jun 12, 2024 17:055,34246,041,77716,090,0001,005,0002,371,584
5Jun 12, 2024 17:055,34833,550,87316,107,0001,006,0002,355,200
6Jun 12, 2024 17:055,35839,768,37916,138,0001,008,0002,371,584
7Jun 12, 2024 17:055,37433,833,87416,187,0001,011,0002,375,680
8Jun 12, 2024 17:055,37540,380,72615,178,0002,023,0002,289,664
9Jun 12, 2024 17:055,39042,745,03715,219,0002,029,0002,367,488
10Jun 12, 2024 17:055,58082,718,66717,855,05902,248,704
11Jun 12, 2024 17:055,59577,420,14317,903,85802,236,416
12Jun 12, 2024 17:055,64060,679,51018,048,79702,240,512