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 21, 2023 21:50Andranik ChakiryanAndranik ChakiryanScore: 5,849Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 21, 2023 21:505,81743,290,20418,615,00002,342,912
2Feb 21, 2023 21:505,82143,372,22517,593,0001,034,0002,347,008
3Feb 21, 2023 21:505,83743,768,14717,640,0001,037,0002,351,104
4Feb 21, 2023 21:505,83949,138,53018,686,00002,342,912
5Feb 21, 2023 21:505,84035,550,20817,651,0001,038,0002,338,816
6Feb 21, 2023 21:505,84450,805,78417,663,0001,039,0002,342,912
7Feb 21, 2023 21:505,84936,046,91416,639,0002,079,0002,342,912
8Feb 21, 2023 21:505,87180,396,75018,788,28802,306,048
9Feb 21, 2023 21:505,88690,905,86018,834,68502,306,048
10Feb 21, 2023 21:505,89489,103,46418,859,54102,187,264
11Feb 21, 2023 21:505,89846,949,83018,873,00002,359,296
12Feb 21, 2023 21:505,90151,324,57317,889,000993,0002,342,912