摘要:
"洛咕" 一句话题意:给定$n(n include include include include include include include define ll long long using namespace std; inline int read(){ int x=0,o=1;char 阅读全文
摘要:
"洛咕" 题意:给定$m$个有序对$(a,b)$,构造一个$n$的排列,满足$m$个有序对中$a$均排在$b$的前面,且1尽量靠前,在1尽量靠前的前提下,2尽量靠前,....以此类推.$n,m include include include include include include inclu 阅读全文
摘要:
"BZOJ" 题意:在一款电脑游戏中,你需要打败$n(n include include include include include include include define ll long long using namespace std; inline int read(){ int x 阅读全文
摘要:
"洛咕" 题意:两个人各有n匹马,给出每匹马的速度,n场比赛中,问第一个人最多能赢多少场.$n include include include include include include include define ll long long using namespace std; inlin 阅读全文
摘要:
"洛咕" 题意:在一条线段上有许多点.这些点可以用3n个整数来表示,每行的三个整数分别为$S_i,E_i,D_i$,表示有许多个点在$S, S + D, S + 2D, …, S + KD (K \in Z, S + KD ≤ E, S + (K + 1)D E)$位置。求在这一条线段上是否有一个点 阅读全文
摘要:
"洛咕" 题意:有一个长度为$n(n include include include include include include include define ll long long using namespace std; inline int read(){ int x=0,o=1;cha 阅读全文