摘要:
It is a holiday season, and Koala is decorating his house with cool lights! He owns n lights, all of which flash periodically. After taking a quick gl 阅读全文
摘要:
You are given a sequence of integers a1,a2,…,an. You need to paint elements in colors, so that: If we consider any color, all elements of this color m 阅读全文
摘要:
You are fighting with Zmei Gorynich — a ferocious monster from Slavic myths, a huge dragon-like reptile with multiple heads! Initially Zmei Gorynich h 阅读全文
摘要:
You play your favourite game yet another time. You chose the character you didn't play before. It has str points of strength and int points of intelli 阅读全文
摘要:
最短路 #include <bits/stdc++.h> using namespace std; const int maxn=1e5+5; const int maxm=2e6+5; const int inf=0x7fffffff; int h[maxn],vis[maxn],dis[maxn 阅读全文