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 9, 2024 20:01AnSaAnSaScore: 8,845Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 20:016,18892,487,85619,802,24702,179,072
2Jun 9, 2024 20:016,191104,697,43019,810,98302,301,952
3Jun 9, 2024 20:016,21591,953,29619,887,66602,179,072
4Jun 9, 2024 20:018,80852,177,61318,119,00010,066,0002,322,432
5Jun 9, 2024 20:018,81352,452,51519,137,0009,065,0002,318,336
6Jun 9, 2024 20:018,83148,623,89920,186,0008,074,0002,318,336
7Jun 9, 2024 20:018,84553,486,71620,218,0008,087,0002,326,528
8Jun 9, 2024 20:018,91457,761,58716,300,00012,225,0002,379,776
9Jun 9, 2024 20:018,92251,311,72017,333,00011,216,0002,359,296
10Jun 9, 2024 20:018,92650,112,36319,383,0009,181,0002,412,544
11Jun 9, 2024 20:018,95862,869,40721,500,0007,166,0002,318,336
12Jun 9, 2024 20:018,96054,987,39322,528,0006,144,0002,359,296