网站首页
编程语言
数据库
系统相关
其他分享
编程问答
abc354E
2024-05-20
AtCoder abc354E
原题链接ProblemStatementTakahashiandAokiareplayingagameusing\(N\)cards.Thefrontsideofthe\(i\)-thcardhas\(A_i\)writtenonit,andthebacksidehas\(B_i\)writtenonit.Initially,the\(N\)cardsarelaidoutonthetable.Wit