#24528: 為甚麼這樣不會過


es811066 (ZIhan)

學校 : 國立臺灣海洋大學
編號 : 108578
來源 : [210.71.40.108]
最後登入時間 :
2023-12-05 16:29:56
d533. 複數比大小 -- by fuho | From: [61.220.150.251] | 發表日期 : 2021-03-02 12:51

#include <bits/stdc++.h>

using namespace std;

int main()

{

ios::sync_with_stdio(0);

cin.tie(0);

long long int a;

while(cin>>a){

long double b,c,d,e;

cin>>b>>c>>d>>e;

if(c==e&&c==0){

if(b>d){

cout<<'>'<<'\n';

}

else if(b==d){

cout<<'='<<'\n';

}

else {

cout<<'<'<<'\n';

}

}

else cout<<"No"<<'\n';

}

}

 

 
ZeroJudge Forum