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 18, 2021 13:09Yuriy LyfenkoYuriy LyfenkoScore: 5,462Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 13:105,4122,438,529,52916,355,000962,0002,527,232
2May 18, 2021 13:095,4201,370,080,61415,417,0001,927,0002,523,136
3May 18, 2021 13:105,4271,724,351,75317,365,00002,519,040
4May 18, 2021 13:095,4282,998,610,05616,350,0001,021,0002,260,992
5May 18, 2021 13:105,4282,759,550,10517,368,00002,260,992
6May 18, 2021 13:105,4311,667,025,49015,448,0001,931,0002,519,040
7May 18, 2021 13:095,4391,709,119,76417,404,00002,265,088
8May 18, 2021 13:105,4411,666,177,79516,443,000967,0002,523,136
9May 18, 2021 13:105,4422,347,722,75016,391,0001,024,0002,523,136
10May 18, 2021 13:095,4472,151,637,42816,462,000968,0002,260,992
11May 18, 2021 13:095,4561,583,732,44316,490,000970,0002,523,136
12May 18, 2021 13:105,4592,334,884,07614,559,0002,911,0002,519,040
13May 18, 2021 13:095,4621,070,703,40017,478,00002,523,136
14May 18, 2021 13:095,463315,453,56216,509,000971,0002,519,040
15May 18, 2021 13:105,486952,279,67415,606,0001,950,0002,387,968
16May 18, 2021 13:095,498240,763,53414,663,0002,932,0002,523,136
17May 18, 2021 13:105,519582,896,00716,680,000981,0002,519,040
18May 18, 2021 13:095,520222,967,70616,683,000981,0002,265,088
19May 18, 2021 13:095,5942,331,187,21017,899,47202,281,472
20May 18, 2021 13:095,5942,568,993,21617,900,05602,277,376
21May 18, 2021 13:105,5991,425,359,71417,917,32802,277,376
22May 18, 2021 13:105,6171,820,768,37617,972,95602,281,472
23May 18, 2021 13:105,6193,039,155,33217,982,36602,277,376
24May 18, 2021 13:095,6321,914,543,82818,023,75502,281,472