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 27, 2021 18:26Yuriy LyfenkoYuriy LyfenkoScore: 5,096Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 18:255,03132,468,71314,086,0002,012,0002,392,064
2May 27, 2021 18:255,04731,130,74114,132,0002,018,0002,404,352
3May 27, 2021 18:265,04841,696,32515,145,0001,009,0002,265,088
4May 27, 2021 18:255,05236,757,00115,156,0001,010,0002,265,088
5May 27, 2021 18:255,05536,072,81714,154,0002,022,0002,265,088
6May 27, 2021 18:255,05745,712,80515,170,0001,011,0002,396,160
7May 27, 2021 18:265,05934,240,98914,165,0002,023,0002,383,872
8May 27, 2021 18:255,06341,080,87114,177,0002,025,0002,265,088
9May 27, 2021 18:265,08136,960,60015,244,0001,016,0002,392,064
10May 27, 2021 18:265,09137,910,21614,255,0002,036,0002,265,088
11May 27, 2021 18:255,09139,855,41016,292,00002,396,160
12May 27, 2021 18:265,09242,619,64615,275,0001,018,0002,396,160
13May 27, 2021 18:265,09643,623,85115,288,0001,019,0002,265,088
14May 27, 2021 18:265,09834,576,56014,273,0002,039,0002,265,088
15May 27, 2021 18:265,10243,552,03915,307,0001,020,0002,523,136
16May 27, 2021 18:255,10233,025,08315,305,0001,020,0002,265,088
17May 27, 2021 18:255,11037,617,99816,353,00002,265,088
18May 27, 2021 18:265,12341,107,89716,392,00002,265,088
19May 27, 2021 18:265,24771,457,95316,788,99802,273,280
20May 27, 2021 18:255,25844,057,71916,825,88802,281,472
21May 27, 2021 18:255,258107,412,03916,825,73202,285,568
22May 27, 2021 18:265,26352,095,64716,840,42702,273,280
23May 27, 2021 18:265,29264,900,11416,935,31402,269,184
24May 27, 2021 18:255,34575,584,22417,103,75302,277,376