2025年9月3日

摘要: 例如: struct node{ int val; string key; bool operator<(const node& other) const { if (val != other.val) { return val > other.val; // 距离小的优先 } else { ret 阅读全文
posted @ 2025-09-03 17:23 boluke龙 阅读(9) 评论(0) 推荐(0)
 
摘要: https://niumacode.com/training/173/problem/P1800 #include <iostream> #include <vector> using namespace std; int main() { int n; cin>>n; vector<int> te 阅读全文
posted @ 2025-09-03 16:21 boluke龙 阅读(8) 评论(0) 推荐(0)