http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2113
中譯
http://luckycat.kshs.kh.edu.tw/homework/q11172.htm
#include "stdio.h" int main() { int num,a,b; scanf(" %d",&num); while( num ) { scanf(" %d %d",&a,&b); if( a > b ) printf(">\n"); if( a < b ) printf("<\n"); if( a == b ) printf("=\n"); num--; } return 0; }
沒有留言:
張貼留言