所谓次短路,就是又次又短的路 (逃)
解析
使用两遍swap是更新sec的好方法 一定要判断是严格次短才更新sec的答案!
代码
#include<bits/stdc.h>
using namespace std;
#define ll long long
#define il inline
const int …
CodeCraft-21 and Codeforces Round #711 (Div. 2)
题号题目考点AGCD Sum签到,模拟BBox Fitting贪心CPlanar Reflections规律暴力(直接乱搞就对了)DBananas in a Microwave思维题,贪心ETwo Houses交互题(未补…