2015年9月21日

dp hdu 5464 Clarke and problem

摘要: Problem Description Clarke is a patient with multiple personality disorder. One day, Clarke turned into a student and read a book.Suddenly, a difficul... 阅读全文

posted @ 2015-09-21 21:21 鱼泪儿 阅读(123) 评论(0) 推荐(0) 编辑

2015年9月4日

hdu 1269 (强联通分量Tarjan入门)

摘要: 迷宫城堡Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10075Accepted Submission(s): 4529Problem Descr... 阅读全文

posted @ 2015-09-04 17:43 鱼泪儿 阅读(270) 评论(0) 推荐(0) 编辑

poj 1144 Network(割点 入门)

摘要: NetworkTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 10907Accepted: 5042DescriptionA Telephone Line Company (TLC) is establishing a new tel... 阅读全文

posted @ 2015-09-04 17:41 鱼泪儿 阅读(143) 评论(0) 推荐(0) 编辑

2015年9月1日

hdu oj 1520 Anniversary party(树形dp入门)

摘要: Anniversary partyTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6990Accepted Submission(s): 3104P... 阅读全文

posted @ 2015-09-01 12:32 鱼泪儿 阅读(157) 评论(0) 推荐(0) 编辑

2015年8月21日

light oj 1149 Factors and Multiples(二分匹配)

摘要: LightOJ1149 :Factors and Multiples 时间限制:2000MS 内存限制:32768KByte 64位IO格式:%lld & %llu 描述You will be given two sets of integers. Let's call them set Aa... 阅读全文

posted @ 2015-08-21 14:02 鱼泪儿 阅读(231) 评论(0) 推荐(0) 编辑

light oj 1138

摘要: Trailing Zeroes (III)Time Limit: 2000MSMemory Limit: 32768KB64bit IO Format: %lld & %llu Submit Status DescriptionYou task is to find minimal natural ... 阅读全文

posted @ 2015-08-21 13:49 鱼泪儿 阅读(218) 评论(0) 推荐(0) 编辑

2015年8月20日

uva 10036

摘要: 10036 - Divisibility额..直接复制不过来,只好叙述一下了...t组样例,n个数(1~10000),k(2~100)是要取余的数,然后给出n个数第一个数前不能加正负号,其他的数前面可以加正负号,然后问这些正负号任意加,所有的情况中是否有能对k取余得0的情况。若有输出:Di...否则... 阅读全文

posted @ 2015-08-20 14:08 鱼泪儿 阅读(177) 评论(0) 推荐(0) 编辑

codeforces 545E E. Paths and Trees(单源最短路+总权重最小)

摘要: E. Paths and Treestime limit per test:3 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputLittle girl Susie accident... 阅读全文

posted @ 2015-08-20 13:48 鱼泪儿 阅读(402) 评论(0) 推荐(0) 编辑

2015年8月19日

hdu 1059 Dividing(多重背包优化)

摘要: DividingTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 20635Accepted Submission(s): 5813Problem D... 阅读全文

posted @ 2015-08-19 10:39 鱼泪儿 阅读(133) 评论(0) 推荐(0) 编辑

2015年8月18日

C++ string(STL)

摘要: 发现字符串问题中 string 好厉害~string类的构造函数:string(const char *s); //用c字符串s初始化string(int n,char c); //用n个字符c初始化此外,string类还支持默认构造函数和复制构造函数,如string s1;strin... 阅读全文

posted @ 2015-08-18 14:35 鱼泪儿 阅读(185) 评论(0) 推荐(0) 编辑

导航