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 23, 2023 22:46Andranik ChakiryanAndranik ChakiryanScore: 5,638Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 23, 2023 22:465,60143,764,94116,928,000995,0002,342,912
2Feb 23, 2023 22:465,61142,647,12416,958,000997,0002,338,816
3Feb 23, 2023 22:465,61747,599,28815,976,0001,997,0002,342,912
4Feb 23, 2023 22:465,62646,690,88617,002,0001,000,0002,342,912
5Feb 23, 2023 22:465,62646,990,14417,003,0001,000,0002,342,912
6Feb 23, 2023 22:465,63648,823,55315,030,0003,006,0002,342,912
7Feb 23, 2023 22:465,63842,922,86216,038,0002,004,0002,359,296
8Feb 23, 2023 22:465,64450,222,37516,054,0002,006,0002,342,912
9Feb 23, 2023 22:465,65337,363,07617,086,0001,005,0002,342,912
10Feb 23, 2023 22:465,67398,048,98418,153,61202,183,168
11Feb 23, 2023 22:465,69994,008,37718,236,94802,191,360
12Feb 23, 2023 22:465,76763,850,70118,453,30202,187,264