![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CF
短发--短发
这个作者很懒,什么都没留下…
展开
-
Codeforces Round #577 (Div. 2)(部分题解)
A.Important Exam题意:n个学生m个题 , 每个学生都会给出m个答案 , 每个答案正确会得到num[i]的分 , 不正确不得分。现在并不知道正确答案是什么。假设学生的答案是正确的 , 班上所有学生总分最多能拿到多少?思路:二维矩阵的应用haha把每一道题答案相同最多的记录下来乘以该题正确答案的分数就行了。代码:#include <bits/s...原创 2019-08-14 17:02:20 · 243 阅读 · 0 评论 -
Codeforces Round #575 (Div. 3)(部分题解)
A.Three Piles of Candies俩人平分三堆糖果 , 输出平分后的数量代码:#include <bits/stdc++.h>#define ll long longusing namespace std;int main(){ ll a , b , c; int q; scanf("%d" , &q); wh...原创 2019-08-12 15:24:33 · 170 阅读 · 0 评论