CQUPT 2018 寒假训练 DIV2 (1)STL基础
jude233
这个作者很懒,什么都没留下…
展开
-
水题
ACboy was kidnapped!! he miss his mother very much and is very scare now.You can't image how dark the room he was put into is, so poor :(. As a smart ACMer, you want to get ACboy out of the monster's...原创 2018-02-15 21:00:53 · 190 阅读 · 0 评论 -
水题
You are given a string consisting of parentheses () and []. A string of this type is said to be correct:(a) if it is the empty string(b) if A and B are correct, AB is correct,(c) if A is correct, (A) ...原创 2018-02-15 21:05:24 · 103 阅读 · 0 评论 -
简单计算器
读入一个只包含 +, -, *, / 的非负整数计算表达式,计算该表达式的值。 Input测试输入包含若干测试用例,每个测试用例占一行,每行不超过200个字符,整数和运算符之间用一个空格分隔。没有非法表达式。当一行中只有0时输入结束,相应的结果不要输出。 Output对每个测试用例输出1行,即该表达式的值,精确到小数点后2位。 Sample Input1 + 24 + 2 * 5 - 7 / 1...原创 2018-03-09 19:25:30 · 473 阅读 · 0 评论 -
Where is the Marbl
Raju and Meena love to play with Marbles. They have got a lot ofmarbles with numbers written on them. At the beginning, Raju wouldplace the marbles one after another in ascending order of the numbersw...原创 2018-03-09 19:37:53 · 156 阅读 · 0 评论