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 23, 2021 14:32Yuriy LyfenkoYuriy LyfenkoScore: 5,102Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 14:395,05133,683,25714,144,0002,020,0002,265,088
2May 23, 2021 14:335,05340,608,95214,149,0002,021,0002,392,064
3May 23, 2021 14:325,05637,166,15315,167,0001,011,0002,383,872
4May 23, 2021 14:335,05634,759,82614,158,0002,022,0002,265,088
5May 23, 2021 14:395,05633,202,93514,158,0002,022,0002,392,064
6May 23, 2021 14:335,05840,937,65814,163,0002,023,0002,265,088
7May 23, 2021 14:395,06233,289,04814,174,0002,024,0002,396,160
8May 23, 2021 14:335,06436,629,38214,179,0002,025,0002,396,160
9May 23, 2021 14:395,07332,182,57715,221,0001,014,0002,265,088
10May 23, 2021 14:335,08244,566,94215,247,0001,016,0002,383,872
11May 23, 2021 14:325,08933,195,29914,249,0002,035,0002,527,232
12May 23, 2021 14:325,09238,426,10315,276,0001,018,0002,392,064
13May 23, 2021 14:325,09342,299,64514,260,0002,037,0002,265,088
14May 23, 2021 14:395,09342,825,26715,281,0001,018,0002,265,088
15May 23, 2021 14:325,09440,206,11816,301,00002,265,088
16May 23, 2021 14:395,09441,581,75015,283,0001,018,0002,265,088
17May 23, 2021 14:335,09944,192,16814,279,0002,039,0002,265,088
18May 23, 2021 14:335,10239,687,96215,306,0001,020,0002,265,088
19May 23, 2021 14:395,10243,121,77415,305,0001,020,0002,527,232
20May 23, 2021 14:325,11041,482,60314,309,0002,044,0002,387,968
21May 23, 2021 14:395,11544,635,43316,369,00002,392,064
22May 23, 2021 14:325,11640,259,22615,349,0001,023,0002,387,968
23May 23, 2021 14:325,11834,799,47116,376,00002,392,064
24May 23, 2021 14:325,12138,894,25515,363,0001,024,0002,265,088
25May 23, 2021 14:395,12434,301,72816,398,00002,265,088
26May 23, 2021 14:335,13635,493,83516,435,00002,506,752
27May 23, 2021 14:335,14447,256,64615,494,000968,0002,527,232
28May 23, 2021 14:395,25859,129,19116,827,13502,269,184
29May 23, 2021 14:395,33065,741,93317,056,33902,277,376
30May 23, 2021 14:335,34085,621,33417,089,07302,269,184
31May 23, 2021 14:335,34656,787,18517,106,99002,273,280
32May 23, 2021 14:325,34671,762,97917,107,94902,285,568
33May 23, 2021 14:395,34982,638,84217,117,06602,289,664
34May 23, 2021 14:335,35178,803,11817,124,02902,273,280
35May 23, 2021 14:325,39055,360,29217,247,78602,285,568
36May 23, 2021 14:325,39284,024,51917,253,27002,277,376