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 23:15Yuriy LyfenkoYuriy LyfenkoScore: 5,417Success
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 23:155,3641,424,440,83515,258,0001,907,0002,269,184
2May 16, 2021 23:155,3762,977,209,97417,203,00002,527,232
3May 16, 2021 23:155,3852,598,464,17515,319,0001,914,0002,265,088
4May 16, 2021 23:155,3883,033,547,26414,200,0003,043,0002,265,088
5May 16, 2021 23:155,3884,408,896,23315,325,0001,915,0002,269,184
6May 16, 2021 23:155,3931,266,785,40015,228,0002,030,0002,269,184
7May 16, 2021 23:155,3943,472,266,15616,247,0001,015,0002,269,184
8May 16, 2021 23:155,3942,402,979,69817,261,00002,527,232
9May 16, 2021 23:155,3962,557,565,28617,266,00002,392,064
10May 16, 2021 23:155,3961,249,750,42516,251,0001,015,0002,265,088
11May 16, 2021 23:155,398498,501,76917,272,00002,527,232
12May 16, 2021 23:155,4002,797,072,02715,361,0001,920,0002,269,184
13May 16, 2021 23:155,4014,180,068,30516,266,0001,016,0002,527,232
14May 16, 2021 23:155,4054,564,439,46415,374,0001,921,0002,260,992
15May 16, 2021 23:155,4074,842,154,92615,268,0002,035,0002,265,088
16May 16, 2021 23:155,4103,721,845,28116,294,0001,018,0002,527,232
17May 16, 2021 23:155,4152,084,623,89315,403,0001,925,0002,265,088
18May 16, 2021 23:155,4164,305,288,99516,311,0001,019,0002,265,088
19May 16, 2021 23:155,417634,546,80116,372,000963,0002,265,088
20May 16, 2021 23:155,418522,937,92317,338,00002,400,256
21May 16, 2021 23:155,422130,968,94616,387,000963,0002,396,160
22May 16, 2021 23:155,4283,039,314,67615,327,0002,043,0002,527,232
23May 16, 2021 23:155,4293,472,466,87716,407,000965,0002,269,184
24May 16, 2021 23:155,4334,548,170,60116,364,0001,022,0002,265,088
25May 16, 2021 23:155,4534,567,859,37215,512,0001,939,0002,265,088
26May 16, 2021 23:155,4682,744,841,32415,555,0001,944,0002,527,232
27May 16, 2021 23:155,4773,876,259,49915,579,0001,947,0002,523,136
28May 16, 2021 23:155,5552,055,137,04017,777,42002,277,376
29May 16, 2021 23:155,5672,858,773,26017,813,70602,281,472
30May 16, 2021 23:155,5773,555,586,87717,845,58602,281,472
31May 16, 2021 23:155,5832,612,211,33617,864,57702,277,376
32May 16, 2021 23:155,5844,913,636,10817,867,93802,277,376
33May 16, 2021 23:155,5965,025,533,98617,906,56602,281,472
34May 16, 2021 23:155,5961,753,482,76917,906,51002,281,472
35May 16, 2021 23:155,5961,927,019,13817,908,00102,277,376
36May 16, 2021 23:155,6113,763,388,11717,954,23202,281,472