摘要:
Seek the Name, Seek the FameTime Limit: 20 SecMemory Limit: 256 MB题目连接http://poj.org/problem?id=2752DescriptionThe little cat is so famous, that many ... 阅读全文
摘要:
2243: [SDOI2011]染色Time Limit: 20 SecMemory Limit: 256 MB题目连接http://www.lydsy.com/JudgeOnline/problem.php?id=2243Description给定一棵有n个节点的无根树和m个操作,操作有2类:1、... 阅读全文
摘要:
哗啦啦的小彭玉染色问题Time Limit: 1 SecMemory Limit: 256 MB题目连接http://acdream.info/problem?pid=1725Description哗啦啦,哗啦啦~小彭玉很开心,拿着一堆海报就开始宣传明天要开始的哗啦啦大会了~小彭玉很可爱,他的海报都... 阅读全文
摘要:
D. Bad Luck IslandTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/540/problem/DDescriptionThe Bad Luck Island is inhabited by t... 阅读全文
摘要:
C. Ice CaveTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/540/problem/CDescriptionYou play a computer game. Your character sta... 阅读全文
摘要:
B. School MarksTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/540/problem/BDescriptionLittle Vova studies programming in an el... 阅读全文
摘要:
A. Combination LockTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/540/problem/ADescriptionScrooge McDuck keeps his most treasu... 阅读全文
摘要:
D. Weird ChessTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/538/problem/DDescriptionIgor has been into chess for a long time ... 阅读全文
摘要:
C. Tourist's NotesTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/538/problem/CDescriptionA tourist hiked along the mountain ra... 阅读全文
摘要:
B. Quasi BinaryTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/538/problem/BDescriptionA number is called quasibinary if its de... 阅读全文
摘要:
A. Cutting BannerTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/538/problem/ADescriptionA large banner with word CODEFORCES wa... 阅读全文
摘要:
MutipleTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5211Descriptionwld有一个序列a[1..n], 对于每个1≤i#include #include #in... 阅读全文
摘要:
DeleteTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5210Descriptionwld有n个数(a1,a2,...,an),他希望进行k次删除一个数的操作,使得最后剩下的n... 阅读全文
摘要:
质数相关Time Limit: 1 SecMemory Limit: 256 MB题目连接http://hihocoder.com/contest/msbop2015round2a/problem/3Description两个数a和 b (a#include #include #include #i... 阅读全文
摘要:
Charm BraceletTime Limit: 1 SecMemory Limit: 256 MB题目连接http://poj.org/problem?id=3624DescriptionBessie has gone to the mall's jewelry store and spies ... 阅读全文
摘要:
Bone CollectorTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2602DescriptionMany years ago , in Teddy’s hometown t... 阅读全文
摘要:
Ignatius and the Princess IVTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1029Description"OK, you are not too bad... 阅读全文
摘要:
Max Sum Plus PlusTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1024DescriptionNow I think you have got an AC in I... 阅读全文
摘要:
其实不只是九月的回顾吧,我大概想把暑假到现在10.01发生的啥事儿都说下吧~ 嗯,我是一个比较沙茶的人,不过运气比较好吧。 高中啊,这个谈起来话就长了,在校什么风采之星大赛上,我认识了个妹子,当时感觉我有种喜欢的感觉,于是整天都盼着见到她啥的,反正就感觉像是少女心泛滥,不过我比较屌丝,就没事... 阅读全文
摘要:
Assign the taskTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=3974DescriptionThere is a company that has N employe... 阅读全文
摘要:
Balanced LineupTime Limit: 1 SecMemory Limit: 256 MB题目连接http://poj.org/problem?id=3264DescriptionFor the daily milking, Farmer John's N cows (1 ≤ N ≤ ... 阅读全文
摘要:
Count the ColorsTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1610DescriptionPainting some col... 阅读全文
摘要:
A Simple Problem with IntegersTime Limit: 1 SecMemory Limit: 256 MB题目连接http://poj.org/problem?id=3468DescriptionYou have N integers, A1, A2, ... , AN.... 阅读全文
摘要:
Can you answer these queries?Time Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5195DescriptionA lot of battleships of... 阅读全文
摘要:
DZY Loves Topological SortingTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5195DescriptionA topological sort or t... 阅读全文
摘要:
D. PointsTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/19/problem/DDescriptionPete and Bob invented a new interesting game. B... 阅读全文
摘要:
D. Sum of MediansTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/problemset/problem/85/DDescriptionIn one well-known algorithm of findi... 阅读全文
摘要:
Mayor's postersTime Limit: 1 SecMemory Limit: 256 MB题目连接http://poj.org/problem?id=2528DescriptionThe citizens of Bytetown, AB, could not stand that th... 阅读全文
摘要:
Buy TicketsTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2795DescriptionRailway tickets were difficult to buy aro... 阅读全文
摘要:
BillboardTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2795DescriptionAt the entrance to the university, there is... 阅读全文
摘要:
B. Photo to RememberTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/522/problem/BDescriptionOne day n friends met at a party, t... 阅读全文
摘要:
代码1 #include<iostream> using namespace std; int main() { int a,b; cin>>a>>b; cout<<a+b<<endl; // system("pause"); return 0; } 代码2 #include<iostream> u 阅读全文
摘要:
D. Closest EqualsTime Limit: 1 SecMemory Limit: 256 MB题目连接http://www.lydsy.com/JudgeOnline/problem.php?id=3224DescriptionYou are given sequence a1, a2... 阅读全文
摘要:
3224: Tyvj 1728 普通平衡树Time Limit: 1 SecMemory Limit: 256 MB题目连接http://www.lydsy.com/JudgeOnline/problem.php?id=3224Description您需要写一种数据结构(可参考题目标题),来维护一些... 阅读全文
摘要:
【UR #3】核聚变反应强度Time Limit: 1 SecMemory Limit: 256 MB题目连接http://uoj.ac/problem/48Description著名核物理专家 Picks 提出了核聚变特征值这一重要概念。核聚变特征值分别为 x 和 y 的两个原子进行核聚变,能产生... 阅读全文
摘要:
楼房重建Time Limit: 1 SecMemory Limit: 256 MB题目连接http://www.lydsy.com/JudgeOnline/problem.php?id=2957Description小A的楼房外有一大片施工工地,工地上有N栋待建的楼房。每天,这片工地上的房子拆了又建... 阅读全文
摘要:
Greatest Greatest Common DivisorTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5207Description在数组a中找出两个数ai,aj(i≠j)... 阅读全文
摘要:
Rikka with sequenceTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5204Description众所周知,萌萌哒六花不擅长数学,所以勇太给了她一些数学问题做练习,... 阅读全文
摘要:
在计算机科学中,Bogo排序(bogo-sort)是个既不实用又原始的排序算法,其原理等同将一堆卡片抛起,落在桌上后检查卡片是否已整齐排列好,若非就再抛一次。其名字源自Quantum bogodynamics,又称bozo sort、blort sort或猴子排序(参见无限猴子定理)。//qscqe... 阅读全文
摘要:
Four Inages StrategyTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5206DescriptionYoung F found a secret record wh... 阅读全文