摘要: 7.1 ① 2019 USP-ICMC 链接:https://codeforces.com/gym/102302 ② Codeforces Round #654 (Div. 2) 链接: https://codeforces.com/contest/1371 题解: https://www.cnbl 阅读全文
posted @ 2020-07-02 23:26 overrate_wsj 阅读(240) 评论(0) 推荐(0) 编辑
摘要: A. Vowel Count(模拟) 思路: 按照题意统计元音字母个数模拟即可 #include<iostream> #include<algorithm> using namespace std; int main() { int t; cin>>t; while(t--){ string s; 阅读全文
posted @ 2020-07-02 22:48 overrate_wsj 阅读(277) 评论(0) 推荐(0) 编辑
摘要: A. Magical Sticks 思路: 尽可能的凑成长度为$n$的木棍,答案为$(n+1)/2$ #include<iostream> #include<algorithm> using namespace std; int main() { int t; cin>>t; while(t--){ 阅读全文
posted @ 2020-07-02 13:29 overrate_wsj 阅读(426) 评论(0) 推荐(0) 编辑