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 17, 2021 23:28Yuriy LyfenkoYuriy LyfenkoScore: 5,469Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 23:285,423596,953,97614,460,0002,892,0002,519,040
2May 17, 2021 23:285,4302,685,054,43215,447,0001,930,0002,523,136
3May 17, 2021 23:285,4352,573,100,37915,461,0001,932,0002,527,232
4May 17, 2021 23:275,4372,286,142,67116,375,0001,023,0002,527,232
5May 17, 2021 23:275,44283,718,07215,480,0001,935,0002,387,968
6May 17, 2021 23:275,4431,177,470,05015,484,0001,935,0002,260,992
7May 17, 2021 23:275,450604,013,81916,415,0001,025,0002,523,136
8May 17, 2021 23:285,453547,648,52516,423,0001,026,0002,523,136
9May 17, 2021 23:275,4561,380,532,26617,458,00002,523,136
10May 17, 2021 23:285,4571,104,933,68414,552,0002,910,0002,265,088
11May 17, 2021 23:275,4612,611,988,72814,392,0003,084,0002,260,992
12May 17, 2021 23:275,46573,000,77414,574,0002,914,0002,392,064
13May 17, 2021 23:285,469581,437,19816,472,0001,029,0002,265,088
14May 17, 2021 23:285,471608,622,92715,563,0001,945,0002,260,992
15May 17, 2021 23:275,4732,739,738,14415,567,0001,945,0002,523,136
16May 17, 2021 23:285,4742,716,952,64514,598,0002,919,0002,523,136
17May 17, 2021 23:275,475349,356,36016,491,0001,030,0002,506,752
18May 17, 2021 23:285,4752,811,987,28316,546,000973,0002,523,136
19May 17, 2021 23:275,601809,367,54517,924,55902,285,568
20May 17, 2021 23:275,610196,696,85117,952,57602,285,568
21May 17, 2021 23:285,614396,066,68017,965,90302,281,472
22May 17, 2021 23:285,6142,365,251,98317,964,02302,285,568
23May 17, 2021 23:285,6312,159,719,96918,018,24902,281,472
24May 17, 2021 23:275,6372,625,828,56018,038,66502,285,568