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 21:11Andranik ChakiryanAndranik ChakiryanScore: 5,896Success
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 21:115,83534,190,97517,634,0001,037,0002,347,008
2Feb 20, 2023 21:115,83734,501,05517,640,0001,037,0002,338,816
3Feb 20, 2023 21:115,83750,704,93818,679,00002,351,104
4Feb 20, 2023 21:115,84736,067,41917,672,0001,039,0002,351,104
5Feb 20, 2023 21:115,85345,102,35418,729,00002,342,912
6Feb 20, 2023 21:115,87944,845,88916,832,0001,980,0002,342,912
7Feb 20, 2023 21:115,89637,817,13916,881,0001,986,0002,359,296
8Feb 20, 2023 21:115,89834,157,93117,880,000993,0002,347,008
9Feb 20, 2023 21:115,89975,743,83418,875,74602,191,360
10Feb 20, 2023 21:115,90198,041,12518,884,02202,187,264
11Feb 20, 2023 21:115,90141,362,64916,896,0001,987,0002,342,912
12Feb 20, 2023 21:115,96985,559,02219,100,96402,174,976