- 博客(10)
- 资源 (1)
- 收藏
- 关注
原创 Johnny Solving
http://codeforces.com/contest/1104/problem/E E. Johnny Solvingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday is tuesda...
2019-01-24 14:09:58 437
原创 Sticks
POJ - 1011首先,原始长度一定在给定木棍的最大长度与长度和之间,然后因为所有原始木棍长度相等,则其长度一定整除长度之和,具体过程见注释 #include<iostream>#include<cstring>#include<cstdio>#include<algorithm>//using namespace st...
2019-01-23 18:56:58 557
原创 迷宫问题
POJ - 3984定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0,};它表示一个迷宫,其中的1表示墙壁,0表示可以走的路,只能横着走或竖着走,不能斜着走,要求编程序找出从左上角到右下角的最短路线。...
2019-01-23 18:55:35 144
原创 胜利大逃亡(续)
HDU - 1429Ignatius再次被魔王抓走了(搞不懂他咋这么讨魔王喜欢)…… 这次魔王汲取了上次的教训,把Ignatius关在一个n*m的地牢里,并在地牢的某些地方安装了带锁的门,钥匙藏在地牢另外的某些地方。刚开始Ignatius被关在(sx,sy)的位置,离开地牢的门在(ex,ey)的位置。Ignatius每分钟只能从一个坐标走到相邻四个坐标中的其中一个。魔王每t分钟回地牢视察一次...
2019-01-23 18:53:51 254
原创 懒汉的旅行
CSU - 1232懒汉需要从A城市开车到B城市去见一个朋友,他的汽车的邮箱的容积L升,车每行驶1公里就要消耗1升油。途中只有在到达一个城市之后才可以找的到加油站并加油,而且懒汉的车很特殊,每次加油只能加满整个邮箱。懒汉希望途中加油的次数越少越好,当加油的次数相同时,他希望加油所花的钱数越少越好。现在懒汉把地图告诉了你,你能帮帮他吗?可以认为懒汉出发的时候油箱是满的,如果到达 B城市时油箱...
2019-01-23 18:51:48 125
原创 Equation
HDU - 5937Little Ruins is a studious boy, recently he learned addition operation! He was rewarded some number bricks of 11 to 99 and infinity bricks of addition mark '+' and equal mark '='. Now lit...
2019-01-23 18:50:14 1057
原创 Network
Network UVALive - 3902Consider a tree network with n nodes where the internal nodes correspond to servers and the terminal nodes correspond to clients. The nodes are numbered from 1 to n. Among t...
2019-01-23 18:40:59 95
原创 Game with modulo
D. Game with modulohttp://codeforces.com/contest/1104/problem/Dtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThis is an inter...
2019-01-23 11:15:38 327
原创 Codeforces Round #533 (Div. 2) E. Helping Hiasat
http://codeforces.com/contest/1105/problem/EE. Helping Hiasattime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputHiasat registered...
2019-01-21 15:35:58 427
原创 Codeforces Round #533 (Div. 2) D. Kilani and the Game
http://codeforces.com/contest/1105/problem/DD. Kilani and the Gametime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputKilani is pl...
2019-01-21 10:10:13 288
汇编语言编程全套(含DOS,debug.exe,exit.com,masm)
2018-10-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人