草体にぼ日記

だらだらと

2019-11-29から1日間の記事一覧

ABC128C- Switches

ABC128C - Switches 解けた!!うれしい!! 問題 提出AC #include <bits/stdc++.h> using namespace std; using ll =long long; #define SORT(a) sort((a).begin(),(a).end()) #define rSORT(a) reverse((a).begin(),(a).end()) #define For(i, a, b) for(int i = (a) ; i < </bits/stdc++.h>…

AGC032A Limited Insertion

AGC032A Limited Insertion くそむず 問題 提出 #include <bits/stdc++.h> using namespace std; #define rep(i, n) For(i, 0, n) const ll INF = 1LL << 60; ll n , a, b; string S; //Write From this Line int main() { cout << setprecision(10); cin >> n ; vector<int> b(n</int></bits/stdc++.h>…