#include <iostream> using namespace std; int main() { int a,b,c; scanf("%4d%2d%2d",&a,&b,&c); printf("year=%4d\nmonth=%02d\ndate=%02d",a,b,c); return 0; } // 64 位输出请用 printf("%lld")