随笔分类 -  Algo__simulation

模拟算法
摘要:Input示例 Output示例 阅读全文
posted @ 2017-08-31 23:33 kimsimple 阅读(188) 评论(0) 推荐(0)
摘要:感谢http://blog.csdn.net/black_miracle/article/details/52567718 题意:有一壶水, 体积在 L和 R之间, 有两个杯子, 你要把水倒到两个杯子里面, 使得杯子水体积几乎相同(体积的差值小于等于1), 并且使得壶里剩下水体积不大于1. 你无法测 阅读全文
posted @ 2017-06-30 20:57 kimsimple 阅读(197) 评论(0) 推荐(0)
摘要:https://www.patest.cn/contests/gplt/L2-002 L2-002. 链表去重 时间限制 300 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 时间限制 300 ms 时间限制 300 ms 内存限制 65536 阅读全文
posted @ 2017-03-17 16:55 kimsimple 阅读(325) 评论(0) 推荐(0)
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2553 在N*N的方格棋盘放置了N个皇后,使得它们不相互攻击(即任意2个皇后不允许处在同一排,同一列,也不允许处在与棋盘边框成45角的斜线上。你的任务是,对于给定的N,求出有多少种合法的放置方法。 Input 共有 阅读全文
posted @ 2017-03-11 11:55 kimsimple 阅读(211) 评论(0) 推荐(0)
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1241 题意:求几个油田 阅读全文
posted @ 2017-03-11 10:43 kimsimple 阅读(148) 评论(0) 推荐(0)
摘要:L2-008. 最长对称子串 时间限制 100 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 时间限制 100 ms 时间限制 100 ms 内存限制 65536 kB 内存限制 65536 kB 代码长度限制 8000 B 代码长度限制 80 阅读全文
posted @ 2017-03-10 23:41 kimsimple 阅读(5403) 评论(0) 推荐(2)
摘要:L2-005. 集合相似度 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 时间限制 400 ms 时间限制 400 ms 内存限制 65536 kB 内存限制 65536 kB 代码长度限制 8000 B 代码长度限制 800 阅读全文
posted @ 2017-03-10 18:24 kimsimple 阅读(3735) 评论(0) 推荐(0)
摘要:L2-003. 月饼 时间限制 100 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 时间限制 100 ms 时间限制 100 ms 内存限制 65536 kB 内存限制 65536 kB 代码长度限制 8000 B 代码长度限制 8000 B 阅读全文
posted @ 2017-03-09 23:15 kimsimple 阅读(522) 评论(0) 推荐(0)