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 19, 2021 20:57Yuriy LyfenkoYuriy LyfenkoScore: 6,208Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 20:576,13142,687,16717,553,0002,065,0002,523,136
2May 19, 2021 20:576,14336,484,53618,623,0001,034,0002,514,944
3May 19, 2021 20:576,15844,180,73918,668,0001,037,0002,330,624
4May 19, 2021 20:576,15951,872,76717,634,0002,074,0002,330,624
5May 19, 2021 20:576,16245,582,70018,680,0001,037,0002,519,040
6May 19, 2021 20:576,205109,884,05519,855,98602,232,320
7May 19, 2021 20:576,20845,136,78818,871,000993,0002,527,232
8May 19, 2021 20:576,20847,139,13214,899,0004,966,0002,523,136
9May 19, 2021 20:576,21186,030,03419,875,30802,228,224
10May 19, 2021 20:576,21546,578,86718,893,000994,0002,514,944
11May 19, 2021 20:576,21888,062,82719,898,39402,232,320
12May 19, 2021 20:576,22585,158,59519,921,28602,228,224
13May 19, 2021 20:576,22650,113,72716,935,0002,988,0002,330,624
14May 19, 2021 20:576,24292,073,44819,974,12302,211,840
15May 19, 2021 20:576,24985,784,96219,998,17902,224,128