摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=1032可能存在i>j的情况,此情况下i,j要按原顺序输出View Code #include <stdio.h>#include <string.h>#include <stdlib.h>#include <math.h>int main(){ int a,b,n,cnt,max,t,f; while(~scanf("%d%d",&a,&b)) { max=f=1; if(a>b) { t=a; a=b; ... 阅读全文