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 20, 2023 20:07Andranik ChakiryanAndranik ChakiryanScore: 6,028Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 20, 2023 20:065,98143,095,63218,133,0001,007,0002,355,200
2Feb 20, 2023 20:065,98841,426,47418,154,0001,008,0002,342,912
3Feb 20, 2023 20:075,98935,586,32217,148,0002,017,0002,342,912
4Feb 20, 2023 20:065,99740,819,44718,181,0001,010,0002,342,912
5Feb 20, 2023 20:075,99739,548,72617,171,0002,020,0002,342,912
6Feb 20, 2023 20:066,00044,738,95318,189,0001,010,0002,342,912
7Feb 20, 2023 20:076,00044,072,49417,179,0002,021,0002,342,912
8Feb 20, 2023 20:066,00538,702,69317,195,0002,022,0002,342,912
9Feb 20, 2023 20:066,01148,754,77217,210,0002,024,0002,342,912
10Feb 20, 2023 20:066,01593,705,39219,249,47302,183,168
11Feb 20, 2023 20:076,01947,768,75617,235,0002,027,0002,342,912
12Feb 20, 2023 20:076,02836,463,82517,260,0002,030,0002,338,816
13Feb 20, 2023 20:066,02844,084,71817,259,0002,030,0002,342,912
14Feb 20, 2023 20:076,02941,254,53418,277,0001,015,0002,351,104
15Feb 20, 2023 20:076,03089,631,53419,297,39102,293,760
16Feb 20, 2023 20:076,03143,544,06717,267,0002,031,0002,342,912
17Feb 20, 2023 20:076,03433,843,46216,260,0003,048,0002,338,816
18Feb 20, 2023 20:066,03544,256,58917,280,0002,032,0002,347,008
19Feb 20, 2023 20:066,03546,219,97518,296,0001,016,0002,347,008
20Feb 20, 2023 20:076,05047,279,59517,323,0002,038,0002,342,912
21Feb 20, 2023 20:066,06591,356,66219,406,73402,179,072
22Feb 20, 2023 20:076,09789,955,33619,511,13302,183,168
23Feb 20, 2023 20:076,13489,711,48519,629,89802,183,168
24Feb 20, 2023 20:066,26689,380,04420,050,67602,179,072