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 listOct 27, 2021 10:00Ilya AniskovetsIlya AniskovetsScore: 5,510Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 27, 2021 10:005,47840,273,31116,498,0001,031,0002,265,088
2Oct 27, 2021 10:005,49435,703,73216,548,0001,034,0002,289,664
3Oct 27, 2021 10:005,49544,774,91216,549,0001,034,0002,265,088
4Oct 27, 2021 10:005,50845,774,12616,588,0001,036,0002,289,664
5Oct 27, 2021 10:005,50948,211,67316,593,0001,037,0002,289,664
6Oct 27, 2021 10:005,51046,192,81416,594,0001,037,0002,289,664
7Oct 27, 2021 10:005,51044,337,76117,633,00002,273,280
8Oct 27, 2021 10:005,51143,274,57516,599,0001,037,0002,289,664
9Oct 27, 2021 10:005,54044,117,38417,729,00002,269,184
10Oct 27, 2021 10:005,66478,147,05018,123,57402,297,856
11Oct 27, 2021 10:005,66887,952,61118,137,21102,301,952
12Oct 27, 2021 10:005,70578,949,97818,255,59702,297,856