随笔分类 - 数学 博弈论
摘要:C. Mind Control time limit per test1 second memory limit per test256 megabytes You and your n−1 friends have found an array of integers a1,a2,…,an. Yo
阅读全文
摘要:I Want That Cake 题目连接: https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4925 Description There w
阅读全文
摘要:Life Winner Bo 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5754 Description Bo is a "Life Winner".He likes playing chessboard games with his girlf
阅读全文
摘要:C. Fox and Card Game 题目连接: http://codeforces.com/contest/388/problem/C Description Fox Ciel is playing a card game with her friend Fox Jiro. There are
阅读全文
摘要:Circles Game 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5299 Description There are n circles on a infinitely large table.With every two circle, e
阅读全文
摘要:C. Wizards and Numbers 题目连接: http://codeforces.com/problemset/problem/167/C Description In some country live wizards. They love playing with numbers.
阅读全文
摘要:<center Playing with Superglue</center 题目连接:http://codeforces.com/problemset/problem/176/C DescriptionTwo players play a game. The game is played on...
阅读全文
摘要:<center N M bulbs</center 题目连接:http://codeforces.com/contest/510/problem/C DescriptionN M个灯泡排成一片,也就是排成一个N M的矩形,有些开着,有些关着,为了节约用电,你要关上所有灯,但是你又很懒。刚好有个熊...
阅读全文
摘要:ZYB's GameTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5591DescriptionZYBplayed a game namedNumberBombwith his ...
阅读全文
摘要:阿里巴巴和n个大盗Time Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/problem/show/1253Description阿里巴巴和n个大盗来到了一个藏满宝石的洞穴。洞里一共有m颗价值连城的宝石,每一颗都等价。盗...
阅读全文
摘要:C. Pie or dieTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/55/problem/CDescriptionVolodya and Vlad play the following game. ...
阅读全文
摘要:A. Warrior and ArcherTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/594/problem/ADescriptionIn the official contest this prob...
阅读全文
摘要:MeetingTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5512Descriptionn pagodas were standing erect in Hong Jue Si...
阅读全文
摘要:D. TablecityTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://codeforces.com/contest/575/problem/DDescriptionThere was a big bank robbery in Tablecity....
阅读全文
摘要:Alice and BobTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4111DescriptionAlice and Bob are very smart guys and ...
阅读全文
摘要:
小约翰经常和他的哥哥玩一个非常有趣的游戏:桌子上有n堆石子,小约翰和他的哥哥轮流取石子,每个人取的时候,可以随意选择一堆石子,在这堆石子中取走任意 多的石子,但不能一粒石子也不取,我们规定取到最后一粒石子的人算输。小约翰相当固执,他坚持认为先取的人有很大的优势,所以他总是先取石子,而他的哥哥 就聪明多了,他从来没有在游戏中犯过错误。小约翰一怒之前请你来做他的参谋。自然,你应该先写一个程序,预测一下谁将获得游戏的胜利。
阅读全文

摘要:C - Playing With Stones Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit Status Practice UVALive 5059DescriptionYou and your frien...
阅读全文