問題 https://atcoder.jp/contests/abc038/tasks/abc038_d 解法 h, wを二つの大小を考えるのは面倒なので、とりあえずhについてソートする。すると、任意の i , j につ続きを読む “ABC038 D – プレゼント”
カテゴリーアーカイブ: AtCoder
AtCoder 水色わーい!
[目次] 初めに 水色になるまでにやったこと 個人的な考え 初めに 11/8(日)にABC182で入水することができました!ABC181でレート変動が1197→1199だったため、とても緊張した状態でしたがなんとか実力が続きを読む “AtCoder 水色わーい!”
ABC181
https://atcoder.jp/contests/abc181 Problem A Takahashi wears white and black alternately, so the parity is the続きを読む “ABC181”
ARC107 – B Quadruple
問題 https://atcoder.jp/contests/arc107/tasks/arc107_b 解き方 与えられた式は a + b – c – d = K a + b – (続きを読む “ARC107 – B Quadruple”
AGC036 – A Triangle
問題 https://atcoder.jp/contests/agc036/tasks/agc036_a 解き方 1点は原点に固定するという発想はさほど難しくないので、( x1, y1 ) = ( 0 , 0 ) とする続きを読む “AGC036 – A Triangle”
ABC126 – XOR Matching
problem https://atcoder.jp/contests/abc126/tasks/abc126_f how to solve Since there exists the fact that A xor 続きを読む “ABC126 – XOR Matching”
ABC003 – D AtCoder社の冬
問題 https://atcoder.jp/contests/abc003/tasks/abc003_4 考え方 包除原理を使うのですが、どの解説を見てもどうしてこの考えに至ったのかが不明瞭で天下り的な感じだったので、こ続きを読む “ABC003 – D AtCoder社の冬”
ABC 078 – D ABS
問題 https://atcoder.jp/contests/abc078/tasks/arc085_b 解き方 まず、N = 1の時は自明なので省略する。 次に、N ≧ 2について考える。先行のありうる戦略の一つで最も続きを読む “ABC 078 – D ABS”
ABC 128 – E Roadwork
Problem https://atcoder.jp/contests/abc128/tasks/abc128_e how to solve I’ll write down what I thought wh続きを読む “ABC 128 – E Roadwork”
ABC 127 – E Cell Distance
Problem https://atcoder.jp/contests/abc127/tasks/abc127_e How to solve When you calculate | xi – xj | + 続きを読む “ABC 127 – E Cell Distance”