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:47Andranik ChakiryanAndranik ChakiryanScore: 5,859Success
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:475,81543,301,95516,542,0002,067,0002,355,200
2Feb 21, 2023 21:475,83345,573,95918,665,00002,342,912
3Feb 21, 2023 21:475,83549,505,86016,598,0002,074,0002,342,912
4Feb 21, 2023 21:475,83849,604,24617,644,0001,037,0002,342,912
5Feb 21, 2023 21:475,84333,340,33417,661,0001,038,0002,338,816
6Feb 21, 2023 21:475,85346,316,52218,731,00002,342,912
7Feb 21, 2023 21:475,85943,967,43616,665,0002,083,0002,338,816
8Feb 21, 2023 21:475,88947,994,23216,861,0001,983,0002,342,912
9Feb 21, 2023 21:475,89845,827,21417,882,000993,0002,342,912
10Feb 21, 2023 21:475,94996,147,05119,036,57302,306,048
11Feb 21, 2023 21:475,98583,392,81419,152,23402,183,168
12Feb 21, 2023 21:475,99876,564,63619,194,71902,179,072