题解 | #两数求和#
两数求和
https://www.nowcoder.com/practice/f1b704af4f654be285552bea53ce6534
#include <iostream>
using namespace std;
int main(){
int a,b;
cin>>a;
cin>>b;
if(a>=(-1000)&&a<=1000&&b>=(-1000)&&b<=1000) cout<<a+b;
else return 0;
return 0;
}
查看28道真题和解析
