首页 > TAG信息列表 > Limak

【CF698D】Limak and Shooting Points(DFS)

点此看题面 平面上有\(k\)个人和\(n\)个怪物,规定一个人一次只能向某个方向射死第一个怪物。 求有多少怪物可能被射死。 \(k\le 7,n\le10^3\) 暴力全排列+顺序指定 对于一个怪物,我们直接枚举人的全排列。 我们假设由第一个人射死了这个怪物,那么之后的人就要为他扫清障碍,方便起见

Good Bye 2016

  传送门   C.New Year and Rating(思维) •题意   定义 rating 分两类:     ①$Div\ 1\ :\ rating \ge 1900$     ②$Div\ 2\ :\ rating < 1900$   Limak 共参加了 n 场比赛,每场比赛给出两个信息,第 i 场比赛:     (1)ci :第 i 场比赛结束后的得分情况     (2)di :第

CodeForces - 574A Bear and Elections

Bear and Elections Limak is a grizzly bear who desires power and adoration. He wants to win in upcoming elections and rule over the Bearland. There are n candidates, including Limak. We know how many citizens are going to vote for each candidate. Now i