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 24, 2023 21:31Andranik ChakiryanAndranik ChakiryanScore: 5,633Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 24, 2023 21:315,59142,809,83515,903,0001,987,0002,342,912
2Feb 24, 2023 21:315,59245,776,93115,906,0001,988,0002,342,912
3Feb 24, 2023 21:315,59433,976,63915,912,0001,989,0002,355,200
4Feb 24, 2023 21:315,61347,031,83115,965,0001,995,0002,342,912
5Feb 24, 2023 21:315,61642,616,39715,975,0001,996,0002,347,008
6Feb 24, 2023 21:315,62245,454,31515,992,0001,999,0002,342,912
7Feb 24, 2023 21:315,63345,386,61617,023,0001,001,0002,342,912
8Feb 24, 2023 21:315,63649,335,28116,031,0002,003,0002,342,912
9Feb 24, 2023 21:315,63646,755,52117,034,0001,002,0002,342,912
10Feb 24, 2023 21:315,68888,355,53518,200,00902,191,360
11Feb 24, 2023 21:315,74779,839,39218,389,36602,187,264
12Feb 24, 2023 21:315,83977,932,97218,685,83402,187,264