暑假集训系列题解(三)题目1题目链接I love exam题目描述Student Z doesn't love examsThe exam was about to be done soon, but student Z didn't even read...
暑假集训系列题解(二)题目1题目链接http://icpc.upc.edu.cn/problem.php?cid=2852&pid=5题目描述Given a sequence of integers of length n, find the short...
暑假集训题解系列(一)题目1Alice and Bobimage-20210721092035987题解打表暴力题目(比赛时高估了时间复杂度,QAQ)代码#include <bits/stdc++.h> using namespace std...
//求二叉排序树的平均查找长度 #include <bits/stdc++.h> using namespace std; int tree[100500]={0}; void insert(int k,int val) { if(t...
POJ 2449题目链接:http://poj.org/problem?id=2449Description"Good man never makes girls wait or breaks an appointment!" said the mand...