摘要:
https://codeforces.com/contest/1361 A. Johnny and Contribution 题面看不懂系列 给定一个无向图,要求给所有点标上号(topic number)并且规则是,对于选中的那个点,它的标号为没在邻居的标号中出现的最小正整数(忽略暂时没标号的邻居) 阅读全文
摘要:
https://codeforces.com/contest/1359 A. Berland Poker 大概就是把jokers尽可能多地给一个人,其他人平均分吧 #include <bits/stdc++.h> using namespace std; #define repeat(i,a,b) 阅读全文