题目:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=280026
代码:
#include<stdio.h> #include<string.h> using namespace std; int main() { int t; scanf("%d",&t); while(t--) { __int64 a; scanf("%I64d",&a); if(a<20150001) printf("%I64d\n",a+2014); else printf("20152014\n"); } }