05 2025 档案
摘要:蓝桥杯国赛 from math import sqrt inf = float('inf') n, mx = map(int,input().split()) dot=[] for i in range(n): x,y=map(int,input().split()) dot.append((x,y
阅读全文
摘要:#include<bits/stdc++.h> using namespace std; int main() { int a[6]={1,2,2,3,4,5}; //方法一 vector<int>b(a,a+6);//使用unique需保证已经排好序 b.erase(unique(b.begin(
阅读全文
摘要:两种自定义优先级方式 struct node { int ind;double l; bool operator<(const node& other) const { return l < other.l; } }; priority_queue<node>pq; struct cmp { boo
阅读全文

浙公网安备 33010602011771号