XMORE's blog

By XMORE, history, 3 months ago, In English,

Hi the problem https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2259 this solution to this problem is AC https://github.com/Diusrex/UVA-Solutions/blob/master/11284%20Shopping%20Trip.cpp

and this solution is AC too https://github.com/BRAINOOO/CompetitiveProgramming/blob/master/UVA/V-112/UVA%2011284.Cpp

But for this test case the 2 codes results in different result so there is some thing wrong with the problem ?

1

3 3 0 1 1 1 2 2 1 3 20 3 1 7 2 9 3 1