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 15, 2024 19:25джулисджулисScore: 5,274Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 19:255,21043,928,18316,671,00002,293,760
2Jun 15, 2024 19:255,22442,648,17416,716,00002,293,760
3Jun 15, 2024 19:255,26042,483,73714,852,0001,980,0002,293,760
4Jun 15, 2024 19:255,26939,096,06215,871,000991,0002,293,760
5Jun 15, 2024 19:255,27441,865,57614,893,0001,985,0002,293,760
6Jun 15, 2024 19:255,27442,716,78415,886,000992,0002,293,760
7Jun 15, 2024 19:255,27444,153,69215,886,000992,0002,379,776
8Jun 15, 2024 19:255,27830,539,24114,903,0001,987,0002,371,584
9Jun 15, 2024 19:255,28332,825,38916,904,00002,293,760
10Jun 15, 2024 19:255,44473,239,89217,421,36202,252,800
11Jun 15, 2024 19:255,46385,712,50117,480,35402,236,416
12Jun 15, 2024 19:255,48591,525,88917,552,71602,260,992