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:21Andranik ChakiryanAndranik ChakiryanScore: 5,912Success
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:215,89044,200,09617,802,0001,047,0002,342,912
2Feb 23, 2023 22:215,90044,601,17716,893,0001,987,0002,342,912
3Feb 23, 2023 22:215,90134,938,28818,882,00002,338,816
4Feb 23, 2023 22:215,90444,964,76917,899,000994,0002,478,080
5Feb 23, 2023 22:215,90647,227,01916,909,0001,989,0002,342,912
6Feb 23, 2023 22:215,91049,324,31217,862,0001,050,0002,342,912
7Feb 23, 2023 22:215,91237,331,35916,927,0001,991,0002,359,296
8Feb 23, 2023 22:215,92497,954,89218,958,32702,179,072
9Feb 23, 2023 22:215,93175,494,58318,978,12402,183,168
10Feb 23, 2023 22:215,93196,647,68618,980,31102,183,168
11Feb 23, 2023 22:215,94036,013,93818,009,0001,000,0002,338,816
12Feb 23, 2023 22:215,94747,436,97117,027,0002,003,0002,342,912