为什么做错了
2025-05-03 20:13:42
发布于:浙江
26阅读
0回复
0点赞
为什么们最对了,却做错了
全部评论 3
#include <bits/stdc++.h>
using namespace std;
int main(){
int x,y;
cin>>x>>y;
if(x>y){
cout<<">";
}
else if(y<x){
cout<<"<";
}
else{
cout<<"=";
}
return 0;
}
我这也不知为什么错了1周前 来自 四川
0做对了却做错了
2025-05-04 来自 上海
0AC代码
#include<iostream> using namespace std; int main() { int x, y; cin >> x >> y; if (x > y) { cout << '>'; } else if (x < y) { cout << '<'; } else { cout << '='; } return 0; }
2025-05-04 来自 浙江
0
有帮助,赞一个