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 listMay 29, 2021 16:39Dmitry DolgopolovDmitry DolgopolovScore: 4,974Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 16:394,96031,985,52514,880,000992,0002,441,216
2May 29, 2021 16:394,96331,202,50013,898,0001,985,0002,445,312
3May 29, 2021 16:394,96331,921,23514,889,000992,0002,273,280
4May 29, 2021 16:394,96340,642,98114,890,000992,0002,535,424
5May 29, 2021 16:394,96440,383,72013,900,0001,985,0002,535,424
6May 29, 2021 16:394,96440,306,15413,899,0001,985,0002,535,424
7May 29, 2021 16:394,96431,646,96413,899,0001,985,0002,441,216
8May 29, 2021 16:394,96440,420,41413,901,0001,985,0002,441,216
9May 29, 2021 16:394,96634,016,02113,906,0001,986,0002,535,424
10May 29, 2021 16:394,96931,223,33513,913,0001,987,0002,273,280
11May 29, 2021 16:394,97038,366,19213,916,0001,988,0002,445,312
12May 29, 2021 16:394,97131,842,34514,847,0001,060,0002,445,312
13May 29, 2021 16:394,97432,979,49513,927,0001,989,0002,437,120
14May 29, 2021 16:394,98534,399,01113,959,0001,994,0002,535,424
15May 29, 2021 16:394,98634,185,76913,961,0001,994,0002,441,216
16May 29, 2021 16:394,98832,643,20313,965,0001,995,0002,437,120
17May 29, 2021 16:394,98935,748,57613,969,0001,995,0002,445,312
18May 29, 2021 16:394,99135,157,36113,974,0001,996,0002,273,280
19May 29, 2021 16:395,16975,123,20716,541,81202,203,648
20May 29, 2021 16:395,18580,091,88216,591,76202,203,648
21May 29, 2021 16:395,20286,612,00316,645,34602,203,648
22May 29, 2021 16:395,20988,212,68316,667,55902,199,552
23May 29, 2021 16:395,21469,125,94816,684,54702,203,648
24May 29, 2021 16:395,23793,158,97016,757,84202,203,648