最短路
文章平均质量分 51
Prime me
Nobody can defeat me unless I don't want to win.
展开
-
D. Jogging
Pheobe has heard that exercise has a tremendous affect on both physical and mental health. She never went jogging before, and she wants to try it out. However, she knows that she gets bored quickly and it is difficult for her to repeatedly do the same thi.原创 2021-08-24 08:43:48 · 283 阅读 · 0 评论 -
Coloring Contention
#include <bits/stdc++.h> #include<string.h> #include<iostream> #include<algorithm> #include<stdio.h> #define N 10000000 #define M 10000000 using namespace std; int js=0; int h[N], e[M], w[M], ne[M], idx; int dist[N], st[N];//表原创 2021-07-26 14:44:27 · 70 阅读 · 0 评论