#include<stdio.h> int main() { int n,m; while(scanf("%d %d",&n,&m)!=EOF) if(n<m) printf("%d %d",m,n); else printf("%d %d",n,m); return 0; }
原文地址:https://www.cnblogs.com/chenlong991223/p/9744421.html
时间: 2024-10-09 12:37:15
#include<stdio.h> int main() { int n,m; while(scanf("%d %d",&n,&m)!=EOF) if(n<m) printf("%d %d",m,n); else printf("%d %d",n,m); return 0; }
原文地址:https://www.cnblogs.com/chenlong991223/p/9744421.html