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 16, 2021 18:24Yuriy LyfenkoYuriy LyfenkoScore: 5,467Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 18:245,41684,123,41513,479,0003,851,0002,392,064
2May 16, 2021 18:245,42557,421,70414,296,0003,063,0002,265,088
3May 16, 2021 18:245,4254,871,205,90415,319,0002,042,0002,260,992
4May 16, 2021 18:245,4261,028,694,15317,362,00002,523,136
5May 16, 2021 18:245,4433,964,173,09816,394,0001,024,0002,523,136
6May 16, 2021 18:245,44591,626,32315,488,0001,936,0002,265,088
7May 16, 2021 18:245,445819,643,04315,489,0001,936,0002,269,184
8May 16, 2021 18:245,4522,815,504,04416,421,0001,026,0002,527,232
9May 16, 2021 18:245,4562,134,269,24716,489,000969,0002,523,136
10May 16, 2021 18:245,45654,987,37115,520,0001,940,0002,396,160
11May 16, 2021 18:245,4593,968,529,30715,528,0001,941,0002,523,136
12May 16, 2021 18:245,4641,929,333,49117,484,00002,260,992
13May 16, 2021 18:245,4672,840,624,76316,465,0001,029,0002,519,040
14May 16, 2021 18:245,4741,729,948,51216,545,000973,0002,265,088
15May 16, 2021 18:245,4973,525,860,20116,614,000977,0002,527,232
16May 16, 2021 18:245,548445,038,84516,766,000986,0002,523,136
17May 16, 2021 18:245,5571,269,411,37214,819,0002,963,0002,523,136
18May 16, 2021 18:245,5693,993,860,13715,841,0001,980,0002,519,040
19May 16, 2021 18:245,634269,396,79018,027,83202,281,472
20May 16, 2021 18:245,6394,960,283,51618,043,35102,285,568
21May 16, 2021 18:245,6422,000,642,63318,054,82902,281,472
22May 16, 2021 18:245,6484,930,896,89018,073,54302,273,280
23May 16, 2021 18:245,6531,193,983,49218,088,96302,277,376
24May 16, 2021 18:245,654967,441,76018,093,16402,285,568