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 29, 2024 20:22AnSaAnSaScore: 5,020Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 29, 2024 20:224,97634,939,85613,934,0001,990,0002,269,184
2Jun 29, 2024 20:224,98038,552,70713,944,0001,992,0002,269,184
3Jun 29, 2024 20:224,98439,209,39813,957,0001,993,0002,523,136
4Jun 29, 2024 20:224,98538,864,82014,955,000997,0002,289,664
5Jun 29, 2024 20:225,01341,095,08915,040,0001,002,0002,289,664
6Jun 29, 2024 20:225,01641,682,41014,044,0002,006,0002,289,664
7Jun 29, 2024 20:225,02040,145,88214,057,0002,008,0002,289,664
8Jun 29, 2024 20:225,02839,105,42914,078,0002,011,0002,367,488
9Jun 29, 2024 20:225,05146,712,97915,153,0001,010,0002,289,664
10Jun 29, 2024 20:225,20383,359,62216,650,98702,289,664
11Jun 29, 2024 20:225,23987,891,25416,763,70102,293,760
12Jun 29, 2024 20:225,24764,398,18316,790,11602,301,952