C :
#include "stdio.h" #include "math.h" int main() { int mm, dd, yy; //printf("Enter a date (mm/dd/yy):\n"); scanf("%d/%d/%d", &mm, &dd, &yy); printf("You entered the date: %04d.%02d.%02d\n", yy, mm, dd); }
注册一个 NanXiao OpenAtom Club Online Judge 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 NanXiao OpenAtom Club Online Judge 通用账户