摘要:        
Codeforces Educational Round Educational Codeforces Round 160 (Rated for Div. 2)(A-D) https://www.cnblogs.com/ComistryMo/articles/17920495.html Educat    阅读全文
posted @ 2024-01-27 15:45
ComistryMo
阅读(17)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Codeforces Round 917 (Div. 2)(A-D) A Least Product 分析 简单分类讨论 这里写的可能稍微有些麻烦 代码 点击查看代码 void solve () { int n; cin >> n; vector<int> a(n + 1); for (int i     阅读全文
posted @ 2024-01-27 14:56
ComistryMo
阅读(11)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Educational Codeforces Round 161 (Rated for Div. 2)(A-E) A Tricky Template 分析 样例给的很强,读完做法就出来了。思考一下就是,如果有一个位置c[i]与a[i]和b[i]均不同,那么在此位置上就可以使用一个大写字母使得与c不匹    阅读全文
posted @ 2024-01-27 14:56
ComistryMo
阅读(15)
评论(0)
推荐(0)
        
            
        
        
摘要:        
牛客周赛 Round 29 A小红大战小紫 分析 简单比较大小即可 代码 点击查看代码 void solve () { int a, b; cin >> a >> b; if (a > b) cout << "kou" << endl; else if (a == b) cout << "draw"    阅读全文
posted @ 2024-01-27 14:55
ComistryMo
阅读(7)
评论(0)
推荐(0)
        
            
        
        
摘要:        
牛客练习赛 121 A 小念吹气球 分析 打标记统计一下数量即可 代码 点击查看代码 void solve () { int n; string s; cin >> n >> s; ll cn = 0; map<char, bool> mp; for (int i = 0; i < n; i ++)    阅读全文
posted @ 2024-01-27 10:31
ComistryMo
阅读(42)
评论(0)
推荐(0)
        

 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号