Codeforces1131B. Preparation for International Women's Day(同餘)

https://codeforces.com/contest/1133/problem/B n=7 k=3 1 2 2 3 2 4 5 注意數據2,3 判斷k爲偶數中間值if else 無需開數組 只需sum[t%k]即可 #include<iostream> #include<fstream> #include<cstdio> #include<algorithm> #include<strin
相關文章
相關標籤/搜索