三天打魚兩天曬網

中國有句俗語叫「三天打魚兩天曬網」。某人從2010年1月1日起開始「三天打魚兩天曬網」,問這個人在以後的某一天中是「打魚」還是「曬網」。用C或C++語言/java/python實現程序解決問題。 #include<stdio.h> typedef struct time {  int year;  int month;  int day; } date;   void judgefish(date
相關文章
相關標籤/搜索