07 2022 档案

摘要:使用的测试代码: #include<bits/stdc++.h> using namespace std; struct node { int a,b; bool operator < (const node &e) const { return b > e.b; } }; int main() { 阅读全文
posted @ 2022-07-27 20:14 cbmango 阅读(163) 评论(0) 推荐(0)
摘要:A. 略 B.语法题 #include<iostream> #include<algorithm> #include<cstring> #include<map> #include<vector> #include<queue> #include<cmath> #include<set> #incl 阅读全文
posted @ 2022-07-13 22:11 cbmango 阅读(81) 评论(1) 推荐(2)
摘要:You are given a permutation a1,a2,…,ana1,a2,…,an of integers from 00 to n−1n−1. Your task is to find how many permutations b1,b2,…,bnb1,b2,…,bn are si 阅读全文
posted @ 2022-07-05 10:25 cbmango 阅读(138) 评论(0) 推荐(0)