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 listJul 26, 2024 20:48Yuriy LyfenkoYuriy LyfenkoScore: 4,374Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 20:484,353536,154,89611,940,0001,990,0002,535,424
2Jul 26, 2024 20:484,360542,146,45011,959,0001,993,0002,273,280
3Jul 26, 2024 20:484,360535,214,56211,960,0001,993,0002,535,424
4Jul 26, 2024 20:484,368540,324,91311,981,0001,996,0002,535,424
5Jul 26, 2024 20:484,371538,435,77711,988,0001,998,0002,535,424
6Jul 26, 2024 20:484,371531,999,50211,990,0001,998,0002,535,424
7Jul 26, 2024 20:484,374538,166,97611,997,0001,999,0002,273,280
8Jul 26, 2024 20:484,389538,172,00812,038,0002,006,0002,273,280
9Jul 26, 2024 20:484,389537,902,49512,040,0002,006,0002,273,280
10Jul 26, 2024 20:484,573571,088,36714,634,61602,187,264
11Jul 26, 2024 20:484,587575,740,84914,677,14202,195,456
12Jul 26, 2024 20:484,593573,100,04314,696,57302,187,264