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 8, 2024 18:47AndreyTSAndreyTSScore: 5,380Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 18:475,33432,035,13515,061,0002,008,0002,289,664
2Jun 8, 2024 18:475,34541,317,87915,093,0002,012,0002,273,280
3Jun 8, 2024 18:475,35139,417,65316,116,0001,007,0002,265,088
4Jun 8, 2024 18:475,35640,260,72215,124,0002,016,0002,289,664
5Jun 8, 2024 18:475,35840,797,72415,129,0002,017,0002,289,664
6Jun 8, 2024 18:475,36740,949,81815,154,0002,020,0002,273,280
7Jun 8, 2024 18:475,38036,401,83815,190,0002,025,0002,289,664
8Jun 8, 2024 18:475,38435,782,76616,215,0001,013,0002,289,664
9Jun 8, 2024 18:475,40339,557,95015,256,0002,034,0002,269,184
10Jun 8, 2024 18:475,60983,326,24717,948,14202,301,952
11Jun 8, 2024 18:475,62881,565,97418,008,71102,306,048
12Jun 8, 2024 18:475,65491,819,96418,092,54502,301,952