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 19:11Yuriy LyfenkoYuriy LyfenkoScore: 5,367Success
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 19:105,3183,970,969,32415,017,0002,002,0002,527,232
2May 17, 2021 19:105,3253,206,861,30316,038,0001,002,0002,265,088
3May 17, 2021 19:115,3351,044,510,38414,060,0003,013,0002,265,088
4May 17, 2021 19:115,3372,739,282,50516,073,0001,004,0002,523,136
5May 17, 2021 19:105,3451,560,953,87215,092,0002,012,0002,396,160
6May 17, 2021 19:105,3533,193,356,29215,115,0002,015,0002,527,232
7May 17, 2021 19:115,3563,146,944,75317,140,00002,523,136
8May 17, 2021 19:105,3571,110,665,57215,125,0002,016,0002,265,088
9May 17, 2021 19:115,3582,783,630,29216,139,0001,008,0002,523,136
10May 17, 2021 19:105,3623,611,761,70816,148,0001,009,0002,265,088
11May 17, 2021 19:115,3642,927,418,16316,157,0001,009,0002,523,136
12May 17, 2021 19:115,3651,986,568,82115,262,0001,907,0002,269,184
13May 17, 2021 19:105,3672,497,747,08016,219,000954,0002,260,992
14May 17, 2021 19:105,3681,606,200,00117,176,00002,265,088
15May 17, 2021 19:115,376420,737,06516,247,000955,0002,265,088
16May 17, 2021 19:115,3821,362,421,33815,197,0002,026,0002,265,088
17May 17, 2021 19:105,3832,044,406,11815,312,0001,914,0002,523,136
18May 17, 2021 19:115,385157,995,23816,220,0001,013,0002,269,184
19May 17, 2021 19:115,5261,521,057,64717,683,72802,281,472
20May 17, 2021 19:105,5293,468,122,88717,693,11002,281,472
21May 17, 2021 19:115,5373,337,235,65217,718,07202,277,376
22May 17, 2021 19:105,5542,210,231,77117,773,20202,277,376
23May 17, 2021 19:105,5603,337,572,88017,791,27302,281,472
24May 17, 2021 19:115,5643,317,501,31517,805,41102,277,376