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 24, 2023 16:30Andranik ChakiryanAndranik ChakiryanScore: 5,669Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 24, 2023 16:305,62944,017,08117,014,0001,000,0002,342,912
2Feb 24, 2023 16:305,63747,336,85017,035,0001,002,0002,342,912
3Feb 24, 2023 16:305,63838,021,17216,036,0002,004,0002,355,200
4Feb 24, 2023 16:305,64147,065,47417,048,0001,002,0002,478,080
5Feb 24, 2023 16:305,64143,558,46816,046,0002,005,0002,334,720
6Feb 24, 2023 16:305,64844,435,86917,069,0001,004,0002,342,912
7Feb 24, 2023 16:305,66950,685,43617,133,0001,007,0002,342,912
8Feb 24, 2023 16:305,67544,869,50717,151,0001,008,0002,342,912
9Feb 24, 2023 16:305,68539,005,00017,183,0001,010,0002,359,296
10Feb 24, 2023 16:305,71469,484,22218,284,05802,183,168
11Feb 24, 2023 16:305,72959,527,47518,333,27902,301,952
12Feb 24, 2023 16:305,78683,491,35818,514,96002,306,048