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 13:40DarkclainerDarkclainerScore: 5,542Success
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 13:405,44735,155,35617,430,00002,289,664
2Feb 20, 2023 13:405,48640,317,93616,523,0001,032,0002,367,488
3Feb 20, 2023 13:405,49542,455,95117,585,00002,289,664
4Feb 20, 2023 13:405,50148,154,66817,604,00002,375,680
5Feb 20, 2023 13:405,50542,584,50117,615,00002,289,664
6Feb 20, 2023 13:405,52041,763,59617,665,00002,289,664
7Feb 20, 2023 13:405,54246,630,95417,734,00002,289,664
8Feb 20, 2023 13:405,58340,376,67716,872,000992,0002,289,664
9Feb 20, 2023 13:405,59244,822,05116,901,000994,0002,289,664
10Feb 20, 2023 13:405,703101,859,05618,249,88902,244,608
11Feb 20, 2023 13:405,71265,199,31418,278,02602,244,608
12Feb 20, 2023 13:405,73984,825,89918,366,28002,244,608