题解 | #牛牛的等差数列#
牛牛的等差数列
https://www.nowcoder.com/practice/fb9daba67b88437a9e501adf020d425e
using System; public class Program { public static void Main() { string[] s = Console.ReadLine().Split(" "); Console.WriteLine("{0:0}",Convert.ToDouble(s[1])-Convert.ToDouble(s[0])+Convert.ToDouble(s[1])); } }