node_ids
sequencelengths 4
1.4k
| edge_index
sequencelengths 1
2.22k
| text
sequencelengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
98,
5
],
[
98,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
17,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
17,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
64,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
63,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
17,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
8,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
6,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
] | [
"import java.io.*;\npublic class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sbu=new StringBuilder();\n \n while(true){\n String[] num=buf.readLine().split(\" \");\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[1]);\n \n if(x == 0 && y == 0)break;\n \n for(int i=0; i<x; i++){\n for(int j=0; j<y; j++){\n sbu.append(\"#\");\n }\n sbu.append(\"\\n\");\n }\n sbu.append(\"\\n\");\n }\n System.out.print(sbu);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sbu=new StringBuilder();\n \n while(true){\n String[] num=buf.readLine().split(\" \");\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[1]);\n \n if(x == 0 && y == 0)break;\n \n for(int i=0; i<x; i++){\n for(int j=0; j<y; j++){\n sbu.append(\"#\");\n }\n sbu.append(\"\\n\");\n }\n sbu.append(\"\\n\");\n }\n System.out.print(sbu);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sbu=new StringBuilder();\n \n while(true){\n String[] num=buf.readLine().split(\" \");\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[1]);\n \n if(x == 0 && y == 0)break;\n \n for(int i=0; i<x; i++){\n for(int j=0; j<y; j++){\n sbu.append(\"#\");\n }\n sbu.append(\"\\n\");\n }\n sbu.append(\"\\n\");\n }\n System.out.print(sbu);\n }",
"main",
"{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sbu=new StringBuilder();\n \n while(true){\n String[] num=buf.readLine().split(\" \");\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[1]);\n \n if(x == 0 && y == 0)break;\n \n for(int i=0; i<x; i++){\n for(int j=0; j<y; j++){\n sbu.append(\"#\");\n }\n sbu.append(\"\\n\");\n }\n sbu.append(\"\\n\");\n }\n System.out.print(sbu);\n }",
"BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));",
"buf",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sbu=new StringBuilder();",
"sbu",
"new StringBuilder()",
"while(true){\n String[] num=buf.readLine().split(\" \");\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[1]);\n \n if(x == 0 && y == 0)break;\n \n for(int i=0; i<x; i++){\n for(int j=0; j<y; j++){\n sbu.append(\"#\");\n }\n sbu.append(\"\\n\");\n }\n sbu.append(\"\\n\");\n }",
"true",
"{\n String[] num=buf.readLine().split(\" \");\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[1]);\n \n if(x == 0 && y == 0)break;\n \n for(int i=0; i<x; i++){\n for(int j=0; j<y; j++){\n sbu.append(\"#\");\n }\n sbu.append(\"\\n\");\n }\n sbu.append(\"\\n\");\n }",
"String[] num=buf.readLine().split(\" \");",
"num",
"buf.readLine().split(\" \")",
"buf.readLine().split",
"buf.readLine()",
"buf.readLine",
"buf",
"\" \"",
"int x=Integer.parseInt(num[0]);",
"x",
"Integer.parseInt(num[0])",
"Integer.parseInt",
"Integer",
"num[0]",
"num",
"0",
"int y=Integer.parseInt(num[1]);",
"y",
"Integer.parseInt(num[1])",
"Integer.parseInt",
"Integer",
"num[1]",
"num",
"1",
"if(x == 0 && y == 0)break;",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"for(int i=0; i<x; i++){\n for(int j=0; j<y; j++){\n sbu.append(\"#\");\n }\n sbu.append(\"\\n\");\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<x",
"i",
"x",
"i++",
"i++",
"i",
"{\n for(int j=0; j<y; j++){\n sbu.append(\"#\");\n }\n sbu.append(\"\\n\");\n }",
"{\n for(int j=0; j<y; j++){\n sbu.append(\"#\");\n }\n sbu.append(\"\\n\");\n }",
"for(int j=0; j<y; j++){\n sbu.append(\"#\");\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<y",
"j",
"y",
"j++",
"j++",
"j",
"{\n sbu.append(\"#\");\n }",
"{\n sbu.append(\"#\");\n }",
"sbu.append(\"#\")",
"sbu.append",
"sbu",
"\"#\"",
"sbu.append(\"\\n\")",
"sbu.append",
"sbu",
"\"\\n\"",
"sbu.append(\"\\n\")",
"sbu.append",
"sbu",
"\"\\n\"",
"System.out.print(sbu)",
"System.out.print",
"System.out",
"System",
"System.out",
"sbu",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sbu=new StringBuilder();\n \n while(true){\n String[] num=buf.readLine().split(\" \");\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[1]);\n \n if(x == 0 && y == 0)break;\n \n for(int i=0; i<x; i++){\n for(int j=0; j<y; j++){\n sbu.append(\"#\");\n }\n sbu.append(\"\\n\");\n }\n sbu.append(\"\\n\");\n }\n System.out.print(sbu);\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sbu=new StringBuilder();\n \n while(true){\n String[] num=buf.readLine().split(\" \");\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[1]);\n \n if(x == 0 && y == 0)break;\n \n for(int i=0; i<x; i++){\n for(int j=0; j<y; j++){\n sbu.append(\"#\");\n }\n sbu.append(\"\\n\");\n }\n sbu.append(\"\\n\");\n }\n System.out.print(sbu);\n }\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
StringBuilder sbu=new StringBuilder();
while(true){
String[] num=buf.readLine().split(" ");
int x=Integer.parseInt(num[0]);
int y=Integer.parseInt(num[1]);
if(x == 0 && y == 0)break;
for(int i=0; i<x; i++){
for(int j=0; j<y; j++){
sbu.append("#");
}
sbu.append("\n");
}
sbu.append("\n");
}
System.out.print(sbu);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
42,
17,
30,
0,
13,
4,
18,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
27,
32
],
[
24,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
24,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
24,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
24,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
58,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
71,
79
],
[
79,
80
],
[
80,
81
],
[
71,
82
],
[
83,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
70,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
24,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
6,
102
],
[
102,
103
]
] | [
"import java.io.*;\n\nclass Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String[] strAry; \n int H,W,i,j;\n \n while(true){\n strAry = br.readLine().split(\" \");\n H = Integer.parseInt(strAry[0]); \n W = Integer.parseInt(strAry[1]);\n if(H==0&&W==0) break;\n for(j=0;j<H;j++){\n for(i=0;i<W;i++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\"); \n } \n System.out.print(\"\\n\"); \n \n } \n \n\n\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String[] strAry; \n int H,W,i,j;\n \n while(true){\n strAry = br.readLine().split(\" \");\n H = Integer.parseInt(strAry[0]); \n W = Integer.parseInt(strAry[1]);\n if(H==0&&W==0) break;\n for(j=0;j<H;j++){\n for(i=0;i<W;i++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\"); \n } \n System.out.print(\"\\n\"); \n \n } \n \n\n\n }\n}",
"Main",
"public static void main(String[] args)throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String[] strAry; \n int H,W,i,j;\n \n while(true){\n strAry = br.readLine().split(\" \");\n H = Integer.parseInt(strAry[0]); \n W = Integer.parseInt(strAry[1]);\n if(H==0&&W==0) break;\n for(j=0;j<H;j++){\n for(i=0;i<W;i++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\"); \n } \n System.out.print(\"\\n\"); \n \n } \n \n\n\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String[] strAry; \n int H,W,i,j;\n \n while(true){\n strAry = br.readLine().split(\" \");\n H = Integer.parseInt(strAry[0]); \n W = Integer.parseInt(strAry[1]);\n if(H==0&&W==0) break;\n for(j=0;j<H;j++){\n for(i=0;i<W;i++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\"); \n } \n System.out.print(\"\\n\"); \n \n } \n \n\n\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] strAry;",
"strAry",
"int H",
"H",
"W",
"W",
"i",
"i",
"j;",
"j",
"while(true){\n strAry = br.readLine().split(\" \");\n H = Integer.parseInt(strAry[0]); \n W = Integer.parseInt(strAry[1]);\n if(H==0&&W==0) break;\n for(j=0;j<H;j++){\n for(i=0;i<W;i++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\"); \n } \n System.out.print(\"\\n\"); \n \n }",
"true",
"{\n strAry = br.readLine().split(\" \");\n H = Integer.parseInt(strAry[0]); \n W = Integer.parseInt(strAry[1]);\n if(H==0&&W==0) break;\n for(j=0;j<H;j++){\n for(i=0;i<W;i++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\"); \n } \n System.out.print(\"\\n\"); \n \n }",
"strAry = br.readLine().split(\" \")",
"strAry",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"H = Integer.parseInt(strAry[0])",
"H",
"Integer.parseInt(strAry[0])",
"Integer.parseInt",
"Integer",
"strAry[0]",
"strAry",
"0",
"W = Integer.parseInt(strAry[1])",
"W",
"Integer.parseInt(strAry[1])",
"Integer.parseInt",
"Integer",
"strAry[1]",
"strAry",
"1",
"if(H==0&&W==0) break;",
"H==0&&W==0",
"H==0",
"H",
"0",
"W==0",
"W",
"0",
"break;",
"for(j=0;j<H;j++){\n for(i=0;i<W;i++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\"); \n }",
"j=0;",
"j=0",
"j",
"0",
"j<H",
"j",
"H",
"j++",
"j++",
"j",
"{\n for(i=0;i<W;i++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\"); \n }",
"{\n for(i=0;i<W;i++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\"); \n }",
"for(i=0;i<W;i++){\n System.out.print(\"#\");\n }",
"i=0;",
"i=0",
"i",
"0",
"i<W",
"i",
"W",
"i++",
"i++",
"i",
"{\n System.out.print(\"#\");\n }",
"{\n System.out.print(\"#\");\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args)throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String[] strAry;
int H,W,i,j;
while(true){
strAry = br.readLine().split(" ");
H = Integer.parseInt(strAry[0]);
W = Integer.parseInt(strAry[1]);
if(H==0&&W==0) break;
for(j=0;j<H;j++){
for(i=0;i<W;i++){
System.out.print("#");
}
System.out.print("\n");
}
System.out.print("\n");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
40,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
120,
5
],
[
120,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
12,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
12,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
42,
46
],
[
46,
47
],
[
34,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
34,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
34,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
64,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
75,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
88,
96
],
[
96,
97
],
[
97,
98
],
[
88,
99
],
[
100,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
87,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
74,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
6,
117
],
[
117,
118
],
[
0,
119
],
[
119,
120
],
[
119,
121
]
] | [
"import java.io.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n \twhile(true) {\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint H = Integer.parseInt(num[0]);\n \t\tint W = Integer.parseInt(num[1]);\n \t\tif (H == 0 && W == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tfor (int i = 0; i < H; i++) {\n \t\t\t\tfor (int j = 0; j < W; j++) {\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.println();\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}\n \t}\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n \twhile(true) {\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint H = Integer.parseInt(num[0]);\n \t\tint W = Integer.parseInt(num[1]);\n \t\tif (H == 0 && W == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tfor (int i = 0; i < H; i++) {\n \t\t\t\tfor (int j = 0; j < W; j++) {\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.println();\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}\n \t}\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n \twhile(true) {\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint H = Integer.parseInt(num[0]);\n \t\tint W = Integer.parseInt(num[1]);\n \t\tif (H == 0 && W == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tfor (int i = 0; i < H; i++) {\n \t\t\t\tfor (int j = 0; j < W; j++) {\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.println();\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}\n \t}\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }\n }",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n \twhile(true) {\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint H = Integer.parseInt(num[0]);\n \t\tint W = Integer.parseInt(num[1]);\n \t\tif (H == 0 && W == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tfor (int i = 0; i < H; i++) {\n \t\t\t\tfor (int j = 0; j < W; j++) {\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.println();\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}\n \t}\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"try{\n \twhile(true) {\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint H = Integer.parseInt(num[0]);\n \t\tint W = Integer.parseInt(num[1]);\n \t\tif (H == 0 && W == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tfor (int i = 0; i < H; i++) {\n \t\t\t\tfor (int j = 0; j < W; j++) {\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.println();\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}\n \t}\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }",
"catch (IOException e) {\n System.out.println(e);\n }",
"IOException e",
"{\n System.out.println(e);\n }",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"catch (NumberFormatException e) {\n System.out.println(\"error\");\n }",
"NumberFormatException e",
"{\n System.out.println(\"error\");\n }",
"System.out.println(\"error\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"error\"",
"{\n \twhile(true) {\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint H = Integer.parseInt(num[0]);\n \t\tint W = Integer.parseInt(num[1]);\n \t\tif (H == 0 && W == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tfor (int i = 0; i < H; i++) {\n \t\t\t\tfor (int j = 0; j < W; j++) {\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.println();\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}\n \t}\n }",
"while(true) {\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint H = Integer.parseInt(num[0]);\n \t\tint W = Integer.parseInt(num[1]);\n \t\tif (H == 0 && W == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tfor (int i = 0; i < H; i++) {\n \t\t\t\tfor (int j = 0; j < W; j++) {\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.println();\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}\n \t}",
"true",
"{\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint H = Integer.parseInt(num[0]);\n \t\tint W = Integer.parseInt(num[1]);\n \t\tif (H == 0 && W == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tfor (int i = 0; i < H; i++) {\n \t\t\t\tfor (int j = 0; j < W; j++) {\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.println();\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}\n \t}",
"String line = reader.readLine();",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"String[] num = line.split(\" \", -1);",
"num",
"line.split(\" \", -1)",
"line.split",
"line",
"\" \"",
"-1",
"1",
"int H = Integer.parseInt(num[0]);",
"H",
"Integer.parseInt(num[0])",
"Integer.parseInt",
"Integer",
"num[0]",
"num",
"0",
"int W = Integer.parseInt(num[1]);",
"W",
"Integer.parseInt(num[1])",
"Integer.parseInt",
"Integer",
"num[1]",
"num",
"1",
"if (H == 0 && W == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tfor (int i = 0; i < H; i++) {\n \t\t\t\tfor (int j = 0; j < W; j++) {\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.println();\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n \t\t\tbreak;\n \t\t}",
"break;",
"{\n \t\t\tfor (int i = 0; i < H; i++) {\n \t\t\t\tfor (int j = 0; j < W; j++) {\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.println();\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}",
"for (int i = 0; i < H; i++) {\n \t\t\t\tfor (int j = 0; j < W; j++) {\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.println();\n \t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n \t\t\t\tfor (int j = 0; j < W; j++) {\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.println();\n \t\t\t}",
"{\n \t\t\t\tfor (int j = 0; j < W; j++) {\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.println();\n \t\t\t}",
"for (int j = 0; j < W; j++) {\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}",
"{\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n \twhile(true) {\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint H = Integer.parseInt(num[0]);\n \t\tint W = Integer.parseInt(num[1]);\n \t\tif (H == 0 && W == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tfor (int i = 0; i < H; i++) {\n \t\t\t\tfor (int j = 0; j < W; j++) {\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.println();\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}\n \t}\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }\n }\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n \twhile(true) {\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint H = Integer.parseInt(num[0]);\n \t\tint W = Integer.parseInt(num[1]);\n \t\tif (H == 0 && W == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tfor (int i = 0; i < H; i++) {\n \t\t\t\tfor (int j = 0; j < W; j++) {\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.println();\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}\n \t}\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }\n }\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args){
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
try{
while(true) {
String line = reader.readLine();
String[] num = line.split(" ", -1);
int H = Integer.parseInt(num[0]);
int W = Integer.parseInt(num[1]);
if (H == 0 && W == 0) {
break;
} else {
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
} catch (IOException e) {
System.out.println(e);
} catch (NumberFormatException e) {
System.out.println("error");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
42,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
3,
41,
13,
41,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
0,
13,
4,
18,
13,
0,
13,
20,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
11,
14
],
[
14,
15
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
11,
27
],
[
27,
28
],
[
27,
29
],
[
11,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
36,
37
],
[
11,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
11,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
48,
58
],
[
58,
59
],
[
48,
60
],
[
60,
61
],
[
48,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
62,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
75,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
74,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
48,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
48,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
48,
111
],
[
111,
112
],
[
111,
113
],
[
48,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
119,
120
],
[
120,
121
],
[
48,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
124,
127
],
[
127,
128
],
[
128,
129
],
[
9,
130
],
[
130,
131
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main{\n public static void main(String[] args)throws IOException{\n int h, w;\n\n InputStreamReader isr =new InputStreamReader(System.in);\n \t\tBufferedReader br =new BufferedReader(isr);\n \tString buf = br.readLine();\n StringTokenizer st = new StringTokenizer(buf,\" \");\n h = Integer.parseInt(st.nextToken());\n w = Integer.parseInt(st.nextToken());\n \n while(true) {\n \tif (h == 0 && w == 0) break;\n \tint i, j;\n for (i = 0;i < h;i++) {\n for (j = 0;j < w;j++) {\n System.out.printf(\"#\");\n }\n System.out.printf(\"\\n\");\n \t }\n System.out.printf(\"\\n\");\n buf = br.readLine();\n st = new StringTokenizer(buf,\" \");\n h = Integer.parseInt(st.nextToken());\n w = Integer.parseInt(st.nextToken());\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args)throws IOException{\n int h, w;\n\n InputStreamReader isr =new InputStreamReader(System.in);\n \t\tBufferedReader br =new BufferedReader(isr);\n \tString buf = br.readLine();\n StringTokenizer st = new StringTokenizer(buf,\" \");\n h = Integer.parseInt(st.nextToken());\n w = Integer.parseInt(st.nextToken());\n \n while(true) {\n \tif (h == 0 && w == 0) break;\n \tint i, j;\n for (i = 0;i < h;i++) {\n for (j = 0;j < w;j++) {\n System.out.printf(\"#\");\n }\n System.out.printf(\"\\n\");\n \t }\n System.out.printf(\"\\n\");\n buf = br.readLine();\n st = new StringTokenizer(buf,\" \");\n h = Integer.parseInt(st.nextToken());\n w = Integer.parseInt(st.nextToken());\n }\n }\n}",
"Main",
"public static void main(String[] args)throws IOException{\n int h, w;\n\n InputStreamReader isr =new InputStreamReader(System.in);\n \t\tBufferedReader br =new BufferedReader(isr);\n \tString buf = br.readLine();\n StringTokenizer st = new StringTokenizer(buf,\" \");\n h = Integer.parseInt(st.nextToken());\n w = Integer.parseInt(st.nextToken());\n \n while(true) {\n \tif (h == 0 && w == 0) break;\n \tint i, j;\n for (i = 0;i < h;i++) {\n for (j = 0;j < w;j++) {\n System.out.printf(\"#\");\n }\n System.out.printf(\"\\n\");\n \t }\n System.out.printf(\"\\n\");\n buf = br.readLine();\n st = new StringTokenizer(buf,\" \");\n h = Integer.parseInt(st.nextToken());\n w = Integer.parseInt(st.nextToken());\n }\n }",
"main",
"{\n int h, w;\n\n InputStreamReader isr =new InputStreamReader(System.in);\n \t\tBufferedReader br =new BufferedReader(isr);\n \tString buf = br.readLine();\n StringTokenizer st = new StringTokenizer(buf,\" \");\n h = Integer.parseInt(st.nextToken());\n w = Integer.parseInt(st.nextToken());\n \n while(true) {\n \tif (h == 0 && w == 0) break;\n \tint i, j;\n for (i = 0;i < h;i++) {\n for (j = 0;j < w;j++) {\n System.out.printf(\"#\");\n }\n System.out.printf(\"\\n\");\n \t }\n System.out.printf(\"\\n\");\n buf = br.readLine();\n st = new StringTokenizer(buf,\" \");\n h = Integer.parseInt(st.nextToken());\n w = Integer.parseInt(st.nextToken());\n }\n }",
"int h",
"h",
"w;",
"w",
"InputStreamReader isr =new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br =new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"String buf = br.readLine();",
"buf",
"br.readLine()",
"br.readLine",
"br",
"StringTokenizer st = new StringTokenizer(buf,\" \");",
"st",
"new StringTokenizer(buf,\" \")",
"h = Integer.parseInt(st.nextToken())",
"h",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"w = Integer.parseInt(st.nextToken())",
"w",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"while(true) {\n \tif (h == 0 && w == 0) break;\n \tint i, j;\n for (i = 0;i < h;i++) {\n for (j = 0;j < w;j++) {\n System.out.printf(\"#\");\n }\n System.out.printf(\"\\n\");\n \t }\n System.out.printf(\"\\n\");\n buf = br.readLine();\n st = new StringTokenizer(buf,\" \");\n h = Integer.parseInt(st.nextToken());\n w = Integer.parseInt(st.nextToken());\n }",
"true",
"{\n \tif (h == 0 && w == 0) break;\n \tint i, j;\n for (i = 0;i < h;i++) {\n for (j = 0;j < w;j++) {\n System.out.printf(\"#\");\n }\n System.out.printf(\"\\n\");\n \t }\n System.out.printf(\"\\n\");\n buf = br.readLine();\n st = new StringTokenizer(buf,\" \");\n h = Integer.parseInt(st.nextToken());\n w = Integer.parseInt(st.nextToken());\n }",
"if (h == 0 && w == 0) break;",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"break;",
"int i",
"i",
"j;",
"j",
"for (i = 0;i < h;i++) {\n for (j = 0;j < w;j++) {\n System.out.printf(\"#\");\n }\n System.out.printf(\"\\n\");\n \t }",
"i = 0;",
"i = 0",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n for (j = 0;j < w;j++) {\n System.out.printf(\"#\");\n }\n System.out.printf(\"\\n\");\n \t }",
"{\n for (j = 0;j < w;j++) {\n System.out.printf(\"#\");\n }\n System.out.printf(\"\\n\");\n \t }",
"for (j = 0;j < w;j++) {\n System.out.printf(\"#\");\n }",
"j = 0;",
"j = 0",
"j",
"0",
"j < w",
"j",
"w",
"j++",
"j++",
"j",
"{\n System.out.printf(\"#\");\n }",
"{\n System.out.printf(\"#\");\n }",
"System.out.printf(\"#\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"System.out.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"buf = br.readLine()",
"buf",
"br.readLine()",
"br.readLine",
"br",
"st = new StringTokenizer(buf,\" \")",
"st",
"new StringTokenizer(buf,\" \")",
"h = Integer.parseInt(st.nextToken())",
"h",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"w = Integer.parseInt(st.nextToken())",
"w",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"String[] args",
"args"
] | import java.io.*;
import java.util.*;
class Main{
public static void main(String[] args)throws IOException{
int h, w;
InputStreamReader isr =new InputStreamReader(System.in);
BufferedReader br =new BufferedReader(isr);
String buf = br.readLine();
StringTokenizer st = new StringTokenizer(buf," ");
h = Integer.parseInt(st.nextToken());
w = Integer.parseInt(st.nextToken());
while(true) {
if (h == 0 && w == 0) break;
int i, j;
for (i = 0;i < h;i++) {
for (j = 0;j < w;j++) {
System.out.printf("#");
}
System.out.printf("\n");
}
System.out.printf("\n");
buf = br.readLine();
st = new StringTokenizer(buf," ");
h = Integer.parseInt(st.nextToken());
w = Integer.parseInt(st.nextToken());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
125,
11
],
[
125,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
14,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
38,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
38,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
14,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
64,
68
],
[
57,
69
],
[
69,
70
],
[
70,
71
],
[
57,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
74,
85
],
[
85,
86
],
[
86,
87
],
[
74,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
90,
101
],
[
101,
102
],
[
102,
103
],
[
90,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
89,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
73,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
12,
122
],
[
122,
123
],
[
0,
124
],
[
124,
125
],
[
124,
126
]
] | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList <Integer> H = new ArrayList <Integer> ();\n\t\tList <Integer> W = new ArrayList <Integer> ();\n\t\t\n\t\tint lastH = 0;\n\t\tint lastW = 0;\n\t\tdo {\n\t\t\tlastH = stdIn.nextInt();\n\t\t\tlastW = stdIn.nextInt();\n\t\t\t\n\t\t\tH.add(lastH);\n\t\t\tW.add(lastW);\n\t\t} while (lastH != 0 || lastW != 0);\n\t\t\n\t\tfor(int i = 0; i < H.size()-1; i++) {\n\t\t\tfor(int j = 0; j < H.get(i); j++) {\n\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList <Integer> H = new ArrayList <Integer> ();\n\t\tList <Integer> W = new ArrayList <Integer> ();\n\t\t\n\t\tint lastH = 0;\n\t\tint lastW = 0;\n\t\tdo {\n\t\t\tlastH = stdIn.nextInt();\n\t\t\tlastW = stdIn.nextInt();\n\t\t\t\n\t\t\tH.add(lastH);\n\t\t\tW.add(lastW);\n\t\t} while (lastH != 0 || lastW != 0);\n\t\t\n\t\tfor(int i = 0; i < H.size()-1; i++) {\n\t\t\tfor(int j = 0; j < H.get(i); j++) {\n\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList <Integer> H = new ArrayList <Integer> ();\n\t\tList <Integer> W = new ArrayList <Integer> ();\n\t\t\n\t\tint lastH = 0;\n\t\tint lastW = 0;\n\t\tdo {\n\t\t\tlastH = stdIn.nextInt();\n\t\t\tlastW = stdIn.nextInt();\n\t\t\t\n\t\t\tH.add(lastH);\n\t\t\tW.add(lastW);\n\t\t} while (lastH != 0 || lastW != 0);\n\t\t\n\t\tfor(int i = 0; i < H.size()-1; i++) {\n\t\t\tfor(int j = 0; j < H.get(i); j++) {\n\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList <Integer> H = new ArrayList <Integer> ();\n\t\tList <Integer> W = new ArrayList <Integer> ();\n\t\t\n\t\tint lastH = 0;\n\t\tint lastW = 0;\n\t\tdo {\n\t\t\tlastH = stdIn.nextInt();\n\t\t\tlastW = stdIn.nextInt();\n\t\t\t\n\t\t\tH.add(lastH);\n\t\t\tW.add(lastW);\n\t\t} while (lastH != 0 || lastW != 0);\n\t\t\n\t\tfor(int i = 0; i < H.size()-1; i++) {\n\t\t\tfor(int j = 0; j < H.get(i); j++) {\n\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"List <Integer> H = new ArrayList <Integer> ();",
"H",
"new ArrayList <Integer> ()",
"List <Integer> W = new ArrayList <Integer> ();",
"W",
"new ArrayList <Integer> ()",
"int lastH = 0;",
"lastH",
"0",
"int lastW = 0;",
"lastW",
"0",
"do {\n\t\t\tlastH = stdIn.nextInt();\n\t\t\tlastW = stdIn.nextInt();\n\t\t\t\n\t\t\tH.add(lastH);\n\t\t\tW.add(lastW);\n\t\t} while (lastH != 0 || lastW != 0);",
"lastH != 0 || lastW != 0",
"lastH != 0",
"lastH",
"0",
"lastW != 0",
"lastW",
"0",
"{\n\t\t\tlastH = stdIn.nextInt();\n\t\t\tlastW = stdIn.nextInt();\n\t\t\t\n\t\t\tH.add(lastH);\n\t\t\tW.add(lastW);\n\t\t}",
"lastH = stdIn.nextInt()",
"lastH",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"lastW = stdIn.nextInt()",
"lastW",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"H.add(lastH)",
"H.add",
"H",
"lastH",
"W.add(lastW)",
"W.add",
"W",
"lastW",
"for(int i = 0; i < H.size()-1; i++) {\n\t\t\tfor(int j = 0; j < H.get(i); j++) {\n\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H.size()-1",
"i",
"H.size()-1",
"H.size()",
"H.size",
"H",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = 0; j < H.get(i); j++) {\n\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"{\n\t\t\tfor(int j = 0; j < H.get(i); j++) {\n\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"for(int j = 0; j < H.get(i); j++) {\n\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < H.get(i)",
"j",
"H.get(i)",
"H.get",
"H",
"i",
"j++",
"j++",
"j",
"{\n\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"{\n\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"for(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int k = 0;",
"int k = 0;",
"k",
"0",
"k < W.get(i)",
"k",
"W.get(i)",
"W.get",
"W",
"i",
"k++",
"k++",
"k",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList <Integer> H = new ArrayList <Integer> ();\n\t\tList <Integer> W = new ArrayList <Integer> ();\n\t\t\n\t\tint lastH = 0;\n\t\tint lastW = 0;\n\t\tdo {\n\t\t\tlastH = stdIn.nextInt();\n\t\t\tlastW = stdIn.nextInt();\n\t\t\t\n\t\t\tH.add(lastH);\n\t\t\tW.add(lastW);\n\t\t} while (lastH != 0 || lastW != 0);\n\t\t\n\t\tfor(int i = 0; i < H.size()-1; i++) {\n\t\t\tfor(int j = 0; j < H.get(i); j++) {\n\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList <Integer> H = new ArrayList <Integer> ();\n\t\tList <Integer> W = new ArrayList <Integer> ();\n\t\t\n\t\tint lastH = 0;\n\t\tint lastW = 0;\n\t\tdo {\n\t\t\tlastH = stdIn.nextInt();\n\t\t\tlastW = stdIn.nextInt();\n\t\t\t\n\t\t\tH.add(lastH);\n\t\t\tW.add(lastW);\n\t\t} while (lastH != 0 || lastW != 0);\n\t\t\n\t\tfor(int i = 0; i < H.size()-1; i++) {\n\t\t\tfor(int j = 0; j < H.get(i); j++) {\n\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
List <Integer> H = new ArrayList <Integer> ();
List <Integer> W = new ArrayList <Integer> ();
int lastH = 0;
int lastW = 0;
do {
lastH = stdIn.nextInt();
lastW = stdIn.nextInt();
H.add(lastH);
W.add(lastW);
} while (lastH != 0 || lastW != 0);
for(int i = 0; i < H.size()-1; i++) {
for(int j = 0; j < H.get(i); j++) {
for(int k = 0; k < W.get(i); k++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
113,
11
],
[
113,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
34,
39
],
[
31,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
31,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
31,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
31,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
74,
75
],
[
75,
76
],
[
66,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
84,
86
],
[
79,
87
],
[
87,
88
],
[
88,
89
],
[
79,
90
],
[
91,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
78,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
31,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
14,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
12,
110
],
[
110,
111
],
[
0,
112
],
[
112,
113
],
[
112,
114
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n StringBuilder strb = new StringBuilder();\n String[] data;\n int h = 0;\n int w = 0;\n while (true) {\n data = br.readLine().split(\" \");\n h = Integer.parseInt(data[0]);\n w = Integer.parseInt(data[1]);\n if (h == 0 && w == 0) {\n break;\n }\n for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n strb.append(\"#\");\n }\n strb.append(\"\\n\");\n }\n strb.append(\"\\n\");\n }\n System.out.print(strb);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n StringBuilder strb = new StringBuilder();\n String[] data;\n int h = 0;\n int w = 0;\n while (true) {\n data = br.readLine().split(\" \");\n h = Integer.parseInt(data[0]);\n w = Integer.parseInt(data[1]);\n if (h == 0 && w == 0) {\n break;\n }\n for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n strb.append(\"#\");\n }\n strb.append(\"\\n\");\n }\n strb.append(\"\\n\");\n }\n System.out.print(strb);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n StringBuilder strb = new StringBuilder();\n String[] data;\n int h = 0;\n int w = 0;\n while (true) {\n data = br.readLine().split(\" \");\n h = Integer.parseInt(data[0]);\n w = Integer.parseInt(data[1]);\n if (h == 0 && w == 0) {\n break;\n }\n for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n strb.append(\"#\");\n }\n strb.append(\"\\n\");\n }\n strb.append(\"\\n\");\n }\n System.out.print(strb);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n StringBuilder strb = new StringBuilder();\n String[] data;\n int h = 0;\n int w = 0;\n while (true) {\n data = br.readLine().split(\" \");\n h = Integer.parseInt(data[0]);\n w = Integer.parseInt(data[1]);\n if (h == 0 && w == 0) {\n break;\n }\n for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n strb.append(\"#\");\n }\n strb.append(\"\\n\");\n }\n strb.append(\"\\n\");\n }\n System.out.print(strb);\n }",
"BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));",
"br",
"new BufferedReader(\n new InputStreamReader(System.in))",
"StringBuilder strb = new StringBuilder();",
"strb",
"new StringBuilder()",
"String[] data;",
"data",
"int h = 0;",
"h",
"0",
"int w = 0;",
"w",
"0",
"while (true) {\n data = br.readLine().split(\" \");\n h = Integer.parseInt(data[0]);\n w = Integer.parseInt(data[1]);\n if (h == 0 && w == 0) {\n break;\n }\n for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n strb.append(\"#\");\n }\n strb.append(\"\\n\");\n }\n strb.append(\"\\n\");\n }",
"true",
"{\n data = br.readLine().split(\" \");\n h = Integer.parseInt(data[0]);\n w = Integer.parseInt(data[1]);\n if (h == 0 && w == 0) {\n break;\n }\n for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n strb.append(\"#\");\n }\n strb.append(\"\\n\");\n }\n strb.append(\"\\n\");\n }",
"data = br.readLine().split(\" \")",
"data",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"h = Integer.parseInt(data[0])",
"h",
"Integer.parseInt(data[0])",
"Integer.parseInt",
"Integer",
"data[0]",
"data",
"0",
"w = Integer.parseInt(data[1])",
"w",
"Integer.parseInt(data[1])",
"Integer.parseInt",
"Integer",
"data[1]",
"data",
"1",
"if (h == 0 && w == 0) {\n break;\n }",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"{\n break;\n }",
"break;",
"for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n strb.append(\"#\");\n }\n strb.append(\"\\n\");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n for (int j = 0; j < w; j++) {\n strb.append(\"#\");\n }\n strb.append(\"\\n\");\n }",
"{\n for (int j = 0; j < w; j++) {\n strb.append(\"#\");\n }\n strb.append(\"\\n\");\n }",
"for (int j = 0; j < w; j++) {\n strb.append(\"#\");\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < w",
"j",
"w",
"j++",
"j++",
"j",
"{\n strb.append(\"#\");\n }",
"{\n strb.append(\"#\");\n }",
"strb.append(\"#\")",
"strb.append",
"strb",
"\"#\"",
"strb.append(\"\\n\")",
"strb.append",
"strb",
"\"\\n\"",
"strb.append(\"\\n\")",
"strb.append",
"strb",
"\"\\n\"",
"System.out.print(strb)",
"System.out.print",
"System.out",
"System",
"System.out",
"strb",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n StringBuilder strb = new StringBuilder();\n String[] data;\n int h = 0;\n int w = 0;\n while (true) {\n data = br.readLine().split(\" \");\n h = Integer.parseInt(data[0]);\n w = Integer.parseInt(data[1]);\n if (h == 0 && w == 0) {\n break;\n }\n for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n strb.append(\"#\");\n }\n strb.append(\"\\n\");\n }\n strb.append(\"\\n\");\n }\n System.out.print(strb);\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n StringBuilder strb = new StringBuilder();\n String[] data;\n int h = 0;\n int w = 0;\n while (true) {\n data = br.readLine().split(\" \");\n h = Integer.parseInt(data[0]);\n w = Integer.parseInt(data[1]);\n if (h == 0 && w == 0) {\n break;\n }\n for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n strb.append(\"#\");\n }\n strb.append(\"\\n\");\n }\n strb.append(\"\\n\");\n }\n System.out.print(strb);\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(
new InputStreamReader(System.in));
StringBuilder strb = new StringBuilder();
String[] data;
int h = 0;
int w = 0;
while (true) {
data = br.readLine().split(" ");
h = Integer.parseInt(data[0]);
w = Integer.parseInt(data[1]);
if (h == 0 && w == 0) {
break;
}
for (int i = 0; i < h; i++) {
for (int j = 0; j < w; j++) {
strb.append("#");
}
strb.append("\n");
}
strb.append("\n");
}
System.out.print(strb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
2,
13,
17,
4,
18,
13,
17,
4,
18,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
106,
8
],
[
106,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
34,
40
],
[
23,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
41,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
54,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
53,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
23,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
84,
86
],
[
23,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
87,
91
],
[
91,
92
],
[
92,
93
],
[
11,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
11,
100
],
[
100,
101
],
[
101,
102
],
[
9,
103
],
[
103,
104
],
[
0,
105
],
[
105,
106
],
[
105,
107
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder output = new StringBuilder();\n\t\tStringBuilder all = new StringBuilder();\n\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif (H + W == 0)\n\t\t\t\tbreak;\n\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput = output.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput = output.append(\"\\n\");\n\t\t\t}\n\t\t\tall = all.append(output + \"\\n\");\n\t\t\toutput.delete(0,output.length());\n\t\t}\n\t\tSystem.out.print(all);\n\t\tsc.close();\n\t}\n\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder output = new StringBuilder();\n\t\tStringBuilder all = new StringBuilder();\n\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif (H + W == 0)\n\t\t\t\tbreak;\n\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput = output.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput = output.append(\"\\n\");\n\t\t\t}\n\t\t\tall = all.append(output + \"\\n\");\n\t\t\toutput.delete(0,output.length());\n\t\t}\n\t\tSystem.out.print(all);\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder output = new StringBuilder();\n\t\tStringBuilder all = new StringBuilder();\n\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif (H + W == 0)\n\t\t\t\tbreak;\n\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput = output.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput = output.append(\"\\n\");\n\t\t\t}\n\t\t\tall = all.append(output + \"\\n\");\n\t\t\toutput.delete(0,output.length());\n\t\t}\n\t\tSystem.out.print(all);\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder output = new StringBuilder();\n\t\tStringBuilder all = new StringBuilder();\n\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif (H + W == 0)\n\t\t\t\tbreak;\n\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput = output.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput = output.append(\"\\n\");\n\t\t\t}\n\t\t\tall = all.append(output + \"\\n\");\n\t\t\toutput.delete(0,output.length());\n\t\t}\n\t\tSystem.out.print(all);\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuilder output = new StringBuilder();",
"output",
"new StringBuilder()",
"StringBuilder all = new StringBuilder();",
"all",
"new StringBuilder()",
"while (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif (H + W == 0)\n\t\t\t\tbreak;\n\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput = output.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput = output.append(\"\\n\");\n\t\t\t}\n\t\t\tall = all.append(output + \"\\n\");\n\t\t\toutput.delete(0,output.length());\n\t\t}",
"true",
"{\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif (H + W == 0)\n\t\t\t\tbreak;\n\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput = output.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput = output.append(\"\\n\");\n\t\t\t}\n\t\t\tall = all.append(output + \"\\n\");\n\t\t\toutput.delete(0,output.length());\n\t\t}",
"int H = sc.nextInt();",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int W = sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (H + W == 0)\n\t\t\t\tbreak;",
"H + W == 0",
"H + W",
"H",
"W",
"0",
"break;",
"for (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput = output.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput = output.append(\"\\n\");\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput = output.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput = output.append(\"\\n\");\n\t\t\t}",
"{\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput = output.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput = output.append(\"\\n\");\n\t\t\t}",
"for (int j = 0; j < W; j++) {\n\t\t\t\t\toutput = output.append(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\toutput = output.append(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\toutput = output.append(\"#\");\n\t\t\t\t}",
"output = output.append(\"#\")",
"output",
"output.append(\"#\")",
"output.append",
"output",
"\"#\"",
"output = output.append(\"\\n\")",
"output",
"output.append(\"\\n\")",
"output.append",
"output",
"\"\\n\"",
"all = all.append(output + \"\\n\")",
"all",
"all.append(output + \"\\n\")",
"all.append",
"all",
"output + \"\\n\"",
"output",
"\"\\n\"",
"output.delete(0,output.length())",
"output.delete",
"output",
"0",
"output.length()",
"output.length",
"output",
"System.out.print(all)",
"System.out.print",
"System.out",
"System",
"System.out",
"all",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder output = new StringBuilder();\n\t\tStringBuilder all = new StringBuilder();\n\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif (H + W == 0)\n\t\t\t\tbreak;\n\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput = output.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput = output.append(\"\\n\");\n\t\t\t}\n\t\t\tall = all.append(output + \"\\n\");\n\t\t\toutput.delete(0,output.length());\n\t\t}\n\t\tSystem.out.print(all);\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder output = new StringBuilder();\n\t\tStringBuilder all = new StringBuilder();\n\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif (H + W == 0)\n\t\t\t\tbreak;\n\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput = output.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput = output.append(\"\\n\");\n\t\t\t}\n\t\t\tall = all.append(output + \"\\n\");\n\t\t\toutput.delete(0,output.length());\n\t\t}\n\t\tSystem.out.print(all);\n\t\tsc.close();\n\t}\n\n}",
"Main"
] | import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
Scanner sc = new Scanner(System.in);
StringBuilder output = new StringBuilder();
StringBuilder all = new StringBuilder();
while (true) {
int H = sc.nextInt();
int W = sc.nextInt();
if (H + W == 0)
break;
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
output = output.append("#");
}
output = output.append("\n");
}
all = all.append(output + "\n");
output.delete(0,output.length());
}
System.out.print(all);
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
4,
18,
13,
40,
17,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
123,
11
],
[
123,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
15,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
44,
48
],
[
41,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
41,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
41,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
41,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
75,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
88,
96
],
[
96,
97
],
[
97,
98
],
[
88,
99
],
[
100,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
87,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
41,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
27,
117
],
[
117,
118
],
[
118,
119
],
[
12,
120
],
[
120,
121
],
[
0,
122
],
[
122,
123
],
[
122,
124
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.lang.Math;\n\npublic class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n \n while((line = stdReader.readLine()) != null) {\n String[] input = line.split(\" \", 0);\n int h = Integer.parseInt(input[0]);\n int w = Integer.parseInt(input[1]);\n \n if(h == 0 && w == 0) {\n break;\n }\n for(int i = 0; i < h; i++) {\n for(int j = 0; j < w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n \n while((line = stdReader.readLine()) != null) {\n String[] input = line.split(\" \", 0);\n int h = Integer.parseInt(input[0]);\n int w = Integer.parseInt(input[1]);\n \n if(h == 0 && w == 0) {\n break;\n }\n for(int i = 0; i < h; i++) {\n for(int j = 0; j < w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n \n while((line = stdReader.readLine()) != null) {\n String[] input = line.split(\" \", 0);\n int h = Integer.parseInt(input[0]);\n int w = Integer.parseInt(input[1]);\n \n if(h == 0 && w == 0) {\n break;\n }\n for(int i = 0; i < h; i++) {\n for(int j = 0; j < w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }",
"main",
"{\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n \n while((line = stdReader.readLine()) != null) {\n String[] input = line.split(\" \", 0);\n int h = Integer.parseInt(input[0]);\n int w = Integer.parseInt(input[1]);\n \n if(h == 0 && w == 0) {\n break;\n }\n for(int i = 0; i < h; i++) {\n for(int j = 0; j < w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }",
"try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n \n while((line = stdReader.readLine()) != null) {\n String[] input = line.split(\" \", 0);\n int h = Integer.parseInt(input[0]);\n int w = Integer.parseInt(input[1]);\n \n if(h == 0 && w == 0) {\n break;\n }\n for(int i = 0; i < h; i++) {\n for(int j = 0; j < w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }",
"catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }",
"Exception e",
"{\n e.getStackTrace();\n System.exit(-1);\n }",
"e.getStackTrace()",
"e.getStackTrace",
"e",
"System.exit(-1)",
"System.exit",
"System",
"-1",
"1",
"{\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n \n while((line = stdReader.readLine()) != null) {\n String[] input = line.split(\" \", 0);\n int h = Integer.parseInt(input[0]);\n int w = Integer.parseInt(input[1]);\n \n if(h == 0 && w == 0) {\n break;\n }\n for(int i = 0; i < h; i++) {\n for(int j = 0; j < w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n stdReader.close();\n }",
"BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));",
"stdReader",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"while((line = stdReader.readLine()) != null) {\n String[] input = line.split(\" \", 0);\n int h = Integer.parseInt(input[0]);\n int w = Integer.parseInt(input[1]);\n \n if(h == 0 && w == 0) {\n break;\n }\n for(int i = 0; i < h; i++) {\n for(int j = 0; j < w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"(line = stdReader.readLine()) != null",
"(line = stdReader.readLine())",
"line",
"stdReader.readLine()",
"stdReader.readLine",
"stdReader",
"null",
"{\n String[] input = line.split(\" \", 0);\n int h = Integer.parseInt(input[0]);\n int w = Integer.parseInt(input[1]);\n \n if(h == 0 && w == 0) {\n break;\n }\n for(int i = 0; i < h; i++) {\n for(int j = 0; j < w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"String[] input = line.split(\" \", 0);",
"input",
"line.split(\" \", 0)",
"line.split",
"line",
"\" \"",
"0",
"int h = Integer.parseInt(input[0]);",
"h",
"Integer.parseInt(input[0])",
"Integer.parseInt",
"Integer",
"input[0]",
"input",
"0",
"int w = Integer.parseInt(input[1]);",
"w",
"Integer.parseInt(input[1])",
"Integer.parseInt",
"Integer",
"input[1]",
"input",
"1",
"if(h == 0 && w == 0) {\n break;\n }",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"{\n break;\n }",
"break;",
"for(int i = 0; i < h; i++) {\n for(int j = 0; j < w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n for(int j = 0; j < w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"{\n for(int j = 0; j < w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"for(int j = 0; j < w; j++) {\n System.out.print(\"#\");\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < w",
"j",
"w",
"j++",
"j++",
"j",
"{\n System.out.print(\"#\");\n }",
"{\n System.out.print(\"#\");\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"stdReader.close()",
"stdReader.close",
"stdReader",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n \n while((line = stdReader.readLine()) != null) {\n String[] input = line.split(\" \", 0);\n int h = Integer.parseInt(input[0]);\n int w = Integer.parseInt(input[1]);\n \n if(h == 0 && w == 0) {\n break;\n }\n for(int i = 0; i < h; i++) {\n for(int j = 0; j < w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n \n while((line = stdReader.readLine()) != null) {\n String[] input = line.split(\" \", 0);\n int h = Integer.parseInt(input[0]);\n int w = Integer.parseInt(input[1]);\n \n if(h == 0 && w == 0) {\n break;\n }\n for(int i = 0; i < h; i++) {\n for(int j = 0; j < w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.Math;
public class Main {
public static void main(String[] args) {
try {
BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
String line;
while((line = stdReader.readLine()) != null) {
String[] input = line.split(" ", 0);
int h = Integer.parseInt(input[0]);
int w = Integer.parseInt(input[1]);
if(h == 0 && w == 0) {
break;
}
for(int i = 0; i < h; i++) {
for(int j = 0; j < w; j++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
stdReader.close();
} catch(Exception e) {
e.getStackTrace();
System.exit(-1);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
41,
13,
12,
13,
30,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
12,
13,
30,
4,
18,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
9
],
[
9,
10
],
[
4,
11
],
[
11,
12
],
[
4,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
18,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
50,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
18,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
4,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
80,
86
],
[
86,
87
]
] | [
"import java.util.Scanner;\nclass Main{\n\tScanner sc = new Scanner(System.in);\n\tint H;\n\tint W;\n\t\n\tvoid sp1(){\n\t\twhile(true){\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t\tif(H==0 && W==0)break;\n\t\n\t\t\tfor(int i=0; i<H; i++){\n\t\t\t\t\n\t\t\t\n\t\t\t\tfor(int j=0; j<W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\n\t\t\t}\t\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\t\n\t\n\t\tpublic static void main(String[]agrs){\n\t\t\tnew Main().sp1();\n\t\t}\n\t}\n\t\t",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tScanner sc = new Scanner(System.in);\n\tint H;\n\tint W;\n\t\n\tvoid sp1(){\n\t\twhile(true){\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t\tif(H==0 && W==0)break;\n\t\n\t\t\tfor(int i=0; i<H; i++){\n\t\t\t\t\n\t\t\t\n\t\t\t\tfor(int j=0; j<W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\n\t\t\t}\t\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\t\n\t\n\t\tpublic static void main(String[]agrs){\n\t\t\tnew Main().sp1();\n\t\t}\n\t}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int H;",
"H",
"int W;",
"W",
"void sp1(){\n\t\twhile(true){\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t\tif(H==0 && W==0)break;\n\t\n\t\t\tfor(int i=0; i<H; i++){\n\t\t\t\t\n\t\t\t\n\t\t\t\tfor(int j=0; j<W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\n\t\t\t}\t\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"sp1",
"{\n\t\twhile(true){\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t\tif(H==0 && W==0)break;\n\t\n\t\t\tfor(int i=0; i<H; i++){\n\t\t\t\t\n\t\t\t\n\t\t\t\tfor(int j=0; j<W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\n\t\t\t}\t\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"while(true){\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t\tif(H==0 && W==0)break;\n\t\n\t\t\tfor(int i=0; i<H; i++){\n\t\t\t\t\n\t\t\t\n\t\t\t\tfor(int j=0; j<W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\n\t\t\t}\t\n\t\t\tSystem.out.println();\n\t\t}",
"true",
"{\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t\tif(H==0 && W==0)break;\n\t\n\t\t\tfor(int i=0; i<H; i++){\n\t\t\t\t\n\t\t\t\n\t\t\t\tfor(int j=0; j<W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\n\t\t\t}\t\n\t\t\tSystem.out.println();\n\t\t}",
"H = sc.nextInt()",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"W = sc.nextInt()",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(H==0 && W==0)break;",
"H==0 && W==0",
"H==0",
"H",
"0",
"W==0",
"W",
"0",
"break;",
"for(int i=0; i<H; i++){\n\t\t\t\t\n\t\t\t\n\t\t\t\tfor(int j=0; j<W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\t\n\t\t\t\n\t\t\t\tfor(int j=0; j<W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\n\t\t\t}",
"{\n\t\t\t\t\n\t\t\t\n\t\t\t\tfor(int j=0; j<W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\n\t\t\t}",
"for(int j=0; j<W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"public static void main(String[]agrs){\n\t\t\tnew Main().sp1();\n\t\t}",
"main",
"{\n\t\t\tnew Main().sp1();\n\t\t}",
"new Main().sp1()",
"new Main().sp1",
"new Main()",
"String[]agrs",
"agrs"
] | import java.util.Scanner;
class Main{
Scanner sc = new Scanner(System.in);
int H;
int W;
void sp1(){
while(true){
H = sc.nextInt();
W = sc.nextInt();
if(H==0 && W==0)break;
for(int i=0; i<H; i++){
for(int j=0; j<W; j++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
public static void main(String[]agrs){
new Main().sp1();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
84,
5
],
[
84,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
17,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
37,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
50,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
49,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
17,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
8,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tStringBuilder output = new StringBuilder();\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput.append('\\n');\n\t\t\t}\n\t\t\toutput.append('\\n');\n\t\t}\n\t\tSystem.out.print(output);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tStringBuilder output = new StringBuilder();\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput.append('\\n');\n\t\t\t}\n\t\t\toutput.append('\\n');\n\t\t}\n\t\tSystem.out.print(output);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tStringBuilder output = new StringBuilder();\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput.append('\\n');\n\t\t\t}\n\t\t\toutput.append('\\n');\n\t\t}\n\t\tSystem.out.print(output);\n\t}",
"main",
"{\n\t\tStringBuilder output = new StringBuilder();\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput.append('\\n');\n\t\t\t}\n\t\t\toutput.append('\\n');\n\t\t}\n\t\tSystem.out.print(output);\n\t}",
"StringBuilder output = new StringBuilder();",
"output",
"new StringBuilder()",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true) {\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput.append('\\n');\n\t\t\t}\n\t\t\toutput.append('\\n');\n\t\t}",
"true",
"{\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput.append('\\n');\n\t\t\t}\n\t\t\toutput.append('\\n');\n\t\t}",
"int H = scan.nextInt();",
"H",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int W = scan.nextInt();",
"W",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (H == 0 && W == 0)\n\t\t\t\tbreak;",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"break;",
"for (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput.append('\\n');\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput.append('\\n');\n\t\t\t}",
"{\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput.append('\\n');\n\t\t\t}",
"for (int j = 0; j < W; j++) {\n\t\t\t\t\toutput.append(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\toutput.append(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\toutput.append(\"#\");\n\t\t\t\t}",
"output.append(\"#\")",
"output.append",
"output",
"\"#\"",
"output.append('\\n')",
"output.append",
"output",
"'\\n'",
"output.append('\\n')",
"output.append",
"output",
"'\\n'",
"System.out.print(output)",
"System.out.print",
"System.out",
"System",
"System.out",
"output",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tStringBuilder output = new StringBuilder();\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput.append('\\n');\n\t\t\t}\n\t\t\toutput.append('\\n');\n\t\t}\n\t\tSystem.out.print(output);\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tStringBuilder output = new StringBuilder();\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\toutput.append(\"#\");\n\t\t\t\t}\n\t\t\t\toutput.append('\\n');\n\t\t\t}\n\t\t\toutput.append('\\n');\n\t\t}\n\t\tSystem.out.print(output);\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
StringBuilder output = new StringBuilder();
Scanner scan = new Scanner(System.in);
while(true) {
int H = scan.nextInt();
int W = scan.nextInt();
if (H == 0 && W == 0)
break;
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
output.append("#");
}
output.append('\n');
}
output.append('\n');
}
System.out.print(output);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
42,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
40,
13,
4,
18,
18,
13,
13,
17,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
17,
41,
13,
20,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
112,
14
],
[
112,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
17,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
17,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
48,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
64,
71
],
[
71,
72
],
[
59,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
59,
79
],
[
79,
80
],
[
79,
81
],
[
59,
82
],
[
82,
83
],
[
48,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
48,
90
],
[
90,
91
],
[
90,
92
],
[
48,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
98,
99
],
[
99,
100
],
[
48,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
106,
107
],
[
107,
108
],
[
15,
109
],
[
109,
110
],
[
0,
111
],
[
111,
112
],
[
111,
113
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tStringTokenizer st=new StringTokenizer(br.readLine());\n\t\tint H=Integer.parseInt(st.nextToken());\n\t\tint W=Integer.parseInt(st.nextToken());\n\n\t\twhile(H!=0 || W!=0) {\n\n\t\t\tint i=1;\n\t\t\tint j=0;\n\n\t\t\twhile(j<H) {\n\t\t\t\twhile(i<W) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\ti=1;\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tStringTokenizer sa=new StringTokenizer(br.readLine());\n\t\t\tH=Integer.parseInt(sa.nextToken());\n\t\t\tW=Integer.parseInt(sa.nextToken());\n\n\t\t}\n\t}\n\n}\n",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tStringTokenizer st=new StringTokenizer(br.readLine());\n\t\tint H=Integer.parseInt(st.nextToken());\n\t\tint W=Integer.parseInt(st.nextToken());\n\n\t\twhile(H!=0 || W!=0) {\n\n\t\t\tint i=1;\n\t\t\tint j=0;\n\n\t\t\twhile(j<H) {\n\t\t\t\twhile(i<W) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\ti=1;\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tStringTokenizer sa=new StringTokenizer(br.readLine());\n\t\t\tH=Integer.parseInt(sa.nextToken());\n\t\t\tW=Integer.parseInt(sa.nextToken());\n\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tStringTokenizer st=new StringTokenizer(br.readLine());\n\t\tint H=Integer.parseInt(st.nextToken());\n\t\tint W=Integer.parseInt(st.nextToken());\n\n\t\twhile(H!=0 || W!=0) {\n\n\t\t\tint i=1;\n\t\t\tint j=0;\n\n\t\t\twhile(j<H) {\n\t\t\t\twhile(i<W) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\ti=1;\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tStringTokenizer sa=new StringTokenizer(br.readLine());\n\t\t\tH=Integer.parseInt(sa.nextToken());\n\t\t\tW=Integer.parseInt(sa.nextToken());\n\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tStringTokenizer st=new StringTokenizer(br.readLine());\n\t\tint H=Integer.parseInt(st.nextToken());\n\t\tint W=Integer.parseInt(st.nextToken());\n\n\t\twhile(H!=0 || W!=0) {\n\n\t\t\tint i=1;\n\t\t\tint j=0;\n\n\t\t\twhile(j<H) {\n\t\t\t\twhile(i<W) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\ti=1;\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tStringTokenizer sa=new StringTokenizer(br.readLine());\n\t\t\tH=Integer.parseInt(sa.nextToken());\n\t\t\tW=Integer.parseInt(sa.nextToken());\n\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"int H=Integer.parseInt(st.nextToken());",
"H",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int W=Integer.parseInt(st.nextToken());",
"W",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"while(H!=0 || W!=0) {\n\n\t\t\tint i=1;\n\t\t\tint j=0;\n\n\t\t\twhile(j<H) {\n\t\t\t\twhile(i<W) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\ti=1;\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tStringTokenizer sa=new StringTokenizer(br.readLine());\n\t\t\tH=Integer.parseInt(sa.nextToken());\n\t\t\tW=Integer.parseInt(sa.nextToken());\n\n\t\t}",
"H!=0 || W!=0",
"H!=0",
"H",
"0",
"W!=0",
"W",
"0",
"{\n\n\t\t\tint i=1;\n\t\t\tint j=0;\n\n\t\t\twhile(j<H) {\n\t\t\t\twhile(i<W) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\ti=1;\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tStringTokenizer sa=new StringTokenizer(br.readLine());\n\t\t\tH=Integer.parseInt(sa.nextToken());\n\t\t\tW=Integer.parseInt(sa.nextToken());\n\n\t\t}",
"int i=1;",
"i",
"1",
"int j=0;",
"j",
"0",
"while(j<H) {\n\t\t\t\twhile(i<W) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\ti=1;\n\t\t\t\tj++;\n\t\t\t}",
"j<H",
"j",
"H",
"{\n\t\t\t\twhile(i<W) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\ti=1;\n\t\t\t\tj++;\n\t\t\t}",
"while(i<W) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}",
"i<W",
"i",
"W",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"i++",
"i",
"System.out.println(\"#\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"#\"",
"i=1",
"i",
"1",
"j++",
"j",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"StringTokenizer sa=new StringTokenizer(br.readLine());",
"sa",
"new StringTokenizer(br.readLine())",
"H=Integer.parseInt(sa.nextToken())",
"H",
"Integer.parseInt(sa.nextToken())",
"Integer.parseInt",
"Integer",
"sa.nextToken()",
"sa.nextToken",
"sa",
"W=Integer.parseInt(sa.nextToken())",
"W",
"Integer.parseInt(sa.nextToken())",
"Integer.parseInt",
"Integer",
"sa.nextToken()",
"sa.nextToken",
"sa",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tStringTokenizer st=new StringTokenizer(br.readLine());\n\t\tint H=Integer.parseInt(st.nextToken());\n\t\tint W=Integer.parseInt(st.nextToken());\n\n\t\twhile(H!=0 || W!=0) {\n\n\t\t\tint i=1;\n\t\t\tint j=0;\n\n\t\t\twhile(j<H) {\n\t\t\t\twhile(i<W) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\ti=1;\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tStringTokenizer sa=new StringTokenizer(br.readLine());\n\t\t\tH=Integer.parseInt(sa.nextToken());\n\t\t\tW=Integer.parseInt(sa.nextToken());\n\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tStringTokenizer st=new StringTokenizer(br.readLine());\n\t\tint H=Integer.parseInt(st.nextToken());\n\t\tint W=Integer.parseInt(st.nextToken());\n\n\t\twhile(H!=0 || W!=0) {\n\n\t\t\tint i=1;\n\t\t\tint j=0;\n\n\t\t\twhile(j<H) {\n\t\t\t\twhile(i<W) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\ti=1;\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tStringTokenizer sa=new StringTokenizer(br.readLine());\n\t\t\tH=Integer.parseInt(sa.nextToken());\n\t\t\tW=Integer.parseInt(sa.nextToken());\n\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer(br.readLine());
int H=Integer.parseInt(st.nextToken());
int W=Integer.parseInt(st.nextToken());
while(H!=0 || W!=0) {
int i=1;
int j=0;
while(j<H) {
while(i<W) {
System.out.print("#");
i++;
}
System.out.println("#");
i=1;
j++;
}
System.out.println("");
StringTokenizer sa=new StringTokenizer(br.readLine());
H=Integer.parseInt(sa.nextToken());
W=Integer.parseInt(sa.nextToken());
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
4,
18,
13,
17,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
18,
13,
13,
0,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
30,
3,
30,
3,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
162,
14
],
[
162,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
27
],
[
27,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
29,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
55,
63
],
[
63,
64
],
[
63,
65
],
[
55,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
66,
76
],
[
76,
77
],
[
77,
78
],
[
66,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
87,
88
],
[
87,
89
],
[
55,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
55,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
55,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
107,
109
],
[
102,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
116,
118
],
[
111,
119
],
[
119,
120
],
[
120,
121
],
[
111,
122
],
[
123,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
124,
129
],
[
129,
130
],
[
129,
131
],
[
124,
132
],
[
132,
133
],
[
133,
134
],
[
124,
135
],
[
136,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
137,
142
],
[
123,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
143,
148
],
[
110,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
149,
154
],
[
102,
155
],
[
155,
156
],
[
51,
157
],
[
157,
158
],
[
15,
159
],
[
159,
160
],
[
0,
161
],
[
161,
162
],
[
161,
163
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint numH = 0;\n\t\tint numW = 0;\n\n\t\tString sel = \"#\";\n\n\t\tString[] NumWork;\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\t\tNumWork = line.split(\" \", 0);\n\n\t\t\t\t\t//??´??°?????°??????\n\t\t\t\t\tArrayList<Integer> NumList = new ArrayList<Integer>();\n\n\t\t\t\t\tfor (int i = 0; i < NumWork.length; i++) {\n\t\t\t\t\t\tNumList.add(Integer.parseInt(NumWork[i]));\n\t\t\t\t\t}\n\t\t\t\t\tnumH = NumList.get(0);\n\t\t\t\t\tnumW = NumList.get(1);\n\n\t\t\t\t\t//????????¢?????????\n\t\t\t\t\t//????????????\n\t\t\t\t\tif (numH != 0 || numW != 0) {\n\n\t\t\t\t\t\tfor (int i = 0; i < numH; i++) {\n\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\tfor (int j = 0; j < numW; j++) {\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint numH = 0;\n\t\tint numW = 0;\n\n\t\tString sel = \"#\";\n\n\t\tString[] NumWork;\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\t\tNumWork = line.split(\" \", 0);\n\n\t\t\t\t\t//??´??°?????°??????\n\t\t\t\t\tArrayList<Integer> NumList = new ArrayList<Integer>();\n\n\t\t\t\t\tfor (int i = 0; i < NumWork.length; i++) {\n\t\t\t\t\t\tNumList.add(Integer.parseInt(NumWork[i]));\n\t\t\t\t\t}\n\t\t\t\t\tnumH = NumList.get(0);\n\t\t\t\t\tnumW = NumList.get(1);\n\n\t\t\t\t\t//????????¢?????????\n\t\t\t\t\t//????????????\n\t\t\t\t\tif (numH != 0 || numW != 0) {\n\n\t\t\t\t\t\tfor (int i = 0; i < numH; i++) {\n\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\tfor (int j = 0; j < numW; j++) {\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint numH = 0;\n\t\tint numW = 0;\n\n\t\tString sel = \"#\";\n\n\t\tString[] NumWork;\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\t\tNumWork = line.split(\" \", 0);\n\n\t\t\t\t\t//??´??°?????°??????\n\t\t\t\t\tArrayList<Integer> NumList = new ArrayList<Integer>();\n\n\t\t\t\t\tfor (int i = 0; i < NumWork.length; i++) {\n\t\t\t\t\t\tNumList.add(Integer.parseInt(NumWork[i]));\n\t\t\t\t\t}\n\t\t\t\t\tnumH = NumList.get(0);\n\t\t\t\t\tnumW = NumList.get(1);\n\n\t\t\t\t\t//????????¢?????????\n\t\t\t\t\t//????????????\n\t\t\t\t\tif (numH != 0 || numW != 0) {\n\n\t\t\t\t\t\tfor (int i = 0; i < numH; i++) {\n\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\tfor (int j = 0; j < numW; j++) {\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\t}",
"main",
"{\n\n\t\t//?????£?????????\n\t\tint numH = 0;\n\t\tint numW = 0;\n\n\t\tString sel = \"#\";\n\n\t\tString[] NumWork;\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\t\tNumWork = line.split(\" \", 0);\n\n\t\t\t\t\t//??´??°?????°??????\n\t\t\t\t\tArrayList<Integer> NumList = new ArrayList<Integer>();\n\n\t\t\t\t\tfor (int i = 0; i < NumWork.length; i++) {\n\t\t\t\t\t\tNumList.add(Integer.parseInt(NumWork[i]));\n\t\t\t\t\t}\n\t\t\t\t\tnumH = NumList.get(0);\n\t\t\t\t\tnumW = NumList.get(1);\n\n\t\t\t\t\t//????????¢?????????\n\t\t\t\t\t//????????????\n\t\t\t\t\tif (numH != 0 || numW != 0) {\n\n\t\t\t\t\t\tfor (int i = 0; i < numH; i++) {\n\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\tfor (int j = 0; j < numW; j++) {\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\t}",
"int numH = 0;",
"numH",
"0",
"int numW = 0;",
"numW",
"0",
"String sel = \"#\";",
"sel",
"\"#\"",
"String[] NumWork;",
"NumWork",
"try {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\t\tNumWork = line.split(\" \", 0);\n\n\t\t\t\t\t//??´??°?????°??????\n\t\t\t\t\tArrayList<Integer> NumList = new ArrayList<Integer>();\n\n\t\t\t\t\tfor (int i = 0; i < NumWork.length; i++) {\n\t\t\t\t\t\tNumList.add(Integer.parseInt(NumWork[i]));\n\t\t\t\t\t}\n\t\t\t\t\tnumH = NumList.get(0);\n\t\t\t\t\tnumW = NumList.get(1);\n\n\t\t\t\t\t//????????¢?????????\n\t\t\t\t\t//????????????\n\t\t\t\t\tif (numH != 0 || numW != 0) {\n\n\t\t\t\t\t\tfor (int i = 0; i < numH; i++) {\n\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\tfor (int j = 0; j < numW; j++) {\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}",
"catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}",
"IOException e",
"{\n\t\t\tSystem.out.println(e);\n\t\t}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\t\tNumWork = line.split(\" \", 0);\n\n\t\t\t\t\t//??´??°?????°??????\n\t\t\t\t\tArrayList<Integer> NumList = new ArrayList<Integer>();\n\n\t\t\t\t\tfor (int i = 0; i < NumWork.length; i++) {\n\t\t\t\t\t\tNumList.add(Integer.parseInt(NumWork[i]));\n\t\t\t\t\t}\n\t\t\t\t\tnumH = NumList.get(0);\n\t\t\t\t\tnumW = NumList.get(1);\n\n\t\t\t\t\t//????????¢?????????\n\t\t\t\t\t//????????????\n\t\t\t\t\tif (numH != 0 || numW != 0) {\n\n\t\t\t\t\t\tfor (int i = 0; i < numH; i++) {\n\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\tfor (int j = 0; j < numW; j++) {\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while (true) {\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\t\tNumWork = line.split(\" \", 0);\n\n\t\t\t\t\t//??´??°?????°??????\n\t\t\t\t\tArrayList<Integer> NumList = new ArrayList<Integer>();\n\n\t\t\t\t\tfor (int i = 0; i < NumWork.length; i++) {\n\t\t\t\t\t\tNumList.add(Integer.parseInt(NumWork[i]));\n\t\t\t\t\t}\n\t\t\t\t\tnumH = NumList.get(0);\n\t\t\t\t\tnumW = NumList.get(1);\n\n\t\t\t\t\t//????????¢?????????\n\t\t\t\t\t//????????????\n\t\t\t\t\tif (numH != 0 || numW != 0) {\n\n\t\t\t\t\t\tfor (int i = 0; i < numH; i++) {\n\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\tfor (int j = 0; j < numW; j++) {\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}",
"true",
"{\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\t\tNumWork = line.split(\" \", 0);\n\n\t\t\t\t\t//??´??°?????°??????\n\t\t\t\t\tArrayList<Integer> NumList = new ArrayList<Integer>();\n\n\t\t\t\t\tfor (int i = 0; i < NumWork.length; i++) {\n\t\t\t\t\t\tNumList.add(Integer.parseInt(NumWork[i]));\n\t\t\t\t\t}\n\t\t\t\t\tnumH = NumList.get(0);\n\t\t\t\t\tnumW = NumList.get(1);\n\n\t\t\t\t\t//????????¢?????????\n\t\t\t\t\t//????????????\n\t\t\t\t\tif (numH != 0 || numW != 0) {\n\n\t\t\t\t\t\tfor (int i = 0; i < numH; i++) {\n\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\tfor (int j = 0; j < numW; j++) {\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"if (line != null) {\n\n\t\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\t\tNumWork = line.split(\" \", 0);\n\n\t\t\t\t\t//??´??°?????°??????\n\t\t\t\t\tArrayList<Integer> NumList = new ArrayList<Integer>();\n\n\t\t\t\t\tfor (int i = 0; i < NumWork.length; i++) {\n\t\t\t\t\t\tNumList.add(Integer.parseInt(NumWork[i]));\n\t\t\t\t\t}\n\t\t\t\t\tnumH = NumList.get(0);\n\t\t\t\t\tnumW = NumList.get(1);\n\n\t\t\t\t\t//????????¢?????????\n\t\t\t\t\t//????????????\n\t\t\t\t\tif (numH != 0 || numW != 0) {\n\n\t\t\t\t\t\tfor (int i = 0; i < numH; i++) {\n\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\tfor (int j = 0; j < numW; j++) {\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"line != null",
"line",
"null",
"{\n\n\t\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\t\tNumWork = line.split(\" \", 0);\n\n\t\t\t\t\t//??´??°?????°??????\n\t\t\t\t\tArrayList<Integer> NumList = new ArrayList<Integer>();\n\n\t\t\t\t\tfor (int i = 0; i < NumWork.length; i++) {\n\t\t\t\t\t\tNumList.add(Integer.parseInt(NumWork[i]));\n\t\t\t\t\t}\n\t\t\t\t\tnumH = NumList.get(0);\n\t\t\t\t\tnumW = NumList.get(1);\n\n\t\t\t\t\t//????????¢?????????\n\t\t\t\t\t//????????????\n\t\t\t\t\tif (numH != 0 || numW != 0) {\n\n\t\t\t\t\t\tfor (int i = 0; i < numH; i++) {\n\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\tfor (int j = 0; j < numW; j++) {\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}",
"NumWork = line.split(\" \", 0)",
"NumWork",
"line.split(\" \", 0)",
"line.split",
"line",
"\" \"",
"0",
"ArrayList<Integer> NumList = new ArrayList<Integer>();",
"NumList",
"new ArrayList<Integer>()",
"for (int i = 0; i < NumWork.length; i++) {\n\t\t\t\t\t\tNumList.add(Integer.parseInt(NumWork[i]));\n\t\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < NumWork.length",
"i",
"NumWork.length",
"NumWork",
"NumWork.length",
"i++",
"i++",
"i",
"{\n\t\t\t\t\t\tNumList.add(Integer.parseInt(NumWork[i]));\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tNumList.add(Integer.parseInt(NumWork[i]));\n\t\t\t\t\t}",
"NumList.add(Integer.parseInt(NumWork[i]))",
"NumList.add",
"NumList",
"Integer.parseInt(NumWork[i])",
"Integer.parseInt",
"Integer",
"NumWork[i]",
"NumWork",
"i",
"numH = NumList.get(0)",
"numH",
"NumList.get(0)",
"NumList.get",
"NumList",
"0",
"numW = NumList.get(1)",
"numW",
"NumList.get(1)",
"NumList.get",
"NumList",
"1",
"if (numH != 0 || numW != 0) {\n\n\t\t\t\t\t\tfor (int i = 0; i < numH; i++) {\n\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\tfor (int j = 0; j < numW; j++) {\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"numH != 0 || numW != 0",
"numH != 0",
"numH",
"0",
"numW != 0",
"numW",
"0",
"{\n\n\t\t\t\t\t\tfor (int i = 0; i < numH; i++) {\n\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\tfor (int j = 0; j < numW; j++) {\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t}",
"for (int i = 0; i < numH; i++) {\n\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\tfor (int j = 0; j < numW; j++) {\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < numH",
"i",
"numH",
"i++",
"i++",
"i",
"{\n\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\tfor (int j = 0; j < numW; j++) {\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t\t}",
"{\n\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\tfor (int j = 0; j < numW; j++) {\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t\t}",
"for (int j = 0; j < numW; j++) {\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < numW",
"j",
"numW",
"j++",
"j++",
"j",
"{\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}",
"{\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}",
"System.out.print(sel)",
"System.out.print",
"System.out",
"System",
"System.out",
"sel",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"break;",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint numH = 0;\n\t\tint numW = 0;\n\n\t\tString sel = \"#\";\n\n\t\tString[] NumWork;\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\t\tNumWork = line.split(\" \", 0);\n\n\t\t\t\t\t//??´??°?????°??????\n\t\t\t\t\tArrayList<Integer> NumList = new ArrayList<Integer>();\n\n\t\t\t\t\tfor (int i = 0; i < NumWork.length; i++) {\n\t\t\t\t\t\tNumList.add(Integer.parseInt(NumWork[i]));\n\t\t\t\t\t}\n\t\t\t\t\tnumH = NumList.get(0);\n\t\t\t\t\tnumW = NumList.get(1);\n\n\t\t\t\t\t//????????¢?????????\n\t\t\t\t\t//????????????\n\t\t\t\t\tif (numH != 0 || numW != 0) {\n\n\t\t\t\t\t\tfor (int i = 0; i < numH; i++) {\n\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\tfor (int j = 0; j < numW; j++) {\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint numH = 0;\n\t\tint numW = 0;\n\n\t\tString sel = \"#\";\n\n\t\tString[] NumWork;\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\t\tNumWork = line.split(\" \", 0);\n\n\t\t\t\t\t//??´??°?????°??????\n\t\t\t\t\tArrayList<Integer> NumList = new ArrayList<Integer>();\n\n\t\t\t\t\tfor (int i = 0; i < NumWork.length; i++) {\n\t\t\t\t\t\tNumList.add(Integer.parseInt(NumWork[i]));\n\t\t\t\t\t}\n\t\t\t\t\tnumH = NumList.get(0);\n\t\t\t\t\tnumW = NumList.get(1);\n\n\t\t\t\t\t//????????¢?????????\n\t\t\t\t\t//????????????\n\t\t\t\t\tif (numH != 0 || numW != 0) {\n\n\t\t\t\t\t\tfor (int i = 0; i < numH; i++) {\n\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\tfor (int j = 0; j < numW; j++) {\n\t\t\t\t\t\t\t\tSystem.out.print(sel);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) {
//?????£?????????
int numH = 0;
int numW = 0;
String sel = "#";
String[] NumWork;
try {
//??\????????????
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while (true) {
String line = br.readLine();
if (line != null) {
//??°??£?????´??°?????????
NumWork = line.split(" ", 0);
//??´??°?????°??????
ArrayList<Integer> NumList = new ArrayList<Integer>();
for (int i = 0; i < NumWork.length; i++) {
NumList.add(Integer.parseInt(NumWork[i]));
}
numH = NumList.get(0);
numW = NumList.get(1);
//????????¢?????????
//????????????
if (numH != 0 || numW != 0) {
for (int i = 0; i < numH; i++) {
//
for (int j = 0; j < numW; j++) {
System.out.print(sel);
}
System.out.println("");
}
System.out.println("");
}else{
break;
}
}else{
break;
}
}
} catch (IOException e) {
System.out.println(e);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
40,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
100,
5
],
[
100,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
35,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
58,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
35,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
35,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
82,
86
],
[
35,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
35,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
6,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tStringBuilder sb=new StringBuilder(\"\");\n\t\tint H=sc.nextInt(),W=sc.nextInt(),x;\n\t\twhile (H!=0 || W!=0){\n\t\t\tx=0;\n\t\t\tfor (int m=1;m<=W;m++){\n\t\t\t\tx++;\n\t\t\t\tsb.append(\"#\");}\n\t\tfor (int n=1;n<=H;n++){System.out.println(sb);}\n\t\t\tSystem.out.println();\n\t\t\tsb.delete(0,x);\n\t\t\tH=sc.nextInt();W=sc.nextInt();\n\t\t\t\t}}}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tStringBuilder sb=new StringBuilder(\"\");\n\t\tint H=sc.nextInt(),W=sc.nextInt(),x;\n\t\twhile (H!=0 || W!=0){\n\t\t\tx=0;\n\t\t\tfor (int m=1;m<=W;m++){\n\t\t\t\tx++;\n\t\t\t\tsb.append(\"#\");}\n\t\tfor (int n=1;n<=H;n++){System.out.println(sb);}\n\t\t\tSystem.out.println();\n\t\t\tsb.delete(0,x);\n\t\t\tH=sc.nextInt();W=sc.nextInt();\n\t\t\t\t}}}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tStringBuilder sb=new StringBuilder(\"\");\n\t\tint H=sc.nextInt(),W=sc.nextInt(),x;\n\t\twhile (H!=0 || W!=0){\n\t\t\tx=0;\n\t\t\tfor (int m=1;m<=W;m++){\n\t\t\t\tx++;\n\t\t\t\tsb.append(\"#\");}\n\t\tfor (int n=1;n<=H;n++){System.out.println(sb);}\n\t\t\tSystem.out.println();\n\t\t\tsb.delete(0,x);\n\t\t\tH=sc.nextInt();W=sc.nextInt();\n\t\t\t\t}}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tStringBuilder sb=new StringBuilder(\"\");\n\t\tint H=sc.nextInt(),W=sc.nextInt(),x;\n\t\twhile (H!=0 || W!=0){\n\t\t\tx=0;\n\t\t\tfor (int m=1;m<=W;m++){\n\t\t\t\tx++;\n\t\t\t\tsb.append(\"#\");}\n\t\tfor (int n=1;n<=H;n++){System.out.println(sb);}\n\t\t\tSystem.out.println();\n\t\t\tsb.delete(0,x);\n\t\t\tH=sc.nextInt();W=sc.nextInt();\n\t\t\t\t}}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuilder sb=new StringBuilder(\"\");",
"sb",
"new StringBuilder(\"\")",
"int H=sc.nextInt()",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"W=sc.nextInt()",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"x;",
"x",
"while (H!=0 || W!=0){\n\t\t\tx=0;\n\t\t\tfor (int m=1;m<=W;m++){\n\t\t\t\tx++;\n\t\t\t\tsb.append(\"#\");}\n\t\tfor (int n=1;n<=H;n++){System.out.println(sb);}\n\t\t\tSystem.out.println();\n\t\t\tsb.delete(0,x);\n\t\t\tH=sc.nextInt();W=sc.nextInt();\n\t\t\t\t}",
"H!=0 || W!=0",
"H!=0",
"H",
"0",
"W!=0",
"W",
"0",
"{\n\t\t\tx=0;\n\t\t\tfor (int m=1;m<=W;m++){\n\t\t\t\tx++;\n\t\t\t\tsb.append(\"#\");}\n\t\tfor (int n=1;n<=H;n++){System.out.println(sb);}\n\t\t\tSystem.out.println();\n\t\t\tsb.delete(0,x);\n\t\t\tH=sc.nextInt();W=sc.nextInt();\n\t\t\t\t}",
"x=0",
"x",
"0",
"for (int m=1;m<=W;m++){\n\t\t\t\tx++;\n\t\t\t\tsb.append(\"#\");}",
"int m=1;",
"int m=1;",
"m",
"1",
"m<=W",
"m",
"W",
"m++",
"m++",
"m",
"{\n\t\t\t\tx++;\n\t\t\t\tsb.append(\"#\");}",
"{\n\t\t\t\tx++;\n\t\t\t\tsb.append(\"#\");}",
"x++",
"x",
"sb.append(\"#\")",
"sb.append",
"sb",
"\"#\"",
"for (int n=1;n<=H;n++){System.out.println(sb);}",
"int n=1;",
"int n=1;",
"n",
"1",
"n<=H",
"n",
"H",
"n++",
"n++",
"n",
"{System.out.println(sb);}",
"{System.out.println(sb);}",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.delete(0,x)",
"sb.delete",
"sb",
"0",
"x",
"H=sc.nextInt()",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"W=sc.nextInt()",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tStringBuilder sb=new StringBuilder(\"\");\n\t\tint H=sc.nextInt(),W=sc.nextInt(),x;\n\t\twhile (H!=0 || W!=0){\n\t\t\tx=0;\n\t\t\tfor (int m=1;m<=W;m++){\n\t\t\t\tx++;\n\t\t\t\tsb.append(\"#\");}\n\t\tfor (int n=1;n<=H;n++){System.out.println(sb);}\n\t\t\tSystem.out.println();\n\t\t\tsb.delete(0,x);\n\t\t\tH=sc.nextInt();W=sc.nextInt();\n\t\t\t\t}}}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tStringBuilder sb=new StringBuilder(\"\");\n\t\tint H=sc.nextInt(),W=sc.nextInt(),x;\n\t\twhile (H!=0 || W!=0){\n\t\t\tx=0;\n\t\t\tfor (int m=1;m<=W;m++){\n\t\t\t\tx++;\n\t\t\t\tsb.append(\"#\");}\n\t\tfor (int n=1;n<=H;n++){System.out.println(sb);}\n\t\t\tSystem.out.println();\n\t\t\tsb.delete(0,x);\n\t\t\tH=sc.nextInt();W=sc.nextInt();\n\t\t\t\t}}}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
StringBuilder sb=new StringBuilder("");
int H=sc.nextInt(),W=sc.nextInt(),x;
while (H!=0 || W!=0){
x=0;
for (int m=1;m<=W;m++){
x++;
sb.append("#");}
for (int n=1;n<=H;n++){System.out.println(sb);}
System.out.println();
sb.delete(0,x);
H=sc.nextInt();W=sc.nextInt();
}}} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
14,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
42,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
14,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
6,
74
],
[
74,
75
]
] | [
"import java.util.*;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\t\n\t\t\tif(h == 0) break;\n\t\t\t\n\t\t\tfor(int j=0; j<h; j++) {\n\t\t\t\tfor(int i=0; i<w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\t\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"\");\n\t\t}\t\t\n\t\t\n\t\t\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\t\n\t\t\tif(h == 0) break;\n\t\t\t\n\t\t\tfor(int j=0; j<h; j++) {\n\t\t\t\tfor(int i=0; i<w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\t\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"\");\n\t\t}\t\t\n\t\t\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\t\n\t\t\tif(h == 0) break;\n\t\t\t\n\t\t\tfor(int j=0; j<h; j++) {\n\t\t\t\tfor(int i=0; i<w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\t\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"\");\n\t\t}\t\t\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\t\n\t\t\tif(h == 0) break;\n\t\t\t\n\t\t\tfor(int j=0; j<h; j++) {\n\t\t\t\tfor(int i=0; i<w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\t\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"\");\n\t\t}\t\t\n\t\t\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\t\n\t\t\tif(h == 0) break;\n\t\t\t\n\t\t\tfor(int j=0; j<h; j++) {\n\t\t\t\tfor(int i=0; i<w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\t\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"true",
"{\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\t\n\t\t\tif(h == 0) break;\n\t\t\t\n\t\t\tfor(int j=0; j<h; j++) {\n\t\t\t\tfor(int i=0; i<w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\t\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"int h = sc.nextInt();",
"h",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(h == 0) break;",
"h == 0",
"h",
"0",
"break;",
"for(int j=0; j<h; j++) {\n\t\t\t\tfor(int i=0; i<w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\t\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<h",
"j",
"h",
"j++",
"j++",
"j",
"{\n\t\t\t\tfor(int i=0; i<w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\t\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"{\n\t\t\t\tfor(int i=0; i<w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\t\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"for(int i=0; i<w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<w",
"i",
"w",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args"
] | import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (true) {
int h = sc.nextInt();
int w = sc.nextInt();
if(h == 0) break;
for(int j=0; j<h; j++) {
for(int i=0; i<w; i++) {
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
17,
11,
1,
30,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
88,
5
],
[
88,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
22,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
22,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
65,
66
],
[
56,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
55,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
22,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint H, W;\n\t\tchar a = '#';\n\t\t\n\t\tfor(;;){\n\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(a);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint H, W;\n\t\tchar a = '#';\n\t\t\n\t\tfor(;;){\n\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(a);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint H, W;\n\t\tchar a = '#';\n\t\t\n\t\tfor(;;){\n\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(a);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint H, W;\n\t\tchar a = '#';\n\t\t\n\t\tfor(;;){\n\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(a);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int H",
"H",
"W;",
"W",
"char a = '#';",
"a",
"'#'",
"for(;;){\n\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(a);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
";",
"{\n\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(a);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"{\n\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(a);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"H = scan.nextInt()",
"H",
"scan.nextInt()",
"scan.nextInt",
"scan",
"W = scan.nextInt()",
"W",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(H == 0 && W ==0){\n\t\t\t\tbreak;\n\t\t\t}",
"H == 0 && W ==0",
"H == 0",
"H",
"0",
"W ==0",
"W",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for(int i = 0; i < H; i++){\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(a);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(a);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\n\t\t\t}",
"{\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(a);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\n\t\t\t}",
"for(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(a);\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print(a);\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(a);\n\t\t\t\t}",
"System.out.print(a)",
"System.out.print",
"System.out",
"System",
"System.out",
"a",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint H, W;\n\t\tchar a = '#';\n\t\t\n\t\tfor(;;){\n\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(a);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint H, W;\n\t\tchar a = '#';\n\t\t\n\t\tfor(;;){\n\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(a);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
int H, W;
char a = '#';
for(;;){
H = scan.nextInt();
W = scan.nextInt();
if(H == 0 && W ==0){
break;
}
for(int i = 0; i < H; i++){
for(int j = 0; j < W; j++){
System.out.print(a);
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
81,
5
],
[
81,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
14,
35
],
[
35,
36
],
[
35,
37
],
[
14,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
50,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
14,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
6,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n while (true) {\n int H = stdin.nextInt();\n int W = stdin.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n StringBuilder rect = new StringBuilder();\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n rect.append(\"#\");\n }\n rect.append(\"\\n\");\n }\n\n System.out.println(rect);\n }\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n while (true) {\n int H = stdin.nextInt();\n int W = stdin.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n StringBuilder rect = new StringBuilder();\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n rect.append(\"#\");\n }\n rect.append(\"\\n\");\n }\n\n System.out.println(rect);\n }\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n while (true) {\n int H = stdin.nextInt();\n int W = stdin.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n StringBuilder rect = new StringBuilder();\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n rect.append(\"#\");\n }\n rect.append(\"\\n\");\n }\n\n System.out.println(rect);\n }\n }",
"main",
"{\n Scanner stdin = new Scanner(System.in);\n while (true) {\n int H = stdin.nextInt();\n int W = stdin.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n StringBuilder rect = new StringBuilder();\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n rect.append(\"#\");\n }\n rect.append(\"\\n\");\n }\n\n System.out.println(rect);\n }\n }",
"Scanner stdin = new Scanner(System.in);",
"stdin",
"new Scanner(System.in)",
"while (true) {\n int H = stdin.nextInt();\n int W = stdin.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n StringBuilder rect = new StringBuilder();\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n rect.append(\"#\");\n }\n rect.append(\"\\n\");\n }\n\n System.out.println(rect);\n }",
"true",
"{\n int H = stdin.nextInt();\n int W = stdin.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n StringBuilder rect = new StringBuilder();\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n rect.append(\"#\");\n }\n rect.append(\"\\n\");\n }\n\n System.out.println(rect);\n }",
"int H = stdin.nextInt();",
"H",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"int W = stdin.nextInt();",
"W",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"if (H == 0 && W == 0) {\n break;\n }",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n break;\n }",
"break;",
"StringBuilder rect = new StringBuilder();",
"rect",
"new StringBuilder()",
"for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n rect.append(\"#\");\n }\n rect.append(\"\\n\");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n for (int j = 0; j < W; j++) {\n rect.append(\"#\");\n }\n rect.append(\"\\n\");\n }",
"{\n for (int j = 0; j < W; j++) {\n rect.append(\"#\");\n }\n rect.append(\"\\n\");\n }",
"for (int j = 0; j < W; j++) {\n rect.append(\"#\");\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n rect.append(\"#\");\n }",
"{\n rect.append(\"#\");\n }",
"rect.append(\"#\")",
"rect.append",
"rect",
"\"#\"",
"rect.append(\"\\n\")",
"rect.append",
"rect",
"\"\\n\"",
"System.out.println(rect)",
"System.out.println",
"System.out",
"System",
"System.out",
"rect",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n while (true) {\n int H = stdin.nextInt();\n int W = stdin.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n StringBuilder rect = new StringBuilder();\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n rect.append(\"#\");\n }\n rect.append(\"\\n\");\n }\n\n System.out.println(rect);\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n while (true) {\n int H = stdin.nextInt();\n int W = stdin.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n StringBuilder rect = new StringBuilder();\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n rect.append(\"#\");\n }\n rect.append(\"\\n\");\n }\n\n System.out.println(rect);\n }\n }\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdin = new Scanner(System.in);
while (true) {
int H = stdin.nextInt();
int W = stdin.nextInt();
if (H == 0 && W == 0) {
break;
}
StringBuilder rect = new StringBuilder();
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
rect.append("#");
}
rect.append("\n");
}
System.out.println(rect);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
18,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
50,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
18,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b;\n\t\twhile (true) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif (a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\tfor (int c = 0; c < b; c++) {\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t System.out.println();\n\t\t}\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b;\n\t\twhile (true) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif (a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\tfor (int c = 0; c < b; c++) {\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t System.out.println();\n\t\t}\n }\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b;\n\t\twhile (true) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif (a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\tfor (int c = 0; c < b; c++) {\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t System.out.println();\n\t\t}\n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b;\n\t\twhile (true) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif (a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\tfor (int c = 0; c < b; c++) {\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t System.out.println();\n\t\t}\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a",
"a",
"b;",
"b",
"while (true) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif (a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\tfor (int c = 0; c < b; c++) {\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t System.out.println();\n\t\t}",
"true",
"{\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif (a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\tfor (int c = 0; c < b; c++) {\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t System.out.println();\n\t\t}",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (a == 0 && b == 0)\n\t\t\t\tbreak;",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"break;",
"for (int i = 0; i < a; i++) {\n\t\t\t\tfor (int c = 0; c < b; c++) {\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a",
"i",
"a",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor (int c = 0; c < b; c++) {\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"{\n\t\t\t\tfor (int c = 0; c < b; c++) {\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"for (int c = 0; c < b; c++) {\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}",
"int c = 0;",
"int c = 0;",
"c",
"0",
"c < b",
"c",
"b",
"c++",
"c++",
"c",
"{\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}",
"System.out.printf(\"#\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b;\n\t\twhile (true) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif (a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\tfor (int c = 0; c < b; c++) {\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t System.out.println();\n\t\t}\n }\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b;\n\t\twhile (true) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif (a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\tfor (int c = 0; c < b; c++) {\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t System.out.println();\n\t\t}\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a, b;
while (true) {
a = sc.nextInt();
b = sc.nextInt();
if (a == 0 && b == 0)
break;
for (int i = 0; i < a; i++) {
for (int c = 0; c < b; c++) {
System.out.printf("#");
}
System.out.println();
}
System.out.println();
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
46,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
33,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
33,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
33,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
9,
88
],
[
88,
89
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int H = sc.nextInt();\n int W = sc.nextInt();\n \n while (H != 0 || W != 0) {\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n System.out.printf(\"#\");\n }\n System.out.printf(\"\\n\");\n }\n System.out.printf(\"\\n\");\n \n H = sc.nextInt();\n W = sc.nextInt();\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int H = sc.nextInt();\n int W = sc.nextInt();\n \n while (H != 0 || W != 0) {\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n System.out.printf(\"#\");\n }\n System.out.printf(\"\\n\");\n }\n System.out.printf(\"\\n\");\n \n H = sc.nextInt();\n W = sc.nextInt();\n }\n }\n}",
"Main",
"public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int H = sc.nextInt();\n int W = sc.nextInt();\n \n while (H != 0 || W != 0) {\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n System.out.printf(\"#\");\n }\n System.out.printf(\"\\n\");\n }\n System.out.printf(\"\\n\");\n \n H = sc.nextInt();\n W = sc.nextInt();\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n int H = sc.nextInt();\n int W = sc.nextInt();\n \n while (H != 0 || W != 0) {\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n System.out.printf(\"#\");\n }\n System.out.printf(\"\\n\");\n }\n System.out.printf(\"\\n\");\n \n H = sc.nextInt();\n W = sc.nextInt();\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int H = sc.nextInt();",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int W = sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while (H != 0 || W != 0) {\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n System.out.printf(\"#\");\n }\n System.out.printf(\"\\n\");\n }\n System.out.printf(\"\\n\");\n \n H = sc.nextInt();\n W = sc.nextInt();\n }",
"H != 0 || W != 0",
"H != 0",
"H",
"0",
"W != 0",
"W",
"0",
"{\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n System.out.printf(\"#\");\n }\n System.out.printf(\"\\n\");\n }\n System.out.printf(\"\\n\");\n \n H = sc.nextInt();\n W = sc.nextInt();\n }",
"for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n System.out.printf(\"#\");\n }\n System.out.printf(\"\\n\");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n for (int j = 0; j < W; j++) {\n System.out.printf(\"#\");\n }\n System.out.printf(\"\\n\");\n }",
"{\n for (int j = 0; j < W; j++) {\n System.out.printf(\"#\");\n }\n System.out.printf(\"\\n\");\n }",
"for (int j = 0; j < W; j++) {\n System.out.printf(\"#\");\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n System.out.printf(\"#\");\n }",
"{\n System.out.printf(\"#\");\n }",
"System.out.printf(\"#\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"System.out.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"H = sc.nextInt()",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"W = sc.nextInt()",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String[] args",
"args"
] | import java.io.*;
import java.util.*;
class Main
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
int H = sc.nextInt();
int W = sc.nextInt();
while (H != 0 || W != 0) {
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
System.out.printf("#");
}
System.out.printf("\n");
}
System.out.printf("\n");
H = sc.nextInt();
W = sc.nextInt();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
89,
5
],
[
89,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
30,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
30,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
30,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
30,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
6,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int H = scan.nextInt();\n int W = scan.nextInt();\n while(H != 0 || W != 0){\n StringBuilder sb = new StringBuilder();\n for(int i=0; i<W; i++ ){\n sb.append(\"#\");\n }\n for(int j=0; j<H; j++){\n System.out.println(sb);\n }\n System.out.println(\"\");\n H = scan.nextInt();\n W = scan.nextInt();\n }\n \n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int H = scan.nextInt();\n int W = scan.nextInt();\n while(H != 0 || W != 0){\n StringBuilder sb = new StringBuilder();\n for(int i=0; i<W; i++ ){\n sb.append(\"#\");\n }\n for(int j=0; j<H; j++){\n System.out.println(sb);\n }\n System.out.println(\"\");\n H = scan.nextInt();\n W = scan.nextInt();\n }\n \n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int H = scan.nextInt();\n int W = scan.nextInt();\n while(H != 0 || W != 0){\n StringBuilder sb = new StringBuilder();\n for(int i=0; i<W; i++ ){\n sb.append(\"#\");\n }\n for(int j=0; j<H; j++){\n System.out.println(sb);\n }\n System.out.println(\"\");\n H = scan.nextInt();\n W = scan.nextInt();\n }\n \n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int H = scan.nextInt();\n int W = scan.nextInt();\n while(H != 0 || W != 0){\n StringBuilder sb = new StringBuilder();\n for(int i=0; i<W; i++ ){\n sb.append(\"#\");\n }\n for(int j=0; j<H; j++){\n System.out.println(sb);\n }\n System.out.println(\"\");\n H = scan.nextInt();\n W = scan.nextInt();\n }\n \n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int H = scan.nextInt();",
"H",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int W = scan.nextInt();",
"W",
"scan.nextInt()",
"scan.nextInt",
"scan",
"while(H != 0 || W != 0){\n StringBuilder sb = new StringBuilder();\n for(int i=0; i<W; i++ ){\n sb.append(\"#\");\n }\n for(int j=0; j<H; j++){\n System.out.println(sb);\n }\n System.out.println(\"\");\n H = scan.nextInt();\n W = scan.nextInt();\n }",
"H != 0 || W != 0",
"H != 0",
"H",
"0",
"W != 0",
"W",
"0",
"{\n StringBuilder sb = new StringBuilder();\n for(int i=0; i<W; i++ ){\n sb.append(\"#\");\n }\n for(int j=0; j<H; j++){\n System.out.println(sb);\n }\n System.out.println(\"\");\n H = scan.nextInt();\n W = scan.nextInt();\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for(int i=0; i<W; i++ ){\n sb.append(\"#\");\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<W",
"i",
"W",
"i++",
"i++",
"i",
"{\n sb.append(\"#\");\n }",
"{\n sb.append(\"#\");\n }",
"sb.append(\"#\")",
"sb.append",
"sb",
"\"#\"",
"for(int j=0; j<H; j++){\n System.out.println(sb);\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<H",
"j",
"H",
"j++",
"j++",
"j",
"{\n System.out.println(sb);\n }",
"{\n System.out.println(sb);\n }",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"H = scan.nextInt()",
"H",
"scan.nextInt()",
"scan.nextInt",
"scan",
"W = scan.nextInt()",
"W",
"scan.nextInt()",
"scan.nextInt",
"scan",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int H = scan.nextInt();\n int W = scan.nextInt();\n while(H != 0 || W != 0){\n StringBuilder sb = new StringBuilder();\n for(int i=0; i<W; i++ ){\n sb.append(\"#\");\n }\n for(int j=0; j<H; j++){\n System.out.println(sb);\n }\n System.out.println(\"\");\n H = scan.nextInt();\n W = scan.nextInt();\n }\n \n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int H = scan.nextInt();\n int W = scan.nextInt();\n while(H != 0 || W != 0){\n StringBuilder sb = new StringBuilder();\n for(int i=0; i<W; i++ ){\n sb.append(\"#\");\n }\n for(int j=0; j<H; j++){\n System.out.println(sb);\n }\n System.out.println(\"\");\n H = scan.nextInt();\n W = scan.nextInt();\n }\n \n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int H = scan.nextInt();
int W = scan.nextInt();
while(H != 0 || W != 0){
StringBuilder sb = new StringBuilder();
for(int i=0; i<W; i++ ){
sb.append("#");
}
for(int j=0; j<H; j++){
System.out.println(sb);
}
System.out.println("");
H = scan.nextInt();
W = scan.nextInt();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
20,
23,
13,
12,
13,
30,
4,
18,
20,
6,
13,
12,
13,
30,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
107,
23
],
[
107,
24
],
[
24,
25
],
[
24,
26
],
[
107,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
27,
31
],
[
31,
32
],
[
107,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
107,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
46,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
57,
63
],
[
46,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
64,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
77,
85
],
[
85,
86
],
[
86,
87
],
[
77,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
76,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
46,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
] | [
"import java.awt.AWTException;\nimport java.awt.Robot;\nimport java.awt.event.InputEvent;\nimport java.awt.event.MouseEvent;\nimport java.awt.geom.Point2D;\nimport java.awt.geom.Point2D.Double;\nimport java.util.*;\n \npublic class Main {\n Scanner sc = new Scanner(System.in);\n \n public static void main(String[] args) {\n new Main(); \n }\n \n public Main() {\n new TEST().doIt();\n }\n class TEST{\n void doIt(){\n \twhile(true){\n \t\tint n = sc.nextInt();\n \t\tint m = sc.nextInt();\n \t\tif(n + m == 0)break;\n \t\tfor(int i = 0;i < n;i++){\n \t\t\tfor(int j = 0;j < m;j++){\n \t\t\t\tSystem.out.print(\"#\");\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}\n \t\tSystem.out.println();\n \t}\n }\n }\n}",
"import java.awt.AWTException;",
"AWTException",
"java.awt",
"import java.awt.Robot;",
"Robot",
"java.awt",
"import java.awt.event.InputEvent;",
"InputEvent",
"java.awt.event",
"import java.awt.event.MouseEvent;",
"MouseEvent",
"java.awt.event",
"import java.awt.geom.Point2D;",
"Point2D",
"java.awt.geom",
"import java.awt.geom.Point2D.Double;",
"Double",
"java.awt.geom.Point2D",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n Scanner sc = new Scanner(System.in);\n \n public static void main(String[] args) {\n new Main(); \n }\n \n public Main() {\n new TEST().doIt();\n }\n class TEST{\n void doIt(){\n \twhile(true){\n \t\tint n = sc.nextInt();\n \t\tint m = sc.nextInt();\n \t\tif(n + m == 0)break;\n \t\tfor(int i = 0;i < n;i++){\n \t\t\tfor(int j = 0;j < m;j++){\n \t\t\t\tSystem.out.print(\"#\");\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}\n \t\tSystem.out.println();\n \t}\n }\n }\n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n new Main(); \n }",
"main",
"{\n new Main(); \n }",
"new Main()",
"String[] args",
"args",
"public Main() {\n new TEST().doIt();\n }",
"Main",
"{\n new TEST().doIt();\n }",
"new TEST().doIt()",
"new TEST().doIt",
"new TEST()",
"class TEST{\n void doIt(){\n \twhile(true){\n \t\tint n = sc.nextInt();\n \t\tint m = sc.nextInt();\n \t\tif(n + m == 0)break;\n \t\tfor(int i = 0;i < n;i++){\n \t\t\tfor(int j = 0;j < m;j++){\n \t\t\t\tSystem.out.print(\"#\");\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}\n \t\tSystem.out.println();\n \t}\n }\n }",
"TEST",
"void doIt(){\n \twhile(true){\n \t\tint n = sc.nextInt();\n \t\tint m = sc.nextInt();\n \t\tif(n + m == 0)break;\n \t\tfor(int i = 0;i < n;i++){\n \t\t\tfor(int j = 0;j < m;j++){\n \t\t\t\tSystem.out.print(\"#\");\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}\n \t\tSystem.out.println();\n \t}\n }",
"doIt",
"{\n \twhile(true){\n \t\tint n = sc.nextInt();\n \t\tint m = sc.nextInt();\n \t\tif(n + m == 0)break;\n \t\tfor(int i = 0;i < n;i++){\n \t\t\tfor(int j = 0;j < m;j++){\n \t\t\t\tSystem.out.print(\"#\");\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}\n \t\tSystem.out.println();\n \t}\n }",
"while(true){\n \t\tint n = sc.nextInt();\n \t\tint m = sc.nextInt();\n \t\tif(n + m == 0)break;\n \t\tfor(int i = 0;i < n;i++){\n \t\t\tfor(int j = 0;j < m;j++){\n \t\t\t\tSystem.out.print(\"#\");\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}\n \t\tSystem.out.println();\n \t}",
"true",
"{\n \t\tint n = sc.nextInt();\n \t\tint m = sc.nextInt();\n \t\tif(n + m == 0)break;\n \t\tfor(int i = 0;i < n;i++){\n \t\t\tfor(int j = 0;j < m;j++){\n \t\t\t\tSystem.out.print(\"#\");\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}\n \t\tSystem.out.println();\n \t}",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int m = sc.nextInt();",
"m",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n + m == 0)break;",
"n + m == 0",
"n + m",
"n",
"m",
"0",
"break;",
"for(int i = 0;i < n;i++){\n \t\t\tfor(int j = 0;j < m;j++){\n \t\t\t\tSystem.out.print(\"#\");\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n \t\t\tfor(int j = 0;j < m;j++){\n \t\t\t\tSystem.out.print(\"#\");\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}",
"{\n \t\t\tfor(int j = 0;j < m;j++){\n \t\t\t\tSystem.out.print(\"#\");\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}",
"for(int j = 0;j < m;j++){\n \t\t\t\tSystem.out.print(\"#\");\n \t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < m",
"j",
"m",
"j++",
"j++",
"j",
"{\n \t\t\t\tSystem.out.print(\"#\");\n \t\t\t}",
"{\n \t\t\t\tSystem.out.print(\"#\");\n \t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"public class Main {\n Scanner sc = new Scanner(System.in);\n \n public static void main(String[] args) {\n new Main(); \n }\n \n public Main() {\n new TEST().doIt();\n }\n class TEST{\n void doIt(){\n \twhile(true){\n \t\tint n = sc.nextInt();\n \t\tint m = sc.nextInt();\n \t\tif(n + m == 0)break;\n \t\tfor(int i = 0;i < n;i++){\n \t\t\tfor(int j = 0;j < m;j++){\n \t\t\t\tSystem.out.print(\"#\");\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}\n \t\tSystem.out.println();\n \t}\n }\n }\n}",
"public class Main {\n Scanner sc = new Scanner(System.in);\n \n public static void main(String[] args) {\n new Main(); \n }\n \n public Main() {\n new TEST().doIt();\n }\n class TEST{\n void doIt(){\n \twhile(true){\n \t\tint n = sc.nextInt();\n \t\tint m = sc.nextInt();\n \t\tif(n + m == 0)break;\n \t\tfor(int i = 0;i < n;i++){\n \t\t\tfor(int j = 0;j < m;j++){\n \t\t\t\tSystem.out.print(\"#\");\n \t\t\t}\n \t\t\tSystem.out.println();\n \t\t}\n \t\tSystem.out.println();\n \t}\n }\n }\n}",
"Main"
] | import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.InputEvent;
import java.awt.event.MouseEvent;
import java.awt.geom.Point2D;
import java.awt.geom.Point2D.Double;
import java.util.*;
public class Main {
Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
new Main();
}
public Main() {
new TEST().doIt();
}
class TEST{
void doIt(){
while(true){
int n = sc.nextInt();
int m = sc.nextInt();
if(n + m == 0)break;
for(int i = 0;i < n;i++){
for(int j = 0;j < m;j++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
42,
40,
4,
18,
0,
13,
4,
18,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
18,
4,
18,
13,
17,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
18,
4,
18,
13,
17,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
98,
11
],
[
98,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
25,
32
],
[
23,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
44,
49
],
[
34,
50
],
[
50,
51
],
[
51,
52
],
[
34,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
65,
70
],
[
55,
71
],
[
71,
72
],
[
72,
73
],
[
55,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
54,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
33,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
14,
92
],
[
92,
93
],
[
93,
94
],
[
12,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader reader = new BufferedReader(isr);\n\t\tString string;\n\t\twhile(!(string = reader.readLine()).equals(\"0 0\")){\n\t\t\tfor(int i = 0; i < Integer.parseInt(string.split(\" \")[0]); i++){\n\t\t\t\tfor(int j = 0; j < Integer.parseInt(string.split(\" \")[1]); j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\treader.close();\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader reader = new BufferedReader(isr);\n\t\tString string;\n\t\twhile(!(string = reader.readLine()).equals(\"0 0\")){\n\t\t\tfor(int i = 0; i < Integer.parseInt(string.split(\" \")[0]); i++){\n\t\t\t\tfor(int j = 0; j < Integer.parseInt(string.split(\" \")[1]); j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\treader.close();\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader reader = new BufferedReader(isr);\n\t\tString string;\n\t\twhile(!(string = reader.readLine()).equals(\"0 0\")){\n\t\t\tfor(int i = 0; i < Integer.parseInt(string.split(\" \")[0]); i++){\n\t\t\t\tfor(int j = 0; j < Integer.parseInt(string.split(\" \")[1]); j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\treader.close();\n\t}",
"main",
"{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader reader = new BufferedReader(isr);\n\t\tString string;\n\t\twhile(!(string = reader.readLine()).equals(\"0 0\")){\n\t\t\tfor(int i = 0; i < Integer.parseInt(string.split(\" \")[0]); i++){\n\t\t\t\tfor(int j = 0; j < Integer.parseInt(string.split(\" \")[1]); j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\treader.close();\n\t}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader reader = new BufferedReader(isr);",
"reader",
"new BufferedReader(isr)",
"String string;",
"string",
"while(!(string = reader.readLine()).equals(\"0 0\")){\n\t\t\tfor(int i = 0; i < Integer.parseInt(string.split(\" \")[0]); i++){\n\t\t\t\tfor(int j = 0; j < Integer.parseInt(string.split(\" \")[1]); j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"!(string = reader.readLine()).equals(\"0 0\")",
"(string = reader.readLine()).equals(\"0 0\")",
"(string = reader.readLine()).equals",
"(string = reader.readLine())",
"string",
"reader.readLine()",
"reader.readLine",
"reader",
"\"0 0\"",
"{\n\t\t\tfor(int i = 0; i < Integer.parseInt(string.split(\" \")[0]); i++){\n\t\t\t\tfor(int j = 0; j < Integer.parseInt(string.split(\" \")[1]); j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"for(int i = 0; i < Integer.parseInt(string.split(\" \")[0]); i++){\n\t\t\t\tfor(int j = 0; j < Integer.parseInt(string.split(\" \")[1]); j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < Integer.parseInt(string.split(\" \")[0])",
"i",
"Integer.parseInt(string.split(\" \")[0])",
"Integer.parseInt",
"Integer",
"string.split(\" \")[0]",
"string.split(\" \")",
"string.split",
"string",
"\" \"",
"0",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j = 0; j < Integer.parseInt(string.split(\" \")[1]); j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"{\n\t\t\t\tfor(int j = 0; j < Integer.parseInt(string.split(\" \")[1]); j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"for(int j = 0; j < Integer.parseInt(string.split(\" \")[1]); j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < Integer.parseInt(string.split(\" \")[1])",
"j",
"Integer.parseInt(string.split(\" \")[1])",
"Integer.parseInt",
"Integer",
"string.split(\" \")[1]",
"string.split(\" \")",
"string.split",
"string",
"\" \"",
"1",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"reader.close()",
"reader.close",
"reader",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader reader = new BufferedReader(isr);\n\t\tString string;\n\t\twhile(!(string = reader.readLine()).equals(\"0 0\")){\n\t\t\tfor(int i = 0; i < Integer.parseInt(string.split(\" \")[0]); i++){\n\t\t\t\tfor(int j = 0; j < Integer.parseInt(string.split(\" \")[1]); j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\treader.close();\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader reader = new BufferedReader(isr);\n\t\tString string;\n\t\twhile(!(string = reader.readLine()).equals(\"0 0\")){\n\t\t\tfor(int i = 0; i < Integer.parseInt(string.split(\" \")[0]); i++){\n\t\t\t\tfor(int j = 0; j < Integer.parseInt(string.split(\" \")[1]); j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\treader.close();\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args)throws IOException{
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader reader = new BufferedReader(isr);
String string;
while(!(string = reader.readLine()).equals("0 0")){
for(int i = 0; i < Integer.parseInt(string.split(" ")[0]); i++){
for(int j = 0; j < Integer.parseInt(string.split(" ")[1]); j++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
reader.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
20,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
89,
5
],
[
89,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
33,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
44,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
57,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
56,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
43,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
6,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] | [
"import java.util.Scanner;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tint a,b,W,H;\n\t\tScanner br=new Scanner(System.in);\n\t\twhile(true){\n\t\t\tH=br.nextInt();\n\t\t\tW=br.nextInt();\n\t\t\tif(H==0 && W==0){\n\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tfor(a=1;a<=H;a++){\n\t\t\t\t\t\tfor(b=1;b<=W;b++){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tint a,b,W,H;\n\t\tScanner br=new Scanner(System.in);\n\t\twhile(true){\n\t\t\tH=br.nextInt();\n\t\t\tW=br.nextInt();\n\t\t\tif(H==0 && W==0){\n\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tfor(a=1;a<=H;a++){\n\t\t\t\t\t\tfor(b=1;b<=W;b++){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"Main",
"public static void main(String[] args){\n\t\tint a,b,W,H;\n\t\tScanner br=new Scanner(System.in);\n\t\twhile(true){\n\t\t\tH=br.nextInt();\n\t\t\tW=br.nextInt();\n\t\t\tif(H==0 && W==0){\n\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tfor(a=1;a<=H;a++){\n\t\t\t\t\t\tfor(b=1;b<=W;b++){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t}\n\t\t}",
"main",
"{\n\t\tint a,b,W,H;\n\t\tScanner br=new Scanner(System.in);\n\t\twhile(true){\n\t\t\tH=br.nextInt();\n\t\t\tW=br.nextInt();\n\t\t\tif(H==0 && W==0){\n\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tfor(a=1;a<=H;a++){\n\t\t\t\t\t\tfor(b=1;b<=W;b++){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t}\n\t\t}",
"int a",
"a",
"b",
"b",
"W",
"W",
"H;",
"H",
"Scanner br=new Scanner(System.in);",
"br",
"new Scanner(System.in)",
"while(true){\n\t\t\tH=br.nextInt();\n\t\t\tW=br.nextInt();\n\t\t\tif(H==0 && W==0){\n\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tfor(a=1;a<=H;a++){\n\t\t\t\t\t\tfor(b=1;b<=W;b++){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t}",
"true",
"{\n\t\t\tH=br.nextInt();\n\t\t\tW=br.nextInt();\n\t\t\tif(H==0 && W==0){\n\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tfor(a=1;a<=H;a++){\n\t\t\t\t\t\tfor(b=1;b<=W;b++){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t}",
"H=br.nextInt()",
"H",
"br.nextInt()",
"br.nextInt",
"br",
"W=br.nextInt()",
"W",
"br.nextInt()",
"br.nextInt",
"br",
"if(H==0 && W==0){\n\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tfor(a=1;a<=H;a++){\n\t\t\t\t\t\tfor(b=1;b<=W;b++){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}",
"H==0 && W==0",
"H==0",
"H",
"0",
"W==0",
"W",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"{\n\t\t\t\t\tfor(a=1;a<=H;a++){\n\t\t\t\t\t\tfor(b=1;b<=W;b++){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}",
"for(a=1;a<=H;a++){\n\t\t\t\t\t\tfor(b=1;b<=W;b++){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t}",
"a=1;",
"a=1",
"a",
"1",
"a<=H",
"a",
"H",
"a++",
"a++",
"a",
"{\n\t\t\t\t\t\tfor(b=1;b<=W;b++){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t}",
"{\n\t\t\t\t\t\tfor(b=1;b<=W;b++){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t}",
"for(b=1;b<=W;b++){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t\t}",
"b=1;",
"b=1",
"b",
"1",
"b<=W",
"b",
"W",
"b++",
"b++",
"b",
"{\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t\t}",
"{\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tint a,b,W,H;\n\t\tScanner br=new Scanner(System.in);\n\t\twhile(true){\n\t\t\tH=br.nextInt();\n\t\t\tW=br.nextInt();\n\t\t\tif(H==0 && W==0){\n\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tfor(a=1;a<=H;a++){\n\t\t\t\t\t\tfor(b=1;b<=W;b++){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tint a,b,W,H;\n\t\tScanner br=new Scanner(System.in);\n\t\twhile(true){\n\t\t\tH=br.nextInt();\n\t\t\tW=br.nextInt();\n\t\t\tif(H==0 && W==0){\n\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tfor(a=1;a<=H;a++){\n\t\t\t\t\t\tfor(b=1;b<=W;b++){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
int a,b,W,H;
Scanner br=new Scanner(System.in);
while(true){
H=br.nextInt();
W=br.nextInt();
if(H==0 && W==0){
break;
}else{
for(a=1;a<=H;a++){
for(b=1;b<=W;b++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
84,
5
],
[
84,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
29,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
51,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
18,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"import java.util.Scanner;\npublic class Main\n{\n\tpublic static void main( String args[] )\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint h, w;\n\t\twhile(true)\n\t\t{\n\t\t\th=input.nextInt();\n\t\t\tw=input.nextInt();\n\t\t\tif(h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tfor(int i = 0; i < h; i++)\n\t\t\t\t{\n\t\t\t\t\tfor(int k = 0; k < w; k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n\tpublic static void main( String args[] )\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint h, w;\n\t\twhile(true)\n\t\t{\n\t\t\th=input.nextInt();\n\t\t\tw=input.nextInt();\n\t\t\tif(h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tfor(int i = 0; i < h; i++)\n\t\t\t\t{\n\t\t\t\t\tfor(int k = 0; k < w; k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main",
"public static void main( String args[] )\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint h, w;\n\t\twhile(true)\n\t\t{\n\t\t\th=input.nextInt();\n\t\t\tw=input.nextInt();\n\t\t\tif(h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tfor(int i = 0; i < h; i++)\n\t\t\t\t{\n\t\t\t\t\tfor(int k = 0; k < w; k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner input = new Scanner(System.in);\n\t\tint h, w;\n\t\twhile(true)\n\t\t{\n\t\t\th=input.nextInt();\n\t\t\tw=input.nextInt();\n\t\t\tif(h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tfor(int i = 0; i < h; i++)\n\t\t\t\t{\n\t\t\t\t\tfor(int k = 0; k < w; k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"int h",
"h",
"w;",
"w",
"while(true)\n\t\t{\n\t\t\th=input.nextInt();\n\t\t\tw=input.nextInt();\n\t\t\tif(h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tfor(int i = 0; i < h; i++)\n\t\t\t\t{\n\t\t\t\t\tfor(int k = 0; k < w; k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"true",
"{\n\t\t\th=input.nextInt();\n\t\t\tw=input.nextInt();\n\t\t\tif(h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tfor(int i = 0; i < h; i++)\n\t\t\t\t{\n\t\t\t\t\tfor(int k = 0; k < w; k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"h=input.nextInt()",
"h",
"input.nextInt()",
"input.nextInt",
"input",
"w=input.nextInt()",
"w",
"input.nextInt()",
"input.nextInt",
"input",
"if(h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tfor(int i = 0; i < h; i++)\n\t\t\t\t{\n\t\t\t\t\tfor(int k = 0; k < w; k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"break;",
"{\n\t\t\t\tfor(int i = 0; i < h; i++)\n\t\t\t\t{\n\t\t\t\t\tfor(int k = 0; k < w; k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}",
"for(int i = 0; i < h; i++)\n\t\t\t\t{\n\t\t\t\t\tfor(int k = 0; k < w; k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tfor(int k = 0; k < w; k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"{\n\t\t\t\t\tfor(int k = 0; k < w; k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"for(int k = 0; k < w; k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"int k = 0;",
"int k = 0;",
"k",
"0",
"k < w",
"k",
"w",
"k++",
"k++",
"k",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String args[]",
"args",
"public class Main\n{\n\tpublic static void main( String args[] )\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint h, w;\n\t\twhile(true)\n\t\t{\n\t\t\th=input.nextInt();\n\t\t\tw=input.nextInt();\n\t\t\tif(h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tfor(int i = 0; i < h; i++)\n\t\t\t\t{\n\t\t\t\t\tfor(int k = 0; k < w; k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"public class Main\n{\n\tpublic static void main( String args[] )\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint h, w;\n\t\twhile(true)\n\t\t{\n\t\t\th=input.nextInt();\n\t\t\tw=input.nextInt();\n\t\t\tif(h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tfor(int i = 0; i < h; i++)\n\t\t\t\t{\n\t\t\t\t\tfor(int k = 0; k < w; k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main
{
public static void main( String args[] )
{
Scanner input = new Scanner(System.in);
int h, w;
while(true)
{
h=input.nextInt();
w=input.nextInt();
if(h == 0 && w == 0)
break;
else {
for(int i = 0; i < h; i++)
{
for(int k = 0; k < w; k++)
{
System.out.print("#");
}
System.out.println();
}
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
25,
30
],
[
22,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
22,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
22,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
22,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
57,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
79,
80
],
[
70,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
69,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
22,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
6,
101
],
[
101,
102
]
] | [
"import java.io.*;\n \nclass Main{\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tint x,y,i,j;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tx = Integer.parseInt(str[0]);\n\t\t\ty = Integer.parseInt(str[1]);\n\n\t\t\tif(x == 0 && y ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(i = 0; i < x; i++){\n\t\t\t\tfor(j = 0; j < y; j++){\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}\n \t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tint x,y,i,j;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tx = Integer.parseInt(str[0]);\n\t\t\ty = Integer.parseInt(str[1]);\n\n\t\t\tif(x == 0 && y ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(i = 0; i < x; i++){\n\t\t\t\tfor(j = 0; j < y; j++){\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}\n \t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\n\t\tint x,y,i,j;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tx = Integer.parseInt(str[0]);\n\t\t\ty = Integer.parseInt(str[1]);\n\n\t\t\tif(x == 0 && y ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(i = 0; i < x; i++){\n\t\t\t\tfor(j = 0; j < y; j++){\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}\n \t}",
"main",
"{\n\n\t\tint x,y,i,j;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tx = Integer.parseInt(str[0]);\n\t\t\ty = Integer.parseInt(str[1]);\n\n\t\t\tif(x == 0 && y ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(i = 0; i < x; i++){\n\t\t\t\tfor(j = 0; j < y; j++){\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}\n \t}",
"int x",
"x",
"y",
"y",
"i",
"i",
"j;",
"j",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tx = Integer.parseInt(str[0]);\n\t\t\ty = Integer.parseInt(str[1]);\n\n\t\t\tif(x == 0 && y ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(i = 0; i < x; i++){\n\t\t\t\tfor(j = 0; j < y; j++){\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}",
"true",
"{\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tx = Integer.parseInt(str[0]);\n\t\t\ty = Integer.parseInt(str[1]);\n\n\t\t\tif(x == 0 && y ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(i = 0; i < x; i++){\n\t\t\t\tfor(j = 0; j < y; j++){\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}",
"String[] str = br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"x = Integer.parseInt(str[0])",
"x",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"y = Integer.parseInt(str[1])",
"y",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"if(x == 0 && y ==0){\n\t\t\t\tbreak;\n\t\t\t}",
"x == 0 && y ==0",
"x == 0",
"x",
"0",
"y ==0",
"y",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for(i = 0; i < x; i++){\n\t\t\t\tfor(j = 0; j < y; j++){\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"\\n\");\n\t\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < x",
"i",
"x",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(j = 0; j < y; j++){\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"\\n\");\n\t\t\t}",
"{\n\t\t\t\tfor(j = 0; j < y; j++){\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"\\n\");\n\t\t\t}",
"for(j = 0; j < y; j++){\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}",
"j = 0;",
"j = 0",
"j",
"0",
"j < y",
"j",
"y",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}",
"System.out.printf(\"#\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"System.out.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args) throws IOException{
int x,y,i,j;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String[] str = br.readLine().split(" ");
x = Integer.parseInt(str[0]);
y = Integer.parseInt(str[1]);
if(x == 0 && y ==0){
break;
}
for(i = 0; i < x; i++){
for(j = 0; j < y; j++){
System.out.printf("#");
}
System.out.printf("\n");
}
System.out.printf("\n");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
109,
8
],
[
109,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
23,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
20,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
20,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
55,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
68,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
67,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
20,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
20,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
20,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
99,
103
],
[
103,
104
],
[
104,
105
],
[
9,
106
],
[
106,
107
],
[
0,
108
],
[
108,
109
],
[
108,
110
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\t\n\tpublic static void main(String[] args)throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\t\n\t\t\tint h = Integer.parseInt(line[0]);\n\t\t\tint w = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i=0; i<h; i++){\n\t\t\t\tfor(int j=0; j<w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t\tSystem.out.print(sb);\n\t\t\tsb.delete(0,sb.length());\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main{\n\t\n\tpublic static void main(String[] args)throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\t\n\t\t\tint h = Integer.parseInt(line[0]);\n\t\t\tint w = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i=0; i<h; i++){\n\t\t\t\tfor(int j=0; j<w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t\tSystem.out.print(sb);\n\t\t\tsb.delete(0,sb.length());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\t\n\t\t\tint h = Integer.parseInt(line[0]);\n\t\t\tint w = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i=0; i<h; i++){\n\t\t\t\tfor(int j=0; j<w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t\tSystem.out.print(sb);\n\t\t\tsb.delete(0,sb.length());\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\t\n\t\t\tint h = Integer.parseInt(line[0]);\n\t\t\tint w = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i=0; i<h; i++){\n\t\t\t\tfor(int j=0; j<w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t\tSystem.out.print(sb);\n\t\t\tsb.delete(0,sb.length());\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\t\n\t\t\tint h = Integer.parseInt(line[0]);\n\t\t\tint w = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i=0; i<h; i++){\n\t\t\t\tfor(int j=0; j<w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t\tSystem.out.print(sb);\n\t\t\tsb.delete(0,sb.length());\n\t\t}",
"true",
"{\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\t\n\t\t\tint h = Integer.parseInt(line[0]);\n\t\t\tint w = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i=0; i<h; i++){\n\t\t\t\tfor(int j=0; j<w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t\tSystem.out.print(sb);\n\t\t\tsb.delete(0,sb.length());\n\t\t}",
"String[] line = br.readLine().split(\" \");",
"line",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int h = Integer.parseInt(line[0]);",
"h",
"Integer.parseInt(line[0])",
"Integer.parseInt",
"Integer",
"line[0]",
"line",
"0",
"int w = Integer.parseInt(line[1]);",
"w",
"Integer.parseInt(line[1])",
"Integer.parseInt",
"Integer",
"line[1]",
"line",
"1",
"if(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for(int i=0; i<h; i++){\n\t\t\t\tfor(int j=0; j<w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j=0; j<w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}",
"{\n\t\t\t\tfor(int j=0; j<w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}",
"for(int j=0; j<w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<w",
"j",
"w",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"sb.append(\"#\")",
"sb.append",
"sb",
"\"#\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"sb.delete(0,sb.length())",
"sb.delete",
"sb",
"0",
"sb.length()",
"sb.length",
"sb",
"String[] args",
"args",
"public class Main{\n\t\n\tpublic static void main(String[] args)throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\t\n\t\t\tint h = Integer.parseInt(line[0]);\n\t\t\tint w = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i=0; i<h; i++){\n\t\t\t\tfor(int j=0; j<w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t\tSystem.out.print(sb);\n\t\t\tsb.delete(0,sb.length());\n\t\t}\n\t}\n}",
"public class Main{\n\t\n\tpublic static void main(String[] args)throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\t\n\t\t\tint h = Integer.parseInt(line[0]);\n\t\t\tint w = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i=0; i<h; i++){\n\t\t\t\tfor(int j=0; j<w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t\tSystem.out.print(sb);\n\t\t\tsb.delete(0,sb.length());\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args)throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
while(true){
String[] line = br.readLine().split(" ");
int h = Integer.parseInt(line[0]);
int w = Integer.parseInt(line[1]);
if(h == 0 && w == 0){
break;
}
for(int i=0; i<h; i++){
for(int j=0; j<w; j++){
sb.append("#");
}
sb.append("\n");
}
sb.append("\n");
System.out.print(sb);
sb.delete(0,sb.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
90,
5
],
[
90,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
24,
25
],
[
25,
26
],
[
18,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
18,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
18,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
45,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
58,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
57,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
18,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
6,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
] | [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t Scanner scan = new Scanner(System.in);\n\t\t int H;\t//縦\n\t\t int W;\t//横\n\t\t while(true){\n\t\t\t H = Integer.parseInt(scan.next());\n\t\t\t W = Integer.parseInt(scan.next());\n\t\t\t if(H == 0 && W == 0){\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }//if\n\t\t\t //--- 出力 ---\n\t\t\t for (int i = 0; i < H; i++ ){\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for\n\t\t\t System.out.println();\n\t\t }//while \n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t Scanner scan = new Scanner(System.in);\n\t\t int H;\t//縦\n\t\t int W;\t//横\n\t\t while(true){\n\t\t\t H = Integer.parseInt(scan.next());\n\t\t\t W = Integer.parseInt(scan.next());\n\t\t\t if(H == 0 && W == 0){\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }//if\n\t\t\t //--- 出力 ---\n\t\t\t for (int i = 0; i < H; i++ ){\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for\n\t\t\t System.out.println();\n\t\t }//while \n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t Scanner scan = new Scanner(System.in);\n\t\t int H;\t//縦\n\t\t int W;\t//横\n\t\t while(true){\n\t\t\t H = Integer.parseInt(scan.next());\n\t\t\t W = Integer.parseInt(scan.next());\n\t\t\t if(H == 0 && W == 0){\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }//if\n\t\t\t //--- 出力 ---\n\t\t\t for (int i = 0; i < H; i++ ){\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for\n\t\t\t System.out.println();\n\t\t }//while \n\t}",
"main",
"{\n\t\t Scanner scan = new Scanner(System.in);\n\t\t int H;\t//縦\n\t\t int W;\t//横\n\t\t while(true){\n\t\t\t H = Integer.parseInt(scan.next());\n\t\t\t W = Integer.parseInt(scan.next());\n\t\t\t if(H == 0 && W == 0){\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }//if\n\t\t\t //--- 出力 ---\n\t\t\t for (int i = 0; i < H; i++ ){\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for\n\t\t\t System.out.println();\n\t\t }//while \n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int H;",
"H",
"int W;",
"W",
"while(true){\n\t\t\t H = Integer.parseInt(scan.next());\n\t\t\t W = Integer.parseInt(scan.next());\n\t\t\t if(H == 0 && W == 0){\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }//if\n\t\t\t //--- 出力 ---\n\t\t\t for (int i = 0; i < H; i++ ){\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for\n\t\t\t System.out.println();\n\t\t }//while ",
"true",
"{\n\t\t\t H = Integer.parseInt(scan.next());\n\t\t\t W = Integer.parseInt(scan.next());\n\t\t\t if(H == 0 && W == 0){\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }//if\n\t\t\t //--- 出力 ---\n\t\t\t for (int i = 0; i < H; i++ ){\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for\n\t\t\t System.out.println();\n\t\t }",
"H = Integer.parseInt(scan.next())",
"H",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"W = Integer.parseInt(scan.next())",
"W",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"if(H == 0 && W == 0){\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }//if",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }",
"break;",
"for (int i = 0; i < H; i++ ){\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for",
"{\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }",
"for (int j = 0; j < W; j++ ){\n\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t }//for",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t }//for",
"{\n\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t Scanner scan = new Scanner(System.in);\n\t\t int H;\t//縦\n\t\t int W;\t//横\n\t\t while(true){\n\t\t\t H = Integer.parseInt(scan.next());\n\t\t\t W = Integer.parseInt(scan.next());\n\t\t\t if(H == 0 && W == 0){\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }//if\n\t\t\t //--- 出力 ---\n\t\t\t for (int i = 0; i < H; i++ ){\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for\n\t\t\t System.out.println();\n\t\t }//while \n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t Scanner scan = new Scanner(System.in);\n\t\t int H;\t//縦\n\t\t int W;\t//横\n\t\t while(true){\n\t\t\t H = Integer.parseInt(scan.next());\n\t\t\t W = Integer.parseInt(scan.next());\n\t\t\t if(H == 0 && W == 0){\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }//if\n\t\t\t //--- 出力 ---\n\t\t\t for (int i = 0; i < H; i++ ){\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for\n\t\t\t System.out.println();\n\t\t }//while \n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int H; //縦
int W; //横
while(true){
H = Integer.parseInt(scan.next());
W = Integer.parseInt(scan.next());
if(H == 0 && W == 0){
//HとWが0の時、終了。
break;
}//if
//--- 出力 ---
for (int i = 0; i < H; i++ ){
for (int j = 0; j < W; j++ ){
System.out.print("#");
}//for
System.out.println();
}//for
System.out.println();
}//while
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
95,
5
],
[
95,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
17,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
14,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
39,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
50,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
63,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
62,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
49,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
6,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint height = Integer.parseInt(lines[0]);\n\t\t\tint width = Integer.parseInt(lines[1]);\n\t\t\tif(height == 0 && width == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor(int i = 0;i < height;i++) {\n\t\t\t\t\tfor(int j = 0;j < width;j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint height = Integer.parseInt(lines[0]);\n\t\t\tint width = Integer.parseInt(lines[1]);\n\t\t\tif(height == 0 && width == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor(int i = 0;i < height;i++) {\n\t\t\t\t\tfor(int j = 0;j < width;j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint height = Integer.parseInt(lines[0]);\n\t\t\tint width = Integer.parseInt(lines[1]);\n\t\t\tif(height == 0 && width == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor(int i = 0;i < height;i++) {\n\t\t\t\t\tfor(int j = 0;j < width;j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint height = Integer.parseInt(lines[0]);\n\t\t\tint width = Integer.parseInt(lines[1]);\n\t\t\tif(height == 0 && width == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor(int i = 0;i < height;i++) {\n\t\t\t\t\tfor(int j = 0;j < width;j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint height = Integer.parseInt(lines[0]);\n\t\t\tint width = Integer.parseInt(lines[1]);\n\t\t\tif(height == 0 && width == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor(int i = 0;i < height;i++) {\n\t\t\t\t\tfor(int j = 0;j < width;j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t}",
"true",
"{\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint height = Integer.parseInt(lines[0]);\n\t\t\tint width = Integer.parseInt(lines[1]);\n\t\t\tif(height == 0 && width == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor(int i = 0;i < height;i++) {\n\t\t\t\t\tfor(int j = 0;j < width;j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t}",
"String[] lines = sc.nextLine().split(\" \");",
"lines",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"int height = Integer.parseInt(lines[0]);",
"height",
"Integer.parseInt(lines[0])",
"Integer.parseInt",
"Integer",
"lines[0]",
"lines",
"0",
"int width = Integer.parseInt(lines[1]);",
"width",
"Integer.parseInt(lines[1])",
"Integer.parseInt",
"Integer",
"lines[1]",
"lines",
"1",
"if(height == 0 && width == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor(int i = 0;i < height;i++) {\n\t\t\t\t\tfor(int j = 0;j < width;j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"height == 0 && width == 0",
"height == 0",
"height",
"0",
"width == 0",
"width",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tfor(int i = 0;i < height;i++) {\n\t\t\t\t\tfor(int j = 0;j < width;j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"for(int i = 0;i < height;i++) {\n\t\t\t\t\tfor(int j = 0;j < width;j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < height",
"i",
"height",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tfor(int j = 0;j < width;j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"{\n\t\t\t\t\tfor(int j = 0;j < width;j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"for(int j = 0;j < width;j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < width",
"j",
"width",
"j++",
"j++",
"j",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint height = Integer.parseInt(lines[0]);\n\t\t\tint width = Integer.parseInt(lines[1]);\n\t\t\tif(height == 0 && width == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor(int i = 0;i < height;i++) {\n\t\t\t\t\tfor(int j = 0;j < width;j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint height = Integer.parseInt(lines[0]);\n\t\t\tint width = Integer.parseInt(lines[1]);\n\t\t\tif(height == 0 && width == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor(int i = 0;i < height;i++) {\n\t\t\t\t\tfor(int j = 0;j < width;j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (true) {
String[] lines = sc.nextLine().split(" ");
int height = Integer.parseInt(lines[0]);
int width = Integer.parseInt(lines[1]);
if(height == 0 && width == 0) {
break;
} else {
for(int i = 0;i < height;i++) {
for(int j = 0;j < width;j++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
88,
8
],
[
88,
9
],
[
9,
10
],
[
9,
11
],
[
88,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
20,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
53,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
52,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
20,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
14,
82
],
[
82,
83
],
[
83,
84
],
[
12,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.text.DecimalFormat;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tstatic DecimalFormat df = new DecimalFormat(\"0.0000000000000000000\");\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 && w == 0) break;\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t\tsc.close();\n\t}\n\n}",
"import java.text.DecimalFormat;",
"DecimalFormat",
"java.text",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tstatic DecimalFormat df = new DecimalFormat(\"0.0000000000000000000\");\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 && w == 0) break;\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t\tsc.close();\n\t}\n\n}",
"Main",
"static DecimalFormat df = new DecimalFormat(\"0.0000000000000000000\");",
"df",
"new DecimalFormat(\"0.0000000000000000000\")",
"public static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 && w == 0) break;\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t\tsc.close();\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 && w == 0) break;\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 && w == 0) break;\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"true",
"{\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 && w == 0) break;\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"int h = sc.nextInt();",
"h",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (h == 0 && w == 0) break;",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"break;",
"for (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"{\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"for (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < w",
"j",
"w",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tstatic DecimalFormat df = new DecimalFormat(\"0.0000000000000000000\");\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 && w == 0) break;\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tstatic DecimalFormat df = new DecimalFormat(\"0.0000000000000000000\");\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 && w == 0) break;\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t\tsc.close();\n\t}\n\n}",
"Main"
] | import java.text.DecimalFormat;
import java.util.Scanner;
public class Main {
static DecimalFormat df = new DecimalFormat("0.0000000000000000000");
public static void main (String[] args) {
Scanner sc = new Scanner(System.in);
while (true) {
int h = sc.nextInt();
int w = sc.nextInt();
if (h == 0 && w == 0) break;
for (int i = 0; i < h; i++) {
for (int j = 0; j < w; j++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
87,
5
],
[
87,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
14,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
47,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
59,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
14,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
6,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n while(true){\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n if(a == 0 && b == 0){\n break;\n }\n\n for(int j = 0; j < a; j++){\n if(j != 0){\n System.out.print(\"\\n\");\n }\n for(int k = 0; k < b; k++){\n System.out.print(\"#\");\n }\n }\n System.out.print(\"\\n\\n\");\n }\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n while(true){\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n if(a == 0 && b == 0){\n break;\n }\n\n for(int j = 0; j < a; j++){\n if(j != 0){\n System.out.print(\"\\n\");\n }\n for(int k = 0; k < b; k++){\n System.out.print(\"#\");\n }\n }\n System.out.print(\"\\n\\n\");\n }\n }\n\n}",
"Main",
"public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n while(true){\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n if(a == 0 && b == 0){\n break;\n }\n\n for(int j = 0; j < a; j++){\n if(j != 0){\n System.out.print(\"\\n\");\n }\n for(int k = 0; k < b; k++){\n System.out.print(\"#\");\n }\n }\n System.out.print(\"\\n\\n\");\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n while(true){\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n if(a == 0 && b == 0){\n break;\n }\n\n for(int j = 0; j < a; j++){\n if(j != 0){\n System.out.print(\"\\n\");\n }\n for(int k = 0; k < b; k++){\n System.out.print(\"#\");\n }\n }\n System.out.print(\"\\n\\n\");\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while(true){\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n if(a == 0 && b == 0){\n break;\n }\n\n for(int j = 0; j < a; j++){\n if(j != 0){\n System.out.print(\"\\n\");\n }\n for(int k = 0; k < b; k++){\n System.out.print(\"#\");\n }\n }\n System.out.print(\"\\n\\n\");\n }",
"true",
"{\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n if(a == 0 && b == 0){\n break;\n }\n\n for(int j = 0; j < a; j++){\n if(j != 0){\n System.out.print(\"\\n\");\n }\n for(int k = 0; k < b; k++){\n System.out.print(\"#\");\n }\n }\n System.out.print(\"\\n\\n\");\n }",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if(a == 0 && b == 0){\n break;\n }",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n break;\n }",
"break;",
"for(int j = 0; j < a; j++){\n if(j != 0){\n System.out.print(\"\\n\");\n }\n for(int k = 0; k < b; k++){\n System.out.print(\"#\");\n }\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < a",
"j",
"a",
"j++",
"j++",
"j",
"{\n if(j != 0){\n System.out.print(\"\\n\");\n }\n for(int k = 0; k < b; k++){\n System.out.print(\"#\");\n }\n }",
"{\n if(j != 0){\n System.out.print(\"\\n\");\n }\n for(int k = 0; k < b; k++){\n System.out.print(\"#\");\n }\n }",
"if(j != 0){\n System.out.print(\"\\n\");\n }",
"j != 0",
"j",
"0",
"{\n System.out.print(\"\\n\");\n }",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"for(int k = 0; k < b; k++){\n System.out.print(\"#\");\n }",
"int k = 0;",
"int k = 0;",
"k",
"0",
"k < b",
"k",
"b",
"k++",
"k++",
"k",
"{\n System.out.print(\"#\");\n }",
"{\n System.out.print(\"#\");\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.print(\"\\n\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\\n\"",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n while(true){\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n if(a == 0 && b == 0){\n break;\n }\n\n for(int j = 0; j < a; j++){\n if(j != 0){\n System.out.print(\"\\n\");\n }\n for(int k = 0; k < b; k++){\n System.out.print(\"#\");\n }\n }\n System.out.print(\"\\n\\n\");\n }\n }\n\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n while(true){\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n if(a == 0 && b == 0){\n break;\n }\n\n for(int j = 0; j < a; j++){\n if(j != 0){\n System.out.print(\"\\n\");\n }\n for(int k = 0; k < b; k++){\n System.out.print(\"#\");\n }\n }\n System.out.print(\"\\n\\n\");\n }\n }\n\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
while(true){
int a = scanner.nextInt();
int b = scanner.nextInt();
if(a == 0 && b == 0){
break;
}
for(int j = 0; j < a; j++){
if(j != 0){
System.out.print("\n");
}
for(int k = 0; k < b; k++){
System.out.print("#");
}
}
System.out.print("\n\n");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
20,
42,
17,
30,
0,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
3,
4,
18,
13,
13,
41,
13,
17,
41,
13,
17,
41,
13,
20,
17,
28,
13,
13,
30,
30,
0,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
28,
33
],
[
33,
34
],
[
22,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
11,
39
],
[
39,
40
],
[
39,
41
],
[
11,
42
],
[
42,
43
],
[
42,
44
],
[
11,
45
],
[
45,
46
],
[
45,
47
],
[
11,
49
],
[
49,
50
],
[
49,
51
],
[
49,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
53,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
65,
67
],
[
53,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
73,
74
],
[
73,
75
],
[
53,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
76,
84
],
[
84,
85
],
[
85,
86
],
[
76,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
94,
95
],
[
94,
96
],
[
89,
97
],
[
97,
98
],
[
98,
99
],
[
89,
100
],
[
101,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
88,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
53,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
9,
118
],
[
118,
119
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String data;\n List<String> rectangle_list = new ArrayList<String>();\n while(true){\n data = br.readLine();\n if(data.equals(\"0 0\")){\n break;\n }\n rectangle_list.add(data);\n }\n\n int height = 0;\n int width = 0;\n String[] tmp = new String[2];\n for(String rectangle: rectangle_list){\n tmp = rectangle.split(\" \");\n height = Integer.parseInt(tmp[0]);\n width = Integer.parseInt(tmp[1]);\n for(int i = 0; i < height; i++ ){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n}\n",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String data;\n List<String> rectangle_list = new ArrayList<String>();\n while(true){\n data = br.readLine();\n if(data.equals(\"0 0\")){\n break;\n }\n rectangle_list.add(data);\n }\n\n int height = 0;\n int width = 0;\n String[] tmp = new String[2];\n for(String rectangle: rectangle_list){\n tmp = rectangle.split(\" \");\n height = Integer.parseInt(tmp[0]);\n width = Integer.parseInt(tmp[1]);\n for(int i = 0; i < height; i++ ){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n}",
"Main",
"public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String data;\n List<String> rectangle_list = new ArrayList<String>();\n while(true){\n data = br.readLine();\n if(data.equals(\"0 0\")){\n break;\n }\n rectangle_list.add(data);\n }\n\n int height = 0;\n int width = 0;\n String[] tmp = new String[2];\n for(String rectangle: rectangle_list){\n tmp = rectangle.split(\" \");\n height = Integer.parseInt(tmp[0]);\n width = Integer.parseInt(tmp[1]);\n for(int i = 0; i < height; i++ ){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String data;\n List<String> rectangle_list = new ArrayList<String>();\n while(true){\n data = br.readLine();\n if(data.equals(\"0 0\")){\n break;\n }\n rectangle_list.add(data);\n }\n\n int height = 0;\n int width = 0;\n String[] tmp = new String[2];\n for(String rectangle: rectangle_list){\n tmp = rectangle.split(\" \");\n height = Integer.parseInt(tmp[0]);\n width = Integer.parseInt(tmp[1]);\n for(int i = 0; i < height; i++ ){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String data;",
"data",
"List<String> rectangle_list = new ArrayList<String>();",
"rectangle_list",
"new ArrayList<String>()",
"while(true){\n data = br.readLine();\n if(data.equals(\"0 0\")){\n break;\n }\n rectangle_list.add(data);\n }",
"true",
"{\n data = br.readLine();\n if(data.equals(\"0 0\")){\n break;\n }\n rectangle_list.add(data);\n }",
"data = br.readLine()",
"data",
"br.readLine()",
"br.readLine",
"br",
"if(data.equals(\"0 0\")){\n break;\n }",
"data.equals(\"0 0\")",
"data.equals",
"data",
"\"0 0\"",
"{\n break;\n }",
"break;",
"rectangle_list.add(data)",
"rectangle_list.add",
"rectangle_list",
"data",
"int height = 0;",
"height",
"0",
"int width = 0;",
"width",
"0",
"String[] tmp = new String[2];",
"tmp",
"new String[2]",
"2",
"for(String rectangle: rectangle_list){\n tmp = rectangle.split(\" \");\n height = Integer.parseInt(tmp[0]);\n width = Integer.parseInt(tmp[1]);\n for(int i = 0; i < height; i++ ){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"String rectangle",
"rectangle_list",
"{\n tmp = rectangle.split(\" \");\n height = Integer.parseInt(tmp[0]);\n width = Integer.parseInt(tmp[1]);\n for(int i = 0; i < height; i++ ){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"{\n tmp = rectangle.split(\" \");\n height = Integer.parseInt(tmp[0]);\n width = Integer.parseInt(tmp[1]);\n for(int i = 0; i < height; i++ ){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"tmp = rectangle.split(\" \")",
"tmp",
"rectangle.split(\" \")",
"rectangle.split",
"rectangle",
"\" \"",
"height = Integer.parseInt(tmp[0])",
"height",
"Integer.parseInt(tmp[0])",
"Integer.parseInt",
"Integer",
"tmp[0]",
"tmp",
"0",
"width = Integer.parseInt(tmp[1])",
"width",
"Integer.parseInt(tmp[1])",
"Integer.parseInt",
"Integer",
"tmp[1]",
"tmp",
"1",
"for(int i = 0; i < height; i++ ){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < height",
"i",
"height",
"i++",
"i++",
"i",
"{\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"{\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < width",
"j",
"width",
"j++",
"j++",
"j",
"{\n System.out.print(\"#\");\n }",
"{\n System.out.print(\"#\");\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args"
] | import java.io.*;
import java.util.*;
class Main{
public static void main(String[] args)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String data;
List<String> rectangle_list = new ArrayList<String>();
while(true){
data = br.readLine();
if(data.equals("0 0")){
break;
}
rectangle_list.add(data);
}
int height = 0;
int width = 0;
String[] tmp = new String[2];
for(String rectangle: rectangle_list){
tmp = rectangle.split(" ");
height = Integer.parseInt(tmp[0]);
width = Integer.parseInt(tmp[1]);
for(int i = 0; i < height; i++ ){
for(int j = 0; j < width; j++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
20,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
114,
11
],
[
114,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
22,
24
],
[
14,
25
],
[
25,
26
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
29,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
29,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
29,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
62,
64
],
[
57,
65
],
[
65,
66
],
[
29,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
67,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
85,
87
],
[
80,
88
],
[
88,
89
],
[
89,
90
],
[
80,
91
],
[
92,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
79,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
29,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
14,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
12,
111
],
[
111,
112
],
[
0,
113
],
[
113,
114
],
[
113,
115
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] strArray = new String[2];\n StringBuilder sb = new StringBuilder();\n String line;\n while (true) {\n line = br.readLine();\n strArray = line.split(\" \");\n int h = Integer.parseInt(strArray[0]);\n int w = Integer.parseInt(strArray[1]);\n if(h == 0 && w == 0) {\n break;\n }\n for (int i = 0;i < h;i++) {\n for (int f = 0;f < w;f++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] strArray = new String[2];\n StringBuilder sb = new StringBuilder();\n String line;\n while (true) {\n line = br.readLine();\n strArray = line.split(\" \");\n int h = Integer.parseInt(strArray[0]);\n int w = Integer.parseInt(strArray[1]);\n if(h == 0 && w == 0) {\n break;\n }\n for (int i = 0;i < h;i++) {\n for (int f = 0;f < w;f++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] strArray = new String[2];\n StringBuilder sb = new StringBuilder();\n String line;\n while (true) {\n line = br.readLine();\n strArray = line.split(\" \");\n int h = Integer.parseInt(strArray[0]);\n int w = Integer.parseInt(strArray[1]);\n if(h == 0 && w == 0) {\n break;\n }\n for (int i = 0;i < h;i++) {\n for (int f = 0;f < w;f++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] strArray = new String[2];\n StringBuilder sb = new StringBuilder();\n String line;\n while (true) {\n line = br.readLine();\n strArray = line.split(\" \");\n int h = Integer.parseInt(strArray[0]);\n int w = Integer.parseInt(strArray[1]);\n if(h == 0 && w == 0) {\n break;\n }\n for (int i = 0;i < h;i++) {\n for (int f = 0;f < w;f++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] strArray = new String[2];",
"strArray",
"new String[2]",
"2",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"String line;",
"line",
"while (true) {\n line = br.readLine();\n strArray = line.split(\" \");\n int h = Integer.parseInt(strArray[0]);\n int w = Integer.parseInt(strArray[1]);\n if(h == 0 && w == 0) {\n break;\n }\n for (int i = 0;i < h;i++) {\n for (int f = 0;f < w;f++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }",
"true",
"{\n line = br.readLine();\n strArray = line.split(\" \");\n int h = Integer.parseInt(strArray[0]);\n int w = Integer.parseInt(strArray[1]);\n if(h == 0 && w == 0) {\n break;\n }\n for (int i = 0;i < h;i++) {\n for (int f = 0;f < w;f++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"strArray = line.split(\" \")",
"strArray",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int h = Integer.parseInt(strArray[0]);",
"h",
"Integer.parseInt(strArray[0])",
"Integer.parseInt",
"Integer",
"strArray[0]",
"strArray",
"0",
"int w = Integer.parseInt(strArray[1]);",
"w",
"Integer.parseInt(strArray[1])",
"Integer.parseInt",
"Integer",
"strArray[1]",
"strArray",
"1",
"if(h == 0 && w == 0) {\n break;\n }",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"{\n break;\n }",
"break;",
"for (int i = 0;i < h;i++) {\n for (int f = 0;f < w;f++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n for (int f = 0;f < w;f++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }",
"{\n for (int f = 0;f < w;f++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }",
"for (int f = 0;f < w;f++) {\n sb.append(\"#\");\n }",
"int f = 0;",
"int f = 0;",
"f",
"0",
"f < w",
"f",
"w",
"f++",
"f++",
"f",
"{\n sb.append(\"#\");\n }",
"{\n sb.append(\"#\");\n }",
"sb.append(\"#\")",
"sb.append",
"sb",
"\"#\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] strArray = new String[2];\n StringBuilder sb = new StringBuilder();\n String line;\n while (true) {\n line = br.readLine();\n strArray = line.split(\" \");\n int h = Integer.parseInt(strArray[0]);\n int w = Integer.parseInt(strArray[1]);\n if(h == 0 && w == 0) {\n break;\n }\n for (int i = 0;i < h;i++) {\n for (int f = 0;f < w;f++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] strArray = new String[2];\n StringBuilder sb = new StringBuilder();\n String line;\n while (true) {\n line = br.readLine();\n strArray = line.split(\" \");\n int h = Integer.parseInt(strArray[0]);\n int w = Integer.parseInt(strArray[1]);\n if(h == 0 && w == 0) {\n break;\n }\n for (int i = 0;i < h;i++) {\n for (int f = 0;f < w;f++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] strArray = new String[2];
StringBuilder sb = new StringBuilder();
String line;
while (true) {
line = br.readLine();
strArray = line.split(" ");
int h = Integer.parseInt(strArray[0]);
int w = Integer.parseInt(strArray[1]);
if(h == 0 && w == 0) {
break;
}
for (int i = 0;i < h;i++) {
for (int f = 0;f < w;f++) {
sb.append("#");
}
sb.append("\n");
}
sb.append("\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
20,
11,
1,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
13,
3,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
21,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
21,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
21,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
21,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
57,
61
],
[
49,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
63,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
76,
84
],
[
84,
85
],
[
85,
86
],
[
76,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
75,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
62,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
6,
105
],
[
105,
106
]
] | [
"import java.util.Scanner;\n\nclass Main{\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tint height = 0;\n\t\tint width = 0;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(;;){\n\t\t\t\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\t\n\t\t\theight = Integer.parseInt(array[0]);\n\t\t\twidth = Integer.parseInt(array[1]);\n\t\t\t\n\t\t\tif(height == 0 && width == 0){\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tfor(int rowIndex = 0; rowIndex < height; rowIndex++ ){\n\t\t\t\t\tfor(int columnIndex = 0; columnIndex < width; columnIndex++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\t\t\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tint height = 0;\n\t\tint width = 0;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(;;){\n\t\t\t\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\t\n\t\t\theight = Integer.parseInt(array[0]);\n\t\t\twidth = Integer.parseInt(array[1]);\n\t\t\t\n\t\t\tif(height == 0 && width == 0){\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tfor(int rowIndex = 0; rowIndex < height; rowIndex++ ){\n\t\t\t\t\tfor(int columnIndex = 0; columnIndex < width; columnIndex++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\t\t\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tint height = 0;\n\t\tint width = 0;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(;;){\n\t\t\t\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\t\n\t\t\theight = Integer.parseInt(array[0]);\n\t\t\twidth = Integer.parseInt(array[1]);\n\t\t\t\n\t\t\tif(height == 0 && width == 0){\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tfor(int rowIndex = 0; rowIndex < height; rowIndex++ ){\n\t\t\t\t\tfor(int columnIndex = 0; columnIndex < width; columnIndex++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\t\t\n\n\t}",
"main",
"{\n\t\t\n\t\tint height = 0;\n\t\tint width = 0;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(;;){\n\t\t\t\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\t\n\t\t\theight = Integer.parseInt(array[0]);\n\t\t\twidth = Integer.parseInt(array[1]);\n\t\t\t\n\t\t\tif(height == 0 && width == 0){\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tfor(int rowIndex = 0; rowIndex < height; rowIndex++ ){\n\t\t\t\t\tfor(int columnIndex = 0; columnIndex < width; columnIndex++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\t\t\n\n\t}",
"int height = 0;",
"height",
"0",
"int width = 0;",
"width",
"0",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(;;){\n\t\t\t\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\t\n\t\t\theight = Integer.parseInt(array[0]);\n\t\t\twidth = Integer.parseInt(array[1]);\n\t\t\t\n\t\t\tif(height == 0 && width == 0){\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tfor(int rowIndex = 0; rowIndex < height; rowIndex++ ){\n\t\t\t\t\tfor(int columnIndex = 0; columnIndex < width; columnIndex++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}",
";",
"{\n\t\t\t\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\t\n\t\t\theight = Integer.parseInt(array[0]);\n\t\t\twidth = Integer.parseInt(array[1]);\n\t\t\t\n\t\t\tif(height == 0 && width == 0){\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tfor(int rowIndex = 0; rowIndex < height; rowIndex++ ){\n\t\t\t\t\tfor(int columnIndex = 0; columnIndex < width; columnIndex++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}",
"{\n\t\t\t\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\t\n\t\t\theight = Integer.parseInt(array[0]);\n\t\t\twidth = Integer.parseInt(array[1]);\n\t\t\t\n\t\t\tif(height == 0 && width == 0){\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tfor(int rowIndex = 0; rowIndex < height; rowIndex++ ){\n\t\t\t\t\tfor(int columnIndex = 0; columnIndex < width; columnIndex++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] array = line.split(\" \");",
"array",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"height = Integer.parseInt(array[0])",
"height",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"width = Integer.parseInt(array[1])",
"width",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"if(height == 0 && width == 0){\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tfor(int rowIndex = 0; rowIndex < height; rowIndex++ ){\n\t\t\t\t\tfor(int columnIndex = 0; columnIndex < width; columnIndex++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"height == 0 && width == 0",
"height == 0",
"height",
"0",
"width == 0",
"width",
"0",
"{\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}",
"sc.close()",
"sc.close",
"sc",
"break;",
"{\n\t\t\t\tfor(int rowIndex = 0; rowIndex < height; rowIndex++ ){\n\t\t\t\t\tfor(int columnIndex = 0; columnIndex < width; columnIndex++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"for(int rowIndex = 0; rowIndex < height; rowIndex++ ){\n\t\t\t\t\tfor(int columnIndex = 0; columnIndex < width; columnIndex++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"int rowIndex = 0;",
"int rowIndex = 0;",
"rowIndex",
"0",
"rowIndex < height",
"rowIndex",
"height",
"rowIndex++",
"rowIndex++",
"rowIndex",
"{\n\t\t\t\t\tfor(int columnIndex = 0; columnIndex < width; columnIndex++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"{\n\t\t\t\t\tfor(int columnIndex = 0; columnIndex < width; columnIndex++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"for(int columnIndex = 0; columnIndex < width; columnIndex++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"int columnIndex = 0;",
"int columnIndex = 0;",
"columnIndex",
"0",
"columnIndex < width",
"columnIndex",
"width",
"columnIndex++",
"columnIndex++",
"columnIndex",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args) {
int height = 0;
int width = 0;
Scanner sc = new Scanner(System.in);
for(;;){
String line = sc.nextLine();
String[] array = line.split(" ");
height = Integer.parseInt(array[0]);
width = Integer.parseInt(array[1]);
if(height == 0 && width == 0){
sc.close();
break;
}
else{
for(int rowIndex = 0; rowIndex < height; rowIndex++ ){
for(int columnIndex = 0; columnIndex < width; columnIndex++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
107,
11
],
[
107,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
29,
34
],
[
26,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
26,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
26,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
26,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
69,
70
],
[
60,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
81,
82
],
[
82,
83
],
[
73,
84
],
[
85,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
72,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
26,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
12,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] age)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint i = 0;\n\t\tint j = 0;\n\n\t\twhile(true){\n\t\t\tString[] input = br.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(input[0]);\n\t\t\tint W = Integer.parseInt(input[1]);\n\n\t\t\tif( H==0 & W==0 ) break;\n\n\t\t\tfor( i=0 ; i<H ; i++ ){\n\t\t\t\tfor( j=0 ; j<W ; j++ ){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] age)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint i = 0;\n\t\tint j = 0;\n\n\t\twhile(true){\n\t\t\tString[] input = br.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(input[0]);\n\t\t\tint W = Integer.parseInt(input[1]);\n\n\t\t\tif( H==0 & W==0 ) break;\n\n\t\t\tfor( i=0 ; i<H ; i++ ){\n\t\t\t\tfor( j=0 ; j<W ; j++ ){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] age)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint i = 0;\n\t\tint j = 0;\n\n\t\twhile(true){\n\t\t\tString[] input = br.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(input[0]);\n\t\t\tint W = Integer.parseInt(input[1]);\n\n\t\t\tif( H==0 & W==0 ) break;\n\n\t\t\tfor( i=0 ; i<H ; i++ ){\n\t\t\t\tfor( j=0 ; j<W ; j++ ){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint i = 0;\n\t\tint j = 0;\n\n\t\twhile(true){\n\t\t\tString[] input = br.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(input[0]);\n\t\t\tint W = Integer.parseInt(input[1]);\n\n\t\t\tif( H==0 & W==0 ) break;\n\n\t\t\tfor( i=0 ; i<H ; i++ ){\n\t\t\t\tfor( j=0 ; j<W ; j++ ){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int i = 0;",
"i",
"0",
"int j = 0;",
"j",
"0",
"while(true){\n\t\t\tString[] input = br.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(input[0]);\n\t\t\tint W = Integer.parseInt(input[1]);\n\n\t\t\tif( H==0 & W==0 ) break;\n\n\t\t\tfor( i=0 ; i<H ; i++ ){\n\t\t\t\tfor( j=0 ; j<W ; j++ ){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}",
"true",
"{\n\t\t\tString[] input = br.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(input[0]);\n\t\t\tint W = Integer.parseInt(input[1]);\n\n\t\t\tif( H==0 & W==0 ) break;\n\n\t\t\tfor( i=0 ; i<H ; i++ ){\n\t\t\t\tfor( j=0 ; j<W ; j++ ){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}",
"String[] input = br.readLine().split(\" \");",
"input",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int H = Integer.parseInt(input[0]);",
"H",
"Integer.parseInt(input[0])",
"Integer.parseInt",
"Integer",
"input[0]",
"input",
"0",
"int W = Integer.parseInt(input[1]);",
"W",
"Integer.parseInt(input[1])",
"Integer.parseInt",
"Integer",
"input[1]",
"input",
"1",
"if( H==0 & W==0 ) break;",
"H==0 & W==0",
"H==0",
"H",
"0",
"W==0",
"W",
"0",
"break;",
"for( i=0 ; i<H ; i++ ){\n\t\t\t\tfor( j=0 ; j<W ; j++ ){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}",
"i=0 ;",
"i=0",
"i",
"0",
"i<H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor( j=0 ; j<W ; j++ ){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}",
"{\n\t\t\t\tfor( j=0 ; j<W ; j++ ){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}",
"for( j=0 ; j<W ; j++ ){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"j=0 ;",
"j=0",
"j",
"0",
"j<W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] age",
"age",
"public class Main {\n\tpublic static void main(String[] age)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint i = 0;\n\t\tint j = 0;\n\n\t\twhile(true){\n\t\t\tString[] input = br.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(input[0]);\n\t\t\tint W = Integer.parseInt(input[1]);\n\n\t\t\tif( H==0 & W==0 ) break;\n\n\t\t\tfor( i=0 ; i<H ; i++ ){\n\t\t\t\tfor( j=0 ; j<W ; j++ ){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] age)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint i = 0;\n\t\tint j = 0;\n\n\t\twhile(true){\n\t\t\tString[] input = br.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(input[0]);\n\t\t\tint W = Integer.parseInt(input[1]);\n\n\t\t\tif( H==0 & W==0 ) break;\n\n\t\t\tfor( i=0 ; i<H ; i++ ){\n\t\t\t\tfor( j=0 ; j<W ; j++ ){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] age)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int i = 0;
int j = 0;
while(true){
String[] input = br.readLine().split(" ");
int H = Integer.parseInt(input[0]);
int W = Integer.parseInt(input[1]);
if( H==0 & W==0 ) break;
for( i=0 ; i<H ; i++ ){
for( j=0 ; j<W ; j++ ){
System.out.print("#");
}
System.out.print("\n");
}
System.out.print("\n");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
2,
13,
17,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
91,
5
],
[
91,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
46,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
33,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
33,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
33,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
6,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner x = new Scanner(System.in);\n\t\tint h = x.nextInt();\n\t\tint w = x.nextInt();\n\t\t\n\t\tStringBuilder sb1 = new StringBuilder(\"\");\n\t\t\n\t\twhile(h != 0 || w != 0 ){\n\t\t\t\tfor(int i = 0 ; i < h ; i++){\n\n\t\t\tfor(int n = 0 ; n < w ; n++){\n\t\t\t\tsb1.append(\"#\");\n\t\t\t}\n\t\t\tsb1.append(\"\\n\");\n\t\t}\n\t\tsb1.append(\"\\n\");\n\t\t h = x.nextInt();\n\t\t w = x.nextInt();\n\t\t}\n\t\t\n\t\tSystem.out.print(sb1);\n\t\t\n\t\t\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner x = new Scanner(System.in);\n\t\tint h = x.nextInt();\n\t\tint w = x.nextInt();\n\t\t\n\t\tStringBuilder sb1 = new StringBuilder(\"\");\n\t\t\n\t\twhile(h != 0 || w != 0 ){\n\t\t\t\tfor(int i = 0 ; i < h ; i++){\n\n\t\t\tfor(int n = 0 ; n < w ; n++){\n\t\t\t\tsb1.append(\"#\");\n\t\t\t}\n\t\t\tsb1.append(\"\\n\");\n\t\t}\n\t\tsb1.append(\"\\n\");\n\t\t h = x.nextInt();\n\t\t w = x.nextInt();\n\t\t}\n\t\t\n\t\tSystem.out.print(sb1);\n\t\t\n\t\t\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner x = new Scanner(System.in);\n\t\tint h = x.nextInt();\n\t\tint w = x.nextInt();\n\t\t\n\t\tStringBuilder sb1 = new StringBuilder(\"\");\n\t\t\n\t\twhile(h != 0 || w != 0 ){\n\t\t\t\tfor(int i = 0 ; i < h ; i++){\n\n\t\t\tfor(int n = 0 ; n < w ; n++){\n\t\t\t\tsb1.append(\"#\");\n\t\t\t}\n\t\t\tsb1.append(\"\\n\");\n\t\t}\n\t\tsb1.append(\"\\n\");\n\t\t h = x.nextInt();\n\t\t w = x.nextInt();\n\t\t}\n\t\t\n\t\tSystem.out.print(sb1);\n\t\t\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\tScanner x = new Scanner(System.in);\n\t\tint h = x.nextInt();\n\t\tint w = x.nextInt();\n\t\t\n\t\tStringBuilder sb1 = new StringBuilder(\"\");\n\t\t\n\t\twhile(h != 0 || w != 0 ){\n\t\t\t\tfor(int i = 0 ; i < h ; i++){\n\n\t\t\tfor(int n = 0 ; n < w ; n++){\n\t\t\t\tsb1.append(\"#\");\n\t\t\t}\n\t\t\tsb1.append(\"\\n\");\n\t\t}\n\t\tsb1.append(\"\\n\");\n\t\t h = x.nextInt();\n\t\t w = x.nextInt();\n\t\t}\n\t\t\n\t\tSystem.out.print(sb1);\n\t\t\n\t\t\n\t\t\n\t}",
"Scanner x = new Scanner(System.in);",
"x",
"new Scanner(System.in)",
"int h = x.nextInt();",
"h",
"x.nextInt()",
"x.nextInt",
"x",
"int w = x.nextInt();",
"w",
"x.nextInt()",
"x.nextInt",
"x",
"StringBuilder sb1 = new StringBuilder(\"\");",
"sb1",
"new StringBuilder(\"\")",
"while(h != 0 || w != 0 ){\n\t\t\t\tfor(int i = 0 ; i < h ; i++){\n\n\t\t\tfor(int n = 0 ; n < w ; n++){\n\t\t\t\tsb1.append(\"#\");\n\t\t\t}\n\t\t\tsb1.append(\"\\n\");\n\t\t}\n\t\tsb1.append(\"\\n\");\n\t\t h = x.nextInt();\n\t\t w = x.nextInt();\n\t\t}",
"h != 0 || w != 0",
"h != 0",
"h",
"0",
"w != 0",
"w",
"0",
"{\n\t\t\t\tfor(int i = 0 ; i < h ; i++){\n\n\t\t\tfor(int n = 0 ; n < w ; n++){\n\t\t\t\tsb1.append(\"#\");\n\t\t\t}\n\t\t\tsb1.append(\"\\n\");\n\t\t}\n\t\tsb1.append(\"\\n\");\n\t\t h = x.nextInt();\n\t\t w = x.nextInt();\n\t\t}",
"for(int i = 0 ; i < h ; i++){\n\n\t\t\tfor(int n = 0 ; n < w ; n++){\n\t\t\t\tsb1.append(\"#\");\n\t\t\t}\n\t\t\tsb1.append(\"\\n\");\n\t\t}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\n\t\t\tfor(int n = 0 ; n < w ; n++){\n\t\t\t\tsb1.append(\"#\");\n\t\t\t}\n\t\t\tsb1.append(\"\\n\");\n\t\t}",
"{\n\n\t\t\tfor(int n = 0 ; n < w ; n++){\n\t\t\t\tsb1.append(\"#\");\n\t\t\t}\n\t\t\tsb1.append(\"\\n\");\n\t\t}",
"for(int n = 0 ; n < w ; n++){\n\t\t\t\tsb1.append(\"#\");\n\t\t\t}",
"int n = 0 ;",
"int n = 0 ;",
"n",
"0",
"n < w",
"n",
"w",
"n++",
"n++",
"n",
"{\n\t\t\t\tsb1.append(\"#\");\n\t\t\t}",
"{\n\t\t\t\tsb1.append(\"#\");\n\t\t\t}",
"sb1.append(\"#\")",
"sb1.append",
"sb1",
"\"#\"",
"sb1.append(\"\\n\")",
"sb1.append",
"sb1",
"\"\\n\"",
"sb1.append(\"\\n\")",
"sb1.append",
"sb1",
"\"\\n\"",
"h = x.nextInt()",
"h",
"x.nextInt()",
"x.nextInt",
"x",
"w = x.nextInt()",
"w",
"x.nextInt()",
"x.nextInt",
"x",
"System.out.print(sb1)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb1",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner x = new Scanner(System.in);\n\t\tint h = x.nextInt();\n\t\tint w = x.nextInt();\n\t\t\n\t\tStringBuilder sb1 = new StringBuilder(\"\");\n\t\t\n\t\twhile(h != 0 || w != 0 ){\n\t\t\t\tfor(int i = 0 ; i < h ; i++){\n\n\t\t\tfor(int n = 0 ; n < w ; n++){\n\t\t\t\tsb1.append(\"#\");\n\t\t\t}\n\t\t\tsb1.append(\"\\n\");\n\t\t}\n\t\tsb1.append(\"\\n\");\n\t\t h = x.nextInt();\n\t\t w = x.nextInt();\n\t\t}\n\t\t\n\t\tSystem.out.print(sb1);\n\t\t\n\t\t\n\t\t\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner x = new Scanner(System.in);\n\t\tint h = x.nextInt();\n\t\tint w = x.nextInt();\n\t\t\n\t\tStringBuilder sb1 = new StringBuilder(\"\");\n\t\t\n\t\twhile(h != 0 || w != 0 ){\n\t\t\t\tfor(int i = 0 ; i < h ; i++){\n\n\t\t\tfor(int n = 0 ; n < w ; n++){\n\t\t\t\tsb1.append(\"#\");\n\t\t\t}\n\t\t\tsb1.append(\"\\n\");\n\t\t}\n\t\tsb1.append(\"\\n\");\n\t\t h = x.nextInt();\n\t\t w = x.nextInt();\n\t\t}\n\t\t\n\t\tSystem.out.print(sb1);\n\t\t\n\t\t\n\t\t\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner x = new Scanner(System.in);
int h = x.nextInt();
int w = x.nextInt();
StringBuilder sb1 = new StringBuilder("");
while(h != 0 || w != 0 ){
for(int i = 0 ; i < h ; i++){
for(int n = 0 ; n < w ; n++){
sb1.append("#");
}
sb1.append("\n");
}
sb1.append("\n");
h = x.nextInt();
w = x.nextInt();
}
System.out.print(sb1);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
102,
11
],
[
102,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
23,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
20,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
20,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
55,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
68,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
67,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
20,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
12,
99
],
[
99,
100
],
[
0,
101
],
[
101,
102
],
[
101,
103
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\twhile (true) {\n\t\t\tString[] inputNum = br.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(inputNum[0]);\n\t\t\tint W = Integer.parseInt(inputNum[1]);\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\n\n\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\twhile (true) {\n\t\t\tString[] inputNum = br.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(inputNum[0]);\n\t\t\tint W = Integer.parseInt(inputNum[1]);\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\twhile (true) {\n\t\t\tString[] inputNum = br.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(inputNum[0]);\n\t\t\tint W = Integer.parseInt(inputNum[1]);\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\n\n\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\twhile (true) {\n\t\t\tString[] inputNum = br.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(inputNum[0]);\n\t\t\tint W = Integer.parseInt(inputNum[1]);\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\n\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while (true) {\n\t\t\tString[] inputNum = br.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(inputNum[0]);\n\t\t\tint W = Integer.parseInt(inputNum[1]);\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\n\t\t}",
"true",
"{\n\t\t\tString[] inputNum = br.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(inputNum[0]);\n\t\t\tint W = Integer.parseInt(inputNum[1]);\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\n\t\t}",
"String[] inputNum = br.readLine().split(\" \");",
"inputNum",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int H = Integer.parseInt(inputNum[0]);",
"H",
"Integer.parseInt(inputNum[0])",
"Integer.parseInt",
"Integer",
"inputNum[0]",
"inputNum",
"0",
"int W = Integer.parseInt(inputNum[1]);",
"W",
"Integer.parseInt(inputNum[1])",
"Integer.parseInt",
"Integer",
"inputNum[1]",
"inputNum",
"1",
"if (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for(int i = 0; i < H; i++){\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"{\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"for(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\twhile (true) {\n\t\t\tString[] inputNum = br.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(inputNum[0]);\n\t\t\tint W = Integer.parseInt(inputNum[1]);\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\n\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\twhile (true) {\n\t\t\tString[] inputNum = br.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(inputNum[0]);\n\t\t\tint W = Integer.parseInt(inputNum[1]);\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\n\n\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while (true) {
String[] inputNum = br.readLine().split(" ");
int H = Integer.parseInt(inputNum[0]);
int W = Integer.parseInt(inputNum[1]);
if (H == 0 && W == 0) {
break;
}
for(int i = 0; i < H; i++){
for(int j = 0; j < W; j++){
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
41,
13,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
20,
4,
18,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
96,
5
],
[
96,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
15,
18
],
[
8,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
25,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
59,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
58,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
25,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
25,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
86,
90
],
[
90,
91
],
[
91,
92
],
[
6,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
] | [
"\n\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(\"\");//??????????????\\???????????????\n\t\tint h, w;\n\t\t\n\t\t// h??¨w?????¨??????0????????£?????¨??????????????????????????????\n\t\twhile (true) {\n\t\t\th = scan.nextInt();// ????????????\n\t\t\tw = scan.nextInt();// ?¨??????????\n\t\t\t\n\t\t\tif((h == 0) & (w == 0)){break;}\n\n\t\t\t// for?????§????????????h??§????????????\n\t\t\tfor (int count = 0; count < h; count++) {\n\t\t\t\t// for?????§?¨???????????????§????????????\n\t\t\t\tfor (int count2 = 0; count2 < w; count2++) {\n\t\t\t\t\t// #???StringBuilder?????\\????????????\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println(new String(sb));\n\t\t\t//StringBuilder????????????????????????\n\t\t\tsb.delete(0, sb.length());\n\t\t}\n\t\t\n\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(\"\");//??????????????\\???????????????\n\t\tint h, w;\n\t\t\n\t\t// h??¨w?????¨??????0????????£?????¨??????????????????????????????\n\t\twhile (true) {\n\t\t\th = scan.nextInt();// ????????????\n\t\t\tw = scan.nextInt();// ?¨??????????\n\t\t\t\n\t\t\tif((h == 0) & (w == 0)){break;}\n\n\t\t\t// for?????§????????????h??§????????????\n\t\t\tfor (int count = 0; count < h; count++) {\n\t\t\t\t// for?????§?¨???????????????§????????????\n\t\t\t\tfor (int count2 = 0; count2 < w; count2++) {\n\t\t\t\t\t// #???StringBuilder?????\\????????????\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println(new String(sb));\n\t\t\t//StringBuilder????????????????????????\n\t\t\tsb.delete(0, sb.length());\n\t\t}\n\t\t\n\n\t}\n}",
"Main",
"public static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(\"\");//??????????????\\???????????????\n\t\tint h, w;\n\t\t\n\t\t// h??¨w?????¨??????0????????£?????¨??????????????????????????????\n\t\twhile (true) {\n\t\t\th = scan.nextInt();// ????????????\n\t\t\tw = scan.nextInt();// ?¨??????????\n\t\t\t\n\t\t\tif((h == 0) & (w == 0)){break;}\n\n\t\t\t// for?????§????????????h??§????????????\n\t\t\tfor (int count = 0; count < h; count++) {\n\t\t\t\t// for?????§?¨???????????????§????????????\n\t\t\t\tfor (int count2 = 0; count2 < w; count2++) {\n\t\t\t\t\t// #???StringBuilder?????\\????????????\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println(new String(sb));\n\t\t\t//StringBuilder????????????????????????\n\t\t\tsb.delete(0, sb.length());\n\t\t}\n\t\t\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(\"\");//??????????????\\???????????????\n\t\tint h, w;\n\t\t\n\t\t// h??¨w?????¨??????0????????£?????¨??????????????????????????????\n\t\twhile (true) {\n\t\t\th = scan.nextInt();// ????????????\n\t\t\tw = scan.nextInt();// ?¨??????????\n\t\t\t\n\t\t\tif((h == 0) & (w == 0)){break;}\n\n\t\t\t// for?????§????????????h??§????????????\n\t\t\tfor (int count = 0; count < h; count++) {\n\t\t\t\t// for?????§?¨???????????????§????????????\n\t\t\t\tfor (int count2 = 0; count2 < w; count2++) {\n\t\t\t\t\t// #???StringBuilder?????\\????????????\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println(new String(sb));\n\t\t\t//StringBuilder????????????????????????\n\t\t\tsb.delete(0, sb.length());\n\t\t}\n\t\t\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"sb.append(\"\")",
"sb.append",
"sb",
"\"\"",
"int h",
"h",
"w;",
"w",
"while (true) {\n\t\t\th = scan.nextInt();// ????????????\n\t\t\tw = scan.nextInt();// ?¨??????????\n\t\t\t\n\t\t\tif((h == 0) & (w == 0)){break;}\n\n\t\t\t// for?????§????????????h??§????????????\n\t\t\tfor (int count = 0; count < h; count++) {\n\t\t\t\t// for?????§?¨???????????????§????????????\n\t\t\t\tfor (int count2 = 0; count2 < w; count2++) {\n\t\t\t\t\t// #???StringBuilder?????\\????????????\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println(new String(sb));\n\t\t\t//StringBuilder????????????????????????\n\t\t\tsb.delete(0, sb.length());\n\t\t}",
"true",
"{\n\t\t\th = scan.nextInt();// ????????????\n\t\t\tw = scan.nextInt();// ?¨??????????\n\t\t\t\n\t\t\tif((h == 0) & (w == 0)){break;}\n\n\t\t\t// for?????§????????????h??§????????????\n\t\t\tfor (int count = 0; count < h; count++) {\n\t\t\t\t// for?????§?¨???????????????§????????????\n\t\t\t\tfor (int count2 = 0; count2 < w; count2++) {\n\t\t\t\t\t// #???StringBuilder?????\\????????????\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println(new String(sb));\n\t\t\t//StringBuilder????????????????????????\n\t\t\tsb.delete(0, sb.length());\n\t\t}",
"h = scan.nextInt()",
"h",
"scan.nextInt()",
"scan.nextInt",
"scan",
"w = scan.nextInt()",
"w",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if((h == 0) & (w == 0)){break;}",
"(h == 0) & (w == 0)",
"(h == 0)",
"h",
"0",
"(w == 0)",
"w",
"0",
"{break;}",
"break;",
"for (int count = 0; count < h; count++) {\n\t\t\t\t// for?????§?¨???????????????§????????????\n\t\t\t\tfor (int count2 = 0; count2 < w; count2++) {\n\t\t\t\t\t// #???StringBuilder?????\\????????????\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}",
"int count = 0;",
"int count = 0;",
"count",
"0",
"count < h",
"count",
"h",
"count++",
"count++",
"count",
"{\n\t\t\t\t// for?????§?¨???????????????§????????????\n\t\t\t\tfor (int count2 = 0; count2 < w; count2++) {\n\t\t\t\t\t// #???StringBuilder?????\\????????????\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}",
"{\n\t\t\t\t// for?????§?¨???????????????§????????????\n\t\t\t\tfor (int count2 = 0; count2 < w; count2++) {\n\t\t\t\t\t// #???StringBuilder?????\\????????????\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}",
"for (int count2 = 0; count2 < w; count2++) {\n\t\t\t\t\t// #???StringBuilder?????\\????????????\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"int count2 = 0;",
"int count2 = 0;",
"count2",
"0",
"count2 < w",
"count2",
"w",
"count2++",
"count2++",
"count2",
"{\n\t\t\t\t\t// #???StringBuilder?????\\????????????\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\t// #???StringBuilder?????\\????????????\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"sb.append(\"#\")",
"sb.append",
"sb",
"\"#\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"System.out.println(new String(sb))",
"System.out.println",
"System.out",
"System",
"System.out",
"new String(sb)",
"sb.delete(0, sb.length())",
"sb.delete",
"sb",
"0",
"sb.length()",
"sb.length",
"sb",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(\"\");//??????????????\\???????????????\n\t\tint h, w;\n\t\t\n\t\t// h??¨w?????¨??????0????????£?????¨??????????????????????????????\n\t\twhile (true) {\n\t\t\th = scan.nextInt();// ????????????\n\t\t\tw = scan.nextInt();// ?¨??????????\n\t\t\t\n\t\t\tif((h == 0) & (w == 0)){break;}\n\n\t\t\t// for?????§????????????h??§????????????\n\t\t\tfor (int count = 0; count < h; count++) {\n\t\t\t\t// for?????§?¨???????????????§????????????\n\t\t\t\tfor (int count2 = 0; count2 < w; count2++) {\n\t\t\t\t\t// #???StringBuilder?????\\????????????\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println(new String(sb));\n\t\t\t//StringBuilder????????????????????????\n\t\t\tsb.delete(0, sb.length());\n\t\t}\n\t\t\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(\"\");//??????????????\\???????????????\n\t\tint h, w;\n\t\t\n\t\t// h??¨w?????¨??????0????????£?????¨??????????????????????????????\n\t\twhile (true) {\n\t\t\th = scan.nextInt();// ????????????\n\t\t\tw = scan.nextInt();// ?¨??????????\n\t\t\t\n\t\t\tif((h == 0) & (w == 0)){break;}\n\n\t\t\t// for?????§????????????h??§????????????\n\t\t\tfor (int count = 0; count < h; count++) {\n\t\t\t\t// for?????§?¨???????????????§????????????\n\t\t\t\tfor (int count2 = 0; count2 < w; count2++) {\n\t\t\t\t\t// #???StringBuilder?????\\????????????\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println(new String(sb));\n\t\t\t//StringBuilder????????????????????????\n\t\t\tsb.delete(0, sb.length());\n\t\t}\n\t\t\n\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
sb.append("");//??????????????\???????????????
int h, w;
// h??¨w?????¨??????0????????£?????¨??????????????????????????????
while (true) {
h = scan.nextInt();// ????????????
w = scan.nextInt();// ?¨??????????
if((h == 0) & (w == 0)){break;}
// for?????§????????????h??§????????????
for (int count = 0; count < h; count++) {
// for?????§?¨???????????????§????????????
for (int count2 = 0; count2 < w; count2++) {
// #???StringBuilder?????\????????????
sb.append("#");
}
sb.append("\n");
}
System.out.println(new String(sb));
//StringBuilder????????????????????????
sb.delete(0, sb.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
98,
5
],
[
98,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
37,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
50,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
49,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
26,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
6,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner a = new Scanner(System.in);\n\t\tint h = 1;\n\t\tint w = 1;\n\t\twhile(h > 0 && w > 0){\n\t\th = a.nextInt();\n\t\tw = a.nextInt();\n\t\tfor(int i = 0;i < h;i++){\n\t\t\tfor(int j = 0;j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tif(h != 0 && w != 0)\n\t\t\tSystem.out.println();\n\t\t}\n\t\tif(h != 0 && w != 0)\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner a = new Scanner(System.in);\n\t\tint h = 1;\n\t\tint w = 1;\n\t\twhile(h > 0 && w > 0){\n\t\th = a.nextInt();\n\t\tw = a.nextInt();\n\t\tfor(int i = 0;i < h;i++){\n\t\t\tfor(int j = 0;j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tif(h != 0 && w != 0)\n\t\t\tSystem.out.println();\n\t\t}\n\t\tif(h != 0 && w != 0)\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner a = new Scanner(System.in);\n\t\tint h = 1;\n\t\tint w = 1;\n\t\twhile(h > 0 && w > 0){\n\t\th = a.nextInt();\n\t\tw = a.nextInt();\n\t\tfor(int i = 0;i < h;i++){\n\t\t\tfor(int j = 0;j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tif(h != 0 && w != 0)\n\t\t\tSystem.out.println();\n\t\t}\n\t\tif(h != 0 && w != 0)\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner a = new Scanner(System.in);\n\t\tint h = 1;\n\t\tint w = 1;\n\t\twhile(h > 0 && w > 0){\n\t\th = a.nextInt();\n\t\tw = a.nextInt();\n\t\tfor(int i = 0;i < h;i++){\n\t\t\tfor(int j = 0;j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tif(h != 0 && w != 0)\n\t\t\tSystem.out.println();\n\t\t}\n\t\tif(h != 0 && w != 0)\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"Scanner a = new Scanner(System.in);",
"a",
"new Scanner(System.in)",
"int h = 1;",
"h",
"1",
"int w = 1;",
"w",
"1",
"while(h > 0 && w > 0){\n\t\th = a.nextInt();\n\t\tw = a.nextInt();\n\t\tfor(int i = 0;i < h;i++){\n\t\t\tfor(int j = 0;j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tif(h != 0 && w != 0)\n\t\t\tSystem.out.println();\n\t\t}\n\t\tif(h != 0 && w != 0)\n\t\t\tSystem.out.println();\n\t\t}",
"h > 0 && w > 0",
"h > 0",
"h",
"0",
"w > 0",
"w",
"0",
"{\n\t\th = a.nextInt();\n\t\tw = a.nextInt();\n\t\tfor(int i = 0;i < h;i++){\n\t\t\tfor(int j = 0;j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tif(h != 0 && w != 0)\n\t\t\tSystem.out.println();\n\t\t}\n\t\tif(h != 0 && w != 0)\n\t\t\tSystem.out.println();\n\t\t}",
"h = a.nextInt()",
"h",
"a.nextInt()",
"a.nextInt",
"a",
"w = a.nextInt()",
"w",
"a.nextInt()",
"a.nextInt",
"a",
"for(int i = 0;i < h;i++){\n\t\t\tfor(int j = 0;j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tif(h != 0 && w != 0)\n\t\t\tSystem.out.println();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = 0;j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tif(h != 0 && w != 0)\n\t\t\tSystem.out.println();\n\t\t}",
"{\n\t\t\tfor(int j = 0;j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tif(h != 0 && w != 0)\n\t\t\tSystem.out.println();\n\t\t}",
"for(int j = 0;j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < w",
"j",
"w",
"j++",
"j++",
"j",
"{\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"if(h != 0 && w != 0)\n\t\t\tSystem.out.println();",
"h != 0 && w != 0",
"h != 0",
"h",
"0",
"w != 0",
"w",
"0",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"if(h != 0 && w != 0)\n\t\t\tSystem.out.println();",
"h != 0 && w != 0",
"h != 0",
"h",
"0",
"w != 0",
"w",
"0",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner a = new Scanner(System.in);\n\t\tint h = 1;\n\t\tint w = 1;\n\t\twhile(h > 0 && w > 0){\n\t\th = a.nextInt();\n\t\tw = a.nextInt();\n\t\tfor(int i = 0;i < h;i++){\n\t\t\tfor(int j = 0;j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tif(h != 0 && w != 0)\n\t\t\tSystem.out.println();\n\t\t}\n\t\tif(h != 0 && w != 0)\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner a = new Scanner(System.in);\n\t\tint h = 1;\n\t\tint w = 1;\n\t\twhile(h > 0 && w > 0){\n\t\th = a.nextInt();\n\t\tw = a.nextInt();\n\t\tfor(int i = 0;i < h;i++){\n\t\t\tfor(int j = 0;j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tif(h != 0 && w != 0)\n\t\t\tSystem.out.println();\n\t\t}\n\t\tif(h != 0 && w != 0)\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner a = new Scanner(System.in);
int h = 1;
int w = 1;
while(h > 0 && w > 0){
h = a.nextInt();
w = a.nextInt();
for(int i = 0;i < h;i++){
for(int j = 0;j < w;j++){
System.out.print("#");
}
if(h != 0 && w != 0)
System.out.println();
}
if(h != 0 && w != 0)
System.out.println();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
99,
8
],
[
99,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
17,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
17,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
74,
75
],
[
65,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
64,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
17,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
9,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
] | [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] sArray = br.readLine().split(\" \");\n\t\t\tint h = Integer.parseInt(sArray[0]);\n\t\t\tint w = Integer.parseInt(sArray[1]);\n\t\t\tif (h == 0 & w == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] sArray = br.readLine().split(\" \");\n\t\t\tint h = Integer.parseInt(sArray[0]);\n\t\t\tint w = Integer.parseInt(sArray[1]);\n\t\t\tif (h == 0 & w == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] sArray = br.readLine().split(\" \");\n\t\t\tint h = Integer.parseInt(sArray[0]);\n\t\t\tint w = Integer.parseInt(sArray[1]);\n\t\t\tif (h == 0 & w == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] sArray = br.readLine().split(\" \");\n\t\t\tint h = Integer.parseInt(sArray[0]);\n\t\t\tint w = Integer.parseInt(sArray[1]);\n\t\t\tif (h == 0 & w == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while (true) {\n\t\t\tString[] sArray = br.readLine().split(\" \");\n\t\t\tint h = Integer.parseInt(sArray[0]);\n\t\t\tint w = Integer.parseInt(sArray[1]);\n\t\t\tif (h == 0 & w == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"true",
"{\n\t\t\tString[] sArray = br.readLine().split(\" \");\n\t\t\tint h = Integer.parseInt(sArray[0]);\n\t\t\tint w = Integer.parseInt(sArray[1]);\n\t\t\tif (h == 0 & w == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"String[] sArray = br.readLine().split(\" \");",
"sArray",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int h = Integer.parseInt(sArray[0]);",
"h",
"Integer.parseInt(sArray[0])",
"Integer.parseInt",
"Integer",
"sArray[0]",
"sArray",
"0",
"int w = Integer.parseInt(sArray[1]);",
"w",
"Integer.parseInt(sArray[1])",
"Integer.parseInt",
"Integer",
"sArray[1]",
"sArray",
"1",
"if (h == 0 & w == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"h == 0 & w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"{\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"for (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < w",
"j",
"w",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] sArray = br.readLine().split(\" \");\n\t\t\tint h = Integer.parseInt(sArray[0]);\n\t\t\tint w = Integer.parseInt(sArray[1]);\n\t\t\tif (h == 0 & w == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] sArray = br.readLine().split(\" \");\n\t\t\tint h = Integer.parseInt(sArray[0]);\n\t\t\tint w = Integer.parseInt(sArray[1]);\n\t\t\tif (h == 0 & w == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while (true) {
String[] sArray = br.readLine().split(" ");
int h = Integer.parseInt(sArray[0]);
int w = Integer.parseInt(sArray[1]);
if (h == 0 & w == 0) {
break;
}
for (int i = 0; i < h; i++) {
for (int j = 0; j < w; j++) {
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
17,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
17,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
63,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
70,
80
],
[
80,
81
],
[
81,
82
],
[
70,
83
],
[
84,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
63,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
17,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
9,
103
],
[
103,
104
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main{\n public static void main(String args[])throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n //String s = br.readLine();\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n if(h == 0 || w == 0) break;\n for(int i=0;i<h; i++){\n System.out.print(\"\");\n for(int j=0; j<w-1; j++){\n System.out.print(\"#\");\n }\n System.out.println(\"#\");\n }\n System.out.print(\"\\n\");\n //System.out.println(h+\" \"+w);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String args[])throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n //String s = br.readLine();\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n if(h == 0 || w == 0) break;\n for(int i=0;i<h; i++){\n System.out.print(\"\");\n for(int j=0; j<w-1; j++){\n System.out.print(\"#\");\n }\n System.out.println(\"#\");\n }\n System.out.print(\"\\n\");\n //System.out.println(h+\" \"+w);\n }\n }\n}",
"Main",
"public static void main(String args[])throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n //String s = br.readLine();\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n if(h == 0 || w == 0) break;\n for(int i=0;i<h; i++){\n System.out.print(\"\");\n for(int j=0; j<w-1; j++){\n System.out.print(\"#\");\n }\n System.out.println(\"#\");\n }\n System.out.print(\"\\n\");\n //System.out.println(h+\" \"+w);\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n //String s = br.readLine();\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n if(h == 0 || w == 0) break;\n for(int i=0;i<h; i++){\n System.out.print(\"\");\n for(int j=0; j<w-1; j++){\n System.out.print(\"#\");\n }\n System.out.println(\"#\");\n }\n System.out.print(\"\\n\");\n //System.out.println(h+\" \"+w);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n //String s = br.readLine();\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n if(h == 0 || w == 0) break;\n for(int i=0;i<h; i++){\n System.out.print(\"\");\n for(int j=0; j<w-1; j++){\n System.out.print(\"#\");\n }\n System.out.println(\"#\");\n }\n System.out.print(\"\\n\");\n //System.out.println(h+\" \"+w);\n }",
"true",
"{\n //String s = br.readLine();\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n if(h == 0 || w == 0) break;\n for(int i=0;i<h; i++){\n System.out.print(\"\");\n for(int j=0; j<w-1; j++){\n System.out.print(\"#\");\n }\n System.out.println(\"#\");\n }\n System.out.print(\"\\n\");\n //System.out.println(h+\" \"+w);\n }",
"String[] str = br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int h = Integer.parseInt(str[0]);",
"h",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"int w = Integer.parseInt(str[1]);",
"w",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"if(h == 0 || w == 0) break;",
"h == 0 || w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"break;",
"for(int i=0;i<h; i++){\n System.out.print(\"\");\n for(int j=0; j<w-1; j++){\n System.out.print(\"#\");\n }\n System.out.println(\"#\");\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<h",
"i",
"h",
"i++",
"i++",
"i",
"{\n System.out.print(\"\");\n for(int j=0; j<w-1; j++){\n System.out.print(\"#\");\n }\n System.out.println(\"#\");\n }",
"{\n System.out.print(\"\");\n for(int j=0; j<w-1; j++){\n System.out.print(\"#\");\n }\n System.out.println(\"#\");\n }",
"System.out.print(\"\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\"",
"for(int j=0; j<w-1; j++){\n System.out.print(\"#\");\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<w-1",
"j",
"w-1",
"w",
"1",
"j++",
"j++",
"j",
"{\n System.out.print(\"#\");\n }",
"{\n System.out.print(\"#\");\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"#\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String args[]",
"args"
] | import java.io.*;
import java.util.*;
class Main{
public static void main(String args[])throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
//String s = br.readLine();
String[] str = br.readLine().split(" ");
int h = Integer.parseInt(str[0]);
int w = Integer.parseInt(str[1]);
if(h == 0 || w == 0) break;
for(int i=0;i<h; i++){
System.out.print("");
for(int j=0; j<w-1; j++){
System.out.print("#");
}
System.out.println("#");
}
System.out.print("\n");
//System.out.println(h+" "+w);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
42,
2,
2,
13,
17,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
0,
13,
4,
18,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
45,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
58,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
57,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
44,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
44,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
91,
96
],
[
44,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
102,
103
],
[
102,
104
],
[
44,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
110,
111
],
[
110,
112
],
[
6,
113
],
[
113,
114
]
] | [
"import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] array = br.readLine().split(\" \");\n int H = Integer.parseInt(array[0]);\n int W = Integer.parseInt(array[1]);\n\t\twhile(H!=0&&W!=0){\n\t\t\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tarray = br.readLine().split(\" \");\n\t H = Integer.parseInt(array[0]);\n\t W = Integer.parseInt(array[1]);\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] array = br.readLine().split(\" \");\n int H = Integer.parseInt(array[0]);\n int W = Integer.parseInt(array[1]);\n\t\twhile(H!=0&&W!=0){\n\t\t\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tarray = br.readLine().split(\" \");\n\t H = Integer.parseInt(array[0]);\n\t W = Integer.parseInt(array[1]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] array = br.readLine().split(\" \");\n int H = Integer.parseInt(array[0]);\n int W = Integer.parseInt(array[1]);\n\t\twhile(H!=0&&W!=0){\n\t\t\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tarray = br.readLine().split(\" \");\n\t H = Integer.parseInt(array[0]);\n\t W = Integer.parseInt(array[1]);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] array = br.readLine().split(\" \");\n int H = Integer.parseInt(array[0]);\n int W = Integer.parseInt(array[1]);\n\t\twhile(H!=0&&W!=0){\n\t\t\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tarray = br.readLine().split(\" \");\n\t H = Integer.parseInt(array[0]);\n\t W = Integer.parseInt(array[1]);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] array = br.readLine().split(\" \");",
"array",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int H = Integer.parseInt(array[0]);",
"H",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"int W = Integer.parseInt(array[1]);",
"W",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"while(H!=0&&W!=0){\n\t\t\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tarray = br.readLine().split(\" \");\n\t H = Integer.parseInt(array[0]);\n\t W = Integer.parseInt(array[1]);\n\t\t}",
"H!=0&&W!=0",
"H!=0",
"H",
"0",
"W!=0",
"W",
"0",
"{\n\t\t\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tarray = br.readLine().split(\" \");\n\t H = Integer.parseInt(array[0]);\n\t W = Integer.parseInt(array[1]);\n\t\t}",
"for(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"{\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"for(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"array = br.readLine().split(\" \")",
"array",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"H = Integer.parseInt(array[0])",
"H",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"W = Integer.parseInt(array[1])",
"W",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"String[] args",
"args"
] | import java.io.*;
class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] array = br.readLine().split(" ");
int H = Integer.parseInt(array[0]);
int W = Integer.parseInt(array[1]);
while(H!=0&&W!=0){
for(int i=0;i<H;i++){
for(int j=0;j<W;j++){
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
array = br.readLine().split(" ");
H = Integer.parseInt(array[0]);
W = Integer.parseInt(array[1]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
20,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
4,
18,
13,
17,
0,
18,
13,
13,
4,
18,
13,
18,
13,
17,
0,
18,
13,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
30,
0,
13,
17,
41,
13,
17,
42,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
40,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
158,
11
],
[
158,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
19
],
[
19,
20
],
[
19,
21
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
14,
30
],
[
30,
31
],
[
14,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
47,
52
],
[
44,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
60,
62
],
[
44,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
70,
72
],
[
44,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
74,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
73,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
14,
89
],
[
89,
90
],
[
89,
91
],
[
14,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
93,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
92,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
105,
115
],
[
115,
116
],
[
116,
117
],
[
105,
118
],
[
119,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
120,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
127,
129
],
[
120,
130
],
[
130,
131
],
[
131,
132
],
[
120,
133
],
[
134,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
135,
140
],
[
119,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
141,
146
],
[
104,
147
],
[
147,
148
],
[
104,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
149,
154
],
[
12,
155
],
[
155,
156
],
[
0,
157
],
[
157,
158
],
[
157,
159
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tint[] H = new int[1000];\n\t\tint[] W = new int[1000];\n\t\tString[] Buffer = new String[10];\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\n\t\tfor(int n = 0; n<1000; n++){\n\t\t\tBuffer = br.readLine().split(\" \");\n\t\t\tH[n] = Integer.parseInt(Buffer[0]);\n\t\t\tW[n] = Integer.parseInt(Buffer[1]);\n\t\t\t//System.out.println(\"your input is: \"+n+\" \"+H[n]+\" \"+W[n]);\n\t\t\tif(H[n]==0 && W[n]==0){\n\t\t\t\tn = 1000;\n\t\t\t}\n\t\t}\n\t\t\n \t\tint k = 0;\n \t\twhile(H[k]!=0 && W[k]!=0){\n \t\t\tfor(int n = 0; n< H[k]; n++){\n \t\t\t\tfor(int m = 0; m< W[k]; m++){\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}\n \t\t\tk++;\n \t\t\tSystem.out.print(\"\\n\");\n \t\t}\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tint[] H = new int[1000];\n\t\tint[] W = new int[1000];\n\t\tString[] Buffer = new String[10];\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\n\t\tfor(int n = 0; n<1000; n++){\n\t\t\tBuffer = br.readLine().split(\" \");\n\t\t\tH[n] = Integer.parseInt(Buffer[0]);\n\t\t\tW[n] = Integer.parseInt(Buffer[1]);\n\t\t\t//System.out.println(\"your input is: \"+n+\" \"+H[n]+\" \"+W[n]);\n\t\t\tif(H[n]==0 && W[n]==0){\n\t\t\t\tn = 1000;\n\t\t\t}\n\t\t}\n\t\t\n \t\tint k = 0;\n \t\twhile(H[k]!=0 && W[k]!=0){\n \t\t\tfor(int n = 0; n< H[k]; n++){\n \t\t\t\tfor(int m = 0; m< W[k]; m++){\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}\n \t\t\tk++;\n \t\t\tSystem.out.print(\"\\n\");\n \t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\n\t\tint[] H = new int[1000];\n\t\tint[] W = new int[1000];\n\t\tString[] Buffer = new String[10];\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\n\t\tfor(int n = 0; n<1000; n++){\n\t\t\tBuffer = br.readLine().split(\" \");\n\t\t\tH[n] = Integer.parseInt(Buffer[0]);\n\t\t\tW[n] = Integer.parseInt(Buffer[1]);\n\t\t\t//System.out.println(\"your input is: \"+n+\" \"+H[n]+\" \"+W[n]);\n\t\t\tif(H[n]==0 && W[n]==0){\n\t\t\t\tn = 1000;\n\t\t\t}\n\t\t}\n\t\t\n \t\tint k = 0;\n \t\twhile(H[k]!=0 && W[k]!=0){\n \t\t\tfor(int n = 0; n< H[k]; n++){\n \t\t\t\tfor(int m = 0; m< W[k]; m++){\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}\n \t\t\tk++;\n \t\t\tSystem.out.print(\"\\n\");\n \t\t}\n\n\t}",
"main",
"{\n\n\t\tint[] H = new int[1000];\n\t\tint[] W = new int[1000];\n\t\tString[] Buffer = new String[10];\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\n\t\tfor(int n = 0; n<1000; n++){\n\t\t\tBuffer = br.readLine().split(\" \");\n\t\t\tH[n] = Integer.parseInt(Buffer[0]);\n\t\t\tW[n] = Integer.parseInt(Buffer[1]);\n\t\t\t//System.out.println(\"your input is: \"+n+\" \"+H[n]+\" \"+W[n]);\n\t\t\tif(H[n]==0 && W[n]==0){\n\t\t\t\tn = 1000;\n\t\t\t}\n\t\t}\n\t\t\n \t\tint k = 0;\n \t\twhile(H[k]!=0 && W[k]!=0){\n \t\t\tfor(int n = 0; n< H[k]; n++){\n \t\t\t\tfor(int m = 0; m< W[k]; m++){\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}\n \t\t\tk++;\n \t\t\tSystem.out.print(\"\\n\");\n \t\t}\n\n\t}",
"int[] H = new int[1000];",
"H",
"new int[1000]",
"1000",
"int[] W = new int[1000];",
"W",
"new int[1000]",
"1000",
"String[] Buffer = new String[10];",
"Buffer",
"new String[10]",
"10",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"for(int n = 0; n<1000; n++){\n\t\t\tBuffer = br.readLine().split(\" \");\n\t\t\tH[n] = Integer.parseInt(Buffer[0]);\n\t\t\tW[n] = Integer.parseInt(Buffer[1]);\n\t\t\t//System.out.println(\"your input is: \"+n+\" \"+H[n]+\" \"+W[n]);\n\t\t\tif(H[n]==0 && W[n]==0){\n\t\t\t\tn = 1000;\n\t\t\t}\n\t\t}",
"int n = 0;",
"int n = 0;",
"n",
"0",
"n<1000",
"n",
"1000",
"n++",
"n++",
"n",
"{\n\t\t\tBuffer = br.readLine().split(\" \");\n\t\t\tH[n] = Integer.parseInt(Buffer[0]);\n\t\t\tW[n] = Integer.parseInt(Buffer[1]);\n\t\t\t//System.out.println(\"your input is: \"+n+\" \"+H[n]+\" \"+W[n]);\n\t\t\tif(H[n]==0 && W[n]==0){\n\t\t\t\tn = 1000;\n\t\t\t}\n\t\t}",
"{\n\t\t\tBuffer = br.readLine().split(\" \");\n\t\t\tH[n] = Integer.parseInt(Buffer[0]);\n\t\t\tW[n] = Integer.parseInt(Buffer[1]);\n\t\t\t//System.out.println(\"your input is: \"+n+\" \"+H[n]+\" \"+W[n]);\n\t\t\tif(H[n]==0 && W[n]==0){\n\t\t\t\tn = 1000;\n\t\t\t}\n\t\t}",
"Buffer = br.readLine().split(\" \")",
"Buffer",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"H[n] = Integer.parseInt(Buffer[0])",
"H[n]",
"H",
"n",
"Integer.parseInt(Buffer[0])",
"Integer.parseInt",
"Integer",
"Buffer[0]",
"Buffer",
"0",
"W[n] = Integer.parseInt(Buffer[1])",
"W[n]",
"W",
"n",
"Integer.parseInt(Buffer[1])",
"Integer.parseInt",
"Integer",
"Buffer[1]",
"Buffer",
"1",
"if(H[n]==0 && W[n]==0){\n\t\t\t\tn = 1000;\n\t\t\t}",
"H[n]==0 && W[n]==0",
"H[n]==0",
"H[n]",
"H",
"n",
"0",
"W[n]==0",
"W[n]",
"W",
"n",
"0",
"{\n\t\t\t\tn = 1000;\n\t\t\t}",
"n = 1000",
"n",
"1000",
"int k = 0;",
"k",
"0",
"while(H[k]!=0 && W[k]!=0){\n \t\t\tfor(int n = 0; n< H[k]; n++){\n \t\t\t\tfor(int m = 0; m< W[k]; m++){\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}\n \t\t\tk++;\n \t\t\tSystem.out.print(\"\\n\");\n \t\t}",
"H[k]!=0 && W[k]!=0",
"H[k]!=0",
"H[k]",
"H",
"k",
"0",
"W[k]!=0",
"W[k]",
"W",
"k",
"0",
"{\n \t\t\tfor(int n = 0; n< H[k]; n++){\n \t\t\t\tfor(int m = 0; m< W[k]; m++){\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}\n \t\t\tk++;\n \t\t\tSystem.out.print(\"\\n\");\n \t\t}",
"for(int n = 0; n< H[k]; n++){\n \t\t\t\tfor(int m = 0; m< W[k]; m++){\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}",
"int n = 0;",
"int n = 0;",
"n",
"0",
"n< H[k]",
"n",
"H[k]",
"H",
"k",
"n++",
"n++",
"n",
"{\n \t\t\t\tfor(int m = 0; m< W[k]; m++){\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}",
"{\n \t\t\t\tfor(int m = 0; m< W[k]; m++){\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}",
"for(int m = 0; m< W[k]; m++){\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}",
"int m = 0;",
"int m = 0;",
"m",
"0",
"m< W[k]",
"m",
"W[k]",
"W",
"k",
"m++",
"m++",
"m",
"{\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}",
"{\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"k++",
"k",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tint[] H = new int[1000];\n\t\tint[] W = new int[1000];\n\t\tString[] Buffer = new String[10];\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\n\t\tfor(int n = 0; n<1000; n++){\n\t\t\tBuffer = br.readLine().split(\" \");\n\t\t\tH[n] = Integer.parseInt(Buffer[0]);\n\t\t\tW[n] = Integer.parseInt(Buffer[1]);\n\t\t\t//System.out.println(\"your input is: \"+n+\" \"+H[n]+\" \"+W[n]);\n\t\t\tif(H[n]==0 && W[n]==0){\n\t\t\t\tn = 1000;\n\t\t\t}\n\t\t}\n\t\t\n \t\tint k = 0;\n \t\twhile(H[k]!=0 && W[k]!=0){\n \t\t\tfor(int n = 0; n< H[k]; n++){\n \t\t\t\tfor(int m = 0; m< W[k]; m++){\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}\n \t\t\tk++;\n \t\t\tSystem.out.print(\"\\n\");\n \t\t}\n\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tint[] H = new int[1000];\n\t\tint[] W = new int[1000];\n\t\tString[] Buffer = new String[10];\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\n\t\tfor(int n = 0; n<1000; n++){\n\t\t\tBuffer = br.readLine().split(\" \");\n\t\t\tH[n] = Integer.parseInt(Buffer[0]);\n\t\t\tW[n] = Integer.parseInt(Buffer[1]);\n\t\t\t//System.out.println(\"your input is: \"+n+\" \"+H[n]+\" \"+W[n]);\n\t\t\tif(H[n]==0 && W[n]==0){\n\t\t\t\tn = 1000;\n\t\t\t}\n\t\t}\n\t\t\n \t\tint k = 0;\n \t\twhile(H[k]!=0 && W[k]!=0){\n \t\t\tfor(int n = 0; n< H[k]; n++){\n \t\t\t\tfor(int m = 0; m< W[k]; m++){\n \t\t\t\t\tSystem.out.print(\"#\");\n \t\t\t\t}\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}\n \t\t\tk++;\n \t\t\tSystem.out.print(\"\\n\");\n \t\t}\n\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
public class Main{
public static void main(String[] args) throws IOException{
int[] H = new int[1000];
int[] W = new int[1000];
String[] Buffer = new String[10];
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
for(int n = 0; n<1000; n++){
Buffer = br.readLine().split(" ");
H[n] = Integer.parseInt(Buffer[0]);
W[n] = Integer.parseInt(Buffer[1]);
//System.out.println("your input is: "+n+" "+H[n]+" "+W[n]);
if(H[n]==0 && W[n]==0){
n = 1000;
}
}
int k = 0;
while(H[k]!=0 && W[k]!=0){
for(int n = 0; n< H[k]; n++){
for(int m = 0; m< W[k]; m++){
System.out.print("#");
}
System.out.print("\n");
}
k++;
System.out.print("\n");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
16,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
37,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
53,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
49,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
16,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tString str = \"\";\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tstr += \"#\";\n\t\t\t\t}\n\t\t\t\tSystem.out.println(str);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tString str = \"\";\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tstr += \"#\";\n\t\t\t\t}\n\t\t\t\tSystem.out.println(str);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tString str = \"\";\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tstr += \"#\";\n\t\t\t\t}\n\t\t\t\tSystem.out.println(str);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tString str = \"\";\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tstr += \"#\";\n\t\t\t\t}\n\t\t\t\tSystem.out.println(str);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(scan.hasNext()){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tString str = \"\";\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tstr += \"#\";\n\t\t\t\t}\n\t\t\t\tSystem.out.println(str);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tString str = \"\";\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tstr += \"#\";\n\t\t\t\t}\n\t\t\t\tSystem.out.println(str);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"int H = scan.nextInt();",
"H",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int W = scan.nextInt();",
"W",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for(int i = 0; i < H; i++){\n\t\t\t\tString str = \"\";\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tstr += \"#\";\n\t\t\t\t}\n\t\t\t\tSystem.out.println(str);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\tString str = \"\";\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tstr += \"#\";\n\t\t\t\t}\n\t\t\t\tSystem.out.println(str);\n\t\t\t}",
"{\n\t\t\t\tString str = \"\";\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tstr += \"#\";\n\t\t\t\t}\n\t\t\t\tSystem.out.println(str);\n\t\t\t}",
"String str = \"\";",
"str",
"\"\"",
"for(int j = 0; j < W; j++){\n\t\t\t\t\tstr += \"#\";\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tstr += \"#\";\n\t\t\t\t}",
"{\n\t\t\t\t\tstr += \"#\";\n\t\t\t\t}",
"str += \"#\"",
"str",
"\"#\"",
"System.out.println(str)",
"System.out.println",
"System.out",
"System",
"System.out",
"str",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tString str = \"\";\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tstr += \"#\";\n\t\t\t\t}\n\t\t\t\tSystem.out.println(str);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < H; i++){\n\t\t\t\tString str = \"\";\n\t\t\t\tfor(int j = 0; j < W; j++){\n\t\t\t\t\tstr += \"#\";\n\t\t\t\t}\n\t\t\t\tSystem.out.println(str);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
while(scan.hasNext()){
int H = scan.nextInt();
int W = scan.nextInt();
if(H == 0 && W == 0){
break;
}
for(int i = 0; i < H; i++){
String str = "";
for(int j = 0; j < W; j++){
str += "#";
}
System.out.println(str);
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
97,
5
],
[
97,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
44,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
43,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
30,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
30,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
30,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
97,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
92,
93
],
[
85,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tvoid rect(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint h = s.nextInt();\n\t\tint w = s.nextInt();\n\t\twhile(h!=0||w!=0){\n\t\t\tfor(int i = 0;i<h;i++){\n\t\t\t\tfor(int j = 0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\th = s.nextInt();\n\t\t\tw = s.nextInt();\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.rect();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tvoid rect(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint h = s.nextInt();\n\t\tint w = s.nextInt();\n\t\twhile(h!=0||w!=0){\n\t\t\tfor(int i = 0;i<h;i++){\n\t\t\t\tfor(int j = 0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\th = s.nextInt();\n\t\t\tw = s.nextInt();\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.rect();\n\t}\n}",
"Main",
"void rect(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint h = s.nextInt();\n\t\tint w = s.nextInt();\n\t\twhile(h!=0||w!=0){\n\t\t\tfor(int i = 0;i<h;i++){\n\t\t\t\tfor(int j = 0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\th = s.nextInt();\n\t\t\tw = s.nextInt();\n\t\t}\n\t}",
"rect",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tint h = s.nextInt();\n\t\tint w = s.nextInt();\n\t\twhile(h!=0||w!=0){\n\t\t\tfor(int i = 0;i<h;i++){\n\t\t\t\tfor(int j = 0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\th = s.nextInt();\n\t\t\tw = s.nextInt();\n\t\t}\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int h = s.nextInt();",
"h",
"s.nextInt()",
"s.nextInt",
"s",
"int w = s.nextInt();",
"w",
"s.nextInt()",
"s.nextInt",
"s",
"while(h!=0||w!=0){\n\t\t\tfor(int i = 0;i<h;i++){\n\t\t\t\tfor(int j = 0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\th = s.nextInt();\n\t\t\tw = s.nextInt();\n\t\t}",
"h!=0||w!=0",
"h!=0",
"h",
"0",
"w!=0",
"w",
"0",
"{\n\t\t\tfor(int i = 0;i<h;i++){\n\t\t\t\tfor(int j = 0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\th = s.nextInt();\n\t\t\tw = s.nextInt();\n\t\t}",
"for(int i = 0;i<h;i++){\n\t\t\t\tfor(int j = 0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j = 0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"{\n\t\t\t\tfor(int j = 0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"for(int j = 0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j<w",
"j",
"w",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"h = s.nextInt()",
"h",
"s.nextInt()",
"s.nextInt",
"s",
"w = s.nextInt()",
"w",
"s.nextInt()",
"s.nextInt",
"s",
"public static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.rect();\n\t}",
"main",
"{\n\t\tMain m = new Main();\n\t\tm.rect();\n\t}",
"Main m = new Main();",
"m",
"new Main()",
"m.rect()",
"m.rect",
"m",
"String args[]",
"args",
"public class Main {\n\tvoid rect(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint h = s.nextInt();\n\t\tint w = s.nextInt();\n\t\twhile(h!=0||w!=0){\n\t\t\tfor(int i = 0;i<h;i++){\n\t\t\t\tfor(int j = 0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\th = s.nextInt();\n\t\t\tw = s.nextInt();\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.rect();\n\t}\n}",
"public class Main {\n\tvoid rect(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint h = s.nextInt();\n\t\tint w = s.nextInt();\n\t\twhile(h!=0||w!=0){\n\t\t\tfor(int i = 0;i<h;i++){\n\t\t\t\tfor(int j = 0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\th = s.nextInt();\n\t\t\tw = s.nextInt();\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.rect();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
void rect(){
Scanner s = new Scanner(System.in);
int h = s.nextInt();
int w = s.nextInt();
while(h!=0||w!=0){
for(int i = 0;i<h;i++){
for(int j = 0;j<w;j++){
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
h = s.nextInt();
w = s.nextInt();
}
}
public static void main(String args[]){
Main m = new Main();
m.rect();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
17,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
101,
5
],
[
101,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
23,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
20,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
45,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
65,
66
],
[
56,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
69,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
68,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
20,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
6,
98
],
[
98,
99
],
[
0,
100
],
[
100,
101
],
[
100,
102
]
] | [
"import java.io.*;\n\npublic class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String crlf = System.getProperty(\"line.separator\");\n \n \n \n while(true){\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n \n if(h==0 && w==0){\n break;\n }else{\n for(int i=0;i<h;i++){\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n \n }\n System.out.println();\n }\n \n \n \n \n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String crlf = System.getProperty(\"line.separator\");\n \n \n \n while(true){\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n \n if(h==0 && w==0){\n break;\n }else{\n for(int i=0;i<h;i++){\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n \n }\n System.out.println();\n }\n \n \n \n \n }\n}",
"Main",
"public static void main(String[]args) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String crlf = System.getProperty(\"line.separator\");\n \n \n \n while(true){\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n \n if(h==0 && w==0){\n break;\n }else{\n for(int i=0;i<h;i++){\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n \n }\n System.out.println();\n }\n \n \n \n \n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String crlf = System.getProperty(\"line.separator\");\n \n \n \n while(true){\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n \n if(h==0 && w==0){\n break;\n }else{\n for(int i=0;i<h;i++){\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n \n }\n System.out.println();\n }\n \n \n \n \n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String crlf = System.getProperty(\"line.separator\");",
"crlf",
"System.getProperty(\"line.separator\")",
"System.getProperty",
"System",
"\"line.separator\"",
"while(true){\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n \n if(h==0 && w==0){\n break;\n }else{\n for(int i=0;i<h;i++){\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n \n }\n System.out.println();\n }",
"true",
"{\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n \n if(h==0 && w==0){\n break;\n }else{\n for(int i=0;i<h;i++){\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n \n }\n System.out.println();\n }",
"String[] str = br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int h = Integer.parseInt(str[0]);",
"h",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"int w = Integer.parseInt(str[1]);",
"w",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"if(h==0 && w==0){\n break;\n }else{\n for(int i=0;i<h;i++){\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n \n }",
"h==0 && w==0",
"h==0",
"h",
"0",
"w==0",
"w",
"0",
"{\n break;\n }",
"break;",
"{\n for(int i=0;i<h;i++){\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n \n }",
"for(int i=0;i<h;i++){\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<h",
"i",
"h",
"i++",
"i++",
"i",
"{\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"{\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<w",
"j",
"w",
"j++",
"j++",
"j",
"{\n System.out.print(\"#\");\n }",
"{\n System.out.print(\"#\");\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[]args",
"args",
"public class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String crlf = System.getProperty(\"line.separator\");\n \n \n \n while(true){\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n \n if(h==0 && w==0){\n break;\n }else{\n for(int i=0;i<h;i++){\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n \n }\n System.out.println();\n }\n \n \n \n \n }\n}",
"public class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String crlf = System.getProperty(\"line.separator\");\n \n \n \n while(true){\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n \n if(h==0 && w==0){\n break;\n }else{\n for(int i=0;i<h;i++){\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n \n }\n System.out.println();\n }\n \n \n \n \n }\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[]args) throws NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String crlf = System.getProperty("line.separator");
while(true){
String[] str = br.readLine().split(" ");
int h = Integer.parseInt(str[0]);
int w = Integer.parseInt(str[1]);
if(h==0 && w==0){
break;
}else{
for(int i=0;i<h;i++){
for(int j=0;j<w;j++){
System.out.print("#");
}
System.out.println();
}
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
20,
11,
1,
30,
30,
0,
13,
4,
18,
4,
18,
13,
17,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
14,
2,
2,
18,
13,
17,
18,
13,
17,
17,
3,
11,
1,
0,
13,
17,
2,
13,
18,
13,
17,
1,
40,
13,
30,
30,
11,
1,
0,
13,
17,
2,
13,
18,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
11,
14
],
[
14,
15
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
11,
27
],
[
27,
28
],
[
27,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
33,
38
],
[
30,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
30,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
62,
72
],
[
30,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
73,
83
],
[
83,
84
],
[
84,
85
],
[
73,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
95,
97
],
[
88,
98
],
[
98,
99
],
[
99,
100
],
[
88,
101
],
[
102,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
87,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
30,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
9,
119
],
[
119,
120
]
] | [
"import java.io.*;\nimport java.util.Arrays;\nclass Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tint i,j;\n\t\tint[] n = new int[990];\n\t\tString[] str = new String[990];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(;;){\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tfor(i=0;i<2;i++){\n\t\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t\t}\n\t\t\tif(n[0]+n[1]==0) break;\n\t\t\tfor(i=0;i<n[0];i++){\n\t\t\t\tfor(j=0;j<n[1];j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tint i,j;\n\t\tint[] n = new int[990];\n\t\tString[] str = new String[990];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(;;){\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tfor(i=0;i<2;i++){\n\t\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t\t}\n\t\t\tif(n[0]+n[1]==0) break;\n\t\t\tfor(i=0;i<n[0];i++){\n\t\t\t\tfor(j=0;j<n[1];j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tint i,j;\n\t\tint[] n = new int[990];\n\t\tString[] str = new String[990];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(;;){\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tfor(i=0;i<2;i++){\n\t\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t\t}\n\t\t\tif(n[0]+n[1]==0) break;\n\t\t\tfor(i=0;i<n[0];i++){\n\t\t\t\tfor(j=0;j<n[1];j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"main",
"{\n\t\tint i,j;\n\t\tint[] n = new int[990];\n\t\tString[] str = new String[990];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(;;){\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tfor(i=0;i<2;i++){\n\t\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t\t}\n\t\t\tif(n[0]+n[1]==0) break;\n\t\t\tfor(i=0;i<n[0];i++){\n\t\t\t\tfor(j=0;j<n[1];j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"int i",
"i",
"j;",
"j",
"int[] n = new int[990];",
"n",
"new int[990]",
"990",
"String[] str = new String[990];",
"str",
"new String[990]",
"990",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"for(;;){\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tfor(i=0;i<2;i++){\n\t\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t\t}\n\t\t\tif(n[0]+n[1]==0) break;\n\t\t\tfor(i=0;i<n[0];i++){\n\t\t\t\tfor(j=0;j<n[1];j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
";",
"{\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tfor(i=0;i<2;i++){\n\t\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t\t}\n\t\t\tif(n[0]+n[1]==0) break;\n\t\t\tfor(i=0;i<n[0];i++){\n\t\t\t\tfor(j=0;j<n[1];j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"{\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tfor(i=0;i<2;i++){\n\t\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t\t}\n\t\t\tif(n[0]+n[1]==0) break;\n\t\t\tfor(i=0;i<n[0];i++){\n\t\t\t\tfor(j=0;j<n[1];j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"str = in.readLine().split(\" \")",
"str",
"in.readLine().split(\" \")",
"in.readLine().split",
"in.readLine()",
"in.readLine",
"in",
"\" \"",
"for(i=0;i<2;i++){\n\t\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t\t}",
"i=0;",
"i=0",
"i",
"0",
"i<2",
"i",
"2",
"i++",
"i++",
"i",
"{\n\t\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t\t}",
"{\n\t\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t\t}",
"n[i] = Integer.parseInt(str[i])",
"n[i]",
"n",
"i",
"Integer.parseInt(str[i])",
"Integer.parseInt",
"Integer",
"str[i]",
"str",
"i",
"if(n[0]+n[1]==0) break;",
"n[0]+n[1]==0",
"n[0]+n[1]",
"n[0]",
"n",
"0",
"n[1]",
"n",
"1",
"0",
"break;",
"for(i=0;i<n[0];i++){\n\t\t\t\tfor(j=0;j<n[1];j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"i=0;",
"i=0",
"i",
"0",
"i<n[0]",
"i",
"n[0]",
"n",
"0",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(j=0;j<n[1];j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"{\n\t\t\t\tfor(j=0;j<n[1];j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"for(j=0;j<n[1];j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"j=0;",
"j=0",
"j",
"0",
"j<n[1]",
"j",
"n[1]",
"n",
"1",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args"
] | import java.io.*;
import java.util.Arrays;
class Main{
public static void main(String[] args) throws IOException {
int i,j;
int[] n = new int[990];
String[] str = new String[990];
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
for(;;){
str = in.readLine().split(" ");
for(i=0;i<2;i++){
n[i] = Integer.parseInt(str[i]);
}
if(n[0]+n[1]==0) break;
for(i=0;i<n[0];i++){
for(j=0;j<n[1];j++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
17,
41,
13,
41,
13,
42,
17,
30,
0,
13,
4,
18,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
113,
11
],
[
113,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
25
],
[
25,
26
],
[
14,
27
],
[
27,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
34,
39
],
[
31,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
31,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
31,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
31,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
74,
75
],
[
75,
76
],
[
66,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
84,
86
],
[
79,
87
],
[
87,
88
],
[
88,
89
],
[
79,
90
],
[
91,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
78,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
31,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
14,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
12,
110
],
[
110,
111
],
[
0,
112
],
[
112,
113
],
[
112,
114
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tString[] strArray = new String[2];\n\t\tint a, b;\n\n\t\twhile(true) {\n\t strArray = br.readLine().split(\" \");\n\t a = Integer.parseInt(strArray[0]);\n\t b = Integer.parseInt(strArray[1]);\n\n\t if(a == 0 && b == 0) {\n\t \tbreak;\n\t }\n\n\t for(int i=0; i<a; i++) {\n\t \tfor(int j=0; j<b; j++) {\n\t \t\tsb.append(\"#\");\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }\n\t sb.append(\"\\n\");\n\t\t}\n\n System.out.print(sb);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tString[] strArray = new String[2];\n\t\tint a, b;\n\n\t\twhile(true) {\n\t strArray = br.readLine().split(\" \");\n\t a = Integer.parseInt(strArray[0]);\n\t b = Integer.parseInt(strArray[1]);\n\n\t if(a == 0 && b == 0) {\n\t \tbreak;\n\t }\n\n\t for(int i=0; i<a; i++) {\n\t \tfor(int j=0; j<b; j++) {\n\t \t\tsb.append(\"#\");\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }\n\t sb.append(\"\\n\");\n\t\t}\n\n System.out.print(sb);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tString[] strArray = new String[2];\n\t\tint a, b;\n\n\t\twhile(true) {\n\t strArray = br.readLine().split(\" \");\n\t a = Integer.parseInt(strArray[0]);\n\t b = Integer.parseInt(strArray[1]);\n\n\t if(a == 0 && b == 0) {\n\t \tbreak;\n\t }\n\n\t for(int i=0; i<a; i++) {\n\t \tfor(int j=0; j<b; j++) {\n\t \t\tsb.append(\"#\");\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }\n\t sb.append(\"\\n\");\n\t\t}\n\n System.out.print(sb);\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tString[] strArray = new String[2];\n\t\tint a, b;\n\n\t\twhile(true) {\n\t strArray = br.readLine().split(\" \");\n\t a = Integer.parseInt(strArray[0]);\n\t b = Integer.parseInt(strArray[1]);\n\n\t if(a == 0 && b == 0) {\n\t \tbreak;\n\t }\n\n\t for(int i=0; i<a; i++) {\n\t \tfor(int j=0; j<b; j++) {\n\t \t\tsb.append(\"#\");\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }\n\t sb.append(\"\\n\");\n\t\t}\n\n System.out.print(sb);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"String[] strArray = new String[2];",
"strArray",
"new String[2]",
"2",
"int a",
"a",
"b;",
"b",
"while(true) {\n\t strArray = br.readLine().split(\" \");\n\t a = Integer.parseInt(strArray[0]);\n\t b = Integer.parseInt(strArray[1]);\n\n\t if(a == 0 && b == 0) {\n\t \tbreak;\n\t }\n\n\t for(int i=0; i<a; i++) {\n\t \tfor(int j=0; j<b; j++) {\n\t \t\tsb.append(\"#\");\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }\n\t sb.append(\"\\n\");\n\t\t}",
"true",
"{\n\t strArray = br.readLine().split(\" \");\n\t a = Integer.parseInt(strArray[0]);\n\t b = Integer.parseInt(strArray[1]);\n\n\t if(a == 0 && b == 0) {\n\t \tbreak;\n\t }\n\n\t for(int i=0; i<a; i++) {\n\t \tfor(int j=0; j<b; j++) {\n\t \t\tsb.append(\"#\");\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }\n\t sb.append(\"\\n\");\n\t\t}",
"strArray = br.readLine().split(\" \")",
"strArray",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"a = Integer.parseInt(strArray[0])",
"a",
"Integer.parseInt(strArray[0])",
"Integer.parseInt",
"Integer",
"strArray[0]",
"strArray",
"0",
"b = Integer.parseInt(strArray[1])",
"b",
"Integer.parseInt(strArray[1])",
"Integer.parseInt",
"Integer",
"strArray[1]",
"strArray",
"1",
"if(a == 0 && b == 0) {\n\t \tbreak;\n\t }",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n\t \tbreak;\n\t }",
"break;",
"for(int i=0; i<a; i++) {\n\t \tfor(int j=0; j<b; j++) {\n\t \t\tsb.append(\"#\");\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a",
"i",
"a",
"i++",
"i++",
"i",
"{\n\t \tfor(int j=0; j<b; j++) {\n\t \t\tsb.append(\"#\");\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }",
"{\n\t \tfor(int j=0; j<b; j++) {\n\t \t\tsb.append(\"#\");\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }",
"for(int j=0; j<b; j++) {\n\t \t\tsb.append(\"#\");\n\t \t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<b",
"j",
"b",
"j++",
"j++",
"j",
"{\n\t \t\tsb.append(\"#\");\n\t \t}",
"{\n\t \t\tsb.append(\"#\");\n\t \t}",
"sb.append(\"#\")",
"sb.append",
"sb",
"\"#\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tString[] strArray = new String[2];\n\t\tint a, b;\n\n\t\twhile(true) {\n\t strArray = br.readLine().split(\" \");\n\t a = Integer.parseInt(strArray[0]);\n\t b = Integer.parseInt(strArray[1]);\n\n\t if(a == 0 && b == 0) {\n\t \tbreak;\n\t }\n\n\t for(int i=0; i<a; i++) {\n\t \tfor(int j=0; j<b; j++) {\n\t \t\tsb.append(\"#\");\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }\n\t sb.append(\"\\n\");\n\t\t}\n\n System.out.print(sb);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tString[] strArray = new String[2];\n\t\tint a, b;\n\n\t\twhile(true) {\n\t strArray = br.readLine().split(\" \");\n\t a = Integer.parseInt(strArray[0]);\n\t b = Integer.parseInt(strArray[1]);\n\n\t if(a == 0 && b == 0) {\n\t \tbreak;\n\t }\n\n\t for(int i=0; i<a; i++) {\n\t \tfor(int j=0; j<b; j++) {\n\t \t\tsb.append(\"#\");\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }\n\t sb.append(\"\\n\");\n\t\t}\n\n System.out.print(sb);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
String[] strArray = new String[2];
int a, b;
while(true) {
strArray = br.readLine().split(" ");
a = Integer.parseInt(strArray[0]);
b = Integer.parseInt(strArray[1]);
if(a == 0 && b == 0) {
break;
}
for(int i=0; i<a; i++) {
for(int j=0; j<b; j++) {
sb.append("#");
}
sb.append("\n");
}
sb.append("\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
17,
41,
13,
20,
42,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
21,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
55,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
54,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
21,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
6,
86
],
[
86,
87
]
] | [
"import java.util.Scanner;\n\nclass Main\n{\n public static void main(String[] args)\n {\n\t int l,w;\n\t boolean t=true;\n\t Scanner in=new Scanner(System.in);\n\t \n\t while(t)\n { l=in.nextInt();\n\t w=in.nextInt();\n\t\t\n\t\tif(l==0 && w==0)\n\t\t{ \n\t \n\t\t\tbreak;\n\t\t}\n\t\t\n for(int i=0;i<l;i++)\n {\n\t\t for(int j=0;j<w;j++)\n\t\t {\n\t\t\t System.out.print(\"#\");\n\t\t }\n\t\t System.out.println(\"\");\n\t }\n\t\tSystem.out.println(\"\");\n\t\t\n\t }\t\t\n\t \n\n \n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main\n{\n public static void main(String[] args)\n {\n\t int l,w;\n\t boolean t=true;\n\t Scanner in=new Scanner(System.in);\n\t \n\t while(t)\n { l=in.nextInt();\n\t w=in.nextInt();\n\t\t\n\t\tif(l==0 && w==0)\n\t\t{ \n\t \n\t\t\tbreak;\n\t\t}\n\t\t\n for(int i=0;i<l;i++)\n {\n\t\t for(int j=0;j<w;j++)\n\t\t {\n\t\t\t System.out.print(\"#\");\n\t\t }\n\t\t System.out.println(\"\");\n\t }\n\t\tSystem.out.println(\"\");\n\t\t\n\t }\t\t\n\t \n\n \n }\n\n}",
"Main",
"public static void main(String[] args)\n {\n\t int l,w;\n\t boolean t=true;\n\t Scanner in=new Scanner(System.in);\n\t \n\t while(t)\n { l=in.nextInt();\n\t w=in.nextInt();\n\t\t\n\t\tif(l==0 && w==0)\n\t\t{ \n\t \n\t\t\tbreak;\n\t\t}\n\t\t\n for(int i=0;i<l;i++)\n {\n\t\t for(int j=0;j<w;j++)\n\t\t {\n\t\t\t System.out.print(\"#\");\n\t\t }\n\t\t System.out.println(\"\");\n\t }\n\t\tSystem.out.println(\"\");\n\t\t\n\t }\t\t\n\t \n\n \n }",
"main",
"{\n\t int l,w;\n\t boolean t=true;\n\t Scanner in=new Scanner(System.in);\n\t \n\t while(t)\n { l=in.nextInt();\n\t w=in.nextInt();\n\t\t\n\t\tif(l==0 && w==0)\n\t\t{ \n\t \n\t\t\tbreak;\n\t\t}\n\t\t\n for(int i=0;i<l;i++)\n {\n\t\t for(int j=0;j<w;j++)\n\t\t {\n\t\t\t System.out.print(\"#\");\n\t\t }\n\t\t System.out.println(\"\");\n\t }\n\t\tSystem.out.println(\"\");\n\t\t\n\t }\t\t\n\t \n\n \n }",
"int l",
"l",
"w;",
"w",
"boolean t=true;",
"t",
"true",
"Scanner in=new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while(t)\n { l=in.nextInt();\n\t w=in.nextInt();\n\t\t\n\t\tif(l==0 && w==0)\n\t\t{ \n\t \n\t\t\tbreak;\n\t\t}\n\t\t\n for(int i=0;i<l;i++)\n {\n\t\t for(int j=0;j<w;j++)\n\t\t {\n\t\t\t System.out.print(\"#\");\n\t\t }\n\t\t System.out.println(\"\");\n\t }\n\t\tSystem.out.println(\"\");\n\t\t\n\t }",
"t",
"{ l=in.nextInt();\n\t w=in.nextInt();\n\t\t\n\t\tif(l==0 && w==0)\n\t\t{ \n\t \n\t\t\tbreak;\n\t\t}\n\t\t\n for(int i=0;i<l;i++)\n {\n\t\t for(int j=0;j<w;j++)\n\t\t {\n\t\t\t System.out.print(\"#\");\n\t\t }\n\t\t System.out.println(\"\");\n\t }\n\t\tSystem.out.println(\"\");\n\t\t\n\t }",
"l=in.nextInt()",
"l",
"in.nextInt()",
"in.nextInt",
"in",
"w=in.nextInt()",
"w",
"in.nextInt()",
"in.nextInt",
"in",
"if(l==0 && w==0)\n\t\t{ \n\t \n\t\t\tbreak;\n\t\t}",
"l==0 && w==0",
"l==0",
"l",
"0",
"w==0",
"w",
"0",
"{ \n\t \n\t\t\tbreak;\n\t\t}",
"break;",
"for(int i=0;i<l;i++)\n {\n\t\t for(int j=0;j<w;j++)\n\t\t {\n\t\t\t System.out.print(\"#\");\n\t\t }\n\t\t System.out.println(\"\");\n\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<l",
"i",
"l",
"i++",
"i++",
"i",
"{\n\t\t for(int j=0;j<w;j++)\n\t\t {\n\t\t\t System.out.print(\"#\");\n\t\t }\n\t\t System.out.println(\"\");\n\t }",
"{\n\t\t for(int j=0;j<w;j++)\n\t\t {\n\t\t\t System.out.print(\"#\");\n\t\t }\n\t\t System.out.println(\"\");\n\t }",
"for(int j=0;j<w;j++)\n\t\t {\n\t\t\t System.out.print(\"#\");\n\t\t }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<w",
"j",
"w",
"j++",
"j++",
"j",
"{\n\t\t\t System.out.print(\"#\");\n\t\t }",
"{\n\t\t\t System.out.print(\"#\");\n\t\t }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args"
] | import java.util.Scanner;
class Main
{
public static void main(String[] args)
{
int l,w;
boolean t=true;
Scanner in=new Scanner(System.in);
while(t)
{ l=in.nextInt();
w=in.nextInt();
if(l==0 && w==0)
{
break;
}
for(int i=0;i<l;i++)
{
for(int j=0;j<w;j++)
{
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
14,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
14,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
64,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
63,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
14,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
6,
93
],
[
93,
94
]
] | [
"import java.io.*;\n\nclass Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile (true) {\n\t\t\tString sz_input = br.readLine();\n\t\t\tString[] sz_num = sz_input.split(\" \");\n\t\t\t\n\t\t\tint H = Integer.parseInt(sz_num[0]);\n\t\t\tint W = Integer.parseInt(sz_num[1]);\n\t\t\t\n\t\t\tif (H == 0 && W == 0) break;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile (true) {\n\t\t\tString sz_input = br.readLine();\n\t\t\tString[] sz_num = sz_input.split(\" \");\n\t\t\t\n\t\t\tint H = Integer.parseInt(sz_num[0]);\n\t\t\tint W = Integer.parseInt(sz_num[1]);\n\t\t\t\n\t\t\tif (H == 0 && W == 0) break;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile (true) {\n\t\t\tString sz_input = br.readLine();\n\t\t\tString[] sz_num = sz_input.split(\" \");\n\t\t\t\n\t\t\tint H = Integer.parseInt(sz_num[0]);\n\t\t\tint W = Integer.parseInt(sz_num[1]);\n\t\t\t\n\t\t\tif (H == 0 && W == 0) break;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile (true) {\n\t\t\tString sz_input = br.readLine();\n\t\t\tString[] sz_num = sz_input.split(\" \");\n\t\t\t\n\t\t\tint H = Integer.parseInt(sz_num[0]);\n\t\t\tint W = Integer.parseInt(sz_num[1]);\n\t\t\t\n\t\t\tif (H == 0 && W == 0) break;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while (true) {\n\t\t\tString sz_input = br.readLine();\n\t\t\tString[] sz_num = sz_input.split(\" \");\n\t\t\t\n\t\t\tint H = Integer.parseInt(sz_num[0]);\n\t\t\tint W = Integer.parseInt(sz_num[1]);\n\t\t\t\n\t\t\tif (H == 0 && W == 0) break;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println();\n\t\t}",
"true",
"{\n\t\t\tString sz_input = br.readLine();\n\t\t\tString[] sz_num = sz_input.split(\" \");\n\t\t\t\n\t\t\tint H = Integer.parseInt(sz_num[0]);\n\t\t\tint W = Integer.parseInt(sz_num[1]);\n\t\t\t\n\t\t\tif (H == 0 && W == 0) break;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println();\n\t\t}",
"String sz_input = br.readLine();",
"sz_input",
"br.readLine()",
"br.readLine",
"br",
"String[] sz_num = sz_input.split(\" \");",
"sz_num",
"sz_input.split(\" \")",
"sz_input.split",
"sz_input",
"\" \"",
"int H = Integer.parseInt(sz_num[0]);",
"H",
"Integer.parseInt(sz_num[0])",
"Integer.parseInt",
"Integer",
"sz_num[0]",
"sz_num",
"0",
"int W = Integer.parseInt(sz_num[1]);",
"W",
"Integer.parseInt(sz_num[1])",
"Integer.parseInt",
"Integer",
"sz_num[1]",
"sz_num",
"1",
"if (H == 0 && W == 0) break;",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"break;",
"for (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"{\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"for (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String args[]",
"args"
] | import java.io.*;
class Main {
public static void main(String args[]) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while (true) {
String sz_input = br.readLine();
String[] sz_num = sz_input.split(" ");
int H = Integer.parseInt(sz_num[0]);
int W = Integer.parseInt(sz_num[1]);
if (H == 0 && W == 0) break;
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
82,
5
],
[
82,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
15,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
15,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
15,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
48,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
47,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
15,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] | [
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(;;){\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\n\t\t\tfor(int i = 0;i < H;i++){\n\t\t\t\tfor(int j = 0;j < W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(;;){\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\n\t\t\tfor(int i = 0;i < H;i++){\n\t\t\t\tfor(int j = 0;j < W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(;;){\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\n\t\t\tfor(int i = 0;i < H;i++){\n\t\t\t\tfor(int j = 0;j < W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(;;){\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\n\t\t\tfor(int i = 0;i < H;i++){\n\t\t\t\tfor(int j = 0;j < W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(;;){\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\n\t\t\tfor(int i = 0;i < H;i++){\n\t\t\t\tfor(int j = 0;j < W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}",
";",
"{\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\n\t\t\tfor(int i = 0;i < H;i++){\n\t\t\t\tfor(int j = 0;j < W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}",
"{\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\n\t\t\tfor(int i = 0;i < H;i++){\n\t\t\t\tfor(int j = 0;j < W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}",
"int H = sc.nextInt();",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int W = sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(H == 0 && W == 0)\n\t\t\t\tbreak;",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"break;",
"for(int i = 0;i < H;i++){\n\t\t\t\tfor(int j = 0;j < W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j = 0;j < W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}",
"{\n\t\t\t\tfor(int j = 0;j < W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}",
"for(int j = 0;j < W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(;;){\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\n\t\t\tfor(int i = 0;i < H;i++){\n\t\t\t\tfor(int j = 0;j < W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(;;){\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\n\t\t\tfor(int i = 0;i < H;i++){\n\t\t\t\tfor(int j = 0;j < W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
for(;;){
int H = sc.nextInt();
int W = sc.nextInt();
if(H == 0 && W == 0)
break;
for(int i = 0;i < H;i++){
for(int j = 0;j < W;j++){
System.out.print("#");
}
System.out.print("\n");
}
System.out.print("\n");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
80,
5
],
[
80,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
14,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
48,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
47,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
14,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"\n\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[]args){\n\t\t//????????£????????????????????°?????????????????£?¨?\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true){\n\t\t\t//???\n\t\t\tint H = sc.nextInt();\n\t\t\t//?¨?\n\t\t\tint W = sc.nextInt();\n\t\t\t//??\\?????????0????????????\n\t\t\tif(H ==0 && W ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//?¨?????????¶???\n\t\t\tfor(int i =1; i <=H; i++){\n\t\t\t\t//???????????¶???\n\t\t\t\tfor(int j =1; j<=W; j++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[]args){\n\t\t//????????£????????????????????°?????????????????£?¨?\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true){\n\t\t\t//???\n\t\t\tint H = sc.nextInt();\n\t\t\t//?¨?\n\t\t\tint W = sc.nextInt();\n\t\t\t//??\\?????????0????????????\n\t\t\tif(H ==0 && W ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//?¨?????????¶???\n\t\t\tfor(int i =1; i <=H; i++){\n\t\t\t\t//???????????¶???\n\t\t\t\tfor(int j =1; j<=W; j++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[]args){\n\t\t//????????£????????????????????°?????????????????£?¨?\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true){\n\t\t\t//???\n\t\t\tint H = sc.nextInt();\n\t\t\t//?¨?\n\t\t\tint W = sc.nextInt();\n\t\t\t//??\\?????????0????????????\n\t\t\tif(H ==0 && W ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//?¨?????????¶???\n\t\t\tfor(int i =1; i <=H; i++){\n\t\t\t\t//???????????¶???\n\t\t\t\tfor(int j =1; j<=W; j++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"main",
"{\n\t\t//????????£????????????????????°?????????????????£?¨?\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true){\n\t\t\t//???\n\t\t\tint H = sc.nextInt();\n\t\t\t//?¨?\n\t\t\tint W = sc.nextInt();\n\t\t\t//??\\?????????0????????????\n\t\t\tif(H ==0 && W ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//?¨?????????¶???\n\t\t\tfor(int i =1; i <=H; i++){\n\t\t\t\t//???????????¶???\n\t\t\t\tfor(int j =1; j<=W; j++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(true){\n\t\t\t//???\n\t\t\tint H = sc.nextInt();\n\t\t\t//?¨?\n\t\t\tint W = sc.nextInt();\n\t\t\t//??\\?????????0????????????\n\t\t\tif(H ==0 && W ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//?¨?????????¶???\n\t\t\tfor(int i =1; i <=H; i++){\n\t\t\t\t//???????????¶???\n\t\t\t\tfor(int j =1; j<=W; j++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"true",
"{\n\t\t\t//???\n\t\t\tint H = sc.nextInt();\n\t\t\t//?¨?\n\t\t\tint W = sc.nextInt();\n\t\t\t//??\\?????????0????????????\n\t\t\tif(H ==0 && W ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//?¨?????????¶???\n\t\t\tfor(int i =1; i <=H; i++){\n\t\t\t\t//???????????¶???\n\t\t\t\tfor(int j =1; j<=W; j++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"int H = sc.nextInt();",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int W = sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(H ==0 && W ==0){\n\t\t\t\tbreak;\n\t\t\t}",
"H ==0 && W ==0",
"H ==0",
"H",
"0",
"W ==0",
"W",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for(int i =1; i <=H; i++){\n\t\t\t\t//???????????¶???\n\t\t\t\tfor(int j =1; j<=W; j++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t}",
"int i =1;",
"int i =1;",
"i",
"1",
"i <=H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\t//???????????¶???\n\t\t\t\tfor(int j =1; j<=W; j++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t}",
"{\n\t\t\t\t//???????????¶???\n\t\t\t\tfor(int j =1; j<=W; j++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t}",
"for(int j =1; j<=W; j++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}",
"int j =1;",
"int j =1;",
"j",
"1",
"j<=W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}",
"System.out.print('#')",
"System.out.print",
"System.out",
"System",
"System.out",
"'#'",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[]args",
"args",
"public class Main {\n\tpublic static void main(String[]args){\n\t\t//????????£????????????????????°?????????????????£?¨?\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true){\n\t\t\t//???\n\t\t\tint H = sc.nextInt();\n\t\t\t//?¨?\n\t\t\tint W = sc.nextInt();\n\t\t\t//??\\?????????0????????????\n\t\t\tif(H ==0 && W ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//?¨?????????¶???\n\t\t\tfor(int i =1; i <=H; i++){\n\t\t\t\t//???????????¶???\n\t\t\t\tfor(int j =1; j<=W; j++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[]args){\n\t\t//????????£????????????????????°?????????????????£?¨?\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true){\n\t\t\t//???\n\t\t\tint H = sc.nextInt();\n\t\t\t//?¨?\n\t\t\tint W = sc.nextInt();\n\t\t\t//??\\?????????0????????????\n\t\t\tif(H ==0 && W ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//?¨?????????¶???\n\t\t\tfor(int i =1; i <=H; i++){\n\t\t\t\t//???????????¶???\n\t\t\t\tfor(int j =1; j<=W; j++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[]args){
//????????£????????????????????°?????????????????£?¨?
Scanner sc = new Scanner(System.in);
while(true){
//???
int H = sc.nextInt();
//?¨?
int W = sc.nextInt();
//??\?????????0????????????
if(H ==0 && W ==0){
break;
}
//?¨?????????¶???
for(int i =1; i <=H; i++){
//???????????¶???
for(int j =1; j<=W; j++){
System.out.print('#');
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
128,
5
],
[
128,
6
],
[
6,
7
],
[
6,
8
],
[
128,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
21,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
21,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
21,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
11,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
50,
60
],
[
60,
61
],
[
61,
62
],
[
50,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
65,
76
],
[
76,
77
],
[
77,
78
],
[
65,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
84,
95
],
[
95,
96
],
[
96,
97
],
[
84,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
80,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
80,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
80,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
64,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
9,
125
],
[
125,
126
],
[
0,
127
],
[
127,
128
],
[
127,
129
]
] | [
"import java.util.*;\n\npublic class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> listH = new ArrayList<Integer>();\n\t\tList<Integer> listW = new ArrayList<Integer>();\n\t\tfor(;;){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlistH.add(H);\n\t\t\tlistW.add(W);\n\t\t}\n\n\t\tfor(int i = 0; i < listH.size(); i++){\n\t\t\tfor(int j = 0; j < listH.get(i); j++){\n\t\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\t\tfor(int k = 0; k < listW.get(i); k++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tString str = sb.toString();\n\t\t\t\tSystem.out.print(str);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> listH = new ArrayList<Integer>();\n\t\tList<Integer> listW = new ArrayList<Integer>();\n\t\tfor(;;){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlistH.add(H);\n\t\t\tlistW.add(W);\n\t\t}\n\n\t\tfor(int i = 0; i < listH.size(); i++){\n\t\t\tfor(int j = 0; j < listH.get(i); j++){\n\t\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\t\tfor(int k = 0; k < listW.get(i); k++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tString str = sb.toString();\n\t\t\t\tSystem.out.print(str);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"Main",
"private static final Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"public static void main(String[] args){\n\t\tList<Integer> listH = new ArrayList<Integer>();\n\t\tList<Integer> listW = new ArrayList<Integer>();\n\t\tfor(;;){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlistH.add(H);\n\t\t\tlistW.add(W);\n\t\t}\n\n\t\tfor(int i = 0; i < listH.size(); i++){\n\t\t\tfor(int j = 0; j < listH.get(i); j++){\n\t\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\t\tfor(int k = 0; k < listW.get(i); k++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tString str = sb.toString();\n\t\t\t\tSystem.out.print(str);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"main",
"{\n\t\tList<Integer> listH = new ArrayList<Integer>();\n\t\tList<Integer> listW = new ArrayList<Integer>();\n\t\tfor(;;){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlistH.add(H);\n\t\t\tlistW.add(W);\n\t\t}\n\n\t\tfor(int i = 0; i < listH.size(); i++){\n\t\t\tfor(int j = 0; j < listH.get(i); j++){\n\t\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\t\tfor(int k = 0; k < listW.get(i); k++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tString str = sb.toString();\n\t\t\t\tSystem.out.print(str);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"List<Integer> listH = new ArrayList<Integer>();",
"listH",
"new ArrayList<Integer>()",
"List<Integer> listW = new ArrayList<Integer>();",
"listW",
"new ArrayList<Integer>()",
"for(;;){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlistH.add(H);\n\t\t\tlistW.add(W);\n\t\t}",
";",
"{\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlistH.add(H);\n\t\t\tlistW.add(W);\n\t\t}",
"{\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlistH.add(H);\n\t\t\tlistW.add(W);\n\t\t}",
"int H = scan.nextInt();",
"H",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int W = scan.nextInt();",
"W",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"listH.add(H)",
"listH.add",
"listH",
"H",
"listW.add(W)",
"listW.add",
"listW",
"W",
"for(int i = 0; i < listH.size(); i++){\n\t\t\tfor(int j = 0; j < listH.get(i); j++){\n\t\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\t\tfor(int k = 0; k < listW.get(i); k++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tString str = sb.toString();\n\t\t\t\tSystem.out.print(str);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < listH.size()",
"i",
"listH.size()",
"listH.size",
"listH",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = 0; j < listH.get(i); j++){\n\t\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\t\tfor(int k = 0; k < listW.get(i); k++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tString str = sb.toString();\n\t\t\t\tSystem.out.print(str);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"{\n\t\t\tfor(int j = 0; j < listH.get(i); j++){\n\t\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\t\tfor(int k = 0; k < listW.get(i); k++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tString str = sb.toString();\n\t\t\t\tSystem.out.print(str);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"for(int j = 0; j < listH.get(i); j++){\n\t\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\t\tfor(int k = 0; k < listW.get(i); k++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tString str = sb.toString();\n\t\t\t\tSystem.out.print(str);\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < listH.get(i)",
"j",
"listH.get(i)",
"listH.get",
"listH",
"i",
"j++",
"j++",
"j",
"{\n\t\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\t\tfor(int k = 0; k < listW.get(i); k++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tString str = sb.toString();\n\t\t\t\tSystem.out.print(str);\n\t\t\t}",
"{\n\t\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\t\tfor(int k = 0; k < listW.get(i); k++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tString str = sb.toString();\n\t\t\t\tSystem.out.print(str);\n\t\t\t}",
"StringBuffer sb = new StringBuffer();",
"sb",
"new StringBuffer()",
"for(int k = 0; k < listW.get(i); k++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"int k = 0;",
"int k = 0;",
"k",
"0",
"k < listW.get(i)",
"k",
"listW.get(i)",
"listW.get",
"listW",
"i",
"k++",
"k++",
"k",
"{\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"sb.append(\"#\")",
"sb.append",
"sb",
"\"#\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"String str = sb.toString();",
"str",
"sb.toString()",
"sb.toString",
"sb",
"System.out.print(str)",
"System.out.print",
"System.out",
"System",
"System.out",
"str",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> listH = new ArrayList<Integer>();\n\t\tList<Integer> listW = new ArrayList<Integer>();\n\t\tfor(;;){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlistH.add(H);\n\t\t\tlistW.add(W);\n\t\t}\n\n\t\tfor(int i = 0; i < listH.size(); i++){\n\t\t\tfor(int j = 0; j < listH.get(i); j++){\n\t\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\t\tfor(int k = 0; k < listW.get(i); k++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tString str = sb.toString();\n\t\t\t\tSystem.out.print(str);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> listH = new ArrayList<Integer>();\n\t\tList<Integer> listW = new ArrayList<Integer>();\n\t\tfor(;;){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlistH.add(H);\n\t\t\tlistW.add(W);\n\t\t}\n\n\t\tfor(int i = 0; i < listH.size(); i++){\n\t\t\tfor(int j = 0; j < listH.get(i); j++){\n\t\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\t\tfor(int k = 0; k < listW.get(i); k++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tString str = sb.toString();\n\t\t\t\tSystem.out.print(str);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
List<Integer> listH = new ArrayList<Integer>();
List<Integer> listW = new ArrayList<Integer>();
for(;;){
int H = scan.nextInt();
int W = scan.nextInt();
if(H == 0 && W == 0){
break;
}
listH.add(H);
listW.add(W);
}
for(int i = 0; i < listH.size(); i++){
for(int j = 0; j < listH.get(i); j++){
StringBuffer sb = new StringBuffer();
for(int k = 0; k < listW.get(i); k++){
sb.append("#");
}
sb.append("\n");
String str = sb.toString();
System.out.print(str);
}
System.out.println("");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
86,
5
],
[
86,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
14,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
47,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
54,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
47,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
14,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
6,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String [] args){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??°?????????\n\t\twhile(true){\n\t\t\t//?????? H???????????????\n\t\t\tint H = sc.nextInt();\n\t\t\t//?????? W???????????????\n\t\t\tint W = sc.nextInt();\n\t\t\t//W??¨H???????????????0?????´?????????\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//??????????????¨???\n\t\t\tfor(int i = 1;i <= H; i++){\n\t\t\t\tSystem.out.print('#');\n\t\t\t\t//??????????????¨???\n\t\t\t\tfor(int j = 1; j < W; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String [] args){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??°?????????\n\t\twhile(true){\n\t\t\t//?????? H???????????????\n\t\t\tint H = sc.nextInt();\n\t\t\t//?????? W???????????????\n\t\t\tint W = sc.nextInt();\n\t\t\t//W??¨H???????????????0?????´?????????\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//??????????????¨???\n\t\t\tfor(int i = 1;i <= H; i++){\n\t\t\t\tSystem.out.print('#');\n\t\t\t\t//??????????????¨???\n\t\t\t\tfor(int j = 1; j < W; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String [] args){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??°?????????\n\t\twhile(true){\n\t\t\t//?????? H???????????????\n\t\t\tint H = sc.nextInt();\n\t\t\t//?????? W???????????????\n\t\t\tint W = sc.nextInt();\n\t\t\t//W??¨H???????????????0?????´?????????\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//??????????????¨???\n\t\t\tfor(int i = 1;i <= H; i++){\n\t\t\t\tSystem.out.print('#');\n\t\t\t\t//??????????????¨???\n\t\t\t\tfor(int j = 1; j < W; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"main",
"{\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??°?????????\n\t\twhile(true){\n\t\t\t//?????? H???????????????\n\t\t\tint H = sc.nextInt();\n\t\t\t//?????? W???????????????\n\t\t\tint W = sc.nextInt();\n\t\t\t//W??¨H???????????????0?????´?????????\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//??????????????¨???\n\t\t\tfor(int i = 1;i <= H; i++){\n\t\t\t\tSystem.out.print('#');\n\t\t\t\t//??????????????¨???\n\t\t\t\tfor(int j = 1; j < W; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(true){\n\t\t\t//?????? H???????????????\n\t\t\tint H = sc.nextInt();\n\t\t\t//?????? W???????????????\n\t\t\tint W = sc.nextInt();\n\t\t\t//W??¨H???????????????0?????´?????????\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//??????????????¨???\n\t\t\tfor(int i = 1;i <= H; i++){\n\t\t\t\tSystem.out.print('#');\n\t\t\t\t//??????????????¨???\n\t\t\t\tfor(int j = 1; j < W; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"true",
"{\n\t\t\t//?????? H???????????????\n\t\t\tint H = sc.nextInt();\n\t\t\t//?????? W???????????????\n\t\t\tint W = sc.nextInt();\n\t\t\t//W??¨H???????????????0?????´?????????\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//??????????????¨???\n\t\t\tfor(int i = 1;i <= H; i++){\n\t\t\t\tSystem.out.print('#');\n\t\t\t\t//??????????????¨???\n\t\t\t\tfor(int j = 1; j < W; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"int H = sc.nextInt();",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int W = sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for(int i = 1;i <= H; i++){\n\t\t\t\tSystem.out.print('#');\n\t\t\t\t//??????????????¨???\n\t\t\t\tfor(int j = 1; j < W; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\tSystem.out.print('#');\n\t\t\t\t//??????????????¨???\n\t\t\t\tfor(int j = 1; j < W; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print('#');\n\t\t\t\t//??????????????¨???\n\t\t\t\tfor(int j = 1; j < W; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"System.out.print('#')",
"System.out.print",
"System.out",
"System",
"System.out",
"'#'",
"for(int j = 1; j < W; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}",
"int j = 1;",
"int j = 1;",
"j",
"1",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}",
"System.out.print('#')",
"System.out.print",
"System.out",
"System",
"System.out",
"'#'",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String [] args",
"args",
"public class Main {\n\tpublic static void main(String [] args){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??°?????????\n\t\twhile(true){\n\t\t\t//?????? H???????????????\n\t\t\tint H = sc.nextInt();\n\t\t\t//?????? W???????????????\n\t\t\tint W = sc.nextInt();\n\t\t\t//W??¨H???????????????0?????´?????????\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//??????????????¨???\n\t\t\tfor(int i = 1;i <= H; i++){\n\t\t\t\tSystem.out.print('#');\n\t\t\t\t//??????????????¨???\n\t\t\t\tfor(int j = 1; j < W; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String [] args){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??°?????????\n\t\twhile(true){\n\t\t\t//?????? H???????????????\n\t\t\tint H = sc.nextInt();\n\t\t\t//?????? W???????????????\n\t\t\tint W = sc.nextInt();\n\t\t\t//W??¨H???????????????0?????´?????????\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//??????????????¨???\n\t\t\tfor(int i = 1;i <= H; i++){\n\t\t\t\tSystem.out.print('#');\n\t\t\t\t//??????????????¨???\n\t\t\t\tfor(int j = 1; j < W; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String [] args){
//????????£?????????????????????
Scanner sc = new Scanner(System.in);
//??°?????????
while(true){
//?????? H???????????????
int H = sc.nextInt();
//?????? W???????????????
int W = sc.nextInt();
//W??¨H???????????????0?????´?????????
if(H == 0 && W == 0){
break;
}
//??????????????¨???
for(int i = 1;i <= H; i++){
System.out.print('#');
//??????????????¨???
for(int j = 1; j < W; j++){
System.out.print('#');
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
30,
0,
13,
13,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
135,
8
],
[
135,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
38,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
54,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
53,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
11,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
79,
80
],
[
70,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
83,
93
],
[
93,
94
],
[
94,
95
],
[
83,
96
],
[
97,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
105,
107
],
[
98,
108
],
[
108,
109
],
[
109,
110
],
[
98,
111
],
[
112,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
97,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
82,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
11,
129
],
[
129,
130
],
[
130,
131
],
[
9,
132
],
[
132,
133
],
[
0,
134
],
[
134,
135
],
[
134,
136
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tint h[] = new int[300];\n\t\tint w[] = new int[300];\n\t\tint endIndex = 0;\n\t\t\n\t\tfor (int i = 0; i < 300; i++) {\n\t\t\th[i] = scan.nextInt();\n\t\t\tw[i] = scan.nextInt();\n\n\t\t\tif (h[i] == 0 && w[i] == 0) {\n\t\t\t\tendIndex = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < endIndex; i++) {\n\t\t\tfor (int height = 0; height < h[i]; height++) {\n\t\t\t\tfor (int width = 0; width < w[i]; width++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t\tscan.close();\n\t}\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tint h[] = new int[300];\n\t\tint w[] = new int[300];\n\t\tint endIndex = 0;\n\t\t\n\t\tfor (int i = 0; i < 300; i++) {\n\t\t\th[i] = scan.nextInt();\n\t\t\tw[i] = scan.nextInt();\n\n\t\t\tif (h[i] == 0 && w[i] == 0) {\n\t\t\t\tendIndex = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < endIndex; i++) {\n\t\t\tfor (int height = 0; height < h[i]; height++) {\n\t\t\t\tfor (int width = 0; width < w[i]; width++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t\tscan.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tint h[] = new int[300];\n\t\tint w[] = new int[300];\n\t\tint endIndex = 0;\n\t\t\n\t\tfor (int i = 0; i < 300; i++) {\n\t\t\th[i] = scan.nextInt();\n\t\t\tw[i] = scan.nextInt();\n\n\t\t\tif (h[i] == 0 && w[i] == 0) {\n\t\t\t\tendIndex = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < endIndex; i++) {\n\t\t\tfor (int height = 0; height < h[i]; height++) {\n\t\t\t\tfor (int width = 0; width < w[i]; width++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t\tscan.close();\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tint h[] = new int[300];\n\t\tint w[] = new int[300];\n\t\tint endIndex = 0;\n\t\t\n\t\tfor (int i = 0; i < 300; i++) {\n\t\t\th[i] = scan.nextInt();\n\t\t\tw[i] = scan.nextInt();\n\n\t\t\tif (h[i] == 0 && w[i] == 0) {\n\t\t\t\tendIndex = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < endIndex; i++) {\n\t\t\tfor (int height = 0; height < h[i]; height++) {\n\t\t\t\tfor (int width = 0; width < w[i]; width++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t\tscan.close();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int h[] = new int[300];",
"h",
"new int[300]",
"300",
"int w[] = new int[300];",
"w",
"new int[300]",
"300",
"int endIndex = 0;",
"endIndex",
"0",
"for (int i = 0; i < 300; i++) {\n\t\t\th[i] = scan.nextInt();\n\t\t\tw[i] = scan.nextInt();\n\n\t\t\tif (h[i] == 0 && w[i] == 0) {\n\t\t\t\tendIndex = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 300",
"i",
"300",
"i++",
"i++",
"i",
"{\n\t\t\th[i] = scan.nextInt();\n\t\t\tw[i] = scan.nextInt();\n\n\t\t\tif (h[i] == 0 && w[i] == 0) {\n\t\t\t\tendIndex = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\th[i] = scan.nextInt();\n\t\t\tw[i] = scan.nextInt();\n\n\t\t\tif (h[i] == 0 && w[i] == 0) {\n\t\t\t\tendIndex = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"h[i] = scan.nextInt()",
"h[i]",
"h",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"w[i] = scan.nextInt()",
"w[i]",
"w",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (h[i] == 0 && w[i] == 0) {\n\t\t\t\tendIndex = i;\n\t\t\t\tbreak;\n\t\t\t}",
"h[i] == 0 && w[i] == 0",
"h[i] == 0",
"h[i]",
"h",
"i",
"0",
"w[i] == 0",
"w[i]",
"w",
"i",
"0",
"{\n\t\t\t\tendIndex = i;\n\t\t\t\tbreak;\n\t\t\t}",
"endIndex = i",
"endIndex",
"i",
"break;",
"for (int i = 0; i < endIndex; i++) {\n\t\t\tfor (int height = 0; height < h[i]; height++) {\n\t\t\t\tfor (int width = 0; width < w[i]; width++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < endIndex",
"i",
"endIndex",
"i++",
"i++",
"i",
"{\n\t\t\tfor (int height = 0; height < h[i]; height++) {\n\t\t\t\tfor (int width = 0; width < w[i]; width++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"{\n\t\t\tfor (int height = 0; height < h[i]; height++) {\n\t\t\t\tfor (int width = 0; width < w[i]; width++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"for (int height = 0; height < h[i]; height++) {\n\t\t\t\tfor (int width = 0; width < w[i]; width++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"int height = 0;",
"int height = 0;",
"height",
"0",
"height < h[i]",
"height",
"h[i]",
"h",
"i",
"height++",
"height++",
"height",
"{\n\t\t\t\tfor (int width = 0; width < w[i]; width++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"{\n\t\t\t\tfor (int width = 0; width < w[i]; width++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"for (int width = 0; width < w[i]; width++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int width = 0;",
"int width = 0;",
"width",
"0",
"width < w[i]",
"width",
"w[i]",
"w",
"i",
"width++",
"width++",
"width",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tint h[] = new int[300];\n\t\tint w[] = new int[300];\n\t\tint endIndex = 0;\n\t\t\n\t\tfor (int i = 0; i < 300; i++) {\n\t\t\th[i] = scan.nextInt();\n\t\t\tw[i] = scan.nextInt();\n\n\t\t\tif (h[i] == 0 && w[i] == 0) {\n\t\t\t\tendIndex = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < endIndex; i++) {\n\t\t\tfor (int height = 0; height < h[i]; height++) {\n\t\t\t\tfor (int width = 0; width < w[i]; width++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t\tscan.close();\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tint h[] = new int[300];\n\t\tint w[] = new int[300];\n\t\tint endIndex = 0;\n\t\t\n\t\tfor (int i = 0; i < 300; i++) {\n\t\t\th[i] = scan.nextInt();\n\t\t\tw[i] = scan.nextInt();\n\n\t\t\tif (h[i] == 0 && w[i] == 0) {\n\t\t\t\tendIndex = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < endIndex; i++) {\n\t\t\tfor (int height = 0; height < h[i]; height++) {\n\t\t\t\tfor (int width = 0; width < w[i]; width++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t\tscan.close();\n\t}\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int h[] = new int[300];
int w[] = new int[300];
int endIndex = 0;
for (int i = 0; i < 300; i++) {
h[i] = scan.nextInt();
w[i] = scan.nextInt();
if (h[i] == 0 && w[i] == 0) {
endIndex = i;
break;
}
}
for (int i = 0; i < endIndex; i++) {
for (int height = 0; height < h[i]; height++) {
for (int width = 0; width < w[i]; width++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
scan.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
13,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
15,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
15,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
34,
38
],
[
15,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
51,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
15,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
6,
83
],
[
83,
84
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tfor(;;){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i=0; i<H; i++){\n\n\t\t\t\tfor(int s=0; s<W; s++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tfor(;;){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i=0; i<H; i++){\n\n\t\t\t\tfor(int s=0; s<W; s++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tfor(;;){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i=0; i<H; i++){\n\n\t\t\t\tfor(int s=0; s<W; s++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tfor(;;){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i=0; i<H; i++){\n\n\t\t\t\tfor(int s=0; s<W; s++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(;;){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i=0; i<H; i++){\n\n\t\t\t\tfor(int s=0; s<W; s++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}",
";",
"{\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i=0; i<H; i++){\n\n\t\t\t\tfor(int s=0; s<W; s++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}",
"{\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i=0; i<H; i++){\n\n\t\t\t\tfor(int s=0; s<W; s++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}",
"int H = scan.nextInt();",
"H",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int W = scan.nextInt();",
"W",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(H == 0 && W == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}",
"scan.close()",
"scan.close",
"scan",
"break;",
"for(int i=0; i<H; i++){\n\n\t\t\t\tfor(int s=0; s<W; s++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\n\t\t\t\tfor(int s=0; s<W; s++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"{\n\n\t\t\t\tfor(int s=0; s<W; s++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"for(int s=0; s<W; s++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int s=0;",
"int s=0;",
"s",
"0",
"s<W",
"s",
"W",
"s++",
"s++",
"s",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
for(;;){
int H = scan.nextInt();
int W = scan.nextInt();
if(H == 0 && W == 0){
scan.close();
break;
}
for(int i=0; i<H; i++){
for(int s=0; s<W; s++){
System.out.print("#");
}
System.out.println("");
}
System.out.print("\n");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
100,
8
],
[
100,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
23,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
20,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
20,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
55,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
68,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
67,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
20,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
9,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n while(true){\n \tString[] input = br.readLine().split(\" \");\n \tint H = Integer.parseInt(input[0]);\n \tint W = Integer.parseInt(input[1]);\n \tif(H == 0 && W == 0){\n \t\tbreak;\n \t}\n \tfor(int x = 0 ; x < H ; x++){\n \t\tfor(int y = 0; y < W ; y++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}\n \tSystem.out.println();\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n while(true){\n \tString[] input = br.readLine().split(\" \");\n \tint H = Integer.parseInt(input[0]);\n \tint W = Integer.parseInt(input[1]);\n \tif(H == 0 && W == 0){\n \t\tbreak;\n \t}\n \tfor(int x = 0 ; x < H ; x++){\n \t\tfor(int y = 0; y < W ; y++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}\n \tSystem.out.println();\n }\n }\n}",
"Main",
"public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n while(true){\n \tString[] input = br.readLine().split(\" \");\n \tint H = Integer.parseInt(input[0]);\n \tint W = Integer.parseInt(input[1]);\n \tif(H == 0 && W == 0){\n \t\tbreak;\n \t}\n \tfor(int x = 0 ; x < H ; x++){\n \t\tfor(int y = 0; y < W ; y++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}\n \tSystem.out.println();\n }\n }",
"main",
"{\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n while(true){\n \tString[] input = br.readLine().split(\" \");\n \tint H = Integer.parseInt(input[0]);\n \tint W = Integer.parseInt(input[1]);\n \tif(H == 0 && W == 0){\n \t\tbreak;\n \t}\n \tfor(int x = 0 ; x < H ; x++){\n \t\tfor(int y = 0; y < W ; y++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}\n \tSystem.out.println();\n }\n }",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"while(true){\n \tString[] input = br.readLine().split(\" \");\n \tint H = Integer.parseInt(input[0]);\n \tint W = Integer.parseInt(input[1]);\n \tif(H == 0 && W == 0){\n \t\tbreak;\n \t}\n \tfor(int x = 0 ; x < H ; x++){\n \t\tfor(int y = 0; y < W ; y++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}\n \tSystem.out.println();\n }",
"true",
"{\n \tString[] input = br.readLine().split(\" \");\n \tint H = Integer.parseInt(input[0]);\n \tint W = Integer.parseInt(input[1]);\n \tif(H == 0 && W == 0){\n \t\tbreak;\n \t}\n \tfor(int x = 0 ; x < H ; x++){\n \t\tfor(int y = 0; y < W ; y++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}\n \tSystem.out.println();\n }",
"String[] input = br.readLine().split(\" \");",
"input",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int H = Integer.parseInt(input[0]);",
"H",
"Integer.parseInt(input[0])",
"Integer.parseInt",
"Integer",
"input[0]",
"input",
"0",
"int W = Integer.parseInt(input[1]);",
"W",
"Integer.parseInt(input[1])",
"Integer.parseInt",
"Integer",
"input[1]",
"input",
"1",
"if(H == 0 && W == 0){\n \t\tbreak;\n \t}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n \t\tbreak;\n \t}",
"break;",
"for(int x = 0 ; x < H ; x++){\n \t\tfor(int y = 0; y < W ; y++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}",
"int x = 0 ;",
"int x = 0 ;",
"x",
"0",
"x < H",
"x",
"H",
"x++",
"x++",
"x",
"{\n \t\tfor(int y = 0; y < W ; y++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}",
"{\n \t\tfor(int y = 0; y < W ; y++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}",
"for(int y = 0; y < W ; y++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}",
"int y = 0;",
"int y = 0;",
"y",
"0",
"y < W",
"y",
"W",
"y++",
"y++",
"y",
"{\n \t\t\tSystem.out.print(\"#\");\n \t\t}",
"{\n \t\t\tSystem.out.print(\"#\");\n \t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n while(true){\n \tString[] input = br.readLine().split(\" \");\n \tint H = Integer.parseInt(input[0]);\n \tint W = Integer.parseInt(input[1]);\n \tif(H == 0 && W == 0){\n \t\tbreak;\n \t}\n \tfor(int x = 0 ; x < H ; x++){\n \t\tfor(int y = 0; y < W ; y++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}\n \tSystem.out.println();\n }\n }\n}",
"public class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n while(true){\n \tString[] input = br.readLine().split(\" \");\n \tint H = Integer.parseInt(input[0]);\n \tint W = Integer.parseInt(input[1]);\n \tif(H == 0 && W == 0){\n \t\tbreak;\n \t}\n \tfor(int x = 0 ; x < H ; x++){\n \t\tfor(int y = 0; y < W ; y++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}\n \tSystem.out.println();\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args)throws Exception {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
while(true){
String[] input = br.readLine().split(" ");
int H = Integer.parseInt(input[0]);
int W = Integer.parseInt(input[1]);
if(H == 0 && W == 0){
break;
}
for(int x = 0 ; x < H ; x++){
for(int y = 0; y < W ; y++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
42,
17,
30,
0,
13,
4,
18,
13,
14,
4,
18,
17,
13,
30,
3,
30,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
13,
20,
28,
13,
13,
30,
30,
4,
13,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
13,
0,
13,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
173,
17
],
[
173,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
173,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
34,
36
],
[
28,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
37,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
47,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
53,
58
],
[
58,
59
],
[
53,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
60,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
72,
74
],
[
60,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
80,
81
],
[
80,
82
],
[
60,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
44,
87
],
[
87,
88
],
[
87,
89
],
[
87,
90
],
[
91,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
97,
98
],
[
97,
99
],
[
91,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
173,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
116,
118
],
[
111,
119
],
[
119,
120
],
[
120,
121
],
[
111,
122
],
[
123,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
124,
127
],
[
107,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
128,
133
],
[
133,
134
],
[
133,
135
],
[
128,
136
],
[
136,
137
],
[
137,
138
],
[
128,
139
],
[
140,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
141,
146
],
[
146,
147
],
[
147,
148
],
[
105,
149
],
[
149,
150
],
[
105,
151
],
[
151,
152
],
[
173,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
153,
157
],
[
157,
158
],
[
153,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
161,
165
],
[
165,
166
],
[
165,
167
],
[
159,
168
],
[
168,
169
],
[
159,
170
],
[
170,
171
],
[
0,
172
],
[
172,
173
],
[
172,
174
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\n\n/**\n * ????????¢?????????\n *\n * ??????H cm ?????? W cm ???????????¢?????????????????°?????????????????????????????????\n *\n * 1 cm ?? 1cm ???????????¢??? '#'??§??¨????????????\n *\n * Input\n * ??\\???????????°????????????????????????????§???????????????????????????????????????????????????¢????????\\????????¨????????§??????\n *\n * H W\n *\n * H, W ?????¨?????? 0 ?????¨????????\\?????????????????¨????????????\n *\n * Output\n * ????????????????????????????????????H ?? W ?????? '#' ??§????????????????????¢???????????????????????????\n *\n * ?????????????????????????????????????????????????????\\??????????????????\n *\n * Constraints\n * 1 ??? H, W ??? 300\n *\n * http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_5_A\n *\n * @author wsKmatsuda\n *\n */\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n\tpublic void run(){\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String inputData;\n List<Square> squareList = new ArrayList<Square>();\n try {\n \t//??\\???\n\t while(true){\n\t\t\t\tinputData = reader.readLine();\n\t if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint h = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint w = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tsquareList.add(new Square(h,w));\n\t }\n\t }\n\n\t //??????\n\t for(Square square : squareList){\n\t\t\t\toutputSquare(square.h , square.w);\n\t\t\t\tSystem.out.println();\n\t }\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n\t/**\n\t * ????????¢?????????\n\t * @param h\n\t * @param w\n\t */\n\tprivate static void outputSquare(int h, int w) {\n\t\tStringBuilder sbLine = new StringBuilder();\n\t\tfor(int i=0;i< w ;i++){\n\t\t\tsbLine.append(\"#\");\n\t\t}\n\t\tfor(int i=0;i<h;i++){\n\t\t\tSystem.out.println(sbLine.toString());\n\t\t}\n\t}\n\n\t/**\n\t * ????§???¢?????????\n\t * h,w???????????????\n\t */\n\tclass Square{\n\n\t\tpublic int h;\n\t\tpublic int w;\n\n\t\tSquare(int _h ,int _w){\n\t\t\th = _h;\n\t\t\tw = _w;\n\t\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n\tpublic void run(){\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String inputData;\n List<Square> squareList = new ArrayList<Square>();\n try {\n \t//??\\???\n\t while(true){\n\t\t\t\tinputData = reader.readLine();\n\t if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint h = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint w = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tsquareList.add(new Square(h,w));\n\t }\n\t }\n\n\t //??????\n\t for(Square square : squareList){\n\t\t\t\toutputSquare(square.h , square.w);\n\t\t\t\tSystem.out.println();\n\t }\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n\t/**\n\t * ????????¢?????????\n\t * @param h\n\t * @param w\n\t */\n\tprivate static void outputSquare(int h, int w) {\n\t\tStringBuilder sbLine = new StringBuilder();\n\t\tfor(int i=0;i< w ;i++){\n\t\t\tsbLine.append(\"#\");\n\t\t}\n\t\tfor(int i=0;i<h;i++){\n\t\t\tSystem.out.println(sbLine.toString());\n\t\t}\n\t}\n\n\t/**\n\t * ????§???¢?????????\n\t * h,w???????????????\n\t */\n\tclass Square{\n\n\t\tpublic int h;\n\t\tpublic int w;\n\n\t\tSquare(int _h ,int _w){\n\t\t\th = _h;\n\t\t\tw = _w;\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tnew Main().run();\n\t}",
"main",
"{\n\t\tnew Main().run();\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public void run(){\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String inputData;\n List<Square> squareList = new ArrayList<Square>();\n try {\n \t//??\\???\n\t while(true){\n\t\t\t\tinputData = reader.readLine();\n\t if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint h = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint w = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tsquareList.add(new Square(h,w));\n\t }\n\t }\n\n\t //??????\n\t for(Square square : squareList){\n\t\t\t\toutputSquare(square.h , square.w);\n\t\t\t\tSystem.out.println();\n\t }\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"run",
"{\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String inputData;\n List<Square> squareList = new ArrayList<Square>();\n try {\n \t//??\\???\n\t while(true){\n\t\t\t\tinputData = reader.readLine();\n\t if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint h = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint w = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tsquareList.add(new Square(h,w));\n\t }\n\t }\n\n\t //??????\n\t for(Square square : squareList){\n\t\t\t\toutputSquare(square.h , square.w);\n\t\t\t\tSystem.out.println();\n\t }\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String inputData;",
"inputData",
"List<Square> squareList = new ArrayList<Square>();",
"squareList",
"new ArrayList<Square>()",
"try {\n \t//??\\???\n\t while(true){\n\t\t\t\tinputData = reader.readLine();\n\t if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint h = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint w = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tsquareList.add(new Square(h,w));\n\t }\n\t }\n\n\t //??????\n\t for(Square square : squareList){\n\t\t\t\toutputSquare(square.h , square.w);\n\t\t\t\tSystem.out.println();\n\t }\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n \t//??\\???\n\t while(true){\n\t\t\t\tinputData = reader.readLine();\n\t if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint h = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint w = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tsquareList.add(new Square(h,w));\n\t }\n\t }\n\n\t //??????\n\t for(Square square : squareList){\n\t\t\t\toutputSquare(square.h , square.w);\n\t\t\t\tSystem.out.println();\n\t }\n\n\t\t}",
"while(true){\n\t\t\t\tinputData = reader.readLine();\n\t if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint h = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint w = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tsquareList.add(new Square(h,w));\n\t }\n\t }",
"true",
"{\n\t\t\t\tinputData = reader.readLine();\n\t if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint h = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint w = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tsquareList.add(new Square(h,w));\n\t }\n\t }",
"inputData = reader.readLine()",
"inputData",
"reader.readLine()",
"reader.readLine",
"reader",
"if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint h = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint w = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tsquareList.add(new Square(h,w));\n\t }",
"\"0 0\".equals(inputData)",
"\"0 0\".equals",
"\"0 0\"",
"inputData",
"{\n\t \tbreak;\n\t }",
"break;",
"{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint h = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint w = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tsquareList.add(new Square(h,w));\n\t }",
"String[] strNumber = inputData.split(\" \");",
"strNumber",
"inputData.split(\" \")",
"inputData.split",
"inputData",
"\" \"",
"int h = Integer.parseInt(strNumber[0]);",
"h",
"Integer.parseInt(strNumber[0])",
"Integer.parseInt",
"Integer",
"strNumber[0]",
"strNumber",
"0",
"int w = Integer.parseInt(strNumber[1]);",
"w",
"Integer.parseInt(strNumber[1])",
"Integer.parseInt",
"Integer",
"strNumber[1]",
"strNumber",
"1",
"squareList.add(new Square(h,w))",
"squareList.add",
"squareList",
"new Square(h,w)",
"for(Square square : squareList){\n\t\t\t\toutputSquare(square.h , square.w);\n\t\t\t\tSystem.out.println();\n\t }",
"Square square",
"squareList",
"{\n\t\t\t\toutputSquare(square.h , square.w);\n\t\t\t\tSystem.out.println();\n\t }",
"{\n\t\t\t\toutputSquare(square.h , square.w);\n\t\t\t\tSystem.out.println();\n\t }",
"outputSquare(square.h , square.w)",
"outputSquare",
"square.h",
"square",
"square.h",
"square.w",
"square",
"square.w",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"/**\n\t * ????????¢?????????\n\t * @param h\n\t * @param w\n\t */\n\tprivate static void outputSquare(int h, int w) {\n\t\tStringBuilder sbLine = new StringBuilder();\n\t\tfor(int i=0;i< w ;i++){\n\t\t\tsbLine.append(\"#\");\n\t\t}\n\t\tfor(int i=0;i<h;i++){\n\t\t\tSystem.out.println(sbLine.toString());\n\t\t}\n\t}",
"outputSquare",
"{\n\t\tStringBuilder sbLine = new StringBuilder();\n\t\tfor(int i=0;i< w ;i++){\n\t\t\tsbLine.append(\"#\");\n\t\t}\n\t\tfor(int i=0;i<h;i++){\n\t\t\tSystem.out.println(sbLine.toString());\n\t\t}\n\t}",
"StringBuilder sbLine = new StringBuilder();",
"sbLine",
"new StringBuilder()",
"for(int i=0;i< w ;i++){\n\t\t\tsbLine.append(\"#\");\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i< w",
"i",
"w",
"i++",
"i++",
"i",
"{\n\t\t\tsbLine.append(\"#\");\n\t\t}",
"{\n\t\t\tsbLine.append(\"#\");\n\t\t}",
"sbLine.append(\"#\")",
"sbLine.append",
"sbLine",
"\"#\"",
"for(int i=0;i<h;i++){\n\t\t\tSystem.out.println(sbLine.toString());\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(sbLine.toString());\n\t\t}",
"{\n\t\t\tSystem.out.println(sbLine.toString());\n\t\t}",
"System.out.println(sbLine.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sbLine.toString()",
"sbLine.toString",
"sbLine",
"int h",
"h",
"int w",
"w",
"class Square{\n\n\t\tpublic int h;\n\t\tpublic int w;\n\n\t\tSquare(int _h ,int _w){\n\t\t\th = _h;\n\t\t\tw = _w;\n\t\t}\n\t}",
"Square",
"public int h;",
"h",
"public int w;",
"w",
"Square(int _h ,int _w){\n\t\t\th = _h;\n\t\t\tw = _w;\n\t\t}",
"Square",
"{\n\t\t\th = _h;\n\t\t\tw = _w;\n\t\t}",
"h = _h",
"h",
"_h",
"w = _w",
"w",
"_w",
"int _h",
"_h",
"int _w",
"_w",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n\tpublic void run(){\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String inputData;\n List<Square> squareList = new ArrayList<Square>();\n try {\n \t//??\\???\n\t while(true){\n\t\t\t\tinputData = reader.readLine();\n\t if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint h = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint w = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tsquareList.add(new Square(h,w));\n\t }\n\t }\n\n\t //??????\n\t for(Square square : squareList){\n\t\t\t\toutputSquare(square.h , square.w);\n\t\t\t\tSystem.out.println();\n\t }\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n\t/**\n\t * ????????¢?????????\n\t * @param h\n\t * @param w\n\t */\n\tprivate static void outputSquare(int h, int w) {\n\t\tStringBuilder sbLine = new StringBuilder();\n\t\tfor(int i=0;i< w ;i++){\n\t\t\tsbLine.append(\"#\");\n\t\t}\n\t\tfor(int i=0;i<h;i++){\n\t\t\tSystem.out.println(sbLine.toString());\n\t\t}\n\t}\n\n\t/**\n\t * ????§???¢?????????\n\t * h,w???????????????\n\t */\n\tclass Square{\n\n\t\tpublic int h;\n\t\tpublic int w;\n\n\t\tSquare(int _h ,int _w){\n\t\t\th = _h;\n\t\t\tw = _w;\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n\tpublic void run(){\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String inputData;\n List<Square> squareList = new ArrayList<Square>();\n try {\n \t//??\\???\n\t while(true){\n\t\t\t\tinputData = reader.readLine();\n\t if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint h = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint w = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tsquareList.add(new Square(h,w));\n\t }\n\t }\n\n\t //??????\n\t for(Square square : squareList){\n\t\t\t\toutputSquare(square.h , square.w);\n\t\t\t\tSystem.out.println();\n\t }\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n\t/**\n\t * ????????¢?????????\n\t * @param h\n\t * @param w\n\t */\n\tprivate static void outputSquare(int h, int w) {\n\t\tStringBuilder sbLine = new StringBuilder();\n\t\tfor(int i=0;i< w ;i++){\n\t\t\tsbLine.append(\"#\");\n\t\t}\n\t\tfor(int i=0;i<h;i++){\n\t\t\tSystem.out.println(sbLine.toString());\n\t\t}\n\t}\n\n\t/**\n\t * ????§???¢?????????\n\t * h,w???????????????\n\t */\n\tclass Square{\n\n\t\tpublic int h;\n\t\tpublic int w;\n\n\t\tSquare(int _h ,int _w){\n\t\t\th = _h;\n\t\t\tw = _w;\n\t\t}\n\t}\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
/**
* ????????¢?????????
*
* ??????H cm ?????? W cm ???????????¢?????????????????°?????????????????????????????????
*
* 1 cm ?? 1cm ???????????¢??? '#'??§??¨????????????
*
* Input
* ??\???????????°????????????????????????????§???????????????????????????????????????????????????¢????????\????????¨????????§??????
*
* H W
*
* H, W ?????¨?????? 0 ?????¨????????\?????????????????¨????????????
*
* Output
* ????????????????????????????????????H ?? W ?????? '#' ??§????????????????????¢???????????????????????????
*
* ?????????????????????????????????????????????????????\??????????????????
*
* Constraints
* 1 ??? H, W ??? 300
*
* http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_5_A
*
* @author wsKmatsuda
*
*/
public class Main {
public static void main(String[] args) {
new Main().run();
}
public void run(){
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String inputData;
List<Square> squareList = new ArrayList<Square>();
try {
//??\???
while(true){
inputData = reader.readLine();
if("0 0".equals(inputData)){
break;
}else{
String[] strNumber = inputData.split(" ");
int h = Integer.parseInt(strNumber[0]);
int w = Integer.parseInt(strNumber[1]);
squareList.add(new Square(h,w));
}
}
//??????
for(Square square : squareList){
outputSquare(square.h , square.w);
System.out.println();
}
} catch (IOException e) {
e.printStackTrace();
}
}
/**
* ????????¢?????????
* @param h
* @param w
*/
private static void outputSquare(int h, int w) {
StringBuilder sbLine = new StringBuilder();
for(int i=0;i< w ;i++){
sbLine.append("#");
}
for(int i=0;i<h;i++){
System.out.println(sbLine.toString());
}
}
/**
* ????§???¢?????????
* h,w???????????????
*/
class Square{
public int h;
public int w;
Square(int _h ,int _w){
h = _h;
w = _w;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
88,
5
],
[
88,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
20,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
41,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
54,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
53,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
20,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint h=0, w=0;\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (h = 0; h < H; h++) {\n\t\t\t\tfor (w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint h=0, w=0;\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (h = 0; h < H; h++) {\n\t\t\t\tfor (w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint h=0, w=0;\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (h = 0; h < H; h++) {\n\t\t\t\tfor (w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint h=0, w=0;\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (h = 0; h < H; h++) {\n\t\t\t\tfor (w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int h=0",
"h",
"0",
"w=0;",
"w",
"0",
"while (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (h = 0; h < H; h++) {\n\t\t\t\tfor (w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"true",
"{\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (h = 0; h < H; h++) {\n\t\t\t\tfor (w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"int H = sc.nextInt();",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int W = sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for (h = 0; h < H; h++) {\n\t\t\t\tfor (w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"h = 0;",
"h = 0",
"h",
"0",
"h < H",
"h",
"H",
"h++",
"h++",
"h",
"{\n\t\t\t\tfor (w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"{\n\t\t\t\tfor (w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"for (w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"w = 0;",
"w = 0",
"w",
"0",
"w < W",
"w",
"W",
"w++",
"w++",
"w",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint h=0, w=0;\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (h = 0; h < H; h++) {\n\t\t\t\tfor (w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint h=0, w=0;\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (h = 0; h < H; h++) {\n\t\t\t\tfor (w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int h=0, w=0;
while (true) {
int H = sc.nextInt();
int W = sc.nextInt();
if (H == 0 && W == 0){
break;
}
for (h = 0; h < H; h++) {
for (w = 0; w < W; w++) {
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
0,
13,
17,
0,
13,
17,
0,
13,
17,
41,
13,
20,
42,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
17,
0,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
42,
2,
13,
13,
30,
42,
2,
13,
13,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
0,
13,
17,
0,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
118,
8
],
[
118,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
11,
14
],
[
14,
15
],
[
11,
16
],
[
16,
17
],
[
11,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
11,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
42,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
53,
54
],
[
53,
55
],
[
42,
56
],
[
56,
57
],
[
56,
58
],
[
42,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
42,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
79,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
78,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
99,
101
],
[
73,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
104,
106
],
[
73,
107
],
[
107,
108
],
[
107,
109
],
[
42,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
9,
115
],
[
115,
116
],
[
0,
117
],
[
117,
118
],
[
117,
119
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t int a,b,c,d,e;\n\t a=1;b=1;e=1;\n Scanner sc = new Scanner(System.in);\n while (a!=0 || b!=0){\n a = sc.nextInt();\n b = sc.nextInt();\n c = 1;\n d = 1;\n if (e != 1){\n \t System.out.println();\n }\n while(c<=a){\n \t while(d<=b){\n \t\t if(d!=b){\n \t\t\t System.out.print(\"#\");\n \t\t }else{\n \t\t\t System.out.println(\"#\");\n \t\t }\n \t\t d = d+1;\n \t }\n \t c = c+1;\n \t d = 1;\n }\n e=e+1;\n }\n\t}\n\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t int a,b,c,d,e;\n\t a=1;b=1;e=1;\n Scanner sc = new Scanner(System.in);\n while (a!=0 || b!=0){\n a = sc.nextInt();\n b = sc.nextInt();\n c = 1;\n d = 1;\n if (e != 1){\n \t System.out.println();\n }\n while(c<=a){\n \t while(d<=b){\n \t\t if(d!=b){\n \t\t\t System.out.print(\"#\");\n \t\t }else{\n \t\t\t System.out.println(\"#\");\n \t\t }\n \t\t d = d+1;\n \t }\n \t c = c+1;\n \t d = 1;\n }\n e=e+1;\n }\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t int a,b,c,d,e;\n\t a=1;b=1;e=1;\n Scanner sc = new Scanner(System.in);\n while (a!=0 || b!=0){\n a = sc.nextInt();\n b = sc.nextInt();\n c = 1;\n d = 1;\n if (e != 1){\n \t System.out.println();\n }\n while(c<=a){\n \t while(d<=b){\n \t\t if(d!=b){\n \t\t\t System.out.print(\"#\");\n \t\t }else{\n \t\t\t System.out.println(\"#\");\n \t\t }\n \t\t d = d+1;\n \t }\n \t c = c+1;\n \t d = 1;\n }\n e=e+1;\n }\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t int a,b,c,d,e;\n\t a=1;b=1;e=1;\n Scanner sc = new Scanner(System.in);\n while (a!=0 || b!=0){\n a = sc.nextInt();\n b = sc.nextInt();\n c = 1;\n d = 1;\n if (e != 1){\n \t System.out.println();\n }\n while(c<=a){\n \t while(d<=b){\n \t\t if(d!=b){\n \t\t\t System.out.print(\"#\");\n \t\t }else{\n \t\t\t System.out.println(\"#\");\n \t\t }\n \t\t d = d+1;\n \t }\n \t c = c+1;\n \t d = 1;\n }\n e=e+1;\n }\n\t}",
"int a",
"a",
"b",
"b",
"c",
"c",
"d",
"d",
"e;",
"e",
"a=1",
"a",
"1",
"b=1",
"b",
"1",
"e=1",
"e",
"1",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (a!=0 || b!=0){\n a = sc.nextInt();\n b = sc.nextInt();\n c = 1;\n d = 1;\n if (e != 1){\n \t System.out.println();\n }\n while(c<=a){\n \t while(d<=b){\n \t\t if(d!=b){\n \t\t\t System.out.print(\"#\");\n \t\t }else{\n \t\t\t System.out.println(\"#\");\n \t\t }\n \t\t d = d+1;\n \t }\n \t c = c+1;\n \t d = 1;\n }\n e=e+1;\n }",
"a!=0 || b!=0",
"a!=0",
"a",
"0",
"b!=0",
"b",
"0",
"{\n a = sc.nextInt();\n b = sc.nextInt();\n c = 1;\n d = 1;\n if (e != 1){\n \t System.out.println();\n }\n while(c<=a){\n \t while(d<=b){\n \t\t if(d!=b){\n \t\t\t System.out.print(\"#\");\n \t\t }else{\n \t\t\t System.out.println(\"#\");\n \t\t }\n \t\t d = d+1;\n \t }\n \t c = c+1;\n \t d = 1;\n }\n e=e+1;\n }",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"c = 1",
"c",
"1",
"d = 1",
"d",
"1",
"if (e != 1){\n \t System.out.println();\n }",
"e != 1",
"e",
"1",
"{\n \t System.out.println();\n }",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"while(c<=a){\n \t while(d<=b){\n \t\t if(d!=b){\n \t\t\t System.out.print(\"#\");\n \t\t }else{\n \t\t\t System.out.println(\"#\");\n \t\t }\n \t\t d = d+1;\n \t }\n \t c = c+1;\n \t d = 1;\n }",
"c<=a",
"c",
"a",
"{\n \t while(d<=b){\n \t\t if(d!=b){\n \t\t\t System.out.print(\"#\");\n \t\t }else{\n \t\t\t System.out.println(\"#\");\n \t\t }\n \t\t d = d+1;\n \t }\n \t c = c+1;\n \t d = 1;\n }",
"while(d<=b){\n \t\t if(d!=b){\n \t\t\t System.out.print(\"#\");\n \t\t }else{\n \t\t\t System.out.println(\"#\");\n \t\t }\n \t\t d = d+1;\n \t }",
"d<=b",
"d",
"b",
"{\n \t\t if(d!=b){\n \t\t\t System.out.print(\"#\");\n \t\t }else{\n \t\t\t System.out.println(\"#\");\n \t\t }\n \t\t d = d+1;\n \t }",
"if(d!=b){\n \t\t\t System.out.print(\"#\");\n \t\t }else{\n \t\t\t System.out.println(\"#\");\n \t\t }",
"d!=b",
"d",
"b",
"{\n \t\t\t System.out.print(\"#\");\n \t\t }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"{\n \t\t\t System.out.println(\"#\");\n \t\t }",
"System.out.println(\"#\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"#\"",
"d = d+1",
"d",
"d+1",
"d",
"1",
"c = c+1",
"c",
"c+1",
"c",
"1",
"d = 1",
"d",
"1",
"e=e+1",
"e",
"e+1",
"e",
"1",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t int a,b,c,d,e;\n\t a=1;b=1;e=1;\n Scanner sc = new Scanner(System.in);\n while (a!=0 || b!=0){\n a = sc.nextInt();\n b = sc.nextInt();\n c = 1;\n d = 1;\n if (e != 1){\n \t System.out.println();\n }\n while(c<=a){\n \t while(d<=b){\n \t\t if(d!=b){\n \t\t\t System.out.print(\"#\");\n \t\t }else{\n \t\t\t System.out.println(\"#\");\n \t\t }\n \t\t d = d+1;\n \t }\n \t c = c+1;\n \t d = 1;\n }\n e=e+1;\n }\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t int a,b,c,d,e;\n\t a=1;b=1;e=1;\n Scanner sc = new Scanner(System.in);\n while (a!=0 || b!=0){\n a = sc.nextInt();\n b = sc.nextInt();\n c = 1;\n d = 1;\n if (e != 1){\n \t System.out.println();\n }\n while(c<=a){\n \t while(d<=b){\n \t\t if(d!=b){\n \t\t\t System.out.print(\"#\");\n \t\t }else{\n \t\t\t System.out.println(\"#\");\n \t\t }\n \t\t d = d+1;\n \t }\n \t c = c+1;\n \t d = 1;\n }\n e=e+1;\n }\n\t}\n\n}",
"Main"
] | import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
// TODO ?????????????????????????????????????????????
int a,b,c,d,e;
a=1;b=1;e=1;
Scanner sc = new Scanner(System.in);
while (a!=0 || b!=0){
a = sc.nextInt();
b = sc.nextInt();
c = 1;
d = 1;
if (e != 1){
System.out.println();
}
while(c<=a){
while(d<=b){
if(d!=b){
System.out.print("#");
}else{
System.out.println("#");
}
d = d+1;
}
c = c+1;
d = 1;
}
e=e+1;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
17,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
14,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
14,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
48,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
60,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
14,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
6,
92
],
[
92,
93
]
] | [
"/* ITP1_5_A */\nimport java.io.*;\n\nclass Main\n{\n public static void main(String[] args) throws IOException\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n //input\n String str[] = br.readLine().split(\" \");\n int height = Integer.parseInt(str[0]);\n int width = Integer.parseInt(str[1]);\n //finish\n if(height == 0 && width == 0) break;\n //draw\n for(int i = 0; i < height; i++){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n public static void main(String[] args) throws IOException\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n //input\n String str[] = br.readLine().split(\" \");\n int height = Integer.parseInt(str[0]);\n int width = Integer.parseInt(str[1]);\n //finish\n if(height == 0 && width == 0) break;\n //draw\n for(int i = 0; i < height; i++){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n\n }\n}",
"Main",
"public static void main(String[] args) throws IOException\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n //input\n String str[] = br.readLine().split(\" \");\n int height = Integer.parseInt(str[0]);\n int width = Integer.parseInt(str[1]);\n //finish\n if(height == 0 && width == 0) break;\n //draw\n for(int i = 0; i < height; i++){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n //input\n String str[] = br.readLine().split(\" \");\n int height = Integer.parseInt(str[0]);\n int width = Integer.parseInt(str[1]);\n //finish\n if(height == 0 && width == 0) break;\n //draw\n for(int i = 0; i < height; i++){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n //input\n String str[] = br.readLine().split(\" \");\n int height = Integer.parseInt(str[0]);\n int width = Integer.parseInt(str[1]);\n //finish\n if(height == 0 && width == 0) break;\n //draw\n for(int i = 0; i < height; i++){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }",
"true",
"{\n //input\n String str[] = br.readLine().split(\" \");\n int height = Integer.parseInt(str[0]);\n int width = Integer.parseInt(str[1]);\n //finish\n if(height == 0 && width == 0) break;\n //draw\n for(int i = 0; i < height; i++){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }",
"String str[] = br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int height = Integer.parseInt(str[0]);",
"height",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"int width = Integer.parseInt(str[1]);",
"width",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"if(height == 0 && width == 0) break;",
"height == 0 && width == 0",
"height == 0",
"height",
"0",
"width == 0",
"width",
"0",
"break;",
"for(int i = 0; i < height; i++){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < height",
"i",
"height",
"i++",
"i++",
"i",
"{\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }",
"{\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }",
"for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < width",
"j",
"width",
"j++",
"j++",
"j",
"{\n System.out.print(\"#\");\n }",
"{\n System.out.print(\"#\");\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args"
] | /* ITP1_5_A */
import java.io.*;
class Main
{
public static void main(String[] args) throws IOException
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
//input
String str[] = br.readLine().split(" ");
int height = Integer.parseInt(str[0]);
int width = Integer.parseInt(str[1]);
//finish
if(height == 0 && width == 0) break;
//draw
for(int i = 0; i < height; i++){
for(int j = 0; j < width; j++){
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
116,
8
],
[
116,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
33,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
33,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
33,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
33,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
74,
75
],
[
75,
76
],
[
66,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
84,
86
],
[
79,
87
],
[
87,
88
],
[
88,
89
],
[
79,
90
],
[
91,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
78,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
33,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
11,
110
],
[
110,
111
],
[
111,
112
],
[
9,
113
],
[
113,
114
],
[
0,
115
],
[
115,
116
],
[
115,
117
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\npublic class Main{\n\tpublic static void main(String[]args)throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint H=0;\n\t\tint W=0;\n\t\tString[] arr;\n\t\twhile((str=br.readLine())!=null){\n\t\t\tarr=str.split(\" \");\n\t\t\tH=Integer.parseInt(arr[0]);\n\t\t\tW=Integer.parseInt(arr[1]);\n\t\t\tif((H==0)&&(W==0)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t\tbr.close();\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main{\n\tpublic static void main(String[]args)throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint H=0;\n\t\tint W=0;\n\t\tString[] arr;\n\t\twhile((str=br.readLine())!=null){\n\t\t\tarr=str.split(\" \");\n\t\t\tH=Integer.parseInt(arr[0]);\n\t\t\tW=Integer.parseInt(arr[1]);\n\t\t\tif((H==0)&&(W==0)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t\tbr.close();\n\t}\n}",
"Main",
"public static void main(String[]args)throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint H=0;\n\t\tint W=0;\n\t\tString[] arr;\n\t\twhile((str=br.readLine())!=null){\n\t\t\tarr=str.split(\" \");\n\t\t\tH=Integer.parseInt(arr[0]);\n\t\t\tW=Integer.parseInt(arr[1]);\n\t\t\tif((H==0)&&(W==0)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t\tbr.close();\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint H=0;\n\t\tint W=0;\n\t\tString[] arr;\n\t\twhile((str=br.readLine())!=null){\n\t\t\tarr=str.split(\" \");\n\t\t\tH=Integer.parseInt(arr[0]);\n\t\t\tW=Integer.parseInt(arr[1]);\n\t\t\tif((H==0)&&(W==0)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t\tbr.close();\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"int H=0;",
"H",
"0",
"int W=0;",
"W",
"0",
"String[] arr;",
"arr",
"while((str=br.readLine())!=null){\n\t\t\tarr=str.split(\" \");\n\t\t\tH=Integer.parseInt(arr[0]);\n\t\t\tW=Integer.parseInt(arr[1]);\n\t\t\tif((H==0)&&(W==0)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}",
"(str=br.readLine())!=null",
"(str=br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tarr=str.split(\" \");\n\t\t\tH=Integer.parseInt(arr[0]);\n\t\t\tW=Integer.parseInt(arr[1]);\n\t\t\tif((H==0)&&(W==0)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}",
"arr=str.split(\" \")",
"arr",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"H=Integer.parseInt(arr[0])",
"H",
"Integer.parseInt(arr[0])",
"Integer.parseInt",
"Integer",
"arr[0]",
"arr",
"0",
"W=Integer.parseInt(arr[1])",
"W",
"Integer.parseInt(arr[1])",
"Integer.parseInt",
"Integer",
"arr[1]",
"arr",
"1",
"if((H==0)&&(W==0)){\n\t\t\t\tbreak;\n\t\t\t}",
"(H==0)&&(W==0)",
"(H==0)",
"H",
"0",
"(W==0)",
"W",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}",
"{\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}",
"for(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"br.close()",
"br.close",
"br",
"String[]args",
"args",
"public class Main{\n\tpublic static void main(String[]args)throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint H=0;\n\t\tint W=0;\n\t\tString[] arr;\n\t\twhile((str=br.readLine())!=null){\n\t\t\tarr=str.split(\" \");\n\t\t\tH=Integer.parseInt(arr[0]);\n\t\t\tW=Integer.parseInt(arr[1]);\n\t\t\tif((H==0)&&(W==0)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t\tbr.close();\n\t}\n}",
"public class Main{\n\tpublic static void main(String[]args)throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint H=0;\n\t\tint W=0;\n\t\tString[] arr;\n\t\twhile((str=br.readLine())!=null){\n\t\t\tarr=str.split(\" \");\n\t\t\tH=Integer.parseInt(arr[0]);\n\t\t\tW=Integer.parseInt(arr[1]);\n\t\t\tif((H==0)&&(W==0)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t\tbr.close();\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main{
public static void main(String[]args)throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
int H=0;
int W=0;
String[] arr;
while((str=br.readLine())!=null){
arr=str.split(" ");
H=Integer.parseInt(arr[0]);
W=Integer.parseInt(arr[1]);
if((H==0)&&(W==0)){
break;
}
for(int i=0;i<H;i++){
for(int j=0;j<W;j++){
System.out.print("#");
}
System.out.print("\n");
}
System.out.print("\n");
}
br.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
0,
13,
20,
17,
0,
13,
20,
17,
41,
13,
20,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
3,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
3,
11,
1,
0,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
0,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
147,
5
],
[
147,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
42,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
58,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
57,
69
],
[
8,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
79,
80
],
[
70,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
84,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
83,
95
],
[
82,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
96,
106
],
[
106,
107
],
[
107,
108
],
[
96,
109
],
[
110,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
118,
120
],
[
111,
121
],
[
121,
122
],
[
122,
123
],
[
111,
124
],
[
125,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
126,
131
],
[
110,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
132,
137
],
[
82,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
138,
143
],
[
6,
144
],
[
144,
145
],
[
0,
146
],
[
146,
147
],
[
146,
148
]
] | [
"import java.util.Scanner;\npublic class Main{\n public static void main(String args[]){\n int i,a,b;\n int[] m,n;\n m = new int[100];\n n = new int[100];\n Scanner scan = new Scanner(System.in);\n for(i=0;i<100;i++){\n m[i] = scan.nextInt();\n n[i] = scan.nextInt();\n if(m[i]==0 && n[i]==0) break;\n }\n for(i=0;i<100;i++){\n if(m[i]==0 && n[i]==0) break;\n for(a=0;a<m[i];a++){\n for(b=0;b<n[i];b++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n \n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String args[]){\n int i,a,b;\n int[] m,n;\n m = new int[100];\n n = new int[100];\n Scanner scan = new Scanner(System.in);\n for(i=0;i<100;i++){\n m[i] = scan.nextInt();\n n[i] = scan.nextInt();\n if(m[i]==0 && n[i]==0) break;\n }\n for(i=0;i<100;i++){\n if(m[i]==0 && n[i]==0) break;\n for(a=0;a<m[i];a++){\n for(b=0;b<n[i];b++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n \n }\n}",
"Main",
"public static void main(String args[]){\n int i,a,b;\n int[] m,n;\n m = new int[100];\n n = new int[100];\n Scanner scan = new Scanner(System.in);\n for(i=0;i<100;i++){\n m[i] = scan.nextInt();\n n[i] = scan.nextInt();\n if(m[i]==0 && n[i]==0) break;\n }\n for(i=0;i<100;i++){\n if(m[i]==0 && n[i]==0) break;\n for(a=0;a<m[i];a++){\n for(b=0;b<n[i];b++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n \n }",
"main",
"{\n int i,a,b;\n int[] m,n;\n m = new int[100];\n n = new int[100];\n Scanner scan = new Scanner(System.in);\n for(i=0;i<100;i++){\n m[i] = scan.nextInt();\n n[i] = scan.nextInt();\n if(m[i]==0 && n[i]==0) break;\n }\n for(i=0;i<100;i++){\n if(m[i]==0 && n[i]==0) break;\n for(a=0;a<m[i];a++){\n for(b=0;b<n[i];b++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n \n }",
"int i",
"i",
"a",
"a",
"b;",
"b",
"int[] m",
"m",
"n;",
"n",
"m = new int[100]",
"m",
"new int[100]",
"100",
"n = new int[100]",
"n",
"new int[100]",
"100",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(i=0;i<100;i++){\n m[i] = scan.nextInt();\n n[i] = scan.nextInt();\n if(m[i]==0 && n[i]==0) break;\n }",
"i=0;",
"i=0",
"i",
"0",
"i<100",
"i",
"100",
"i++",
"i++",
"i",
"{\n m[i] = scan.nextInt();\n n[i] = scan.nextInt();\n if(m[i]==0 && n[i]==0) break;\n }",
"{\n m[i] = scan.nextInt();\n n[i] = scan.nextInt();\n if(m[i]==0 && n[i]==0) break;\n }",
"m[i] = scan.nextInt()",
"m[i]",
"m",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"n[i] = scan.nextInt()",
"n[i]",
"n",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(m[i]==0 && n[i]==0) break;",
"m[i]==0 && n[i]==0",
"m[i]==0",
"m[i]",
"m",
"i",
"0",
"n[i]==0",
"n[i]",
"n",
"i",
"0",
"break;",
"for(i=0;i<100;i++){\n if(m[i]==0 && n[i]==0) break;\n for(a=0;a<m[i];a++){\n for(b=0;b<n[i];b++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }",
"i=0;",
"i=0",
"i",
"0",
"i<100",
"i",
"100",
"i++",
"i++",
"i",
"{\n if(m[i]==0 && n[i]==0) break;\n for(a=0;a<m[i];a++){\n for(b=0;b<n[i];b++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }",
"{\n if(m[i]==0 && n[i]==0) break;\n for(a=0;a<m[i];a++){\n for(b=0;b<n[i];b++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }",
"if(m[i]==0 && n[i]==0) break;",
"m[i]==0 && n[i]==0",
"m[i]==0",
"m[i]",
"m",
"i",
"0",
"n[i]==0",
"n[i]",
"n",
"i",
"0",
"break;",
"for(a=0;a<m[i];a++){\n for(b=0;b<n[i];b++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }",
"a=0;",
"a=0",
"a",
"0",
"a<m[i]",
"a",
"m[i]",
"m",
"i",
"a++",
"a++",
"a",
"{\n for(b=0;b<n[i];b++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }",
"{\n for(b=0;b<n[i];b++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }",
"for(b=0;b<n[i];b++){\n System.out.print(\"#\");\n }",
"b=0;",
"b=0",
"b",
"0",
"b<n[i]",
"b",
"n[i]",
"n",
"i",
"b++",
"b++",
"b",
"{\n System.out.print(\"#\");\n }",
"{\n System.out.print(\"#\");\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String args[]",
"args",
"public class Main{\n public static void main(String args[]){\n int i,a,b;\n int[] m,n;\n m = new int[100];\n n = new int[100];\n Scanner scan = new Scanner(System.in);\n for(i=0;i<100;i++){\n m[i] = scan.nextInt();\n n[i] = scan.nextInt();\n if(m[i]==0 && n[i]==0) break;\n }\n for(i=0;i<100;i++){\n if(m[i]==0 && n[i]==0) break;\n for(a=0;a<m[i];a++){\n for(b=0;b<n[i];b++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n \n }\n}",
"public class Main{\n public static void main(String args[]){\n int i,a,b;\n int[] m,n;\n m = new int[100];\n n = new int[100];\n Scanner scan = new Scanner(System.in);\n for(i=0;i<100;i++){\n m[i] = scan.nextInt();\n n[i] = scan.nextInt();\n if(m[i]==0 && n[i]==0) break;\n }\n for(i=0;i<100;i++){\n if(m[i]==0 && n[i]==0) break;\n for(a=0;a<m[i];a++){\n for(b=0;b<n[i];b++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n \n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String args[]){
int i,a,b;
int[] m,n;
m = new int[100];
n = new int[100];
Scanner scan = new Scanner(System.in);
for(i=0;i<100;i++){
m[i] = scan.nextInt();
n[i] = scan.nextInt();
if(m[i]==0 && n[i]==0) break;
}
for(i=0;i<100;i++){
if(m[i]==0 && n[i]==0) break;
for(a=0;a<m[i];a++){
for(b=0;b<n[i];b++){
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
13,
4,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
13,
41,
13,
20,
28,
13,
13,
30,
30,
41,
13,
4,
13,
13,
41,
13,
18,
13,
17,
41,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
4,
18,
13,
17,
30,
4,
18,
13,
17,
4,
18,
13,
4,
13,
13,
13,
29,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
29,
4,
18,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
38,
5,
13,
30,
37,
20,
30,
14,
2,
13,
17,
30,
38,
5,
13,
30,
30,
4,
18,
13,
14,
2,
13,
17,
30,
38,
5,
13,
30,
30,
4,
18,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
4,
18,
4,
18,
13,
13,
17,
29,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
17,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
276,
14
],
[
276,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
15,
30
],
[
30,
31
],
[
276,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
34,
43
],
[
43,
44
],
[
43,
45
],
[
43,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
47,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
47,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
47,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
47,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
74,
78
],
[
73,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
47,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
87,
88
],
[
87,
89
],
[
87,
90
],
[
34,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
32,
95
],
[
95,
96
],
[
276,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
108,
109
],
[
108,
110
],
[
103,
111
],
[
111,
112
],
[
112,
113
],
[
103,
114
],
[
115,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
121,
122
],
[
121,
123
],
[
116,
124
],
[
124,
125
],
[
125,
126
],
[
116,
127
],
[
128,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
115,
133
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
99,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
97,
141
],
[
141,
142
],
[
97,
143
],
[
143,
144
],
[
276,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
151,
152
],
[
151,
153
],
[
147,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
154,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
161,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
166,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
160,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
174,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
179,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
154,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
187,
191
],
[
191,
192
],
[
191,
193
],
[
187,
194
],
[
194,
195
],
[
194,
196
],
[
187,
197
],
[
197,
198
],
[
187,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
204,
205
],
[
200,
206
],
[
199,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
210,
213
],
[
208,
214
],
[
187,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
145,
219
],
[
219,
220
],
[
276,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
227,
228
],
[
226,
229
],
[
223,
230
],
[
230,
231
],
[
230,
232
],
[
233,
234
],
[
233,
235
],
[
223,
236
],
[
236,
237
],
[
237,
238
],
[
238,
239
],
[
238,
240
],
[
236,
241
],
[
241,
242
],
[
241,
243
],
[
243,
244
],
[
243,
245
],
[
236,
246
],
[
246,
247
],
[
247,
248
],
[
236,
249
],
[
250,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
251,
255
],
[
255,
256
],
[
256,
257
],
[
255,
258
],
[
258,
259
],
[
258,
260
],
[
223,
261
],
[
261,
262
],
[
221,
263
],
[
263,
264
],
[
276,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
269,
272
],
[
265,
273
],
[
273,
274
],
[
0,
275
],
[
275,
276
],
[
275,
277
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n StringBuilder sb = new StringBuilder();\n\n for (String line : lines) {\n final int[] split = split(line);\n\n int height = split[0];\n int width = split[1];\n\n if (height == 0 && width == 0) {\n break;\n }\n\n if (sb.length() > 0) {\n sb.append(\"\\n\");\n }\n\n sb.append(rectangle(width, height));\n }\n\n return sb.toString();\n }\n\n static String rectangle(int width, int height) {\n StringBuilder sb = new StringBuilder();\n\n for (int i = 0; i < height; i++) {\n for (int j = 0; j < width; j++) {\n sb.append('#');\n }\n sb.append('\\n');\n }\n\n return sb.toString();\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n StringBuilder sb = new StringBuilder();\n\n for (String line : lines) {\n final int[] split = split(line);\n\n int height = split[0];\n int width = split[1];\n\n if (height == 0 && width == 0) {\n break;\n }\n\n if (sb.length() > 0) {\n sb.append(\"\\n\");\n }\n\n sb.append(rectangle(width, height));\n }\n\n return sb.toString();\n }\n\n static String rectangle(int width, int height) {\n StringBuilder sb = new StringBuilder();\n\n for (int i = 0; i < height; i++) {\n for (int j = 0; j < width; j++) {\n sb.append('#');\n }\n sb.append('\\n');\n }\n\n return sb.toString();\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n}",
"Main",
"public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }",
"main",
"{\n System.out.println(process(readAll(System.in)));\n }",
"System.out.println(process(readAll(System.in)))",
"System.out.println",
"System.out",
"System",
"System.out",
"process(readAll(System.in))",
"process",
"readAll(System.in)",
"readAll",
"System.in",
"System",
"System.in",
"String[] args",
"args",
"protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n StringBuilder sb = new StringBuilder();\n\n for (String line : lines) {\n final int[] split = split(line);\n\n int height = split[0];\n int width = split[1];\n\n if (height == 0 && width == 0) {\n break;\n }\n\n if (sb.length() > 0) {\n sb.append(\"\\n\");\n }\n\n sb.append(rectangle(width, height));\n }\n\n return sb.toString();\n }",
"process",
"{\n final String[] lines = splitForLines(data);\n\n StringBuilder sb = new StringBuilder();\n\n for (String line : lines) {\n final int[] split = split(line);\n\n int height = split[0];\n int width = split[1];\n\n if (height == 0 && width == 0) {\n break;\n }\n\n if (sb.length() > 0) {\n sb.append(\"\\n\");\n }\n\n sb.append(rectangle(width, height));\n }\n\n return sb.toString();\n }",
"final String[] lines = splitForLines(data);",
"lines",
"splitForLines(data)",
"splitForLines",
"data",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (String line : lines) {\n final int[] split = split(line);\n\n int height = split[0];\n int width = split[1];\n\n if (height == 0 && width == 0) {\n break;\n }\n\n if (sb.length() > 0) {\n sb.append(\"\\n\");\n }\n\n sb.append(rectangle(width, height));\n }",
"String line",
"lines",
"{\n final int[] split = split(line);\n\n int height = split[0];\n int width = split[1];\n\n if (height == 0 && width == 0) {\n break;\n }\n\n if (sb.length() > 0) {\n sb.append(\"\\n\");\n }\n\n sb.append(rectangle(width, height));\n }",
"{\n final int[] split = split(line);\n\n int height = split[0];\n int width = split[1];\n\n if (height == 0 && width == 0) {\n break;\n }\n\n if (sb.length() > 0) {\n sb.append(\"\\n\");\n }\n\n sb.append(rectangle(width, height));\n }",
"final int[] split = split(line);",
"split",
"split(line)",
"split",
"line",
"int height = split[0];",
"height",
"split[0]",
"split",
"0",
"int width = split[1];",
"width",
"split[1]",
"split",
"1",
"if (height == 0 && width == 0) {\n break;\n }",
"height == 0 && width == 0",
"height == 0",
"height",
"0",
"width == 0",
"width",
"0",
"{\n break;\n }",
"break;",
"if (sb.length() > 0) {\n sb.append(\"\\n\");\n }",
"sb.length() > 0",
"sb.length()",
"sb.length",
"sb",
"0",
"{\n sb.append(\"\\n\");\n }",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"sb.append(rectangle(width, height))",
"sb.append",
"sb",
"rectangle(width, height)",
"rectangle",
"width",
"height",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"String data",
"data",
"static String rectangle(int width, int height) {\n StringBuilder sb = new StringBuilder();\n\n for (int i = 0; i < height; i++) {\n for (int j = 0; j < width; j++) {\n sb.append('#');\n }\n sb.append('\\n');\n }\n\n return sb.toString();\n }",
"rectangle",
"{\n StringBuilder sb = new StringBuilder();\n\n for (int i = 0; i < height; i++) {\n for (int j = 0; j < width; j++) {\n sb.append('#');\n }\n sb.append('\\n');\n }\n\n return sb.toString();\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = 0; i < height; i++) {\n for (int j = 0; j < width; j++) {\n sb.append('#');\n }\n sb.append('\\n');\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < height",
"i",
"height",
"i++",
"i++",
"i",
"{\n for (int j = 0; j < width; j++) {\n sb.append('#');\n }\n sb.append('\\n');\n }",
"{\n for (int j = 0; j < width; j++) {\n sb.append('#');\n }\n sb.append('\\n');\n }",
"for (int j = 0; j < width; j++) {\n sb.append('#');\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < width",
"j",
"width",
"j++",
"j++",
"j",
"{\n sb.append('#');\n }",
"{\n sb.append('#');\n }",
"sb.append('#')",
"sb.append",
"sb",
"'#'",
"sb.append('\\n')",
"sb.append",
"sb",
"'\\n'",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"int width",
"width",
"int height",
"height",
"private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }",
"readAll",
"{\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }",
"InputStreamReader r = null;",
"r",
"null",
"BufferedReader br = null;",
"br",
"null",
"try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }",
"if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }",
"br != null",
"br",
"null",
"{\n try {\n br.close();\n } catch (IOException e) {\n }\n }",
"try {\n br.close();\n } catch (IOException e) {\n }",
"catch (IOException e) {\n }",
"IOException e",
"{\n }",
"{\n br.close();\n }",
"br.close()",
"br.close",
"br",
"if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }",
"r != null",
"r",
"null",
"{\n try {\n r.close();\n } catch (IOException e) {\n }\n }",
"try {\n r.close();\n } catch (IOException e) {\n }",
"catch (IOException e) {\n }",
"IOException e",
"{\n }",
"{\n r.close();\n }",
"r.close()",
"r.close",
"r",
"{\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n }",
"r = new InputStreamReader(is)",
"r",
"new InputStreamReader(is)",
"br = new BufferedReader(r)",
"br",
"new BufferedReader(r)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"String s;",
"s",
"while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }",
"(s = br.readLine()) != null",
"(s = br.readLine())",
"s",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n sb.append(s).append('\\n');\n }",
"sb.append(s).append('\\n')",
"sb.append(s).append",
"sb.append(s)",
"sb.append",
"sb",
"s",
"'\\n'",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"InputStream is",
"is",
"private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }",
"split",
"{\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }",
"final String[] s0 = s.split(\" \");",
"s0",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"int[] ia = new int[s0.length];",
"ia",
"new int[s0.length]",
"s0.length",
"s0",
"s0.length",
"for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s0.length",
"i",
"s0.length",
"s0",
"s0.length",
"i++",
"i++",
"i",
"{\n ia[i] = Integer.parseInt(s0[i]);\n }",
"{\n ia[i] = Integer.parseInt(s0[i]);\n }",
"ia[i] = Integer.parseInt(s0[i])",
"ia[i]",
"ia",
"i",
"Integer.parseInt(s0[i])",
"Integer.parseInt",
"Integer",
"s0[i]",
"s0",
"i",
"return ia;",
"ia",
"String s",
"s",
"private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }",
"splitForLines",
"{\n return lines.split(\"\\\\n\");\n }",
"return lines.split(\"\\\\n\");",
"lines.split(\"\\\\n\")",
"lines.split",
"lines",
"\"\\\\n\"",
"String lines",
"lines",
"public class Main {\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n StringBuilder sb = new StringBuilder();\n\n for (String line : lines) {\n final int[] split = split(line);\n\n int height = split[0];\n int width = split[1];\n\n if (height == 0 && width == 0) {\n break;\n }\n\n if (sb.length() > 0) {\n sb.append(\"\\n\");\n }\n\n sb.append(rectangle(width, height));\n }\n\n return sb.toString();\n }\n\n static String rectangle(int width, int height) {\n StringBuilder sb = new StringBuilder();\n\n for (int i = 0; i < height; i++) {\n for (int j = 0; j < width; j++) {\n sb.append('#');\n }\n sb.append('\\n');\n }\n\n return sb.toString();\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n StringBuilder sb = new StringBuilder();\n\n for (String line : lines) {\n final int[] split = split(line);\n\n int height = split[0];\n int width = split[1];\n\n if (height == 0 && width == 0) {\n break;\n }\n\n if (sb.length() > 0) {\n sb.append(\"\\n\");\n }\n\n sb.append(rectangle(width, height));\n }\n\n return sb.toString();\n }\n\n static String rectangle(int width, int height) {\n StringBuilder sb = new StringBuilder();\n\n for (int i = 0; i < height; i++) {\n for (int j = 0; j < width; j++) {\n sb.append('#');\n }\n sb.append('\\n');\n }\n\n return sb.toString();\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
System.out.println(process(readAll(System.in)));
}
protected static String process(String data) {
final String[] lines = splitForLines(data);
StringBuilder sb = new StringBuilder();
for (String line : lines) {
final int[] split = split(line);
int height = split[0];
int width = split[1];
if (height == 0 && width == 0) {
break;
}
if (sb.length() > 0) {
sb.append("\n");
}
sb.append(rectangle(width, height));
}
return sb.toString();
}
static String rectangle(int width, int height) {
StringBuilder sb = new StringBuilder();
for (int i = 0; i < height; i++) {
for (int j = 0; j < width; j++) {
sb.append('#');
}
sb.append('\n');
}
return sb.toString();
}
private static String readAll(InputStream is) {
InputStreamReader r = null;
BufferedReader br = null;
try {
r = new InputStreamReader(is);
br = new BufferedReader(r);
StringBuilder sb = new StringBuilder();
String s;
while ((s = br.readLine()) != null) {
sb.append(s).append('\n');
}
return sb.toString();
} catch (IOException e) {
throw new RuntimeException(e);
} finally {
if (br != null) {
try {
br.close();
} catch (IOException e) {
}
}
if (r != null) {
try {
r.close();
} catch (IOException e) {
}
}
}
}
private static int[] split(String s) {
final String[] s0 = s.split(" ");
int[] ia = new int[s0.length];
for (int i = 0; i < s0.length; i++) {
ia[i] = Integer.parseInt(s0[i]);
}
return ia;
}
private static String[] splitForLines(String lines) {
return lines.split("\\n");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
17,
41,
13,
41,
13,
42,
17,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
0,
13,
17,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
0,
13,
17,
30,
30,
4,
18,
13,
17,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
116,
11
],
[
116,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
14,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
36,
41
],
[
30,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
30,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
55,
57
],
[
30,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
30,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
67,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
86,
88
],
[
81,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
81,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
80,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
30,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
30,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
12,
113
],
[
113,
114
],
[
0,
115
],
[
115,
116
],
[
115,
117
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfinal String LINE_SEPARATOR = System.getProperty(\"line.separator\");\n\t\tint H, W;\n\t\twhile (true) {\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tString[] str = in.readLine().split(\" \");\n\t\t\tH = Integer.parseInt(str[0]);\n\t\t\tW = Integer.parseInt(str[1]);\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < H; i += 1) {\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(LINE_SEPARATOR);\n\t\t\t}\n\t\t\tsb.append(LINE_SEPARATOR);\n\t\t\tSystem.out.print(sb);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfinal String LINE_SEPARATOR = System.getProperty(\"line.separator\");\n\t\tint H, W;\n\t\twhile (true) {\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tString[] str = in.readLine().split(\" \");\n\t\t\tH = Integer.parseInt(str[0]);\n\t\t\tW = Integer.parseInt(str[1]);\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < H; i += 1) {\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(LINE_SEPARATOR);\n\t\t\t}\n\t\t\tsb.append(LINE_SEPARATOR);\n\t\t\tSystem.out.print(sb);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfinal String LINE_SEPARATOR = System.getProperty(\"line.separator\");\n\t\tint H, W;\n\t\twhile (true) {\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tString[] str = in.readLine().split(\" \");\n\t\t\tH = Integer.parseInt(str[0]);\n\t\t\tW = Integer.parseInt(str[1]);\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < H; i += 1) {\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(LINE_SEPARATOR);\n\t\t\t}\n\t\t\tsb.append(LINE_SEPARATOR);\n\t\t\tSystem.out.print(sb);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfinal String LINE_SEPARATOR = System.getProperty(\"line.separator\");\n\t\tint H, W;\n\t\twhile (true) {\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tString[] str = in.readLine().split(\" \");\n\t\t\tH = Integer.parseInt(str[0]);\n\t\t\tW = Integer.parseInt(str[1]);\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < H; i += 1) {\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(LINE_SEPARATOR);\n\t\t\t}\n\t\t\tsb.append(LINE_SEPARATOR);\n\t\t\tSystem.out.print(sb);\n\t\t}\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"final String LINE_SEPARATOR = System.getProperty(\"line.separator\");",
"LINE_SEPARATOR",
"System.getProperty(\"line.separator\")",
"System.getProperty",
"System",
"\"line.separator\"",
"int H",
"H",
"W;",
"W",
"while (true) {\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tString[] str = in.readLine().split(\" \");\n\t\t\tH = Integer.parseInt(str[0]);\n\t\t\tW = Integer.parseInt(str[1]);\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < H; i += 1) {\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(LINE_SEPARATOR);\n\t\t\t}\n\t\t\tsb.append(LINE_SEPARATOR);\n\t\t\tSystem.out.print(sb);\n\t\t}",
"true",
"{\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tString[] str = in.readLine().split(\" \");\n\t\t\tH = Integer.parseInt(str[0]);\n\t\t\tW = Integer.parseInt(str[1]);\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < H; i += 1) {\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(LINE_SEPARATOR);\n\t\t\t}\n\t\t\tsb.append(LINE_SEPARATOR);\n\t\t\tSystem.out.print(sb);\n\t\t}",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"String[] str = in.readLine().split(\" \");",
"str",
"in.readLine().split(\" \")",
"in.readLine().split",
"in.readLine()",
"in.readLine",
"in",
"\" \"",
"H = Integer.parseInt(str[0])",
"H",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"W = Integer.parseInt(str[1])",
"W",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"if (H == 0 && W == 0)\n\t\t\t\tbreak;",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"break;",
"for (int i = 0; i < H; i += 1) {\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(LINE_SEPARATOR);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i += 1",
"i += 1",
"i",
"1",
"{\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(LINE_SEPARATOR);\n\t\t\t}",
"{\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(LINE_SEPARATOR);\n\t\t\t}",
"for (int j = 0; j < W; j += 1) {\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j += 1",
"j += 1",
"j",
"1",
"{\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"sb.append(\"#\")",
"sb.append",
"sb",
"\"#\"",
"sb.append(LINE_SEPARATOR)",
"sb.append",
"sb",
"LINE_SEPARATOR",
"sb.append(LINE_SEPARATOR)",
"sb.append",
"sb",
"LINE_SEPARATOR",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfinal String LINE_SEPARATOR = System.getProperty(\"line.separator\");\n\t\tint H, W;\n\t\twhile (true) {\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tString[] str = in.readLine().split(\" \");\n\t\t\tH = Integer.parseInt(str[0]);\n\t\t\tW = Integer.parseInt(str[1]);\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < H; i += 1) {\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(LINE_SEPARATOR);\n\t\t\t}\n\t\t\tsb.append(LINE_SEPARATOR);\n\t\t\tSystem.out.print(sb);\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfinal String LINE_SEPARATOR = System.getProperty(\"line.separator\");\n\t\tint H, W;\n\t\twhile (true) {\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tString[] str = in.readLine().split(\" \");\n\t\t\tH = Integer.parseInt(str[0]);\n\t\t\tW = Integer.parseInt(str[1]);\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < H; i += 1) {\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(LINE_SEPARATOR);\n\t\t\t}\n\t\t\tsb.append(LINE_SEPARATOR);\n\t\t\tSystem.out.print(sb);\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
final String LINE_SEPARATOR = System.getProperty("line.separator");
int H, W;
while (true) {
StringBuilder sb = new StringBuilder();
String[] str = in.readLine().split(" ");
H = Integer.parseInt(str[0]);
W = Integer.parseInt(str[1]);
if (H == 0 && W == 0)
break;
for (int i = 0; i < H; i += 1) {
for (int j = 0; j < W; j += 1) {
sb.append("#");
}
sb.append(LINE_SEPARATOR);
}
sb.append(LINE_SEPARATOR);
System.out.print(sb);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
17,
30,
0,
18,
13,
17,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
14,
2,
18,
13,
17,
17,
3,
11,
1,
41,
13,
17,
2,
13,
18,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
89,
5
],
[
89,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
18,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
33,
39
],
[
18,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
55,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
54,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
18,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
6,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] | [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] num= new int[2];\n\n\t\twhile(true) {\n\t\t\tnum[0] = scan.nextInt();\n\t\t\tnum[1] = scan.nextInt();\n\t\t\tif(num[0] == 0) break;\n\t\t\tfor(int i1 = 0; i1 < num[0];i1++) {\n\t\t\t\tfor(int i2 = 0;i2 < num[1];i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] num= new int[2];\n\n\t\twhile(true) {\n\t\t\tnum[0] = scan.nextInt();\n\t\t\tnum[1] = scan.nextInt();\n\t\t\tif(num[0] == 0) break;\n\t\t\tfor(int i1 = 0; i1 < num[0];i1++) {\n\t\t\t\tfor(int i2 = 0;i2 < num[1];i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] num= new int[2];\n\n\t\twhile(true) {\n\t\t\tnum[0] = scan.nextInt();\n\t\t\tnum[1] = scan.nextInt();\n\t\t\tif(num[0] == 0) break;\n\t\t\tfor(int i1 = 0; i1 < num[0];i1++) {\n\t\t\t\tfor(int i2 = 0;i2 < num[1];i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] num= new int[2];\n\n\t\twhile(true) {\n\t\t\tnum[0] = scan.nextInt();\n\t\t\tnum[1] = scan.nextInt();\n\t\t\tif(num[0] == 0) break;\n\t\t\tfor(int i1 = 0; i1 < num[0];i1++) {\n\t\t\t\tfor(int i2 = 0;i2 < num[1];i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] num= new int[2];",
"num",
"new int[2]",
"2",
"while(true) {\n\t\t\tnum[0] = scan.nextInt();\n\t\t\tnum[1] = scan.nextInt();\n\t\t\tif(num[0] == 0) break;\n\t\t\tfor(int i1 = 0; i1 < num[0];i1++) {\n\t\t\t\tfor(int i2 = 0;i2 < num[1];i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"true",
"{\n\t\t\tnum[0] = scan.nextInt();\n\t\t\tnum[1] = scan.nextInt();\n\t\t\tif(num[0] == 0) break;\n\t\t\tfor(int i1 = 0; i1 < num[0];i1++) {\n\t\t\t\tfor(int i2 = 0;i2 < num[1];i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"num[0] = scan.nextInt()",
"num[0]",
"num",
"0",
"scan.nextInt()",
"scan.nextInt",
"scan",
"num[1] = scan.nextInt()",
"num[1]",
"num",
"1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(num[0] == 0) break;",
"num[0] == 0",
"num[0]",
"num",
"0",
"0",
"break;",
"for(int i1 = 0; i1 < num[0];i1++) {\n\t\t\t\tfor(int i2 = 0;i2 < num[1];i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"int i1 = 0;",
"int i1 = 0;",
"i1",
"0",
"i1 < num[0]",
"i1",
"num[0]",
"num",
"0",
"i1++",
"i1++",
"i1",
"{\n\t\t\t\tfor(int i2 = 0;i2 < num[1];i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"{\n\t\t\t\tfor(int i2 = 0;i2 < num[1];i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"for(int i2 = 0;i2 < num[1];i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int i2 = 0;",
"int i2 = 0;",
"i2",
"0",
"i2 < num[1]",
"i2",
"num[1]",
"num",
"1",
"i2++",
"i2++",
"i2",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] num= new int[2];\n\n\t\twhile(true) {\n\t\t\tnum[0] = scan.nextInt();\n\t\t\tnum[1] = scan.nextInt();\n\t\t\tif(num[0] == 0) break;\n\t\t\tfor(int i1 = 0; i1 < num[0];i1++) {\n\t\t\t\tfor(int i2 = 0;i2 < num[1];i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] num= new int[2];\n\n\t\twhile(true) {\n\t\t\tnum[0] = scan.nextInt();\n\t\t\tnum[1] = scan.nextInt();\n\t\t\tif(num[0] == 0) break;\n\t\t\tfor(int i1 = 0; i1 < num[0];i1++) {\n\t\t\t\tfor(int i2 = 0;i2 < num[1];i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int[] num= new int[2];
while(true) {
num[0] = scan.nextInt();
num[1] = scan.nextInt();
if(num[0] == 0) break;
for(int i1 = 0; i1 < num[0];i1++) {
for(int i2 = 0;i2 < num[1];i2++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
4,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
2,
13,
17,
2,
13,
17,
1,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
99,
5
],
[
99,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
6,
17
],
[
17,
18
],
[
99,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
22,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
22,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
22,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
54,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
67,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
66,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
53,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
19,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n for (int H = in.nextInt(), W = in.nextInt(); \n H != 0 || W != 0; \n H = in.nextInt(), W = in.nextInt()) {\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n for (int H = in.nextInt(), W = in.nextInt(); \n H != 0 || W != 0; \n H = in.nextInt(), W = in.nextInt()) {\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }",
"main",
"{\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }",
"try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }",
"{\n solve(in);\n }",
"Scanner in = new Scanner(System.in)",
"Scanner in = new Scanner(System.in)",
"new Scanner(System.in)",
"solve(in)",
"solve",
"in",
"String[] args",
"args",
"private static void solve(Scanner in) {\n for (int H = in.nextInt(), W = in.nextInt(); \n H != 0 || W != 0; \n H = in.nextInt(), W = in.nextInt()) {\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }",
"solve",
"{\n for (int H = in.nextInt(), W = in.nextInt(); \n H != 0 || W != 0; \n H = in.nextInt(), W = in.nextInt()) {\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }",
"for (int H = in.nextInt(), W = in.nextInt(); \n H != 0 || W != 0; \n H = in.nextInt(), W = in.nextInt()) {\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"int H = in.nextInt(), W = in.nextInt();",
"int H = in.nextInt()",
"H",
"in.nextInt()",
"in.nextInt",
"in",
"W = in.nextInt();",
"W",
"in.nextInt()",
"in.nextInt",
"in",
"H != 0 || W != 0",
"H != 0",
"H",
"0",
"W != 0",
"W",
"0",
"H = in.nextInt(), W = in.nextInt()",
"H = in.nextInt()",
"H",
"in.nextInt()",
"in.nextInt",
"in",
"W = in.nextInt()",
"W",
"in.nextInt()",
"in.nextInt",
"in",
"{\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"{\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n for (int j = 0; j < W; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"{\n for (int j = 0; j < W; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"for (int j = 0; j < W; j++) {\n System.out.print(\"#\");\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n System.out.print(\"#\");\n }",
"{\n System.out.print(\"#\");\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"Scanner in",
"in",
"public class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n for (int H = in.nextInt(), W = in.nextInt(); \n H != 0 || W != 0; \n H = in.nextInt(), W = in.nextInt()) {\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n for (int H = in.nextInt(), W = in.nextInt(); \n H != 0 || W != 0; \n H = in.nextInt(), W = in.nextInt()) {\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner in = new Scanner(System.in)) {
solve(in);
}
}
private static void solve(Scanner in) {
for (int H = in.nextInt(), W = in.nextInt();
H != 0 || W != 0;
H = in.nextInt(), W = in.nextInt()) {
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
107,
11
],
[
107,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
23,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
23,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
23,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
69,
70
],
[
60,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
81,
82
],
[
82,
83
],
[
73,
84
],
[
85,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
72,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
23,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
14,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
12,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
] | [
"import java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while (true){\n String line = br.readLine();\n String[] ln = line.split(\" \");\n int H = Integer.parseInt(ln[0]);\n int W = Integer.parseInt(ln[1]);\n if (H==0 && W==0) break;\n for (int j=0; j<H; j++){ \n for (int i=0; i<W; i++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }\n\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while (true){\n String line = br.readLine();\n String[] ln = line.split(\" \");\n int H = Integer.parseInt(ln[0]);\n int W = Integer.parseInt(ln[1]);\n if (H==0 && W==0) break;\n for (int j=0; j<H; j++){ \n for (int i=0; i<W; i++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while (true){\n String line = br.readLine();\n String[] ln = line.split(\" \");\n int H = Integer.parseInt(ln[0]);\n int W = Integer.parseInt(ln[1]);\n if (H==0 && W==0) break;\n for (int j=0; j<H; j++){ \n for (int i=0; i<W; i++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while (true){\n String line = br.readLine();\n String[] ln = line.split(\" \");\n int H = Integer.parseInt(ln[0]);\n int W = Integer.parseInt(ln[1]);\n if (H==0 && W==0) break;\n for (int j=0; j<H; j++){ \n for (int i=0; i<W; i++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (true){\n String line = br.readLine();\n String[] ln = line.split(\" \");\n int H = Integer.parseInt(ln[0]);\n int W = Integer.parseInt(ln[1]);\n if (H==0 && W==0) break;\n for (int j=0; j<H; j++){ \n for (int i=0; i<W; i++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }",
"true",
"{\n String line = br.readLine();\n String[] ln = line.split(\" \");\n int H = Integer.parseInt(ln[0]);\n int W = Integer.parseInt(ln[1]);\n if (H==0 && W==0) break;\n for (int j=0; j<H; j++){ \n for (int i=0; i<W; i++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"String[] ln = line.split(\" \");",
"ln",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int H = Integer.parseInt(ln[0]);",
"H",
"Integer.parseInt(ln[0])",
"Integer.parseInt",
"Integer",
"ln[0]",
"ln",
"0",
"int W = Integer.parseInt(ln[1]);",
"W",
"Integer.parseInt(ln[1])",
"Integer.parseInt",
"Integer",
"ln[1]",
"ln",
"1",
"if (H==0 && W==0) break;",
"H==0 && W==0",
"H==0",
"H",
"0",
"W==0",
"W",
"0",
"break;",
"for (int j=0; j<H; j++){ \n for (int i=0; i<W; i++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<H",
"j",
"H",
"j++",
"j++",
"j",
"{ \n for (int i=0; i<W; i++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }",
"{ \n for (int i=0; i<W; i++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }",
"for (int i=0; i<W; i++){\n sb.append(\"#\");\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<W",
"i",
"W",
"i++",
"i++",
"i",
"{\n sb.append(\"#\");\n }",
"{\n sb.append(\"#\");\n }",
"sb.append(\"#\")",
"sb.append",
"sb",
"\"#\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while (true){\n String line = br.readLine();\n String[] ln = line.split(\" \");\n int H = Integer.parseInt(ln[0]);\n int W = Integer.parseInt(ln[1]);\n if (H==0 && W==0) break;\n for (int j=0; j<H; j++){ \n for (int i=0; i<W; i++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }\n\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while (true){\n String line = br.readLine();\n String[] ln = line.split(\" \");\n int H = Integer.parseInt(ln[0]);\n int W = Integer.parseInt(ln[1]);\n if (H==0 && W==0) break;\n for (int j=0; j<H; j++){ \n for (int i=0; i<W; i++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }\n\n}",
"Main"
] | import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
while (true){
String line = br.readLine();
String[] ln = line.split(" ");
int H = Integer.parseInt(ln[0]);
int W = Integer.parseInt(ln[1]);
if (H==0 && W==0) break;
for (int j=0; j<H; j++){
for (int i=0; i<W; i++){
sb.append("#");
}
sb.append("\n");
}
sb.append("\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
14,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
46,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
14,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
6,
78
],
[
78,
79
]
] | [
"import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\twhile(true){\n\t int a=sc.nextInt();\n\t int b=sc.nextInt();\n\t if(a==0 && b==0) break;\n\t for(int i=0;i<a;i++){\n\t\tfor(int j=0;j<b;j++){\n\t\t System.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\t\n\t }\n\t System.out.printf(\"\\n\");\n\t}\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\twhile(true){\n\t int a=sc.nextInt();\n\t int b=sc.nextInt();\n\t if(a==0 && b==0) break;\n\t for(int i=0;i<a;i++){\n\t\tfor(int j=0;j<b;j++){\n\t\t System.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\t\n\t }\n\t System.out.printf(\"\\n\");\n\t}\n }\n}",
"Main",
"public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\twhile(true){\n\t int a=sc.nextInt();\n\t int b=sc.nextInt();\n\t if(a==0 && b==0) break;\n\t for(int i=0;i<a;i++){\n\t\tfor(int j=0;j<b;j++){\n\t\t System.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\t\n\t }\n\t System.out.printf(\"\\n\");\n\t}\n }",
"main",
"{\n\tfinal Scanner sc=new Scanner(System.in);\n\twhile(true){\n\t int a=sc.nextInt();\n\t int b=sc.nextInt();\n\t if(a==0 && b==0) break;\n\t for(int i=0;i<a;i++){\n\t\tfor(int j=0;j<b;j++){\n\t\t System.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\t\n\t }\n\t System.out.printf(\"\\n\");\n\t}\n }",
"final Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(true){\n\t int a=sc.nextInt();\n\t int b=sc.nextInt();\n\t if(a==0 && b==0) break;\n\t for(int i=0;i<a;i++){\n\t\tfor(int j=0;j<b;j++){\n\t\t System.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\t\n\t }\n\t System.out.printf(\"\\n\");\n\t}",
"true",
"{\n\t int a=sc.nextInt();\n\t int b=sc.nextInt();\n\t if(a==0 && b==0) break;\n\t for(int i=0;i<a;i++){\n\t\tfor(int j=0;j<b;j++){\n\t\t System.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\t\n\t }\n\t System.out.printf(\"\\n\");\n\t}",
"int a=sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b=sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(a==0 && b==0) break;",
"a==0 && b==0",
"a==0",
"a",
"0",
"b==0",
"b",
"0",
"break;",
"for(int i=0;i<a;i++){\n\t\tfor(int j=0;j<b;j++){\n\t\t System.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\t\n\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a",
"i",
"a",
"i++",
"i++",
"i",
"{\n\t\tfor(int j=0;j<b;j++){\n\t\t System.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\t\n\t }",
"{\n\t\tfor(int j=0;j<b;j++){\n\t\t System.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\t\n\t }",
"for(int j=0;j<b;j++){\n\t\t System.out.printf(\"#\");\n\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<b",
"j",
"b",
"j++",
"j++",
"j",
"{\n\t\t System.out.printf(\"#\");\n\t\t}",
"{\n\t\t System.out.printf(\"#\");\n\t\t}",
"System.out.printf(\"#\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"System.out.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
final Scanner sc=new Scanner(System.in);
while(true){
int a=sc.nextInt();
int b=sc.nextInt();
if(a==0 && b==0) break;
for(int i=0;i<a;i++){
for(int j=0;j<b;j++){
System.out.printf("#");
}
System.out.printf("\n");
}
System.out.printf("\n");
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
29,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
84,
5
],
[
84,
6
],
[
6,
7
],
[
84,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
16,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
37,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
50,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
49,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
16,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
8,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n while (true) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if (x == 0 && y == 0) {\n return;\n }\n for (int i = 0; i < x; i++) {\n for (int p = 0; p < y; p++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n while (true) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if (x == 0 && y == 0) {\n return;\n }\n for (int i = 0; i < x; i++) {\n for (int p = 0; p < y; p++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n }\n }\n}",
"Main",
"private static Scanner scan;",
"scan",
"public static void main(String[] args) {\n scan = new Scanner(System.in);\n while (true) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if (x == 0 && y == 0) {\n return;\n }\n for (int i = 0; i < x; i++) {\n for (int p = 0; p < y; p++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n }\n }",
"main",
"{\n scan = new Scanner(System.in);\n while (true) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if (x == 0 && y == 0) {\n return;\n }\n for (int i = 0; i < x; i++) {\n for (int p = 0; p < y; p++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n }\n }",
"scan = new Scanner(System.in)",
"scan",
"new Scanner(System.in)",
"while (true) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if (x == 0 && y == 0) {\n return;\n }\n for (int i = 0; i < x; i++) {\n for (int p = 0; p < y; p++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n }",
"true",
"{\n int x = scan.nextInt();\n int y = scan.nextInt();\n if (x == 0 && y == 0) {\n return;\n }\n for (int i = 0; i < x; i++) {\n for (int p = 0; p < y; p++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n }",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int y = scan.nextInt();",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (x == 0 && y == 0) {\n return;\n }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n return;\n }",
"return;",
"for (int i = 0; i < x; i++) {\n for (int p = 0; p < y; p++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < x",
"i",
"x",
"i++",
"i++",
"i",
"{\n for (int p = 0; p < y; p++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }",
"{\n for (int p = 0; p < y; p++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }",
"for (int p = 0; p < y; p++) {\n System.out.print(\"#\");\n }",
"int p = 0;",
"int p = 0;",
"p",
"0",
"p < y",
"p",
"y",
"p++",
"p++",
"p",
"{\n System.out.print(\"#\");\n }",
"{\n System.out.print(\"#\");\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args",
"public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n while (true) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if (x == 0 && y == 0) {\n return;\n }\n for (int i = 0; i < x; i++) {\n for (int p = 0; p < y; p++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n }\n }\n}",
"public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n while (true) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if (x == 0 && y == 0) {\n return;\n }\n for (int i = 0; i < x; i++) {\n for (int p = 0; p < y; p++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
private static Scanner scan;
public static void main(String[] args) {
scan = new Scanner(System.in);
while (true) {
int x = scan.nextInt();
int y = scan.nextInt();
if (x == 0 && y == 0) {
return;
}
for (int i = 0; i < x; i++) {
for (int p = 0; p < y; p++) {
System.out.print("#");
}
System.out.print("\n");
}
System.out.print("\n");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
103,
5
],
[
103,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
19,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
19,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
19,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
58,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
71,
79
],
[
79,
80
],
[
80,
81
],
[
71,
82
],
[
83,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
70,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
57,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
6,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\twhile (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint H = Integer.parseInt(array[0]);\n\t\t\tint W = Integer.parseInt(array[1]);\n\n\t\t\tif (W == 0 && H == 0) {\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\twhile (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint H = Integer.parseInt(array[0]);\n\t\t\tint W = Integer.parseInt(array[1]);\n\n\t\t\tif (W == 0 && H == 0) {\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\twhile (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint H = Integer.parseInt(array[0]);\n\t\t\tint W = Integer.parseInt(array[1]);\n\n\t\t\tif (W == 0 && H == 0) {\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\twhile (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint H = Integer.parseInt(array[0]);\n\t\t\tint W = Integer.parseInt(array[1]);\n\n\t\t\tif (W == 0 && H == 0) {\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = 0;",
"i",
"0",
"while (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint H = Integer.parseInt(array[0]);\n\t\t\tint W = Integer.parseInt(array[1]);\n\n\t\t\tif (W == 0 && H == 0) {\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}",
"i < 1000",
"i",
"1000",
"{\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint H = Integer.parseInt(array[0]);\n\t\t\tint W = Integer.parseInt(array[1]);\n\n\t\t\tif (W == 0 && H == 0) {\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] array = line.split(\" \");",
"array",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int H = Integer.parseInt(array[0]);",
"H",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"int W = Integer.parseInt(array[1]);",
"W",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"if (W == 0 && H == 0) {\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"W == 0 && H == 0",
"W == 0",
"W",
"0",
"H == 0",
"H",
"0",
"{\n\t\t\t\tbreak;\n\n\t\t\t}",
"break;",
"{\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"for (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"int k = 0;",
"int k = 0;",
"k",
"0",
"k < H",
"k",
"H",
"k++",
"k++",
"k",
"{\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"{\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"for (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\twhile (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint H = Integer.parseInt(array[0]);\n\t\t\tint W = Integer.parseInt(array[1]);\n\n\t\t\tif (W == 0 && H == 0) {\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\twhile (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint H = Integer.parseInt(array[0]);\n\t\t\tint W = Integer.parseInt(array[1]);\n\n\t\t\tif (W == 0 && H == 0) {\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int i = 0;
while (i < 1000) {
String line = sc.nextLine();
String[] array = line.split(" ");
int H = Integer.parseInt(array[0]);
int W = Integer.parseInt(array[1]);
if (W == 0 && H == 0) {
break;
} else {
for (int k = 0; k < H; k++) {
for (int j = 0; j < W; j++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
92,
5
],
[
92,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
48,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
47,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
34,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
34,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
34,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
6,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String [] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint h,w;\n\t\th = sc.nextInt();\n\t\tw = sc.nextInt();\n\t\twhile(h != 0 && w != 0){\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\th = sc.nextInt();\n\t\t\tw = sc.nextInt();\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String [] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint h,w;\n\t\th = sc.nextInt();\n\t\tw = sc.nextInt();\n\t\twhile(h != 0 && w != 0){\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\th = sc.nextInt();\n\t\t\tw = sc.nextInt();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String [] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint h,w;\n\t\th = sc.nextInt();\n\t\tw = sc.nextInt();\n\t\twhile(h != 0 && w != 0){\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\th = sc.nextInt();\n\t\t\tw = sc.nextInt();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint h,w;\n\t\th = sc.nextInt();\n\t\tw = sc.nextInt();\n\t\twhile(h != 0 && w != 0){\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\th = sc.nextInt();\n\t\t\tw = sc.nextInt();\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int h",
"h",
"w;",
"w",
"h = sc.nextInt()",
"h",
"sc.nextInt()",
"sc.nextInt",
"sc",
"w = sc.nextInt()",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while(h != 0 && w != 0){\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\th = sc.nextInt();\n\t\t\tw = sc.nextInt();\n\t\t}",
"h != 0 && w != 0",
"h != 0",
"h",
"0",
"w != 0",
"w",
"0",
"{\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\th = sc.nextInt();\n\t\t\tw = sc.nextInt();\n\t\t}",
"for(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"{\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"for(int j = 0; j < w; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < w",
"j",
"w",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"h = sc.nextInt()",
"h",
"sc.nextInt()",
"sc.nextInt",
"sc",
"w = sc.nextInt()",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String [] args",
"args",
"public class Main{\n\tpublic static void main(String [] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint h,w;\n\t\th = sc.nextInt();\n\t\tw = sc.nextInt();\n\t\twhile(h != 0 && w != 0){\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\th = sc.nextInt();\n\t\t\tw = sc.nextInt();\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String [] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint h,w;\n\t\th = sc.nextInt();\n\t\tw = sc.nextInt();\n\t\twhile(h != 0 && w != 0){\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\th = sc.nextInt();\n\t\t\tw = sc.nextInt();\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String [] args){
Scanner sc = new Scanner(System.in);
int h,w;
h = sc.nextInt();
w = sc.nextInt();
while(h != 0 && w != 0){
for(int i = 0; i < h; i++){
for(int j = 0; j < w; j++){
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
h = sc.nextInt();
w = sc.nextInt();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
2,
13,
17,
4,
18,
13,
17,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
31,
37
],
[
37,
38
],
[
20,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
51,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
20,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
82,
83
],
[
82,
84
],
[
20,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
85,
89
],
[
89,
90
],
[
90,
91
],
[
8,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
6,
98
],
[
98,
99
]
] | [
"import java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder all = new StringBuilder();\n\t\tStringBuilder out = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif((H + W) <= 0){break;}\n\t\t\t\tfor(int j = 0; j < H; j++){\n\t\t\t\t\tfor(int i = 0; i < W; i++){\n\t\t\t\t\t\tout = out.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tout = out.append(\"\\n\");\n\t\t\t\t}\n\t\t\tall = all.append(out + \"\\n\");\n\t\t\tout.delete(0, out.length());\n\t\t}\n \n\t\tSystem.out.print(all);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder all = new StringBuilder();\n\t\tStringBuilder out = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif((H + W) <= 0){break;}\n\t\t\t\tfor(int j = 0; j < H; j++){\n\t\t\t\t\tfor(int i = 0; i < W; i++){\n\t\t\t\t\t\tout = out.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tout = out.append(\"\\n\");\n\t\t\t\t}\n\t\t\tall = all.append(out + \"\\n\");\n\t\t\tout.delete(0, out.length());\n\t\t}\n \n\t\tSystem.out.print(all);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder all = new StringBuilder();\n\t\tStringBuilder out = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif((H + W) <= 0){break;}\n\t\t\t\tfor(int j = 0; j < H; j++){\n\t\t\t\t\tfor(int i = 0; i < W; i++){\n\t\t\t\t\t\tout = out.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tout = out.append(\"\\n\");\n\t\t\t\t}\n\t\t\tall = all.append(out + \"\\n\");\n\t\t\tout.delete(0, out.length());\n\t\t}\n \n\t\tSystem.out.print(all);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder all = new StringBuilder();\n\t\tStringBuilder out = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif((H + W) <= 0){break;}\n\t\t\t\tfor(int j = 0; j < H; j++){\n\t\t\t\t\tfor(int i = 0; i < W; i++){\n\t\t\t\t\t\tout = out.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tout = out.append(\"\\n\");\n\t\t\t\t}\n\t\t\tall = all.append(out + \"\\n\");\n\t\t\tout.delete(0, out.length());\n\t\t}\n \n\t\tSystem.out.print(all);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuilder all = new StringBuilder();",
"all",
"new StringBuilder()",
"StringBuilder out = new StringBuilder();",
"out",
"new StringBuilder()",
"while(true){\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif((H + W) <= 0){break;}\n\t\t\t\tfor(int j = 0; j < H; j++){\n\t\t\t\t\tfor(int i = 0; i < W; i++){\n\t\t\t\t\t\tout = out.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tout = out.append(\"\\n\");\n\t\t\t\t}\n\t\t\tall = all.append(out + \"\\n\");\n\t\t\tout.delete(0, out.length());\n\t\t}",
"true",
"{\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif((H + W) <= 0){break;}\n\t\t\t\tfor(int j = 0; j < H; j++){\n\t\t\t\t\tfor(int i = 0; i < W; i++){\n\t\t\t\t\t\tout = out.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tout = out.append(\"\\n\");\n\t\t\t\t}\n\t\t\tall = all.append(out + \"\\n\");\n\t\t\tout.delete(0, out.length());\n\t\t}",
"int H = sc.nextInt();",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int W = sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if((H + W) <= 0){break;}",
"(H + W) <= 0",
"(H + W)",
"H",
"W",
"0",
"{break;}",
"break;",
"for(int j = 0; j < H; j++){\n\t\t\t\t\tfor(int i = 0; i < W; i++){\n\t\t\t\t\t\tout = out.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tout = out.append(\"\\n\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < H",
"j",
"H",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tfor(int i = 0; i < W; i++){\n\t\t\t\t\t\tout = out.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tout = out.append(\"\\n\");\n\t\t\t\t}",
"{\n\t\t\t\t\tfor(int i = 0; i < W; i++){\n\t\t\t\t\t\tout = out.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tout = out.append(\"\\n\");\n\t\t\t\t}",
"for(int i = 0; i < W; i++){\n\t\t\t\t\t\tout = out.append(\"#\");\n\t\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < W",
"i",
"W",
"i++",
"i++",
"i",
"{\n\t\t\t\t\t\tout = out.append(\"#\");\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tout = out.append(\"#\");\n\t\t\t\t\t}",
"out = out.append(\"#\")",
"out",
"out.append(\"#\")",
"out.append",
"out",
"\"#\"",
"out = out.append(\"\\n\")",
"out",
"out.append(\"\\n\")",
"out.append",
"out",
"\"\\n\"",
"all = all.append(out + \"\\n\")",
"all",
"all.append(out + \"\\n\")",
"all.append",
"all",
"out + \"\\n\"",
"out",
"\"\\n\"",
"out.delete(0, out.length())",
"out.delete",
"out",
"0",
"out.length()",
"out.length",
"out",
"System.out.print(all)",
"System.out.print",
"System.out",
"System",
"System.out",
"all",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
StringBuilder all = new StringBuilder();
StringBuilder out = new StringBuilder();
while(true){
int H = sc.nextInt();
int W = sc.nextInt();
if((H + W) <= 0){break;}
for(int j = 0; j < H; j++){
for(int i = 0; i < W; i++){
out = out.append("#");
}
out = out.append("\n");
}
all = all.append(out + "\n");
out.delete(0, out.length());
}
System.out.print(all);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
14,
2,
2,
2,
2,
17,
13,
2,
13,
17,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
30,
4,
18,
18,
13,
13,
17,
0,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
20,
41,
13,
20,
42,
2,
13,
17,
30,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
4,
18,
13,
2,
13,
17,
4,
18,
13,
13,
4,
18,
13,
13,
14,
2,
4,
13,
13,
13,
17,
30,
3,
0,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
2,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
2,
2,
17,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
240,
8
],
[
240,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
18,
17
],
[
25,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
22,
24
],
[
25,
25
],
[
25,
26
],
[
25,
27
],
[
18,
28
],
[
28,
29
],
[
28,
30
],
[
15,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
15,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
35,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
47,
54
],
[
54,
55
],
[
54,
56
],
[
11,
57
],
[
57,
58
],
[
9,
59
],
[
59,
60
],
[
9,
61
],
[
61,
62
],
[
240,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
65,
72
],
[
72,
73
],
[
72,
74
],
[
65,
75
],
[
75,
76
],
[
75,
77
],
[
65,
78
],
[
78,
79
],
[
78,
80
],
[
65,
81
],
[
81,
82
],
[
81,
83
],
[
65,
84
],
[
84,
85
],
[
84,
86
],
[
65,
87
],
[
87,
88
],
[
87,
89
],
[
65,
90
],
[
90,
91
],
[
90,
92
],
[
65,
93
],
[
93,
94
],
[
93,
95
],
[
65,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
101,
109
],
[
109,
110
],
[
110,
111
],
[
101,
112
],
[
113,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
117,
118
],
[
118,
119
],
[
100,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
100,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
137,
138
],
[
137,
139
],
[
100,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
100,
144
],
[
144,
145
],
[
145,
146
],
[
144,
147
],
[
100,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
150,
153
],
[
149,
154
],
[
148,
155
],
[
155,
156
],
[
100,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
159,
161
],
[
65,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
162,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
169,
173
],
[
162,
174
],
[
174,
175
],
[
175,
176
],
[
162,
177
],
[
178,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
179,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
186,
189
],
[
189,
190
],
[
189,
191
],
[
191,
192
],
[
191,
193
],
[
179,
194
],
[
194,
195
],
[
195,
196
],
[
179,
197
],
[
198,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
199,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
206,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
209,
213
],
[
199,
214
],
[
214,
215
],
[
215,
216
],
[
199,
217
],
[
218,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
219,
224
],
[
198,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
225,
230
],
[
178,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
231,
236
],
[
63,
237
],
[
237,
238
],
[
0,
239
],
[
239,
240
],
[
239,
241
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static int exception(int h,int w){\n\t\tint result = 0;\n\t\tif(0 < h && h <= 300 && 0 < w && w <= 300){ //??????????????????\n\t\t\tresult = 2;\n\t\t}\n\t\telse if(h == 0 && w == 0){\n\t\t\tresult = 1;\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"1~300????????§.???????????????.\");\n\t\t\tresult = 0;\n\t\t}\n\t\treturn result;\n\t}\n\tpublic static void main(String[] args) {\n\t\t/**\n\t\t * ?????°?????£?¨?\n\t\t */\n\t\tint a = 0;\n\t\tint t = 0, inc = 0;\n\t\tint h = 0,w = 0; //height:h width:w\n\t\tint count = 0;\n\t\tint x = 0;\n\t\t/**\n\t\t * ???????????£?¨?\n\t\t */\n\t\tArrayList<String> st = new ArrayList<String>();\n\t\tArrayList<Integer> parse = new ArrayList<Integer>();\n\t\t/**\n\t\t * ????¨???????????????\\???\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(a == 0){\n\t\tfor (t = 0; t < 2; t++){ //??´??°2???????????????\n\t\tst.add(scan.next());\n\t\t}\n\t\t//System.out.println(\"\"); //????????????????????\\???????????????\n\t\th = Integer.parseInt(st.get(inc));\n\t\tw = Integer.parseInt(st.get(inc+1));\n\t\tparse.add(h);\n\t\tparse.add(w);\n\n\t\tif(exception(h,w) == 1){ //h=w=0?????¨??????????????????????????????\n\t\t\tbreak;\n\t\t }\n\t\tinc = inc + 2; //???????????§?????°\n\t\t}\n\t\t/**\n\t\t * ??????\n\t\t */\n\t\tfor(int n= 1; n < ((parse.size())/2) ; ++n){ //???????????°??????\n\t\t for(int i = 0; i < parse.get(2*(n-1)); ++i){\n\t\t\tfor(int j = 0; j < parse.get(2*n-1); ++j){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t }\n\t\t System.out.println(\"\");\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static int exception(int h,int w){\n\t\tint result = 0;\n\t\tif(0 < h && h <= 300 && 0 < w && w <= 300){ //??????????????????\n\t\t\tresult = 2;\n\t\t}\n\t\telse if(h == 0 && w == 0){\n\t\t\tresult = 1;\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"1~300????????§.???????????????.\");\n\t\t\tresult = 0;\n\t\t}\n\t\treturn result;\n\t}\n\tpublic static void main(String[] args) {\n\t\t/**\n\t\t * ?????°?????£?¨?\n\t\t */\n\t\tint a = 0;\n\t\tint t = 0, inc = 0;\n\t\tint h = 0,w = 0; //height:h width:w\n\t\tint count = 0;\n\t\tint x = 0;\n\t\t/**\n\t\t * ???????????£?¨?\n\t\t */\n\t\tArrayList<String> st = new ArrayList<String>();\n\t\tArrayList<Integer> parse = new ArrayList<Integer>();\n\t\t/**\n\t\t * ????¨???????????????\\???\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(a == 0){\n\t\tfor (t = 0; t < 2; t++){ //??´??°2???????????????\n\t\tst.add(scan.next());\n\t\t}\n\t\t//System.out.println(\"\"); //????????????????????\\???????????????\n\t\th = Integer.parseInt(st.get(inc));\n\t\tw = Integer.parseInt(st.get(inc+1));\n\t\tparse.add(h);\n\t\tparse.add(w);\n\n\t\tif(exception(h,w) == 1){ //h=w=0?????¨??????????????????????????????\n\t\t\tbreak;\n\t\t }\n\t\tinc = inc + 2; //???????????§?????°\n\t\t}\n\t\t/**\n\t\t * ??????\n\t\t */\n\t\tfor(int n= 1; n < ((parse.size())/2) ; ++n){ //???????????°??????\n\t\t for(int i = 0; i < parse.get(2*(n-1)); ++i){\n\t\t\tfor(int j = 0; j < parse.get(2*n-1); ++j){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t }\n\t\t System.out.println(\"\");\n\t\t}\n\t}\n}",
"Main",
"public static int exception(int h,int w){\n\t\tint result = 0;\n\t\tif(0 < h && h <= 300 && 0 < w && w <= 300){ //??????????????????\n\t\t\tresult = 2;\n\t\t}\n\t\telse if(h == 0 && w == 0){\n\t\t\tresult = 1;\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"1~300????????§.???????????????.\");\n\t\t\tresult = 0;\n\t\t}\n\t\treturn result;\n\t}",
"exception",
"{\n\t\tint result = 0;\n\t\tif(0 < h && h <= 300 && 0 < w && w <= 300){ //??????????????????\n\t\t\tresult = 2;\n\t\t}\n\t\telse if(h == 0 && w == 0){\n\t\t\tresult = 1;\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"1~300????????§.???????????????.\");\n\t\t\tresult = 0;\n\t\t}\n\t\treturn result;\n\t}",
"int result = 0;",
"result",
"0",
"if(0 < h && h <= 300 && 0 < w && w <= 300){ //??????????????????\n\t\t\tresult = 2;\n\t\t}\n\t\telse if(h == 0 && w == 0){\n\t\t\tresult = 1;\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"1~300????????§.???????????????.\");\n\t\t\tresult = 0;\n\t\t}",
"0 < h && h <= 300 && 0 < w && w <= 300",
"0 < w",
"0 < h && h <= 300 && 0 < w && w <= 300",
"0 < h",
"0",
"h",
"h <= 300",
"h",
"300",
"0 < w",
"0",
"w",
"w <= 300",
"w",
"300",
"{ //??????????????????\n\t\t\tresult = 2;\n\t\t}",
"result = 2",
"result",
"2",
"if(h == 0 && w == 0){\n\t\t\tresult = 1;\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"1~300????????§.???????????????.\");\n\t\t\tresult = 0;\n\t\t}",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"{\n\t\t\tresult = 1;\n\t\t}",
"result = 1",
"result",
"1",
"{\n\t\t\tSystem.out.println(\"1~300????????§.???????????????.\");\n\t\t\tresult = 0;\n\t\t}",
"System.out.println(\"1~300????????§.???????????????.\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1~300????????§.???????????????.\"",
"result = 0",
"result",
"0",
"return result;",
"result",
"int h",
"h",
"int w",
"w",
"public static void main(String[] args) {\n\t\t/**\n\t\t * ?????°?????£?¨?\n\t\t */\n\t\tint a = 0;\n\t\tint t = 0, inc = 0;\n\t\tint h = 0,w = 0; //height:h width:w\n\t\tint count = 0;\n\t\tint x = 0;\n\t\t/**\n\t\t * ???????????£?¨?\n\t\t */\n\t\tArrayList<String> st = new ArrayList<String>();\n\t\tArrayList<Integer> parse = new ArrayList<Integer>();\n\t\t/**\n\t\t * ????¨???????????????\\???\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(a == 0){\n\t\tfor (t = 0; t < 2; t++){ //??´??°2???????????????\n\t\tst.add(scan.next());\n\t\t}\n\t\t//System.out.println(\"\"); //????????????????????\\???????????????\n\t\th = Integer.parseInt(st.get(inc));\n\t\tw = Integer.parseInt(st.get(inc+1));\n\t\tparse.add(h);\n\t\tparse.add(w);\n\n\t\tif(exception(h,w) == 1){ //h=w=0?????¨??????????????????????????????\n\t\t\tbreak;\n\t\t }\n\t\tinc = inc + 2; //???????????§?????°\n\t\t}\n\t\t/**\n\t\t * ??????\n\t\t */\n\t\tfor(int n= 1; n < ((parse.size())/2) ; ++n){ //???????????°??????\n\t\t for(int i = 0; i < parse.get(2*(n-1)); ++i){\n\t\t\tfor(int j = 0; j < parse.get(2*n-1); ++j){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t }\n\t\t System.out.println(\"\");\n\t\t}\n\t}",
"main",
"{\n\t\t/**\n\t\t * ?????°?????£?¨?\n\t\t */\n\t\tint a = 0;\n\t\tint t = 0, inc = 0;\n\t\tint h = 0,w = 0; //height:h width:w\n\t\tint count = 0;\n\t\tint x = 0;\n\t\t/**\n\t\t * ???????????£?¨?\n\t\t */\n\t\tArrayList<String> st = new ArrayList<String>();\n\t\tArrayList<Integer> parse = new ArrayList<Integer>();\n\t\t/**\n\t\t * ????¨???????????????\\???\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(a == 0){\n\t\tfor (t = 0; t < 2; t++){ //??´??°2???????????????\n\t\tst.add(scan.next());\n\t\t}\n\t\t//System.out.println(\"\"); //????????????????????\\???????????????\n\t\th = Integer.parseInt(st.get(inc));\n\t\tw = Integer.parseInt(st.get(inc+1));\n\t\tparse.add(h);\n\t\tparse.add(w);\n\n\t\tif(exception(h,w) == 1){ //h=w=0?????¨??????????????????????????????\n\t\t\tbreak;\n\t\t }\n\t\tinc = inc + 2; //???????????§?????°\n\t\t}\n\t\t/**\n\t\t * ??????\n\t\t */\n\t\tfor(int n= 1; n < ((parse.size())/2) ; ++n){ //???????????°??????\n\t\t for(int i = 0; i < parse.get(2*(n-1)); ++i){\n\t\t\tfor(int j = 0; j < parse.get(2*n-1); ++j){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t }\n\t\t System.out.println(\"\");\n\t\t}\n\t}",
"int a = 0;",
"a",
"0",
"int t = 0",
"t",
"0",
"inc = 0;",
"inc",
"0",
"int h = 0",
"h",
"0",
"w = 0;",
"w",
"0",
"int count = 0;",
"count",
"0",
"int x = 0;",
"x",
"0",
"ArrayList<String> st = new ArrayList<String>();",
"st",
"new ArrayList<String>()",
"ArrayList<Integer> parse = new ArrayList<Integer>();",
"parse",
"new ArrayList<Integer>()",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(a == 0){\n\t\tfor (t = 0; t < 2; t++){ //??´??°2???????????????\n\t\tst.add(scan.next());\n\t\t}\n\t\t//System.out.println(\"\"); //????????????????????\\???????????????\n\t\th = Integer.parseInt(st.get(inc));\n\t\tw = Integer.parseInt(st.get(inc+1));\n\t\tparse.add(h);\n\t\tparse.add(w);\n\n\t\tif(exception(h,w) == 1){ //h=w=0?????¨??????????????????????????????\n\t\t\tbreak;\n\t\t }\n\t\tinc = inc + 2; //???????????§?????°\n\t\t}",
"a == 0",
"a",
"0",
"{\n\t\tfor (t = 0; t < 2; t++){ //??´??°2???????????????\n\t\tst.add(scan.next());\n\t\t}\n\t\t//System.out.println(\"\"); //????????????????????\\???????????????\n\t\th = Integer.parseInt(st.get(inc));\n\t\tw = Integer.parseInt(st.get(inc+1));\n\t\tparse.add(h);\n\t\tparse.add(w);\n\n\t\tif(exception(h,w) == 1){ //h=w=0?????¨??????????????????????????????\n\t\t\tbreak;\n\t\t }\n\t\tinc = inc + 2; //???????????§?????°\n\t\t}",
"for (t = 0; t < 2; t++){ //??´??°2???????????????\n\t\tst.add(scan.next());\n\t\t}",
"t = 0;",
"t = 0",
"t",
"0",
"t < 2",
"t",
"2",
"t++",
"t++",
"t",
"{ //??´??°2???????????????\n\t\tst.add(scan.next());\n\t\t}",
"{ //??´??°2???????????????\n\t\tst.add(scan.next());\n\t\t}",
"st.add(scan.next())",
"st.add",
"st",
"scan.next()",
"scan.next",
"scan",
"h = Integer.parseInt(st.get(inc))",
"h",
"Integer.parseInt(st.get(inc))",
"Integer.parseInt",
"Integer",
"st.get(inc)",
"st.get",
"st",
"inc",
"w = Integer.parseInt(st.get(inc+1))",
"w",
"Integer.parseInt(st.get(inc+1))",
"Integer.parseInt",
"Integer",
"st.get(inc+1)",
"st.get",
"st",
"inc+1",
"inc",
"1",
"parse.add(h)",
"parse.add",
"parse",
"h",
"parse.add(w)",
"parse.add",
"parse",
"w",
"if(exception(h,w) == 1){ //h=w=0?????¨??????????????????????????????\n\t\t\tbreak;\n\t\t }",
"exception(h,w) == 1",
"exception(h,w)",
"exception",
"h",
"w",
"1",
"{ //h=w=0?????¨??????????????????????????????\n\t\t\tbreak;\n\t\t }",
"break;",
"inc = inc + 2",
"inc",
"inc + 2",
"inc",
"2",
"for(int n= 1; n < ((parse.size())/2) ; ++n){ //???????????°??????\n\t\t for(int i = 0; i < parse.get(2*(n-1)); ++i){\n\t\t\tfor(int j = 0; j < parse.get(2*n-1); ++j){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t }\n\t\t System.out.println(\"\");\n\t\t}",
"int n= 1;",
"int n= 1;",
"n",
"1",
"n < ((parse.size())/2)",
"n",
"((parse.size())/2)",
"(parse.size())",
"parse.size",
"parse",
"2",
"++n",
"++n",
"n",
"{ //???????????°??????\n\t\t for(int i = 0; i < parse.get(2*(n-1)); ++i){\n\t\t\tfor(int j = 0; j < parse.get(2*n-1); ++j){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t }\n\t\t System.out.println(\"\");\n\t\t}",
"{ //???????????°??????\n\t\t for(int i = 0; i < parse.get(2*(n-1)); ++i){\n\t\t\tfor(int j = 0; j < parse.get(2*n-1); ++j){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t }\n\t\t System.out.println(\"\");\n\t\t}",
"for(int i = 0; i < parse.get(2*(n-1)); ++i){\n\t\t\tfor(int j = 0; j < parse.get(2*n-1); ++j){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < parse.get(2*(n-1))",
"i",
"parse.get(2*(n-1))",
"parse.get",
"parse",
"2*(n-1)",
"2",
"(n-1)",
"n",
"1",
"++i",
"++i",
"i",
"{\n\t\t\tfor(int j = 0; j < parse.get(2*n-1); ++j){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t }",
"{\n\t\t\tfor(int j = 0; j < parse.get(2*n-1); ++j){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t }",
"for(int j = 0; j < parse.get(2*n-1); ++j){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < parse.get(2*n-1)",
"j",
"parse.get(2*n-1)",
"parse.get",
"parse",
"2*n-1",
"2*n",
"2",
"n",
"1",
"++j",
"++j",
"j",
"{\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n\tpublic static int exception(int h,int w){\n\t\tint result = 0;\n\t\tif(0 < h && h <= 300 && 0 < w && w <= 300){ //??????????????????\n\t\t\tresult = 2;\n\t\t}\n\t\telse if(h == 0 && w == 0){\n\t\t\tresult = 1;\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"1~300????????§.???????????????.\");\n\t\t\tresult = 0;\n\t\t}\n\t\treturn result;\n\t}\n\tpublic static void main(String[] args) {\n\t\t/**\n\t\t * ?????°?????£?¨?\n\t\t */\n\t\tint a = 0;\n\t\tint t = 0, inc = 0;\n\t\tint h = 0,w = 0; //height:h width:w\n\t\tint count = 0;\n\t\tint x = 0;\n\t\t/**\n\t\t * ???????????£?¨?\n\t\t */\n\t\tArrayList<String> st = new ArrayList<String>();\n\t\tArrayList<Integer> parse = new ArrayList<Integer>();\n\t\t/**\n\t\t * ????¨???????????????\\???\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(a == 0){\n\t\tfor (t = 0; t < 2; t++){ //??´??°2???????????????\n\t\tst.add(scan.next());\n\t\t}\n\t\t//System.out.println(\"\"); //????????????????????\\???????????????\n\t\th = Integer.parseInt(st.get(inc));\n\t\tw = Integer.parseInt(st.get(inc+1));\n\t\tparse.add(h);\n\t\tparse.add(w);\n\n\t\tif(exception(h,w) == 1){ //h=w=0?????¨??????????????????????????????\n\t\t\tbreak;\n\t\t }\n\t\tinc = inc + 2; //???????????§?????°\n\t\t}\n\t\t/**\n\t\t * ??????\n\t\t */\n\t\tfor(int n= 1; n < ((parse.size())/2) ; ++n){ //???????????°??????\n\t\t for(int i = 0; i < parse.get(2*(n-1)); ++i){\n\t\t\tfor(int j = 0; j < parse.get(2*n-1); ++j){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t }\n\t\t System.out.println(\"\");\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static int exception(int h,int w){\n\t\tint result = 0;\n\t\tif(0 < h && h <= 300 && 0 < w && w <= 300){ //??????????????????\n\t\t\tresult = 2;\n\t\t}\n\t\telse if(h == 0 && w == 0){\n\t\t\tresult = 1;\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"1~300????????§.???????????????.\");\n\t\t\tresult = 0;\n\t\t}\n\t\treturn result;\n\t}\n\tpublic static void main(String[] args) {\n\t\t/**\n\t\t * ?????°?????£?¨?\n\t\t */\n\t\tint a = 0;\n\t\tint t = 0, inc = 0;\n\t\tint h = 0,w = 0; //height:h width:w\n\t\tint count = 0;\n\t\tint x = 0;\n\t\t/**\n\t\t * ???????????£?¨?\n\t\t */\n\t\tArrayList<String> st = new ArrayList<String>();\n\t\tArrayList<Integer> parse = new ArrayList<Integer>();\n\t\t/**\n\t\t * ????¨???????????????\\???\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(a == 0){\n\t\tfor (t = 0; t < 2; t++){ //??´??°2???????????????\n\t\tst.add(scan.next());\n\t\t}\n\t\t//System.out.println(\"\"); //????????????????????\\???????????????\n\t\th = Integer.parseInt(st.get(inc));\n\t\tw = Integer.parseInt(st.get(inc+1));\n\t\tparse.add(h);\n\t\tparse.add(w);\n\n\t\tif(exception(h,w) == 1){ //h=w=0?????¨??????????????????????????????\n\t\t\tbreak;\n\t\t }\n\t\tinc = inc + 2; //???????????§?????°\n\t\t}\n\t\t/**\n\t\t * ??????\n\t\t */\n\t\tfor(int n= 1; n < ((parse.size())/2) ; ++n){ //???????????°??????\n\t\t for(int i = 0; i < parse.get(2*(n-1)); ++i){\n\t\t\tfor(int j = 0; j < parse.get(2*n-1); ++j){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t }\n\t\t System.out.println(\"\");\n\t\t}\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static int exception(int h,int w){
int result = 0;
if(0 < h && h <= 300 && 0 < w && w <= 300){ //??????????????????
result = 2;
}
else if(h == 0 && w == 0){
result = 1;
}
else{
System.out.println("1~300????????§.???????????????.");
result = 0;
}
return result;
}
public static void main(String[] args) {
/**
* ?????°?????£?¨?
*/
int a = 0;
int t = 0, inc = 0;
int h = 0,w = 0; //height:h width:w
int count = 0;
int x = 0;
/**
* ???????????£?¨?
*/
ArrayList<String> st = new ArrayList<String>();
ArrayList<Integer> parse = new ArrayList<Integer>();
/**
* ????¨???????????????\???
*/
Scanner scan = new Scanner(System.in);
while(a == 0){
for (t = 0; t < 2; t++){ //??´??°2???????????????
st.add(scan.next());
}
//System.out.println(""); //????????????????????\???????????????
h = Integer.parseInt(st.get(inc));
w = Integer.parseInt(st.get(inc+1));
parse.add(h);
parse.add(w);
if(exception(h,w) == 1){ //h=w=0?????¨??????????????????????????????
break;
}
inc = inc + 2; //???????????§?????°
}
/**
* ??????
*/
for(int n= 1; n < ((parse.size())/2) ; ++n){ //???????????°??????
for(int i = 0; i < parse.get(2*(n-1)); ++i){
for(int j = 0; j < parse.get(2*n-1); ++j){
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
17,
30,
41,
13,
20,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
99,
8
],
[
99,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
41,
42
],
[
23,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
23,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
74,
75
],
[
65,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
64,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
23,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
9,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
] | [
"import java.util.*;\nimport java.io.*;\n\npublic class Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int a = 1;\n int b = 1;\n \n \n while(true){\n StringTokenizer st = new StringTokenizer(br.readLine(), \" \");\n b = Integer.parseInt(st.nextToken());\n a = Integer.parseInt(st.nextToken());\n\n if(a==0&&b==0)break;\n for(int x = 0; x<b; x++){\n \n \n for(int y = 0; y<a; y++){\n System.out.print(\"#\");\n }\n \n System.out.print(\"\\n\");\n }\n \n System.out.print(\"\\n\");\n \n }\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int a = 1;\n int b = 1;\n \n \n while(true){\n StringTokenizer st = new StringTokenizer(br.readLine(), \" \");\n b = Integer.parseInt(st.nextToken());\n a = Integer.parseInt(st.nextToken());\n\n if(a==0&&b==0)break;\n for(int x = 0; x<b; x++){\n \n \n for(int y = 0; y<a; y++){\n System.out.print(\"#\");\n }\n \n System.out.print(\"\\n\");\n }\n \n System.out.print(\"\\n\");\n \n }\n \n }\n}",
"Main",
"public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int a = 1;\n int b = 1;\n \n \n while(true){\n StringTokenizer st = new StringTokenizer(br.readLine(), \" \");\n b = Integer.parseInt(st.nextToken());\n a = Integer.parseInt(st.nextToken());\n\n if(a==0&&b==0)break;\n for(int x = 0; x<b; x++){\n \n \n for(int y = 0; y<a; y++){\n System.out.print(\"#\");\n }\n \n System.out.print(\"\\n\");\n }\n \n System.out.print(\"\\n\");\n \n }\n \n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int a = 1;\n int b = 1;\n \n \n while(true){\n StringTokenizer st = new StringTokenizer(br.readLine(), \" \");\n b = Integer.parseInt(st.nextToken());\n a = Integer.parseInt(st.nextToken());\n\n if(a==0&&b==0)break;\n for(int x = 0; x<b; x++){\n \n \n for(int y = 0; y<a; y++){\n System.out.print(\"#\");\n }\n \n System.out.print(\"\\n\");\n }\n \n System.out.print(\"\\n\");\n \n }\n \n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int a = 1;",
"a",
"1",
"int b = 1;",
"b",
"1",
"while(true){\n StringTokenizer st = new StringTokenizer(br.readLine(), \" \");\n b = Integer.parseInt(st.nextToken());\n a = Integer.parseInt(st.nextToken());\n\n if(a==0&&b==0)break;\n for(int x = 0; x<b; x++){\n \n \n for(int y = 0; y<a; y++){\n System.out.print(\"#\");\n }\n \n System.out.print(\"\\n\");\n }\n \n System.out.print(\"\\n\");\n \n }",
"true",
"{\n StringTokenizer st = new StringTokenizer(br.readLine(), \" \");\n b = Integer.parseInt(st.nextToken());\n a = Integer.parseInt(st.nextToken());\n\n if(a==0&&b==0)break;\n for(int x = 0; x<b; x++){\n \n \n for(int y = 0; y<a; y++){\n System.out.print(\"#\");\n }\n \n System.out.print(\"\\n\");\n }\n \n System.out.print(\"\\n\");\n \n }",
"StringTokenizer st = new StringTokenizer(br.readLine(), \" \");",
"st",
"new StringTokenizer(br.readLine(), \" \")",
"b = Integer.parseInt(st.nextToken())",
"b",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"a = Integer.parseInt(st.nextToken())",
"a",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"if(a==0&&b==0)break;",
"a==0&&b==0",
"a==0",
"a",
"0",
"b==0",
"b",
"0",
"break;",
"for(int x = 0; x<b; x++){\n \n \n for(int y = 0; y<a; y++){\n System.out.print(\"#\");\n }\n \n System.out.print(\"\\n\");\n }",
"int x = 0;",
"int x = 0;",
"x",
"0",
"x<b",
"x",
"b",
"x++",
"x++",
"x",
"{\n \n \n for(int y = 0; y<a; y++){\n System.out.print(\"#\");\n }\n \n System.out.print(\"\\n\");\n }",
"{\n \n \n for(int y = 0; y<a; y++){\n System.out.print(\"#\");\n }\n \n System.out.print(\"\\n\");\n }",
"for(int y = 0; y<a; y++){\n System.out.print(\"#\");\n }",
"int y = 0;",
"int y = 0;",
"y",
"0",
"y<a",
"y",
"a",
"y++",
"y++",
"y",
"{\n System.out.print(\"#\");\n }",
"{\n System.out.print(\"#\");\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int a = 1;\n int b = 1;\n \n \n while(true){\n StringTokenizer st = new StringTokenizer(br.readLine(), \" \");\n b = Integer.parseInt(st.nextToken());\n a = Integer.parseInt(st.nextToken());\n\n if(a==0&&b==0)break;\n for(int x = 0; x<b; x++){\n \n \n for(int y = 0; y<a; y++){\n System.out.print(\"#\");\n }\n \n System.out.print(\"\\n\");\n }\n \n System.out.print(\"\\n\");\n \n }\n \n }\n}",
"public class Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int a = 1;\n int b = 1;\n \n \n while(true){\n StringTokenizer st = new StringTokenizer(br.readLine(), \" \");\n b = Integer.parseInt(st.nextToken());\n a = Integer.parseInt(st.nextToken());\n\n if(a==0&&b==0)break;\n for(int x = 0; x<b; x++){\n \n \n for(int y = 0; y<a; y++){\n System.out.print(\"#\");\n }\n \n System.out.print(\"\\n\");\n }\n \n System.out.print(\"\\n\");\n \n }\n \n }\n}",
"Main"
] | import java.util.*;
import java.io.*;
public class Main{
public static void main(String[] args)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int a = 1;
int b = 1;
while(true){
StringTokenizer st = new StringTokenizer(br.readLine(), " ");
b = Integer.parseInt(st.nextToken());
a = Integer.parseInt(st.nextToken());
if(a==0&&b==0)break;
for(int x = 0; x<b; x++){
for(int y = 0; y<a; y++){
System.out.print("#");
}
System.out.print("\n");
}
System.out.print("\n");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
14,
2,
4,
18,
13,
18,
13,
17,
17,
14,
2,
4,
18,
13,
18,
13,
17,
17,
3,
4,
13,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
114,
8
],
[
114,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
30,
37
],
[
29,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
39,
46
],
[
38,
47
],
[
17,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
9,
62
],
[
62,
63
],
[
114,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
67,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
85,
87
],
[
80,
88
],
[
88,
89
],
[
89,
90
],
[
80,
91
],
[
92,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
79,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
66,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
64,
109
],
[
109,
110
],
[
64,
111
],
[
111,
112
],
[
0,
113
],
[
113,
114
],
[
113,
115
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\n\tpublic class Main {\n\t public static void main(String[] args) throws Exception {\n\t // Here your code !\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t while(true) {\n\t\t String line = br.readLine();\n\t\t String[] line2 = line.split(\" \");\n\t\t if(Integer.parseInt(line2[0])==0)\n\t\t \tif(Integer.parseInt(line2[1]) == 0)\n\t\t \t\tbreak;\n\t\t print(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]));\n\t }\n\t }\n\t static void print(int w,int h) {\n\t \t\tfor(int j=0;j < w;j++) {\n\t \t \tfor(int i=0;i < h;i++) {\n\t \t \t\tSystem.out.print(\"#\");\n\t \t \t}\n\t\t \t\tSystem.out.println();\n\t \t\t}\n\t \t\tSystem.out.println();\n\t }\n\t}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\t public static void main(String[] args) throws Exception {\n\t // Here your code !\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t while(true) {\n\t\t String line = br.readLine();\n\t\t String[] line2 = line.split(\" \");\n\t\t if(Integer.parseInt(line2[0])==0)\n\t\t \tif(Integer.parseInt(line2[1]) == 0)\n\t\t \t\tbreak;\n\t\t print(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]));\n\t }\n\t }\n\t static void print(int w,int h) {\n\t \t\tfor(int j=0;j < w;j++) {\n\t \t \tfor(int i=0;i < h;i++) {\n\t \t \t\tSystem.out.print(\"#\");\n\t \t \t}\n\t\t \t\tSystem.out.println();\n\t \t\t}\n\t \t\tSystem.out.println();\n\t }\n\t}",
"Main",
"public static void main(String[] args) throws Exception {\n\t // Here your code !\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t while(true) {\n\t\t String line = br.readLine();\n\t\t String[] line2 = line.split(\" \");\n\t\t if(Integer.parseInt(line2[0])==0)\n\t\t \tif(Integer.parseInt(line2[1]) == 0)\n\t\t \t\tbreak;\n\t\t print(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]));\n\t }\n\t }",
"main",
"{\n\t // Here your code !\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t while(true) {\n\t\t String line = br.readLine();\n\t\t String[] line2 = line.split(\" \");\n\t\t if(Integer.parseInt(line2[0])==0)\n\t\t \tif(Integer.parseInt(line2[1]) == 0)\n\t\t \t\tbreak;\n\t\t print(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]));\n\t }\n\t }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true) {\n\t\t String line = br.readLine();\n\t\t String[] line2 = line.split(\" \");\n\t\t if(Integer.parseInt(line2[0])==0)\n\t\t \tif(Integer.parseInt(line2[1]) == 0)\n\t\t \t\tbreak;\n\t\t print(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]));\n\t }",
"true",
"{\n\t\t String line = br.readLine();\n\t\t String[] line2 = line.split(\" \");\n\t\t if(Integer.parseInt(line2[0])==0)\n\t\t \tif(Integer.parseInt(line2[1]) == 0)\n\t\t \t\tbreak;\n\t\t print(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]));\n\t }",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"String[] line2 = line.split(\" \");",
"line2",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"if(Integer.parseInt(line2[0])==0)\n\t\t \tif(Integer.parseInt(line2[1]) == 0)\n\t\t \t\tbreak;",
"Integer.parseInt(line2[0])==0",
"Integer.parseInt(line2[0])",
"Integer.parseInt",
"Integer",
"line2[0]",
"line2",
"0",
"0",
"if(Integer.parseInt(line2[1]) == 0)\n\t\t \t\tbreak;",
"Integer.parseInt(line2[1]) == 0",
"Integer.parseInt(line2[1])",
"Integer.parseInt",
"Integer",
"line2[1]",
"line2",
"1",
"0",
"break;",
"print(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]))",
"print",
"Integer.parseInt(line2[0])",
"Integer.parseInt",
"Integer",
"line2[0]",
"line2",
"0",
"Integer.parseInt(line2[1])",
"Integer.parseInt",
"Integer",
"line2[1]",
"line2",
"1",
"String[] args",
"args",
"static void print(int w,int h) {\n\t \t\tfor(int j=0;j < w;j++) {\n\t \t \tfor(int i=0;i < h;i++) {\n\t \t \t\tSystem.out.print(\"#\");\n\t \t \t}\n\t\t \t\tSystem.out.println();\n\t \t\t}\n\t \t\tSystem.out.println();\n\t }",
"print",
"{\n\t \t\tfor(int j=0;j < w;j++) {\n\t \t \tfor(int i=0;i < h;i++) {\n\t \t \t\tSystem.out.print(\"#\");\n\t \t \t}\n\t\t \t\tSystem.out.println();\n\t \t\t}\n\t \t\tSystem.out.println();\n\t }",
"for(int j=0;j < w;j++) {\n\t \t \tfor(int i=0;i < h;i++) {\n\t \t \t\tSystem.out.print(\"#\");\n\t \t \t}\n\t\t \t\tSystem.out.println();\n\t \t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j < w",
"j",
"w",
"j++",
"j++",
"j",
"{\n\t \t \tfor(int i=0;i < h;i++) {\n\t \t \t\tSystem.out.print(\"#\");\n\t \t \t}\n\t\t \t\tSystem.out.println();\n\t \t\t}",
"{\n\t \t \tfor(int i=0;i < h;i++) {\n\t \t \t\tSystem.out.print(\"#\");\n\t \t \t}\n\t\t \t\tSystem.out.println();\n\t \t\t}",
"for(int i=0;i < h;i++) {\n\t \t \t\tSystem.out.print(\"#\");\n\t \t \t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t \t \t\tSystem.out.print(\"#\");\n\t \t \t}",
"{\n\t \t \t\tSystem.out.print(\"#\");\n\t \t \t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"int w",
"w",
"int h",
"h",
"public class Main {\n\t public static void main(String[] args) throws Exception {\n\t // Here your code !\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t while(true) {\n\t\t String line = br.readLine();\n\t\t String[] line2 = line.split(\" \");\n\t\t if(Integer.parseInt(line2[0])==0)\n\t\t \tif(Integer.parseInt(line2[1]) == 0)\n\t\t \t\tbreak;\n\t\t print(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]));\n\t }\n\t }\n\t static void print(int w,int h) {\n\t \t\tfor(int j=0;j < w;j++) {\n\t \t \tfor(int i=0;i < h;i++) {\n\t \t \t\tSystem.out.print(\"#\");\n\t \t \t}\n\t\t \t\tSystem.out.println();\n\t \t\t}\n\t \t\tSystem.out.println();\n\t }\n\t}",
"public class Main {\n\t public static void main(String[] args) throws Exception {\n\t // Here your code !\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t while(true) {\n\t\t String line = br.readLine();\n\t\t String[] line2 = line.split(\" \");\n\t\t if(Integer.parseInt(line2[0])==0)\n\t\t \tif(Integer.parseInt(line2[1]) == 0)\n\t\t \t\tbreak;\n\t\t print(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]));\n\t }\n\t }\n\t static void print(int w,int h) {\n\t \t\tfor(int j=0;j < w;j++) {\n\t \t \tfor(int i=0;i < h;i++) {\n\t \t \t\tSystem.out.print(\"#\");\n\t \t \t}\n\t\t \t\tSystem.out.println();\n\t \t\t}\n\t \t\tSystem.out.println();\n\t }\n\t}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
// Here your code !
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true) {
String line = br.readLine();
String[] line2 = line.split(" ");
if(Integer.parseInt(line2[0])==0)
if(Integer.parseInt(line2[1]) == 0)
break;
print(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]));
}
}
static void print(int w,int h) {
for(int j=0;j < w;j++) {
for(int i=0;i < h;i++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
20,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
41,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
54,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
53,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
20,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
11,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
9,
85
],
[
85,
86
]
] | [
"import java.util.Scanner;\nimport java.util.Arrays;\n\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tint h = scanner.nextInt();\n\t\t\tint w = scanner.nextInt();\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tint h = scanner.nextInt();\n\t\t\tint w = scanner.nextInt();\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tint h = scanner.nextInt();\n\t\t\tint w = scanner.nextInt();\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tint h = scanner.nextInt();\n\t\t\tint w = scanner.nextInt();\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true){\n\t\t\tint h = scanner.nextInt();\n\t\t\tint w = scanner.nextInt();\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}",
"true",
"{\n\t\t\tint h = scanner.nextInt();\n\t\t\tint w = scanner.nextInt();\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}",
"int h = scanner.nextInt();",
"h",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int w = scanner.nextInt();",
"w",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}",
"{\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}",
"for(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < w",
"j",
"w",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"sb.append(\"#\")",
"sb.append",
"sb",
"\"#\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args"
] | import java.util.Scanner;
import java.util.Arrays;
class Main{
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
while(true){
int h = scanner.nextInt();
int w = scanner.nextInt();
if(h == 0 && w == 0){
break;
}
for(int i = 0; i < h; i++){
for(int j = 0; j < w; j++){
sb.append("#");
}
sb.append("\n");
}
sb.append("\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
102,
5
],
[
102,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
17,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
17,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
17,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
55,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
68,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
67,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
17,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
8,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
6,
99
],
[
99,
100
],
[
0,
101
],
[
101,
102
],
[
101,
103
]
] | [
"import java.io.*;\npublic class Main{\n\tpublic static void main(String[] args)throws Exception{\n\t\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\twhile(true){\n\t\tString str=input.readLine();\n\t\tString[] arr=str.split(\" \");\n\t\tint h=Integer.parseInt(arr[0]);\t\n\t\tint w=Integer.parseInt(arr[1]);\n\t\tif(h==0&&w==0){\n\t\t\tbreak;\n\t\t}\n\t\n\t\tfor(int i=0;i<h;i++){\n\n\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\tsb.append(\"#\");\n\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\t\tsb.append(\"\\n\");\n\n\t\t\t}\n\t\t\n\t\t\n\t\t\n\t\tSystem.out.print(sb);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String[] args)throws Exception{\n\t\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\twhile(true){\n\t\tString str=input.readLine();\n\t\tString[] arr=str.split(\" \");\n\t\tint h=Integer.parseInt(arr[0]);\t\n\t\tint w=Integer.parseInt(arr[1]);\n\t\tif(h==0&&w==0){\n\t\t\tbreak;\n\t\t}\n\t\n\t\tfor(int i=0;i<h;i++){\n\n\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\tsb.append(\"#\");\n\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\t\tsb.append(\"\\n\");\n\n\t\t\t}\n\t\t\n\t\t\n\t\t\n\t\tSystem.out.print(sb);\n\t}\n}",
"Main",
"public static void main(String[] args)throws Exception{\n\t\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\twhile(true){\n\t\tString str=input.readLine();\n\t\tString[] arr=str.split(\" \");\n\t\tint h=Integer.parseInt(arr[0]);\t\n\t\tint w=Integer.parseInt(arr[1]);\n\t\tif(h==0&&w==0){\n\t\t\tbreak;\n\t\t}\n\t\n\t\tfor(int i=0;i<h;i++){\n\n\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\tsb.append(\"#\");\n\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\t\tsb.append(\"\\n\");\n\n\t\t\t}\n\t\t\n\t\t\n\t\t\n\t\tSystem.out.print(sb);\n\t}",
"main",
"{\n\t\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\twhile(true){\n\t\tString str=input.readLine();\n\t\tString[] arr=str.split(\" \");\n\t\tint h=Integer.parseInt(arr[0]);\t\n\t\tint w=Integer.parseInt(arr[1]);\n\t\tif(h==0&&w==0){\n\t\t\tbreak;\n\t\t}\n\t\n\t\tfor(int i=0;i<h;i++){\n\n\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\tsb.append(\"#\");\n\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\t\tsb.append(\"\\n\");\n\n\t\t\t}\n\t\t\n\t\t\n\t\t\n\t\tSystem.out.print(sb);\n\t}",
"BufferedReader input=new BufferedReader(new InputStreamReader(System.in));",
"input",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb=new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true){\n\t\tString str=input.readLine();\n\t\tString[] arr=str.split(\" \");\n\t\tint h=Integer.parseInt(arr[0]);\t\n\t\tint w=Integer.parseInt(arr[1]);\n\t\tif(h==0&&w==0){\n\t\t\tbreak;\n\t\t}\n\t\n\t\tfor(int i=0;i<h;i++){\n\n\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\tsb.append(\"#\");\n\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\t\tsb.append(\"\\n\");\n\n\t\t\t}",
"true",
"{\n\t\tString str=input.readLine();\n\t\tString[] arr=str.split(\" \");\n\t\tint h=Integer.parseInt(arr[0]);\t\n\t\tint w=Integer.parseInt(arr[1]);\n\t\tif(h==0&&w==0){\n\t\t\tbreak;\n\t\t}\n\t\n\t\tfor(int i=0;i<h;i++){\n\n\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\tsb.append(\"#\");\n\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\t\tsb.append(\"\\n\");\n\n\t\t\t}",
"String str=input.readLine();",
"str",
"input.readLine()",
"input.readLine",
"input",
"String[] arr=str.split(\" \");",
"arr",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int h=Integer.parseInt(arr[0]);",
"h",
"Integer.parseInt(arr[0])",
"Integer.parseInt",
"Integer",
"arr[0]",
"arr",
"0",
"int w=Integer.parseInt(arr[1]);",
"w",
"Integer.parseInt(arr[1])",
"Integer.parseInt",
"Integer",
"arr[1]",
"arr",
"1",
"if(h==0&&w==0){\n\t\t\tbreak;\n\t\t}",
"h==0&&w==0",
"h==0",
"h",
"0",
"w==0",
"w",
"0",
"{\n\t\t\tbreak;\n\t\t}",
"break;",
"for(int i=0;i<h;i++){\n\n\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\tsb.append(\"#\");\n\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\n\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\tsb.append(\"#\");\n\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t}",
"{\n\n\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\tsb.append(\"#\");\n\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t}",
"for(int j=0;j<w;j++){\n\t\t\t\tsb.append(\"#\");\n\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<w",
"j",
"w",
"j++",
"j++",
"j",
"{\n\t\t\t\tsb.append(\"#\");\n\t\t\t}",
"{\n\t\t\t\tsb.append(\"#\");\n\t\t\t}",
"sb.append(\"#\")",
"sb.append",
"sb",
"\"#\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args)throws Exception{\n\t\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\twhile(true){\n\t\tString str=input.readLine();\n\t\tString[] arr=str.split(\" \");\n\t\tint h=Integer.parseInt(arr[0]);\t\n\t\tint w=Integer.parseInt(arr[1]);\n\t\tif(h==0&&w==0){\n\t\t\tbreak;\n\t\t}\n\t\n\t\tfor(int i=0;i<h;i++){\n\n\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\tsb.append(\"#\");\n\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\t\tsb.append(\"\\n\");\n\n\t\t\t}\n\t\t\n\t\t\n\t\t\n\t\tSystem.out.print(sb);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args)throws Exception{\n\t\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\twhile(true){\n\t\tString str=input.readLine();\n\t\tString[] arr=str.split(\" \");\n\t\tint h=Integer.parseInt(arr[0]);\t\n\t\tint w=Integer.parseInt(arr[1]);\n\t\tif(h==0&&w==0){\n\t\t\tbreak;\n\t\t}\n\t\n\t\tfor(int i=0;i<h;i++){\n\n\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\tsb.append(\"#\");\n\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\t\tsb.append(\"\\n\");\n\n\t\t\t}\n\t\t\n\t\t\n\t\t\n\t\tSystem.out.print(sb);\n\t}\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[] args)throws Exception{
BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb=new StringBuilder();
while(true){
String str=input.readLine();
String[] arr=str.split(" ");
int h=Integer.parseInt(arr[0]);
int w=Integer.parseInt(arr[1]);
if(h==0&&w==0){
break;
}
for(int i=0;i<h;i++){
for(int j=0;j<w;j++){
sb.append("#");
}
sb.append("\n");
}
sb.append("\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
5,
13,
30,
4,
18,
13,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
14,
4,
18,
13,
17,
3,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
117,
11
],
[
117,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
21,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
21,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
36,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
44,
49
],
[
43,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
43,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
43,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
69,
71
],
[
43,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
81,
82
],
[
72,
83
],
[
84,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
90,
91
],
[
90,
92
],
[
85,
93
],
[
93,
94
],
[
94,
95
],
[
85,
96
],
[
97,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
84,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
43,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
12,
114
],
[
114,
115
],
[
0,
116
],
[
116,
117
],
[
116,
118
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString x = \"\";\n\t\ttry {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tif (x.equals(\"0 0\")) break;\n\t\t\t\t\n\t\t\t\tString[] values = x.split(\" \");\n\t\n\t\t\t\tint a = Integer.parseInt(values[0]);\n\t\t\t\tint b = Integer.parseInt(values[1]);\n\t\t\t\t\n\t\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString x = \"\";\n\t\ttry {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tif (x.equals(\"0 0\")) break;\n\t\t\t\t\n\t\t\t\tString[] values = x.split(\" \");\n\t\n\t\t\t\tint a = Integer.parseInt(values[0]);\n\t\t\t\tint b = Integer.parseInt(values[1]);\n\t\t\t\t\n\t\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString x = \"\";\n\t\ttry {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tif (x.equals(\"0 0\")) break;\n\t\t\t\t\n\t\t\t\tString[] values = x.split(\" \");\n\t\n\t\t\t\tint a = Integer.parseInt(values[0]);\n\t\t\t\tint b = Integer.parseInt(values[1]);\n\t\t\t\t\n\t\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString x = \"\";\n\t\ttry {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tif (x.equals(\"0 0\")) break;\n\t\t\t\t\n\t\t\t\tString[] values = x.split(\" \");\n\t\n\t\t\t\tint a = Integer.parseInt(values[0]);\n\t\t\t\tint b = Integer.parseInt(values[1]);\n\t\t\t\t\n\t\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"String x = \"\";",
"x",
"\"\"",
"try {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tif (x.equals(\"0 0\")) break;\n\t\t\t\t\n\t\t\t\tString[] values = x.split(\" \");\n\t\n\t\t\t\tint a = Integer.parseInt(values[0]);\n\t\t\t\tint b = Integer.parseInt(values[1]);\n\t\t\t\t\n\t\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"NumberFormatException e",
"{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tif (x.equals(\"0 0\")) break;\n\t\t\t\t\n\t\t\t\tString[] values = x.split(\" \");\n\t\n\t\t\t\tint a = Integer.parseInt(values[0]);\n\t\t\t\tint b = Integer.parseInt(values[1]);\n\t\t\t\t\n\t\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}",
"while ((x = in.readLine()) != null) {\n\t\t\t\tif (x.equals(\"0 0\")) break;\n\t\t\t\t\n\t\t\t\tString[] values = x.split(\" \");\n\t\n\t\t\t\tint a = Integer.parseInt(values[0]);\n\t\t\t\tint b = Integer.parseInt(values[1]);\n\t\t\t\t\n\t\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"(x = in.readLine()) != null",
"(x = in.readLine())",
"x",
"in.readLine()",
"in.readLine",
"in",
"null",
"{\n\t\t\t\tif (x.equals(\"0 0\")) break;\n\t\t\t\t\n\t\t\t\tString[] values = x.split(\" \");\n\t\n\t\t\t\tint a = Integer.parseInt(values[0]);\n\t\t\t\tint b = Integer.parseInt(values[1]);\n\t\t\t\t\n\t\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"if (x.equals(\"0 0\")) break;",
"x.equals(\"0 0\")",
"x.equals",
"x",
"\"0 0\"",
"break;",
"String[] values = x.split(\" \");",
"values",
"x.split(\" \")",
"x.split",
"x",
"\" \"",
"int a = Integer.parseInt(values[0]);",
"a",
"Integer.parseInt(values[0])",
"Integer.parseInt",
"Integer",
"values[0]",
"values",
"0",
"int b = Integer.parseInt(values[1]);",
"b",
"Integer.parseInt(values[1])",
"Integer.parseInt",
"Integer",
"values[1]",
"values",
"1",
"for (int i = 0; i < a; i++) {\n\t\t\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a",
"i",
"a",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"{\n\t\t\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"for (int j = 0; j < b; j++) {\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < b",
"j",
"b",
"j++",
"j++",
"j",
"{\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}",
"System.out.print('#')",
"System.out.print",
"System.out",
"System",
"System.out",
"'#'",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString x = \"\";\n\t\ttry {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tif (x.equals(\"0 0\")) break;\n\t\t\t\t\n\t\t\t\tString[] values = x.split(\" \");\n\t\n\t\t\t\tint a = Integer.parseInt(values[0]);\n\t\t\t\tint b = Integer.parseInt(values[1]);\n\t\t\t\t\n\t\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString x = \"\";\n\t\ttry {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tif (x.equals(\"0 0\")) break;\n\t\t\t\t\n\t\t\t\tString[] values = x.split(\" \");\n\t\n\t\t\t\tint a = Integer.parseInt(values[0]);\n\t\t\t\tint b = Integer.parseInt(values[1]);\n\t\t\t\t\n\t\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String x = "";
try {
while ((x = in.readLine()) != null) {
if (x.equals("0 0")) break;
String[] values = x.split(" ");
int a = Integer.parseInt(values[0]);
int b = Integer.parseInt(values[1]);
for (int i = 0; i < a; i++) {
for (int j = 0; j < b; j++) {
System.out.print('#');
}
System.out.println();
}
System.out.println();
}
} catch (NumberFormatException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
20,
0,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
3,
4,
18,
13,
13,
40,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
4,
18,
13,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
42,
2,
13,
17,
30,
0,
13,
13,
42,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
40,
13,
4,
18,
18,
13,
13,
17,
40,
13,
0,
13,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
133,
8
],
[
133,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
23,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
32,
37
],
[
37,
38
],
[
23,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
23,
43
],
[
43,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
45,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
57,
64
],
[
64,
65
],
[
64,
66
],
[
57,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
69,
75
],
[
57,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
81,
83
],
[
57,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
89,
90
],
[
89,
91
],
[
57,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
104,
111
],
[
111,
112
],
[
96,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
96,
119
],
[
119,
120
],
[
96,
121
],
[
121,
122
],
[
121,
123
],
[
57,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
124,
129
],
[
9,
130
],
[
130,
131
],
[
0,
132
],
[
132,
133
],
[
132,
134
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<String> lines = new ArrayList<String>();\n\t\tint in = 0;\n\n\t\twhile (true) {\n\t\t\tString string = new String();\n\t\t\tstring = sc.nextLine();\n\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tlines.add(string);\n\t\t\tin++;\n\t\t}\n\n\t\tfor (int i = 0; i < in; i++) {\n\t\t\tint h = 0;\n\t\t\tint w = 0;\n\t\t\tint v = 0;\n\t\t\tString[] str = lines.get(i).split(\" \");\n\t\t\th = Integer.parseInt(str[0]);\n\t\t\tw = Integer.parseInt(str[1]);\n\n\t\t\twhile (h > 0) {\n\t\t\t\tv = w;\n\t\t\t\twhile (w > 0) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tw--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\th--;\n\t\t\t\tw = v;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<String> lines = new ArrayList<String>();\n\t\tint in = 0;\n\n\t\twhile (true) {\n\t\t\tString string = new String();\n\t\t\tstring = sc.nextLine();\n\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tlines.add(string);\n\t\t\tin++;\n\t\t}\n\n\t\tfor (int i = 0; i < in; i++) {\n\t\t\tint h = 0;\n\t\t\tint w = 0;\n\t\t\tint v = 0;\n\t\t\tString[] str = lines.get(i).split(\" \");\n\t\t\th = Integer.parseInt(str[0]);\n\t\t\tw = Integer.parseInt(str[1]);\n\n\t\t\twhile (h > 0) {\n\t\t\t\tv = w;\n\t\t\t\twhile (w > 0) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tw--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\th--;\n\t\t\t\tw = v;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<String> lines = new ArrayList<String>();\n\t\tint in = 0;\n\n\t\twhile (true) {\n\t\t\tString string = new String();\n\t\t\tstring = sc.nextLine();\n\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tlines.add(string);\n\t\t\tin++;\n\t\t}\n\n\t\tfor (int i = 0; i < in; i++) {\n\t\t\tint h = 0;\n\t\t\tint w = 0;\n\t\t\tint v = 0;\n\t\t\tString[] str = lines.get(i).split(\" \");\n\t\t\th = Integer.parseInt(str[0]);\n\t\t\tw = Integer.parseInt(str[1]);\n\n\t\t\twhile (h > 0) {\n\t\t\t\tv = w;\n\t\t\t\twhile (w > 0) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tw--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\th--;\n\t\t\t\tw = v;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<String> lines = new ArrayList<String>();\n\t\tint in = 0;\n\n\t\twhile (true) {\n\t\t\tString string = new String();\n\t\t\tstring = sc.nextLine();\n\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tlines.add(string);\n\t\t\tin++;\n\t\t}\n\n\t\tfor (int i = 0; i < in; i++) {\n\t\t\tint h = 0;\n\t\t\tint w = 0;\n\t\t\tint v = 0;\n\t\t\tString[] str = lines.get(i).split(\" \");\n\t\t\th = Integer.parseInt(str[0]);\n\t\t\tw = Integer.parseInt(str[1]);\n\n\t\t\twhile (h > 0) {\n\t\t\t\tv = w;\n\t\t\t\twhile (w > 0) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tw--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\th--;\n\t\t\t\tw = v;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<String> lines = new ArrayList<String>();",
"lines",
"new ArrayList<String>()",
"int in = 0;",
"in",
"0",
"while (true) {\n\t\t\tString string = new String();\n\t\t\tstring = sc.nextLine();\n\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tlines.add(string);\n\t\t\tin++;\n\t\t}",
"true",
"{\n\t\t\tString string = new String();\n\t\t\tstring = sc.nextLine();\n\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tlines.add(string);\n\t\t\tin++;\n\t\t}",
"String string = new String();",
"string",
"new String()",
"string = sc.nextLine()",
"string",
"sc.nextLine()",
"sc.nextLine",
"sc",
"if (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}",
"string.equals(\"0 0\")",
"string.equals",
"string",
"\"0 0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"lines.add(string)",
"lines.add",
"lines",
"string",
"in++",
"in",
"for (int i = 0; i < in; i++) {\n\t\t\tint h = 0;\n\t\t\tint w = 0;\n\t\t\tint v = 0;\n\t\t\tString[] str = lines.get(i).split(\" \");\n\t\t\th = Integer.parseInt(str[0]);\n\t\t\tw = Integer.parseInt(str[1]);\n\n\t\t\twhile (h > 0) {\n\t\t\t\tv = w;\n\t\t\t\twhile (w > 0) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tw--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\th--;\n\t\t\t\tw = v;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < in",
"i",
"in",
"i++",
"i++",
"i",
"{\n\t\t\tint h = 0;\n\t\t\tint w = 0;\n\t\t\tint v = 0;\n\t\t\tString[] str = lines.get(i).split(\" \");\n\t\t\th = Integer.parseInt(str[0]);\n\t\t\tw = Integer.parseInt(str[1]);\n\n\t\t\twhile (h > 0) {\n\t\t\t\tv = w;\n\t\t\t\twhile (w > 0) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tw--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\th--;\n\t\t\t\tw = v;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"{\n\t\t\tint h = 0;\n\t\t\tint w = 0;\n\t\t\tint v = 0;\n\t\t\tString[] str = lines.get(i).split(\" \");\n\t\t\th = Integer.parseInt(str[0]);\n\t\t\tw = Integer.parseInt(str[1]);\n\n\t\t\twhile (h > 0) {\n\t\t\t\tv = w;\n\t\t\t\twhile (w > 0) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tw--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\th--;\n\t\t\t\tw = v;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"int h = 0;",
"h",
"0",
"int w = 0;",
"w",
"0",
"int v = 0;",
"v",
"0",
"String[] str = lines.get(i).split(\" \");",
"str",
"lines.get(i).split(\" \")",
"lines.get(i).split",
"lines.get(i)",
"lines.get",
"lines",
"i",
"\" \"",
"h = Integer.parseInt(str[0])",
"h",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"w = Integer.parseInt(str[1])",
"w",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"while (h > 0) {\n\t\t\t\tv = w;\n\t\t\t\twhile (w > 0) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tw--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\th--;\n\t\t\t\tw = v;\n\t\t\t}",
"h > 0",
"h",
"0",
"{\n\t\t\t\tv = w;\n\t\t\t\twhile (w > 0) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tw--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\th--;\n\t\t\t\tw = v;\n\t\t\t}",
"v = w",
"v",
"w",
"while (w > 0) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tw--;\n\t\t\t\t}",
"w > 0",
"w",
"0",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tw--;\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"w--",
"w",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"h--",
"h",
"w = v",
"w",
"v",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<String> lines = new ArrayList<String>();\n\t\tint in = 0;\n\n\t\twhile (true) {\n\t\t\tString string = new String();\n\t\t\tstring = sc.nextLine();\n\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tlines.add(string);\n\t\t\tin++;\n\t\t}\n\n\t\tfor (int i = 0; i < in; i++) {\n\t\t\tint h = 0;\n\t\t\tint w = 0;\n\t\t\tint v = 0;\n\t\t\tString[] str = lines.get(i).split(\" \");\n\t\t\th = Integer.parseInt(str[0]);\n\t\t\tw = Integer.parseInt(str[1]);\n\n\t\t\twhile (h > 0) {\n\t\t\t\tv = w;\n\t\t\t\twhile (w > 0) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tw--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\th--;\n\t\t\t\tw = v;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<String> lines = new ArrayList<String>();\n\t\tint in = 0;\n\n\t\twhile (true) {\n\t\t\tString string = new String();\n\t\t\tstring = sc.nextLine();\n\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tlines.add(string);\n\t\t\tin++;\n\t\t}\n\n\t\tfor (int i = 0; i < in; i++) {\n\t\t\tint h = 0;\n\t\t\tint w = 0;\n\t\t\tint v = 0;\n\t\t\tString[] str = lines.get(i).split(\" \");\n\t\t\th = Integer.parseInt(str[0]);\n\t\t\tw = Integer.parseInt(str[1]);\n\n\t\t\twhile (h > 0) {\n\t\t\t\tv = w;\n\t\t\t\twhile (w > 0) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tw--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\th--;\n\t\t\t\tw = v;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
ArrayList<String> lines = new ArrayList<String>();
int in = 0;
while (true) {
String string = new String();
string = sc.nextLine();
if (string.equals("0 0")) {
break;
}
lines.add(string);
in++;
}
for (int i = 0; i < in; i++) {
int h = 0;
int w = 0;
int v = 0;
String[] str = lines.get(i).split(" ");
h = Integer.parseInt(str[0]);
w = Integer.parseInt(str[1]);
while (h > 0) {
v = w;
while (w > 0) {
System.out.print("#");
w--;
}
System.out.println("");
h--;
w = v;
}
System.out.println("");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
99,
5
],
[
99,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
23,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
20,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
20,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
54,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
67,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
66,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
20,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
6,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int H,W;\n while(sc.hasNextLine()){\n String[] str = sc.nextLine().split(\" \");\n H = Integer.parseInt(str[0]);\n W = Integer.parseInt(str[1]);\n if(H == 0 && W == 0) break;\n for(int y = 0; y < H; y++){\n for(int x = 0;x < W; x++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int H,W;\n while(sc.hasNextLine()){\n String[] str = sc.nextLine().split(\" \");\n H = Integer.parseInt(str[0]);\n W = Integer.parseInt(str[1]);\n if(H == 0 && W == 0) break;\n for(int y = 0; y < H; y++){\n for(int x = 0;x < W; x++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int H,W;\n while(sc.hasNextLine()){\n String[] str = sc.nextLine().split(\" \");\n H = Integer.parseInt(str[0]);\n W = Integer.parseInt(str[1]);\n if(H == 0 && W == 0) break;\n for(int y = 0; y < H; y++){\n for(int x = 0;x < W; x++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int H,W;\n while(sc.hasNextLine()){\n String[] str = sc.nextLine().split(\" \");\n H = Integer.parseInt(str[0]);\n W = Integer.parseInt(str[1]);\n if(H == 0 && W == 0) break;\n for(int y = 0; y < H; y++){\n for(int x = 0;x < W; x++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int H",
"H",
"W;",
"W",
"while(sc.hasNextLine()){\n String[] str = sc.nextLine().split(\" \");\n H = Integer.parseInt(str[0]);\n W = Integer.parseInt(str[1]);\n if(H == 0 && W == 0) break;\n for(int y = 0; y < H; y++){\n for(int x = 0;x < W; x++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"sc.hasNextLine()",
"sc.hasNextLine",
"sc",
"{\n String[] str = sc.nextLine().split(\" \");\n H = Integer.parseInt(str[0]);\n W = Integer.parseInt(str[1]);\n if(H == 0 && W == 0) break;\n for(int y = 0; y < H; y++){\n for(int x = 0;x < W; x++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"String[] str = sc.nextLine().split(\" \");",
"str",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"H = Integer.parseInt(str[0])",
"H",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"W = Integer.parseInt(str[1])",
"W",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"if(H == 0 && W == 0) break;",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"break;",
"for(int y = 0; y < H; y++){\n for(int x = 0;x < W; x++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"int y = 0;",
"int y = 0;",
"y",
"0",
"y < H",
"y",
"H",
"y++",
"y++",
"y",
"{\n for(int x = 0;x < W; x++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"{\n for(int x = 0;x < W; x++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"for(int x = 0;x < W; x++){\n System.out.print(\"#\");\n }",
"int x = 0;",
"int x = 0;",
"x",
"0",
"x < W",
"x",
"W",
"x++",
"x++",
"x",
"{\n System.out.print(\"#\");\n }",
"{\n System.out.print(\"#\");\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int H,W;\n while(sc.hasNextLine()){\n String[] str = sc.nextLine().split(\" \");\n H = Integer.parseInt(str[0]);\n W = Integer.parseInt(str[1]);\n if(H == 0 && W == 0) break;\n for(int y = 0; y < H; y++){\n for(int x = 0;x < W; x++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int H,W;\n while(sc.hasNextLine()){\n String[] str = sc.nextLine().split(\" \");\n H = Integer.parseInt(str[0]);\n W = Integer.parseInt(str[1]);\n if(H == 0 && W == 0) break;\n for(int y = 0; y < H; y++){\n for(int x = 0;x < W; x++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int H,W;
while(sc.hasNextLine()){
String[] str = sc.nextLine().split(" ");
H = Integer.parseInt(str[0]);
W = Integer.parseInt(str[1]);
if(H == 0 && W == 0) break;
for(int y = 0; y < H; y++){
for(int x = 0;x < W; x++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
88,
8
],
[
88,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
17,
38
],
[
38,
39
],
[
38,
40
],
[
17,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
41,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
17,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
57,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
17,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
11,
82
],
[
82,
83
],
[
83,
84
],
[
9,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.text.DecimalFormat;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws java.io.IOException{\n Scanner sc = new Scanner(System.in);\n while(true){\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h==0&&w==0){\n break;\n }\n String elem = \"\";\n for (int i=1;i<=w;i++){\n elem+=\"#\";\n }\n for (int i = 1;i<=h;i++){\n System.out.println(elem);\n }\n System.out.println(\"\");\n }\n sc.close();\n }\n}",
"import java.text.DecimalFormat;",
"DecimalFormat",
"java.text",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws java.io.IOException{\n Scanner sc = new Scanner(System.in);\n while(true){\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h==0&&w==0){\n break;\n }\n String elem = \"\";\n for (int i=1;i<=w;i++){\n elem+=\"#\";\n }\n for (int i = 1;i<=h;i++){\n System.out.println(elem);\n }\n System.out.println(\"\");\n }\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) throws java.io.IOException{\n Scanner sc = new Scanner(System.in);\n while(true){\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h==0&&w==0){\n break;\n }\n String elem = \"\";\n for (int i=1;i<=w;i++){\n elem+=\"#\";\n }\n for (int i = 1;i<=h;i++){\n System.out.println(elem);\n }\n System.out.println(\"\");\n }\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n while(true){\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h==0&&w==0){\n break;\n }\n String elem = \"\";\n for (int i=1;i<=w;i++){\n elem+=\"#\";\n }\n for (int i = 1;i<=h;i++){\n System.out.println(elem);\n }\n System.out.println(\"\");\n }\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(true){\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h==0&&w==0){\n break;\n }\n String elem = \"\";\n for (int i=1;i<=w;i++){\n elem+=\"#\";\n }\n for (int i = 1;i<=h;i++){\n System.out.println(elem);\n }\n System.out.println(\"\");\n }",
"true",
"{\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h==0&&w==0){\n break;\n }\n String elem = \"\";\n for (int i=1;i<=w;i++){\n elem+=\"#\";\n }\n for (int i = 1;i<=h;i++){\n System.out.println(elem);\n }\n System.out.println(\"\");\n }",
"int h = sc.nextInt();",
"h",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(h==0&&w==0){\n break;\n }",
"h==0&&w==0",
"h==0",
"h",
"0",
"w==0",
"w",
"0",
"{\n break;\n }",
"break;",
"String elem = \"\";",
"elem",
"\"\"",
"for (int i=1;i<=w;i++){\n elem+=\"#\";\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=w",
"i",
"w",
"i++",
"i++",
"i",
"{\n elem+=\"#\";\n }",
"{\n elem+=\"#\";\n }",
"elem+=\"#\"",
"elem",
"\"#\"",
"for (int i = 1;i<=h;i++){\n System.out.println(elem);\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i<=h",
"i",
"h",
"i++",
"i++",
"i",
"{\n System.out.println(elem);\n }",
"{\n System.out.println(elem);\n }",
"System.out.println(elem)",
"System.out.println",
"System.out",
"System",
"System.out",
"elem",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws java.io.IOException{\n Scanner sc = new Scanner(System.in);\n while(true){\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h==0&&w==0){\n break;\n }\n String elem = \"\";\n for (int i=1;i<=w;i++){\n elem+=\"#\";\n }\n for (int i = 1;i<=h;i++){\n System.out.println(elem);\n }\n System.out.println(\"\");\n }\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args) throws java.io.IOException{\n Scanner sc = new Scanner(System.in);\n while(true){\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h==0&&w==0){\n break;\n }\n String elem = \"\";\n for (int i=1;i<=w;i++){\n elem+=\"#\";\n }\n for (int i = 1;i<=h;i++){\n System.out.println(elem);\n }\n System.out.println(\"\");\n }\n sc.close();\n }\n}",
"Main"
] | import java.text.DecimalFormat;
import java.util.*;
public class Main {
public static void main(String[] args) throws java.io.IOException{
Scanner sc = new Scanner(System.in);
while(true){
int h = sc.nextInt();
int w = sc.nextInt();
if(h==0&&w==0){
break;
}
String elem = "";
for (int i=1;i<=w;i++){
elem+="#";
}
for (int i = 1;i<=h;i++){
System.out.println(elem);
}
System.out.println("");
}
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
20,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
30,
3,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
84,
5
],
[
84,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
19,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
18,
30
],
[
30,
31
],
[
14,
32
],
[
32,
33
],
[
32,
34
],
[
14,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
50,
60
],
[
60,
61
],
[
61,
62
],
[
50,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
49,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
14,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
79,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (true) {\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n if (a[0] == 0 && a[1] == 0) {\n break;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a[0]; i++) {\n for (int j = 0; j < a[1]; j++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n System.out.println(sb.toString());\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (true) {\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n if (a[0] == 0 && a[1] == 0) {\n break;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a[0]; i++) {\n for (int j = 0; j < a[1]; j++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n System.out.println(sb.toString());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (true) {\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n if (a[0] == 0 && a[1] == 0) {\n break;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a[0]; i++) {\n for (int j = 0; j < a[1]; j++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n System.out.println(sb.toString());\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n while (true) {\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n if (a[0] == 0 && a[1] == 0) {\n break;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a[0]; i++) {\n for (int j = 0; j < a[1]; j++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n System.out.println(sb.toString());\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (true) {\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n if (a[0] == 0 && a[1] == 0) {\n break;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a[0]; i++) {\n for (int j = 0; j < a[1]; j++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n System.out.println(sb.toString());\n }",
"true",
"{\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n if (a[0] == 0 && a[1] == 0) {\n break;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a[0]; i++) {\n for (int j = 0; j < a[1]; j++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n System.out.println(sb.toString());\n }",
"int[] a = new int[]{sc.nextInt(), sc.nextInt()};",
"a",
"new int[]{sc.nextInt(), sc.nextInt()}",
"if (a[0] == 0 && a[1] == 0) {\n break;\n }",
"a[0] == 0 && a[1] == 0",
"a[0] == 0",
"a[0]",
"a",
"0",
"0",
"a[1] == 0",
"a[1]",
"a",
"1",
"0",
"{\n break;\n }",
"break;",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = 0; i < a[0]; i++) {\n for (int j = 0; j < a[1]; j++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a[0]",
"i",
"a[0]",
"a",
"0",
"i++",
"i++",
"i",
"{\n for (int j = 0; j < a[1]; j++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }",
"{\n for (int j = 0; j < a[1]; j++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }",
"for (int j = 0; j < a[1]; j++) {\n sb.append(\"#\");\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < a[1]",
"j",
"a[1]",
"a",
"1",
"j++",
"j++",
"j",
"{\n sb.append(\"#\");\n }",
"{\n sb.append(\"#\");\n }",
"sb.append(\"#\")",
"sb.append",
"sb",
"\"#\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (true) {\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n if (a[0] == 0 && a[1] == 0) {\n break;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a[0]; i++) {\n for (int j = 0; j < a[1]; j++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n System.out.println(sb.toString());\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (true) {\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n if (a[0] == 0 && a[1] == 0) {\n break;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a[0]; i++) {\n for (int j = 0; j < a[1]; j++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n System.out.println(sb.toString());\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (true) {
int[] a = new int[]{sc.nextInt(), sc.nextInt()};
if (a[0] == 0 && a[1] == 0) {
break;
}
StringBuilder sb = new StringBuilder();
for (int i = 0; i < a[0]; i++) {
for (int j = 0; j < a[1]; j++) {
sb.append("#");
}
sb.append("\n");
}
System.out.println(sb.toString());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
94,
5
],
[
94,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
28,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
62,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
61,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
28,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
6,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint H;\n\t\tint W;\n\t\tfor (int i = 0; i < 10000; i ++) {\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int h = 0; h < H; h++) {\n\t\t\t\tfor (int w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint H;\n\t\tint W;\n\t\tfor (int i = 0; i < 10000; i ++) {\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int h = 0; h < H; h++) {\n\t\t\t\tfor (int w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint H;\n\t\tint W;\n\t\tfor (int i = 0; i < 10000; i ++) {\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int h = 0; h < H; h++) {\n\t\t\t\tfor (int w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint H;\n\t\tint W;\n\t\tfor (int i = 0; i < 10000; i ++) {\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int h = 0; h < H; h++) {\n\t\t\t\tfor (int w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int H;",
"H",
"int W;",
"W",
"for (int i = 0; i < 10000; i ++) {\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int h = 0; h < H; h++) {\n\t\t\t\tfor (int w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10000",
"i",
"10000",
"i ++",
"i ++",
"i",
"{\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int h = 0; h < H; h++) {\n\t\t\t\tfor (int w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"{\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int h = 0; h < H; h++) {\n\t\t\t\tfor (int w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"H = scan.nextInt()",
"H",
"scan.nextInt()",
"scan.nextInt",
"scan",
"W = scan.nextInt()",
"W",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for (int h = 0; h < H; h++) {\n\t\t\t\tfor (int w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"int h = 0;",
"int h = 0;",
"h",
"0",
"h < H",
"h",
"H",
"h++",
"h++",
"h",
"{\n\t\t\t\tfor (int w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"{\n\t\t\t\tfor (int w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"for (int w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int w = 0;",
"int w = 0;",
"w",
"0",
"w < W",
"w",
"W",
"w++",
"w++",
"w",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint H;\n\t\tint W;\n\t\tfor (int i = 0; i < 10000; i ++) {\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int h = 0; h < H; h++) {\n\t\t\t\tfor (int w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint H;\n\t\tint W;\n\t\tfor (int i = 0; i < 10000; i ++) {\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int h = 0; h < H; h++) {\n\t\t\t\tfor (int w = 0; w < W; w++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int H;
int W;
for (int i = 0; i < 10000; i ++) {
H = scan.nextInt();
W = scan.nextInt();
if (H == 0 && W == 0) {
break;
}
for (int h = 0; h < H; h++) {
for (int w = 0; w < W; w++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
13,
13,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
3,
11,
1,
41,
13,
17,
2,
13,
18,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
2,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
2,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
17,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
14,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
28,
40
],
[
14,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
56,
66
],
[
66,
67
],
[
67,
68
],
[
56,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
71,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
71,
86
],
[
86,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
88,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
86,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
86,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
14,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
6,
121
],
[
121,
122
],
[
4,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
129,
130
],
[
129,
131
],
[
125,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
132,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
139,
141
],
[
132,
142
],
[
142,
143
],
[
143,
144
],
[
132,
145
],
[
146,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
151,
152
],
[
152,
153
],
[
151,
154
],
[
154,
155
],
[
154,
156
],
[
125,
157
],
[
157,
158
],
[
123,
159
],
[
159,
160
]
] | [
"import java.io.*;\n\nclass Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString lns[] = br.readLine().split(\" \");\n\t\t\tint ln[] = parseInts(lns);\n\t\t\tif(ln[0]==0 && ln[1]==0) break;\n\t\t\tfor(int x=0; x<ln[0] ;x++){\n\t\t\t\tfor(int y=0; y<ln[1]; y++){\n\t\t\t\t\tif(y==ln[1]-1){\n\t\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t\t}else if(y==0 || x==0 || x==ln[0]-1){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\tstatic int[] parseInts(String[] s){\n\t\tint[] x = new int[s.length];\n\t\tfor(int i=0;i<s.length;i++){\n\t\t\tx[i] = Integer.parseInt(s[i]);\n\t\t}\n\t\treturn x;\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString lns[] = br.readLine().split(\" \");\n\t\t\tint ln[] = parseInts(lns);\n\t\t\tif(ln[0]==0 && ln[1]==0) break;\n\t\t\tfor(int x=0; x<ln[0] ;x++){\n\t\t\t\tfor(int y=0; y<ln[1]; y++){\n\t\t\t\t\tif(y==ln[1]-1){\n\t\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t\t}else if(y==0 || x==0 || x==ln[0]-1){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\tstatic int[] parseInts(String[] s){\n\t\tint[] x = new int[s.length];\n\t\tfor(int i=0;i<s.length;i++){\n\t\t\tx[i] = Integer.parseInt(s[i]);\n\t\t}\n\t\treturn x;\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString lns[] = br.readLine().split(\" \");\n\t\t\tint ln[] = parseInts(lns);\n\t\t\tif(ln[0]==0 && ln[1]==0) break;\n\t\t\tfor(int x=0; x<ln[0] ;x++){\n\t\t\t\tfor(int y=0; y<ln[1]; y++){\n\t\t\t\t\tif(y==ln[1]-1){\n\t\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t\t}else if(y==0 || x==0 || x==ln[0]-1){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString lns[] = br.readLine().split(\" \");\n\t\t\tint ln[] = parseInts(lns);\n\t\t\tif(ln[0]==0 && ln[1]==0) break;\n\t\t\tfor(int x=0; x<ln[0] ;x++){\n\t\t\t\tfor(int y=0; y<ln[1]; y++){\n\t\t\t\t\tif(y==ln[1]-1){\n\t\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t\t}else if(y==0 || x==0 || x==ln[0]-1){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t\t\tString lns[] = br.readLine().split(\" \");\n\t\t\tint ln[] = parseInts(lns);\n\t\t\tif(ln[0]==0 && ln[1]==0) break;\n\t\t\tfor(int x=0; x<ln[0] ;x++){\n\t\t\t\tfor(int y=0; y<ln[1]; y++){\n\t\t\t\t\tif(y==ln[1]-1){\n\t\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t\t}else if(y==0 || x==0 || x==ln[0]-1){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"true",
"{\n\t\t\tString lns[] = br.readLine().split(\" \");\n\t\t\tint ln[] = parseInts(lns);\n\t\t\tif(ln[0]==0 && ln[1]==0) break;\n\t\t\tfor(int x=0; x<ln[0] ;x++){\n\t\t\t\tfor(int y=0; y<ln[1]; y++){\n\t\t\t\t\tif(y==ln[1]-1){\n\t\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t\t}else if(y==0 || x==0 || x==ln[0]-1){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"String lns[] = br.readLine().split(\" \");",
"lns",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int ln[] = parseInts(lns);",
"ln",
"parseInts(lns)",
"parseInts",
"lns",
"if(ln[0]==0 && ln[1]==0) break;",
"ln[0]==0 && ln[1]==0",
"ln[0]==0",
"ln[0]",
"ln",
"0",
"0",
"ln[1]==0",
"ln[1]",
"ln",
"1",
"0",
"break;",
"for(int x=0; x<ln[0] ;x++){\n\t\t\t\tfor(int y=0; y<ln[1]; y++){\n\t\t\t\t\tif(y==ln[1]-1){\n\t\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t\t}else if(y==0 || x==0 || x==ln[0]-1){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"int x=0;",
"int x=0;",
"x",
"0",
"x<ln[0]",
"x",
"ln[0]",
"ln",
"0",
"x++",
"x++",
"x",
"{\n\t\t\t\tfor(int y=0; y<ln[1]; y++){\n\t\t\t\t\tif(y==ln[1]-1){\n\t\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t\t}else if(y==0 || x==0 || x==ln[0]-1){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tfor(int y=0; y<ln[1]; y++){\n\t\t\t\t\tif(y==ln[1]-1){\n\t\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t\t}else if(y==0 || x==0 || x==ln[0]-1){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"for(int y=0; y<ln[1]; y++){\n\t\t\t\t\tif(y==ln[1]-1){\n\t\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t\t}else if(y==0 || x==0 || x==ln[0]-1){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}",
"int y=0;",
"int y=0;",
"y",
"0",
"y<ln[1]",
"y",
"ln[1]",
"ln",
"1",
"y++",
"y++",
"y",
"{\n\t\t\t\t\tif(y==ln[1]-1){\n\t\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t\t}else if(y==0 || x==0 || x==ln[0]-1){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}",
"{\n\t\t\t\t\tif(y==ln[1]-1){\n\t\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t\t}else if(y==0 || x==0 || x==ln[0]-1){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}",
"if(y==ln[1]-1){\n\t\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t\t}else if(y==0 || x==0 || x==ln[0]-1){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"y==ln[1]-1",
"y",
"ln[1]-1",
"ln[1]",
"ln",
"1",
"1",
"{\n\t\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t\t}",
"System.out.println(\"#\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"#\"",
"if(y==0 || x==0 || x==ln[0]-1){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"y==0 || x==0 || x==ln[0]-1",
"y==0 || x==0 || x==ln[0]-1",
"y==0",
"y",
"0",
"x==0",
"x",
"0",
"x==ln[0]-1",
"x",
"ln[0]-1",
"ln[0]",
"ln",
"0",
"1",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"static int[] parseInts(String[] s){\n\t\tint[] x = new int[s.length];\n\t\tfor(int i=0;i<s.length;i++){\n\t\t\tx[i] = Integer.parseInt(s[i]);\n\t\t}\n\t\treturn x;\n\t}",
"parseInts",
"{\n\t\tint[] x = new int[s.length];\n\t\tfor(int i=0;i<s.length;i++){\n\t\t\tx[i] = Integer.parseInt(s[i]);\n\t\t}\n\t\treturn x;\n\t}",
"int[] x = new int[s.length];",
"x",
"new int[s.length]",
"s.length",
"s",
"s.length",
"for(int i=0;i<s.length;i++){\n\t\t\tx[i] = Integer.parseInt(s[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length",
"i",
"s.length",
"s",
"s.length",
"i++",
"i++",
"i",
"{\n\t\t\tx[i] = Integer.parseInt(s[i]);\n\t\t}",
"{\n\t\t\tx[i] = Integer.parseInt(s[i]);\n\t\t}",
"x[i] = Integer.parseInt(s[i])",
"x[i]",
"x",
"i",
"Integer.parseInt(s[i])",
"Integer.parseInt",
"Integer",
"s[i]",
"s",
"i",
"return x;",
"x",
"String[] s",
"s"
] | import java.io.*;
class Main{
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String lns[] = br.readLine().split(" ");
int ln[] = parseInts(lns);
if(ln[0]==0 && ln[1]==0) break;
for(int x=0; x<ln[0] ;x++){
for(int y=0; y<ln[1]; y++){
if(y==ln[1]-1){
System.out.println("#");
}else if(y==0 || x==0 || x==ln[0]-1){
System.out.print("#");
}else{
System.out.print("#");
}
}
}
System.out.println();
}
}
static int[] parseInts(String[] s){
int[] x = new int[s.length];
for(int i=0;i<s.length;i++){
x[i] = Integer.parseInt(s[i]);
}
return x;
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
2,
13,
17,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
92,
5
],
[
92,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
18,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
69,
70
],
[
60,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
59,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
46,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
6,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner stdin = new Scanner(System.in);\n \n int h;\n int w;\n \n while(true){\n h = stdin.nextInt();\n w = stdin.nextInt();\n if(h == 0 && w == 0)break;\n if(h <= 300 && w <= 300){\n for(int i = 0; i < h; i++){\n for(int j = 0; j < w; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner stdin = new Scanner(System.in);\n \n int h;\n int w;\n \n while(true){\n h = stdin.nextInt();\n w = stdin.nextInt();\n if(h == 0 && w == 0)break;\n if(h <= 300 && w <= 300){\n for(int i = 0; i < h; i++){\n for(int j = 0; j < w; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner stdin = new Scanner(System.in);\n \n int h;\n int w;\n \n while(true){\n h = stdin.nextInt();\n w = stdin.nextInt();\n if(h == 0 && w == 0)break;\n if(h <= 300 && w <= 300){\n for(int i = 0; i < h; i++){\n for(int j = 0; j < w; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n }",
"main",
"{\n Scanner stdin = new Scanner(System.in);\n \n int h;\n int w;\n \n while(true){\n h = stdin.nextInt();\n w = stdin.nextInt();\n if(h == 0 && w == 0)break;\n if(h <= 300 && w <= 300){\n for(int i = 0; i < h; i++){\n for(int j = 0; j < w; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n }",
"Scanner stdin = new Scanner(System.in);",
"stdin",
"new Scanner(System.in)",
"int h;",
"h",
"int w;",
"w",
"while(true){\n h = stdin.nextInt();\n w = stdin.nextInt();\n if(h == 0 && w == 0)break;\n if(h <= 300 && w <= 300){\n for(int i = 0; i < h; i++){\n for(int j = 0; j < w; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }",
"true",
"{\n h = stdin.nextInt();\n w = stdin.nextInt();\n if(h == 0 && w == 0)break;\n if(h <= 300 && w <= 300){\n for(int i = 0; i < h; i++){\n for(int j = 0; j < w; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }",
"h = stdin.nextInt()",
"h",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"w = stdin.nextInt()",
"w",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"if(h == 0 && w == 0)break;",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"break;",
"if(h <= 300 && w <= 300){\n for(int i = 0; i < h; i++){\n for(int j = 0; j < w; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"h <= 300 && w <= 300",
"h <= 300",
"h",
"300",
"w <= 300",
"w",
"300",
"{\n for(int i = 0; i < h; i++){\n for(int j = 0; j < w; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"for(int i = 0; i < h; i++){\n for(int j = 0; j < w; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n for(int j = 0; j < w; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"{\n for(int j = 0; j < w; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"for(int j = 0; j < w; j++){\n System.out.print(\"#\");\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < w",
"j",
"w",
"j++",
"j++",
"j",
"{\n System.out.print(\"#\");\n }",
"{\n System.out.print(\"#\");\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner stdin = new Scanner(System.in);\n \n int h;\n int w;\n \n while(true){\n h = stdin.nextInt();\n w = stdin.nextInt();\n if(h == 0 && w == 0)break;\n if(h <= 300 && w <= 300){\n for(int i = 0; i < h; i++){\n for(int j = 0; j < w; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner stdin = new Scanner(System.in);\n \n int h;\n int w;\n \n while(true){\n h = stdin.nextInt();\n w = stdin.nextInt();\n if(h == 0 && w == 0)break;\n if(h <= 300 && w <= 300){\n for(int i = 0; i < h; i++){\n for(int j = 0; j < w; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner stdin = new Scanner(System.in);
int h;
int w;
while(true){
h = stdin.nextInt();
w = stdin.nextInt();
if(h == 0 && w == 0)break;
if(h <= 300 && w <= 300){
for(int i = 0; i < h; i++){
for(int j = 0; j < w; j++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
14,
2,
2,
4,
18,
13,
13,
17,
2,
4,
18,
13,
13,
17,
3,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
4,
18,
13,
13,
17,
2,
4,
18,
13,
13,
17,
3,
4,
13,
4,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
150,
11
],
[
150,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
24,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
33,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
50,
55
],
[
49,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
56,
61
],
[
48,
62
],
[
14,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
69,
70
],
[
63,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
75,
80
],
[
74,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
81,
86
],
[
73,
87
],
[
72,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
88,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
12,
98
],
[
98,
99
],
[
150,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
108,
109
],
[
108,
110
],
[
103,
111
],
[
111,
112
],
[
112,
113
],
[
103,
114
],
[
115,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
121,
122
],
[
121,
123
],
[
116,
124
],
[
124,
125
],
[
125,
126
],
[
116,
127
],
[
128,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
115,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
102,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
100,
145
],
[
145,
146
],
[
100,
147
],
[
147,
148
],
[
0,
149
],
[
149,
150
],
[
149,
151
]
] | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tList<Integer> w = new ArrayList<Integer>();\n\t\tList<Integer> h = new ArrayList<Integer>();\n\n\n\t\t for(int i=0;;i++){\n\t\t\t h.add(i, scan.nextInt());\n\t\t\t w.add(i, scan.nextInt());\n\t\t\t if(w.get(i)==0 && h.get(i)==0) break;\n\t\t }\n\n\t\t for(int i=0;;i++){\n\t\t\tif(w.get(i)==0 && h.get(i)==0) break;\n\t\t\t printSquare(w.get(i),h.get(i));\n\n\t\t }\n\t}\n\n\tstatic void printSquare(int w,int h){\n\t\tfor(int i=0 ;i< h;i++){\n\t\t\tfor(int j=0; j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t}\n\t\t\tSystem.out.println();\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tList<Integer> w = new ArrayList<Integer>();\n\t\tList<Integer> h = new ArrayList<Integer>();\n\n\n\t\t for(int i=0;;i++){\n\t\t\t h.add(i, scan.nextInt());\n\t\t\t w.add(i, scan.nextInt());\n\t\t\t if(w.get(i)==0 && h.get(i)==0) break;\n\t\t }\n\n\t\t for(int i=0;;i++){\n\t\t\tif(w.get(i)==0 && h.get(i)==0) break;\n\t\t\t printSquare(w.get(i),h.get(i));\n\n\t\t }\n\t}\n\n\tstatic void printSquare(int w,int h){\n\t\tfor(int i=0 ;i< h;i++){\n\t\t\tfor(int j=0; j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t}\n\t\t\tSystem.out.println();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tList<Integer> w = new ArrayList<Integer>();\n\t\tList<Integer> h = new ArrayList<Integer>();\n\n\n\t\t for(int i=0;;i++){\n\t\t\t h.add(i, scan.nextInt());\n\t\t\t w.add(i, scan.nextInt());\n\t\t\t if(w.get(i)==0 && h.get(i)==0) break;\n\t\t }\n\n\t\t for(int i=0;;i++){\n\t\t\tif(w.get(i)==0 && h.get(i)==0) break;\n\t\t\t printSquare(w.get(i),h.get(i));\n\n\t\t }\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tList<Integer> w = new ArrayList<Integer>();\n\t\tList<Integer> h = new ArrayList<Integer>();\n\n\n\t\t for(int i=0;;i++){\n\t\t\t h.add(i, scan.nextInt());\n\t\t\t w.add(i, scan.nextInt());\n\t\t\t if(w.get(i)==0 && h.get(i)==0) break;\n\t\t }\n\n\t\t for(int i=0;;i++){\n\t\t\tif(w.get(i)==0 && h.get(i)==0) break;\n\t\t\t printSquare(w.get(i),h.get(i));\n\n\t\t }\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"List<Integer> w = new ArrayList<Integer>();",
"w",
"new ArrayList<Integer>()",
"List<Integer> h = new ArrayList<Integer>();",
"h",
"new ArrayList<Integer>()",
"for(int i=0;;i++){\n\t\t\t h.add(i, scan.nextInt());\n\t\t\t w.add(i, scan.nextInt());\n\t\t\t if(w.get(i)==0 && h.get(i)==0) break;\n\t\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i++",
"i++",
"i",
"{\n\t\t\t h.add(i, scan.nextInt());\n\t\t\t w.add(i, scan.nextInt());\n\t\t\t if(w.get(i)==0 && h.get(i)==0) break;\n\t\t }",
"{\n\t\t\t h.add(i, scan.nextInt());\n\t\t\t w.add(i, scan.nextInt());\n\t\t\t if(w.get(i)==0 && h.get(i)==0) break;\n\t\t }",
"h.add(i, scan.nextInt())",
"h.add",
"h",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"w.add(i, scan.nextInt())",
"w.add",
"w",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(w.get(i)==0 && h.get(i)==0) break;",
"w.get(i)==0 && h.get(i)==0",
"w.get(i)==0",
"w.get(i)",
"w.get",
"w",
"i",
"0",
"h.get(i)==0",
"h.get(i)",
"h.get",
"h",
"i",
"0",
"break;",
"for(int i=0;;i++){\n\t\t\tif(w.get(i)==0 && h.get(i)==0) break;\n\t\t\t printSquare(w.get(i),h.get(i));\n\n\t\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i++",
"i++",
"i",
"{\n\t\t\tif(w.get(i)==0 && h.get(i)==0) break;\n\t\t\t printSquare(w.get(i),h.get(i));\n\n\t\t }",
"{\n\t\t\tif(w.get(i)==0 && h.get(i)==0) break;\n\t\t\t printSquare(w.get(i),h.get(i));\n\n\t\t }",
"if(w.get(i)==0 && h.get(i)==0) break;",
"w.get(i)==0 && h.get(i)==0",
"w.get(i)==0",
"w.get(i)",
"w.get",
"w",
"i",
"0",
"h.get(i)==0",
"h.get(i)",
"h.get",
"h",
"i",
"0",
"break;",
"printSquare(w.get(i),h.get(i))",
"printSquare",
"w.get(i)",
"w.get",
"w",
"i",
"h.get(i)",
"h.get",
"h",
"i",
"String[] args",
"args",
"static void printSquare(int w,int h){\n\t\tfor(int i=0 ;i< h;i++){\n\t\t\tfor(int j=0; j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t}\n\t\t\tSystem.out.println();\n\t}",
"printSquare",
"{\n\t\tfor(int i=0 ;i< h;i++){\n\t\t\tfor(int j=0; j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t}\n\t\t\tSystem.out.println();\n\t}",
"for(int i=0 ;i< h;i++){\n\t\t\tfor(int j=0; j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t}",
"int i=0 ;",
"int i=0 ;",
"i",
"0",
"i< h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j=0; j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t}",
"{\n\t\t\tfor(int j=0; j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t}",
"for(int j=0; j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j < w",
"j",
"w",
"j++",
"j++",
"j",
"{\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"int w",
"w",
"int h",
"h",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tList<Integer> w = new ArrayList<Integer>();\n\t\tList<Integer> h = new ArrayList<Integer>();\n\n\n\t\t for(int i=0;;i++){\n\t\t\t h.add(i, scan.nextInt());\n\t\t\t w.add(i, scan.nextInt());\n\t\t\t if(w.get(i)==0 && h.get(i)==0) break;\n\t\t }\n\n\t\t for(int i=0;;i++){\n\t\t\tif(w.get(i)==0 && h.get(i)==0) break;\n\t\t\t printSquare(w.get(i),h.get(i));\n\n\t\t }\n\t}\n\n\tstatic void printSquare(int w,int h){\n\t\tfor(int i=0 ;i< h;i++){\n\t\t\tfor(int j=0; j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t}\n\t\t\tSystem.out.println();\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tList<Integer> w = new ArrayList<Integer>();\n\t\tList<Integer> h = new ArrayList<Integer>();\n\n\n\t\t for(int i=0;;i++){\n\t\t\t h.add(i, scan.nextInt());\n\t\t\t w.add(i, scan.nextInt());\n\t\t\t if(w.get(i)==0 && h.get(i)==0) break;\n\t\t }\n\n\t\t for(int i=0;;i++){\n\t\t\tif(w.get(i)==0 && h.get(i)==0) break;\n\t\t\t printSquare(w.get(i),h.get(i));\n\n\t\t }\n\t}\n\n\tstatic void printSquare(int w,int h){\n\t\tfor(int i=0 ;i< h;i++){\n\t\t\tfor(int j=0; j < w;j++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t}\n\t\t\tSystem.out.println();\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
List<Integer> w = new ArrayList<Integer>();
List<Integer> h = new ArrayList<Integer>();
for(int i=0;;i++){
h.add(i, scan.nextInt());
w.add(i, scan.nextInt());
if(w.get(i)==0 && h.get(i)==0) break;
}
for(int i=0;;i++){
if(w.get(i)==0 && h.get(i)==0) break;
printSquare(w.get(i),h.get(i));
}
}
static void printSquare(int w,int h){
for(int i=0 ;i< h;i++){
for(int j=0; j < w;j++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
42,
2,
2,
2,
17,
13,
2,
17,
13,
2,
2,
17,
13,
2,
17,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
130,
5
],
[
130,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
39,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
65,
66
],
[
56,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
69,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
68,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
55,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
55,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
55,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
55,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
113,
116
],
[
116,
117
],
[
116,
118
],
[
55,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
121,
124
],
[
124,
125
],
[
124,
126
],
[
6,
127
],
[
127,
128
],
[
0,
129
],
[
129,
130
],
[
129,
131
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString h = scanner.nextLine();\n\t\t\n\t\tString[]temp =h.split(\" \");\n\t\tint W = Integer.parseInt(temp[0]);\n\t\tint H = Integer.parseInt(temp[1]);\n\t\t\n\t\t\n\t\twhile((300 >= W && 1 <= W )&&(300>= H &&1 <= H )){\n\t\t\t\n\t\t\tfor (int x=0;x<W;x++){\n\t\t\t\tfor (int y=1;y<H;y++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\t\tSystem.out.println(\"#\");}\n\t\t\t System.out.println(\"\");\n\t\t\t h = scanner.nextLine();\n\t\t\t\t\n\t\t\t\tString[]temp1 =h.split(\" \");\n\t\t\t W = Integer.parseInt(temp1[0]);\n\t\t\t H = Integer.parseInt(temp1[1]);\n\t\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString h = scanner.nextLine();\n\t\t\n\t\tString[]temp =h.split(\" \");\n\t\tint W = Integer.parseInt(temp[0]);\n\t\tint H = Integer.parseInt(temp[1]);\n\t\t\n\t\t\n\t\twhile((300 >= W && 1 <= W )&&(300>= H &&1 <= H )){\n\t\t\t\n\t\t\tfor (int x=0;x<W;x++){\n\t\t\t\tfor (int y=1;y<H;y++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\t\tSystem.out.println(\"#\");}\n\t\t\t System.out.println(\"\");\n\t\t\t h = scanner.nextLine();\n\t\t\t\t\n\t\t\t\tString[]temp1 =h.split(\" \");\n\t\t\t W = Integer.parseInt(temp1[0]);\n\t\t\t H = Integer.parseInt(temp1[1]);\n\t\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString h = scanner.nextLine();\n\t\t\n\t\tString[]temp =h.split(\" \");\n\t\tint W = Integer.parseInt(temp[0]);\n\t\tint H = Integer.parseInt(temp[1]);\n\t\t\n\t\t\n\t\twhile((300 >= W && 1 <= W )&&(300>= H &&1 <= H )){\n\t\t\t\n\t\t\tfor (int x=0;x<W;x++){\n\t\t\t\tfor (int y=1;y<H;y++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\t\tSystem.out.println(\"#\");}\n\t\t\t System.out.println(\"\");\n\t\t\t h = scanner.nextLine();\n\t\t\t\t\n\t\t\t\tString[]temp1 =h.split(\" \");\n\t\t\t W = Integer.parseInt(temp1[0]);\n\t\t\t H = Integer.parseInt(temp1[1]);\n\t\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString h = scanner.nextLine();\n\t\t\n\t\tString[]temp =h.split(\" \");\n\t\tint W = Integer.parseInt(temp[0]);\n\t\tint H = Integer.parseInt(temp[1]);\n\t\t\n\t\t\n\t\twhile((300 >= W && 1 <= W )&&(300>= H &&1 <= H )){\n\t\t\t\n\t\t\tfor (int x=0;x<W;x++){\n\t\t\t\tfor (int y=1;y<H;y++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\t\tSystem.out.println(\"#\");}\n\t\t\t System.out.println(\"\");\n\t\t\t h = scanner.nextLine();\n\t\t\t\t\n\t\t\t\tString[]temp1 =h.split(\" \");\n\t\t\t W = Integer.parseInt(temp1[0]);\n\t\t\t H = Integer.parseInt(temp1[1]);\n\t\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String h = scanner.nextLine();",
"h",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"String[]temp =h.split(\" \");",
"temp",
"h.split(\" \")",
"h.split",
"h",
"\" \"",
"int W = Integer.parseInt(temp[0]);",
"W",
"Integer.parseInt(temp[0])",
"Integer.parseInt",
"Integer",
"temp[0]",
"temp",
"0",
"int H = Integer.parseInt(temp[1]);",
"H",
"Integer.parseInt(temp[1])",
"Integer.parseInt",
"Integer",
"temp[1]",
"temp",
"1",
"while((300 >= W && 1 <= W )&&(300>= H &&1 <= H )){\n\t\t\t\n\t\t\tfor (int x=0;x<W;x++){\n\t\t\t\tfor (int y=1;y<H;y++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\t\tSystem.out.println(\"#\");}\n\t\t\t System.out.println(\"\");\n\t\t\t h = scanner.nextLine();\n\t\t\t\t\n\t\t\t\tString[]temp1 =h.split(\" \");\n\t\t\t W = Integer.parseInt(temp1[0]);\n\t\t\t H = Integer.parseInt(temp1[1]);\n\t\t\t}",
"(300 >= W && 1 <= W )&&(300>= H &&1 <= H )",
"(300 >= W && 1 <= W )",
"300 >= W",
"300",
"W",
"1 <= W",
"1",
"W",
"(300>= H &&1 <= H )",
"300>= H",
"300",
"H",
"1 <= H",
"1",
"H",
"{\n\t\t\t\n\t\t\tfor (int x=0;x<W;x++){\n\t\t\t\tfor (int y=1;y<H;y++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\t\tSystem.out.println(\"#\");}\n\t\t\t System.out.println(\"\");\n\t\t\t h = scanner.nextLine();\n\t\t\t\t\n\t\t\t\tString[]temp1 =h.split(\" \");\n\t\t\t W = Integer.parseInt(temp1[0]);\n\t\t\t H = Integer.parseInt(temp1[1]);\n\t\t\t}",
"for (int x=0;x<W;x++){\n\t\t\t\tfor (int y=1;y<H;y++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\t\tSystem.out.println(\"#\");}",
"int x=0;",
"int x=0;",
"x",
"0",
"x<W",
"x",
"W",
"x++",
"x++",
"x",
"{\n\t\t\t\tfor (int y=1;y<H;y++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\t\tSystem.out.println(\"#\");}",
"{\n\t\t\t\tfor (int y=1;y<H;y++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\t\tSystem.out.println(\"#\");}",
"for (int y=1;y<H;y++){\n\t\t\t\t\tSystem.out.print(\"#\");}",
"int y=1;",
"int y=1;",
"y",
"1",
"y<H",
"y",
"H",
"y++",
"y++",
"y",
"{\n\t\t\t\t\tSystem.out.print(\"#\");}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"#\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"h = scanner.nextLine()",
"h",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"String[]temp1 =h.split(\" \");",
"temp1",
"h.split(\" \")",
"h.split",
"h",
"\" \"",
"W = Integer.parseInt(temp1[0])",
"W",
"Integer.parseInt(temp1[0])",
"Integer.parseInt",
"Integer",
"temp1[0]",
"temp1",
"0",
"H = Integer.parseInt(temp1[1])",
"H",
"Integer.parseInt(temp1[1])",
"Integer.parseInt",
"Integer",
"temp1[1]",
"temp1",
"1",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString h = scanner.nextLine();\n\t\t\n\t\tString[]temp =h.split(\" \");\n\t\tint W = Integer.parseInt(temp[0]);\n\t\tint H = Integer.parseInt(temp[1]);\n\t\t\n\t\t\n\t\twhile((300 >= W && 1 <= W )&&(300>= H &&1 <= H )){\n\t\t\t\n\t\t\tfor (int x=0;x<W;x++){\n\t\t\t\tfor (int y=1;y<H;y++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\t\tSystem.out.println(\"#\");}\n\t\t\t System.out.println(\"\");\n\t\t\t h = scanner.nextLine();\n\t\t\t\t\n\t\t\t\tString[]temp1 =h.split(\" \");\n\t\t\t W = Integer.parseInt(temp1[0]);\n\t\t\t H = Integer.parseInt(temp1[1]);\n\t\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString h = scanner.nextLine();\n\t\t\n\t\tString[]temp =h.split(\" \");\n\t\tint W = Integer.parseInt(temp[0]);\n\t\tint H = Integer.parseInt(temp[1]);\n\t\t\n\t\t\n\t\twhile((300 >= W && 1 <= W )&&(300>= H &&1 <= H )){\n\t\t\t\n\t\t\tfor (int x=0;x<W;x++){\n\t\t\t\tfor (int y=1;y<H;y++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\t\tSystem.out.println(\"#\");}\n\t\t\t System.out.println(\"\");\n\t\t\t h = scanner.nextLine();\n\t\t\t\t\n\t\t\t\tString[]temp1 =h.split(\" \");\n\t\t\t W = Integer.parseInt(temp1[0]);\n\t\t\t H = Integer.parseInt(temp1[1]);\n\t\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String h = scanner.nextLine();
String[]temp =h.split(" ");
int W = Integer.parseInt(temp[0]);
int H = Integer.parseInt(temp[1]);
while((300 >= W && 1 <= W )&&(300>= H &&1 <= H )){
for (int x=0;x<W;x++){
for (int y=1;y<H;y++){
System.out.print("#");}
System.out.println("#");}
System.out.println("");
h = scanner.nextLine();
String[]temp1 =h.split(" ");
W = Integer.parseInt(temp1[0]);
H = Integer.parseInt(temp1[1]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
4,
18,
13,
13,
4,
18,
13,
17,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
138,
14
],
[
138,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
28,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
28,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
28,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
56,
66
],
[
66,
67
],
[
67,
68
],
[
70,
69
],
[
77,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
77,
77
],
[
77,
78
],
[
77,
79
],
[
70,
80
],
[
80,
81
],
[
80,
82
],
[
67,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
84,
92
],
[
92,
93
],
[
93,
94
],
[
84,
95
],
[
96,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
105,
106
],
[
105,
107
],
[
100,
108
],
[
108,
109
],
[
109,
110
],
[
100,
111
],
[
112,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
96,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
83,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
17,
124
],
[
124,
125
],
[
124,
126
],
[
124,
127
],
[
128,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
15,
135
],
[
135,
136
],
[
0,
137
],
[
137,
138
],
[
137,
139
]
] | [
"import java.io.BufferedInputStream;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(new BufferedInputStream(System.in));\n\t\tList<String> output = new ArrayList<String>();\n\t\twhile (scan.hasNext()) {\n\t\t\tString input = scan.nextLine();\n\t\t\tString[] in = input.split(\" \");\n\t\t\tint H = Integer.parseInt(in[0]);\n\t\t\tint W = Integer.parseInt(in[1]);\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\t\tfor (int i = 1; i <= H; i++) {\n\t\t\t\t\t\tString result = \"\";\n\t\t\t\t\t\tfor (int j = 1; j <= W; j++) {\n\t\t\t\t\t\t\tresult += \"#\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\toutput.add(result);\n\t\t\t\t\t}\n\t\t\t\t\toutput.add(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (String out : output) {\n\t\t\tSystem.out.println(out);\n\t\t}\n\t}\n}",
"import java.io.BufferedInputStream;",
"BufferedInputStream",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(new BufferedInputStream(System.in));\n\t\tList<String> output = new ArrayList<String>();\n\t\twhile (scan.hasNext()) {\n\t\t\tString input = scan.nextLine();\n\t\t\tString[] in = input.split(\" \");\n\t\t\tint H = Integer.parseInt(in[0]);\n\t\t\tint W = Integer.parseInt(in[1]);\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\t\tfor (int i = 1; i <= H; i++) {\n\t\t\t\t\t\tString result = \"\";\n\t\t\t\t\t\tfor (int j = 1; j <= W; j++) {\n\t\t\t\t\t\t\tresult += \"#\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\toutput.add(result);\n\t\t\t\t\t}\n\t\t\t\t\toutput.add(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (String out : output) {\n\t\t\tSystem.out.println(out);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(new BufferedInputStream(System.in));\n\t\tList<String> output = new ArrayList<String>();\n\t\twhile (scan.hasNext()) {\n\t\t\tString input = scan.nextLine();\n\t\t\tString[] in = input.split(\" \");\n\t\t\tint H = Integer.parseInt(in[0]);\n\t\t\tint W = Integer.parseInt(in[1]);\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\t\tfor (int i = 1; i <= H; i++) {\n\t\t\t\t\t\tString result = \"\";\n\t\t\t\t\t\tfor (int j = 1; j <= W; j++) {\n\t\t\t\t\t\t\tresult += \"#\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\toutput.add(result);\n\t\t\t\t\t}\n\t\t\t\t\toutput.add(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (String out : output) {\n\t\t\tSystem.out.println(out);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(new BufferedInputStream(System.in));\n\t\tList<String> output = new ArrayList<String>();\n\t\twhile (scan.hasNext()) {\n\t\t\tString input = scan.nextLine();\n\t\t\tString[] in = input.split(\" \");\n\t\t\tint H = Integer.parseInt(in[0]);\n\t\t\tint W = Integer.parseInt(in[1]);\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\t\tfor (int i = 1; i <= H; i++) {\n\t\t\t\t\t\tString result = \"\";\n\t\t\t\t\t\tfor (int j = 1; j <= W; j++) {\n\t\t\t\t\t\t\tresult += \"#\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\toutput.add(result);\n\t\t\t\t\t}\n\t\t\t\t\toutput.add(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (String out : output) {\n\t\t\tSystem.out.println(out);\n\t\t}\n\t}",
"Scanner scan = new Scanner(new BufferedInputStream(System.in));",
"scan",
"new Scanner(new BufferedInputStream(System.in))",
"List<String> output = new ArrayList<String>();",
"output",
"new ArrayList<String>()",
"while (scan.hasNext()) {\n\t\t\tString input = scan.nextLine();\n\t\t\tString[] in = input.split(\" \");\n\t\t\tint H = Integer.parseInt(in[0]);\n\t\t\tint W = Integer.parseInt(in[1]);\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\t\tfor (int i = 1; i <= H; i++) {\n\t\t\t\t\t\tString result = \"\";\n\t\t\t\t\t\tfor (int j = 1; j <= W; j++) {\n\t\t\t\t\t\t\tresult += \"#\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\toutput.add(result);\n\t\t\t\t\t}\n\t\t\t\t\toutput.add(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\tString input = scan.nextLine();\n\t\t\tString[] in = input.split(\" \");\n\t\t\tint H = Integer.parseInt(in[0]);\n\t\t\tint W = Integer.parseInt(in[1]);\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\t\tfor (int i = 1; i <= H; i++) {\n\t\t\t\t\t\tString result = \"\";\n\t\t\t\t\t\tfor (int j = 1; j <= W; j++) {\n\t\t\t\t\t\t\tresult += \"#\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\toutput.add(result);\n\t\t\t\t\t}\n\t\t\t\t\toutput.add(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"String input = scan.nextLine();",
"input",
"scan.nextLine()",
"scan.nextLine",
"scan",
"String[] in = input.split(\" \");",
"in",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"int H = Integer.parseInt(in[0]);",
"H",
"Integer.parseInt(in[0])",
"Integer.parseInt",
"Integer",
"in[0]",
"in",
"0",
"int W = Integer.parseInt(in[1]);",
"W",
"Integer.parseInt(in[1])",
"Integer.parseInt",
"Integer",
"in[1]",
"in",
"1",
"if (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\t\tfor (int i = 1; i <= H; i++) {\n\t\t\t\t\t\tString result = \"\";\n\t\t\t\t\t\tfor (int j = 1; j <= W; j++) {\n\t\t\t\t\t\t\tresult += \"#\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\toutput.add(result);\n\t\t\t\t\t}\n\t\t\t\t\toutput.add(\"\");\n\t\t\t\t}\n\t\t\t}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tif (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\t\tfor (int i = 1; i <= H; i++) {\n\t\t\t\t\t\tString result = \"\";\n\t\t\t\t\t\tfor (int j = 1; j <= W; j++) {\n\t\t\t\t\t\t\tresult += \"#\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\toutput.add(result);\n\t\t\t\t\t}\n\t\t\t\t\toutput.add(\"\");\n\t\t\t\t}\n\t\t\t}",
"if (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\t\tfor (int i = 1; i <= H; i++) {\n\t\t\t\t\t\tString result = \"\";\n\t\t\t\t\t\tfor (int j = 1; j <= W; j++) {\n\t\t\t\t\t\t\tresult += \"#\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\toutput.add(result);\n\t\t\t\t\t}\n\t\t\t\t\toutput.add(\"\");\n\t\t\t\t}",
"H >= 1 && H <= 300 && W >= 1 && W <= 300",
"W >= 1",
"H >= 1 && H <= 300 && W >= 1 && W <= 300",
"H >= 1",
"H",
"1",
"H <= 300",
"H",
"300",
"W >= 1",
"W",
"1",
"W <= 300",
"W",
"300",
"{\n\t\t\t\t\tfor (int i = 1; i <= H; i++) {\n\t\t\t\t\t\tString result = \"\";\n\t\t\t\t\t\tfor (int j = 1; j <= W; j++) {\n\t\t\t\t\t\t\tresult += \"#\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\toutput.add(result);\n\t\t\t\t\t}\n\t\t\t\t\toutput.add(\"\");\n\t\t\t\t}",
"for (int i = 1; i <= H; i++) {\n\t\t\t\t\t\tString result = \"\";\n\t\t\t\t\t\tfor (int j = 1; j <= W; j++) {\n\t\t\t\t\t\t\tresult += \"#\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\toutput.add(result);\n\t\t\t\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\t\t\tString result = \"\";\n\t\t\t\t\t\tfor (int j = 1; j <= W; j++) {\n\t\t\t\t\t\t\tresult += \"#\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\toutput.add(result);\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tString result = \"\";\n\t\t\t\t\t\tfor (int j = 1; j <= W; j++) {\n\t\t\t\t\t\t\tresult += \"#\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\toutput.add(result);\n\t\t\t\t\t}",
"String result = \"\";",
"result",
"\"\"",
"for (int j = 1; j <= W; j++) {\n\t\t\t\t\t\t\tresult += \"#\";\n\t\t\t\t\t\t}",
"int j = 1;",
"int j = 1;",
"j",
"1",
"j <= W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\t\t\tresult += \"#\";\n\t\t\t\t\t\t}",
"{\n\t\t\t\t\t\t\tresult += \"#\";\n\t\t\t\t\t\t}",
"result += \"#\"",
"result",
"\"#\"",
"output.add(result)",
"output.add",
"output",
"result",
"output.add(\"\")",
"output.add",
"output",
"\"\"",
"for (String out : output) {\n\t\t\tSystem.out.println(out);\n\t\t}",
"String out",
"output",
"{\n\t\t\tSystem.out.println(out);\n\t\t}",
"{\n\t\t\tSystem.out.println(out);\n\t\t}",
"System.out.println(out)",
"System.out.println",
"System.out",
"System",
"System.out",
"out",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(new BufferedInputStream(System.in));\n\t\tList<String> output = new ArrayList<String>();\n\t\twhile (scan.hasNext()) {\n\t\t\tString input = scan.nextLine();\n\t\t\tString[] in = input.split(\" \");\n\t\t\tint H = Integer.parseInt(in[0]);\n\t\t\tint W = Integer.parseInt(in[1]);\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\t\tfor (int i = 1; i <= H; i++) {\n\t\t\t\t\t\tString result = \"\";\n\t\t\t\t\t\tfor (int j = 1; j <= W; j++) {\n\t\t\t\t\t\t\tresult += \"#\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\toutput.add(result);\n\t\t\t\t\t}\n\t\t\t\t\toutput.add(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (String out : output) {\n\t\t\tSystem.out.println(out);\n\t\t}\n\t}\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(new BufferedInputStream(System.in));\n\t\tList<String> output = new ArrayList<String>();\n\t\twhile (scan.hasNext()) {\n\t\t\tString input = scan.nextLine();\n\t\t\tString[] in = input.split(\" \");\n\t\t\tint H = Integer.parseInt(in[0]);\n\t\t\tint W = Integer.parseInt(in[1]);\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\t\tfor (int i = 1; i <= H; i++) {\n\t\t\t\t\t\tString result = \"\";\n\t\t\t\t\t\tfor (int j = 1; j <= W; j++) {\n\t\t\t\t\t\t\tresult += \"#\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\toutput.add(result);\n\t\t\t\t\t}\n\t\t\t\t\toutput.add(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (String out : output) {\n\t\t\tSystem.out.println(out);\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedInputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner scan = new Scanner(new BufferedInputStream(System.in));
List<String> output = new ArrayList<String>();
while (scan.hasNext()) {
String input = scan.nextLine();
String[] in = input.split(" ");
int H = Integer.parseInt(in[0]);
int W = Integer.parseInt(in[1]);
if (H == 0 && W == 0) {
break;
} else {
if (H >= 1 && H <= 300 && W >= 1 && W <= 300) {
for (int i = 1; i <= H; i++) {
String result = "";
for (int j = 1; j <= W; j++) {
result += "#";
}
output.add(result);
}
output.add("");
}
}
}
for (String out : output) {
System.out.println(out);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
14,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
14,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
74,
75
],
[
65,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
64,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
14,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
6,
96
],
[
96,
97
]
] | [
"import java.io.*;\n\nclass Main{\n\n public static void main(String[] args)throws IOException{\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n\t String input = br.readLine();\n\t String[] div = input.split(\" \");\n\t int height = Integer.parseInt(div[0]);\n\t int width = Integer.parseInt(div[1]);\n\n\t if(height == 0 && width == 0){\n\t\tbreak;\n\t }\n\t \n\t for(int i = 0; i < height; i++){\n\t\tfor(int j = 0; j < width; j++){\n\t\t System.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t }\n\t System.out.printf(\"\\n\");\n\t \n\t}\n\t\n\n }\n\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\n public static void main(String[] args)throws IOException{\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n\t String input = br.readLine();\n\t String[] div = input.split(\" \");\n\t int height = Integer.parseInt(div[0]);\n\t int width = Integer.parseInt(div[1]);\n\n\t if(height == 0 && width == 0){\n\t\tbreak;\n\t }\n\t \n\t for(int i = 0; i < height; i++){\n\t\tfor(int j = 0; j < width; j++){\n\t\t System.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t }\n\t System.out.printf(\"\\n\");\n\t \n\t}\n\t\n\n }\n\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n\t String input = br.readLine();\n\t String[] div = input.split(\" \");\n\t int height = Integer.parseInt(div[0]);\n\t int width = Integer.parseInt(div[1]);\n\n\t if(height == 0 && width == 0){\n\t\tbreak;\n\t }\n\t \n\t for(int i = 0; i < height; i++){\n\t\tfor(int j = 0; j < width; j++){\n\t\t System.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t }\n\t System.out.printf(\"\\n\");\n\t \n\t}\n\t\n\n }",
"main",
"{\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n\t String input = br.readLine();\n\t String[] div = input.split(\" \");\n\t int height = Integer.parseInt(div[0]);\n\t int width = Integer.parseInt(div[1]);\n\n\t if(height == 0 && width == 0){\n\t\tbreak;\n\t }\n\t \n\t for(int i = 0; i < height; i++){\n\t\tfor(int j = 0; j < width; j++){\n\t\t System.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t }\n\t System.out.printf(\"\\n\");\n\t \n\t}\n\t\n\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t String input = br.readLine();\n\t String[] div = input.split(\" \");\n\t int height = Integer.parseInt(div[0]);\n\t int width = Integer.parseInt(div[1]);\n\n\t if(height == 0 && width == 0){\n\t\tbreak;\n\t }\n\t \n\t for(int i = 0; i < height; i++){\n\t\tfor(int j = 0; j < width; j++){\n\t\t System.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t }\n\t System.out.printf(\"\\n\");\n\t \n\t}",
"true",
"{\n\t String input = br.readLine();\n\t String[] div = input.split(\" \");\n\t int height = Integer.parseInt(div[0]);\n\t int width = Integer.parseInt(div[1]);\n\n\t if(height == 0 && width == 0){\n\t\tbreak;\n\t }\n\t \n\t for(int i = 0; i < height; i++){\n\t\tfor(int j = 0; j < width; j++){\n\t\t System.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t }\n\t System.out.printf(\"\\n\");\n\t \n\t}",
"String input = br.readLine();",
"input",
"br.readLine()",
"br.readLine",
"br",
"String[] div = input.split(\" \");",
"div",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"int height = Integer.parseInt(div[0]);",
"height",
"Integer.parseInt(div[0])",
"Integer.parseInt",
"Integer",
"div[0]",
"div",
"0",
"int width = Integer.parseInt(div[1]);",
"width",
"Integer.parseInt(div[1])",
"Integer.parseInt",
"Integer",
"div[1]",
"div",
"1",
"if(height == 0 && width == 0){\n\t\tbreak;\n\t }",
"height == 0 && width == 0",
"height == 0",
"height",
"0",
"width == 0",
"width",
"0",
"{\n\t\tbreak;\n\t }",
"break;",
"for(int i = 0; i < height; i++){\n\t\tfor(int j = 0; j < width; j++){\n\t\t System.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < height",
"i",
"height",
"i++",
"i++",
"i",
"{\n\t\tfor(int j = 0; j < width; j++){\n\t\t System.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t }",
"{\n\t\tfor(int j = 0; j < width; j++){\n\t\t System.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t }",
"for(int j = 0; j < width; j++){\n\t\t System.out.printf(\"#\");\n\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < width",
"j",
"width",
"j++",
"j++",
"j",
"{\n\t\t System.out.printf(\"#\");\n\t\t}",
"{\n\t\t System.out.printf(\"#\");\n\t\t}",
"System.out.printf(\"#\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"System.out.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String input = br.readLine();
String[] div = input.split(" ");
int height = Integer.parseInt(div[0]);
int width = Integer.parseInt(div[1]);
if(height == 0 && width == 0){
break;
}
for(int i = 0; i < height; i++){
for(int j = 0; j < width; j++){
System.out.printf("#");
}
System.out.printf("\n");
}
System.out.printf("\n");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
106,
11
],
[
106,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
28,
32
],
[
20,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
20,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
20,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
20,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
59,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
81,
82
],
[
72,
83
],
[
84,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
71,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
20,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
12,
103
],
[
103,
104
],
[
0,
105
],
[
105,
106
],
[
105,
107
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String args[]) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] w_h = str.split(\" \", 0);\n\t\t\tint h = Integer.parseInt(w_h[0]);\n\t\t\tint w = Integer.parseInt(w_h[1]);\n\t\t\tif (w == 0 && h == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int j = 0; j < h; j++) {\n\t\t\t\tfor (int i = 0; i < w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] w_h = str.split(\" \", 0);\n\t\t\tint h = Integer.parseInt(w_h[0]);\n\t\t\tint w = Integer.parseInt(w_h[1]);\n\t\t\tif (w == 0 && h == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int j = 0; j < h; j++) {\n\t\t\t\tfor (int i = 0; i < w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] w_h = str.split(\" \", 0);\n\t\t\tint h = Integer.parseInt(w_h[0]);\n\t\t\tint w = Integer.parseInt(w_h[1]);\n\t\t\tif (w == 0 && h == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int j = 0; j < h; j++) {\n\t\t\t\tfor (int i = 0; i < w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] w_h = str.split(\" \", 0);\n\t\t\tint h = Integer.parseInt(w_h[0]);\n\t\t\tint w = Integer.parseInt(w_h[1]);\n\t\t\tif (w == 0 && h == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int j = 0; j < h; j++) {\n\t\t\t\tfor (int i = 0; i < w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] w_h = str.split(\" \", 0);\n\t\t\tint h = Integer.parseInt(w_h[0]);\n\t\t\tint w = Integer.parseInt(w_h[1]);\n\t\t\tif (w == 0 && h == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int j = 0; j < h; j++) {\n\t\t\t\tfor (int i = 0; i < w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"true",
"{\n\t\t\tString str = br.readLine();\n\t\t\tString[] w_h = str.split(\" \", 0);\n\t\t\tint h = Integer.parseInt(w_h[0]);\n\t\t\tint w = Integer.parseInt(w_h[1]);\n\t\t\tif (w == 0 && h == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int j = 0; j < h; j++) {\n\t\t\t\tfor (int i = 0; i < w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] w_h = str.split(\" \", 0);",
"w_h",
"str.split(\" \", 0)",
"str.split",
"str",
"\" \"",
"0",
"int h = Integer.parseInt(w_h[0]);",
"h",
"Integer.parseInt(w_h[0])",
"Integer.parseInt",
"Integer",
"w_h[0]",
"w_h",
"0",
"int w = Integer.parseInt(w_h[1]);",
"w",
"Integer.parseInt(w_h[1])",
"Integer.parseInt",
"Integer",
"w_h[1]",
"w_h",
"1",
"if (w == 0 && h == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"w == 0 && h == 0",
"w == 0",
"w",
"0",
"h == 0",
"h",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for (int j = 0; j < h; j++) {\n\t\t\t\tfor (int i = 0; i < w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < h",
"j",
"h",
"j++",
"j++",
"j",
"{\n\t\t\t\tfor (int i = 0; i < w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"{\n\t\t\t\tfor (int i = 0; i < w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"for (int i = 0; i < w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < w",
"i",
"w",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] w_h = str.split(\" \", 0);\n\t\t\tint h = Integer.parseInt(w_h[0]);\n\t\t\tint w = Integer.parseInt(w_h[1]);\n\t\t\tif (w == 0 && h == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int j = 0; j < h; j++) {\n\t\t\t\tfor (int i = 0; i < w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] w_h = str.split(\" \", 0);\n\t\t\tint h = Integer.parseInt(w_h[0]);\n\t\t\tint w = Integer.parseInt(w_h[1]);\n\t\t\tif (w == 0 && h == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int j = 0; j < h; j++) {\n\t\t\t\tfor (int i = 0; i < w; i++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while (true) {
String str = br.readLine();
String[] w_h = str.split(" ", 0);
int h = Integer.parseInt(w_h[0]);
int w = Integer.parseInt(w_h[1]);
if (w == 0 && h == 0) {
break;
}
for (int j = 0; j < h; j++) {
for (int i = 0; i < w; i++) {
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
48,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
14,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
6,
80
],
[
80,
81
]
] | [
"import java.util.Scanner;\nclass Main\n{\n\tpublic static void main(String[] args)throws Exception\n\t{\n\t\tScanner scan=new Scanner(System.in);\n\t\t\n\t\twhile(true)\n\t\t{\n\t\t\tint H=scan.nextInt();\t\t\n\t\t\tint W=scan.nextInt();\n\n\t\t\tif(H==0&&W==0)\n\t\t\t{\n\t\t\t\tbreak;\t\t\t\t\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfor(int i=1;i<=H;i++)\n\t\t\t\t{\t\n\t\t\t\t\tfor(int x=1;x<=W;x++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main\n{\n\tpublic static void main(String[] args)throws Exception\n\t{\n\t\tScanner scan=new Scanner(System.in);\n\t\t\n\t\twhile(true)\n\t\t{\n\t\t\tint H=scan.nextInt();\t\t\n\t\t\tint W=scan.nextInt();\n\n\t\t\tif(H==0&&W==0)\n\t\t\t{\n\t\t\t\tbreak;\t\t\t\t\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfor(int i=1;i<=H;i++)\n\t\t\t\t{\t\n\t\t\t\t\tfor(int x=1;x<=W;x++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args)throws Exception\n\t{\n\t\tScanner scan=new Scanner(System.in);\n\t\t\n\t\twhile(true)\n\t\t{\n\t\t\tint H=scan.nextInt();\t\t\n\t\t\tint W=scan.nextInt();\n\n\t\t\tif(H==0&&W==0)\n\t\t\t{\n\t\t\t\tbreak;\t\t\t\t\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfor(int i=1;i<=H;i++)\n\t\t\t\t{\t\n\t\t\t\t\tfor(int x=1;x<=W;x++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner scan=new Scanner(System.in);\n\t\t\n\t\twhile(true)\n\t\t{\n\t\t\tint H=scan.nextInt();\t\t\n\t\t\tint W=scan.nextInt();\n\n\t\t\tif(H==0&&W==0)\n\t\t\t{\n\t\t\t\tbreak;\t\t\t\t\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfor(int i=1;i<=H;i++)\n\t\t\t\t{\t\n\t\t\t\t\tfor(int x=1;x<=W;x++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t\t\n\t}",
"Scanner scan=new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true)\n\t\t{\n\t\t\tint H=scan.nextInt();\t\t\n\t\t\tint W=scan.nextInt();\n\n\t\t\tif(H==0&&W==0)\n\t\t\t{\n\t\t\t\tbreak;\t\t\t\t\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfor(int i=1;i<=H;i++)\n\t\t\t\t{\t\n\t\t\t\t\tfor(int x=1;x<=W;x++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}",
"true",
"{\n\t\t\tint H=scan.nextInt();\t\t\n\t\t\tint W=scan.nextInt();\n\n\t\t\tif(H==0&&W==0)\n\t\t\t{\n\t\t\t\tbreak;\t\t\t\t\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfor(int i=1;i<=H;i++)\n\t\t\t\t{\t\n\t\t\t\t\tfor(int x=1;x<=W;x++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}",
"int H=scan.nextInt();",
"H",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int W=scan.nextInt();",
"W",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(H==0&&W==0)\n\t\t\t{\n\t\t\t\tbreak;\t\t\t\t\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfor(int i=1;i<=H;i++)\n\t\t\t\t{\t\n\t\t\t\t\tfor(int x=1;x<=W;x++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}\n\t\t\t}",
"H==0&&W==0",
"H==0",
"H",
"0",
"W==0",
"W",
"0",
"{\n\t\t\t\tbreak;\t\t\t\t\n\t\t\t}",
"break;",
"{\n\t\t\t\tfor(int i=1;i<=H;i++)\n\t\t\t\t{\t\n\t\t\t\t\tfor(int x=1;x<=W;x++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}\n\t\t\t}",
"for(int i=1;i<=H;i++)\n\t\t\t\t{\t\n\t\t\t\t\tfor(int x=1;x<=W;x++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=H",
"i",
"H",
"i++",
"i++",
"i",
"{\t\n\t\t\t\t\tfor(int x=1;x<=W;x++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}",
"{\t\n\t\t\t\t\tfor(int x=1;x<=W;x++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}",
"for(int x=1;x<=W;x++)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"int x=1;",
"int x=1;",
"x",
"1",
"x<=W",
"x",
"W",
"x++",
"x++",
"x",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args"
] | import java.util.Scanner;
class Main
{
public static void main(String[] args)throws Exception
{
Scanner scan=new Scanner(System.in);
while(true)
{
int H=scan.nextInt();
int W=scan.nextInt();
if(H==0&&W==0)
{
break;
}
else
{
for(int i=1;i<=H;i++)
{
for(int x=1;x<=W;x++)
{
System.out.print("#");
}
System.out.println("");
}
}
System.out.print("\n");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
38,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
108,
8
],
[
108,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
30,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
30,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
30,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
30,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
63,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
76,
84
],
[
84,
85
],
[
85,
86
],
[
76,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
75,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
30,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
9,
105
],
[
105,
106
],
[
0,
107
],
[
107,
108
],
[
107,
109
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n // TODO ?????????????????????????????????????????????\n \n boolean first=true;\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null) {\n \tString[] str=line.split(\" \");\n \tint x=Integer.parseInt(str[0]);\n \tint y=Integer.parseInt(str[1]);\n\n \tif(x==0&&y==0){\n \t\tbreak;\n \t}\n \tfor(int i=0;i<x;i++){\n \t\tfor(int j=0;j<y;j++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}\n \tSystem.out.println();\n }\n }\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n // TODO ?????????????????????????????????????????????\n \n boolean first=true;\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null) {\n \tString[] str=line.split(\" \");\n \tint x=Integer.parseInt(str[0]);\n \tint y=Integer.parseInt(str[1]);\n\n \tif(x==0&&y==0){\n \t\tbreak;\n \t}\n \tfor(int i=0;i<x;i++){\n \t\tfor(int j=0;j<y;j++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}\n \tSystem.out.println();\n }\n }\n }\n\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // TODO ?????????????????????????????????????????????\n \n boolean first=true;\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null) {\n \tString[] str=line.split(\" \");\n \tint x=Integer.parseInt(str[0]);\n \tint y=Integer.parseInt(str[1]);\n\n \tif(x==0&&y==0){\n \t\tbreak;\n \t}\n \tfor(int i=0;i<x;i++){\n \t\tfor(int j=0;j<y;j++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}\n \tSystem.out.println();\n }\n }\n }",
"main",
"{\n // TODO ?????????????????????????????????????????????\n \n boolean first=true;\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null) {\n \tString[] str=line.split(\" \");\n \tint x=Integer.parseInt(str[0]);\n \tint y=Integer.parseInt(str[1]);\n\n \tif(x==0&&y==0){\n \t\tbreak;\n \t}\n \tfor(int i=0;i<x;i++){\n \t\tfor(int j=0;j<y;j++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}\n \tSystem.out.println();\n }\n }\n }",
"boolean first=true;",
"first",
"true",
"try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null) {\n \tString[] str=line.split(\" \");\n \tint x=Integer.parseInt(str[0]);\n \tint y=Integer.parseInt(str[1]);\n\n \tif(x==0&&y==0){\n \t\tbreak;\n \t}\n \tfor(int i=0;i<x;i++){\n \t\tfor(int j=0;j<y;j++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}\n \tSystem.out.println();\n }\n }",
"{\n String line;\n while ((line = br.readLine()) != null) {\n \tString[] str=line.split(\" \");\n \tint x=Integer.parseInt(str[0]);\n \tint y=Integer.parseInt(str[1]);\n\n \tif(x==0&&y==0){\n \t\tbreak;\n \t}\n \tfor(int i=0;i<x;i++){\n \t\tfor(int j=0;j<y;j++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}\n \tSystem.out.println();\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"while ((line = br.readLine()) != null) {\n \tString[] str=line.split(\" \");\n \tint x=Integer.parseInt(str[0]);\n \tint y=Integer.parseInt(str[1]);\n\n \tif(x==0&&y==0){\n \t\tbreak;\n \t}\n \tfor(int i=0;i<x;i++){\n \t\tfor(int j=0;j<y;j++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}\n \tSystem.out.println();\n }",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n \tString[] str=line.split(\" \");\n \tint x=Integer.parseInt(str[0]);\n \tint y=Integer.parseInt(str[1]);\n\n \tif(x==0&&y==0){\n \t\tbreak;\n \t}\n \tfor(int i=0;i<x;i++){\n \t\tfor(int j=0;j<y;j++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}\n \tSystem.out.println();\n }",
"String[] str=line.split(\" \");",
"str",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int x=Integer.parseInt(str[0]);",
"x",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"int y=Integer.parseInt(str[1]);",
"y",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"if(x==0&&y==0){\n \t\tbreak;\n \t}",
"x==0&&y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"{\n \t\tbreak;\n \t}",
"break;",
"for(int i=0;i<x;i++){\n \t\tfor(int j=0;j<y;j++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<x",
"i",
"x",
"i++",
"i++",
"i",
"{\n \t\tfor(int j=0;j<y;j++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}",
"{\n \t\tfor(int j=0;j<y;j++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}",
"for(int j=0;j<y;j++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<y",
"j",
"y",
"j++",
"j++",
"j",
"{\n \t\t\tSystem.out.print(\"#\");\n \t\t}",
"{\n \t\t\tSystem.out.print(\"#\");\n \t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n // TODO ?????????????????????????????????????????????\n \n boolean first=true;\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null) {\n \tString[] str=line.split(\" \");\n \tint x=Integer.parseInt(str[0]);\n \tint y=Integer.parseInt(str[1]);\n\n \tif(x==0&&y==0){\n \t\tbreak;\n \t}\n \tfor(int i=0;i<x;i++){\n \t\tfor(int j=0;j<y;j++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}\n \tSystem.out.println();\n }\n }\n }\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n // TODO ?????????????????????????????????????????????\n \n boolean first=true;\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null) {\n \tString[] str=line.split(\" \");\n \tint x=Integer.parseInt(str[0]);\n \tint y=Integer.parseInt(str[1]);\n\n \tif(x==0&&y==0){\n \t\tbreak;\n \t}\n \tfor(int i=0;i<x;i++){\n \t\tfor(int j=0;j<y;j++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println();\n \t}\n \tSystem.out.println();\n }\n }\n }\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
// TODO ?????????????????????????????????????????????
boolean first=true;
try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
String line;
while ((line = br.readLine()) != null) {
String[] str=line.split(" ");
int x=Integer.parseInt(str[0]);
int y=Integer.parseInt(str[1]);
if(x==0&&y==0){
break;
}
for(int i=0;i<x;i++){
for(int j=0;j<y;j++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
107,
8
],
[
107,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
17,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
17,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
17,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
17,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
69,
70
],
[
60,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
81,
82
],
[
82,
83
],
[
73,
84
],
[
85,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
72,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
17,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
9,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args)throws Exception {\n\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t while(true){\n\t \tString line = br.readLine();\n\t \t//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除く。\n\t \tline = line.trim();\n\t \t//半角スペースを区切り文字として扱う\n\t \tString[] readLineArray = line.split(\"[\\\\s+]\");\n\t \t//変数に配列を代入\n\t \tint a = Integer.parseInt(readLineArray[0]);\n\t \tint b = Integer.parseInt(readLineArray[1]);\n\t \tif(a == 0 && b == 0){\n\t \t\tbreak;\n\t \t}\n\t \tfor(int i = 0;i < a;i++){\n\t \t\tfor(int j = 0;j < b; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\t \t\t}\n\t \t\tSystem.out.printf(\"\\n\");\n\t \t}\n\t \tSystem.out.printf(\"\\n\");\n\t \t\n\t }\n\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args)throws Exception {\n\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t while(true){\n\t \tString line = br.readLine();\n\t \t//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除く。\n\t \tline = line.trim();\n\t \t//半角スペースを区切り文字として扱う\n\t \tString[] readLineArray = line.split(\"[\\\\s+]\");\n\t \t//変数に配列を代入\n\t \tint a = Integer.parseInt(readLineArray[0]);\n\t \tint b = Integer.parseInt(readLineArray[1]);\n\t \tif(a == 0 && b == 0){\n\t \t\tbreak;\n\t \t}\n\t \tfor(int i = 0;i < a;i++){\n\t \t\tfor(int j = 0;j < b; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\t \t\t}\n\t \t\tSystem.out.printf(\"\\n\");\n\t \t}\n\t \tSystem.out.printf(\"\\n\");\n\t \t\n\t }\n\n\t}\n\n}",
"Main",
"public static void main(String[] args)throws Exception {\n\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t while(true){\n\t \tString line = br.readLine();\n\t \t//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除く。\n\t \tline = line.trim();\n\t \t//半角スペースを区切り文字として扱う\n\t \tString[] readLineArray = line.split(\"[\\\\s+]\");\n\t \t//変数に配列を代入\n\t \tint a = Integer.parseInt(readLineArray[0]);\n\t \tint b = Integer.parseInt(readLineArray[1]);\n\t \tif(a == 0 && b == 0){\n\t \t\tbreak;\n\t \t}\n\t \tfor(int i = 0;i < a;i++){\n\t \t\tfor(int j = 0;j < b; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\t \t\t}\n\t \t\tSystem.out.printf(\"\\n\");\n\t \t}\n\t \tSystem.out.printf(\"\\n\");\n\t \t\n\t }\n\n\t}",
"main",
"{\n\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t while(true){\n\t \tString line = br.readLine();\n\t \t//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除く。\n\t \tline = line.trim();\n\t \t//半角スペースを区切り文字として扱う\n\t \tString[] readLineArray = line.split(\"[\\\\s+]\");\n\t \t//変数に配列を代入\n\t \tint a = Integer.parseInt(readLineArray[0]);\n\t \tint b = Integer.parseInt(readLineArray[1]);\n\t \tif(a == 0 && b == 0){\n\t \t\tbreak;\n\t \t}\n\t \tfor(int i = 0;i < a;i++){\n\t \t\tfor(int j = 0;j < b; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\t \t\t}\n\t \t\tSystem.out.printf(\"\\n\");\n\t \t}\n\t \tSystem.out.printf(\"\\n\");\n\t \t\n\t }\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t \tString line = br.readLine();\n\t \t//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除く。\n\t \tline = line.trim();\n\t \t//半角スペースを区切り文字として扱う\n\t \tString[] readLineArray = line.split(\"[\\\\s+]\");\n\t \t//変数に配列を代入\n\t \tint a = Integer.parseInt(readLineArray[0]);\n\t \tint b = Integer.parseInt(readLineArray[1]);\n\t \tif(a == 0 && b == 0){\n\t \t\tbreak;\n\t \t}\n\t \tfor(int i = 0;i < a;i++){\n\t \t\tfor(int j = 0;j < b; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\t \t\t}\n\t \t\tSystem.out.printf(\"\\n\");\n\t \t}\n\t \tSystem.out.printf(\"\\n\");\n\t \t\n\t }",
"true",
"{\n\t \tString line = br.readLine();\n\t \t//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除く。\n\t \tline = line.trim();\n\t \t//半角スペースを区切り文字として扱う\n\t \tString[] readLineArray = line.split(\"[\\\\s+]\");\n\t \t//変数に配列を代入\n\t \tint a = Integer.parseInt(readLineArray[0]);\n\t \tint b = Integer.parseInt(readLineArray[1]);\n\t \tif(a == 0 && b == 0){\n\t \t\tbreak;\n\t \t}\n\t \tfor(int i = 0;i < a;i++){\n\t \t\tfor(int j = 0;j < b; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\t \t\t}\n\t \t\tSystem.out.printf(\"\\n\");\n\t \t}\n\t \tSystem.out.printf(\"\\n\");\n\t \t\n\t }",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"line = line.trim()",
"line",
"line.trim()",
"line.trim",
"line",
"String[] readLineArray = line.split(\"[\\\\s+]\");",
"readLineArray",
"line.split(\"[\\\\s+]\")",
"line.split",
"line",
"\"[\\\\s+]\"",
"int a = Integer.parseInt(readLineArray[0]);",
"a",
"Integer.parseInt(readLineArray[0])",
"Integer.parseInt",
"Integer",
"readLineArray[0]",
"readLineArray",
"0",
"int b = Integer.parseInt(readLineArray[1]);",
"b",
"Integer.parseInt(readLineArray[1])",
"Integer.parseInt",
"Integer",
"readLineArray[1]",
"readLineArray",
"1",
"if(a == 0 && b == 0){\n\t \t\tbreak;\n\t \t}",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n\t \t\tbreak;\n\t \t}",
"break;",
"for(int i = 0;i < a;i++){\n\t \t\tfor(int j = 0;j < b; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\t \t\t}\n\t \t\tSystem.out.printf(\"\\n\");\n\t \t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a",
"i",
"a",
"i++",
"i++",
"i",
"{\n\t \t\tfor(int j = 0;j < b; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\t \t\t}\n\t \t\tSystem.out.printf(\"\\n\");\n\t \t}",
"{\n\t \t\tfor(int j = 0;j < b; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\t \t\t}\n\t \t\tSystem.out.printf(\"\\n\");\n\t \t}",
"for(int j = 0;j < b; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\t \t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < b",
"j",
"b",
"j++",
"j++",
"j",
"{\n\t \t\t\tSystem.out.printf(\"#\");\n\t \t\t}",
"{\n\t \t\t\tSystem.out.printf(\"#\");\n\t \t\t}",
"System.out.printf(\"#\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"System.out.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args)throws Exception {\n\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t while(true){\n\t \tString line = br.readLine();\n\t \t//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除く。\n\t \tline = line.trim();\n\t \t//半角スペースを区切り文字として扱う\n\t \tString[] readLineArray = line.split(\"[\\\\s+]\");\n\t \t//変数に配列を代入\n\t \tint a = Integer.parseInt(readLineArray[0]);\n\t \tint b = Integer.parseInt(readLineArray[1]);\n\t \tif(a == 0 && b == 0){\n\t \t\tbreak;\n\t \t}\n\t \tfor(int i = 0;i < a;i++){\n\t \t\tfor(int j = 0;j < b; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\t \t\t}\n\t \t\tSystem.out.printf(\"\\n\");\n\t \t}\n\t \tSystem.out.printf(\"\\n\");\n\t \t\n\t }\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args)throws Exception {\n\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t while(true){\n\t \tString line = br.readLine();\n\t \t//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除く。\n\t \tline = line.trim();\n\t \t//半角スペースを区切り文字として扱う\n\t \tString[] readLineArray = line.split(\"[\\\\s+]\");\n\t \t//変数に配列を代入\n\t \tint a = Integer.parseInt(readLineArray[0]);\n\t \tint b = Integer.parseInt(readLineArray[1]);\n\t \tif(a == 0 && b == 0){\n\t \t\tbreak;\n\t \t}\n\t \tfor(int i = 0;i < a;i++){\n\t \t\tfor(int j = 0;j < b; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\t \t\t}\n\t \t\tSystem.out.printf(\"\\n\");\n\t \t}\n\t \tSystem.out.printf(\"\\n\");\n\t \t\n\t }\n\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args)throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String line = br.readLine();
//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除く。
line = line.trim();
//半角スペースを区切り文字として扱う
String[] readLineArray = line.split("[\\s+]");
//変数に配列を代入
int a = Integer.parseInt(readLineArray[0]);
int b = Integer.parseInt(readLineArray[1]);
if(a == 0 && b == 0){
break;
}
for(int i = 0;i < a;i++){
for(int j = 0;j < b; j++){
System.out.printf("#");
}
System.out.printf("\n");
}
System.out.printf("\n");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
94,
5
],
[
94,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
12,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
62,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
61,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
48,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
6,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tscan.useDelimiter(\"\\\\s\"); //?????????????????´??????????????¨?????±???????????????\\\\???????????????\n\t\tint i =0;\n\t\twhile(i == 0) {\n\t\t\tint h = scan.nextInt();//??´??°??\\????????????\n\t\t\tint w = scan.nextInt();//??´??°??\\???????¨????\n\n\t\t\tif (h == 0 && w == 0) { //h w???0?????¨????????????\n\t\t\t\tbreak;\n\t\t\t} else if (h > 0){ //0??§???????????£?????¨????????????\n\t\t\t\tfor (int j = 0; j < h; j++) { //j???h????????§?????????????????§??????\n\t\t\t\t\tfor (int k = 0; k < w; k++) { //k???w????????§?????????????????§??????\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tscan.useDelimiter(\"\\\\s\"); //?????????????????´??????????????¨?????±???????????????\\\\???????????????\n\t\tint i =0;\n\t\twhile(i == 0) {\n\t\t\tint h = scan.nextInt();//??´??°??\\????????????\n\t\t\tint w = scan.nextInt();//??´??°??\\???????¨????\n\n\t\t\tif (h == 0 && w == 0) { //h w???0?????¨????????????\n\t\t\t\tbreak;\n\t\t\t} else if (h > 0){ //0??§???????????£?????¨????????????\n\t\t\t\tfor (int j = 0; j < h; j++) { //j???h????????§?????????????????§??????\n\t\t\t\t\tfor (int k = 0; k < w; k++) { //k???w????????§?????????????????§??????\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tscan.useDelimiter(\"\\\\s\"); //?????????????????´??????????????¨?????±???????????????\\\\???????????????\n\t\tint i =0;\n\t\twhile(i == 0) {\n\t\t\tint h = scan.nextInt();//??´??°??\\????????????\n\t\t\tint w = scan.nextInt();//??´??°??\\???????¨????\n\n\t\t\tif (h == 0 && w == 0) { //h w???0?????¨????????????\n\t\t\t\tbreak;\n\t\t\t} else if (h > 0){ //0??§???????????£?????¨????????????\n\t\t\t\tfor (int j = 0; j < h; j++) { //j???h????????§?????????????????§??????\n\t\t\t\t\tfor (int k = 0; k < w; k++) { //k???w????????§?????????????????§??????\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tscan.useDelimiter(\"\\\\s\"); //?????????????????´??????????????¨?????±???????????????\\\\???????????????\n\t\tint i =0;\n\t\twhile(i == 0) {\n\t\t\tint h = scan.nextInt();//??´??°??\\????????????\n\t\t\tint w = scan.nextInt();//??´??°??\\???????¨????\n\n\t\t\tif (h == 0 && w == 0) { //h w???0?????¨????????????\n\t\t\t\tbreak;\n\t\t\t} else if (h > 0){ //0??§???????????£?????¨????????????\n\t\t\t\tfor (int j = 0; j < h; j++) { //j???h????????§?????????????????§??????\n\t\t\t\t\tfor (int k = 0; k < w; k++) { //k???w????????§?????????????????§??????\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t}\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"scan.useDelimiter(\"\\\\s\")",
"scan.useDelimiter",
"scan",
"\"\\\\s\"",
"int i =0;",
"i",
"0",
"while(i == 0) {\n\t\t\tint h = scan.nextInt();//??´??°??\\????????????\n\t\t\tint w = scan.nextInt();//??´??°??\\???????¨????\n\n\t\t\tif (h == 0 && w == 0) { //h w???0?????¨????????????\n\t\t\t\tbreak;\n\t\t\t} else if (h > 0){ //0??§???????????£?????¨????????????\n\t\t\t\tfor (int j = 0; j < h; j++) { //j???h????????§?????????????????§??????\n\t\t\t\t\tfor (int k = 0; k < w; k++) { //k???w????????§?????????????????§??????\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t}",
"i == 0",
"i",
"0",
"{\n\t\t\tint h = scan.nextInt();//??´??°??\\????????????\n\t\t\tint w = scan.nextInt();//??´??°??\\???????¨????\n\n\t\t\tif (h == 0 && w == 0) { //h w???0?????¨????????????\n\t\t\t\tbreak;\n\t\t\t} else if (h > 0){ //0??§???????????£?????¨????????????\n\t\t\t\tfor (int j = 0; j < h; j++) { //j???h????????§?????????????????§??????\n\t\t\t\t\tfor (int k = 0; k < w; k++) { //k???w????????§?????????????????§??????\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t}",
"int h = scan.nextInt();",
"h",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int w = scan.nextInt();",
"w",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (h == 0 && w == 0) { //h w???0?????¨????????????\n\t\t\t\tbreak;\n\t\t\t} else if (h > 0){ //0??§???????????£?????¨????????????\n\t\t\t\tfor (int j = 0; j < h; j++) { //j???h????????§?????????????????§??????\n\t\t\t\t\tfor (int k = 0; k < w; k++) { //k???w????????§?????????????????§??????\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"{ //h w???0?????¨????????????\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if (h > 0){ //0??§???????????£?????¨????????????\n\t\t\t\tfor (int j = 0; j < h; j++) { //j???h????????§?????????????????§??????\n\t\t\t\t\tfor (int k = 0; k < w; k++) { //k???w????????§?????????????????§??????\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"h > 0",
"h",
"0",
"{ //0??§???????????£?????¨????????????\n\t\t\t\tfor (int j = 0; j < h; j++) { //j???h????????§?????????????????§??????\n\t\t\t\t\tfor (int k = 0; k < w; k++) { //k???w????????§?????????????????§??????\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"for (int j = 0; j < h; j++) { //j???h????????§?????????????????§??????\n\t\t\t\t\tfor (int k = 0; k < w; k++) { //k???w????????§?????????????????§??????\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < h",
"j",
"h",
"j++",
"j++",
"j",
"{ //j???h????????§?????????????????§??????\n\t\t\t\t\tfor (int k = 0; k < w; k++) { //k???w????????§?????????????????§??????\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"{ //j???h????????§?????????????????§??????\n\t\t\t\t\tfor (int k = 0; k < w; k++) { //k???w????????§?????????????????§??????\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"for (int k = 0; k < w; k++) { //k???w????????§?????????????????§??????\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"int k = 0;",
"int k = 0;",
"k",
"0",
"k < w",
"k",
"w",
"k++",
"k++",
"k",
"{ //k???w????????§?????????????????§??????\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"{ //k???w????????§?????????????????§??????\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tscan.useDelimiter(\"\\\\s\"); //?????????????????´??????????????¨?????±???????????????\\\\???????????????\n\t\tint i =0;\n\t\twhile(i == 0) {\n\t\t\tint h = scan.nextInt();//??´??°??\\????????????\n\t\t\tint w = scan.nextInt();//??´??°??\\???????¨????\n\n\t\t\tif (h == 0 && w == 0) { //h w???0?????¨????????????\n\t\t\t\tbreak;\n\t\t\t} else if (h > 0){ //0??§???????????£?????¨????????????\n\t\t\t\tfor (int j = 0; j < h; j++) { //j???h????????§?????????????????§??????\n\t\t\t\t\tfor (int k = 0; k < w; k++) { //k???w????????§?????????????????§??????\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tscan.useDelimiter(\"\\\\s\"); //?????????????????´??????????????¨?????±???????????????\\\\???????????????\n\t\tint i =0;\n\t\twhile(i == 0) {\n\t\t\tint h = scan.nextInt();//??´??°??\\????????????\n\t\t\tint w = scan.nextInt();//??´??°??\\???????¨????\n\n\t\t\tif (h == 0 && w == 0) { //h w???0?????¨????????????\n\t\t\t\tbreak;\n\t\t\t} else if (h > 0){ //0??§???????????£?????¨????????????\n\t\t\t\tfor (int j = 0; j < h; j++) { //j???h????????§?????????????????§??????\n\t\t\t\t\tfor (int k = 0; k < w; k++) { //k???w????????§?????????????????§??????\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
scan.useDelimiter("\\s"); //?????????????????´??????????????¨?????±???????????????\\???????????????
int i =0;
while(i == 0) {
int h = scan.nextInt();//??´??°??\????????????
int w = scan.nextInt();//??´??°??\???????¨????
if (h == 0 && w == 0) { //h w???0?????¨????????????
break;
} else if (h > 0){ //0??§???????????£?????¨????????????
for (int j = 0; j < h; j++) { //j???h????????§?????????????????§??????
for (int k = 0; k < w; k++) { //k???w????????§?????????????????§??????
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
48,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
35,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}",
"int H = sc.nextInt();",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int W = sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"for (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}",
"{\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}",
"for (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (true) {
int H = sc.nextInt();
int W = sc.nextInt();
if (H == 0 && W == 0) {
break;
} else {
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
29,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
79,
5
],
[
79,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
14,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
46,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
14,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
6,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(true){\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h == 0 && w == 0) return;\n for(int i = 0; i<h; i++) {\n for(int j = 0; j<w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(true){\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h == 0 && w == 0) return;\n for(int i = 0; i<h; i++) {\n for(int j = 0; j<w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(true){\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h == 0 && w == 0) return;\n for(int i = 0; i<h; i++) {\n for(int j = 0; j<w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n while(true){\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h == 0 && w == 0) return;\n for(int i = 0; i<h; i++) {\n for(int j = 0; j<w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(true){\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h == 0 && w == 0) return;\n for(int i = 0; i<h; i++) {\n for(int j = 0; j<w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"true",
"{\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h == 0 && w == 0) return;\n for(int i = 0; i<h; i++) {\n for(int j = 0; j<w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"int h = sc.nextInt();",
"h",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(h == 0 && w == 0) return;",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"return;",
"for(int i = 0; i<h; i++) {\n for(int j = 0; j<w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<h",
"i",
"h",
"i++",
"i++",
"i",
"{\n for(int j = 0; j<w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"{\n for(int j = 0; j<w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"for(int j = 0; j<w; j++) {\n System.out.print(\"#\");\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j<w",
"j",
"w",
"j++",
"j++",
"j",
"{\n System.out.print(\"#\");\n }",
"{\n System.out.print(\"#\");\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(true){\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h == 0 && w == 0) return;\n for(int i = 0; i<h; i++) {\n for(int j = 0; j<w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(true){\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h == 0 && w == 0) return;\n for(int i = 0; i<h; i++) {\n for(int j = 0; j<w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(true){
int h = sc.nextInt();
int w = sc.nextInt();
if(h == 0 && w == 0) return;
for(int i = 0; i<h; i++) {
for(int j = 0; j<w; j++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
81,
5
],
[
81,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
14,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
46,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
14,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
6,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (true) {\n int H = scanner.nextInt();\n int W = scanner.nextInt();\n if (H == 0 && W == 0) break;\n for (int h = 0; h < H; h++) {\n for (int w = 0; w < W; w++) {\n System.out.print('#');\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (true) {\n int H = scanner.nextInt();\n int W = scanner.nextInt();\n if (H == 0 && W == 0) break;\n for (int h = 0; h < H; h++) {\n for (int w = 0; w < W; w++) {\n System.out.print('#');\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (true) {\n int H = scanner.nextInt();\n int W = scanner.nextInt();\n if (H == 0 && W == 0) break;\n for (int h = 0; h < H; h++) {\n for (int w = 0; w < W; w++) {\n System.out.print('#');\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n while (true) {\n int H = scanner.nextInt();\n int W = scanner.nextInt();\n if (H == 0 && W == 0) break;\n for (int h = 0; h < H; h++) {\n for (int w = 0; w < W; w++) {\n System.out.print('#');\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while (true) {\n int H = scanner.nextInt();\n int W = scanner.nextInt();\n if (H == 0 && W == 0) break;\n for (int h = 0; h < H; h++) {\n for (int w = 0; w < W; w++) {\n System.out.print('#');\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }",
"true",
"{\n int H = scanner.nextInt();\n int W = scanner.nextInt();\n if (H == 0 && W == 0) break;\n for (int h = 0; h < H; h++) {\n for (int w = 0; w < W; w++) {\n System.out.print('#');\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }",
"int H = scanner.nextInt();",
"H",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int W = scanner.nextInt();",
"W",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (H == 0 && W == 0) break;",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"break;",
"for (int h = 0; h < H; h++) {\n for (int w = 0; w < W; w++) {\n System.out.print('#');\n }\n System.out.println(\"\");\n }",
"int h = 0;",
"int h = 0;",
"h",
"0",
"h < H",
"h",
"H",
"h++",
"h++",
"h",
"{\n for (int w = 0; w < W; w++) {\n System.out.print('#');\n }\n System.out.println(\"\");\n }",
"{\n for (int w = 0; w < W; w++) {\n System.out.print('#');\n }\n System.out.println(\"\");\n }",
"for (int w = 0; w < W; w++) {\n System.out.print('#');\n }",
"int w = 0;",
"int w = 0;",
"w",
"0",
"w < W",
"w",
"W",
"w++",
"w++",
"w",
"{\n System.out.print('#');\n }",
"{\n System.out.print('#');\n }",
"System.out.print('#')",
"System.out.print",
"System.out",
"System",
"System.out",
"'#'",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (true) {\n int H = scanner.nextInt();\n int W = scanner.nextInt();\n if (H == 0 && W == 0) break;\n for (int h = 0; h < H; h++) {\n for (int w = 0; w < W; w++) {\n System.out.print('#');\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (true) {\n int H = scanner.nextInt();\n int W = scanner.nextInt();\n if (H == 0 && W == 0) break;\n for (int h = 0; h < H; h++) {\n for (int w = 0; w < W; w++) {\n System.out.print('#');\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
while (true) {
int H = scanner.nextInt();
int W = scanner.nextInt();
if (H == 0 && W == 0) break;
for (int h = 0; h < H; h++) {
for (int w = 0; w < W; w++) {
System.out.print('#');
}
System.out.println("");
}
System.out.println("");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
14,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
46,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
14,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
9,
76
],
[
76,
77
]
] | [
"import java.util.*;\nclass Main{\n\tstatic Scanner s = new Scanner(System.in);\n\tpublic static void main(String[] args){\n\t\twhile(true){\n\t\t\tint h=s.nextInt(),w=s.nextInt();\n\t\t\tif(h==0&&w==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tstatic Scanner s = new Scanner(System.in);\n\tpublic static void main(String[] args){\n\t\twhile(true){\n\t\t\tint h=s.nextInt(),w=s.nextInt();\n\t\t\tif(h==0&&w==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main",
"static Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"public static void main(String[] args){\n\t\twhile(true){\n\t\t\tint h=s.nextInt(),w=s.nextInt();\n\t\t\tif(h==0&&w==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"main",
"{\n\t\twhile(true){\n\t\t\tint h=s.nextInt(),w=s.nextInt();\n\t\t\tif(h==0&&w==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"while(true){\n\t\t\tint h=s.nextInt(),w=s.nextInt();\n\t\t\tif(h==0&&w==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"true",
"{\n\t\t\tint h=s.nextInt(),w=s.nextInt();\n\t\t\tif(h==0&&w==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"int h=s.nextInt()",
"h",
"s.nextInt()",
"s.nextInt",
"s",
"w=s.nextInt();",
"w",
"s.nextInt()",
"s.nextInt",
"s",
"if(h==0&&w==0)\n\t\t\t\tbreak;",
"h==0&&w==0",
"h==0",
"h",
"0",
"w==0",
"w",
"0",
"break;",
"for(int i=0;i<h;i++){\n\t\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"{\n\t\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"for(int j=0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<w",
"j",
"w",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args"
] | import java.util.*;
class Main{
static Scanner s = new Scanner(System.in);
public static void main(String[] args){
while(true){
int h=s.nextInt(),w=s.nextInt();
if(h==0&&w==0)
break;
for(int i=0;i<h;i++){
for(int j=0;j<w;j++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
28,
13,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
128,
11
],
[
128,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
41,
42
],
[
23,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
23,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
23,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
23,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
14,
64
],
[
64,
65
],
[
64,
66
],
[
64,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
69,
80
],
[
80,
81
],
[
81,
82
],
[
69,
83
],
[
84,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
84,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
91,
102
],
[
102,
103
],
[
103,
104
],
[
91,
105
],
[
106,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
84,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
68,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
12,
125
],
[
125,
126
],
[
0,
127
],
[
127,
128
],
[
127,
129
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\n/**\n * Created 2017/06/01.\n */\npublic class Main {\n public static void main(String[] args) {\n //??\\?????¨?????????\n Scanner sc = new Scanner(System.in);\n ArrayList<ArrayList<Integer>> ary_ans = new ArrayList<>();\n while (true) {\n ArrayList<Integer> ary = new ArrayList<>();\n int input1 = Integer.parseInt(sc.next());\n int input2 = Integer.parseInt(sc.next());\n if (input1 == 0 && input2 == 0) break;\n ary.add(input1);\n ary.add(input2);\n ary_ans.add(ary);\n }\n for (ArrayList<Integer> index : ary_ans) {\n for (int i = 0; i < index.get(0);i++){\n System.out.print(\"#\");\n for (int j = 1; j < index.get(1);j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n //??\\?????¨?????????\n Scanner sc = new Scanner(System.in);\n ArrayList<ArrayList<Integer>> ary_ans = new ArrayList<>();\n while (true) {\n ArrayList<Integer> ary = new ArrayList<>();\n int input1 = Integer.parseInt(sc.next());\n int input2 = Integer.parseInt(sc.next());\n if (input1 == 0 && input2 == 0) break;\n ary.add(input1);\n ary.add(input2);\n ary_ans.add(ary);\n }\n for (ArrayList<Integer> index : ary_ans) {\n for (int i = 0; i < index.get(0);i++){\n System.out.print(\"#\");\n for (int j = 1; j < index.get(1);j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n //??\\?????¨?????????\n Scanner sc = new Scanner(System.in);\n ArrayList<ArrayList<Integer>> ary_ans = new ArrayList<>();\n while (true) {\n ArrayList<Integer> ary = new ArrayList<>();\n int input1 = Integer.parseInt(sc.next());\n int input2 = Integer.parseInt(sc.next());\n if (input1 == 0 && input2 == 0) break;\n ary.add(input1);\n ary.add(input2);\n ary_ans.add(ary);\n }\n for (ArrayList<Integer> index : ary_ans) {\n for (int i = 0; i < index.get(0);i++){\n System.out.print(\"#\");\n for (int j = 1; j < index.get(1);j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n }",
"main",
"{\n //??\\?????¨?????????\n Scanner sc = new Scanner(System.in);\n ArrayList<ArrayList<Integer>> ary_ans = new ArrayList<>();\n while (true) {\n ArrayList<Integer> ary = new ArrayList<>();\n int input1 = Integer.parseInt(sc.next());\n int input2 = Integer.parseInt(sc.next());\n if (input1 == 0 && input2 == 0) break;\n ary.add(input1);\n ary.add(input2);\n ary_ans.add(ary);\n }\n for (ArrayList<Integer> index : ary_ans) {\n for (int i = 0; i < index.get(0);i++){\n System.out.print(\"#\");\n for (int j = 1; j < index.get(1);j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<ArrayList<Integer>> ary_ans = new ArrayList<>();",
"ary_ans",
"new ArrayList<>()",
"while (true) {\n ArrayList<Integer> ary = new ArrayList<>();\n int input1 = Integer.parseInt(sc.next());\n int input2 = Integer.parseInt(sc.next());\n if (input1 == 0 && input2 == 0) break;\n ary.add(input1);\n ary.add(input2);\n ary_ans.add(ary);\n }",
"true",
"{\n ArrayList<Integer> ary = new ArrayList<>();\n int input1 = Integer.parseInt(sc.next());\n int input2 = Integer.parseInt(sc.next());\n if (input1 == 0 && input2 == 0) break;\n ary.add(input1);\n ary.add(input2);\n ary_ans.add(ary);\n }",
"ArrayList<Integer> ary = new ArrayList<>();",
"ary",
"new ArrayList<>()",
"int input1 = Integer.parseInt(sc.next());",
"input1",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int input2 = Integer.parseInt(sc.next());",
"input2",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"if (input1 == 0 && input2 == 0) break;",
"input1 == 0 && input2 == 0",
"input1 == 0",
"input1",
"0",
"input2 == 0",
"input2",
"0",
"break;",
"ary.add(input1)",
"ary.add",
"ary",
"input1",
"ary.add(input2)",
"ary.add",
"ary",
"input2",
"ary_ans.add(ary)",
"ary_ans.add",
"ary_ans",
"ary",
"for (ArrayList<Integer> index : ary_ans) {\n for (int i = 0; i < index.get(0);i++){\n System.out.print(\"#\");\n for (int j = 1; j < index.get(1);j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }",
"ArrayList<Integer> index",
"ary_ans",
"{\n for (int i = 0; i < index.get(0);i++){\n System.out.print(\"#\");\n for (int j = 1; j < index.get(1);j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }",
"{\n for (int i = 0; i < index.get(0);i++){\n System.out.print(\"#\");\n for (int j = 1; j < index.get(1);j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }",
"for (int i = 0; i < index.get(0);i++){\n System.out.print(\"#\");\n for (int j = 1; j < index.get(1);j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < index.get(0)",
"i",
"index.get(0)",
"index.get",
"index",
"0",
"i++",
"i++",
"i",
"{\n System.out.print(\"#\");\n for (int j = 1; j < index.get(1);j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }",
"{\n System.out.print(\"#\");\n for (int j = 1; j < index.get(1);j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"for (int j = 1; j < index.get(1);j++){\n System.out.print(\"#\");\n }",
"int j = 1;",
"int j = 1;",
"j",
"1",
"j < index.get(1)",
"j",
"index.get(1)",
"index.get",
"index",
"1",
"j++",
"j++",
"j",
"{\n System.out.print(\"#\");\n }",
"{\n System.out.print(\"#\");\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n //??\\?????¨?????????\n Scanner sc = new Scanner(System.in);\n ArrayList<ArrayList<Integer>> ary_ans = new ArrayList<>();\n while (true) {\n ArrayList<Integer> ary = new ArrayList<>();\n int input1 = Integer.parseInt(sc.next());\n int input2 = Integer.parseInt(sc.next());\n if (input1 == 0 && input2 == 0) break;\n ary.add(input1);\n ary.add(input2);\n ary_ans.add(ary);\n }\n for (ArrayList<Integer> index : ary_ans) {\n for (int i = 0; i < index.get(0);i++){\n System.out.print(\"#\");\n for (int j = 1; j < index.get(1);j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n //??\\?????¨?????????\n Scanner sc = new Scanner(System.in);\n ArrayList<ArrayList<Integer>> ary_ans = new ArrayList<>();\n while (true) {\n ArrayList<Integer> ary = new ArrayList<>();\n int input1 = Integer.parseInt(sc.next());\n int input2 = Integer.parseInt(sc.next());\n if (input1 == 0 && input2 == 0) break;\n ary.add(input1);\n ary.add(input2);\n ary_ans.add(ary);\n }\n for (ArrayList<Integer> index : ary_ans) {\n for (int i = 0; i < index.get(0);i++){\n System.out.print(\"#\");\n for (int j = 1; j < index.get(1);j++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n }\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
/**
* Created 2017/06/01.
*/
public class Main {
public static void main(String[] args) {
//??\?????¨?????????
Scanner sc = new Scanner(System.in);
ArrayList<ArrayList<Integer>> ary_ans = new ArrayList<>();
while (true) {
ArrayList<Integer> ary = new ArrayList<>();
int input1 = Integer.parseInt(sc.next());
int input2 = Integer.parseInt(sc.next());
if (input1 == 0 && input2 == 0) break;
ary.add(input1);
ary.add(input2);
ary_ans.add(ary);
}
for (ArrayList<Integer> index : ary_ans) {
for (int i = 0; i < index.get(0);i++){
System.out.print("#");
for (int j = 1; j < index.get(1);j++){
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
6,
12
],
[
12,
13
]
] | [
"import java.util.*;\n \nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n label:\n while(sc.hasNextLine()){\n int h = sc.nextInt();\n int w = sc.nextInt();\n \n if(h==0 && w==0) break label;\n for(int j = 1; j<=h; j++){\n for(int i = 1; i<=w; i++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n label:\n while(sc.hasNextLine()){\n int h = sc.nextInt();\n int w = sc.nextInt();\n \n if(h==0 && w==0) break label;\n for(int j = 1; j<=h; j++){\n for(int i = 1; i<=w; i++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n \n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n label:\n while(sc.hasNextLine()){\n int h = sc.nextInt();\n int w = sc.nextInt();\n \n if(h==0 && w==0) break label;\n for(int j = 1; j<=h; j++){\n for(int i = 1; i<=w; i++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n label:\n while(sc.hasNextLine()){\n int h = sc.nextInt();\n int w = sc.nextInt();\n \n if(h==0 && w==0) break label;\n for(int j = 1; j<=h; j++){\n for(int i = 1; i<=w; i++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
label:
while(sc.hasNextLine()){
int h = sc.nextInt();
int w = sc.nextInt();
if(h==0 && w==0) break label;
for(int j = 1; j<=h; j++){
for(int i = 1; i<=w; i++){
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
13,
3,
4,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
95,
5
],
[
95,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
33,
37
],
[
14,
38
],
[
38,
39
],
[
38,
40
],
[
38,
41
],
[
6,
42
],
[
42,
43
],
[
95,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
50,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
63,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
62,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
46,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
44,
90
],
[
90,
91
],
[
44,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 || w == 0) {\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tprintRectangle(h, w);\n\t\t}\n\t}\n\t\n\tpublic static void printRectangle(int h, int w) {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 0; i < h; i++) {\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tsb.append('#');\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\tSystem.out.println(sb);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 || w == 0) {\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tprintRectangle(h, w);\n\t\t}\n\t}\n\t\n\tpublic static void printRectangle(int h, int w) {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 0; i < h; i++) {\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tsb.append('#');\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\tSystem.out.println(sb);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 || w == 0) {\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tprintRectangle(h, w);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 || w == 0) {\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tprintRectangle(h, w);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 || w == 0) {\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tprintRectangle(h, w);\n\t\t}",
"true",
"{\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 || w == 0) {\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tprintRectangle(h, w);\n\t\t}",
"int h = sc.nextInt();",
"h",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (h == 0 || w == 0) {\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}",
"h == 0 || w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"{\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}",
"sc.close()",
"sc.close",
"sc",
"break;",
"printRectangle(h, w)",
"printRectangle",
"h",
"w",
"String[] args",
"args",
"public static void printRectangle(int h, int w) {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 0; i < h; i++) {\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tsb.append('#');\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\tSystem.out.println(sb);\n\t}",
"printRectangle",
"{\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 0; i < h; i++) {\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tsb.append('#');\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\tSystem.out.println(sb);\n\t}",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = 0; i < h; i++) {\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tsb.append('#');\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tsb.append('#');\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}",
"{\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tsb.append('#');\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}",
"for (int j = 0; j < w; j++) {\n\t\t\t\tsb.append('#');\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < w",
"j",
"w",
"j++",
"j++",
"j",
"{\n\t\t\t\tsb.append('#');\n\t\t\t}",
"{\n\t\t\t\tsb.append('#');\n\t\t\t}",
"sb.append('#')",
"sb.append",
"sb",
"'#'",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"int h",
"h",
"int w",
"w",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 || w == 0) {\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tprintRectangle(h, w);\n\t\t}\n\t}\n\t\n\tpublic static void printRectangle(int h, int w) {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 0; i < h; i++) {\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tsb.append('#');\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\tSystem.out.println(sb);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 || w == 0) {\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tprintRectangle(h, w);\n\t\t}\n\t}\n\t\n\tpublic static void printRectangle(int h, int w) {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 0; i < h; i++) {\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tsb.append('#');\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\tSystem.out.println(sb);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (true) {
int h = sc.nextInt();
int w = sc.nextInt();
if (h == 0 || w == 0) {
sc.close();
break;
}
printRectangle(h, w);
}
}
public static void printRectangle(int h, int w) {
StringBuilder sb = new StringBuilder();
for (int i = 0; i < h; i++) {
for (int j = 0; j < w; j++) {
sb.append('#');
}
sb.append("\n");
}
System.out.println(sb);
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.