码迷,mamicode.com
首页 >  
搜索关键字:josephs problem    ( 37568个结果
hdu 2666 Matrix
Matrix Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1332    Accepted Submission(s): 740 Problem Description Yifenfei very like p...
分类:其他好文   时间:2014-07-22 23:03:13    阅读次数:228
HDU 3656 二分+dlx判定
Fire station Time Limit: 10000/5000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1308    Accepted Submission(s): 434 Problem Description A city's map can ...
分类:其他好文   时间:2014-07-22 23:01:35    阅读次数:287
codeforces D. Ice Sculptures 题解
本题还是有一定难度的。 注意点: 1 要使用逆向思维,不是要计算melt掉多少sculptures, 而是要计算需要剩下多少个sculptures 2 所有情况都需要考虑到,最大间隔melt掉的sculptures是n/3个 3 要判断这样间隔melt掉sculptures之后,剩下的sculptures是否能组成多边形 要很仔细想清楚才能做出来。 It is never too careful to scrutinize a problem! It is never too careful to desi...
分类:其他好文   时间:2014-07-22 23:00:13    阅读次数:279
hdu 4521 小明系列问题——小明序列 (间隔至少为d的LIS 两种解法)
小明系列问题——小明序列 Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 1567    Accepted Submission(s): 463 Problem Description   大家都知道小明最喜欢研究...
分类:其他好文   时间:2014-05-03 00:40:15    阅读次数:348
UVA之11078 - Open Credit System
【题目】 Problem E Open Credit System Input: Standard Input Output: Standard Output In an open credit system, the students can choose any course they like, but there is a problem. Some of the stude...
分类:其他好文   时间:2014-05-03 00:22:50    阅读次数:380
UVA之409 - Excuses, Excuses!
Excuses, Excuses!  Judge Ito is having a problem with people subpoenaed for jury duty giving rather lame excuses in order to avoid serving. In order to reduce the amount of time requi...
分类:其他好文   时间:2014-05-02 23:54:43    阅读次数:474
HDU 3909 数独
Sudoku Time Limit: 50000/20000 MS (Java/Others)    Memory Limit: 125536/65536 K (Java/Others) Total Submission(s): 501    Accepted Submission(s): 208 Problem Description AmazingCaddy likes Sud...
分类:其他好文   时间:2014-05-02 21:31:40    阅读次数:282
uva 12299 线段树 点相关的操作模板
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=502&page=show_problem&problem=3720 唯一值得一说的就是shift,变成循环就行 这道题主要是测试下我做的算法模板 先贴模板 /**********************************...
分类:其他好文   时间:2014-05-02 21:29:31    阅读次数:345
ZOJ 3612 Median (multiset)
Factorial Problem in Base K Time Limit: 2 Seconds      Memory Limit: 65536 KB How many zeros are there in the end of s! if both s and s! are written in base k which is not necessarily to be 10...
分类:其他好文   时间:2014-05-02 20:11:29    阅读次数:376
fzoj 2170 花生的序列
Problem 2170 花生的序列 Accept: 41    Submit: 127 Time Limit: 3000 mSec    Memory Limit : 32768 KB  Problem Description “我需要一个案件!!!”,没有案件卷福快疯了。花生不忍心看卷福这个样子,他决定帮卷福找点事情做。 花生拿了两个长度为N的相同的序列,序列都为WB...
分类:其他好文   时间:2014-05-02 19:52:00    阅读次数:332
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!