摘要:
水的炸天,不做解释自己看吧 #include<bits/stdc++.h> #define MAXN 2010 #define inf 0x3f3f3f3f #define int long long using namespace std; namespace SHuxinn{ struct no 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; int n, m; int dis[10010]; // 存储起点到各点的最短距离 int u[10010], v[10010], w[10010]; // 边的起点、终点、权重 int first[1001 阅读全文
摘要:
#include <iostream> using namespace std; int target[50001], initial[50001], people[50001][3], pluss[50001], minuss[50001]; int main() { int n; cin >> 阅读全文
摘要:
#include<bits/stdc++.h> #define int long long #define MAXN 5010 #define INF 1145141919810 using namespace std; int n , m; int a[MAXN]; struct node{ in 阅读全文
摘要:
应该栓是Trie模板吧 #include<bits/stdc++.h> using namespace std; const int N = 1e5 + 10; int son[N][26]; int cnt[N]; int idx; char str[N]; void insert(char *s 阅读全文