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:30Andranik ChakiryanAndranik ChakiryanScore: 5,893Success
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:305,82043,107,67016,556,0002,069,0002,351,104
2Feb 23, 2023 22:305,83947,403,99618,684,00002,347,008
3Feb 23, 2023 22:305,84145,468,98118,692,00002,338,816
4Feb 23, 2023 22:305,85135,254,94518,722,00002,342,912
5Feb 23, 2023 22:305,85445,065,63818,732,00002,347,008
6Feb 23, 2023 22:305,85846,473,87218,747,00002,338,816
7Feb 23, 2023 22:305,89345,588,12915,882,0002,977,0002,342,912
8Feb 23, 2023 22:305,89549,162,74117,872,000992,0002,355,200
9Feb 23, 2023 22:305,90843,346,41217,912,000995,0002,355,200
10Feb 23, 2023 22:305,90993,740,27018,909,26302,183,168
11Feb 23, 2023 22:305,93992,407,78919,005,80302,187,264
12Feb 23, 2023 22:305,988103,039,89019,160,28502,179,072