Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
93150 | 王珠潏 | [在线测评解答教程] 求和 | C++ | Wrong Answer | 1 MS | 260 KB | 583 | 2024-10-11 19:57:14 |
#include<bits/stdc++.h> using namespace std; char a[81]; char b[81]; int main() { int a1=0,b1=0; cin>>a1>>b1; for(int i=0; i<81; i++) { if(a[i]!='\0') { a1++; } else { break; } } for(int i=0; i<81; i++) { if(b[i]!='\0') { b1++; } else { break; } } if(a1==b1) { cout<<"="; } else { if(a1>b1) { cout<<">"; } else if(a1<b1) { cout<<"<"; } } return 0; }
------Input------
23 59
------Answer-----
276 1770
------Your output-----