题解 | #牛牛的等差数列#
牛牛的等差数列
https://www.nowcoder.com/practice/fb9daba67b88437a9e501adf020d425e
#include <stdio.h> int main() { int a, b,c; while (scanf("%d %d", &a, &b) != EOF) { c=b+(b-a); printf("%d\n", c); } return 0; }
牛牛的等差数列
https://www.nowcoder.com/practice/fb9daba67b88437a9e501adf020d425e
#include <stdio.h> int main() { int a, b,c; while (scanf("%d %d", &a, &b) != EOF) { c=b+(b-a); printf("%d\n", c); } return 0; }
相关推荐