56
西工大新版poj部分答案.doc
豆丁精品文档: 西工大 poj 西工大c语言poj 2013西工大poj 西工大乒乓球题库 西工大 vb 题库 poj答案 poj水题 西工大c语言100题 西工大c语言题库 西工大体育考试题库
16
POJ算法分类和目推荐.pdf
POJ各题算法分类和题目推荐
38
程序设计实践第2章上POJ.pdf
程序设计实践第2章上POJ刷题程序设计实践第2章上POJ刷题程序设计实践第2章上POJ刷题
53
电化poj学专测试.doc
电化poj学专题测试题——所有资料文档均为本人悉心收集,全部是文档中的精品,绝对值得下载收藏!
64
poj ACM.doc
64
POJ经典算法.docx
POJ经典算法题题目,算法,习题,POJ,Poj算法,poj,poj题目,POJ题目,POJ经典,poj水题
8
poj题型分类.doc
poj题型分类分类,题目,POJ,题目分类,题型分类,poj分类,六级新题型,四级新题型,雅思题型
32
POJ部分水代码(C++)_(一).pdf
程序设计大赛相关题目以及训练
5
poj题号与题目.doc
poj题号与题目
47
[计算机软件及应用]POJ题题.doc
[计算机软件及应用]POJ水题题目

poj 1247 magnificent meatballs

magnificent meatballs
time limit: 1000ms total submissions: 5719 memory limit: 10000k accepted: 3837

description
sam and ella run a catering service. they like to put on a show when serving meatballs to guests seated at round tables. they march out of the kitchen with pots of meatballs and start serving adjacent guests. ella goes counterclockwise and sam goes clockwise, until they both plop down their last meatball, at the same time, again at adjacent guests. this impressive routine can only be accomplished if they can divide the table into two sections, each having the same number of meatballs. you are to write a program to assist them. at these catering events, each table seats 2 <= n <= 30 guests. each guest orders at least one and at most nine meatballs. each place at the table is numbered from 1 to n, with the host at position 1 and the host´s spouse at position n. sam al

向豆丁求助:有没有POJ题?

如要投诉违规内容,请联系我们按需举报;如要提出意见建议,请到社区论坛发帖反馈。