【ICPC】The 2024 ICPC Kunming Invitational Contest E
RelearnthroughReview#数论#枚举#gcd题目描述Givenanintegersequencea1,a2,⋯ ,ana_1,a_2,\cdots,a_na1,a2,⋯,anoflengthnnnandanon-negativeintegerkkk,youcanperformthefollowingoperationatmostonce:Choosetwointegerslllan