02 January 2015

UVA 11172 - Relational Operator


/***
Md. Namzul Hasan
Shahjalal University of Science & technology,sylhet.
hasan08sust@gmail.com
verdict:
***/
#include<iostream>
#include<cstdio>
#include<cstring>
#include<stack>
#include<queue>
#include<algorithm>
#include<vector>
#include<cmath>
#include<cctype>
#include<sstream>
using namespace std ;
typedef long long ll ;
typedef int in ;
typedef unsigned long long ull ;
const double pi = 2*acos(0) ;
#define maxi 40000
#define pf printf
#define sc scanf
#define pb push_back
int main()
{
    in test ;
    cin>>test ;
    while(test--)
    {
       ll a,b ;
        cin>>a>>b ;
        if(a>b)
            pf(">\n") ;
        else if(a<b)
            pf("<\n") ;
        else if(a==b)
            pf("=\n") ;
    }

    return 0 ;
}

No comments:

Post a Comment

UVA 10679 - I Love Strings!!