标签:pre bsp eof int 起点 code while style \n
#include<stdio.h> int main() { int n1,m1,d1,n2,m2,d2,s; while(scanf("%d-%d-%d %d-%d-%d",&n1,&m1,&d1,&n2,&m2,&d2)!=EOF) s=d2-d1-1; printf("%d\n",s); return 0; }
标签:pre bsp eof int 起点 code while style \n
原文地址:https://www.cnblogs.com/Estwind/p/9710835.html