I tried to code this task on the contest but got WA.
Later I rewrote this task (this time without using any floats etc) and still got WA..
Does anyone have any tricky inputs for this task ??
Thanks in advance
Good Luck

Moderator: Board moderators
Could someone offer some idea to solve the problem?ranjit wrote:can somebody give me more test cases .
thanx in advance.
ranjit.
Code: Select all
50 32 35 20
100 22 13 31
24 12 41 15
467 35 231 122
36 12 24 24
0 1 2 3
Code: Select all
14
6
26
61
12