vanya专题

CodeForces 492C Vanya and Exams

CodeForces 492C Vanya and Exams  CodeForces 492C 题目大意:  有一位同学要参加N门科目的考试,每门科目的满分固定,现在这位同学为了拿到奖学金需要达到平均分S,这就需要它在原来的基础上对某些科目的分数进行提升,然后提升每门科目需要做Ai个测试,于是希望能够做尽量少的测试能够使得分数达到平均分。 解题思路:  将所有的科目按照对应的测试数进行排

CodeForces #308 Div2 E(552E Vanya and Brackets)

E. Vanya and Brackets time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vanya is doing his maths homework. He has an

Codeforces Round #308 (Div. 2) E. Vanya and Brackets

E. Vanya and Brackets time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vanya is doing his maths homework. He has an expre

Codeforces Round #308 (Div. 2) C. Vanya and Scales

C. Vanya and Scales time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vanya has a scales for weighing loads and weights of

CF E. Vanya and Brackets(添加一对括号使得表达式的值最大)

E. Vanya and Brackets time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vanya is doing his maths homework. He has an expre