会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
------------只要够努力,人生最坏的结局不过是大器晚成!!!
ystraw
博客园
首页
博问
闪存
新随笔
管理
随笔分类 -
NYoj
1
2
下一页
40-整数划分(三)
摘要:http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=571 整数划分(三) 时间限制:1000 ms | 内存限制:65535 KB 难度:5 整数划分(三) 时间限制:1000 ms | 内存限制:65535 KB 难度:5 整数划分是一个经典的
阅读全文
posted @
2018-06-20 21:22
ystraw
阅读(164)
评论(0)
推荐(0)
39-整数划分(二)
摘要:http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=176 整数划分(二) 时间限制:1000 ms | 内存限制:65535 KB 难度:3 http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=
阅读全文
posted @
2018-06-08 11:29
ystraw
阅读(241)
评论(0)
推荐(0)
38-整数划分
摘要:http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=90 整数划分 时间限制:3000 ms | 内存限制:65535 KB 难度:3 http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=90 整
阅读全文
posted @
2018-06-08 11:02
ystraw
阅读(136)
评论(0)
推荐(0)
37-完全背包
摘要:http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=311 完全背包 时间限制:3500 ms | 内存限制:65535 KB 难度:4 http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=311
阅读全文
posted @
2018-03-30 09:13
ystraw
阅读(147)
评论(0)
推荐(0)
36-图像有用区(dfs, bfs)
摘要:http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=92 图像有用区域 时间限制:3000 ms | 内存限制:65535 KB 难度:4 http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=92
阅读全文
posted @
2018-03-28 12:50
ystraw
阅读(245)
评论(0)
推荐(0)
35-迷宫寻宝(一)-NYOJ82
摘要:http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=82 迷宫寻宝(一) 时间限制:1000 ms | 内存限制:65535 KB 难度:4 http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=8
阅读全文
posted @
2018-03-27 23:40
ystraw
阅读(247)
评论(0)
推荐(0)
34- 24 Point game
摘要:http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=43 24 Point game 时间限制:3000 ms | 内存限制:65535 KB 难度:5 http://acm.nyist.edu.cn/JudgeOnline/problem.php
阅读全文
posted @
2018-03-27 23:34
ystraw
阅读(278)
评论(0)
推荐(0)
32-回文字符串(dp)
摘要:http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=37 回文字符串 时间限制:3000 ms | 内存限制:65535 KB 难度:4 http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=37
阅读全文
posted @
2018-03-26 23:16
ystraw
阅读(232)
评论(0)
推荐(0)
32-一笔画(欧拉图)
摘要:http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=42 一笔画问题 时间限制:3000 ms | 内存限制:65535 KB 难度:4 http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=42
阅读全文
posted @
2018-03-22 16:46
ystraw
阅读(951)
评论(0)
推荐(0)
31-最长公共子序列
摘要:http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=36 最长公共子序列 时间限制:3000 ms | 内存限制:65535 KB 难度:3 http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=3
阅读全文
posted @
2018-03-20 21:29
ystraw
阅读(121)
评论(0)
推荐(0)
30-懒省事的小明(priority_queue)
摘要:http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=55 懒省事的小明 时间限制:3000 ms | 内存限制:65535 KB 难度:3 http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=55
阅读全文
posted @
2018-03-20 13:06
ystraw
阅读(132)
评论(0)
推荐(0)
29-街道最短路径问题(哈曼顿距离)
摘要:http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=7 街区最短路径问题 时间限制:3000 ms | 内存限制:65535 KB 难度:4 http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=7
阅读全文
posted @
2018-03-05 21:54
ystraw
阅读(378)
评论(0)
推荐(0)
28-组合数(dfs)
摘要:http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=32 组合数 时间限制:3000 ms | 内存限制:65535 KB 难度:3 http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=32 组合
阅读全文
posted @
2018-02-09 11:22
ystraw
阅读(132)
评论(0)
推荐(0)
27-水池数目(dfs)
摘要:水池数目 时间限制:3000 ms | 内存限制:65535 KB 难度:4 水池数目 时间限制:3000 ms | 内存限制:65535 KB 难度:4 思路:dfs,遍历每个点,对于为1的点,将其相连的1都dfs到变为0.
阅读全文
posted @
2018-02-08 23:22
ystraw
阅读(142)
评论(0)
推荐(0)
26-三个水杯(bfs)
摘要:三个水杯 时间限制:1000 ms | 内存限制:65535 KB 难度:4 三个水杯 时间限制:1000 ms | 内存限制:65535 KB 难度:4
阅读全文
posted @
2018-02-08 22:59
ystraw
阅读(470)
评论(0)
推荐(0)
25-最短步数(广搜)
摘要:http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=58 最少步数 时间限制:3000 ms | 内存限制:65535 KB 难度:4 http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=58 最
阅读全文
posted @
2018-02-07 23:20
ystraw
阅读(209)
评论(0)
推荐(0)
24-单调递增最长子序列(多种解法总结)
摘要:单调递增最长子序列 http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=17 时间限制:3000 ms | 内存限制:65535 KB 难度:4 单调递增最长子序列 http://acm.nyist.edu.cn/JudgeOnline/probl
阅读全文
posted @
2018-01-28 13:19
ystraw
阅读(259)
评论(0)
推荐(0)
23-吝啬的国度(vector+深搜)
摘要:吝啬的国度 时间限制:1000 ms | 内存限制:65535 KB 难度:3 吝啬的国度 时间限制:1000 ms | 内存限制:65535 KB 难度:3 因为给定的城市N的数目太大,建立数组需要用到#include<vector>,vector就是一个不定长数组,vector<int>a就是一
阅读全文
posted @
2017-11-23 20:23
ystraw
阅读(163)
评论(0)
推荐(0)
22-快速幂讲解
摘要:快速幂这个东西比较好理解,但实现起来到不老好办,记了几次老是忘,今天把它系统的总结一下防止忘记。 首先,快速幂的目的就是做到快速求幂,假设我们要求a^b,按照朴素算法就是把a连乘b次,这样一来时间复杂度是O(b)也即是O(n)级别,快速幂能做到O(logn),快了好多好多。它的原理如下: 假设我们要
阅读全文
posted @
2017-10-01 16:32
ystraw
阅读(134)
评论(0)
推荐(0)
21-矩形的嵌套
摘要:/* 矩形嵌套 题目内容:有n个矩形,每个矩形可以用a,b来描述,表示长和宽。矩形X(a,b)可以嵌套在矩形Y(c,d)中当且仅当a<c,b<d或者b<c,a<d(相当于旋转X90度)。例如(1,5)可以嵌套在(6,2)内,但不能嵌套在(3,4)中。你的任务是选出尽可能多的矩形排成一行,使得除最后一
阅读全文
posted @
2017-08-25 21:50
ystraw
阅读(153)
评论(0)
推荐(0)
1
2
下一页
不经一番切孤寒,怎得梅花扑鼻香