摘要:
传送门解题思路和GSS1相似,但需要巨恶心的分类讨论,对于x1#include#include#includeusing namespace std;const int MAXN = 10005;inline int rd(){ int x=0,f=1... 阅读全文
posted @ 2018-07-18 18:29
Monster_Qi
阅读(126)
评论(0)
推荐(0)
摘要:
Time Limit: 20 Sec Memory Limit: 128 MB Submit: 2027 Solved: 624 [Submit][Status][Discuss] Description 脸哥最近在玩一款神奇的游戏,这个游戏里有 n 件... 阅读全文
posted @ 2018-07-18 16:53
Monster_Qi
阅读(131)
评论(0)
推荐(0)
摘要:
题面解题思路如果a数组全部>0,那么都不去即可。从这个角度出发,每次选出a[i]为0的,让它们去更新a数组,相当于拓补排序。代码#include#include#include#includeusing namespace std;const int MAX... 阅读全文
posted @ 2018-07-18 15:10
Monster_Qi
阅读(114)
评论(0)
推荐(0)

浙公网安备 33010602011771号