清華大學機試-今年的第幾天

經典問題。 值得一提的是,我本來使用的是count變量,但卻提示ambiguous,不知道爲什麼 最後使用了cnt計數。 #include<bits/stdc++.h> using namespace std; int dayOfMonth[13][2] = {0,0,31,31,28,29,31,31,30,30,31,31,30,30,31,31,31,31,30,30,31,31,30,30
相關文章
相關標籤/搜索