Testcase is wrong


#1

One of the testcase during submission is failling.
20 20 -15 -59 -4 -94 -18 -67 -93 -92 -50 -7 -95 0 -62 -1 2 -2 -96 -79 -11 -2 3 1 -77 -55 -18 -16 -72 -17 -24 -20 -29 -52 1 -29 -100 -64 -76 -87 -96 -43 -43 -10 -5 5 -37 -88 -67 -57 -50 -87 -14 -85 -78 -7 -70 -44 4 9 -91 -99 -12 -13 -83 -93 -43 -6 -23 -54 -80 -80 -11 -2 -35 -78 -12 -61 -74 -27 -36 -84 -27 -21 -80 -36 -58 -72 -53 -88 -28 -23 -35 -68 -14 -55 -21 -11 -41 -67 -17 -30 -72 9 -41 -89 -87 -31 -66 -30 -78 -14 -94 -69 5 -33 -26 -26 -20 -53 9 3 -31 -88 -57 -31 -88 -89 -79 -2 -23 -84 1 -74 -29 -30 -17 -98 1 -7 7 -53 -22 -99 -60 -63 -75 -80 -44 -25 -82 -2 7 -14 -84 -79 -28 -10 -93 -42 3 -66 -68 -66 -68 -19 -14 -74 5 -42 -65 -73 -68 -38 -61 -76 -32 -8 3 4 -71 -14 -99 -24 -92 -16 -34 -87 -70 -12 -25 -75 -80 -24 -59 -70 -90 -19 -9 -21 -81 -26 -61 -63 -48 -40 -63 -60 -74 -64 -50 -70 -75 -13 -4 -8 -80 -4 2 -72 -14 -8 -18 -45 -93 -44 -25 0 -99 -65 -25 -58 -30 -93 -64 4 -35 -8 -34 -69 -3 -28 -78 -43 8 -37 1 -51 -100 -24 -22 -76 -13 -18 -1 -29 -37 -46 -52 -26 -18 -51 -73 -49 1 -76 -73 -58 -4 -24 -56 -74 -74 -30 -61 0 -99 -16 -47 -7 -78 -49 -9 -24 -69 -29 -28 -100 -11 -40 -80 -82 -57 -80 -10 -84 -42 -36 -81 1 -16 -49 -19 -76 -9 -83 -54 -87 -8 -5 -88 -33 -66 -76 -6 -42 -96 -15 -9 -10 -67 -72 -99 10 -20 -23 -44 -36 -100 -48 -57 -8 -26 -41 -18 -47 -80 -49 2 -33 -59 -35 -86 -87 -14 -34 -71 -15 -36 -33 -7 -63 -4 7 -19 -63 -33 -53 -36 -45 -50 0 -27 -41 -51 -2 -10 -52 -60 -78 -89 2 -53 4 -66 -8 -77 -63 -65 -67 -67 -67 -8 -24 -63 -89 -61 -69 -89 -68 -100 -90 -40 -98 -21 -81 -4 -12 0 -92 -3 -88

its giving answer 923 while my code is giving 924.


#2

I am also getting the same issue…Can anyone tell me the corner cases that we have to consider while following bottom-up appproach.


#3

3 3
1 -3 3
0 -2 0
-3 -3 -3
you can try this testcase