标签:esc puts ++ log family ane john div put
1 #include <bits/stdc++.h> 2 using namespace std; 3 int main(){ 4 int n,m; 5 while(cin>>n>>m){ 6 if(n<m){ 7 printf("%d",n); 8 for(int i=n+1;i<=m;i++) 9 printf(" %d",i); puts(""); 10 } 11 else { 12 int mod=n%(m+1); 13 if(mod==0) puts("none"); 14 else cout<<mod<<endl; 15 } 16 } 17 }
标签:esc puts ++ log family ane john div put
原文地址:http://www.cnblogs.com/z-712/p/7307191.html