provlem link:http://uva.onlinejudge.org/index.php?option=onlinejudge&page=show_problem&problem=2113
solution code:
#include<iostream>
#include<stdio.h>
using namespace std;
int main()
{
int test;
long long a,b;
while(scanf("%d",&test)==1)
{
while(test-- && scanf("%lld%lld",&a,&b)==2)
{
if(a>b) printf(">\n");
else if(a<b)printf("<\n");
else printf("=\n");
}
}
return 0;
}
solution code:
#include<iostream>
#include<stdio.h>
using namespace std;
int main()
{
int test;
long long a,b;
while(scanf("%d",&test)==1)
{
while(test-- && scanf("%lld%lld",&a,&b)==2)
{
if(a>b) printf(">\n");
else if(a<b)printf("<\n");
else printf("=\n");
}
}
return 0;
}
0 comments:
একটি মন্তব্য পোস্ট করুন