题目地址:https://www.patest.cn/contests/gplt/L1-042
思路:简单
注意点:无
1 #include<stdio.h> 2 int main() 3 { 4 int y,m,d; 5 scanf("%d-%d-%d",&m,&d,&y); 6 printf("%d-%02d-%02d\n",y,m,d); 7 return 0; 8 }