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:29Yuriy LyfenkoYuriy LyfenkoScore: 5,589Success
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:295,5451,741,103,52115,772,0001,971,0002,506,752
2May 16, 2021 18:295,5531,711,159,83215,797,0001,974,0002,265,088
3May 16, 2021 18:295,5531,846,947,50616,784,000987,0002,260,992
4May 16, 2021 18:295,5531,752,684,28916,782,000987,0002,519,040
5May 16, 2021 18:295,5532,230,876,01415,796,0001,974,0002,260,992
6May 16, 2021 18:295,5611,069,124,09216,808,000988,0002,523,136
7May 16, 2021 18:295,5672,599,639,21414,845,0002,969,0002,523,136
8May 16, 2021 18:295,5761,549,536,75116,852,000991,0002,392,064
9May 16, 2021 18:295,5782,234,544,06917,849,00002,519,040
10May 16, 2021 18:295,579148,264,60816,861,000991,0002,527,232
11May 16, 2021 18:295,582278,281,76616,871,000992,0002,523,136
12May 16, 2021 18:295,5882,664,631,80414,901,0002,980,0002,519,040
13May 16, 2021 18:295,5892,044,822,50816,891,000993,0002,260,992
14May 16, 2021 18:295,5893,013,082,02216,892,000993,0002,387,968
15May 16, 2021 18:295,593705,205,53415,910,0001,988,0002,260,992
16May 16, 2021 18:295,593553,979,86716,902,000994,0002,523,136
17May 16, 2021 18:295,5931,983,368,66016,903,000994,0002,371,584
18May 16, 2021 18:295,6051,059,284,28616,048,0001,888,0002,527,232
19May 16, 2021 18:295,8751,962,891,21918,801,48202,285,568
20May 16, 2021 18:295,8892,841,753,76518,843,32702,281,472
21May 16, 2021 18:295,9021,564,863,41418,887,56302,281,472
22May 16, 2021 18:295,916108,000,84518,929,71302,285,568
23May 16, 2021 18:295,926534,368,24718,962,22702,281,472
24May 16, 2021 18:295,9371,288,321,18918,997,49202,281,472