标签:
#include<cstdio> #include<cstring> #include<iostream> #include<algorithm> using namespace std; int main() { int t,n,m; int i,j,k; //scanf("%d",&t); while(scanf("%d%d",&n,&m)!=EOF) { if(n>m) { if(n%(m+1)==0) { printf("none\n"); } else printf("%d\n",n%(m+1)); } else { for(i=n;i<=m;i++) { printf("%d",i); if(i==m) printf("\n"); else printf(" "); } } } return 0; }
标签:
原文地址:http://www.cnblogs.com/sola1994/p/4741095.html