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 24, 2021 18:14Yuriy LyfenkoYuriy LyfenkoScore: 5,128Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:135,06135,840,88814,171,0002,024,0002,265,088
2May 24, 2021 18:145,06339,805,59215,188,0001,012,0002,265,088
3May 24, 2021 18:145,08543,195,65214,239,0002,034,0002,392,064
4May 24, 2021 18:145,09336,089,19616,298,00002,265,088
5May 24, 2021 18:145,09632,678,31015,288,0001,019,0002,523,136
6May 24, 2021 18:145,10742,671,32516,342,00002,265,088
7May 24, 2021 18:135,10937,636,60215,327,0001,021,0002,392,064
8May 24, 2021 18:145,11140,407,81116,354,00002,387,968
9May 24, 2021 18:145,11231,669,83215,336,0001,022,0002,400,256
10May 24, 2021 18:135,11435,282,89316,364,00002,265,088
11May 24, 2021 18:135,11639,514,19116,370,00002,527,232
12May 24, 2021 18:135,11938,734,49316,381,00002,265,088
13May 24, 2021 18:145,12134,922,60415,363,0001,024,0002,396,160
14May 24, 2021 18:145,12334,153,72416,394,00002,387,968
15May 24, 2021 18:145,12338,756,51315,368,0001,024,0002,265,088
16May 24, 2021 18:145,12440,892,37116,398,00002,265,088
17May 24, 2021 18:145,12637,693,70115,377,0001,025,0002,265,088
18May 24, 2021 18:145,12633,522,56116,404,00002,527,232
19May 24, 2021 18:135,12839,979,92515,386,0001,025,0002,260,992
20May 24, 2021 18:135,13033,706,78815,450,000965,0002,396,160
21May 24, 2021 18:145,13131,730,49315,393,0001,026,0002,400,256
22May 24, 2021 18:145,13333,351,50015,401,0001,026,0002,400,256
23May 24, 2021 18:145,14235,163,30115,426,0001,028,0002,396,160
24May 24, 2021 18:145,14330,849,25716,457,00002,269,184
25May 24, 2021 18:135,14843,056,56716,475,00002,265,088
26May 24, 2021 18:145,14933,732,23516,476,00002,510,848
27May 24, 2021 18:135,15041,126,29816,481,00002,506,752
28May 24, 2021 18:145,28953,211,44616,925,94802,281,472
29May 24, 2021 18:135,29160,930,53616,929,74502,269,184
30May 24, 2021 18:145,30166,776,24016,963,51302,265,088
31May 24, 2021 18:135,30981,605,43116,989,52002,281,472
32May 24, 2021 18:145,32466,280,30817,036,57502,273,280
33May 24, 2021 18:135,32950,977,73517,051,60702,244,608
34May 24, 2021 18:145,35198,849,97417,122,49302,269,184
35May 24, 2021 18:145,35497,273,26417,133,56602,281,472
36May 24, 2021 18:145,36748,396,49217,175,76402,277,376