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 14, 2024 20:49джулисджулисScore: 5,686Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 14, 2024 20:495,66740,884,36017,128,0001,007,0002,265,088
2Jun 14, 2024 20:495,66946,124,18817,135,0001,007,0002,277,376
3Jun 14, 2024 20:495,67741,887,81816,149,0002,018,0002,289,664
4Jun 14, 2024 20:495,67839,882,80816,151,0002,018,0002,289,664
5Jun 14, 2024 20:495,68141,029,08316,159,0002,019,0002,289,664
6Jun 14, 2024 20:495,68539,996,56016,172,0002,021,0002,289,664
7Jun 14, 2024 20:495,68639,889,71916,173,0002,021,0002,269,184
8Jun 14, 2024 20:495,68941,063,93516,183,0002,022,0002,289,664
9Jun 14, 2024 20:495,70344,600,08917,236,0001,013,0002,289,664
10Jun 14, 2024 20:495,90497,121,83418,891,56002,297,856
11Jun 14, 2024 20:495,93691,523,26818,995,60402,297,856
12Jun 14, 2024 20:495,94292,050,04319,013,23602,306,048