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
相关文章
相关标签/搜索