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:25джулисджулисScore: 5,320Success
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:255,28432,848,54515,916,000994,0002,371,584
2Jun 12, 2024 23:255,29239,406,89714,942,0001,992,0002,293,760
3Jun 12, 2024 23:255,30043,543,80814,964,0001,995,0002,478,080
4Jun 12, 2024 23:255,30439,021,44615,974,000998,0002,371,584
5Jun 12, 2024 23:255,30649,767,52014,981,0001,997,0002,371,584
6Jun 12, 2024 23:255,30741,417,21215,984,000999,0002,293,760
7Jun 12, 2024 23:255,32040,253,97815,022,0002,002,0002,293,760
8Jun 12, 2024 23:255,32445,172,31315,033,0002,004,0002,367,488
9Jun 12, 2024 23:255,32543,395,81615,035,0002,004,0002,293,760
10Jun 12, 2024 23:255,50785,541,94117,623,64502,252,800
11Jun 12, 2024 23:255,62973,750,42818,013,51202,244,608
12Jun 12, 2024 23:255,707103,712,18418,263,15502,240,512