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 25, 2023 22:55Andranik ChakiryanAndranik ChakiryanScore: 5,643Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 25, 2023 22:555,59546,645,47716,850,0001,053,0002,342,912
2Feb 25, 2023 22:555,61045,486,30116,956,000997,0002,342,912
3Feb 25, 2023 22:555,61237,878,37816,962,000997,0002,338,816
4Feb 25, 2023 22:555,61749,787,27814,979,0002,995,0002,486,272
5Feb 25, 2023 22:555,62345,709,61415,995,0001,999,0002,342,912
6Feb 25, 2023 22:555,63944,440,58517,043,0001,002,0002,351,104
7Feb 25, 2023 22:555,64341,558,44016,053,0002,006,0002,342,912
8Feb 25, 2023 22:555,66080,088,14918,110,80202,187,264
9Feb 25, 2023 22:555,67048,833,36114,113,0004,032,0002,351,104
10Feb 25, 2023 22:555,67147,551,83016,130,0002,016,0002,351,104
11Feb 25, 2023 22:555,67873,368,83718,168,30802,191,360
12Feb 25, 2023 22:555,75666,800,75518,419,26902,179,072