摘要:
1、ABC123_c 关键词:思维 点击查看代码 #include<bits/stdc++.h> using namespace std; #define int long long #define ft first #define sd second #define P pair<int,int> 阅读全文
1、ABC123_c 关键词:思维 点击查看代码 #include<bits/stdc++.h> using namespace std; #define int long long #define ft first #define sd second #define P pair<int,int> 阅读全文
posted @ 2023-02-09 18:07
gaogesing夏花夕
阅读(39)
评论(0)
推荐(1)

1.ABC123b 题意:一个国家,有多个城市,一个城市有多个参观点。输入给出参观点的城市、名称以及好评度,请输出对应参观点的排名(从1开始)。排名规则:按字典序参观城市,按好评度顺序参观参观点。 解法:字符串套字符串,一层一层剥开排序 点击查看代码 #include<bits/stdc++.h>
浙公网安备 33010602011771号