码迷,mamicode.com
首页 >  
搜索关键字:petya    ( 120个结果
[CF895C] Square Subsets - 状压dp
对于一些数组a,Petya需要找到从中间选择非空子集,使它们的乘积等于某个整数的平方的方法的数量。如果这些方法所选择的元素的索引不同,则认为这两种是不同的方法。$a_i \le 70$ ...
分类:其他好文   时间:2021-03-05 13:12:22    阅读次数:0
CF630E 六边形
1 CF630E 六边形 题目链接:https://codeforces.com/problemset/problem/630/e 2 题目描述 时间限制 \(0.5s\) | 空间限制 \(64M\) 在一个新的游戏中,为了创建基于回合的战斗的地图,\(Petya\) 面临着以下问题。 地图是由六 ...
分类:其他好文   时间:2021-02-26 13:15:59    阅读次数:0
Codeforces Round #104 (Div.2)补题报告
B - Lucky Mask Petya loves lucky numbers very much. Everybody knows that lucky numbers are positive integers whose decimal record contains only the lu ...
分类:其他好文   时间:2020-12-25 12:22:13    阅读次数:0
Door Frames CodeForces - 910B
题目 Petya has equal wooden bars of length n. He wants to make a frame for two equal doors. Each frame has two vertical (left and right) sides of length ...
分类:其他好文   时间:2020-11-30 16:00:25    阅读次数:6
[CF从零单排#13]122A - Lucky Division
题目来源: http://codeforces.com/problemset/problem/122/A Petya loves lucky numbers. Everybody knows that lucky numbers are positive integers whose decimal ...
分类:其他好文   时间:2020-07-27 13:40:27    阅读次数:64
Codeforces Round #481 (Div. 3) G. Petya's Exams (贪心,模拟)
题意 :你有$n$天的时间,这段时间中你有$m$长考试,$s$表示宣布考试的日期,$d$表示考试的时间,$c$表示需要准备时间,如果你不能准备好所有考试,输出$ 1$,否则输出你每天都在干什么,如果这一天你有考试,输出$m+1$,如果你要准备第$i$场考试,输出$i$,否则休息,输出$0$. 题解 ...
分类:其他好文   时间:2020-05-22 09:15:48    阅读次数:52
D. Game With Array
Petya and Vasya are competing with each other in a new interesting game as they always do. At the beginning of the game Petya has to come up with an a ...
分类:其他好文   时间:2020-05-17 13:32:47    阅读次数:135
Codeforces Round #643 (Div. 2) D. Game With Array(构造)
Petya and Vasya are competing with each other in a new interesting game as they always do. At the beginning of the game Petya has to come up with an a ...
分类:其他好文   时间:2020-05-16 23:37:41    阅读次数:129
CF886E 题解
"题目链接" 题目大意 从前有一个叫 $Petya$ 的神仙,嫌自己的序列求$max$太慢了,于是将序列求$max$的代码改成了下面这个样子: 完结撒花!!! ...
分类:其他好文   时间:2020-04-16 00:48:06    阅读次数:51
C. Game with Chips
C. Game with Chips time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Petya has a rectangula ...
分类:其他好文   时间:2020-04-11 13:14:22    阅读次数:62
120条   1 2 3 4 ... 12 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!