
ACM_模拟
DATELOST
I'm curious.
展开
-
HDU-1237 纯模拟
Problem Description:读入一个只包含 +, -, *, / 的非负整数计算表达式,计算该表达式的值。Input测试输入包含若干测试用例,每个测试用例占一行,每行不超过200个字符,整数和运算符之间用一个空格分隔。没有非法表达式。当一行中只有0时输入结束,相应的结果不要输出。Output对每个测试用例输出1行,即该表达式的值,精确到小数点后2位。Sample Input...原创 2019-02-07 14:31:59 · 299 阅读 · 0 评论 -
CF 1140A模拟
A. Detective BookIvan recently bought a detective book. The book is so interesting that each page of this book introduces some sort of a mystery, which will be explained later. The i-th page contains...原创 2019-03-23 19:52:49 · 362 阅读 · 0 评论 -
CF 1144C 模拟
C. Two Shuffled SequencesTwo integer sequences existed initially — one of them was strictly increasing, and the other one — strictly decreasing.Strictly increasing sequence is a sequence of integers...原创 2019-04-01 17:59:00 · 196 阅读 · 0 评论 -
CF 1144D 模拟
D. Equalize Them AllYou are given an array a consisting of n integers. You can perform the following operations arbitrary number of times (possibly, zero):Choose a pair of indices (i,j) such that |i...原创 2019-04-01 18:05:21 · 374 阅读 · 0 评论