#9617: ???


linhunghsiang (呆瓜)

學校 : 新北市立中和高級中學
編號 : 42763
來源 : [203.121.231.227]
最後登入時間 :
2021-03-17 22:35:58
d533. 複數比大小 -- by fuho | From: [203.121.231.213] | 發表日期 : 2015-01-28 17:13

#include <iostream>
#include <cstdlib>
#include <ctime>
#include <math.h>
#include <string>

using namespace std;

int main()
{
int a,b,c,d;
cin>>a;
while(cin>>a>>b>>c>>d)
{
if (b!=0||d!=0)
{
cout<<"No\n";
}
else if (a>c)
{
cout<<">\n";
}
else if (a<c)
{
cout<<"<\n";
}
else
{
cout<<"=\n";
}
}

return 0;
}
哪出錯了???
一直有著兩個WA???
 
 
ZeroJudge Forum