// moutainwalking
#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
int n, id, front, rear, ok_min, ok_max, A, B;
int arr[101][101], check[112], map[112], vs[101][101];
int queue_i[9000000], queue_j[9000000];
int X[9] = {-1, 1, 0, 0}, Y[9] = {0, 0, -1, 1};
void set(int vs_, int check_){
if(vs_){
for(int i = 1; i <= n; i++)
for(int j = 1; j <= n; j++)
vs[i][j] = 0;
}
if(check_){
for(int i = 0; i <= 110; i++){
check[i] = 0;
}
}
}
void sort(){
for(int i = 0; i < id; i++){
for(int j = i+1; j < id; j++){
if(map[j] < map[i]){
swap(map[i], map[j]);
}
}
}
}
void Push(int x, int y){
queue_i[rear] = x, queue_j[rear] = y;
rear++;
}
void bfs(int minn, int maxx){
if(arr[1][1] == minn)
ok_min = 1;
if(arr[1][1] == maxx)
ok_max = 1;
front = 0, rear = 0;
vs[1][1] = 1;
Push(1, 1);
while(rear != front){
int g = queue_i[front], h = queue_j[front];
front++;
for(int i = 0; i < 4; i++){
int a = g + X[i], b = h + Y[i];
if(a >= 1 && a <= n && b >= 1 && b <= n && !vs[a][b] && (arr[a][b] >= minn && arr[a][b] <= maxx)){
if(arr[a][b] == minn)
ok_min = 1;
if(arr[a][b] == maxx)
ok_max = 1;
vs[a][b] = 1;
Push(a, b);
}
}
}
}
int main(){
freopen("ip.txt", "r", stdin);
int T;
cin >> T;
for(int tc = 1; tc <= T; tc ++){
cin >> n;
id = 0;
set(0, 1);
for(int i = 1; i <= n; i++){
for(int j = 1; j <= n; j++){
cin >> arr[i][j];
if(check[arr[i][j]] == 0){
check[arr[i][j]] = 1;
map[id] = arr[i][j];
id++;
}
}
}
sort();
A = min(arr[1][1], arr[n][n]);
B = arr[1][1] + arr[n][n] - A;
int ans = map[id-1] - map[0];
for(int i = 0; i < id; i++){
if(map[i] <= A){
int minn = map[i];
for(int j = i+1; j < id ; j++){
if(map[j] >= B){
set(1, 0);
ok_min = 0, ok_max = 0;
if(ans > map[j] - minn){
bfs(minn, map[j]);
if(vs[n][n]==1 && ok_min && ok_max){
ans = min(ans, map[j] - minn);
}
}
}
}
}
}
cout << "#" << tc <<" " << ans << endl;
}
return 0;
}
//ip
5
5
1 1 3 6 8
1 2 2 5 5
4 4 0 3 3
8 0 2 3 4
4 3 0 2 1
5
99 85 38 22 55
89 28 33 3 65
99 20 14 67 90
36 27 28 77 31
50 45 12 9 14
2
92 83
19 91
5
61 49 32 34 28
100 65 0 10 89
34 99 40 86 4
10 97 49 21 30
95 33 79 51 65
2
17 60
94 27
//pathfindingpuble
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <iostream>
using namespace std;
int n, rear, front;
int arr[21][21], vs[21][21], queue_i[9000000], queue_j[9000000];
int X[4] = {-1, 1, 0, 0}, Y[4]={0, 0, -1, 1};
void set(){
for(int i = 0; i < n; i++){
for(int j = 0; j < n; j++){
vs[i][j] = 0;
}
}
}
void Push(int a, int b){
queue_i[rear] = a;
queue_j[rear] = b;
rear++;
}
void bfs(int x, int y){
front = 0, rear = 0;
Push(x, y);
vs[x][y] = 1;
while(rear != front){
int g = queue_i[front], h = queue_j[front];
front++;
for(int i = 0; i < 4; i++){
int a = g + X[i]*arr[g][h], b = h + Y[i]*arr[g][h];
if(a >= 0 && a < n && b >= 0 && b < n && !vs[a][b]){
vs[a][b] = 1;
Push(a, b);
}
}
}
}
int main(){
ios::sync_with_stdio(false);
freopen("ip.txt", "r", stdin);
int tc, 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];
}
}
set();
bfs(0, 0);
if(vs[n-1][n-1])
cout << "YES" << endl;
else
cout << "NO" << endl;
}
return 0;
}
//ip
2
8 1 8 6 1 2 5 3 7 9
6 0 3 1 3 8 7 0 4 6
7 4 6 2 2 4 3 9 8 3
7 1 4 0 4 2 3 1 6 6
1 9 4 6 2 4 2 2 3 4
9 5 4 2 5 0 4 8 3 3
3 0 4 3 7 7 5 4 4 4
5 6 8 9 3 7 1 2 9 0
4 0 3 1 0 5 0 5 6 6
9 7 6 5 5 5 3 9 2 2
10
6 4 4 4 1 8 1 5 2 9
0 5 7 2 8 8 0 3 3 5
9 7 8 0 7 2 3 9 5 6
6 6 2 4 6 4 1 3 2 1
4 4 2 0 5 9 7 7 3 3
9 2 7 2 9 1 7 6 0 9
6 3 5 0 8 2 4 2 0 7
5 3 1 5 4 9 3 0 6 7
0 4 2 6 9 8 1 3 6 3
3 2 3 0 0 3 8 1 8 5
//pizza
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <iostream>
using namespace std;
int K, R, M, N, res;
int X[21], Y[21], Xs[101], Ys[101], S[101], check[21], D[21][101], sum[101], vs[101];
int aBs(int a, int b){
if(a > b)
return a-b;
return b-a;
}
void set(){
for(int j = 1; j <= N; j++){
vs[j] = 0;
}
}
void solve(){
for(int i = 1; i <= M; i++){
for(int j = 1; j <= N; j++){
int l = 0;
l = (aBs(X[i], Xs[j]) + aBs(Y[i], Ys[j]))*(aBs(X[i], Xs[j]) + aBs(Y[i], Ys[j]));
if(l <= R*R){
D[i][j] = 1;
}
}
}
}
void bt(int k, int m){
if(k == K+1){
int Sum = 0;
set();
for(int i = 1; i <= M; i++){
for(int j = 1; j <= N; j++){
if(sum[i] && D[i][j] == 1 && !vs[j]){
Sum += S[j];
vs[j] = 1;
}
}
}
res = max(Sum, res);
return;
}
if(m == M+1){
return;
}
for(int j = 0; j <= 1; j++){
if(j == 0){
bt(k, m+1);
}
else{
sum[m] = 1;
bt(k+1, m+1);
sum[m] = 0;
}
}
}
int main(){
ios::sync_with_stdio(false);
freopen("ip.txt", "r", stdin);
int tc, T;
cin >> T;
for(int tc = 1; tc <= T; tc++){
cin >> K >> R>> M;
for(int i = 1; i <= M; i++){
cin >> X[i] >> Y[i];
check[i] = 0;
}
cin >> N;
for(int i = 1; i <= N; i++){
int x, y, s;
cin >> Xs[i] >> Ys[i] >> S[i];
}
for(int i = 1; i <= M; i++){
sum[i] = 0;
for(int j = 1; j <= N; j++){
D[i][j] = 0;
}
}
solve();
res = 0;
bt(1, 1);
cout << "#" << tc << " " << res << endl;
}
return 0;
}
//ip
3
2 2
3
1 0
4 0
7 0
4
0 0 1
3 0 7
5 0 9
8 0 1
2 2
3
-2 0
0 1
3 0
8
-3 1 1
-3 0 1
-3 -1 1
-2 -1 1
0 0 3
0 2 1
2 1 3
4 0 2
3 3
5
0 0
1 6
2 3
6 6
7 2
8
0 1 2
0 5 3
0 6 1
1 0 1
3 2 3
3 6 2
6 2 4
8 6 3
//quacau
#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
typedef long long int lli;
int n, ans, front, rear, check;
int arr[15][6], vs[15][6], gl[15][6], queue_i[9000000], queue_j[9000000];
int Xd[4] = {1, 1, 1}, Yd[4]={-1, 0, 1};
void set(){
for(int i = 1; i<= n; i++)
for(int j = 1; j <= 5; j++){
vs[i][j] = -1;
gl[i][j] = 0;
}
}
void search(){
for(int i = 1; i<= 5; i++){
if(vs[n][i] != -1){
check = 1;
ans = max(ans, gl[n][i]);
}
}
}
void Push(int a, int b){
queue_i[rear] = a;
queue_j[rear] = b;
rear++;
}
void bfs(int x, int y, int cnt){
set();
vs[x][y] = 1;
front = 0, rear = 0;
queue_i[rear] = x;
queue_j[rear] = y;
rear ++;
int dem = 1;
while(rear!=front){
int g = queue_i[front], h = queue_j[front];
front++;
for(int i = 0; i < 3; i++){
int a = g+Xd[i], b = h+Yd[i];
if(a>=1 && a<=n && b>=1 && b<=5){
if(vs[a][b] == -1){
if(arr[a][b] == 1 || arr[a][b] == 0){
vs[a][b] = 1;
Push(a, b);
}
if(arr[a][b]==2){
if( dem == cnt && cnt!=0){
gl[a][b] = gl[g][h];
vs[a][b] = 1;
Push(a, b);
cnt = -1;
}
else dem++;
}
else {
if(arr[a][b]==1)
gl[a][b] = gl[g][h]+1;
else
gl[a][b] = gl[g][h];
}
}
else{
if(arr[a][b]==1 && gl[a][b] < gl[g][h]+1){
gl[a][b] = gl[g][h]+1;
Push(a, b);
}
else if((arr[a][b]==0 || arr[a][b]==2) && gl[a][b] < gl[g][h]){
gl[a][b] = gl[g][h];
Push(a, b);
}
}
}
}
}
}
int main(){
ios::sync_with_stdio(false);
freopen("ip.txt", "r", stdin);
int T;
cin >> T;
for(int tc =1; tc <= T; tc++){
cin >> n;
int cnt = 0;
for(int i = n; i >= 1; i--){
for(int j = 1; j <= 5; j++){
cin >> arr[i][j];
if( arr[i][j] == 2) cnt++;
}
}
int res = -1;
for (int i=1;i<=n;i++){
for (int j=1;j<=5;j++){
if (arr[i][j] == 2){
arr[i][j] = 0;
ans = 0;
check = 0;
bfs(0, 3,100000);
search();
if(check)
res = max(res, ans);
arr[i][j] = 2;
}
}
}
/*for(int i = 0; i <= cnt;i++){
ans = 0;
check = 0;
bfs(0, 3, i);
search();
if(check)
res = max(res, ans);
}*/
cout << "#" << tc <<" " << res << endl;
}
return 0;
}
//ip
50
7
1 0 1 1 2
2 1 0 0 0
0 0 2 1 1
2 2 0 0 0
1 0 2 2 2
0 1 0 1 0
0 2 1 0 1
7
1 2 0 1 0
0 0 2 0 1
0 1 0 2 1
1 0 0 0 1
0 0 0 2 2
2 0 1 0 1
0 1 2 2 0
10
2 2 2 2 0
1 2 0 0 2
0 2 0 0 0
2 2 0 2 2
0 2 2 2 0
0 0 0 0 0
1 0 0 0 2
0 0 0 0 0
2 2 0 2 1
0 2 2 2 0
9
0 2 1 1 2
0 2 2 2 2
2 2 2 1 0
0 0 2 0 2
0 2 2 1 0
1 0 2 2 2
2 2 0 2 0
2 2 2 0 2
0 0 2 0 0
9
2 2 1 1 1
1 1 2 0 1
0 0 2 0 0
0 2 1 2 0
0 2 1 1 0
2 0 1 1 2
0 2 0 0 2
1 0 2 2 2
1 1 0 0 1
9
1 1 0 1 1
0 0 0 0 0
0 1 0 0 2
2 1 1 1 2
2 2 1 1 0
0 1 0 2 2
1 2 0 1 0
0 1 0 0 2
1 2 1 0 0
9
1 1 1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 2 1
2 0 0 0 1
1 0 2 0 1
12
2 2 0 0 0
2 0 0 0 1
1 0 0 0 0
1 0 1 1 0
1 1 1 1 2
0 1 2 2 2
1 0 2 0 1
0 1 2 0 1
2 0 0 0 2
0 1 2 2 1
0 2 2 0 1
0 1 0 0 0
12
2 1 1 1 2
2 1 0 0 1
1 1 1 1 0
2 1 0 0 0
0 1 2 0 0
1 1 0 1 2
2 1 2 0 2
2 1 1 1 0
1 1 1 2 1
2 1 1 2 1
2 1 2 2 1
0 1 0 2 0
4
1 2 2 2 2
0 2 2 2 0
0 2 0 2 1
0 2 0 2 0
4
2 0 0 0 1
2 2 2 2 2
1 0 2 0 2
2 0 2 1 2
4
0 2 2 1 1
0 2 1 0 1
1 0 0 1 2
1 0 2 0 1
4
2 1 0 0 0
0 2 2 2 0
1 0 2 0 1
1 2 2 1 1
4
0 2 0 1 0
1 1 1 2 2
1 1 2 1 1
2 2 1 1 1
//quanma
#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
typedef long long int lli;
int n, m, cnt, kq;
int arr[101][101], vs[101][101], D[101][101], row[101], col[101], check[101], queue_i[9000000], queue_j[9000000];
int Xd[8] = {-1, 1, -1, 1, -2, -2, 2, 2}, Yd[8]={-2, -2, 2, 2, -1, 1, -1, 1};
void set(){
for(int i = 0; i< n; i++){
for(int j = 0; j < m; j++){
vs[i][j] = 0;
}
}
}
void bfs(int x, int y){
set();
vs[x][y] = 1;
int front = 0, rear = 0;
queue_i[rear] = x; queue_j[rear] = y;
rear ++;
while(rear!=front){
int g = queue_i[front], h = queue_j[front];
front++;
for(int i = 0; i < 8; i++){
int a = g+Xd[i], b = h+Yd[i];
if(a>=0 && a<n && b>=0 && b<m && !vs[a][b]){
vs[a][b] = vs[g][h]+1;
queue_i[rear] = a;
queue_j[rear] = b;
rear++;
}
}
}
}
void backTrack(int k, int qd, int x){
if(qd >= kq){
return;
}
if(k==cnt){
kq = min(kq, qd);
return;
}
for(int i = 1; i < cnt; i++){
if(check[i]==0){
check[i] = 1;
backTrack(k+1, qd+D[x][i], i);
check[i] = 0;
}
}
}
int main(){
ios::sync_with_stdio(false);
freopen("ip.txt", "r", stdin);
int t;
cin >> t;
for(int tc =1; tc <= t; tc++){
cin >> n >> m;
cnt = 1;
for(int i = 0; i < n; i++){
for(int j = 0; j < m ; j++){
cin >> arr[i][j];
if( arr[i][j] == 1){
row[cnt] = i;
col[cnt] = j;
cnt++;
}
if( arr[i][j] == 3){
row[0] = i;
col[0] = j;
}
}
}
cout << "Case #" << tc << endl;
for(int i = 0; i < cnt; i++){
bfs(row[i], col[i]);
for(int j = 0; j < cnt; j++){
D[i][j] = vs[row[j]][col[j]]-1;
}
}
kq = 100000;
for(int i = 0; i < cnt; i++){
check[i] = 0;
}
backTrack(1, 0, 0);
cout << kq << endl;
}
return 0;
}
//ip
2
5 7
0 0 0 0 0 0 0
0 3 0 0 0 0 0
0 0 0 1 0 0 0
0 0 0 0 0 1 0
0 0 0 1 0 0 0
10 10
1 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1 0 0
0 1 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 3 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 1
//quantuong
#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
typedef long long int lli;
int n, m, p, q, s, t, res;
int arr[201][201], vs[201][201], queue_i[9000000], queue_j[9000000];
char h[201][201];
int Xd[4] = {-1, 1, -1, 1}, Yd[4]={1, 1, -1, -1};
void set(){
for(int i = 1; i<= n; i++)
for(int j = 1; j <= n; j++)
vs[i][j] = -1;
}
void bfs(int x, int y){
set();
vs[x][y] = 0;
int front = 0, rear = 0;
queue_i[rear] = x; queue_j[rear] = y;
rear ++;
while(rear!=front){
int g = queue_i[front], h_ = queue_j[front];
front++;
for(int i = 0; i < 4; i++){
int a = g+Xd[i], b = h_+Yd[i];
while(true && arr[a][b]!=1){
if(a>=1 && a<=n && b>=1 && b<=n){
int sum = vs[g][h_]+1;
if(vs[a][b]==-1 || vs[a][b] > sum){
vs[a][b] = sum;
queue_i[rear] = a;
queue_j[rear] = b;
rear++;
}
a+=Xd[i]; b+=Yd[i];
}
else
break;
}
}
}
}
int main(){
ios::sync_with_stdio(false);
freopen("ip.txt", "r", stdin);
int T;
cin >> T;
for(int tc =1; tc <= T; tc++){
cin >> n >> m >> p >> q >> s >> t;
for(int i = 1; i<= n; i++){
for(int j = 1; j <= n; j++){
arr[i][j] = 0;
}
}
if(m > 0){
for(int j = 1; j <= m; j++){
int a, b; cin >> a >> b;
arr[a][b] = 1;
}
}
bfs(p, q);
if(vs[s][t]==-1){
cout << -1 << endl;
}
else
cout << vs[s][t] << endl;
}
return 0;
}
//ip
15
5 5 5 5 5 3
1 2
1 5
2 2
4 2
4 3
8 4 2 5 5 4
3 6
4 3
4 5
6 3
10 5 6 5 1 8
2 9
5 6
6 7
7 4
8 7
12 0 3 4 10 3
14 7 6 1 7 14
10 3
2 9
4 12
8 3
5 2
6 3
12 3
16 7 4 13 16 15
6 13
5 12
3 14
9 8
11 16
3 12
6 15
17 9 12 14 15 7
14 16
11 13
13 13
10 16
11 15
15 10
15 13
16 2
17 9
18 10 12 14 3 1
11 13
11 15
14 16
4 13
6 6
13 15
13 12
11 4
10 10
17 6
20 4 19 13 15 5
20 14
18 14
18 12
19 10
20 7 15 9 2 14
6 18
11 5
17 11
14 18
14 8
16 8
14 10
40 10 38 16 36 4
40 18
37 15
39 15
36 18
39 17
35 17
27 17
29 9
31 9
38 32
80 20 25 15 19 65
27 17
24 14
26 14
24 16
25 17
27 10
30 19
38 13
41 31
47 37
47 79
49 20
50 35
51 51
60 80
68 1
69 9
71 50
72 27
79 42
100 30 25 35 90 48
27 37
24 34
26 34
27 37
23 37
18 57
20 11
23 89
29 24
29 33
31 57
36 13
41 87
44 37
44 84
46 12
50 10
51 9
54 81
58 69
64 74
66 39
78 31
80 81
82 22
85 43
87 26
89 50
94 99
99 67
120 50 28 99 68 77
2 68
3 31
3 58
4 1
6 60
11 63
15 83
16 30
23 4
23 90
28 81
30 37
35 25
36 43
37 69
37 108
39 3
45 31
46 109
46 118
47 91
51 106
52 23
55 58
56 102
59 12
59 68
63 44
64 67
65 8
65 80
68 32
72 98
73 75
78 111
82 95
85 38
85 120
86 117
88 9
88 116
92 58
102 81
104 19
104 103
107 27
116 55
116 66
117 51
120 90
200 0 30 148 173 79
//robot
#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
typedef long long int lli;
int n ,m, kq;
int arr[101][101], vs[101][101], D[11][11], queue_i[10005], queue_j[10005];
int Xd[4] = {1,-1,0,0}, Yd[4]={0,0,1,-1};
int row[11], col[11];
int cnt;
int check[11];
void set(){
for(int i = 0; i< n; i++){
for(int j = 0; j < m; j++){
vs[i][j] = 0;
}
}
}
void bfs(int x, int y){
set();
int front = 0, rear = 0;
vs[x][y] = 1;
queue_i[rear] = x; queue_j[rear] = y;
rear++;
while (front != rear){
int g = queue_i[front], h = queue_j[front];
front++;
for(int i = 0; i< 4; i++){
int X = g + Xd[i], Y = h + Yd[i];
if(X >= 0 && X < n && Y >= 0 && Y < m && !vs[X][Y] && arr[X][Y] != 2) {
queue_i[rear] = X;
queue_j[rear] = Y;
rear++;
vs[X][Y]= vs[g][h] + 1;
}
}
}
}
void backTrack(int k, int qd, int vb) {
if(qd>=kq){
return;
}
if(k==cnt){
kq = min(kq, qd);
return;
}
for(int i = 1; i < cnt; i++){
if(check[i]==0) {
check[i] = 1;
backTrack(k+1, qd + D[vb][i], i);
check[i] = 0;
}
}
}
int main(){
freopen("ip.txt", "r", stdin);
int t;
cin >> t;
for(int tc =1; tc <= t; tc++){
cin >> n >> m;
cnt = 1;
for(int i = 0; i< n; i++){
for(int j = 0; j < m; j++){
cin>> arr[i][j];
if(arr[i][j] ==1){
row[cnt] = i;
col[cnt] = j;
cnt++;
}
if(arr[i][j] ==3){
row[0] = i;
col[0] = j;
}
}
}
cout <<"Case #"<<tc<<endl;
bool flag = true;
for(int i = 0; i < cnt && flag; i++) {
bfs(row[i], col[i]);
for(int j = 0; j < cnt; j++){
if(vs[row[j]][col[j]]==0){
cout << -1 << endl;
flag = false;
break;
}
D[i][j] = vs[row[j]][col[j]]-1;
}
}
if (!flag)
continue;
kq = 100000;
for(int i = 1; i<cnt; i++)
check[i] = 0;
backTrack(1, 0, 0);
cout << kq<<endl;
}
return 0;
}
//ip
1
5 7
0 0 0 0 0 0 0
0 3 0 0 0 1 0
0 0 0 0 0 0 0
0 1 0 0 0 1 0
0 0 0 0 0 0 0
//score
#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
int s, n, gs, res;
int arr[30][30], a[30];
void backtrack(int k){
if(k == n+1){
int tong = a[n];
int check = 1;
for(int j = 1; j< n; j++){
if(a[j] > a[j+1]){
check = 0; break;
tong+=a[j];
}
}
if(check){
if(tong==s)
res++;
}
return;
}
for(int i = 1; i <= gs; i++){
a[k] = arr[i][k];
backtrack(k+1);
}
}
int main(){
ios::sync_with_stdio(false);
freopen("ip.txt", "r", stdin);
int t;
cin >> t;
for(int tc =1; tc <= t; tc++){
cin >> s >> n >> gs;
for(int i = 1; i <= gs; i++){
for(int j = 1; j <= n; j++){
a[i] = 0;
cin >> arr[i][j];
}
}
res = 0;
backtrack(1);
if(res == 0) res = -1;
cout << "Case " << tc <<endl << res << endl;
}
return 0;
}
//ip
2
100 3 2
30 20 40
50 30 50
100 2 3
1 1
2 2
3 3
//tietkiemdien
#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
int N, K, res;
int a[101];
void bt(int k, int Kk, int b[101]){
int sum = 0;
for(int i = 1; i <= N; i++){
if( b[i] == 0) sum ++;
}
res = max(res, sum);
if(k == 4){
return;
}
if(Kk == K+1){
return;
}
//for(int z = 1; z <= K; z++){
for(int j = 0; j <= 1; j++){
if(j==0){
bt(k, Kk + 1, b);
}
else{
for(int i = 0; i <= N && ((Kk+1)*i+Kk) <= N; i++){
int x = (Kk+1)*i+Kk;
b[x] = 1 - b[x];
}
bt(k+1, Kk + 1, b);
for(int i = 0; i <= N && ((Kk+1)*i+Kk) <= N; i++){
int x = (Kk+1)*i+Kk;
b[x] = 1 - b[x];
}
}
}
//}
}
int main(){
freopen("ip.txt", "r", stdin);
int T;
cin >> T;
for(int tc = 1; tc <= T; tc ++){
cin >> N >> K;
res = 0;
int b[101];
for(int i = 1; i <= N; i++){
cin >> a[i];
b[i] = a[i];
if( a[i] == 0) res ++;
}
bt(1, 1, b);
cout << "#" << tc << " " << res << endl;
}
return 0;
}
//ip
500
100 9
0 0 1 0 1 1 0 1 0 0 1 1 1 1 0 1 1 1 0 1 1 1 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 1 1 0 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 1 1 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 0 0 0 1 1 1 1 1 0 0 0 0 1 0 1 0 1 1 0 1 0 1 0 1 1 1 0
96 5
0 1 1 1 1 1 1 1 1 0 0 0 1 0 0 1 1 0 1 1 1 0 1 1 1 0 0 0 0 0 1 0 0 0 1 0 1 1 0 1 0 1 1 1 0 1 0 0 1 1 0 1 1 1 1 1 0 1 1 1 0 1 1 1 0 1 1 1 0 0 1 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1 0 1 1 0 0 1 0 1
89 3
1 1 1 1 0 0 1 0 0 0 0 1 1 0 1 0 0 1 1 1 0 1 1 1 0 0 1 1 0 0 1 1 1 0 1 1 0 1 1 0 1 1 1 0 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 0 0 1 1 0 1 1 1 1 1 0 0 1 1 0 1 1 0 0 0 0 1 1 0 0 0 0 1
14 3
1 1 0 1 0 1 0 0 1 1 1 0 1 0
84 6
0 0 0 0 1 1 0 1 1 0 0 1 0 0 1 0 0 0 0 0 1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 1 0 0 1 1 1 0 1 1 1 0 1 1 1 0 1 0 1 0 1 0 0 0 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 1 0 0 1 0 0 0 0 1 0 1 1 1 0 0 1 0 0 0 1 0 1 0 1
68 8
0 1 0 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 1 1 1 1 0 1 1 1 0 1 0 1 1 1 1 0 1 0 0 1 0 1 0 0 0 0 1 1 0 0 0 1 1 0 0 1 1 0 1 0 1 0 0 0 0 1 1 1 1 0
30 5
1 1 1 1 1 0 0 0 1 1 1 1 0 0 1 0 1 0 1 1 0 1 0 1 0 1 0 0 1 0
65 8
1 0 1 0 0 1 1 0 1 0 1 1 1 1 1 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 0 1 1 0 0 1 1 1 1 1 0 1 1 0 1 0 1 1 1 0 1 0 0 1 1 1 1 1 1 0 0 1
14 4
1 1 0 0 0 0 0 0 0 0 0 0 1 1
58 4
1 1 1 1 0 1 0 0 1 1 0 0 0 0 0 1 0 0 1 0 0 1 1 0 1 1 1 1 0 0 1 1 1 1 0 0 1 1 1 1 1 1 1 0 1 1 1 1 0 0 0 0 1 1 1 0 0 1
//validatethemaze
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <iostream>
using namespace std;
int n, m, sx, sy, ex, ey, front, rear;
char arr[21][21], vs[21][21];
int queue_i[9000000], queue_j[9000000];
int X[4] = {-1, 1, 0, 0}, Y[4] = {0, 0, -1, 1};
void Push(int x, int y){
queue_i[rear] = x, queue_j[rear] = y;
rear++;
}
void bfs(int x, int y){
front = 0, rear = 0;
Push(x, y);
vs[x][y] = 1;
while(rear != front){
int g = queue_i[front], h = queue_j[front];
front++;
for(int i = 0; i < 4; i++){
int a = g + X[i], b = h + Y[i];
if(a >= 0 && a < n && b >= 0 && b < m && arr[a][b] == '.' && !vs[a][b]){
vs[a][b] = 1;
Push(a, b);
if(vs[ex][ey] == 1){
break;
}
}
}
}
}
int main(){
ios::sync_with_stdio(false);
freopen("ip.txt", "r", stdin);
int tc, T;
cin >> T;
for(int tc = 1; tc <= T; tc++){
cin >> n >> m;
int sum = 0, stt = 0;
for(int i = 0; i < n; i++){
char s[21];
cin >> s;
for(int j = 0; j < m; j++){
arr[i][j] = s[j];
vs[i][j] = 0;
if((i == 0 || i == n-1 || j == 0 || j == m-1) && s[j] == '.'){
if(stt==0){
stt++;
sx = i, sy = j;
}
else{
ex = i, ey = j;
}
sum ++;
}
}
}
cout << "#" << tc <<" ";
if(sum !=2){
cout << "invalid" << endl;
continue;
}
bfs(sx, sy);
if(vs[ex][ey]){
cout << "valid" << endl;
}
else
cout << "invalid" << endl;
for(int i = 0; i < n; i++){
for(int j = 0; j < m; j++){
if(arr[i][j]=='.')
cout << 0 <<" " ;
else
cout << 1 <<" " ;
}
cout << endl;
}
}
return 0;
}
//ip
1
13 20
######.#############
#......###..##...#.#
#.#.##.#....##..####
#.#..###.##...##.#.#
#..#.###..#.#....###
##...#...#.....##.##
##.##..#..#...#.#..#
##....###...###.##.#
#..###.#........##.#
###.#.....#...#..#.#
#...####.#####..####
#..#.#..##...##..#.#
################.###
//visitdepartment
#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include<stdio.h>
using namespace std;
typedef long long int lli;
int n, e, K, t;
float arr[101][101], res[101][101];
int main(){
ios::sync_with_stdio(false);
freopen("ip.txt", "r", stdin);
for(int tc =1; tc <= 10; tc++){
cin >> n >> e >> K >> t;
for(int i = 0; i <= 100; i++){
for(int j = 0; j <= 100; j++){
arr[i][j] = 0;
res[i][j] = 0;
}
}
for(int i = 1; i <= e; i++){
int a, b;
cin >> a >> b;
cin >> arr[a][b];
}
res[0][1] = 1;
for(int i = 1; i <= t/10; i++){
for(int j = 1; j <= n; j++){
for(int k = 1; k <= n; k++){
if(arr[j][k] > 0){
res[i][k] += res[i-1][j] * arr[j][k];
}
}
}
}
float jang = 0, kang = 0;
int ja = 0, ka = 0 ;
for(int i = 1; i <= n; i++){
if(res[t/10][i] > jang) {
jang = max(jang, res[t/10][i]);
ja = i;
}
if(res[(t-K)/10][i] > kang) {
kang = max(kang, res[(t-K)/10][i]);
ka = i;
}
}
printf("#");
printf("%d %d %0.6f %d %0.6f \n", tc, ja, jang, ka, kang);
}
return 0;
}
//ip
10 10 0 9
1 2 1 2 3 1 3 4 1 4 5 1 5 6 1 6 7 1 7 8 1 8 9 1 9 10 1 10 1 1
20 20 130 709
1 2 1 2 3 1 3 4 1 4 5 1 5 6 1 6 7 1 7 8 1 8 9 1 9 10 1 10 11 1 11 12 1 12 13 1 13 14 1 14 15 1 15 16 1 16 17 1 17 18 1 18 19 1 19 20 1 20 1 1
10 18 0 100
1 1 0.33 1 2 0.67 2 2 0.82 2 3 0.18 3 3 0.52 3 4 0.48 4 4 0.83 4 5 0.17 5 5 0.0 5 6 1.0 6 6 0.15 6 7 0.85 7 7 0.4 7 8 0.6 8 8 0.03 8 9 0.97 9 9 0.76 9 10 0.24
10 19 249 1000
1 1 0.81 1 2 0.19 2 2 0.96 2 3 0.04 3 3 0.32 3 4 0.68 4 4 0.61 4 5 0.39 5 5 0.72 5 6 0.28 6 6 0.41 6 7 0.59 7 7 0.51 7 8 0.49 8 8 0.82 8 9 0.18 9 9 0.77 9 10 0.23 10 10 1
30 58 999 1000
8 8 0.14 21 21 0.74 2 2 0.58 1 2 0.26 3 4 0.02 12 13 0.43 6 7 0.52 16 17 0.85 20 20 0.87 25 25 0.36 2 3 0.42 26 27 0.73 20 21 0.13 4 5 0.48 12 12 0.57 9 10 0.81 6 6 0.48 1 1 0.74 3 3 0.98 28 28 0.69 23 23 0.05 10 11 0.86 10 10 0.14 25 26 0.64 21 22 0.26 5 5 0.37 28 29 0.31 17 18 0.28 11 11 0.95 15 15 0.48 26 26 0.27 17 17 0.72 18 18 0.89 11 12 0.05 13 14 0.8 9 9 0.19 8 9 0.86 19 20 0.97 15 16 0.52 24 24 0.15 13 13 0.2 29 30 0.25 22 22 0.82 18 19 0.11 27 27 0.42 16 16 0.15 4 4 0.52 27 28 0.58 22 23 0.18 29 29 0.75 19 19 0.03 7 7 0.81 24 25 0.85 14 15 0.8 23 24 0.95 7 8 0.19 5 6 0.63 14 14 0.2
50 99 741 1000
1 2 0.34 20 21 0.3 39 40 0.35 25 25 0.13 40 41 0.28 43 43 0.43 40 40 0.72 35 36 0.43 36 36 0.0 34 35 0.07 13 14 0.05 19 20 0.95 19 19 0.05 47 47 0.89 30 31 0.18 12 13 1.0 25 26 0.87 7 8 0.05 48 48 0.24 7 7 0.95 5 5 0.48 49 50 0.43 3 3 0.37 2 3 0.47 34 34 0.93 45 46 0.25 26 27 0.27 38 38 0.79 47 48 0.11 32 33 0.87 8 8 0.41 43 44 0.57 33 34 0.94 12 12 0.0 13 13 0.95 11 11 0.63 46 47 0.07 4 5 0.56 6 7 0.88 20 20 0.7 44 44 0.13 21 21 0.79 24 25 0.61 37 37 0.1 42 42 0.17 15 15 0.97 38 39 0.21 48 49 0.76 14 15 0.29 8 9 0.59 28 28 0.85 41 42 0.41 4 4 0.44 32 32 0.13 27 28 0.65 27 27 0.35 17 18 0.52 46 46 0.93 16 16 0.62 18 19 0.06 5 6 0.52 17 17 0.48 24 24 0.39 23 24 0.6 6 6 0.12 9 10 0.54 10 11 0.8 31 31 0.01 22 22 0.07 14 14 0.71 16 17 0.38 33 33 0.06 35 35 0.57 49 49 0.57 30 30 0.82 36 37 1.0 9 9 0.46 21 22 0.21 26 26 0.73 50 50 1 44 45 0.87 28 29 0.15 45 45 0.75 2 2 0.53 31 32 0.99 29 30 0.45 29 29 0.55 1 1 0.66 15 16 0.03 37 38 0.9 42 43 0.83 41 41 0.59 18 18 0.94 22 23 0.93 3 4 0.63 23 23 0.4 10 10 0.2 39 39 0.65 11 12 0.37
10 100 13 1000
1 1 0.07 1 2 0.13 1 3 0.1 1 4 0.12 1 5 0.08 1 6 0.1 1 7 0.11 1 8 0.11 1 9 0.05 1 10 0.13 2 1 0.08 2 2 0.11 2 3 0.09 2 4 0.13 2 5 0.08 2 6 0.12 2 7 0.09 2 8 0.11 2 9 0.11 2 10 0.08 3 1 0.07 3 2 0.11 3 3 0.15 3 4 0.07 3 5 0.1 3 6 0.11 3 7 0.08 3 8 0.13 3 9 0.08 3 10 0.1 4 1 0.1 4 2 0.18 4 3 0.06 4 4 0.11 4 5 0.09 4 6 0.11 4 7 0.06 4 8 0.1 4 9 0.09 4 10 0.1 5 1 0.09 5 2 0.13 5 3 0.13 5 4 0.09 5 5 0.11 5 6 0.07 5 7 0.08 5 8 0.05 5 9 0.12 5 10 0.13 6 1 0.13 6 2 0.06 6 3 0.07 6 4 0.14 6 5 0.08 6 6 0.15 6 7 0.13 6 8 0.1 6 9 0.05 6 10 0.09 7 1 0.11 7 2 0.14 7 3 0.08 7 4 0.09 7 5 0.06 7 6 0.13 7 7 0.1 7 8 0.11 7 9 0.1 7 10 0.08 8 1 0.06 8 2 0.08 8 3 0.04 8 4 0.12 8 5 0.12 8 6 0.1 8 7 0.12 8 8 0.1 8 9 0.06 8 10 0.2 9 1 0.15 9 2 0.11 9 3 0.09 9 4 0.14 9 5 0.03 9 6 0.06 9 7 0.08 9 8 0.1 9 9 0.12 9 10 0.12 10 1 0.08 10 2 0.03 10 3 0.07 10 4 0.16 10 5 0.1 10 6 0.13 10 7 0.15 10 8 0.08 10 9 0.07 10 10 0.13
10 100 242 1000
7 7 0.08 2 8 0.15 10 4 0.08 8 4 0.18 5 1 0.04 6 2 0.13 10 3 0.09 7 2 0.07 10 5 0.06 8 7 0.11 10 2 0.1 7 8 0.13 3 7 0.1 5 10 0.07 4 2 0.04 8 3 0.08 4 5 0.1 2 2 0.07 4 6 0.12 2 10 0.06 6 7 0.06 4 1 0.16 6 8 0.11 4 8 0.14 10 6 0.16 3 4 0.12 3 8 0.09 1 6 0.1 6 3 0.08 9 10 0.16 5 8 0.15 9 7 0.1 4 9 0.09 6 6 0.13 1 5 0.15 3 2 0.09 9 8 0.11 1 2 0.08 8 1 0.11 5 2 0.07 4 7 0.06 1 1 0.08 3 10 0.11 4 10 0.09 3 5 0.09 2 5 0.08 8 9 0.09 9 3 0.08 3 6 0.1 7 3 0.09 1 10 0.1 5 7 0.14 6 5 0.17 10 9 0.03 4 4 0.13 5 4 0.1 2 4 0.07 7 6 0.13 9 4 0.08 7 1 0.04 10 1 0.11 8 10 0.04 5 6 0.11 4 3 0.07 8 6 0.09 7 4 0.07 2 7 0.13 1 7 0.12 2 1 0.15 2 3 0.1 1 4 0.06 9 9 0.12 7 9 0.08 9 1 0.09 6 1 0.07 2 6 0.08 8 5 0.12 5 5 0.15 6 9 0.07 9 6 0.09 10 10 0.13 8 2 0.12 7 10 0.14 3 3 0.08 9 2 0.07 5 3 0.09 8 8 0.06 5 9 0.08 2 9 0.11 1 3 0.1 10 7 0.13 9 5 0.1 10 8 0.11 6 4 0.09 3 9 0.14 1 9 0.12 7 5 0.17 3 1 0.08 1 8 0.09 6 10 0.09
100 200 498 1000
58 57 0.25 86 85 0.77 93 92 0.71 71 72 0.64 68 67 0.16 95 94 0.34 45 44 0.97 92 91 0.64 89 90 0.28 11 12 0.62 37 36 0.36 24 23 0.69 65 66 0.52 13 12 0.47 20 21 0.53 46 47 0.15 19 18 0.2 24 25 0.31 41 40 0.51 79 80 0.47 17 16 0.76 44 43 0.2 69 68 0.64 9 8 0.31 22 23 0.86 91 90 0.32 35 34 0.95 78 79 0.91 64 63 0.98 42 43 0.52 81 80 0.32 39 38 0.46 85 86 0.02 7 6 0.7 29 28 0.37 49 48 0.33 20 19 0.47 2 3 0.53 3 4 0.75 100 99 0.08 26 25 0.47 88 87 0.56 53 54 0.55 98 99 0.01 74 73 0.65 68 69 0.84 23 22 0.59 81 82 0.68 28 27 0.26 54 53 0.73 62 63 0.2 9 10 0.69 76 77 0.18 83 84 0.35 72 73 0.21 25 24 0.83 42 41 0.48 74 75 0.35 61 62 0.84 26 27 0.53 75 76 0.86 84 85 0.57 71 70 0.36 66 67 0.86 75 74 0.14 82 83 0.71 63 64 0.63 59 58 0.78 83 82 0.65 2 1 0.47 40 41 0.96 23 24 0.41 62 61 0.8 78 77 0.09 30 31 0.51 55 56 0.62 29 30 0.63 34 33 0.54 87 88 0.27 25 26 0.17 3 2 0.25 69 70 0.36 52 51 0.21 88 89 0.44 51 50 0.11 63 62 0.37 50 49 0.62 31 30 0.9 8 7 0.56 21 20 0.67 77 76 0.52 41 42 0.49 46 45 0.85 37 38 0.64 32 33 0.22 27 26 0.75 50 51 0.38 60 61 0.18 4 5 0.07 18 17 0.07 79 78 0.53 55 54 0.38 94 93 0.93 60 59 0.82 17 18 0.24 97 98 0.91 61 60 0.16 97 96 0.09 96 95 0.8 73 72 0.06 85 84 0.98 16 15 0.31 48 49 0.45 43 44 1.0 100 1 0.92 90 89 0.95 54 55 0.27 39 40 0.54 84 83 0.43 47 46 0.53 32 31 0.78 48 47 0.55 19 20 0.8 66 65 0.14 1 100 0.03 27 28 0.25 47 48 0.47 96 97 0.2 21 22 0.33 80 79 0.49 80 81 0.51 30 29 0.49 12 11 0.39 36 35 0.06 7 8 0.3 16 17 0.69 5 6 0.71 33 32 0.65 82 81 0.29 11 10 0.38 15 14 0.44 67 68 0.96 57 56 0.44 70 69 0.17 5 4 0.29 45 46 0.03 99 98 0.83 70 71 0.83 57 58 0.56 8 9 0.44 94 95 0.07 98 97 0.99 13 14 0.53 34 35 0.46 53 52 0.45 4 3 0.93 52 53 0.79 86 87 0.23 6 7 0.26 87 86 0.73 73 74 0.94 33 34 0.35 38 39 0.94 58 59 0.75 36 37 0.94 28 29 0.74 51 52 0.89 14 13 0.03 59 60 0.22 89 88 0.72 31 32 0.1 92 93 0.36 64 65 0.02 1 2 0.97 95 96 0.66 12 13 0.61 76 75 0.82 18 19 0.93 38 37 0.06 93 94 0.29 99 100 0.17 10 9 0.55 43 42 0.0 15 16 0.56 44 45 0.8 22 21 0.14 65 64 0.48 90 91 0.05 56 57 0.43 77 78 0.48 35 36 0.05 72 71 0.79 14 15 0.97 49 50 0.67 56 55 0.57 6 5 0.74 10 11 0.45 91 92 0.68 40 39 0.04 67 66 0.04
100 200 802 1000
15 16 0.79 84 83 0.45 49 50 0.93 76 77 0.8 36 35 0.21 77 76 0.8 7 6 0.74 10 9 0.42 51 52 0.99 14 15 0.55 41 42 0.44 79 78 0.73 13 12 0.52 42 43 0.2 82 83 0.62 74 75 0.74 62 61 0.25 96 95 0.25 29 30 0.35 53 54 0.88 52 51 0.01 50 49 0.07 79 80 0.27 39 38 0.0 9 10 0.31 19 18 0.21 27 28 0.51 97 98 0.67 57 58 0.18 88 87 0.73 83 84 0.6 77 78 0.2 53 52 0.12 66 67 0.91 49 48 0.07 3 2 0.47 89 88 0.11 22 21 0.79 64 63 0.17 22 23 0.21 43 44 0.96 37 38 0.81 87 88 0.64 70 71 0.43 11 10 0.67 76 75 0.2 54 55 0.43 18 17 0.85 56 57 0.24 46 45 0.18 93 92 0.8 69 70 0.9 78 79 0.73 60 59 0.67 71 72 0.84 16 15 0.92 58 59 0.54 47 46 0.97 45 46 0.18 52 53 0.99 32 31 0.8 99 98 0.82 56 55 0.76 23 22 0.82 35 34 0.77 24 25 0.15 8 7 0.34 54 53 0.57 46 47 0.82 51 50 0.01 4 3 0.16 91 90 0.65 9 8 0.69 30 31 0.21 11 12 0.33 43 42 0.04 6 7 0.92 20 19 0.37 61 62 0.51 89 90 0.89 7 8 0.26 29 28 0.65 44 43 0.38 59 58 0.26 80 81 0.54 75 74 0.93 37 36 0.19 90 89 0.61 23 24 0.18 73 74 0.9 25 24 0.41 17 16 0.34 10 11 0.58 84 85 0.55 94 95 0.55 27 26 0.49 8 9 0.66 32 33 0.2 66 65 0.09 57 56 0.82 26 27 0.11 61 60 0.49 90 91 0.39 68 69 0.38 18 19 0.15 97 96 0.33 72 71 0.75 94 93 0.45 34 33 0.83 33 32 0.6 78 77 0.27 63 64 0.93 5 6 0.4 80 79 0.46 48 49 0.03 58 57 0.46 64 65 0.83 63 62 0.07 82 81 0.38 100 1 0.58 99 100 0.18 2 1 0.41 88 89 0.27 24 23 0.85 92 91 0.57 62 63 0.75 55 56 0.52 28 29 0.5 12 13 0.27 38 37 0.81 65 64 0.49 1 100 0.36 83 82 0.4 45 44 0.82 31 32 0.33 96 97 0.75 42 41 0.8 73 72 0.1 21 22 0.3 4 5 0.84 98 99 0.6 30 29 0.79 14 13 0.45 41 40 0.56 91 92 0.35 85 86 0.52 85 84 0.48 34 35 0.17 100 99 0.42 31 30 0.67 70 69 0.57 87 86 0.36 28 27 0.5 81 82 0.41 44 45 0.62 50 51 0.93 1 2 0.64 67 66 0.95 35 36 0.23 86 85 0.99 75 76 0.07 93 94 0.2 3 4 0.53 67 68 0.05 47 48 0.03 55 54 0.48 95 94 0.54 38 39 0.19 5 4 0.6 21 20 0.7 68 67 0.62 65 66 0.51 40 41 0.07 2 3 0.59 19 20 0.79 86 87 0.01 17 18 0.66 15 14 0.21 40 39 0.93 69 68 0.1 95 96 0.46 13 14 0.48 59 60 0.74 20 21 0.63 36 37 0.79 98 97 0.4 12 11 0.73 81 80 0.59 72 73 0.25 26 25 0.89 74 73 0.26 92 93 0.43 25 26 0.59 39 40 1.0 33 34 0.4 6 5 0.08 60 61 0.33 71 70 0.16 16 17 0.08 48 47 0.97