Loading

摘要: You are given three integers a≤b≤ca≤b≤c . In one move, you can add +1+1 or −1−1 to any of these integers (i.e. increase or decrease any number by one) 阅读全文
posted @ 2020-02-27 23:55 脂环 阅读(147) 评论(0) 推荐(0) 编辑
摘要: You want to perform the combo on your opponent in one popular fighting game. The combo is the string ss consisting of nn lowercase Latin letters. To p 阅读全文
posted @ 2020-02-27 22:37 脂环 阅读(220) 评论(0) 推荐(0) 编辑
摘要: output standard output You are given an array aa of length nn . You are also given a set of distinct positions p1,p2,…,pmp1,p2,…,pm , where 1≤pi<n1≤pi 阅读全文
posted @ 2020-02-27 18:35 脂环 阅读(273) 评论(0) 推荐(0) 编辑
摘要: You are given two positive integers aa and bb . In one move, you can change aa in the following way: Choose any positive odd integer xx (x>0x>0 ) and 阅读全文
posted @ 2020-02-27 14:57 脂环 阅读(209) 评论(0) 推荐(0) 编辑