|
|
There are 3 problems, which can be solved stupidly in two ternary searches: 1755 (this), 1633, 1874 Easy to solve with linear programming Just try over and over again. My AC-program has wa when I try to submit it again. The same code has wa-1, wa-5, wa-7, wa-22, wa-30, ac, again wa... input 1: 1 2 0 1 10 10 output 1: 10 5 input 2: 1 2 1 0 10 10 output 2: 5 10 input 3: 1 2 0 0 10 10 output 3: 10 10 Edited by author 17.12.2015 10:39 Thank you And it's really strange that in these three cases if I output 0 5 5 0 0 0 I will get a WA...., if I output the another answers I will get AC... why? |
|
|