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 22:02джулисджулисScore: 5,271Success
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 22:025,20444,279,97316,652,00002,293,760
2Jun 9, 2024 22:025,20833,346,56215,625,0001,041,0002,293,760
3Jun 9, 2024 22:025,21143,028,54215,633,0001,042,0002,293,760
4Jun 9, 2024 22:025,21348,638,69016,681,00002,293,760
5Jun 9, 2024 22:025,21445,816,96715,642,0001,042,0002,293,760
6Jun 9, 2024 22:025,23150,043,53315,693,0001,046,0002,293,760
7Jun 9, 2024 22:025,27141,781,11015,874,000992,0002,375,680
8Jun 9, 2024 22:025,27143,296,29915,876,000992,0002,293,760
9Jun 9, 2024 22:025,27948,523,75415,899,000993,0002,367,488
10Jun 9, 2024 22:025,44785,227,30817,430,89602,265,088
11Jun 9, 2024 22:025,49188,962,96717,570,85502,252,800
12Jun 9, 2024 22:025,51574,528,21317,647,52002,252,800