2019-01-01から1年間の記事一覧

ABC125C - GCD on Blackboard

C - GCD on Blackboard Problem summary There is numbers . You can change a number between and or do nothing. Calculate maximum GCD of N numbers after rewriting. Constraints ・Time limit: 2 sec ・Memory limit: 1024 MB ・Each input is an inte…

ABC141C Attack Survival

C - Attack Survival Problem summary You have an integer vector v whose length is N and whose initial element is K. Now we have Q queries for updating v. In query q_i (), you give an integer A_i and should decrement all other elements witho…

AtCoderで水色になるまでにやったこと

① 青くなる ② 次の日のABCでパフォ1417を出す