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 28, 2021 16:21Yuriy LyfenkoYuriy LyfenkoScore: 5,223Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 16:215,14239,049,83815,427,0001,028,0002,265,088
2May 28, 2021 16:215,14438,867,16215,432,0001,028,0002,400,256
3May 28, 2021 15:345,15137,786,07315,452,0001,030,0002,265,088
4May 28, 2021 15:345,15238,576,43916,486,00002,392,064
5May 28, 2021 16:215,15535,811,22116,496,00002,265,088
6May 28, 2021 15:345,15834,048,78916,505,00002,387,968
7May 28, 2021 15:345,16233,835,92315,487,0001,032,0002,396,160
8May 28, 2021 15:345,17636,263,94215,529,0001,035,0002,396,160
9May 28, 2021 16:215,17732,485,88916,566,00002,396,160
10May 28, 2021 16:215,17737,926,10316,566,00002,506,752
11May 28, 2021 16:215,17932,937,16016,572,00002,392,064
12May 28, 2021 15:345,19244,114,29516,615,00002,265,088
13May 28, 2021 15:345,19542,610,07716,625,00002,478,080
14May 28, 2021 16:215,19947,280,28916,636,00002,506,752
15May 28, 2021 15:345,20047,146,30815,600,0001,040,0002,387,968
16May 28, 2021 16:215,20146,184,19416,644,00002,506,752
17May 28, 2021 16:215,20344,405,71116,648,00002,510,848
18May 28, 2021 15:345,20542,254,17915,616,0001,041,0002,400,256
19May 28, 2021 16:215,22342,644,23515,668,0001,044,0002,265,088
20May 28, 2021 16:215,23140,680,71315,694,0001,046,0002,265,088
21May 28, 2021 16:215,23133,748,69116,740,00002,396,160
22May 28, 2021 16:215,27232,720,75914,885,0001,984,0002,265,088
23May 28, 2021 16:215,27241,309,42614,887,0001,984,0002,387,968
24May 28, 2021 16:215,27337,819,53915,883,000992,0002,265,088
25May 28, 2021 16:215,27436,983,29314,892,0001,985,0002,269,184
26May 28, 2021 16:215,27633,819,99214,898,0001,986,0002,265,088
27May 28, 2021 16:215,28035,154,35115,903,000993,0002,265,088
28May 28, 2021 15:345,35048,216,28317,120,57602,277,376
29May 28, 2021 16:215,35141,297,89817,123,34802,273,280
30May 28, 2021 15:345,35375,701,56817,128,76202,277,376
31May 28, 2021 16:215,39658,056,53217,266,02102,277,376
32May 28, 2021 16:215,40385,074,27317,289,44102,285,568
33May 28, 2021 15:345,42568,096,38817,358,46802,273,280
34May 28, 2021 16:215,43349,170,90017,386,98202,277,376
35May 28, 2021 16:215,47466,522,18417,517,39402,269,184
36May 28, 2021 16:215,47683,515,93917,522,82502,281,472