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 11, 2021 19:06Yuriy LyfenkoYuriy LyfenkoScore: 5,604Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 19:035,58148,546,07914,883,0002,976,0002,519,040
2May 11, 2021 19:035,58332,527,06715,880,0001,985,0002,519,040
3May 11, 2021 19:035,58342,994,29716,873,000992,0002,519,040
4May 11, 2021 19:035,58438,243,80616,876,000992,0002,396,160
5May 11, 2021 19:065,58444,930,75815,883,0001,985,0002,519,040
6May 11, 2021 19:065,58445,286,20715,884,0001,985,0002,519,040
7May 11, 2021 19:065,58545,692,18713,901,0003,971,0002,519,040
8May 11, 2021 19:065,58543,904,25917,873,00002,519,040
9May 11, 2021 19:035,58543,810,06117,873,00002,519,040
10May 11, 2021 19:035,58843,427,06517,881,00002,519,040
11May 11, 2021 19:035,58847,232,07816,888,000993,0002,519,040
12May 11, 2021 19:035,58843,590,97315,896,0001,987,0002,396,160
13May 11, 2021 19:035,58836,317,64514,902,0002,980,0002,519,040
14May 11, 2021 19:035,59144,254,60315,903,0001,987,0002,523,136
15May 11, 2021 19:035,59434,734,04615,913,0001,989,0002,519,040
16May 11, 2021 19:035,59441,010,41913,923,0003,978,0002,383,872
17May 11, 2021 19:035,60144,799,21316,927,000995,0002,392,064
18May 11, 2021 19:065,60232,380,92914,939,0002,987,0002,392,064
19May 11, 2021 19:035,60449,036,87016,937,000996,0002,387,968
20May 11, 2021 19:065,60635,360,59416,943,000996,0002,519,040
21May 11, 2021 19:035,60735,667,63415,949,0001,993,0002,383,872
22May 11, 2021 19:035,60741,915,48616,946,000996,0002,392,064
23May 11, 2021 19:065,61243,581,43216,962,000997,0002,383,872
24May 11, 2021 19:035,61351,526,73015,966,0001,995,0002,519,040
25May 11, 2021 19:035,62337,542,88314,994,0002,998,0002,519,040
26May 11, 2021 19:065,62742,538,72616,006,0002,000,0002,519,040
27May 11, 2021 19:065,75581,163,93718,416,66702,285,568
28May 11, 2021 19:065,78798,673,29018,519,81302,277,376
29May 11, 2021 19:035,79271,157,32318,533,28202,281,472
30May 11, 2021 19:065,81389,451,51618,602,51802,285,568
31May 11, 2021 19:035,81478,546,78818,605,67402,269,184
32May 11, 2021 19:035,81473,602,13118,603,28902,277,376
33May 11, 2021 19:035,83688,465,32418,676,12802,289,664
34May 11, 2021 19:065,84136,437,62016,725,0001,967,0002,519,040
35May 11, 2021 19:035,84797,676,23218,710,55802,277,376
36May 11, 2021 19:035,85289,063,61918,724,94102,273,280