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 listJul 13, 2021 19:27Andrey TsvetkovAndrey TsvetkovScore: 5,694Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:275,66643,876,69616,117,0002,014,0002,330,624
2Jul 13, 2021 19:275,67948,301,29115,145,0003,029,0002,519,040
3Jul 13, 2021 19:275,68143,945,27916,160,0002,020,0002,523,136
4Jul 13, 2021 19:275,68836,789,23716,178,0002,022,0002,334,720
5Jul 13, 2021 19:275,69284,545,11118,213,90602,240,512
6Jul 13, 2021 19:275,69239,682,33416,190,0002,023,0002,523,136
7Jul 13, 2021 19:275,69441,280,87016,196,0002,024,0002,527,232
8Jul 13, 2021 19:275,69839,723,86416,208,0002,026,0002,347,008
9Jul 13, 2021 19:275,70839,728,33815,222,0003,044,0002,334,720
10Jul 13, 2021 19:275,71141,435,84815,229,0003,045,0002,535,424
11Jul 13, 2021 19:275,73457,442,33418,348,19402,236,416
12Jul 13, 2021 19:275,88582,370,19818,830,67002,232,320