
训练赛
精神小伙mqpm
这个作者很懒,什么都没留下…
展开
-
10-09训练赛week3-C3
A - Donut Shops CodeForces - 1373A There are two rival donut shops. The first shop sells donuts at retail: each donut costs a dollars. The second shop sells donuts only in bulk: box of b donuts costs c dollars. So if you want to buy x donuts from this sho原创 2020-10-09 23:53:48 · 2706 阅读 · 1 评论 -
9-29练习赛C组-1
A - Common Subsequence 水题 直接上代码 #include <iostream> #include <vector> #include <string> #include <queue> #include <algorithm> #include <cmath> #include <ctime> #include <cstdio> #include <sstream> #inc原创 2020-09-29 21:11:16 · 185 阅读 · 0 评论 -
9-27训练赛B
这场一共过了3个大水题题 排名倒数 捞的一逼 主要问题 : 1 读题效率太低 十几分钟才能读懂一个题 对于题目意思理解模糊 水题过的也不够快 2. 一卡题就丧失积极性了,容错率太低 题意思路: 遍历一遍看看从2到N有没有比第一个大的 代码: #include<bits/stdc++.h> using namespace std; int a[10001]; int main(){ int N; cin >> N; for(int i = 0; i <原创 2020-09-27 00:21:17 · 174 阅读 · 0 评论 -
9-22训练赛
C - A Cookie for You CodeForces - 1371C 题意 : 用菱形组成图示图按 有几种方案 思路 : 恶心的一比 刚开始没看懂wa了好激发 实际输出n即可 代码: #include<iostream> #include<queue> #include<stack> #include<cstring> #include<stdlib.h> #include<cstdio> #include<iost原创 2020-09-26 00:49:25 · 210 阅读 · 0 评论 -
9-25训练赛
A - Magical Sticks CodeForces - 1371A A penguin Rocher has n sticks. He has exactly one stick with length i for all 1≤i≤n. He can connect some sticks. If he connects two sticks that have lengths a and b, he gets one stick with length a+b. Two sticks, that原创 2020-09-25 23:33:27 · 207 阅读 · 0 评论