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:27джулисджулисScore: 5,288Success
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:275,27134,502,27415,874,000992,0002,375,680
2Jun 12, 2024 23:275,27335,204,65315,880,000992,0002,293,760
3Jun 12, 2024 23:275,27437,982,68114,892,0001,985,0002,293,760
4Jun 12, 2024 23:275,27736,987,46514,900,0001,986,0002,375,680
5Jun 12, 2024 23:275,27844,631,81315,897,000993,0002,293,760
6Jun 12, 2024 23:275,28345,651,64314,916,0001,988,0002,367,488
7Jun 12, 2024 23:275,28844,156,87215,926,000995,0002,367,488
8Jun 12, 2024 23:275,29435,030,81314,948,0001,993,0002,375,680
9Jun 12, 2024 23:275,29836,105,89215,958,000997,0002,371,584
10Jun 12, 2024 23:275,48690,633,67117,555,23802,252,800
11Jun 12, 2024 23:275,61663,024,53317,971,43002,252,800
12Jun 12, 2024 23:275,64793,498,12618,071,85102,252,800