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 listFeb 28, 2024 04:46Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,590Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 28, 2024 04:465,48160,617,90717,540,12102,293,760
2Feb 28, 2024 04:465,51575,986,42617,646,70602,297,856
3Feb 28, 2024 04:465,55687,476,63917,779,31402,301,952
4Feb 28, 2024 04:465,58144,691,25216,868,000992,0002,281,472
5Feb 28, 2024 04:465,58649,779,73416,881,000993,0002,281,472
6Feb 28, 2024 04:465,58845,526,10615,895,0001,986,0002,281,472
7Feb 28, 2024 04:465,59042,133,10215,901,0001,987,0002,281,472
8Feb 28, 2024 04:465,59740,471,86515,920,0001,990,0002,281,472
9Feb 28, 2024 04:465,59945,410,26616,921,000995,0002,281,472
10Feb 28, 2024 04:465,60039,977,50916,925,000995,0002,281,472
11Feb 28, 2024 04:465,60243,128,40815,935,0001,991,0002,281,472
12Feb 28, 2024 04:465,62739,371,81717,006,0001,000,0002,281,472