Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
4302 李成蹊 [在线测评解答教程] A+B Problem C++ 通过 0 MS 248 KB 341 2023-01-11 20:52:12

Tests(11/11):


#include<bits/stdc++.h> using namespace std; int main() { int a,b; //请务必输入0~100之间的整数 cin>>a>>b; if((a<=100)&&(b<=100)&&(0<=a)&&(0<=b)){ cout<<a+b<<endl; } else{ cout<<"DATA ERROR"<<endl; cout<<"a,b must be integers between 0 and 100"<<endl; cout<<"please ty again"<<endl; } return 0; }


测评信息: