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 listJul 13, 2021 19:56Yuriy LyfenkoYuriy LyfenkoScore: 5,671Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:565,624543,850,53915,999,0001,999,0002,519,040
2Jul 13, 2021 19:565,637544,864,29414,030,0004,008,0002,514,944
3Jul 13, 2021 19:565,642543,594,46515,045,0003,009,0002,330,624
4Jul 13, 2021 19:565,648544,628,49315,061,0003,012,0002,334,720
5Jul 13, 2021 19:565,660538,269,21416,101,0002,012,0002,330,624
6Jul 13, 2021 19:565,670576,922,58218,142,40902,252,800
7Jul 13, 2021 19:565,671545,189,10216,130,0002,016,0002,334,720
8Jul 13, 2021 19:565,675540,535,50916,143,0002,017,0002,523,136
9Jul 13, 2021 19:565,679539,771,19115,144,0003,028,0002,330,624
10Jul 13, 2021 19:565,683539,171,11415,156,0003,031,0002,334,720
11Jul 13, 2021 19:565,687583,498,39218,197,92602,228,224
12Jul 13, 2021 19:565,706571,305,54918,259,27802,256,896