摘要: 题目: 请编写程序检查C语言源程序中下列符号是否配对:/*与*/、(与)、[与]、{与}。 输入格式: 输入为一个C语言源程序。当读到某一行中只有一个句点.和一个回车的时候,标志着输入结束。程序中需要检查配对的符号不超过100个。 输出格式: 首先,如果所有符号配对正确,则在第一行中输出YES,否则 阅读全文
posted @ 2018-10-06 22:16 sykline 阅读(9388) 评论(0) 推荐(0) 编辑
摘要: 题目: Mr. Panda likes ice cream very much especially the ice cream tower. An ice cream tower consists of K ice cream balls stacking up as a tower. In or 阅读全文
posted @ 2018-10-06 18:44 sykline 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 题目: The Codejamon game is on fire! Fans across the world are predicting and betting on which team will win the game. A gambling company is providing b 阅读全文
posted @ 2018-10-06 16:46 sykline 阅读(623) 评论(0) 推荐(0) 编辑
摘要: 题目: Here is World Cup again, the top 32 teams come together to fight for the World Champion. The teams are assigned into 8 groups, with 4 teams in eac 阅读全文
posted @ 2018-10-06 15:50 sykline 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 题目: Mr. Panda is one of the top specialists on number theory all over the world. Now Mr. Panda is investigating the property of the powers of 2. Since 阅读全文
posted @ 2018-10-06 15:32 sykline 阅读(267) 评论(0) 推荐(0) 编辑