题解 | #牛牛的等差数列#

牛牛的等差数列

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]));
    }


}

全部评论

相关推荐

点赞 收藏 评论
分享
牛客网
牛客企业服务