摘要: A - A CodeForces - 478A 注意点: 和为0时要特判一下。 代码: #include<bits/stdc++.h> using namespace std; int main() { int a,b,c,d,e; cin>>a>>b>>c>>d>>e; int sum=0; su 阅读全文
posted @ 2021-10-17 20:02 西瓜0 阅读(67) 评论(0) 推荐(0) 编辑
摘要: I Jigsaw 题目内容: 链接:https://ac.nowcoder.com/acm/contest/18454/I 来源:牛客网 You have found an old jigsaw puzzle in the attic of your house, left behind by th 阅读全文
posted @ 2021-07-29 22:49 西瓜0 阅读(58) 评论(0) 推荐(0) 编辑
摘要: F Musical Chairs 题目内容: 链接:https://ac.nowcoder.com/acm/contest/18453/F 来源:牛客网 Professor O’Dagio of the music department at Faber College has come up wi 阅读全文
posted @ 2021-07-23 16:12 西瓜0 阅读(63) 评论(0) 推荐(0) 编辑
摘要: C Unique Values 题目内容: 链接:https://ac.nowcoder.com/acm/contest/18428/C 来源:牛客网 Arup has to make many practice questions for his Computer Science 1 studen 阅读全文
posted @ 2021-07-21 17:49 西瓜0 阅读(35) 评论(0) 推荐(0) 编辑
摘要: B - B 内容: One day, as Sherlock Holmes was tracking down one very important criminal, he found a wonderful painting on the wall. This wall could be rep 阅读全文
posted @ 2021-06-14 18:27 西瓜0 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 内容: Ancient Roman empire had a strong government system with various departments, including a secret service department. Important documents were sent 阅读全文
posted @ 2021-06-04 21:34 西瓜0 阅读(48) 评论(0) 推荐(0) 编辑
摘要: A - Marks CodeForces - 152A 题意:给出一个学生人数n,每个学生的m个学科成绩(成绩从1到9)没有空格排列给出。在每科中都有成绩最好的人或者并列,求出最好成绩的人数 思路:求每列成绩中最大的数的个数。求出每列成绩中的最大值,遍历每列的各行若值与最大值一样就用另一个数组标记出 阅读全文
posted @ 2021-05-25 20:16 西瓜0 阅读(87) 评论(0) 推荐(0) 编辑
摘要: C - Win or Freeze CodeForces - 151C 题目内容: You can't possibly imagine how cold our friends are this winter in Nvodsk! Two of them play the following ga 阅读全文
posted @ 2021-05-20 23:17 西瓜0 阅读(62) 评论(0) 推荐(0) 编辑
摘要: B. g2g c u l8r 题意:给定缩写词以及空格后的完整词段,然后给出要拓写的段落,输出相应的扩展文本(段落),以便O博士可以轻松阅读。 #include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; strin 阅读全文
posted @ 2021-03-25 22:53 西瓜0 阅读(90) 评论(0) 推荐(0) 编辑
摘要: B. https://ac.nowcoder.com/acm/contest/13168/B 题目内容: 链接:https://ac.nowcoder.com/acm/contest/13168/B 来源:牛客网 Quido and Hugo are making a chocolate cake. 阅读全文
posted @ 2021-03-25 22:10 西瓜0 阅读(72) 评论(0) 推荐(0) 编辑