303题解
首先按我们先看题,他说只需要求出A+B的和就可以了,并且好心的303吧A+B的公式给放在这里了(c = a + b;)。所以简单的A+B问题我们就不浪费时间了,上代码!!!
code:
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c;
cin >> a >> b;
c = a + b;
cout << c;
return 0;
}#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c;
cin >> a >> b;
c = a + b;
cout << c;
return 0;
}