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 17, 2021 23:33Yuriy LyfenkoYuriy LyfenkoScore: 5,392Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 23:335,354783,730,34616,062,0001,070,0002,265,088
2May 17, 2021 23:335,356312,139,96417,138,00002,260,992
3May 17, 2021 23:335,3692,589,678,23016,226,000954,0002,260,992
4May 17, 2021 23:335,3701,849,689,50016,173,0001,010,0002,383,872
5May 17, 2021 23:335,3772,423,253,24017,205,00002,523,136
6May 17, 2021 23:335,377873,328,51715,182,0002,024,0002,523,136
7May 17, 2021 23:335,3922,692,038,69815,225,0002,030,0002,523,136
8May 17, 2021 23:335,4061,395,895,88015,376,0001,922,0002,260,992
9May 17, 2021 23:335,421600,070,43415,421,0001,927,0002,523,136
10May 17, 2021 23:335,5932,096,996,32617,896,82102,281,472
11May 17, 2021 23:335,6061,378,087,49017,939,73202,281,472
12May 17, 2021 23:335,6072,385,531,66917,941,93302,281,472