CF 301 B School Marks

Little Vova studies programming in an elite school. Vova and his classmates are supposed to writenprogress tests, for each test they will get a mark from 1 top. Vova is very smart and he can write every test for any mark, but he doesn’t want to stand out from the crowd too much. If the sum of his marks for all tests exceeds valuex, then his classmates notice how smart he is and start distracting him asking to let them copy his homework. And if the median of his marks will be lower thanypoints(the definition of a median is given in the notes), then his mom will decide that he gets too many bad marks and forbid him to play computer games.

Vova has already wrotektests and got marksa1,…,ak. He doesn’t want to get into the first or the second situation described above and now he needs to determine which marks he needs to get for the remaining tests. Help him do that.

,带着我的相机和电脑,远离繁华,走向空旷。

CF 301 B School Marks

相关文章:

你感兴趣的文章:

标签云: