标签:
3 4 5
2 5 0 0 3 4
#pragma comprint(linker, "/STACK:1024000000,1024000000") #include<cstdio> #include<string> #include<iostream> #include<cstring> #include<cmath> #include<stack> #include<queue> #include<vector> #include<map> #include<stdlib.h> #include<time.h> #include<algorithm> #define LL long long #define FIN freopen("in.txt","r",stdin) using namespace std; int main() { LL x; while(scanf("%lld",&x)!=EOF) { if(x&1) printf("2 %lld\n",x+2); else printf("0 0\n"); } return 0; }
ACDream 1408 "Money, Money, Money" (规律)
标签:
原文地址:http://www.cnblogs.com/clliff/p/4761905.html