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 listSep 23, 2024 07:07MaxMaxScore: 9,332Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 23, 2024 07:079,28353,876,68228,682,0001,024,0002,531,328
2Sep 23, 2024 07:079,32859,802,45929,851,00002,269,184
3Sep 23, 2024 07:079,33166,919,17927,869,0001,990,0002,289,664
4Sep 23, 2024 07:079,33158,356,87827,870,0001,990,0002,289,664
5Sep 23, 2024 07:079,33267,189,84928,867,000995,0002,273,280
6Sep 23, 2024 07:079,33360,940,30727,874,0001,991,0002,527,232
7Sep 23, 2024 07:079,33859,961,78428,886,000996,0002,289,664
8Sep 23, 2024 07:079,34655,599,14527,913,0001,993,0002,347,008
9Sep 23, 2024 07:079,36057,524,14827,957,0001,996,0002,265,088