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,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
42,
40,
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,
4,
18,
13,
19,
18,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
18,
4,
18,
13,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
18,
4,
18,
13,
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,
6,
13,
41,
13,
41,
13,
12,
13,
30,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
13,
12,
13,
30,
29,
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
],
[
183,
17
],
[
183,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
20,
32
],
[
32,
33
],
[
32,
34
],
[
20,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
41,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
41,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
41,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
68,
69
],
[
41,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
20,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
75,
85
],
[
85,
86
],
[
86,
87
],
[
75,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
97,
102
],
[
90,
103
],
[
103,
104
],
[
104,
105
],
[
90,
106
],
[
107,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
115,
120
],
[
108,
121
],
[
121,
122
],
[
122,
123
],
[
108,
124
],
[
125,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
126,
131
],
[
107,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
132,
137
],
[
89,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
138,
143
],
[
18,
144
],
[
144,
145
],
[
183,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
146,
150
],
[
150,
151
],
[
146,
152
],
[
152,
153
],
[
152,
154
],
[
146,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
162
],
[
157,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
163,
167
],
[
155,
168
],
[
168,
169
],
[
155,
170
],
[
170,
171
],
[
146,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
146,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
0,
182
],
[
182,
183
],
[
182,
184
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class Main {\n public class rectangle{\n public int width;\n public int height;\n public rectangle(){\n\n }\n\n public rectangle(int width, int height){\n this.width = width;\n this.height = height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public int getHeight() {\n return height;\n }\n }\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String input = br.readLine();\n Main main = new Main();\n List<Main.rectangle> rectanglelist = new ArrayList<>();\n while(!input.equals(\"0 0\")){\n String[] dataset = input.split(\" \");\n int H = Integer.parseInt(dataset[0]);\n int W = Integer.parseInt(dataset[1]);\n rectanglelist.add(main.new rectangle(W, H));\n input = br.readLine();\n }\n\n for(int i = 0;i < rectanglelist.size(); i++){\n for(int m = 1; m <= rectanglelist.get(i).height; m++){\n for(int n = 1; n <= rectanglelist.get(i).width; n++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\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.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n public class rectangle{\n public int width;\n public int height;\n public rectangle(){\n\n }\n\n public rectangle(int width, int height){\n this.width = width;\n this.height = height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public int getHeight() {\n return height;\n }\n }\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String input = br.readLine();\n Main main = new Main();\n List<Main.rectangle> rectanglelist = new ArrayList<>();\n while(!input.equals(\"0 0\")){\n String[] dataset = input.split(\" \");\n int H = Integer.parseInt(dataset[0]);\n int W = Integer.parseInt(dataset[1]);\n rectanglelist.add(main.new rectangle(W, H));\n input = br.readLine();\n }\n\n for(int i = 0;i < rectanglelist.size(); i++){\n for(int m = 1; m <= rectanglelist.get(i).height; m++){\n for(int n = 1; n <= rectanglelist.get(i).width; n++){\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 input = br.readLine();\n Main main = new Main();\n List<Main.rectangle> rectanglelist = new ArrayList<>();\n while(!input.equals(\"0 0\")){\n String[] dataset = input.split(\" \");\n int H = Integer.parseInt(dataset[0]);\n int W = Integer.parseInt(dataset[1]);\n rectanglelist.add(main.new rectangle(W, H));\n input = br.readLine();\n }\n\n for(int i = 0;i < rectanglelist.size(); i++){\n for(int m = 1; m <= rectanglelist.get(i).height; m++){\n for(int n = 1; n <= rectanglelist.get(i).width; n++){\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 input = br.readLine();\n Main main = new Main();\n List<Main.rectangle> rectanglelist = new ArrayList<>();\n while(!input.equals(\"0 0\")){\n String[] dataset = input.split(\" \");\n int H = Integer.parseInt(dataset[0]);\n int W = Integer.parseInt(dataset[1]);\n rectanglelist.add(main.new rectangle(W, H));\n input = br.readLine();\n }\n\n for(int i = 0;i < rectanglelist.size(); i++){\n for(int m = 1; m <= rectanglelist.get(i).height; m++){\n for(int n = 1; n <= rectanglelist.get(i).width; n++){\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 input = br.readLine();",
"input",
"br.readLine()",
"br.readLine",
"br",
"Main main = new Main();",
"main",
"new Main()",
"List<Main.rectangle> rectanglelist = new ArrayList<>();",
"rectanglelist",
"new ArrayList<>()",
"while(!input.equals(\"0 0\")){\n String[] dataset = input.split(\" \");\n int H = Integer.parseInt(dataset[0]);\n int W = Integer.parseInt(dataset[1]);\n rectanglelist.add(main.new rectangle(W, H));\n input = br.readLine();\n }",
"!input.equals(\"0 0\")",
"input.equals(\"0 0\")",
"input.equals",
"input",
"\"0 0\"",
"{\n String[] dataset = input.split(\" \");\n int H = Integer.parseInt(dataset[0]);\n int W = Integer.parseInt(dataset[1]);\n rectanglelist.add(main.new rectangle(W, H));\n input = br.readLine();\n }",
"String[] dataset = input.split(\" \");",
"dataset",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"int H = Integer.parseInt(dataset[0]);",
"H",
"Integer.parseInt(dataset[0])",
"Integer.parseInt",
"Integer",
"dataset[0]",
"dataset",
"0",
"int W = Integer.parseInt(dataset[1]);",
"W",
"Integer.parseInt(dataset[1])",
"Integer.parseInt",
"Integer",
"dataset[1]",
"dataset",
"1",
"rectanglelist.add(main.new rectangle(W, H))",
"rectanglelist.add",
"rectanglelist",
"main.new rectangle(W, H)",
"main",
"main",
"input = br.readLine()",
"input",
"br.readLine()",
"br.readLine",
"br",
"for(int i = 0;i < rectanglelist.size(); i++){\n for(int m = 1; m <= rectanglelist.get(i).height; m++){\n for(int n = 1; n <= rectanglelist.get(i).width; n++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < rectanglelist.size()",
"i",
"rectanglelist.size()",
"rectanglelist.size",
"rectanglelist",
"i++",
"i++",
"i",
"{\n for(int m = 1; m <= rectanglelist.get(i).height; m++){\n for(int n = 1; n <= rectanglelist.get(i).width; n++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }",
"{\n for(int m = 1; m <= rectanglelist.get(i).height; m++){\n for(int n = 1; n <= rectanglelist.get(i).width; n++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }",
"for(int m = 1; m <= rectanglelist.get(i).height; m++){\n for(int n = 1; n <= rectanglelist.get(i).width; n++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }",
"int m = 1;",
"int m = 1;",
"m",
"1",
"m <= rectanglelist.get(i).height",
"m",
"rectanglelist.get(i).height",
"rectanglelist.get(i)",
"rectanglelist.get",
"rectanglelist",
"i",
"rectanglelist.get(i).height",
"m++",
"m++",
"m",
"{\n for(int n = 1; n <= rectanglelist.get(i).width; n++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }",
"{\n for(int n = 1; n <= rectanglelist.get(i).width; n++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }",
"for(int n = 1; n <= rectanglelist.get(i).width; n++){\n System.out.print(\"#\");\n }",
"int n = 1;",
"int n = 1;",
"n",
"1",
"n <= rectanglelist.get(i).width",
"n",
"rectanglelist.get(i).width",
"rectanglelist.get(i)",
"rectanglelist.get",
"rectanglelist",
"i",
"rectanglelist.get(i).width",
"n++",
"n++",
"n",
"{\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 rectangle{\n public int width;\n public int height;\n public rectangle(){\n\n }\n\n public rectangle(int width, int height){\n this.width = width;\n this.height = height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public int getHeight() {\n return height;\n }\n }",
"rectangle",
"public int width;",
"width",
"public int height;",
"height",
"public rectangle(){\n\n }",
"rectangle",
"{\n\n }",
"public rectangle(int width, int height){\n this.width = width;\n this.height = height;\n }",
"rectangle",
"{\n this.width = width;\n this.height = height;\n }",
"this.width = width",
"this.width",
"this",
"this.width",
"width",
"this.height = height",
"this.height",
"this",
"this.height",
"height",
"int width",
"width",
"int height",
"height",
"public int getWidth() {\n return width;\n }",
"getWidth",
"{\n return width;\n }",
"return width;",
"width",
"public int getHeight() {\n return height;\n }",
"getHeight",
"{\n return height;\n }",
"return height;",
"height",
"public class Main {\n public class rectangle{\n public int width;\n public int height;\n public rectangle(){\n\n }\n\n public rectangle(int width, int height){\n this.width = width;\n this.height = height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public int getHeight() {\n return height;\n }\n }\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String input = br.readLine();\n Main main = new Main();\n List<Main.rectangle> rectanglelist = new ArrayList<>();\n while(!input.equals(\"0 0\")){\n String[] dataset = input.split(\" \");\n int H = Integer.parseInt(dataset[0]);\n int W = Integer.parseInt(dataset[1]);\n rectanglelist.add(main.new rectangle(W, H));\n input = br.readLine();\n }\n\n for(int i = 0;i < rectanglelist.size(); i++){\n for(int m = 1; m <= rectanglelist.get(i).height; m++){\n for(int n = 1; n <= rectanglelist.get(i).width; n++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n }\n}",
"public class Main {\n public class rectangle{\n public int width;\n public int height;\n public rectangle(){\n\n }\n\n public rectangle(int width, int height){\n this.width = width;\n this.height = height;\n }\n\n public int getWidth() {\n return width;\n }\n\n public int getHeight() {\n return height;\n }\n }\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String input = br.readLine();\n Main main = new Main();\n List<Main.rectangle> rectanglelist = new ArrayList<>();\n while(!input.equals(\"0 0\")){\n String[] dataset = input.split(\" \");\n int H = Integer.parseInt(dataset[0]);\n int W = Integer.parseInt(dataset[1]);\n rectanglelist.add(main.new rectangle(W, H));\n input = br.readLine();\n }\n\n for(int i = 0;i < rectanglelist.size(); i++){\n for(int m = 1; m <= rectanglelist.get(i).height; m++){\n for(int n = 1; n <= rectanglelist.get(i).width; n++){\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
public class Main {
public class rectangle{
public int width;
public int height;
public rectangle(){
}
public rectangle(int width, int height){
this.width = width;
this.height = height;
}
public int getWidth() {
return width;
}
public int getHeight() {
return height;
}
}
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String input = br.readLine();
Main main = new Main();
List<Main.rectangle> rectanglelist = new ArrayList<>();
while(!input.equals("0 0")){
String[] dataset = input.split(" ");
int H = Integer.parseInt(dataset[0]);
int W = Integer.parseInt(dataset[1]);
rectanglelist.add(main.new rectangle(W, H));
input = br.readLine();
}
for(int i = 0;i < rectanglelist.size(); i++){
for(int m = 1; m <= rectanglelist.get(i).height; m++){
for(int n = 1; n <= rectanglelist.get(i).width; n++){
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
} |
[
7,
15,
13,
17,
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,
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,
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
],
[
18,
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
],
[
38,
40
],
[
18,
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
],
[
18,
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
],
[
18,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
9,
81
],
[
81,
82
]
] | [
"import java.util.*;\nimport java.text.*;\n\nclass Main {\n public static void main(String[]args)throws Exception {\n Scanner sc = new Scanner(System.in);\n for(;;) {\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h == 0 && w == 0) break;\n String s = \"\";\n for(int i = 0; i < w; i++) {\n s += \"#\";\n }\n for(int i = 0; i < h; i++) {\n System.out.println(s);\n }\n System.out.println();\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.text.*;",
"text.*",
"java",
"class Main {\n public static void main(String[]args)throws Exception {\n Scanner sc = new Scanner(System.in);\n for(;;) {\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h == 0 && w == 0) break;\n String s = \"\";\n for(int i = 0; i < w; i++) {\n s += \"#\";\n }\n for(int i = 0; i < h; i++) {\n System.out.println(s);\n }\n System.out.println();\n }\n }\n}",
"Main",
"public static void main(String[]args)throws Exception {\n Scanner sc = new Scanner(System.in);\n for(;;) {\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h == 0 && w == 0) break;\n String s = \"\";\n for(int i = 0; i < w; i++) {\n s += \"#\";\n }\n for(int i = 0; i < h; i++) {\n System.out.println(s);\n }\n System.out.println();\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n for(;;) {\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h == 0 && w == 0) break;\n String s = \"\";\n for(int i = 0; i < w; i++) {\n s += \"#\";\n }\n for(int i = 0; i < h; i++) {\n System.out.println(s);\n }\n System.out.println();\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(;;) {\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h == 0 && w == 0) break;\n String s = \"\";\n for(int i = 0; i < w; i++) {\n s += \"#\";\n }\n for(int i = 0; i < h; i++) {\n System.out.println(s);\n }\n System.out.println();\n }",
";",
"{\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h == 0 && w == 0) break;\n String s = \"\";\n for(int i = 0; i < w; i++) {\n s += \"#\";\n }\n for(int i = 0; i < h; i++) {\n System.out.println(s);\n }\n System.out.println();\n }",
"{\n int h = sc.nextInt();\n int w = sc.nextInt();\n if(h == 0 && w == 0) break;\n String s = \"\";\n for(int i = 0; i < w; i++) {\n s += \"#\";\n }\n for(int i = 0; i < h; i++) {\n System.out.println(s);\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) break;",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"break;",
"String s = \"\";",
"s",
"\"\"",
"for(int i = 0; i < w; i++) {\n s += \"#\";\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < w",
"i",
"w",
"i++",
"i++",
"i",
"{\n s += \"#\";\n }",
"{\n s += \"#\";\n }",
"s += \"#\"",
"s",
"\"#\"",
"for(int i = 0; i < h; i++) {\n System.out.println(s);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n System.out.println(s);\n }",
"{\n System.out.println(s);\n }",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[]args",
"args"
] | import java.util.*;
import java.text.*;
class Main {
public static void main(String[]args)throws Exception {
Scanner sc = new Scanner(System.in);
for(;;) {
int h = sc.nextInt();
int w = sc.nextInt();
if(h == 0 && w == 0) break;
String s = "";
for(int i = 0; i < w; i++) {
s += "#";
}
for(int i = 0; i < h; i++) {
System.out.println(s);
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
17,
30,
0,
13,
4,
13,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
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,
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,
17,
4,
18,
18,
13,
13,
17,
4,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
30,
4,
18,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
145,
8
],
[
145,
9
],
[
9,
10
],
[
9,
11
],
[
145,
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
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
29,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
38,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
48,
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
],
[
57,
67
],
[
67,
68
],
[
68,
69
],
[
57,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
72,
83
],
[
83,
84
],
[
84,
85
],
[
72,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
88,
99
],
[
99,
100
],
[
100,
101
],
[
88,
102
],
[
103,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
87,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
71,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
14,
122
],
[
122,
123
],
[
12,
124
],
[
124,
125
],
[
145,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
145,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
136,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
0,
144
],
[
144,
145
],
[
144,
146
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tArrayList<Integer> hList = new ArrayList<Integer>();\n\t\tArrayList<Integer> wList = new ArrayList<Integer>();\n\t\tint H = 0;\n\t\tint W = 0;\n\n\t\twhile (true) {\n\n\t\t\tH = input();\n\t\t\tW = input();\n\n\t\t\tif (H == 0 && W == 0) {\n\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\thList.add(H);\n\t\t\t\twList.add(W);\n\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < hList.size(); i++) {\n\n\t\t\tfor (int j = 1; j <= hList.get(i); j++) {\n\n\t\t\t\tfor (int k = 1; k <=wList.get(i) ; k++) {\n\n\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tArrayList<Integer> hList = new ArrayList<Integer>();\n\t\tArrayList<Integer> wList = new ArrayList<Integer>();\n\t\tint H = 0;\n\t\tint W = 0;\n\n\t\twhile (true) {\n\n\t\t\tH = input();\n\t\t\tW = input();\n\n\t\t\tif (H == 0 && W == 0) {\n\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\thList.add(H);\n\t\t\t\twList.add(W);\n\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < hList.size(); i++) {\n\n\t\t\tfor (int j = 1; j <= hList.get(i); j++) {\n\n\t\t\t\tfor (int k = 1; k <=wList.get(i) ; k++) {\n\n\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"Main",
"public static Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\n\t\tArrayList<Integer> hList = new ArrayList<Integer>();\n\t\tArrayList<Integer> wList = new ArrayList<Integer>();\n\t\tint H = 0;\n\t\tint W = 0;\n\n\t\twhile (true) {\n\n\t\t\tH = input();\n\t\t\tW = input();\n\n\t\t\tif (H == 0 && W == 0) {\n\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\thList.add(H);\n\t\t\t\twList.add(W);\n\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < hList.size(); i++) {\n\n\t\t\tfor (int j = 1; j <= hList.get(i); j++) {\n\n\t\t\t\tfor (int k = 1; k <=wList.get(i) ; k++) {\n\n\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\n\t\tclose();\n\n\t}",
"main",
"{\n\n\t\tArrayList<Integer> hList = new ArrayList<Integer>();\n\t\tArrayList<Integer> wList = new ArrayList<Integer>();\n\t\tint H = 0;\n\t\tint W = 0;\n\n\t\twhile (true) {\n\n\t\t\tH = input();\n\t\t\tW = input();\n\n\t\t\tif (H == 0 && W == 0) {\n\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\thList.add(H);\n\t\t\t\twList.add(W);\n\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < hList.size(); i++) {\n\n\t\t\tfor (int j = 1; j <= hList.get(i); j++) {\n\n\t\t\t\tfor (int k = 1; k <=wList.get(i) ; k++) {\n\n\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\n\t\tclose();\n\n\t}",
"ArrayList<Integer> hList = new ArrayList<Integer>();",
"hList",
"new ArrayList<Integer>()",
"ArrayList<Integer> wList = new ArrayList<Integer>();",
"wList",
"new ArrayList<Integer>()",
"int H = 0;",
"H",
"0",
"int W = 0;",
"W",
"0",
"while (true) {\n\n\t\t\tH = input();\n\t\t\tW = input();\n\n\t\t\tif (H == 0 && W == 0) {\n\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\thList.add(H);\n\t\t\t\twList.add(W);\n\n\t\t\t}\n\t\t}",
"true",
"{\n\n\t\t\tH = input();\n\t\t\tW = input();\n\n\t\t\tif (H == 0 && W == 0) {\n\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\thList.add(H);\n\t\t\t\twList.add(W);\n\n\t\t\t}\n\t\t}",
"H = input()",
"H",
"input()",
"input",
"W = input()",
"W",
"input()",
"input",
"if (H == 0 && W == 0) {\n\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\thList.add(H);\n\t\t\t\twList.add(W);\n\n\t\t\t}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n\n\t\t\t\tbreak;\n\n\t\t\t}",
"break;",
"{\n\n\t\t\t\thList.add(H);\n\t\t\t\twList.add(W);\n\n\t\t\t}",
"hList.add(H)",
"hList.add",
"hList",
"H",
"wList.add(W)",
"wList.add",
"wList",
"W",
"for (int i = 0; i < hList.size(); i++) {\n\n\t\t\tfor (int j = 1; j <= hList.get(i); j++) {\n\n\t\t\t\tfor (int k = 1; k <=wList.get(i) ; k++) {\n\n\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(\"\");\n\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < hList.size()",
"i",
"hList.size()",
"hList.size",
"hList",
"i++",
"i++",
"i",
"{\n\n\t\t\tfor (int j = 1; j <= hList.get(i); j++) {\n\n\t\t\t\tfor (int k = 1; k <=wList.get(i) ; k++) {\n\n\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(\"\");\n\n\t\t}",
"{\n\n\t\t\tfor (int j = 1; j <= hList.get(i); j++) {\n\n\t\t\t\tfor (int k = 1; k <=wList.get(i) ; k++) {\n\n\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(\"\");\n\n\t\t}",
"for (int j = 1; j <= hList.get(i); j++) {\n\n\t\t\t\tfor (int k = 1; k <=wList.get(i) ; k++) {\n\n\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t}",
"int j = 1;",
"int j = 1;",
"j",
"1",
"j <= hList.get(i)",
"j",
"hList.get(i)",
"hList.get",
"hList",
"i",
"j++",
"j++",
"j",
"{\n\n\t\t\t\tfor (int k = 1; k <=wList.get(i) ; k++) {\n\n\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t}",
"{\n\n\t\t\t\tfor (int k = 1; k <=wList.get(i) ; k++) {\n\n\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t}",
"for (int k = 1; k <=wList.get(i) ; k++) {\n\n\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t}",
"int k = 1;",
"int k = 1;",
"k",
"1",
"k <=wList.get(i)",
"k",
"wList.get(i)",
"wList.get",
"wList",
"i",
"k++",
"k++",
"k",
"{\n\n\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t}",
"{\n\n\t\t\t\t\tSystem.out.print(\"#\");\n\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",
"\"\"",
"close()",
"close",
"String[] args",
"args",
"public static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}",
"input",
"{\n\n\t\treturn scanner.nextInt();\n\n\t}",
"return scanner.nextInt();",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"public static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}",
"close",
"{\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}",
"if (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}",
"scanner != null",
"scanner",
"null",
"{\n\n\t\t\tscanner.close();\n\n\t\t}",
"scanner.close()",
"scanner.close",
"scanner",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tArrayList<Integer> hList = new ArrayList<Integer>();\n\t\tArrayList<Integer> wList = new ArrayList<Integer>();\n\t\tint H = 0;\n\t\tint W = 0;\n\n\t\twhile (true) {\n\n\t\t\tH = input();\n\t\t\tW = input();\n\n\t\t\tif (H == 0 && W == 0) {\n\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\thList.add(H);\n\t\t\t\twList.add(W);\n\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < hList.size(); i++) {\n\n\t\t\tfor (int j = 1; j <= hList.get(i); j++) {\n\n\t\t\t\tfor (int k = 1; k <=wList.get(i) ; k++) {\n\n\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tArrayList<Integer> hList = new ArrayList<Integer>();\n\t\tArrayList<Integer> wList = new ArrayList<Integer>();\n\t\tint H = 0;\n\t\tint W = 0;\n\n\t\twhile (true) {\n\n\t\t\tH = input();\n\t\t\tW = input();\n\n\t\t\tif (H == 0 && W == 0) {\n\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\thList.add(H);\n\t\t\t\twList.add(W);\n\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < hList.size(); i++) {\n\n\t\t\tfor (int j = 1; j <= hList.get(i); j++) {\n\n\t\t\t\tfor (int k = 1; k <=wList.get(i) ; k++) {\n\n\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static Scanner scanner = new Scanner(System.in);
public static void main(String[] args) {
ArrayList<Integer> hList = new ArrayList<Integer>();
ArrayList<Integer> wList = new ArrayList<Integer>();
int H = 0;
int W = 0;
while (true) {
H = input();
W = input();
if (H == 0 && W == 0) {
break;
} else {
hList.add(H);
wList.add(W);
}
}
for (int i = 0; i < hList.size(); i++) {
for (int j = 1; j <= hList.get(i); j++) {
for (int k = 1; k <=wList.get(i) ; k++) {
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
close();
}
public static int input() {
return scanner.nextInt();
}
public static void close() {
if (scanner != null) {
scanner.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,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
107,
5
],
[
107,
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
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
61,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
61,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
47,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
81,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
81,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
8,
101
],
[
101,
102
],
[
102,
103
],
[
6,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\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}\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\tif(j == W -1){\n\t\t\t\t\t\tSystem.out.println('#');\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\tif(i == H -1){\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\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}\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\tif(j == W -1){\n\t\t\t\t\t\tSystem.out.println('#');\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\tif(i == H -1){\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\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}\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\tif(j == W -1){\n\t\t\t\t\t\tSystem.out.println('#');\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\tif(i == H -1){\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\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}\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\tif(j == W -1){\n\t\t\t\t\t\tSystem.out.println('#');\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\tif(i == H -1){\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\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){\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\tif(j == W -1){\n\t\t\t\t\t\tSystem.out.println('#');\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\tif(i == H -1){\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\"\");\n\t\t\t\t}\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}\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\tif(j == W -1){\n\t\t\t\t\t\tSystem.out.println('#');\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\tif(i == H -1){\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\"\");\n\t\t\t\t}\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}",
"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\tif(j == W -1){\n\t\t\t\t\t\tSystem.out.println('#');\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\tif(i == H -1){\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\"\");\n\t\t\t\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\tif(j == W -1){\n\t\t\t\t\t\tSystem.out.println('#');\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\tif(i == H -1){\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\"\");\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\tif(j == W -1){\n\t\t\t\t\t\tSystem.out.println('#');\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\tif(i == H -1){\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\"\");\n\t\t\t\t}\n\t\t\t}",
"for(int j = 0; j < W; j++){\n\t\t\t\t\tif(j == W -1){\n\t\t\t\t\t\tSystem.out.println('#');\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 j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tif(j == W -1){\n\t\t\t\t\t\tSystem.out.println('#');\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(j == W -1){\n\t\t\t\t\t\tSystem.out.println('#');\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(j == W -1){\n\t\t\t\t\t\tSystem.out.println('#');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}",
"j == W -1",
"j",
"W -1",
"W",
"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",
"'#'",
"{\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",
"'#'",
"if(i == H -1){\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\"\");\n\t\t\t\t}",
"i == H -1",
"i",
"H -1",
"H",
"1",
"{\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"{\n\t\t\t\t\tSystem.out.print(\"\");\n\t\t\t\t}",
"System.out.print(\"\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\"",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\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}\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\tif(j == W -1){\n\t\t\t\t\t\tSystem.out.println('#');\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\tif(i == H -1){\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\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}\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\tif(j == W -1){\n\t\t\t\t\t\tSystem.out.println('#');\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\tif(i == H -1){\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
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++){
if(j == W -1){
System.out.println('#');
}else{
System.out.print('#');
}
}
if(i == H -1){
System.out.println("");
}else{
System.out.print("");
}
}
}
sc.close();
}
} |
[
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,
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,
17,
4,
18,
18,
13,
13,
17,
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
],
[
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
],
[
31,
41
],
[
41,
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
],
[
20,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
8,
86
],
[
86,
87
],
[
87,
88
],
[
6,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// ?????????????????\\????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// ?????°?????????\n\t\tint cnt1 = 0;\n\t\tint cnt2 = 0;\n\n\t\twhile(true) {\n\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif(H == 0 && W == 0) {\n\n\t\t\t\t\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor(cnt1 = 0; cnt1 < H; cnt1++ ) {\n\n\t\t\t\t\tfor(cnt2 = 0; cnt2 < W ; cnt2++ ) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\n\t\tsc.close();\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// ?????????????????\\????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// ?????°?????????\n\t\tint cnt1 = 0;\n\t\tint cnt2 = 0;\n\n\t\twhile(true) {\n\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif(H == 0 && W == 0) {\n\n\t\t\t\t\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor(cnt1 = 0; cnt1 < H; cnt1++ ) {\n\n\t\t\t\t\tfor(cnt2 = 0; cnt2 < W ; cnt2++ ) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\n\t\tsc.close();\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\t// ?????????????????\\????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// ?????°?????????\n\t\tint cnt1 = 0;\n\t\tint cnt2 = 0;\n\n\t\twhile(true) {\n\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif(H == 0 && W == 0) {\n\n\t\t\t\t\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor(cnt1 = 0; cnt1 < H; cnt1++ ) {\n\n\t\t\t\t\tfor(cnt2 = 0; cnt2 < W ; cnt2++ ) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\n\t\tsc.close();\n\n\t}",
"main",
"{\n\n\t\t// ?????????????????\\????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// ?????°?????????\n\t\tint cnt1 = 0;\n\t\tint cnt2 = 0;\n\n\t\twhile(true) {\n\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif(H == 0 && W == 0) {\n\n\t\t\t\t\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor(cnt1 = 0; cnt1 < H; cnt1++ ) {\n\n\t\t\t\t\tfor(cnt2 = 0; cnt2 < W ; cnt2++ ) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\n\t\tsc.close();\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int cnt1 = 0;",
"cnt1",
"0",
"int cnt2 = 0;",
"cnt2",
"0",
"while(true) {\n\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif(H == 0 && W == 0) {\n\n\t\t\t\t\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor(cnt1 = 0; cnt1 < H; cnt1++ ) {\n\n\t\t\t\t\tfor(cnt2 = 0; cnt2 < W ; cnt2++ ) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"\");\n\n\t\t}",
"true",
"{\n\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif(H == 0 && W == 0) {\n\n\t\t\t\t\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor(cnt1 = 0; cnt1 < H; cnt1++ ) {\n\n\t\t\t\t\tfor(cnt2 = 0; cnt2 < W ; cnt2++ ) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"\");\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\n\t\t\t\t\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor(cnt1 = 0; cnt1 < H; cnt1++ ) {\n\n\t\t\t\t\tfor(cnt2 = 0; cnt2 < W ; cnt2++ ) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t\t}\n\t\t\t}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n\n\t\t\t\t\n\t\t\t\tbreak;\n\n\t\t\t}",
"break;",
"{\n\n\t\t\t\tfor(cnt1 = 0; cnt1 < H; cnt1++ ) {\n\n\t\t\t\t\tfor(cnt2 = 0; cnt2 < W ; cnt2++ ) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t\t}\n\t\t\t}",
"for(cnt1 = 0; cnt1 < H; cnt1++ ) {\n\n\t\t\t\t\tfor(cnt2 = 0; cnt2 < W ; cnt2++ ) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t\t}",
"cnt1 = 0;",
"cnt1 = 0",
"cnt1",
"0",
"cnt1 < H",
"cnt1",
"H",
"cnt1++",
"cnt1++",
"cnt1",
"{\n\n\t\t\t\t\tfor(cnt2 = 0; cnt2 < W ; cnt2++ ) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t\t}",
"{\n\n\t\t\t\t\tfor(cnt2 = 0; cnt2 < W ; cnt2++ ) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t\t}",
"for(cnt2 = 0; cnt2 < W ; cnt2++ ) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"cnt2 = 0;",
"cnt2 = 0",
"cnt2",
"0",
"cnt2 < W",
"cnt2",
"W",
"cnt2++",
"cnt2++",
"cnt2",
"{\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",
"\"\"",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// ?????????????????\\????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// ?????°?????????\n\t\tint cnt1 = 0;\n\t\tint cnt2 = 0;\n\n\t\twhile(true) {\n\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif(H == 0 && W == 0) {\n\n\t\t\t\t\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor(cnt1 = 0; cnt1 < H; cnt1++ ) {\n\n\t\t\t\t\tfor(cnt2 = 0; cnt2 < W ; cnt2++ ) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\n\t\tsc.close();\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// ?????????????????\\????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// ?????°?????????\n\t\tint cnt1 = 0;\n\t\tint cnt2 = 0;\n\n\t\twhile(true) {\n\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif(H == 0 && W == 0) {\n\n\t\t\t\t\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor(cnt1 = 0; cnt1 < H; cnt1++ ) {\n\n\t\t\t\t\tfor(cnt2 = 0; cnt2 < W ; cnt2++ ) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\n\t\tsc.close();\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 cnt1 = 0;
int cnt2 = 0;
while(true) {
int H = sc.nextInt();
int W = sc.nextInt();
if(H == 0 && W == 0) {
break;
} else {
for(cnt1 = 0; cnt1 < H; cnt1++ ) {
for(cnt2 = 0; cnt2 < W ; cnt2++ ) {
System.out.print("#");
}
System.out.println("");
}
}
System.out.println("");
}
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
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,
17,
30,
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,
0,
13,
4,
18,
13,
0,
18,
13,
17,
17,
0,
18,
13,
17,
17,
0,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
141,
11
],
[
141,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
14,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
14,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
48,
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
],
[
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
],
[
58,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
58,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
58,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
58,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
58,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
58,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
124,
127
],
[
127,
128
],
[
127,
129
],
[
58,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
132,
135
],
[
135,
136
],
[
135,
137
],
[
12,
138
],
[
138,
139
],
[
0,
140
],
[
140,
141
],
[
140,
142
]
] | [
"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\t// ???????????\\???\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tString str[] = input.split(\" \");\n\n\t\tint h = Integer.parseInt(str[0]); // ??????\n\t\tint w = Integer.parseInt(str[1]); // ??????\n\n\t\twhile (true) {\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t//??¨??????0\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\t//????????\\???\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\t// ??????(#?????????)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\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\t// ?¬??????\\??????????????????\n\t\t\t\tinput = br.readLine();\n\t\t\t\tstr[0] = null;\n\t\t\t\tstr[1] = null;\n\t\t\t\tstr = input.split(\" \");\n\t\t\t\th = Integer.parseInt(str[0]);\n\t\t\t\tw = Integer.parseInt(str[1]);\n\t\t\t}\n\t\t}\n\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\t// ???????????\\???\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tString str[] = input.split(\" \");\n\n\t\tint h = Integer.parseInt(str[0]); // ??????\n\t\tint w = Integer.parseInt(str[1]); // ??????\n\n\t\twhile (true) {\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t//??¨??????0\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\t//????????\\???\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\t// ??????(#?????????)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\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\t// ?¬??????\\??????????????????\n\t\t\t\tinput = br.readLine();\n\t\t\t\tstr[0] = null;\n\t\t\t\tstr[1] = null;\n\t\t\t\tstr = input.split(\" \");\n\t\t\t\th = Integer.parseInt(str[0]);\n\t\t\t\tw = Integer.parseInt(str[1]);\n\t\t\t}\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t// ???????????\\???\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tString str[] = input.split(\" \");\n\n\t\tint h = Integer.parseInt(str[0]); // ??????\n\t\tint w = Integer.parseInt(str[1]); // ??????\n\n\t\twhile (true) {\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t//??¨??????0\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\t//????????\\???\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\t// ??????(#?????????)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\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\t// ?¬??????\\??????????????????\n\t\t\t\tinput = br.readLine();\n\t\t\t\tstr[0] = null;\n\t\t\t\tstr[1] = null;\n\t\t\t\tstr = input.split(\" \");\n\t\t\t\th = Integer.parseInt(str[0]);\n\t\t\t\tw = Integer.parseInt(str[1]);\n\t\t\t}\n\t\t}\n\n\t}",
"main",
"{\n\t\t// ???????????\\???\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tString str[] = input.split(\" \");\n\n\t\tint h = Integer.parseInt(str[0]); // ??????\n\t\tint w = Integer.parseInt(str[1]); // ??????\n\n\t\twhile (true) {\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t//??¨??????0\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\t//????????\\???\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\t// ??????(#?????????)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\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\t// ?¬??????\\??????????????????\n\t\t\t\tinput = br.readLine();\n\t\t\t\tstr[0] = null;\n\t\t\t\tstr[1] = null;\n\t\t\t\tstr = input.split(\" \");\n\t\t\t\th = Integer.parseInt(str[0]);\n\t\t\t\tw = Integer.parseInt(str[1]);\n\t\t\t}\n\t\t}\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String input = br.readLine();",
"input",
"br.readLine()",
"br.readLine",
"br",
"String str[] = input.split(\" \");",
"str",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"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",
"while (true) {\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t//??¨??????0\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\t//????????\\???\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\t// ??????(#?????????)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\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\t// ?¬??????\\??????????????????\n\t\t\t\tinput = br.readLine();\n\t\t\t\tstr[0] = null;\n\t\t\t\tstr[1] = null;\n\t\t\t\tstr = input.split(\" \");\n\t\t\t\th = Integer.parseInt(str[0]);\n\t\t\t\tw = Integer.parseInt(str[1]);\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t//??¨??????0\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\t//????????\\???\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\t// ??????(#?????????)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\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\t// ?¬??????\\??????????????????\n\t\t\t\tinput = br.readLine();\n\t\t\t\tstr[0] = null;\n\t\t\t\tstr[1] = null;\n\t\t\t\tstr = input.split(\" \");\n\t\t\t\th = Integer.parseInt(str[0]);\n\t\t\t\tw = Integer.parseInt(str[1]);\n\t\t\t}\n\t\t}",
"if (h == 0 && w == 0) {\n\t\t\t\t//??¨??????0\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\t//????????\\???\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\t// ??????(#?????????)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\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\t// ?¬??????\\??????????????????\n\t\t\t\tinput = br.readLine();\n\t\t\t\tstr[0] = null;\n\t\t\t\tstr[1] = null;\n\t\t\t\tstr = input.split(\" \");\n\t\t\t\th = Integer.parseInt(str[0]);\n\t\t\t\tw = Integer.parseInt(str[1]);\n\t\t\t}",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"{\n\t\t\t\t//??¨??????0\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\t//????????\\???\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\t// ??????(#?????????)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\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\t// ?¬??????\\??????????????????\n\t\t\t\tinput = br.readLine();\n\t\t\t\tstr[0] = null;\n\t\t\t\tstr[1] = null;\n\t\t\t\tstr = input.split(\" \");\n\t\t\t\th = Integer.parseInt(str[0]);\n\t\t\t\tw = Integer.parseInt(str[1]);\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\t// ??????(#?????????)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\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\t// ??????(#?????????)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\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\t// ??????(#?????????)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\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\t// ??????(#?????????)\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\t// ??????(#?????????)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"{\n\t\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",
"input = br.readLine()",
"input",
"br.readLine()",
"br.readLine",
"br",
"str[0] = null",
"str[0]",
"str",
"0",
"null",
"str[1] = null",
"str[1]",
"str",
"1",
"null",
"str = input.split(\" \")",
"str",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"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",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t// ???????????\\???\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tString str[] = input.split(\" \");\n\n\t\tint h = Integer.parseInt(str[0]); // ??????\n\t\tint w = Integer.parseInt(str[1]); // ??????\n\n\t\twhile (true) {\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t//??¨??????0\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\t//????????\\???\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\t// ??????(#?????????)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\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\t// ?¬??????\\??????????????????\n\t\t\t\tinput = br.readLine();\n\t\t\t\tstr[0] = null;\n\t\t\t\tstr[1] = null;\n\t\t\t\tstr = input.split(\" \");\n\t\t\t\th = Integer.parseInt(str[0]);\n\t\t\t\tw = Integer.parseInt(str[1]);\n\t\t\t}\n\t\t}\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t// ???????????\\???\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tString str[] = input.split(\" \");\n\n\t\tint h = Integer.parseInt(str[0]); // ??????\n\t\tint w = Integer.parseInt(str[1]); // ??????\n\n\t\twhile (true) {\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t//??¨??????0\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\t//????????\\???\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\t// ??????(#?????????)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\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\t// ?¬??????\\??????????????????\n\t\t\t\tinput = br.readLine();\n\t\t\t\tstr[0] = null;\n\t\t\t\tstr[1] = null;\n\t\t\t\tstr = input.split(\" \");\n\t\t\t\th = Integer.parseInt(str[0]);\n\t\t\t\tw = Integer.parseInt(str[1]);\n\t\t\t}\n\t\t}\n\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));
String input = br.readLine();
String str[] = input.split(" ");
int h = Integer.parseInt(str[0]); // ??????
int w = Integer.parseInt(str[1]); // ??????
while (true) {
if (h == 0 && w == 0) {
//??¨??????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();
// ?¬??????\??????????????????
input = br.readLine();
str[0] = null;
str[1] = null;
str = input.split(" ");
h = Integer.parseInt(str[0]);
w = Integer.parseInt(str[1]);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
113,
8
],
[
113,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
12,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
26,
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
],
[
28,
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
],
[
28,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
9,
110
],
[
110,
111
],
[
0,
112
],
[
112,
113
],
[
112,
114
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\n\t\ttry{\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n String input = buf.readLine();\n\tString[] strAry = input.split(\" \");\n int H = Integer.parseInt(strAry[0]);\n int W = Integer.parseInt(strAry[1]);\n\t\n\tif(H == 0 && W == 0){\n\t\tbreak;\n\t}\n\t\n\tfor (int i = 0; i < H; i++) {\n\t\tfor(int j = 0; j < W; j++){\n\t\t\tSystem.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t}\n\tSystem.out.printf(\"\\n\");\n\t}\n\t\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}\n\t\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\n\t\ttry{\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n String input = buf.readLine();\n\tString[] strAry = input.split(\" \");\n int H = Integer.parseInt(strAry[0]);\n int W = Integer.parseInt(strAry[1]);\n\t\n\tif(H == 0 && W == 0){\n\t\tbreak;\n\t}\n\t\n\tfor (int i = 0; i < H; i++) {\n\t\tfor(int j = 0; j < W; j++){\n\t\t\tSystem.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t}\n\tSystem.out.printf(\"\\n\");\n\t}\n\t\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}\n\t\t }\n }",
"Main",
"public static void main(String[] args) throws Exception {\n\t\n\t\ttry{\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n String input = buf.readLine();\n\tString[] strAry = input.split(\" \");\n int H = Integer.parseInt(strAry[0]);\n int W = Integer.parseInt(strAry[1]);\n\t\n\tif(H == 0 && W == 0){\n\t\tbreak;\n\t}\n\t\n\tfor (int i = 0; i < H; i++) {\n\t\tfor(int j = 0; j < W; j++){\n\t\t\tSystem.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t}\n\tSystem.out.printf(\"\\n\");\n\t}\n\t\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}\n\t\t }",
"main",
"{\n\t\n\t\ttry{\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n String input = buf.readLine();\n\tString[] strAry = input.split(\" \");\n int H = Integer.parseInt(strAry[0]);\n int W = Integer.parseInt(strAry[1]);\n\t\n\tif(H == 0 && W == 0){\n\t\tbreak;\n\t}\n\t\n\tfor (int i = 0; i < H; i++) {\n\t\tfor(int j = 0; j < W; j++){\n\t\t\tSystem.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t}\n\tSystem.out.printf(\"\\n\");\n\t}\n\t\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}\n\t\t }",
"try{\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n String input = buf.readLine();\n\tString[] strAry = input.split(\" \");\n int H = Integer.parseInt(strAry[0]);\n int W = Integer.parseInt(strAry[1]);\n\t\n\tif(H == 0 && W == 0){\n\t\tbreak;\n\t}\n\t\n\tfor (int i = 0; i < H; i++) {\n\t\tfor(int j = 0; j < W; j++){\n\t\t\tSystem.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t}\n\tSystem.out.printf(\"\\n\");\n\t}\n\t\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}",
"catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}",
"Exception e",
"{\n\n\tSystem.out.println(\"????????????\");\n\t\n}",
"System.out.println(\"????????????\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"????????????\"",
"{\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n String input = buf.readLine();\n\tString[] strAry = input.split(\" \");\n int H = Integer.parseInt(strAry[0]);\n int W = Integer.parseInt(strAry[1]);\n\t\n\tif(H == 0 && W == 0){\n\t\tbreak;\n\t}\n\t\n\tfor (int i = 0; i < H; i++) {\n\t\tfor(int j = 0; j < W; j++){\n\t\t\tSystem.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t}\n\tSystem.out.printf(\"\\n\");\n\t}\n\t\n}",
"BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));",
"buf",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n String input = buf.readLine();\n\tString[] strAry = input.split(\" \");\n int H = Integer.parseInt(strAry[0]);\n int W = Integer.parseInt(strAry[1]);\n\t\n\tif(H == 0 && W == 0){\n\t\tbreak;\n\t}\n\t\n\tfor (int i = 0; i < H; i++) {\n\t\tfor(int j = 0; j < W; j++){\n\t\t\tSystem.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t}\n\tSystem.out.printf(\"\\n\");\n\t}",
"true",
"{\n String input = buf.readLine();\n\tString[] strAry = input.split(\" \");\n int H = Integer.parseInt(strAry[0]);\n int W = Integer.parseInt(strAry[1]);\n\t\n\tif(H == 0 && W == 0){\n\t\tbreak;\n\t}\n\t\n\tfor (int i = 0; i < H; i++) {\n\t\tfor(int j = 0; j < W; j++){\n\t\t\tSystem.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t}\n\tSystem.out.printf(\"\\n\");\n\t}",
"String input = buf.readLine();",
"input",
"buf.readLine()",
"buf.readLine",
"buf",
"String[] strAry = input.split(\" \");",
"strAry",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"int H = Integer.parseInt(strAry[0]);",
"H",
"Integer.parseInt(strAry[0])",
"Integer.parseInt",
"Integer",
"strAry[0]",
"strAry",
"0",
"int W = Integer.parseInt(strAry[1]);",
"W",
"Integer.parseInt(strAry[1])",
"Integer.parseInt",
"Integer",
"strAry[1]",
"strAry",
"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 i = 0; i < H; i++) {\n\t\tfor(int j = 0; j < W; j++){\n\t\t\tSystem.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\tfor(int j = 0; j < W; j++){\n\t\t\tSystem.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t}",
"{\n\t\tfor(int j = 0; j < W; j++){\n\t\t\tSystem.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t}",
"for(int j = 0; j < W; j++){\n\t\t\tSystem.out.printf(\"#\");\n\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\tSystem.out.printf(\"#\");\n\t\t}",
"{\n\t\t\tSystem.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",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\n\t\ttry{\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n String input = buf.readLine();\n\tString[] strAry = input.split(\" \");\n int H = Integer.parseInt(strAry[0]);\n int W = Integer.parseInt(strAry[1]);\n\t\n\tif(H == 0 && W == 0){\n\t\tbreak;\n\t}\n\t\n\tfor (int i = 0; i < H; i++) {\n\t\tfor(int j = 0; j < W; j++){\n\t\t\tSystem.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t}\n\tSystem.out.printf(\"\\n\");\n\t}\n\t\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}\n\t\t }\n }",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\n\t\ttry{\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n String input = buf.readLine();\n\tString[] strAry = input.split(\" \");\n int H = Integer.parseInt(strAry[0]);\n int W = Integer.parseInt(strAry[1]);\n\t\n\tif(H == 0 && W == 0){\n\t\tbreak;\n\t}\n\t\n\tfor (int i = 0; i < H; i++) {\n\t\tfor(int j = 0; j < W; j++){\n\t\t\tSystem.out.printf(\"#\");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t}\n\tSystem.out.printf(\"\\n\");\n\t}\n\t\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}\n\t\t }\n }",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
try{
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
while(true){
String input = buf.readLine();
String[] strAry = input.split(" ");
int H = Integer.parseInt(strAry[0]);
int W = Integer.parseInt(strAry[1]);
if(H == 0 && W == 0){
break;
}
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");
}
} catch (Exception e) {
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,
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
],
[
85,
5
],
[
85,
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
],
[
67,
72
],
[
14,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
8,
79
],
[
79,
80
],
[
80,
81
],
[
6,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] | [
"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(true) {\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\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.printf(\"#\");\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\tscan.close();\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(true) {\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\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.printf(\"#\");\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\tscan.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\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\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.printf(\"#\");\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\tscan.close();\n\t}",
"main",
"{\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\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.printf(\"#\");\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\tscan.close();\n\t}",
"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\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.printf(\"#\");\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 = 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\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.printf(\"#\");\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 = 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\tfor(int j = 0; j < w; j++) {\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 < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j = 0; j < w; j++) {\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 j = 0; j < w; j++) {\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 j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.printf(\"#\");\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.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",
"\"\"",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\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\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.printf(\"#\");\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\tscan.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\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\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.printf(\"#\");\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\tscan.close();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
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++) {
System.out.printf("#");
}
System.out.println("");
}
System.out.println("");
}
scan.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
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,
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
],
[
87,
5
],
[
87,
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
],
[
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
],
[
22,
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
],
[
22,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
6,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n long a,b,i,j;\n\t\twhile(true){\n a = sc.nextInt();\n b = sc.nextInt();\n if(a==0&&b==0)break;\n \n\t\tfor(i=0;i<a;i++){\n for(j=0;j<b;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\tpublic static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n long a,b,i,j;\n\t\twhile(true){\n a = sc.nextInt();\n b = sc.nextInt();\n if(a==0&&b==0)break;\n \n\t\tfor(i=0;i<a;i++){\n for(j=0;j<b;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 long a,b,i,j;\n\t\twhile(true){\n a = sc.nextInt();\n b = sc.nextInt();\n if(a==0&&b==0)break;\n \n\t\tfor(i=0;i<a;i++){\n for(j=0;j<b;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 long a,b,i,j;\n\t\twhile(true){\n a = sc.nextInt();\n b = sc.nextInt();\n if(a==0&&b==0)break;\n \n\t\tfor(i=0;i<a;i++){\n for(j=0;j<b;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)",
"long a",
"a",
"b",
"b",
"i",
"i",
"j;",
"j",
"while(true){\n a = sc.nextInt();\n b = sc.nextInt();\n if(a==0&&b==0)break;\n \n\t\tfor(i=0;i<a;i++){\n for(j=0;j<b;j++){\n System.out.print(\"#\");\n } \n System.out.println();\n }\n System.out.println();\n }",
"true",
"{\n a = sc.nextInt();\n b = sc.nextInt();\n if(a==0&&b==0)break;\n \n\t\tfor(i=0;i<a;i++){\n for(j=0;j<b;j++){\n System.out.print(\"#\");\n } \n System.out.println();\n }\n System.out.println();\n }",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"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(i=0;i<a;i++){\n for(j=0;j<b;j++){\n System.out.print(\"#\");\n } \n System.out.println();\n }",
"i=0;",
"i=0",
"i",
"0",
"i<a",
"i",
"a",
"i++",
"i++",
"i",
"{\n for(j=0;j<b;j++){\n System.out.print(\"#\");\n } \n System.out.println();\n }",
"{\n for(j=0;j<b;j++){\n System.out.print(\"#\");\n } \n System.out.println();\n }",
"for(j=0;j<b;j++){\n System.out.print(\"#\");\n }",
"j=0;",
"j=0",
"j",
"0",
"j<b",
"j",
"b",
"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\tpublic static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n long a,b,i,j;\n\t\twhile(true){\n a = sc.nextInt();\n b = sc.nextInt();\n if(a==0&&b==0)break;\n \n\t\tfor(i=0;i<a;i++){\n for(j=0;j<b;j++){\n System.out.print(\"#\");\n } \n System.out.println();\n }\n System.out.println();\n }\n }\n}",
"public class Main{\n\tpublic static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n long a,b,i,j;\n\t\twhile(true){\n a = sc.nextInt();\n b = sc.nextInt();\n if(a==0&&b==0)break;\n \n\t\tfor(i=0;i<a;i++){\n for(j=0;j<b;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);
long a,b,i,j;
while(true){
a = sc.nextInt();
b = sc.nextInt();
if(a==0&&b==0)break;
for(i=0;i<a;i++){
for(j=0;j<b;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,
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
],
[
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
],
[
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
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
46,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
14,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"\nimport java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner cin=new Scanner(System.in);\n\t\t\n\t\twhile(true) {\n\t\t\tint H=cin.nextInt(),W=cin.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++)System.out.print('#');\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\n\t}\n\n}\n",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner cin=new Scanner(System.in);\n\t\t\n\t\twhile(true) {\n\t\t\tint H=cin.nextInt(),W=cin.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++)System.out.print('#');\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner cin=new Scanner(System.in);\n\t\t\n\t\twhile(true) {\n\t\t\tint H=cin.nextInt(),W=cin.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++)System.out.print('#');\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner cin=new Scanner(System.in);\n\t\t\n\t\twhile(true) {\n\t\t\tint H=cin.nextInt(),W=cin.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++)System.out.print('#');\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\n\t}",
"Scanner cin=new Scanner(System.in);",
"cin",
"new Scanner(System.in)",
"while(true) {\n\t\t\tint H=cin.nextInt(),W=cin.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++)System.out.print('#');\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\tint H=cin.nextInt(),W=cin.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++)System.out.print('#');\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}",
"int H=cin.nextInt()",
"H",
"cin.nextInt()",
"cin.nextInt",
"cin",
"W=cin.nextInt();",
"W",
"cin.nextInt()",
"cin.nextInt",
"cin",
"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++)System.out.print('#');\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++)System.out.print('#');\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}",
"{\n\t\t\t\tfor(int j=0;j<W;j++)System.out.print('#');\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}",
"for(int j=0;j<W;j++)System.out.print('#');",
"int j=0;",
"int j=0;",
"j",
"0",
"j<W",
"j",
"W",
"j++",
"j++",
"j",
"System.out.print('#');",
"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\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner cin=new Scanner(System.in);\n\t\t\n\t\twhile(true) {\n\t\t\tint H=cin.nextInt(),W=cin.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++)System.out.print('#');\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner cin=new Scanner(System.in);\n\t\t\n\t\twhile(true) {\n\t\t\tint H=cin.nextInt(),W=cin.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++)System.out.print('#');\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\n\t}\n\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner cin=new Scanner(System.in);
while(true) {
int H=cin.nextInt(),W=cin.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,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
11,
1,
30,
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,
17,
4,
18,
18,
13,
13,
17,
12,
13,
30,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
4,
8
],
[
8,
9
],
[
4,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
16,
18
],
[
19,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
19,
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
],
[
19,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
4,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
83,
87
],
[
87,
88
]
] | [
"import java.util.*;\n\nclass Main{\n\tint a;\n\tint b;\n\tpublic Main(){\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor(;;){\n\t\t\ta=scan.nextInt();\n\t\t\tb=scan.nextInt();\n\t\t\tif(a==0 || b==0)break;\n\t\t\tfor(int j=0; j<a; j++){\n\t\t\t\tfor(int i=0; i<b; 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\tpublic static void main(String[]args){\n\t\tnew Main();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tint a;\n\tint b;\n\tpublic Main(){\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor(;;){\n\t\t\ta=scan.nextInt();\n\t\t\tb=scan.nextInt();\n\t\t\tif(a==0 || b==0)break;\n\t\t\tfor(int j=0; j<a; j++){\n\t\t\t\tfor(int i=0; i<b; 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\tpublic static void main(String[]args){\n\t\tnew Main();\n\t}\n}",
"Main",
"int a;",
"a",
"int b;",
"b",
"public Main(){\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor(;;){\n\t\t\ta=scan.nextInt();\n\t\t\tb=scan.nextInt();\n\t\t\tif(a==0 || b==0)break;\n\t\t\tfor(int j=0; j<a; j++){\n\t\t\t\tfor(int i=0; i<b; 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\t\tScanner scan = new Scanner(System.in);\n\t\tfor(;;){\n\t\t\ta=scan.nextInt();\n\t\t\tb=scan.nextInt();\n\t\t\tif(a==0 || b==0)break;\n\t\t\tfor(int j=0; j<a; j++){\n\t\t\t\tfor(int i=0; i<b; 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}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(;;){\n\t\t\ta=scan.nextInt();\n\t\t\tb=scan.nextInt();\n\t\t\tif(a==0 || b==0)break;\n\t\t\tfor(int j=0; j<a; j++){\n\t\t\t\tfor(int i=0; i<b; 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\t\ta=scan.nextInt();\n\t\t\tb=scan.nextInt();\n\t\t\tif(a==0 || b==0)break;\n\t\t\tfor(int j=0; j<a; j++){\n\t\t\t\tfor(int i=0; i<b; 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\t\ta=scan.nextInt();\n\t\t\tb=scan.nextInt();\n\t\t\tif(a==0 || b==0)break;\n\t\t\tfor(int j=0; j<a; j++){\n\t\t\t\tfor(int i=0; i<b; 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}",
"a=scan.nextInt()",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"b=scan.nextInt()",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(a==0 || b==0)break;",
"a==0 || b==0",
"a==0",
"a",
"0",
"b==0",
"b",
"0",
"break;",
"for(int j=0; j<a; j++){\n\t\t\t\tfor(int i=0; i<b; 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<a",
"j",
"a",
"j++",
"j++",
"j",
"{\n\t\t\t\tfor(int i=0; i<b; 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<b; 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<b; i++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<b",
"i",
"b",
"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",
"\"\"",
"public static void main(String[]args){\n\t\tnew Main();\n\t}",
"main",
"{\n\t\tnew Main();\n\t}",
"new Main()",
"String[]args",
"args"
] | import java.util.*;
class Main{
int a;
int b;
public Main(){
Scanner scan = new Scanner(System.in);
for(;;){
a=scan.nextInt();
b=scan.nextInt();
if(a==0 || b==0)break;
for(int j=0; j<a; j++){
for(int i=0; i<b; i++){
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
public static void main(String[]args){
new Main();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
41,
13,
20,
42,
13,
30,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
3,
4,
18,
13,
4,
18,
13,
13,
4,
18,
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,
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
],
[
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
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
26,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
26,
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
],
[
26,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
26,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
11,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
67,
77
],
[
77,
78
],
[
78,
79
],
[
67,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
82,
93
],
[
93,
94
],
[
94,
95
],
[
82,
96
],
[
97,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
98,
109
],
[
109,
110
],
[
110,
111
],
[
98,
112
],
[
113,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
97,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
81,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
9,
130
],
[
130,
131
],
[
0,
132
],
[
132,
133
],
[
132,
134
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tboolean flg = true;\n\n\t\tArrayList<Integer> weightList = new ArrayList<Integer>();\n\t\tArrayList<Integer> heightList = new ArrayList<Integer>();\n\n\t\twhile (flg) {\n\t\t\tscanner.hasNext();\n\t\t\tint h = scanner.nextInt();\n\t\t\tint w = scanner.nextInt();\n\n\t\t\tif ((h == 0) && (w == 0)) {\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t// Integer????????°??????????????????\n\t\t\tweightList.add(Integer.valueOf(w));\n\t\t\theightList.add(Integer.valueOf(h));\n\t\t}\n\n\t\tfor(int i=0; i<weightList.size(); i++){\n\n\t\t\tfor(int k = 0; k<heightList.get(i); k++){\n\t\t\t\tfor(int j=0; j<weightList.get(i); 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}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tboolean flg = true;\n\n\t\tArrayList<Integer> weightList = new ArrayList<Integer>();\n\t\tArrayList<Integer> heightList = new ArrayList<Integer>();\n\n\t\twhile (flg) {\n\t\t\tscanner.hasNext();\n\t\t\tint h = scanner.nextInt();\n\t\t\tint w = scanner.nextInt();\n\n\t\t\tif ((h == 0) && (w == 0)) {\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t// Integer????????°??????????????????\n\t\t\tweightList.add(Integer.valueOf(w));\n\t\t\theightList.add(Integer.valueOf(h));\n\t\t}\n\n\t\tfor(int i=0; i<weightList.size(); i++){\n\n\t\t\tfor(int k = 0; k<heightList.get(i); k++){\n\t\t\t\tfor(int j=0; j<weightList.get(i); 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}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tboolean flg = true;\n\n\t\tArrayList<Integer> weightList = new ArrayList<Integer>();\n\t\tArrayList<Integer> heightList = new ArrayList<Integer>();\n\n\t\twhile (flg) {\n\t\t\tscanner.hasNext();\n\t\t\tint h = scanner.nextInt();\n\t\t\tint w = scanner.nextInt();\n\n\t\t\tif ((h == 0) && (w == 0)) {\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t// Integer????????°??????????????????\n\t\t\tweightList.add(Integer.valueOf(w));\n\t\t\theightList.add(Integer.valueOf(h));\n\t\t}\n\n\t\tfor(int i=0; i<weightList.size(); i++){\n\n\t\t\tfor(int k = 0; k<heightList.get(i); k++){\n\t\t\t\tfor(int j=0; j<weightList.get(i); 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}",
"main",
"{\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tboolean flg = true;\n\n\t\tArrayList<Integer> weightList = new ArrayList<Integer>();\n\t\tArrayList<Integer> heightList = new ArrayList<Integer>();\n\n\t\twhile (flg) {\n\t\t\tscanner.hasNext();\n\t\t\tint h = scanner.nextInt();\n\t\t\tint w = scanner.nextInt();\n\n\t\t\tif ((h == 0) && (w == 0)) {\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t// Integer????????°??????????????????\n\t\t\tweightList.add(Integer.valueOf(w));\n\t\t\theightList.add(Integer.valueOf(h));\n\t\t}\n\n\t\tfor(int i=0; i<weightList.size(); i++){\n\n\t\t\tfor(int k = 0; k<heightList.get(i); k++){\n\t\t\t\tfor(int j=0; j<weightList.get(i); 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}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"boolean flg = true;",
"flg",
"true",
"ArrayList<Integer> weightList = new ArrayList<Integer>();",
"weightList",
"new ArrayList<Integer>()",
"ArrayList<Integer> heightList = new ArrayList<Integer>();",
"heightList",
"new ArrayList<Integer>()",
"while (flg) {\n\t\t\tscanner.hasNext();\n\t\t\tint h = scanner.nextInt();\n\t\t\tint w = scanner.nextInt();\n\n\t\t\tif ((h == 0) && (w == 0)) {\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t// Integer????????°??????????????????\n\t\t\tweightList.add(Integer.valueOf(w));\n\t\t\theightList.add(Integer.valueOf(h));\n\t\t}",
"flg",
"{\n\t\t\tscanner.hasNext();\n\t\t\tint h = scanner.nextInt();\n\t\t\tint w = scanner.nextInt();\n\n\t\t\tif ((h == 0) && (w == 0)) {\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t// Integer????????°??????????????????\n\t\t\tweightList.add(Integer.valueOf(w));\n\t\t\theightList.add(Integer.valueOf(h));\n\t\t}",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"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\tflg = false;\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\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}",
"flg = false",
"flg",
"false",
"break;",
"weightList.add(Integer.valueOf(w))",
"weightList.add",
"weightList",
"Integer.valueOf(w)",
"Integer.valueOf",
"Integer",
"w",
"heightList.add(Integer.valueOf(h))",
"heightList.add",
"heightList",
"Integer.valueOf(h)",
"Integer.valueOf",
"Integer",
"h",
"for(int i=0; i<weightList.size(); i++){\n\n\t\t\tfor(int k = 0; k<heightList.get(i); k++){\n\t\t\t\tfor(int j=0; j<weightList.get(i); 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 i=0;",
"int i=0;",
"i",
"0",
"i<weightList.size()",
"i",
"weightList.size()",
"weightList.size",
"weightList",
"i++",
"i++",
"i",
"{\n\n\t\t\tfor(int k = 0; k<heightList.get(i); k++){\n\t\t\t\tfor(int j=0; j<weightList.get(i); 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\t\tfor(int k = 0; k<heightList.get(i); k++){\n\t\t\t\tfor(int j=0; j<weightList.get(i); 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 k = 0; k<heightList.get(i); k++){\n\t\t\t\tfor(int j=0; j<weightList.get(i); 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 k = 0;",
"int k = 0;",
"k",
"0",
"k<heightList.get(i)",
"k",
"heightList.get(i)",
"heightList.get",
"heightList",
"i",
"k++",
"k++",
"k",
"{\n\t\t\t\tfor(int j=0; j<weightList.get(i); 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<weightList.get(i); 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<weightList.get(i); j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<weightList.get(i)",
"j",
"weightList.get(i)",
"weightList.get",
"weightList",
"i",
"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\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tboolean flg = true;\n\n\t\tArrayList<Integer> weightList = new ArrayList<Integer>();\n\t\tArrayList<Integer> heightList = new ArrayList<Integer>();\n\n\t\twhile (flg) {\n\t\t\tscanner.hasNext();\n\t\t\tint h = scanner.nextInt();\n\t\t\tint w = scanner.nextInt();\n\n\t\t\tif ((h == 0) && (w == 0)) {\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t// Integer????????°??????????????????\n\t\t\tweightList.add(Integer.valueOf(w));\n\t\t\theightList.add(Integer.valueOf(h));\n\t\t}\n\n\t\tfor(int i=0; i<weightList.size(); i++){\n\n\t\t\tfor(int k = 0; k<heightList.get(i); k++){\n\t\t\t\tfor(int j=0; j<weightList.get(i); 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}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tboolean flg = true;\n\n\t\tArrayList<Integer> weightList = new ArrayList<Integer>();\n\t\tArrayList<Integer> heightList = new ArrayList<Integer>();\n\n\t\twhile (flg) {\n\t\t\tscanner.hasNext();\n\t\t\tint h = scanner.nextInt();\n\t\t\tint w = scanner.nextInt();\n\n\t\t\tif ((h == 0) && (w == 0)) {\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t// Integer????????°??????????????????\n\t\t\tweightList.add(Integer.valueOf(w));\n\t\t\theightList.add(Integer.valueOf(h));\n\t\t}\n\n\t\tfor(int i=0; i<weightList.size(); i++){\n\n\t\t\tfor(int k = 0; k<heightList.get(i); k++){\n\t\t\t\tfor(int j=0; j<weightList.get(i); 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}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
boolean flg = true;
ArrayList<Integer> weightList = new ArrayList<Integer>();
ArrayList<Integer> heightList = new ArrayList<Integer>();
while (flg) {
scanner.hasNext();
int h = scanner.nextInt();
int w = scanner.nextInt();
if ((h == 0) && (w == 0)) {
flg = false;
break;
}
// Integer????????°??????????????????
weightList.add(Integer.valueOf(w));
heightList.add(Integer.valueOf(h));
}
for(int i=0; i<weightList.size(); i++){
for(int k = 0; k<heightList.get(i); k++){
for(int j=0; j<weightList.get(i); 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,
4,
18,
18,
13,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
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
],
[
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
],
[
34,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
34,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
34,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
6,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint H,W;\n\t\t\n\t\tH = in.nextInt();\n\t\tW = in.nextInt();\n\t\t\n\t\twhile(H!=0 || W!=0){\n\t\t\t/*\n\t\t\tchar[][] sharps = new char[H][W];\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\tsharps[i][j] = '#';\n\t\t\t\t}\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\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 = in.nextInt();\n\t\t\tW = in.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 in = new Scanner(System.in);\n\t\tint H,W;\n\t\t\n\t\tH = in.nextInt();\n\t\tW = in.nextInt();\n\t\t\n\t\twhile(H!=0 || W!=0){\n\t\t\t/*\n\t\t\tchar[][] sharps = new char[H][W];\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\tsharps[i][j] = '#';\n\t\t\t\t}\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\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 = in.nextInt();\n\t\t\tW = in.nextInt();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint H,W;\n\t\t\n\t\tH = in.nextInt();\n\t\tW = in.nextInt();\n\t\t\n\t\twhile(H!=0 || W!=0){\n\t\t\t/*\n\t\t\tchar[][] sharps = new char[H][W];\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\tsharps[i][j] = '#';\n\t\t\t\t}\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\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 = in.nextInt();\n\t\t\tW = in.nextInt();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tint H,W;\n\t\t\n\t\tH = in.nextInt();\n\t\tW = in.nextInt();\n\t\t\n\t\twhile(H!=0 || W!=0){\n\t\t\t/*\n\t\t\tchar[][] sharps = new char[H][W];\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\tsharps[i][j] = '#';\n\t\t\t\t}\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\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 = in.nextInt();\n\t\t\tW = in.nextInt();\n\t\t}\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int H",
"H",
"W;",
"W",
"H = in.nextInt()",
"H",
"in.nextInt()",
"in.nextInt",
"in",
"W = in.nextInt()",
"W",
"in.nextInt()",
"in.nextInt",
"in",
"while(H!=0 || W!=0){\n\t\t\t/*\n\t\t\tchar[][] sharps = new char[H][W];\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\tsharps[i][j] = '#';\n\t\t\t\t}\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\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 = in.nextInt();\n\t\t\tW = in.nextInt();\n\t\t}",
"H!=0 || W!=0",
"H!=0",
"H",
"0",
"W!=0",
"W",
"0",
"{\n\t\t\t/*\n\t\t\tchar[][] sharps = new char[H][W];\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\tsharps[i][j] = '#';\n\t\t\t\t}\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\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 = in.nextInt();\n\t\t\tW = in.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 = in.nextInt()",
"H",
"in.nextInt()",
"in.nextInt",
"in",
"W = in.nextInt()",
"W",
"in.nextInt()",
"in.nextInt",
"in",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint H,W;\n\t\t\n\t\tH = in.nextInt();\n\t\tW = in.nextInt();\n\t\t\n\t\twhile(H!=0 || W!=0){\n\t\t\t/*\n\t\t\tchar[][] sharps = new char[H][W];\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\tsharps[i][j] = '#';\n\t\t\t\t}\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\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 = in.nextInt();\n\t\t\tW = in.nextInt();\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint H,W;\n\t\t\n\t\tH = in.nextInt();\n\t\tW = in.nextInt();\n\t\t\n\t\twhile(H!=0 || W!=0){\n\t\t\t/*\n\t\t\tchar[][] sharps = new char[H][W];\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\tsharps[i][j] = '#';\n\t\t\t\t}\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\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 = in.nextInt();\n\t\t\tW = in.nextInt();\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner in = new Scanner(System.in);
int H,W;
H = in.nextInt();
W = in.nextInt();
while(H!=0 || W!=0){
/*
char[][] sharps = new char[H][W];
for(int i=0; i<H; i++){
for(int j=0; j<W; j++){
sharps[i][j] = '#';
}
}
*/
for(int i=0; i<H; i++){
for(int j=0; j<W; j++){
System.out.print('#');
}
System.out.println();
}
System.out.println();
H = in.nextInt();
W = in.nextInt();
}
}
} |
[
7,
15,
13,
17,
6,
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,
17,
4,
18,
18,
13,
13,
17,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
13,
13,
13,
40,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
9,
14
],
[
14,
15
],
[
14,
16
],
[
9,
17
],
[
17,
18
],
[
18,
19
],
[
9,
20
],
[
21,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
21,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
6,
53
],
[
53,
54
],
[
6,
55
],
[
55,
56
],
[
4,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
67,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
67,
78
],
[
78,
79
],
[
78,
80
],
[
67,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
86,
88
],
[
81,
89
],
[
89,
90
],
[
81,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
91,
103
],
[
103,
104
],
[
103,
105
],
[
103,
106
],
[
91,
107
],
[
107,
108
],
[
59,
109
],
[
109,
110
],
[
110,
111
],
[
57,
112
],
[
112,
113
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tstatic void drawBox(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\tSystem.out.print(\"\\n\");\n\t\t}\n\t\tSystem.out.print(\"\\n\");\n\t}\n\t\n public static void main(String[] args){\n \tScanner in = new Scanner(System.in);\n \t\n \twhile(in.hasNextLine()){\n \t\tint h = in.nextInt(), w = in.nextInt();\n \t\tint i = 0;\n \t\t\n \t\tif(w == 0 && h == 0){\n \t\t\tbreak;\n \t\t}else{\n \t\t\tif(i != 0){\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}\n \t\t\tdrawBox(w, h);\n \t\t\ti ++;\n \t\t}\n \t}\n \t\n \tin.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tstatic void drawBox(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\tSystem.out.print(\"\\n\");\n\t\t}\n\t\tSystem.out.print(\"\\n\");\n\t}\n\t\n public static void main(String[] args){\n \tScanner in = new Scanner(System.in);\n \t\n \twhile(in.hasNextLine()){\n \t\tint h = in.nextInt(), w = in.nextInt();\n \t\tint i = 0;\n \t\t\n \t\tif(w == 0 && h == 0){\n \t\t\tbreak;\n \t\t}else{\n \t\t\tif(i != 0){\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}\n \t\t\tdrawBox(w, h);\n \t\t\ti ++;\n \t\t}\n \t}\n \t\n \tin.close();\n\t}\n}",
"Main",
"static void drawBox(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\tSystem.out.print(\"\\n\");\n\t\t}\n\t\tSystem.out.print(\"\\n\");\n\t}",
"drawBox",
"{\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\tSystem.out.print(\"\\n\");\n\t\t}\n\t\tSystem.out.print(\"\\n\");\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\tSystem.out.print(\"\\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\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\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\tSystem.out.print(\"\\n\");\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.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"int w",
"w",
"int h",
"h",
"public static void main(String[] args){\n \tScanner in = new Scanner(System.in);\n \t\n \twhile(in.hasNextLine()){\n \t\tint h = in.nextInt(), w = in.nextInt();\n \t\tint i = 0;\n \t\t\n \t\tif(w == 0 && h == 0){\n \t\t\tbreak;\n \t\t}else{\n \t\t\tif(i != 0){\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}\n \t\t\tdrawBox(w, h);\n \t\t\ti ++;\n \t\t}\n \t}\n \t\n \tin.close();\n\t}",
"main",
"{\n \tScanner in = new Scanner(System.in);\n \t\n \twhile(in.hasNextLine()){\n \t\tint h = in.nextInt(), w = in.nextInt();\n \t\tint i = 0;\n \t\t\n \t\tif(w == 0 && h == 0){\n \t\t\tbreak;\n \t\t}else{\n \t\t\tif(i != 0){\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}\n \t\t\tdrawBox(w, h);\n \t\t\ti ++;\n \t\t}\n \t}\n \t\n \tin.close();\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while(in.hasNextLine()){\n \t\tint h = in.nextInt(), w = in.nextInt();\n \t\tint i = 0;\n \t\t\n \t\tif(w == 0 && h == 0){\n \t\t\tbreak;\n \t\t}else{\n \t\t\tif(i != 0){\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}\n \t\t\tdrawBox(w, h);\n \t\t\ti ++;\n \t\t}\n \t}",
"in.hasNextLine()",
"in.hasNextLine",
"in",
"{\n \t\tint h = in.nextInt(), w = in.nextInt();\n \t\tint i = 0;\n \t\t\n \t\tif(w == 0 && h == 0){\n \t\t\tbreak;\n \t\t}else{\n \t\t\tif(i != 0){\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}\n \t\t\tdrawBox(w, h);\n \t\t\ti ++;\n \t\t}\n \t}",
"int h = in.nextInt()",
"h",
"in.nextInt()",
"in.nextInt",
"in",
"w = in.nextInt();",
"w",
"in.nextInt()",
"in.nextInt",
"in",
"int i = 0;",
"i",
"0",
"if(w == 0 && h == 0){\n \t\t\tbreak;\n \t\t}else{\n \t\t\tif(i != 0){\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}\n \t\t\tdrawBox(w, h);\n \t\t\ti ++;\n \t\t}",
"w == 0 && h == 0",
"w == 0",
"w",
"0",
"h == 0",
"h",
"0",
"{\n \t\t\tbreak;\n \t\t}",
"break;",
"{\n \t\t\tif(i != 0){\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}\n \t\t\tdrawBox(w, h);\n \t\t\ti ++;\n \t\t}",
"if(i != 0){\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}",
"i != 0",
"i",
"0",
"{\n \t\t\t\tSystem.out.print(\"\\n\");\n \t\t\t}",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"drawBox(w, h)",
"drawBox",
"w",
"h",
"i ++",
"i",
"in.close()",
"in.close",
"in",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
static void drawBox(int w, int h){
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");
}
public static void main(String[] args){
Scanner in = new Scanner(System.in);
while(in.hasNextLine()){
int h = in.nextInt(), w = in.nextInt();
int i = 0;
if(w == 0 && h == 0){
break;
}else{
if(i != 0){
System.out.print("\n");
}
drawBox(w, h);
i ++;
}
}
in.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
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,
4,
18,
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
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
18,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
30,
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
],
[
82,
87
],
[
30,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
11,
94
],
[
94,
95
],
[
95,
96
],
[
9,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
] | [
"import java.util.InputMismatchException;\nimport java.util.Scanner;\n\npublic class Main{\n\n\n\tpublic static void main(String[] args){\n\n \tScanner scan = new Scanner(System.in);\n\n\t\t\twhile(true){\n\t\t\t\ttry{\n int H=scan.nextInt();\n\t\t\tint W=scan.nextInt();\n\t\t\tif(H==0&&W==0)break;\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}System.out.print('\\n');\n\t\t\t }System.out.print('\\n');\n\n\t\t\t\t}catch(InputMismatchException e){\n\t\t\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t\t\t}\n\n\t\t\t}\n \tscan.close();\n\n\n\t}\n\n}",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\n\tpublic static void main(String[] args){\n\n \tScanner scan = new Scanner(System.in);\n\n\t\t\twhile(true){\n\t\t\t\ttry{\n int H=scan.nextInt();\n\t\t\tint W=scan.nextInt();\n\t\t\tif(H==0&&W==0)break;\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}System.out.print('\\n');\n\t\t\t }System.out.print('\\n');\n\n\t\t\t\t}catch(InputMismatchException e){\n\t\t\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t\t\t}\n\n\t\t\t}\n \tscan.close();\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\n \tScanner scan = new Scanner(System.in);\n\n\t\t\twhile(true){\n\t\t\t\ttry{\n int H=scan.nextInt();\n\t\t\tint W=scan.nextInt();\n\t\t\tif(H==0&&W==0)break;\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}System.out.print('\\n');\n\t\t\t }System.out.print('\\n');\n\n\t\t\t\t}catch(InputMismatchException e){\n\t\t\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t\t\t}\n\n\t\t\t}\n \tscan.close();\n\n\n\t}",
"main",
"{\n\n \tScanner scan = new Scanner(System.in);\n\n\t\t\twhile(true){\n\t\t\t\ttry{\n int H=scan.nextInt();\n\t\t\tint W=scan.nextInt();\n\t\t\tif(H==0&&W==0)break;\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}System.out.print('\\n');\n\t\t\t }System.out.print('\\n');\n\n\t\t\t\t}catch(InputMismatchException e){\n\t\t\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t\t\t}\n\n\t\t\t}\n \tscan.close();\n\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true){\n\t\t\t\ttry{\n int H=scan.nextInt();\n\t\t\tint W=scan.nextInt();\n\t\t\tif(H==0&&W==0)break;\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}System.out.print('\\n');\n\t\t\t }System.out.print('\\n');\n\n\t\t\t\t}catch(InputMismatchException e){\n\t\t\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t\t\t}\n\n\t\t\t}",
"true",
"{\n\t\t\t\ttry{\n int H=scan.nextInt();\n\t\t\tint W=scan.nextInt();\n\t\t\tif(H==0&&W==0)break;\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}System.out.print('\\n');\n\t\t\t }System.out.print('\\n');\n\n\t\t\t\t}catch(InputMismatchException e){\n\t\t\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t\t\t}\n\n\t\t\t}",
"try{\n int H=scan.nextInt();\n\t\t\tint W=scan.nextInt();\n\t\t\tif(H==0&&W==0)break;\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}System.out.print('\\n');\n\t\t\t }System.out.print('\\n');\n\n\t\t\t\t}catch(InputMismatchException e){\n\t\t\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t\t\t}",
"catch(InputMismatchException e){\n\t\t\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t\t\t}",
"InputMismatchException e",
"{\n\t\t\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t\t\t}",
"System.out.println(\"??¨??????:\"+e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"??¨??????:\"+e",
"\"??¨??????:\"",
"e",
"{\n int H=scan.nextInt();\n\t\t\tint W=scan.nextInt();\n\t\t\tif(H==0&&W==0)break;\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}System.out.print('\\n');\n\t\t\t }System.out.print('\\n');\n\n\t\t\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)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}System.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}System.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}System.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'",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main{\n\n\n\tpublic static void main(String[] args){\n\n \tScanner scan = new Scanner(System.in);\n\n\t\t\twhile(true){\n\t\t\t\ttry{\n int H=scan.nextInt();\n\t\t\tint W=scan.nextInt();\n\t\t\tif(H==0&&W==0)break;\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}System.out.print('\\n');\n\t\t\t }System.out.print('\\n');\n\n\t\t\t\t}catch(InputMismatchException e){\n\t\t\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t\t\t}\n\n\t\t\t}\n \tscan.close();\n\n\n\t}\n\n}",
"public class Main{\n\n\n\tpublic static void main(String[] args){\n\n \tScanner scan = new Scanner(System.in);\n\n\t\t\twhile(true){\n\t\t\t\ttry{\n int H=scan.nextInt();\n\t\t\tint W=scan.nextInt();\n\t\t\tif(H==0&&W==0)break;\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}System.out.print('\\n');\n\t\t\t }System.out.print('\\n');\n\n\t\t\t\t}catch(InputMismatchException e){\n\t\t\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t\t\t}\n\n\t\t\t}\n \tscan.close();\n\n\n\t}\n\n}",
"Main"
] | import java.util.InputMismatchException;
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
while(true){
try{
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++){
System.out.print('#');
}System.out.print('\n');
}System.out.print('\n');
}catch(InputMismatchException e){
System.out.println("??¨??????:"+e);
}
}
scan.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
18,
13,
13,
17,
4,
18,
13,
0,
18,
18,
13,
13,
17,
4,
18,
13,
14,
2,
2,
18,
18,
13,
13,
17,
17,
2,
18,
18,
13,
13,
17,
17,
30,
0,
13,
13,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
18,
18,
13,
13,
17,
41,
13,
18,
18,
13,
13,
17,
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
],
[
150,
5
],
[
150,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
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
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
38,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
48,
54
],
[
54,
55
],
[
55,
56
],
[
38,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
59,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
66,
72
],
[
57,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
83,
85
],
[
78,
86
],
[
86,
87
],
[
87,
88
],
[
78,
89
],
[
90,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
90,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
90,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
110,
111
],
[
110,
112
],
[
105,
113
],
[
113,
114
],
[
114,
115
],
[
105,
116
],
[
117,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
118,
123
],
[
123,
124
],
[
123,
125
],
[
118,
126
],
[
126,
127
],
[
127,
128
],
[
118,
129
],
[
130,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
131,
136
],
[
117,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
90,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
6,
147
],
[
147,
148
],
[
0,
149
],
[
149,
150
],
[
149,
151
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdin = new Scanner(System.in);\n\t\tint arr[][] = new int[300][2];\n\t\tint i = 0, j = 0, count = 0;\n\t\tfor (i = 0; i < 300; i++) {\n\t\t\tarr[i][0] = stdin.nextInt();\n\t\t\tarr[i][1] = stdin.nextInt();\n\t\t\tif (arr[i][0] == 0 && arr[i][1] == 0) {\n\t\t\t\tcount = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int k = 0; k < count; k++) {\n\t\t\tint row = arr[k][0];\n\t\t\tint col = arr[k][1];\n\t\t\tfor (i = 0; i < row; i++) {\n\t\t\t\tfor (j = 0; j < col; 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}\n}",
"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\tint arr[][] = new int[300][2];\n\t\tint i = 0, j = 0, count = 0;\n\t\tfor (i = 0; i < 300; i++) {\n\t\t\tarr[i][0] = stdin.nextInt();\n\t\t\tarr[i][1] = stdin.nextInt();\n\t\t\tif (arr[i][0] == 0 && arr[i][1] == 0) {\n\t\t\t\tcount = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int k = 0; k < count; k++) {\n\t\t\tint row = arr[k][0];\n\t\t\tint col = arr[k][1];\n\t\t\tfor (i = 0; i < row; i++) {\n\t\t\t\tfor (j = 0; j < col; 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}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner stdin = new Scanner(System.in);\n\t\tint arr[][] = new int[300][2];\n\t\tint i = 0, j = 0, count = 0;\n\t\tfor (i = 0; i < 300; i++) {\n\t\t\tarr[i][0] = stdin.nextInt();\n\t\t\tarr[i][1] = stdin.nextInt();\n\t\t\tif (arr[i][0] == 0 && arr[i][1] == 0) {\n\t\t\t\tcount = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int k = 0; k < count; k++) {\n\t\t\tint row = arr[k][0];\n\t\t\tint col = arr[k][1];\n\t\t\tfor (i = 0; i < row; i++) {\n\t\t\t\tfor (j = 0; j < col; 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}",
"main",
"{\n\t\tScanner stdin = new Scanner(System.in);\n\t\tint arr[][] = new int[300][2];\n\t\tint i = 0, j = 0, count = 0;\n\t\tfor (i = 0; i < 300; i++) {\n\t\t\tarr[i][0] = stdin.nextInt();\n\t\t\tarr[i][1] = stdin.nextInt();\n\t\t\tif (arr[i][0] == 0 && arr[i][1] == 0) {\n\t\t\t\tcount = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int k = 0; k < count; k++) {\n\t\t\tint row = arr[k][0];\n\t\t\tint col = arr[k][1];\n\t\t\tfor (i = 0; i < row; i++) {\n\t\t\t\tfor (j = 0; j < col; 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}",
"Scanner stdin = new Scanner(System.in);",
"stdin",
"new Scanner(System.in)",
"int arr[][] = new int[300][2];",
"arr",
"new int[300][2]",
"300",
"2",
"int i = 0",
"i",
"0",
"j = 0",
"j",
"0",
"count = 0;",
"count",
"0",
"for (i = 0; i < 300; i++) {\n\t\t\tarr[i][0] = stdin.nextInt();\n\t\t\tarr[i][1] = stdin.nextInt();\n\t\t\tif (arr[i][0] == 0 && arr[i][1] == 0) {\n\t\t\t\tcount = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < 300",
"i",
"300",
"i++",
"i++",
"i",
"{\n\t\t\tarr[i][0] = stdin.nextInt();\n\t\t\tarr[i][1] = stdin.nextInt();\n\t\t\tif (arr[i][0] == 0 && arr[i][1] == 0) {\n\t\t\t\tcount = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tarr[i][0] = stdin.nextInt();\n\t\t\tarr[i][1] = stdin.nextInt();\n\t\t\tif (arr[i][0] == 0 && arr[i][1] == 0) {\n\t\t\t\tcount = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"arr[i][0] = stdin.nextInt()",
"arr[i][0]",
"arr[i]",
"arr",
"i",
"0",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"arr[i][1] = stdin.nextInt()",
"arr[i][1]",
"arr[i]",
"arr",
"i",
"1",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"if (arr[i][0] == 0 && arr[i][1] == 0) {\n\t\t\t\tcount = i;\n\t\t\t\tbreak;\n\t\t\t}",
"arr[i][0] == 0 && arr[i][1] == 0",
"arr[i][0] == 0",
"arr[i][0]",
"arr[i]",
"arr",
"i",
"0",
"0",
"arr[i][1] == 0",
"arr[i][1]",
"arr[i]",
"arr",
"i",
"1",
"0",
"{\n\t\t\t\tcount = i;\n\t\t\t\tbreak;\n\t\t\t}",
"count = i",
"count",
"i",
"break;",
"for (int k = 0; k < count; k++) {\n\t\t\tint row = arr[k][0];\n\t\t\tint col = arr[k][1];\n\t\t\tfor (i = 0; i < row; i++) {\n\t\t\t\tfor (j = 0; j < col; 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 k = 0;",
"int k = 0;",
"k",
"0",
"k < count",
"k",
"count",
"k++",
"k++",
"k",
"{\n\t\t\tint row = arr[k][0];\n\t\t\tint col = arr[k][1];\n\t\t\tfor (i = 0; i < row; i++) {\n\t\t\t\tfor (j = 0; j < col; 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\tint row = arr[k][0];\n\t\t\tint col = arr[k][1];\n\t\t\tfor (i = 0; i < row; i++) {\n\t\t\t\tfor (j = 0; j < col; 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 row = arr[k][0];",
"row",
"arr[k][0]",
"arr[k]",
"arr",
"k",
"0",
"int col = arr[k][1];",
"col",
"arr[k][1]",
"arr[k]",
"arr",
"k",
"1",
"for (i = 0; i < row; i++) {\n\t\t\t\tfor (j = 0; j < col; 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 < row",
"i",
"row",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor (j = 0; j < col; 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 < col; 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 < col; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"j = 0;",
"j = 0",
"j",
"0",
"j < col",
"j",
"col",
"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) {\n\t\tScanner stdin = new Scanner(System.in);\n\t\tint arr[][] = new int[300][2];\n\t\tint i = 0, j = 0, count = 0;\n\t\tfor (i = 0; i < 300; i++) {\n\t\t\tarr[i][0] = stdin.nextInt();\n\t\t\tarr[i][1] = stdin.nextInt();\n\t\t\tif (arr[i][0] == 0 && arr[i][1] == 0) {\n\t\t\t\tcount = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int k = 0; k < count; k++) {\n\t\t\tint row = arr[k][0];\n\t\t\tint col = arr[k][1];\n\t\t\tfor (i = 0; i < row; i++) {\n\t\t\t\tfor (j = 0; j < col; 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}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdin = new Scanner(System.in);\n\t\tint arr[][] = new int[300][2];\n\t\tint i = 0, j = 0, count = 0;\n\t\tfor (i = 0; i < 300; i++) {\n\t\t\tarr[i][0] = stdin.nextInt();\n\t\t\tarr[i][1] = stdin.nextInt();\n\t\t\tif (arr[i][0] == 0 && arr[i][1] == 0) {\n\t\t\t\tcount = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int k = 0; k < count; k++) {\n\t\t\tint row = arr[k][0];\n\t\t\tint col = arr[k][1];\n\t\t\tfor (i = 0; i < row; i++) {\n\t\t\t\tfor (j = 0; j < col; 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}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdin = new Scanner(System.in);
int arr[][] = new int[300][2];
int i = 0, j = 0, count = 0;
for (i = 0; i < 300; i++) {
arr[i][0] = stdin.nextInt();
arr[i][1] = stdin.nextInt();
if (arr[i][0] == 0 && arr[i][1] == 0) {
count = i;
break;
}
}
for (int k = 0; k < count; k++) {
int row = arr[k][0];
int col = arr[k][1];
for (i = 0; i < row; i++) {
for (j = 0; j < col; j++) {
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,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
103,
14
],
[
103,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
26,
31
],
[
23,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
23,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
23,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
23,
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
],
[
23,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
15,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\n\npublic class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\tint n = Integer.parseInt(br.readLine());\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\tint[] input = new int[n];\n//\t\tlong sum = 0;\n//\t\tfor(int i = 0; i < n; i++){\n//\t\t\tinput[i] = Integer.parseInt(tmpArray[i]);\n//\t\t\tsum += input[i];\n//\t\t}\n//\t\t\n//\t\tArrays.sort(input);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", input[0], input[input.length - 1], sum);\n//\t\t\n\t\twhile(true){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(tmpArray[0]);\n\t\t\tint b = Integer.parseInt(tmpArray[1]);\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i = 0; i < a; i++){\n\t\t\t\tfor(int j = 0; j < b; 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\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\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.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\tint n = Integer.parseInt(br.readLine());\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\tint[] input = new int[n];\n//\t\tlong sum = 0;\n//\t\tfor(int i = 0; i < n; i++){\n//\t\t\tinput[i] = Integer.parseInt(tmpArray[i]);\n//\t\t\tsum += input[i];\n//\t\t}\n//\t\t\n//\t\tArrays.sort(input);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", input[0], input[input.length - 1], sum);\n//\t\t\n\t\twhile(true){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(tmpArray[0]);\n\t\t\tint b = Integer.parseInt(tmpArray[1]);\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i = 0; i < a; i++){\n\t\t\t\tfor(int j = 0; j < b; 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\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\n\t}\n\n}",
"Main",
"/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\tint n = Integer.parseInt(br.readLine());\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\tint[] input = new int[n];\n//\t\tlong sum = 0;\n//\t\tfor(int i = 0; i < n; i++){\n//\t\t\tinput[i] = Integer.parseInt(tmpArray[i]);\n//\t\t\tsum += input[i];\n//\t\t}\n//\t\t\n//\t\tArrays.sort(input);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", input[0], input[input.length - 1], sum);\n//\t\t\n\t\twhile(true){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(tmpArray[0]);\n\t\t\tint b = Integer.parseInt(tmpArray[1]);\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i = 0; i < a; i++){\n\t\t\t\tfor(int j = 0; j < b; 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\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\tint n = Integer.parseInt(br.readLine());\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\tint[] input = new int[n];\n//\t\tlong sum = 0;\n//\t\tfor(int i = 0; i < n; i++){\n//\t\t\tinput[i] = Integer.parseInt(tmpArray[i]);\n//\t\t\tsum += input[i];\n//\t\t}\n//\t\t\n//\t\tArrays.sort(input);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", input[0], input[input.length - 1], sum);\n//\t\t\n\t\twhile(true){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(tmpArray[0]);\n\t\t\tint b = Integer.parseInt(tmpArray[1]);\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i = 0; i < a; i++){\n\t\t\t\tfor(int j = 0; j < b; 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\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\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[] tmpArray = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(tmpArray[0]);\n\t\t\tint b = Integer.parseInt(tmpArray[1]);\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i = 0; i < a; i++){\n\t\t\t\tfor(int j = 0; j < b; 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[] tmpArray = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(tmpArray[0]);\n\t\t\tint b = Integer.parseInt(tmpArray[1]);\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i = 0; i < a; i++){\n\t\t\t\tfor(int j = 0; j < b; 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[] tmpArray = br.readLine().split(\" \");",
"tmpArray",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int a = Integer.parseInt(tmpArray[0]);",
"a",
"Integer.parseInt(tmpArray[0])",
"Integer.parseInt",
"Integer",
"tmpArray[0]",
"tmpArray",
"0",
"int b = Integer.parseInt(tmpArray[1]);",
"b",
"Integer.parseInt(tmpArray[1])",
"Integer.parseInt",
"Integer",
"tmpArray[1]",
"tmpArray",
"1",
"if(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for(int i = 0; i < a; i++){\n\t\t\t\tfor(int j = 0; j < b; 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 < a",
"i",
"a",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j = 0; j < b; 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 < b; 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 < b; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < b",
"j",
"b",
"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\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\tint n = Integer.parseInt(br.readLine());\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\tint[] input = new int[n];\n//\t\tlong sum = 0;\n//\t\tfor(int i = 0; i < n; i++){\n//\t\t\tinput[i] = Integer.parseInt(tmpArray[i]);\n//\t\t\tsum += input[i];\n//\t\t}\n//\t\t\n//\t\tArrays.sort(input);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", input[0], input[input.length - 1], sum);\n//\t\t\n\t\twhile(true){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(tmpArray[0]);\n\t\t\tint b = Integer.parseInt(tmpArray[1]);\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i = 0; i < a; i++){\n\t\t\t\tfor(int j = 0; j < b; 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\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\n\t}\n\n}",
"public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\tint n = Integer.parseInt(br.readLine());\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\tint[] input = new int[n];\n//\t\tlong sum = 0;\n//\t\tfor(int i = 0; i < n; i++){\n//\t\t\tinput[i] = Integer.parseInt(tmpArray[i]);\n//\t\t\tsum += input[i];\n//\t\t}\n//\t\t\n//\t\tArrays.sort(input);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", input[0], input[input.length - 1], sum);\n//\t\t\n\t\twhile(true){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(tmpArray[0]);\n\t\t\tint b = Integer.parseInt(tmpArray[1]);\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i = 0; i < a; i++){\n\t\t\t\tfor(int j = 0; j < b; 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\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
/**
* @param args
* @throws IOException
* @throws NumberFormatException
*/
public static void main(String[] args) throws NumberFormatException, IOException {
// TODO Auto-generated method stub
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
// String[] tmpArray = br.readLine().split(" ");
// int n = Integer.parseInt(br.readLine());
// int b = Integer.parseInt(tmpArray[1]);
// int c = Integer.parseInt(tmpArray[2]);
// int y = Integer.parseInt(tmpArray[3]);
// int r = Integer.parseInt(tmpArray[4]);
// String[] tmpArray = br.readLine().split(" ");
// int[] input = new int[n];
// long sum = 0;
// for(int i = 0; i < n; i++){
// input[i] = Integer.parseInt(tmpArray[i]);
// sum += input[i];
// }
//
// Arrays.sort(input);
// System.out.printf("%d %d %d\n", input[0], input[input.length - 1], sum);
//
while(true){
String[] tmpArray = br.readLine().split(" ");
int a = Integer.parseInt(tmpArray[0]);
int b = Integer.parseInt(tmpArray[1]);
if(a == 0 && b == 0){
break;
}
for(int i = 0; i < a; i++){
for(int j = 0; j < b; j++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
// int[] array = new int[3];
// array[0] = a; array[1] = b; array[2] = c;
//
// Arrays.sort(array);
// System.out.printf("%d %d %d\n", array[0], array[1], array[2]);
/*
if(a < b && b < c){
System.out.println("Yes");
}
else{
System.out.println("No");
}*/
}
} |
[
7,
15,
13,
17,
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,
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
],
[
102,
8
],
[
102,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
17,
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
],
[
19,
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
],
[
19,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
9,
99
],
[
99,
100
],
[
0,
101
],
[
101,
102
],
[
101,
103
]
] | [
"import java.util.Scanner;\nimport java.lang.Math;\npublic class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile (scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int height = Integer.parseInt(inputs[0]);\n\t int width = Integer.parseInt(inputs[1]);\n\t if (height == 0 && width == 0) {\n\t\tbreak;\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.print(\"#\");\n\t\t}\n\t\tSystem.out.println();\n\t }\n\t System.out.println();\n\t}\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile (scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int height = Integer.parseInt(inputs[0]);\n\t int width = Integer.parseInt(inputs[1]);\n\t if (height == 0 && width == 0) {\n\t\tbreak;\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.print(\"#\");\n\t\t}\n\t\tSystem.out.println();\n\t }\n\t System.out.println();\n\t}\n }\n}",
"Main",
"public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile (scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int height = Integer.parseInt(inputs[0]);\n\t int width = Integer.parseInt(inputs[1]);\n\t if (height == 0 && width == 0) {\n\t\tbreak;\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.print(\"#\");\n\t\t}\n\t\tSystem.out.println();\n\t }\n\t System.out.println();\n\t}\n }",
"main",
"{\n\tScanner scan = new Scanner(System.in);\n\twhile (scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int height = Integer.parseInt(inputs[0]);\n\t int width = Integer.parseInt(inputs[1]);\n\t if (height == 0 && width == 0) {\n\t\tbreak;\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.print(\"#\");\n\t\t}\n\t\tSystem.out.println();\n\t }\n\t System.out.println();\n\t}\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while (scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int height = Integer.parseInt(inputs[0]);\n\t int width = Integer.parseInt(inputs[1]);\n\t if (height == 0 && width == 0) {\n\t\tbreak;\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.print(\"#\");\n\t\t}\n\t\tSystem.out.println();\n\t }\n\t System.out.println();\n\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int height = Integer.parseInt(inputs[0]);\n\t int width = Integer.parseInt(inputs[1]);\n\t if (height == 0 && width == 0) {\n\t\tbreak;\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.print(\"#\");\n\t\t}\n\t\tSystem.out.println();\n\t }\n\t System.out.println();\n\t}",
"String input = scan.nextLine();",
"input",
"scan.nextLine()",
"scan.nextLine",
"scan",
"String[] inputs = input.split(\" \");",
"inputs",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"int height = Integer.parseInt(inputs[0]);",
"height",
"Integer.parseInt(inputs[0])",
"Integer.parseInt",
"Integer",
"inputs[0]",
"inputs",
"0",
"int width = Integer.parseInt(inputs[1]);",
"width",
"Integer.parseInt(inputs[1])",
"Integer.parseInt",
"Integer",
"inputs[1]",
"inputs",
"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.print(\"#\");\n\t\t}\n\t\tSystem.out.println();\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.print(\"#\");\n\t\t}\n\t\tSystem.out.println();\n\t }",
"{\n\t\tfor (int j = 0; j < width; j++) {\n\t\t System.out.print(\"#\");\n\t\t}\n\t\tSystem.out.println();\n\t }",
"for (int j = 0; j < width; j++) {\n\t\t System.out.print(\"#\");\n\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < width",
"j",
"width",
"j++",
"j++",
"j",
"{\n\t\t System.out.print(\"#\");\n\t\t}",
"{\n\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",
"public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile (scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int height = Integer.parseInt(inputs[0]);\n\t int width = Integer.parseInt(inputs[1]);\n\t if (height == 0 && width == 0) {\n\t\tbreak;\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.print(\"#\");\n\t\t}\n\t\tSystem.out.println();\n\t }\n\t System.out.println();\n\t}\n }\n}",
"public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile (scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int height = Integer.parseInt(inputs[0]);\n\t int width = Integer.parseInt(inputs[1]);\n\t if (height == 0 && width == 0) {\n\t\tbreak;\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.print(\"#\");\n\t\t}\n\t\tSystem.out.println();\n\t }\n\t System.out.println();\n\t}\n }\n}",
"Main"
] | import java.util.Scanner;
import java.lang.Math;
public class Main{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
while (scan.hasNext()) {
String input = scan.nextLine();
String[] inputs = input.split(" ");
int height = Integer.parseInt(inputs[0]);
int width = Integer.parseInt(inputs[1]);
if (height == 0 && width == 0) {
break;
}
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,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
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,
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,
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
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
18,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
30,
35
],
[
35,
36
],
[
30,
37
],
[
37,
38
],
[
30,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
41,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
41,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
66,
68
],
[
41,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
41,
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
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
99,
101
],
[
92,
102
],
[
102,
103
],
[
103,
104
],
[
92,
105
],
[
106,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
91,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
41,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
12,
125
],
[
125,
126
],
[
0,
127
],
[
127,
128
],
[
127,
129
]
] | [
"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 input = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t try{\n\n\n\t\t\t String ab;\n\t\t\t String[] strAry;\n\t\t\t int a;\n\t\t\t int b;\n\n\n\t\t\t while(true){\n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[1]);\n\n\t if(a==0&&b==0){\n\t \t break;\n\t }\n\t for(int i=0; i<a; i++){\n\n\t \t for(int j=0; j<b-1; j++){\n\t \t\t System.out.print('#');\n\t \t\t \n\t \t }\n\t \t System.out.println('#');\n //println??§?????????????????????????????¨???????????????\n\t }\n\n\t System.out.println(\"\");\n\t }\n\n\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }\n\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 input = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t try{\n\n\n\t\t\t String ab;\n\t\t\t String[] strAry;\n\t\t\t int a;\n\t\t\t int b;\n\n\n\t\t\t while(true){\n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[1]);\n\n\t if(a==0&&b==0){\n\t \t break;\n\t }\n\t for(int i=0; i<a; i++){\n\n\t \t for(int j=0; j<b-1; j++){\n\t \t\t System.out.print('#');\n\t \t\t \n\t \t }\n\t \t System.out.println('#');\n //println??§?????????????????????????????¨???????????????\n\t }\n\n\t System.out.println(\"\");\n\t }\n\n\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t try{\n\n\n\t\t\t String ab;\n\t\t\t String[] strAry;\n\t\t\t int a;\n\t\t\t int b;\n\n\n\t\t\t while(true){\n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[1]);\n\n\t if(a==0&&b==0){\n\t \t break;\n\t }\n\t for(int i=0; i<a; i++){\n\n\t \t for(int j=0; j<b-1; j++){\n\t \t\t System.out.print('#');\n\t \t\t \n\t \t }\n\t \t System.out.println('#');\n //println??§?????????????????????????????¨???????????????\n\t }\n\n\t System.out.println(\"\");\n\t }\n\n\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }\n\n\t}",
"main",
"{\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t try{\n\n\n\t\t\t String ab;\n\t\t\t String[] strAry;\n\t\t\t int a;\n\t\t\t int b;\n\n\n\t\t\t while(true){\n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[1]);\n\n\t if(a==0&&b==0){\n\t \t break;\n\t }\n\t for(int i=0; i<a; i++){\n\n\t \t for(int j=0; j<b-1; j++){\n\t \t\t System.out.print('#');\n\t \t\t \n\t \t }\n\t \t System.out.println('#');\n //println??§?????????????????????????????¨???????????????\n\t }\n\n\t System.out.println(\"\");\n\t }\n\n\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }\n\n\t}",
"BufferedReader input = new BufferedReader(new InputStreamReader(System.in));",
"input",
"new BufferedReader(new InputStreamReader(System.in))",
"try{\n\n\n\t\t\t String ab;\n\t\t\t String[] strAry;\n\t\t\t int a;\n\t\t\t int b;\n\n\n\t\t\t while(true){\n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[1]);\n\n\t if(a==0&&b==0){\n\t \t break;\n\t }\n\t for(int i=0; i<a; i++){\n\n\t \t for(int j=0; j<b-1; j++){\n\t \t\t System.out.print('#');\n\t \t\t \n\t \t }\n\t \t System.out.println('#');\n //println??§?????????????????????????????¨???????????????\n\t }\n\n\t System.out.println(\"\");\n\t }\n\n\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }",
"catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }",
"IOException e",
"{ System.out.println(\"Exception : \" + e);\n\t\t }",
"System.out.println(\"Exception : \" + e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Exception : \" + e",
"\"Exception : \"",
"e",
"{\n\n\n\t\t\t String ab;\n\t\t\t String[] strAry;\n\t\t\t int a;\n\t\t\t int b;\n\n\n\t\t\t while(true){\n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[1]);\n\n\t if(a==0&&b==0){\n\t \t break;\n\t }\n\t for(int i=0; i<a; i++){\n\n\t \t for(int j=0; j<b-1; j++){\n\t \t\t System.out.print('#');\n\t \t\t \n\t \t }\n\t \t System.out.println('#');\n //println??§?????????????????????????????¨???????????????\n\t }\n\n\t System.out.println(\"\");\n\t }\n\n\n\n\t\t }",
"String ab;",
"ab",
"String[] strAry;",
"strAry",
"int a;",
"a",
"int b;",
"b",
"while(true){\n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[1]);\n\n\t if(a==0&&b==0){\n\t \t break;\n\t }\n\t for(int i=0; i<a; i++){\n\n\t \t for(int j=0; j<b-1; j++){\n\t \t\t System.out.print('#');\n\t \t\t \n\t \t }\n\t \t System.out.println('#');\n //println??§?????????????????????????????¨???????????????\n\t }\n\n\t System.out.println(\"\");\n\t }",
"true",
"{\n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[1]);\n\n\t if(a==0&&b==0){\n\t \t break;\n\t }\n\t for(int i=0; i<a; i++){\n\n\t \t for(int j=0; j<b-1; j++){\n\t \t\t System.out.print('#');\n\t \t\t \n\t \t }\n\t \t System.out.println('#');\n //println??§?????????????????????????????¨???????????????\n\t }\n\n\t System.out.println(\"\");\n\t }",
"ab = input.readLine()",
"ab",
"input.readLine()",
"input.readLine",
"input",
"strAry = ab.split(\" \")",
"strAry",
"ab.split(\" \")",
"ab.split",
"ab",
"\" \"",
"a=Integer.parseInt(strAry[0])",
"a",
"Integer.parseInt(strAry[0])",
"Integer.parseInt",
"Integer",
"strAry[0]",
"strAry",
"0",
"b=Integer.parseInt(strAry[1])",
"b",
"Integer.parseInt(strAry[1])",
"Integer.parseInt",
"Integer",
"strAry[1]",
"strAry",
"1",
"if(a==0&&b==0){\n\t \t break;\n\t }",
"a==0&&b==0",
"a==0",
"a",
"0",
"b==0",
"b",
"0",
"{\n\t \t break;\n\t }",
"break;",
"for(int i=0; i<a; i++){\n\n\t \t for(int j=0; j<b-1; j++){\n\t \t\t System.out.print('#');\n\t \t\t \n\t \t }\n\t \t System.out.println('#');\n //println??§?????????????????????????????¨???????????????\n\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a",
"i",
"a",
"i++",
"i++",
"i",
"{\n\n\t \t for(int j=0; j<b-1; j++){\n\t \t\t System.out.print('#');\n\t \t\t \n\t \t }\n\t \t System.out.println('#');\n //println??§?????????????????????????????¨???????????????\n\t }",
"{\n\n\t \t for(int j=0; j<b-1; j++){\n\t \t\t System.out.print('#');\n\t \t\t \n\t \t }\n\t \t System.out.println('#');\n //println??§?????????????????????????????¨???????????????\n\t }",
"for(int j=0; j<b-1; j++){\n\t \t\t System.out.print('#');\n\t \t\t \n\t \t }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<b-1",
"j",
"b-1",
"b",
"1",
"j++",
"j++",
"j",
"{\n\t \t\t System.out.print('#');\n\t \t\t \n\t \t }",
"{\n\t \t\t System.out.print('#');\n\t \t\t \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\tpublic static void main(String[] args) {\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t try{\n\n\n\t\t\t String ab;\n\t\t\t String[] strAry;\n\t\t\t int a;\n\t\t\t int b;\n\n\n\t\t\t while(true){\n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[1]);\n\n\t if(a==0&&b==0){\n\t \t break;\n\t }\n\t for(int i=0; i<a; i++){\n\n\t \t for(int j=0; j<b-1; j++){\n\t \t\t System.out.print('#');\n\t \t\t \n\t \t }\n\t \t System.out.println('#');\n //println??§?????????????????????????????¨???????????????\n\t }\n\n\t System.out.println(\"\");\n\t }\n\n\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }\n\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t try{\n\n\n\t\t\t String ab;\n\t\t\t String[] strAry;\n\t\t\t int a;\n\t\t\t int b;\n\n\n\t\t\t while(true){\n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[1]);\n\n\t if(a==0&&b==0){\n\t \t break;\n\t }\n\t for(int i=0; i<a; i++){\n\n\t \t for(int j=0; j<b-1; j++){\n\t \t\t System.out.print('#');\n\t \t\t \n\t \t }\n\t \t System.out.println('#');\n //println??§?????????????????????????????¨???????????????\n\t }\n\n\t System.out.println(\"\");\n\t }\n\n\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }\n\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 input = new BufferedReader(new InputStreamReader(System.in));
try{
String ab;
String[] strAry;
int a;
int b;
while(true){
ab = input.readLine();
strAry = ab.split(" ");
a=Integer.parseInt(strAry[0]);
b=Integer.parseInt(strAry[1]);
if(a==0&&b==0){
break;
}
for(int i=0; i<a; i++){
for(int j=0; j<b-1; j++){
System.out.print('#');
}
System.out.println('#');
//println??§?????????????????????????????¨???????????????
}
System.out.println("");
}
}catch(IOException e) { System.out.println("Exception : " + e);
}
}
} |
[
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,
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,
30,
3,
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
],
[
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
],
[
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
],
[
34,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
26,
83
],
[
83,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new java.util.Scanner(System.in);\n \n for(;;){\n int H = scan.nextInt();\n int W = scan.nextInt();\n if(H != 0 && W != 0){\n for(int i = 1; i <= H; i++){\n System.out.print(\"#\");\n for(int j = 1; j < W; j++){\n System.out.print(\"#\");\n } \n System.out.println();\n }\n System.out.println();\n }else{\n break;\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 java.util.Scanner(System.in);\n \n for(;;){\n int H = scan.nextInt();\n int W = scan.nextInt();\n if(H != 0 && W != 0){\n for(int i = 1; i <= H; i++){\n System.out.print(\"#\");\n for(int j = 1; j < W; j++){\n System.out.print(\"#\");\n } \n System.out.println();\n }\n System.out.println();\n }else{\n break;\n } \n } \n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new java.util.Scanner(System.in);\n \n for(;;){\n int H = scan.nextInt();\n int W = scan.nextInt();\n if(H != 0 && W != 0){\n for(int i = 1; i <= H; i++){\n System.out.print(\"#\");\n for(int j = 1; j < W; j++){\n System.out.print(\"#\");\n } \n System.out.println();\n }\n System.out.println();\n }else{\n break;\n } \n } \n }",
"main",
"{\n Scanner scan = new java.util.Scanner(System.in);\n \n for(;;){\n int H = scan.nextInt();\n int W = scan.nextInt();\n if(H != 0 && W != 0){\n for(int i = 1; i <= H; i++){\n System.out.print(\"#\");\n for(int j = 1; j < W; j++){\n System.out.print(\"#\");\n } \n System.out.println();\n }\n System.out.println();\n }else{\n break;\n } \n } \n }",
"Scanner scan = new java.util.Scanner(System.in);",
"scan",
"new java.util.Scanner(System.in)",
"for(;;){\n int H = scan.nextInt();\n int W = scan.nextInt();\n if(H != 0 && W != 0){\n for(int i = 1; i <= H; i++){\n System.out.print(\"#\");\n for(int j = 1; j < W; j++){\n System.out.print(\"#\");\n } \n System.out.println();\n }\n System.out.println();\n }else{\n break;\n } \n }",
";",
"{\n int H = scan.nextInt();\n int W = scan.nextInt();\n if(H != 0 && W != 0){\n for(int i = 1; i <= H; i++){\n System.out.print(\"#\");\n for(int j = 1; j < W; j++){\n System.out.print(\"#\");\n } \n System.out.println();\n }\n System.out.println();\n }else{\n break;\n } \n }",
"{\n int H = scan.nextInt();\n int W = scan.nextInt();\n if(H != 0 && W != 0){\n for(int i = 1; i <= H; i++){\n System.out.print(\"#\");\n for(int j = 1; j < W; j++){\n System.out.print(\"#\");\n } \n System.out.println();\n }\n System.out.println();\n }else{\n break;\n } \n }",
"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 for(int i = 1; i <= H; i++){\n System.out.print(\"#\");\n for(int j = 1; j < W; j++){\n System.out.print(\"#\");\n } \n System.out.println();\n }\n System.out.println();\n }else{\n break;\n }",
"H != 0 && W != 0",
"H != 0",
"H",
"0",
"W != 0",
"W",
"0",
"{\n for(int i = 1; i <= H; i++){\n System.out.print(\"#\");\n for(int j = 1; j < W; j++){\n System.out.print(\"#\");\n } \n System.out.println();\n }\n System.out.println();\n }",
"for(int i = 1; i <= H; i++){\n System.out.print(\"#\");\n for(int j = 1; j < W; j++){\n System.out.print(\"#\");\n } \n System.out.println();\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= H",
"i",
"H",
"i++",
"i++",
"i",
"{\n System.out.print(\"#\");\n for(int j = 1; j < W; j++){\n System.out.print(\"#\");\n } \n System.out.println();\n }",
"{\n System.out.print(\"#\");\n for(int j = 1; j < W; 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 < W; j++){\n System.out.print(\"#\");\n }",
"int j = 1;",
"int j = 1;",
"j",
"1",
"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",
"{\n break;\n }",
"break;",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new java.util.Scanner(System.in);\n \n for(;;){\n int H = scan.nextInt();\n int W = scan.nextInt();\n if(H != 0 && W != 0){\n for(int i = 1; i <= H; i++){\n System.out.print(\"#\");\n for(int j = 1; j < W; j++){\n System.out.print(\"#\");\n } \n System.out.println();\n }\n System.out.println();\n }else{\n break;\n } \n } \n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new java.util.Scanner(System.in);\n \n for(;;){\n int H = scan.nextInt();\n int W = scan.nextInt();\n if(H != 0 && W != 0){\n for(int i = 1; i <= H; i++){\n System.out.print(\"#\");\n for(int j = 1; j < W; j++){\n System.out.print(\"#\");\n } \n System.out.println();\n }\n System.out.println();\n }else{\n break;\n } \n } \n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scan = new java.util.Scanner(System.in);
for(;;){
int H = scan.nextInt();
int W = scan.nextInt();
if(H != 0 && W != 0){
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();
}else{
break;
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
17,
30,
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,
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,
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
],
[
7,
12
],
[
12,
13
],
[
12,
14
],
[
7,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
20,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
20,
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
],
[
20,
79
],
[
79,
80
],
[
80,
81
],
[
17,
82
],
[
82,
83
],
[
83,
84
],
[
15,
85
],
[
85,
86
]
] | [
"import java.io.PrintWriter;\nimport java.util.Scanner;\n\nclass Main{\n private static final Scanner sc = new Scanner(System.in);\n private static final PrintWriter out = new PrintWriter(System.out);\n public static void main(String[] Args){\n while(true){\n final int h = Integer.parseInt(sc.next());\n final int w = Integer.parseInt(sc.next());\n if(h==0&&w==0) break;\n for(int i = 0; i<h; i++){\n for(int j = 0; j<w; j++){\n out.print(\"#\");\n }\n out.println();\n }\n out.println();\n }\n out.flush();\n }\n}",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n private static final Scanner sc = new Scanner(System.in);\n private static final PrintWriter out = new PrintWriter(System.out);\n public static void main(String[] Args){\n while(true){\n final int h = Integer.parseInt(sc.next());\n final int w = Integer.parseInt(sc.next());\n if(h==0&&w==0) break;\n for(int i = 0; i<h; i++){\n for(int j = 0; j<w; j++){\n out.print(\"#\");\n }\n out.println();\n }\n out.println();\n }\n out.flush();\n }\n}",
"Main",
"private static final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"private static final PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"public static void main(String[] Args){\n while(true){\n final int h = Integer.parseInt(sc.next());\n final int w = Integer.parseInt(sc.next());\n if(h==0&&w==0) break;\n for(int i = 0; i<h; i++){\n for(int j = 0; j<w; j++){\n out.print(\"#\");\n }\n out.println();\n }\n out.println();\n }\n out.flush();\n }",
"main",
"{\n while(true){\n final int h = Integer.parseInt(sc.next());\n final int w = Integer.parseInt(sc.next());\n if(h==0&&w==0) break;\n for(int i = 0; i<h; i++){\n for(int j = 0; j<w; j++){\n out.print(\"#\");\n }\n out.println();\n }\n out.println();\n }\n out.flush();\n }",
"while(true){\n final int h = Integer.parseInt(sc.next());\n final int w = Integer.parseInt(sc.next());\n if(h==0&&w==0) break;\n for(int i = 0; i<h; i++){\n for(int j = 0; j<w; j++){\n out.print(\"#\");\n }\n out.println();\n }\n out.println();\n }",
"true",
"{\n final int h = Integer.parseInt(sc.next());\n final int w = Integer.parseInt(sc.next());\n if(h==0&&w==0) break;\n for(int i = 0; i<h; i++){\n for(int j = 0; j<w; j++){\n out.print(\"#\");\n }\n out.println();\n }\n out.println();\n }",
"final int h = Integer.parseInt(sc.next());",
"h",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"final int w = Integer.parseInt(sc.next());",
"w",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"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 for(int j = 0; j<w; j++){\n out.print(\"#\");\n }\n 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 out.print(\"#\");\n }\n out.println();\n }",
"{\n for(int j = 0; j<w; j++){\n out.print(\"#\");\n }\n out.println();\n }",
"for(int j = 0; j<w; j++){\n out.print(\"#\");\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j<w",
"j",
"w",
"j++",
"j++",
"j",
"{\n out.print(\"#\");\n }",
"{\n out.print(\"#\");\n }",
"out.print(\"#\")",
"out.print",
"out",
"\"#\"",
"out.println()",
"out.println",
"out",
"out.println()",
"out.println",
"out",
"out.flush()",
"out.flush",
"out",
"String[] Args",
"Args"
] | import java.io.PrintWriter;
import java.util.Scanner;
class Main{
private static final Scanner sc = new Scanner(System.in);
private static final PrintWriter out = new PrintWriter(System.out);
public static void main(String[] Args){
while(true){
final int h = Integer.parseInt(sc.next());
final int w = Integer.parseInt(sc.next());
if(h==0&&w==0) break;
for(int i = 0; i<h; i++){
for(int j = 0; j<w; j++){
out.print("#");
}
out.println();
}
out.println();
}
out.flush();
}
} |
[
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,
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
],
[
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
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\npublic class Main {\n public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \twhile(true){\n \t\tint a = sc.nextInt();\n \t\tint b = sc.nextInt();\n \t\tif(a==0&&b==0){\n \t\t\tbreak;\n \t\t}\n\n \t\tfor(int i=0;i<a;i++){\n \t\t\tfor(int x=0;x<b;x++){\n \t\t\t\tsb.append(\"#\");\n \t\t\t}\n \t\t\tsb.append(\"\\n\");\n \t\t}\n \t\tsb.append(\"\\n\");\n \t}\n System.out.print(sb);\n }\n\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \twhile(true){\n \t\tint a = sc.nextInt();\n \t\tint b = sc.nextInt();\n \t\tif(a==0&&b==0){\n \t\t\tbreak;\n \t\t}\n\n \t\tfor(int i=0;i<a;i++){\n \t\t\tfor(int x=0;x<b;x++){\n \t\t\t\tsb.append(\"#\");\n \t\t\t}\n \t\t\tsb.append(\"\\n\");\n \t\t}\n \t\tsb.append(\"\\n\");\n \t}\n System.out.print(sb);\n }\n\n}",
"Main",
"public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \twhile(true){\n \t\tint a = sc.nextInt();\n \t\tint b = sc.nextInt();\n \t\tif(a==0&&b==0){\n \t\t\tbreak;\n \t\t}\n\n \t\tfor(int i=0;i<a;i++){\n \t\t\tfor(int x=0;x<b;x++){\n \t\t\t\tsb.append(\"#\");\n \t\t\t}\n \t\t\tsb.append(\"\\n\");\n \t\t}\n \t\tsb.append(\"\\n\");\n \t}\n System.out.print(sb);\n }",
"main",
"{\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \twhile(true){\n \t\tint a = sc.nextInt();\n \t\tint b = sc.nextInt();\n \t\tif(a==0&&b==0){\n \t\t\tbreak;\n \t\t}\n\n \t\tfor(int i=0;i<a;i++){\n \t\t\tfor(int x=0;x<b;x++){\n \t\t\t\tsb.append(\"#\");\n \t\t\t}\n \t\t\tsb.append(\"\\n\");\n \t\t}\n \t\tsb.append(\"\\n\");\n \t}\n System.out.print(sb);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true){\n \t\tint a = sc.nextInt();\n \t\tint b = sc.nextInt();\n \t\tif(a==0&&b==0){\n \t\t\tbreak;\n \t\t}\n\n \t\tfor(int i=0;i<a;i++){\n \t\t\tfor(int x=0;x<b;x++){\n \t\t\t\tsb.append(\"#\");\n \t\t\t}\n \t\t\tsb.append(\"\\n\");\n \t\t}\n \t\tsb.append(\"\\n\");\n \t}",
"true",
"{\n \t\tint a = sc.nextInt();\n \t\tint b = sc.nextInt();\n \t\tif(a==0&&b==0){\n \t\t\tbreak;\n \t\t}\n\n \t\tfor(int i=0;i<a;i++){\n \t\t\tfor(int x=0;x<b;x++){\n \t\t\t\tsb.append(\"#\");\n \t\t\t}\n \t\t\tsb.append(\"\\n\");\n \t\t}\n \t\tsb.append(\"\\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){\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 x=0;x<b;x++){\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<a",
"i",
"a",
"i++",
"i++",
"i",
"{\n \t\t\tfor(int x=0;x<b;x++){\n \t\t\t\tsb.append(\"#\");\n \t\t\t}\n \t\t\tsb.append(\"\\n\");\n \t\t}",
"{\n \t\t\tfor(int x=0;x<b;x++){\n \t\t\t\tsb.append(\"#\");\n \t\t\t}\n \t\t\tsb.append(\"\\n\");\n \t\t}",
"for(int x=0;x<b;x++){\n \t\t\t\tsb.append(\"#\");\n \t\t\t}",
"int x=0;",
"int x=0;",
"x",
"0",
"x<b",
"x",
"b",
"x++",
"x++",
"x",
"{\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 public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \twhile(true){\n \t\tint a = sc.nextInt();\n \t\tint b = sc.nextInt();\n \t\tif(a==0&&b==0){\n \t\t\tbreak;\n \t\t}\n\n \t\tfor(int i=0;i<a;i++){\n \t\t\tfor(int x=0;x<b;x++){\n \t\t\t\tsb.append(\"#\");\n \t\t\t}\n \t\t\tsb.append(\"\\n\");\n \t\t}\n \t\tsb.append(\"\\n\");\n \t}\n System.out.print(sb);\n }\n\n}",
"public class Main {\n public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \twhile(true){\n \t\tint a = sc.nextInt();\n \t\tint b = sc.nextInt();\n \t\tif(a==0&&b==0){\n \t\t\tbreak;\n \t\t}\n\n \t\tfor(int i=0;i<a;i++){\n \t\t\tfor(int x=0;x<b;x++){\n \t\t\t\tsb.append(\"#\");\n \t\t\t}\n \t\t\tsb.append(\"\\n\");\n \t\t}\n \t\tsb.append(\"\\n\");\n \t}\n System.out.print(sb);\n }\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 sb = new StringBuilder();
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 x=0;x<b;x++){
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,
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
],
[
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
],
[
14,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
6,
90
],
[
90,
91
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tString str[] = scan.nextLine().split(\" \");\n\t\t\tint h = Integer.parseInt(str[0]);\n\t\t\tint w = Integer.parseInt(str[1]);\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\t}\n} ",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tString str[] = scan.nextLine().split(\" \");\n\t\t\tint h = Integer.parseInt(str[0]);\n\t\t\tint w = Integer.parseInt(str[1]);\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\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tString str[] = scan.nextLine().split(\" \");\n\t\t\tint h = Integer.parseInt(str[0]);\n\t\t\tint w = Integer.parseInt(str[1]);\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\t}",
"main",
"{\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tString str[] = scan.nextLine().split(\" \");\n\t\t\tint h = Integer.parseInt(str[0]);\n\t\t\tint w = Integer.parseInt(str[1]);\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\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true){\n\t\t\tString str[] = scan.nextLine().split(\" \");\n\t\t\tint h = Integer.parseInt(str[0]);\n\t\t\tint w = Integer.parseInt(str[1]);\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\tString str[] = scan.nextLine().split(\" \");\n\t\t\tint h = Integer.parseInt(str[0]);\n\t\t\tint w = Integer.parseInt(str[1]);\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}",
"String str[] = scan.nextLine().split(\" \");",
"str",
"scan.nextLine().split(\" \")",
"scan.nextLine().split",
"scan.nextLine()",
"scan.nextLine",
"scan",
"\" \"",
"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\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.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
while(true){
String str[] = scan.nextLine().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++){
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,
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,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
86,
8
],
[
86,
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
],
[
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
],
[
17,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
11,
80
],
[
80,
81
],
[
81,
82
],
[
9,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\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\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\t\t}\n\n\t\tsc.close();\n\t}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\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\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\t\t}\n\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\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\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\t\t}\n\n\t\tsc.close();\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\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\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\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\t\t}",
"true",
"{\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\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\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=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\tpublic static void main(String[] args) throws IOException{\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\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\t\t}\n\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\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\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\t\t}\n\n\t\tsc.close();\n\t}\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);
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,
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,
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
],
[
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
],
[
24,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
6,
100
],
[
100,
101
]
] | [
"import java.io.*;\n\nclass Main {\n public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] nums;\n int h, w, i, j;\n while (true) {\n nums = br.readLine().split(\" \");\n h = Integer.parseInt(nums[0]);\n w = Integer.parseInt(nums[1]);\n if (h == 0 && w == 0) break;\n for (i = 0; i < h; i++) {\n for (j = 0; j < w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] nums;\n int h, w, i, j;\n while (true) {\n nums = br.readLine().split(\" \");\n h = Integer.parseInt(nums[0]);\n w = Integer.parseInt(nums[1]);\n if (h == 0 && w == 0) break;\n for (i = 0; i < h; i++) {\n for (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) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] nums;\n int h, w, i, j;\n while (true) {\n nums = br.readLine().split(\" \");\n h = Integer.parseInt(nums[0]);\n w = Integer.parseInt(nums[1]);\n if (h == 0 && w == 0) break;\n for (i = 0; i < h; i++) {\n for (j = 0; j < w; 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[] nums;\n int h, w, i, j;\n while (true) {\n nums = br.readLine().split(\" \");\n h = Integer.parseInt(nums[0]);\n w = Integer.parseInt(nums[1]);\n if (h == 0 && w == 0) break;\n for (i = 0; i < h; i++) {\n for (j = 0; j < w; 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[] nums;",
"nums",
"int h",
"h",
"w",
"w",
"i",
"i",
"j;",
"j",
"while (true) {\n nums = br.readLine().split(\" \");\n h = Integer.parseInt(nums[0]);\n w = Integer.parseInt(nums[1]);\n if (h == 0 && w == 0) break;\n for (i = 0; i < h; i++) {\n for (j = 0; j < w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"true",
"{\n nums = br.readLine().split(\" \");\n h = Integer.parseInt(nums[0]);\n w = Integer.parseInt(nums[1]);\n if (h == 0 && w == 0) break;\n for (i = 0; i < h; i++) {\n for (j = 0; j < w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"nums = br.readLine().split(\" \")",
"nums",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"h = Integer.parseInt(nums[0])",
"h",
"Integer.parseInt(nums[0])",
"Integer.parseInt",
"Integer",
"nums[0]",
"nums",
"0",
"w = Integer.parseInt(nums[1])",
"w",
"Integer.parseInt(nums[1])",
"Integer.parseInt",
"Integer",
"nums[1]",
"nums",
"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 for (j = 0; j < w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"i = 0;",
"i = 0",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n for (j = 0; j < w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"{\n for (j = 0; j < w; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"for (j = 0; j < w; j++) {\n System.out.print(\"#\");\n }",
"j = 0;",
"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"
] | import java.io.*;
class Main {
public static void main (String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] nums;
int h, w, i, j;
while (true) {
nums = br.readLine().split(" ");
h = Integer.parseInt(nums[0]);
w = Integer.parseInt(nums[1]);
if (h == 0 && w == 0) break;
for (i = 0; i < h; i++) {
for (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,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
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,
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
],
[
108,
5
],
[
108,
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
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
33,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
33,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
50,
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
],
[
79,
80
],
[
79,
81
],
[
74,
82
],
[
82,
83
],
[
83,
84
],
[
74,
85
],
[
86,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
73,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
60,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
6,
105
],
[
105,
106
],
[
0,
107
],
[
107,
108
],
[
107,
109
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n\n\n public static void main(String[] args) {\n\n\t Scanner sc=new Scanner(System.in);\n\t int H,W;\n\t int n=Integer.MAX_VALUE;\n\t \n\t for(int i=0;i<n;i++){\n\t\t H=Integer.parseInt(sc.next());\n\t\t W=Integer.parseInt(sc.next());\n\t\tif(H==0&&W==0){\n\t\t\tbreak;\n\t\t}\n\t\telse{\n\t\t\tfor(int j=0;j<H;j++){\n\t\t\t\tfor(int k=0;k<W;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\t }\n\t\n\t\t \n\t\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\n public static void main(String[] args) {\n\n\t Scanner sc=new Scanner(System.in);\n\t int H,W;\n\t int n=Integer.MAX_VALUE;\n\t \n\t for(int i=0;i<n;i++){\n\t\t H=Integer.parseInt(sc.next());\n\t\t W=Integer.parseInt(sc.next());\n\t\tif(H==0&&W==0){\n\t\t\tbreak;\n\t\t}\n\t\telse{\n\t\t\tfor(int j=0;j<H;j++){\n\t\t\t\tfor(int k=0;k<W;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\t }\n\t\n\t\t \n\t\n\n }\n}",
"Main",
"public static void main(String[] args) {\n\n\t Scanner sc=new Scanner(System.in);\n\t int H,W;\n\t int n=Integer.MAX_VALUE;\n\t \n\t for(int i=0;i<n;i++){\n\t\t H=Integer.parseInt(sc.next());\n\t\t W=Integer.parseInt(sc.next());\n\t\tif(H==0&&W==0){\n\t\t\tbreak;\n\t\t}\n\t\telse{\n\t\t\tfor(int j=0;j<H;j++){\n\t\t\t\tfor(int k=0;k<W;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\t }\n\t\n\t\t \n\t\n\n }",
"main",
"{\n\n\t Scanner sc=new Scanner(System.in);\n\t int H,W;\n\t int n=Integer.MAX_VALUE;\n\t \n\t for(int i=0;i<n;i++){\n\t\t H=Integer.parseInt(sc.next());\n\t\t W=Integer.parseInt(sc.next());\n\t\tif(H==0&&W==0){\n\t\t\tbreak;\n\t\t}\n\t\telse{\n\t\t\tfor(int j=0;j<H;j++){\n\t\t\t\tfor(int k=0;k<W;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\t }\n\t\n\t\t \n\t\n\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int H",
"H",
"W;",
"W",
"int n=Integer.MAX_VALUE;",
"n",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"for(int i=0;i<n;i++){\n\t\t H=Integer.parseInt(sc.next());\n\t\t W=Integer.parseInt(sc.next());\n\t\tif(H==0&&W==0){\n\t\t\tbreak;\n\t\t}\n\t\telse{\n\t\t\tfor(int j=0;j<H;j++){\n\t\t\t\tfor(int k=0;k<W;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\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t H=Integer.parseInt(sc.next());\n\t\t W=Integer.parseInt(sc.next());\n\t\tif(H==0&&W==0){\n\t\t\tbreak;\n\t\t}\n\t\telse{\n\t\t\tfor(int j=0;j<H;j++){\n\t\t\t\tfor(int k=0;k<W;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\t }",
"{\n\t\t H=Integer.parseInt(sc.next());\n\t\t W=Integer.parseInt(sc.next());\n\t\tif(H==0&&W==0){\n\t\t\tbreak;\n\t\t}\n\t\telse{\n\t\t\tfor(int j=0;j<H;j++){\n\t\t\t\tfor(int k=0;k<W;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\t }",
"H=Integer.parseInt(sc.next())",
"H",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"W=Integer.parseInt(sc.next())",
"W",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"if(H==0&&W==0){\n\t\t\tbreak;\n\t\t}\n\t\telse{\n\t\t\tfor(int j=0;j<H;j++){\n\t\t\t\tfor(int k=0;k<W;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}",
"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 j=0;j<H;j++){\n\t\t\t\tfor(int k=0;k<W;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;j++){\n\t\t\t\tfor(int k=0;k<W;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",
"j",
"H",
"j++",
"j++",
"j",
"{\n\t\t\t\tfor(int k=0;k<W;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;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;k++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int k=0;",
"int k=0;",
"k",
"0",
"k<W",
"k",
"W",
"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\n public static void main(String[] args) {\n\n\t Scanner sc=new Scanner(System.in);\n\t int H,W;\n\t int n=Integer.MAX_VALUE;\n\t \n\t for(int i=0;i<n;i++){\n\t\t H=Integer.parseInt(sc.next());\n\t\t W=Integer.parseInt(sc.next());\n\t\tif(H==0&&W==0){\n\t\t\tbreak;\n\t\t}\n\t\telse{\n\t\t\tfor(int j=0;j<H;j++){\n\t\t\t\tfor(int k=0;k<W;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\t }\n\t\n\t\t \n\t\n\n }\n}",
"public class Main {\n\n\n public static void main(String[] args) {\n\n\t Scanner sc=new Scanner(System.in);\n\t int H,W;\n\t int n=Integer.MAX_VALUE;\n\t \n\t for(int i=0;i<n;i++){\n\t\t H=Integer.parseInt(sc.next());\n\t\t W=Integer.parseInt(sc.next());\n\t\tif(H==0&&W==0){\n\t\t\tbreak;\n\t\t}\n\t\telse{\n\t\t\tfor(int j=0;j<H;j++){\n\t\t\t\tfor(int k=0;k<W;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\t }\n\t\n\t\t \n\t\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;
int n=Integer.MAX_VALUE;
for(int i=0;i<n;i++){
H=Integer.parseInt(sc.next());
W=Integer.parseInt(sc.next());
if(H==0&&W==0){
break;
}
else{
for(int j=0;j<H;j++){
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,
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
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner input = new Scanner(System.in);\n while(true){\n int h = input.nextInt();\n int w = input.nextInt();\n if(h==0&&w==0){\n break;\n }\n for(int n = 0; n < h; n++){\n for(int i = 0; i < w; i++){\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) throws Exception {\n Scanner input = new Scanner(System.in);\n while(true){\n int h = input.nextInt();\n int w = input.nextInt();\n if(h==0&&w==0){\n break;\n }\n for(int n = 0; n < h; n++){\n for(int i = 0; i < w; i++){\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 Exception {\n Scanner input = new Scanner(System.in);\n while(true){\n int h = input.nextInt();\n int w = input.nextInt();\n if(h==0&&w==0){\n break;\n }\n for(int n = 0; n < h; n++){\n for(int i = 0; i < w; i++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }",
"main",
"{\n Scanner input = new Scanner(System.in);\n while(true){\n int h = input.nextInt();\n int w = input.nextInt();\n if(h==0&&w==0){\n break;\n }\n for(int n = 0; n < h; n++){\n for(int i = 0; i < w; i++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"while(true){\n int h = input.nextInt();\n int w = input.nextInt();\n if(h==0&&w==0){\n break;\n }\n for(int n = 0; n < h; n++){\n for(int i = 0; i < w; i++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"true",
"{\n int h = input.nextInt();\n int w = input.nextInt();\n if(h==0&&w==0){\n break;\n }\n for(int n = 0; n < h; n++){\n for(int i = 0; i < w; i++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"int h = input.nextInt();",
"h",
"input.nextInt()",
"input.nextInt",
"input",
"int w = input.nextInt();",
"w",
"input.nextInt()",
"input.nextInt",
"input",
"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 n = 0; n < h; n++){\n for(int i = 0; i < w; i++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"int n = 0;",
"int n = 0;",
"n",
"0",
"n < h",
"n",
"h",
"n++",
"n++",
"n",
"{\n for(int i = 0; i < w; i++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"{\n for(int i = 0; i < w; i++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"for(int i = 0; i < w; i++){\n System.out.print(\"#\");\n }",
"int i = 0;",
"int 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.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) throws Exception {\n Scanner input = new Scanner(System.in);\n while(true){\n int h = input.nextInt();\n int w = input.nextInt();\n if(h==0&&w==0){\n break;\n }\n for(int n = 0; n < h; n++){\n for(int i = 0; i < w; i++){\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) throws Exception {\n Scanner input = new Scanner(System.in);\n while(true){\n int h = input.nextInt();\n int w = input.nextInt();\n if(h==0&&w==0){\n break;\n }\n for(int n = 0; n < h; n++){\n for(int i = 0; i < w; i++){\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) throws Exception {
Scanner input = new Scanner(System.in);
while(true){
int h = input.nextInt();
int w = input.nextInt();
if(h==0&&w==0){
break;
}
for(int n = 0; n < h; n++){
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,
20,
17,
41,
13,
20,
17,
41,
13,
17,
42,
17,
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,
40,
13,
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,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
117,
5
],
[
117,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
25,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
40,
52
],
[
25,
53
],
[
53,
54
],
[
8,
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
],
[
75,
76
],
[
75,
77
],
[
68,
78
],
[
78,
79
],
[
79,
80
],
[
68,
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
],
[
82,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
67,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
6,
114
],
[
114,
115
],
[
0,
116
],
[
116,
117
],
[
116,
118
]
] | [
"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 H[]=new int[256];\n\t\tint W[]=new int[256];\n\n\t\tint i=0;\n\t\twhile(true){\n\t\t\tH[i]=sc.nextInt();\n\t\t\tW[i]=sc.nextInt();\n\n\t\t\tif(H[i]==0&&W[i]==0)\tbreak;\n\t\t\ti++;\n\t\t}\n\n\t\tfor(int x=0;x<i;x++){\n\t\t\tfor(int j=0;j<H[x];j++){\n\t\t\t\tfor(int k=0;k<W[x];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}",
"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 H[]=new int[256];\n\t\tint W[]=new int[256];\n\n\t\tint i=0;\n\t\twhile(true){\n\t\t\tH[i]=sc.nextInt();\n\t\t\tW[i]=sc.nextInt();\n\n\t\t\tif(H[i]==0&&W[i]==0)\tbreak;\n\t\t\ti++;\n\t\t}\n\n\t\tfor(int x=0;x<i;x++){\n\t\t\tfor(int j=0;j<H[x];j++){\n\t\t\t\tfor(int k=0;k<W[x];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}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint H[]=new int[256];\n\t\tint W[]=new int[256];\n\n\t\tint i=0;\n\t\twhile(true){\n\t\t\tH[i]=sc.nextInt();\n\t\t\tW[i]=sc.nextInt();\n\n\t\t\tif(H[i]==0&&W[i]==0)\tbreak;\n\t\t\ti++;\n\t\t}\n\n\t\tfor(int x=0;x<i;x++){\n\t\t\tfor(int j=0;j<H[x];j++){\n\t\t\t\tfor(int k=0;k<W[x];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 sc=new Scanner(System.in);\n\n\t\tint H[]=new int[256];\n\t\tint W[]=new int[256];\n\n\t\tint i=0;\n\t\twhile(true){\n\t\t\tH[i]=sc.nextInt();\n\t\t\tW[i]=sc.nextInt();\n\n\t\t\tif(H[i]==0&&W[i]==0)\tbreak;\n\t\t\ti++;\n\t\t}\n\n\t\tfor(int x=0;x<i;x++){\n\t\t\tfor(int j=0;j<H[x];j++){\n\t\t\t\tfor(int k=0;k<W[x];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 sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int H[]=new int[256];",
"H",
"new int[256]",
"256",
"int W[]=new int[256];",
"W",
"new int[256]",
"256",
"int i=0;",
"i",
"0",
"while(true){\n\t\t\tH[i]=sc.nextInt();\n\t\t\tW[i]=sc.nextInt();\n\n\t\t\tif(H[i]==0&&W[i]==0)\tbreak;\n\t\t\ti++;\n\t\t}",
"true",
"{\n\t\t\tH[i]=sc.nextInt();\n\t\t\tW[i]=sc.nextInt();\n\n\t\t\tif(H[i]==0&&W[i]==0)\tbreak;\n\t\t\ti++;\n\t\t}",
"H[i]=sc.nextInt()",
"H[i]",
"H",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"W[i]=sc.nextInt()",
"W[i]",
"W",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(H[i]==0&&W[i]==0)\tbreak;",
"H[i]==0&&W[i]==0",
"H[i]==0",
"H[i]",
"H",
"i",
"0",
"W[i]==0",
"W[i]",
"W",
"i",
"0",
"break;",
"i++",
"i",
"for(int x=0;x<i;x++){\n\t\t\tfor(int j=0;j<H[x];j++){\n\t\t\t\tfor(int k=0;k<W[x];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 x=0;",
"int x=0;",
"x",
"0",
"x<i",
"x",
"i",
"x++",
"x++",
"x",
"{\n\t\t\tfor(int j=0;j<H[x];j++){\n\t\t\t\tfor(int k=0;k<W[x];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[x];j++){\n\t\t\t\tfor(int k=0;k<W[x];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[x];j++){\n\t\t\t\tfor(int k=0;k<W[x];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[x]",
"j",
"H[x]",
"H",
"x",
"j++",
"j++",
"j",
"{\n\t\t\t\tfor(int k=0;k<W[x];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[x];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[x];k++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int k=0;",
"int k=0;",
"k",
"0",
"k<W[x]",
"k",
"W[x]",
"W",
"x",
"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 sc=new Scanner(System.in);\n\n\t\tint H[]=new int[256];\n\t\tint W[]=new int[256];\n\n\t\tint i=0;\n\t\twhile(true){\n\t\t\tH[i]=sc.nextInt();\n\t\t\tW[i]=sc.nextInt();\n\n\t\t\tif(H[i]==0&&W[i]==0)\tbreak;\n\t\t\ti++;\n\t\t}\n\n\t\tfor(int x=0;x<i;x++){\n\t\t\tfor(int j=0;j<H[x];j++){\n\t\t\t\tfor(int k=0;k<W[x];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}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint H[]=new int[256];\n\t\tint W[]=new int[256];\n\n\t\tint i=0;\n\t\twhile(true){\n\t\t\tH[i]=sc.nextInt();\n\t\t\tW[i]=sc.nextInt();\n\n\t\t\tif(H[i]==0&&W[i]==0)\tbreak;\n\t\t\ti++;\n\t\t}\n\n\t\tfor(int x=0;x<i;x++){\n\t\t\tfor(int j=0;j<H[x];j++){\n\t\t\t\tfor(int k=0;k<W[x];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}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int H[]=new int[256];
int W[]=new int[256];
int i=0;
while(true){
H[i]=sc.nextInt();
W[i]=sc.nextInt();
if(H[i]==0&&W[i]==0) break;
i++;
}
for(int x=0;x<i;x++){
for(int j=0;j<H[x];j++){
for(int k=0;k<W[x];k++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
} |
[
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,
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,
18,
13,
13,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
20,
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
],
[
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
],
[
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
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
33,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
33,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
33,
84
],
[
84,
85
],
[
84,
86
],
[
6,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
] | [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tStringBuilder sb=new StringBuilder(\"\");\n\t\t\n\t\tScanner n=new Scanner(System.in);\n\t\t\n\t\tint a=n.nextInt();\n\t\tint b=n.nextInt();\n\t\t\n\t\twhile (a!=0 || b!=0){\n\t\t\tfor (int c=0;c<a;c++){\n\t\t\t\tfor (int d=0;d<b;d++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(sb);\n\t\t\ta=n.nextInt();\n\t\t\tb=n.nextInt();\n\t\t\tsb=new StringBuilder(\"\");\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\tStringBuilder sb=new StringBuilder(\"\");\n\t\t\n\t\tScanner n=new Scanner(System.in);\n\t\t\n\t\tint a=n.nextInt();\n\t\tint b=n.nextInt();\n\t\t\n\t\twhile (a!=0 || b!=0){\n\t\t\tfor (int c=0;c<a;c++){\n\t\t\t\tfor (int d=0;d<b;d++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(sb);\n\t\t\ta=n.nextInt();\n\t\t\tb=n.nextInt();\n\t\t\tsb=new StringBuilder(\"\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tStringBuilder sb=new StringBuilder(\"\");\n\t\t\n\t\tScanner n=new Scanner(System.in);\n\t\t\n\t\tint a=n.nextInt();\n\t\tint b=n.nextInt();\n\t\t\n\t\twhile (a!=0 || b!=0){\n\t\t\tfor (int c=0;c<a;c++){\n\t\t\t\tfor (int d=0;d<b;d++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(sb);\n\t\t\ta=n.nextInt();\n\t\t\tb=n.nextInt();\n\t\t\tsb=new StringBuilder(\"\");\n\t\t}\n\t}",
"main",
"{\n\t\tStringBuilder sb=new StringBuilder(\"\");\n\t\t\n\t\tScanner n=new Scanner(System.in);\n\t\t\n\t\tint a=n.nextInt();\n\t\tint b=n.nextInt();\n\t\t\n\t\twhile (a!=0 || b!=0){\n\t\t\tfor (int c=0;c<a;c++){\n\t\t\t\tfor (int d=0;d<b;d++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(sb);\n\t\t\ta=n.nextInt();\n\t\t\tb=n.nextInt();\n\t\t\tsb=new StringBuilder(\"\");\n\t\t}\n\t}",
"StringBuilder sb=new StringBuilder(\"\");",
"sb",
"new StringBuilder(\"\")",
"Scanner n=new Scanner(System.in);",
"n",
"new Scanner(System.in)",
"int a=n.nextInt();",
"a",
"n.nextInt()",
"n.nextInt",
"n",
"int b=n.nextInt();",
"b",
"n.nextInt()",
"n.nextInt",
"n",
"while (a!=0 || b!=0){\n\t\t\tfor (int c=0;c<a;c++){\n\t\t\t\tfor (int d=0;d<b;d++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(sb);\n\t\t\ta=n.nextInt();\n\t\t\tb=n.nextInt();\n\t\t\tsb=new StringBuilder(\"\");\n\t\t}",
"a!=0 || b!=0",
"a!=0",
"a",
"0",
"b!=0",
"b",
"0",
"{\n\t\t\tfor (int c=0;c<a;c++){\n\t\t\t\tfor (int d=0;d<b;d++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(sb);\n\t\t\ta=n.nextInt();\n\t\t\tb=n.nextInt();\n\t\t\tsb=new StringBuilder(\"\");\n\t\t}",
"for (int c=0;c<a;c++){\n\t\t\t\tfor (int d=0;d<b;d++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t\n\t\t\t}",
"int c=0;",
"int c=0;",
"c",
"0",
"c<a",
"c",
"a",
"c++",
"c++",
"c",
"{\n\t\t\t\tfor (int d=0;d<b;d++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t\n\t\t\t}",
"{\n\t\t\t\tfor (int d=0;d<b;d++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t\n\t\t\t}",
"for (int d=0;d<b;d++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"int d=0;",
"int d=0;",
"d",
"0",
"d<b",
"d",
"b",
"d++",
"d++",
"d",
"{\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\"",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"a=n.nextInt()",
"a",
"n.nextInt()",
"n.nextInt",
"n",
"b=n.nextInt()",
"b",
"n.nextInt()",
"n.nextInt",
"n",
"sb=new StringBuilder(\"\")",
"sb",
"new StringBuilder(\"\")",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tStringBuilder sb=new StringBuilder(\"\");\n\t\t\n\t\tScanner n=new Scanner(System.in);\n\t\t\n\t\tint a=n.nextInt();\n\t\tint b=n.nextInt();\n\t\t\n\t\twhile (a!=0 || b!=0){\n\t\t\tfor (int c=0;c<a;c++){\n\t\t\t\tfor (int d=0;d<b;d++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(sb);\n\t\t\ta=n.nextInt();\n\t\t\tb=n.nextInt();\n\t\t\tsb=new StringBuilder(\"\");\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tStringBuilder sb=new StringBuilder(\"\");\n\t\t\n\t\tScanner n=new Scanner(System.in);\n\t\t\n\t\tint a=n.nextInt();\n\t\tint b=n.nextInt();\n\t\t\n\t\twhile (a!=0 || b!=0){\n\t\t\tfor (int c=0;c<a;c++){\n\t\t\t\tfor (int d=0;d<b;d++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(sb);\n\t\t\ta=n.nextInt();\n\t\t\tb=n.nextInt();\n\t\t\tsb=new StringBuilder(\"\");\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
StringBuilder sb=new StringBuilder("");
Scanner n=new Scanner(System.in);
int a=n.nextInt();
int b=n.nextInt();
while (a!=0 || b!=0){
for (int c=0;c<a;c++){
for (int d=0;d<b;d++){
sb.append("#");
}
sb.append("\n");
}
System.out.println(sb);
a=n.nextInt();
b=n.nextInt();
sb=new StringBuilder("");
}
}
} |
[
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,
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,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
118,
11
],
[
118,
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
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
26,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
26,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
26,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
62,
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
],
[
91,
92
],
[
91,
93
],
[
86,
94
],
[
94,
95
],
[
95,
96
],
[
86,
97
],
[
98,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
85,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
62,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
12,
115
],
[
115,
116
],
[
0,
117
],
[
117,
118
],
[
117,
119
]
] | [
"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 br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a = 0;\n\t\tint b = 0;\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\ta = Integer.parseInt(s[0]);\n\t\t\tb = Integer.parseInt(s[1]);\n\t\t\tif((a <= 300) &&(b <= 300)){\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\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}\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 br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a = 0;\n\t\tint b = 0;\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\ta = Integer.parseInt(s[0]);\n\t\t\tb = Integer.parseInt(s[1]);\n\t\t\tif((a <= 300) &&(b <= 300)){\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\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}\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a = 0;\n\t\tint b = 0;\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\ta = Integer.parseInt(s[0]);\n\t\t\tb = Integer.parseInt(s[1]);\n\t\t\tif((a <= 300) &&(b <= 300)){\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\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}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a = 0;\n\t\tint b = 0;\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\ta = Integer.parseInt(s[0]);\n\t\t\tb = Integer.parseInt(s[1]);\n\t\t\tif((a <= 300) &&(b <= 300)){\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\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}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int a = 0;",
"a",
"0",
"int b = 0;",
"b",
"0",
"while(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\ta = Integer.parseInt(s[0]);\n\t\t\tb = Integer.parseInt(s[1]);\n\t\t\tif((a <= 300) &&(b <= 300)){\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\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}",
"true",
"{\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\ta = Integer.parseInt(s[0]);\n\t\t\tb = Integer.parseInt(s[1]);\n\t\t\tif((a <= 300) &&(b <= 300)){\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\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}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] s = str.split(\" \");",
"s",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"a = Integer.parseInt(s[0])",
"a",
"Integer.parseInt(s[0])",
"Integer.parseInt",
"Integer",
"s[0]",
"s",
"0",
"b = Integer.parseInt(s[1])",
"b",
"Integer.parseInt(s[1])",
"Integer.parseInt",
"Integer",
"s[1]",
"s",
"1",
"if((a <= 300) &&(b <= 300)){\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\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}",
"(a <= 300) &&(b <= 300)",
"(a <= 300)",
"a",
"300",
"(b <= 300)",
"b",
"300",
"{\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\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((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"(a == 0)&&(b == 0)",
"(a == 0)",
"a",
"0",
"(b == 0)",
"b",
"0",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"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)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a = 0;\n\t\tint b = 0;\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\ta = Integer.parseInt(s[0]);\n\t\t\tb = Integer.parseInt(s[1]);\n\t\t\tif((a <= 300) &&(b <= 300)){\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\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}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a = 0;\n\t\tint b = 0;\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\ta = Integer.parseInt(s[0]);\n\t\t\tb = Integer.parseInt(s[1]);\n\t\t\tif((a <= 300) &&(b <= 300)){\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\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}\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));
int a = 0;
int b = 0;
while(true){
String str = br.readLine();
String[] s = str.split(" ");
a = Integer.parseInt(s[0]);
b = Integer.parseInt(s[1]);
if((a <= 300) &&(b <= 300)){
if((a == 0)&&(b == 0)){
break;
}
for(int i = 0; i < a; i++){
for(int j = 0; j < b; j++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
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,
14,
2,
2,
2,
2,
17,
13,
2,
13,
17,
2,
17,
13,
2,
13,
17,
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,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
104,
2
],
[
104,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
5,
11
],
[
11,
12
],
[
5,
13
],
[
13,
14
],
[
5,
15
],
[
15,
16
],
[
5,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
19,
40
],
[
40,
41
],
[
43,
42
],
[
50,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
50,
50
],
[
50,
51
],
[
50,
52
],
[
43,
53
],
[
53,
54
],
[
53,
55
],
[
40,
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
],
[
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
],
[
56,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
3,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
]
] | [
"public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint h, w, i, t;\n\t\t\nwhile(true){\n\t\th = scan.nextInt();\n\t\tw = scan.nextInt();\n\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\tif(1 <= h && h <= 300 && 1 <= w && w <= 300){\n\t\t\tfor(i = 0; i < h ; i++){\n\t\t\tfor(t = 0; t < w ; t++){\n\t\t\t\t\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\n\t\t\n\t\t}\n\t\t\n\t\t}\n\t\t}\n}\t",
"public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint h, w, i, t;\n\t\t\nwhile(true){\n\t\th = scan.nextInt();\n\t\tw = scan.nextInt();\n\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\tif(1 <= h && h <= 300 && 1 <= w && w <= 300){\n\t\t\tfor(i = 0; i < h ; i++){\n\t\t\tfor(t = 0; t < w ; t++){\n\t\t\t\t\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\n\t\t\n\t\t}\n\t\t\n\t\t}\n\t\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint h, w, i, t;\n\t\t\nwhile(true){\n\t\th = scan.nextInt();\n\t\tw = scan.nextInt();\n\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\tif(1 <= h && h <= 300 && 1 <= w && w <= 300){\n\t\t\tfor(i = 0; i < h ; i++){\n\t\t\tfor(t = 0; t < w ; t++){\n\t\t\t\t\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\n\t\t\n\t\t}\n\t\t\n\t\t}\n\t\t}",
"main",
"{\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint h, w, i, t;\n\t\t\nwhile(true){\n\t\th = scan.nextInt();\n\t\tw = scan.nextInt();\n\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\tif(1 <= h && h <= 300 && 1 <= w && w <= 300){\n\t\t\tfor(i = 0; i < h ; i++){\n\t\t\tfor(t = 0; t < w ; t++){\n\t\t\t\t\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\n\t\t\n\t\t}\n\t\t\n\t\t}\n\t\t}",
"java.util.Scanner scan = new java.util.Scanner(System.in);",
"scan",
"new java.util.Scanner(System.in)",
"int h",
"h",
"w",
"w",
"i",
"i",
"t;",
"t",
"while(true){\n\t\th = scan.nextInt();\n\t\tw = scan.nextInt();\n\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\tif(1 <= h && h <= 300 && 1 <= w && w <= 300){\n\t\t\tfor(i = 0; i < h ; i++){\n\t\t\tfor(t = 0; t < w ; t++){\n\t\t\t\t\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\n\t\t\n\t\t}\n\t\t\n\t\t}",
"true",
"{\n\t\th = scan.nextInt();\n\t\tw = scan.nextInt();\n\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\tif(1 <= h && h <= 300 && 1 <= w && w <= 300){\n\t\t\tfor(i = 0; i < h ; i++){\n\t\t\tfor(t = 0; t < w ; t++){\n\t\t\t\t\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\n\t\t\n\t\t}\n\t\t\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;",
"if(1 <= h && h <= 300 && 1 <= w && w <= 300){\n\t\t\tfor(i = 0; i < h ; i++){\n\t\t\tfor(t = 0; t < w ; t++){\n\t\t\t\t\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\n\t\t\n\t\t}",
"1 <= h && h <= 300 && 1 <= w && w <= 300",
"1 <= w",
"1 <= h && h <= 300 && 1 <= w && w <= 300",
"1 <= h",
"1",
"h",
"h <= 300",
"h",
"300",
"1 <= w",
"1",
"w",
"w <= 300",
"w",
"300",
"{\n\t\t\tfor(i = 0; i < h ; i++){\n\t\t\tfor(t = 0; t < w ; t++){\n\t\t\t\t\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\n\t\t\n\t\t}",
"for(i = 0; i < h ; i++){\n\t\t\tfor(t = 0; t < w ; t++){\n\t\t\t\t\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\t\n\t\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t\t\tfor(t = 0; t < w ; t++){\n\t\t\t\t\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\t\n\t\t\t}",
"{\n\t\t\tfor(t = 0; t < w ; t++){\n\t\t\t\t\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\t\n\t\t\t}",
"for(t = 0; t < w ; t++){\n\t\t\t\t\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\n\t\t\t}",
"t = 0;",
"t = 0",
"t",
"0",
"t < w",
"t",
"w",
"t++",
"t++",
"t",
"{\n\t\t\t\t\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\n\t\t\t}",
"{\n\t\t\t\t\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\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\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint h, w, i, t;\n\t\t\nwhile(true){\n\t\th = scan.nextInt();\n\t\tw = scan.nextInt();\n\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\tif(1 <= h && h <= 300 && 1 <= w && w <= 300){\n\t\t\tfor(i = 0; i < h ; i++){\n\t\t\tfor(t = 0; t < w ; t++){\n\t\t\t\t\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\n\t\t\n\t\t}\n\t\t\n\t\t}\n\t\t}\n}",
"public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint h, w, i, t;\n\t\t\nwhile(true){\n\t\th = scan.nextInt();\n\t\tw = scan.nextInt();\n\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\tif(1 <= h && h <= 300 && 1 <= w && w <= 300){\n\t\t\tfor(i = 0; i < h ; i++){\n\t\t\tfor(t = 0; t < w ; t++){\n\t\t\t\t\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\t\n\t\t\t}System.out.println(\"\");\n\t\t\n\t\t\n\t\t}\n\t\t\n\t\t}\n\t\t}\n}",
"Main"
] | public class Main {
public static void main(String[] args) {
java.util.Scanner scan = new java.util.Scanner(System.in);
int h, w, i, t;
while(true){
h = scan.nextInt();
w = scan.nextInt();
if(h == 0 && w == 0){
break;
}
if(1 <= h && h <= 300 && 1 <= w && w <= 300){
for(i = 0; i < h ; i++){
for(t = 0; t < w ; t++){
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,
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
] | [
[
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
],
[
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
],
[
17,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
9,
94
],
[
94,
95
]
] | [
"import java.util.Scanner;\nimport java.io.IOException;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tString[] strAry = scan.nextLine().split(\" \");\n\t\t\tint h = Integer.parseInt(strAry[0]);\n\t\t\tint w = Integer.parseInt(strAry[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.util.Scanner;",
"Scanner",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tString[] strAry = scan.nextLine().split(\" \");\n\t\t\tint h = Integer.parseInt(strAry[0]);\n\t\t\tint w = Integer.parseInt(strAry[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 IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tString[] strAry = scan.nextLine().split(\" \");\n\t\t\tint h = Integer.parseInt(strAry[0]);\n\t\t\tint w = Integer.parseInt(strAry[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\tScanner scan = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tString[] strAry = scan.nextLine().split(\" \");\n\t\t\tint h = Integer.parseInt(strAry[0]);\n\t\t\tint w = Integer.parseInt(strAry[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}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while (true) {\n\t\t\tString[] strAry = scan.nextLine().split(\" \");\n\t\t\tint h = Integer.parseInt(strAry[0]);\n\t\t\tint w = Integer.parseInt(strAry[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[] strAry = scan.nextLine().split(\" \");\n\t\t\tint h = Integer.parseInt(strAry[0]);\n\t\t\tint w = Integer.parseInt(strAry[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[] strAry = scan.nextLine().split(\" \");",
"strAry",
"scan.nextLine().split(\" \")",
"scan.nextLine().split",
"scan.nextLine()",
"scan.nextLine",
"scan",
"\" \"",
"int h = Integer.parseInt(strAry[0]);",
"h",
"Integer.parseInt(strAry[0])",
"Integer.parseInt",
"Integer",
"strAry[0]",
"strAry",
"0",
"int w = Integer.parseInt(strAry[1]);",
"w",
"Integer.parseInt(strAry[1])",
"Integer.parseInt",
"Integer",
"strAry[1]",
"strAry",
"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"
] | import java.util.Scanner;
import java.io.IOException;
class Main {
public static void main(String[] args) throws IOException {
Scanner scan = new Scanner(System.in);
while (true) {
String[] strAry = scan.nextLine().split(" ");
int h = Integer.parseInt(strAry[0]);
int w = Integer.parseInt(strAry[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,
17,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
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,
17,
4,
18,
18,
13,
13,
17,
30,
29,
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,
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
],
[
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
],
[
72,
77
],
[
39,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
31,
84
],
[
84,
85
],
[
6,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] | [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int H =0;\n int W =0;\n while(true){\n H = sc.nextInt();\n W = sc.nextInt();\n\n// System.out.println(\"\");\n if(H != 0 && W != 0){\n for(int i = 0; i < H ; i++){\n for(int j = 0; j < W ; j++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.println(\"\");\n }else{\n return;\n }\n\n}\n// sc.close();\n //System.exit(0);\n\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int H =0;\n int W =0;\n while(true){\n H = sc.nextInt();\n W = sc.nextInt();\n\n// System.out.println(\"\");\n if(H != 0 && W != 0){\n for(int i = 0; i < H ; i++){\n for(int j = 0; j < W ; j++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.println(\"\");\n }else{\n return;\n }\n\n}\n// sc.close();\n //System.exit(0);\n\n }\n\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int H =0;\n int W =0;\n while(true){\n H = sc.nextInt();\n W = sc.nextInt();\n\n// System.out.println(\"\");\n if(H != 0 && W != 0){\n for(int i = 0; i < H ; i++){\n for(int j = 0; j < W ; j++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.println(\"\");\n }else{\n return;\n }\n\n}\n// sc.close();\n //System.exit(0);\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int H =0;\n int W =0;\n while(true){\n H = sc.nextInt();\n W = sc.nextInt();\n\n// System.out.println(\"\");\n if(H != 0 && W != 0){\n for(int i = 0; i < H ; i++){\n for(int j = 0; j < W ; j++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.println(\"\");\n }else{\n return;\n }\n\n}\n// sc.close();\n //System.exit(0);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int H =0;",
"H",
"0",
"int W =0;",
"W",
"0",
"while(true){\n H = sc.nextInt();\n W = sc.nextInt();\n\n// System.out.println(\"\");\n if(H != 0 && W != 0){\n for(int i = 0; i < H ; i++){\n for(int j = 0; j < W ; j++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.println(\"\");\n }else{\n return;\n }\n\n}",
"true",
"{\n H = sc.nextInt();\n W = sc.nextInt();\n\n// System.out.println(\"\");\n if(H != 0 && W != 0){\n for(int i = 0; i < H ; i++){\n for(int j = 0; j < W ; j++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.println(\"\");\n }else{\n return;\n }\n\n}",
"H = sc.nextInt()",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"W = sc.nextInt()",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(H != 0 && W != 0){\n for(int i = 0; i < H ; i++){\n for(int j = 0; j < W ; j++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.println(\"\");\n }else{\n return;\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.print(\"#\");\n }\n System.out.print(\"\\n\");\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.print(\"\\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.print(\"#\");\n }\n System.out.print(\"\\n\");\n }",
"{\n for(int j = 0; j < W ; j++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\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.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"{\n return;\n }",
"return;",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int H =0;\n int W =0;\n while(true){\n H = sc.nextInt();\n W = sc.nextInt();\n\n// System.out.println(\"\");\n if(H != 0 && W != 0){\n for(int i = 0; i < H ; i++){\n for(int j = 0; j < W ; j++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.println(\"\");\n }else{\n return;\n }\n\n}\n// sc.close();\n //System.exit(0);\n\n }\n\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int H =0;\n int W =0;\n while(true){\n H = sc.nextInt();\n W = sc.nextInt();\n\n// System.out.println(\"\");\n if(H != 0 && W != 0){\n for(int i = 0; i < H ; i++){\n for(int j = 0; j < W ; j++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.println(\"\");\n }else{\n return;\n }\n\n}\n// sc.close();\n //System.exit(0);\n\n }\n\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int H =0;
int W =0;
while(true){
H = sc.nextInt();
W = sc.nextInt();
// System.out.println("");
if(H != 0 && W != 0){
for(int i = 0; i < H ; i++){
for(int j = 0; j < W ; j++){
System.out.print("#");
}
System.out.print("\n");
}
System.out.println("");
}else{
return;
}
}
// sc.close();
//System.exit(0);
}
}
|
[
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
] | [
[
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
],
[
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
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder str = new StringBuilder();\n\n\t\twhile (true) {\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\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\tstr.append(\"#\");\n\t\t\t\t}\n\t\t\t\tstr.append(\"\\n\");\n\t\t\t}\n\t\t\tstr.append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(str);\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder str = new StringBuilder();\n\n\t\twhile (true) {\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\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\tstr.append(\"#\");\n\t\t\t\t}\n\t\t\t\tstr.append(\"\\n\");\n\t\t\t}\n\t\t\tstr.append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(str);\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder str = new StringBuilder();\n\n\t\twhile (true) {\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\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\tstr.append(\"#\");\n\t\t\t\t}\n\t\t\t\tstr.append(\"\\n\");\n\t\t\t}\n\t\t\tstr.append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(str);\n\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder str = new StringBuilder();\n\n\t\twhile (true) {\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\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\tstr.append(\"#\");\n\t\t\t\t}\n\t\t\t\tstr.append(\"\\n\");\n\t\t\t}\n\t\t\tstr.append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(str);\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"StringBuilder str = new StringBuilder();",
"str",
"new StringBuilder()",
"while (true) {\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\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\tstr.append(\"#\");\n\t\t\t\t}\n\t\t\t\tstr.append(\"\\n\");\n\t\t\t}\n\t\t\tstr.append(\"\\n\");\n\t\t}",
"true",
"{\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\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\tstr.append(\"#\");\n\t\t\t\t}\n\t\t\t\tstr.append(\"\\n\");\n\t\t\t}\n\t\t\tstr.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\tstr.append(\"#\");\n\t\t\t\t}\n\t\t\t\tstr.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\tstr.append(\"#\");\n\t\t\t\t}\n\t\t\t\tstr.append(\"\\n\");\n\t\t\t}",
"{\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tstr.append(\"#\");\n\t\t\t\t}\n\t\t\t\tstr.append(\"\\n\");\n\t\t\t}",
"for (int j = 0; j < w; j++) {\n\t\t\t\t\tstr.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\tstr.append(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tstr.append(\"#\");\n\t\t\t\t}",
"str.append(\"#\")",
"str.append",
"str",
"\"#\"",
"str.append(\"\\n\")",
"str.append",
"str",
"\"\\n\"",
"str.append(\"\\n\")",
"str.append",
"str",
"\"\\n\"",
"System.out.print(str)",
"System.out.print",
"System.out",
"System",
"System.out",
"str",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
StringBuilder str = new StringBuilder();
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++) {
str.append("#");
}
str.append("\n");
}
str.append("\n");
}
System.out.print(str);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
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,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
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,
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
],
[
124,
5
],
[
124,
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
],
[
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
],
[
8,
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
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
64,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
64,
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
],
[
95,
96
],
[
95,
97
],
[
90,
98
],
[
98,
99
],
[
99,
100
],
[
90,
101
],
[
102,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
89,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
64,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
6,
121
],
[
121,
122
],
[
0,
123
],
[
123,
124
],
[
123,
125
]
] | [
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\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 k = 0; k < listH.size(); k++){\n\t\t\tint h = listH.get(k);\n\t\t\tint w = listW.get(k);\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",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\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 k = 0; k < listH.size(); k++){\n\t\t\tint h = listH.get(k);\n\t\t\tint w = listW.get(k);\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){\n\t\tScanner scan = new Scanner(System.in);\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 k = 0; k < listH.size(); k++){\n\t\t\tint h = listH.get(k);\n\t\t\tint w = listW.get(k);\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\tScanner scan = new Scanner(System.in);\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 k = 0; k < listH.size(); k++){\n\t\t\tint h = listH.get(k);\n\t\t\tint w = listW.get(k);\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}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"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 k = 0; k < listH.size(); k++){\n\t\t\tint h = listH.get(k);\n\t\t\tint w = listW.get(k);\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 k = 0;",
"int k = 0;",
"k",
"0",
"k < listH.size()",
"k",
"listH.size()",
"listH.size",
"listH",
"k++",
"k++",
"k",
"{\n\t\t\tint h = listH.get(k);\n\t\t\tint w = listW.get(k);\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\t\tint h = listH.get(k);\n\t\t\tint w = listW.get(k);\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 = listH.get(k);",
"h",
"listH.get(k)",
"listH.get",
"listH",
"k",
"int w = listW.get(k);",
"w",
"listW.get(k)",
"listW.get",
"listW",
"k",
"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\tScanner scan = new Scanner(System.in);\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 k = 0; k < listH.size(); k++){\n\t\t\tint h = listH.get(k);\n\t\t\tint w = listW.get(k);\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){\n\t\tScanner scan = new Scanner(System.in);\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 k = 0; k < listH.size(); k++){\n\t\t\tint h = listH.get(k);\n\t\t\tint w = listW.get(k);\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.util.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
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 k = 0; k < listH.size(); k++){
int h = listH.get(k);
int w = listW.get(k);
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,
42,
40,
4,
18,
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,
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
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
22,
29
],
[
20,
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
],
[
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
],
[
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
],
[
65,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
30,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
12,
95
],
[
95,
96
]
] | [
"//Structured Program I - Print a Rectangle\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString input;\n\t\t\n\t\t while (!(input = in.readLine()).equals(\"0 0\")) {\n\n\t\t\t String[] HW = input.split(\" \");\n\n\t\t\t int H = Integer.parseInt(HW[0]);\n\t\t\t int W = Integer.parseInt(HW[1]);\n\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 }\n\t\t\t\t System.out.println();\n\t\t\t }\n\t\t\t System.out.println();\n\t\t\t \n\t\t }\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString input;\n\t\t\n\t\t while (!(input = in.readLine()).equals(\"0 0\")) {\n\n\t\t\t String[] HW = input.split(\" \");\n\n\t\t\t int H = Integer.parseInt(HW[0]);\n\t\t\t int W = Integer.parseInt(HW[1]);\n\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 }\n\t\t\t\t System.out.println();\n\t\t\t }\n\t\t\t System.out.println();\n\t\t\t \n\t\t }\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString input;\n\t\t\n\t\t while (!(input = in.readLine()).equals(\"0 0\")) {\n\n\t\t\t String[] HW = input.split(\" \");\n\n\t\t\t int H = Integer.parseInt(HW[0]);\n\t\t\t int W = Integer.parseInt(HW[1]);\n\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 }\n\t\t\t\t System.out.println();\n\t\t\t }\n\t\t\t System.out.println();\n\t\t\t \n\t\t }\n\n\t}",
"main",
"{\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString input;\n\t\t\n\t\t while (!(input = in.readLine()).equals(\"0 0\")) {\n\n\t\t\t String[] HW = input.split(\" \");\n\n\t\t\t int H = Integer.parseInt(HW[0]);\n\t\t\t int W = Integer.parseInt(HW[1]);\n\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 }\n\t\t\t\t System.out.println();\n\t\t\t }\n\t\t\t System.out.println();\n\t\t\t \n\t\t }\n\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"String input;",
"input",
"while (!(input = in.readLine()).equals(\"0 0\")) {\n\n\t\t\t String[] HW = input.split(\" \");\n\n\t\t\t int H = Integer.parseInt(HW[0]);\n\t\t\t int W = Integer.parseInt(HW[1]);\n\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 }\n\t\t\t\t System.out.println();\n\t\t\t }\n\t\t\t System.out.println();\n\t\t\t \n\t\t }",
"!(input = in.readLine()).equals(\"0 0\")",
"(input = in.readLine()).equals(\"0 0\")",
"(input = in.readLine()).equals",
"(input = in.readLine())",
"input",
"in.readLine()",
"in.readLine",
"in",
"\"0 0\"",
"{\n\n\t\t\t String[] HW = input.split(\" \");\n\n\t\t\t int H = Integer.parseInt(HW[0]);\n\t\t\t int W = Integer.parseInt(HW[1]);\n\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 }\n\t\t\t\t System.out.println();\n\t\t\t }\n\t\t\t System.out.println();\n\t\t\t \n\t\t }",
"String[] HW = input.split(\" \");",
"HW",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"int H = Integer.parseInt(HW[0]);",
"H",
"Integer.parseInt(HW[0])",
"Integer.parseInt",
"Integer",
"HW[0]",
"HW",
"0",
"int W = Integer.parseInt(HW[1]);",
"W",
"Integer.parseInt(HW[1])",
"Integer.parseInt",
"Integer",
"HW[1]",
"HW",
"1",
"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 }\n\t\t\t\t System.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\t for(int j=0;j<W;j++){\n\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t }\n\t\t\t\t System.out.println();\n\t\t\t }",
"{\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 }\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 }",
"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 }",
"{\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"
] | //Structured Program I - Print a Rectangle
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String input;
while (!(input = in.readLine()).equals("0 0")) {
String[] HW = input.split(" ");
int H = Integer.parseInt(HW[0]);
int W = Integer.parseInt(HW[1]);
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,
41,
13,
17,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
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,
13,
13,
4,
18,
13,
13,
4,
18,
13,
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
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
29,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
23,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
23,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
23,
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
],
[
83,
86
],
[
69,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
23,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
8,
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 Exception {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\tchar p='#',n='\\n';\n\t\twhile(true){\n\t\t\tString s=br.readLine();\n\t\t\tif(s.equals(\"0 0\")) break;\n\t\t\tString[] a=s.split(\" \");\n\t\t\tint H=Integer.parseInt(a[0]);\n\t int W=Integer.parseInt(a[1]);\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(p);\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.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\tStringBuilder sb=new StringBuilder();\n\t\tchar p='#',n='\\n';\n\t\twhile(true){\n\t\t\tString s=br.readLine();\n\t\t\tif(s.equals(\"0 0\")) break;\n\t\t\tString[] a=s.split(\" \");\n\t\t\tint H=Integer.parseInt(a[0]);\n\t int W=Integer.parseInt(a[1]);\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(p);\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) throws Exception {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\tchar p='#',n='\\n';\n\t\twhile(true){\n\t\t\tString s=br.readLine();\n\t\t\tif(s.equals(\"0 0\")) break;\n\t\t\tString[] a=s.split(\" \");\n\t\t\tint H=Integer.parseInt(a[0]);\n\t int W=Integer.parseInt(a[1]);\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(p);\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\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\tchar p='#',n='\\n';\n\t\twhile(true){\n\t\t\tString s=br.readLine();\n\t\t\tif(s.equals(\"0 0\")) break;\n\t\t\tString[] a=s.split(\" \");\n\t\t\tint H=Integer.parseInt(a[0]);\n\t int W=Integer.parseInt(a[1]);\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(p);\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}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb=new StringBuilder();",
"sb",
"new StringBuilder()",
"char p='#'",
"p",
"'#'",
"n='\\n';",
"n",
"'\\n'",
"while(true){\n\t\t\tString s=br.readLine();\n\t\t\tif(s.equals(\"0 0\")) break;\n\t\t\tString[] a=s.split(\" \");\n\t\t\tint H=Integer.parseInt(a[0]);\n\t int W=Integer.parseInt(a[1]);\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(p);\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\tString s=br.readLine();\n\t\t\tif(s.equals(\"0 0\")) break;\n\t\t\tString[] a=s.split(\" \");\n\t\t\tint H=Integer.parseInt(a[0]);\n\t int W=Integer.parseInt(a[1]);\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(p);\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}",
"String s=br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"if(s.equals(\"0 0\")) break;",
"s.equals(\"0 0\")",
"s.equals",
"s",
"\"0 0\"",
"break;",
"String[] a=s.split(\" \");",
"a",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"int H=Integer.parseInt(a[0]);",
"H",
"Integer.parseInt(a[0])",
"Integer.parseInt",
"Integer",
"a[0]",
"a",
"0",
"int W=Integer.parseInt(a[1]);",
"W",
"Integer.parseInt(a[1])",
"Integer.parseInt",
"Integer",
"a[1]",
"a",
"1",
"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(p);\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(p);\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(p);\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(p);\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(p);\n\t\t\t\t}",
"{\n\t\t\t\t\tsb.append(p);\n\t\t\t\t}",
"sb.append(p)",
"sb.append",
"sb",
"p",
"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.io.*;
class Main {
public static void main(String[] args) throws Exception {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb=new StringBuilder();
char p='#',n='\n';
while(true){
String s=br.readLine();
if(s.equals("0 0")) break;
String[] a=s.split(" ");
int H=Integer.parseInt(a[0]);
int W=Integer.parseInt(a[1]);
for(int i=0;i<H;i++){
for(int j=0;j<W;j++){
sb.append(p);
}
sb.append(n);
}
sb.append(n);
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
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,
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
],
[
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
],
[
94,
20
],
[
94,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
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
],
[
29,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
29,
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
],
[
29,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
21,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
] | [
"import java.io.File;\nimport java.io.IOException;\nimport java.util.ArrayDeque;\nimport java.util.ArrayList;\nimport java.util.Deque;\nimport java.util.Scanner;\n\npublic class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\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\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\t}\n}",
"import java.io.File;",
"File",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.ArrayDeque;",
"ArrayDeque",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Deque;",
"Deque",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\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\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\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\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\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\t}",
"main",
"{\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\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\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\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",
"String[] args",
"args",
"public class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\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\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\t}\n}",
"public class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\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\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\t}\n}",
"Main"
] | import java.io.File;
import java.io.IOException;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
//File file = new File("input.txt");
//Scanner sc = new Scanner(file);
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();
}
}
}
|
[
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,
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
],
[
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
],
[
36,
37
],
[
17,
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
],
[
17,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
8,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
6,
82
],
[
82,
83
]
] | [
"import java.util.Scanner;\n\nclass Main {\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n\n while(true) {\n int H = scan.nextInt();\n int W = scan.nextInt();\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 sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n\n while(true) {\n int H = scan.nextInt();\n int W = scan.nextInt();\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 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[]) {\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n\n while(true) {\n int H = scan.nextInt();\n int W = scan.nextInt();\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 sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n\n while(true) {\n int H = scan.nextInt();\n int W = scan.nextInt();\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 sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true) {\n int H = scan.nextInt();\n int W = scan.nextInt();\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 sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }",
"true",
"{\n int H = scan.nextInt();\n int W = scan.nextInt();\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 sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }",
"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 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 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 j = 0;j < W; j++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }",
"{\n for (int j = 0;j < W; j++) {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }",
"for (int j = 0;j < W; j++) {\n sb.append(\"#\");\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\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"
] | import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
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++) {
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,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
4,
13,
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,
14,
2,
13,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
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
],
[
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
],
[
38,
40
],
[
38,
41
],
[
6,
42
],
[
42,
43
],
[
101,
44
],
[
44,
45
],
[
44,
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
],
[
72,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
79,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
46,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
44,
96
],
[
96,
97
],
[
44,
98
],
[
98,
99
],
[
0,
100
],
[
100,
101
],
[
100,
102
]
] | [
"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\t\tint H;\n\t\tint W;\n\n\t\twhile (true) {\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\n\t\t\tprintRectangle(H, W);\n\n\t\t}\n\n\t}\n\n\tpublic static void printRectangle(int H, int W) {\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\n\t\t\t\tif (j == (W - 1))\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\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;\n\t\tint W;\n\n\t\twhile (true) {\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\n\t\t\tprintRectangle(H, W);\n\n\t\t}\n\n\t}\n\n\tpublic static void printRectangle(int H, int W) {\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\n\t\t\t\tif (j == (W - 1))\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint H;\n\t\tint W;\n\n\t\twhile (true) {\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\n\t\t\tprintRectangle(H, W);\n\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint H;\n\t\tint W;\n\n\t\twhile (true) {\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\n\t\t\tprintRectangle(H, W);\n\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int H;",
"H",
"int W;",
"W",
"while (true) {\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\n\t\t\tprintRectangle(H, W);\n\n\t\t}",
"true",
"{\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\n\t\t\tprintRectangle(H, W);\n\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)\n\t\t\t\tbreak;",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"break;",
"printRectangle(H, W)",
"printRectangle",
"H",
"W",
"String[] args",
"args",
"public static void printRectangle(int H, int W) {\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\n\t\t\t\tif (j == (W - 1))\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}",
"printRectangle",
"{\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\n\t\t\t\tif (j == (W - 1))\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\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\n\t\t\t\tif (j == (W - 1))\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\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\n\t\t\t\tif (j == (W - 1))\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\tif (j == (W - 1))\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}",
"for (int j = 0; j < W; j++) {\n\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\tif (j == (W - 1))\n\t\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\t\tSystem.out.print(\"#\");\n\n\t\t\t\tif (j == (W - 1))\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\tif (j == (W - 1))\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"if (j == (W - 1))\n\t\t\t\t\tSystem.out.println(\"\");",
"j == (W - 1)",
"j",
"(W - 1)",
"W",
"1",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"int H",
"H",
"int W",
"W",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint H;\n\t\tint W;\n\n\t\twhile (true) {\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\n\t\t\tprintRectangle(H, W);\n\n\t\t}\n\n\t}\n\n\tpublic static void printRectangle(int H, int W) {\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\n\t\t\t\tif (j == (W - 1))\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\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;\n\t\tint W;\n\n\t\twhile (true) {\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\n\t\t\tprintRectangle(H, W);\n\n\t\t}\n\n\t}\n\n\tpublic static void printRectangle(int H, int W) {\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\n\t\t\t\tif (j == (W - 1))\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\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;
int W;
while (true) {
H = sc.nextInt();
W = sc.nextInt();
if (H == 0 && W == 0)
break;
printRectangle(H, W);
}
}
public static void printRectangle(int H, int W) {
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
System.out.print("#");
if (j == (W - 1))
System.out.println("");
}
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
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,
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
],
[
86,
5
],
[
86,
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
],
[
19,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
19,
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
],
[
19,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
6,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i,v;\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\tfor(i = 1; i <= h; ++i){\n\t\t\t\tfor(v = 1; v <= w; ++v){\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}\t",
"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 i,v;\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\tfor(i = 1; i <= h; ++i){\n\t\t\t\tfor(v = 1; v <= w; ++v){\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\tScanner scan = new Scanner(System.in);\n\t\tint i,v;\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\tfor(i = 1; i <= h; ++i){\n\t\t\t\tfor(v = 1; v <= w; ++v){\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 i,v;\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\tfor(i = 1; i <= h; ++i){\n\t\t\t\tfor(v = 1; v <= w; ++v){\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 i",
"i",
"v;",
"v",
"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\tfor(i = 1; i <= h; ++i){\n\t\t\t\tfor(v = 1; v <= w; ++v){\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\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\tfor(i = 1; i <= h; ++i){\n\t\t\t\tfor(v = 1; v <= w; ++v){\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\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\tfor(i = 1; i <= h; ++i){\n\t\t\t\tfor(v = 1; v <= w; ++v){\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 = 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(i = 1; i <= h; ++i){\n\t\t\t\tfor(v = 1; v <= w; ++v){\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 = 1;",
"i = 1",
"i",
"1",
"i <= h",
"i",
"h",
"++i",
"++i",
"i",
"{\n\t\t\t\tfor(v = 1; v <= w; ++v){\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(v = 1; v <= w; ++v){\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(v = 1; v <= w; ++v){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"v = 1;",
"v = 1",
"v",
"1",
"v <= w",
"v",
"w",
"++v",
"++v",
"v",
"{\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 i,v;\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\tfor(i = 1; i <= h; ++i){\n\t\t\t\tfor(v = 1; v <= w; ++v){\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\tScanner scan = new Scanner(System.in);\n\t\tint i,v;\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\tfor(i = 1; i <= h; ++i){\n\t\t\t\tfor(v = 1; v <= w; ++v){\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 scan = new Scanner(System.in);
int i,v;
for(;;){
int h = scan.nextInt();
int w = scan.nextInt();
if(h == 0 && w == 0)
break;
for(i = 1; i <= h; ++i){
for(v = 1; v <= w; ++v){
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
42,
17,
30,
0,
13,
4,
18,
13,
0,
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,
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
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
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
],
[
29,
35
],
[
18,
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
],
[
18,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
8,
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\tpublic static void main(String[] args) {\n\n\t\tint g,r;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true)\n\t\t{\n\t\t\tg = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\n\t\t\tif( (g|r) == 0) break;\n\n\t\t\tfor(int i=0; i<g; i++)\n\t\t\t{\n\t\t\t\tfor(int j=0; j<r; j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\n\t\t}\n\n\t\tscan.close();\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tint g,r;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true)\n\t\t{\n\t\t\tg = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\n\t\t\tif( (g|r) == 0) break;\n\n\t\t\tfor(int i=0; i<g; i++)\n\t\t\t{\n\t\t\t\tfor(int j=0; j<r; j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\n\t\t}\n\n\t\tscan.close();\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tint g,r;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true)\n\t\t{\n\t\t\tg = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\n\t\t\tif( (g|r) == 0) break;\n\n\t\t\tfor(int i=0; i<g; i++)\n\t\t\t{\n\t\t\t\tfor(int j=0; j<r; j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\n\t\t}\n\n\t\tscan.close();\n\n\t}",
"main",
"{\n\n\t\tint g,r;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true)\n\t\t{\n\t\t\tg = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\n\t\t\tif( (g|r) == 0) break;\n\n\t\t\tfor(int i=0; i<g; i++)\n\t\t\t{\n\t\t\t\tfor(int j=0; j<r; j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\n\t\t}\n\n\t\tscan.close();\n\n\t}",
"int g",
"g",
"r;",
"r",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true)\n\t\t{\n\t\t\tg = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\n\t\t\tif( (g|r) == 0) break;\n\n\t\t\tfor(int i=0; i<g; i++)\n\t\t\t{\n\t\t\t\tfor(int j=0; j<r; j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\n\t\t}",
"true",
"{\n\t\t\tg = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\n\t\t\tif( (g|r) == 0) break;\n\n\t\t\tfor(int i=0; i<g; i++)\n\t\t\t{\n\t\t\t\tfor(int j=0; j<r; j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\n\t\t}",
"g = scan.nextInt()",
"g",
"scan.nextInt()",
"scan.nextInt",
"scan",
"r = scan.nextInt()",
"r",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if( (g|r) == 0) break;",
"(g|r) == 0",
"(g|r)",
"g",
"r",
"0",
"break;",
"for(int i=0; i<g; i++)\n\t\t\t{\n\t\t\t\tfor(int j=0; j<r; j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<g",
"i",
"g",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j=0; j<r; j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"{\n\t\t\t\tfor(int j=0; j<r; j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"for(int j=0; j<r; j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<r",
"j",
"r",
"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",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tint g,r;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true)\n\t\t{\n\t\t\tg = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\n\t\t\tif( (g|r) == 0) break;\n\n\t\t\tfor(int i=0; i<g; i++)\n\t\t\t{\n\t\t\t\tfor(int j=0; j<r; j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\n\t\t}\n\n\t\tscan.close();\n\n\t}\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tint g,r;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true)\n\t\t{\n\t\t\tg = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\n\t\t\tif( (g|r) == 0) break;\n\n\t\t\tfor(int i=0; i<g; i++)\n\t\t\t{\n\t\t\t\tfor(int j=0; j<r; j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\n\t\t}\n\n\t\tscan.close();\n\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
int g,r;
Scanner scan = new Scanner(System.in);
while(true)
{
g = scan.nextInt();
r = scan.nextInt();
if( (g|r) == 0) break;
for(int i=0; i<g; i++)
{
for(int j=0; j<r; j++)
{
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
scan.close();
}
} |
[
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,
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,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
4,
18,
13,
17,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
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
],
[
132,
11
],
[
132,
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
],
[
45,
54
],
[
54,
55
],
[
54,
56
],
[
54,
57
],
[
12,
58
],
[
58,
59
],
[
132,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
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
],
[
79,
82
],
[
62,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
62,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
62,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
95,
99
],
[
99,
100
],
[
100,
101
],
[
62,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
107,
108
],
[
107,
109
],
[
102,
110
],
[
110,
111
],
[
111,
112
],
[
102,
113
],
[
114,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
62,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
124,
125
],
[
125,
126
],
[
60,
127
],
[
127,
128
],
[
60,
129
],
[
129,
130
],
[
0,
131
],
[
131,
132
],
[
131,
133
]
] | [
"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 br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\tlong h = Long.parseLong(tmp[0]);\n\t\t\tlong w = Long.parseLong(tmp[1]);\n\t\t\tif(h == 0 && w == 0)break;\n\t\t\telse write(h, w);\n\t\t}\n\t}\n\t\n\tprivate static void write(long h, long w){\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor(int i = 0;i < w;i++){\n\t\t\tsb.append(\"#\");\n\t\t}\n\t\tsb.append(String.format(\"%n\"));\n\t\tString line = sb.toString();\n\t\tsb.delete(0, sb.length());\n\t\tfor(int i = 0;i < h;i++){\n\t\t\tsb.append(line);\n\t\t}\n\t\tSystem.out.println(sb.toString());\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 br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\tlong h = Long.parseLong(tmp[0]);\n\t\t\tlong w = Long.parseLong(tmp[1]);\n\t\t\tif(h == 0 && w == 0)break;\n\t\t\telse write(h, w);\n\t\t}\n\t}\n\t\n\tprivate static void write(long h, long w){\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor(int i = 0;i < w;i++){\n\t\t\tsb.append(\"#\");\n\t\t}\n\t\tsb.append(String.format(\"%n\"));\n\t\tString line = sb.toString();\n\t\tsb.delete(0, sb.length());\n\t\tfor(int i = 0;i < h;i++){\n\t\t\tsb.append(line);\n\t\t}\n\t\tSystem.out.println(sb.toString());\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[] tmp = br.readLine().split(\" \");\n\t\t\tlong h = Long.parseLong(tmp[0]);\n\t\t\tlong w = Long.parseLong(tmp[1]);\n\t\t\tif(h == 0 && w == 0)break;\n\t\t\telse write(h, w);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\tlong h = Long.parseLong(tmp[0]);\n\t\t\tlong w = Long.parseLong(tmp[1]);\n\t\t\tif(h == 0 && w == 0)break;\n\t\t\telse write(h, w);\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[] tmp = br.readLine().split(\" \");\n\t\t\tlong h = Long.parseLong(tmp[0]);\n\t\t\tlong w = Long.parseLong(tmp[1]);\n\t\t\tif(h == 0 && w == 0)break;\n\t\t\telse write(h, w);\n\t\t}",
"true",
"{\n\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\tlong h = Long.parseLong(tmp[0]);\n\t\t\tlong w = Long.parseLong(tmp[1]);\n\t\t\tif(h == 0 && w == 0)break;\n\t\t\telse write(h, w);\n\t\t}",
"String[] tmp = br.readLine().split(\" \");",
"tmp",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"long h = Long.parseLong(tmp[0]);",
"h",
"Long.parseLong(tmp[0])",
"Long.parseLong",
"Long",
"tmp[0]",
"tmp",
"0",
"long w = Long.parseLong(tmp[1]);",
"w",
"Long.parseLong(tmp[1])",
"Long.parseLong",
"Long",
"tmp[1]",
"tmp",
"1",
"if(h == 0 && w == 0)break;\n\t\t\telse write(h, w);",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"break;",
"write(h, w)",
"write",
"h",
"w",
"String[] args",
"args",
"private static void write(long h, long w){\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor(int i = 0;i < w;i++){\n\t\t\tsb.append(\"#\");\n\t\t}\n\t\tsb.append(String.format(\"%n\"));\n\t\tString line = sb.toString();\n\t\tsb.delete(0, sb.length());\n\t\tfor(int i = 0;i < h;i++){\n\t\t\tsb.append(line);\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}",
"write",
"{\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor(int i = 0;i < w;i++){\n\t\t\tsb.append(\"#\");\n\t\t}\n\t\tsb.append(String.format(\"%n\"));\n\t\tString line = sb.toString();\n\t\tsb.delete(0, sb.length());\n\t\tfor(int i = 0;i < h;i++){\n\t\t\tsb.append(line);\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for(int i = 0;i < w;i++){\n\t\t\tsb.append(\"#\");\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < w",
"i",
"w",
"i++",
"i++",
"i",
"{\n\t\t\tsb.append(\"#\");\n\t\t}",
"{\n\t\t\tsb.append(\"#\");\n\t\t}",
"sb.append(\"#\")",
"sb.append",
"sb",
"\"#\"",
"sb.append(String.format(\"%n\"))",
"sb.append",
"sb",
"String.format(\"%n\")",
"String.format",
"String",
"\"%n\"",
"String line = sb.toString();",
"line",
"sb.toString()",
"sb.toString",
"sb",
"sb.delete(0, sb.length())",
"sb.delete",
"sb",
"0",
"sb.length()",
"sb.length",
"sb",
"for(int i = 0;i < h;i++){\n\t\t\tsb.append(line);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t\t\tsb.append(line);\n\t\t}",
"{\n\t\t\tsb.append(line);\n\t\t}",
"sb.append(line)",
"sb.append",
"sb",
"line",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"long h",
"h",
"long w",
"w",
"public 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[] tmp = br.readLine().split(\" \");\n\t\t\tlong h = Long.parseLong(tmp[0]);\n\t\t\tlong w = Long.parseLong(tmp[1]);\n\t\t\tif(h == 0 && w == 0)break;\n\t\t\telse write(h, w);\n\t\t}\n\t}\n\t\n\tprivate static void write(long h, long w){\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor(int i = 0;i < w;i++){\n\t\t\tsb.append(\"#\");\n\t\t}\n\t\tsb.append(String.format(\"%n\"));\n\t\tString line = sb.toString();\n\t\tsb.delete(0, sb.length());\n\t\tfor(int i = 0;i < h;i++){\n\t\t\tsb.append(line);\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n}",
"public 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[] tmp = br.readLine().split(\" \");\n\t\t\tlong h = Long.parseLong(tmp[0]);\n\t\t\tlong w = Long.parseLong(tmp[1]);\n\t\t\tif(h == 0 && w == 0)break;\n\t\t\telse write(h, w);\n\t\t}\n\t}\n\t\n\tprivate static void write(long h, long w){\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor(int i = 0;i < w;i++){\n\t\t\tsb.append(\"#\");\n\t\t}\n\t\tsb.append(String.format(\"%n\"));\n\t\tString line = sb.toString();\n\t\tsb.delete(0, sb.length());\n\t\tfor(int i = 0;i < h;i++){\n\t\t\tsb.append(line);\n\t\t}\n\t\tSystem.out.println(sb.toString());\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[] tmp = br.readLine().split(" ");
long h = Long.parseLong(tmp[0]);
long w = Long.parseLong(tmp[1]);
if(h == 0 && w == 0)break;
else write(h, w);
}
}
private static void write(long h, long w){
StringBuilder sb = new StringBuilder();
for(int i = 0;i < w;i++){
sb.append("#");
}
sb.append(String.format("%n"));
String line = sb.toString();
sb.delete(0, sb.length());
for(int i = 0;i < h;i++){
sb.append(line);
}
System.out.println(sb.toString());
}
} |
[
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,
14,
2,
13,
17,
3,
41,
13,
20,
4,
18,
13,
13,
4,
18,
13,
28,
13,
13,
30,
30,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
103,
11
],
[
103,
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
],
[
23,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
23,
39
],
[
39,
40
],
[
39,
41
],
[
23,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
14,
46
],
[
46,
47
],
[
47,
48
],
[
14,
49
],
[
49,
50
],
[
49,
51
],
[
49,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
54,
64
],
[
64,
65
],
[
65,
66
],
[
54,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
69,
79
],
[
79,
80
],
[
80,
81
],
[
69,
82
],
[
83,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
68,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
53,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
12,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
] | [
"import 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\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tList<int[]> hws = new ArrayList<>();\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;\t// 1 <=H.W<= 300\n\t\t\t\n\t\t\tint[] hw = new int[]{H, W};\n\t\t\thws.add(hw);\n\t\t\t\n\t\t}\n\t\tsc.close();\n\t\t\n\t\tfor(int[] hw : hws) {\n\t\t\t\n\t\t\tfor(int hh = 0; hh < hw[0]; hh++) {\n\t\t\t\tfor(int ww = 0; ww < hw[1]; ww++) {\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.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\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tList<int[]> hws = new ArrayList<>();\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;\t// 1 <=H.W<= 300\n\t\t\t\n\t\t\tint[] hw = new int[]{H, W};\n\t\t\thws.add(hw);\n\t\t\t\n\t\t}\n\t\tsc.close();\n\t\t\n\t\tfor(int[] hw : hws) {\n\t\t\t\n\t\t\tfor(int hh = 0; hh < hw[0]; hh++) {\n\t\t\t\tfor(int ww = 0; ww < hw[1]; ww++) {\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\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tList<int[]> hws = new ArrayList<>();\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;\t// 1 <=H.W<= 300\n\t\t\t\n\t\t\tint[] hw = new int[]{H, W};\n\t\t\thws.add(hw);\n\t\t\t\n\t\t}\n\t\tsc.close();\n\t\t\n\t\tfor(int[] hw : hws) {\n\t\t\t\n\t\t\tfor(int hh = 0; hh < hw[0]; hh++) {\n\t\t\t\tfor(int ww = 0; ww < hw[1]; ww++) {\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\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tList<int[]> hws = new ArrayList<>();\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;\t// 1 <=H.W<= 300\n\t\t\t\n\t\t\tint[] hw = new int[]{H, W};\n\t\t\thws.add(hw);\n\t\t\t\n\t\t}\n\t\tsc.close();\n\t\t\n\t\tfor(int[] hw : hws) {\n\t\t\t\n\t\t\tfor(int hh = 0; hh < hw[0]; hh++) {\n\t\t\t\tfor(int ww = 0; ww < hw[1]; ww++) {\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 sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"List<int[]> hws = new ArrayList<>();",
"hws",
"new ArrayList<>()",
"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;\t// 1 <=H.W<= 300\n\t\t\t\n\t\t\tint[] hw = new int[]{H, W};\n\t\t\thws.add(hw);\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\t\n\t\t\tif(H == 0) break;\t// 1 <=H.W<= 300\n\t\t\t\n\t\t\tint[] hw = new int[]{H, W};\n\t\t\thws.add(hw);\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) break;\t// 1 <=H.W<= 300",
"H == 0",
"H",
"0",
"break;\t// 1 <=H.W<= 300",
"int[] hw = new int[]{H, W};",
"hw",
"new int[]{H, W}",
"hws.add(hw)",
"hws.add",
"hws",
"hw",
"sc.close()",
"sc.close",
"sc",
"for(int[] hw : hws) {\n\t\t\t\n\t\t\tfor(int hh = 0; hh < hw[0]; hh++) {\n\t\t\t\tfor(int ww = 0; ww < hw[1]; ww++) {\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[] hw",
"hws",
"{\n\t\t\t\n\t\t\tfor(int hh = 0; hh < hw[0]; hh++) {\n\t\t\t\tfor(int ww = 0; ww < hw[1]; ww++) {\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\t\n\t\t\tfor(int hh = 0; hh < hw[0]; hh++) {\n\t\t\t\tfor(int ww = 0; ww < hw[1]; ww++) {\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 hh = 0; hh < hw[0]; hh++) {\n\t\t\t\tfor(int ww = 0; ww < hw[1]; ww++) {\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 hh = 0;",
"int hh = 0;",
"hh",
"0",
"hh < hw[0]",
"hh",
"hw[0]",
"hw",
"0",
"hh++",
"hh++",
"hh",
"{\n\t\t\t\tfor(int ww = 0; ww < hw[1]; ww++) {\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 ww = 0; ww < hw[1]; ww++) {\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 ww = 0; ww < hw[1]; ww++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int ww = 0;",
"int ww = 0;",
"ww",
"0",
"ww < hw[1]",
"ww",
"hw[1]",
"hw",
"1",
"ww++",
"ww++",
"ww",
"{\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\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tList<int[]> hws = new ArrayList<>();\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;\t// 1 <=H.W<= 300\n\t\t\t\n\t\t\tint[] hw = new int[]{H, W};\n\t\t\thws.add(hw);\n\t\t\t\n\t\t}\n\t\tsc.close();\n\t\t\n\t\tfor(int[] hw : hws) {\n\t\t\t\n\t\t\tfor(int hh = 0; hh < hw[0]; hh++) {\n\t\t\t\tfor(int ww = 0; ww < hw[1]; ww++) {\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\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tList<int[]> hws = new ArrayList<>();\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;\t// 1 <=H.W<= 300\n\t\t\t\n\t\t\tint[] hw = new int[]{H, W};\n\t\t\thws.add(hw);\n\t\t\t\n\t\t}\n\t\tsc.close();\n\t\t\n\t\tfor(int[] hw : hws) {\n\t\t\t\n\t\t\tfor(int hh = 0; hh < hw[0]; hh++) {\n\t\t\t\tfor(int ww = 0; ww < hw[1]; ww++) {\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.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
List<int[]> hws = new ArrayList<>();
while(true) {
int H = sc.nextInt();
int W = sc.nextInt();
if(H == 0) break; // 1 <=H.W<= 300
int[] hw = new int[]{H, W};
hws.add(hw);
}
sc.close();
for(int[] hw : hws) {
for(int hh = 0; hh < hw[0]; hh++) {
for(int ww = 0; ww < hw[1]; ww++) {
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,
4,
13,
13,
13,
4,
18,
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,
17,
4,
18,
18,
13,
13,
17,
29,
23,
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
],
[
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
],
[
35,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
6,
42
],
[
42,
43
],
[
97,
44
],
[
44,
45
],
[
44,
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
],
[
79,
84
],
[
46,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
46,
91
],
[
44,
92
],
[
92,
93
],
[
44,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
] | [
"import java.util.*;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint H = scanner.nextInt();\n\t\t\tint W = scanner.nextInt();\n\t\t\tif(H == 0 && W == 0){ break;}\n\t\t\tPrint(H, W);\n\t\t}\n\t\tscanner.close();\n\t}\n\t\n\t\n\tpublic static void Print(int H , int W){\n\t\tfor(int y = 0; y < H ; y++){\n\t\t\tfor(int x = 0 ; x < W ; x++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n System.out.println(\"\");\n\t\treturn ;\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint H = scanner.nextInt();\n\t\t\tint W = scanner.nextInt();\n\t\t\tif(H == 0 && W == 0){ break;}\n\t\t\tPrint(H, W);\n\t\t}\n\t\tscanner.close();\n\t}\n\t\n\t\n\tpublic static void Print(int H , int W){\n\t\tfor(int y = 0; y < H ; y++){\n\t\t\tfor(int x = 0 ; x < W ; x++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n System.out.println(\"\");\n\t\treturn ;\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint H = scanner.nextInt();\n\t\t\tint W = scanner.nextInt();\n\t\t\tif(H == 0 && W == 0){ break;}\n\t\t\tPrint(H, W);\n\t\t}\n\t\tscanner.close();\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint H = scanner.nextInt();\n\t\t\tint W = scanner.nextInt();\n\t\t\tif(H == 0 && W == 0){ break;}\n\t\t\tPrint(H, W);\n\t\t}\n\t\tscanner.close();\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while(true){\n\t\t\tint H = scanner.nextInt();\n\t\t\tint W = scanner.nextInt();\n\t\t\tif(H == 0 && W == 0){ break;}\n\t\t\tPrint(H, W);\n\t\t}",
"true",
"{\n\t\t\tint H = scanner.nextInt();\n\t\t\tint W = scanner.nextInt();\n\t\t\tif(H == 0 && W == 0){ break;}\n\t\t\tPrint(H, W);\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){ break;}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{ break;}",
"break;",
"Print(H, W)",
"Print",
"H",
"W",
"scanner.close()",
"scanner.close",
"scanner",
"String[] args",
"args",
"public static void Print(int H , int W){\n\t\tfor(int y = 0; y < H ; y++){\n\t\t\tfor(int x = 0 ; x < W ; x++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n System.out.println(\"\");\n\t\treturn ;\n\t}",
"Print",
"{\n\t\tfor(int y = 0; y < H ; y++){\n\t\t\tfor(int x = 0 ; x < W ; x++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n System.out.println(\"\");\n\t\treturn ;\n\t}",
"for(int y = 0; y < H ; y++){\n\t\t\tfor(int x = 0 ; x < W ; x++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"int y = 0;",
"int y = 0;",
"y",
"0",
"y < H",
"y",
"H",
"y++",
"y++",
"y",
"{\n\t\t\tfor(int x = 0 ; x < W ; x++){\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 x = 0 ; x < W ; x++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"for(int x = 0 ; x < W ; x++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}",
"int x = 0 ;",
"int x = 0 ;",
"x",
"0",
"x < W",
"x",
"W",
"x++",
"x++",
"x",
"{\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",
"\"\"",
"return ;",
"int H",
"H",
"int W",
"W",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint H = scanner.nextInt();\n\t\t\tint W = scanner.nextInt();\n\t\t\tif(H == 0 && W == 0){ break;}\n\t\t\tPrint(H, W);\n\t\t}\n\t\tscanner.close();\n\t}\n\t\n\t\n\tpublic static void Print(int H , int W){\n\t\tfor(int y = 0; y < H ; y++){\n\t\t\tfor(int x = 0 ; x < W ; x++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n System.out.println(\"\");\n\t\treturn ;\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint H = scanner.nextInt();\n\t\t\tint W = scanner.nextInt();\n\t\t\tif(H == 0 && W == 0){ break;}\n\t\t\tPrint(H, W);\n\t\t}\n\t\tscanner.close();\n\t}\n\t\n\t\n\tpublic static void Print(int H , int W){\n\t\tfor(int y = 0; y < H ; y++){\n\t\t\tfor(int x = 0 ; x < W ; x++){\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n System.out.println(\"\");\n\t\treturn ;\n\t}\n\n}",
"Main"
] | import java.util.*;
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;}
Print(H, W);
}
scanner.close();
}
public static void Print(int H , int W){
for(int y = 0; y < H ; y++){
for(int x = 0 ; x < W ; x++){
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
return ;
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
11,
1,
30,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
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,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
23,
13,
12,
13,
30,
4,
18,
20,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
104,
2
],
[
104,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
5,
11
],
[
11,
12
],
[
5,
13
],
[
13,
14
],
[
5,
15
],
[
15,
16
],
[
5,
17
],
[
17,
18
],
[
17,
19
],
[
20,
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
],
[
5,
82
],
[
82,
83
],
[
83,
84
],
[
3,
85
],
[
85,
86
],
[
3,
87
],
[
87,
88
],
[
104,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
95,
96
],
[
95,
97
],
[
92,
98
],
[
98,
99
],
[
98,
100
],
[
89,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
]
] | [
"public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int h, w;\n int i, j;\n\n for(;;){\n h = sc.nextInt();\n w = sc.nextInt();\n if(h == 0 && w == 0)break;\n\n for(i = 0;i < h;i++){\n for(j = 0;j < w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}",
"public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int h, w;\n int i, j;\n\n for(;;){\n h = sc.nextInt();\n w = sc.nextInt();\n if(h == 0 && w == 0)break;\n\n for(i = 0;i < h;i++){\n for(j = 0;j < w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}",
"Main",
"public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int h, w;\n int i, j;\n\n for(;;){\n h = sc.nextInt();\n w = sc.nextInt();\n if(h == 0 && w == 0)break;\n\n for(i = 0;i < h;i++){\n for(j = 0;j < w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n\n sc.close();\n }",
"run",
"{\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int h, w;\n int i, j;\n\n for(;;){\n h = sc.nextInt();\n w = sc.nextInt();\n if(h == 0 && w == 0)break;\n\n for(i = 0;i < h;i++){\n for(j = 0;j < w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n\n sc.close();\n }",
"java.util.Scanner sc = new java.util.Scanner(in);",
"sc",
"new java.util.Scanner(in)",
"int h",
"h",
"w;",
"w",
"int i",
"i",
"j;",
"j",
"for(;;){\n h = sc.nextInt();\n w = sc.nextInt();\n if(h == 0 && w == 0)break;\n\n for(i = 0;i < h;i++){\n for(j = 0;j < w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
";",
"{\n h = sc.nextInt();\n w = sc.nextInt();\n if(h == 0 && w == 0)break;\n\n for(i = 0;i < h;i++){\n for(j = 0;j < w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"{\n h = sc.nextInt();\n w = sc.nextInt();\n if(h == 0 && w == 0)break;\n\n for(i = 0;i < h;i++){\n for(j = 0;j < w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"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(i = 0;i < h;i++){\n for(j = 0;j < w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"i = 0;",
"i = 0",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n for(j = 0;j < w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"{\n for(j = 0;j < w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"for(j = 0;j < w;j++){\n System.out.print(\"#\");\n }",
"j = 0;",
"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",
"sc.close()",
"sc.close",
"sc",
"java.io.InputStream in",
"in",
"java.io.PrintStream out",
"out",
"public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }",
"main",
"{\n (new Main()).run(System.in, System.out);\n }",
"(new Main()).run(System.in, System.out)",
"(new Main()).run",
"(new Main())",
"System.in",
"System",
"System.in",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int h, w;\n int i, j;\n\n for(;;){\n h = sc.nextInt();\n w = sc.nextInt();\n if(h == 0 && w == 0)break;\n\n for(i = 0;i < h;i++){\n for(j = 0;j < w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}",
"public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int h, w;\n int i, j;\n\n for(;;){\n h = sc.nextInt();\n w = sc.nextInt();\n if(h == 0 && w == 0)break;\n\n for(i = 0;i < h;i++){\n for(j = 0;j < w;j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}",
"Main"
] | public class Main{
public void run(java.io.InputStream in, java.io.PrintStream out){
java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
int h, w;
int i, j;
for(;;){
h = sc.nextInt();
w = sc.nextInt();
if(h == 0 && w == 0)break;
for(i = 0;i < h;i++){
for(j = 0;j < w;j++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
sc.close();
}
public static void main(String[] args){
(new Main()).run(System.in, System.out);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
42,
4,
18,
13,
30,
0,
13,
20,
17,
0,
18,
13,
17,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
30,
4,
18,
13,
13,
30,
4,
18,
13,
3,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
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,
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
],
[
137,
8
],
[
137,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
24,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
24,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
43,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
43,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
60,
64
],
[
11,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
65,
75
],
[
75,
76
],
[
76,
77
],
[
65,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
79,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
86,
96
],
[
96,
97
],
[
97,
98
],
[
86,
99
],
[
100,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
108,
110
],
[
101,
111
],
[
111,
112
],
[
112,
113
],
[
101,
114
],
[
115,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
100,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
122,
127
],
[
79,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
128,
133
],
[
9,
134
],
[
134,
135
],
[
0,
136
],
[
136,
137
],
[
136,
138
]
] | [
"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\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer[]> list = new ArrayList<Integer[]>();\n\n\t\tInteger[] ary;\n\n\t\twhile(scan.hasNext()){\n\n\t\t\tary = new Integer[2];\n\t\t\t//???H\n\t\t\tary[0] = scan.nextInt();\n\t\t\t//?¨?W\n\t\t\tary[1] = scan.nextInt();\n\n\t\t\tif(ary[0] != 0 && ary[1] != 0){\n\n\t\t\t\tlist.add(ary);\n\t\t\t}else{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tary = list.get(i);\n\t\t\t//???\n\t\t\tfor(int j = 0; j < ary[0]; j++){\n\n\t\t\t\t//?¨?\n\t\t\t\tfor(int k = 0; k < ary[1]; k++){\n\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.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\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer[]> list = new ArrayList<Integer[]>();\n\n\t\tInteger[] ary;\n\n\t\twhile(scan.hasNext()){\n\n\t\t\tary = new Integer[2];\n\t\t\t//???H\n\t\t\tary[0] = scan.nextInt();\n\t\t\t//?¨?W\n\t\t\tary[1] = scan.nextInt();\n\n\t\t\tif(ary[0] != 0 && ary[1] != 0){\n\n\t\t\t\tlist.add(ary);\n\t\t\t}else{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tary = list.get(i);\n\t\t\t//???\n\t\t\tfor(int j = 0; j < ary[0]; j++){\n\n\t\t\t\t//?¨?\n\t\t\t\tfor(int k = 0; k < ary[1]; k++){\n\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// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer[]> list = new ArrayList<Integer[]>();\n\n\t\tInteger[] ary;\n\n\t\twhile(scan.hasNext()){\n\n\t\t\tary = new Integer[2];\n\t\t\t//???H\n\t\t\tary[0] = scan.nextInt();\n\t\t\t//?¨?W\n\t\t\tary[1] = scan.nextInt();\n\n\t\t\tif(ary[0] != 0 && ary[1] != 0){\n\n\t\t\t\tlist.add(ary);\n\t\t\t}else{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tary = list.get(i);\n\t\t\t//???\n\t\t\tfor(int j = 0; j < ary[0]; j++){\n\n\t\t\t\t//?¨?\n\t\t\t\tfor(int k = 0; k < ary[1]; k++){\n\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// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer[]> list = new ArrayList<Integer[]>();\n\n\t\tInteger[] ary;\n\n\t\twhile(scan.hasNext()){\n\n\t\t\tary = new Integer[2];\n\t\t\t//???H\n\t\t\tary[0] = scan.nextInt();\n\t\t\t//?¨?W\n\t\t\tary[1] = scan.nextInt();\n\n\t\t\tif(ary[0] != 0 && ary[1] != 0){\n\n\t\t\t\tlist.add(ary);\n\t\t\t}else{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tary = list.get(i);\n\t\t\t//???\n\t\t\tfor(int j = 0; j < ary[0]; j++){\n\n\t\t\t\t//?¨?\n\t\t\t\tfor(int k = 0; k < ary[1]; k++){\n\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)",
"ArrayList<Integer[]> list = new ArrayList<Integer[]>();",
"list",
"new ArrayList<Integer[]>()",
"Integer[] ary;",
"ary",
"while(scan.hasNext()){\n\n\t\t\tary = new Integer[2];\n\t\t\t//???H\n\t\t\tary[0] = scan.nextInt();\n\t\t\t//?¨?W\n\t\t\tary[1] = scan.nextInt();\n\n\t\t\tif(ary[0] != 0 && ary[1] != 0){\n\n\t\t\t\tlist.add(ary);\n\t\t\t}else{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\n\t\t\tary = new Integer[2];\n\t\t\t//???H\n\t\t\tary[0] = scan.nextInt();\n\t\t\t//?¨?W\n\t\t\tary[1] = scan.nextInt();\n\n\t\t\tif(ary[0] != 0 && ary[1] != 0){\n\n\t\t\t\tlist.add(ary);\n\t\t\t}else{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}",
"ary = new Integer[2]",
"ary",
"new Integer[2]",
"2",
"ary[0] = scan.nextInt()",
"ary[0]",
"ary",
"0",
"scan.nextInt()",
"scan.nextInt",
"scan",
"ary[1] = scan.nextInt()",
"ary[1]",
"ary",
"1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(ary[0] != 0 && ary[1] != 0){\n\n\t\t\t\tlist.add(ary);\n\t\t\t}else{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}",
"ary[0] != 0 && ary[1] != 0",
"ary[0] != 0",
"ary[0]",
"ary",
"0",
"0",
"ary[1] != 0",
"ary[1]",
"ary",
"1",
"0",
"{\n\n\t\t\t\tlist.add(ary);\n\t\t\t}",
"list.add(ary)",
"list.add",
"list",
"ary",
"{\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 < list.size(); i++){\n\n\t\t\tary = list.get(i);\n\t\t\t//???\n\t\t\tfor(int j = 0; j < ary[0]; j++){\n\n\t\t\t\t//?¨?\n\t\t\t\tfor(int k = 0; k < ary[1]; k++){\n\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 < list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n\n\t\t\tary = list.get(i);\n\t\t\t//???\n\t\t\tfor(int j = 0; j < ary[0]; j++){\n\n\t\t\t\t//?¨?\n\t\t\t\tfor(int k = 0; k < ary[1]; k++){\n\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\t\tary = list.get(i);\n\t\t\t//???\n\t\t\tfor(int j = 0; j < ary[0]; j++){\n\n\t\t\t\t//?¨?\n\t\t\t\tfor(int k = 0; k < ary[1]; k++){\n\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}",
"ary = list.get(i)",
"ary",
"list.get(i)",
"list.get",
"list",
"i",
"for(int j = 0; j < ary[0]; j++){\n\n\t\t\t\t//?¨?\n\t\t\t\tfor(int k = 0; k < ary[1]; k++){\n\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 < ary[0]",
"j",
"ary[0]",
"ary",
"0",
"j++",
"j++",
"j",
"{\n\n\t\t\t\t//?¨?\n\t\t\t\tfor(int k = 0; k < ary[1]; k++){\n\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\t//?¨?\n\t\t\t\tfor(int k = 0; k < ary[1]; k++){\n\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 < ary[1]; k++){\n\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int k = 0;",
"int k = 0;",
"k",
"0",
"k < ary[1]",
"k",
"ary[1]",
"ary",
"1",
"k++",
"k++",
"k",
"{\n\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\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\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer[]> list = new ArrayList<Integer[]>();\n\n\t\tInteger[] ary;\n\n\t\twhile(scan.hasNext()){\n\n\t\t\tary = new Integer[2];\n\t\t\t//???H\n\t\t\tary[0] = scan.nextInt();\n\t\t\t//?¨?W\n\t\t\tary[1] = scan.nextInt();\n\n\t\t\tif(ary[0] != 0 && ary[1] != 0){\n\n\t\t\t\tlist.add(ary);\n\t\t\t}else{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tary = list.get(i);\n\t\t\t//???\n\t\t\tfor(int j = 0; j < ary[0]; j++){\n\n\t\t\t\t//?¨?\n\t\t\t\tfor(int k = 0; k < ary[1]; k++){\n\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\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer[]> list = new ArrayList<Integer[]>();\n\n\t\tInteger[] ary;\n\n\t\twhile(scan.hasNext()){\n\n\t\t\tary = new Integer[2];\n\t\t\t//???H\n\t\t\tary[0] = scan.nextInt();\n\t\t\t//?¨?W\n\t\t\tary[1] = scan.nextInt();\n\n\t\t\tif(ary[0] != 0 && ary[1] != 0){\n\n\t\t\t\tlist.add(ary);\n\t\t\t}else{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tary = list.get(i);\n\t\t\t//???\n\t\t\tfor(int j = 0; j < ary[0]; j++){\n\n\t\t\t\t//?¨?\n\t\t\t\tfor(int k = 0; k < ary[1]; k++){\n\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.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner scan = new Scanner(System.in);
ArrayList<Integer[]> list = new ArrayList<Integer[]>();
Integer[] ary;
while(scan.hasNext()){
ary = new Integer[2];
//???H
ary[0] = scan.nextInt();
//?¨?W
ary[1] = scan.nextInt();
if(ary[0] != 0 && ary[1] != 0){
list.add(ary);
}else{
scan.close();
break;
}
}
for(int i = 0; i < list.size(); i++){
ary = list.get(i);
//???
for(int j = 0; j < ary[0]; j++){
//?¨?
for(int k = 0; k < ary[1]; k++){
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,
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
],
[
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
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint H, W;\n\n\t\twhile (true) {\n\t\t\tH = scanner.nextInt();\n\t\t\tW = scanner.nextInt();\n\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int i2 = 0; i2 < W; i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint H, W;\n\n\t\twhile (true) {\n\t\t\tH = scanner.nextInt();\n\t\t\tW = scanner.nextInt();\n\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int i2 = 0; i2 < W; i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint H, W;\n\n\t\twhile (true) {\n\t\t\tH = scanner.nextInt();\n\t\t\tW = scanner.nextInt();\n\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int i2 = 0; i2 < W; i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint H, W;\n\n\t\twhile (true) {\n\t\t\tH = scanner.nextInt();\n\t\t\tW = scanner.nextInt();\n\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int i2 = 0; i2 < W; i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int H",
"H",
"W;",
"W",
"while (true) {\n\t\t\tH = scanner.nextInt();\n\t\t\tW = scanner.nextInt();\n\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int i2 = 0; i2 < W; i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\t\t}",
"true",
"{\n\t\t\tH = scanner.nextInt();\n\t\t\tW = scanner.nextInt();\n\n\t\t\tif (H == 0 && W == 0)\n\t\t\t\tbreak;\n\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int i2 = 0; i2 < W; i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\t\t}",
"H = scanner.nextInt()",
"H",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"W = scanner.nextInt()",
"W",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"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 i2 = 0; i2 < W; i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\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 i2 = 0; i2 < W; i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"{\n\t\t\t\tfor (int i2 = 0; i2 < W; i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"for (int i2 = 0; i2 < W; i2++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int i2 = 0;",
"int i2 = 0;",
"i2",
"0",
"i2 < W",
"i2",
"W",
"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"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int H, W;
while (true) {
H = scanner.nextInt();
W = scanner.nextInt();
if (H == 0 && W == 0)
break;
for (int i = 0; i < H; i++) {
for (int i2 = 0; i2 < W; i2++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
38,
5,
13,
30,
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,
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,
13,
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
],
[
119,
8
],
[
119,
9
],
[
9,
10
],
[
9,
11
],
[
119,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
15,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
38,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
38,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
38,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
38,
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
],
[
89,
90
],
[
89,
91
],
[
84,
92
],
[
92,
93
],
[
93,
94
],
[
84,
95
],
[
96,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
83,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
38,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
24,
113
],
[
113,
114
],
[
114,
115
],
[
12,
116
],
[
116,
117
],
[
0,
118
],
[
118,
119
],
[
118,
120
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\n/**\n * http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_5_A\n * \n * @author eitatsuro\n * \n */\npublic class Main {\n static final String HASHMARK = \"#\";\n \n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(\n new InputStreamReader(System.in));\n \n String sStr;\n while ((sStr = stdReader.readLine()) != null) {\n String[] inputs = sStr.split(\" \");\n \n int h = Integer.valueOf(inputs[0]);\n int w = Integer.valueOf(inputs[1]);\n \n if (h == 0 && w == 0) {\n break;\n // nothing to do.\n }\n \n for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n System.out.print(HASHMARK);\n }\n System.out.println();\n }\n System.out.println();\n }\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n static final String HASHMARK = \"#\";\n \n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(\n new InputStreamReader(System.in));\n \n String sStr;\n while ((sStr = stdReader.readLine()) != null) {\n String[] inputs = sStr.split(\" \");\n \n int h = Integer.valueOf(inputs[0]);\n int w = Integer.valueOf(inputs[1]);\n \n if (h == 0 && w == 0) {\n break;\n // nothing to do.\n }\n \n for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n System.out.print(HASHMARK);\n }\n System.out.println();\n }\n System.out.println();\n }\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }\n }\n}",
"Main",
"static final String HASHMARK = \"#\";",
"HASHMARK",
"\"#\"",
"public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(\n new InputStreamReader(System.in));\n \n String sStr;\n while ((sStr = stdReader.readLine()) != null) {\n String[] inputs = sStr.split(\" \");\n \n int h = Integer.valueOf(inputs[0]);\n int w = Integer.valueOf(inputs[1]);\n \n if (h == 0 && w == 0) {\n break;\n // nothing to do.\n }\n \n for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n System.out.print(HASHMARK);\n }\n System.out.println();\n }\n System.out.println();\n }\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }\n }",
"main",
"{\n try {\n BufferedReader stdReader = new BufferedReader(\n new InputStreamReader(System.in));\n \n String sStr;\n while ((sStr = stdReader.readLine()) != null) {\n String[] inputs = sStr.split(\" \");\n \n int h = Integer.valueOf(inputs[0]);\n int w = Integer.valueOf(inputs[1]);\n \n if (h == 0 && w == 0) {\n break;\n // nothing to do.\n }\n \n for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n System.out.print(HASHMARK);\n }\n System.out.println();\n }\n System.out.println();\n }\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }\n }",
"try {\n BufferedReader stdReader = new BufferedReader(\n new InputStreamReader(System.in));\n \n String sStr;\n while ((sStr = stdReader.readLine()) != null) {\n String[] inputs = sStr.split(\" \");\n \n int h = Integer.valueOf(inputs[0]);\n int w = Integer.valueOf(inputs[1]);\n \n if (h == 0 && w == 0) {\n break;\n // nothing to do.\n }\n \n for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n System.out.print(HASHMARK);\n }\n System.out.println();\n }\n System.out.println();\n }\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }",
"catch (Exception e) {\n System.exit(-1);\n }",
"Exception e",
"{\n System.exit(-1);\n }",
"System.exit(-1)",
"System.exit",
"System",
"-1",
"1",
"{\n BufferedReader stdReader = new BufferedReader(\n new InputStreamReader(System.in));\n \n String sStr;\n while ((sStr = stdReader.readLine()) != null) {\n String[] inputs = sStr.split(\" \");\n \n int h = Integer.valueOf(inputs[0]);\n int w = Integer.valueOf(inputs[1]);\n \n if (h == 0 && w == 0) {\n break;\n // nothing to do.\n }\n \n for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n System.out.print(HASHMARK);\n }\n System.out.println();\n }\n System.out.println();\n }\n stdReader.close();\n }",
"BufferedReader stdReader = new BufferedReader(\n new InputStreamReader(System.in));",
"stdReader",
"new BufferedReader(\n new InputStreamReader(System.in))",
"String sStr;",
"sStr",
"while ((sStr = stdReader.readLine()) != null) {\n String[] inputs = sStr.split(\" \");\n \n int h = Integer.valueOf(inputs[0]);\n int w = Integer.valueOf(inputs[1]);\n \n if (h == 0 && w == 0) {\n break;\n // nothing to do.\n }\n \n for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n System.out.print(HASHMARK);\n }\n System.out.println();\n }\n System.out.println();\n }",
"(sStr = stdReader.readLine()) != null",
"(sStr = stdReader.readLine())",
"sStr",
"stdReader.readLine()",
"stdReader.readLine",
"stdReader",
"null",
"{\n String[] inputs = sStr.split(\" \");\n \n int h = Integer.valueOf(inputs[0]);\n int w = Integer.valueOf(inputs[1]);\n \n if (h == 0 && w == 0) {\n break;\n // nothing to do.\n }\n \n for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n System.out.print(HASHMARK);\n }\n System.out.println();\n }\n System.out.println();\n }",
"String[] inputs = sStr.split(\" \");",
"inputs",
"sStr.split(\" \")",
"sStr.split",
"sStr",
"\" \"",
"int h = Integer.valueOf(inputs[0]);",
"h",
"Integer.valueOf(inputs[0])",
"Integer.valueOf",
"Integer",
"inputs[0]",
"inputs",
"0",
"int w = Integer.valueOf(inputs[1]);",
"w",
"Integer.valueOf(inputs[1])",
"Integer.valueOf",
"Integer",
"inputs[1]",
"inputs",
"1",
"if (h == 0 && w == 0) {\n break;\n // nothing to do.\n }",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"{\n break;\n // nothing to do.\n }",
"break;",
"for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n System.out.print(HASHMARK);\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(HASHMARK);\n }\n System.out.println();\n }",
"{\n for (int j = 0; j < w; j++) {\n System.out.print(HASHMARK);\n }\n System.out.println();\n }",
"for (int j = 0; j < w; j++) {\n System.out.print(HASHMARK);\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < w",
"j",
"w",
"j++",
"j++",
"j",
"{\n System.out.print(HASHMARK);\n }",
"{\n System.out.print(HASHMARK);\n }",
"System.out.print(HASHMARK)",
"System.out.print",
"System.out",
"System",
"System.out",
"HASHMARK",
"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 static final String HASHMARK = \"#\";\n \n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(\n new InputStreamReader(System.in));\n \n String sStr;\n while ((sStr = stdReader.readLine()) != null) {\n String[] inputs = sStr.split(\" \");\n \n int h = Integer.valueOf(inputs[0]);\n int w = Integer.valueOf(inputs[1]);\n \n if (h == 0 && w == 0) {\n break;\n // nothing to do.\n }\n \n for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n System.out.print(HASHMARK);\n }\n System.out.println();\n }\n System.out.println();\n }\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }\n }\n}",
"public class Main {\n static final String HASHMARK = \"#\";\n \n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(\n new InputStreamReader(System.in));\n \n String sStr;\n while ((sStr = stdReader.readLine()) != null) {\n String[] inputs = sStr.split(\" \");\n \n int h = Integer.valueOf(inputs[0]);\n int w = Integer.valueOf(inputs[1]);\n \n if (h == 0 && w == 0) {\n break;\n // nothing to do.\n }\n \n for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n System.out.print(HASHMARK);\n }\n System.out.println();\n }\n System.out.println();\n }\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
/**
* http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_5_A
*
* @author eitatsuro
*
*/
public class Main {
static final String HASHMARK = "#";
public static void main(String[] args) {
try {
BufferedReader stdReader = new BufferedReader(
new InputStreamReader(System.in));
String sStr;
while ((sStr = stdReader.readLine()) != null) {
String[] inputs = sStr.split(" ");
int h = Integer.valueOf(inputs[0]);
int w = Integer.valueOf(inputs[1]);
if (h == 0 && w == 0) {
break;
// nothing to do.
}
for (int i = 0; i < h; i++) {
for (int j = 0; j < w; j++) {
System.out.print(HASHMARK);
}
System.out.println();
}
System.out.println();
}
stdReader.close();
} catch (Exception e) {
System.exit(-1);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
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,
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
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
17,
19
],
[
12,
20
],
[
20,
21
],
[
21,
22
],
[
12,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
24,
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
],
[
24,
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 public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n for(int i=1;i>0; i++){\n int H = scanner.nextInt();\n int W = scanner.nextInt();\n if(H==0&&W==0)break;\n for(int j=1;j<=H; j++){\n for(int k=1;k<=W; k++){\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 scanner = new Scanner(System.in);\n for(int i=1;i>0; i++){\n int H = scanner.nextInt();\n int W = scanner.nextInt();\n if(H==0&&W==0)break;\n for(int j=1;j<=H; j++){\n for(int k=1;k<=W; k++){\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 for(int i=1;i>0; i++){\n int H = scanner.nextInt();\n int W = scanner.nextInt();\n if(H==0&&W==0)break;\n for(int j=1;j<=H; j++){\n for(int k=1;k<=W; k++){\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 for(int i=1;i>0; i++){\n int H = scanner.nextInt();\n int W = scanner.nextInt();\n if(H==0&&W==0)break;\n for(int j=1;j<=H; j++){\n for(int k=1;k<=W; k++){\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)",
"for(int i=1;i>0; i++){\n int H = scanner.nextInt();\n int W = scanner.nextInt();\n if(H==0&&W==0)break;\n for(int j=1;j<=H; j++){\n for(int k=1;k<=W; k++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i>0",
"i",
"0",
"i++",
"i++",
"i",
"{\n int H = scanner.nextInt();\n int W = scanner.nextInt();\n if(H==0&&W==0)break;\n for(int j=1;j<=H; j++){\n for(int k=1;k<=W; k++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"{\n int H = scanner.nextInt();\n int W = scanner.nextInt();\n if(H==0&&W==0)break;\n for(int j=1;j<=H; j++){\n for(int k=1;k<=W; k++){\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 j=1;j<=H; j++){\n for(int k=1;k<=W; k++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"int j=1;",
"int j=1;",
"j",
"1",
"j<=H",
"j",
"H",
"j++",
"j++",
"j",
"{\n for(int k=1;k<=W; k++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"{\n for(int k=1;k<=W; k++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"for(int k=1;k<=W; k++){\n System.out.print(\"#\");\n }",
"int k=1;",
"int k=1;",
"k",
"1",
"k<=W",
"k",
"W",
"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.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 for(int i=1;i>0; i++){\n int H = scanner.nextInt();\n int W = scanner.nextInt();\n if(H==0&&W==0)break;\n for(int j=1;j<=H; j++){\n for(int k=1;k<=W; k++){\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 for(int i=1;i>0; i++){\n int H = scanner.nextInt();\n int W = scanner.nextInt();\n if(H==0&&W==0)break;\n for(int j=1;j<=H; j++){\n for(int k=1;k<=W; k++){\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);
for(int i=1;i>0; i++){
int H = scanner.nextInt();
int W = scanner.nextInt();
if(H==0&&W==0)break;
for(int j=1;j<=H; j++){
for(int k=1;k<=W; 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,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
18,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
4,
18,
13,
17,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
105,
11
],
[
105,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
34,
39
],
[
28,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
45,
50
],
[
28,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
28,
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
],
[
28,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
12,
102
],
[
102,
103
],
[
0,
104
],
[
104,
105
],
[
104,
106
]
] | [
"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 reader = new BufferedReader(new InputStreamReader(System.in));\n String readValue;\n while ((readValue = reader.readLine()) != null) {\n int h = Integer.parseInt(readValue.split(\" \")[0]);\n int w = Integer.parseInt(readValue.split(\" \")[1]);\n if (h == 0 && w == 0)\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 System.out.println();\n }\n }\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 reader = new BufferedReader(new InputStreamReader(System.in));\n String readValue;\n while ((readValue = reader.readLine()) != null) {\n int h = Integer.parseInt(readValue.split(\" \")[0]);\n int w = Integer.parseInt(readValue.split(\" \")[1]);\n if (h == 0 && w == 0)\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 System.out.println();\n }\n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String readValue;\n while ((readValue = reader.readLine()) != null) {\n int h = Integer.parseInt(readValue.split(\" \")[0]);\n int w = Integer.parseInt(readValue.split(\" \")[1]);\n if (h == 0 && w == 0)\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 System.out.println();\n }\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String readValue;\n while ((readValue = reader.readLine()) != null) {\n int h = Integer.parseInt(readValue.split(\" \")[0]);\n int w = Integer.parseInt(readValue.split(\" \")[1]);\n if (h == 0 && w == 0)\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 System.out.println();\n }\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String readValue;",
"readValue",
"while ((readValue = reader.readLine()) != null) {\n int h = Integer.parseInt(readValue.split(\" \")[0]);\n int w = Integer.parseInt(readValue.split(\" \")[1]);\n if (h == 0 && w == 0)\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 System.out.println();\n }",
"(readValue = reader.readLine()) != null",
"(readValue = reader.readLine())",
"readValue",
"reader.readLine()",
"reader.readLine",
"reader",
"null",
"{\n int h = Integer.parseInt(readValue.split(\" \")[0]);\n int w = Integer.parseInt(readValue.split(\" \")[1]);\n if (h == 0 && w == 0)\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 System.out.println();\n }",
"int h = Integer.parseInt(readValue.split(\" \")[0]);",
"h",
"Integer.parseInt(readValue.split(\" \")[0])",
"Integer.parseInt",
"Integer",
"readValue.split(\" \")[0]",
"readValue.split(\" \")",
"readValue.split",
"readValue",
"\" \"",
"0",
"int w = Integer.parseInt(readValue.split(\" \")[1]);",
"w",
"Integer.parseInt(readValue.split(\" \")[1])",
"Integer.parseInt",
"Integer",
"readValue.split(\" \")[1]",
"readValue.split(\" \")",
"readValue.split",
"readValue",
"\" \"",
"1",
"if (h == 0 && w == 0)\n break;",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"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",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String readValue;\n while ((readValue = reader.readLine()) != null) {\n int h = Integer.parseInt(readValue.split(\" \")[0]);\n int w = Integer.parseInt(readValue.split(\" \")[1]);\n if (h == 0 && w == 0)\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 System.out.println();\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String readValue;\n while ((readValue = reader.readLine()) != null) {\n int h = Integer.parseInt(readValue.split(\" \")[0]);\n int w = Integer.parseInt(readValue.split(\" \")[1]);\n if (h == 0 && w == 0)\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 System.out.println();\n }\n }\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 reader = new BufferedReader(new InputStreamReader(System.in));
String readValue;
while ((readValue = reader.readLine()) != null) {
int h = Integer.parseInt(readValue.split(" ")[0]);
int w = Integer.parseInt(readValue.split(" ")[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,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
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,
4,
18,
13,
13,
4,
18,
13,
13,
41,
13,
17,
41,
13,
17,
11,
1,
0,
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,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
2,
4,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
2,
4,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
40,
13,
23,
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
],
[
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
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
33,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
33,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
33,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
17,
61
],
[
61,
62
],
[
61,
63
],
[
17,
64
],
[
64,
65
],
[
64,
66
],
[
17,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
67,
77
],
[
77,
78
],
[
78,
79
],
[
67,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
82,
93
],
[
93,
94
],
[
94,
95
],
[
82,
96
],
[
97,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
98,
109
],
[
109,
110
],
[
110,
111
],
[
98,
112
],
[
113,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
117,
122
],
[
114,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
124,
129
],
[
114,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
133,
138
],
[
130,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
140,
145
],
[
81,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
146,
151
],
[
81,
152
],
[
152,
153
],
[
15,
154
],
[
154,
155
]
] | [
"import java.util.Scanner;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\n\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tArrayList<Integer> x = new ArrayList<Integer>();\n ArrayList<Integer> y = new ArrayList<Integer>();\n \n int H,W;\n \n while(true){\n H = sc.nextInt();\n W = sc.nextInt();\n \n if(H == 0 && W == 0)\n break;\n \n x.add(H);\n y.add(W);\n \n }\n \n int countH = 0;\n int countW = 0;\n\n for(countH = 0; countH < x.size(); countH++){\n \t\n \tfor(int i = 0; i < x.get(countH); i++)\n {\n \tfor(int t = 0; t < y.get(countW); t++)\n \t{\n \t\tif(t < y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\telse if(t == y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.println(\"#\");\n \t\t}\n \t}\n }\n \t\n \tSystem.out.println(\"\");\n \tcountW++;\n }\n\n\t\t\n\t\t\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) {\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tArrayList<Integer> x = new ArrayList<Integer>();\n ArrayList<Integer> y = new ArrayList<Integer>();\n \n int H,W;\n \n while(true){\n H = sc.nextInt();\n W = sc.nextInt();\n \n if(H == 0 && W == 0)\n break;\n \n x.add(H);\n y.add(W);\n \n }\n \n int countH = 0;\n int countW = 0;\n\n for(countH = 0; countH < x.size(); countH++){\n \t\n \tfor(int i = 0; i < x.get(countH); i++)\n {\n \tfor(int t = 0; t < y.get(countW); t++)\n \t{\n \t\tif(t < y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\telse if(t == y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.println(\"#\");\n \t\t}\n \t}\n }\n \t\n \tSystem.out.println(\"\");\n \tcountW++;\n }\n\n\t\t\n\t\t\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tArrayList<Integer> x = new ArrayList<Integer>();\n ArrayList<Integer> y = new ArrayList<Integer>();\n \n int H,W;\n \n while(true){\n H = sc.nextInt();\n W = sc.nextInt();\n \n if(H == 0 && W == 0)\n break;\n \n x.add(H);\n y.add(W);\n \n }\n \n int countH = 0;\n int countW = 0;\n\n for(countH = 0; countH < x.size(); countH++){\n \t\n \tfor(int i = 0; i < x.get(countH); i++)\n {\n \tfor(int t = 0; t < y.get(countW); t++)\n \t{\n \t\tif(t < y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\telse if(t == y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.println(\"#\");\n \t\t}\n \t}\n }\n \t\n \tSystem.out.println(\"\");\n \tcountW++;\n }\n\n\t\t\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tArrayList<Integer> x = new ArrayList<Integer>();\n ArrayList<Integer> y = new ArrayList<Integer>();\n \n int H,W;\n \n while(true){\n H = sc.nextInt();\n W = sc.nextInt();\n \n if(H == 0 && W == 0)\n break;\n \n x.add(H);\n y.add(W);\n \n }\n \n int countH = 0;\n int countW = 0;\n\n for(countH = 0; countH < x.size(); countH++){\n \t\n \tfor(int i = 0; i < x.get(countH); i++)\n {\n \tfor(int t = 0; t < y.get(countW); t++)\n \t{\n \t\tif(t < y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\telse if(t == y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.println(\"#\");\n \t\t}\n \t}\n }\n \t\n \tSystem.out.println(\"\");\n \tcountW++;\n }\n\n\t\t\n\t\t\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> x = new ArrayList<Integer>();",
"x",
"new ArrayList<Integer>()",
"ArrayList<Integer> y = new ArrayList<Integer>();",
"y",
"new ArrayList<Integer>()",
"int H",
"H",
"W;",
"W",
"while(true){\n H = sc.nextInt();\n W = sc.nextInt();\n \n if(H == 0 && W == 0)\n break;\n \n x.add(H);\n y.add(W);\n \n }",
"true",
"{\n H = sc.nextInt();\n W = sc.nextInt();\n \n if(H == 0 && W == 0)\n break;\n \n x.add(H);\n y.add(W);\n \n }",
"H = sc.nextInt()",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"W = sc.nextInt()",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(H == 0 && W == 0)\n break;",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"break;",
"x.add(H)",
"x.add",
"x",
"H",
"y.add(W)",
"y.add",
"y",
"W",
"int countH = 0;",
"countH",
"0",
"int countW = 0;",
"countW",
"0",
"for(countH = 0; countH < x.size(); countH++){\n \t\n \tfor(int i = 0; i < x.get(countH); i++)\n {\n \tfor(int t = 0; t < y.get(countW); t++)\n \t{\n \t\tif(t < y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\telse if(t == y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.println(\"#\");\n \t\t}\n \t}\n }\n \t\n \tSystem.out.println(\"\");\n \tcountW++;\n }",
"countH = 0;",
"countH = 0",
"countH",
"0",
"countH < x.size()",
"countH",
"x.size()",
"x.size",
"x",
"countH++",
"countH++",
"countH",
"{\n \t\n \tfor(int i = 0; i < x.get(countH); i++)\n {\n \tfor(int t = 0; t < y.get(countW); t++)\n \t{\n \t\tif(t < y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\telse if(t == y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.println(\"#\");\n \t\t}\n \t}\n }\n \t\n \tSystem.out.println(\"\");\n \tcountW++;\n }",
"{\n \t\n \tfor(int i = 0; i < x.get(countH); i++)\n {\n \tfor(int t = 0; t < y.get(countW); t++)\n \t{\n \t\tif(t < y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\telse if(t == y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.println(\"#\");\n \t\t}\n \t}\n }\n \t\n \tSystem.out.println(\"\");\n \tcountW++;\n }",
"for(int i = 0; i < x.get(countH); i++)\n {\n \tfor(int t = 0; t < y.get(countW); t++)\n \t{\n \t\tif(t < y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\telse if(t == y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.println(\"#\");\n \t\t}\n \t}\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < x.get(countH)",
"i",
"x.get(countH)",
"x.get",
"x",
"countH",
"i++",
"i++",
"i",
"{\n \tfor(int t = 0; t < y.get(countW); t++)\n \t{\n \t\tif(t < y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\telse if(t == y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.println(\"#\");\n \t\t}\n \t}\n }",
"{\n \tfor(int t = 0; t < y.get(countW); t++)\n \t{\n \t\tif(t < y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\telse if(t == y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.println(\"#\");\n \t\t}\n \t}\n }",
"for(int t = 0; t < y.get(countW); t++)\n \t{\n \t\tif(t < y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\telse if(t == y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.println(\"#\");\n \t\t}\n \t}",
"int t = 0;",
"int t = 0;",
"t",
"0",
"t < y.get(countW)",
"t",
"y.get(countW)",
"y.get",
"y",
"countW",
"t++",
"t++",
"t",
"{\n \t\tif(t < y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\telse if(t == y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.println(\"#\");\n \t\t}\n \t}",
"{\n \t\tif(t < y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\telse if(t == y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.println(\"#\");\n \t\t}\n \t}",
"if(t < y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\telse if(t == y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.println(\"#\");\n \t\t}",
"t < y.get(countW) -1",
"t",
"y.get(countW) -1",
"y.get(countW)",
"y.get",
"y",
"countW",
"1",
"{\n \t\t\tSystem.out.print(\"#\");\n \t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"if(t == y.get(countW) -1)\n \t\t{\n \t\t\tSystem.out.println(\"#\");\n \t\t}",
"t == y.get(countW) -1",
"t",
"y.get(countW) -1",
"y.get(countW)",
"y.get",
"y",
"countW",
"1",
"{\n \t\t\tSystem.out.println(\"#\");\n \t\t}",
"System.out.println(\"#\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"countW++",
"countW",
"String[] args",
"args"
] | import java.util.Scanner;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<Integer> x = new ArrayList<Integer>();
ArrayList<Integer> y = new ArrayList<Integer>();
int H,W;
while(true){
H = sc.nextInt();
W = sc.nextInt();
if(H == 0 && W == 0)
break;
x.add(H);
y.add(W);
}
int countH = 0;
int countW = 0;
for(countH = 0; countH < x.size(); countH++){
for(int i = 0; i < x.get(countH); i++)
{
for(int t = 0; t < y.get(countW); t++)
{
if(t < y.get(countW) -1)
{
System.out.print("#");
}
else if(t == y.get(countW) -1)
{
System.out.println("#");
}
}
}
System.out.println("");
countW++;
}
}
} |
[
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,
13,
4,
18,
13,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
74,
5
],
[
74,
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,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
43
],
[
14,
44
],
[
44,
45
],
[
44,
46
],
[
14,
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
],
[
14,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
6,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] | [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scn = new Scanner(System.in);\n while(true) {\n int H = scn.nextInt();\n int W = scn.nextInt();\n if(H == 0 && W == 0) {\n break;\n }\n char[] buf = new char[W];\n Arrays.fill(buf, '#');\n String lin = new String(buf);\n for(int i = 0; i < H; i++) {\n System.out.println(lin);\n }\n System.out.println();\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner scn = new Scanner(System.in);\n while(true) {\n int H = scn.nextInt();\n int W = scn.nextInt();\n if(H == 0 && W == 0) {\n break;\n }\n char[] buf = new char[W];\n Arrays.fill(buf, '#');\n String lin = new String(buf);\n for(int i = 0; i < H; i++) {\n System.out.println(lin);\n }\n System.out.println();\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scn = new Scanner(System.in);\n while(true) {\n int H = scn.nextInt();\n int W = scn.nextInt();\n if(H == 0 && W == 0) {\n break;\n }\n char[] buf = new char[W];\n Arrays.fill(buf, '#');\n String lin = new String(buf);\n for(int i = 0; i < H; i++) {\n System.out.println(lin);\n }\n System.out.println();\n }\n }",
"main",
"{\n Scanner scn = new Scanner(System.in);\n while(true) {\n int H = scn.nextInt();\n int W = scn.nextInt();\n if(H == 0 && W == 0) {\n break;\n }\n char[] buf = new char[W];\n Arrays.fill(buf, '#');\n String lin = new String(buf);\n for(int i = 0; i < H; i++) {\n System.out.println(lin);\n }\n System.out.println();\n }\n }",
"Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"while(true) {\n int H = scn.nextInt();\n int W = scn.nextInt();\n if(H == 0 && W == 0) {\n break;\n }\n char[] buf = new char[W];\n Arrays.fill(buf, '#');\n String lin = new String(buf);\n for(int i = 0; i < H; i++) {\n System.out.println(lin);\n }\n System.out.println();\n }",
"true",
"{\n int H = scn.nextInt();\n int W = scn.nextInt();\n if(H == 0 && W == 0) {\n break;\n }\n char[] buf = new char[W];\n Arrays.fill(buf, '#');\n String lin = new String(buf);\n for(int i = 0; i < H; i++) {\n System.out.println(lin);\n }\n System.out.println();\n }",
"int H = scn.nextInt();",
"H",
"scn.nextInt()",
"scn.nextInt",
"scn",
"int W = scn.nextInt();",
"W",
"scn.nextInt()",
"scn.nextInt",
"scn",
"if(H == 0 && W == 0) {\n break;\n }",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n break;\n }",
"break;",
"char[] buf = new char[W];",
"buf",
"new char[W]",
"W",
"Arrays.fill(buf, '#')",
"Arrays.fill",
"Arrays",
"buf",
"'#'",
"String lin = new String(buf);",
"lin",
"new String(buf)",
"for(int i = 0; i < H; i++) {\n System.out.println(lin);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n System.out.println(lin);\n }",
"{\n System.out.println(lin);\n }",
"System.out.println(lin)",
"System.out.println",
"System.out",
"System",
"System.out",
"lin",
"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 scn = new Scanner(System.in);\n while(true) {\n int H = scn.nextInt();\n int W = scn.nextInt();\n if(H == 0 && W == 0) {\n break;\n }\n char[] buf = new char[W];\n Arrays.fill(buf, '#');\n String lin = new String(buf);\n for(int i = 0; i < H; i++) {\n System.out.println(lin);\n }\n System.out.println();\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scn = new Scanner(System.in);\n while(true) {\n int H = scn.nextInt();\n int W = scn.nextInt();\n if(H == 0 && W == 0) {\n break;\n }\n char[] buf = new char[W];\n Arrays.fill(buf, '#');\n String lin = new String(buf);\n for(int i = 0; i < H; i++) {\n System.out.println(lin);\n }\n System.out.println();\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scn = new Scanner(System.in);
while(true) {
int H = scn.nextInt();
int W = scn.nextInt();
if(H == 0 && W == 0) {
break;
}
char[] buf = new char[W];
Arrays.fill(buf, '#');
String lin = new String(buf);
for(int i = 0; i < H; i++) {
System.out.println(lin);
}
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,
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;\n\npublic class Main {\n\npublic 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 ) break;\n for ( int i = 0; i < H; i++ ){\n for ( int j = 0; j < W; j++ ){\n System.out.print(\"#\");\t\t \n }\n System.out.println();\t\t \n }\n System.out.println();\n }\n}\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\npublic 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 ) break;\n for ( int i = 0; i < H; i++ ){\n for ( int j = 0; j < W; j++ ){\n System.out.print(\"#\");\t\t \n }\n System.out.println();\t\t \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 ) break;\n for ( int i = 0; i < H; i++ ){\n for ( int j = 0; j < W; j++ ){\n System.out.print(\"#\");\t\t \n }\n System.out.println();\t\t \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 ) break;\n for ( int i = 0; i < H; i++ ){\n for ( int j = 0; j < W; j++ ){\n System.out.print(\"#\");\t\t \n }\n System.out.println();\t\t \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 ) break;\n for ( int i = 0; i < H; i++ ){\n for ( int j = 0; j < W; j++ ){\n System.out.print(\"#\");\t\t \n }\n System.out.println();\t\t \n }\n System.out.println();\n }",
"true",
"{\n int H = sc.nextInt();\n int W = sc.nextInt();\n if ( H == 0 && W == 0 ) break;\n for ( int i = 0; i < H; i++ ){\n for ( int j = 0; j < W; j++ ){\n System.out.print(\"#\");\t\t \n }\n System.out.println();\t\t \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 ) break;",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"break;",
"for ( int i = 0; i < H; i++ ){\n for ( int j = 0; j < W; j++ ){\n System.out.print(\"#\");\t\t \n }\n System.out.println();\t\t \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(\"#\");\t\t \n }\n System.out.println();\t\t \n }",
"{\n for ( int j = 0; j < W; j++ ){\n System.out.print(\"#\");\t\t \n }\n System.out.println();\t\t \n }",
"for ( int j = 0; j < W; j++ ){\n System.out.print(\"#\");\t\t \n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n System.out.print(\"#\");\t\t \n }",
"{\n System.out.print(\"#\");\t\t \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\npublic 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 ) break;\n for ( int i = 0; i < H; i++ ){\n for ( int j = 0; j < W; j++ ){\n System.out.print(\"#\");\t\t \n }\n System.out.println();\t\t \n }\n System.out.println();\n }\n}\n}",
"public class Main {\n\npublic 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 ) break;\n for ( int i = 0; i < H; i++ ){\n for ( int j = 0; j < W; j++ ){\n System.out.print(\"#\");\t\t \n }\n System.out.println();\t\t \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 ) 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,
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,
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
],
[
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
],
[
14,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
6,
90
],
[
90,
91
]
] | [
"import java.io.*;\n\nclass Main{\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true){\n\t\t\tString[] str = buf.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(str[0]);\n\t\t\tint W = Integer.parseInt(str[1]);\n\t\t\tif(H==0 && W==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=1; i<=H; i++){\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 System.out.println();\n \n\t\t}\n\t}\t\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true){\n\t\t\tString[] str = buf.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(str[0]);\n\t\t\tint W = Integer.parseInt(str[1]);\n\t\t\tif(H==0 && W==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=1; i<=H; i++){\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 System.out.println();\n \n\t\t}\n\t}\t\n}",
"Main",
"public static void main(String args[]) throws IOException{\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true){\n\t\t\tString[] str = buf.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(str[0]);\n\t\t\tint W = Integer.parseInt(str[1]);\n\t\t\tif(H==0 && W==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=1; i<=H; i++){\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 System.out.println();\n \n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true){\n\t\t\tString[] str = buf.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(str[0]);\n\t\t\tint W = Integer.parseInt(str[1]);\n\t\t\tif(H==0 && W==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=1; i<=H; i++){\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 System.out.println();\n \n\t\t}\n\t}",
"BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));",
"buf",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t\t\tString[] str = buf.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(str[0]);\n\t\t\tint W = Integer.parseInt(str[1]);\n\t\t\tif(H==0 && W==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=1; i<=H; i++){\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 System.out.println();\n \n\t\t}",
"true",
"{\n\t\t\tString[] str = buf.readLine().split(\" \");\n\t\t\tint H = Integer.parseInt(str[0]);\n\t\t\tint W = Integer.parseInt(str[1]);\n\t\t\tif(H==0 && W==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=1; i<=H; i++){\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 System.out.println();\n \n\t\t}",
"String[] str = buf.readLine().split(\" \");",
"str",
"buf.readLine().split(\" \")",
"buf.readLine().split",
"buf.readLine()",
"buf.readLine",
"buf",
"\" \"",
"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\t\t\t\tbreak;",
"H==0 && W==0",
"H==0",
"H",
"0",
"W==0",
"W",
"0",
"break;",
"for(int i=1; i<=H; i++){\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\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\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}",
"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"
] | import java.io.*;
class Main{
public static void main(String args[]) throws IOException{
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
while(true){
String[] str = buf.readLine().split(" ");
int H = Integer.parseInt(str[0]);
int W = Integer.parseInt(str[1]);
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,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
17,
42,
17,
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,
40,
13,
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,
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
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
25,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
40,
52
],
[
25,
53
],
[
53,
54
],
[
8,
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
],
[
75,
76
],
[
75,
77
],
[
68,
78
],
[
78,
79
],
[
79,
80
],
[
68,
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
],
[
82,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
67,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
6,
116
],
[
116,
117
]
] | [
"import java.util.*;\n\nclass Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] h = new int[300], w = new int[300];\n\t\tint cnt = 0;\n\t\t\n\t\twhile(true){\n\t\t\th[cnt] = sc.nextInt();\n\t\t\tw[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(h[cnt] == 0 && w[cnt] == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++){\n\t\t\tfor(int j = 0; j < h[i]; j++){\n\t\t\t\tfor(int k = 0; k < w[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}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] h = new int[300], w = new int[300];\n\t\tint cnt = 0;\n\t\t\n\t\twhile(true){\n\t\t\th[cnt] = sc.nextInt();\n\t\t\tw[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(h[cnt] == 0 && w[cnt] == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++){\n\t\t\tfor(int j = 0; j < h[i]; j++){\n\t\t\t\tfor(int k = 0; k < w[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}",
"Main",
"public static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] h = new int[300], w = new int[300];\n\t\tint cnt = 0;\n\t\t\n\t\twhile(true){\n\t\t\th[cnt] = sc.nextInt();\n\t\t\tw[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(h[cnt] == 0 && w[cnt] == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++){\n\t\t\tfor(int j = 0; j < h[i]; j++){\n\t\t\t\tfor(int k = 0; k < w[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 sc = new Scanner(System.in);\n\t\tint[] h = new int[300], w = new int[300];\n\t\tint cnt = 0;\n\t\t\n\t\twhile(true){\n\t\t\th[cnt] = sc.nextInt();\n\t\t\tw[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(h[cnt] == 0 && w[cnt] == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++){\n\t\t\tfor(int j = 0; j < h[i]; j++){\n\t\t\t\tfor(int k = 0; k < w[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 sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] h = new int[300]",
"h",
"new int[300]",
"300",
"w = new int[300];",
"w",
"new int[300]",
"300",
"int cnt = 0;",
"cnt",
"0",
"while(true){\n\t\t\th[cnt] = sc.nextInt();\n\t\t\tw[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(h[cnt] == 0 && w[cnt] == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tcnt ++;\n\t\t}",
"true",
"{\n\t\t\th[cnt] = sc.nextInt();\n\t\t\tw[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(h[cnt] == 0 && w[cnt] == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tcnt ++;\n\t\t}",
"h[cnt] = sc.nextInt()",
"h[cnt]",
"h",
"cnt",
"sc.nextInt()",
"sc.nextInt",
"sc",
"w[cnt] = sc.nextInt()",
"w[cnt]",
"w",
"cnt",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(h[cnt] == 0 && w[cnt] == 0)\n\t\t\t\tbreak;",
"h[cnt] == 0 && w[cnt] == 0",
"h[cnt] == 0",
"h[cnt]",
"h",
"cnt",
"0",
"w[cnt] == 0",
"w[cnt]",
"w",
"cnt",
"0",
"break;",
"cnt ++",
"cnt",
"for(int i = 0; i < cnt; i++){\n\t\t\tfor(int j = 0; j < h[i]; j++){\n\t\t\t\tfor(int k = 0; k < w[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 < cnt",
"i",
"cnt",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = 0; j < h[i]; j++){\n\t\t\t\tfor(int k = 0; k < w[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[i]; j++){\n\t\t\t\tfor(int k = 0; k < w[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[i]; j++){\n\t\t\t\tfor(int k = 0; k < w[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[i]",
"j",
"h[i]",
"h",
"i",
"j++",
"j++",
"j",
"{\n\t\t\t\tfor(int k = 0; k < w[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[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[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[i]",
"k",
"w[i]",
"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"
] | import java.util.*;
class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int[] h = new int[300], w = new int[300];
int cnt = 0;
while(true){
h[cnt] = sc.nextInt();
w[cnt] = sc.nextInt();
if(h[cnt] == 0 && w[cnt] == 0)
break;
cnt ++;
}
for(int i = 0; i < cnt; i++){
for(int j = 0; j < h[i]; j++){
for(int k = 0; k < w[i]; k++){
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,
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
],
[
87,
5
],
[
87,
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
],
[
37,
38
],
[
18,
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
],
[
8,
81
],
[
81,
82
],
[
82,
83
],
[
6,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint hei, wid;\n\t\t\n\t\twhile(true){\n\t\t\thei = scan.nextInt();//??????????????????\n\t\t\twid = scan.nextInt();//?¨????????????????\n\t\t\tif(hei == 0 && wid == 0){//???????????????0???0????????\\???????????????????????????\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int cnt_hei = 0; cnt_hei < hei; cnt_hei++){//???#????????????\n\t\t\t\tfor(int cnt_wid = 0; cnt_wid < wid; cnt_wid++){\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 scan.close();\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint hei, wid;\n\t\t\n\t\twhile(true){\n\t\t\thei = scan.nextInt();//??????????????????\n\t\t\twid = scan.nextInt();//?¨????????????????\n\t\t\tif(hei == 0 && wid == 0){//???????????????0???0????????\\???????????????????????????\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int cnt_hei = 0; cnt_hei < hei; cnt_hei++){//???#????????????\n\t\t\t\tfor(int cnt_wid = 0; cnt_wid < wid; cnt_wid++){\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 scan.close();\n }\n\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint hei, wid;\n\t\t\n\t\twhile(true){\n\t\t\thei = scan.nextInt();//??????????????????\n\t\t\twid = scan.nextInt();//?¨????????????????\n\t\t\tif(hei == 0 && wid == 0){//???????????????0???0????????\\???????????????????????????\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int cnt_hei = 0; cnt_hei < hei; cnt_hei++){//???#????????????\n\t\t\t\tfor(int cnt_wid = 0; cnt_wid < wid; cnt_wid++){\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 scan.close();\n }",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint hei, wid;\n\t\t\n\t\twhile(true){\n\t\t\thei = scan.nextInt();//??????????????????\n\t\t\twid = scan.nextInt();//?¨????????????????\n\t\t\tif(hei == 0 && wid == 0){//???????????????0???0????????\\???????????????????????????\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int cnt_hei = 0; cnt_hei < hei; cnt_hei++){//???#????????????\n\t\t\t\tfor(int cnt_wid = 0; cnt_wid < wid; cnt_wid++){\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 scan.close();\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int hei",
"hei",
"wid;",
"wid",
"while(true){\n\t\t\thei = scan.nextInt();//??????????????????\n\t\t\twid = scan.nextInt();//?¨????????????????\n\t\t\tif(hei == 0 && wid == 0){//???????????????0???0????????\\???????????????????????????\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int cnt_hei = 0; cnt_hei < hei; cnt_hei++){//???#????????????\n\t\t\t\tfor(int cnt_wid = 0; cnt_wid < wid; cnt_wid++){\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\thei = scan.nextInt();//??????????????????\n\t\t\twid = scan.nextInt();//?¨????????????????\n\t\t\tif(hei == 0 && wid == 0){//???????????????0???0????????\\???????????????????????????\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int cnt_hei = 0; cnt_hei < hei; cnt_hei++){//???#????????????\n\t\t\t\tfor(int cnt_wid = 0; cnt_wid < wid; cnt_wid++){\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}",
"hei = scan.nextInt()",
"hei",
"scan.nextInt()",
"scan.nextInt",
"scan",
"wid = scan.nextInt()",
"wid",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(hei == 0 && wid == 0){//???????????????0???0????????\\???????????????????????????\n\t\t\t\tbreak;\n\t\t\t}",
"hei == 0 && wid == 0",
"hei == 0",
"hei",
"0",
"wid == 0",
"wid",
"0",
"{//???????????????0???0????????\\???????????????????????????\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for(int cnt_hei = 0; cnt_hei < hei; cnt_hei++){//???#????????????\n\t\t\t\tfor(int cnt_wid = 0; cnt_wid < wid; cnt_wid++){\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 cnt_hei = 0;",
"int cnt_hei = 0;",
"cnt_hei",
"0",
"cnt_hei < hei",
"cnt_hei",
"hei",
"cnt_hei++",
"cnt_hei++",
"cnt_hei",
"{//???#????????????\n\t\t\t\tfor(int cnt_wid = 0; cnt_wid < wid; cnt_wid++){\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 cnt_wid = 0; cnt_wid < wid; cnt_wid++){\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 cnt_wid = 0; cnt_wid < wid; cnt_wid++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int cnt_wid = 0;",
"int cnt_wid = 0;",
"cnt_wid",
"0",
"cnt_wid < wid",
"cnt_wid",
"wid",
"cnt_wid++",
"cnt_wid++",
"cnt_wid",
"{\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\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint hei, wid;\n\t\t\n\t\twhile(true){\n\t\t\thei = scan.nextInt();//??????????????????\n\t\t\twid = scan.nextInt();//?¨????????????????\n\t\t\tif(hei == 0 && wid == 0){//???????????????0???0????????\\???????????????????????????\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int cnt_hei = 0; cnt_hei < hei; cnt_hei++){//???#????????????\n\t\t\t\tfor(int cnt_wid = 0; cnt_wid < wid; cnt_wid++){\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 scan.close();\n }\n\n}",
"public class Main {\n\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint hei, wid;\n\t\t\n\t\twhile(true){\n\t\t\thei = scan.nextInt();//??????????????????\n\t\t\twid = scan.nextInt();//?¨????????????????\n\t\t\tif(hei == 0 && wid == 0){//???????????????0???0????????\\???????????????????????????\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int cnt_hei = 0; cnt_hei < hei; cnt_hei++){//???#????????????\n\t\t\t\tfor(int cnt_wid = 0; cnt_wid < wid; cnt_wid++){\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 scan.close();\n }\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int hei, wid;
while(true){
hei = scan.nextInt();//??????????????????
wid = scan.nextInt();//?¨????????????????
if(hei == 0 && wid == 0){//???????????????0???0????????\???????????????????????????
break;
}
for(int cnt_hei = 0; cnt_hei < hei; cnt_hei++){//???#????????????
for(int cnt_wid = 0; cnt_wid < wid; cnt_wid++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
scan.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
11,
1,
30,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
13,
17,
3,
11,
1,
41,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
13,
2,
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
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
19,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
19,
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
],
[
19,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
6,
77
],
[
77,
78
]
] | [
"import java.util.*;\n\nclass Main{\npublic static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint W,H;\nfor(;;){\nH =sc.nextInt();\nW =sc.nextInt();\nif(H == 0) break;\nfor(int i=H;i>0;i--){\nfor(int n=W;n>0;n--){\t\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}\n}\n\t}",
"import java.util.*;",
"util.*",
"java",
"class Main{\npublic static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint W,H;\nfor(;;){\nH =sc.nextInt();\nW =sc.nextInt();\nif(H == 0) break;\nfor(int i=H;i>0;i--){\nfor(int n=W;n>0;n--){\t\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}\n}\n\t}",
"Main",
"public static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint W,H;\nfor(;;){\nH =sc.nextInt();\nW =sc.nextInt();\nif(H == 0) break;\nfor(int i=H;i>0;i--){\nfor(int n=W;n>0;n--){\t\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}\n}",
"main",
"{\nScanner sc = new Scanner(System.in);\nint W,H;\nfor(;;){\nH =sc.nextInt();\nW =sc.nextInt();\nif(H == 0) break;\nfor(int i=H;i>0;i--){\nfor(int n=W;n>0;n--){\t\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}\n}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int W",
"W",
"H;",
"H",
"for(;;){\nH =sc.nextInt();\nW =sc.nextInt();\nif(H == 0) break;\nfor(int i=H;i>0;i--){\nfor(int n=W;n>0;n--){\t\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}",
";",
"{\nH =sc.nextInt();\nW =sc.nextInt();\nif(H == 0) break;\nfor(int i=H;i>0;i--){\nfor(int n=W;n>0;n--){\t\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}",
"{\nH =sc.nextInt();\nW =sc.nextInt();\nif(H == 0) break;\nfor(int i=H;i>0;i--){\nfor(int n=W;n>0;n--){\t\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}",
"H =sc.nextInt()",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"W =sc.nextInt()",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(H == 0) break;",
"H == 0",
"H",
"0",
"break;",
"for(int i=H;i>0;i--){\nfor(int n=W;n>0;n--){\t\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}",
"int i=H;",
"int i=H;",
"i",
"H",
"i>0",
"i",
"0",
"i--",
"i--",
"i",
"{\nfor(int n=W;n>0;n--){\t\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}",
"{\nfor(int n=W;n>0;n--){\t\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}",
"for(int n=W;n>0;n--){\t\nSystem.out.print(\"#\");\n}",
"int n=W;",
"int n=W;",
"n",
"W",
"n>0",
"n",
"0",
"n--",
"n--",
"n",
"{\t\nSystem.out.print(\"#\");\n}",
"{\t\nSystem.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.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int W,H;
for(;;){
H =sc.nextInt();
W =sc.nextInt();
if(H == 0) break;
for(int i=H;i>0;i--){
for(int n=W;n>0;n--){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
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
],
[
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
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
67,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
17,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
6,
99
],
[
99,
100
]
] | [
"import java.io.*;\n\nclass Main{\n public static void main(String[] args) throws Exception{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int num = 0;\n\n while(true){\n\n String num1 = br.readLine();\n String[] num2 = num1.split(\" \");\n int H = Integer.parseInt(num2[0]);\n int W = Integer.parseInt(num2[1]);\n\n if(H == 0 && W == 0){\n break;\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 }\n System.out.println(\"\");\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] args) throws Exception{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int num = 0;\n\n while(true){\n\n String num1 = br.readLine();\n String[] num2 = num1.split(\" \");\n int H = Integer.parseInt(num2[0]);\n int W = Integer.parseInt(num2[1]);\n\n if(H == 0 && W == 0){\n break;\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 }\n System.out.println(\"\");\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int num = 0;\n\n while(true){\n\n String num1 = br.readLine();\n String[] num2 = num1.split(\" \");\n int H = Integer.parseInt(num2[0]);\n int W = Integer.parseInt(num2[1]);\n\n if(H == 0 && W == 0){\n break;\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 }\n System.out.println(\"\");\n }\n }",
"main",
"{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int num = 0;\n\n while(true){\n\n String num1 = br.readLine();\n String[] num2 = num1.split(\" \");\n int H = Integer.parseInt(num2[0]);\n int W = Integer.parseInt(num2[1]);\n\n if(H == 0 && W == 0){\n break;\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 }\n System.out.println(\"\");\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int num = 0;",
"num",
"0",
"while(true){\n\n String num1 = br.readLine();\n String[] num2 = num1.split(\" \");\n int H = Integer.parseInt(num2[0]);\n int W = Integer.parseInt(num2[1]);\n\n if(H == 0 && W == 0){\n break;\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 }\n System.out.println(\"\");\n }",
"true",
"{\n\n String num1 = br.readLine();\n String[] num2 = num1.split(\" \");\n int H = Integer.parseInt(num2[0]);\n int W = Integer.parseInt(num2[1]);\n\n if(H == 0 && W == 0){\n break;\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 }\n System.out.println(\"\");\n }",
"String num1 = br.readLine();",
"num1",
"br.readLine()",
"br.readLine",
"br",
"String[] num2 = num1.split(\" \");",
"num2",
"num1.split(\" \")",
"num1.split",
"num1",
"\" \"",
"int H = Integer.parseInt(num2[0]);",
"H",
"Integer.parseInt(num2[0])",
"Integer.parseInt",
"Integer",
"num2[0]",
"num2",
"0",
"int W = Integer.parseInt(num2[1]);",
"W",
"Integer.parseInt(num2[1])",
"Integer.parseInt",
"Integer",
"num2[1]",
"num2",
"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",
"\"\"",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args) throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int num = 0;
while(true){
String num1 = br.readLine();
String[] num2 = num1.split(" ");
int H = Integer.parseInt(num2[0]);
int W = Integer.parseInt(num2[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,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
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,
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
],
[
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
],
[
35,
38
],
[
38,
39
],
[
35,
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
],
[
14,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
6,
82
],
[
82,
83
]
] | [
"import java.util.Scanner;\nclass Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(true){ \n\t\tint H = scanner.nextInt();\n\t\tint W = scanner.nextInt();\n\t\t\n\t\tif ( H == 0 && W == 0 ){\n\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tint smallh;\n\t\t\t\tint smallw;\n\t\t\t\t\n\t\t\t\tfor( smallh = 0; smallh < H; smallh++ ) {\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tfor( smallw = 0; smallw < W; smallw++ ) {\n\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\tSystem.out.println();\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(true){ \n\t\tint H = scanner.nextInt();\n\t\tint W = scanner.nextInt();\n\t\t\n\t\tif ( H == 0 && W == 0 ){\n\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tint smallh;\n\t\t\t\tint smallw;\n\t\t\t\t\n\t\t\t\tfor( smallh = 0; smallh < H; smallh++ ) {\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tfor( smallw = 0; smallw < W; smallw++ ) {\n\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\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(true){ \n\t\tint H = scanner.nextInt();\n\t\tint W = scanner.nextInt();\n\t\t\n\t\tif ( H == 0 && W == 0 ){\n\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tint smallh;\n\t\t\t\tint smallw;\n\t\t\t\t\n\t\t\t\tfor( smallh = 0; smallh < H; smallh++ ) {\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tfor( smallw = 0; smallw < W; smallw++ ) {\n\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\tSystem.out.println();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(true){ \n\t\tint H = scanner.nextInt();\n\t\tint W = scanner.nextInt();\n\t\t\n\t\tif ( H == 0 && W == 0 ){\n\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tint smallh;\n\t\t\t\tint smallw;\n\t\t\t\t\n\t\t\t\tfor( smallh = 0; smallh < H; smallh++ ) {\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tfor( smallw = 0; smallw < W; smallw++ ) {\n\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\tSystem.out.println();\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while(true){ \n\t\tint H = scanner.nextInt();\n\t\tint W = scanner.nextInt();\n\t\t\n\t\tif ( H == 0 && W == 0 ){\n\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tint smallh;\n\t\t\t\tint smallw;\n\t\t\t\t\n\t\t\t\tfor( smallh = 0; smallh < H; smallh++ ) {\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tfor( smallw = 0; smallw < W; smallw++ ) {\n\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\tSystem.out.println();\n\t\t}",
"true",
"{ \n\t\tint H = scanner.nextInt();\n\t\tint W = scanner.nextInt();\n\t\t\n\t\tif ( H == 0 && W == 0 ){\n\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tint smallh;\n\t\t\t\tint smallw;\n\t\t\t\t\n\t\t\t\tfor( smallh = 0; smallh < H; smallh++ ) {\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tfor( smallw = 0; smallw < W; smallw++ ) {\n\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\tSystem.out.println();\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\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tint smallh;\n\t\t\t\tint smallw;\n\t\t\t\t\n\t\t\t\tfor( smallh = 0; smallh < H; smallh++ ) {\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tfor( smallw = 0; smallw < W; smallw++ ) {\n\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\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tint smallh;\n\t\t\t\tint smallw;\n\t\t\t\t\n\t\t\t\tfor( smallh = 0; smallh < H; smallh++ ) {\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tfor( smallw = 0; smallw < W; smallw++ ) {\n\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}",
"int smallh;",
"smallh",
"int smallw;",
"smallw",
"for( smallh = 0; smallh < H; smallh++ ) {\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tfor( smallw = 0; smallw < W; smallw++ ) {\n\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}",
"smallh = 0;",
"smallh = 0",
"smallh",
"0",
"smallh < H",
"smallh",
"H",
"smallh++",
"smallh++",
"smallh",
"{\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tfor( smallw = 0; smallw < W; smallw++ ) {\n\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\t\n\t\t\t\t\t\n\t\t\t\t\tfor( smallw = 0; smallw < W; smallw++ ) {\n\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( smallw = 0; smallw < W; smallw++ ) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"smallw = 0;",
"smallw = 0",
"smallw",
"0",
"smallw < W",
"smallw",
"W",
"smallw++",
"smallw++",
"smallw",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"{\n\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) {
Scanner scanner = new Scanner(System.in);
while(true){
int H = scanner.nextInt();
int W = scanner.nextInt();
if ( H == 0 && W == 0 ){
break;
}
else{
int smallh;
int smallw;
for( smallh = 0; smallh < H; smallh++ ) {
for( smallw = 0; smallw < W; smallw++ ) {
System.out.print("#");
}
System.out.println();
}
}
System.out.println();
}
}
} |
[
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,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
17,
40,
13,
41,
13,
17,
42,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
40,
13,
4,
18,
18,
13,
13,
17,
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
],
[
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
],
[
19,
57
],
[
57,
58
],
[
57,
59
],
[
19,
60
],
[
60,
61
],
[
60,
62
],
[
19,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
19,
73
],
[
73,
74
],
[
73,
75
],
[
19,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
80,
87
],
[
87,
88
],
[
19,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
6,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint k = 0;\n\t\twhile (k == 0) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] x = line.split(\" \");\n\t\t\tint H = Integer.parseInt(x[0]);\n\t\t\tint W = Integer.parseInt(x[1]);\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint i = 0;\n\t\t\tString str = \"\";\n\t\t\twhile (i < W) {\n\t\t\t\tstr += \"#\";\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tint j = 0;\n\t\t\twhile (j < H) {\n\t\t\t\tSystem.out.println(str);\n\t\t\t\tj++;\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\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint k = 0;\n\t\twhile (k == 0) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] x = line.split(\" \");\n\t\t\tint H = Integer.parseInt(x[0]);\n\t\t\tint W = Integer.parseInt(x[1]);\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint i = 0;\n\t\t\tString str = \"\";\n\t\t\twhile (i < W) {\n\t\t\t\tstr += \"#\";\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tint j = 0;\n\t\t\twhile (j < H) {\n\t\t\t\tSystem.out.println(str);\n\t\t\t\tj++;\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\t\tScanner sc = new Scanner(System.in);\n\n\t\tint k = 0;\n\t\twhile (k == 0) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] x = line.split(\" \");\n\t\t\tint H = Integer.parseInt(x[0]);\n\t\t\tint W = Integer.parseInt(x[1]);\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint i = 0;\n\t\t\tString str = \"\";\n\t\t\twhile (i < W) {\n\t\t\t\tstr += \"#\";\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tint j = 0;\n\t\t\twhile (j < H) {\n\t\t\t\tSystem.out.println(str);\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint k = 0;\n\t\twhile (k == 0) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] x = line.split(\" \");\n\t\t\tint H = Integer.parseInt(x[0]);\n\t\t\tint W = Integer.parseInt(x[1]);\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint i = 0;\n\t\t\tString str = \"\";\n\t\t\twhile (i < W) {\n\t\t\t\tstr += \"#\";\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tint j = 0;\n\t\t\twhile (j < H) {\n\t\t\t\tSystem.out.println(str);\n\t\t\t\tj++;\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)",
"int k = 0;",
"k",
"0",
"while (k == 0) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] x = line.split(\" \");\n\t\t\tint H = Integer.parseInt(x[0]);\n\t\t\tint W = Integer.parseInt(x[1]);\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint i = 0;\n\t\t\tString str = \"\";\n\t\t\twhile (i < W) {\n\t\t\t\tstr += \"#\";\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tint j = 0;\n\t\t\twhile (j < H) {\n\t\t\t\tSystem.out.println(str);\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"k == 0",
"k",
"0",
"{\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] x = line.split(\" \");\n\t\t\tint H = Integer.parseInt(x[0]);\n\t\t\tint W = Integer.parseInt(x[1]);\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint i = 0;\n\t\t\tString str = \"\";\n\t\t\twhile (i < W) {\n\t\t\t\tstr += \"#\";\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tint j = 0;\n\t\t\twhile (j < H) {\n\t\t\t\tSystem.out.println(str);\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] x = line.split(\" \");",
"x",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int H = Integer.parseInt(x[0]);",
"H",
"Integer.parseInt(x[0])",
"Integer.parseInt",
"Integer",
"x[0]",
"x",
"0",
"int W = Integer.parseInt(x[1]);",
"W",
"Integer.parseInt(x[1])",
"Integer.parseInt",
"Integer",
"x[1]",
"x",
"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;",
"int i = 0;",
"i",
"0",
"String str = \"\";",
"str",
"\"\"",
"while (i < W) {\n\t\t\t\tstr += \"#\";\n\t\t\t\ti++;\n\t\t\t}",
"i < W",
"i",
"W",
"{\n\t\t\t\tstr += \"#\";\n\t\t\t\ti++;\n\t\t\t}",
"str += \"#\"",
"str",
"\"#\"",
"i++",
"i",
"int j = 0;",
"j",
"0",
"while (j < H) {\n\t\t\t\tSystem.out.println(str);\n\t\t\t\tj++;\n\t\t\t}",
"j < H",
"j",
"H",
"{\n\t\t\t\tSystem.out.println(str);\n\t\t\t\tj++;\n\t\t\t}",
"System.out.println(str)",
"System.out.println",
"System.out",
"System",
"System.out",
"str",
"j++",
"j",
"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\t\tScanner sc = new Scanner(System.in);\n\n\t\tint k = 0;\n\t\twhile (k == 0) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] x = line.split(\" \");\n\t\t\tint H = Integer.parseInt(x[0]);\n\t\t\tint W = Integer.parseInt(x[1]);\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint i = 0;\n\t\t\tString str = \"\";\n\t\t\twhile (i < W) {\n\t\t\t\tstr += \"#\";\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tint j = 0;\n\t\t\twhile (j < H) {\n\t\t\t\tSystem.out.println(str);\n\t\t\t\tj++;\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\t\tScanner sc = new Scanner(System.in);\n\n\t\tint k = 0;\n\t\twhile (k == 0) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] x = line.split(\" \");\n\t\t\tint H = Integer.parseInt(x[0]);\n\t\t\tint W = Integer.parseInt(x[1]);\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint i = 0;\n\t\t\tString str = \"\";\n\t\t\twhile (i < W) {\n\t\t\t\tstr += \"#\";\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tint j = 0;\n\t\t\twhile (j < H) {\n\t\t\t\tSystem.out.println(str);\n\t\t\t\tj++;\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) {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
int k = 0;
while (k == 0) {
String line = sc.nextLine();
String[] x = line.split(" ");
int H = Integer.parseInt(x[0]);
int W = Integer.parseInt(x[1]);
if (H == 0 && W == 0) {
break;
}
int i = 0;
String str = "";
while (i < W) {
str += "#";
i++;
}
int j = 0;
while (j < H) {
System.out.println(str);
j++;
}
System.out.println("");
}
}
} |
[
7,
15,
13,
17,
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,
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,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
81,
8
],
[
81,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
19,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
40,
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
],
[
63,
65
],
[
54,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
53,
72
],
[
72,
73
],
[
73,
74
],
[
19,
75
],
[
75,
76
],
[
76,
77
],
[
9,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] | [
"import static java.lang.System.out;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n while (scan.hasNext()) {\n int H = scan.nextInt();\n int W = scan.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n for (int i = 0; i < H; i += 1) {\n for (int j = 0; j < W; j += 1) {\n out.print(\"#\");\n }\n out.println();\n }\n out.println(); \n }\n } \n}",
"import static java.lang.System.out;",
"import static java.lang.System.out;",
"import static java.lang.System.out;",
"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 while (scan.hasNext()) {\n int H = scan.nextInt();\n int W = scan.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n for (int i = 0; i < H; i += 1) {\n for (int j = 0; j < W; j += 1) {\n out.print(\"#\");\n }\n out.println();\n }\n out.println(); \n }\n } \n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n while (scan.hasNext()) {\n int H = scan.nextInt();\n int W = scan.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n for (int i = 0; i < H; i += 1) {\n for (int j = 0; j < W; j += 1) {\n out.print(\"#\");\n }\n out.println();\n }\n out.println(); \n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n while (scan.hasNext()) {\n int H = scan.nextInt();\n int W = scan.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n for (int i = 0; i < H; i += 1) {\n for (int j = 0; j < W; j += 1) {\n out.print(\"#\");\n }\n out.println();\n }\n out.println(); \n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while (scan.hasNext()) {\n int H = scan.nextInt();\n int W = scan.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n for (int i = 0; i < H; i += 1) {\n for (int j = 0; j < W; j += 1) {\n out.print(\"#\");\n }\n out.println();\n }\n out.println(); \n }",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n int H = scan.nextInt();\n int W = scan.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n for (int i = 0; i < H; i += 1) {\n for (int j = 0; j < W; j += 1) {\n out.print(\"#\");\n }\n out.println();\n }\n out.println(); \n }",
"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 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 += 1) {\n for (int j = 0; j < W; j += 1) {\n out.print(\"#\");\n }\n out.println();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i += 1",
"i += 1",
"i",
"1",
"{\n for (int j = 0; j < W; j += 1) {\n out.print(\"#\");\n }\n out.println();\n }",
"{\n for (int j = 0; j < W; j += 1) {\n out.print(\"#\");\n }\n out.println();\n }",
"for (int j = 0; j < W; j += 1) {\n out.print(\"#\");\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j += 1",
"j += 1",
"j",
"1",
"{\n out.print(\"#\");\n }",
"{\n out.print(\"#\");\n }",
"out.print(\"#\")",
"out.print",
"out",
"\"#\"",
"out.println()",
"out.println",
"out",
"out.println()",
"out.println",
"out",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n while (scan.hasNext()) {\n int H = scan.nextInt();\n int W = scan.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n for (int i = 0; i < H; i += 1) {\n for (int j = 0; j < W; j += 1) {\n out.print(\"#\");\n }\n out.println();\n }\n out.println(); \n }\n } \n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n while (scan.hasNext()) {\n int H = scan.nextInt();\n int W = scan.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n for (int i = 0; i < H; i += 1) {\n for (int j = 0; j < W; j += 1) {\n out.print(\"#\");\n }\n out.println();\n }\n out.println(); \n }\n } \n}",
"Main"
] | import static java.lang.System.out;
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 += 1) {
for (int j = 0; j < W; j += 1) {
out.print("#");
}
out.println();
}
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,
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,
0,
13,
4,
18,
13,
0,
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
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
29,
40
],
[
41,
41
],
[
41,
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
],
[
41,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
28,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
28,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
28,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int h = scanner.nextInt();\n int w = scanner.nextInt();\n while (h + w > 0) {\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 }\n System.out.println();\n \n \n \n h = scanner.nextInt();\n w = scanner.nextInt();\n }\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int h = scanner.nextInt();\n int w = scanner.nextInt();\n while (h + w > 0) {\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 }\n System.out.println();\n \n \n \n h = scanner.nextInt();\n w = scanner.nextInt();\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int h = scanner.nextInt();\n int w = scanner.nextInt();\n while (h + w > 0) {\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 }\n System.out.println();\n \n \n \n h = scanner.nextInt();\n w = scanner.nextInt();\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n int h = scanner.nextInt();\n int w = scanner.nextInt();\n while (h + w > 0) {\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 }\n System.out.println();\n \n \n \n h = scanner.nextInt();\n w = scanner.nextInt();\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int h = scanner.nextInt();",
"h",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int w = scanner.nextInt();",
"w",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"while (h + w > 0) {\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 }\n System.out.println();\n \n \n \n h = scanner.nextInt();\n w = scanner.nextInt();\n }",
"h + w > 0",
"h + w",
"h",
"w",
"0",
"{\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 }\n System.out.println();\n \n \n \n h = scanner.nextInt();\n w = scanner.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 }",
"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",
"h = scanner.nextInt()",
"h",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"w = scanner.nextInt()",
"w",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int h = scanner.nextInt();\n int w = scanner.nextInt();\n while (h + w > 0) {\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 }\n System.out.println();\n \n \n \n h = scanner.nextInt();\n w = scanner.nextInt();\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int h = scanner.nextInt();\n int w = scanner.nextInt();\n while (h + w > 0) {\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 }\n System.out.println();\n \n \n \n h = scanner.nextInt();\n w = scanner.nextInt();\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int h = scanner.nextInt();
int w = scanner.nextInt();
while (h + 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 = scanner.nextInt();
w = scanner.nextInt();
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
42,
17,
30,
0,
13,
4,
18,
13,
14,
4,
18,
17,
13,
30,
3,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
18,
4,
18,
13,
17,
17,
1,
40,
13,
30,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
18,
4,
18,
13,
17,
17,
1,
40,
13,
30,
30,
0,
13,
17,
4,
18,
13,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
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
],
[
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
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
35,
40
],
[
40,
41
],
[
29,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
52,
57
],
[
42,
58
],
[
58,
59
],
[
59,
60
],
[
42,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
76,
81
],
[
66,
82
],
[
82,
83
],
[
83,
84
],
[
66,
85
],
[
86,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
62,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
29,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
17,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
98,
108
],
[
108,
109
],
[
109,
110
],
[
98,
111
],
[
112,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
15,
122
],
[
122,
123
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString strNum = \"\";\n\t\tArrayList<String> squea = new ArrayList<String>();\n\t\twhile (true) {\n\t\t\tstrNum = br.readLine();\n\t\t\tif (\"0 0\".equals(strNum)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < Integer.parseInt(strNum.split(\" \")[0]); i++) {\n\t\t\t\tString line = \"\";\n\t\t\t\tfor (int j = 0; j < Integer.parseInt(strNum.split(\" \")[1]); j++) {\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}\n\t\t\t\tsquea.add(line);\n\t\t\t}\n\t\t\tsquea.add(\"\");\n\t\t}\n\t\tfor (int i = 0; i < squea.size(); i++) {\n\t\t\tSystem.out.println(squea.get(i));\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",
"class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString strNum = \"\";\n\t\tArrayList<String> squea = new ArrayList<String>();\n\t\twhile (true) {\n\t\t\tstrNum = br.readLine();\n\t\t\tif (\"0 0\".equals(strNum)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < Integer.parseInt(strNum.split(\" \")[0]); i++) {\n\t\t\t\tString line = \"\";\n\t\t\t\tfor (int j = 0; j < Integer.parseInt(strNum.split(\" \")[1]); j++) {\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}\n\t\t\t\tsquea.add(line);\n\t\t\t}\n\t\t\tsquea.add(\"\");\n\t\t}\n\t\tfor (int i = 0; i < squea.size(); i++) {\n\t\t\tSystem.out.println(squea.get(i));\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\t\tString strNum = \"\";\n\t\tArrayList<String> squea = new ArrayList<String>();\n\t\twhile (true) {\n\t\t\tstrNum = br.readLine();\n\t\t\tif (\"0 0\".equals(strNum)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < Integer.parseInt(strNum.split(\" \")[0]); i++) {\n\t\t\t\tString line = \"\";\n\t\t\t\tfor (int j = 0; j < Integer.parseInt(strNum.split(\" \")[1]); j++) {\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}\n\t\t\t\tsquea.add(line);\n\t\t\t}\n\t\t\tsquea.add(\"\");\n\t\t}\n\t\tfor (int i = 0; i < squea.size(); i++) {\n\t\t\tSystem.out.println(squea.get(i));\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString strNum = \"\";\n\t\tArrayList<String> squea = new ArrayList<String>();\n\t\twhile (true) {\n\t\t\tstrNum = br.readLine();\n\t\t\tif (\"0 0\".equals(strNum)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < Integer.parseInt(strNum.split(\" \")[0]); i++) {\n\t\t\t\tString line = \"\";\n\t\t\t\tfor (int j = 0; j < Integer.parseInt(strNum.split(\" \")[1]); j++) {\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}\n\t\t\t\tsquea.add(line);\n\t\t\t}\n\t\t\tsquea.add(\"\");\n\t\t}\n\t\tfor (int i = 0; i < squea.size(); i++) {\n\t\t\tSystem.out.println(squea.get(i));\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String strNum = \"\";",
"strNum",
"\"\"",
"ArrayList<String> squea = new ArrayList<String>();",
"squea",
"new ArrayList<String>()",
"while (true) {\n\t\t\tstrNum = br.readLine();\n\t\t\tif (\"0 0\".equals(strNum)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < Integer.parseInt(strNum.split(\" \")[0]); i++) {\n\t\t\t\tString line = \"\";\n\t\t\t\tfor (int j = 0; j < Integer.parseInt(strNum.split(\" \")[1]); j++) {\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}\n\t\t\t\tsquea.add(line);\n\t\t\t}\n\t\t\tsquea.add(\"\");\n\t\t}",
"true",
"{\n\t\t\tstrNum = br.readLine();\n\t\t\tif (\"0 0\".equals(strNum)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < Integer.parseInt(strNum.split(\" \")[0]); i++) {\n\t\t\t\tString line = \"\";\n\t\t\t\tfor (int j = 0; j < Integer.parseInt(strNum.split(\" \")[1]); j++) {\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}\n\t\t\t\tsquea.add(line);\n\t\t\t}\n\t\t\tsquea.add(\"\");\n\t\t}",
"strNum = br.readLine()",
"strNum",
"br.readLine()",
"br.readLine",
"br",
"if (\"0 0\".equals(strNum)) {\n\t\t\t\tbreak;\n\t\t\t}",
"\"0 0\".equals(strNum)",
"\"0 0\".equals",
"\"0 0\"",
"strNum",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for (int i = 0; i < Integer.parseInt(strNum.split(\" \")[0]); i++) {\n\t\t\t\tString line = \"\";\n\t\t\t\tfor (int j = 0; j < Integer.parseInt(strNum.split(\" \")[1]); j++) {\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}\n\t\t\t\tsquea.add(line);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < Integer.parseInt(strNum.split(\" \")[0])",
"i",
"Integer.parseInt(strNum.split(\" \")[0])",
"Integer.parseInt",
"Integer",
"strNum.split(\" \")[0]",
"strNum.split(\" \")",
"strNum.split",
"strNum",
"\" \"",
"0",
"i++",
"i++",
"i",
"{\n\t\t\t\tString line = \"\";\n\t\t\t\tfor (int j = 0; j < Integer.parseInt(strNum.split(\" \")[1]); j++) {\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}\n\t\t\t\tsquea.add(line);\n\t\t\t}",
"{\n\t\t\t\tString line = \"\";\n\t\t\t\tfor (int j = 0; j < Integer.parseInt(strNum.split(\" \")[1]); j++) {\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}\n\t\t\t\tsquea.add(line);\n\t\t\t}",
"String line = \"\";",
"line",
"\"\"",
"for (int j = 0; j < Integer.parseInt(strNum.split(\" \")[1]); j++) {\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < Integer.parseInt(strNum.split(\" \")[1])",
"j",
"Integer.parseInt(strNum.split(\" \")[1])",
"Integer.parseInt",
"Integer",
"strNum.split(\" \")[1]",
"strNum.split(\" \")",
"strNum.split",
"strNum",
"\" \"",
"1",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}",
"{\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}",
"line += \"#\"",
"line",
"\"#\"",
"squea.add(line)",
"squea.add",
"squea",
"line",
"squea.add(\"\")",
"squea.add",
"squea",
"\"\"",
"for (int i = 0; i < squea.size(); i++) {\n\t\t\tSystem.out.println(squea.get(i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < squea.size()",
"i",
"squea.size()",
"squea.size",
"squea",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(squea.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(squea.get(i));\n\t\t}",
"System.out.println(squea.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"squea.get(i)",
"squea.get",
"squea",
"i",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String strNum = "";
ArrayList<String> squea = new ArrayList<String>();
while (true) {
strNum = br.readLine();
if ("0 0".equals(strNum)) {
break;
}
for (int i = 0; i < Integer.parseInt(strNum.split(" ")[0]); i++) {
String line = "";
for (int j = 0; j < Integer.parseInt(strNum.split(" ")[1]); j++) {
line += "#";
}
squea.add(line);
}
squea.add("");
}
for (int i = 0; i < squea.size(); i++) {
System.out.println(squea.get(i));
}
}
} |
[
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,
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
],
[
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
],
[
15,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tfor (; ;) {\n\t\t\tint h = stdIn.nextInt();\n\t\t\tint w = stdIn.nextInt();\n\t\t\t\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\t}\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tfor (; ;) {\n\t\t\tint h = stdIn.nextInt();\n\t\t\tint w = stdIn.nextInt();\n\t\t\t\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\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tfor (; ;) {\n\t\t\tint h = stdIn.nextInt();\n\t\t\tint w = stdIn.nextInt();\n\t\t\t\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\t}",
"main",
"{\n\t\t\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tfor (; ;) {\n\t\t\tint h = stdIn.nextInt();\n\t\t\tint w = stdIn.nextInt();\n\t\t\t\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\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"for (; ;) {\n\t\t\tint h = stdIn.nextInt();\n\t\t\tint w = stdIn.nextInt();\n\t\t\t\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\t\t\tint h = stdIn.nextInt();\n\t\t\tint w = stdIn.nextInt();\n\t\t\t\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\t\t\tint h = stdIn.nextInt();\n\t\t\tint w = stdIn.nextInt();\n\t\t\t\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 = stdIn.nextInt();",
"h",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int 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;",
"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) {\n\t\t\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tfor (; ;) {\n\t\t\tint h = stdIn.nextInt();\n\t\t\tint w = stdIn.nextInt();\n\t\t\t\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\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tfor (; ;) {\n\t\t\tint h = stdIn.nextInt();\n\t\t\tint w = stdIn.nextInt();\n\t\t\t\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\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
for (; ;) {
int h = stdIn.nextInt();
int w = stdIn.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,
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 scan = new Scanner(System.in);\n\t\tint H,W;\n\t\tH = scan.nextInt();\n\t\tW = scan.nextInt();\n\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.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\tH = scan.nextInt();\n\t\t\tW = scan.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 scan = new Scanner(System.in);\n\t\tint H,W;\n\t\tH = scan.nextInt();\n\t\tW = scan.nextInt();\n\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.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\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint H,W;\n\t\tH = scan.nextInt();\n\t\tW = scan.nextInt();\n\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.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\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint H,W;\n\t\tH = scan.nextInt();\n\t\tW = scan.nextInt();\n\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.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\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int H",
"H",
"W;",
"W",
"H = scan.nextInt()",
"H",
"scan.nextInt()",
"scan.nextInt",
"scan",
"W = scan.nextInt()",
"W",
"scan.nextInt()",
"scan.nextInt",
"scan",
"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.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\tH = scan.nextInt();\n\t\t\tW = scan.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.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\tH = scan.nextInt();\n\t\t\tW = scan.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.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"\\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.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"\\n\");\n\t\t\t}",
"{\n\t\t\t\tfor(int j = 0; j < W; 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(int j = 0; j < W; j++){\n\t\t\t\t\tSystem.out.printf(\"#\");\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.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\"",
"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\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint H,W;\n\t\tH = scan.nextInt();\n\t\tW = scan.nextInt();\n\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.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\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\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 H,W;\n\t\tH = scan.nextInt();\n\t\tW = scan.nextInt();\n\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.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\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\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;
H = scan.nextInt();
W = scan.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 = scan.nextInt();
W = scan.nextInt();
}
}
} |
[
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,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
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
],
[
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
],
[
37,
38
],
[
18,
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
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
18,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
6,
67
],
[
67,
68
],
[
4,
69
],
[
69,
70
],
[
69,
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
],
[
69,
91
],
[
91,
92
]
] | [
"\nimport java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\t// Scanner scanner = new Scanner(\"3 5 4 2 0 0 8 8\");\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a;\n\t\tint b;\n\t\twhile (true) {\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\tlineMaker(b);\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n\n\tstatic void lineMaker(int b) {\n\t\tfor (int i = 0; i < b; i++) {\n\t\t\tSystem.out.print(\"#\");\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\t// Scanner scanner = new Scanner(\"3 5 4 2 0 0 8 8\");\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a;\n\t\tint b;\n\t\twhile (true) {\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\tlineMaker(b);\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n\n\tstatic void lineMaker(int b) {\n\t\tfor (int i = 0; i < b; i++) {\n\t\t\tSystem.out.print(\"#\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// Scanner scanner = new Scanner(\"3 5 4 2 0 0 8 8\");\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a;\n\t\tint b;\n\t\twhile (true) {\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\tlineMaker(b);\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// Scanner scanner = new Scanner(\"3 5 4 2 0 0 8 8\");\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a;\n\t\tint b;\n\t\twhile (true) {\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\tlineMaker(b);\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int a;",
"a",
"int b;",
"b",
"while (true) {\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\tlineMaker(b);\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"true",
"{\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\tlineMaker(b);\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"a = scanner.nextInt()",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"b = scanner.nextInt()",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for (int i = 0; i < a; i++) {\n\t\t\t\tlineMaker(b);\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\tlineMaker(b);\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"{\n\t\t\t\tlineMaker(b);\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"lineMaker(b)",
"lineMaker",
"b",
"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",
"static void lineMaker(int b) {\n\t\tfor (int i = 0; i < b; i++) {\n\t\t\tSystem.out.print(\"#\");\n\t\t}\n\t}",
"lineMaker",
"{\n\t\tfor (int i = 0; i < b; i++) {\n\t\t\tSystem.out.print(\"#\");\n\t\t}\n\t}",
"for (int i = 0; i < b; i++) {\n\t\t\tSystem.out.print(\"#\");\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < b",
"i",
"b",
"i++",
"i++",
"i",
"{\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",
"\"#\"",
"int b",
"b"
] |
import java.util.Scanner;
class Main {
public static void main(String[] args) {
// Scanner scanner = new Scanner("3 5 4 2 0 0 8 8");
Scanner scanner = new Scanner(System.in);
int a;
int b;
while (true) {
a = scanner.nextInt();
b = scanner.nextInt();
if (a == 0 && b == 0) {
break;
}
for (int i = 0; i < a; i++) {
lineMaker(b);
System.out.println("");
}
System.out.println("");
}
}
static void lineMaker(int b) {
for (int i = 0; i < b; i++) {
System.out.print("#");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
42,
17,
30,
42,
2,
2,
13,
17,
2,
13,
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,
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
],
[
95,
5
],
[
95,
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
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
18,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
18,
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
],
[
18,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
6,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
] | [
"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 H;\n\t\tint W;\n\n\t\twhile (true) {\n\t\t\tdo {\n\t\t\t\tH = sc.nextInt();\n\t\t\t\tW = sc.nextInt();\n\t\t\t} while (H >= 300 && W >= 300);\n\n\t\t\tif (H == 0 && W == 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.print(\"\\n\");\n\t\t\t}\n\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\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 H;\n\t\tint W;\n\n\t\twhile (true) {\n\t\t\tdo {\n\t\t\t\tH = sc.nextInt();\n\t\t\t\tW = sc.nextInt();\n\t\t\t} while (H >= 300 && W >= 300);\n\n\t\t\tif (H == 0 && W == 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.print(\"\\n\");\n\t\t\t}\n\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint H;\n\t\tint W;\n\n\t\twhile (true) {\n\t\t\tdo {\n\t\t\t\tH = sc.nextInt();\n\t\t\t\tW = sc.nextInt();\n\t\t\t} while (H >= 300 && W >= 300);\n\n\t\t\tif (H == 0 && W == 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.print(\"\\n\");\n\t\t\t}\n\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint H;\n\t\tint W;\n\n\t\twhile (true) {\n\t\t\tdo {\n\t\t\t\tH = sc.nextInt();\n\t\t\t\tW = sc.nextInt();\n\t\t\t} while (H >= 300 && W >= 300);\n\n\t\t\tif (H == 0 && W == 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.print(\"\\n\");\n\t\t\t}\n\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int H;",
"H",
"int W;",
"W",
"while (true) {\n\t\t\tdo {\n\t\t\t\tH = sc.nextInt();\n\t\t\t\tW = sc.nextInt();\n\t\t\t} while (H >= 300 && W >= 300);\n\n\t\t\tif (H == 0 && W == 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.print(\"\\n\");\n\t\t\t}\n\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}",
"true",
"{\n\t\t\tdo {\n\t\t\t\tH = sc.nextInt();\n\t\t\t\tW = sc.nextInt();\n\t\t\t} while (H >= 300 && W >= 300);\n\n\t\t\tif (H == 0 && W == 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.print(\"\\n\");\n\t\t\t}\n\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}",
"do {\n\t\t\t\tH = sc.nextInt();\n\t\t\t\tW = sc.nextInt();\n\t\t\t} while (H >= 300 && W >= 300);",
"H >= 300 && W >= 300",
"H >= 300",
"H",
"300",
"W >= 300",
"W",
"300",
"{\n\t\t\t\tH = sc.nextInt();\n\t\t\t\tW = sc.nextInt();\n\t\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) {\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 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.print(\"\\n\");\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.print(\"\\n\");\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.print(\"\\n\");\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.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\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint H;\n\t\tint W;\n\n\t\twhile (true) {\n\t\t\tdo {\n\t\t\t\tH = sc.nextInt();\n\t\t\t\tW = sc.nextInt();\n\t\t\t} while (H >= 300 && W >= 300);\n\n\t\t\tif (H == 0 && W == 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.print(\"\\n\");\n\t\t\t}\n\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\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 H;\n\t\tint W;\n\n\t\twhile (true) {\n\t\t\tdo {\n\t\t\t\tH = sc.nextInt();\n\t\t\t\tW = sc.nextInt();\n\t\t\t} while (H >= 300 && W >= 300);\n\n\t\t\tif (H == 0 && W == 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.print(\"\\n\");\n\t\t\t}\n\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\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;
int W;
while (true) {
do {
H = sc.nextInt();
W = sc.nextInt();
} while (H >= 300 && W >= 300);
if (H == 0 && W == 0) {
break;
}
for (int j = 0; j < H; j++) {
for (int 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,
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,
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
],
[
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
],
[
67,
72
],
[
14,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
6,
79
],
[
79,
80
]
] | [
"/** 2たてH cm よこ W cm の長方形を描くプログラムを作成して下さい。\n*1 cm × 1cm の長方形を '#'で表します。\n*/\n\n/*sucannerクラス使うためにインポート*/\nimport java.util.Scanner;\n\nclass Main {\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\t//処理を繰り返す\n\t\twhile (true){\n\t\t\t//2つの数字を受け取る\n\t\t\t int intH = sc.nextInt();\n\t\t\t int intW = sc.nextInt();\n\t\t\t //受け取った数字が二つとも0の場合処理を終了する\n\t\t\tif(intH == 0 && intW == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//受け取った縦の数字の回数改行する\n\t\t\tfor (int i = 0; i < intH ; i++){\n\t\t\t\t//受けとった横の数字の個数分#を表示する\n\t\t\t\tfor ( int j = 0; j < intW ; 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.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\t//処理を繰り返す\n\t\twhile (true){\n\t\t\t//2つの数字を受け取る\n\t\t\t int intH = sc.nextInt();\n\t\t\t int intW = sc.nextInt();\n\t\t\t //受け取った数字が二つとも0の場合処理を終了する\n\t\t\tif(intH == 0 && intW == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//受け取った縦の数字の回数改行する\n\t\t\tfor (int i = 0; i < intH ; i++){\n\t\t\t\t//受けとった横の数字の個数分#を表示する\n\t\t\t\tfor ( int j = 0; j < intW ; 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",
"// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\t//処理を繰り返す\n\t\twhile (true){\n\t\t\t//2つの数字を受け取る\n\t\t\t int intH = sc.nextInt();\n\t\t\t int intW = sc.nextInt();\n\t\t\t //受け取った数字が二つとも0の場合処理を終了する\n\t\t\tif(intH == 0 && intW == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//受け取った縦の数字の回数改行する\n\t\t\tfor (int i = 0; i < intH ; i++){\n\t\t\t\t//受けとった横の数字の個数分#を表示する\n\t\t\t\tfor ( int j = 0; j < intW ; 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\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\t//処理を繰り返す\n\t\twhile (true){\n\t\t\t//2つの数字を受け取る\n\t\t\t int intH = sc.nextInt();\n\t\t\t int intW = sc.nextInt();\n\t\t\t //受け取った数字が二つとも0の場合処理を終了する\n\t\t\tif(intH == 0 && intW == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//受け取った縦の数字の回数改行する\n\t\t\tfor (int i = 0; i < intH ; i++){\n\t\t\t\t//受けとった横の数字の個数分#を表示する\n\t\t\t\tfor ( int j = 0; j < intW ; 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}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (true){\n\t\t\t//2つの数字を受け取る\n\t\t\t int intH = sc.nextInt();\n\t\t\t int intW = sc.nextInt();\n\t\t\t //受け取った数字が二つとも0の場合処理を終了する\n\t\t\tif(intH == 0 && intW == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//受け取った縦の数字の回数改行する\n\t\t\tfor (int i = 0; i < intH ; i++){\n\t\t\t\t//受けとった横の数字の個数分#を表示する\n\t\t\t\tfor ( int j = 0; j < intW ; 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\t//2つの数字を受け取る\n\t\t\t int intH = sc.nextInt();\n\t\t\t int intW = sc.nextInt();\n\t\t\t //受け取った数字が二つとも0の場合処理を終了する\n\t\t\tif(intH == 0 && intW == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//受け取った縦の数字の回数改行する\n\t\t\tfor (int i = 0; i < intH ; i++){\n\t\t\t\t//受けとった横の数字の個数分#を表示する\n\t\t\t\tfor ( int j = 0; j < intW ; 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}",
"int intH = sc.nextInt();",
"intH",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int intW = sc.nextInt();",
"intW",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(intH == 0 && intW == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"intH == 0 && intW == 0",
"intH == 0",
"intH",
"0",
"intW == 0",
"intW",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for (int i = 0; i < intH ; i++){\n\t\t\t\t//受けとった横の数字の個数分#を表示する\n\t\t\t\tfor ( int j = 0; j < intW ; 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 < intH",
"i",
"intH",
"i++",
"i++",
"i",
"{\n\t\t\t\t//受けとった横の数字の個数分#を表示する\n\t\t\t\tfor ( int j = 0; j < intW ; 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\t//受けとった横の数字の個数分#を表示する\n\t\t\t\tfor ( int j = 0; j < intW ; 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 < intW ; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < intW",
"j",
"intW",
"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"
] | /** 2たてH cm よこ W cm の長方形を描くプログラムを作成して下さい。
*1 cm × 1cm の長方形を '#'で表します。
*/
/*sucannerクラス使うためにインポート*/
import java.util.Scanner;
class Main {
// プログラムのエントリポイント
public static void main(String[] args) {
// 入力ストリームの生成
Scanner sc = new Scanner(System.in);
//処理を繰り返す
while (true){
//2つの数字を受け取る
int intH = sc.nextInt();
int intW = sc.nextInt();
//受け取った数字が二つとも0の場合処理を終了する
if(intH == 0 && intW == 0){
break;
}
//受け取った縦の数字の回数改行する
for (int i = 0; i < intH ; i++){
//受けとった横の数字の個数分#を表示する
for ( int j = 0; j < intW ; 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,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
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,
3,
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
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
14,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
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
],
[
56,
58
],
[
39,
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
],
[
39,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
31,
83
],
[
6,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint h = Integer.parseInt(std.next());\n\t\t\tint w = Integer.parseInt(std.next());\n\t\t\tif(h!=0 && w!=0){\n\t\t\t\tString line = \"\";\n\t\t\t\tfor(int m=1; m<=w; m++){\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}\n\t\t\t\tfor(int n=1; n<=h; n++){\n\t\t\t\t\tSystem.out.println(line);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}else break;\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 std = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint h = Integer.parseInt(std.next());\n\t\t\tint w = Integer.parseInt(std.next());\n\t\t\tif(h!=0 && w!=0){\n\t\t\t\tString line = \"\";\n\t\t\t\tfor(int m=1; m<=w; m++){\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}\n\t\t\t\tfor(int n=1; n<=h; n++){\n\t\t\t\t\tSystem.out.println(line);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}else break;\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint h = Integer.parseInt(std.next());\n\t\t\tint w = Integer.parseInt(std.next());\n\t\t\tif(h!=0 && w!=0){\n\t\t\t\tString line = \"\";\n\t\t\t\tfor(int m=1; m<=w; m++){\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}\n\t\t\t\tfor(int n=1; n<=h; n++){\n\t\t\t\t\tSystem.out.println(line);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}else break;\n\t\t}\n\t}",
"main",
"{\n\t\tScanner std = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint h = Integer.parseInt(std.next());\n\t\t\tint w = Integer.parseInt(std.next());\n\t\t\tif(h!=0 && w!=0){\n\t\t\t\tString line = \"\";\n\t\t\t\tfor(int m=1; m<=w; m++){\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}\n\t\t\t\tfor(int n=1; n<=h; n++){\n\t\t\t\t\tSystem.out.println(line);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}else break;\n\t\t}\n\t}",
"Scanner std = new Scanner(System.in);",
"std",
"new Scanner(System.in)",
"while(true){\n\t\t\tint h = Integer.parseInt(std.next());\n\t\t\tint w = Integer.parseInt(std.next());\n\t\t\tif(h!=0 && w!=0){\n\t\t\t\tString line = \"\";\n\t\t\t\tfor(int m=1; m<=w; m++){\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}\n\t\t\t\tfor(int n=1; n<=h; n++){\n\t\t\t\t\tSystem.out.println(line);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}else break;\n\t\t}",
"true",
"{\n\t\t\tint h = Integer.parseInt(std.next());\n\t\t\tint w = Integer.parseInt(std.next());\n\t\t\tif(h!=0 && w!=0){\n\t\t\t\tString line = \"\";\n\t\t\t\tfor(int m=1; m<=w; m++){\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}\n\t\t\t\tfor(int n=1; n<=h; n++){\n\t\t\t\t\tSystem.out.println(line);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}else break;\n\t\t}",
"int h = Integer.parseInt(std.next());",
"h",
"Integer.parseInt(std.next())",
"Integer.parseInt",
"Integer",
"std.next()",
"std.next",
"std",
"int w = Integer.parseInt(std.next());",
"w",
"Integer.parseInt(std.next())",
"Integer.parseInt",
"Integer",
"std.next()",
"std.next",
"std",
"if(h!=0 && w!=0){\n\t\t\t\tString line = \"\";\n\t\t\t\tfor(int m=1; m<=w; m++){\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}\n\t\t\t\tfor(int n=1; n<=h; n++){\n\t\t\t\t\tSystem.out.println(line);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}else break;",
"h!=0 && w!=0",
"h!=0",
"h",
"0",
"w!=0",
"w",
"0",
"{\n\t\t\t\tString line = \"\";\n\t\t\t\tfor(int m=1; m<=w; m++){\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}\n\t\t\t\tfor(int n=1; n<=h; n++){\n\t\t\t\t\tSystem.out.println(line);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"String line = \"\";",
"line",
"\"\"",
"for(int m=1; m<=w; m++){\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}",
"int m=1;",
"int m=1;",
"m",
"1",
"m<=w",
"m",
"w",
"m++",
"m++",
"m",
"{\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}",
"{\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}",
"line += \"#\"",
"line",
"\"#\"",
"for(int n=1; n<=h; n++){\n\t\t\t\t\tSystem.out.println(line);\n\t\t\t\t}",
"int n=1;",
"int n=1;",
"n",
"1",
"n<=h",
"n",
"h",
"n++",
"n++",
"n",
"{\n\t\t\t\t\tSystem.out.println(line);\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.println(line);\n\t\t\t\t}",
"System.out.println(line)",
"System.out.println",
"System.out",
"System",
"System.out",
"line",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"break;",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint h = Integer.parseInt(std.next());\n\t\t\tint w = Integer.parseInt(std.next());\n\t\t\tif(h!=0 && w!=0){\n\t\t\t\tString line = \"\";\n\t\t\t\tfor(int m=1; m<=w; m++){\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}\n\t\t\t\tfor(int n=1; n<=h; n++){\n\t\t\t\t\tSystem.out.println(line);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}else break;\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint h = Integer.parseInt(std.next());\n\t\t\tint w = Integer.parseInt(std.next());\n\t\t\tif(h!=0 && w!=0){\n\t\t\t\tString line = \"\";\n\t\t\t\tfor(int m=1; m<=w; m++){\n\t\t\t\t\tline += \"#\";\n\t\t\t\t}\n\t\t\t\tfor(int n=1; n<=h; n++){\n\t\t\t\t\tSystem.out.println(line);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}else break;\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner std = new Scanner(System.in);
while(true){
int h = Integer.parseInt(std.next());
int w = Integer.parseInt(std.next());
if(h!=0 && w!=0){
String line = "";
for(int m=1; m<=w; m++){
line += "#";
}
for(int n=1; n<=h; n++){
System.out.println(line);
}
System.out.println();
}else break;
}
}
} |
[
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,
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
] | [
[
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
],
[
34,
36
],
[
14,
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
],
[
14,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
6,
77
],
[
77,
78
]
] | [
"import java.util.*;\n \nclass Main {\n public static void main(String[] arg){\n Scanner in = new Scanner(System.in);\n while(true){\n int x = in.nextInt(); \n int y = in.nextInt();\n if (x == 0 && y == 0)break;\n StringBuilder sb = new StringBuilder();\n for(int i = 0;i < x;i++){\n for(int j=0;j < y;j++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n System.out.println(sb);\n } \n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] arg){\n Scanner in = new Scanner(System.in);\n while(true){\n int x = in.nextInt(); \n int y = in.nextInt();\n if (x == 0 && y == 0)break;\n StringBuilder sb = new StringBuilder();\n for(int i = 0;i < x;i++){\n for(int j=0;j < y;j++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n System.out.println(sb);\n } \n }\n}",
"Main",
"public static void main(String[] arg){\n Scanner in = new Scanner(System.in);\n while(true){\n int x = in.nextInt(); \n int y = in.nextInt();\n if (x == 0 && y == 0)break;\n StringBuilder sb = new StringBuilder();\n for(int i = 0;i < x;i++){\n for(int j=0;j < y;j++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n System.out.println(sb);\n } \n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n while(true){\n int x = in.nextInt(); \n int y = in.nextInt();\n if (x == 0 && y == 0)break;\n StringBuilder sb = new StringBuilder();\n for(int i = 0;i < x;i++){\n for(int j=0;j < y;j++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n System.out.println(sb);\n } \n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while(true){\n int x = in.nextInt(); \n int y = in.nextInt();\n if (x == 0 && y == 0)break;\n StringBuilder sb = new StringBuilder();\n for(int i = 0;i < x;i++){\n for(int j=0;j < y;j++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n System.out.println(sb);\n }",
"true",
"{\n int x = in.nextInt(); \n int y = in.nextInt();\n if (x == 0 && y == 0)break;\n StringBuilder sb = new StringBuilder();\n for(int i = 0;i < x;i++){\n for(int j=0;j < y;j++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n System.out.println(sb);\n }",
"int x = in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"int y = in.nextInt();",
"y",
"in.nextInt()",
"in.nextInt",
"in",
"if (x == 0 && y == 0)break;",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for(int i = 0;i < x;i++){\n for(int j=0;j < y;j++){\n sb.append(\"#\");\n }\n sb.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 sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }",
"{\n for(int j=0;j < y;j++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }",
"for(int j=0;j < y;j++){\n sb.append(\"#\");\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j < y",
"j",
"y",
"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)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[] arg",
"arg"
] | import java.util.*;
class Main {
public static void main(String[] arg){
Scanner in = new Scanner(System.in);
while(true){
int x = in.nextInt();
int y = in.nextInt();
if (x == 0 && y == 0)break;
StringBuilder sb = new StringBuilder();
for(int i = 0;i < x;i++){
for(int j=0;j < y;j++){
sb.append("#");
}
sb.append("\n");
}
System.out.println(sb);
}
}
} |
[
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,
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
],
[
104,
11
],
[
104,
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
],
[
28,
29
],
[
29,
30
],
[
26,
31
],
[
23,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
23,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
23,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
23,
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
],
[
83,
86
],
[
69,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
23,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
14,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
12,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
]
] | [
"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 reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\twhile(true){\n\t\t\tString data[] = reader.readLine().split(\" \");\n\t\t\tint a= Integer.parseInt(data[0]);\n\t\t\tint b= Integer.parseInt(data[1]);\n\t\t\t\n\t\t\tif(a==0 && b==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tfor(int y=0; y<a; y++){\n\t\t\t\tfor(int x=0; x<b; x++){\n\t\t\t\t\tbuilder.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbuilder.append(\"\\n\");\n\t\t\t}\n\t\t\tbuilder.append(\"\\n\");\n\t\t\n\t\t}\n\t\tSystem.out.print(builder);\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 reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\twhile(true){\n\t\t\tString data[] = reader.readLine().split(\" \");\n\t\t\tint a= Integer.parseInt(data[0]);\n\t\t\tint b= Integer.parseInt(data[1]);\n\t\t\t\n\t\t\tif(a==0 && b==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tfor(int y=0; y<a; y++){\n\t\t\t\tfor(int x=0; x<b; x++){\n\t\t\t\t\tbuilder.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbuilder.append(\"\\n\");\n\t\t\t}\n\t\t\tbuilder.append(\"\\n\");\n\t\t\n\t\t}\n\t\tSystem.out.print(builder);\n\t}\n}",
"Main",
"public static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\twhile(true){\n\t\t\tString data[] = reader.readLine().split(\" \");\n\t\t\tint a= Integer.parseInt(data[0]);\n\t\t\tint b= Integer.parseInt(data[1]);\n\t\t\t\n\t\t\tif(a==0 && b==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tfor(int y=0; y<a; y++){\n\t\t\t\tfor(int x=0; x<b; x++){\n\t\t\t\t\tbuilder.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbuilder.append(\"\\n\");\n\t\t\t}\n\t\t\tbuilder.append(\"\\n\");\n\t\t\n\t\t}\n\t\tSystem.out.print(builder);\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\twhile(true){\n\t\t\tString data[] = reader.readLine().split(\" \");\n\t\t\tint a= Integer.parseInt(data[0]);\n\t\t\tint b= Integer.parseInt(data[1]);\n\t\t\t\n\t\t\tif(a==0 && b==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tfor(int y=0; y<a; y++){\n\t\t\t\tfor(int x=0; x<b; x++){\n\t\t\t\t\tbuilder.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbuilder.append(\"\\n\");\n\t\t\t}\n\t\t\tbuilder.append(\"\\n\");\n\t\t\n\t\t}\n\t\tSystem.out.print(builder);\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"while(true){\n\t\t\tString data[] = reader.readLine().split(\" \");\n\t\t\tint a= Integer.parseInt(data[0]);\n\t\t\tint b= Integer.parseInt(data[1]);\n\t\t\t\n\t\t\tif(a==0 && b==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tfor(int y=0; y<a; y++){\n\t\t\t\tfor(int x=0; x<b; x++){\n\t\t\t\t\tbuilder.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbuilder.append(\"\\n\");\n\t\t\t}\n\t\t\tbuilder.append(\"\\n\");\n\t\t\n\t\t}",
"true",
"{\n\t\t\tString data[] = reader.readLine().split(\" \");\n\t\t\tint a= Integer.parseInt(data[0]);\n\t\t\tint b= Integer.parseInt(data[1]);\n\t\t\t\n\t\t\tif(a==0 && b==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tfor(int y=0; y<a; y++){\n\t\t\t\tfor(int x=0; x<b; x++){\n\t\t\t\t\tbuilder.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbuilder.append(\"\\n\");\n\t\t\t}\n\t\t\tbuilder.append(\"\\n\");\n\t\t\n\t\t}",
"String data[] = reader.readLine().split(\" \");",
"data",
"reader.readLine().split(\" \")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"int a= Integer.parseInt(data[0]);",
"a",
"Integer.parseInt(data[0])",
"Integer.parseInt",
"Integer",
"data[0]",
"data",
"0",
"int b= Integer.parseInt(data[1]);",
"b",
"Integer.parseInt(data[1])",
"Integer.parseInt",
"Integer",
"data[1]",
"data",
"1",
"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 y=0; y<a; y++){\n\t\t\t\tfor(int x=0; x<b; x++){\n\t\t\t\t\tbuilder.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbuilder.append(\"\\n\");\n\t\t\t}",
"int y=0;",
"int y=0;",
"y",
"0",
"y<a",
"y",
"a",
"y++",
"y++",
"y",
"{\n\t\t\t\tfor(int x=0; x<b; x++){\n\t\t\t\t\tbuilder.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbuilder.append(\"\\n\");\n\t\t\t}",
"{\n\t\t\t\tfor(int x=0; x<b; x++){\n\t\t\t\t\tbuilder.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbuilder.append(\"\\n\");\n\t\t\t}",
"for(int x=0; x<b; x++){\n\t\t\t\t\tbuilder.append(\"#\");\n\t\t\t\t}",
"int x=0;",
"int x=0;",
"x",
"0",
"x<b",
"x",
"b",
"x++",
"x++",
"x",
"{\n\t\t\t\t\tbuilder.append(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tbuilder.append(\"#\");\n\t\t\t\t}",
"builder.append(\"#\")",
"builder.append",
"builder",
"\"#\"",
"builder.append(\"\\n\")",
"builder.append",
"builder",
"\"\\n\"",
"builder.append(\"\\n\")",
"builder.append",
"builder",
"\"\\n\"",
"System.out.print(builder)",
"System.out.print",
"System.out",
"System",
"System.out",
"builder",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\twhile(true){\n\t\t\tString data[] = reader.readLine().split(\" \");\n\t\t\tint a= Integer.parseInt(data[0]);\n\t\t\tint b= Integer.parseInt(data[1]);\n\t\t\t\n\t\t\tif(a==0 && b==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tfor(int y=0; y<a; y++){\n\t\t\t\tfor(int x=0; x<b; x++){\n\t\t\t\t\tbuilder.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbuilder.append(\"\\n\");\n\t\t\t}\n\t\t\tbuilder.append(\"\\n\");\n\t\t\n\t\t}\n\t\tSystem.out.print(builder);\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\twhile(true){\n\t\t\tString data[] = reader.readLine().split(\" \");\n\t\t\tint a= Integer.parseInt(data[0]);\n\t\t\tint b= Integer.parseInt(data[1]);\n\t\t\t\n\t\t\tif(a==0 && b==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tfor(int y=0; y<a; y++){\n\t\t\t\tfor(int x=0; x<b; x++){\n\t\t\t\t\tbuilder.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbuilder.append(\"\\n\");\n\t\t\t}\n\t\t\tbuilder.append(\"\\n\");\n\t\t\n\t\t}\n\t\tSystem.out.print(builder);\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 reader = new BufferedReader(new InputStreamReader(System.in));
StringBuilder builder = new StringBuilder();
while(true){
String data[] = reader.readLine().split(" ");
int a= Integer.parseInt(data[0]);
int b= Integer.parseInt(data[1]);
if(a==0 && b==0)
break;
for(int y=0; y<a; y++){
for(int x=0; x<b; x++){
builder.append("#");
}
builder.append("\n");
}
builder.append("\n");
}
System.out.print(builder);
}
} |
[
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,
20,
41,
13,
41,
13,
17,
42,
17,
30,
4,
18,
13,
4,
18,
13,
0,
13,
4,
18,
13,
2,
4,
18,
13,
17,
14,
4,
18,
13,
17,
30,
3,
40,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
17,
17,
4,
18,
13,
4,
18,
13,
18,
13,
17,
4,
18,
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,
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
],
[
170,
11
],
[
170,
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
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
14,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
39,
40
],
[
34,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
46,
50
],
[
34,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
51,
56
],
[
56,
57
],
[
34,
58
],
[
58,
59
],
[
14,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
60,
70
],
[
70,
71
],
[
71,
72
],
[
60,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
74,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
83,
87
],
[
74,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
94,
96
],
[
74,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
103,
104
],
[
103,
105
],
[
14,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
111,
112
],
[
111,
113
],
[
106,
114
],
[
114,
115
],
[
115,
116
],
[
106,
117
],
[
118,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
119,
130
],
[
130,
131
],
[
131,
132
],
[
119,
133
],
[
134,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
135,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
135,
146
],
[
146,
147
],
[
147,
148
],
[
135,
149
],
[
150,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
151,
156
],
[
134,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
118,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
12,
167
],
[
167,
168
],
[
0,
169
],
[
169,
170
],
[
169,
171
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws java.lang.Exception\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> h = new ArrayList<Integer>();\n\t\tArrayList<Integer> w = new ArrayList<Integer>();\n\t\tArrayList<String> strArray = new ArrayList<String>();\n\t\tString data;\n\t\tint count = 0;\n\t\twhile(true) {\n\t\t\tstrArray.add(br.readLine());\n\t\t\tdata = strArray.get(strArray.size() - 1);\n\t\t\tif(data.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < strArray.size(); i++) {\n\t\t\tString s = strArray.get(i);\n\t\t\tString [] ary = s.split(\" \", 0);\n\t\t\th.add(Integer.parseInt(ary[0]));\n\t\t\tw.add(Integer.parseInt(ary[1]));\n\t\t}\n\t\t\n\t\tfor(int k = 0; k < count; k++) {\n\t\t\tfor(int i = 0; i < h.get(k); i++) {\n\t\t\t\tfor(int j = 0; j < w.get(k); 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\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"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) throws java.lang.Exception\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> h = new ArrayList<Integer>();\n\t\tArrayList<Integer> w = new ArrayList<Integer>();\n\t\tArrayList<String> strArray = new ArrayList<String>();\n\t\tString data;\n\t\tint count = 0;\n\t\twhile(true) {\n\t\t\tstrArray.add(br.readLine());\n\t\t\tdata = strArray.get(strArray.size() - 1);\n\t\t\tif(data.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < strArray.size(); i++) {\n\t\t\tString s = strArray.get(i);\n\t\t\tString [] ary = s.split(\" \", 0);\n\t\t\th.add(Integer.parseInt(ary[0]));\n\t\t\tw.add(Integer.parseInt(ary[1]));\n\t\t}\n\t\t\n\t\tfor(int k = 0; k < count; k++) {\n\t\t\tfor(int i = 0; i < h.get(k); i++) {\n\t\t\t\tfor(int j = 0; j < w.get(k); 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\n}",
"Main",
"public static void main(String[] args) throws java.lang.Exception\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> h = new ArrayList<Integer>();\n\t\tArrayList<Integer> w = new ArrayList<Integer>();\n\t\tArrayList<String> strArray = new ArrayList<String>();\n\t\tString data;\n\t\tint count = 0;\n\t\twhile(true) {\n\t\t\tstrArray.add(br.readLine());\n\t\t\tdata = strArray.get(strArray.size() - 1);\n\t\t\tif(data.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < strArray.size(); i++) {\n\t\t\tString s = strArray.get(i);\n\t\t\tString [] ary = s.split(\" \", 0);\n\t\t\th.add(Integer.parseInt(ary[0]));\n\t\t\tw.add(Integer.parseInt(ary[1]));\n\t\t}\n\t\t\n\t\tfor(int k = 0; k < count; k++) {\n\t\t\tfor(int i = 0; i < h.get(k); i++) {\n\t\t\t\tfor(int j = 0; j < w.get(k); 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\tArrayList<Integer> h = new ArrayList<Integer>();\n\t\tArrayList<Integer> w = new ArrayList<Integer>();\n\t\tArrayList<String> strArray = new ArrayList<String>();\n\t\tString data;\n\t\tint count = 0;\n\t\twhile(true) {\n\t\t\tstrArray.add(br.readLine());\n\t\t\tdata = strArray.get(strArray.size() - 1);\n\t\t\tif(data.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < strArray.size(); i++) {\n\t\t\tString s = strArray.get(i);\n\t\t\tString [] ary = s.split(\" \", 0);\n\t\t\th.add(Integer.parseInt(ary[0]));\n\t\t\tw.add(Integer.parseInt(ary[1]));\n\t\t}\n\t\t\n\t\tfor(int k = 0; k < count; k++) {\n\t\t\tfor(int i = 0; i < h.get(k); i++) {\n\t\t\t\tfor(int j = 0; j < w.get(k); 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))",
"ArrayList<Integer> h = new ArrayList<Integer>();",
"h",
"new ArrayList<Integer>()",
"ArrayList<Integer> w = new ArrayList<Integer>();",
"w",
"new ArrayList<Integer>()",
"ArrayList<String> strArray = new ArrayList<String>();",
"strArray",
"new ArrayList<String>()",
"String data;",
"data",
"int count = 0;",
"count",
"0",
"while(true) {\n\t\t\tstrArray.add(br.readLine());\n\t\t\tdata = strArray.get(strArray.size() - 1);\n\t\t\tif(data.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcount++;\n\t\t}",
"true",
"{\n\t\t\tstrArray.add(br.readLine());\n\t\t\tdata = strArray.get(strArray.size() - 1);\n\t\t\tif(data.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcount++;\n\t\t}",
"strArray.add(br.readLine())",
"strArray.add",
"strArray",
"br.readLine()",
"br.readLine",
"br",
"data = strArray.get(strArray.size() - 1)",
"data",
"strArray.get(strArray.size() - 1)",
"strArray.get",
"strArray",
"strArray.size() - 1",
"strArray.size()",
"strArray.size",
"strArray",
"1",
"if(data.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}",
"data.equals(\"0 0\")",
"data.equals",
"data",
"\"0 0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"count++",
"count",
"for(int i = 0; i < strArray.size(); i++) {\n\t\t\tString s = strArray.get(i);\n\t\t\tString [] ary = s.split(\" \", 0);\n\t\t\th.add(Integer.parseInt(ary[0]));\n\t\t\tw.add(Integer.parseInt(ary[1]));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < strArray.size()",
"i",
"strArray.size()",
"strArray.size",
"strArray",
"i++",
"i++",
"i",
"{\n\t\t\tString s = strArray.get(i);\n\t\t\tString [] ary = s.split(\" \", 0);\n\t\t\th.add(Integer.parseInt(ary[0]));\n\t\t\tw.add(Integer.parseInt(ary[1]));\n\t\t}",
"{\n\t\t\tString s = strArray.get(i);\n\t\t\tString [] ary = s.split(\" \", 0);\n\t\t\th.add(Integer.parseInt(ary[0]));\n\t\t\tw.add(Integer.parseInt(ary[1]));\n\t\t}",
"String s = strArray.get(i);",
"s",
"strArray.get(i)",
"strArray.get",
"strArray",
"i",
"String [] ary = s.split(\" \", 0);",
"ary",
"s.split(\" \", 0)",
"s.split",
"s",
"\" \"",
"0",
"h.add(Integer.parseInt(ary[0]))",
"h.add",
"h",
"Integer.parseInt(ary[0])",
"Integer.parseInt",
"Integer",
"ary[0]",
"ary",
"0",
"w.add(Integer.parseInt(ary[1]))",
"w.add",
"w",
"Integer.parseInt(ary[1])",
"Integer.parseInt",
"Integer",
"ary[1]",
"ary",
"1",
"for(int k = 0; k < count; k++) {\n\t\t\tfor(int i = 0; i < h.get(k); i++) {\n\t\t\t\tfor(int j = 0; j < w.get(k); 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 k = 0;",
"int k = 0;",
"k",
"0",
"k < count",
"k",
"count",
"k++",
"k++",
"k",
"{\n\t\t\tfor(int i = 0; i < h.get(k); i++) {\n\t\t\t\tfor(int j = 0; j < w.get(k); 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\tfor(int i = 0; i < h.get(k); i++) {\n\t\t\t\tfor(int j = 0; j < w.get(k); 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.get(k); i++) {\n\t\t\t\tfor(int j = 0; j < w.get(k); 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.get(k)",
"i",
"h.get(k)",
"h.get",
"h",
"k",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j = 0; j < w.get(k); 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.get(k); 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.get(k); j++) {\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < w.get(k)",
"j",
"w.get(k)",
"w.get",
"w",
"k",
"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 java.lang.Exception\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> h = new ArrayList<Integer>();\n\t\tArrayList<Integer> w = new ArrayList<Integer>();\n\t\tArrayList<String> strArray = new ArrayList<String>();\n\t\tString data;\n\t\tint count = 0;\n\t\twhile(true) {\n\t\t\tstrArray.add(br.readLine());\n\t\t\tdata = strArray.get(strArray.size() - 1);\n\t\t\tif(data.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < strArray.size(); i++) {\n\t\t\tString s = strArray.get(i);\n\t\t\tString [] ary = s.split(\" \", 0);\n\t\t\th.add(Integer.parseInt(ary[0]));\n\t\t\tw.add(Integer.parseInt(ary[1]));\n\t\t}\n\t\t\n\t\tfor(int k = 0; k < count; k++) {\n\t\t\tfor(int i = 0; i < h.get(k); i++) {\n\t\t\t\tfor(int j = 0; j < w.get(k); 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\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws java.lang.Exception\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> h = new ArrayList<Integer>();\n\t\tArrayList<Integer> w = new ArrayList<Integer>();\n\t\tArrayList<String> strArray = new ArrayList<String>();\n\t\tString data;\n\t\tint count = 0;\n\t\twhile(true) {\n\t\t\tstrArray.add(br.readLine());\n\t\t\tdata = strArray.get(strArray.size() - 1);\n\t\t\tif(data.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < strArray.size(); i++) {\n\t\t\tString s = strArray.get(i);\n\t\t\tString [] ary = s.split(\" \", 0);\n\t\t\th.add(Integer.parseInt(ary[0]));\n\t\t\tw.add(Integer.parseInt(ary[1]));\n\t\t}\n\t\t\n\t\tfor(int k = 0; k < count; k++) {\n\t\t\tfor(int i = 0; i < h.get(k); i++) {\n\t\t\t\tfor(int j = 0; j < w.get(k); 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\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) throws java.lang.Exception
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
ArrayList<Integer> h = new ArrayList<Integer>();
ArrayList<Integer> w = new ArrayList<Integer>();
ArrayList<String> strArray = new ArrayList<String>();
String data;
int count = 0;
while(true) {
strArray.add(br.readLine());
data = strArray.get(strArray.size() - 1);
if(data.equals("0 0")) {
break;
}
count++;
}
for(int i = 0; i < strArray.size(); i++) {
String s = strArray.get(i);
String [] ary = s.split(" ", 0);
h.add(Integer.parseInt(ary[0]));
w.add(Integer.parseInt(ary[1]));
}
for(int k = 0; k < count; k++) {
for(int i = 0; i < h.get(k); i++) {
for(int j = 0; j < w.get(k); j++) {
System.out.print('#');
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
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,
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
],
[
86,
5
],
[
86,
6
],
[
6,
7
],
[
86,
8
],
[
8,
9
],
[
86,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
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
],
[
37,
38
],
[
18,
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
],
[
18,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
10,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n private static int x, y;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n while (true) {\n y = stdIn.nextInt();\n x = stdIn.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n for (int i = 0;i < y; i++) {\n for (int j =0;j < x; 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 private static int x, y;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n while (true) {\n y = stdIn.nextInt();\n x = stdIn.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n for (int i = 0;i < y; i++) {\n for (int j =0;j < x; j++) {\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n }\n}",
"Main",
"private static int x",
"x",
"y;",
"y",
"public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n while (true) {\n y = stdIn.nextInt();\n x = stdIn.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n for (int i = 0;i < y; i++) {\n for (int j =0;j < x; j++) {\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n }",
"main",
"{\n Scanner stdIn = new Scanner(System.in);\n while (true) {\n y = stdIn.nextInt();\n x = stdIn.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n for (int i = 0;i < y; i++) {\n for (int j =0;j < x; j++) {\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n }",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"while (true) {\n y = stdIn.nextInt();\n x = stdIn.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n for (int i = 0;i < y; i++) {\n for (int j =0;j < x; j++) {\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }",
"true",
"{\n y = stdIn.nextInt();\n x = stdIn.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n for (int i = 0;i < y; i++) {\n for (int j =0;j < x; j++) {\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }",
"y = stdIn.nextInt()",
"y",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"x = stdIn.nextInt()",
"x",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"if (x == 0 && y == 0) {\n break;\n }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n break;\n }",
"break;",
"for (int i = 0;i < y; i++) {\n for (int j =0;j < x; j++) {\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < y",
"i",
"y",
"i++",
"i++",
"i",
"{\n for (int j =0;j < x; j++) {\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }",
"{\n for (int j =0;j < x; j++) {\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }",
"for (int j =0;j < x; j++) {\n System.out.print(\"#\");\n }",
"int j =0;",
"int j =0;",
"j",
"0",
"j < x",
"j",
"x",
"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 private static int x, y;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n while (true) {\n y = stdIn.nextInt();\n x = stdIn.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n for (int i = 0;i < y; i++) {\n for (int j =0;j < x; j++) {\n System.out.print(\"#\");\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }\n }\n}",
"public class Main {\n private static int x, y;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n while (true) {\n y = stdIn.nextInt();\n x = stdIn.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n for (int i = 0;i < y; i++) {\n for (int j =0;j < x; 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 {
private static int x, y;
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
while (true) {
y = stdIn.nextInt();
x = stdIn.nextInt();
if (x == 0 && y == 0) {
break;
}
for (int i = 0;i < y; i++) {
for (int j =0;j < x; j++) {
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
17,
41,
13,
20,
41,
13,
4,
18,
13,
42,
13,
30,
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,
0,
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,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
117,
8
],
[
117,
9
],
[
9,
10
],
[
9,
11
],
[
117,
12
],
[
12,
13
],
[
12,
14
],
[
117,
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
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
31,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
31,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
31,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
54,
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
],
[
31,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
15,
114
],
[
114,
115
],
[
0,
116
],
[
116,
117
],
[
116,
118
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tstatic int height = 0;\n\tstatic int weight = 0;\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tboolean zeroFlag = true;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\n\t\twhile (zeroFlag) {\n\t\t\tString[] nyuryokuStr = line.split(\"[\\\\s]+\");\n\t\t\theight = Integer.parseInt(nyuryokuStr[0]);\n\t\t\tweight = Integer.parseInt(nyuryokuStr[1]);\n\t\t\tif (height == 0 && weight == 0) {\n\t\t\t\tzeroFlag = false;\n\t\t\t} else {\n\t\t\t\tfor (int h = 0; h < height; h++) {\n\t\t\t\t\tfor (int w = 0; w < weight; 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\t\t\tline = br.readLine();\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tstatic int height = 0;\n\tstatic int weight = 0;\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tboolean zeroFlag = true;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\n\t\twhile (zeroFlag) {\n\t\t\tString[] nyuryokuStr = line.split(\"[\\\\s]+\");\n\t\t\theight = Integer.parseInt(nyuryokuStr[0]);\n\t\t\tweight = Integer.parseInt(nyuryokuStr[1]);\n\t\t\tif (height == 0 && weight == 0) {\n\t\t\t\tzeroFlag = false;\n\t\t\t} else {\n\t\t\t\tfor (int h = 0; h < height; h++) {\n\t\t\t\t\tfor (int w = 0; w < weight; 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\t\t\tline = br.readLine();\n\t\t}\n\t}\n}",
"Main",
"static int height = 0;",
"height",
"0",
"static int weight = 0;",
"weight",
"0",
"public static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tboolean zeroFlag = true;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\n\t\twhile (zeroFlag) {\n\t\t\tString[] nyuryokuStr = line.split(\"[\\\\s]+\");\n\t\t\theight = Integer.parseInt(nyuryokuStr[0]);\n\t\t\tweight = Integer.parseInt(nyuryokuStr[1]);\n\t\t\tif (height == 0 && weight == 0) {\n\t\t\t\tzeroFlag = false;\n\t\t\t} else {\n\t\t\t\tfor (int h = 0; h < height; h++) {\n\t\t\t\t\tfor (int w = 0; w < weight; 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\t\t\tline = br.readLine();\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tboolean zeroFlag = true;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\n\t\twhile (zeroFlag) {\n\t\t\tString[] nyuryokuStr = line.split(\"[\\\\s]+\");\n\t\t\theight = Integer.parseInt(nyuryokuStr[0]);\n\t\t\tweight = Integer.parseInt(nyuryokuStr[1]);\n\t\t\tif (height == 0 && weight == 0) {\n\t\t\t\tzeroFlag = false;\n\t\t\t} else {\n\t\t\t\tfor (int h = 0; h < height; h++) {\n\t\t\t\t\tfor (int w = 0; w < weight; 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\t\t\tline = br.readLine();\n\t\t}\n\t}",
"boolean zeroFlag = true;",
"zeroFlag",
"true",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"while (zeroFlag) {\n\t\t\tString[] nyuryokuStr = line.split(\"[\\\\s]+\");\n\t\t\theight = Integer.parseInt(nyuryokuStr[0]);\n\t\t\tweight = Integer.parseInt(nyuryokuStr[1]);\n\t\t\tif (height == 0 && weight == 0) {\n\t\t\t\tzeroFlag = false;\n\t\t\t} else {\n\t\t\t\tfor (int h = 0; h < height; h++) {\n\t\t\t\t\tfor (int w = 0; w < weight; 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\t\t\tline = br.readLine();\n\t\t}",
"zeroFlag",
"{\n\t\t\tString[] nyuryokuStr = line.split(\"[\\\\s]+\");\n\t\t\theight = Integer.parseInt(nyuryokuStr[0]);\n\t\t\tweight = Integer.parseInt(nyuryokuStr[1]);\n\t\t\tif (height == 0 && weight == 0) {\n\t\t\t\tzeroFlag = false;\n\t\t\t} else {\n\t\t\t\tfor (int h = 0; h < height; h++) {\n\t\t\t\t\tfor (int w = 0; w < weight; 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\t\t\tline = br.readLine();\n\t\t}",
"String[] nyuryokuStr = line.split(\"[\\\\s]+\");",
"nyuryokuStr",
"line.split(\"[\\\\s]+\")",
"line.split",
"line",
"\"[\\\\s]+\"",
"height = Integer.parseInt(nyuryokuStr[0])",
"height",
"Integer.parseInt(nyuryokuStr[0])",
"Integer.parseInt",
"Integer",
"nyuryokuStr[0]",
"nyuryokuStr",
"0",
"weight = Integer.parseInt(nyuryokuStr[1])",
"weight",
"Integer.parseInt(nyuryokuStr[1])",
"Integer.parseInt",
"Integer",
"nyuryokuStr[1]",
"nyuryokuStr",
"1",
"if (height == 0 && weight == 0) {\n\t\t\t\tzeroFlag = false;\n\t\t\t} else {\n\t\t\t\tfor (int h = 0; h < height; h++) {\n\t\t\t\t\tfor (int w = 0; w < weight; 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}",
"height == 0 && weight == 0",
"height == 0",
"height",
"0",
"weight == 0",
"weight",
"0",
"{\n\t\t\t\tzeroFlag = false;\n\t\t\t}",
"zeroFlag = false",
"zeroFlag",
"false",
"{\n\t\t\t\tfor (int h = 0; h < height; h++) {\n\t\t\t\t\tfor (int w = 0; w < weight; 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 h = 0; h < height; h++) {\n\t\t\t\t\tfor (int w = 0; w < weight; 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 h = 0;",
"int h = 0;",
"h",
"0",
"h < height",
"h",
"height",
"h++",
"h++",
"h",
"{\n\t\t\t\t\tfor (int w = 0; w < weight; 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\t\tfor (int w = 0; w < weight; 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 w = 0; w < weight; w++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"int w = 0;",
"int w = 0;",
"w",
"0",
"w < weight",
"w",
"weight",
"w++",
"w++",
"w",
"{\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",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"String[] args",
"args",
"public class Main {\n\tstatic int height = 0;\n\tstatic int weight = 0;\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tboolean zeroFlag = true;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\n\t\twhile (zeroFlag) {\n\t\t\tString[] nyuryokuStr = line.split(\"[\\\\s]+\");\n\t\t\theight = Integer.parseInt(nyuryokuStr[0]);\n\t\t\tweight = Integer.parseInt(nyuryokuStr[1]);\n\t\t\tif (height == 0 && weight == 0) {\n\t\t\t\tzeroFlag = false;\n\t\t\t} else {\n\t\t\t\tfor (int h = 0; h < height; h++) {\n\t\t\t\t\tfor (int w = 0; w < weight; 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\t\t\tline = br.readLine();\n\t\t}\n\t}\n}",
"public class Main {\n\tstatic int height = 0;\n\tstatic int weight = 0;\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tboolean zeroFlag = true;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\n\t\twhile (zeroFlag) {\n\t\t\tString[] nyuryokuStr = line.split(\"[\\\\s]+\");\n\t\t\theight = Integer.parseInt(nyuryokuStr[0]);\n\t\t\tweight = Integer.parseInt(nyuryokuStr[1]);\n\t\t\tif (height == 0 && weight == 0) {\n\t\t\t\tzeroFlag = false;\n\t\t\t} else {\n\t\t\t\tfor (int h = 0; h < height; h++) {\n\t\t\t\t\tfor (int w = 0; w < weight; 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\t\t\tline = br.readLine();\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
static int height = 0;
static int weight = 0;
public static void main(String[] args) throws Exception {
// TODO ?????????????????????????????????????????????
boolean zeroFlag = true;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
while (zeroFlag) {
String[] nyuryokuStr = line.split("[\\s]+");
height = Integer.parseInt(nyuryokuStr[0]);
weight = Integer.parseInt(nyuryokuStr[1]);
if (height == 0 && weight == 0) {
zeroFlag = false;
} else {
for (int h = 0; h < height; h++) {
for (int w = 0; w < weight; w++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
line = br.readLine();
}
}
} |
[
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,
42,
2,
17,
13,
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,
40,
13,
4,
18,
18,
13,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
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
],
[
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
],
[
32,
34
],
[
31,
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
],
[
35,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
35,
60
],
[
60,
61
],
[
30,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
30,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
30,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
4,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
77,
83
],
[
83,
84
]
] | [
"import java.util.Scanner;\nclass Main {\n\tpublic void kami() {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint H = sc.nextInt();\n\t\tint W = sc.nextInt();\n\t\t\n\t\twhile(H != 0 || W != 0){\n\t\t\twhile(0 < H){\n\t\t\t\tfor(int i = 1; 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\tH--;\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\t\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().kami();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic void kami() {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint H = sc.nextInt();\n\t\tint W = sc.nextInt();\n\t\t\n\t\twhile(H != 0 || W != 0){\n\t\t\twhile(0 < H){\n\t\t\t\tfor(int i = 1; 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\tH--;\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\t\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().kami();\n\t}\n\n}",
"Main",
"public void kami() {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint H = sc.nextInt();\n\t\tint W = sc.nextInt();\n\t\t\n\t\twhile(H != 0 || W != 0){\n\t\t\twhile(0 < H){\n\t\t\t\tfor(int i = 1; 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\tH--;\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\t\n\t}",
"kami",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint H = sc.nextInt();\n\t\tint W = sc.nextInt();\n\t\t\n\t\twhile(H != 0 || W != 0){\n\t\t\twhile(0 < H){\n\t\t\t\tfor(int i = 1; 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\tH--;\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\t\n\t}",
"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\t\t\twhile(0 < H){\n\t\t\t\tfor(int i = 1; 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\tH--;\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\twhile(0 < H){\n\t\t\t\tfor(int i = 1; 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\tH--;\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}",
"while(0 < H){\n\t\t\t\tfor(int i = 1; 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\tH--;\n\t\t\t}",
"0 < H",
"0",
"H",
"{\n\t\t\t\tfor(int i = 1; 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\tH--;\n\t\t\t}",
"for(int i = 1; i <= W; i++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"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",
"H--",
"H",
"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",
"public static void main(String[] args) {\n\t\tnew Main().kami();\n\t}",
"main",
"{\n\t\tnew Main().kami();\n\t}",
"new Main().kami()",
"new Main().kami",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public void kami() {
Scanner sc = new Scanner(System.in);
int H = sc.nextInt();
int W = sc.nextInt();
while(H != 0 || W != 0){
while(0 < H){
for(int i = 1; i <= W; i++){
System.out.print("#");
}
System.out.println();
H--;
}
System.out.println();
H = sc.nextInt();
W = sc.nextInt();
}
}
public static void main(String[] args) {
new Main().kami();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
0,
13,
20,
17,
0,
13,
20,
17,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
20,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
0,
18,
13,
13,
13,
0,
18,
13,
13,
13,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
3,
40,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
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,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
148,
8
],
[
148,
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
],
[
11,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
11,
30
],
[
30,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
11,
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
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
50,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
50,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
50,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
50,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
72,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
71,
83
],
[
50,
84
],
[
84,
85
],
[
11,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
86,
94
],
[
94,
95
],
[
95,
96
],
[
86,
97
],
[
98,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
106,
108
],
[
99,
109
],
[
109,
110
],
[
110,
111
],
[
99,
112
],
[
113,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
121,
123
],
[
114,
124
],
[
124,
125
],
[
125,
126
],
[
114,
127
],
[
128,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
113,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
98,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
9,
145
],
[
145,
146
],
[
0,
147
],
[
147,
148
],
[
147,
149
]
] | [
"import java.io.*;\nimport java.util.*;\n\npublic class Main{\n public static void main(String[] args) {\n int[] H;\n int[] W;\n H = new int[100000];\n W = new int[100000];\n int i, j, k, l;\n int count = 0;\n Scanner sc = new Scanner(System.in);\n for(i=1;i<100000;i++){\n int h = sc.nextInt();\n int w = sc.nextInt();\n H[i] = h;\n W[i] = w;\n if (H[i]==0 && W[i]==0) break;\n count++;\n }\n\n for (j=1;j<=count;j++){\n for (k=1;k<=H[j];k++){\n for (l=1;l<=W[j];l++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args) {\n int[] H;\n int[] W;\n H = new int[100000];\n W = new int[100000];\n int i, j, k, l;\n int count = 0;\n Scanner sc = new Scanner(System.in);\n for(i=1;i<100000;i++){\n int h = sc.nextInt();\n int w = sc.nextInt();\n H[i] = h;\n W[i] = w;\n if (H[i]==0 && W[i]==0) break;\n count++;\n }\n\n for (j=1;j<=count;j++){\n for (k=1;k<=H[j];k++){\n for (l=1;l<=W[j];l++){\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 int[] H;\n int[] W;\n H = new int[100000];\n W = new int[100000];\n int i, j, k, l;\n int count = 0;\n Scanner sc = new Scanner(System.in);\n for(i=1;i<100000;i++){\n int h = sc.nextInt();\n int w = sc.nextInt();\n H[i] = h;\n W[i] = w;\n if (H[i]==0 && W[i]==0) break;\n count++;\n }\n\n for (j=1;j<=count;j++){\n for (k=1;k<=H[j];k++){\n for (l=1;l<=W[j];l++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }",
"main",
"{\n int[] H;\n int[] W;\n H = new int[100000];\n W = new int[100000];\n int i, j, k, l;\n int count = 0;\n Scanner sc = new Scanner(System.in);\n for(i=1;i<100000;i++){\n int h = sc.nextInt();\n int w = sc.nextInt();\n H[i] = h;\n W[i] = w;\n if (H[i]==0 && W[i]==0) break;\n count++;\n }\n\n for (j=1;j<=count;j++){\n for (k=1;k<=H[j];k++){\n for (l=1;l<=W[j];l++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }",
"int[] H;",
"H",
"int[] W;",
"W",
"H = new int[100000]",
"H",
"new int[100000]",
"100000",
"W = new int[100000]",
"W",
"new int[100000]",
"100000",
"int i",
"i",
"j",
"j",
"k",
"k",
"l;",
"l",
"int count = 0;",
"count",
"0",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(i=1;i<100000;i++){\n int h = sc.nextInt();\n int w = sc.nextInt();\n H[i] = h;\n W[i] = w;\n if (H[i]==0 && W[i]==0) break;\n count++;\n }",
"i=1;",
"i=1",
"i",
"1",
"i<100000",
"i",
"100000",
"i++",
"i++",
"i",
"{\n int h = sc.nextInt();\n int w = sc.nextInt();\n H[i] = h;\n W[i] = w;\n if (H[i]==0 && W[i]==0) break;\n count++;\n }",
"{\n int h = sc.nextInt();\n int w = sc.nextInt();\n H[i] = h;\n W[i] = w;\n if (H[i]==0 && W[i]==0) break;\n count++;\n }",
"int h = sc.nextInt();",
"h",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"H[i] = h",
"H[i]",
"H",
"i",
"h",
"W[i] = w",
"W[i]",
"W",
"i",
"w",
"if (H[i]==0 && W[i]==0) break;",
"H[i]==0 && W[i]==0",
"H[i]==0",
"H[i]",
"H",
"i",
"0",
"W[i]==0",
"W[i]",
"W",
"i",
"0",
"break;",
"count++",
"count",
"for (j=1;j<=count;j++){\n for (k=1;k<=H[j];k++){\n for (l=1;l<=W[j];l++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"j=1;",
"j=1",
"j",
"1",
"j<=count",
"j",
"count",
"j++",
"j++",
"j",
"{\n for (k=1;k<=H[j];k++){\n for (l=1;l<=W[j];l++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"{\n for (k=1;k<=H[j];k++){\n for (l=1;l<=W[j];l++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"for (k=1;k<=H[j];k++){\n for (l=1;l<=W[j];l++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"k=1;",
"k=1",
"k",
"1",
"k<=H[j]",
"k",
"H[j]",
"H",
"j",
"k++",
"k++",
"k",
"{\n for (l=1;l<=W[j];l++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"{\n for (l=1;l<=W[j];l++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"for (l=1;l<=W[j];l++){\n System.out.print(\"#\");\n }",
"l=1;",
"l=1",
"l",
"1",
"l<=W[j]",
"l",
"W[j]",
"W",
"j",
"l++",
"l++",
"l",
"{\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[] H;\n int[] W;\n H = new int[100000];\n W = new int[100000];\n int i, j, k, l;\n int count = 0;\n Scanner sc = new Scanner(System.in);\n for(i=1;i<100000;i++){\n int h = sc.nextInt();\n int w = sc.nextInt();\n H[i] = h;\n W[i] = w;\n if (H[i]==0 && W[i]==0) break;\n count++;\n }\n\n for (j=1;j<=count;j++){\n for (k=1;k<=H[j];k++){\n for (l=1;l<=W[j];l++){\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 int[] H;\n int[] W;\n H = new int[100000];\n W = new int[100000];\n int i, j, k, l;\n int count = 0;\n Scanner sc = new Scanner(System.in);\n for(i=1;i<100000;i++){\n int h = sc.nextInt();\n int w = sc.nextInt();\n H[i] = h;\n W[i] = w;\n if (H[i]==0 && W[i]==0) break;\n count++;\n }\n\n for (j=1;j<=count;j++){\n for (k=1;k<=H[j];k++){\n for (l=1;l<=W[j];l++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main{
public static void main(String[] args) {
int[] H;
int[] W;
H = new int[100000];
W = new int[100000];
int i, j, k, l;
int count = 0;
Scanner sc = new Scanner(System.in);
for(i=1;i<100000;i++){
int h = sc.nextInt();
int w = sc.nextInt();
H[i] = h;
W[i] = w;
if (H[i]==0 && W[i]==0) break;
count++;
}
for (j=1;j<=count;j++){
for (k=1;k<=H[j];k++){
for (l=1;l<=W[j];l++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
4,
13,
13,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
13,
13,
30,
3,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
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,
23,
13,
12,
13,
30,
14,
2,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
29,
17,
30,
29,
17,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
135,
5
],
[
135,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
17,
19
],
[
12,
20
],
[
20,
21
],
[
21,
22
],
[
12,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
36,
39
],
[
35,
40
],
[
40,
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
],
[
35,
57
],
[
57,
58
],
[
24,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
6,
65
],
[
65,
66
],
[
135,
67
],
[
67,
68
],
[
67,
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
],
[
67,
95
],
[
95,
96
],
[
135,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
104,
102
],
[
118,
103
],
[
115,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
109,
111
],
[
104,
112
],
[
112,
113
],
[
112,
114
],
[
115,
115
],
[
115,
116
],
[
115,
117
],
[
118,
118
],
[
118,
119
],
[
118,
120
],
[
104,
121
],
[
121,
122
],
[
121,
123
],
[
100,
124
],
[
124,
125
],
[
125,
126
],
[
100,
127
],
[
127,
128
],
[
128,
129
],
[
97,
130
],
[
130,
131
],
[
97,
132
],
[
132,
133
],
[
0,
134
],
[
134,
135
],
[
134,
136
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n \n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in); \n \n for(int i = 0; i < 3000; i ++) {\n int H = sc.nextInt();\n int W = sc.nextInt();\n \n if(printJudge(H,W)) {\n for(int height = 0; height < H ; height++) {\n printRect(W);\n } \n }else {\n break;\n }\n System.out.print(\"\\n\");\n }\n } \n\n public static void printRect(int W) { \n\tfor(int i = 0; i < W; i++) {\n\t\tSystem.out.print(\"#\"); \n\t}\n System.out.print(\"\\n\"); \n }\n \n public static boolean printJudge(int H, int W) {\n if((H == 0 && W == 0) || H < 0 || H > 300 || W < 0 || W > 300) {\n return false;\n }else {\n return true;\n }\n }\n \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in); \n \n for(int i = 0; i < 3000; i ++) {\n int H = sc.nextInt();\n int W = sc.nextInt();\n \n if(printJudge(H,W)) {\n for(int height = 0; height < H ; height++) {\n printRect(W);\n } \n }else {\n break;\n }\n System.out.print(\"\\n\");\n }\n } \n\n public static void printRect(int W) { \n\tfor(int i = 0; i < W; i++) {\n\t\tSystem.out.print(\"#\"); \n\t}\n System.out.print(\"\\n\"); \n }\n \n public static boolean printJudge(int H, int W) {\n if((H == 0 && W == 0) || H < 0 || H > 300 || W < 0 || W > 300) {\n return false;\n }else {\n return true;\n }\n }\n \n}",
"Main",
"public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in); \n \n for(int i = 0; i < 3000; i ++) {\n int H = sc.nextInt();\n int W = sc.nextInt();\n \n if(printJudge(H,W)) {\n for(int height = 0; height < H ; height++) {\n printRect(W);\n } \n }else {\n break;\n }\n System.out.print(\"\\n\");\n }\n }",
"main",
"{\n \n Scanner sc = new Scanner(System.in); \n \n for(int i = 0; i < 3000; i ++) {\n int H = sc.nextInt();\n int W = sc.nextInt();\n \n if(printJudge(H,W)) {\n for(int height = 0; height < H ; height++) {\n printRect(W);\n } \n }else {\n break;\n }\n System.out.print(\"\\n\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i = 0; i < 3000; i ++) {\n int H = sc.nextInt();\n int W = sc.nextInt();\n \n if(printJudge(H,W)) {\n for(int height = 0; height < H ; height++) {\n printRect(W);\n } \n }else {\n break;\n }\n System.out.print(\"\\n\");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3000",
"i",
"3000",
"i ++",
"i ++",
"i",
"{\n int H = sc.nextInt();\n int W = sc.nextInt();\n \n if(printJudge(H,W)) {\n for(int height = 0; height < H ; height++) {\n printRect(W);\n } \n }else {\n break;\n }\n System.out.print(\"\\n\");\n }",
"{\n int H = sc.nextInt();\n int W = sc.nextInt();\n \n if(printJudge(H,W)) {\n for(int height = 0; height < H ; height++) {\n printRect(W);\n } \n }else {\n break;\n }\n System.out.print(\"\\n\");\n }",
"int H = sc.nextInt();",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int W = sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(printJudge(H,W)) {\n for(int height = 0; height < H ; height++) {\n printRect(W);\n } \n }else {\n break;\n }",
"printJudge(H,W)",
"printJudge",
"H",
"W",
"{\n for(int height = 0; height < H ; height++) {\n printRect(W);\n } \n }",
"for(int height = 0; height < H ; height++) {\n printRect(W);\n }",
"int height = 0;",
"int height = 0;",
"height",
"0",
"height < H",
"height",
"H",
"height++",
"height++",
"height",
"{\n printRect(W);\n }",
"{\n printRect(W);\n }",
"printRect(W)",
"printRect",
"W",
"{\n break;\n }",
"break;",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args",
"public static void printRect(int W) { \n\tfor(int i = 0; i < W; i++) {\n\t\tSystem.out.print(\"#\"); \n\t}\n System.out.print(\"\\n\"); \n }",
"printRect",
"{ \n\tfor(int i = 0; i < W; i++) {\n\t\tSystem.out.print(\"#\"); \n\t}\n System.out.print(\"\\n\"); \n }",
"for(int i = 0; i < W; i++) {\n\t\tSystem.out.print(\"#\"); \n\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < W",
"i",
"W",
"i++",
"i++",
"i",
"{\n\t\tSystem.out.print(\"#\"); \n\t}",
"{\n\t\tSystem.out.print(\"#\"); \n\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\"",
"int W",
"W",
"public static boolean printJudge(int H, int W) {\n if((H == 0 && W == 0) || H < 0 || H > 300 || W < 0 || W > 300) {\n return false;\n }else {\n return true;\n }\n }",
"printJudge",
"{\n if((H == 0 && W == 0) || H < 0 || H > 300 || W < 0 || W > 300) {\n return false;\n }else {\n return true;\n }\n }",
"if((H == 0 && W == 0) || H < 0 || H > 300 || W < 0 || W > 300) {\n return false;\n }else {\n return true;\n }",
"(H == 0 && W == 0) || H < 0 || H > 300 || W < 0 || W > 300",
"W < 0",
"H > 300",
"(H == 0 && W == 0) || H < 0 || H > 300 || W < 0 || W > 300",
"(H == 0 && W == 0)",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"H < 0",
"H",
"0",
"H > 300",
"H",
"300",
"W < 0",
"W",
"0",
"W > 300",
"W",
"300",
"{\n return false;\n }",
"return false;",
"false",
"{\n return true;\n }",
"return true;",
"true",
"int H",
"H",
"int W",
"W",
"public class Main {\n \n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in); \n \n for(int i = 0; i < 3000; i ++) {\n int H = sc.nextInt();\n int W = sc.nextInt();\n \n if(printJudge(H,W)) {\n for(int height = 0; height < H ; height++) {\n printRect(W);\n } \n }else {\n break;\n }\n System.out.print(\"\\n\");\n }\n } \n\n public static void printRect(int W) { \n\tfor(int i = 0; i < W; i++) {\n\t\tSystem.out.print(\"#\"); \n\t}\n System.out.print(\"\\n\"); \n }\n \n public static boolean printJudge(int H, int W) {\n if((H == 0 && W == 0) || H < 0 || H > 300 || W < 0 || W > 300) {\n return false;\n }else {\n return true;\n }\n }\n \n}",
"public class Main {\n \n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in); \n \n for(int i = 0; i < 3000; i ++) {\n int H = sc.nextInt();\n int W = sc.nextInt();\n \n if(printJudge(H,W)) {\n for(int height = 0; height < H ; height++) {\n printRect(W);\n } \n }else {\n break;\n }\n System.out.print(\"\\n\");\n }\n } \n\n public static void printRect(int W) { \n\tfor(int i = 0; i < W; i++) {\n\t\tSystem.out.print(\"#\"); \n\t}\n System.out.print(\"\\n\"); \n }\n \n public static boolean printJudge(int H, int W) {\n if((H == 0 && W == 0) || H < 0 || H > 300 || W < 0 || W > 300) {\n return false;\n }else {\n return true;\n }\n }\n \n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
for(int i = 0; i < 3000; i ++) {
int H = sc.nextInt();
int W = sc.nextInt();
if(printJudge(H,W)) {
for(int height = 0; height < H ; height++) {
printRect(W);
}
}else {
break;
}
System.out.print("\n");
}
}
public static void printRect(int W) {
for(int i = 0; i < W; i++) {
System.out.print("#");
}
System.out.print("\n");
}
public static boolean printJudge(int H, int W) {
if((H == 0 && W == 0) || H < 0 || H > 300 || W < 0 || W > 300) {
return false;
}else {
return true;
}
}
} |
[
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,
4,
18,
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
],
[
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
],
[
8,
77
],
[
77,
78
],
[
78,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tint H = s.nextInt();\n\t\t\tint W = s.nextInt();\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\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\ts.close();\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 s = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tint H = s.nextInt();\n\t\t\tint W = s.nextInt();\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\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\ts.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tint H = s.nextInt();\n\t\t\tint W = s.nextInt();\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\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\ts.close();\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tint H = s.nextInt();\n\t\t\tint W = s.nextInt();\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\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\ts.close();\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"while(true){\n\t\t\tint H = s.nextInt();\n\t\t\tint W = s.nextInt();\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\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\tint H = s.nextInt();\n\t\t\tint W = s.nextInt();\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\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 = s.nextInt();",
"H",
"s.nextInt()",
"s.nextInt",
"s",
"int W = s.nextInt();",
"W",
"s.nextInt()",
"s.nextInt",
"s",
"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\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\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\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}",
"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",
"s.close()",
"s.close",
"s",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tint H = s.nextInt();\n\t\t\tint W = s.nextInt();\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\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\ts.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tint H = s.nextInt();\n\t\t\tint W = s.nextInt();\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\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\ts.close();\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
while(true){
int H = s.nextInt();
int W = s.nextInt();
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();
}
s.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
42,
17,
30,
0,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
3,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
4,
18,
13,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
13,
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
] | [
[
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
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
18,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
18,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
37,
44
],
[
44,
45
],
[
44,
46
],
[
37,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
49,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
55,
60
],
[
60,
61
],
[
49,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
37,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
66,
76
],
[
76,
77
],
[
77,
78
],
[
66,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
83,
89
],
[
80,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
95,
96
],
[
95,
97
],
[
80,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
103,
104
],
[
103,
105
],
[
80,
106
],
[
106,
107
],
[
106,
108
],
[
106,
109
],
[
15,
110
],
[
110,
111
],
[
13,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
120,
121
],
[
120,
122
],
[
115,
123
],
[
123,
124
],
[
124,
125
],
[
115,
126
],
[
127,
127
],
[
127,
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
],
[
127,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
114,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
112,
157
],
[
157,
158
],
[
112,
159
],
[
159,
160
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\n/**\n * Lesson5A たてH cm よこ W cm の長方形を描くプログラム\n * 1 cm × 1cm の長方形を '#'で表します。\n * @author 前島佑介\n * @version 2014/12/1\n */\nclass Main {\n\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を格納する場所を初期化\n\t\t\tString strLine = \"\";\n\n\t\t\t//入力値をint型で保存する場所\n\t\t\tArrayList<String> strArray = new ArrayList<String>();\n\n\t\t\t//入力値の取得にループさせる\n\t\t\twhile(true) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//入力値が\"0 0\"だったら\n\t\t\t\tif(strLine.equals(\"0 0\")) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\t\t\t}\n\n\t\t\t//ループさせる\n\t\t\tfor(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる\n\t\t\t\tString[] strLineAry = strArray.get(i).split(\" \");\n\n\t\t\t\t//左の値\n\t\t\t\tint intNum1 = Integer.parseInt(strLineAry[0]);\n\n\t\t\t\t//右の値\n\t\t\t\tint intNum2 = Integer.parseInt(strLineAry[1]);\n\n\t\t\t\t//出力させるメソッド\n\t\t\t\tSharpPaint(intNum1, intNum2);\n\t\t\t}\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}catch(NumberFormatException e) {\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}\n\t}\n\n\tpublic static void SharpPaint(int intNum1, int intNum2) {\n\n\t\tfor(int i = 0; i < intNum1; i++) {\n\t\t\tfor(int j = 0; j < intNum2; j++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t\tSystem.out.println();\n\n\t}\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",
"class Main {\n\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を格納する場所を初期化\n\t\t\tString strLine = \"\";\n\n\t\t\t//入力値をint型で保存する場所\n\t\t\tArrayList<String> strArray = new ArrayList<String>();\n\n\t\t\t//入力値の取得にループさせる\n\t\t\twhile(true) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//入力値が\"0 0\"だったら\n\t\t\t\tif(strLine.equals(\"0 0\")) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\t\t\t}\n\n\t\t\t//ループさせる\n\t\t\tfor(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる\n\t\t\t\tString[] strLineAry = strArray.get(i).split(\" \");\n\n\t\t\t\t//左の値\n\t\t\t\tint intNum1 = Integer.parseInt(strLineAry[0]);\n\n\t\t\t\t//右の値\n\t\t\t\tint intNum2 = Integer.parseInt(strLineAry[1]);\n\n\t\t\t\t//出力させるメソッド\n\t\t\t\tSharpPaint(intNum1, intNum2);\n\t\t\t}\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}catch(NumberFormatException e) {\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}\n\t}\n\n\tpublic static void SharpPaint(int intNum1, int intNum2) {\n\n\t\tfor(int i = 0; i < intNum1; i++) {\n\t\t\tfor(int j = 0; j < intNum2; j++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t\tSystem.out.println();\n\n\t}\n}",
"Main",
"// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を格納する場所を初期化\n\t\t\tString strLine = \"\";\n\n\t\t\t//入力値をint型で保存する場所\n\t\t\tArrayList<String> strArray = new ArrayList<String>();\n\n\t\t\t//入力値の取得にループさせる\n\t\t\twhile(true) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//入力値が\"0 0\"だったら\n\t\t\t\tif(strLine.equals(\"0 0\")) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\t\t\t}\n\n\t\t\t//ループさせる\n\t\t\tfor(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる\n\t\t\t\tString[] strLineAry = strArray.get(i).split(\" \");\n\n\t\t\t\t//左の値\n\t\t\t\tint intNum1 = Integer.parseInt(strLineAry[0]);\n\n\t\t\t\t//右の値\n\t\t\t\tint intNum2 = Integer.parseInt(strLineAry[1]);\n\n\t\t\t\t//出力させるメソッド\n\t\t\t\tSharpPaint(intNum1, intNum2);\n\t\t\t}\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}catch(NumberFormatException e) {\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}\n\t}",
"main",
"{\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を格納する場所を初期化\n\t\t\tString strLine = \"\";\n\n\t\t\t//入力値をint型で保存する場所\n\t\t\tArrayList<String> strArray = new ArrayList<String>();\n\n\t\t\t//入力値の取得にループさせる\n\t\t\twhile(true) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//入力値が\"0 0\"だったら\n\t\t\t\tif(strLine.equals(\"0 0\")) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\t\t\t}\n\n\t\t\t//ループさせる\n\t\t\tfor(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる\n\t\t\t\tString[] strLineAry = strArray.get(i).split(\" \");\n\n\t\t\t\t//左の値\n\t\t\t\tint intNum1 = Integer.parseInt(strLineAry[0]);\n\n\t\t\t\t//右の値\n\t\t\t\tint intNum2 = Integer.parseInt(strLineAry[1]);\n\n\t\t\t\t//出力させるメソッド\n\t\t\t\tSharpPaint(intNum1, intNum2);\n\t\t\t}\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}catch(NumberFormatException e) {\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}\n\t}",
"try{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を格納する場所を初期化\n\t\t\tString strLine = \"\";\n\n\t\t\t//入力値をint型で保存する場所\n\t\t\tArrayList<String> strArray = new ArrayList<String>();\n\n\t\t\t//入力値の取得にループさせる\n\t\t\twhile(true) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//入力値が\"0 0\"だったら\n\t\t\t\tif(strLine.equals(\"0 0\")) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\t\t\t}\n\n\t\t\t//ループさせる\n\t\t\tfor(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる\n\t\t\t\tString[] strLineAry = strArray.get(i).split(\" \");\n\n\t\t\t\t//左の値\n\t\t\t\tint intNum1 = Integer.parseInt(strLineAry[0]);\n\n\t\t\t\t//右の値\n\t\t\t\tint intNum2 = Integer.parseInt(strLineAry[1]);\n\n\t\t\t\t//出力させるメソッド\n\t\t\t\tSharpPaint(intNum1, intNum2);\n\t\t\t}\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}catch(NumberFormatException e) {\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}",
"catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}",
"IOException e",
"{\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"catch(NumberFormatException e) {\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}",
"NumberFormatException e",
"{\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}",
"System.out.println(\"数値で入力して下さい\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"数値で入力して下さい\"",
"{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を格納する場所を初期化\n\t\t\tString strLine = \"\";\n\n\t\t\t//入力値をint型で保存する場所\n\t\t\tArrayList<String> strArray = new ArrayList<String>();\n\n\t\t\t//入力値の取得にループさせる\n\t\t\twhile(true) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//入力値が\"0 0\"だったら\n\t\t\t\tif(strLine.equals(\"0 0\")) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\t\t\t}\n\n\t\t\t//ループさせる\n\t\t\tfor(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる\n\t\t\t\tString[] strLineAry = strArray.get(i).split(\" \");\n\n\t\t\t\t//左の値\n\t\t\t\tint intNum1 = Integer.parseInt(strLineAry[0]);\n\n\t\t\t\t//右の値\n\t\t\t\tint intNum2 = Integer.parseInt(strLineAry[1]);\n\n\t\t\t\t//出力させるメソッド\n\t\t\t\tSharpPaint(intNum1, intNum2);\n\t\t\t}\n\n\t\t//例外処理\n\t\t}",
"BufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));",
"insBR",
"new BufferedReader(new InputStreamReader(System.in))",
"String strLine = \"\";",
"strLine",
"\"\"",
"ArrayList<String> strArray = new ArrayList<String>();",
"strArray",
"new ArrayList<String>()",
"while(true) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//入力値が\"0 0\"だったら\n\t\t\t\tif(strLine.equals(\"0 0\")) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\t\t\t}",
"true",
"{\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//入力値が\"0 0\"だったら\n\t\t\t\tif(strLine.equals(\"0 0\")) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\t\t\t}",
"strLine = insBR.readLine()",
"strLine",
"insBR.readLine()",
"insBR.readLine",
"insBR",
"if(strLine.equals(\"0 0\")) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"strLine.equals(\"0 0\")",
"strLine.equals",
"strLine",
"\"0 0\"",
"{\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"strArray.add(strLine)",
"strArray.add",
"strArray",
"strLine",
"for(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる\n\t\t\t\tString[] strLineAry = strArray.get(i).split(\" \");\n\n\t\t\t\t//左の値\n\t\t\t\tint intNum1 = Integer.parseInt(strLineAry[0]);\n\n\t\t\t\t//右の値\n\t\t\t\tint intNum2 = Integer.parseInt(strLineAry[1]);\n\n\t\t\t\t//出力させるメソッド\n\t\t\t\tSharpPaint(intNum1, intNum2);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < strArray.size()",
"i",
"strArray.size()",
"strArray.size",
"strArray",
"i++",
"i++",
"i",
"{\n\n\t\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる\n\t\t\t\tString[] strLineAry = strArray.get(i).split(\" \");\n\n\t\t\t\t//左の値\n\t\t\t\tint intNum1 = Integer.parseInt(strLineAry[0]);\n\n\t\t\t\t//右の値\n\t\t\t\tint intNum2 = Integer.parseInt(strLineAry[1]);\n\n\t\t\t\t//出力させるメソッド\n\t\t\t\tSharpPaint(intNum1, intNum2);\n\t\t\t}",
"{\n\n\t\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる\n\t\t\t\tString[] strLineAry = strArray.get(i).split(\" \");\n\n\t\t\t\t//左の値\n\t\t\t\tint intNum1 = Integer.parseInt(strLineAry[0]);\n\n\t\t\t\t//右の値\n\t\t\t\tint intNum2 = Integer.parseInt(strLineAry[1]);\n\n\t\t\t\t//出力させるメソッド\n\t\t\t\tSharpPaint(intNum1, intNum2);\n\t\t\t}",
"String[] strLineAry = strArray.get(i).split(\" \");",
"strLineAry",
"strArray.get(i).split(\" \")",
"strArray.get(i).split",
"strArray.get(i)",
"strArray.get",
"strArray",
"i",
"\" \"",
"int intNum1 = Integer.parseInt(strLineAry[0]);",
"intNum1",
"Integer.parseInt(strLineAry[0])",
"Integer.parseInt",
"Integer",
"strLineAry[0]",
"strLineAry",
"0",
"int intNum2 = Integer.parseInt(strLineAry[1]);",
"intNum2",
"Integer.parseInt(strLineAry[1])",
"Integer.parseInt",
"Integer",
"strLineAry[1]",
"strLineAry",
"1",
"SharpPaint(intNum1, intNum2)",
"SharpPaint",
"intNum1",
"intNum2",
"String[] args",
"args",
"public static void SharpPaint(int intNum1, int intNum2) {\n\n\t\tfor(int i = 0; i < intNum1; i++) {\n\t\t\tfor(int j = 0; j < intNum2; j++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t\tSystem.out.println();\n\n\t}",
"SharpPaint",
"{\n\n\t\tfor(int i = 0; i < intNum1; i++) {\n\t\t\tfor(int j = 0; j < intNum2; j++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t\tSystem.out.println();\n\n\t}",
"for(int i = 0; i < intNum1; i++) {\n\t\t\tfor(int j = 0; j < intNum2; 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 < intNum1",
"i",
"intNum1",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = 0; j < intNum2; 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 < intNum2; 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 < intNum2; j++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < intNum2",
"j",
"intNum2",
"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 intNum1",
"intNum1",
"int intNum2",
"intNum2"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
/**
* Lesson5A たてH cm よこ W cm の長方形を描くプログラム
* 1 cm × 1cm の長方形を '#'で表します。
* @author 前島佑介
* @version 2014/12/1
*/
class Main {
// プログラムのエントリポイント
public static void main(String[] args) {
try{
//キーボードからの入力準備
BufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));
//入力値を格納する場所を初期化
String strLine = "";
//入力値をint型で保存する場所
ArrayList<String> strArray = new ArrayList<String>();
//入力値の取得にループさせる
while(true) {
//1行読み込む
strLine = insBR.readLine();
//入力値が"0 0"だったら
if(strLine.equals("0 0")) {
//ループから抜ける
break;
}
//入力値を保存
strArray.add(strLine);
}
//ループさせる
for(int i = 0; i < strArray.size(); i++) {
//文字列の分割:入力値を" "で分ける
//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる
String[] strLineAry = strArray.get(i).split(" ");
//左の値
int intNum1 = Integer.parseInt(strLineAry[0]);
//右の値
int intNum2 = Integer.parseInt(strLineAry[1]);
//出力させるメソッド
SharpPaint(intNum1, intNum2);
}
//例外処理
}catch(IOException e) {
//例外時の出力
System.out.println(e);
}catch(NumberFormatException e) {
//数値以外の入力値で出力
System.out.println("数値で入力して下さい");
}
}
public static void SharpPaint(int intNum1, int intNum2) {
for(int i = 0; i < intNum1; i++) {
for(int j = 0; j < intNum2; 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,
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,
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
],
[
34,
35
],
[
15,
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
],
[
15,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] | [
"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\t\tfor(;;) {\n\n\t\t\t\tint H = sc.nextInt();\n\t\t\t\tint W = sc.nextInt();\n\n\t\t\t\tif(H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tfor(int j = 0; j < H; j++) {\n\t\t\t\t\tfor(int k = 0; k < W; k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print('\\n');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\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\t\tfor(;;) {\n\n\t\t\t\tint H = sc.nextInt();\n\t\t\t\tint W = sc.nextInt();\n\n\t\t\t\tif(H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tfor(int j = 0; j < H; j++) {\n\t\t\t\t\tfor(int k = 0; k < W; k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print('\\n');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t\tfor(;;) {\n\n\t\t\t\tint H = sc.nextInt();\n\t\t\t\tint W = sc.nextInt();\n\n\t\t\t\tif(H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tfor(int j = 0; j < H; j++) {\n\t\t\t\t\tfor(int k = 0; k < W; k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print('\\n');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t\tfor(;;) {\n\n\t\t\t\tint H = sc.nextInt();\n\t\t\t\tint W = sc.nextInt();\n\n\t\t\t\tif(H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tfor(int j = 0; j < H; j++) {\n\t\t\t\t\tfor(int k = 0; k < W; k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print('\\n');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(;;) {\n\n\t\t\t\tint H = sc.nextInt();\n\t\t\t\tint W = sc.nextInt();\n\n\t\t\t\tif(H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tfor(int j = 0; j < H; j++) {\n\t\t\t\t\tfor(int k = 0; k < W; k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print('\\n');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
";",
"{\n\n\t\t\t\tint H = sc.nextInt();\n\t\t\t\tint W = sc.nextInt();\n\n\t\t\t\tif(H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tfor(int j = 0; j < H; j++) {\n\t\t\t\t\tfor(int k = 0; k < W; k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print('\\n');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"{\n\n\t\t\t\tint H = sc.nextInt();\n\t\t\t\tint W = sc.nextInt();\n\n\t\t\t\tif(H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tfor(int j = 0; j < H; j++) {\n\t\t\t\t\tfor(int k = 0; k < W; k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print('\\n');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\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\t\tbreak;\n\t\t\t\t}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"for(int j = 0; j < H; j++) {\n\t\t\t\t\tfor(int k = 0; k < W; k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print('\\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 k = 0; k < W; k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print('\\n');\n\t\t\t\t}",
"{\n\t\t\t\t\tfor(int k = 0; k < W; k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print('\\n');\n\t\t\t\t}",
"for(int k = 0; k < W; k++) {\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.print('\\n')",
"System.out.print",
"System.out",
"System",
"System.out",
"'\\n'",
"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\t\tfor(;;) {\n\n\t\t\t\tint H = sc.nextInt();\n\t\t\t\tint W = sc.nextInt();\n\n\t\t\t\tif(H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tfor(int j = 0; j < H; j++) {\n\t\t\t\t\tfor(int k = 0; k < W; k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print('\\n');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\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\t\tfor(;;) {\n\n\t\t\t\tint H = sc.nextInt();\n\t\t\t\tint W = sc.nextInt();\n\n\t\t\t\tif(H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tfor(int j = 0; j < H; j++) {\n\t\t\t\t\tfor(int k = 0; k < W; k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print('\\n');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\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);
for(;;) {
int H = sc.nextInt();
int W = sc.nextInt();
if(H == 0 && W == 0) {
break;
}
for(int j = 0; j < H; j++) {
for(int k = 0; k < W; k++) {
System.out.print("#");
}
System.out.print('\n');
}
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,
17,
30,
4,
13,
13,
13,
4,
18,
18,
13,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
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,
23,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
25,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
24,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
24,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
24,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
6,
53
],
[
53,
54
],
[
100,
55
],
[
55,
56
],
[
55,
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
],
[
55,
95
],
[
95,
96
],
[
55,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
] | [
"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 = sc.nextInt();\n\t\tint w = sc.nextInt();\n\n\t\twhile (true) {\n\t\t\tdraw(h,w);\n\t\t\tSystem.out.println();\n\t\t\th = sc.nextInt();\n\t\t\tw = sc.nextInt();\n\t\t\tif (h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t}\n\n\t}\n\n\tpublic static void draw(int h, int w) {\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\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 sc = new Scanner(System.in);\n\t\tint h = sc.nextInt();\n\t\tint w = sc.nextInt();\n\n\t\twhile (true) {\n\t\t\tdraw(h,w);\n\t\t\tSystem.out.println();\n\t\t\th = sc.nextInt();\n\t\t\tw = sc.nextInt();\n\t\t\tif (h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t}\n\n\t}\n\n\tpublic static void draw(int h, int w) {\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\tSystem.out.println();\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 = sc.nextInt();\n\t\tint w = sc.nextInt();\n\n\t\twhile (true) {\n\t\t\tdraw(h,w);\n\t\t\tSystem.out.println();\n\t\t\th = sc.nextInt();\n\t\t\tw = sc.nextInt();\n\t\t\tif (h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint h = sc.nextInt();\n\t\tint w = sc.nextInt();\n\n\t\twhile (true) {\n\t\t\tdraw(h,w);\n\t\t\tSystem.out.println();\n\t\t\th = sc.nextInt();\n\t\t\tw = sc.nextInt();\n\t\t\tif (h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t}\n\n\t}",
"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 (true) {\n\t\t\tdraw(h,w);\n\t\t\tSystem.out.println();\n\t\t\th = sc.nextInt();\n\t\t\tw = sc.nextInt();\n\t\t\tif (h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t}",
"true",
"{\n\t\t\tdraw(h,w);\n\t\t\tSystem.out.println();\n\t\t\th = sc.nextInt();\n\t\t\tw = sc.nextInt();\n\t\t\tif (h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t}",
"draw(h,w)",
"draw",
"h",
"w",
"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",
"if (h == 0 && w == 0)\n\t\t\t\tbreak;",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"break;",
"String[] args",
"args",
"public static void draw(int h, int w) {\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\tSystem.out.println();\n\t\t}\n\t}",
"draw",
"{\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\tSystem.out.println();\n\t\t}\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\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\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\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",
"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\tint h = sc.nextInt();\n\t\tint w = sc.nextInt();\n\n\t\twhile (true) {\n\t\t\tdraw(h,w);\n\t\t\tSystem.out.println();\n\t\t\th = sc.nextInt();\n\t\t\tw = sc.nextInt();\n\t\t\tif (h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t}\n\n\t}\n\n\tpublic static void draw(int h, int w) {\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\tSystem.out.println();\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 = sc.nextInt();\n\t\tint w = sc.nextInt();\n\n\t\twhile (true) {\n\t\t\tdraw(h,w);\n\t\t\tSystem.out.println();\n\t\t\th = sc.nextInt();\n\t\t\tw = sc.nextInt();\n\t\t\tif (h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t}\n\n\t}\n\n\tpublic static void draw(int h, int w) {\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\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);
int h = sc.nextInt();
int w = sc.nextInt();
while (true) {
draw(h,w);
System.out.println();
h = sc.nextInt();
w = sc.nextInt();
if (h == 0 && w == 0)
break;
}
}
public static void draw(int h, int w) {
for (int i = 0; i < h; i++) {
for(int j = 0; j < w; j++){
System.out.print("#");
}
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,
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
],
[
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
]
] | [
"import java.util.*;\n\nclass Main {\n public static void main(String [] args){\n Scanner scan = new Scanner(System.in);\n \n while(true){\n int h = scan.nextInt();\n int w = scan.nextInt();\n \n if(h == 0 && w == 0) break;\n \n for(int i = 0; i < h; ++i){\n for(int j = 0; j < w; ++j){\n System.out.print('#');\n }\n \n System.out.println();\n }\n \n System.out.println();\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String [] args){\n Scanner scan = new Scanner(System.in);\n \n while(true){\n int h = scan.nextInt();\n int w = scan.nextInt();\n \n if(h == 0 && w == 0) break;\n \n for(int i = 0; i < h; ++i){\n for(int j = 0; j < w; ++j){\n System.out.print('#');\n }\n \n System.out.println();\n }\n \n System.out.println();\n }\n }\n}",
"Main",
"public static void main(String [] args){\n Scanner scan = new Scanner(System.in);\n \n while(true){\n int h = scan.nextInt();\n int w = scan.nextInt();\n \n if(h == 0 && w == 0) break;\n \n for(int i = 0; i < h; ++i){\n for(int j = 0; j < w; ++j){\n System.out.print('#');\n }\n \n System.out.println();\n }\n \n System.out.println();\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n \n while(true){\n int h = scan.nextInt();\n int w = scan.nextInt();\n \n if(h == 0 && w == 0) break;\n \n for(int i = 0; i < h; ++i){\n for(int j = 0; j < w; ++j){\n System.out.print('#');\n }\n \n System.out.println();\n }\n \n System.out.println();\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true){\n int h = scan.nextInt();\n int w = scan.nextInt();\n \n if(h == 0 && w == 0) break;\n \n for(int i = 0; i < h; ++i){\n for(int j = 0; j < w; ++j){\n System.out.print('#');\n }\n \n System.out.println();\n }\n \n System.out.println();\n }",
"true",
"{\n int h = scan.nextInt();\n int w = scan.nextInt();\n \n if(h == 0 && w == 0) break;\n \n for(int i = 0; i < h; ++i){\n for(int j = 0; j < w; ++j){\n System.out.print('#');\n }\n \n System.out.println();\n }\n \n System.out.println();\n }",
"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) break;",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"break;",
"for(int i = 0; i < h; ++i){\n for(int j = 0; j < w; ++j){\n System.out.print('#');\n }\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 \n System.out.println();\n }",
"{\n for(int j = 0; j < w; ++j){\n System.out.print('#');\n }\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"
] | import java.util.*;
class Main {
public static void main(String [] args){
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){
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,
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\tpublic static void main(String[] args) {\n\t\tScanner stdin = new Scanner(new BufferedInputStream(System.in));\n\t\tList<String> output = new ArrayList<String>();\n\t\twhile (stdin.hasNext()) {\n\t\t\tString input = stdin.nextLine();\n\t\t\tString[] inputs = input.split(\" \");\n\t\t\tint h = Integer.parseInt(inputs[0]);\n\t\t\tint w = Integer.parseInt(inputs[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 for (int i = 1; i <= h; i++) {\n String result = \"\";\n for (int j = 1; j <= w; j++) {\n result += \"#\";\n }\n output.add(result);\n }\n output.add(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (String out : output) {\n System.out.println(out);\n }\n\n\n\t}\n\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\tpublic static void main(String[] args) {\n\t\tScanner stdin = new Scanner(new BufferedInputStream(System.in));\n\t\tList<String> output = new ArrayList<String>();\n\t\twhile (stdin.hasNext()) {\n\t\t\tString input = stdin.nextLine();\n\t\t\tString[] inputs = input.split(\" \");\n\t\t\tint h = Integer.parseInt(inputs[0]);\n\t\t\tint w = Integer.parseInt(inputs[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 for (int i = 1; i <= h; i++) {\n String result = \"\";\n for (int j = 1; j <= w; j++) {\n result += \"#\";\n }\n output.add(result);\n }\n output.add(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (String out : output) {\n System.out.println(out);\n }\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner stdin = new Scanner(new BufferedInputStream(System.in));\n\t\tList<String> output = new ArrayList<String>();\n\t\twhile (stdin.hasNext()) {\n\t\t\tString input = stdin.nextLine();\n\t\t\tString[] inputs = input.split(\" \");\n\t\t\tint h = Integer.parseInt(inputs[0]);\n\t\t\tint w = Integer.parseInt(inputs[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 for (int i = 1; i <= h; i++) {\n String result = \"\";\n for (int j = 1; j <= w; j++) {\n result += \"#\";\n }\n output.add(result);\n }\n output.add(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (String out : output) {\n System.out.println(out);\n }\n\n\n\t}",
"main",
"{\n\t\tScanner stdin = new Scanner(new BufferedInputStream(System.in));\n\t\tList<String> output = new ArrayList<String>();\n\t\twhile (stdin.hasNext()) {\n\t\t\tString input = stdin.nextLine();\n\t\t\tString[] inputs = input.split(\" \");\n\t\t\tint h = Integer.parseInt(inputs[0]);\n\t\t\tint w = Integer.parseInt(inputs[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 for (int i = 1; i <= h; i++) {\n String result = \"\";\n for (int j = 1; j <= w; j++) {\n result += \"#\";\n }\n output.add(result);\n }\n output.add(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (String out : output) {\n System.out.println(out);\n }\n\n\n\t}",
"Scanner stdin = new Scanner(new BufferedInputStream(System.in));",
"stdin",
"new Scanner(new BufferedInputStream(System.in))",
"List<String> output = new ArrayList<String>();",
"output",
"new ArrayList<String>()",
"while (stdin.hasNext()) {\n\t\t\tString input = stdin.nextLine();\n\t\t\tString[] inputs = input.split(\" \");\n\t\t\tint h = Integer.parseInt(inputs[0]);\n\t\t\tint w = Integer.parseInt(inputs[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 for (int i = 1; i <= h; i++) {\n String result = \"\";\n for (int j = 1; j <= w; j++) {\n result += \"#\";\n }\n output.add(result);\n }\n output.add(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"stdin.hasNext()",
"stdin.hasNext",
"stdin",
"{\n\t\t\tString input = stdin.nextLine();\n\t\t\tString[] inputs = input.split(\" \");\n\t\t\tint h = Integer.parseInt(inputs[0]);\n\t\t\tint w = Integer.parseInt(inputs[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 for (int i = 1; i <= h; i++) {\n String result = \"\";\n for (int j = 1; j <= w; j++) {\n result += \"#\";\n }\n output.add(result);\n }\n output.add(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"String input = stdin.nextLine();",
"input",
"stdin.nextLine()",
"stdin.nextLine",
"stdin",
"String[] inputs = input.split(\" \");",
"inputs",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"int h = Integer.parseInt(inputs[0]);",
"h",
"Integer.parseInt(inputs[0])",
"Integer.parseInt",
"Integer",
"inputs[0]",
"inputs",
"0",
"int w = Integer.parseInt(inputs[1]);",
"w",
"Integer.parseInt(inputs[1])",
"Integer.parseInt",
"Integer",
"inputs[1]",
"inputs",
"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 for (int i = 1; i <= h; i++) {\n String result = \"\";\n for (int j = 1; j <= w; j++) {\n result += \"#\";\n }\n output.add(result);\n }\n output.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 for (int i = 1; i <= h; i++) {\n String result = \"\";\n for (int j = 1; j <= w; j++) {\n result += \"#\";\n }\n output.add(result);\n }\n output.add(\"\");\n\t\t\t\t}\n\t\t\t}",
"if (h >= 1 && h <= 300 && w >= 1 && w <= 300) {\n for (int i = 1; i <= h; i++) {\n String result = \"\";\n for (int j = 1; j <= w; j++) {\n result += \"#\";\n }\n output.add(result);\n }\n output.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 for (int i = 1; i <= h; i++) {\n String result = \"\";\n for (int j = 1; j <= w; j++) {\n result += \"#\";\n }\n output.add(result);\n }\n output.add(\"\");\n\t\t\t\t}",
"for (int i = 1; i <= h; i++) {\n String result = \"\";\n for (int j = 1; j <= w; j++) {\n result += \"#\";\n }\n output.add(result);\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= h",
"i",
"h",
"i++",
"i++",
"i",
"{\n String result = \"\";\n for (int j = 1; j <= w; j++) {\n result += \"#\";\n }\n output.add(result);\n }",
"{\n String result = \"\";\n for (int j = 1; j <= w; j++) {\n result += \"#\";\n }\n output.add(result);\n }",
"String result = \"\";",
"result",
"\"\"",
"for (int j = 1; j <= w; j++) {\n result += \"#\";\n }",
"int j = 1;",
"int j = 1;",
"j",
"1",
"j <= w",
"j",
"w",
"j++",
"j++",
"j",
"{\n result += \"#\";\n }",
"{\n result += \"#\";\n }",
"result += \"#\"",
"result",
"\"#\"",
"output.add(result)",
"output.add",
"output",
"result",
"output.add(\"\")",
"output.add",
"output",
"\"\"",
"for (String out : output) {\n System.out.println(out);\n }",
"String out",
"output",
"{\n System.out.println(out);\n }",
"{\n System.out.println(out);\n }",
"System.out.println(out)",
"System.out.println",
"System.out",
"System",
"System.out",
"out",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner stdin = new Scanner(new BufferedInputStream(System.in));\n\t\tList<String> output = new ArrayList<String>();\n\t\twhile (stdin.hasNext()) {\n\t\t\tString input = stdin.nextLine();\n\t\t\tString[] inputs = input.split(\" \");\n\t\t\tint h = Integer.parseInt(inputs[0]);\n\t\t\tint w = Integer.parseInt(inputs[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 for (int i = 1; i <= h; i++) {\n String result = \"\";\n for (int j = 1; j <= w; j++) {\n result += \"#\";\n }\n output.add(result);\n }\n output.add(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (String out : output) {\n System.out.println(out);\n }\n\n\n\t}\n\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner stdin = new Scanner(new BufferedInputStream(System.in));\n\t\tList<String> output = new ArrayList<String>();\n\t\twhile (stdin.hasNext()) {\n\t\t\tString input = stdin.nextLine();\n\t\t\tString[] inputs = input.split(\" \");\n\t\t\tint h = Integer.parseInt(inputs[0]);\n\t\t\tint w = Integer.parseInt(inputs[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 for (int i = 1; i <= h; i++) {\n String result = \"\";\n for (int j = 1; j <= w; j++) {\n result += \"#\";\n }\n output.add(result);\n }\n output.add(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (String out : output) {\n System.out.println(out);\n }\n\n\n\t}\n\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 stdin = new Scanner(new BufferedInputStream(System.in));
List<String> output = new ArrayList<String>();
while (stdin.hasNext()) {
String input = stdin.nextLine();
String[] inputs = input.split(" ");
int h = Integer.parseInt(inputs[0]);
int w = Integer.parseInt(inputs[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,
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,
4,
18,
18,
13,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
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
],
[
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
],
[
30,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
30,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
30,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
6,
83
],
[
83,
84
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint str1 = scan.nextInt();\n\t\tint str2 = scan.nextInt();\n\t\t\n\t\twhile(str1 != 0 && str2 != 0){\n\t\t\tfor(int i = 0; i < str1; i++){\n\t\t\t\tfor(int j = 0; j < str2; 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\tstr1 = scan.nextInt();\n\t\t\tstr2 = scan.nextInt();\n\n\t\t}\n\t\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint str1 = scan.nextInt();\n\t\tint str2 = scan.nextInt();\n\t\t\n\t\twhile(str1 != 0 && str2 != 0){\n\t\t\tfor(int i = 0; i < str1; i++){\n\t\t\t\tfor(int j = 0; j < str2; 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\tstr1 = scan.nextInt();\n\t\t\tstr2 = scan.nextInt();\n\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\n\t\tint str1 = scan.nextInt();\n\t\tint str2 = scan.nextInt();\n\t\t\n\t\twhile(str1 != 0 && str2 != 0){\n\t\t\tfor(int i = 0; i < str1; i++){\n\t\t\t\tfor(int j = 0; j < str2; 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\tstr1 = scan.nextInt();\n\t\t\tstr2 = scan.nextInt();\n\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint str1 = scan.nextInt();\n\t\tint str2 = scan.nextInt();\n\t\t\n\t\twhile(str1 != 0 && str2 != 0){\n\t\t\tfor(int i = 0; i < str1; i++){\n\t\t\t\tfor(int j = 0; j < str2; 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\tstr1 = scan.nextInt();\n\t\t\tstr2 = scan.nextInt();\n\n\t\t}\n\t\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int str1 = scan.nextInt();",
"str1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int str2 = scan.nextInt();",
"str2",
"scan.nextInt()",
"scan.nextInt",
"scan",
"while(str1 != 0 && str2 != 0){\n\t\t\tfor(int i = 0; i < str1; i++){\n\t\t\t\tfor(int j = 0; j < str2; 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\tstr1 = scan.nextInt();\n\t\t\tstr2 = scan.nextInt();\n\n\t\t}",
"str1 != 0 && str2 != 0",
"str1 != 0",
"str1",
"0",
"str2 != 0",
"str2",
"0",
"{\n\t\t\tfor(int i = 0; i < str1; i++){\n\t\t\t\tfor(int j = 0; j < str2; 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\tstr1 = scan.nextInt();\n\t\t\tstr2 = scan.nextInt();\n\n\t\t}",
"for(int i = 0; i < str1; i++){\n\t\t\t\tfor(int j = 0; j < str2; 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 < str1",
"i",
"str1",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j = 0; j < str2; 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 < str2; 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 < str2; j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < str2",
"j",
"str2",
"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",
"str1 = scan.nextInt()",
"str1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"str2 = scan.nextInt()",
"str2",
"scan.nextInt()",
"scan.nextInt",
"scan",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int str1 = scan.nextInt();
int str2 = scan.nextInt();
while(str1 != 0 && str2 != 0){
for(int i = 0; i < str1; i++){
for(int j = 0; j < str2; j++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
str1 = scan.nextInt();
str2 = scan.nextInt();
}
}
} |
[
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
] | [
[
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
],
[
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
]
] | [
"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 StringBuilder sb = new StringBuilder();\n while(true){\n String data[] = br.readLine().split(\" \");\n int a = Integer.parseInt(data[0]);\n int b = Integer.parseInt(data[1]);\n if(a == 0 && b == 0)\n \t break;\n\n for(int i = 0; i < a; i++){\n for(int j = 0; j < b; j++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }\n System.out.print(sb);\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 StringBuilder sb = new StringBuilder();\n while(true){\n String data[] = br.readLine().split(\" \");\n int a = Integer.parseInt(data[0]);\n int b = Integer.parseInt(data[1]);\n if(a == 0 && b == 0)\n \t break;\n\n for(int i = 0; i < a; i++){\n for(int j = 0; j < b; j++){\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 StringBuilder sb = new StringBuilder();\n while(true){\n String data[] = br.readLine().split(\" \");\n int a = Integer.parseInt(data[0]);\n int b = Integer.parseInt(data[1]);\n if(a == 0 && b == 0)\n \t break;\n\n for(int i = 0; i < a; i++){\n for(int j = 0; j < b; j++){\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 data[] = br.readLine().split(\" \");\n int a = Integer.parseInt(data[0]);\n int b = Integer.parseInt(data[1]);\n if(a == 0 && b == 0)\n \t break;\n\n for(int i = 0; i < a; i++){\n for(int j = 0; j < b; j++){\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 data[] = br.readLine().split(\" \");\n int a = Integer.parseInt(data[0]);\n int b = Integer.parseInt(data[1]);\n if(a == 0 && b == 0)\n \t break;\n\n for(int i = 0; i < a; i++){\n for(int j = 0; j < b; j++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }",
"true",
"{\n String data[] = br.readLine().split(\" \");\n int a = Integer.parseInt(data[0]);\n int b = Integer.parseInt(data[1]);\n if(a == 0 && b == 0)\n \t break;\n\n for(int i = 0; i < a; i++){\n for(int j = 0; j < b; j++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }",
"String data[] = br.readLine().split(\" \");",
"data",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int a = Integer.parseInt(data[0]);",
"a",
"Integer.parseInt(data[0])",
"Integer.parseInt",
"Integer",
"data[0]",
"data",
"0",
"int b = Integer.parseInt(data[1]);",
"b",
"Integer.parseInt(data[1])",
"Integer.parseInt",
"Integer",
"data[1]",
"data",
"1",
"if(a == 0 && b == 0)\n \t break;",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"break;",
"for(int i = 0; i < a; i++){\n for(int j = 0; j < b; j++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a",
"i",
"a",
"i++",
"i++",
"i",
"{\n for(int j = 0; j < b; j++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }",
"{\n for(int j = 0; j < b; j++){\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }",
"for(int j = 0; j < b; j++){\n sb.append(\"#\");\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < b",
"j",
"b",
"j++",
"j++",
"j",
"{\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"
] | import java.io.*;
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 data[] = br.readLine().split(" ");
int a = Integer.parseInt(data[0]);
int b = Integer.parseInt(data[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,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
42,
2,
2,
13,
17,
2,
13,
17,
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,
17,
4,
18,
18,
13,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
12,
13,
30,
4,
18,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
4,
8
],
[
8,
9
],
[
4,
10
],
[
10,
11
],
[
4,
12
],
[
12,
13
],
[
4,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
16,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
16,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
30,
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
],
[
71,
76
],
[
38,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
38,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
38,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
4,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
93,
99
],
[
99,
100
]
] | [
"import java.util.Scanner;\nclass Main {\n\tint H,W,x,y;\n\tpublic void suzuki(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tH = sc.nextInt();\n\t\tW = sc.nextInt();\n\t\twhile(H != 0 || W != 0){\n\t\t\tfor(x = 0;x < H;x++){\n\t\t\t\tfor(y = 0;y < W;y++){\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\tpublic static void main(String[] args){\n\t\tnew Main().suzuki();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tint H,W,x,y;\n\tpublic void suzuki(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tH = sc.nextInt();\n\t\tW = sc.nextInt();\n\t\twhile(H != 0 || W != 0){\n\t\t\tfor(x = 0;x < H;x++){\n\t\t\t\tfor(y = 0;y < W;y++){\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\tpublic static void main(String[] args){\n\t\tnew Main().suzuki();\n\t}\n}",
"Main",
"int H",
"H",
"W",
"W",
"x",
"x",
"y;",
"y",
"public void suzuki(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tH = sc.nextInt();\n\t\tW = sc.nextInt();\n\t\twhile(H != 0 || W != 0){\n\t\t\tfor(x = 0;x < H;x++){\n\t\t\t\tfor(y = 0;y < W;y++){\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}",
"suzuki",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tH = sc.nextInt();\n\t\tW = sc.nextInt();\n\t\twhile(H != 0 || W != 0){\n\t\t\tfor(x = 0;x < H;x++){\n\t\t\t\tfor(y = 0;y < W;y++){\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)",
"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(x = 0;x < H;x++){\n\t\t\t\tfor(y = 0;y < W;y++){\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(x = 0;x < H;x++){\n\t\t\t\tfor(y = 0;y < W;y++){\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(x = 0;x < H;x++){\n\t\t\t\tfor(y = 0;y < W;y++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"x = 0;",
"x = 0",
"x",
"0",
"x < H",
"x",
"H",
"x++",
"x++",
"x",
"{\n\t\t\t\tfor(y = 0;y < W;y++){\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(y = 0;y < W;y++){\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(y = 0;y < W;y++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"y = 0;",
"y = 0",
"y",
"0",
"y < W",
"y",
"W",
"y++",
"y++",
"y",
"{\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",
"public static void main(String[] args){\n\t\tnew Main().suzuki();\n\t}",
"main",
"{\n\t\tnew Main().suzuki();\n\t}",
"new Main().suzuki()",
"new Main().suzuki",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
int H,W,x,y;
public void suzuki(){
Scanner sc = new Scanner(System.in);
H = sc.nextInt();
W = sc.nextInt();
while(H != 0 || W != 0){
for(x = 0;x < H;x++){
for(y = 0;y < W;y++){
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
H = sc.nextInt();
W = sc.nextInt();
}
}
public static void main(String[] args){
new Main().suzuki();
}
} |
[
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,
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;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n\n int a = scanner.nextInt();\n\n int b = scanner.nextInt();\n\n if (a == 0 & b == 0)\n\n break;\n\n for (int i = 0; i < a; i++) {\n\n for (int j = 0; j < b; j++) {\n\n System.out.print(\"#\");\n\n }\n System.out.println();\n\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\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n\n int a = scanner.nextInt();\n\n int b = scanner.nextInt();\n\n if (a == 0 & b == 0)\n\n break;\n\n for (int i = 0; i < a; i++) {\n\n for (int j = 0; j < b; j++) {\n\n System.out.print(\"#\");\n\n }\n System.out.println();\n\n }\n System.out.println();\n\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n\n int a = scanner.nextInt();\n\n int b = scanner.nextInt();\n\n if (a == 0 & b == 0)\n\n break;\n\n for (int i = 0; i < a; i++) {\n\n for (int j = 0; j < b; j++) {\n\n System.out.print(\"#\");\n\n }\n System.out.println();\n\n }\n System.out.println();\n\n }\n }",
"main",
"{\n\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n\n int a = scanner.nextInt();\n\n int b = scanner.nextInt();\n\n if (a == 0 & b == 0)\n\n break;\n\n for (int i = 0; i < a; i++) {\n\n for (int j = 0; j < b; j++) {\n\n System.out.print(\"#\");\n\n }\n System.out.println();\n\n }\n System.out.println();\n\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while (true) {\n\n int a = scanner.nextInt();\n\n int b = scanner.nextInt();\n\n if (a == 0 & b == 0)\n\n break;\n\n for (int i = 0; i < a; i++) {\n\n for (int j = 0; j < b; j++) {\n\n System.out.print(\"#\");\n\n }\n System.out.println();\n\n }\n System.out.println();\n\n }",
"true",
"{\n\n int a = scanner.nextInt();\n\n int b = scanner.nextInt();\n\n if (a == 0 & b == 0)\n\n break;\n\n for (int i = 0; i < a; i++) {\n\n for (int j = 0; j < b; j++) {\n\n System.out.print(\"#\");\n\n }\n System.out.println();\n\n }\n System.out.println();\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\n break;",
"a == 0 & b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"break;",
"for (int i = 0; i < a; i++) {\n\n for (int j = 0; j < b; j++) {\n\n System.out.print(\"#\");\n\n }\n System.out.println();\n\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a",
"i",
"a",
"i++",
"i++",
"i",
"{\n\n for (int j = 0; j < b; j++) {\n\n System.out.print(\"#\");\n\n }\n System.out.println();\n\n }",
"{\n\n for (int j = 0; j < b; j++) {\n\n System.out.print(\"#\");\n\n }\n System.out.println();\n\n }",
"for (int j = 0; j < b; j++) {\n\n System.out.print(\"#\");\n\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < b",
"j",
"b",
"j++",
"j++",
"j",
"{\n\n System.out.print(\"#\");\n\n }",
"{\n\n System.out.print(\"#\");\n\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\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n\n int a = scanner.nextInt();\n\n int b = scanner.nextInt();\n\n if (a == 0 & b == 0)\n\n break;\n\n for (int i = 0; i < a; i++) {\n\n for (int j = 0; j < b; j++) {\n\n System.out.print(\"#\");\n\n }\n System.out.println();\n\n }\n System.out.println();\n\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n\n int a = scanner.nextInt();\n\n int b = scanner.nextInt();\n\n if (a == 0 & b == 0)\n\n break;\n\n for (int i = 0; i < a; i++) {\n\n for (int j = 0; j < b; j++) {\n\n System.out.print(\"#\");\n\n }\n System.out.println();\n\n }\n System.out.println();\n\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 a = scanner.nextInt();
int b = scanner.nextInt();
if (a == 0 & b == 0)
break;
for (int i = 0; i < a; i++) {
for (int j = 0; j < b; 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,
17,
41,
13,
17,
41,
13,
20,
41,
13,
20,
41,
13,
20,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
4,
18,
13,
20,
4,
18,
13,
20,
40,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
20,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
20,
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
],
[
141,
8
],
[
141,
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
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
35,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
35,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
35,
63
],
[
63,
64
],
[
11,
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
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
77,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
88,
99
],
[
99,
100
],
[
100,
101
],
[
88,
102
],
[
103,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
104,
115
],
[
115,
116
],
[
116,
117
],
[
104,
118
],
[
119,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
120,
125
],
[
103,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
126,
131
],
[
11,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
132,
137
],
[
9,
138
],
[
138,
139
],
[
0,
140
],
[
140,
141
],
[
140,
142
]
] | [
"\nimport java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint H, W, a = 0, cnt = 0;\n\t\tArrayList<Integer> h = new ArrayList<Integer>();\n\t\tArrayList<Integer> w = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(a < 300){\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t\tif(H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\th.add(new Integer(H));\n\t\t\tw.add(new Integer(W));\n\t\t\ta++;\n\t\t}\n\t\tfor(cnt = 0; a > cnt; ++cnt){\n\t\t\tif(cnt != 0)\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\tfor(int i = 0; i != h.get(new Integer(cnt)); i++){\n\t\t\t\tfor(int j = 0; j != w.get(new Integer(cnt)); 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}\n\t\tSystem.out.print(\"\\n\");\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint H, W, a = 0, cnt = 0;\n\t\tArrayList<Integer> h = new ArrayList<Integer>();\n\t\tArrayList<Integer> w = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(a < 300){\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t\tif(H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\th.add(new Integer(H));\n\t\t\tw.add(new Integer(W));\n\t\t\ta++;\n\t\t}\n\t\tfor(cnt = 0; a > cnt; ++cnt){\n\t\t\tif(cnt != 0)\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\tfor(int i = 0; i != h.get(new Integer(cnt)); i++){\n\t\t\t\tfor(int j = 0; j != w.get(new Integer(cnt)); 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}\n\t\tSystem.out.print(\"\\n\");\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tint H, W, a = 0, cnt = 0;\n\t\tArrayList<Integer> h = new ArrayList<Integer>();\n\t\tArrayList<Integer> w = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(a < 300){\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t\tif(H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\th.add(new Integer(H));\n\t\t\tw.add(new Integer(W));\n\t\t\ta++;\n\t\t}\n\t\tfor(cnt = 0; a > cnt; ++cnt){\n\t\t\tif(cnt != 0)\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\tfor(int i = 0; i != h.get(new Integer(cnt)); i++){\n\t\t\t\tfor(int j = 0; j != w.get(new Integer(cnt)); 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}\n\t\tSystem.out.print(\"\\n\");\n\t}",
"main",
"{\n\t\tint H, W, a = 0, cnt = 0;\n\t\tArrayList<Integer> h = new ArrayList<Integer>();\n\t\tArrayList<Integer> w = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(a < 300){\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t\tif(H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\th.add(new Integer(H));\n\t\t\tw.add(new Integer(W));\n\t\t\ta++;\n\t\t}\n\t\tfor(cnt = 0; a > cnt; ++cnt){\n\t\t\tif(cnt != 0)\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\tfor(int i = 0; i != h.get(new Integer(cnt)); i++){\n\t\t\t\tfor(int j = 0; j != w.get(new Integer(cnt)); 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}\n\t\tSystem.out.print(\"\\n\");\n\t}",
"int H",
"H",
"W",
"W",
"a = 0",
"a",
"0",
"cnt = 0;",
"cnt",
"0",
"ArrayList<Integer> h = new ArrayList<Integer>();",
"h",
"new ArrayList<Integer>()",
"ArrayList<Integer> w = new ArrayList<Integer>();",
"w",
"new ArrayList<Integer>()",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(a < 300){\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t\tif(H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\th.add(new Integer(H));\n\t\t\tw.add(new Integer(W));\n\t\t\ta++;\n\t\t}",
"a < 300",
"a",
"300",
"{\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t\tif(H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\th.add(new Integer(H));\n\t\t\tw.add(new Integer(W));\n\t\t\ta++;\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)\n\t\t\t\tbreak;",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"break;",
"h.add(new Integer(H))",
"h.add",
"h",
"new Integer(H)",
"w.add(new Integer(W))",
"w.add",
"w",
"new Integer(W)",
"a++",
"a",
"for(cnt = 0; a > cnt; ++cnt){\n\t\t\tif(cnt != 0)\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\tfor(int i = 0; i != h.get(new Integer(cnt)); i++){\n\t\t\t\tfor(int j = 0; j != w.get(new Integer(cnt)); 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}",
"cnt = 0;",
"cnt = 0",
"cnt",
"0",
"a > cnt",
"a",
"cnt",
"++cnt",
"++cnt",
"cnt",
"{\n\t\t\tif(cnt != 0)\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\tfor(int i = 0; i != h.get(new Integer(cnt)); i++){\n\t\t\t\tfor(int j = 0; j != w.get(new Integer(cnt)); 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}",
"{\n\t\t\tif(cnt != 0)\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\tfor(int i = 0; i != h.get(new Integer(cnt)); i++){\n\t\t\t\tfor(int j = 0; j != w.get(new Integer(cnt)); 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}",
"if(cnt != 0)\n\t\t\t\tSystem.out.print(\"\\n\");",
"cnt != 0",
"cnt",
"0",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"for(int i = 0; i != h.get(new Integer(cnt)); i++){\n\t\t\t\tfor(int j = 0; j != w.get(new Integer(cnt)); 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.get(new Integer(cnt))",
"i",
"h.get(new Integer(cnt))",
"h.get",
"h",
"new Integer(cnt)",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j = 0; j != w.get(new Integer(cnt)); 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.get(new Integer(cnt)); 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.get(new Integer(cnt)); j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j != w.get(new Integer(cnt))",
"j",
"w.get(new Integer(cnt))",
"w.get",
"w",
"new Integer(cnt)",
"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\tint H, W, a = 0, cnt = 0;\n\t\tArrayList<Integer> h = new ArrayList<Integer>();\n\t\tArrayList<Integer> w = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(a < 300){\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t\tif(H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\th.add(new Integer(H));\n\t\t\tw.add(new Integer(W));\n\t\t\ta++;\n\t\t}\n\t\tfor(cnt = 0; a > cnt; ++cnt){\n\t\t\tif(cnt != 0)\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\tfor(int i = 0; i != h.get(new Integer(cnt)); i++){\n\t\t\t\tfor(int j = 0; j != w.get(new Integer(cnt)); 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}\n\t\tSystem.out.print(\"\\n\");\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint H, W, a = 0, cnt = 0;\n\t\tArrayList<Integer> h = new ArrayList<Integer>();\n\t\tArrayList<Integer> w = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(a < 300){\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t\tif(H == 0 && W == 0)\n\t\t\t\tbreak;\n\t\t\th.add(new Integer(H));\n\t\t\tw.add(new Integer(W));\n\t\t\ta++;\n\t\t}\n\t\tfor(cnt = 0; a > cnt; ++cnt){\n\t\t\tif(cnt != 0)\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\tfor(int i = 0; i != h.get(new Integer(cnt)); i++){\n\t\t\t\tfor(int j = 0; j != w.get(new Integer(cnt)); 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}\n\t\tSystem.out.print(\"\\n\");\n\t}\n}",
"Main"
] |
import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int H, W, a = 0, cnt = 0;
ArrayList<Integer> h = new ArrayList<Integer>();
ArrayList<Integer> w = new ArrayList<Integer>();
Scanner sc = new Scanner(System.in);
while(a < 300){
H = sc.nextInt();
W = sc.nextInt();
if(H == 0 && W == 0)
break;
h.add(new Integer(H));
w.add(new Integer(W));
a++;
}
for(cnt = 0; a > cnt; ++cnt){
if(cnt != 0)
System.out.print("\n");
for(int i = 0; i != h.get(new Integer(cnt)); i++){
for(int j = 0; j != w.get(new Integer(cnt)); 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,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
4,
13,
17,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
4,
18,
13,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
13,
29,
4,
18,
13,
23,
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
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
19,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
38,
41
],
[
19,
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
],
[
58,
59
],
[
57,
60
],
[
55,
61
],
[
19,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
8,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
72,
73
],
[
6,
74
],
[
74,
75
],
[
4,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
90,
91
],
[
91,
92
],
[
82,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
78,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
76,
103
],
[
103,
104
],
[
76,
105
],
[
105,
106
]
] | [
"import java.util.Scanner;\n \nclass Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n while (in.hasNext()) {\n int lenH = in.nextInt();\n int lenW = in.nextInt();\n \n if (lenH == 0) {\n break;\n }\n \n String line = repeat('#', lenW);\n for (int i = 0; i < lenH; i++) {\n sb.append(line).append(\"\\n\");\n }\n \n sb.append(\"\\n\");\n }\n System.out.print(sb.toString());\n }\n \n private static String repeat(char c, int len) {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < len; i++) {\n sb.append(c);\n }\n return sb.toString();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n while (in.hasNext()) {\n int lenH = in.nextInt();\n int lenW = in.nextInt();\n \n if (lenH == 0) {\n break;\n }\n \n String line = repeat('#', lenW);\n for (int i = 0; i < lenH; i++) {\n sb.append(line).append(\"\\n\");\n }\n \n sb.append(\"\\n\");\n }\n System.out.print(sb.toString());\n }\n \n private static String repeat(char c, int len) {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < len; i++) {\n sb.append(c);\n }\n return sb.toString();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n while (in.hasNext()) {\n int lenH = in.nextInt();\n int lenW = in.nextInt();\n \n if (lenH == 0) {\n break;\n }\n \n String line = repeat('#', lenW);\n for (int i = 0; i < lenH; i++) {\n sb.append(line).append(\"\\n\");\n }\n \n sb.append(\"\\n\");\n }\n System.out.print(sb.toString());\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n while (in.hasNext()) {\n int lenH = in.nextInt();\n int lenW = in.nextInt();\n \n if (lenH == 0) {\n break;\n }\n \n String line = repeat('#', lenW);\n for (int i = 0; i < lenH; i++) {\n sb.append(line).append(\"\\n\");\n }\n \n sb.append(\"\\n\");\n }\n System.out.print(sb.toString());\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (in.hasNext()) {\n int lenH = in.nextInt();\n int lenW = in.nextInt();\n \n if (lenH == 0) {\n break;\n }\n \n String line = repeat('#', lenW);\n for (int i = 0; i < lenH; i++) {\n sb.append(line).append(\"\\n\");\n }\n \n sb.append(\"\\n\");\n }",
"in.hasNext()",
"in.hasNext",
"in",
"{\n int lenH = in.nextInt();\n int lenW = in.nextInt();\n \n if (lenH == 0) {\n break;\n }\n \n String line = repeat('#', lenW);\n for (int i = 0; i < lenH; i++) {\n sb.append(line).append(\"\\n\");\n }\n \n sb.append(\"\\n\");\n }",
"int lenH = in.nextInt();",
"lenH",
"in.nextInt()",
"in.nextInt",
"in",
"int lenW = in.nextInt();",
"lenW",
"in.nextInt()",
"in.nextInt",
"in",
"if (lenH == 0) {\n break;\n }",
"lenH == 0",
"lenH",
"0",
"{\n break;\n }",
"break;",
"String line = repeat('#', lenW);",
"line",
"repeat('#', lenW)",
"repeat",
"'#'",
"lenW",
"for (int i = 0; i < lenH; i++) {\n sb.append(line).append(\"\\n\");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < lenH",
"i",
"lenH",
"i++",
"i++",
"i",
"{\n sb.append(line).append(\"\\n\");\n }",
"{\n sb.append(line).append(\"\\n\");\n }",
"sb.append(line).append(\"\\n\")",
"sb.append(line).append",
"sb.append(line)",
"sb.append",
"sb",
"line",
"\"\\n\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"System.out.print(sb.toString())",
"System.out.print",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args",
"private static String repeat(char c, int len) {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < len; i++) {\n sb.append(c);\n }\n return sb.toString();\n }",
"repeat",
"{\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < len; i++) {\n sb.append(c);\n }\n return sb.toString();\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = 0; i < len; i++) {\n sb.append(c);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len",
"i",
"len",
"i++",
"i++",
"i",
"{\n sb.append(c);\n }",
"{\n sb.append(c);\n }",
"sb.append(c)",
"sb.append",
"sb",
"c",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"char c",
"c",
"int len",
"len"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
while (in.hasNext()) {
int lenH = in.nextInt();
int lenW = in.nextInt();
if (lenH == 0) {
break;
}
String line = repeat('#', lenW);
for (int i = 0; i < lenH; i++) {
sb.append(line).append("\n");
}
sb.append("\n");
}
System.out.print(sb.toString());
}
private static String repeat(char c, int len) {
StringBuilder sb = new StringBuilder();
for (int i = 0; i < len; i++) {
sb.append(c);
}
return sb.toString();
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
20,
17,
17,
41,
13,
20,
17,
17,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
40,
13,
0,
13,
20,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
2,
13,
17,
20,
0,
13,
20,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
18,
18,
13,
13,
17,
41,
13,
18,
18,
13,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
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,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
186,
2
],
[
186,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
9,
11
],
[
5,
12
],
[
12,
13
],
[
12,
14
],
[
5,
15
],
[
15,
16
],
[
15,
17
],
[
5,
20
],
[
20,
21
],
[
20,
22
],
[
5,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
27,
48
],
[
48,
49
],
[
27,
50
],
[
50,
51
],
[
50,
52
],
[
27,
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
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
27,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
77,
83
],
[
27,
84
],
[
84,
85
],
[
84,
86
],
[
27,
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
],
[
103,
105
],
[
102,
106
],
[
106,
107
],
[
106,
108
],
[
5,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
116,
118
],
[
109,
119
],
[
119,
120
],
[
120,
121
],
[
109,
122
],
[
123,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
123,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
123,
138
],
[
138,
139
],
[
138,
140
],
[
123,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
141,
146
],
[
146,
147
],
[
146,
148
],
[
141,
149
],
[
149,
150
],
[
150,
151
],
[
141,
152
],
[
153,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
156,
158
],
[
123,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
159,
164
],
[
164,
165
],
[
164,
166
],
[
159,
167
],
[
167,
168
],
[
168,
169
],
[
159,
170
],
[
171,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
172,
177
],
[
123,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
3,
183
],
[
183,
184
],
[
0,
185
],
[
185,
186
],
[
185,
187
]
] | [
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint l =0;\n\t\tint [][] ar = new int[0][2];\n\t\tint [][] arc = new int[0][2];\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\tl++;\n\t\t\tar = new int[l][2];\n\t\t\tfor (int i = 0; i < l - 1; i++) {\n\t\t\t\tar[i] = arc[i];\n\t\t\t}\n\t\t\tar[l - 1] = new int[] { h, w };\n\t\t\tarc = new int[l][2];\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tarc[i] = ar[i];\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < ar.length; i++) {\n\t\t\tint h = ar[i][0];\n\t\t\tint w = ar[i][1];\n\n\t\t\tString sYoko = \"\";\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tsYoko = sYoko + \"#\";\n\t\t\t}\n\t\t\t//String sHako = \"\";\n\t\t\tfor (int j = 0; j < h; j++) {\n\t\t\t\t//sHako = sHako + sYoko + \"\\n\";\n\t\t\t\tSystem.out.println(sYoko);\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\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint l =0;\n\t\tint [][] ar = new int[0][2];\n\t\tint [][] arc = new int[0][2];\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\tl++;\n\t\t\tar = new int[l][2];\n\t\t\tfor (int i = 0; i < l - 1; i++) {\n\t\t\t\tar[i] = arc[i];\n\t\t\t}\n\t\t\tar[l - 1] = new int[] { h, w };\n\t\t\tarc = new int[l][2];\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tarc[i] = ar[i];\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < ar.length; i++) {\n\t\t\tint h = ar[i][0];\n\t\t\tint w = ar[i][1];\n\n\t\t\tString sYoko = \"\";\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tsYoko = sYoko + \"#\";\n\t\t\t}\n\t\t\t//String sHako = \"\";\n\t\t\tfor (int j = 0; j < h; j++) {\n\t\t\t\t//sHako = sHako + sYoko + \"\\n\";\n\t\t\t\tSystem.out.println(sYoko);\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\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint l =0;\n\t\tint [][] ar = new int[0][2];\n\t\tint [][] arc = new int[0][2];\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\tl++;\n\t\t\tar = new int[l][2];\n\t\t\tfor (int i = 0; i < l - 1; i++) {\n\t\t\t\tar[i] = arc[i];\n\t\t\t}\n\t\t\tar[l - 1] = new int[] { h, w };\n\t\t\tarc = new int[l][2];\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tarc[i] = ar[i];\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < ar.length; i++) {\n\t\t\tint h = ar[i][0];\n\t\t\tint w = ar[i][1];\n\n\t\t\tString sYoko = \"\";\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tsYoko = sYoko + \"#\";\n\t\t\t}\n\t\t\t//String sHako = \"\";\n\t\t\tfor (int j = 0; j < h; j++) {\n\t\t\t\t//sHako = sHako + sYoko + \"\\n\";\n\t\t\t\tSystem.out.println(sYoko);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"main",
"{\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint l =0;\n\t\tint [][] ar = new int[0][2];\n\t\tint [][] arc = new int[0][2];\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\tl++;\n\t\t\tar = new int[l][2];\n\t\t\tfor (int i = 0; i < l - 1; i++) {\n\t\t\t\tar[i] = arc[i];\n\t\t\t}\n\t\t\tar[l - 1] = new int[] { h, w };\n\t\t\tarc = new int[l][2];\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tarc[i] = ar[i];\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < ar.length; i++) {\n\t\t\tint h = ar[i][0];\n\t\t\tint w = ar[i][1];\n\n\t\t\tString sYoko = \"\";\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tsYoko = sYoko + \"#\";\n\t\t\t}\n\t\t\t//String sHako = \"\";\n\t\t\tfor (int j = 0; j < h; j++) {\n\t\t\t\t//sHako = sHako + sYoko + \"\\n\";\n\t\t\t\tSystem.out.println(sYoko);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"java.util.Scanner sc = new java.util.Scanner(System.in);",
"sc",
"new java.util.Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int l =0;",
"l",
"0",
"int [][] ar = new int[0][2];",
"ar",
"new int[0][2]",
"0",
"2",
"int [][] arc = new int[0][2];",
"arc",
"new int[0][2]",
"0",
"2",
"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\tl++;\n\t\t\tar = new int[l][2];\n\t\t\tfor (int i = 0; i < l - 1; i++) {\n\t\t\t\tar[i] = arc[i];\n\t\t\t}\n\t\t\tar[l - 1] = new int[] { h, w };\n\t\t\tarc = new int[l][2];\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tarc[i] = ar[i];\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}\n\t\t\tl++;\n\t\t\tar = new int[l][2];\n\t\t\tfor (int i = 0; i < l - 1; i++) {\n\t\t\t\tar[i] = arc[i];\n\t\t\t}\n\t\t\tar[l - 1] = new int[] { h, w };\n\t\t\tarc = new int[l][2];\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tarc[i] = ar[i];\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}",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"l++",
"l",
"ar = new int[l][2]",
"ar",
"new int[l][2]",
"l",
"2",
"for (int i = 0; i < l - 1; i++) {\n\t\t\t\tar[i] = arc[i];\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < l - 1",
"i",
"l - 1",
"l",
"1",
"i++",
"i++",
"i",
"{\n\t\t\t\tar[i] = arc[i];\n\t\t\t}",
"{\n\t\t\t\tar[i] = arc[i];\n\t\t\t}",
"ar[i] = arc[i]",
"ar[i]",
"ar",
"i",
"arc[i]",
"arc",
"i",
"ar[l - 1] = new int[] { h, w }",
"ar[l - 1]",
"ar",
"l - 1",
"l",
"1",
"new int[] { h, w }",
"arc = new int[l][2]",
"arc",
"new int[l][2]",
"l",
"2",
"for (int i = 0; i < l; i++) {\n\t\t\t\tarc[i] = ar[i];\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < l",
"i",
"l",
"i++",
"i++",
"i",
"{\n\t\t\t\tarc[i] = ar[i];\n\t\t\t}",
"{\n\t\t\t\tarc[i] = ar[i];\n\t\t\t}",
"arc[i] = ar[i]",
"arc[i]",
"arc",
"i",
"ar[i]",
"ar",
"i",
"for (int i = 0; i < ar.length; i++) {\n\t\t\tint h = ar[i][0];\n\t\t\tint w = ar[i][1];\n\n\t\t\tString sYoko = \"\";\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tsYoko = sYoko + \"#\";\n\t\t\t}\n\t\t\t//String sHako = \"\";\n\t\t\tfor (int j = 0; j < h; j++) {\n\t\t\t\t//sHako = sHako + sYoko + \"\\n\";\n\t\t\t\tSystem.out.println(sYoko);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < ar.length",
"i",
"ar.length",
"ar",
"ar.length",
"i++",
"i++",
"i",
"{\n\t\t\tint h = ar[i][0];\n\t\t\tint w = ar[i][1];\n\n\t\t\tString sYoko = \"\";\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tsYoko = sYoko + \"#\";\n\t\t\t}\n\t\t\t//String sHako = \"\";\n\t\t\tfor (int j = 0; j < h; j++) {\n\t\t\t\t//sHako = sHako + sYoko + \"\\n\";\n\t\t\t\tSystem.out.println(sYoko);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"{\n\t\t\tint h = ar[i][0];\n\t\t\tint w = ar[i][1];\n\n\t\t\tString sYoko = \"\";\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tsYoko = sYoko + \"#\";\n\t\t\t}\n\t\t\t//String sHako = \"\";\n\t\t\tfor (int j = 0; j < h; j++) {\n\t\t\t\t//sHako = sHako + sYoko + \"\\n\";\n\t\t\t\tSystem.out.println(sYoko);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"int h = ar[i][0];",
"h",
"ar[i][0]",
"ar[i]",
"ar",
"i",
"0",
"int w = ar[i][1];",
"w",
"ar[i][1]",
"ar[i]",
"ar",
"i",
"1",
"String sYoko = \"\";",
"sYoko",
"\"\"",
"for (int j = 0; j < w; j++) {\n\t\t\t\tsYoko = sYoko + \"#\";\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < w",
"j",
"w",
"j++",
"j++",
"j",
"{\n\t\t\t\tsYoko = sYoko + \"#\";\n\t\t\t}",
"{\n\t\t\t\tsYoko = sYoko + \"#\";\n\t\t\t}",
"sYoko = sYoko + \"#\"",
"sYoko",
"sYoko + \"#\"",
"sYoko",
"\"#\"",
"for (int j = 0; j < h; j++) {\n\t\t\t\t//sHako = sHako + sYoko + \"\\n\";\n\t\t\t\tSystem.out.println(sYoko);\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < h",
"j",
"h",
"j++",
"j++",
"j",
"{\n\t\t\t\t//sHako = sHako + sYoko + \"\\n\";\n\t\t\t\tSystem.out.println(sYoko);\n\t\t\t}",
"{\n\t\t\t\t//sHako = sHako + sYoko + \"\\n\";\n\t\t\t\tSystem.out.println(sYoko);\n\t\t\t}",
"System.out.println(sYoko)",
"System.out.println",
"System.out",
"System",
"System.out",
"sYoko",
"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\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint l =0;\n\t\tint [][] ar = new int[0][2];\n\t\tint [][] arc = new int[0][2];\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\tl++;\n\t\t\tar = new int[l][2];\n\t\t\tfor (int i = 0; i < l - 1; i++) {\n\t\t\t\tar[i] = arc[i];\n\t\t\t}\n\t\t\tar[l - 1] = new int[] { h, w };\n\t\t\tarc = new int[l][2];\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tarc[i] = ar[i];\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < ar.length; i++) {\n\t\t\tint h = ar[i][0];\n\t\t\tint w = ar[i][1];\n\n\t\t\tString sYoko = \"\";\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tsYoko = sYoko + \"#\";\n\t\t\t}\n\t\t\t//String sHako = \"\";\n\t\t\tfor (int j = 0; j < h; j++) {\n\t\t\t\t//sHako = sHako + sYoko + \"\\n\";\n\t\t\t\tSystem.out.println(sYoko);\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\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint l =0;\n\t\tint [][] ar = new int[0][2];\n\t\tint [][] arc = new int[0][2];\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\tl++;\n\t\t\tar = new int[l][2];\n\t\t\tfor (int i = 0; i < l - 1; i++) {\n\t\t\t\tar[i] = arc[i];\n\t\t\t}\n\t\t\tar[l - 1] = new int[] { h, w };\n\t\t\tarc = new int[l][2];\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tarc[i] = ar[i];\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < ar.length; i++) {\n\t\t\tint h = ar[i][0];\n\t\t\tint w = ar[i][1];\n\n\t\t\tString sYoko = \"\";\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tsYoko = sYoko + \"#\";\n\t\t\t}\n\t\t\t//String sHako = \"\";\n\t\t\tfor (int j = 0; j < h; j++) {\n\t\t\t\t//sHako = sHako + sYoko + \"\\n\";\n\t\t\t\tSystem.out.println(sYoko);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main"
] | public class Main {
public static void main(String[] args) {
java.util.Scanner sc = new java.util.Scanner(System.in);
StringBuilder sb = new StringBuilder();
int l =0;
int [][] ar = new int[0][2];
int [][] arc = new int[0][2];
while (true) {
int h = sc.nextInt();
int w = sc.nextInt();
if (h == 0 && w == 0) {
break;
}
l++;
ar = new int[l][2];
for (int i = 0; i < l - 1; i++) {
ar[i] = arc[i];
}
ar[l - 1] = new int[] { h, w };
arc = new int[l][2];
for (int i = 0; i < l; i++) {
arc[i] = ar[i];
}
}
for (int i = 0; i < ar.length; i++) {
int h = ar[i][0];
int w = ar[i][1];
String sYoko = "";
for (int j = 0; j < w; j++) {
sYoko = sYoko + "#";
}
//String sHako = "";
for (int j = 0; j < h; j++) {
//sHako = sHako + sYoko + "\n";
System.out.println(sYoko);
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
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,
41,
13,
41,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
11,
1,
0,
13,
17,
2,
2,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
0,
13,
17,
2,
2,
13,
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,
0,
13,
4,
18,
13,
0,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
140,
11
],
[
140,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
14,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
14,
45
],
[
45,
46
],
[
14,
47
],
[
47,
48
],
[
14,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
58,
70
],
[
70,
71
],
[
71,
72
],
[
58,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
84,
86
],
[
75,
87
],
[
87,
88
],
[
88,
89
],
[
75,
90
],
[
91,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
74,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
57,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
57,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
57,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
57,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
123,
126
],
[
126,
127
],
[
126,
128
],
[
57,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
134,
135
],
[
134,
136
],
[
12,
137
],
[
137,
138
],
[
0,
139
],
[
139,
140
],
[
139,
141
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n/**\n *\n */\n\n/**\n * @author cthanh\n *\n */\npublic class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String str = br.readLine();\n\n\t String[] strAry = str.split(\" \");\n\t int H = Integer.parseInt(strAry[0]);\n\t \tint W = Integer.parseInt(strAry[1]);\n int i,j ;\n\n while (H != 0 || W != 0){\n for ( i = 0 ; i<H && H!= 0; i++ ){\n\t \t\tfor ( j=0; j< W && W !=0; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\n\t \t\t}\n\t \t\t System.out.printf(\"\\n\");\n\n\t \t}\n\t \t System.out.printf(\"\\n\");\n\t str = br.readLine();\n\n\t\t strAry = str.split(\" \");\n\t\t H = Integer.parseInt(strAry[0]);\n\t\t W = Integer.parseInt(strAry[1]);\n\n\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\n\t/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String str = br.readLine();\n\n\t String[] strAry = str.split(\" \");\n\t int H = Integer.parseInt(strAry[0]);\n\t \tint W = Integer.parseInt(strAry[1]);\n int i,j ;\n\n while (H != 0 || W != 0){\n for ( i = 0 ; i<H && H!= 0; i++ ){\n\t \t\tfor ( j=0; j< W && W !=0; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\n\t \t\t}\n\t \t\t System.out.printf(\"\\n\");\n\n\t \t}\n\t \t System.out.printf(\"\\n\");\n\t str = br.readLine();\n\n\t\t strAry = str.split(\" \");\n\t\t H = Integer.parseInt(strAry[0]);\n\t\t W = Integer.parseInt(strAry[1]);\n\n\t}\n\t}\n}",
"Main",
"/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String str = br.readLine();\n\n\t String[] strAry = str.split(\" \");\n\t int H = Integer.parseInt(strAry[0]);\n\t \tint W = Integer.parseInt(strAry[1]);\n int i,j ;\n\n while (H != 0 || W != 0){\n for ( i = 0 ; i<H && H!= 0; i++ ){\n\t \t\tfor ( j=0; j< W && W !=0; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\n\t \t\t}\n\t \t\t System.out.printf(\"\\n\");\n\n\t \t}\n\t \t System.out.printf(\"\\n\");\n\t str = br.readLine();\n\n\t\t strAry = str.split(\" \");\n\t\t H = Integer.parseInt(strAry[0]);\n\t\t W = Integer.parseInt(strAry[1]);\n\n\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String str = br.readLine();\n\n\t String[] strAry = str.split(\" \");\n\t int H = Integer.parseInt(strAry[0]);\n\t \tint W = Integer.parseInt(strAry[1]);\n int i,j ;\n\n while (H != 0 || W != 0){\n for ( i = 0 ; i<H && H!= 0; i++ ){\n\t \t\tfor ( j=0; j< W && W !=0; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\n\t \t\t}\n\t \t\t System.out.printf(\"\\n\");\n\n\t \t}\n\t \t System.out.printf(\"\\n\");\n\t str = br.readLine();\n\n\t\t strAry = str.split(\" \");\n\t\t H = Integer.parseInt(strAry[0]);\n\t\t W = Integer.parseInt(strAry[1]);\n\n\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] strAry = str.split(\" \");",
"strAry",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int H = Integer.parseInt(strAry[0]);",
"H",
"Integer.parseInt(strAry[0])",
"Integer.parseInt",
"Integer",
"strAry[0]",
"strAry",
"0",
"int W = Integer.parseInt(strAry[1]);",
"W",
"Integer.parseInt(strAry[1])",
"Integer.parseInt",
"Integer",
"strAry[1]",
"strAry",
"1",
"int i",
"i",
"j ;",
"j",
"while (H != 0 || W != 0){\n for ( i = 0 ; i<H && H!= 0; i++ ){\n\t \t\tfor ( j=0; j< W && W !=0; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\n\t \t\t}\n\t \t\t System.out.printf(\"\\n\");\n\n\t \t}\n\t \t System.out.printf(\"\\n\");\n\t str = br.readLine();\n\n\t\t strAry = str.split(\" \");\n\t\t H = Integer.parseInt(strAry[0]);\n\t\t W = Integer.parseInt(strAry[1]);\n\n\t}",
"H != 0 || W != 0",
"H != 0",
"H",
"0",
"W != 0",
"W",
"0",
"{\n for ( i = 0 ; i<H && H!= 0; i++ ){\n\t \t\tfor ( j=0; j< W && W !=0; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\n\t \t\t}\n\t \t\t System.out.printf(\"\\n\");\n\n\t \t}\n\t \t System.out.printf(\"\\n\");\n\t str = br.readLine();\n\n\t\t strAry = str.split(\" \");\n\t\t H = Integer.parseInt(strAry[0]);\n\t\t W = Integer.parseInt(strAry[1]);\n\n\t}",
"for ( i = 0 ; i<H && H!= 0; i++ ){\n\t \t\tfor ( j=0; j< W && W !=0; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\n\t \t\t}\n\t \t\t System.out.printf(\"\\n\");\n\n\t \t}",
"i = 0 ;",
"i = 0",
"i",
"0",
"i<H && H!= 0",
"i<H",
"i",
"H",
"H!= 0",
"H",
"0",
"i++",
"i++",
"i",
"{\n\t \t\tfor ( j=0; j< W && W !=0; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\n\t \t\t}\n\t \t\t System.out.printf(\"\\n\");\n\n\t \t}",
"{\n\t \t\tfor ( j=0; j< W && W !=0; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\n\t \t\t}\n\t \t\t System.out.printf(\"\\n\");\n\n\t \t}",
"for ( j=0; j< W && W !=0; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\n\t \t\t}",
"j=0;",
"j=0",
"j",
"0",
"j< W && W !=0",
"j< W",
"j",
"W",
"W !=0",
"W",
"0",
"j++",
"j++",
"j",
"{\n\t \t\t\tSystem.out.printf(\"#\");\n\n\t \t\t}",
"{\n\t \t\t\tSystem.out.printf(\"#\");\n\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\"",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"strAry = str.split(\" \")",
"strAry",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"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",
"String[] args",
"args",
"public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String str = br.readLine();\n\n\t String[] strAry = str.split(\" \");\n\t int H = Integer.parseInt(strAry[0]);\n\t \tint W = Integer.parseInt(strAry[1]);\n int i,j ;\n\n while (H != 0 || W != 0){\n for ( i = 0 ; i<H && H!= 0; i++ ){\n\t \t\tfor ( j=0; j< W && W !=0; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\n\t \t\t}\n\t \t\t System.out.printf(\"\\n\");\n\n\t \t}\n\t \t System.out.printf(\"\\n\");\n\t str = br.readLine();\n\n\t\t strAry = str.split(\" \");\n\t\t H = Integer.parseInt(strAry[0]);\n\t\t W = Integer.parseInt(strAry[1]);\n\n\t}\n\t}\n}",
"public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String str = br.readLine();\n\n\t String[] strAry = str.split(\" \");\n\t int H = Integer.parseInt(strAry[0]);\n\t \tint W = Integer.parseInt(strAry[1]);\n int i,j ;\n\n while (H != 0 || W != 0){\n for ( i = 0 ; i<H && H!= 0; i++ ){\n\t \t\tfor ( j=0; j< W && W !=0; j++){\n\t \t\t\tSystem.out.printf(\"#\");\n\n\t \t\t}\n\t \t\t System.out.printf(\"\\n\");\n\n\t \t}\n\t \t System.out.printf(\"\\n\");\n\t str = br.readLine();\n\n\t\t strAry = str.split(\" \");\n\t\t H = Integer.parseInt(strAry[0]);\n\t\t W = Integer.parseInt(strAry[1]);\n\n\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
*
*/
/**
* @author cthanh
*
*/
public class Main {
/**
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
// TODO ?????????????????????????????????????????????
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String[] strAry = str.split(" ");
int H = Integer.parseInt(strAry[0]);
int W = Integer.parseInt(strAry[1]);
int i,j ;
while (H != 0 || W != 0){
for ( i = 0 ; i<H && H!= 0; i++ ){
for ( j=0; j< W && W !=0; j++){
System.out.printf("#");
}
System.out.printf("\n");
}
System.out.printf("\n");
str = br.readLine();
strAry = str.split(" ");
H = Integer.parseInt(strAry[0]);
W = Integer.parseInt(strAry[1]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
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,
4,
18,
18,
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
],
[
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
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
39,
41
],
[
31,
42
],
[
42,
43
],
[
42,
44
],
[
29,
45
],
[
18,
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
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
58,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
18,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
6,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"import java.util.Scanner;\n\n\n//Print a Rectangle\n//\n//たてH cm よこ W cm の長方形を描くプログラムを作成して下さい。\n//\n//1 cm × 1cm の長方形を '#'で表します。\n//Input\n//\n//入力は複数のデータセットから構成されています。各データセットの形式は以下のとおりです:\n//\n//H W\n//\n//H, W がともに 0 のとき、入力の終わりとします。\n//Output\n//\n//各データセットについて、H × W 個の '#' で描かれた長方形を出力して下さい。\n//\n//各データセットの後に、1つの空行を入れて下さい。\n//Constraints\n//\n//H, W ? 300\n//Sample Input\n//\n//3 4\n//5 6\n//2 2\n//0 0\n//\n//Sample Output\n//\n//####\n//####\n//####\n//\n//######\n//######\n//######\n//######\n//######\n//\n//##\n//##\n\n\npublic class Main {\n public static void main(String[] args) {\n\n \t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//forループ文用に変数準備\n\t\tint i;\n\t\tint j;\n\n\t\t/*while文で無限ループ設定\n\t\t * if文でbreakをかける\n\t\t * 求められている通りになったがコードが無駄に多いように思える\n\t\t * 後程修正を行えるか試す\n\t\t */\n\n\t\twhile(true){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0 || H > 300 || W > 300)break;\n\t\t\tfor(j = 0; j < H; j++){\n\t\t\t\tfor(i = 0; i < W; i++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n\n \t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//forループ文用に変数準備\n\t\tint i;\n\t\tint j;\n\n\t\t/*while文で無限ループ設定\n\t\t * if文でbreakをかける\n\t\t * 求められている通りになったがコードが無駄に多いように思える\n\t\t * 後程修正を行えるか試す\n\t\t */\n\n\t\twhile(true){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0 || H > 300 || W > 300)break;\n\t\t\tfor(j = 0; j < H; j++){\n\t\t\t\tfor(i = 0; i < W; i++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n }\n}",
"Main",
"public static void main(String[] args) {\n\n \t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//forループ文用に変数準備\n\t\tint i;\n\t\tint j;\n\n\t\t/*while文で無限ループ設定\n\t\t * if文でbreakをかける\n\t\t * 求められている通りになったがコードが無駄に多いように思える\n\t\t * 後程修正を行えるか試す\n\t\t */\n\n\t\twhile(true){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0 || H > 300 || W > 300)break;\n\t\t\tfor(j = 0; j < H; j++){\n\t\t\t\tfor(i = 0; i < W; i++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n }",
"main",
"{\n\n \t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//forループ文用に変数準備\n\t\tint i;\n\t\tint j;\n\n\t\t/*while文で無限ループ設定\n\t\t * if文でbreakをかける\n\t\t * 求められている通りになったがコードが無駄に多いように思える\n\t\t * 後程修正を行えるか試す\n\t\t */\n\n\t\twhile(true){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0 || H > 300 || W > 300)break;\n\t\t\tfor(j = 0; j < H; j++){\n\t\t\t\tfor(i = 0; i < W; i++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int i;",
"i",
"int j;",
"j",
"while(true){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0 || H > 300 || W > 300)break;\n\t\t\tfor(j = 0; j < H; j++){\n\t\t\t\tfor(i = 0; i < W; i++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"true",
"{\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0 || H > 300 || W > 300)break;\n\t\t\tfor(j = 0; j < H; j++){\n\t\t\t\tfor(i = 0; i < W; i++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\tSystem.out.println();\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 || H > 300 || W > 300)break;",
"H == 0 && W == 0 || H > 300 || W > 300",
"H == 0 && W == 0 || H > 300 || W > 300",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"H > 300",
"H",
"300",
"W > 300",
"W",
"300",
"break;",
"for(j = 0; j < H; j++){\n\t\t\t\tfor(i = 0; i < W; i++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\t}",
"j = 0;",
"j = 0",
"j",
"0",
"j < H",
"j",
"H",
"j++",
"j++",
"j",
"{\n\t\t\t\tfor(i = 0; i < W; i++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\t}",
"{\n\t\t\t\tfor(i = 0; i < W; i++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\t}",
"for(i = 0; i < W; i++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"i = 0;",
"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 public static void main(String[] args) {\n\n \t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//forループ文用に変数準備\n\t\tint i;\n\t\tint j;\n\n\t\t/*while文で無限ループ設定\n\t\t * if文でbreakをかける\n\t\t * 求められている通りになったがコードが無駄に多いように思える\n\t\t * 後程修正を行えるか試す\n\t\t */\n\n\t\twhile(true){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0 || H > 300 || W > 300)break;\n\t\t\tfor(j = 0; j < H; j++){\n\t\t\t\tfor(i = 0; i < W; i++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\n \t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//forループ文用に変数準備\n\t\tint i;\n\t\tint j;\n\n\t\t/*while文で無限ループ設定\n\t\t * if文でbreakをかける\n\t\t * 求められている通りになったがコードが無駄に多いように思える\n\t\t * 後程修正を行えるか試す\n\t\t */\n\n\t\twhile(true){\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tif(H == 0 && W == 0 || H > 300 || W > 300)break;\n\t\t\tfor(j = 0; j < H; j++){\n\t\t\t\tfor(i = 0; i < W; i++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n }\n}",
"Main"
] | import java.util.Scanner;
//Print a Rectangle
//
//たてH cm よこ W cm の長方形を描くプログラムを作成して下さい。
//
//1 cm × 1cm の長方形を '#'で表します。
//Input
//
//入力は複数のデータセットから構成されています。各データセットの形式は以下のとおりです:
//
//H W
//
//H, W がともに 0 のとき、入力の終わりとします。
//Output
//
//各データセットについて、H × W 個の '#' で描かれた長方形を出力して下さい。
//
//各データセットの後に、1つの空行を入れて下さい。
//Constraints
//
//H, W ? 300
//Sample Input
//
//3 4
//5 6
//2 2
//0 0
//
//Sample Output
//
//####
//####
//####
//
//######
//######
//######
//######
//######
//
//##
//##
public class Main {
public static void main(String[] args) {
/*Scanner = テキスト入力を扱うためのクラス
*キーボードからの入力を受けつける場合は
*System.inを使って下記のように記述
*/
Scanner scan = new Scanner(System.in);
//forループ文用に変数準備
int i;
int j;
/*while文で無限ループ設定
* if文でbreakをかける
* 求められている通りになったがコードが無駄に多いように思える
* 後程修正を行えるか試す
*/
while(true){
int H = scan.nextInt();
int W = scan.nextInt();
if(H == 0 && W == 0 || H > 300 || W > 300)break;
for(j = 0; j < H; j++){
for(i = 0; i < W; i++){
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,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
41,
13,
20,
42,
2,
2,
13,
17,
2,
13,
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,
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,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
148,
14
],
[
148,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
17,
28
],
[
28,
29
],
[
28,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
42,
47
],
[
39,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
39,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
39,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
39,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
39,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
17,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
82,
92
],
[
92,
93
],
[
93,
94
],
[
82,
95
],
[
96,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
97,
108
],
[
108,
109
],
[
109,
110
],
[
97,
111
],
[
112,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
113,
124
],
[
124,
125
],
[
125,
126
],
[
113,
127
],
[
128,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
112,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
96,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
15,
145
],
[
145,
146
],
[
0,
147
],
[
147,
148
],
[
147,
149
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n\n\n public static void main(String[] args) throws IOException {\n\n ArrayList<Integer> x_list = new ArrayList<>();\n ArrayList<Integer> y_list = new ArrayList<>();\n\n int x;\n int y;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n do {\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n\n if (x == 0 && y == 0) {\n break;\n }\n\n x_list.add(x);\n y_list.add(y);\n\n } while (x != 0 || y != 0);\n\n for (int n = 0; n < x_list.size(); n++) {\n for (int a = 0; a < x_list.get(n); a++) {\n\n for (int b = 0; b < y_list.get(n); b++) {\n System.out.printf(\"#\");\n }\n\n System.out.println();\n }\n\n System.out.println();\n }\n\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.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n\n\n public static void main(String[] args) throws IOException {\n\n ArrayList<Integer> x_list = new ArrayList<>();\n ArrayList<Integer> y_list = new ArrayList<>();\n\n int x;\n int y;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n do {\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n\n if (x == 0 && y == 0) {\n break;\n }\n\n x_list.add(x);\n y_list.add(y);\n\n } while (x != 0 || y != 0);\n\n for (int n = 0; n < x_list.size(); n++) {\n for (int a = 0; a < x_list.get(n); a++) {\n\n for (int b = 0; b < y_list.get(n); b++) {\n System.out.printf(\"#\");\n }\n\n System.out.println();\n }\n\n System.out.println();\n }\n\n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n ArrayList<Integer> x_list = new ArrayList<>();\n ArrayList<Integer> y_list = new ArrayList<>();\n\n int x;\n int y;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n do {\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n\n if (x == 0 && y == 0) {\n break;\n }\n\n x_list.add(x);\n y_list.add(y);\n\n } while (x != 0 || y != 0);\n\n for (int n = 0; n < x_list.size(); n++) {\n for (int a = 0; a < x_list.get(n); a++) {\n\n for (int b = 0; b < y_list.get(n); b++) {\n System.out.printf(\"#\");\n }\n\n System.out.println();\n }\n\n System.out.println();\n }\n\n }",
"main",
"{\n\n ArrayList<Integer> x_list = new ArrayList<>();\n ArrayList<Integer> y_list = new ArrayList<>();\n\n int x;\n int y;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n do {\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n\n if (x == 0 && y == 0) {\n break;\n }\n\n x_list.add(x);\n y_list.add(y);\n\n } while (x != 0 || y != 0);\n\n for (int n = 0; n < x_list.size(); n++) {\n for (int a = 0; a < x_list.get(n); a++) {\n\n for (int b = 0; b < y_list.get(n); b++) {\n System.out.printf(\"#\");\n }\n\n System.out.println();\n }\n\n System.out.println();\n }\n\n }",
"ArrayList<Integer> x_list = new ArrayList<>();",
"x_list",
"new ArrayList<>()",
"ArrayList<Integer> y_list = new ArrayList<>();",
"y_list",
"new ArrayList<>()",
"int x;",
"x",
"int y;",
"y",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"do {\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n\n if (x == 0 && y == 0) {\n break;\n }\n\n x_list.add(x);\n y_list.add(y);\n\n } while (x != 0 || y != 0);",
"x != 0 || y != 0",
"x != 0",
"x",
"0",
"y != 0",
"y",
"0",
"{\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n\n if (x == 0 && y == 0) {\n break;\n }\n\n x_list.add(x);\n y_list.add(y);\n\n }",
"String[] line = br.readLine().split(\" \");",
"line",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"x = Integer.parseInt(line[0])",
"x",
"Integer.parseInt(line[0])",
"Integer.parseInt",
"Integer",
"line[0]",
"line",
"0",
"y = Integer.parseInt(line[1])",
"y",
"Integer.parseInt(line[1])",
"Integer.parseInt",
"Integer",
"line[1]",
"line",
"1",
"if (x == 0 && y == 0) {\n break;\n }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n break;\n }",
"break;",
"x_list.add(x)",
"x_list.add",
"x_list",
"x",
"y_list.add(y)",
"y_list.add",
"y_list",
"y",
"for (int n = 0; n < x_list.size(); n++) {\n for (int a = 0; a < x_list.get(n); a++) {\n\n for (int b = 0; b < y_list.get(n); b++) {\n System.out.printf(\"#\");\n }\n\n System.out.println();\n }\n\n System.out.println();\n }",
"int n = 0;",
"int n = 0;",
"n",
"0",
"n < x_list.size()",
"n",
"x_list.size()",
"x_list.size",
"x_list",
"n++",
"n++",
"n",
"{\n for (int a = 0; a < x_list.get(n); a++) {\n\n for (int b = 0; b < y_list.get(n); b++) {\n System.out.printf(\"#\");\n }\n\n System.out.println();\n }\n\n System.out.println();\n }",
"{\n for (int a = 0; a < x_list.get(n); a++) {\n\n for (int b = 0; b < y_list.get(n); b++) {\n System.out.printf(\"#\");\n }\n\n System.out.println();\n }\n\n System.out.println();\n }",
"for (int a = 0; a < x_list.get(n); a++) {\n\n for (int b = 0; b < y_list.get(n); b++) {\n System.out.printf(\"#\");\n }\n\n System.out.println();\n }",
"int a = 0;",
"int a = 0;",
"a",
"0",
"a < x_list.get(n)",
"a",
"x_list.get(n)",
"x_list.get",
"x_list",
"n",
"a++",
"a++",
"a",
"{\n\n for (int b = 0; b < y_list.get(n); b++) {\n System.out.printf(\"#\");\n }\n\n System.out.println();\n }",
"{\n\n for (int b = 0; b < y_list.get(n); b++) {\n System.out.printf(\"#\");\n }\n\n System.out.println();\n }",
"for (int b = 0; b < y_list.get(n); b++) {\n System.out.printf(\"#\");\n }",
"int b = 0;",
"int b = 0;",
"b",
"0",
"b < y_list.get(n)",
"b",
"y_list.get(n)",
"y_list.get",
"y_list",
"n",
"b++",
"b++",
"b",
"{\n System.out.printf(\"#\");\n }",
"{\n System.out.printf(\"#\");\n }",
"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\n\n public static void main(String[] args) throws IOException {\n\n ArrayList<Integer> x_list = new ArrayList<>();\n ArrayList<Integer> y_list = new ArrayList<>();\n\n int x;\n int y;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n do {\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n\n if (x == 0 && y == 0) {\n break;\n }\n\n x_list.add(x);\n y_list.add(y);\n\n } while (x != 0 || y != 0);\n\n for (int n = 0; n < x_list.size(); n++) {\n for (int a = 0; a < x_list.get(n); a++) {\n\n for (int b = 0; b < y_list.get(n); b++) {\n System.out.printf(\"#\");\n }\n\n System.out.println();\n }\n\n System.out.println();\n }\n\n }\n\n}",
"public class Main {\n\n\n public static void main(String[] args) throws IOException {\n\n ArrayList<Integer> x_list = new ArrayList<>();\n ArrayList<Integer> y_list = new ArrayList<>();\n\n int x;\n int y;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n do {\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n\n if (x == 0 && y == 0) {\n break;\n }\n\n x_list.add(x);\n y_list.add(y);\n\n } while (x != 0 || y != 0);\n\n for (int n = 0; n < x_list.size(); n++) {\n for (int a = 0; a < x_list.get(n); a++) {\n\n for (int b = 0; b < y_list.get(n); b++) {\n System.out.printf(\"#\");\n }\n\n System.out.println();\n }\n\n System.out.println();\n }\n\n }\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) throws IOException {
ArrayList<Integer> x_list = new ArrayList<>();
ArrayList<Integer> y_list = new ArrayList<>();
int x;
int y;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
do {
String[] line = br.readLine().split(" ");
x = Integer.parseInt(line[0]);
y = Integer.parseInt(line[1]);
if (x == 0 && y == 0) {
break;
}
x_list.add(x);
y_list.add(y);
} while (x != 0 || y != 0);
for (int n = 0; n < x_list.size(); n++) {
for (int a = 0; a < x_list.get(n); a++) {
for (int b = 0; b < y_list.get(n); b++) {
System.out.printf("#");
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
42,
2,
2,
0,
13,
4,
18,
13,
17,
2,
0,
13,
4,
18,
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,
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
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
16,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
33,
44
],
[
45,
45
],
[
45,
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
],
[
45,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
32,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int H;\n int W;\n while ((H = scanner.nextInt()) != 0 && (W = scanner.nextInt()) != 0) {\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}",
"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 int H;\n int W;\n while ((H = scanner.nextInt()) != 0 && (W = scanner.nextInt()) != 0) {\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 int H;\n int W;\n while ((H = scanner.nextInt()) != 0 && (W = scanner.nextInt()) != 0) {\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 int H;\n int W;\n while ((H = scanner.nextInt()) != 0 && (W = scanner.nextInt()) != 0) {\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)",
"int H;",
"H",
"int W;",
"W",
"while ((H = scanner.nextInt()) != 0 && (W = scanner.nextInt()) != 0) {\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 }",
"(H = scanner.nextInt()) != 0 && (W = scanner.nextInt()) != 0",
"(H = scanner.nextInt()) != 0",
"(H = scanner.nextInt())",
"H",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"0",
"(W = scanner.nextInt()) != 0",
"(W = scanner.nextInt())",
"W",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"0",
"{\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 }",
"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 int H;\n int W;\n while ((H = scanner.nextInt()) != 0 && (W = scanner.nextInt()) != 0) {\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 int H;\n int W;\n while ((H = scanner.nextInt()) != 0 && (W = scanner.nextInt()) != 0) {\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);
int H;
int W;
while ((H = scanner.nextInt()) != 0 && (W = scanner.nextInt()) != 0) {
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,
15,
13,
17,
15,
13,
17,
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,
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
] | [
[
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
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
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
],
[
25,
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
],
[
25,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
15,
89
],
[
89,
90
]
] | [
"import java.io.*;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) throws IOException {\n Scanner in = new Scanner(System.in);\n\n while(in.hasNextInt()) {\n\t int H = in.nextInt();\n\t int W = in.nextInt();\n\t if(H == 0 && W == 0) return;\n\n\t for(int i=0;i<H;i++) {\n\t\t for(int j=0;j<W;j++) {\n\t\t\t System.out.printf(\"#\");\n\t\t }\n\t\t System.out.println(\"\");\n\t }\n\t System.out.println(\"\");\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) throws IOException {\n Scanner in = new Scanner(System.in);\n\n while(in.hasNextInt()) {\n\t int H = in.nextInt();\n\t int W = in.nextInt();\n\t if(H == 0 && W == 0) return;\n\n\t for(int i=0;i<H;i++) {\n\t\t for(int j=0;j<W;j++) {\n\t\t\t System.out.printf(\"#\");\n\t\t }\n\t\t System.out.println(\"\");\n\t }\n\t System.out.println(\"\");\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n Scanner in = new Scanner(System.in);\n\n while(in.hasNextInt()) {\n\t int H = in.nextInt();\n\t int W = in.nextInt();\n\t if(H == 0 && W == 0) return;\n\n\t for(int i=0;i<H;i++) {\n\t\t for(int j=0;j<W;j++) {\n\t\t\t System.out.printf(\"#\");\n\t\t }\n\t\t System.out.println(\"\");\n\t }\n\t System.out.println(\"\");\n }\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n\n while(in.hasNextInt()) {\n\t int H = in.nextInt();\n\t int W = in.nextInt();\n\t if(H == 0 && W == 0) return;\n\n\t for(int i=0;i<H;i++) {\n\t\t for(int j=0;j<W;j++) {\n\t\t\t System.out.printf(\"#\");\n\t\t }\n\t\t System.out.println(\"\");\n\t }\n\t System.out.println(\"\");\n }\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while(in.hasNextInt()) {\n\t int H = in.nextInt();\n\t int W = in.nextInt();\n\t if(H == 0 && W == 0) return;\n\n\t for(int i=0;i<H;i++) {\n\t\t for(int j=0;j<W;j++) {\n\t\t\t System.out.printf(\"#\");\n\t\t }\n\t\t System.out.println(\"\");\n\t }\n\t System.out.println(\"\");\n }",
"in.hasNextInt()",
"in.hasNextInt",
"in",
"{\n\t int H = in.nextInt();\n\t int W = in.nextInt();\n\t if(H == 0 && W == 0) return;\n\n\t for(int i=0;i<H;i++) {\n\t\t for(int j=0;j<W;j++) {\n\t\t\t System.out.printf(\"#\");\n\t\t }\n\t\t System.out.println(\"\");\n\t }\n\t System.out.println(\"\");\n }",
"int H = in.nextInt();",
"H",
"in.nextInt()",
"in.nextInt",
"in",
"int W = in.nextInt();",
"W",
"in.nextInt()",
"in.nextInt",
"in",
"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\t\t for(int j=0;j<W;j++) {\n\t\t\t System.out.printf(\"#\");\n\t\t }\n\t\t System.out.println(\"\");\n\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t for(int j=0;j<W;j++) {\n\t\t\t System.out.printf(\"#\");\n\t\t }\n\t\t System.out.println(\"\");\n\t }",
"{\n\t\t for(int j=0;j<W;j++) {\n\t\t\t System.out.printf(\"#\");\n\t\t }\n\t\t System.out.println(\"\");\n\t }",
"for(int j=0;j<W;j++) {\n\t\t\t System.out.printf(\"#\");\n\t\t }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t System.out.printf(\"#\");\n\t\t }",
"{\n\t\t\t System.out.printf(\"#\");\n\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"
] | import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
class Main {
public static void main(String[] args) throws IOException {
Scanner in = new Scanner(System.in);
while(in.hasNextInt()) {
int H = in.nextInt();
int W = in.nextInt();
if(H == 0 && W == 0) return;
for(int i=0;i<H;i++) {
for(int j=0;j<W;j++) {
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,
42,
2,
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,
41,
13,
4,
13,
13,
4,
13,
13,
13,
4,
18,
18,
13,
13,
17,
0,
13,
4,
18,
13,
30,
3,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
29,
4,
18,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
136,
8
],
[
136,
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
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
24,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
24,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
24,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
55,
61
],
[
61,
62
],
[
61,
63
],
[
61,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
55,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
47,
76
],
[
76,
77
],
[
9,
78
],
[
78,
79
],
[
136,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
86,
94
],
[
94,
95
],
[
95,
96
],
[
86,
97
],
[
98,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
82,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
80,
107
],
[
107,
108
],
[
136,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
117,
118
],
[
117,
119
],
[
112,
120
],
[
120,
121
],
[
121,
122
],
[
112,
123
],
[
124,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
125,
130
],
[
109,
131
],
[
131,
132
],
[
109,
133
],
[
133,
134
],
[
0,
135
],
[
135,
136
],
[
135,
137
]
] | [
"import java.io.*;\nimport java.util.*;\n\npublic class Main{\n public static void main(String[] argst)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String str = br.readLine();\n \n while(str != null){\n String[] line = str.split(\"\\\\s\");\n int H = Integer.parseInt(line[0]);\n int W = Integer.parseInt(line[1]);\n //System.out.println(H);\n //System.out.println(W);\n\n if(H !=0 && W != 0){\n String yoko = Wwrite(W);\n Hwrite(H,yoko);\n System.out.println(\"\");\n str = br.readLine();\n }else{\n break;\n }\n }\n }\n\n public static String Wwrite(int W){\n StringBuilder buff = new StringBuilder();\n for(int i=0;i<W;i++){\n buff.append(\"#\");\n }\n return buff.toString();\n }\n\n public static void Hwrite(int H,String yoko){\n for(int i=0;i<H;i++){\n System.out.println(yoko);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] argst)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String str = br.readLine();\n \n while(str != null){\n String[] line = str.split(\"\\\\s\");\n int H = Integer.parseInt(line[0]);\n int W = Integer.parseInt(line[1]);\n //System.out.println(H);\n //System.out.println(W);\n\n if(H !=0 && W != 0){\n String yoko = Wwrite(W);\n Hwrite(H,yoko);\n System.out.println(\"\");\n str = br.readLine();\n }else{\n break;\n }\n }\n }\n\n public static String Wwrite(int W){\n StringBuilder buff = new StringBuilder();\n for(int i=0;i<W;i++){\n buff.append(\"#\");\n }\n return buff.toString();\n }\n\n public static void Hwrite(int H,String yoko){\n for(int i=0;i<H;i++){\n System.out.println(yoko);\n }\n }\n}",
"Main",
"public static void main(String[] argst)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String str = br.readLine();\n \n while(str != null){\n String[] line = str.split(\"\\\\s\");\n int H = Integer.parseInt(line[0]);\n int W = Integer.parseInt(line[1]);\n //System.out.println(H);\n //System.out.println(W);\n\n if(H !=0 && W != 0){\n String yoko = Wwrite(W);\n Hwrite(H,yoko);\n System.out.println(\"\");\n str = br.readLine();\n }else{\n break;\n }\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String str = br.readLine();\n \n while(str != null){\n String[] line = str.split(\"\\\\s\");\n int H = Integer.parseInt(line[0]);\n int W = Integer.parseInt(line[1]);\n //System.out.println(H);\n //System.out.println(W);\n\n if(H !=0 && W != 0){\n String yoko = Wwrite(W);\n Hwrite(H,yoko);\n System.out.println(\"\");\n str = br.readLine();\n }else{\n break;\n }\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"while(str != null){\n String[] line = str.split(\"\\\\s\");\n int H = Integer.parseInt(line[0]);\n int W = Integer.parseInt(line[1]);\n //System.out.println(H);\n //System.out.println(W);\n\n if(H !=0 && W != 0){\n String yoko = Wwrite(W);\n Hwrite(H,yoko);\n System.out.println(\"\");\n str = br.readLine();\n }else{\n break;\n }\n }",
"str != null",
"str",
"null",
"{\n String[] line = str.split(\"\\\\s\");\n int H = Integer.parseInt(line[0]);\n int W = Integer.parseInt(line[1]);\n //System.out.println(H);\n //System.out.println(W);\n\n if(H !=0 && W != 0){\n String yoko = Wwrite(W);\n Hwrite(H,yoko);\n System.out.println(\"\");\n str = br.readLine();\n }else{\n break;\n }\n }",
"String[] line = str.split(\"\\\\s\");",
"line",
"str.split(\"\\\\s\")",
"str.split",
"str",
"\"\\\\s\"",
"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 String yoko = Wwrite(W);\n Hwrite(H,yoko);\n System.out.println(\"\");\n str = br.readLine();\n }else{\n break;\n }",
"H !=0 && W != 0",
"H !=0",
"H",
"0",
"W != 0",
"W",
"0",
"{\n String yoko = Wwrite(W);\n Hwrite(H,yoko);\n System.out.println(\"\");\n str = br.readLine();\n }",
"String yoko = Wwrite(W);",
"yoko",
"Wwrite(W)",
"Wwrite",
"W",
"Hwrite(H,yoko)",
"Hwrite",
"H",
"yoko",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"{\n break;\n }",
"break;",
"String[] argst",
"argst",
"public static String Wwrite(int W){\n StringBuilder buff = new StringBuilder();\n for(int i=0;i<W;i++){\n buff.append(\"#\");\n }\n return buff.toString();\n }",
"Wwrite",
"{\n StringBuilder buff = new StringBuilder();\n for(int i=0;i<W;i++){\n buff.append(\"#\");\n }\n return buff.toString();\n }",
"StringBuilder buff = new StringBuilder();",
"buff",
"new StringBuilder()",
"for(int i=0;i<W;i++){\n buff.append(\"#\");\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<W",
"i",
"W",
"i++",
"i++",
"i",
"{\n buff.append(\"#\");\n }",
"{\n buff.append(\"#\");\n }",
"buff.append(\"#\")",
"buff.append",
"buff",
"\"#\"",
"return buff.toString();",
"buff.toString()",
"buff.toString",
"buff",
"int W",
"W",
"public static void Hwrite(int H,String yoko){\n for(int i=0;i<H;i++){\n System.out.println(yoko);\n }\n }",
"Hwrite",
"{\n for(int i=0;i<H;i++){\n System.out.println(yoko);\n }\n }",
"for(int i=0;i<H;i++){\n System.out.println(yoko);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<H",
"i",
"H",
"i++",
"i++",
"i",
"{\n System.out.println(yoko);\n }",
"{\n System.out.println(yoko);\n }",
"System.out.println(yoko)",
"System.out.println",
"System.out",
"System",
"System.out",
"yoko",
"int H",
"H",
"String yoko",
"yoko",
"public class Main{\n public static void main(String[] argst)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String str = br.readLine();\n \n while(str != null){\n String[] line = str.split(\"\\\\s\");\n int H = Integer.parseInt(line[0]);\n int W = Integer.parseInt(line[1]);\n //System.out.println(H);\n //System.out.println(W);\n\n if(H !=0 && W != 0){\n String yoko = Wwrite(W);\n Hwrite(H,yoko);\n System.out.println(\"\");\n str = br.readLine();\n }else{\n break;\n }\n }\n }\n\n public static String Wwrite(int W){\n StringBuilder buff = new StringBuilder();\n for(int i=0;i<W;i++){\n buff.append(\"#\");\n }\n return buff.toString();\n }\n\n public static void Hwrite(int H,String yoko){\n for(int i=0;i<H;i++){\n System.out.println(yoko);\n }\n }\n}",
"public class Main{\n public static void main(String[] argst)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String str = br.readLine();\n \n while(str != null){\n String[] line = str.split(\"\\\\s\");\n int H = Integer.parseInt(line[0]);\n int W = Integer.parseInt(line[1]);\n //System.out.println(H);\n //System.out.println(W);\n\n if(H !=0 && W != 0){\n String yoko = Wwrite(W);\n Hwrite(H,yoko);\n System.out.println(\"\");\n str = br.readLine();\n }else{\n break;\n }\n }\n }\n\n public static String Wwrite(int W){\n StringBuilder buff = new StringBuilder();\n for(int i=0;i<W;i++){\n buff.append(\"#\");\n }\n return buff.toString();\n }\n\n public static void Hwrite(int H,String yoko){\n for(int i=0;i<H;i++){\n System.out.println(yoko);\n }\n }\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main{
public static void main(String[] argst)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
while(str != null){
String[] line = str.split("\\s");
int H = Integer.parseInt(line[0]);
int W = Integer.parseInt(line[1]);
//System.out.println(H);
//System.out.println(W);
if(H !=0 && W != 0){
String yoko = Wwrite(W);
Hwrite(H,yoko);
System.out.println("");
str = br.readLine();
}else{
break;
}
}
}
public static String Wwrite(int W){
StringBuilder buff = new StringBuilder();
for(int i=0;i<W;i++){
buff.append("#");
}
return buff.toString();
}
public static void Hwrite(int H,String yoko){
for(int i=0;i<H;i++){
System.out.println(yoko);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
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,
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,
6,
13,
41,
13,
41,
13,
17,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
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
],
[
149,
17
],
[
149,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
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
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
26,
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
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
58,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
26,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
18,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
90,
94
],
[
94,
95
],
[
94,
96
],
[
90,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
97,
103
],
[
103,
104
],
[
90,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
108,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
107,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
90,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
128,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
127,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
145,
146
],
[
146,
147
],
[
0,
148
],
[
148,
149
],
[
148,
150
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tInputReader in = new InputReader(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint height = in.readInt();\n\t\t\tint width = in.readInt();\t\n\t\t\tif (height == 0 && width == 0) break;\n\t\t\tfor (int i = 0; i < height; i++) {\n\t\t\t\tfor (int j = 0; j < width; 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}\n\nclass InputReader{\n\tprivate BufferedReader br;\n\tprivate StringTokenizer buffer = null;\t\n\t\n\tpublic InputReader(InputStream in) {\n\t\tbr = new BufferedReader(new InputStreamReader(in));\t\t\t\t\n\t}\n\n\tpublic String read() throws IOException {\n\t\twhile(buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn buffer.nextToken();\n\t}\n\t\n\tpublic int readInt() throws IOException {\n\t\twhile(buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn Integer.parseInt(buffer.nextToken());\n\t}\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",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tInputReader in = new InputReader(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint height = in.readInt();\n\t\t\tint width = in.readInt();\t\n\t\t\tif (height == 0 && width == 0) break;\n\t\t\tfor (int i = 0; i < height; i++) {\n\t\t\t\tfor (int j = 0; j < width; 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\tInputReader in = new InputReader(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint height = in.readInt();\n\t\t\tint width = in.readInt();\t\n\t\t\tif (height == 0 && width == 0) break;\n\t\t\tfor (int i = 0; i < height; i++) {\n\t\t\t\tfor (int j = 0; j < width; 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\tInputReader in = new InputReader(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint height = in.readInt();\n\t\t\tint width = in.readInt();\t\n\t\t\tif (height == 0 && width == 0) break;\n\t\t\tfor (int i = 0; i < height; i++) {\n\t\t\t\tfor (int j = 0; j < width; 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}",
"InputReader in = new InputReader(System.in);",
"in",
"new InputReader(System.in)",
"while (true) {\n\t\t\tint height = in.readInt();\n\t\t\tint width = in.readInt();\t\n\t\t\tif (height == 0 && width == 0) break;\n\t\t\tfor (int i = 0; i < height; i++) {\n\t\t\t\tfor (int j = 0; j < width; 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 height = in.readInt();\n\t\t\tint width = in.readInt();\t\n\t\t\tif (height == 0 && width == 0) break;\n\t\t\tfor (int i = 0; i < height; i++) {\n\t\t\t\tfor (int j = 0; j < width; 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 height = in.readInt();",
"height",
"in.readInt()",
"in.readInt",
"in",
"int width = in.readInt();",
"width",
"in.readInt()",
"in.readInt",
"in",
"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\t\t\t\tfor (int j = 0; j < width; 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 < height",
"i",
"height",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor (int j = 0; j < width; 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 < width; 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 < width; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < width",
"j",
"width",
"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",
"class InputReader{\n\tprivate BufferedReader br;\n\tprivate StringTokenizer buffer = null;\t\n\t\n\tpublic InputReader(InputStream in) {\n\t\tbr = new BufferedReader(new InputStreamReader(in));\t\t\t\t\n\t}\n\n\tpublic String read() throws IOException {\n\t\twhile(buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn buffer.nextToken();\n\t}\n\t\n\tpublic int readInt() throws IOException {\n\t\twhile(buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn Integer.parseInt(buffer.nextToken());\n\t}\n}",
"InputReader",
"private BufferedReader br;",
"br",
"private StringTokenizer buffer = null;",
"buffer",
"null",
"public InputReader(InputStream in) {\n\t\tbr = new BufferedReader(new InputStreamReader(in));\t\t\t\t\n\t}",
"InputReader",
"{\n\t\tbr = new BufferedReader(new InputStreamReader(in));\t\t\t\t\n\t}",
"br = new BufferedReader(new InputStreamReader(in))",
"br",
"new BufferedReader(new InputStreamReader(in))",
"InputStream in",
"in",
"public String read() throws IOException {\n\t\twhile(buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn buffer.nextToken();\n\t}",
"read",
"{\n\t\twhile(buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn buffer.nextToken();\n\t}",
"while(buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}",
"buffer == null || !buffer.hasMoreTokens()",
"buffer == null",
"buffer",
"null",
"!buffer.hasMoreTokens()",
"buffer.hasMoreTokens()",
"buffer.hasMoreTokens",
"buffer",
"{\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}",
"buffer = new StringTokenizer(br.readLine())",
"buffer",
"new StringTokenizer(br.readLine())",
"return buffer.nextToken();",
"buffer.nextToken()",
"buffer.nextToken",
"buffer",
"public int readInt() throws IOException {\n\t\twhile(buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn Integer.parseInt(buffer.nextToken());\n\t}",
"readInt",
"{\n\t\twhile(buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn Integer.parseInt(buffer.nextToken());\n\t}",
"while(buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}",
"buffer == null || !buffer.hasMoreTokens()",
"buffer == null",
"buffer",
"null",
"!buffer.hasMoreTokens()",
"buffer.hasMoreTokens()",
"buffer.hasMoreTokens",
"buffer",
"{\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}",
"buffer = new StringTokenizer(br.readLine())",
"buffer",
"new StringTokenizer(br.readLine())",
"return Integer.parseInt(buffer.nextToken());",
"Integer.parseInt(buffer.nextToken())",
"Integer.parseInt",
"Integer",
"buffer.nextToken()",
"buffer.nextToken",
"buffer",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tInputReader in = new InputReader(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint height = in.readInt();\n\t\t\tint width = in.readInt();\t\n\t\t\tif (height == 0 && width == 0) break;\n\t\t\tfor (int i = 0; i < height; i++) {\n\t\t\t\tfor (int j = 0; j < width; 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 IOException{\n\t\tInputReader in = new InputReader(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint height = in.readInt();\n\t\t\tint width = in.readInt();\t\n\t\t\tif (height == 0 && width == 0) break;\n\t\t\tfor (int i = 0; i < height; i++) {\n\t\t\t\tfor (int j = 0; j < width; 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.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException{
InputReader in = new InputReader(System.in);
while (true) {
int height = in.readInt();
int width = in.readInt();
if (height == 0 && width == 0) break;
for (int i = 0; i < height; i++) {
for (int j = 0; j < width; j++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
}
class InputReader{
private BufferedReader br;
private StringTokenizer buffer = null;
public InputReader(InputStream in) {
br = new BufferedReader(new InputStreamReader(in));
}
public String read() throws IOException {
while(buffer == null || !buffer.hasMoreTokens()) {
buffer = new StringTokenizer(br.readLine());
}
return buffer.nextToken();
}
public int readInt() throws IOException {
while(buffer == null || !buffer.hasMoreTokens()) {
buffer = new StringTokenizer(br.readLine());
}
return Integer.parseInt(buffer.nextToken());
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
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,
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
],
[
91,
5
],
[
91,
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
],
[
8,
85
],
[
85,
86
],
[
86,
87
],
[
6,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n \tint H = 0;\n \tint W = 0;\n\n \tScanner sc= new Scanner(System.in);\n\n \twhile( true ) {\n \t\tH = sc.nextInt();\n \t\tW = sc.nextInt();\n\n \t\tif( ( H == 0 ) && ( W == 0 ) ) {\n \t\t\tbreak;\n \t\t}\n\n \t\tfor( int i = 0 ; i < H ; i++ ) {\n \t\t\tfor ( int j = 0 ; j < W ; j++ ) {\n \t\t\tSystem.out.print( '#' );\n \t\t\t}\n \t\t\tSystem.out.print( \"\\n\" );\n \t\t}\n \t\tSystem.out.print( \"\\n\" );\n \t}\n \tsc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n\n \tint H = 0;\n \tint W = 0;\n\n \tScanner sc= new Scanner(System.in);\n\n \twhile( true ) {\n \t\tH = sc.nextInt();\n \t\tW = sc.nextInt();\n\n \t\tif( ( H == 0 ) && ( W == 0 ) ) {\n \t\t\tbreak;\n \t\t}\n\n \t\tfor( int i = 0 ; i < H ; i++ ) {\n \t\t\tfor ( int j = 0 ; j < W ; j++ ) {\n \t\t\tSystem.out.print( '#' );\n \t\t\t}\n \t\t\tSystem.out.print( \"\\n\" );\n \t\t}\n \t\tSystem.out.print( \"\\n\" );\n \t}\n \tsc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n\n \tint H = 0;\n \tint W = 0;\n\n \tScanner sc= new Scanner(System.in);\n\n \twhile( true ) {\n \t\tH = sc.nextInt();\n \t\tW = sc.nextInt();\n\n \t\tif( ( H == 0 ) && ( W == 0 ) ) {\n \t\t\tbreak;\n \t\t}\n\n \t\tfor( int i = 0 ; i < H ; i++ ) {\n \t\t\tfor ( int j = 0 ; j < W ; j++ ) {\n \t\t\tSystem.out.print( '#' );\n \t\t\t}\n \t\t\tSystem.out.print( \"\\n\" );\n \t\t}\n \t\tSystem.out.print( \"\\n\" );\n \t}\n \tsc.close();\n }",
"main",
"{\n\n \tint H = 0;\n \tint W = 0;\n\n \tScanner sc= new Scanner(System.in);\n\n \twhile( true ) {\n \t\tH = sc.nextInt();\n \t\tW = sc.nextInt();\n\n \t\tif( ( H == 0 ) && ( W == 0 ) ) {\n \t\t\tbreak;\n \t\t}\n\n \t\tfor( int i = 0 ; i < H ; i++ ) {\n \t\t\tfor ( int j = 0 ; j < W ; j++ ) {\n \t\t\tSystem.out.print( '#' );\n \t\t\t}\n \t\t\tSystem.out.print( \"\\n\" );\n \t\t}\n \t\tSystem.out.print( \"\\n\" );\n \t}\n \tsc.close();\n }",
"int H = 0;",
"H",
"0",
"int W = 0;",
"W",
"0",
"Scanner sc= new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while( true ) {\n \t\tH = sc.nextInt();\n \t\tW = sc.nextInt();\n\n \t\tif( ( H == 0 ) && ( W == 0 ) ) {\n \t\t\tbreak;\n \t\t}\n\n \t\tfor( int i = 0 ; i < H ; i++ ) {\n \t\t\tfor ( int j = 0 ; j < W ; j++ ) {\n \t\t\tSystem.out.print( '#' );\n \t\t\t}\n \t\t\tSystem.out.print( \"\\n\" );\n \t\t}\n \t\tSystem.out.print( \"\\n\" );\n \t}",
"true",
"{\n \t\tH = sc.nextInt();\n \t\tW = sc.nextInt();\n\n \t\tif( ( H == 0 ) && ( W == 0 ) ) {\n \t\t\tbreak;\n \t\t}\n\n \t\tfor( int i = 0 ; i < H ; i++ ) {\n \t\t\tfor ( int j = 0 ; j < W ; j++ ) {\n \t\t\tSystem.out.print( '#' );\n \t\t\t}\n \t\t\tSystem.out.print( \"\\n\" );\n \t\t}\n \t\tSystem.out.print( \"\\n\" );\n \t}",
"H = sc.nextInt()",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"W = sc.nextInt()",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"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 \t\t\tfor ( int j = 0 ; j < W ; j++ ) {\n \t\t\tSystem.out.print( '#' );\n \t\t\t}\n \t\t\tSystem.out.print( \"\\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\tSystem.out.print( '#' );\n \t\t\t}\n \t\t\tSystem.out.print( \"\\n\" );\n \t\t}",
"{\n \t\t\tfor ( int j = 0 ; j < W ; j++ ) {\n \t\t\tSystem.out.print( '#' );\n \t\t\t}\n \t\t\tSystem.out.print( \"\\n\" );\n \t\t}",
"for ( int j = 0 ; j < W ; j++ ) {\n \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\tSystem.out.print( '#' );\n \t\t\t}",
"{\n \t\t\tSystem.out.print( '#' );\n \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\"",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n\n \tint H = 0;\n \tint W = 0;\n\n \tScanner sc= new Scanner(System.in);\n\n \twhile( true ) {\n \t\tH = sc.nextInt();\n \t\tW = sc.nextInt();\n\n \t\tif( ( H == 0 ) && ( W == 0 ) ) {\n \t\t\tbreak;\n \t\t}\n\n \t\tfor( int i = 0 ; i < H ; i++ ) {\n \t\t\tfor ( int j = 0 ; j < W ; j++ ) {\n \t\t\tSystem.out.print( '#' );\n \t\t\t}\n \t\t\tSystem.out.print( \"\\n\" );\n \t\t}\n \t\tSystem.out.print( \"\\n\" );\n \t}\n \tsc.close();\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n\n \tint H = 0;\n \tint W = 0;\n\n \tScanner sc= new Scanner(System.in);\n\n \twhile( true ) {\n \t\tH = sc.nextInt();\n \t\tW = sc.nextInt();\n\n \t\tif( ( H == 0 ) && ( W == 0 ) ) {\n \t\t\tbreak;\n \t\t}\n\n \t\tfor( int i = 0 ; i < H ; i++ ) {\n \t\t\tfor ( int j = 0 ; j < W ; j++ ) {\n \t\t\tSystem.out.print( '#' );\n \t\t\t}\n \t\t\tSystem.out.print( \"\\n\" );\n \t\t}\n \t\tSystem.out.print( \"\\n\" );\n \t}\n \tsc.close();\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int H = 0;
int W = 0;
Scanner sc= new Scanner(System.in);
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.print( "\n" );
}
System.out.print( "\n" );
}
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
13,
13,
42,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
30,
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,
17,
4,
18,
18,
13,
13,
17,
0,
13,
4,
13,
13,
23,
13,
12,
13,
30,
29,
20,
12,
13,
30,
41,
13,
4,
18,
13,
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
144,
8
],
[
144,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
21,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
49,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
48,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
33,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
33,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
9,
87
],
[
87,
88
],
[
144,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
144,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
96,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
96,
108
],
[
108,
109
],
[
108,
110
],
[
111,
112
],
[
111,
113
],
[
96,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
121,
123
],
[
114,
124
],
[
124,
125
],
[
125,
126
],
[
114,
127
],
[
128,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
136,
137
],
[
136,
138
],
[
96,
139
],
[
139,
140
],
[
94,
141
],
[
141,
142
],
[
0,
143
],
[
143,
144
],
[
143,
145
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader breader = getReader();\n\n\t\tint[] ary = getAry(breader);\n\t\twhile( ary[0] != 0 || ary[1] !=0 ) {\n\t\t\tfor( int i = 0 ; i < ary[0] ; i++ ) {\n\t\t\t\tfor( int j = 0 ; j < ary[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\tary = getAry(breader);\n\t\t}\n\t}\n\tpublic static BufferedReader getReader() {\n\t\treturn( new BufferedReader(new InputStreamReader(System.in)));\n\t}\n\tpublic static int[] getAry(BufferedReader br)throws Exception {\n\t\tString line = br.readLine();\n\t\tString[] nstr = line.split(\" \");\n\t\tint[] n = new int[nstr.length];\n\t\tfor( int i=0 ; i < nstr.length ; i++ ) {\n\t\t\tn[i] = Integer.valueOf(nstr[i]);\n\t\t}\n\t\treturn 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\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader breader = getReader();\n\n\t\tint[] ary = getAry(breader);\n\t\twhile( ary[0] != 0 || ary[1] !=0 ) {\n\t\t\tfor( int i = 0 ; i < ary[0] ; i++ ) {\n\t\t\t\tfor( int j = 0 ; j < ary[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\tary = getAry(breader);\n\t\t}\n\t}\n\tpublic static BufferedReader getReader() {\n\t\treturn( new BufferedReader(new InputStreamReader(System.in)));\n\t}\n\tpublic static int[] getAry(BufferedReader br)throws Exception {\n\t\tString line = br.readLine();\n\t\tString[] nstr = line.split(\" \");\n\t\tint[] n = new int[nstr.length];\n\t\tfor( int i=0 ; i < nstr.length ; i++ ) {\n\t\t\tn[i] = Integer.valueOf(nstr[i]);\n\t\t}\n\t\treturn n;\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader breader = getReader();\n\n\t\tint[] ary = getAry(breader);\n\t\twhile( ary[0] != 0 || ary[1] !=0 ) {\n\t\t\tfor( int i = 0 ; i < ary[0] ; i++ ) {\n\t\t\t\tfor( int j = 0 ; j < ary[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\tary = getAry(breader);\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader breader = getReader();\n\n\t\tint[] ary = getAry(breader);\n\t\twhile( ary[0] != 0 || ary[1] !=0 ) {\n\t\t\tfor( int i = 0 ; i < ary[0] ; i++ ) {\n\t\t\t\tfor( int j = 0 ; j < ary[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\tary = getAry(breader);\n\t\t}\n\t}",
"BufferedReader breader = getReader();",
"breader",
"getReader()",
"getReader",
"int[] ary = getAry(breader);",
"ary",
"getAry(breader)",
"getAry",
"breader",
"while( ary[0] != 0 || ary[1] !=0 ) {\n\t\t\tfor( int i = 0 ; i < ary[0] ; i++ ) {\n\t\t\t\tfor( int j = 0 ; j < ary[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\tary = getAry(breader);\n\t\t}",
"ary[0] != 0 || ary[1] !=0",
"ary[0] != 0",
"ary[0]",
"ary",
"0",
"0",
"ary[1] !=0",
"ary[1]",
"ary",
"1",
"0",
"{\n\t\t\tfor( int i = 0 ; i < ary[0] ; i++ ) {\n\t\t\t\tfor( int j = 0 ; j < ary[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\tary = getAry(breader);\n\t\t}",
"for( int i = 0 ; i < ary[0] ; i++ ) {\n\t\t\t\tfor( int j = 0 ; j < ary[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 < ary[0]",
"i",
"ary[0]",
"ary",
"0",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor( int j = 0 ; j < ary[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 < ary[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 < ary[1] ; j++ ) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j = 0 ;",
"int j = 0 ;",
"j",
"0",
"j < ary[1]",
"j",
"ary[1]",
"ary",
"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",
"\"\"",
"ary = getAry(breader)",
"ary",
"getAry(breader)",
"getAry",
"breader",
"String[] args",
"args",
"public static BufferedReader getReader() {\n\t\treturn( new BufferedReader(new InputStreamReader(System.in)));\n\t}",
"getReader",
"{\n\t\treturn( new BufferedReader(new InputStreamReader(System.in)));\n\t}",
"return( new BufferedReader(new InputStreamReader(System.in)));",
"( new BufferedReader(new InputStreamReader(System.in)))",
"public static int[] getAry(BufferedReader br)throws Exception {\n\t\tString line = br.readLine();\n\t\tString[] nstr = line.split(\" \");\n\t\tint[] n = new int[nstr.length];\n\t\tfor( int i=0 ; i < nstr.length ; i++ ) {\n\t\t\tn[i] = Integer.valueOf(nstr[i]);\n\t\t}\n\t\treturn n;\n\t}",
"getAry",
"{\n\t\tString line = br.readLine();\n\t\tString[] nstr = line.split(\" \");\n\t\tint[] n = new int[nstr.length];\n\t\tfor( int i=0 ; i < nstr.length ; i++ ) {\n\t\t\tn[i] = Integer.valueOf(nstr[i]);\n\t\t}\n\t\treturn n;\n\t}",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"String[] nstr = line.split(\" \");",
"nstr",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int[] n = new int[nstr.length];",
"n",
"new int[nstr.length]",
"nstr.length",
"nstr",
"nstr.length",
"for( int i=0 ; i < nstr.length ; i++ ) {\n\t\t\tn[i] = Integer.valueOf(nstr[i]);\n\t\t}",
"int i=0 ;",
"int i=0 ;",
"i",
"0",
"i < nstr.length",
"i",
"nstr.length",
"nstr",
"nstr.length",
"i++",
"i++",
"i",
"{\n\t\t\tn[i] = Integer.valueOf(nstr[i]);\n\t\t}",
"{\n\t\t\tn[i] = Integer.valueOf(nstr[i]);\n\t\t}",
"n[i] = Integer.valueOf(nstr[i])",
"n[i]",
"n",
"i",
"Integer.valueOf(nstr[i])",
"Integer.valueOf",
"Integer",
"nstr[i]",
"nstr",
"i",
"return n;",
"n",
"BufferedReader br",
"br",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader breader = getReader();\n\n\t\tint[] ary = getAry(breader);\n\t\twhile( ary[0] != 0 || ary[1] !=0 ) {\n\t\t\tfor( int i = 0 ; i < ary[0] ; i++ ) {\n\t\t\t\tfor( int j = 0 ; j < ary[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\tary = getAry(breader);\n\t\t}\n\t}\n\tpublic static BufferedReader getReader() {\n\t\treturn( new BufferedReader(new InputStreamReader(System.in)));\n\t}\n\tpublic static int[] getAry(BufferedReader br)throws Exception {\n\t\tString line = br.readLine();\n\t\tString[] nstr = line.split(\" \");\n\t\tint[] n = new int[nstr.length];\n\t\tfor( int i=0 ; i < nstr.length ; i++ ) {\n\t\t\tn[i] = Integer.valueOf(nstr[i]);\n\t\t}\n\t\treturn n;\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader breader = getReader();\n\n\t\tint[] ary = getAry(breader);\n\t\twhile( ary[0] != 0 || ary[1] !=0 ) {\n\t\t\tfor( int i = 0 ; i < ary[0] ; i++ ) {\n\t\t\t\tfor( int j = 0 ; j < ary[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\tary = getAry(breader);\n\t\t}\n\t}\n\tpublic static BufferedReader getReader() {\n\t\treturn( new BufferedReader(new InputStreamReader(System.in)));\n\t}\n\tpublic static int[] getAry(BufferedReader br)throws Exception {\n\t\tString line = br.readLine();\n\t\tString[] nstr = line.split(\" \");\n\t\tint[] n = new int[nstr.length];\n\t\tfor( int i=0 ; i < nstr.length ; i++ ) {\n\t\t\tn[i] = Integer.valueOf(nstr[i]);\n\t\t}\n\t\treturn 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 {
// TODO ?????????????????????????????????????????????
BufferedReader breader = getReader();
int[] ary = getAry(breader);
while( ary[0] != 0 || ary[1] !=0 ) {
for( int i = 0 ; i < ary[0] ; i++ ) {
for( int j = 0 ; j < ary[1] ; j++ ) {
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
ary = getAry(breader);
}
}
public static BufferedReader getReader() {
return( new BufferedReader(new InputStreamReader(System.in)));
}
public static int[] getAry(BufferedReader br)throws Exception {
String line = br.readLine();
String[] nstr = line.split(" ");
int[] n = new int[nstr.length];
for( int i=0 ; i < nstr.length ; i++ ) {
n[i] = Integer.valueOf(nstr[i]);
}
return n;
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.