摘要:
int cnt,s,t,n,m; int head[maxn],Next[maxn*20],to[maxn*20]; int flow[maxn*20],dep[maxn],cur[maxn],mp[405][405]; int dir[8][2]={1,2,1,-2,-1,2,-1,-2,-2,- 阅读全文
摘要:
题目难度按照难易程度: G签到题 暴力枚举哪个是机器人 然后暴力判断它之前有多少个机器人 然后得出答案更新最小值 #include<bits/stdc++.h> #define ll long long using namespace std; int a[105][105]; int vis[10 阅读全文
摘要:
A. Pride time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A. Pride time limit per test 2 阅读全文
摘要:
B. Jzzhu and Cities http://codeforces.com/contest/449/problem/B 题意:给出n个点m条公路k条铁路。 接下来m行 u v w u->v 距离w 然后k行 v w 1->v 距离w 如果修建了铁路并不影响两点的最短距离,那么修铁路是没必要的 阅读全文