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 18, 2023 17:46Andranik ChakiryanAndranik ChakiryanScore: 6,047Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 18, 2023 17:465,99240,515,92218,165,0001,009,0002,420,736
2Feb 18, 2023 17:465,99442,553,20317,051,0002,131,0002,285,568
3Feb 18, 2023 17:466,02345,363,70317,245,0002,028,0002,334,720
4Feb 18, 2023 17:466,03136,792,29217,269,0002,031,0002,334,720
5Feb 18, 2023 17:466,03343,788,93317,275,0002,032,0002,330,624
6Feb 18, 2023 17:466,03442,770,47918,294,0001,016,0002,330,624
7Feb 18, 2023 17:466,04751,682,57317,314,0002,036,0002,330,624
8Feb 18, 2023 17:466,05344,058,61217,330,0002,038,0002,297,856
9Feb 18, 2023 17:466,07947,863,10116,383,0003,071,0002,342,912
10Feb 18, 2023 17:466,13578,548,87919,631,73302,260,992
11Feb 18, 2023 17:466,19084,975,33219,807,52602,248,704
12Feb 18, 2023 17:466,30692,128,74420,178,62802,260,992