2020-04-12から1日間の記事一覧
GCJ 2問 JOI 1問Google Code Jam 2020 Round 1A A - Pattern Matching問題prefixとsuffixさえ合ってたら適当に繋げて答えが得られる。サンプルが豊富で助かる、Google社最高提出 #include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int</bits/stdc++.h>…
JOI 1問 GCJ 2問 Codeforces 4問 rating : 1940 → 1936 (-4)JOI2007春合宿 Day3 Route: 象使い問題しんどかった。(直前にいた頂点, 今いる頂点)を頂点とするグラフをつくって、Dijkstra。提出Google Code Jam 2019 Round 1A A - Pylons問題のときだけ上手く…