摘要:
原题 https://pintia.cn/problem-sets/994805260223102976/problems/994805288530460672 代码 测试点2考察第1行输入的空白字符串。题目保证第2行输入的文字串非空。,不保证第1行。 从别人哪里看的,太坑了。getline允许st 阅读全文
posted @ 2021-12-03 22:51
Infinite_V胜
阅读(32)
评论(0)
推荐(0)
摘要:
原题 https://pintia.cn/problem-sets/994805260223102976/problems/994805289432236032 代码 注意只有一位参赛者的情况, 1 1 2 又因为其所代表的学校的编号(从1开始连续编号),所以令max=result[1] #incl 阅读全文
posted @ 2021-12-03 19:35
Infinite_V胜
阅读(22)
评论(0)
推荐(0)
摘要:
原题 https://pintia.cn/problem-sets/994805260223102976/problems/994805290334011392 代码 #include <algorithm> #include <iostream> using namespace std; cons 阅读全文
posted @ 2021-12-03 12:40
Infinite_V胜
阅读(64)
评论(0)
推荐(0)

浙公网安备 33010602011771号