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 listMay 7, 2025 01:52zielajzielajScore: 4,129Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 7, 2025 01:524,10526,017,35312,127,0001,010,0002,490,368
2May 7, 2025 01:514,10727,201,01212,131,0001,010,0002,490,368
3May 7, 2025 01:524,11030,708,71712,142,0001,011,0002,498,560
4May 7, 2025 01:514,11528,950,15812,156,0001,013,0002,265,088
5May 7, 2025 01:514,11842,553,34812,165,0001,013,0002,265,088
6May 7, 2025 01:524,12130,958,69412,174,0001,014,0002,494,464
7May 7, 2025 01:524,12330,714,82712,179,0001,014,0002,486,272
8May 7, 2025 01:514,12733,962,54812,191,0001,015,0002,490,368
9May 7, 2025 01:514,12835,086,71212,192,0001,016,0002,490,368
10May 7, 2025 01:534,12826,786,55912,193,0001,016,0002,494,464
11May 7, 2025 01:534,12929,883,78412,197,0001,016,0002,527,232
12May 7, 2025 01:524,13129,617,12513,220,00002,478,080
13May 7, 2025 01:514,13227,286,80312,206,0001,017,0002,527,232
14May 7, 2025 01:524,13425,879,52612,213,0001,017,0002,527,232
15May 7, 2025 01:514,13534,837,97912,215,0001,017,0002,486,272
16May 7, 2025 01:524,13833,078,88013,243,00002,494,464
17May 7, 2025 01:514,14129,558,36012,233,0001,019,0002,527,232
18May 7, 2025 01:534,14429,462,73613,261,00002,527,232
19May 7, 2025 01:524,14834,417,96413,274,00002,527,232
20May 7, 2025 01:514,14927,384,70713,277,00002,527,232
21May 7, 2025 01:524,15125,270,26313,283,00002,527,232