A+B Problem
众所周知,A+B Problem 是一道有多种解法的题目,下面介绍一种全新的解法。
原式可变形为
考虑数学中有哪些工具能计算面积,想到微积分,原式即常数函数
故输出
参考代码:
#include <bits/stdc++.h>
using namespace std;
int a, b;
int main(){
scanf("%d%d", &a, &b);
printf("%d", b - (-a));
return 0;
}
最后提一句,在这里,