题解 | #两数求和#

两数求和

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

全部评论

相关推荐

点赞 评论 收藏
分享
评论
1
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务