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:30Yuriy LyfenkoYuriy LyfenkoScore: 5,324Success
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:305,260765,878,67615,841,000990,0002,265,088
2May 17, 2021 23:305,2671,190,640,41215,801,0001,053,0002,527,232
3May 17, 2021 23:305,2741,347,061,49514,892,0001,985,0002,519,040
4May 17, 2021 23:305,2742,560,639,42815,884,000992,0002,265,088
5May 17, 2021 23:305,2782,551,165,39216,891,00002,519,040
6May 17, 2021 23:305,281934,881,48615,906,000994,0002,387,968
7May 17, 2021 23:305,2941,281,769,63716,942,00002,265,088
8May 17, 2021 23:305,2941,643,231,54713,951,0002,989,0002,260,992
9May 17, 2021 23:305,297537,064,44815,952,000997,0002,523,136
10May 17, 2021 23:305,2972,103,000,89016,951,00002,265,088
11May 17, 2021 23:305,305274,366,04015,979,000998,0002,265,088
12May 17, 2021 23:305,3141,177,582,13016,060,000944,0002,519,040
13May 17, 2021 23:305,3242,145,856,45114,198,0002,839,0002,523,136
14May 17, 2021 23:305,3251,649,987,31616,039,0001,002,0002,523,136
15May 17, 2021 23:305,3361,523,492,04815,067,0002,009,0002,523,136
16May 17, 2021 23:305,3371,891,149,57016,130,000948,0002,383,872
17May 17, 2021 23:305,338234,561,01416,078,0001,004,0002,387,968
18May 17, 2021 23:305,3412,346,674,14116,085,0001,005,0002,523,136
19May 17, 2021 23:305,4301,720,323,40017,376,85302,285,568
20May 17, 2021 23:305,433860,992,61217,384,45802,277,376
21May 17, 2021 23:305,439514,395,51817,403,85702,281,472
22May 17, 2021 23:305,448591,483,47517,433,40302,281,472
23May 17, 2021 23:305,4692,634,825,67217,501,92702,277,376
24May 17, 2021 23:305,4843,042,502,99617,547,84402,277,376