11824 - A Minimum Land Price
Posted: Thu Aug 28, 2014 12:02 am
it's a simple code but still I'm getting wrong ans. pls help..!
here's my code...

here's my code...
Code: Select all
Got AC
Code: Select all
Got AC
Code: Select all
1
9999999
1000000
0
Code: Select all
Too expensive
Code: Select all
-2147483648
Code: Select all
for(j=i-1, e=1; j>0 && ans<=5000000; j--,e++)
Code: Select all
1
7
2
10
0
Code: Select all
136
Code: Select all
134