摘要:
前四题都好水。后面两道题好难。 C Divide the Problems #include <cstdio> #include <algorithm> using namespace std; inline int read() { int x = 0, f = 1; char ch = getc 阅读全文
摘要:
Problem Description It's time for music! A lot of popular musicians are invited to join us in the music festival. Each of them will play one of their 阅读全文
摘要:
题目描述 Farmer John has installed a new system of N−1N-1N−1 pipes to transport milk between the NNN stalls in his barn (2≤N≤50,0002 \leq N \leq 50,0002≤N 阅读全文
摘要:
传送门 写了四个题就跑去打球了。第五题应该能肝出来的。 A - Airplane #include <bits/stdc++.h> using namespace std; inline int read() { int x = 0, f = 1; char ch = getchar(); whil 阅读全文
摘要:
传送门 非常遗憾。当天晚上错过这一场。不过感觉也会掉分的吧。后面两题偏结论题,打了的话应该想不出来。 A - Ferris Wheel #include <bits/stdc++.h> using namespace std; inline int read() { int x = 0, f = 1 阅读全文
摘要:
传送门 题意:求无向图割集中平均边权最小的集合。 论文《最小割模型在信息学竞赛中的应用》原题。 分数规划。每一条边取上的代价为1。 #include <bits/stdc++.h> using namespace std; inline int read() { int x = 0, f = 1; 阅读全文