2016-09-18から1日間の記事一覧

Codeforces Round #372 (Div. 2)

2回目のCodeforces。 A問題 http://codeforces.com/contest/716/problem/A 入力の間隔がcを超えたらリセット、そうでなければインクリメントという感じで数えていく #include <bits/stdc++.h> using namespace std; #define rep(i, n) for(int i=0; i<(int)(n); ++i) int ma</bits/stdc++.h>…