- 博客(5)
- 收藏
- 关注
原创 CF1415A Prison Break
题目描述 There is a prison that can be represented as a rectangular matrix withnnrows andmmcolumns. Therefore, there aren \cdot mn⋅mprison cells. There are alson \cdot mn⋅mprisoners, one in each prison cell. Let's denote the cell in theii-th row and...
2021-10-17 14:47:38
165
原创 Cut Ribbon(CF189A)
题目描述 Polycarpus has a ribbon, its length isnn. He wants to cut the ribbon in a way that fulfils the following two conditions: After the cutting each ribbon piece should have lengthaa,bborcc. After the cutting the number of ribbon pieces should b...
2021-10-05 15:15:15
207
原创 憋了个大招,Python你懂的
classActionKind(Enum): RunningLeft=0 RunningRight=1 Idle=2 IdleLeft=3 IdleRight=4 JumpingLeft=5 JumpingRight=6 CrouchLeft=7 CrouchRight=8 Flying=9 Walking=10 Jumping=11 @...
2021-10-03 16:08:28
272
原创 Python小游戏,猴骑士,制作不易,打个赏吧
class ActionKind(Enum): Walking = 0 Idle = 1 Jumping = 2 Working = 3 Die = 4 IdleLeft = 5 WalkRight = 6 WalkLeft = 7 JumpRight = 8 JumpLeft = 9 FallRight = 10 FallLeft = 11 CrouchRight = 12 CrouchLeft...
2021-08-30 13:30:29
413
原创 Python小游戏,无毒,无木马
controller.A.onEvent(ControllerButtonEvent.Pressed, function () { if (mySprite.isHittingTile(CollisionDirection.Bottom)) { mySprite.vy = -200 } }) scene.onOverlapTile(SpriteKind.Player, sprites.dungeon.collectibleBlueCrystal, function (spri...
2021-08-30 13:20:19
236
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅