using System;
public class Program {
public static void Main() {
int[] soc = 字符串数组转换为整型数组(Console.ReadLine().Split(" "));
Console.WriteLine("{0:0.0}",soc[0]*0.2 + soc[1]*0.1 + soc[2]*0.2 + soc[3]*0.5);
}
static int[] 字符串数组转换为整型数组(string[] str)
{
int[] i = new int[str.Length];
int num = 0;
foreach(var s in str)
{
i[num] = int.Parse(s);
num++;
}
return i;
}
}

京公网安备 11010502036488号