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 19:05Yuriy LyfenkoYuriy LyfenkoScore: 5,447Success
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 19:045,406208,678,54816,282,0001,017,0002,519,040
2May 16, 2021 19:045,4152,860,880,18816,367,000962,0002,523,136
3May 16, 2021 19:045,4151,737,806,29715,403,0001,925,0002,523,136
4May 16, 2021 19:045,4191,015,094,76016,378,000963,0002,265,088
5May 16, 2021 19:055,4252,852,448,95015,319,0002,042,0002,523,136
6May 16, 2021 19:055,427778,820,64015,438,0001,929,0002,383,872
7May 16, 2021 19:045,4283,067,637,09315,441,0001,930,0002,260,992
8May 16, 2021 19:045,4284,478,317,55116,406,000965,0002,260,992
9May 16, 2021 19:055,4302,501,277,70413,514,0003,861,0002,519,040
10May 16, 2021 19:045,4362,645,760,23517,396,00002,527,232
11May 16, 2021 19:055,439837,028,16715,357,0002,047,0002,523,136
12May 16, 2021 19:045,4471,439,041,96015,495,0001,936,0002,260,992
13May 16, 2021 19:055,4474,566,710,81315,495,0001,936,0002,260,992
14May 16, 2021 19:055,4485,004,256,63816,464,000968,0002,519,040
15May 16, 2021 19:055,4531,262,416,89114,540,0002,908,0002,265,088
16May 16, 2021 19:045,4594,992,988,34415,528,0001,941,0002,523,136
17May 16, 2021 19:055,4662,093,024,66216,520,000971,0002,260,992
18May 16, 2021 19:055,4883,129,532,59415,612,0001,951,0002,523,136
19May 16, 2021 19:045,6174,728,741,68417,974,46402,285,568
20May 16, 2021 19:055,6383,178,244,88718,042,17002,281,472
21May 16, 2021 19:045,6533,915,155,65418,090,75202,281,472
22May 16, 2021 19:055,6594,292,022,52818,109,02102,277,376
23May 16, 2021 19:045,6664,732,174,39518,132,75202,285,568
24May 16, 2021 19:055,685263,437,24918,193,43602,281,472