UVa 10284: just simulate all cases
UVa 10189: just simulation, std used
UVa 10279: simulation, just index control