#3730: ...................


jackywu (練習生)


#include<iostream>
using namespace std;
int main()
{
    int a,b;
    double d,f,g,h;
while(cin>>b)
{
for(a=1;a<=b;a++)
{
cin>>d>>f>>g>>h
}
if(d==g&&f==0&&
cout<<"=";
else if(d>g&&f==0&&
cout<<">";
else if(d<g&&f==0&&
cout<<"<";
else
cout<<"No";
cout<<endl;}

 要將if運算式放在for迴圈之內!!