Untitled
unknown
plain_text
a year ago
225 kB
4
Indexable
Never
Sky map You are making “sky map” to represent constellation (group of starts) in the sky. In each element, 1 means star, 0 means empty. And in a constellation, each start should have at least one connection with others via left/right/up/bottom. If two starts are located via diagonal, then the two stars are not connected (belong to different constellation.) How many constellations are in your sky map, and what is the number of starts in the greatest constellation? [Input] There can be more than one test case in the input. The first line has T, the number of test cases. Then the totally T test cases are provided in the following lines (T<=10) In each test case, the first line has an integer N(5 ≤ N ≤ 25), the size of map. The map is a square, and is represented as N x N matrix. For next N lines, each contains each raw of the matrix [Output] For each test case, you should print the number of constellation and the number of starts in the greatest constellation separated by blank. [I/O Example] Input 2 7 0 1 1 0 0 0 0 0 1 1 0 1 0 0 1 1 1 0 1 0 1 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 1 1 1 1 1 0 0 1 0 1 1 0 0 5 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 Output 4 8 1 3 5 5 1 0 0 0 0 0 1 1 1 0 1 1 0 0 0 1 0 1 1 1 0 0 1 0 1 9 0 0 1 1 1 1 1 1 1 0 0 1 0 0 0 0 1 1 1 0 1 0 1 0 0 0 1 1 1 1 1 1 0 1 0 1 0 0 1 0 0 1 1 0 0 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 1 0 1 0 1 0 0 1 0 1 0 1 1 1 0 0 1 1 1 1 17 1 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 1 1 1 1 0 0 0 1 1 0 0 1 1 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 1 0 0 0 0 0 1 0 0 1 0 0 0 0 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1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Laughing Bomb You are busy to promote a newly released film in a movie theater. The title is ‘Biochemical Laughing Bomb’ which is about terror. Guerrillas drop a biochemical laughing bomb in the middle of a city. Once exposed, you have to laugh all your life. The bomb will contaminate four people around it during 1 second, and another four around each of them during another one second. However, you won’t be contaminated if you are not in the adjacent four directions. as the below shows the location of the bomb and affected people, and shows contamination process in seconds and you can figure out that the whole city is contaminated in 8 seconds. In order to protect the city from the epidemic, create a program that figures out when the city will be contaminated by the bomb for the last. Time limit: 1 second (java: 2 seconds) [Input] Several test cases can be included in the inputs. T, the number of cases is given in the first row of the inputs. After that, the test cases as many as T (T ≤ 30) are given in a row. The row and column of the city, N and M are given by being separated with a blank on the first row of each test case. (1 ≤ N, M ≤ 100) The status within city is given by being separated with a blank from the second row to N number rows. 1 means people exist and 0 means people do not exist. The coordinate of the row and column on which the bomb fall is given by being separated with a blank on the last row. [Output] Output how long does it take to contaminate al people on the first row of each test case. [I/O Example] Input 2 7 8 0 0 1 1 0 0 0 1 1 1 1 0 1 0 0 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0 0 0 0 1 0 1 1 1 0 0 0 0 1 0 0 2 5 10 10 1 1 1 1 0 1 1 0 0 0 0 1 1 1 1 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 0 1 1 1 1 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 0 0 0 0 1 1 0 0 0 1 0 1 0 1 0 1 1 0 0 0 0 1 1 1 1 1 1 1 1 1 0 1 0 0 1 0 1 1 0 1 1 1 0 0 0 0 1 1 1 2 2 Output 8 21 10 10 10 1 1 1 1 0 1 1 0 0 0 0 1 1 1 1 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 0 1 1 1 1 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 0 0 0 0 1 1 0 0 0 1 0 1 0 1 0 1 1 0 0 0 0 1 1 1 1 1 1 1 1 1 0 1 0 0 1 0 1 1 0 1 1 1 0 0 0 0 1 1 1 2 2 15 10 0 0 0 0 0 1 0 0 1 1 0 1 0 1 0 1 0 1 0 0 1 1 0 0 1 0 1 0 1 0 1 1 1 1 1 0 1 1 0 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0 1 0 0 1 0 1 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 0 1 1 0 1 1 1 0 0 1 1 1 1 0 0 1 1 1 1 0 1 1 1 1 0 1 0 1 1 0 1 1 1 1 0 0 1 1 1 1 1 1 1 0 1 1 1 1 0 0 0 1 1 1 0 1 1 0 1 1 0 1 0 0 1 1 1 1 1 1 1 1 1 0 1 1 0 0 1 0 1 1 0 0 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 0 0 0 1 1 1 0 1 1 1 0 0 0 0 1 1 1 0 0 1 0 0 1 1 1 0 1 1 0 1 1 1 0 1 0 1 1 1 0 0 0 1 0 1 0 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 0 1 1 1 1 0 1 1 0 1 0 1 0 1 0 1 1 1 0 0 1 0 0 0 1 0 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 0 1 0 0 0 1 1 1 0 1 0 0 1 1 1 0 1 1 1 1 1 1 1 0 1 0 1 1 0 1 1 1 1 1 1 50 50 Capture Knight There is a mobile piece (a Knight) and a stationary piece on the N×M chessboard. The available moves of the mobile piece are the same as set out in the image below. You need to capture the stationary piece by moving the mobile piece with the minimum amount of moves. Write a program to find out the minimum number moves to catch a piece. [Input] Several test cases can be included in the inputs. T, the number of cases is given in the first row of the inputs. After that, the test cases as many as T are given in a row. N, the numbers of the rows and M, the number of columns of the chessboard are given in the first row of each test case. R & C is the location information of the attacking piece and S & K is the location of the defending pieces and are given in the row at the second line. However, the location of the uppermost end of the left end is (1, 1) Maximum value of N or M is 1000. [Output] Output the minimum number of movements to catch a defending piece at the first line of each test case. Print "Case #tn" before each answer where "tn" is test case number. [I/O Example] Input 2 9 9 3 5 2 8 20 20 2 3 7 9 Output Case #1 2 Case #2 5 50 9 9 2 2 4 4 20 20 2 3 7 9 5 5 1 1 2 2 522 55 292 23 84 6 176 361 110 244 118 191 870 435 352 166 93 238 67 192 23 108 16 179 63 521 7 397 45 182 136 738 100 613 46 351 599 504 401 52 561 216 620 639 412 330 185 323 767 206 659 191 710 26 745 467 681 447 392 382 601 607 332 467 53 249 593 604 271 182 35 231 787 404 193 168 121 121 537 793 487 328 354 665 42 685 7 281 6 15 37 105 28 23 35 21 506 367 316 319 340 350 67 606 37 226 23 44 718 586 255 252 517 359 824 283 735 262 734 236 304 452 62 99 228 16 431 259 236 256 262 252 83 550 4 439 8 134 423 358 331 78 222 232 89 663 84 518 35 489 158 309 25 182 66 99 331 732 147 83 228 603 637 772 83 616 263 671 98 384 1 86 52 146 500 549 104 124 383 504 245 800 51 545 224 82 530 310 55 260 499 122 796 736 784 715 422 49 830 141 304 126 540 115 188 216 167 200 77 95 877 833 103 417 586 434 78 814 31 476 45 547 718 205 183 49 264 72 1000 1000 792 263 984 381 1000 1000 916 535 918 910 1000 1000 471 862 103 836 1000 1000 305 86 952 411 1000 1000 687 39 56 237 1000 1000 238 685 477 979 1000 1000 50 647 35 902 1000 1000 375 265 305 481 1000 1000 178 33 150 91 #include <iostream> using namespace std; int queuex[1000]; int queuey[1000]; int fx, rx; int fy, ry; int n; int arr[30][30]; int dd[30][30]; int dem; void pushx(int m){ rx++; queuex[rx] = m; } int frontx(){ int temp; fx++; temp = queuex[fx]; fx--; return temp; } void popx(){ fx++; } bool emptyx(){ if(fx==rx) return true; return false; } void pushy(int m){ ry++; queuey[ry] = m; } int fronty(){ int temp; fy++; temp = queuey[fy]; fy--; return temp; } void popy(){ fy++; } bool emptyy(){ if(fy==ry) return true; return false; } void BFS(int i, int j){ fx = -1; rx = -1; fy = -1; ry = -1; pushx(i); pushy(j); dd[i][j] = 1; dem = 1; while(!emptyx() && !emptyy()){ int x = frontx(); popx(); int y = fronty(); popy(); if(x-1>=0 && arr[x-1][y] == 1 && dd[x-1][y] == 0){ pushx(x-1); pushy(y); dem++; dd[x-1][y] = 1; } if(x+1<n && arr[x+1][y] == 1 && dd[x+1][y] == 0){ pushx(x+1); pushy(y); dem++; dd[x+1][y] = 1; } if(y-1>=0 && arr[x][y-1] == 1 && dd[x][y-1] == 0){ pushx(x); pushy(y-1); dem++; dd[x][y-1] = 1; } if(y+1<n && arr[x][y+1] == 1 && dd[x][y+1] == 0){ pushx(x); pushy(y+1); dem++; dd[x][y+1] = 1; } } } int main(){ int t; cin >> t; for(int tc=1; tc<=t; tc++){ cin >> n; for(int i=0; i<n; i++){ for(int j=0; j<n; j++){ cin >> arr[i][j]; } } int dem1 = 0; int max = -1; for(int i=0; i<n; i++){ for(int j=0; j<n; j++){ dd[i][j] = 0; } } for(int i=0; i<n; i++){ for(int j=0; j<n; j++){ if(arr[i][j] == 1 && dd[i][j] == 0){ BFS(i, j); dem1++; if(dem>max){ max = dem; } } } } cout << dem1 << " " << max << endl; } return 0; } #include <iostream> using namespace std; int n; int arr[201][201]; int dR[4] = {0, -1, 0, 1}; int dC[4] = {-1, 0, 1, 0}; int dd[201][201]; int dem[201][201]; int queuex[40000], queuey[40000]; int fx, rx; int fy, ry; void pushx(int m){ rx++; queuex[rx] = m; } int frontx(){ int temp; fx++; temp = queuex[fx]; fx--; return temp; } void popx(){ fx++; } bool emptyx(){ if(fx==rx) return true; return false; } void pushy(int m){ ry++; queuey[ry] = m; } int fronty(){ int temp; fy++; temp = queuey[fy]; fy--; return temp; } void popy(){ fy++; } bool emptyy(){ if(fy==ry) return true; return false; } void BFS(int i, int j, int u, int v){ fx = -1, rx = -1; fy = -1, ry = -1; dd[i][j] = 1; pushx(i); pushy(j); while(!emptyx() && !emptyy()){ int x = frontx(); popx(); int y = fronty(); popy(); for(int k=0; k<4; k++){ int Rx = x + dR[k]; int Cy = y + dC[k]; if(Rx>=0 && Rx<n && Cy>=0 && Cy<n && arr[Rx][Cy]!=0 && dd[Rx][Cy] == 0){ pushx(Rx); pushy(Cy); dem[Rx][Cy] = dem[x][y] + 1; dd[Rx][Cy] = 1; if(Rx == u && Cy == v){ return; } } } } } int main(){ int t; //freopen("vao.txt", "r", stdin); cin >> t; for(int tc=1; tc<=t; tc++){ cin >> n; int cx, cy; for(int i=0; i<n; i++){ for(int j=0; j<n; j++){ cin >> arr[i][j]; if(arr[i][j] == 2){ cx=i; cy=j; } } } for(int i=0; i<n; i++){ for(int j=0; j<n; j++){ dem[i][j] = 0; dd[i][j] = 0; } } BFS(0, 0, cx, cy); int sum1 = dem[cx][cy]; for(int i=0; i<n; i++){ for(int j=0; j<n; j++){ dem[i][j] = 0; dd[i][j] = 0; } } BFS(cx, cy, n-1, n-1); int sum2 = dem[n-1][n-1]; if(sum1 == 0 || sum2 == 0 || arr[0][0] == 0 || arr[n-1][n-1] == 0){ cout << "-1" << endl; } else{ cout << sum1 + sum2 << endl; } } return 0; } #include <iostream> using namespace std; int n, m; int u, v; int arr[101][101]; int dR[4] = {0, -1, 0, 1}; int dC[4] = {-1, 0, 1, 0}; int dd[1001][1001]; int dem[1001][1001]; int queuex[1000002], queuey[1000002]; int fx, rx; int fy, ry; void pushx(int m){ rx++; queuex[rx] = m; } int frontx(){ int temp; fx++; temp = queuex[fx]; fx--; return temp; } void popx(){ fx++; } bool emptyx(){ if(fx==rx) return true; return false; } void pushy(int m){ ry++; queuey[ry] = m; } int fronty(){ int temp; fy++; temp = queuey[fy]; fy--; return temp; } void popy(){ fy++; } bool emptyy(){ if(fy==ry) return true; return false; } void BFS(int i, int j){ fx = -1, rx = -1; fy = -1, ry = -1; dd[i][j] = 1; pushx(i); pushy(j); while(!emptyx() && !emptyy()){ int x = frontx(); popx(); int y = fronty(); popy(); for(int k=0; k<4; k++){ int Rx = x + dR[k]; int Cy = y + dC[k]; if(Rx>=0 && Rx<n && Cy>=0 && Cy<m && dd[Rx][Cy] == 0 && arr[Rx][Cy] == 1){ pushx(Rx); pushy(Cy); dem[Rx][Cy] = dem[x][y] + 1; dd[Rx][Cy] = 1; } } } } int main(){ //freopen("vao.txt", "r", stdin); int t; cin >> t; for(int tc=1; tc<=t; tc++){ cin >> m >> n; for(int i=0; i<n; i++){ for(int j=0; j<m; j++){ cin >> arr[i][j]; } } cin >> v >> u; v--; u--; for(int i=0; i<n; i++){ for(int j=0; j<m; j++){ dd[i][j] = 0; dem[i][j] = 0; } } //cout << u << " " << v << endl; BFS(u, v); /*for(int i=0; i<n; i++){ for(int j=0; j<m; j++){ cout << dem[i][j] << " "; } cout << endl; }*/ int max = -1; for(int i=0; i<n; i++){ for(int j=0; j<m; j++){ if(dem[i][j] > max){ max = dem[i][j]; } } } cout << max + 1 << endl; } return 0; } #include <iostream> using namespace std; int n, m; int arr[1001][1001]; int dR[9] = {1, 1, 2, 2, -2, -2, -1, -1}; int dC[9] = {-2, 2, 1, -1, -1, 1, -2, 2}; int dd[1001][1001]; int dem[1001][1001]; int queuex[1000002], queuey[1000002]; int fx, rx; int fy, ry; void pushx(int m){ rx++; queuex[rx] = m; } int frontx(){ int temp; fx++; temp = queuex[fx]; fx--; return temp; } void popx(){ fx++; } bool emptyx(){ if(fx==rx) return true; return false; } void pushy(int m){ ry++; queuey[ry] = m; } int fronty(){ int temp; fy++; temp = queuey[fy]; fy--; return temp; } void popy(){ fy++; } bool emptyy(){ if(fy==ry) return true; return false; } void BFS(int i, int j, int u, int v){ fx = -1, rx = -1; fy = -1, ry = -1; dd[i][j] = 1; pushx(i); pushy(j); while(!emptyx() && !emptyy()){ int x = frontx(); popx(); int y = fronty(); popy(); for(int k=0; k<8; k++){ int Rx = x + dR[k]; int Cy = y + dC[k]; if(Rx>=1 && Rx<=n && Cy>=1 && Cy<=m && dd[Rx][Cy] == 0){ pushx(Rx); pushy(Cy); dem[Rx][Cy] = dem[x][y] + 1; dd[Rx][Cy] = 1; if(Rx == u && Cy == v){ return; } } } } } int main(){ int t; //freopen("vao.txt", "r", stdin); cin >> t; for(int tc=1; tc<=t; tc++){ cin >> n >> m; int x, y; int z, t; cin >> x >> y >> z >> t; for(int i=1; i<=n; i++){ for(int j=1; j<=m; j++){ dd[i][j] = 0; dem[i][j] = 0; } } BFS(x, y, z, t); cout << "Case #" << tc << endl; cout << dem[z][t] << endl; } return 0; }