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,514Success
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,46246,282,89716,451,0001,028,0002,408,448
2Feb 28, 2024 04:465,47334,182,65316,485,0001,030,0002,281,472
3Feb 28, 2024 04:465,47535,947,93916,490,0001,030,0002,281,472
4Feb 28, 2024 04:465,47938,769,56316,503,0001,031,0002,281,472
5Feb 28, 2024 04:465,48433,665,07117,548,00002,404,352
6Feb 28, 2024 04:465,50747,412,61716,585,0001,036,0002,281,472
7Feb 28, 2024 04:465,51446,955,88917,646,00002,281,472
8Feb 28, 2024 04:465,51635,190,49217,650,00002,281,472
9Feb 28, 2024 04:465,52440,182,62215,713,0001,964,0002,281,472
10Feb 28, 2024 04:465,55886,817,22517,785,10202,297,856
11Feb 28, 2024 04:465,56880,069,82317,817,38902,293,760
12Feb 28, 2024 04:465,57653,988,50917,844,04302,297,856