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:15Dmitry 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:104,96037,785,05013,888,0001,984,0002,535,424
2May 29, 2021 16:154,96033,948,72913,888,0001,984,0002,535,424
3May 29, 2021 16:104,96131,836,08413,892,0001,984,0002,273,280
4May 29, 2021 16:154,96239,948,80014,886,000992,0002,535,424
5May 29, 2021 16:104,96341,179,76114,891,000992,0002,445,312
6May 29, 2021 16:154,96429,320,91714,893,000992,0002,445,312
7May 29, 2021 16:154,96434,925,04514,827,0001,059,0002,535,424
8May 29, 2021 16:104,96445,601,99713,899,0001,985,0002,535,424
9May 29, 2021 16:104,96442,873,46413,900,0001,985,0002,535,424
10May 29, 2021 16:154,96737,613,49813,908,0001,986,0002,535,424
11May 29, 2021 16:154,96938,035,92014,907,000993,0002,273,280
12May 29, 2021 16:104,97143,183,73113,919,0001,988,0002,535,424
13May 29, 2021 16:154,97434,325,22613,928,0001,989,0002,445,312
14May 29, 2021 16:104,97635,547,00813,934,0001,990,0002,441,216
15May 29, 2021 16:104,97837,196,06213,940,0001,991,0002,273,280
16May 29, 2021 16:154,99037,926,23113,972,0001,996,0002,449,408
17May 29, 2021 16:104,99234,814,29814,977,000998,0002,449,408
18May 29, 2021 16:155,02338,945,64714,064,0002,009,0002,535,424
19May 29, 2021 16:155,18066,321,48416,577,23402,199,552
20May 29, 2021 16:105,18754,484,44216,598,61402,207,744
21May 29, 2021 16:105,18886,611,71316,600,91902,203,648
22May 29, 2021 16:155,19689,041,67916,628,51902,203,648
23May 29, 2021 16:105,20975,650,75716,667,26302,195,456
24May 29, 2021 16:155,21579,739,00516,687,56802,203,648