摘要:
1 #include 2 #define _for(i,a,b) for(int i = (a);i > s[i]; 15 } 16 rnt += s[0]; 17 _for(i,1,n) 18 { 19 int j = 0; 20 for(;j =rnt.size()-j) 3... 阅读全文
摘要:
1 #include 2 #define _for(i,a,b) for(int i = (a);i > s; 10 if(s.size()<6){ 11 cout << "Invalid";return 0; 12 } 13 int f1 = 0,f2 = 0; 14 _for(i,0,s.size(... 阅读全文
摘要:
1 #include 2 #define _for(i,a,b) for(int i = (a);i > n) 10 { 11 int c1 = 0,c2 = 0; 12 _for(i,0,n) 13 { 14 char a,b; 15 cin >> a >> b; 16 ... 阅读全文
摘要:
1 #include 2 #define _for(i,a,b) for(int i = (a);i > N >> a >> b) 10 { 11 _for(i,a,b+1) 12 { 13 string s; 14 int tmp = i; 15 while(tmp) 16 ... 阅读全文
摘要:
1 #include 2 using namespace std; 3 int main(void){ 4 int a,b; 5 while(~scanf("%d%d",&a,&b)) 6 { 7 cout << (a+b)%10 << endl; 8 } 9 return 0; 10 } 阅读全文
摘要:
1 #include 2 #define _for(i,a,b) for(int i = (a);i > s >> t; 16 if(t==3) 17 cout << s << endl; 18 } 19 } 20 return 0; 21 } 阅读全文
摘要:
1 #include 2 #define _for(i,a,b) for(int i = (a);i 5) 21 cnt ++; 22 cout << cnt << endl; 23 } 24 return 0; 25 } 阅读全文
摘要:
1 #include 2 #define _for(i,a,b) for(int i = (a);i > a >> b) 10 { 11 if(a>b) 12 cout << a-b << endl; 13 else 14 cout << "error" << endl; 15 } 16 ... 阅读全文
摘要:
1 #include 2 #define _for(i,a,b) for(int i = (a);i > s) 10 { 11 _for(i,0,s.size()) 12 if(!(i&0x1)) 13 cout << s[i]; 14 cout << endl; 15 } 16 ... 阅读全文