/* [NWERC'07] TOWER PARKING by: Jan Kuipers O(L^2*W^2) solution to confirm time limits */ using namespace std; #include #include #include const int Telev = 10; const int Tbelt = 5; int main () { int runs; cin>>runs; while (runs--) { int Y,X; cin>>Y>>X; vector > car(Y, vector(X)); for (int y=0; y>car[y][x]; int res=0; for (int n=1; n