node_ids
sequencelengths 4
1.4k
| edge_index
sequencelengths 1
2.22k
| text
sequencelengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
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,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
36,
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
],
[
36,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
36,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
93,
94
],
[
94,
95
],
[
36,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
101,
102
],
[
102,
103
],
[
6,
104
],
[
104,
105
]
] | [
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int H = Integer.parseInt(sc.next());\n int W = Integer.parseInt(sc.next());\n while (H != 0 && W != 0) {\n if (H > 300 || W > 300) 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 H = Integer.parseInt(sc.next());\n W = Integer.parseInt(sc.next());\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int H = Integer.parseInt(sc.next());\n int W = Integer.parseInt(sc.next());\n while (H != 0 && W != 0) {\n if (H > 300 || W > 300) 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 H = Integer.parseInt(sc.next());\n W = Integer.parseInt(sc.next());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int H = Integer.parseInt(sc.next());\n int W = Integer.parseInt(sc.next());\n while (H != 0 && W != 0) {\n if (H > 300 || W > 300) 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 H = Integer.parseInt(sc.next());\n W = Integer.parseInt(sc.next());\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int H = Integer.parseInt(sc.next());\n int W = Integer.parseInt(sc.next());\n while (H != 0 && W != 0) {\n if (H > 300 || W > 300) 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 H = Integer.parseInt(sc.next());\n W = Integer.parseInt(sc.next());\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int H = Integer.parseInt(sc.next());",
"H",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int W = Integer.parseInt(sc.next());",
"W",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"while (H != 0 && W != 0) {\n if (H > 300 || W > 300) 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 H = Integer.parseInt(sc.next());\n W = Integer.parseInt(sc.next());\n }",
"H != 0 && W != 0",
"H != 0",
"H",
"0",
"W != 0",
"W",
"0",
"{\n if (H > 300 || W > 300) 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 H = Integer.parseInt(sc.next());\n W = Integer.parseInt(sc.next());\n }",
"if (H > 300 || W > 300) break;",
"H > 300 || W > 300",
"H > 300",
"H",
"300",
"W > 300",
"W",
"300",
"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",
"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",
"String[] args",
"args"
] | import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int H = Integer.parseInt(sc.next());
int W = Integer.parseInt(sc.next());
while (H != 0 && W != 0) {
if (H > 300 || W > 300) break;
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
H = Integer.parseInt(sc.next());
W = Integer.parseInt(sc.next());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
99,
5
],
[
99,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
14,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
14,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
74,
75
],
[
65,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
64,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
14,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
6,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
] | [
"import java.io.*;\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 line = br.readLine();\n\t\t\tString[] str = line.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 ){ //??\\????????¨??????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 k = 0; k < w ; k++ ) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"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 line = br.readLine();\n\t\t\tString[] str = line.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 ){ //??\\????????¨??????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 k = 0; k < w ; k++ ) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.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 ){ //??\\????????¨??????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 k = 0; k < w ; k++ ) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.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 ){ //??\\????????¨??????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 k = 0; k < w ; k++ ) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.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 ){ //??\\????????¨??????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 k = 0; k < w ; k++ ) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}",
"true",
"{\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.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 ){ //??\\????????¨??????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 k = 0; k < w ; k++ ) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"String[] str = line.split(\" \");",
"str",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"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 ){ //??\\????????¨??????0\n\t\t\t\tbreak;\n\t\t\t}",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"{ //??\\????????¨??????0\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for (int i = 0; i < h ; i++ ) {\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.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 k = 0; k < w ; k++ ) {\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 k = 0; k < w ; k++ ) {\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 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.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) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.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 ){ //??\\????????¨??????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 k = 0; k < w ; k++ ) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.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 ){ //??\\????????¨??????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 k = 0; k < w ; k++ ) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String line = br.readLine();
String[] str = line.split(" ");
int h = Integer.parseInt(str[0]);
int w = Integer.parseInt(str[1]);
if ( h == 0 && w == 0 ){ //??\????????¨??????0
break;
}
for (int i = 0; i < h ; i++ ) {
for (int k = 0; k < w ; k++ ) {
System.out.print("#");
}
System.out.print("\n");
}
System.out.print("\n");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
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,
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,
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
],
[
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
],
[
53,
55
],
[
45,
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
],
[
56,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
8,
99
],
[
99,
100
],
[
100,
101
],
[
6,
102
],
[
102,
103
]
] | [
"import java.io.*;\nclass Main{\npublic static void main(String[] args)throws IOException{\nBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\nboolean i=true;\nwhile(i){\nString str=br.readLine();\nString[] arr=str.split(\" \");\nint h=Integer.parseInt(arr[0]);\nint w=Integer.parseInt(arr[1]);\nif(h==0 && w==0) i=false;\nelse{\nfor(int k=0; k<h; k++){\nfor(int j=0; j<w; j++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}\n}\nbr.close();\n}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\npublic static void main(String[] args)throws IOException{\nBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\nboolean i=true;\nwhile(i){\nString str=br.readLine();\nString[] arr=str.split(\" \");\nint h=Integer.parseInt(arr[0]);\nint w=Integer.parseInt(arr[1]);\nif(h==0 && w==0) i=false;\nelse{\nfor(int k=0; k<h; k++){\nfor(int j=0; j<w; j++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}\n}\nbr.close();\n}\n}",
"Main",
"public static void main(String[] args)throws IOException{\nBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\nboolean i=true;\nwhile(i){\nString str=br.readLine();\nString[] arr=str.split(\" \");\nint h=Integer.parseInt(arr[0]);\nint w=Integer.parseInt(arr[1]);\nif(h==0 && w==0) i=false;\nelse{\nfor(int k=0; k<h; k++){\nfor(int j=0; j<w; j++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}\n}\nbr.close();\n}",
"main",
"{\nBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\nboolean i=true;\nwhile(i){\nString str=br.readLine();\nString[] arr=str.split(\" \");\nint h=Integer.parseInt(arr[0]);\nint w=Integer.parseInt(arr[1]);\nif(h==0 && w==0) i=false;\nelse{\nfor(int k=0; k<h; k++){\nfor(int j=0; j<w; j++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}\n}\nbr.close();\n}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"boolean i=true;",
"i",
"true",
"while(i){\nString str=br.readLine();\nString[] arr=str.split(\" \");\nint h=Integer.parseInt(arr[0]);\nint w=Integer.parseInt(arr[1]);\nif(h==0 && w==0) i=false;\nelse{\nfor(int k=0; k<h; k++){\nfor(int j=0; j<w; j++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}\n}",
"i",
"{\nString str=br.readLine();\nString[] arr=str.split(\" \");\nint h=Integer.parseInt(arr[0]);\nint w=Integer.parseInt(arr[1]);\nif(h==0 && w==0) i=false;\nelse{\nfor(int k=0; k<h; k++){\nfor(int j=0; j<w; j++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}\n}",
"String str=br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] arr=str.split(\" \");",
"arr",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int h=Integer.parseInt(arr[0]);",
"h",
"Integer.parseInt(arr[0])",
"Integer.parseInt",
"Integer",
"arr[0]",
"arr",
"0",
"int w=Integer.parseInt(arr[1]);",
"w",
"Integer.parseInt(arr[1])",
"Integer.parseInt",
"Integer",
"arr[1]",
"arr",
"1",
"if(h==0 && w==0) i=false;\nelse{\nfor(int k=0; k<h; k++){\nfor(int j=0; j<w; j++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}",
"h==0 && w==0",
"h==0",
"h",
"0",
"w==0",
"w",
"0",
"i=false",
"i",
"false",
"{\nfor(int k=0; k<h; k++){\nfor(int j=0; j<w; j++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}",
"for(int k=0; k<h; k++){\nfor(int j=0; j<w; j++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}",
"int k=0;",
"int k=0;",
"k",
"0",
"k<h",
"k",
"h",
"k++",
"k++",
"k",
"{\nfor(int j=0; j<w; j++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}",
"{\nfor(int j=0; j<w; j++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}",
"for(int j=0; j<w; j++){\nSystem.out.print(\"#\");\n}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<w",
"j",
"w",
"j++",
"j++",
"j",
"{\nSystem.out.print(\"#\");\n}",
"{\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",
"br.close()",
"br.close",
"br",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args)throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
boolean i=true;
while(i){
String str=br.readLine();
String[] arr=str.split(" ");
int h=Integer.parseInt(arr[0]);
int w=Integer.parseInt(arr[1]);
if(h==0 && w==0) i=false;
else{
for(int k=0; k<h; k++){
for(int j=0; j<w; j++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
br.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
109,
11
],
[
109,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
24,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
24,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
24,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
24,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
62,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
75,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
74,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
24,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
14,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
12,
106
],
[
106,
107
],
[
0,
108
],
[
108,
109
],
[
108,
110
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tString[] set = num.split(\" \");\n\n\t\t\tint a = Integer.parseInt(set[0]);\n\t\t\tint b = Integer.parseInt(set[1]);\n\n\t\t\tif (a==0 && b==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\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\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tString[] set = num.split(\" \");\n\n\t\t\tint a = Integer.parseInt(set[0]);\n\t\t\tint b = Integer.parseInt(set[1]);\n\n\t\t\tif (a==0 && b==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\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\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tString[] set = num.split(\" \");\n\n\t\t\tint a = Integer.parseInt(set[0]);\n\t\t\tint b = Integer.parseInt(set[1]);\n\n\t\t\tif (a==0 && b==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\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\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tString[] set = num.split(\" \");\n\n\t\t\tint a = Integer.parseInt(set[0]);\n\t\t\tint b = Integer.parseInt(set[1]);\n\n\t\t\tif (a==0 && b==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\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\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tString[] set = num.split(\" \");\n\n\t\t\tint a = Integer.parseInt(set[0]);\n\t\t\tint b = Integer.parseInt(set[1]);\n\n\t\t\tif (a==0 && b==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\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\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}",
";",
"{\n\t\t\tString num = br.readLine();\n\t\t\tString[] set = num.split(\" \");\n\n\t\t\tint a = Integer.parseInt(set[0]);\n\t\t\tint b = Integer.parseInt(set[1]);\n\n\t\t\tif (a==0 && b==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\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\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}",
"{\n\t\t\tString num = br.readLine();\n\t\t\tString[] set = num.split(\" \");\n\n\t\t\tint a = Integer.parseInt(set[0]);\n\t\t\tint b = Integer.parseInt(set[1]);\n\n\t\t\tif (a==0 && b==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\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\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}",
"String num = br.readLine();",
"num",
"br.readLine()",
"br.readLine",
"br",
"String[] set = num.split(\" \");",
"set",
"num.split(\" \")",
"num.split",
"num",
"\" \"",
"int a = Integer.parseInt(set[0]);",
"a",
"Integer.parseInt(set[0])",
"Integer.parseInt",
"Integer",
"set[0]",
"set",
"0",
"int b = Integer.parseInt(set[1]);",
"b",
"Integer.parseInt(set[1])",
"Integer.parseInt",
"Integer",
"set[1]",
"set",
"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\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a",
"i",
"a",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor (int j = 0; j < b ; j++) {\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}",
"{\n\t\t\t\tfor (int j = 0; j < b ; j++) {\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}",
"for (int j = 0; j < b ; j++) {\n\t\t\t\t\tsb.append(\"#\");\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\tsb.append(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"sb.append(\"#\")",
"sb.append",
"sb",
"\"#\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tString[] set = num.split(\" \");\n\n\t\t\tint a = Integer.parseInt(set[0]);\n\t\t\tint b = Integer.parseInt(set[1]);\n\n\t\t\tif (a==0 && b==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\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\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tString[] set = num.split(\" \");\n\n\t\t\tint a = Integer.parseInt(set[0]);\n\t\t\tint b = Integer.parseInt(set[1]);\n\n\t\t\tif (a==0 && b==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\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\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
for(;;) {
String num = br.readLine();
String[] set = num.split(" ");
int a = Integer.parseInt(set[0]);
int b = Integer.parseInt(set[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,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
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,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
13,
13,
4,
18,
13,
13,
30,
0,
13,
17,
3,
14,
2,
13,
17,
30,
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
],
[
148,
8
],
[
148,
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
],
[
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
],
[
45,
46
],
[
26,
47
],
[
47,
48
],
[
50,
49
],
[
57,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
57,
57
],
[
57,
58
],
[
57,
59
],
[
50,
60
],
[
60,
61
],
[
60,
62
],
[
47,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
63,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
47,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
11,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
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
],
[
9,
145
],
[
145,
146
],
[
0,
147
],
[
147,
148
],
[
147,
149
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\tArrayList<Integer> rows = new ArrayList<>();\n\t\tArrayList<Integer> columns = new ArrayList<>();\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean flag = true;\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\tif (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\trows.add(H);\n\t\t\t\tcolumns.add(W);\n\t\t\t} else {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (flag == true) {\n\t\t\tfor (int i = 0; i < rows.size(); i++) {\n\t\t\t\tfor (int j = 0; j < rows.get(i); j++) {\n\t\t\t\t\tfor (int k = 0; k < columns.get(i); k++) {\n\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tArrayList<Integer> rows = new ArrayList<>();\n\t\tArrayList<Integer> columns = new ArrayList<>();\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean flag = true;\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\tif (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\trows.add(H);\n\t\t\t\tcolumns.add(W);\n\t\t\t} else {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (flag == true) {\n\t\t\tfor (int i = 0; i < rows.size(); i++) {\n\t\t\t\tfor (int j = 0; j < rows.get(i); j++) {\n\t\t\t\t\tfor (int k = 0; k < columns.get(i); k++) {\n\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tArrayList<Integer> rows = new ArrayList<>();\n\t\tArrayList<Integer> columns = new ArrayList<>();\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean flag = true;\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\tif (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\trows.add(H);\n\t\t\t\tcolumns.add(W);\n\t\t\t} else {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (flag == true) {\n\t\t\tfor (int i = 0; i < rows.size(); i++) {\n\t\t\t\tfor (int j = 0; j < rows.get(i); j++) {\n\t\t\t\t\tfor (int k = 0; k < columns.get(i); k++) {\n\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\n\t}",
"main",
"{\n\t\tArrayList<Integer> rows = new ArrayList<>();\n\t\tArrayList<Integer> columns = new ArrayList<>();\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean flag = true;\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\tif (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\trows.add(H);\n\t\t\t\tcolumns.add(W);\n\t\t\t} else {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (flag == true) {\n\t\t\tfor (int i = 0; i < rows.size(); i++) {\n\t\t\t\tfor (int j = 0; j < rows.get(i); j++) {\n\t\t\t\t\tfor (int k = 0; k < columns.get(i); k++) {\n\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\n\t}",
"ArrayList<Integer> rows = new ArrayList<>();",
"rows",
"new ArrayList<>()",
"ArrayList<Integer> columns = new ArrayList<>();",
"columns",
"new ArrayList<>()",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"boolean flag = true;",
"flag",
"true",
"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\tif (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\trows.add(H);\n\t\t\t\tcolumns.add(W);\n\t\t\t} else {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\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\tif (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\trows.add(H);\n\t\t\t\tcolumns.add(W);\n\t\t\t} else {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\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;",
"if (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\trows.add(H);\n\t\t\t\tcolumns.add(W);\n\t\t\t} else {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}",
"H >= 1 && H <= 300 && W >= 1 && W <= 300",
"W >= 1",
"H >= 1 && H <= 300 && W >= 1 && W <= 300",
"H >= 1",
"H",
"1",
"H <= 300",
"H",
"300",
"W >= 1",
"W",
"1",
"W <= 300",
"W",
"300",
"{\n\t\t\t\trows.add(H);\n\t\t\t\tcolumns.add(W);\n\t\t\t}",
"rows.add(H)",
"rows.add",
"rows",
"H",
"columns.add(W)",
"columns.add",
"columns",
"W",
"{\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}",
"flag = false",
"flag",
"false",
"break;",
"if (flag == true) {\n\t\t\tfor (int i = 0; i < rows.size(); i++) {\n\t\t\t\tfor (int j = 0; j < rows.get(i); j++) {\n\t\t\t\t\tfor (int k = 0; k < columns.get(i); k++) {\n\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}",
"flag == true",
"flag",
"true",
"{\n\t\t\tfor (int i = 0; i < rows.size(); i++) {\n\t\t\t\tfor (int j = 0; j < rows.get(i); j++) {\n\t\t\t\t\tfor (int k = 0; k < columns.get(i); k++) {\n\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}",
"for (int i = 0; i < rows.size(); i++) {\n\t\t\t\tfor (int j = 0; j < rows.get(i); j++) {\n\t\t\t\t\tfor (int k = 0; k < columns.get(i); k++) {\n\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\n\t\t\t\t\tSystem.out.println();\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 < rows.size()",
"i",
"rows.size()",
"rows.size",
"rows",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor (int j = 0; j < rows.get(i); j++) {\n\t\t\t\t\tfor (int k = 0; k < columns.get(i); k++) {\n\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\n\t\t\t\t\tSystem.out.println();\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 < rows.get(i); j++) {\n\t\t\t\t\tfor (int k = 0; k < columns.get(i); k++) {\n\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"for (int j = 0; j < rows.get(i); j++) {\n\t\t\t\t\tfor (int k = 0; k < columns.get(i); k++) {\n\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < rows.get(i)",
"j",
"rows.get(i)",
"rows.get",
"rows",
"i",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tfor (int k = 0; k < columns.get(i); k++) {\n\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"{\n\t\t\t\t\tfor (int k = 0; k < columns.get(i); k++) {\n\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"for (int k = 0; k < columns.get(i); k++) {\n\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"int k = 0;",
"int k = 0;",
"k",
"0",
"k < columns.get(i)",
"k",
"columns.get(i)",
"columns.get",
"columns",
"i",
"k++",
"k++",
"k",
"{\n\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"{\n\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tArrayList<Integer> rows = new ArrayList<>();\n\t\tArrayList<Integer> columns = new ArrayList<>();\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean flag = true;\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\tif (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\trows.add(H);\n\t\t\t\tcolumns.add(W);\n\t\t\t} else {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (flag == true) {\n\t\t\tfor (int i = 0; i < rows.size(); i++) {\n\t\t\t\tfor (int j = 0; j < rows.get(i); j++) {\n\t\t\t\t\tfor (int k = 0; k < columns.get(i); k++) {\n\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tArrayList<Integer> rows = new ArrayList<>();\n\t\tArrayList<Integer> columns = new ArrayList<>();\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean flag = true;\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\tif (H >= 1 && H <= 300 && W >= 1 && W <= 300) {\n\t\t\t\trows.add(H);\n\t\t\t\tcolumns.add(W);\n\t\t\t} else {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (flag == true) {\n\t\t\tfor (int i = 0; i < rows.size(); i++) {\n\t\t\t\tfor (int j = 0; j < rows.get(i); j++) {\n\t\t\t\t\tfor (int k = 0; k < columns.get(i); k++) {\n\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
ArrayList<Integer> rows = new ArrayList<>();
ArrayList<Integer> columns = new ArrayList<>();
Scanner sc = new Scanner(System.in);
boolean flag = true;
while (true) {
int H = sc.nextInt();
int W = sc.nextInt();
if (H == 0 && W == 0) {
break;
}
if (H >= 1 && H <= 300 && W >= 1 && W <= 300) {
rows.add(H);
columns.add(W);
} else {
flag = false;
break;
}
}
if (flag == true) {
for (int i = 0; i < rows.size(); i++) {
for (int j = 0; j < rows.get(i); j++) {
for (int k = 0; k < columns.get(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,
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
86,
5
],
[
86,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
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
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String args[]){\n\n\t\tScanner sc = new Scanner (System.in);\n\t\tint h = sc.nextInt();\n\t\tint w = sc.nextInt();\n\n\t\twhile (h!=0 || w!=0){\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\th=sc.nextInt();\n\t\t\tw=sc.nextInt();\n\t\t}\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String args[]){\n\n\t\tScanner sc = new Scanner (System.in);\n\t\tint h = sc.nextInt();\n\t\tint w = sc.nextInt();\n\n\t\twhile (h!=0 || w!=0){\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\th=sc.nextInt();\n\t\t\tw=sc.nextInt();\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String args[]){\n\n\t\tScanner sc = new Scanner (System.in);\n\t\tint h = sc.nextInt();\n\t\tint w = sc.nextInt();\n\n\t\twhile (h!=0 || w!=0){\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\th=sc.nextInt();\n\t\t\tw=sc.nextInt();\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner (System.in);\n\t\tint h = sc.nextInt();\n\t\tint w = sc.nextInt();\n\n\t\twhile (h!=0 || w!=0){\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\th=sc.nextInt();\n\t\t\tw=sc.nextInt();\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 (h!=0 || w!=0){\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\th=sc.nextInt();\n\t\t\tw=sc.nextInt();\n\t\t}",
"h!=0 || w!=0",
"h!=0",
"h",
"0",
"w!=0",
"w",
"0",
"{\n\t\t\tfor (int i=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\th=sc.nextInt();\n\t\t\tw=sc.nextInt();\n\t\t}",
"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",
"h=sc.nextInt()",
"h",
"sc.nextInt()",
"sc.nextInt",
"sc",
"w=sc.nextInt()",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String args[]",
"args",
"public class Main{\n\tpublic static void main(String args[]){\n\n\t\tScanner sc = new Scanner (System.in);\n\t\tint h = sc.nextInt();\n\t\tint w = sc.nextInt();\n\n\t\twhile (h!=0 || w!=0){\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\th=sc.nextInt();\n\t\t\tw=sc.nextInt();\n\t\t}\n\n\t}\n}",
"public class Main{\n\tpublic static void main(String args[]){\n\n\t\tScanner sc = new Scanner (System.in);\n\t\tint h = sc.nextInt();\n\t\tint w = sc.nextInt();\n\n\t\twhile (h!=0 || w!=0){\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\th=sc.nextInt();\n\t\t\tw=sc.nextInt();\n\t\t}\n\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 (h!=0 || w!=0){
for (int i=1;i<=h;++i){
for (int j=1;j<=w;++j){
System.out.print("#");
}
System.out.println();
}
System.out.println();
h=sc.nextInt();
w=sc.nextInt();
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
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,
2,
13,
17,
4,
18,
18,
13,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
84,
5
],
[
84,
6
],
[
6,
7
],
[
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
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
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
],
[
56,
57
],
[
56,
58
],
[
37,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
14,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
14,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"import java.util.Scanner;\n\n/**\n *\n * @author lenovo\n */\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (true) {\n int h = scanner.nextInt();\n int w = scanner.nextInt();\n for (int j = 0; j < h; j++) {\n String s = \"\";\n for (int i = 0; i < w; i++) {\n\n s = s + \"#\";\n }\n System.out.println(s);\n \n }\n if (h == 0 || w == 0) {\n break;\n }\n System.out.print(\"\\n\");\n }\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 while (true) {\n int h = scanner.nextInt();\n int w = scanner.nextInt();\n for (int j = 0; j < h; j++) {\n String s = \"\";\n for (int i = 0; i < w; i++) {\n\n s = s + \"#\";\n }\n System.out.println(s);\n \n }\n if (h == 0 || w == 0) {\n break;\n }\n System.out.print(\"\\n\");\n }\n \n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (true) {\n int h = scanner.nextInt();\n int w = scanner.nextInt();\n for (int j = 0; j < h; j++) {\n String s = \"\";\n for (int i = 0; i < w; i++) {\n\n s = s + \"#\";\n }\n System.out.println(s);\n \n }\n if (h == 0 || w == 0) {\n break;\n }\n System.out.print(\"\\n\");\n }\n \n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n while (true) {\n int h = scanner.nextInt();\n int w = scanner.nextInt();\n for (int j = 0; j < h; j++) {\n String s = \"\";\n for (int i = 0; i < w; i++) {\n\n s = s + \"#\";\n }\n System.out.println(s);\n \n }\n if (h == 0 || w == 0) {\n break;\n }\n System.out.print(\"\\n\");\n }\n \n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while (true) {\n int h = scanner.nextInt();\n int w = scanner.nextInt();\n for (int j = 0; j < h; j++) {\n String s = \"\";\n for (int i = 0; i < w; i++) {\n\n s = s + \"#\";\n }\n System.out.println(s);\n \n }\n if (h == 0 || w == 0) {\n break;\n }\n System.out.print(\"\\n\");\n }",
"true",
"{\n int h = scanner.nextInt();\n int w = scanner.nextInt();\n for (int j = 0; j < h; j++) {\n String s = \"\";\n for (int i = 0; i < w; i++) {\n\n s = s + \"#\";\n }\n System.out.println(s);\n \n }\n if (h == 0 || w == 0) {\n break;\n }\n System.out.print(\"\\n\");\n }",
"int h = scanner.nextInt();",
"h",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int w = scanner.nextInt();",
"w",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"for (int j = 0; j < h; j++) {\n String s = \"\";\n for (int i = 0; i < w; i++) {\n\n s = s + \"#\";\n }\n System.out.println(s);\n \n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < h",
"j",
"h",
"j++",
"j++",
"j",
"{\n String s = \"\";\n for (int i = 0; i < w; i++) {\n\n s = s + \"#\";\n }\n System.out.println(s);\n \n }",
"{\n String s = \"\";\n for (int i = 0; i < w; i++) {\n\n s = s + \"#\";\n }\n System.out.println(s);\n \n }",
"String s = \"\";",
"s",
"\"\"",
"for (int i = 0; i < w; i++) {\n\n s = s + \"#\";\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < w",
"i",
"w",
"i++",
"i++",
"i",
"{\n\n s = s + \"#\";\n }",
"{\n\n s = s + \"#\";\n }",
"s = s + \"#\"",
"s",
"s + \"#\"",
"s",
"\"#\"",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"if (h == 0 || w == 0) {\n break;\n }",
"h == 0 || w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"{\n break;\n }",
"break;",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (true) {\n int h = scanner.nextInt();\n int w = scanner.nextInt();\n for (int j = 0; j < h; j++) {\n String s = \"\";\n for (int i = 0; i < w; i++) {\n\n s = s + \"#\";\n }\n System.out.println(s);\n \n }\n if (h == 0 || w == 0) {\n break;\n }\n System.out.print(\"\\n\");\n }\n \n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (true) {\n int h = scanner.nextInt();\n int w = scanner.nextInt();\n for (int j = 0; j < h; j++) {\n String s = \"\";\n for (int i = 0; i < w; i++) {\n\n s = s + \"#\";\n }\n System.out.println(s);\n \n }\n if (h == 0 || w == 0) {\n break;\n }\n System.out.print(\"\\n\");\n }\n \n }\n\n}",
"Main"
] | import java.util.Scanner;
/**
*
* @author lenovo
*/
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();
for (int j = 0; j < h; j++) {
String s = "";
for (int i = 0; i < w; i++) {
s = s + "#";
}
System.out.println(s);
}
if (h == 0 || w == 0) {
break;
}
System.out.print("\n");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
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
],
[
81,
84
],
[
67,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
17,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
8,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
6,
99
],
[
99,
100
]
] | [
"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\n while(true){\n String str1 = br.readLine();\n String[] str2 = str1.split(\" \");\n int H = Integer.parseInt(str2[0]);\n int W = Integer.parseInt(str2[1]);\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 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\n while(true){\n String str1 = br.readLine();\n String[] str2 = str1.split(\" \");\n int H = Integer.parseInt(str2[0]);\n int W = Integer.parseInt(str2[1]);\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 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\n while(true){\n String str1 = br.readLine();\n String[] str2 = str1.split(\" \");\n int H = Integer.parseInt(str2[0]);\n int W = Integer.parseInt(str2[1]);\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 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\n while(true){\n String str1 = br.readLine();\n String[] str2 = str1.split(\" \");\n int H = Integer.parseInt(str2[0]);\n int W = Integer.parseInt(str2[1]);\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 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 str1 = br.readLine();\n String[] str2 = str1.split(\" \");\n int H = Integer.parseInt(str2[0]);\n int W = Integer.parseInt(str2[1]);\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 sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }",
"true",
"{\n String str1 = br.readLine();\n String[] str2 = str1.split(\" \");\n int H = Integer.parseInt(str2[0]);\n int W = Integer.parseInt(str2[1]);\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 sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }",
"String str1 = br.readLine();",
"str1",
"br.readLine()",
"br.readLine",
"br",
"String[] str2 = str1.split(\" \");",
"str2",
"str1.split(\" \")",
"str1.split",
"str1",
"\" \"",
"int H = Integer.parseInt(str2[0]);",
"H",
"Integer.parseInt(str2[0])",
"Integer.parseInt",
"Integer",
"str2[0]",
"str2",
"0",
"int W = Integer.parseInt(str2[1]);",
"W",
"Integer.parseInt(str2[1])",
"Integer.parseInt",
"Integer",
"str2[1]",
"str2",
"1",
"if(H == 0 && W == 0) {break;}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{break;}",
"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.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 str1 = br.readLine();
String[] str2 = str1.split(" ");
int H = Integer.parseInt(str2[0]);
int W = Integer.parseInt(str2[1]);
if(H == 0 && W == 0) {break;}
for (int i = 0; i < H; i++){
for(int j = 0; j < W; j++){
sb.append("#");
}
sb.append("\n");
}
sb.append("\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
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,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
17,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
4,
18,
13,
2,
13,
17,
1,
0,
13,
4,
18,
13,
30,
30,
4,
18,
13,
13,
4,
18,
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,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
20,
13,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
20,
4,
18,
18,
13,
13,
17,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
180,
23
],
[
180,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
37,
38
],
[
30,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
30,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
27,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
54,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
61,
68
],
[
68,
69
],
[
68,
70
],
[
61,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
61,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
54,
83
],
[
83,
84
],
[
84,
85
],
[
54,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
86,
96
],
[
96,
97
],
[
97,
98
],
[
86,
99
],
[
100,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
103,
109
],
[
100,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
115,
116
],
[
115,
117
],
[
100,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
123,
124
],
[
123,
125
],
[
100,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
127,
131
],
[
131,
132
],
[
131,
133
],
[
126,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
135,
138
],
[
100,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
139,
144
],
[
144,
145
],
[
144,
146
],
[
139,
147
],
[
147,
148
],
[
148,
149
],
[
139,
150
],
[
151,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
151,
156
],
[
156,
157
],
[
157,
158
],
[
156,
159
],
[
156,
160
],
[
151,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
161,
166
],
[
100,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
167,
172
],
[
54,
173
],
[
173,
174
],
[
174,
175
],
[
173,
176
],
[
24,
177
],
[
177,
178
],
[
0,
179
],
[
179,
180
],
[
179,
181
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Comparator;\n\npublic class Main{\n public static void main(String[] args) {\n\ttry {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t List<String> lines = new ArrayList<String>();\n\n\t for (String line = br.readLine(); line != null; line = br.readLine()) {\n\t\tlines.add(line);\n\t }\n\t br.close();\n\n\t for (Integer i = 0; i < lines.size(); i++) {\n\t\tString[] splits = lines.get(i).split(\" \");\n\t\tInteger H = Integer.parseInt(splits[0]);\n\t\tInteger W = Integer.parseInt(splits[1]);\n\t\tif (H==0&&W==0) {\n\t\t System.exit(0);\n\t\t}\n\n\t\tfor (int h = 0; h < H; h++) {\n\t\t char[] chars = new char[W];\n\t\t Arrays.fill(chars, '#');\n\t\t System.out.println(new String(chars));\n\t\t}\n\t\tSystem.out.println(\"\");\n\t }\n\t System.exit(0);\n\n\t} catch (Exception e) {\n\t System.out.println(e.getMessage());\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Comparator;",
"Comparator",
"java.util",
"public class Main{\n public static void main(String[] args) {\n\ttry {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t List<String> lines = new ArrayList<String>();\n\n\t for (String line = br.readLine(); line != null; line = br.readLine()) {\n\t\tlines.add(line);\n\t }\n\t br.close();\n\n\t for (Integer i = 0; i < lines.size(); i++) {\n\t\tString[] splits = lines.get(i).split(\" \");\n\t\tInteger H = Integer.parseInt(splits[0]);\n\t\tInteger W = Integer.parseInt(splits[1]);\n\t\tif (H==0&&W==0) {\n\t\t System.exit(0);\n\t\t}\n\n\t\tfor (int h = 0; h < H; h++) {\n\t\t char[] chars = new char[W];\n\t\t Arrays.fill(chars, '#');\n\t\t System.out.println(new String(chars));\n\t\t}\n\t\tSystem.out.println(\"\");\n\t }\n\t System.exit(0);\n\n\t} catch (Exception e) {\n\t System.out.println(e.getMessage());\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }\n}",
"Main",
"public static void main(String[] args) {\n\ttry {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t List<String> lines = new ArrayList<String>();\n\n\t for (String line = br.readLine(); line != null; line = br.readLine()) {\n\t\tlines.add(line);\n\t }\n\t br.close();\n\n\t for (Integer i = 0; i < lines.size(); i++) {\n\t\tString[] splits = lines.get(i).split(\" \");\n\t\tInteger H = Integer.parseInt(splits[0]);\n\t\tInteger W = Integer.parseInt(splits[1]);\n\t\tif (H==0&&W==0) {\n\t\t System.exit(0);\n\t\t}\n\n\t\tfor (int h = 0; h < H; h++) {\n\t\t char[] chars = new char[W];\n\t\t Arrays.fill(chars, '#');\n\t\t System.out.println(new String(chars));\n\t\t}\n\t\tSystem.out.println(\"\");\n\t }\n\t System.exit(0);\n\n\t} catch (Exception e) {\n\t System.out.println(e.getMessage());\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }",
"main",
"{\n\ttry {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t List<String> lines = new ArrayList<String>();\n\n\t for (String line = br.readLine(); line != null; line = br.readLine()) {\n\t\tlines.add(line);\n\t }\n\t br.close();\n\n\t for (Integer i = 0; i < lines.size(); i++) {\n\t\tString[] splits = lines.get(i).split(\" \");\n\t\tInteger H = Integer.parseInt(splits[0]);\n\t\tInteger W = Integer.parseInt(splits[1]);\n\t\tif (H==0&&W==0) {\n\t\t System.exit(0);\n\t\t}\n\n\t\tfor (int h = 0; h < H; h++) {\n\t\t char[] chars = new char[W];\n\t\t Arrays.fill(chars, '#');\n\t\t System.out.println(new String(chars));\n\t\t}\n\t\tSystem.out.println(\"\");\n\t }\n\t System.exit(0);\n\n\t} catch (Exception e) {\n\t System.out.println(e.getMessage());\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }",
"try {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t List<String> lines = new ArrayList<String>();\n\n\t for (String line = br.readLine(); line != null; line = br.readLine()) {\n\t\tlines.add(line);\n\t }\n\t br.close();\n\n\t for (Integer i = 0; i < lines.size(); i++) {\n\t\tString[] splits = lines.get(i).split(\" \");\n\t\tInteger H = Integer.parseInt(splits[0]);\n\t\tInteger W = Integer.parseInt(splits[1]);\n\t\tif (H==0&&W==0) {\n\t\t System.exit(0);\n\t\t}\n\n\t\tfor (int h = 0; h < H; h++) {\n\t\t char[] chars = new char[W];\n\t\t Arrays.fill(chars, '#');\n\t\t System.out.println(new String(chars));\n\t\t}\n\t\tSystem.out.println(\"\");\n\t }\n\t System.exit(0);\n\n\t} catch (Exception e) {\n\t System.out.println(e.getMessage());\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}",
"catch (Exception e) {\n\t System.out.println(e.getMessage());\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}",
"Exception e",
"{\n\t System.out.println(e.getMessage());\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}",
"System.out.println(e.getMessage())",
"System.out.println",
"System.out",
"System",
"System.out",
"e.getMessage()",
"e.getMessage",
"e",
"System.out.println(Arrays.toString(e.getStackTrace()))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.toString(e.getStackTrace())",
"Arrays.toString",
"Arrays",
"e.getStackTrace()",
"e.getStackTrace",
"e",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t List<String> lines = new ArrayList<String>();\n\n\t for (String line = br.readLine(); line != null; line = br.readLine()) {\n\t\tlines.add(line);\n\t }\n\t br.close();\n\n\t for (Integer i = 0; i < lines.size(); i++) {\n\t\tString[] splits = lines.get(i).split(\" \");\n\t\tInteger H = Integer.parseInt(splits[0]);\n\t\tInteger W = Integer.parseInt(splits[1]);\n\t\tif (H==0&&W==0) {\n\t\t System.exit(0);\n\t\t}\n\n\t\tfor (int h = 0; h < H; h++) {\n\t\t char[] chars = new char[W];\n\t\t Arrays.fill(chars, '#');\n\t\t System.out.println(new String(chars));\n\t\t}\n\t\tSystem.out.println(\"\");\n\t }\n\t System.exit(0);\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"List<String> lines = new ArrayList<String>();",
"lines",
"new ArrayList<String>()",
"for (String line = br.readLine(); line != null; line = br.readLine()) {\n\t\tlines.add(line);\n\t }",
"String line = br.readLine();",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"line != null",
"line",
"null",
"line = br.readLine()",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"{\n\t\tlines.add(line);\n\t }",
"{\n\t\tlines.add(line);\n\t }",
"lines.add(line)",
"lines.add",
"lines",
"line",
"br.close()",
"br.close",
"br",
"for (Integer i = 0; i < lines.size(); i++) {\n\t\tString[] splits = lines.get(i).split(\" \");\n\t\tInteger H = Integer.parseInt(splits[0]);\n\t\tInteger W = Integer.parseInt(splits[1]);\n\t\tif (H==0&&W==0) {\n\t\t System.exit(0);\n\t\t}\n\n\t\tfor (int h = 0; h < H; h++) {\n\t\t char[] chars = new char[W];\n\t\t Arrays.fill(chars, '#');\n\t\t System.out.println(new String(chars));\n\t\t}\n\t\tSystem.out.println(\"\");\n\t }",
"Integer i = 0;",
"Integer i = 0;",
"i",
"0",
"i < lines.size()",
"i",
"lines.size()",
"lines.size",
"lines",
"i++",
"i++",
"i",
"{\n\t\tString[] splits = lines.get(i).split(\" \");\n\t\tInteger H = Integer.parseInt(splits[0]);\n\t\tInteger W = Integer.parseInt(splits[1]);\n\t\tif (H==0&&W==0) {\n\t\t System.exit(0);\n\t\t}\n\n\t\tfor (int h = 0; h < H; h++) {\n\t\t char[] chars = new char[W];\n\t\t Arrays.fill(chars, '#');\n\t\t System.out.println(new String(chars));\n\t\t}\n\t\tSystem.out.println(\"\");\n\t }",
"{\n\t\tString[] splits = lines.get(i).split(\" \");\n\t\tInteger H = Integer.parseInt(splits[0]);\n\t\tInteger W = Integer.parseInt(splits[1]);\n\t\tif (H==0&&W==0) {\n\t\t System.exit(0);\n\t\t}\n\n\t\tfor (int h = 0; h < H; h++) {\n\t\t char[] chars = new char[W];\n\t\t Arrays.fill(chars, '#');\n\t\t System.out.println(new String(chars));\n\t\t}\n\t\tSystem.out.println(\"\");\n\t }",
"String[] splits = lines.get(i).split(\" \");",
"splits",
"lines.get(i).split(\" \")",
"lines.get(i).split",
"lines.get(i)",
"lines.get",
"lines",
"i",
"\" \"",
"Integer H = Integer.parseInt(splits[0]);",
"H",
"Integer.parseInt(splits[0])",
"Integer.parseInt",
"Integer",
"splits[0]",
"splits",
"0",
"Integer W = Integer.parseInt(splits[1]);",
"W",
"Integer.parseInt(splits[1])",
"Integer.parseInt",
"Integer",
"splits[1]",
"splits",
"1",
"if (H==0&&W==0) {\n\t\t System.exit(0);\n\t\t}",
"H==0&&W==0",
"H==0",
"H",
"0",
"W==0",
"W",
"0",
"{\n\t\t System.exit(0);\n\t\t}",
"System.exit(0)",
"System.exit",
"System",
"0",
"for (int h = 0; h < H; h++) {\n\t\t char[] chars = new char[W];\n\t\t Arrays.fill(chars, '#');\n\t\t System.out.println(new String(chars));\n\t\t}",
"int h = 0;",
"int h = 0;",
"h",
"0",
"h < H",
"h",
"H",
"h++",
"h++",
"h",
"{\n\t\t char[] chars = new char[W];\n\t\t Arrays.fill(chars, '#');\n\t\t System.out.println(new String(chars));\n\t\t}",
"{\n\t\t char[] chars = new char[W];\n\t\t Arrays.fill(chars, '#');\n\t\t System.out.println(new String(chars));\n\t\t}",
"char[] chars = new char[W];",
"chars",
"new char[W]",
"W",
"Arrays.fill(chars, '#')",
"Arrays.fill",
"Arrays",
"chars",
"'#'",
"System.out.println(new String(chars))",
"System.out.println",
"System.out",
"System",
"System.out",
"new String(chars)",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.exit(0)",
"System.exit",
"System",
"0",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) {\n\ttry {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t List<String> lines = new ArrayList<String>();\n\n\t for (String line = br.readLine(); line != null; line = br.readLine()) {\n\t\tlines.add(line);\n\t }\n\t br.close();\n\n\t for (Integer i = 0; i < lines.size(); i++) {\n\t\tString[] splits = lines.get(i).split(\" \");\n\t\tInteger H = Integer.parseInt(splits[0]);\n\t\tInteger W = Integer.parseInt(splits[1]);\n\t\tif (H==0&&W==0) {\n\t\t System.exit(0);\n\t\t}\n\n\t\tfor (int h = 0; h < H; h++) {\n\t\t char[] chars = new char[W];\n\t\t Arrays.fill(chars, '#');\n\t\t System.out.println(new String(chars));\n\t\t}\n\t\tSystem.out.println(\"\");\n\t }\n\t System.exit(0);\n\n\t} catch (Exception e) {\n\t System.out.println(e.getMessage());\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }\n}",
"public class Main{\n public static void main(String[] args) {\n\ttry {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t List<String> lines = new ArrayList<String>();\n\n\t for (String line = br.readLine(); line != null; line = br.readLine()) {\n\t\tlines.add(line);\n\t }\n\t br.close();\n\n\t for (Integer i = 0; i < lines.size(); i++) {\n\t\tString[] splits = lines.get(i).split(\" \");\n\t\tInteger H = Integer.parseInt(splits[0]);\n\t\tInteger W = Integer.parseInt(splits[1]);\n\t\tif (H==0&&W==0) {\n\t\t System.exit(0);\n\t\t}\n\n\t\tfor (int h = 0; h < H; h++) {\n\t\t char[] chars = new char[W];\n\t\t Arrays.fill(chars, '#');\n\t\t System.out.println(new String(chars));\n\t\t}\n\t\tSystem.out.println(\"\");\n\t }\n\t System.exit(0);\n\n\t} catch (Exception e) {\n\t System.out.println(e.getMessage());\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.List;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
public class Main{
public static void main(String[] args) {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
List<String> lines = new ArrayList<String>();
for (String line = br.readLine(); line != null; line = br.readLine()) {
lines.add(line);
}
br.close();
for (Integer i = 0; i < lines.size(); i++) {
String[] splits = lines.get(i).split(" ");
Integer H = Integer.parseInt(splits[0]);
Integer W = Integer.parseInt(splits[1]);
if (H==0&&W==0) {
System.exit(0);
}
for (int h = 0; h < H; h++) {
char[] chars = new char[W];
Arrays.fill(chars, '#');
System.out.println(new String(chars));
}
System.out.println("");
}
System.exit(0);
} catch (Exception e) {
System.out.println(e.getMessage());
System.out.println(Arrays.toString(e.getStackTrace()));
System.exit(0);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
10,
12
],
[
9,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
22,
27
],
[
19,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
19,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
19,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
19,
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
],
[
85,
90
],
[
19,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
6,
97
],
[
97,
98
]
] | [
"import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args){\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t\twhile(true){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint H =Integer.parseInt(line[0]);\n\t\t\tint W =Integer.parseInt(line[1]);\n\t\t\t\tif(H == 0 && W == 0) break;\n\t\t\t\tfor(int a = 1; a <=H; a++){\n\t\t\t\t\tfor(int i = 1;i <= W;i++){\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.print(\"\\n\");\n\t\t\t}\t\n\t\t} catch(Exception e){\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\tpublic static void main(String[] args){\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t\twhile(true){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint H =Integer.parseInt(line[0]);\n\t\t\tint W =Integer.parseInt(line[1]);\n\t\t\t\tif(H == 0 && W == 0) break;\n\t\t\t\tfor(int a = 1; a <=H; a++){\n\t\t\t\t\tfor(int i = 1;i <= W;i++){\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.print(\"\\n\");\n\t\t\t}\t\n\t\t} catch(Exception e){\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t\twhile(true){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint H =Integer.parseInt(line[0]);\n\t\t\tint W =Integer.parseInt(line[1]);\n\t\t\t\tif(H == 0 && W == 0) break;\n\t\t\t\tfor(int a = 1; a <=H; a++){\n\t\t\t\t\tfor(int i = 1;i <= W;i++){\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.print(\"\\n\");\n\t\t\t}\t\n\t\t} catch(Exception e){\n\t\t}\n\t}",
"main",
"{\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t\twhile(true){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint H =Integer.parseInt(line[0]);\n\t\t\tint W =Integer.parseInt(line[1]);\n\t\t\t\tif(H == 0 && W == 0) break;\n\t\t\t\tfor(int a = 1; a <=H; a++){\n\t\t\t\t\tfor(int i = 1;i <= W;i++){\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.print(\"\\n\");\n\t\t\t}\t\n\t\t} catch(Exception e){\n\t\t}\n\t}",
"try {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t\twhile(true){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint H =Integer.parseInt(line[0]);\n\t\t\tint W =Integer.parseInt(line[1]);\n\t\t\t\tif(H == 0 && W == 0) break;\n\t\t\t\tfor(int a = 1; a <=H; a++){\n\t\t\t\t\tfor(int i = 1;i <= W;i++){\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.print(\"\\n\");\n\t\t\t}\t\n\t\t} catch(Exception e){\n\t\t}",
"catch(Exception e){\n\t\t}",
"Exception e",
"{\n\t\t}",
"{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t\twhile(true){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint H =Integer.parseInt(line[0]);\n\t\t\tint W =Integer.parseInt(line[1]);\n\t\t\t\tif(H == 0 && W == 0) break;\n\t\t\t\tfor(int a = 1; a <=H; a++){\n\t\t\t\t\tfor(int i = 1;i <= W;i++){\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.print(\"\\n\");\n\t\t\t}\t\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint H =Integer.parseInt(line[0]);\n\t\t\tint W =Integer.parseInt(line[1]);\n\t\t\t\tif(H == 0 && W == 0) break;\n\t\t\t\tfor(int a = 1; a <=H; a++){\n\t\t\t\t\tfor(int i = 1;i <= W;i++){\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.print(\"\\n\");\n\t\t\t}",
"true",
"{\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint H =Integer.parseInt(line[0]);\n\t\t\tint W =Integer.parseInt(line[1]);\n\t\t\t\tif(H == 0 && W == 0) break;\n\t\t\t\tfor(int a = 1; a <=H; a++){\n\t\t\t\t\tfor(int i = 1;i <= W;i++){\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.print(\"\\n\");\n\t\t\t}",
"String[] line = br.readLine().split(\" \");",
"line",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int H =Integer.parseInt(line[0]);",
"H",
"Integer.parseInt(line[0])",
"Integer.parseInt",
"Integer",
"line[0]",
"line",
"0",
"int W =Integer.parseInt(line[1]);",
"W",
"Integer.parseInt(line[1])",
"Integer.parseInt",
"Integer",
"line[1]",
"line",
"1",
"if(H == 0 && W == 0) break;",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"break;",
"for(int a = 1; a <=H; a++){\n\t\t\t\t\tfor(int i = 1;i <= W;i++){\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 a = 1;",
"int a = 1;",
"a",
"1",
"a <=H",
"a",
"H",
"a++",
"a++",
"a",
"{\n\t\t\t\t\tfor(int i = 1;i <= W;i++){\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 i = 1;i <= W;i++){\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 i = 1;i <= W;i++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= W",
"i",
"W",
"i++",
"i++",
"i",
"{\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.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args"
] | import java.io.*;
class Main {
public static void main(String[] args){
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String[] line = br.readLine().split(" ");
int H =Integer.parseInt(line[0]);
int W =Integer.parseInt(line[1]);
if(H == 0 && W == 0) break;
for(int a = 1; a <=H; a++){
for(int i = 1;i <= W;i++){
System.out.print("#");
}
System.out.print("\n");
}
System.out.print("\n");
}
} catch(Exception e){
}
}
} |
[
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,
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
],
[
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
],
[
38,
39
],
[
19,
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
],
[
19,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
6,
84
],
[
84,
85
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \tint H;\n \tint W;\n \t\n \tfor(;;){\n \t\tH = scan.nextInt();\n \tW = scan.nextInt();\n \tif(H == 0 && W == 0){\n \t\tbreak;\n \t}\n \t\n \tfor(int y = 0; y < H; y++){\n \t\tfor(int x = 0; x < W; x++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println(\"\");\n \t}\n System.out.println(\"\");\n \t\n \t}\n \t\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \tint H;\n \tint W;\n \t\n \tfor(;;){\n \t\tH = scan.nextInt();\n \tW = scan.nextInt();\n \tif(H == 0 && W == 0){\n \t\tbreak;\n \t}\n \t\n \tfor(int y = 0; y < H; y++){\n \t\tfor(int x = 0; x < W; x++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println(\"\");\n \t}\n System.out.println(\"\");\n \t\n \t}\n \t\n }\n}",
"Main",
"public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \tint H;\n \tint W;\n \t\n \tfor(;;){\n \t\tH = scan.nextInt();\n \tW = scan.nextInt();\n \tif(H == 0 && W == 0){\n \t\tbreak;\n \t}\n \t\n \tfor(int y = 0; y < H; y++){\n \t\tfor(int x = 0; x < W; x++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println(\"\");\n \t}\n System.out.println(\"\");\n \t\n \t}\n \t\n }",
"main",
"{\n \tScanner scan = new Scanner(System.in);\n \tint H;\n \tint W;\n \t\n \tfor(;;){\n \t\tH = scan.nextInt();\n \tW = scan.nextInt();\n \tif(H == 0 && W == 0){\n \t\tbreak;\n \t}\n \t\n \tfor(int y = 0; y < H; y++){\n \t\tfor(int x = 0; x < W; x++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println(\"\");\n \t}\n System.out.println(\"\");\n \t\n \t}\n \t\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int H;",
"H",
"int W;",
"W",
"for(;;){\n \t\tH = scan.nextInt();\n \tW = scan.nextInt();\n \tif(H == 0 && W == 0){\n \t\tbreak;\n \t}\n \t\n \tfor(int y = 0; y < H; y++){\n \t\tfor(int x = 0; x < W; x++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println(\"\");\n \t}\n System.out.println(\"\");\n \t\n \t}",
";",
"{\n \t\tH = scan.nextInt();\n \tW = scan.nextInt();\n \tif(H == 0 && W == 0){\n \t\tbreak;\n \t}\n \t\n \tfor(int y = 0; y < H; y++){\n \t\tfor(int x = 0; x < W; x++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println(\"\");\n \t}\n System.out.println(\"\");\n \t\n \t}",
"{\n \t\tH = scan.nextInt();\n \tW = scan.nextInt();\n \tif(H == 0 && W == 0){\n \t\tbreak;\n \t}\n \t\n \tfor(int y = 0; y < H; y++){\n \t\tfor(int x = 0; x < W; x++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println(\"\");\n \t}\n System.out.println(\"\");\n \t\n \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\tbreak;\n \t}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n \t\tbreak;\n \t}",
"break;",
"for(int y = 0; y < H; y++){\n \t\tfor(int x = 0; x < W; x++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println(\"\");\n \t}",
"int y = 0;",
"int y = 0;",
"y",
"0",
"y < H",
"y",
"H",
"y++",
"y++",
"y",
"{\n \t\tfor(int x = 0; x < W; x++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println(\"\");\n \t}",
"{\n \t\tfor(int x = 0; x < W; x++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}\n \t\tSystem.out.println(\"\");\n \t}",
"for(int x = 0; x < W; x++){\n \t\t\tSystem.out.print(\"#\");\n \t\t}",
"int x = 0;",
"int x = 0;",
"x",
"0",
"x < W",
"x",
"W",
"x++",
"x++",
"x",
"{\n \t\t\tSystem.out.print(\"#\");\n \t\t}",
"{\n \t\t\tSystem.out.print(\"#\");\n \t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int H;
int W;
for(;;){
H = scan.nextInt();
W = scan.nextInt();
if(H == 0 && W == 0){
break;
}
for(int y = 0; y < H; y++){
for(int x = 0; x < W; x++){
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
4,
18,
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,
37,
20,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
4,
18,
13,
17,
4,
18,
13,
13,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
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,
18,
13,
13,
18,
36,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
23,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
150,
5
],
[
150,
6
],
[
6,
7
],
[
150,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
32,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
32,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
32,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
68,
72
],
[
8,
73
],
[
73,
74
],
[
150,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
83,
85
],
[
78,
86
],
[
86,
87
],
[
87,
88
],
[
77,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
94,
95
],
[
94,
96
],
[
89,
97
],
[
97,
98
],
[
98,
99
],
[
89,
100
],
[
101,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
107,
108
],
[
107,
109
],
[
102,
110
],
[
110,
111
],
[
111,
112
],
[
102,
113
],
[
114,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
120,
121
],
[
120,
122
],
[
101,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
123,
128
],
[
77,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
75,
135
],
[
135,
136
],
[
75,
137
],
[
137,
138
],
[
150,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
142,
146
],
[
139,
147
],
[
147,
148
],
[
0,
149
],
[
149,
150
],
[
149,
151
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner stdIn = new Scanner(System.in)) {\n\t\t\tMain m = new Main();\n\t\t\twhile (true) {\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Out of Range Error\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tm.setChar('#');\n\t\t\t\tm.DrawSquare(h, w);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t}\n\n\tprivate Character displayChar;\n\t/**\n\t * Draw square by define character\n\t * @param height Square of height\n\t * @param width Square of width\n\t */\n\tprotected void DrawSquare(int height, int width) {\n\t\tif (height < 0 || width < 0) {\n\t\t\tthrow new RuntimeException(\"Error:Minus Value Input\");\n\t\t}\n\t\tfor (int i = 1; i <= height; i++) {\n\t\t\tfor (int j = 1; j <= width; j++) {\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n\n\t/**\n\t * Define character to draw square\n\t * @param displayChar Set a character\n\t */\n\tprotected void setChar(Character displayChar) {\n\t\tthis.displayChar = displayChar;\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner stdIn = new Scanner(System.in)) {\n\t\t\tMain m = new Main();\n\t\t\twhile (true) {\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Out of Range Error\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tm.setChar('#');\n\t\t\t\tm.DrawSquare(h, w);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t}\n\n\tprivate Character displayChar;\n\t/**\n\t * Draw square by define character\n\t * @param height Square of height\n\t * @param width Square of width\n\t */\n\tprotected void DrawSquare(int height, int width) {\n\t\tif (height < 0 || width < 0) {\n\t\t\tthrow new RuntimeException(\"Error:Minus Value Input\");\n\t\t}\n\t\tfor (int i = 1; i <= height; i++) {\n\t\t\tfor (int j = 1; j <= width; j++) {\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n\n\t/**\n\t * Define character to draw square\n\t * @param displayChar Set a character\n\t */\n\tprotected void setChar(Character displayChar) {\n\t\tthis.displayChar = displayChar;\n\t}\n}",
"Main",
"private Character displayChar;",
"displayChar",
"public static void main(String[] args) {\n\t\ttry (Scanner stdIn = new Scanner(System.in)) {\n\t\t\tMain m = new Main();\n\t\t\twhile (true) {\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Out of Range Error\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tm.setChar('#');\n\t\t\t\tm.DrawSquare(h, w);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t}",
"main",
"{\n\t\ttry (Scanner stdIn = new Scanner(System.in)) {\n\t\t\tMain m = new Main();\n\t\t\twhile (true) {\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Out of Range Error\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tm.setChar('#');\n\t\t\t\tm.DrawSquare(h, w);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t}",
"try (Scanner stdIn = new Scanner(System.in)) {\n\t\t\tMain m = new Main();\n\t\t\twhile (true) {\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Out of Range Error\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tm.setChar('#');\n\t\t\t\tm.DrawSquare(h, w);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}",
"catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}",
"Exception e",
"{\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}",
"System.out.println(e.getMessage())",
"System.out.println",
"System.out",
"System",
"System.out",
"e.getMessage()",
"e.getMessage",
"e",
"{\n\t\t\tMain m = new Main();\n\t\t\twhile (true) {\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Out of Range Error\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tm.setChar('#');\n\t\t\t\tm.DrawSquare(h, w);\n\t\t\t}\n\t\t}",
"Scanner stdIn = new Scanner(System.in)",
"Scanner stdIn = new Scanner(System.in)",
"new Scanner(System.in)",
"Main m = new Main();",
"m",
"new Main()",
"while (true) {\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Out of Range Error\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tm.setChar('#');\n\t\t\t\tm.DrawSquare(h, w);\n\t\t\t}",
"true",
"{\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Out of Range Error\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tm.setChar('#');\n\t\t\t\tm.DrawSquare(h, w);\n\t\t\t}",
"int h = stdIn.nextInt();",
"h",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int w = stdIn.nextInt();",
"w",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"if (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Out of Range Error\");\n\t\t\t\t}",
"h > 300 || w > 300",
"h > 300",
"h",
"300",
"w > 300",
"w",
"300",
"{\n\t\t\t\t\tthrow new RuntimeException(\"Out of Range Error\");\n\t\t\t\t}",
"throw new RuntimeException(\"Out of Range Error\");",
"new RuntimeException(\"Out of Range Error\")",
"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;",
"m.setChar('#')",
"m.setChar",
"m",
"'#'",
"m.DrawSquare(h, w)",
"m.DrawSquare",
"m",
"h",
"w",
"String[] args",
"args",
"/**\n\t * Draw square by define character\n\t * @param height Square of height\n\t * @param width Square of width\n\t */\n\tprotected void DrawSquare(int height, int width) {\n\t\tif (height < 0 || width < 0) {\n\t\t\tthrow new RuntimeException(\"Error:Minus Value Input\");\n\t\t}\n\t\tfor (int i = 1; i <= height; i++) {\n\t\t\tfor (int j = 1; j <= width; j++) {\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}",
"DrawSquare",
"{\n\t\tif (height < 0 || width < 0) {\n\t\t\tthrow new RuntimeException(\"Error:Minus Value Input\");\n\t\t}\n\t\tfor (int i = 1; i <= height; i++) {\n\t\t\tfor (int j = 1; j <= width; j++) {\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}",
"if (height < 0 || width < 0) {\n\t\t\tthrow new RuntimeException(\"Error:Minus Value Input\");\n\t\t}",
"height < 0 || width < 0",
"height < 0",
"height",
"0",
"width < 0",
"width",
"0",
"{\n\t\t\tthrow new RuntimeException(\"Error:Minus Value Input\");\n\t\t}",
"throw new RuntimeException(\"Error:Minus Value Input\");",
"new RuntimeException(\"Error:Minus Value Input\")",
"for (int i = 1; i <= height; i++) {\n\t\t\tfor (int j = 1; j <= width; j++) {\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= height",
"i",
"height",
"i++",
"i++",
"i",
"{\n\t\t\tfor (int j = 1; j <= width; j++) {\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"{\n\t\t\tfor (int j = 1; j <= width; j++) {\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"for (int j = 1; j <= width; j++) {\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}",
"int j = 1;",
"int j = 1;",
"j",
"1",
"j <= width",
"j",
"width",
"j++",
"j++",
"j",
"{\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}",
"System.out.print(this.displayChar)",
"System.out.print",
"System.out",
"System",
"System.out",
"this.displayChar",
"this",
"this.displayChar",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"int height",
"height",
"int width",
"width",
"/**\n\t * Define character to draw square\n\t * @param displayChar Set a character\n\t */\n\tprotected void setChar(Character displayChar) {\n\t\tthis.displayChar = displayChar;\n\t}",
"setChar",
"{\n\t\tthis.displayChar = displayChar;\n\t}",
"this.displayChar = displayChar",
"this.displayChar",
"this",
"this.displayChar",
"displayChar",
"Character displayChar",
"displayChar",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner stdIn = new Scanner(System.in)) {\n\t\t\tMain m = new Main();\n\t\t\twhile (true) {\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Out of Range Error\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tm.setChar('#');\n\t\t\t\tm.DrawSquare(h, w);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t}\n\n\tprivate Character displayChar;\n\t/**\n\t * Draw square by define character\n\t * @param height Square of height\n\t * @param width Square of width\n\t */\n\tprotected void DrawSquare(int height, int width) {\n\t\tif (height < 0 || width < 0) {\n\t\t\tthrow new RuntimeException(\"Error:Minus Value Input\");\n\t\t}\n\t\tfor (int i = 1; i <= height; i++) {\n\t\t\tfor (int j = 1; j <= width; j++) {\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n\n\t/**\n\t * Define character to draw square\n\t * @param displayChar Set a character\n\t */\n\tprotected void setChar(Character displayChar) {\n\t\tthis.displayChar = displayChar;\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner stdIn = new Scanner(System.in)) {\n\t\t\tMain m = new Main();\n\t\t\twhile (true) {\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Out of Range Error\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tm.setChar('#');\n\t\t\t\tm.DrawSquare(h, w);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t}\n\n\tprivate Character displayChar;\n\t/**\n\t * Draw square by define character\n\t * @param height Square of height\n\t * @param width Square of width\n\t */\n\tprotected void DrawSquare(int height, int width) {\n\t\tif (height < 0 || width < 0) {\n\t\t\tthrow new RuntimeException(\"Error:Minus Value Input\");\n\t\t}\n\t\tfor (int i = 1; i <= height; i++) {\n\t\t\tfor (int j = 1; j <= width; j++) {\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n\n\t/**\n\t * Define character to draw square\n\t * @param displayChar Set a character\n\t */\n\tprotected void setChar(Character displayChar) {\n\t\tthis.displayChar = displayChar;\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner stdIn = new Scanner(System.in)) {
Main m = new Main();
while (true) {
int h = stdIn.nextInt();
int w = stdIn.nextInt();
if (h > 300 || w > 300) {
throw new RuntimeException("Out of Range Error");
}
if (h == 0 && w == 0) {
break;
}
m.setChar('#');
m.DrawSquare(h, w);
}
} catch (Exception e) {
System.out.println(e.getMessage());
}
}
private Character displayChar;
/**
* Draw square by define character
* @param height Square of height
* @param width Square of width
*/
protected void DrawSquare(int height, int width) {
if (height < 0 || width < 0) {
throw new RuntimeException("Error:Minus Value Input");
}
for (int i = 1; i <= height; i++) {
for (int j = 1; j <= width; j++) {
System.out.print(this.displayChar);
}
System.out.println("");
}
System.out.println("");
}
/**
* Define character to draw square
* @param displayChar Set a character
*/
protected void setChar(Character displayChar) {
this.displayChar = displayChar;
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
42,
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,
4,
18,
18,
13,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
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
],
[
4,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
19,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
19,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
19,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
50,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
63,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
62,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
49,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
49,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
49,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
49,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
107,
109
],
[
102,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
4,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
114,
120
],
[
120,
121
]
] | [
"import java.util.Scanner;\nclass Main{\n int H,W,i,r;\n boolean x = true;\n public void solve(){\n Scanner sc = new Scanner(System.in);\n H = sc.nextInt();\n W = sc.nextInt();\n if(H == 0 && W == 0){\n x = false;\n }\n while(x == true){\n for(i = 0; i < H; i++){\n for(r = 0; r < W; r++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n H = sc.nextInt();\n W = sc.nextInt();\n if(H == 0 && W == 0){\n x = false;\n }\n }\n }\n public static void main(String[] args){\n new Main().solve();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n int H,W,i,r;\n boolean x = true;\n public void solve(){\n Scanner sc = new Scanner(System.in);\n H = sc.nextInt();\n W = sc.nextInt();\n if(H == 0 && W == 0){\n x = false;\n }\n while(x == true){\n for(i = 0; i < H; i++){\n for(r = 0; r < W; r++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n H = sc.nextInt();\n W = sc.nextInt();\n if(H == 0 && W == 0){\n x = false;\n }\n }\n }\n public static void main(String[] args){\n new Main().solve();\n }\n}",
"Main",
"int H",
"H",
"W",
"W",
"i",
"i",
"r;",
"r",
"boolean x = true;",
"x",
"true",
"public void solve(){\n Scanner sc = new Scanner(System.in);\n H = sc.nextInt();\n W = sc.nextInt();\n if(H == 0 && W == 0){\n x = false;\n }\n while(x == true){\n for(i = 0; i < H; i++){\n for(r = 0; r < W; r++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n H = sc.nextInt();\n W = sc.nextInt();\n if(H == 0 && W == 0){\n x = false;\n }\n }\n }",
"solve",
"{\n Scanner sc = new Scanner(System.in);\n H = sc.nextInt();\n W = sc.nextInt();\n if(H == 0 && W == 0){\n x = false;\n }\n while(x == true){\n for(i = 0; i < H; i++){\n for(r = 0; r < W; r++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n H = sc.nextInt();\n W = sc.nextInt();\n if(H == 0 && W == 0){\n x = false;\n }\n }\n }",
"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",
"if(H == 0 && W == 0){\n x = false;\n }",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n x = false;\n }",
"x = false",
"x",
"false",
"while(x == true){\n for(i = 0; i < H; i++){\n for(r = 0; r < W; r++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n H = sc.nextInt();\n W = sc.nextInt();\n if(H == 0 && W == 0){\n x = false;\n }\n }",
"x == true",
"x",
"true",
"{\n for(i = 0; i < H; i++){\n for(r = 0; r < W; r++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n H = sc.nextInt();\n W = sc.nextInt();\n if(H == 0 && W == 0){\n x = false;\n }\n }",
"for(i = 0; i < H; i++){\n for(r = 0; r < W; r++){\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(r = 0; r < W; r++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"{\n for(r = 0; r < W; r++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"for(r = 0; r < W; r++){\n System.out.print(\"#\");\n }",
"r = 0;",
"r = 0",
"r",
"0",
"r < W",
"r",
"W",
"r++",
"r++",
"r",
"{\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 = sc.nextInt()",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"W = sc.nextInt()",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(H == 0 && W == 0){\n x = false;\n }",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n x = false;\n }",
"x = false",
"x",
"false",
"public static void main(String[] args){\n new Main().solve();\n }",
"main",
"{\n new Main().solve();\n }",
"new Main().solve()",
"new Main().solve",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
int H,W,i,r;
boolean x = true;
public void solve(){
Scanner sc = new Scanner(System.in);
H = sc.nextInt();
W = sc.nextInt();
if(H == 0 && W == 0){
x = false;
}
while(x == true){
for(i = 0; i < H; i++){
for(r = 0; r < W; r++){
System.out.print("#");
}
System.out.println();
}
System.out.println();
H = sc.nextInt();
W = sc.nextInt();
if(H == 0 && W == 0){
x = false;
}
}
}
public static void main(String[] args){
new Main().solve();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
30,
30,
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,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
96,
5
],
[
96,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
25,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
25,
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
],
[
25,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
25,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
25,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
96,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
87,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint H = s.nextInt();\n\t\tint W = s.nextInt();\n\t\tfor(;;){\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 n = 0; n < W; 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\tH = s.nextInt();\n\t\t\tW = s.nextInt();\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}\n\tpublic static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint H = s.nextInt();\n\t\tint W = s.nextInt();\n\t\tfor(;;){\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 n = 0; n < W; 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\tH = s.nextInt();\n\t\t\tW = s.nextInt();\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}\n\tpublic static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"Main",
"void run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint H = s.nextInt();\n\t\tint W = s.nextInt();\n\t\tfor(;;){\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 n = 0; n < W; 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\tH = s.nextInt();\n\t\t\tW = s.nextInt();\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}",
"run",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tint H = s.nextInt();\n\t\tint W = s.nextInt();\n\t\tfor(;;){\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 n = 0; n < W; 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\tH = s.nextInt();\n\t\t\tW = s.nextInt();\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int H = s.nextInt();",
"H",
"s.nextInt()",
"s.nextInt",
"s",
"int W = s.nextInt();",
"W",
"s.nextInt()",
"s.nextInt",
"s",
"for(;;){\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 n = 0; n < W; 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\tH = s.nextInt();\n\t\t\tW = s.nextInt();\n\t\t\tSystem.out.println();\n\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 n = 0; n < W; 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\tH = s.nextInt();\n\t\t\tW = s.nextInt();\n\t\t\tSystem.out.println();\n\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 n = 0; n < W; 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\tH = s.nextInt();\n\t\t\tW = s.nextInt();\n\t\t\tSystem.out.println();\n\t\t}",
"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 n = 0; n < W; 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 i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int n = 0; n < W; 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\t\tfor(int n = 0; n < W; 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 n = 0; n < W; n++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int n = 0;",
"int n = 0;",
"n",
"0",
"n < W",
"n",
"W",
"n++",
"n++",
"n",
"{\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 = s.nextInt()",
"H",
"s.nextInt()",
"s.nextInt",
"s",
"W = s.nextInt()",
"W",
"s.nextInt()",
"s.nextInt",
"s",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"public static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}",
"main",
"{\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint H = s.nextInt();\n\t\tint W = s.nextInt();\n\t\tfor(;;){\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 n = 0; n < W; 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\tH = s.nextInt();\n\t\t\tW = s.nextInt();\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}\n\tpublic static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint H = s.nextInt();\n\t\tint W = s.nextInt();\n\t\tfor(;;){\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 n = 0; n < W; 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\tH = s.nextInt();\n\t\t\tW = s.nextInt();\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}\n\tpublic static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
void run(){
Scanner s = new Scanner(System.in);
int H = s.nextInt();
int W = s.nextInt();
for(;;){
if(H == 0 && W == 0) break;
for(int i = 0; i < H; i++){
for(int n = 0; n < W; n++){
System.out.print("#");
}
System.out.println();
}
H = s.nextInt();
W = s.nextInt();
System.out.println();
}
}
public static void main(String[] args) {
new Main().run();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
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,
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,
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
],
[
131,
8
],
[
131,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
37,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
52,
64
],
[
37,
65
],
[
65,
66
],
[
11,
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
],
[
87,
88
],
[
87,
89
],
[
80,
90
],
[
90,
91
],
[
91,
92
],
[
80,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
102,
104
],
[
95,
105
],
[
105,
106
],
[
106,
107
],
[
95,
108
],
[
109,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
94,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
79,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
122,
127
],
[
9,
128
],
[
128,
129
],
[
0,
130
],
[
130,
131
],
[
130,
132
]
] | [
"import java.io.*;\nimport java.util.*;\n\npublic class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tint[] h = new int[300];\n\t\tint[] w = new int[300];\n\t\tScanner sc = new Scanner(System.in);\n\t\tint count=0,i=0,j=0,k=0;\n\t\twhile(true)\n\t\t{\n\t\t\th[count] = sc.nextInt();\n\t\t\tw[count] = sc.nextInt();\n\t\t\tif((h[count]==0)&&(w[count]==0))break;\n\t\t\tcount++;\n\t\t}\n\t\tfor(i=0;i<count;i++)\n\t\t{\n\t\t\tfor(j=0;j<h[i];j++)\n\t\t\t{\n\t\t\t\tfor(k=0;k<w[i];k++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tint[] h = new int[300];\n\t\tint[] w = new int[300];\n\t\tScanner sc = new Scanner(System.in);\n\t\tint count=0,i=0,j=0,k=0;\n\t\twhile(true)\n\t\t{\n\t\t\th[count] = sc.nextInt();\n\t\t\tw[count] = sc.nextInt();\n\t\t\tif((h[count]==0)&&(w[count]==0))break;\n\t\t\tcount++;\n\t\t}\n\t\tfor(i=0;i<count;i++)\n\t\t{\n\t\t\tfor(j=0;j<h[i];j++)\n\t\t\t{\n\t\t\t\tfor(k=0;k<w[i];k++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tint[] h = new int[300];\n\t\tint[] w = new int[300];\n\t\tScanner sc = new Scanner(System.in);\n\t\tint count=0,i=0,j=0,k=0;\n\t\twhile(true)\n\t\t{\n\t\t\th[count] = sc.nextInt();\n\t\t\tw[count] = sc.nextInt();\n\t\t\tif((h[count]==0)&&(w[count]==0))break;\n\t\t\tcount++;\n\t\t}\n\t\tfor(i=0;i<count;i++)\n\t\t{\n\t\t\tfor(j=0;j<h[i];j++)\n\t\t\t{\n\t\t\t\tfor(k=0;k<w[i];k++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}\n\t}",
"main",
"{\n\t\tint[] h = new int[300];\n\t\tint[] w = new int[300];\n\t\tScanner sc = new Scanner(System.in);\n\t\tint count=0,i=0,j=0,k=0;\n\t\twhile(true)\n\t\t{\n\t\t\th[count] = sc.nextInt();\n\t\t\tw[count] = sc.nextInt();\n\t\t\tif((h[count]==0)&&(w[count]==0))break;\n\t\t\tcount++;\n\t\t}\n\t\tfor(i=0;i<count;i++)\n\t\t{\n\t\t\tfor(j=0;j<h[i];j++)\n\t\t\t{\n\t\t\t\tfor(k=0;k<w[i];k++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}\n\t}",
"int[] h = new int[300];",
"h",
"new int[300]",
"300",
"int[] w = new int[300];",
"w",
"new int[300]",
"300",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int count=0",
"count",
"0",
"i=0",
"i",
"0",
"j=0",
"j",
"0",
"k=0;",
"k",
"0",
"while(true)\n\t\t{\n\t\t\th[count] = sc.nextInt();\n\t\t\tw[count] = sc.nextInt();\n\t\t\tif((h[count]==0)&&(w[count]==0))break;\n\t\t\tcount++;\n\t\t}",
"true",
"{\n\t\t\th[count] = sc.nextInt();\n\t\t\tw[count] = sc.nextInt();\n\t\t\tif((h[count]==0)&&(w[count]==0))break;\n\t\t\tcount++;\n\t\t}",
"h[count] = sc.nextInt()",
"h[count]",
"h",
"count",
"sc.nextInt()",
"sc.nextInt",
"sc",
"w[count] = sc.nextInt()",
"w[count]",
"w",
"count",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if((h[count]==0)&&(w[count]==0))break;",
"(h[count]==0)&&(w[count]==0)",
"(h[count]==0)",
"h[count]",
"h",
"count",
"0",
"(w[count]==0)",
"w[count]",
"w",
"count",
"0",
"break;",
"count++",
"count",
"for(i=0;i<count;i++)\n\t\t{\n\t\t\tfor(j=0;j<h[i];j++)\n\t\t\t{\n\t\t\t\tfor(k=0;k<w[i];k++)\n\t\t\t\t{\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}",
"i=0;",
"i=0",
"i",
"0",
"i<count",
"i",
"count",
"i++",
"i++",
"i",
"{\n\t\t\tfor(j=0;j<h[i];j++)\n\t\t\t{\n\t\t\t\tfor(k=0;k<w[i];k++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}",
"{\n\t\t\tfor(j=0;j<h[i];j++)\n\t\t\t{\n\t\t\t\tfor(k=0;k<w[i];k++)\n\t\t\t\t{\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}",
"for(j=0;j<h[i];j++)\n\t\t\t{\n\t\t\t\tfor(k=0;k<w[i];k++)\n\t\t\t\t{\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}",
"j=0;",
"j=0",
"j",
"0",
"j<h[i]",
"j",
"h[i]",
"h",
"i",
"j++",
"j++",
"j",
"{\n\t\t\t\tfor(k=0;k<w[i];k++)\n\t\t\t\t{\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(k=0;k<w[i];k++)\n\t\t\t\t{\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(k=0;k<w[i];k++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}",
"k=0;",
"k=0",
"k",
"0",
"k<w[i]",
"k",
"w[i]",
"w",
"i",
"k++",
"k++",
"k",
"{\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}",
"System.out.printf(\"#\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"System.out.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tint[] h = new int[300];\n\t\tint[] w = new int[300];\n\t\tScanner sc = new Scanner(System.in);\n\t\tint count=0,i=0,j=0,k=0;\n\t\twhile(true)\n\t\t{\n\t\t\th[count] = sc.nextInt();\n\t\t\tw[count] = sc.nextInt();\n\t\t\tif((h[count]==0)&&(w[count]==0))break;\n\t\t\tcount++;\n\t\t}\n\t\tfor(i=0;i<count;i++)\n\t\t{\n\t\t\tfor(j=0;j<h[i];j++)\n\t\t\t{\n\t\t\t\tfor(k=0;k<w[i];k++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tint[] h = new int[300];\n\t\tint[] w = new int[300];\n\t\tScanner sc = new Scanner(System.in);\n\t\tint count=0,i=0,j=0,k=0;\n\t\twhile(true)\n\t\t{\n\t\t\th[count] = sc.nextInt();\n\t\t\tw[count] = sc.nextInt();\n\t\t\tif((h[count]==0)&&(w[count]==0))break;\n\t\t\tcount++;\n\t\t}\n\t\tfor(i=0;i<count;i++)\n\t\t{\n\t\t\tfor(j=0;j<h[i];j++)\n\t\t\t{\n\t\t\t\tfor(k=0;k<w[i];k++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}\n\t}\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main
{
public static void main(String[] args)
{
int[] h = new int[300];
int[] w = new int[300];
Scanner sc = new Scanner(System.in);
int count=0,i=0,j=0,k=0;
while(true)
{
h[count] = sc.nextInt();
w[count] = sc.nextInt();
if((h[count]==0)&&(w[count]==0))break;
count++;
}
for(i=0;i<count;i++)
{
for(j=0;j<h[i];j++)
{
for(k=0;k<w[i];k++)
{
System.out.printf("#");
}
System.out.printf("\n");
}
System.out.printf("\n");
}
}
} |
[
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\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint intH;\n\t\tint intW;\n\t\twhile(true){\n\t\t\tintH = scan.nextInt();\n\t\t\tintW = scan.nextInt();\n\t\t\tif(intH == 0 && intW ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < intH; i++){\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\tSystem.out.println();\n\t\t}\n\n\t\tscan.close();\n\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 intH;\n\t\tint intW;\n\t\twhile(true){\n\t\t\tintH = scan.nextInt();\n\t\t\tintW = scan.nextInt();\n\t\t\tif(intH == 0 && intW ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < intH; i++){\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\tSystem.out.println();\n\t\t}\n\n\t\tscan.close();\n\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint intH;\n\t\tint intW;\n\t\twhile(true){\n\t\t\tintH = scan.nextInt();\n\t\t\tintW = scan.nextInt();\n\t\t\tif(intH == 0 && intW ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < intH; i++){\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\tSystem.out.println();\n\t\t}\n\n\t\tscan.close();\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint intH;\n\t\tint intW;\n\t\twhile(true){\n\t\t\tintH = scan.nextInt();\n\t\t\tintW = scan.nextInt();\n\t\t\tif(intH == 0 && intW ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < intH; i++){\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\tSystem.out.println();\n\t\t}\n\n\t\tscan.close();\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int intH;",
"intH",
"int intW;",
"intW",
"while(true){\n\t\t\tintH = scan.nextInt();\n\t\t\tintW = scan.nextInt();\n\t\t\tif(intH == 0 && intW ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < intH; i++){\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\tSystem.out.println();\n\t\t}",
"true",
"{\n\t\t\tintH = scan.nextInt();\n\t\t\tintW = scan.nextInt();\n\t\t\tif(intH == 0 && intW ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < intH; i++){\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\tSystem.out.println();\n\t\t}",
"intH = scan.nextInt()",
"intH",
"scan.nextInt()",
"scan.nextInt",
"scan",
"intW = scan.nextInt()",
"intW",
"scan.nextInt()",
"scan.nextInt",
"scan",
"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\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\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\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",
"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\tint intH;\n\t\tint intW;\n\t\twhile(true){\n\t\t\tintH = scan.nextInt();\n\t\t\tintW = scan.nextInt();\n\t\t\tif(intH == 0 && intW ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < intH; i++){\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\tSystem.out.println();\n\t\t}\n\n\t\tscan.close();\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint intH;\n\t\tint intW;\n\t\twhile(true){\n\t\t\tintH = scan.nextInt();\n\t\t\tintW = scan.nextInt();\n\t\t\tif(intH == 0 && intW ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int i = 0; i < intH; i++){\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\tSystem.out.println();\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){
Scanner scan = new Scanner(System.in);
int intH;
int intW;
while(true){
intH = scan.nextInt();
intW = scan.nextInt();
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();
}
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,
20,
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,
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,
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
],
[
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
],
[
8,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
28,
33
],
[
22,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
22,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
22,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
22,
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
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
71,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
22,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
6,
98
],
[
98,
99
],
[
0,
100
],
[
100,
101
],
[
100,
102
]
] | [
"import java.io.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb;\n\t\tString[] strs;\n\t\tint H, W;\n\t\t\n\t\tdo {\n\t\t\tsb = new StringBuilder();\n\t\t\t\n\t\t\tstrs = br.readLine().split(\"\\\\s+\");\n\t\t\t\n\t\t\tH = Integer.parseInt(strs[0]);\n\t\t\tW = Integer.parseInt(strs[1]);\n\t\t\t\n\t\t\tif (H == 0 && W == 0) break;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) sb.append(\"#\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sb);\n\t\t} while (true);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb;\n\t\tString[] strs;\n\t\tint H, W;\n\t\t\n\t\tdo {\n\t\t\tsb = new StringBuilder();\n\t\t\t\n\t\t\tstrs = br.readLine().split(\"\\\\s+\");\n\t\t\t\n\t\t\tH = Integer.parseInt(strs[0]);\n\t\t\tW = Integer.parseInt(strs[1]);\n\t\t\t\n\t\t\tif (H == 0 && W == 0) break;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) sb.append(\"#\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sb);\n\t\t} while (true);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb;\n\t\tString[] strs;\n\t\tint H, W;\n\t\t\n\t\tdo {\n\t\t\tsb = new StringBuilder();\n\t\t\t\n\t\t\tstrs = br.readLine().split(\"\\\\s+\");\n\t\t\t\n\t\t\tH = Integer.parseInt(strs[0]);\n\t\t\tW = Integer.parseInt(strs[1]);\n\t\t\t\n\t\t\tif (H == 0 && W == 0) break;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) sb.append(\"#\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sb);\n\t\t} while (true);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb;\n\t\tString[] strs;\n\t\tint H, W;\n\t\t\n\t\tdo {\n\t\t\tsb = new StringBuilder();\n\t\t\t\n\t\t\tstrs = br.readLine().split(\"\\\\s+\");\n\t\t\t\n\t\t\tH = Integer.parseInt(strs[0]);\n\t\t\tW = Integer.parseInt(strs[1]);\n\t\t\t\n\t\t\tif (H == 0 && W == 0) break;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) sb.append(\"#\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sb);\n\t\t} while (true);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb;",
"sb",
"String[] strs;",
"strs",
"int H",
"H",
"W;",
"W",
"do {\n\t\t\tsb = new StringBuilder();\n\t\t\t\n\t\t\tstrs = br.readLine().split(\"\\\\s+\");\n\t\t\t\n\t\t\tH = Integer.parseInt(strs[0]);\n\t\t\tW = Integer.parseInt(strs[1]);\n\t\t\t\n\t\t\tif (H == 0 && W == 0) break;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) sb.append(\"#\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sb);\n\t\t} while (true);",
"true",
"{\n\t\t\tsb = new StringBuilder();\n\t\t\t\n\t\t\tstrs = br.readLine().split(\"\\\\s+\");\n\t\t\t\n\t\t\tH = Integer.parseInt(strs[0]);\n\t\t\tW = Integer.parseInt(strs[1]);\n\t\t\t\n\t\t\tif (H == 0 && W == 0) break;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) sb.append(\"#\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sb);\n\t\t}",
"sb = new StringBuilder()",
"sb",
"new StringBuilder()",
"strs = br.readLine().split(\"\\\\s+\")",
"strs",
"br.readLine().split(\"\\\\s+\")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\"\\\\s+\"",
"H = Integer.parseInt(strs[0])",
"H",
"Integer.parseInt(strs[0])",
"Integer.parseInt",
"Integer",
"strs[0]",
"strs",
"0",
"W = Integer.parseInt(strs[1])",
"W",
"Integer.parseInt(strs[1])",
"Integer.parseInt",
"Integer",
"strs[1]",
"strs",
"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++) sb.append(\"#\");\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++) sb.append(\"#\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}",
"{\n\t\t\t\tfor (int j = 0; j < W; j++) sb.append(\"#\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}",
"for (int j = 0; j < W; j++) sb.append(\"#\");",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"sb.append(\"#\");",
"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[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb;\n\t\tString[] strs;\n\t\tint H, W;\n\t\t\n\t\tdo {\n\t\t\tsb = new StringBuilder();\n\t\t\t\n\t\t\tstrs = br.readLine().split(\"\\\\s+\");\n\t\t\t\n\t\t\tH = Integer.parseInt(strs[0]);\n\t\t\tW = Integer.parseInt(strs[1]);\n\t\t\t\n\t\t\tif (H == 0 && W == 0) break;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) sb.append(\"#\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sb);\n\t\t} while (true);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb;\n\t\tString[] strs;\n\t\tint H, W;\n\t\t\n\t\tdo {\n\t\t\tsb = new StringBuilder();\n\t\t\t\n\t\t\tstrs = br.readLine().split(\"\\\\s+\");\n\t\t\t\n\t\t\tH = Integer.parseInt(strs[0]);\n\t\t\tW = Integer.parseInt(strs[1]);\n\t\t\t\n\t\t\tif (H == 0 && W == 0) break;\n\t\t\t\n\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\tfor (int j = 0; j < W; j++) sb.append(\"#\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sb);\n\t\t} while (true);\n\t}\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb;
String[] strs;
int H, W;
do {
sb = new StringBuilder();
strs = br.readLine().split("\\s+");
H = Integer.parseInt(strs[0]);
W = Integer.parseInt(strs[1]);
if (H == 0 && W == 0) break;
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) sb.append("#");
sb.append("\n");
}
System.out.println(sb);
} while (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,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
48,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
35,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
6,
78
],
[
78,
79
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n do {\n int h = sc.nextInt();\n int l = sc.nextInt();\n\n if (h == 0 && l == 0) {\n break;\n } else {\n\n for (int i = 0; i < h; i++) {\n for (int j = 0; j < l; j++) {\n System.out.print('#');\n }\n System.out.println();\n }\n\n System.out.println();\n }\n\n } while (true);\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n do {\n int h = sc.nextInt();\n int l = sc.nextInt();\n\n if (h == 0 && l == 0) {\n break;\n } else {\n\n for (int i = 0; i < h; i++) {\n for (int j = 0; j < l; j++) {\n System.out.print('#');\n }\n System.out.println();\n }\n\n System.out.println();\n }\n\n } while (true);\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n do {\n int h = sc.nextInt();\n int l = sc.nextInt();\n\n if (h == 0 && l == 0) {\n break;\n } else {\n\n for (int i = 0; i < h; i++) {\n for (int j = 0; j < l; j++) {\n System.out.print('#');\n }\n System.out.println();\n }\n\n System.out.println();\n }\n\n } while (true);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n do {\n int h = sc.nextInt();\n int l = sc.nextInt();\n\n if (h == 0 && l == 0) {\n break;\n } else {\n\n for (int i = 0; i < h; i++) {\n for (int j = 0; j < l; j++) {\n System.out.print('#');\n }\n System.out.println();\n }\n\n System.out.println();\n }\n\n } while (true);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"do {\n int h = sc.nextInt();\n int l = sc.nextInt();\n\n if (h == 0 && l == 0) {\n break;\n } else {\n\n for (int i = 0; i < h; i++) {\n for (int j = 0; j < l; j++) {\n System.out.print('#');\n }\n System.out.println();\n }\n\n System.out.println();\n }\n\n } while (true);",
"true",
"{\n int h = sc.nextInt();\n int l = sc.nextInt();\n\n if (h == 0 && l == 0) {\n break;\n } else {\n\n for (int i = 0; i < h; i++) {\n for (int j = 0; j < l; j++) {\n System.out.print('#');\n }\n System.out.println();\n }\n\n System.out.println();\n }\n\n }",
"int h = sc.nextInt();",
"h",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int l = sc.nextInt();",
"l",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (h == 0 && l == 0) {\n break;\n } else {\n\n for (int i = 0; i < h; i++) {\n for (int j = 0; j < l; j++) {\n System.out.print('#');\n }\n System.out.println();\n }\n\n System.out.println();\n }",
"h == 0 && l == 0",
"h == 0",
"h",
"0",
"l == 0",
"l",
"0",
"{\n break;\n }",
"break;",
"{\n\n for (int i = 0; i < h; i++) {\n for (int j = 0; j < l; j++) {\n System.out.print('#');\n }\n System.out.println();\n }\n\n System.out.println();\n }",
"for (int i = 0; i < h; i++) {\n for (int j = 0; j < l; 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 < l; j++) {\n System.out.print('#');\n }\n System.out.println();\n }",
"{\n for (int j = 0; j < l; j++) {\n System.out.print('#');\n }\n System.out.println();\n }",
"for (int j = 0; j < l; j++) {\n System.out.print('#');\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < l",
"j",
"l",
"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.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
do {
int h = sc.nextInt();
int l = sc.nextInt();
if (h == 0 && l == 0) {
break;
} else {
for (int i = 0; i < h; i++) {
for (int j = 0; j < l; j++) {
System.out.print('#');
}
System.out.println();
}
System.out.println();
}
} while (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,
3,
4,
13,
13,
13,
4,
18,
18,
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,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
93,
5
],
[
93,
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
],
[
25,
34
],
[
34,
35
],
[
34,
36
],
[
34,
37
],
[
14,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
6,
46
],
[
46,
47
],
[
93,
48
],
[
48,
49
],
[
48,
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
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
64,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
63,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
48,
88
],
[
88,
89
],
[
48,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\telse\n\t\t\t\topi(x, y);\n\t\t\tSystem.out.println();\n\t\t}\n\t\tsc.close();\n\t}\n\n\tstatic void opi(int x, int y) {\n\t\tfor (int i = 0; i < x; i++) {\n\t\t\tfor (int j = 0; j < y; j++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\telse\n\t\t\t\topi(x, y);\n\t\t\tSystem.out.println();\n\t\t}\n\t\tsc.close();\n\t}\n\n\tstatic void opi(int x, int y) {\n\t\tfor (int i = 0; i < x; i++) {\n\t\t\tfor (int j = 0; j < y; 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\twhile (true) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\telse\n\t\t\t\topi(x, y);\n\t\t\tSystem.out.println();\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\telse\n\t\t\t\topi(x, y);\n\t\t\tSystem.out.println();\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 x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\telse\n\t\t\t\topi(x, y);\n\t\t\tSystem.out.println();\n\t\t}",
"true",
"{\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\telse\n\t\t\t\topi(x, y);\n\t\t\tSystem.out.println();\n\t\t}",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y = sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\telse\n\t\t\t\topi(x, y);",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"opi(x, y)",
"opi",
"x",
"y",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"static void opi(int x, int y) {\n\t\tfor (int i = 0; i < x; i++) {\n\t\t\tfor (int j = 0; j < y; j++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"opi",
"{\n\t\tfor (int i = 0; i < x; i++) {\n\t\t\tfor (int j = 0; j < y; 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 < x; i++) {\n\t\t\tfor (int j = 0; j < y; 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 < x",
"i",
"x",
"i++",
"i++",
"i",
"{\n\t\t\tfor (int j = 0; j < y; 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 < y; 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 < y; j++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < y",
"j",
"y",
"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 x",
"x",
"int y",
"y",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\telse\n\t\t\t\topi(x, y);\n\t\t\tSystem.out.println();\n\t\t}\n\t\tsc.close();\n\t}\n\n\tstatic void opi(int x, int y) {\n\t\tfor (int i = 0; i < x; i++) {\n\t\t\tfor (int j = 0; j < y; 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\twhile (true) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\telse\n\t\t\t\topi(x, y);\n\t\t\tSystem.out.println();\n\t\t}\n\t\tsc.close();\n\t}\n\n\tstatic void opi(int x, int y) {\n\t\tfor (int i = 0; i < x; i++) {\n\t\t\tfor (int j = 0; j < y; 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);
while (true) {
int x = sc.nextInt();
int y = sc.nextInt();
if (x == 0 && y == 0)
break;
else
opi(x, y);
System.out.println();
}
sc.close();
}
static void opi(int x, int y) {
for (int i = 0; i < x; i++) {
for (int j = 0; j < y; j++) {
System.out.print("#");
}
System.out.println();
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
13,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
129,
8
],
[
129,
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
],
[
11,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
31,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
50,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
63,
73
],
[
73,
74
],
[
74,
75
],
[
63,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
62,
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
],
[
99,
101
],
[
101,
102
],
[
101,
103
],
[
98,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
98,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
114,
116
],
[
111,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
118,
123
],
[
123,
124
],
[
123,
125
],
[
9,
126
],
[
126,
127
],
[
0,
128
],
[
128,
129
],
[
128,
130
]
] | [
"import java.io.*;\nimport java.util.Scanner;\n\n\n\npublic class Main {\n public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int H = 0;\n int W = 0;\n String w = \"\";\n int judge = 0;\n while(judge == 0){\n H = scan.nextInt();\n W = scan.nextInt();\n //wは繰り返し使うので、その都度初期化する\n if(judge == 0){\n w = \"\";\n }\n if(H == 0 && W == 0){\n judge = 1;\n }else{\n for(int i = 0;i <= W - 1;i++){ \n w = w + \"#\";\n }\n for(int I = 0;I <= H - 1;I++){\n if(I != H - 1){\n System.out.println(w);\n }else if(I == H - 1){\n System.out.println(w + \"\\r\\n\");\n }\n }\n }\n }\n \n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int H = 0;\n int W = 0;\n String w = \"\";\n int judge = 0;\n while(judge == 0){\n H = scan.nextInt();\n W = scan.nextInt();\n //wは繰り返し使うので、その都度初期化する\n if(judge == 0){\n w = \"\";\n }\n if(H == 0 && W == 0){\n judge = 1;\n }else{\n for(int i = 0;i <= W - 1;i++){ \n w = w + \"#\";\n }\n for(int I = 0;I <= H - 1;I++){\n if(I != H - 1){\n System.out.println(w);\n }else if(I == H - 1){\n System.out.println(w + \"\\r\\n\");\n }\n }\n }\n }\n \n }\n}",
"Main",
"public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int H = 0;\n int W = 0;\n String w = \"\";\n int judge = 0;\n while(judge == 0){\n H = scan.nextInt();\n W = scan.nextInt();\n //wは繰り返し使うので、その都度初期化する\n if(judge == 0){\n w = \"\";\n }\n if(H == 0 && W == 0){\n judge = 1;\n }else{\n for(int i = 0;i <= W - 1;i++){ \n w = w + \"#\";\n }\n for(int I = 0;I <= H - 1;I++){\n if(I != H - 1){\n System.out.println(w);\n }else if(I == H - 1){\n System.out.println(w + \"\\r\\n\");\n }\n }\n }\n }\n \n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int H = 0;\n int W = 0;\n String w = \"\";\n int judge = 0;\n while(judge == 0){\n H = scan.nextInt();\n W = scan.nextInt();\n //wは繰り返し使うので、その都度初期化する\n if(judge == 0){\n w = \"\";\n }\n if(H == 0 && W == 0){\n judge = 1;\n }else{\n for(int i = 0;i <= W - 1;i++){ \n w = w + \"#\";\n }\n for(int I = 0;I <= H - 1;I++){\n if(I != H - 1){\n System.out.println(w);\n }else if(I == H - 1){\n System.out.println(w + \"\\r\\n\");\n }\n }\n }\n }\n \n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int H = 0;",
"H",
"0",
"int W = 0;",
"W",
"0",
"String w = \"\";",
"w",
"\"\"",
"int judge = 0;",
"judge",
"0",
"while(judge == 0){\n H = scan.nextInt();\n W = scan.nextInt();\n //wは繰り返し使うので、その都度初期化する\n if(judge == 0){\n w = \"\";\n }\n if(H == 0 && W == 0){\n judge = 1;\n }else{\n for(int i = 0;i <= W - 1;i++){ \n w = w + \"#\";\n }\n for(int I = 0;I <= H - 1;I++){\n if(I != H - 1){\n System.out.println(w);\n }else if(I == H - 1){\n System.out.println(w + \"\\r\\n\");\n }\n }\n }\n }",
"judge == 0",
"judge",
"0",
"{\n H = scan.nextInt();\n W = scan.nextInt();\n //wは繰り返し使うので、その都度初期化する\n if(judge == 0){\n w = \"\";\n }\n if(H == 0 && W == 0){\n judge = 1;\n }else{\n for(int i = 0;i <= W - 1;i++){ \n w = w + \"#\";\n }\n for(int I = 0;I <= H - 1;I++){\n if(I != H - 1){\n System.out.println(w);\n }else if(I == H - 1){\n System.out.println(w + \"\\r\\n\");\n }\n }\n }\n }",
"H = scan.nextInt()",
"H",
"scan.nextInt()",
"scan.nextInt",
"scan",
"W = scan.nextInt()",
"W",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(judge == 0){\n w = \"\";\n }",
"judge == 0",
"judge",
"0",
"{\n w = \"\";\n }",
"w = \"\"",
"w",
"\"\"",
"if(H == 0 && W == 0){\n judge = 1;\n }else{\n for(int i = 0;i <= W - 1;i++){ \n w = w + \"#\";\n }\n for(int I = 0;I <= H - 1;I++){\n if(I != H - 1){\n System.out.println(w);\n }else if(I == H - 1){\n System.out.println(w + \"\\r\\n\");\n }\n }\n }",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n judge = 1;\n }",
"judge = 1",
"judge",
"1",
"{\n for(int i = 0;i <= W - 1;i++){ \n w = w + \"#\";\n }\n for(int I = 0;I <= H - 1;I++){\n if(I != H - 1){\n System.out.println(w);\n }else if(I == H - 1){\n System.out.println(w + \"\\r\\n\");\n }\n }\n }",
"for(int i = 0;i <= W - 1;i++){ \n w = w + \"#\";\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= W - 1",
"i",
"W - 1",
"W",
"1",
"i++",
"i++",
"i",
"{ \n w = w + \"#\";\n }",
"{ \n w = w + \"#\";\n }",
"w = w + \"#\"",
"w",
"w + \"#\"",
"w",
"\"#\"",
"for(int I = 0;I <= H - 1;I++){\n if(I != H - 1){\n System.out.println(w);\n }else if(I == H - 1){\n System.out.println(w + \"\\r\\n\");\n }\n }",
"int I = 0;",
"int I = 0;",
"I",
"0",
"I <= H - 1",
"I",
"H - 1",
"H",
"1",
"I++",
"I++",
"I",
"{\n if(I != H - 1){\n System.out.println(w);\n }else if(I == H - 1){\n System.out.println(w + \"\\r\\n\");\n }\n }",
"{\n if(I != H - 1){\n System.out.println(w);\n }else if(I == H - 1){\n System.out.println(w + \"\\r\\n\");\n }\n }",
"if(I != H - 1){\n System.out.println(w);\n }else if(I == H - 1){\n System.out.println(w + \"\\r\\n\");\n }",
"I != H - 1",
"I",
"H - 1",
"H",
"1",
"{\n System.out.println(w);\n }",
"System.out.println(w)",
"System.out.println",
"System.out",
"System",
"System.out",
"w",
"if(I == H - 1){\n System.out.println(w + \"\\r\\n\");\n }",
"I == H - 1",
"I",
"H - 1",
"H",
"1",
"{\n System.out.println(w + \"\\r\\n\");\n }",
"System.out.println(w + \"\\r\\n\")",
"System.out.println",
"System.out",
"System",
"System.out",
"w + \"\\r\\n\"",
"w",
"\"\\r\\n\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int H = 0;\n int W = 0;\n String w = \"\";\n int judge = 0;\n while(judge == 0){\n H = scan.nextInt();\n W = scan.nextInt();\n //wは繰り返し使うので、その都度初期化する\n if(judge == 0){\n w = \"\";\n }\n if(H == 0 && W == 0){\n judge = 1;\n }else{\n for(int i = 0;i <= W - 1;i++){ \n w = w + \"#\";\n }\n for(int I = 0;I <= H - 1;I++){\n if(I != H - 1){\n System.out.println(w);\n }else if(I == H - 1){\n System.out.println(w + \"\\r\\n\");\n }\n }\n }\n }\n \n }\n}",
"public class Main {\n public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int H = 0;\n int W = 0;\n String w = \"\";\n int judge = 0;\n while(judge == 0){\n H = scan.nextInt();\n W = scan.nextInt();\n //wは繰り返し使うので、その都度初期化する\n if(judge == 0){\n w = \"\";\n }\n if(H == 0 && W == 0){\n judge = 1;\n }else{\n for(int i = 0;i <= W - 1;i++){ \n w = w + \"#\";\n }\n for(int I = 0;I <= H - 1;I++){\n if(I != H - 1){\n System.out.println(w);\n }else if(I == H - 1){\n System.out.println(w + \"\\r\\n\");\n }\n }\n }\n }\n \n }\n}",
"Main"
] | import java.io.*;
import java.util.Scanner;
public class Main {
public static void main(String[] args)throws Exception{
Scanner scan = new Scanner(System.in);
int H = 0;
int W = 0;
String w = "";
int judge = 0;
while(judge == 0){
H = scan.nextInt();
W = scan.nextInt();
//wは繰り返し使うので、その都度初期化する
if(judge == 0){
w = "";
}
if(H == 0 && W == 0){
judge = 1;
}else{
for(int i = 0;i <= W - 1;i++){
w = w + "#";
}
for(int I = 0;I <= H - 1;I++){
if(I != H - 1){
System.out.println(w);
}else if(I == H - 1){
System.out.println(w + "\r\n");
}
}
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
20,
17,
42,
17,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
4,
18,
13,
17,
14,
2,
4,
18,
18,
13,
17,
17,
4,
18,
18,
13,
17,
17,
30,
3,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
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
],
[
127,
11
],
[
127,
12
],
[
12,
13
],
[
12,
14
],
[
127,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
17,
25
],
[
25,
26
],
[
25,
27
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
32,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
42,
47
],
[
39,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
49,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
48,
62
],
[
62,
63
],
[
39,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
69,
71
],
[
39,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
77,
79
],
[
39,
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
],
[
98,
99
],
[
98,
100
],
[
93,
101
],
[
101,
102
],
[
102,
103
],
[
93,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
92,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
39,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
118,
123
],
[
15,
124
],
[
124,
125
],
[
0,
126
],
[
126,
127
],
[
126,
128
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\nprivate static final int BIG_NUM=2000000000;\n\tpublic static void main(String[]args){\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint H,W;\n\t\tString work[]=new String[2];\n\t\t\n\t\twhile(true){\n\t\t\ttry{\n\t\t\t\twork=br.readLine().split(\"[\\\\s]+\");\n\t\t\t\t\n\t\t\t\tif(work[0].equals(\"0\") && work[1].equals(\"0\")){break;}\t//両方とも0だったらループを抜ける.\n\t\t\t\t\n\t\t\t\tH=Integer.parseInt(work[0]);\n\t\t\t\tW=Integer.parseInt(work[1]);\n\t\t\t\t\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\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t\n\t\t\t}catch(IOException e){\n\t\t\t\te.printStackTrace();\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\nprivate static final int BIG_NUM=2000000000;\n\tpublic static void main(String[]args){\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint H,W;\n\t\tString work[]=new String[2];\n\t\t\n\t\twhile(true){\n\t\t\ttry{\n\t\t\t\twork=br.readLine().split(\"[\\\\s]+\");\n\t\t\t\t\n\t\t\t\tif(work[0].equals(\"0\") && work[1].equals(\"0\")){break;}\t//両方とも0だったらループを抜ける.\n\t\t\t\t\n\t\t\t\tH=Integer.parseInt(work[0]);\n\t\t\t\tW=Integer.parseInt(work[1]);\n\t\t\t\t\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\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t\n\t\t\t}catch(IOException e){\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"private static final int BIG_NUM=2000000000;",
"BIG_NUM",
"2000000000",
"public static void main(String[]args){\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint H,W;\n\t\tString work[]=new String[2];\n\t\t\n\t\twhile(true){\n\t\t\ttry{\n\t\t\t\twork=br.readLine().split(\"[\\\\s]+\");\n\t\t\t\t\n\t\t\t\tif(work[0].equals(\"0\") && work[1].equals(\"0\")){break;}\t//両方とも0だったらループを抜ける.\n\t\t\t\t\n\t\t\t\tH=Integer.parseInt(work[0]);\n\t\t\t\tW=Integer.parseInt(work[1]);\n\t\t\t\t\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\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t\n\t\t\t}catch(IOException e){\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint H,W;\n\t\tString work[]=new String[2];\n\t\t\n\t\twhile(true){\n\t\t\ttry{\n\t\t\t\twork=br.readLine().split(\"[\\\\s]+\");\n\t\t\t\t\n\t\t\t\tif(work[0].equals(\"0\") && work[1].equals(\"0\")){break;}\t//両方とも0だったらループを抜ける.\n\t\t\t\t\n\t\t\t\tH=Integer.parseInt(work[0]);\n\t\t\t\tW=Integer.parseInt(work[1]);\n\t\t\t\t\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\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t\n\t\t\t}catch(IOException e){\n\t\t\t\te.printStackTrace();\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 H",
"H",
"W;",
"W",
"String work[]=new String[2];",
"work",
"new String[2]",
"2",
"while(true){\n\t\t\ttry{\n\t\t\t\twork=br.readLine().split(\"[\\\\s]+\");\n\t\t\t\t\n\t\t\t\tif(work[0].equals(\"0\") && work[1].equals(\"0\")){break;}\t//両方とも0だったらループを抜ける.\n\t\t\t\t\n\t\t\t\tH=Integer.parseInt(work[0]);\n\t\t\t\tW=Integer.parseInt(work[1]);\n\t\t\t\t\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\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t\n\t\t\t}catch(IOException e){\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\ttry{\n\t\t\t\twork=br.readLine().split(\"[\\\\s]+\");\n\t\t\t\t\n\t\t\t\tif(work[0].equals(\"0\") && work[1].equals(\"0\")){break;}\t//両方とも0だったらループを抜ける.\n\t\t\t\t\n\t\t\t\tH=Integer.parseInt(work[0]);\n\t\t\t\tW=Integer.parseInt(work[1]);\n\t\t\t\t\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\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t\n\t\t\t}catch(IOException e){\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"try{\n\t\t\t\twork=br.readLine().split(\"[\\\\s]+\");\n\t\t\t\t\n\t\t\t\tif(work[0].equals(\"0\") && work[1].equals(\"0\")){break;}\t//両方とも0だったらループを抜ける.\n\t\t\t\t\n\t\t\t\tH=Integer.parseInt(work[0]);\n\t\t\t\tW=Integer.parseInt(work[1]);\n\t\t\t\t\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\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t\n\t\t\t}catch(IOException e){\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"catch(IOException e){\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"IOException e",
"{\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\twork=br.readLine().split(\"[\\\\s]+\");\n\t\t\t\t\n\t\t\t\tif(work[0].equals(\"0\") && work[1].equals(\"0\")){break;}\t//両方とも0だったらループを抜ける.\n\t\t\t\t\n\t\t\t\tH=Integer.parseInt(work[0]);\n\t\t\t\tW=Integer.parseInt(work[1]);\n\t\t\t\t\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\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t\n\t\t\t}",
"work=br.readLine().split(\"[\\\\s]+\")",
"work",
"br.readLine().split(\"[\\\\s]+\")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\"[\\\\s]+\"",
"if(work[0].equals(\"0\") && work[1].equals(\"0\")){break;}\t//両方とも0だったらループを抜ける.",
"work[0].equals(\"0\") && work[1].equals(\"0\")",
"work[0].equals(\"0\")",
"work[0].equals",
"work[0]",
"work",
"0",
"\"0\"",
"work[1].equals(\"0\")",
"work[1].equals",
"work[1]",
"work",
"1",
"\"0\"",
"{break;}",
"break;",
"H=Integer.parseInt(work[0])",
"H",
"Integer.parseInt(work[0])",
"Integer.parseInt",
"Integer",
"work[0]",
"work",
"0",
"W=Integer.parseInt(work[1])",
"W",
"Integer.parseInt(work[1])",
"Integer.parseInt",
"Integer",
"work[1]",
"work",
"1",
"for(int i=0; i<H; i++) {\n\t\t\t\t\tfor(int j=0; j<W; j++) {\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tfor(int j=0; j<W; j++) {\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t}",
"{\n\t\t\t\t\tfor(int j=0; j<W; j++) {\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t}",
"for(int j=0; j<W; j++) {\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}",
"System.out.printf(\"#\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.printf(\"%n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%n\"",
"System.out.printf(\"%n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%n\"",
"String[]args",
"args",
"public class Main{\n\nprivate static final int BIG_NUM=2000000000;\n\tpublic static void main(String[]args){\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint H,W;\n\t\tString work[]=new String[2];\n\t\t\n\t\twhile(true){\n\t\t\ttry{\n\t\t\t\twork=br.readLine().split(\"[\\\\s]+\");\n\t\t\t\t\n\t\t\t\tif(work[0].equals(\"0\") && work[1].equals(\"0\")){break;}\t//両方とも0だったらループを抜ける.\n\t\t\t\t\n\t\t\t\tH=Integer.parseInt(work[0]);\n\t\t\t\tW=Integer.parseInt(work[1]);\n\t\t\t\t\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\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t\n\t\t\t}catch(IOException e){\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main{\n\nprivate static final int BIG_NUM=2000000000;\n\tpublic static void main(String[]args){\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint H,W;\n\t\tString work[]=new String[2];\n\t\t\n\t\twhile(true){\n\t\t\ttry{\n\t\t\t\twork=br.readLine().split(\"[\\\\s]+\");\n\t\t\t\t\n\t\t\t\tif(work[0].equals(\"0\") && work[1].equals(\"0\")){break;}\t//両方とも0だったらループを抜ける.\n\t\t\t\t\n\t\t\t\tH=Integer.parseInt(work[0]);\n\t\t\t\tW=Integer.parseInt(work[1]);\n\t\t\t\t\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\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%n\");\n\t\t\t\t\n\t\t\t}catch(IOException e){\n\t\t\t\te.printStackTrace();\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{
private static final int BIG_NUM=2000000000;
public static void main(String[]args){
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int H,W;
String work[]=new String[2];
while(true){
try{
work=br.readLine().split("[\\s]+");
if(work[0].equals("0") && work[1].equals("0")){break;} //両方とも0だったらループを抜ける.
H=Integer.parseInt(work[0]);
W=Integer.parseInt(work[1]);
//長方形を描画する
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(IOException e){
e.printStackTrace();
}
}
}
}
|
[
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,
41,
13,
20,
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,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
94,
5
],
[
94,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
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
],
[
39,
41
],
[
14,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
14,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
64,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
63,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
14,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
6,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
] | [
"import java.io.*;\n\npublic class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n StringBuilder sb = new StringBuilder();\n\n if( h == 0 && w == 0)break;\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 System.out.println(sb);\n }\n\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n StringBuilder sb = new StringBuilder();\n\n if( h == 0 && w == 0)break;\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 System.out.println(sb);\n }\n\n }\n}",
"Main",
"public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n StringBuilder sb = new StringBuilder();\n\n if( h == 0 && w == 0)break;\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 System.out.println(sb);\n }\n\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n StringBuilder sb = new StringBuilder();\n\n if( h == 0 && w == 0)break;\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 System.out.println(sb);\n }\n\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n StringBuilder sb = new StringBuilder();\n\n if( h == 0 && w == 0)break;\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 System.out.println(sb);\n }",
"true",
"{\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n StringBuilder sb = new StringBuilder();\n\n if( h == 0 && w == 0)break;\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 System.out.println(sb);\n }",
"String[] str = br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int h = Integer.parseInt(str[0]);",
"h",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"int w = Integer.parseInt(str[1]);",
"w",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"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 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\"",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[]args",
"args",
"public class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n StringBuilder sb = new StringBuilder();\n\n if( h == 0 && w == 0)break;\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 System.out.println(sb);\n }\n\n }\n}",
"public class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n String[] str = br.readLine().split(\" \");\n int h = Integer.parseInt(str[0]);\n int w = Integer.parseInt(str[1]);\n StringBuilder sb = new StringBuilder();\n\n if( h == 0 && w == 0)break;\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 System.out.println(sb);\n }\n\n }\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[]args)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String[] str = br.readLine().split(" ");
int h = Integer.parseInt(str[0]);
int w = Integer.parseInt(str[1]);
StringBuilder sb = new StringBuilder();
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");
}
System.out.println(sb);
}
}
} |
[
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,
17,
13,
2,
17,
13,
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
],
[
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
],
[
78,
81
],
[
64,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
17,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
8,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
6,
96
],
[
96,
97
]
] | [
"import java.io.*;\n\nclass Main\n{\n public static void main (String[ ] args) throws Exception\n {\n BufferedReader br = new BufferedReader (new InputStreamReader (System.in));\n StringBuffer sb = new StringBuffer();\n \n while(true)\n {\n String[] strAry = (br.readLine()).split(\" \");\n int h = Integer.parseInt(strAry[0]);\n int w = Integer.parseInt(strAry[1]);\n \n if(0 == h & 0 == w)\n {\n break;\n }\n\n for(int i = 0; i < h; i++)\n {\n for(int j = 0; j < w; j++)\n {\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{\n public static void main (String[ ] args) throws Exception\n {\n BufferedReader br = new BufferedReader (new InputStreamReader (System.in));\n StringBuffer sb = new StringBuffer();\n \n while(true)\n {\n String[] strAry = (br.readLine()).split(\" \");\n int h = Integer.parseInt(strAry[0]);\n int w = Integer.parseInt(strAry[1]);\n \n if(0 == h & 0 == w)\n {\n break;\n }\n\n for(int i = 0; i < h; i++)\n {\n for(int j = 0; j < w; j++)\n {\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 Exception\n {\n BufferedReader br = new BufferedReader (new InputStreamReader (System.in));\n StringBuffer sb = new StringBuffer();\n \n while(true)\n {\n String[] strAry = (br.readLine()).split(\" \");\n int h = Integer.parseInt(strAry[0]);\n int w = Integer.parseInt(strAry[1]);\n \n if(0 == h & 0 == w)\n {\n break;\n }\n\n for(int i = 0; i < h; i++)\n {\n for(int j = 0; j < w; j++)\n {\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 StringBuffer sb = new StringBuffer();\n \n while(true)\n {\n String[] strAry = (br.readLine()).split(\" \");\n int h = Integer.parseInt(strAry[0]);\n int w = Integer.parseInt(strAry[1]);\n \n if(0 == h & 0 == w)\n {\n break;\n }\n\n for(int i = 0; i < h; i++)\n {\n for(int j = 0; j < w; j++)\n {\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))",
"StringBuffer sb = new StringBuffer();",
"sb",
"new StringBuffer()",
"while(true)\n {\n String[] strAry = (br.readLine()).split(\" \");\n int h = Integer.parseInt(strAry[0]);\n int w = Integer.parseInt(strAry[1]);\n \n if(0 == h & 0 == w)\n {\n break;\n }\n\n for(int i = 0; i < h; i++)\n {\n for(int j = 0; j < w; j++)\n {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }",
"true",
"{\n String[] strAry = (br.readLine()).split(\" \");\n int h = Integer.parseInt(strAry[0]);\n int w = Integer.parseInt(strAry[1]);\n \n if(0 == h & 0 == w)\n {\n break;\n }\n\n for(int i = 0; i < h; i++)\n {\n for(int j = 0; j < w; j++)\n {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }",
"String[] strAry = (br.readLine()).split(\" \");",
"strAry",
"(br.readLine()).split(\" \")",
"(br.readLine()).split",
"(br.readLine())",
"br.readLine",
"br",
"\" \"",
"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(0 == h & 0 == w)\n {\n break;\n }",
"0 == h & 0 == w",
"0 == h",
"0",
"h",
"0 == w",
"0",
"w",
"{\n break;\n }",
"break;",
"for(int i = 0; i < h; i++)\n {\n for(int j = 0; j < w; j++)\n {\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 {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }",
"{\n for(int j = 0; j < w; j++)\n {\n sb.append(\"#\");\n }\n sb.append(\"\\n\");\n }",
"for(int j = 0; j < w; j++)\n {\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.io.*;
class Main
{
public static void main (String[ ] args) throws Exception
{
BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
StringBuffer sb = new StringBuffer();
while(true)
{
String[] strAry = (br.readLine()).split(" ");
int h = Integer.parseInt(strAry[0]);
int w = Integer.parseInt(strAry[1]);
if(0 == h & 0 == w)
{
break;
}
for(int i = 0; i < h; i++)
{
for(int j = 0; j < w; j++)
{
sb.append("#");
}
sb.append("\n");
}
sb.append("\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
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,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
4,
18,
13,
13,
4,
18,
13,
13,
30,
0,
13,
17,
3,
14,
2,
13,
17,
30,
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
],
[
151,
11
],
[
151,
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
],
[
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
],
[
48,
49
],
[
29,
50
],
[
50,
51
],
[
53,
52
],
[
60,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
60,
60
],
[
60,
61
],
[
60,
62
],
[
53,
63
],
[
63,
64
],
[
63,
65
],
[
50,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
66,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
50,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
14,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
85,
95
],
[
95,
96
],
[
96,
97
],
[
85,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
100,
111
],
[
111,
112
],
[
112,
113
],
[
100,
114
],
[
115,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
123,
126
],
[
116,
127
],
[
127,
128
],
[
128,
129
],
[
116,
130
],
[
131,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
132,
137
],
[
115,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
99,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
12,
148
],
[
148,
149
],
[
0,
150
],
[
150,
151
],
[
150,
152
]
] | [
"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\tScanner s = new Scanner(System.in);\n\t\tList<Integer> rows = new ArrayList<>();\n\t\tList<Integer> columns = new ArrayList<>();\n\t\tboolean flag=true;\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\tif(h>=1 && w>=1 && h<=300 && w<=300) {\n\t\t\t\trows.add(h);\n\t\t\t\tcolumns.add(w);\n\t\t\t}else {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif(flag == true) {\n\t\tfor(int i=0;i<rows.size();i++) {\n\t\t\tfor(int r=0;r<rows.get(i);r++) {\n\t\t\t\tfor(int c=0;c<columns.get(i);c++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\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\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tList<Integer> rows = new ArrayList<>();\n\t\tList<Integer> columns = new ArrayList<>();\n\t\tboolean flag=true;\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\tif(h>=1 && w>=1 && h<=300 && w<=300) {\n\t\t\t\trows.add(h);\n\t\t\t\tcolumns.add(w);\n\t\t\t}else {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif(flag == true) {\n\t\tfor(int i=0;i<rows.size();i++) {\n\t\t\tfor(int r=0;r<rows.get(i);r++) {\n\t\t\t\tfor(int c=0;c<columns.get(i);c++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\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\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tList<Integer> rows = new ArrayList<>();\n\t\tList<Integer> columns = new ArrayList<>();\n\t\tboolean flag=true;\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\tif(h>=1 && w>=1 && h<=300 && w<=300) {\n\t\t\t\trows.add(h);\n\t\t\t\tcolumns.add(w);\n\t\t\t}else {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif(flag == true) {\n\t\tfor(int i=0;i<rows.size();i++) {\n\t\t\tfor(int r=0;r<rows.get(i);r++) {\n\t\t\t\tfor(int c=0;c<columns.get(i);c++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tList<Integer> rows = new ArrayList<>();\n\t\tList<Integer> columns = new ArrayList<>();\n\t\tboolean flag=true;\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\tif(h>=1 && w>=1 && h<=300 && w<=300) {\n\t\t\t\trows.add(h);\n\t\t\t\tcolumns.add(w);\n\t\t\t}else {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif(flag == true) {\n\t\tfor(int i=0;i<rows.size();i++) {\n\t\t\tfor(int r=0;r<rows.get(i);r++) {\n\t\t\t\tfor(int c=0;c<columns.get(i);c++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\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 s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"List<Integer> rows = new ArrayList<>();",
"rows",
"new ArrayList<>()",
"List<Integer> columns = new ArrayList<>();",
"columns",
"new ArrayList<>()",
"boolean flag=true;",
"flag",
"true",
"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\tif(h>=1 && w>=1 && h<=300 && w<=300) {\n\t\t\t\trows.add(h);\n\t\t\t\tcolumns.add(w);\n\t\t\t}else {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\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\tif(h>=1 && w>=1 && h<=300 && w<=300) {\n\t\t\t\trows.add(h);\n\t\t\t\tcolumns.add(w);\n\t\t\t}else {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\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;",
"if(h>=1 && w>=1 && h<=300 && w<=300) {\n\t\t\t\trows.add(h);\n\t\t\t\tcolumns.add(w);\n\t\t\t}else {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}",
"h>=1 && w>=1 && h<=300 && w<=300",
"h<=300",
"h>=1 && w>=1 && h<=300 && w<=300",
"h>=1",
"h",
"1",
"w>=1",
"w",
"1",
"h<=300",
"h",
"300",
"w<=300",
"w",
"300",
"{\n\t\t\t\trows.add(h);\n\t\t\t\tcolumns.add(w);\n\t\t\t}",
"rows.add(h)",
"rows.add",
"rows",
"h",
"columns.add(w)",
"columns.add",
"columns",
"w",
"{\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}",
"flag = false",
"flag",
"false",
"break;",
"if(flag == true) {\n\t\tfor(int i=0;i<rows.size();i++) {\n\t\t\tfor(int r=0;r<rows.get(i);r++) {\n\t\t\t\tfor(int c=0;c<columns.get(i);c++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\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}",
"flag == true",
"flag",
"true",
"{\n\t\tfor(int i=0;i<rows.size();i++) {\n\t\t\tfor(int r=0;r<rows.get(i);r++) {\n\t\t\t\tfor(int c=0;c<columns.get(i);c++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\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}",
"for(int i=0;i<rows.size();i++) {\n\t\t\tfor(int r=0;r<rows.get(i);r++) {\n\t\t\t\tfor(int c=0;c<columns.get(i);c++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\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<rows.size()",
"i",
"rows.size()",
"rows.size",
"rows",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int r=0;r<rows.get(i);r++) {\n\t\t\t\tfor(int c=0;c<columns.get(i);c++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\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 r=0;r<rows.get(i);r++) {\n\t\t\t\tfor(int c=0;c<columns.get(i);c++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\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 r=0;r<rows.get(i);r++) {\n\t\t\t\tfor(int c=0;c<columns.get(i);c++) {\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 r=0;",
"int r=0;",
"r",
"0",
"r<rows.get(i)",
"r",
"rows.get(i)",
"rows.get",
"rows",
"i",
"r++",
"r++",
"r",
"{\n\t\t\t\tfor(int c=0;c<columns.get(i);c++) {\n\t\t\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 c=0;c<columns.get(i);c++) {\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 c=0;c<columns.get(i);c++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int c=0;",
"int c=0;",
"c",
"0",
"c<columns.get(i)",
"c",
"columns.get(i)",
"columns.get",
"columns",
"i",
"c++",
"c++",
"c",
"{\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 s = new Scanner(System.in);\n\t\tList<Integer> rows = new ArrayList<>();\n\t\tList<Integer> columns = new ArrayList<>();\n\t\tboolean flag=true;\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\tif(h>=1 && w>=1 && h<=300 && w<=300) {\n\t\t\t\trows.add(h);\n\t\t\t\tcolumns.add(w);\n\t\t\t}else {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif(flag == true) {\n\t\tfor(int i=0;i<rows.size();i++) {\n\t\t\tfor(int r=0;r<rows.get(i);r++) {\n\t\t\t\tfor(int c=0;c<columns.get(i);c++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\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\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tList<Integer> rows = new ArrayList<>();\n\t\tList<Integer> columns = new ArrayList<>();\n\t\tboolean flag=true;\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\tif(h>=1 && w>=1 && h<=300 && w<=300) {\n\t\t\t\trows.add(h);\n\t\t\t\tcolumns.add(w);\n\t\t\t}else {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif(flag == true) {\n\t\tfor(int i=0;i<rows.size();i++) {\n\t\t\tfor(int r=0;r<rows.get(i);r++) {\n\t\t\t\tfor(int c=0;c<columns.get(i);c++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\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\n}",
"Main"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
List<Integer> rows = new ArrayList<>();
List<Integer> columns = new ArrayList<>();
boolean flag=true;
while (true) {
int h = s.nextInt();
int w = s.nextInt();
if(h==0 && w==0) {
break;
}
if(h>=1 && w>=1 && h<=300 && w<=300) {
rows.add(h);
columns.add(w);
}else {
flag = false;
break;
}
}
if(flag == true) {
for(int i=0;i<rows.size();i++) {
for(int r=0;r<rows.get(i);r++) {
for(int c=0;c<columns.get(i);c++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
38,
5,
13,
30,
4,
18,
13,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
17,
8,
2,
4,
18,
13,
17,
40,
17,
4,
18,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
2,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
4,
18,
13,
17,
8,
2,
4,
18,
13,
17,
40,
17,
4,
18,
13,
4,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
29,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
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
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
17,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
44,
49
],
[
49,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
33,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
63,
68
],
[
33,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
74,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
79,
84
],
[
84,
85
],
[
78,
86
],
[
86,
87
],
[
87,
88
],
[
78,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
33,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
98,
100
],
[
93,
101
],
[
101,
102
],
[
33,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
108,
109
],
[
108,
110
],
[
103,
111
],
[
111,
112
],
[
112,
113
],
[
103,
114
],
[
115,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
121,
122
],
[
121,
123
],
[
116,
124
],
[
124,
125
],
[
125,
126
],
[
116,
127
],
[
128,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
115,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
33,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
9,
145
],
[
145,
146
],
[
0,
147
],
[
147,
148
],
[
147,
149
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tInteger H = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger W = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\treturn;\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\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\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) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tInteger H = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger W = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\treturn;\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\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tInteger H = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger W = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\treturn;\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\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tInteger H = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger W = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\treturn;\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\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String buffer;",
"buffer",
"try {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tInteger H = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger W = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\treturn;\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\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}",
"catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}",
"Exception ex",
"{\n\t\t\tex.printStackTrace();\n\t\t}",
"ex.printStackTrace()",
"ex.printStackTrace",
"ex",
"{\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tInteger H = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger W = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\treturn;\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\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}",
"while ((buffer = reader.readLine()) != null) {\n\t\t\t\tInteger H = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger W = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\treturn;\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\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}",
"(buffer = reader.readLine()) != null",
"(buffer = reader.readLine())",
"buffer",
"reader.readLine()",
"reader.readLine",
"reader",
"null",
"{\n\t\t\t\tInteger H = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger W = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\treturn;\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\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}",
"Integer H = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));",
"H",
"Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")))",
"Integer.valueOf",
"Integer",
"buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))",
"buffer.substring",
"buffer",
"0",
"buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")",
"buffer.indexOf(\" \") == -1",
"buffer.indexOf(\" \")",
"buffer.indexOf",
"buffer",
"\" \"",
"-1",
"1",
"buffer.length()",
"buffer.length",
"buffer",
"buffer.indexOf(\" \")",
"buffer.indexOf",
"buffer",
"\" \"",
"buffer = buffer.substring(buffer.indexOf(\" \") + 1)",
"buffer",
"buffer.substring(buffer.indexOf(\" \") + 1)",
"buffer.substring",
"buffer",
"buffer.indexOf(\" \") + 1",
"buffer.indexOf(\" \")",
"buffer.indexOf",
"buffer",
"\" \"",
"1",
"Integer W = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));",
"W",
"Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")))",
"Integer.valueOf",
"Integer",
"buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))",
"buffer.substring",
"buffer",
"0",
"buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")",
"buffer.indexOf(\" \") == -1",
"buffer.indexOf(\" \")",
"buffer.indexOf",
"buffer",
"\" \"",
"-1",
"1",
"buffer.length()",
"buffer.length",
"buffer",
"buffer.indexOf(\" \")",
"buffer.indexOf",
"buffer",
"\" \"",
"if (H == 0 && W == 0) {\n\t\t\t\t\treturn;\n\t\t\t\t}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n\t\t\t\t\treturn;\n\t\t\t\t}",
"return;",
"for (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"{\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"for (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tInteger H = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger W = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\treturn;\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\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tInteger H = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger W = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\treturn;\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\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String buffer;
try {
while ((buffer = reader.readLine()) != null) {
Integer H = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ") == -1 ? buffer.length() : buffer.indexOf(" ")));
buffer = buffer.substring(buffer.indexOf(" ") + 1);
Integer W = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ") == -1 ? buffer.length() : buffer.indexOf(" ")));
if (H == 0 && W == 0) {
return;
}
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
} catch (Exception ex) {
ex.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
41,
13,
41,
13,
20,
42,
17,
30,
41,
13,
20,
17,
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,
30,
0,
18,
13,
17,
13,
0,
18,
13,
17,
13,
4,
18,
13,
13,
41,
13,
41,
13,
28,
13,
13,
30,
30,
0,
13,
18,
13,
17,
0,
13,
18,
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
] | [
[
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
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
24,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
48,
53
],
[
41,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
41,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
67,
69
],
[
41,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
70,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
80,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
80,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
31,
95
],
[
95,
96
],
[
31,
97
],
[
97,
98
],
[
31,
99
],
[
99,
100
],
[
99,
101
],
[
99,
102
],
[
103,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
106,
108
],
[
103,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
111,
113
],
[
103,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
119,
120
],
[
119,
121
],
[
114,
122
],
[
122,
123
],
[
123,
124
],
[
114,
125
],
[
126,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
132,
133
],
[
132,
134
],
[
127,
135
],
[
135,
136
],
[
136,
137
],
[
127,
138
],
[
139,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
140,
145
],
[
126,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
103,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
15,
156
],
[
156,
157
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tint H, W;\n\t\t\tArrayList<int[]> list = new ArrayList<int[]>();\n\t\t\tdo {\n\t\t\t\tint[] ret = new int[2];\n\t\t\t\tString[] input = br.readLine().split(\" \");\n\t\t\t\tH = Integer.parseInt(input[0]);\n\t\t\t\tW = Integer.parseInt(input[1]);\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tret[0] = H;\n\t\t\t\t\tret[1] = W;\n\t\t\t\t\tlist.add(ret);\n\t\t\t\t}\n\t\t\t} while (true);\n\n\t\t\tint x, y;\n\t\t\tfor (int[] e : list) {\n\t\t\t\tH = e[0];\n\t\t\t\tW = e[1];\n\t\t\t\tfor (x = 0; x < H; x++) {\n\t\t\t\t\tfor (y = 0; y < W; y++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tint H, W;\n\t\t\tArrayList<int[]> list = new ArrayList<int[]>();\n\t\t\tdo {\n\t\t\t\tint[] ret = new int[2];\n\t\t\t\tString[] input = br.readLine().split(\" \");\n\t\t\t\tH = Integer.parseInt(input[0]);\n\t\t\t\tW = Integer.parseInt(input[1]);\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tret[0] = H;\n\t\t\t\t\tret[1] = W;\n\t\t\t\t\tlist.add(ret);\n\t\t\t\t}\n\t\t\t} while (true);\n\n\t\t\tint x, y;\n\t\t\tfor (int[] e : list) {\n\t\t\t\tH = e[0];\n\t\t\t\tW = e[1];\n\t\t\t\tfor (x = 0; x < H; x++) {\n\t\t\t\t\tfor (y = 0; y < W; y++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tint H, W;\n\t\t\tArrayList<int[]> list = new ArrayList<int[]>();\n\t\t\tdo {\n\t\t\t\tint[] ret = new int[2];\n\t\t\t\tString[] input = br.readLine().split(\" \");\n\t\t\t\tH = Integer.parseInt(input[0]);\n\t\t\t\tW = Integer.parseInt(input[1]);\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tret[0] = H;\n\t\t\t\t\tret[1] = W;\n\t\t\t\t\tlist.add(ret);\n\t\t\t\t}\n\t\t\t} while (true);\n\n\t\t\tint x, y;\n\t\t\tfor (int[] e : list) {\n\t\t\t\tH = e[0];\n\t\t\t\tW = e[1];\n\t\t\t\tfor (x = 0; x < H; x++) {\n\t\t\t\t\tfor (y = 0; y < W; y++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tint H, W;\n\t\t\tArrayList<int[]> list = new ArrayList<int[]>();\n\t\t\tdo {\n\t\t\t\tint[] ret = new int[2];\n\t\t\t\tString[] input = br.readLine().split(\" \");\n\t\t\t\tH = Integer.parseInt(input[0]);\n\t\t\t\tW = Integer.parseInt(input[1]);\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tret[0] = H;\n\t\t\t\t\tret[1] = W;\n\t\t\t\t\tlist.add(ret);\n\t\t\t\t}\n\t\t\t} while (true);\n\n\t\t\tint x, y;\n\t\t\tfor (int[] e : list) {\n\t\t\t\tH = e[0];\n\t\t\t\tW = e[1];\n\t\t\t\tfor (x = 0; x < H; x++) {\n\t\t\t\t\tfor (y = 0; y < W; y++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"try {\n\t\t\tint H, W;\n\t\t\tArrayList<int[]> list = new ArrayList<int[]>();\n\t\t\tdo {\n\t\t\t\tint[] ret = new int[2];\n\t\t\t\tString[] input = br.readLine().split(\" \");\n\t\t\t\tH = Integer.parseInt(input[0]);\n\t\t\t\tW = Integer.parseInt(input[1]);\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tret[0] = H;\n\t\t\t\t\tret[1] = W;\n\t\t\t\t\tlist.add(ret);\n\t\t\t\t}\n\t\t\t} while (true);\n\n\t\t\tint x, y;\n\t\t\tfor (int[] e : list) {\n\t\t\t\tH = e[0];\n\t\t\t\tW = e[1];\n\t\t\t\tfor (x = 0; x < H; x++) {\n\t\t\t\t\tfor (y = 0; y < W; y++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tint H, W;\n\t\t\tArrayList<int[]> list = new ArrayList<int[]>();\n\t\t\tdo {\n\t\t\t\tint[] ret = new int[2];\n\t\t\t\tString[] input = br.readLine().split(\" \");\n\t\t\t\tH = Integer.parseInt(input[0]);\n\t\t\t\tW = Integer.parseInt(input[1]);\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tret[0] = H;\n\t\t\t\t\tret[1] = W;\n\t\t\t\t\tlist.add(ret);\n\t\t\t\t}\n\t\t\t} while (true);\n\n\t\t\tint x, y;\n\t\t\tfor (int[] e : list) {\n\t\t\t\tH = e[0];\n\t\t\t\tW = e[1];\n\t\t\t\tfor (x = 0; x < H; x++) {\n\t\t\t\t\tfor (y = 0; y < W; y++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\n\t\t}",
"int H",
"H",
"W;",
"W",
"ArrayList<int[]> list = new ArrayList<int[]>();",
"list",
"new ArrayList<int[]>()",
"do {\n\t\t\t\tint[] ret = new int[2];\n\t\t\t\tString[] input = br.readLine().split(\" \");\n\t\t\t\tH = Integer.parseInt(input[0]);\n\t\t\t\tW = Integer.parseInt(input[1]);\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tret[0] = H;\n\t\t\t\t\tret[1] = W;\n\t\t\t\t\tlist.add(ret);\n\t\t\t\t}\n\t\t\t} while (true);",
"true",
"{\n\t\t\t\tint[] ret = new int[2];\n\t\t\t\tString[] input = br.readLine().split(\" \");\n\t\t\t\tH = Integer.parseInt(input[0]);\n\t\t\t\tW = Integer.parseInt(input[1]);\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tret[0] = H;\n\t\t\t\t\tret[1] = W;\n\t\t\t\t\tlist.add(ret);\n\t\t\t\t}\n\t\t\t}",
"int[] ret = new int[2];",
"ret",
"new int[2]",
"2",
"String[] input = br.readLine().split(\" \");",
"input",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"H = Integer.parseInt(input[0])",
"H",
"Integer.parseInt(input[0])",
"Integer.parseInt",
"Integer",
"input[0]",
"input",
"0",
"W = Integer.parseInt(input[1])",
"W",
"Integer.parseInt(input[1])",
"Integer.parseInt",
"Integer",
"input[1]",
"input",
"1",
"if (H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tret[0] = H;\n\t\t\t\t\tret[1] = W;\n\t\t\t\t\tlist.add(ret);\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;",
"{\n\t\t\t\t\tret[0] = H;\n\t\t\t\t\tret[1] = W;\n\t\t\t\t\tlist.add(ret);\n\t\t\t\t}",
"ret[0] = H",
"ret[0]",
"ret",
"0",
"H",
"ret[1] = W",
"ret[1]",
"ret",
"1",
"W",
"list.add(ret)",
"list.add",
"list",
"ret",
"int x",
"x",
"y;",
"y",
"for (int[] e : list) {\n\t\t\t\tH = e[0];\n\t\t\t\tW = e[1];\n\t\t\t\tfor (x = 0; x < H; x++) {\n\t\t\t\t\tfor (y = 0; y < W; y++) {\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}",
"int[] e",
"list",
"{\n\t\t\t\tH = e[0];\n\t\t\t\tW = e[1];\n\t\t\t\tfor (x = 0; x < H; x++) {\n\t\t\t\t\tfor (y = 0; y < W; y++) {\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\t\tH = e[0];\n\t\t\t\tW = e[1];\n\t\t\t\tfor (x = 0; x < H; x++) {\n\t\t\t\t\tfor (y = 0; y < W; y++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"H = e[0]",
"H",
"e[0]",
"e",
"0",
"W = e[1]",
"W",
"e[1]",
"e",
"1",
"for (x = 0; x < H; x++) {\n\t\t\t\t\tfor (y = 0; y < W; y++) {\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}",
"x = 0;",
"x = 0",
"x",
"0",
"x < H",
"x",
"H",
"x++",
"x++",
"x",
"{\n\t\t\t\t\tfor (y = 0; y < W; y++) {\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 (y = 0; y < W; y++) {\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 (y = 0; y < W; y++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"y = 0;",
"y = 0",
"y",
"0",
"y < W",
"y",
"W",
"y++",
"y++",
"y",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
class Main {
public static void main(String[] args) {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
try {
int H, W;
ArrayList<int[]> list = new ArrayList<int[]>();
do {
int[] ret = new int[2];
String[] input = br.readLine().split(" ");
H = Integer.parseInt(input[0]);
W = Integer.parseInt(input[1]);
if (H == 0 && W == 0) {
break;
} else {
ret[0] = H;
ret[1] = W;
list.add(ret);
}
} while (true);
int x, y;
for (int[] e : list) {
H = e[0];
W = e[1];
for (x = 0; x < H; x++) {
for (y = 0; y < W; y++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
4,
18,
13,
17,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
4,
18,
13,
42,
2,
4,
18,
13,
17,
17,
30,
0,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
18,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
18,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
17,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
124,
8
],
[
124,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
11,
14
],
[
124,
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
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
28,
35
],
[
35,
36
],
[
28,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
28,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
43,
48
],
[
42,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
49,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
66,
68
],
[
56,
69
],
[
69,
70
],
[
70,
71
],
[
56,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
84,
86
],
[
74,
87
],
[
87,
88
],
[
88,
89
],
[
74,
90
],
[
91,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
73,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
49,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
49,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
106,
110
],
[
110,
111
],
[
111,
112
],
[
49,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
28,
118
],
[
118,
119
],
[
119,
120
],
[
15,
121
],
[
121,
122
],
[
0,
123
],
[
123,
124
],
[
123,
125
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tprivate static final String BR = System.getProperty(\"line.separator\");\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\t\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\tString[] strArray;\t\n\t\t\tString line = br.readLine();\n\t\t\t\n\t\t\twhile(line.equals(\"0 0\") == false){\t\n\t\t\t\tstrArray = line.split(\"\\\\s\");\n\t\t\t\tfor (int i = 0; i < Integer.parseInt(strArray[0]); i++) {\n\t\t\t\t\tfor (int j = 0; j < Integer.parseInt(strArray[1]); j++) {\n\t\t\t\t\t\ts.append(\"#\");\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\ts.append(BR);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(s);\n\t\t\t\ts.delete(0, s.length());\n\t\t\t\tline = br.readLine();\t\t\t\n\t\t\t}\t\t\t\t\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tprivate static final String BR = System.getProperty(\"line.separator\");\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\t\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\tString[] strArray;\t\n\t\t\tString line = br.readLine();\n\t\t\t\n\t\t\twhile(line.equals(\"0 0\") == false){\t\n\t\t\t\tstrArray = line.split(\"\\\\s\");\n\t\t\t\tfor (int i = 0; i < Integer.parseInt(strArray[0]); i++) {\n\t\t\t\t\tfor (int j = 0; j < Integer.parseInt(strArray[1]); j++) {\n\t\t\t\t\t\ts.append(\"#\");\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\ts.append(BR);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(s);\n\t\t\t\ts.delete(0, s.length());\n\t\t\t\tline = br.readLine();\t\t\t\n\t\t\t}\t\t\t\t\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}\n}",
"Main",
"private static final String BR = System.getProperty(\"line.separator\");",
"BR",
"System.getProperty(\"line.separator\")",
"System.getProperty",
"System",
"\"line.separator\"",
"public static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\t\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\tString[] strArray;\t\n\t\t\tString line = br.readLine();\n\t\t\t\n\t\t\twhile(line.equals(\"0 0\") == false){\t\n\t\t\t\tstrArray = line.split(\"\\\\s\");\n\t\t\t\tfor (int i = 0; i < Integer.parseInt(strArray[0]); i++) {\n\t\t\t\t\tfor (int j = 0; j < Integer.parseInt(strArray[1]); j++) {\n\t\t\t\t\t\ts.append(\"#\");\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\ts.append(BR);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(s);\n\t\t\t\ts.delete(0, s.length());\n\t\t\t\tline = br.readLine();\t\t\t\n\t\t\t}\t\t\t\t\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}",
"main",
"{\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\t\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\tString[] strArray;\t\n\t\t\tString line = br.readLine();\n\t\t\t\n\t\t\twhile(line.equals(\"0 0\") == false){\t\n\t\t\t\tstrArray = line.split(\"\\\\s\");\n\t\t\t\tfor (int i = 0; i < Integer.parseInt(strArray[0]); i++) {\n\t\t\t\t\tfor (int j = 0; j < Integer.parseInt(strArray[1]); j++) {\n\t\t\t\t\t\ts.append(\"#\");\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\ts.append(BR);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(s);\n\t\t\t\ts.delete(0, s.length());\n\t\t\t\tline = br.readLine();\t\t\t\n\t\t\t}\t\t\t\t\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}",
"try {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\t\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\tString[] strArray;\t\n\t\t\tString line = br.readLine();\n\t\t\t\n\t\t\twhile(line.equals(\"0 0\") == false){\t\n\t\t\t\tstrArray = line.split(\"\\\\s\");\n\t\t\t\tfor (int i = 0; i < Integer.parseInt(strArray[0]); i++) {\n\t\t\t\t\tfor (int j = 0; j < Integer.parseInt(strArray[1]); j++) {\n\t\t\t\t\t\ts.append(\"#\");\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\ts.append(BR);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(s);\n\t\t\t\ts.delete(0, s.length());\n\t\t\t\tline = br.readLine();\t\t\t\n\t\t\t}\t\t\t\t\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}",
"catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}",
"Exception e",
"{\n\t\t\tSystem.err.println(e);\n\t\t}",
"System.err.println(e)",
"System.err.println",
"System.err",
"System",
"System.err",
"e",
"{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\t\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\tString[] strArray;\t\n\t\t\tString line = br.readLine();\n\t\t\t\n\t\t\twhile(line.equals(\"0 0\") == false){\t\n\t\t\t\tstrArray = line.split(\"\\\\s\");\n\t\t\t\tfor (int i = 0; i < Integer.parseInt(strArray[0]); i++) {\n\t\t\t\t\tfor (int j = 0; j < Integer.parseInt(strArray[1]); j++) {\n\t\t\t\t\t\ts.append(\"#\");\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\ts.append(BR);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(s);\n\t\t\t\ts.delete(0, s.length());\n\t\t\t\tline = br.readLine();\t\t\t\n\t\t\t}\t\t\t\t\n\t\t\tbr.close();\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));",
"br",
"new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in))",
"StringBuilder s = new StringBuilder();",
"s",
"new StringBuilder()",
"String[] strArray;",
"strArray",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"while(line.equals(\"0 0\") == false){\t\n\t\t\t\tstrArray = line.split(\"\\\\s\");\n\t\t\t\tfor (int i = 0; i < Integer.parseInt(strArray[0]); i++) {\n\t\t\t\t\tfor (int j = 0; j < Integer.parseInt(strArray[1]); j++) {\n\t\t\t\t\t\ts.append(\"#\");\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\ts.append(BR);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(s);\n\t\t\t\ts.delete(0, s.length());\n\t\t\t\tline = br.readLine();\t\t\t\n\t\t\t}",
"line.equals(\"0 0\") == false",
"line.equals(\"0 0\")",
"line.equals",
"line",
"\"0 0\"",
"false",
"{\t\n\t\t\t\tstrArray = line.split(\"\\\\s\");\n\t\t\t\tfor (int i = 0; i < Integer.parseInt(strArray[0]); i++) {\n\t\t\t\t\tfor (int j = 0; j < Integer.parseInt(strArray[1]); j++) {\n\t\t\t\t\t\ts.append(\"#\");\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\ts.append(BR);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(s);\n\t\t\t\ts.delete(0, s.length());\n\t\t\t\tline = br.readLine();\t\t\t\n\t\t\t}",
"strArray = line.split(\"\\\\s\")",
"strArray",
"line.split(\"\\\\s\")",
"line.split",
"line",
"\"\\\\s\"",
"for (int i = 0; i < Integer.parseInt(strArray[0]); i++) {\n\t\t\t\t\tfor (int j = 0; j < Integer.parseInt(strArray[1]); j++) {\n\t\t\t\t\t\ts.append(\"#\");\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\ts.append(BR);\n\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < Integer.parseInt(strArray[0])",
"i",
"Integer.parseInt(strArray[0])",
"Integer.parseInt",
"Integer",
"strArray[0]",
"strArray",
"0",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tfor (int j = 0; j < Integer.parseInt(strArray[1]); j++) {\n\t\t\t\t\t\ts.append(\"#\");\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\ts.append(BR);\n\t\t\t\t}",
"{\n\t\t\t\t\tfor (int j = 0; j < Integer.parseInt(strArray[1]); j++) {\n\t\t\t\t\t\ts.append(\"#\");\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\ts.append(BR);\n\t\t\t\t}",
"for (int j = 0; j < Integer.parseInt(strArray[1]); j++) {\n\t\t\t\t\t\ts.append(\"#\");\t\t\t\t\t\t\n\t\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < Integer.parseInt(strArray[1])",
"j",
"Integer.parseInt(strArray[1])",
"Integer.parseInt",
"Integer",
"strArray[1]",
"strArray",
"1",
"j++",
"j++",
"j",
"{\n\t\t\t\t\t\ts.append(\"#\");\t\t\t\t\t\t\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\ts.append(\"#\");\t\t\t\t\t\t\n\t\t\t\t\t}",
"s.append(\"#\")",
"s.append",
"s",
"\"#\"",
"s.append(BR)",
"s.append",
"s",
"BR",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"s.delete(0, s.length())",
"s.delete",
"s",
"0",
"s.length()",
"s.length",
"s",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"br.close()",
"br.close",
"br",
"String[] args",
"args",
"public class Main {\n\tprivate static final String BR = System.getProperty(\"line.separator\");\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\t\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\tString[] strArray;\t\n\t\t\tString line = br.readLine();\n\t\t\t\n\t\t\twhile(line.equals(\"0 0\") == false){\t\n\t\t\t\tstrArray = line.split(\"\\\\s\");\n\t\t\t\tfor (int i = 0; i < Integer.parseInt(strArray[0]); i++) {\n\t\t\t\t\tfor (int j = 0; j < Integer.parseInt(strArray[1]); j++) {\n\t\t\t\t\t\ts.append(\"#\");\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\ts.append(BR);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(s);\n\t\t\t\ts.delete(0, s.length());\n\t\t\t\tline = br.readLine();\t\t\t\n\t\t\t}\t\t\t\t\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}\n}",
"public class Main {\n\tprivate static final String BR = System.getProperty(\"line.separator\");\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\t\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\tString[] strArray;\t\n\t\t\tString line = br.readLine();\n\t\t\t\n\t\t\twhile(line.equals(\"0 0\") == false){\t\n\t\t\t\tstrArray = line.split(\"\\\\s\");\n\t\t\t\tfor (int i = 0; i < Integer.parseInt(strArray[0]); i++) {\n\t\t\t\t\tfor (int j = 0; j < Integer.parseInt(strArray[1]); j++) {\n\t\t\t\t\t\ts.append(\"#\");\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\ts.append(BR);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(s);\n\t\t\t\ts.delete(0, s.length());\n\t\t\t\tline = br.readLine();\t\t\t\n\t\t\t}\t\t\t\t\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
private static final String BR = System.getProperty("line.separator");
public static void main(String[] args) {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(
System.in));
StringBuilder s = new StringBuilder();
String[] strArray;
String line = br.readLine();
while(line.equals("0 0") == false){
strArray = line.split("\\s");
for (int i = 0; i < Integer.parseInt(strArray[0]); i++) {
for (int j = 0; j < Integer.parseInt(strArray[1]); j++) {
s.append("#");
}
s.append(BR);
}
System.out.println(s);
s.delete(0, s.length());
line = br.readLine();
}
br.close();
} catch (Exception e) {
System.err.println(e);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
40,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
4,
13,
13,
13,
13,
4,
18,
13,
17,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
17,
23,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
128,
8
],
[
128,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
28,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
28,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
28,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
28,
62
],
[
62,
63
],
[
62,
64
],
[
62,
65
],
[
62,
66
],
[
11,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
9,
71
],
[
71,
72
],
[
128,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
84,
86
],
[
79,
87
],
[
87,
88
],
[
88,
89
],
[
79,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
75,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
102,
103
],
[
102,
104
],
[
97,
105
],
[
105,
106
],
[
106,
107
],
[
97,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
75,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
73,
121
],
[
121,
122
],
[
73,
123
],
[
123,
124
],
[
73,
125
],
[
125,
126
],
[
0,
127
],
[
127,
128
],
[
127,
129
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tString[] se = s.split(\" \");\n\t\t\tint h = Integer.valueOf(se[0]);\n\t\t\tint w = Integer.valueOf(se[1]);\n\t\t\tif (h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(inCnt, h, w);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, int h, int w) {\n\t\tString p = \"\";\n\t\tfor (int i = 0; i < w; i++)\n\t\t\tp = p.concat(\"#\");\n\t\tfor (int i = 0; i < h; i++)\n\t\t\tSystem.out.println(p);\n\t\tSystem.out.println(\"\");\n\t}\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\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tString[] se = s.split(\" \");\n\t\t\tint h = Integer.valueOf(se[0]);\n\t\t\tint w = Integer.valueOf(se[1]);\n\t\t\tif (h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(inCnt, h, w);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, int h, int w) {\n\t\tString p = \"\";\n\t\tfor (int i = 0; i < w; i++)\n\t\t\tp = p.concat(\"#\");\n\t\tfor (int i = 0; i < h; i++)\n\t\t\tSystem.out.println(p);\n\t\tSystem.out.println(\"\");\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tString[] se = s.split(\" \");\n\t\t\tint h = Integer.valueOf(se[0]);\n\t\t\tint w = Integer.valueOf(se[1]);\n\t\t\tif (h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(inCnt, h, w);\n\t\t}\n\t\tSystem.exit(0);\n\t}",
"main",
"{\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tString[] se = s.split(\" \");\n\t\t\tint h = Integer.valueOf(se[0]);\n\t\t\tint w = Integer.valueOf(se[1]);\n\t\t\tif (h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(inCnt, h, w);\n\t\t}\n\t\tSystem.exit(0);\n\t}",
"BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));",
"stdIn",
"new BufferedReader(new InputStreamReader(System.in))",
"String s;",
"s",
"int inCnt = 0;",
"inCnt",
"0",
"while ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tString[] se = s.split(\" \");\n\t\t\tint h = Integer.valueOf(se[0]);\n\t\t\tint w = Integer.valueOf(se[1]);\n\t\t\tif (h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(inCnt, h, w);\n\t\t}",
"(s = stdIn.readLine()) != null",
"(s = stdIn.readLine())",
"s",
"stdIn.readLine()",
"stdIn.readLine",
"stdIn",
"null",
"{\n\t\t\tinCnt++;\n\t\t\tString[] se = s.split(\" \");\n\t\t\tint h = Integer.valueOf(se[0]);\n\t\t\tint w = Integer.valueOf(se[1]);\n\t\t\tif (h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(inCnt, h, w);\n\t\t}",
"inCnt++",
"inCnt",
"String[] se = s.split(\" \");",
"se",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"int h = Integer.valueOf(se[0]);",
"h",
"Integer.valueOf(se[0])",
"Integer.valueOf",
"Integer",
"se[0]",
"se",
"0",
"int w = Integer.valueOf(se[1]);",
"w",
"Integer.valueOf(se[1])",
"Integer.valueOf",
"Integer",
"se[1]",
"se",
"1",
"if (h == 0 && w == 0)\n\t\t\t\tbreak;",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"break;",
"doMain(inCnt, h, w)",
"doMain",
"inCnt",
"h",
"w",
"System.exit(0)",
"System.exit",
"System",
"0",
"String[] args",
"args",
"private static void doMain(int inCnt, int h, int w) {\n\t\tString p = \"\";\n\t\tfor (int i = 0; i < w; i++)\n\t\t\tp = p.concat(\"#\");\n\t\tfor (int i = 0; i < h; i++)\n\t\t\tSystem.out.println(p);\n\t\tSystem.out.println(\"\");\n\t}",
"doMain",
"{\n\t\tString p = \"\";\n\t\tfor (int i = 0; i < w; i++)\n\t\t\tp = p.concat(\"#\");\n\t\tfor (int i = 0; i < h; i++)\n\t\t\tSystem.out.println(p);\n\t\tSystem.out.println(\"\");\n\t}",
"String p = \"\";",
"p",
"\"\"",
"for (int i = 0; i < w; i++)\n\t\t\tp = p.concat(\"#\");",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < w",
"i",
"w",
"i++",
"i++",
"i",
"p = p.concat(\"#\");",
"p = p.concat(\"#\")",
"p",
"p.concat(\"#\")",
"p.concat",
"p",
"\"#\"",
"for (int i = 0; i < h; i++)\n\t\t\tSystem.out.println(p);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"System.out.println(p);",
"System.out.println(p)",
"System.out.println",
"System.out",
"System",
"System.out",
"p",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"int inCnt",
"inCnt",
"int h",
"h",
"int w",
"w",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tString[] se = s.split(\" \");\n\t\t\tint h = Integer.valueOf(se[0]);\n\t\t\tint w = Integer.valueOf(se[1]);\n\t\t\tif (h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(inCnt, h, w);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, int h, int w) {\n\t\tString p = \"\";\n\t\tfor (int i = 0; i < w; i++)\n\t\t\tp = p.concat(\"#\");\n\t\tfor (int i = 0; i < h; i++)\n\t\t\tSystem.out.println(p);\n\t\tSystem.out.println(\"\");\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tString[] se = s.split(\" \");\n\t\t\tint h = Integer.valueOf(se[0]);\n\t\t\tint w = Integer.valueOf(se[1]);\n\t\t\tif (h == 0 && w == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(inCnt, h, w);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, int h, int w) {\n\t\tString p = \"\";\n\t\tfor (int i = 0; i < w; i++)\n\t\t\tp = p.concat(\"#\");\n\t\tfor (int i = 0; i < h; i++)\n\t\t\tSystem.out.println(p);\n\t\tSystem.out.println(\"\");\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
String s;
int inCnt = 0;
while ((s = stdIn.readLine()) != null) {
inCnt++;
String[] se = s.split(" ");
int h = Integer.valueOf(se[0]);
int w = Integer.valueOf(se[1]);
if (h == 0 && w == 0)
break;
doMain(inCnt, h, w);
}
System.exit(0);
}
private static void doMain(int inCnt, int h, int w) {
String p = "";
for (int i = 0; i < w; i++)
p = p.concat("#");
for (int i = 0; i < h; i++)
System.out.println(p);
System.out.println("");
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
81,
5
],
[
81,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
48,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
35,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
6,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\n\t\tScanner scan = new Scanner(System.in);\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\t\t\t}else{\n\t\t\t\tfor(int a = 0; a < h; a++){\n\t\t\t\t\tfor(int b = 0; b < w; b++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args){\n\n\t\tScanner scan = new Scanner(System.in);\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\t\t\t}else{\n\t\t\t\tfor(int a = 0; a < h; a++){\n\t\t\t\t\tfor(int b = 0; b < w; b++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\n\t\tScanner scan = new Scanner(System.in);\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\t\t\t}else{\n\t\t\t\tfor(int a = 0; a < h; a++){\n\t\t\t\t\tfor(int b = 0; b < w; b++){\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\n\t\tScanner scan = new Scanner(System.in);\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\t\t\t}else{\n\t\t\t\tfor(int a = 0; a < h; a++){\n\t\t\t\t\tfor(int b = 0; b < w; b++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\t}",
"Scanner 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\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tfor(int a = 0; a < h; a++){\n\t\t\t\t\tfor(int b = 0; b < w; b++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tint h = scan.nextInt();\n\t\t\tint w = scan.nextInt();\n\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tfor(int a = 0; a < h; a++){\n\t\t\t\t\tfor(int b = 0; b < w; b++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}",
"int h = 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}else{\n\t\t\t\tfor(int a = 0; a < h; a++){\n\t\t\t\t\tfor(int b = 0; b < w; b++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tfor(int a = 0; a < h; a++){\n\t\t\t\t\tfor(int b = 0; b < w; b++){\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 a = 0; a < h; a++){\n\t\t\t\t\tfor(int b = 0; b < w; b++){\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 a = 0;",
"int a = 0;",
"a",
"0",
"a < h",
"a",
"h",
"a++",
"a++",
"a",
"{\n\t\t\t\t\tfor(int b = 0; b < w; b++){\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 b = 0; b < w; b++){\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 b = 0; b < w; b++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}",
"int b = 0;",
"int b = 0;",
"b",
"0",
"b < w",
"b",
"w",
"b++",
"b++",
"b",
"{\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}",
"System.out.print('#')",
"System.out.print",
"System.out",
"System",
"System.out",
"'#'",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\n\t\tScanner scan = new Scanner(System.in);\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\t\t\t}else{\n\t\t\t\tfor(int a = 0; a < h; a++){\n\t\t\t\t\tfor(int b = 0; b < w; b++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\n\t\tScanner scan = new Scanner(System.in);\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\t\t\t}else{\n\t\t\t\tfor(int a = 0; a < h; a++){\n\t\t\t\t\tfor(int b = 0; b < w; b++){\n\t\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
while(true){
int h = scan.nextInt();
int w = scan.nextInt();
if(h == 0 && w == 0){
break;
}else{
for(int a = 0; a < h; a++){
for(int b = 0; b < w; b++){
System.out.print('#');
}
System.out.println();
}
System.out.println();
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
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,
20,
28,
13,
13,
30,
30,
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,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
107,
11
],
[
107,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
14,
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
],
[
27,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
14,
51
],
[
51,
52
],
[
51,
53
],
[
51,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
56,
66
],
[
66,
67
],
[
67,
68
],
[
56,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
71,
81
],
[
81,
82
],
[
82,
83
],
[
71,
84
],
[
85,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
70,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
55,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
12,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
] | [
"\nimport java.awt.*;\nimport java.util.*;\nimport java.util.List;\n\n/**\n * q\n * Created by khrom on 2017/06/15.\n */\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n List<Point> rectList = new ArrayList<>();\n\n int h;\n int w;\n while (true) {\n h = scanner.nextInt();\n w = scanner.nextInt();\n if (h == 0 && w == 0)\n break;\n rectList.add(new Point(w, h));\n }\n\n for (Point point : rectList) {\n for (int i = 0; i < point.getY(); i++) {\n for (int j = 0; j < point.getX(); j++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n }\n }\n}",
"import java.awt.*;",
"awt.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n List<Point> rectList = new ArrayList<>();\n\n int h;\n int w;\n while (true) {\n h = scanner.nextInt();\n w = scanner.nextInt();\n if (h == 0 && w == 0)\n break;\n rectList.add(new Point(w, h));\n }\n\n for (Point point : rectList) {\n for (int i = 0; i < point.getY(); i++) {\n for (int j = 0; j < point.getX(); j++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n List<Point> rectList = new ArrayList<>();\n\n int h;\n int w;\n while (true) {\n h = scanner.nextInt();\n w = scanner.nextInt();\n if (h == 0 && w == 0)\n break;\n rectList.add(new Point(w, h));\n }\n\n for (Point point : rectList) {\n for (int i = 0; i < point.getY(); i++) {\n for (int j = 0; j < point.getX(); j++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n List<Point> rectList = new ArrayList<>();\n\n int h;\n int w;\n while (true) {\n h = scanner.nextInt();\n w = scanner.nextInt();\n if (h == 0 && w == 0)\n break;\n rectList.add(new Point(w, h));\n }\n\n for (Point point : rectList) {\n for (int i = 0; i < point.getY(); i++) {\n for (int j = 0; j < point.getX(); j++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"List<Point> rectList = new ArrayList<>();",
"rectList",
"new ArrayList<>()",
"int h;",
"h",
"int w;",
"w",
"while (true) {\n h = scanner.nextInt();\n w = scanner.nextInt();\n if (h == 0 && w == 0)\n break;\n rectList.add(new Point(w, h));\n }",
"true",
"{\n h = scanner.nextInt();\n w = scanner.nextInt();\n if (h == 0 && w == 0)\n break;\n rectList.add(new Point(w, h));\n }",
"h = scanner.nextInt()",
"h",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"w = scanner.nextInt()",
"w",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (h == 0 && w == 0)\n break;",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"break;",
"rectList.add(new Point(w, h))",
"rectList.add",
"rectList",
"new Point(w, h)",
"for (Point point : rectList) {\n for (int i = 0; i < point.getY(); i++) {\n for (int j = 0; j < point.getX(); j++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n }",
"Point point",
"rectList",
"{\n for (int i = 0; i < point.getY(); i++) {\n for (int j = 0; j < point.getX(); j++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n }",
"{\n for (int i = 0; i < point.getY(); i++) {\n for (int j = 0; j < point.getX(); j++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n }",
"for (int i = 0; i < point.getY(); i++) {\n for (int j = 0; j < point.getX(); j++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < point.getY()",
"i",
"point.getY()",
"point.getY",
"point",
"i++",
"i++",
"i",
"{\n for (int j = 0; j < point.getX(); j++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }",
"{\n for (int j = 0; j < point.getX(); j++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }",
"for (int j = 0; j < point.getX(); j++) {\n System.out.print(\"#\");\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < point.getX()",
"j",
"point.getX()",
"point.getX",
"point",
"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.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n List<Point> rectList = new ArrayList<>();\n\n int h;\n int w;\n while (true) {\n h = scanner.nextInt();\n w = scanner.nextInt();\n if (h == 0 && w == 0)\n break;\n rectList.add(new Point(w, h));\n }\n\n for (Point point : rectList) {\n for (int i = 0; i < point.getY(); i++) {\n for (int j = 0; j < point.getX(); j++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n List<Point> rectList = new ArrayList<>();\n\n int h;\n int w;\n while (true) {\n h = scanner.nextInt();\n w = scanner.nextInt();\n if (h == 0 && w == 0)\n break;\n rectList.add(new Point(w, h));\n }\n\n for (Point point : rectList) {\n for (int i = 0; i < point.getY(); i++) {\n for (int j = 0; j < point.getX(); j++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n }\n }\n}",
"Main"
] |
import java.awt.*;
import java.util.*;
import java.util.List;
/**
* q
* Created by khrom on 2017/06/15.
*/
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
List<Point> rectList = new ArrayList<>();
int h;
int w;
while (true) {
h = scanner.nextInt();
w = scanner.nextInt();
if (h == 0 && w == 0)
break;
rectList.add(new Point(w, h));
}
for (Point point : rectList) {
for (int i = 0; i < point.getY(); i++) {
for (int j = 0; j < point.getX(); j++) {
System.out.print("#");
}
System.out.print("\n");
}
System.out.print("\n");
}
}
} |
[
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,
30,
4,
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
],
[
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
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
18,
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
],
[
18,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
6,
82
],
[
82,
83
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint h, w;\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\twhile (true) {\n\n\t\t\th = stdIn.nextInt();\n\t\t\tw = stdIn.nextInt();\n\n\t\t\tif((h+w) == 0) {\n\t\t\t\tSystem.exit(0);\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}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint h, w;\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\twhile (true) {\n\n\t\t\th = stdIn.nextInt();\n\t\t\tw = stdIn.nextInt();\n\n\t\t\tif((h+w) == 0) {\n\t\t\t\tSystem.exit(0);\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}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tint h, w;\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\twhile (true) {\n\n\t\t\th = stdIn.nextInt();\n\t\t\tw = stdIn.nextInt();\n\n\t\t\tif((h+w) == 0) {\n\t\t\t\tSystem.exit(0);\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}",
"main",
"{\n\n\t\tint h, w;\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\twhile (true) {\n\n\t\t\th = stdIn.nextInt();\n\t\t\tw = stdIn.nextInt();\n\n\t\t\tif((h+w) == 0) {\n\t\t\t\tSystem.exit(0);\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}",
"int h",
"h",
"w;",
"w",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"while (true) {\n\n\t\t\th = stdIn.nextInt();\n\t\t\tw = stdIn.nextInt();\n\n\t\t\tif((h+w) == 0) {\n\t\t\t\tSystem.exit(0);\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\n\t\t\th = stdIn.nextInt();\n\t\t\tw = stdIn.nextInt();\n\n\t\t\tif((h+w) == 0) {\n\t\t\t\tSystem.exit(0);\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}",
"h = stdIn.nextInt()",
"h",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"w = stdIn.nextInt()",
"w",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"if((h+w) == 0) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}",
"(h+w) == 0",
"(h+w)",
"h",
"w",
"0",
"{\n\t\t\t\tSystem.exit(0);\n\t\t\t}",
"System.exit(0)",
"System.exit",
"System",
"0",
"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) {
int h, w;
Scanner stdIn = new Scanner(System.in);
while (true) {
h = stdIn.nextInt();
w = stdIn.nextInt();
if((h+w) == 0) {
System.exit(0);
}
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,
41,
13,
17,
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,
30,
4,
18,
13,
13,
4,
18,
13,
13,
0,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
41,
13,
17,
42,
2,
13,
4,
18,
13,
13,
30,
41,
13,
17,
42,
2,
13,
4,
18,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
40,
13,
4,
18,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
0,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
123,
5
],
[
123,
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
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
53,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
53,
62
],
[
62,
63
],
[
62,
64
],
[
8,
65
],
[
65,
66
],
[
65,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
76,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
93,
94
],
[
93,
95
],
[
87,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
96,
103
],
[
103,
104
],
[
83,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
83,
110
],
[
110,
111
],
[
72,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
72,
117
],
[
117,
118
],
[
117,
119
],
[
6,
120
],
[
120,
121
],
[
0,
122
],
[
122,
123
],
[
122,
124
]
] | [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tLinkedList<Integer> ll = new LinkedList<>();\n\t\t\n\t\tint H = 999;\n\t\tint W = 999;\n\t\t\n\t\tint cnt = 0;\n\t\t\n\t\t//?????????????´?\n\t\twhile(H != 0 || W != 0) {\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\t} else {\n\t\t\t\tll.add(H);\n\t\t\t\tll.add(W);\n\t\t\t\tcnt+=2;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint k = 0;\n\t\twhile(k < cnt) {\n\t\t\tint j = 0;\n\t\t\twhile(j < ll.get(k)) {\n\t\t\t\tint i = 0;\n\t\t\t\twhile(i < ll.get(k+1)) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\tk+=2;\n\t\t}\n\t\t\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tLinkedList<Integer> ll = new LinkedList<>();\n\t\t\n\t\tint H = 999;\n\t\tint W = 999;\n\t\t\n\t\tint cnt = 0;\n\t\t\n\t\t//?????????????´?\n\t\twhile(H != 0 || W != 0) {\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\t} else {\n\t\t\t\tll.add(H);\n\t\t\t\tll.add(W);\n\t\t\t\tcnt+=2;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint k = 0;\n\t\twhile(k < cnt) {\n\t\t\tint j = 0;\n\t\t\twhile(j < ll.get(k)) {\n\t\t\t\tint i = 0;\n\t\t\t\twhile(i < ll.get(k+1)) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\tk+=2;\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\tLinkedList<Integer> ll = new LinkedList<>();\n\t\t\n\t\tint H = 999;\n\t\tint W = 999;\n\t\t\n\t\tint cnt = 0;\n\t\t\n\t\t//?????????????´?\n\t\twhile(H != 0 || W != 0) {\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\t} else {\n\t\t\t\tll.add(H);\n\t\t\t\tll.add(W);\n\t\t\t\tcnt+=2;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint k = 0;\n\t\twhile(k < cnt) {\n\t\t\tint j = 0;\n\t\t\twhile(j < ll.get(k)) {\n\t\t\t\tint i = 0;\n\t\t\t\twhile(i < ll.get(k+1)) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\tk+=2;\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tLinkedList<Integer> ll = new LinkedList<>();\n\t\t\n\t\tint H = 999;\n\t\tint W = 999;\n\t\t\n\t\tint cnt = 0;\n\t\t\n\t\t//?????????????´?\n\t\twhile(H != 0 || W != 0) {\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\t} else {\n\t\t\t\tll.add(H);\n\t\t\t\tll.add(W);\n\t\t\t\tcnt+=2;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint k = 0;\n\t\twhile(k < cnt) {\n\t\t\tint j = 0;\n\t\t\twhile(j < ll.get(k)) {\n\t\t\t\tint i = 0;\n\t\t\t\twhile(i < ll.get(k+1)) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\tk+=2;\n\t\t}\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"LinkedList<Integer> ll = new LinkedList<>();",
"ll",
"new LinkedList<>()",
"int H = 999;",
"H",
"999",
"int W = 999;",
"W",
"999",
"int cnt = 0;",
"cnt",
"0",
"while(H != 0 || W != 0) {\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\t} else {\n\t\t\t\tll.add(H);\n\t\t\t\tll.add(W);\n\t\t\t\tcnt+=2;\n\t\t\t}\n\t\t}",
"H != 0 || W != 0",
"H != 0",
"H",
"0",
"W != 0",
"W",
"0",
"{\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\t} else {\n\t\t\t\tll.add(H);\n\t\t\t\tll.add(W);\n\t\t\t\tcnt+=2;\n\t\t\t}\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;\n\t\t\t} else {\n\t\t\t\tll.add(H);\n\t\t\t\tll.add(W);\n\t\t\t\tcnt+=2;\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\tll.add(H);\n\t\t\t\tll.add(W);\n\t\t\t\tcnt+=2;\n\t\t\t}",
"ll.add(H)",
"ll.add",
"ll",
"H",
"ll.add(W)",
"ll.add",
"ll",
"W",
"cnt+=2",
"cnt",
"2",
"int k = 0;",
"k",
"0",
"while(k < cnt) {\n\t\t\tint j = 0;\n\t\t\twhile(j < ll.get(k)) {\n\t\t\t\tint i = 0;\n\t\t\t\twhile(i < ll.get(k+1)) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\tk+=2;\n\t\t}",
"k < cnt",
"k",
"cnt",
"{\n\t\t\tint j = 0;\n\t\t\twhile(j < ll.get(k)) {\n\t\t\t\tint i = 0;\n\t\t\t\twhile(i < ll.get(k+1)) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\tk+=2;\n\t\t}",
"int j = 0;",
"j",
"0",
"while(j < ll.get(k)) {\n\t\t\t\tint i = 0;\n\t\t\t\twhile(i < ll.get(k+1)) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t\tj++;\n\t\t\t}",
"j < ll.get(k)",
"j",
"ll.get(k)",
"ll.get",
"ll",
"k",
"{\n\t\t\t\tint i = 0;\n\t\t\t\twhile(i < ll.get(k+1)) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t\tj++;\n\t\t\t}",
"int i = 0;",
"i",
"0",
"while(i < ll.get(k+1)) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}",
"i < ll.get(k+1)",
"i",
"ll.get(k+1)",
"ll.get",
"ll",
"k+1",
"k",
"1",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"i++",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"j++",
"j",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"k+=2",
"k",
"2",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tLinkedList<Integer> ll = new LinkedList<>();\n\t\t\n\t\tint H = 999;\n\t\tint W = 999;\n\t\t\n\t\tint cnt = 0;\n\t\t\n\t\t//?????????????´?\n\t\twhile(H != 0 || W != 0) {\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\t} else {\n\t\t\t\tll.add(H);\n\t\t\t\tll.add(W);\n\t\t\t\tcnt+=2;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint k = 0;\n\t\twhile(k < cnt) {\n\t\t\tint j = 0;\n\t\t\twhile(j < ll.get(k)) {\n\t\t\t\tint i = 0;\n\t\t\t\twhile(i < ll.get(k+1)) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\tk+=2;\n\t\t}\n\t\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tLinkedList<Integer> ll = new LinkedList<>();\n\t\t\n\t\tint H = 999;\n\t\tint W = 999;\n\t\t\n\t\tint cnt = 0;\n\t\t\n\t\t//?????????????´?\n\t\twhile(H != 0 || W != 0) {\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\t} else {\n\t\t\t\tll.add(H);\n\t\t\t\tll.add(W);\n\t\t\t\tcnt+=2;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint k = 0;\n\t\twhile(k < cnt) {\n\t\t\tint j = 0;\n\t\t\twhile(j < ll.get(k)) {\n\t\t\t\tint i = 0;\n\t\t\t\twhile(i < ll.get(k+1)) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\tk+=2;\n\t\t}\n\t\t\n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
LinkedList<Integer> ll = new LinkedList<>();
int H = 999;
int W = 999;
int cnt = 0;
//?????????????´?
while(H != 0 || W != 0) {
H = sc.nextInt();
W = sc.nextInt();
if(H == 0 && W == 0) {
break;
} else {
ll.add(H);
ll.add(W);
cnt+=2;
}
}
int k = 0;
while(k < cnt) {
int j = 0;
while(j < ll.get(k)) {
int i = 0;
while(i < ll.get(k+1)) {
System.out.print("#");
i++;
}
System.out.println();
j++;
}
System.out.println();
k+=2;
}
}
} |
[
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,
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
],
[
87,
5
],
[
87,
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
],
[
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
],
[
72,
77
],
[
20,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
6,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc=new Scanner(System.in);\n int i=0,j=0;\n while(true){\n int H=sc.nextInt();\n int W=sc.nextInt();\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.print(\"\\n\");\n }\nSystem.out.print(\"\\n\");\n }\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner sc=new Scanner(System.in);\n int i=0,j=0;\n while(true){\n int H=sc.nextInt();\n int W=sc.nextInt();\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.print(\"\\n\");\n }\nSystem.out.print(\"\\n\");\n }\n}\n}",
"Main",
"public static void main(String[] args){\n Scanner sc=new Scanner(System.in);\n int i=0,j=0;\n while(true){\n int H=sc.nextInt();\n int W=sc.nextInt();\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.print(\"\\n\");\n }\nSystem.out.print(\"\\n\");\n }\n}",
"main",
"{\n Scanner sc=new Scanner(System.in);\n int i=0,j=0;\n while(true){\n int H=sc.nextInt();\n int W=sc.nextInt();\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.print(\"\\n\");\n }\nSystem.out.print(\"\\n\");\n }\n}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i=0",
"i",
"0",
"j=0;",
"j",
"0",
"while(true){\n int H=sc.nextInt();\n int W=sc.nextInt();\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.print(\"\\n\");\n }\nSystem.out.print(\"\\n\");\n }",
"true",
"{\n int H=sc.nextInt();\n int W=sc.nextInt();\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.print(\"\\n\");\n }\nSystem.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(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.print(\"\\n\");\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.print(\"\\n\");\n }",
"{\n for(j=0;j<W;j++){\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\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.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc=new Scanner(System.in);\n int i=0,j=0;\n while(true){\n int H=sc.nextInt();\n int W=sc.nextInt();\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.print(\"\\n\");\n }\nSystem.out.print(\"\\n\");\n }\n}\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc=new Scanner(System.in);\n int i=0,j=0;\n while(true){\n int H=sc.nextInt();\n int W=sc.nextInt();\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.print(\"\\n\");\n }\nSystem.out.print(\"\\n\");\n }\n}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
int i=0,j=0;
while(true){
int H=sc.nextInt();
int 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.print("\n");
}
System.out.print("\n");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
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,
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
],
[
86,
8
],
[
86,
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
],
[
11,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
22,
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
],
[
65,
68
],
[
51,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
38,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
11,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
9,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"import java.util.*;\nimport java.lang.StringBuilder;\npublic class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder bu = new StringBuilder();\n\t\tint h,w;\n\t\twhile((h=sc.nextInt())!=0&&(w=sc.nextInt())!=0){\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int o=0;o<w;o++){\n\t\t\t\t\tbu.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbu.append(\"\\n\");\n\t\t\t}\n\t\t\tbu.append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(bu);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.StringBuilder;",
"StringBuilder",
"java.lang",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder bu = new StringBuilder();\n\t\tint h,w;\n\t\twhile((h=sc.nextInt())!=0&&(w=sc.nextInt())!=0){\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int o=0;o<w;o++){\n\t\t\t\t\tbu.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbu.append(\"\\n\");\n\t\t\t}\n\t\t\tbu.append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(bu);\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder bu = new StringBuilder();\n\t\tint h,w;\n\t\twhile((h=sc.nextInt())!=0&&(w=sc.nextInt())!=0){\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int o=0;o<w;o++){\n\t\t\t\t\tbu.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbu.append(\"\\n\");\n\t\t\t}\n\t\t\tbu.append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(bu);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder bu = new StringBuilder();\n\t\tint h,w;\n\t\twhile((h=sc.nextInt())!=0&&(w=sc.nextInt())!=0){\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int o=0;o<w;o++){\n\t\t\t\t\tbu.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbu.append(\"\\n\");\n\t\t\t}\n\t\t\tbu.append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(bu);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuilder bu = new StringBuilder();",
"bu",
"new StringBuilder()",
"int h",
"h",
"w;",
"w",
"while((h=sc.nextInt())!=0&&(w=sc.nextInt())!=0){\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int o=0;o<w;o++){\n\t\t\t\t\tbu.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbu.append(\"\\n\");\n\t\t\t}\n\t\t\tbu.append(\"\\n\");\n\t\t}",
"(h=sc.nextInt())!=0&&(w=sc.nextInt())!=0",
"(h=sc.nextInt())!=0",
"(h=sc.nextInt())",
"h",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"(w=sc.nextInt())!=0",
"(w=sc.nextInt())",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"{\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int o=0;o<w;o++){\n\t\t\t\t\tbu.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbu.append(\"\\n\");\n\t\t\t}\n\t\t\tbu.append(\"\\n\");\n\t\t}",
"for(int i=0;i<h;i++){\n\t\t\t\tfor(int o=0;o<w;o++){\n\t\t\t\t\tbu.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbu.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 o=0;o<w;o++){\n\t\t\t\t\tbu.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbu.append(\"\\n\");\n\t\t\t}",
"{\n\t\t\t\tfor(int o=0;o<w;o++){\n\t\t\t\t\tbu.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbu.append(\"\\n\");\n\t\t\t}",
"for(int o=0;o<w;o++){\n\t\t\t\t\tbu.append(\"#\");\n\t\t\t\t}",
"int o=0;",
"int o=0;",
"o",
"0",
"o<w",
"o",
"w",
"o++",
"o++",
"o",
"{\n\t\t\t\t\tbu.append(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tbu.append(\"#\");\n\t\t\t\t}",
"bu.append(\"#\")",
"bu.append",
"bu",
"\"#\"",
"bu.append(\"\\n\")",
"bu.append",
"bu",
"\"\\n\"",
"bu.append(\"\\n\")",
"bu.append",
"bu",
"\"\\n\"",
"System.out.print(bu)",
"System.out.print",
"System.out",
"System",
"System.out",
"bu",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder bu = new StringBuilder();\n\t\tint h,w;\n\t\twhile((h=sc.nextInt())!=0&&(w=sc.nextInt())!=0){\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int o=0;o<w;o++){\n\t\t\t\t\tbu.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbu.append(\"\\n\");\n\t\t\t}\n\t\t\tbu.append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(bu);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder bu = new StringBuilder();\n\t\tint h,w;\n\t\twhile((h=sc.nextInt())!=0&&(w=sc.nextInt())!=0){\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int o=0;o<w;o++){\n\t\t\t\t\tbu.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbu.append(\"\\n\");\n\t\t\t}\n\t\t\tbu.append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(bu);\n\t}\n}",
"Main"
] | import java.util.*;
import java.lang.StringBuilder;
public class Main {
public static void main(String[] args) throws Exception{
Scanner sc = new Scanner(System.in);
StringBuilder bu = new StringBuilder();
int h,w;
while((h=sc.nextInt())!=0&&(w=sc.nextInt())!=0){
for(int i=0;i<h;i++){
for(int o=0;o<w;o++){
bu.append("#");
}
bu.append("\n");
}
bu.append("\n");
}
System.out.print(bu);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
41,
13,
13,
42,
2,
13,
17,
30,
42,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
40,
13,
4,
18,
18,
13,
13,
17,
40,
13,
0,
13,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
82,
5
],
[
82,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
43,
50
],
[
50,
51
],
[
38,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
38,
58
],
[
58,
59
],
[
38,
60
],
[
60,
61
],
[
60,
62
],
[
30,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
30,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
30,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] | [
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int H = scan.nextInt();\n int W = scan.nextInt();\n while(H!=0 && W !=0){\n int w = W;\n while(H != 0){\n while(w !=0){\n System.out.print(\"#\");\n w--;\n }\n System.out.println(\"\");\n H--;\n w = W;\n }\n H = scan.nextInt();\n W = scan.nextInt();\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 scan = new Scanner(System.in);\n int H = scan.nextInt();\n int W = scan.nextInt();\n while(H!=0 && W !=0){\n int w = W;\n while(H != 0){\n while(w !=0){\n System.out.print(\"#\");\n w--;\n }\n System.out.println(\"\");\n H--;\n w = W;\n }\n H = scan.nextInt();\n W = scan.nextInt();\n System.out.println(\"\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int H = scan.nextInt();\n int W = scan.nextInt();\n while(H!=0 && W !=0){\n int w = W;\n while(H != 0){\n while(w !=0){\n System.out.print(\"#\");\n w--;\n }\n System.out.println(\"\");\n H--;\n w = W;\n }\n H = scan.nextInt();\n W = scan.nextInt();\n System.out.println(\"\");\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int H = scan.nextInt();\n int W = scan.nextInt();\n while(H!=0 && W !=0){\n int w = W;\n while(H != 0){\n while(w !=0){\n System.out.print(\"#\");\n w--;\n }\n System.out.println(\"\");\n H--;\n w = W;\n }\n H = scan.nextInt();\n W = scan.nextInt();\n System.out.println(\"\");\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int H = scan.nextInt();",
"H",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int W = scan.nextInt();",
"W",
"scan.nextInt()",
"scan.nextInt",
"scan",
"while(H!=0 && W !=0){\n int w = W;\n while(H != 0){\n while(w !=0){\n System.out.print(\"#\");\n w--;\n }\n System.out.println(\"\");\n H--;\n w = W;\n }\n H = scan.nextInt();\n W = scan.nextInt();\n System.out.println(\"\");\n }",
"H!=0 && W !=0",
"H!=0",
"H",
"0",
"W !=0",
"W",
"0",
"{\n int w = W;\n while(H != 0){\n while(w !=0){\n System.out.print(\"#\");\n w--;\n }\n System.out.println(\"\");\n H--;\n w = W;\n }\n H = scan.nextInt();\n W = scan.nextInt();\n System.out.println(\"\");\n }",
"int w = W;",
"w",
"W",
"while(H != 0){\n while(w !=0){\n System.out.print(\"#\");\n w--;\n }\n System.out.println(\"\");\n H--;\n w = W;\n }",
"H != 0",
"H",
"0",
"{\n while(w !=0){\n System.out.print(\"#\");\n w--;\n }\n System.out.println(\"\");\n H--;\n w = W;\n }",
"while(w !=0){\n System.out.print(\"#\");\n w--;\n }",
"w !=0",
"w",
"0",
"{\n System.out.print(\"#\");\n w--;\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"w--",
"w",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"H--",
"H",
"w = W",
"w",
"W",
"H = scan.nextInt()",
"H",
"scan.nextInt()",
"scan.nextInt",
"scan",
"W = scan.nextInt()",
"W",
"scan.nextInt()",
"scan.nextInt",
"scan",
"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 scan = new Scanner(System.in);\n int H = scan.nextInt();\n int W = scan.nextInt();\n while(H!=0 && W !=0){\n int w = W;\n while(H != 0){\n while(w !=0){\n System.out.print(\"#\");\n w--;\n }\n System.out.println(\"\");\n H--;\n w = W;\n }\n H = scan.nextInt();\n W = scan.nextInt();\n System.out.println(\"\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int H = scan.nextInt();\n int W = scan.nextInt();\n while(H!=0 && W !=0){\n int w = W;\n while(H != 0){\n while(w !=0){\n System.out.print(\"#\");\n w--;\n }\n System.out.println(\"\");\n H--;\n w = W;\n }\n H = scan.nextInt();\n W = scan.nextInt();\n System.out.println(\"\");\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int H = scan.nextInt();
int W = scan.nextInt();
while(H!=0 && W !=0){
int w = W;
while(H != 0){
while(w !=0){
System.out.print("#");
w--;
}
System.out.println("");
H--;
w = W;
}
H = scan.nextInt();
W = scan.nextInt();
System.out.println("");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
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
],
[
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
],
[
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
],
[
84,
87
],
[
70,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
23,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
14,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
12,
102
],
[
102,
103
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\n\nclass Main{\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true){\n\n\t\t\tString[] token = br.readLine().split(\" \");\n\t\t\tint h = Integer.parseInt(token[0]);\n\t\t\tint w = Integer.parseInt(token[1]);\n\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\n\t\t\tsb.append(\"\\n\");\n\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"class Main{\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true){\n\n\t\t\tString[] token = br.readLine().split(\" \");\n\t\t\tint h = Integer.parseInt(token[0]);\n\t\t\tint w = Integer.parseInt(token[1]);\n\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\n\t\t\tsb.append(\"\\n\");\n\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true){\n\n\t\t\tString[] token = br.readLine().split(\" \");\n\t\t\tint h = Integer.parseInt(token[0]);\n\t\t\tint w = Integer.parseInt(token[1]);\n\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\n\t\t\tsb.append(\"\\n\");\n\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true){\n\n\t\t\tString[] token = br.readLine().split(\" \");\n\t\t\tint h = Integer.parseInt(token[0]);\n\t\t\tint w = Integer.parseInt(token[1]);\n\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\n\t\t\tsb.append(\"\\n\");\n\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true){\n\n\t\t\tString[] token = br.readLine().split(\" \");\n\t\t\tint h = Integer.parseInt(token[0]);\n\t\t\tint w = Integer.parseInt(token[1]);\n\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\n\t\t\tsb.append(\"\\n\");\n\n\t\t}",
"true",
"{\n\n\t\t\tString[] token = br.readLine().split(\" \");\n\t\t\tint h = Integer.parseInt(token[0]);\n\t\t\tint w = Integer.parseInt(token[1]);\n\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\n\t\t\tsb.append(\"\\n\");\n\n\t\t}",
"String[] token = br.readLine().split(\" \");",
"token",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int h = Integer.parseInt(token[0]);",
"h",
"Integer.parseInt(token[0])",
"Integer.parseInt",
"Integer",
"token[0]",
"token",
"0",
"int w = Integer.parseInt(token[1]);",
"w",
"Integer.parseInt(token[1])",
"Integer.parseInt",
"Integer",
"token[1]",
"token",
"1",
"if(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"h == 0 && w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}",
"{\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}",
"for(int j = 0; j < w; j++){\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < w",
"j",
"w",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tsb.append(\"#\");\n\t\t\t\t}",
"sb.append(\"#\")",
"sb.append",
"sb",
"\"#\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
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[] token = br.readLine().split(" ");
int h = Integer.parseInt(token[0]);
int w = Integer.parseInt(token[1]);
if(h == 0 && w == 0){
break;
}
for(int i = 0; i < h; i++){
for(int j = 0; j < w; j++){
sb.append("#");
}
sb.append("\n");
}
sb.append("\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
41,
13,
42,
2,
2,
0,
13,
4,
18,
13,
17,
2,
0,
13,
4,
18,
13,
17,
30,
4,
13,
13,
13,
4,
18,
18,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
40,
13,
13,
1,
4,
18,
18,
13,
13,
30,
30,
11,
1,
41,
13,
17,
2,
40,
13,
13,
1,
4,
18,
18,
13,
13,
17,
30,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
86,
5
],
[
86,
6
],
[
6,
7
],
[
6,
8
],
[
86,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
11,
14
],
[
14,
15
],
[
11,
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
],
[
33,
35
],
[
33,
36
],
[
32,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
9,
42
],
[
42,
43
],
[
86,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
47,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
47,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
64,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
64,
80
],
[
44,
81
],
[
81,
82
],
[
44,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"import java.util.*;\n\npublic class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int h, w;\n while((h = scn.nextInt()) != 0 | (w = scn.nextInt()) != 0) {\n rect(h, w);\n System.out.println();\n }\n }\n \n private static void rect(int h, int w) {\n for(int i = 0; i++ < h; System.out.println()) {\n for(int j = 0; j++ < w; System.out.print(\"#\"));\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int h, w;\n while((h = scn.nextInt()) != 0 | (w = scn.nextInt()) != 0) {\n rect(h, w);\n System.out.println();\n }\n }\n \n private static void rect(int h, int w) {\n for(int i = 0; i++ < h; System.out.println()) {\n for(int j = 0; j++ < w; System.out.print(\"#\"));\n }\n }\n}",
"Main",
"private static final Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"public static void main(String[] args) {\n int h, w;\n while((h = scn.nextInt()) != 0 | (w = scn.nextInt()) != 0) {\n rect(h, w);\n System.out.println();\n }\n }",
"main",
"{\n int h, w;\n while((h = scn.nextInt()) != 0 | (w = scn.nextInt()) != 0) {\n rect(h, w);\n System.out.println();\n }\n }",
"int h",
"h",
"w;",
"w",
"while((h = scn.nextInt()) != 0 | (w = scn.nextInt()) != 0) {\n rect(h, w);\n System.out.println();\n }",
"(h = scn.nextInt()) != 0 | (w = scn.nextInt()) != 0",
"(h = scn.nextInt()) != 0",
"(h = scn.nextInt())",
"h",
"scn.nextInt()",
"scn.nextInt",
"scn",
"0",
"(w = scn.nextInt()) != 0",
"(w = scn.nextInt())",
"w",
"scn.nextInt()",
"scn.nextInt",
"scn",
"0",
"{\n rect(h, w);\n System.out.println();\n }",
"rect(h, w)",
"rect",
"h",
"w",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"private static void rect(int h, int w) {\n for(int i = 0; i++ < h; System.out.println()) {\n for(int j = 0; j++ < w; System.out.print(\"#\"));\n }\n }",
"rect",
"{\n for(int i = 0; i++ < h; System.out.println()) {\n for(int j = 0; j++ < w; System.out.print(\"#\"));\n }\n }",
"for(int i = 0; i++ < h; System.out.println()) {\n for(int j = 0; j++ < w; System.out.print(\"#\"));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i++ < h",
"i++",
"i",
"h",
"System.out.println()",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"{\n for(int j = 0; j++ < w; System.out.print(\"#\"));\n }",
"{\n for(int j = 0; j++ < w; System.out.print(\"#\"));\n }",
"for(int j = 0; j++ < w; System.out.print(\"#\"));",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j++ < w",
"j++",
"j",
"w",
"System.out.print(\"#\")",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
";",
"int h",
"h",
"int w",
"w",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int h, w;\n while((h = scn.nextInt()) != 0 | (w = scn.nextInt()) != 0) {\n rect(h, w);\n System.out.println();\n }\n }\n \n private static void rect(int h, int w) {\n for(int i = 0; i++ < h; System.out.println()) {\n for(int j = 0; j++ < w; System.out.print(\"#\"));\n }\n }\n}",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int h, w;\n while((h = scn.nextInt()) != 0 | (w = scn.nextInt()) != 0) {\n rect(h, w);\n System.out.println();\n }\n }\n \n private static void rect(int h, int w) {\n for(int i = 0; i++ < h; System.out.println()) {\n for(int j = 0; j++ < w; System.out.print(\"#\"));\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
private static final Scanner scn = new Scanner(System.in);
public static void main(String[] args) {
int h, w;
while((h = scn.nextInt()) != 0 | (w = scn.nextInt()) != 0) {
rect(h, w);
System.out.println();
}
}
private static void rect(int h, int w) {
for(int i = 0; i++ < h; System.out.println()) {
for(int j = 0; j++ < w; System.out.print("#"));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
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,
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,
14,
2,
13,
13,
30,
4,
18,
18,
13,
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
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
8,
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
],
[
64,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
38,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
38,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
38,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
4,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
96,
102
],
[
102,
103
]
] | [
"import java.util.Scanner;\nclass Main{\npublic void yatary(){\n Scanner sc = new Scanner(System.in);\n int x,y,a,b;\n x = sc.nextInt();\n y = sc.nextInt();\n while(x!=0 || y!=0){\n for(a = 1; a <= x; a++){\n for(b = 1; b <= y; b++){\n System.out.print(\"#\");\n if(b == y){\n System.out.println();\n }\n }\n }\n System.out.println();\n x = sc.nextInt();\n y = sc.nextInt();\n }\n}\npublic static void main(String[]args){\n new Main().yatary();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\npublic void yatary(){\n Scanner sc = new Scanner(System.in);\n int x,y,a,b;\n x = sc.nextInt();\n y = sc.nextInt();\n while(x!=0 || y!=0){\n for(a = 1; a <= x; a++){\n for(b = 1; b <= y; b++){\n System.out.print(\"#\");\n if(b == y){\n System.out.println();\n }\n }\n }\n System.out.println();\n x = sc.nextInt();\n y = sc.nextInt();\n }\n}\npublic static void main(String[]args){\n new Main().yatary();\n }\n}",
"Main",
"public void yatary(){\n Scanner sc = new Scanner(System.in);\n int x,y,a,b;\n x = sc.nextInt();\n y = sc.nextInt();\n while(x!=0 || y!=0){\n for(a = 1; a <= x; a++){\n for(b = 1; b <= y; b++){\n System.out.print(\"#\");\n if(b == y){\n System.out.println();\n }\n }\n }\n System.out.println();\n x = sc.nextInt();\n y = sc.nextInt();\n }\n}",
"yatary",
"{\n Scanner sc = new Scanner(System.in);\n int x,y,a,b;\n x = sc.nextInt();\n y = sc.nextInt();\n while(x!=0 || y!=0){\n for(a = 1; a <= x; a++){\n for(b = 1; b <= y; b++){\n System.out.print(\"#\");\n if(b == y){\n System.out.println();\n }\n }\n }\n System.out.println();\n x = sc.nextInt();\n y = sc.nextInt();\n }\n}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x",
"x",
"y",
"y",
"a",
"a",
"b;",
"b",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while(x!=0 || y!=0){\n for(a = 1; a <= x; a++){\n for(b = 1; b <= y; b++){\n System.out.print(\"#\");\n if(b == y){\n System.out.println();\n }\n }\n }\n System.out.println();\n x = sc.nextInt();\n y = sc.nextInt();\n }",
"x!=0 || y!=0",
"x!=0",
"x",
"0",
"y!=0",
"y",
"0",
"{\n for(a = 1; a <= x; a++){\n for(b = 1; b <= y; b++){\n System.out.print(\"#\");\n if(b == y){\n System.out.println();\n }\n }\n }\n System.out.println();\n x = sc.nextInt();\n y = sc.nextInt();\n }",
"for(a = 1; a <= x; a++){\n for(b = 1; b <= y; b++){\n System.out.print(\"#\");\n if(b == y){\n System.out.println();\n }\n }\n }",
"a = 1;",
"a = 1",
"a",
"1",
"a <= x",
"a",
"x",
"a++",
"a++",
"a",
"{\n for(b = 1; b <= y; b++){\n System.out.print(\"#\");\n if(b == y){\n System.out.println();\n }\n }\n }",
"{\n for(b = 1; b <= y; b++){\n System.out.print(\"#\");\n if(b == y){\n System.out.println();\n }\n }\n }",
"for(b = 1; b <= y; b++){\n System.out.print(\"#\");\n if(b == y){\n System.out.println();\n }\n }",
"b = 1;",
"b = 1",
"b",
"1",
"b <= y",
"b",
"y",
"b++",
"b++",
"b",
"{\n System.out.print(\"#\");\n if(b == y){\n System.out.println();\n }\n }",
"{\n System.out.print(\"#\");\n if(b == y){\n System.out.println();\n }\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"if(b == y){\n System.out.println();\n }",
"b == y",
"b",
"y",
"{\n System.out.println();\n }",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"public static void main(String[]args){\n new Main().yatary();\n }",
"main",
"{\n new Main().yatary();\n }",
"new Main().yatary()",
"new Main().yatary",
"new Main()",
"String[]args",
"args"
] | import java.util.Scanner;
class Main{
public void yatary(){
Scanner sc = new Scanner(System.in);
int x,y,a,b;
x = sc.nextInt();
y = sc.nextInt();
while(x!=0 || y!=0){
for(a = 1; a <= x; a++){
for(b = 1; b <= y; b++){
System.out.print("#");
if(b == y){
System.out.println();
}
}
}
System.out.println();
x = sc.nextInt();
y = sc.nextInt();
}
}
public static void main(String[]args){
new Main().yatary();
}
} |
[
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,
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
],
[
92,
5
],
[
92,
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
],
[
43,
44
],
[
24,
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
],
[
24,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
6,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor(int a = 1;a>0;a++){\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\tfor(int b = 0;b<H;b++){\n\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor(int a = 1;a>0;a++){\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\tfor(int b = 0;b<H;b++){\n\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\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\tfor(int a = 1;a>0;a++){\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\tfor(int b = 0;b<H;b++){\n\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\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(int a = 1;a>0;a++){\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\tfor(int b = 0;b<H;b++){\n\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\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(int a = 1;a>0;a++){\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\tfor(int b = 0;b<H;b++){\n\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\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 a = 1;",
"int a = 1;",
"a",
"1",
"a>0",
"a",
"0",
"a++",
"a++",
"a",
"{\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\tfor(int b = 0;b<H;b++){\n\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\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\t}\n\t\t\tfor(int b = 0;b<H;b++){\n\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\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 b = 0;b<H;b++){\n\t\t\t\tfor(int c =0;c<W;c++){\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 b = 0;",
"int b = 0;",
"b",
"0",
"b<H",
"b",
"H",
"b++",
"b++",
"b",
"{\n\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\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 c =0;c<W;c++){\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 c =0;c<W;c++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int c =0;",
"int c =0;",
"c",
"0",
"c<W",
"c",
"W",
"c++",
"c++",
"c",
"{\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\tfor(int a = 1;a>0;a++){\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\tfor(int b = 0;b<H;b++){\n\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\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\tfor(int a = 1;a>0;a++){\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\tfor(int b = 0;b<H;b++){\n\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\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);
for(int a = 1;a>0;a++){
int H = scan.nextInt();
int W = scan.nextInt();
if(H == 0 && W == 0){
break;
}
for(int b = 0;b<H;b++){
for(int c =0;c<W;c++){
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
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
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
69,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
23,
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\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n \n while (true)\n {\n \tString[] list = br.readLine().split(\" \");\n \tint x = Integer.parseInt(list[1]);\n int y = Integer.parseInt(list[0]);\n if (x == 0 && y == 0)\n \tbreak;\n for (int i = 0; i < y; i++)\n {\n \tfor (int j = 0; j < x; j++)\n \t{\n \t\tSystem.out.print(\"#\");\n \t}\n \tSystem.out.println(\"\");\n }\n System.out.println(\"\");\n }\n \n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n \n while (true)\n {\n \tString[] list = br.readLine().split(\" \");\n \tint x = Integer.parseInt(list[1]);\n int y = Integer.parseInt(list[0]);\n if (x == 0 && y == 0)\n \tbreak;\n for (int i = 0; i < y; i++)\n {\n \tfor (int j = 0; j < x; j++)\n \t{\n \t\tSystem.out.print(\"#\");\n \t}\n \tSystem.out.println(\"\");\n }\n System.out.println(\"\");\n }\n \n\t}\n\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n \n while (true)\n {\n \tString[] list = br.readLine().split(\" \");\n \tint x = Integer.parseInt(list[1]);\n int y = Integer.parseInt(list[0]);\n if (x == 0 && y == 0)\n \tbreak;\n for (int i = 0; i < y; i++)\n {\n \tfor (int j = 0; j < x; j++)\n \t{\n \t\tSystem.out.print(\"#\");\n \t}\n \tSystem.out.println(\"\");\n }\n System.out.println(\"\");\n }\n \n\t}",
"main",
"{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n \n while (true)\n {\n \tString[] list = br.readLine().split(\" \");\n \tint x = Integer.parseInt(list[1]);\n int y = Integer.parseInt(list[0]);\n if (x == 0 && y == 0)\n \tbreak;\n for (int i = 0; i < y; i++)\n {\n \tfor (int j = 0; j < x; j++)\n \t{\n \t\tSystem.out.print(\"#\");\n \t}\n \tSystem.out.println(\"\");\n }\n System.out.println(\"\");\n }\n \n\t}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"while (true)\n {\n \tString[] list = br.readLine().split(\" \");\n \tint x = Integer.parseInt(list[1]);\n int y = Integer.parseInt(list[0]);\n if (x == 0 && y == 0)\n \tbreak;\n for (int i = 0; i < y; i++)\n {\n \tfor (int j = 0; j < x; j++)\n \t{\n \t\tSystem.out.print(\"#\");\n \t}\n \tSystem.out.println(\"\");\n }\n System.out.println(\"\");\n }",
"true",
"{\n \tString[] list = br.readLine().split(\" \");\n \tint x = Integer.parseInt(list[1]);\n int y = Integer.parseInt(list[0]);\n if (x == 0 && y == 0)\n \tbreak;\n for (int i = 0; i < y; i++)\n {\n \tfor (int j = 0; j < x; j++)\n \t{\n \t\tSystem.out.print(\"#\");\n \t}\n \tSystem.out.println(\"\");\n }\n System.out.println(\"\");\n }",
"String[] list = br.readLine().split(\" \");",
"list",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int x = Integer.parseInt(list[1]);",
"x",
"Integer.parseInt(list[1])",
"Integer.parseInt",
"Integer",
"list[1]",
"list",
"1",
"int y = Integer.parseInt(list[0]);",
"y",
"Integer.parseInt(list[0])",
"Integer.parseInt",
"Integer",
"list[0]",
"list",
"0",
"if (x == 0 && y == 0)\n \tbreak;",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"for (int i = 0; i < y; i++)\n {\n \tfor (int j = 0; j < x; j++)\n \t{\n \t\tSystem.out.print(\"#\");\n \t}\n \tSystem.out.println(\"\");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < y",
"i",
"y",
"i++",
"i++",
"i",
"{\n \tfor (int j = 0; j < x; j++)\n \t{\n \t\tSystem.out.print(\"#\");\n \t}\n \tSystem.out.println(\"\");\n }",
"{\n \tfor (int j = 0; j < x; j++)\n \t{\n \t\tSystem.out.print(\"#\");\n \t}\n \tSystem.out.println(\"\");\n }",
"for (int j = 0; j < x; j++)\n \t{\n \t\tSystem.out.print(\"#\");\n \t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < x",
"j",
"x",
"j++",
"j++",
"j",
"{\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.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\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n \n while (true)\n {\n \tString[] list = br.readLine().split(\" \");\n \tint x = Integer.parseInt(list[1]);\n int y = Integer.parseInt(list[0]);\n if (x == 0 && y == 0)\n \tbreak;\n for (int i = 0; i < y; i++)\n {\n \tfor (int j = 0; j < x; j++)\n \t{\n \t\tSystem.out.print(\"#\");\n \t}\n \tSystem.out.println(\"\");\n }\n System.out.println(\"\");\n }\n \n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n \n while (true)\n {\n \tString[] list = br.readLine().split(\" \");\n \tint x = Integer.parseInt(list[1]);\n int y = Integer.parseInt(list[0]);\n if (x == 0 && y == 0)\n \tbreak;\n for (int i = 0; i < y; i++)\n {\n \tfor (int j = 0; j < x; j++)\n \t{\n \t\tSystem.out.print(\"#\");\n \t}\n \tSystem.out.println(\"\");\n }\n System.out.println(\"\");\n }\n \n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args)throws IOException{
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
while (true)
{
String[] list = br.readLine().split(" ");
int x = Integer.parseInt(list[1]);
int y = Integer.parseInt(list[0]);
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,
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,
2,
13,
17,
2,
13,
17,
3,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
85,
5
],
[
85,
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
],
[
30,
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
],
[
39,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
6,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] | [
"import java.util.Scanner;\npublic class Main{\npublic static void main(String[] args){\nScanner scan = new Scanner(System.in);\nint H,W;\n\nfor(;;){\nH = scan.nextInt();\nW = scan.nextInt();\nif(H == 0 && W == 0)break;\nelse {\n for(int i = 0 ; i < H ; i++){\n for(int j = 0 ; j < W ; j++){\n System.out.print(\"#\");}\n System.out.println();}\n System.out.println();}}}}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\npublic static void main(String[] args){\nScanner scan = new Scanner(System.in);\nint H,W;\n\nfor(;;){\nH = scan.nextInt();\nW = scan.nextInt();\nif(H == 0 && W == 0)break;\nelse {\n for(int i = 0 ; i < H ; i++){\n for(int j = 0 ; j < W ; j++){\n System.out.print(\"#\");}\n System.out.println();}\n System.out.println();}}}}",
"Main",
"public static void main(String[] args){\nScanner scan = new Scanner(System.in);\nint H,W;\n\nfor(;;){\nH = scan.nextInt();\nW = scan.nextInt();\nif(H == 0 && W == 0)break;\nelse {\n for(int i = 0 ; i < H ; i++){\n for(int j = 0 ; j < W ; j++){\n System.out.print(\"#\");}\n System.out.println();}\n System.out.println();}}}",
"main",
"{\nScanner scan = new Scanner(System.in);\nint H,W;\n\nfor(;;){\nH = scan.nextInt();\nW = scan.nextInt();\nif(H == 0 && W == 0)break;\nelse {\n for(int i = 0 ; i < H ; i++){\n for(int j = 0 ; j < W ; j++){\n System.out.print(\"#\");}\n System.out.println();}\n System.out.println();}}}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int H",
"H",
"W;",
"W",
"for(;;){\nH = scan.nextInt();\nW = scan.nextInt();\nif(H == 0 && W == 0)break;\nelse {\n for(int i = 0 ; i < H ; i++){\n for(int j = 0 ; j < W ; j++){\n System.out.print(\"#\");}\n System.out.println();}\n System.out.println();}}",
";",
"{\nH = scan.nextInt();\nW = scan.nextInt();\nif(H == 0 && W == 0)break;\nelse {\n for(int i = 0 ; i < H ; i++){\n for(int j = 0 ; j < W ; j++){\n System.out.print(\"#\");}\n System.out.println();}\n System.out.println();}}",
"{\nH = scan.nextInt();\nW = scan.nextInt();\nif(H == 0 && W == 0)break;\nelse {\n for(int i = 0 ; i < H ; i++){\n for(int j = 0 ; j < W ; j++){\n System.out.print(\"#\");}\n System.out.println();}\n System.out.println();}}",
"H = scan.nextInt()",
"H",
"scan.nextInt()",
"scan.nextInt",
"scan",
"W = scan.nextInt()",
"W",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(H == 0 && W == 0)break;\nelse {\n for(int i = 0 ; i < H ; i++){\n for(int j = 0 ; j < W ; j++){\n System.out.print(\"#\");}\n System.out.println();}\n System.out.println();}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"break;",
"{\n for(int i = 0 ; i < H ; i++){\n for(int j = 0 ; j < W ; j++){\n System.out.print(\"#\");}\n System.out.println();}\n System.out.println();}",
"for(int i = 0 ; i < H ; i++){\n for(int j = 0 ; j < W ; j++){\n System.out.print(\"#\");}\n System.out.println();}",
"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 System.out.println();}",
"{\n for(int j = 0 ; j < W ; j++){\n System.out.print(\"#\");}\n System.out.println();}",
"for(int j = 0 ; j < W ; j++){\n System.out.print(\"#\");}",
"int j = 0 ;",
"int j = 0 ;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n System.out.print(\"#\");}",
"{\n System.out.print(\"#\");}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main{\npublic static void main(String[] args){\nScanner scan = new Scanner(System.in);\nint H,W;\n\nfor(;;){\nH = scan.nextInt();\nW = scan.nextInt();\nif(H == 0 && W == 0)break;\nelse {\n for(int i = 0 ; i < H ; i++){\n for(int j = 0 ; j < W ; j++){\n System.out.print(\"#\");}\n System.out.println();}\n System.out.println();}}}}",
"public class Main{\npublic static void main(String[] args){\nScanner scan = new Scanner(System.in);\nint H,W;\n\nfor(;;){\nH = scan.nextInt();\nW = scan.nextInt();\nif(H == 0 && W == 0)break;\nelse {\n for(int i = 0 ; i < H ; i++){\n for(int j = 0 ; j < W ; j++){\n System.out.print(\"#\");}\n System.out.println();}\n System.out.println();}}}}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int H,W;
for(;;){
H = scan.nextInt();
W = scan.nextInt();
if(H == 0 && W == 0)break;
else {
for(int i = 0 ; i < H ; i++){
for(int j = 0 ; j < W ; j++){
System.out.print("#");}
System.out.println();}
System.out.println();}}}} |
[
7,
15,
13,
17,
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,
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,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
109,
11
],
[
109,
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
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
27,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
27,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
27,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
27,
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
],
[
27,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
27,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
12,
106
],
[
106,
107
],
[
0,
108
],
[
108,
109
],
[
108,
110
]
] | [
"import java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String line = br.readLine();\n\n while(line != null){ \n String[] input = line.split(\" \");\n int height = Integer.valueOf(input[0]);\n int width = Integer.valueOf(input[1]);\n \n if(height == 0 && width == 0) break;\n \n for(int i = 0; i < height; i++){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n \n System.out.println();\n line = br.readLine();\n }\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String line = br.readLine();\n\n while(line != null){ \n String[] input = line.split(\" \");\n int height = Integer.valueOf(input[0]);\n int width = Integer.valueOf(input[1]);\n \n if(height == 0 && width == 0) break;\n \n for(int i = 0; i < height; i++){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n \n System.out.println();\n line = br.readLine();\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String line = br.readLine();\n\n while(line != null){ \n String[] input = line.split(\" \");\n int height = Integer.valueOf(input[0]);\n int width = Integer.valueOf(input[1]);\n \n if(height == 0 && width == 0) break;\n \n for(int i = 0; i < height; i++){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n \n System.out.println();\n line = br.readLine();\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String line = br.readLine();\n\n while(line != null){ \n String[] input = line.split(\" \");\n int height = Integer.valueOf(input[0]);\n int width = Integer.valueOf(input[1]);\n \n if(height == 0 && width == 0) break;\n \n for(int i = 0; i < height; i++){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n \n System.out.println();\n line = br.readLine();\n }\n }",
"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(line != null){ \n String[] input = line.split(\" \");\n int height = Integer.valueOf(input[0]);\n int width = Integer.valueOf(input[1]);\n \n if(height == 0 && width == 0) break;\n \n for(int i = 0; i < height; i++){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n \n System.out.println();\n line = br.readLine();\n }",
"line != null",
"line",
"null",
"{ \n String[] input = line.split(\" \");\n int height = Integer.valueOf(input[0]);\n int width = Integer.valueOf(input[1]);\n \n if(height == 0 && width == 0) break;\n \n for(int i = 0; i < height; i++){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n \n System.out.println();\n line = br.readLine();\n }",
"String[] input = line.split(\" \");",
"input",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int height = Integer.valueOf(input[0]);",
"height",
"Integer.valueOf(input[0])",
"Integer.valueOf",
"Integer",
"input[0]",
"input",
"0",
"int width = Integer.valueOf(input[1]);",
"width",
"Integer.valueOf(input[1])",
"Integer.valueOf",
"Integer",
"input[1]",
"input",
"1",
"if(height == 0 && width == 0) break;",
"height == 0 && width == 0",
"height == 0",
"height",
"0",
"width == 0",
"width",
"0",
"break;",
"for(int i = 0; i < height; i++){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < height",
"i",
"height",
"i++",
"i++",
"i",
"{\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"{\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < width",
"j",
"width",
"j++",
"j++",
"j",
"{\n System.out.print(\"#\");\n }",
"{\n System.out.print(\"#\");\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String line = br.readLine();\n\n while(line != null){ \n String[] input = line.split(\" \");\n int height = Integer.valueOf(input[0]);\n int width = Integer.valueOf(input[1]);\n \n if(height == 0 && width == 0) break;\n \n for(int i = 0; i < height; i++){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n \n System.out.println();\n line = br.readLine();\n }\n }\n}",
"public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String line = br.readLine();\n\n while(line != null){ \n String[] input = line.split(\" \");\n int height = Integer.valueOf(input[0]);\n int width = Integer.valueOf(input[1]);\n \n if(height == 0 && width == 0) break;\n \n for(int i = 0; i < height; i++){\n for(int j = 0; j < width; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n \n System.out.println();\n line = br.readLine();\n }\n }\n}",
"Main"
] | import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
while(line != null){
String[] input = line.split(" ");
int height = Integer.valueOf(input[0]);
int width = Integer.valueOf(input[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();
line = br.readLine();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
41,
13,
41,
13,
17,
41,
13,
41,
13,
0,
13,
20,
17,
0,
13,
20,
17,
41,
13,
20,
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,
30,
3,
40,
13,
40,
13,
0,
13,
17,
42,
2,
13,
13,
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,
17,
40,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
130,
5
],
[
130,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
36,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
52,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
51,
63
],
[
63,
64
],
[
36,
65
],
[
65,
66
],
[
36,
67
],
[
67,
68
],
[
8,
69
],
[
69,
70
],
[
69,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
77,
87
],
[
87,
88
],
[
88,
89
],
[
77,
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
],
[
76,
119
],
[
119,
120
],
[
76,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
121,
126
],
[
6,
127
],
[
127,
128
],
[
0,
129
],
[
129,
130
],
[
129,
131
]
] | [
"import java.util.Scanner;\n\npublic class Main{ \n public static void main(String[] args){\n int i=0,j,k,count=0;\n int a[];\n int b[];\n a = new int[100000];\n b = new int[100000];\n Scanner n = new Scanner(System.in);\n while(true){\n a[i] = n.nextInt();\n b[i] = n.nextInt();\n if(a[i]==0 && b[i]==0){\n break;\n }\n count++;\n i++;\n }\n i=0;\n while(count>i){\n for(k=0;k<a[i];k++){\n for(j=0;j<b[i];j++){\n System.out.print(\"#\");\n }\n System.out.printf(\"\\n\");\n }\n i++;\n System.out.printf(\"\\n\");\n }\n }\n }",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{ \n public static void main(String[] args){\n int i=0,j,k,count=0;\n int a[];\n int b[];\n a = new int[100000];\n b = new int[100000];\n Scanner n = new Scanner(System.in);\n while(true){\n a[i] = n.nextInt();\n b[i] = n.nextInt();\n if(a[i]==0 && b[i]==0){\n break;\n }\n count++;\n i++;\n }\n i=0;\n while(count>i){\n for(k=0;k<a[i];k++){\n for(j=0;j<b[i];j++){\n System.out.print(\"#\");\n }\n System.out.printf(\"\\n\");\n }\n i++;\n System.out.printf(\"\\n\");\n }\n }\n }",
"Main",
"public static void main(String[] args){\n int i=0,j,k,count=0;\n int a[];\n int b[];\n a = new int[100000];\n b = new int[100000];\n Scanner n = new Scanner(System.in);\n while(true){\n a[i] = n.nextInt();\n b[i] = n.nextInt();\n if(a[i]==0 && b[i]==0){\n break;\n }\n count++;\n i++;\n }\n i=0;\n while(count>i){\n for(k=0;k<a[i];k++){\n for(j=0;j<b[i];j++){\n System.out.print(\"#\");\n }\n System.out.printf(\"\\n\");\n }\n i++;\n System.out.printf(\"\\n\");\n }\n }",
"main",
"{\n int i=0,j,k,count=0;\n int a[];\n int b[];\n a = new int[100000];\n b = new int[100000];\n Scanner n = new Scanner(System.in);\n while(true){\n a[i] = n.nextInt();\n b[i] = n.nextInt();\n if(a[i]==0 && b[i]==0){\n break;\n }\n count++;\n i++;\n }\n i=0;\n while(count>i){\n for(k=0;k<a[i];k++){\n for(j=0;j<b[i];j++){\n System.out.print(\"#\");\n }\n System.out.printf(\"\\n\");\n }\n i++;\n System.out.printf(\"\\n\");\n }\n }",
"int i=0",
"i",
"0",
"j",
"j",
"k",
"k",
"count=0;",
"count",
"0",
"int a[];",
"a",
"int b[];",
"b",
"a = new int[100000]",
"a",
"new int[100000]",
"100000",
"b = new int[100000]",
"b",
"new int[100000]",
"100000",
"Scanner n = new Scanner(System.in);",
"n",
"new Scanner(System.in)",
"while(true){\n a[i] = n.nextInt();\n b[i] = n.nextInt();\n if(a[i]==0 && b[i]==0){\n break;\n }\n count++;\n i++;\n }",
"true",
"{\n a[i] = n.nextInt();\n b[i] = n.nextInt();\n if(a[i]==0 && b[i]==0){\n break;\n }\n count++;\n i++;\n }",
"a[i] = n.nextInt()",
"a[i]",
"a",
"i",
"n.nextInt()",
"n.nextInt",
"n",
"b[i] = n.nextInt()",
"b[i]",
"b",
"i",
"n.nextInt()",
"n.nextInt",
"n",
"if(a[i]==0 && b[i]==0){\n break;\n }",
"a[i]==0 && b[i]==0",
"a[i]==0",
"a[i]",
"a",
"i",
"0",
"b[i]==0",
"b[i]",
"b",
"i",
"0",
"{\n break;\n }",
"break;",
"count++",
"count",
"i++",
"i",
"i=0",
"i",
"0",
"while(count>i){\n for(k=0;k<a[i];k++){\n for(j=0;j<b[i];j++){\n System.out.print(\"#\");\n }\n System.out.printf(\"\\n\");\n }\n i++;\n System.out.printf(\"\\n\");\n }",
"count>i",
"count",
"i",
"{\n for(k=0;k<a[i];k++){\n for(j=0;j<b[i];j++){\n System.out.print(\"#\");\n }\n System.out.printf(\"\\n\");\n }\n i++;\n System.out.printf(\"\\n\");\n }",
"for(k=0;k<a[i];k++){\n for(j=0;j<b[i];j++){\n System.out.print(\"#\");\n }\n System.out.printf(\"\\n\");\n }",
"k=0;",
"k=0",
"k",
"0",
"k<a[i]",
"k",
"a[i]",
"a",
"i",
"k++",
"k++",
"k",
"{\n for(j=0;j<b[i];j++){\n System.out.print(\"#\");\n }\n System.out.printf(\"\\n\");\n }",
"{\n for(j=0;j<b[i];j++){\n System.out.print(\"#\");\n }\n System.out.printf(\"\\n\");\n }",
"for(j=0;j<b[i];j++){\n System.out.print(\"#\");\n }",
"j=0;",
"j=0",
"j",
"0",
"j<b[i]",
"j",
"b[i]",
"b",
"i",
"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.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"i++",
"i",
"System.out.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args",
"public class Main{ \n public static void main(String[] args){\n int i=0,j,k,count=0;\n int a[];\n int b[];\n a = new int[100000];\n b = new int[100000];\n Scanner n = new Scanner(System.in);\n while(true){\n a[i] = n.nextInt();\n b[i] = n.nextInt();\n if(a[i]==0 && b[i]==0){\n break;\n }\n count++;\n i++;\n }\n i=0;\n while(count>i){\n for(k=0;k<a[i];k++){\n for(j=0;j<b[i];j++){\n System.out.print(\"#\");\n }\n System.out.printf(\"\\n\");\n }\n i++;\n System.out.printf(\"\\n\");\n }\n }\n }",
"public class Main{ \n public static void main(String[] args){\n int i=0,j,k,count=0;\n int a[];\n int b[];\n a = new int[100000];\n b = new int[100000];\n Scanner n = new Scanner(System.in);\n while(true){\n a[i] = n.nextInt();\n b[i] = n.nextInt();\n if(a[i]==0 && b[i]==0){\n break;\n }\n count++;\n i++;\n }\n i=0;\n while(count>i){\n for(k=0;k<a[i];k++){\n for(j=0;j<b[i];j++){\n System.out.print(\"#\");\n }\n System.out.printf(\"\\n\");\n }\n i++;\n System.out.printf(\"\\n\");\n }\n }\n }",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
int i=0,j,k,count=0;
int a[];
int b[];
a = new int[100000];
b = new int[100000];
Scanner n = new Scanner(System.in);
while(true){
a[i] = n.nextInt();
b[i] = n.nextInt();
if(a[i]==0 && b[i]==0){
break;
}
count++;
i++;
}
i=0;
while(count>i){
for(k=0;k<a[i];k++){
for(j=0;j<b[i];j++){
System.out.print("#");
}
System.out.printf("\n");
}
i++;
System.out.printf("\n");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
42,
4,
18,
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,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
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
],
[
86,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
16,
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
],
[
49,
51
],
[
48,
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
],
[
65,
68
],
[
48,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
75,
76
],
[
16,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
9,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws Exception {\n while (sc.hasNext()) {\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 StringBuilder sb = new StringBuilder();\n for (int j = 0; j < w; j++) {\n sb.append(\"#\");\n }\n System.out.println(sb.toString());\n }\n System.out.println(\"\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws Exception {\n while (sc.hasNext()) {\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 StringBuilder sb = new StringBuilder();\n for (int j = 0; j < w; j++) {\n sb.append(\"#\");\n }\n System.out.println(sb.toString());\n }\n System.out.println(\"\");\n }\n }\n}",
"Main",
"public static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) throws Exception {\n while (sc.hasNext()) {\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 StringBuilder sb = new StringBuilder();\n for (int j = 0; j < w; j++) {\n sb.append(\"#\");\n }\n System.out.println(sb.toString());\n }\n System.out.println(\"\");\n }\n }",
"main",
"{\n while (sc.hasNext()) {\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 StringBuilder sb = new StringBuilder();\n for (int j = 0; j < w; j++) {\n sb.append(\"#\");\n }\n System.out.println(sb.toString());\n }\n System.out.println(\"\");\n }\n }",
"while (sc.hasNext()) {\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 StringBuilder sb = new StringBuilder();\n for (int j = 0; j < w; j++) {\n sb.append(\"#\");\n }\n System.out.println(sb.toString());\n }\n System.out.println(\"\");\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\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 StringBuilder sb = new StringBuilder();\n for (int j = 0; j < w; j++) {\n sb.append(\"#\");\n }\n System.out.println(sb.toString());\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 StringBuilder sb = new StringBuilder();\n for (int j = 0; j < w; j++) {\n sb.append(\"#\");\n }\n System.out.println(sb.toString());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < w; j++) {\n sb.append(\"#\");\n }\n System.out.println(sb.toString());\n }",
"{\n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < w; j++) {\n sb.append(\"#\");\n }\n System.out.println(sb.toString());\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"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",
"\"#\"",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n public static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws Exception {\n while (sc.hasNext()) {\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 StringBuilder sb = new StringBuilder();\n for (int j = 0; j < w; j++) {\n sb.append(\"#\");\n }\n System.out.println(sb.toString());\n }\n System.out.println(\"\");\n }\n }\n}",
"public class Main {\n public static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws Exception {\n while (sc.hasNext()) {\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 StringBuilder sb = new StringBuilder();\n for (int j = 0; j < w; j++) {\n sb.append(\"#\");\n }\n System.out.println(sb.toString());\n }\n System.out.println(\"\");\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static Scanner sc = new Scanner(System.in);
public static void main(String[] args) throws Exception {
while (sc.hasNext()) {
int h = sc.nextInt();
int w = sc.nextInt();
if (h == 0 && w == 0) break;
for (int i = 0; i < h; i++) {
StringBuilder sb = new StringBuilder();
for (int j = 0; j < w; j++) {
sb.append("#");
}
System.out.println(sb.toString());
}
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,
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
],
[
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
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
23,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
65,
66
],
[
56,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
55,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
23,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
15,
85
],
[
85,
86
]
] | [
"import java.awt.*;\nimport java.awt.geom.*;\nimport java.io.*;\n\nimport java.util.*;\nclass Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif(h == 0 && w == 0) 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.awt.*;",
"awt.*",
"java",
"import java.awt.geom.*;",
"geom.*",
"java.awt",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif(h == 0 && w == 0) 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\tScanner sc = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif(h == 0 && w == 0) 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\tScanner sc = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif(h == 0 && w == 0) 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"
] | import java.awt.*;
import java.awt.geom.*;
import java.io.*;
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(true) {
int h = sc.nextInt();
int w = sc.nextInt();
if(h == 0 && 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,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
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,
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
],
[
115,
14
],
[
115,
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
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
28,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
43,
44
],
[
43,
45
],
[
37,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
52,
53
],
[
37,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
60,
61
],
[
37,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
37,
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
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
83,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
37,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
15,
112
],
[
112,
113
],
[
0,
114
],
[
114,
115
],
[
114,
116
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\n\npublic class Main {\n public static void main(String[] args) {\n\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t\t\t\tint H = Integer.parseInt(st.nextToken());\n\t\t\t\tint W = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(W==0 && H==0)\tbreak;\n\n\t\t\t\tfor(int i=1;i<=H;i++){\n\t\t\t\t\tfor(int j=1;j <= W;j++)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\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.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String[] args) {\n\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t\t\t\tint H = Integer.parseInt(st.nextToken());\n\t\t\t\tint W = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(W==0 && H==0)\tbreak;\n\n\t\t\t\tfor(int i=1;i<=H;i++){\n\t\t\t\t\tfor(int j=1;j <= W;j++)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }\n}",
"Main",
"public static void main(String[] args) {\n\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t\t\t\tint H = Integer.parseInt(st.nextToken());\n\t\t\t\tint W = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(W==0 && H==0)\tbreak;\n\n\t\t\t\tfor(int i=1;i<=H;i++){\n\t\t\t\t\tfor(int j=1;j <= W;j++)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }",
"main",
"{\n\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t\t\t\tint H = Integer.parseInt(st.nextToken());\n\t\t\t\tint W = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(W==0 && H==0)\tbreak;\n\n\t\t\t\tfor(int i=1;i<=H;i++){\n\t\t\t\t\tfor(int j=1;j <= W;j++)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }",
"try{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t\t\t\tint H = Integer.parseInt(st.nextToken());\n\t\t\t\tint W = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(W==0 && H==0)\tbreak;\n\n\t\t\t\tfor(int i=1;i<=H;i++){\n\t\t\t\t\tfor(int j=1;j <= W;j++)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}",
"catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}",
"IOException e",
"{\n \t\tSystem.err.println(e);\n\t\t}",
"System.err.println(e)",
"System.err.println",
"System.err",
"System",
"System.err",
"e",
"{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t\t\t\tint H = Integer.parseInt(st.nextToken());\n\t\t\t\tint W = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(W==0 && H==0)\tbreak;\n\n\t\t\t\tfor(int i=1;i<=H;i++){\n\t\t\t\t\tfor(int j=1;j <= W;j++)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\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}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"while(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t\t\t\tint H = Integer.parseInt(st.nextToken());\n\t\t\t\tint W = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(W==0 && H==0)\tbreak;\n\n\t\t\t\tfor(int i=1;i<=H;i++){\n\t\t\t\t\tfor(int j=1;j <= W;j++)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"true",
"{\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t\t\t\tint H = Integer.parseInt(st.nextToken());\n\t\t\t\tint W = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(W==0 && H==0)\tbreak;\n\n\t\t\t\tfor(int i=1;i<=H;i++){\n\t\t\t\t\tfor(int j=1;j <= W;j++)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"String buf = br.readLine();",
"buf",
"br.readLine()",
"br.readLine",
"br",
"StringTokenizer st=new StringTokenizer(buf,\" \");",
"st",
"new StringTokenizer(buf,\" \")",
"int H = Integer.parseInt(st.nextToken());",
"H",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int W = Integer.parseInt(st.nextToken());",
"W",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"if(W==0 && H==0)\tbreak;",
"W==0 && H==0",
"W==0",
"W",
"0",
"H==0",
"H",
"0",
"break;",
"for(int i=1;i<=H;i++){\n\t\t\t\t\tfor(int j=1;j <= W;j++)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tfor(int j=1;j <= W;j++)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"{\n\t\t\t\t\tfor(int j=1;j <= W;j++)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"for(int j=1;j <= W;j++)\n\t\t\t\t\t\tSystem.out.print(\"#\");",
"int j=1;",
"int j=1;",
"j",
"1",
"j <= W",
"j",
"W",
"j++",
"j++",
"j",
"System.out.print(\"#\");",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t\t\t\tint H = Integer.parseInt(st.nextToken());\n\t\t\t\tint W = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(W==0 && H==0)\tbreak;\n\n\t\t\t\tfor(int i=1;i<=H;i++){\n\t\t\t\t\tfor(int j=1;j <= W;j++)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t\t\t\tint H = Integer.parseInt(st.nextToken());\n\t\t\t\tint W = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(W==0 && H==0)\tbreak;\n\n\t\t\t\tfor(int i=1;i<=H;i++){\n\t\t\t\t\tfor(int j=1;j <= W;j++)\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
try{
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
while(true){
String buf = br.readLine();
StringTokenizer st=new StringTokenizer(buf," ");
int H = Integer.parseInt(st.nextToken());
int W = Integer.parseInt(st.nextToken());
if(W==0 && H==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();
}
} catch(IOException e) {
System.err.println(e);
}
}
} |
[
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,
17,
2,
13,
17,
29,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
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 public static void main(String[] arg){\n int H, W;\n\n Scanner in = new Scanner(System.in);\n\n while(true){\n H = in.nextInt();\n W = in.nextInt();\n\n if(H == 0 && W == 0) return;\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}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] arg){\n int H, W;\n\n Scanner in = new Scanner(System.in);\n\n while(true){\n H = in.nextInt();\n W = in.nextInt();\n\n if(H == 0 && W == 0) return;\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}",
"Main",
"public static void main(String[] arg){\n int H, W;\n\n Scanner in = new Scanner(System.in);\n\n while(true){\n H = in.nextInt();\n W = in.nextInt();\n\n if(H == 0 && W == 0) return;\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",
"{\n int H, W;\n\n Scanner in = new Scanner(System.in);\n\n while(true){\n H = in.nextInt();\n W = in.nextInt();\n\n if(H == 0 && W == 0) return;\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 }",
"int H",
"H",
"W;",
"W",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while(true){\n H = in.nextInt();\n W = in.nextInt();\n\n if(H == 0 && W == 0) return;\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 H = in.nextInt();\n W = in.nextInt();\n\n if(H == 0 && W == 0) return;\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 }",
"H = in.nextInt()",
"H",
"in.nextInt()",
"in.nextInt",
"in",
"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 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[] arg",
"arg"
] | import java.util.Scanner;
class Main{
public static void main(String[] arg){
int H, W;
Scanner in = new Scanner(System.in);
while(true){
H = in.nextInt();
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.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,
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
],
[
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
],
[
34,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
34,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
4,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
88,
94
],
[
94,
95
]
] | [
"import java.util.Scanner;\nclass Main{\n\tpublic void Germany() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint H,W;\n\t\tH = sc.nextInt();\n\t\tW = sc.nextInt();\n\t\twhile(H != 0 && W != 0){\n\t\t\tfor(int i = 1;i <= H;i++) {\n\t\t\t\tfor(int x = 1;x <= W;x++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.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\t\tnew Main().Germany();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic void Germany() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint H,W;\n\t\tH = sc.nextInt();\n\t\tW = sc.nextInt();\n\t\twhile(H != 0 && W != 0){\n\t\t\tfor(int i = 1;i <= H;i++) {\n\t\t\t\tfor(int x = 1;x <= W;x++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.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\t\tnew Main().Germany();\n\t}\n}",
"Main",
"public void Germany() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint H,W;\n\t\tH = sc.nextInt();\n\t\tW = sc.nextInt();\n\t\twhile(H != 0 && W != 0){\n\t\t\tfor(int i = 1;i <= H;i++) {\n\t\t\t\tfor(int x = 1;x <= W;x++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println( );\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t}\n\t}",
"Germany",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint H,W;\n\t\tH = sc.nextInt();\n\t\tW = sc.nextInt();\n\t\twhile(H != 0 && W != 0){\n\t\t\tfor(int i = 1;i <= H;i++) {\n\t\t\t\tfor(int x = 1;x <= W;x++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println( );\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int H",
"H",
"W;",
"W",
"H = sc.nextInt()",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"W = sc.nextInt()",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while(H != 0 && W != 0){\n\t\t\tfor(int i = 1;i <= H;i++) {\n\t\t\t\tfor(int x = 1;x <= W;x++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println( );\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t}",
"H != 0 && W != 0",
"H != 0",
"H",
"0",
"W != 0",
"W",
"0",
"{\n\t\t\tfor(int i = 1;i <= H;i++) {\n\t\t\t\tfor(int x = 1;x <= W;x++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println( );\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t}",
"for(int i = 1;i <= H;i++) {\n\t\t\t\tfor(int x = 1;x <= W;x++) {\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 = 1;",
"int i = 1;",
"i",
"1",
"i <= H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int x = 1;x <= W;x++) {\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 x = 1;x <= W;x++) {\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 x = 1;x <= W;x++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int x = 1;",
"int x = 1;",
"x",
"1",
"x <= W",
"x",
"W",
"x++",
"x++",
"x",
"{\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.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\t\tnew Main().Germany();\n\t}",
"main",
"{\n\t\t\tnew Main().Germany();\n\t}",
"new Main().Germany()",
"new Main().Germany",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public void Germany() {
Scanner sc = new Scanner(System.in);
int H,W;
H = sc.nextInt();
W = sc.nextInt();
while(H != 0 && W != 0){
for(int i = 1;i <= H;i++) {
for(int x = 1;x <= W;x++) {
System.out.print("#");
}
System.out.print("\n");
}
System.out.println( );
H = sc.nextInt();
W = sc.nextInt();
}
}
public static void main(String[] args) {
new Main().Germany();
}
} |
[
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,
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
],
[
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
],
[
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\t\t\n\t\twhile( true ) {\n\t\t\tint height\t= sc.nextInt();\n\t\t\tint width\t= sc.nextInt();\n\t\t\t\n\t\t\tif (\t\theight\t== 0\n\t\t\t\t\t&&\twidth\t== 0\t) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\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.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner( System.in );\n\t\t\n\t\twhile( true ) {\n\t\t\tint height\t= sc.nextInt();\n\t\t\tint width\t= sc.nextInt();\n\t\t\t\n\t\t\tif (\t\theight\t== 0\n\t\t\t\t\t&&\twidth\t== 0\t) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\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.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner( System.in );\n\t\t\n\t\twhile( true ) {\n\t\t\tint height\t= sc.nextInt();\n\t\t\tint width\t= sc.nextInt();\n\t\t\t\n\t\t\tif (\t\theight\t== 0\n\t\t\t\t\t&&\twidth\t== 0\t) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\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.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner( System.in );\n\t\t\n\t\twhile( true ) {\n\t\t\tint height\t= sc.nextInt();\n\t\t\tint width\t= sc.nextInt();\n\t\t\t\n\t\t\tif (\t\theight\t== 0\n\t\t\t\t\t&&\twidth\t== 0\t) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\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.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t}\n\t}",
"Scanner sc = new Scanner( System.in );",
"sc",
"new Scanner( System.in )",
"while( true ) {\n\t\t\tint height\t= sc.nextInt();\n\t\t\tint width\t= sc.nextInt();\n\t\t\t\n\t\t\tif (\t\theight\t== 0\n\t\t\t\t\t&&\twidth\t== 0\t) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\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.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t}",
"true",
"{\n\t\t\tint height\t= sc.nextInt();\n\t\t\tint width\t= sc.nextInt();\n\t\t\t\n\t\t\tif (\t\theight\t== 0\n\t\t\t\t\t&&\twidth\t== 0\t) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\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.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t}",
"int height\t= sc.nextInt();",
"height",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int width\t= sc.nextInt();",
"width",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (\t\theight\t== 0\n\t\t\t\t\t&&\twidth\t== 0\t) {\n\t\t\t\tbreak;\n\t\t\t}",
"height\t== 0\n\t\t\t\t\t&&\twidth\t== 0",
"height\t== 0",
"height",
"0",
"width\t== 0",
"width",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"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.print(\"\\n\");\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.print(\"\\n\");\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.print(\"\\n\");\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.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner( System.in );\n\t\t\n\t\twhile( true ) {\n\t\t\tint height\t= sc.nextInt();\n\t\t\tint width\t= sc.nextInt();\n\t\t\t\n\t\t\tif (\t\theight\t== 0\n\t\t\t\t\t&&\twidth\t== 0\t) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\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.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner( System.in );\n\t\t\n\t\twhile( true ) {\n\t\t\tint height\t= sc.nextInt();\n\t\t\tint width\t= sc.nextInt();\n\t\t\t\n\t\t\tif (\t\theight\t== 0\n\t\t\t\t\t&&\twidth\t== 0\t) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\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.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner( System.in );
while( true ) {
int height = sc.nextInt();
int width = sc.nextInt();
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.print("\n");
}
System.out.print("\n");
}
}
} |
[
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,
17,
30,
41,
13,
4,
18,
13,
14,
4,
18,
17,
13,
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,
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
],
[
127,
14
],
[
127,
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
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
32,
37
],
[
26,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
17,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
42,
52
],
[
52,
53
],
[
53,
54
],
[
42,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
59,
65
],
[
56,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
71,
73
],
[
56,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
79,
80
],
[
79,
81
],
[
56,
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
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
100,
101
],
[
100,
102
],
[
95,
103
],
[
103,
104
],
[
104,
105
],
[
95,
106
],
[
107,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
94,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
56,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
15,
124
],
[
124,
125
],
[
0,
126
],
[
126,
127
],
[
126,
128
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\t\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tif(\"0 0\".equals(str)) break;\n\t\t\tlist.add(str);\n\t\t}\n\t\t\n\t\tfor(int i = 0 ; i <list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint h = Integer.parseInt(stra[0]);\n\t\t\tint w = Integer.parseInt(stra[1]);\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\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\t\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tif(\"0 0\".equals(str)) break;\n\t\t\tlist.add(str);\n\t\t}\n\t\t\n\t\tfor(int i = 0 ; i <list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint h = Integer.parseInt(stra[0]);\n\t\t\tint w = Integer.parseInt(stra[1]);\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\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\t\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tif(\"0 0\".equals(str)) break;\n\t\t\tlist.add(str);\n\t\t}\n\t\t\n\t\tfor(int i = 0 ; i <list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint h = Integer.parseInt(stra[0]);\n\t\t\tint w = Integer.parseInt(stra[1]);\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}",
"main",
"{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\t\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tif(\"0 0\".equals(str)) break;\n\t\t\tlist.add(str);\n\t\t}\n\t\t\n\t\tfor(int i = 0 ; i <list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint h = Integer.parseInt(stra[0]);\n\t\t\tint w = Integer.parseInt(stra[1]);\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}",
"BufferedReader br =new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"ArrayList<String> list = new ArrayList<String>();",
"list",
"new ArrayList<String>()",
"while(true){\n\t\t\tString str = br.readLine();\n\t\t\tif(\"0 0\".equals(str)) break;\n\t\t\tlist.add(str);\n\t\t}",
"true",
"{\n\t\t\tString str = br.readLine();\n\t\t\tif(\"0 0\".equals(str)) break;\n\t\t\tlist.add(str);\n\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"if(\"0 0\".equals(str)) break;",
"\"0 0\".equals(str)",
"\"0 0\".equals",
"\"0 0\"",
"str",
"break;",
"list.add(str)",
"list.add",
"list",
"str",
"for(int i = 0 ; i <list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint h = Integer.parseInt(stra[0]);\n\t\t\tint w = Integer.parseInt(stra[1]);\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}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i <list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint h = Integer.parseInt(stra[0]);\n\t\t\tint w = Integer.parseInt(stra[1]);\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\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint h = Integer.parseInt(stra[0]);\n\t\t\tint w = Integer.parseInt(stra[1]);\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}",
"String[] stra = list.get(i).split(\" \");",
"stra",
"list.get(i).split(\" \")",
"list.get(i).split",
"list.get(i)",
"list.get",
"list",
"i",
"\" \"",
"int h = Integer.parseInt(stra[0]);",
"h",
"Integer.parseInt(stra[0])",
"Integer.parseInt",
"Integer",
"stra[0]",
"stra",
"0",
"int w = Integer.parseInt(stra[1]);",
"w",
"Integer.parseInt(stra[1])",
"Integer.parseInt",
"Integer",
"stra[1]",
"stra",
"1",
"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\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\t\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tif(\"0 0\".equals(str)) break;\n\t\t\tlist.add(str);\n\t\t}\n\t\t\n\t\tfor(int i = 0 ; i <list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint h = Integer.parseInt(stra[0]);\n\t\t\tint w = Integer.parseInt(stra[1]);\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\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\t\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tif(\"0 0\".equals(str)) break;\n\t\t\tlist.add(str);\n\t\t}\n\t\t\n\t\tfor(int i = 0 ; i <list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint h = Integer.parseInt(stra[0]);\n\t\t\tint w = Integer.parseInt(stra[1]);\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\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{
BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
ArrayList<String> list = new ArrayList<String>();
while(true){
String str = br.readLine();
if("0 0".equals(str)) break;
list.add(str);
}
for(int i = 0 ; i <list.size() ; i++){
String[] stra = list.get(i).split(" ");
int h = Integer.parseInt(stra[0]);
int w = Integer.parseInt(stra[1]);
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,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
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,
17,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
14,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
45,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
65,
66
],
[
56,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
69,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
68,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
45,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
6,
100
],
[
100,
101
]
] | [
"\nimport java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String args[]){\n\t\t\n\t Scanner sc = new Scanner(System.in);\n\t\t\n\t while(true){\n\t\t\t\n\t //縦Hと横Wの値を受け取る\n\t\tString s1 = sc.next();\n\t int H = Integer.parseInt(s1);\n\t String s2 = sc.next();\n\t int W = Integer.parseInt(s2);\n\t \n\t //値が条件(300以下であるか)にあっているか確認\n\t if(H <= 300 && W <= 300){\n\t \n\t \t//0と0が入力された時プログラムは終了する\n\t if(H == 0 && W == 0){\n\t \t break;\n\t }\n\t \n\t //縦H個、横W個 ”#”を表示させる\n\t for(int i = 1; i <= H; i++){\n\t \t for(int j = 1; j <= W; j++){\n\t \t\t System.out.print(\"#\");\n\t \t }\n\t \t System.out.println(\"\");\n\t }\n System.out.println(\"\");\n\t }\n\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 Scanner sc = new Scanner(System.in);\n\t\t\n\t while(true){\n\t\t\t\n\t //縦Hと横Wの値を受け取る\n\t\tString s1 = sc.next();\n\t int H = Integer.parseInt(s1);\n\t String s2 = sc.next();\n\t int W = Integer.parseInt(s2);\n\t \n\t //値が条件(300以下であるか)にあっているか確認\n\t if(H <= 300 && W <= 300){\n\t \n\t \t//0と0が入力された時プログラムは終了する\n\t if(H == 0 && W == 0){\n\t \t break;\n\t }\n\t \n\t //縦H個、横W個 ”#”を表示させる\n\t for(int i = 1; i <= H; i++){\n\t \t for(int j = 1; j <= W; j++){\n\t \t\t System.out.print(\"#\");\n\t \t }\n\t \t System.out.println(\"\");\n\t }\n System.out.println(\"\");\n\t }\n\t }\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\t\n\t Scanner sc = new Scanner(System.in);\n\t\t\n\t while(true){\n\t\t\t\n\t //縦Hと横Wの値を受け取る\n\t\tString s1 = sc.next();\n\t int H = Integer.parseInt(s1);\n\t String s2 = sc.next();\n\t int W = Integer.parseInt(s2);\n\t \n\t //値が条件(300以下であるか)にあっているか確認\n\t if(H <= 300 && W <= 300){\n\t \n\t \t//0と0が入力された時プログラムは終了する\n\t if(H == 0 && W == 0){\n\t \t break;\n\t }\n\t \n\t //縦H個、横W個 ”#”を表示させる\n\t for(int i = 1; i <= H; i++){\n\t \t for(int j = 1; j <= W; j++){\n\t \t\t System.out.print(\"#\");\n\t \t }\n\t \t System.out.println(\"\");\n\t }\n System.out.println(\"\");\n\t }\n\t }\n\t}",
"main",
"{\n\t\t\n\t Scanner sc = new Scanner(System.in);\n\t\t\n\t while(true){\n\t\t\t\n\t //縦Hと横Wの値を受け取る\n\t\tString s1 = sc.next();\n\t int H = Integer.parseInt(s1);\n\t String s2 = sc.next();\n\t int W = Integer.parseInt(s2);\n\t \n\t //値が条件(300以下であるか)にあっているか確認\n\t if(H <= 300 && W <= 300){\n\t \n\t \t//0と0が入力された時プログラムは終了する\n\t if(H == 0 && W == 0){\n\t \t break;\n\t }\n\t \n\t //縦H個、横W個 ”#”を表示させる\n\t for(int i = 1; i <= H; i++){\n\t \t for(int j = 1; j <= W; j++){\n\t \t\t System.out.print(\"#\");\n\t \t }\n\t \t System.out.println(\"\");\n\t }\n System.out.println(\"\");\n\t }\n\t }\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(true){\n\t\t\t\n\t //縦Hと横Wの値を受け取る\n\t\tString s1 = sc.next();\n\t int H = Integer.parseInt(s1);\n\t String s2 = sc.next();\n\t int W = Integer.parseInt(s2);\n\t \n\t //値が条件(300以下であるか)にあっているか確認\n\t if(H <= 300 && W <= 300){\n\t \n\t \t//0と0が入力された時プログラムは終了する\n\t if(H == 0 && W == 0){\n\t \t break;\n\t }\n\t \n\t //縦H個、横W個 ”#”を表示させる\n\t for(int i = 1; i <= H; i++){\n\t \t for(int j = 1; j <= W; j++){\n\t \t\t System.out.print(\"#\");\n\t \t }\n\t \t System.out.println(\"\");\n\t }\n System.out.println(\"\");\n\t }\n\t }",
"true",
"{\n\t\t\t\n\t //縦Hと横Wの値を受け取る\n\t\tString s1 = sc.next();\n\t int H = Integer.parseInt(s1);\n\t String s2 = sc.next();\n\t int W = Integer.parseInt(s2);\n\t \n\t //値が条件(300以下であるか)にあっているか確認\n\t if(H <= 300 && W <= 300){\n\t \n\t \t//0と0が入力された時プログラムは終了する\n\t if(H == 0 && W == 0){\n\t \t break;\n\t }\n\t \n\t //縦H個、横W個 ”#”を表示させる\n\t for(int i = 1; i <= H; i++){\n\t \t for(int j = 1; j <= W; j++){\n\t \t\t System.out.print(\"#\");\n\t \t }\n\t \t System.out.println(\"\");\n\t }\n System.out.println(\"\");\n\t }\n\t }",
"String s1 = sc.next();",
"s1",
"sc.next()",
"sc.next",
"sc",
"int H = Integer.parseInt(s1);",
"H",
"Integer.parseInt(s1)",
"Integer.parseInt",
"Integer",
"s1",
"String s2 = sc.next();",
"s2",
"sc.next()",
"sc.next",
"sc",
"int W = Integer.parseInt(s2);",
"W",
"Integer.parseInt(s2)",
"Integer.parseInt",
"Integer",
"s2",
"if(H <= 300 && W <= 300){\n\t \n\t \t//0と0が入力された時プログラムは終了する\n\t if(H == 0 && W == 0){\n\t \t break;\n\t }\n\t \n\t //縦H個、横W個 ”#”を表示させる\n\t for(int i = 1; i <= H; i++){\n\t \t for(int j = 1; j <= W; j++){\n\t \t\t System.out.print(\"#\");\n\t \t }\n\t \t System.out.println(\"\");\n\t }\n System.out.println(\"\");\n\t }",
"H <= 300 && W <= 300",
"H <= 300",
"H",
"300",
"W <= 300",
"W",
"300",
"{\n\t \n\t \t//0と0が入力された時プログラムは終了する\n\t if(H == 0 && W == 0){\n\t \t break;\n\t }\n\t \n\t //縦H個、横W個 ”#”を表示させる\n\t for(int i = 1; i <= H; i++){\n\t \t for(int j = 1; j <= W; j++){\n\t \t\t System.out.print(\"#\");\n\t \t }\n\t \t System.out.println(\"\");\n\t }\n System.out.println(\"\");\n\t }",
"if(H == 0 && W == 0){\n\t \t break;\n\t }",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n\t \t break;\n\t }",
"break;",
"for(int i = 1; i <= H; i++){\n\t \t for(int j = 1; j <= W; j++){\n\t \t\t System.out.print(\"#\");\n\t \t }\n\t \t System.out.println(\"\");\n\t }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t \t for(int j = 1; j <= W; j++){\n\t \t\t System.out.print(\"#\");\n\t \t }\n\t \t System.out.println(\"\");\n\t }",
"{\n\t \t for(int j = 1; j <= W; j++){\n\t \t\t System.out.print(\"#\");\n\t \t }\n\t \t System.out.println(\"\");\n\t }",
"for(int j = 1; j <= W; j++){\n\t \t\t System.out.print(\"#\");\n\t \t }",
"int j = 1;",
"int j = 1;",
"j",
"1",
"j <= W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t \t\t System.out.print(\"#\");\n\t \t }",
"{\n\t \t\t System.out.print(\"#\");\n\t \t }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String args[]",
"args"
] |
import java.util.Scanner;
class Main {
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
while(true){
//縦Hと横Wの値を受け取る
String s1 = sc.next();
int H = Integer.parseInt(s1);
String s2 = sc.next();
int W = Integer.parseInt(s2);
//値が条件(300以下であるか)にあっているか確認
if(H <= 300 && W <= 300){
//0と0が入力された時プログラムは終了する
if(H == 0 && W == 0){
break;
}
//縦H個、横W個 ”#”を表示させる
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,
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,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
101,
5
],
[
101,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
8,
95
],
[
95,
96
],
[
96,
97
],
[
6,
98
],
[
98,
99
],
[
0,
100
],
[
100,
101
],
[
100,
102
]
] | [
"import java.util.Scanner;\n \npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder Newbuilt = new StringBuilder(); //????????????????????????????????????????????????\n //H??¨W?????\\?????????????????????????????§??? \n while (true) {\n String[] array = sc.nextLine().split(\" \");\n int H = Integer.parseInt(array[0]);\n int W = Integer.parseInt(array[1]);\n if (H == 0 && W == 0) break ;\n //????????¢?????¢???????¨???????????????¶ HxW\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n Newbuilt.append(\"#\");\n }\n Newbuilt.append(\"\\n\");\n }\n Newbuilt.append(\"\\n\");\n \n }\n //StringBuilder?????????????????????????????????????????????????????????\n System.out.print(Newbuilt);\n \n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder Newbuilt = new StringBuilder(); //????????????????????????????????????????????????\n //H??¨W?????\\?????????????????????????????§??? \n while (true) {\n String[] array = sc.nextLine().split(\" \");\n int H = Integer.parseInt(array[0]);\n int W = Integer.parseInt(array[1]);\n if (H == 0 && W == 0) break ;\n //????????¢?????¢???????¨???????????????¶ HxW\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n Newbuilt.append(\"#\");\n }\n Newbuilt.append(\"\\n\");\n }\n Newbuilt.append(\"\\n\");\n \n }\n //StringBuilder?????????????????????????????????????????????????????????\n System.out.print(Newbuilt);\n \n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder Newbuilt = new StringBuilder(); //????????????????????????????????????????????????\n //H??¨W?????\\?????????????????????????????§??? \n while (true) {\n String[] array = sc.nextLine().split(\" \");\n int H = Integer.parseInt(array[0]);\n int W = Integer.parseInt(array[1]);\n if (H == 0 && W == 0) break ;\n //????????¢?????¢???????¨???????????????¶ HxW\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n Newbuilt.append(\"#\");\n }\n Newbuilt.append(\"\\n\");\n }\n Newbuilt.append(\"\\n\");\n \n }\n //StringBuilder?????????????????????????????????????????????????????????\n System.out.print(Newbuilt);\n \n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n StringBuilder Newbuilt = new StringBuilder(); //????????????????????????????????????????????????\n //H??¨W?????\\?????????????????????????????§??? \n while (true) {\n String[] array = sc.nextLine().split(\" \");\n int H = Integer.parseInt(array[0]);\n int W = Integer.parseInt(array[1]);\n if (H == 0 && W == 0) break ;\n //????????¢?????¢???????¨???????????????¶ HxW\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n Newbuilt.append(\"#\");\n }\n Newbuilt.append(\"\\n\");\n }\n Newbuilt.append(\"\\n\");\n \n }\n //StringBuilder?????????????????????????????????????????????????????????\n System.out.print(Newbuilt);\n \n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuilder Newbuilt = new StringBuilder();",
"Newbuilt",
"new StringBuilder()",
"while (true) {\n String[] array = sc.nextLine().split(\" \");\n int H = Integer.parseInt(array[0]);\n int W = Integer.parseInt(array[1]);\n if (H == 0 && W == 0) break ;\n //????????¢?????¢???????¨???????????????¶ HxW\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n Newbuilt.append(\"#\");\n }\n Newbuilt.append(\"\\n\");\n }\n Newbuilt.append(\"\\n\");\n \n }",
"true",
"{\n String[] array = sc.nextLine().split(\" \");\n int H = Integer.parseInt(array[0]);\n int W = Integer.parseInt(array[1]);\n if (H == 0 && W == 0) break ;\n //????????¢?????¢???????¨???????????????¶ HxW\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n Newbuilt.append(\"#\");\n }\n Newbuilt.append(\"\\n\");\n }\n Newbuilt.append(\"\\n\");\n \n }",
"String[] array = sc.nextLine().split(\" \");",
"array",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"int H = Integer.parseInt(array[0]);",
"H",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"int W = Integer.parseInt(array[1]);",
"W",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"if (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 Newbuilt.append(\"#\");\n }\n Newbuilt.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 Newbuilt.append(\"#\");\n }\n Newbuilt.append(\"\\n\");\n }",
"{\n for (int j = 0; j < W; j++) {\n Newbuilt.append(\"#\");\n }\n Newbuilt.append(\"\\n\");\n }",
"for (int j = 0; j < W; j++) {\n Newbuilt.append(\"#\");\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n Newbuilt.append(\"#\");\n }",
"{\n Newbuilt.append(\"#\");\n }",
"Newbuilt.append(\"#\")",
"Newbuilt.append",
"Newbuilt",
"\"#\"",
"Newbuilt.append(\"\\n\")",
"Newbuilt.append",
"Newbuilt",
"\"\\n\"",
"Newbuilt.append(\"\\n\")",
"Newbuilt.append",
"Newbuilt",
"\"\\n\"",
"System.out.print(Newbuilt)",
"System.out.print",
"System.out",
"System",
"System.out",
"Newbuilt",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder Newbuilt = new StringBuilder(); //????????????????????????????????????????????????\n //H??¨W?????\\?????????????????????????????§??? \n while (true) {\n String[] array = sc.nextLine().split(\" \");\n int H = Integer.parseInt(array[0]);\n int W = Integer.parseInt(array[1]);\n if (H == 0 && W == 0) break ;\n //????????¢?????¢???????¨???????????????¶ HxW\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n Newbuilt.append(\"#\");\n }\n Newbuilt.append(\"\\n\");\n }\n Newbuilt.append(\"\\n\");\n \n }\n //StringBuilder?????????????????????????????????????????????????????????\n System.out.print(Newbuilt);\n \n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder Newbuilt = new StringBuilder(); //????????????????????????????????????????????????\n //H??¨W?????\\?????????????????????????????§??? \n while (true) {\n String[] array = sc.nextLine().split(\" \");\n int H = Integer.parseInt(array[0]);\n int W = Integer.parseInt(array[1]);\n if (H == 0 && W == 0) break ;\n //????????¢?????¢???????¨???????????????¶ HxW\n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n Newbuilt.append(\"#\");\n }\n Newbuilt.append(\"\\n\");\n }\n Newbuilt.append(\"\\n\");\n \n }\n //StringBuilder?????????????????????????????????????????????????????????\n System.out.print(Newbuilt);\n \n sc.close();\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
StringBuilder Newbuilt = new StringBuilder(); //????????????????????????????????????????????????
//H??¨W?????\?????????????????????????????§???
while (true) {
String[] array = sc.nextLine().split(" ");
int H = Integer.parseInt(array[0]);
int W = Integer.parseInt(array[1]);
if (H == 0 && W == 0) break ;
//????????¢?????¢???????¨???????????????¶ HxW
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
Newbuilt.append("#");
}
Newbuilt.append("\n");
}
Newbuilt.append("\n");
}
//StringBuilder?????????????????????????????????????????????????????????
System.out.print(Newbuilt);
sc.close();
}
} |
[
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,
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
],
[
107,
5
],
[
107,
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
],
[
32,
35
],
[
24,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
24,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
24,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
24,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
62,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
75,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
74,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
24,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
6,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
] | [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n for(int i = 0; i < 300; i++) {\n String line = sc.nextLine();\n String[] l = line.split(\" \");\n int H = Integer.parseInt(l[0]);\n int W = Integer.parseInt(l[1]);\n if(H == 0 && W == 0) {\n break;\n }\n\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.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n for(int i = 0; i < 300; i++) {\n String line = sc.nextLine();\n String[] l = line.split(\" \");\n int H = Integer.parseInt(l[0]);\n int W = Integer.parseInt(l[1]);\n if(H == 0 && W == 0) {\n break;\n }\n\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\n Scanner sc = new Scanner(System.in);\n\n for(int i = 0; i < 300; i++) {\n String line = sc.nextLine();\n String[] l = line.split(\" \");\n int H = Integer.parseInt(l[0]);\n int W = Integer.parseInt(l[1]);\n if(H == 0 && W == 0) {\n break;\n }\n\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\n Scanner sc = new Scanner(System.in);\n\n for(int i = 0; i < 300; i++) {\n String line = sc.nextLine();\n String[] l = line.split(\" \");\n int H = Integer.parseInt(l[0]);\n int W = Integer.parseInt(l[1]);\n if(H == 0 && W == 0) {\n break;\n }\n\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 sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i = 0; i < 300; i++) {\n String line = sc.nextLine();\n String[] l = line.split(\" \");\n int H = Integer.parseInt(l[0]);\n int W = Integer.parseInt(l[1]);\n if(H == 0 && W == 0) {\n break;\n }\n\n for(int h = 0; h < H; h++) {\n for(int w = 0; w < W; w++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 300",
"i",
"300",
"i++",
"i++",
"i",
"{\n String line = sc.nextLine();\n String[] l = line.split(\" \");\n int H = Integer.parseInt(l[0]);\n int W = Integer.parseInt(l[1]);\n if(H == 0 && W == 0) {\n break;\n }\n\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 String line = sc.nextLine();\n String[] l = line.split(\" \");\n int H = Integer.parseInt(l[0]);\n int W = Integer.parseInt(l[1]);\n if(H == 0 && W == 0) {\n break;\n }\n\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 }",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] l = line.split(\" \");",
"l",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int H = Integer.parseInt(l[0]);",
"H",
"Integer.parseInt(l[0])",
"Integer.parseInt",
"Integer",
"l[0]",
"l",
"0",
"int W = Integer.parseInt(l[1]);",
"W",
"Integer.parseInt(l[1])",
"Integer.parseInt",
"Integer",
"l[1]",
"l",
"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 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\n Scanner sc = new Scanner(System.in);\n\n for(int i = 0; i < 300; i++) {\n String line = sc.nextLine();\n String[] l = line.split(\" \");\n int H = Integer.parseInt(l[0]);\n int W = Integer.parseInt(l[1]);\n if(H == 0 && W == 0) {\n break;\n }\n\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\n Scanner sc = new Scanner(System.in);\n\n for(int i = 0; i < 300; i++) {\n String line = sc.nextLine();\n String[] l = line.split(\" \");\n int H = Integer.parseInt(l[0]);\n int W = Integer.parseInt(l[1]);\n if(H == 0 && W == 0) {\n break;\n }\n\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.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
for(int i = 0; i < 300; i++) {
String line = sc.nextLine();
String[] l = line.split(" ");
int H = Integer.parseInt(l[0]);
int W = Integer.parseInt(l[1]);
if(H == 0 && W == 0) {
break;
}
for(int h = 0; h < H; h++) {
for(int w = 0; w < W; w++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
0,
13,
17,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
0,
13,
17,
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
],
[
103,
11
],
[
103,
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
],
[
20,
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
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
68,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
67,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
20,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
12,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] str = in.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 = 0; i < H; i += 1) {\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] str = in.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 = 0; i < H; i += 1) {\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] str = in.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 = 0; i < H; i += 1) {\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] str = in.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 = 0; i < H; i += 1) {\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"while (true) {\n\t\t\tString[] str = in.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 = 0; i < H; i += 1) {\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}",
"true",
"{\n\t\t\tString[] str = in.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 = 0; i < H; i += 1) {\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}",
"String[] str = in.readLine().split(\" \");",
"str",
"in.readLine().split(\" \")",
"in.readLine().split",
"in.readLine()",
"in.readLine",
"in",
"\" \"",
"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 = 0; i < H; i += 1) {\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i += 1",
"i += 1",
"i",
"1",
"{\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}",
"{\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}",
"for (int j = 0; j < W; j += 1) {\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 += 1",
"j += 1",
"j",
"1",
"{\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) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] str = in.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 = 0; i < H; i += 1) {\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] str = in.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 = 0; i < H; i += 1) {\n\t\t\t\tfor (int j = 0; j < W; j += 1) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
while (true) {
String[] str = in.readLine().split(" ");
int H = Integer.parseInt(str[0]);
int W = Integer.parseInt(str[1]);
if (H == 0 && W == 0)
break;
for (int i = 0; i < H; i += 1) {
for (int j = 0; j < W; j += 1) {
System.out.print("#");
}
System.out.print("\n");
}
System.out.print("\n");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
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
],
[
88,
5
],
[
88,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
44,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
43,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
30,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
30,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
30,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint height = scan.nextInt();\n\t\tint width = scan.nextInt();\n\t\t\n\t\twhile(height != 0 || height != 0)\n\t\t{\n\t\t\tfor(int i = 0;i < height;i++)\n\t\t\t{\n\t\t\t\tfor(int j = 0;j < width;j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\theight = scan.nextInt();\n\t\t\twidth = 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{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint height = scan.nextInt();\n\t\tint width = scan.nextInt();\n\t\t\n\t\twhile(height != 0 || height != 0)\n\t\t{\n\t\t\tfor(int i = 0;i < height;i++)\n\t\t\t{\n\t\t\t\tfor(int j = 0;j < width;j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\theight = scan.nextInt();\n\t\t\twidth = scan.nextInt();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint height = scan.nextInt();\n\t\tint width = scan.nextInt();\n\t\t\n\t\twhile(height != 0 || height != 0)\n\t\t{\n\t\t\tfor(int i = 0;i < height;i++)\n\t\t\t{\n\t\t\t\tfor(int j = 0;j < width;j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\theight = scan.nextInt();\n\t\t\twidth = scan.nextInt();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint height = scan.nextInt();\n\t\tint width = scan.nextInt();\n\t\t\n\t\twhile(height != 0 || height != 0)\n\t\t{\n\t\t\tfor(int i = 0;i < height;i++)\n\t\t\t{\n\t\t\t\tfor(int j = 0;j < width;j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\theight = scan.nextInt();\n\t\t\twidth = scan.nextInt();\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int height = scan.nextInt();",
"height",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int width = scan.nextInt();",
"width",
"scan.nextInt()",
"scan.nextInt",
"scan",
"while(height != 0 || height != 0)\n\t\t{\n\t\t\tfor(int i = 0;i < height;i++)\n\t\t\t{\n\t\t\t\tfor(int j = 0;j < width;j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\theight = scan.nextInt();\n\t\t\twidth = scan.nextInt();\n\t\t}",
"height != 0 || height != 0",
"height != 0",
"height",
"0",
"height != 0",
"height",
"0",
"{\n\t\t\tfor(int i = 0;i < height;i++)\n\t\t\t{\n\t\t\t\tfor(int j = 0;j < width;j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\theight = scan.nextInt();\n\t\t\twidth = scan.nextInt();\n\t\t}",
"for(int i = 0;i < height;i++)\n\t\t\t{\n\t\t\t\tfor(int j = 0;j < width;j++)\n\t\t\t\t{\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{\n\t\t\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{\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{\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",
"\"\"",
"height = scan.nextInt()",
"height",
"scan.nextInt()",
"scan.nextInt",
"scan",
"width = scan.nextInt()",
"width",
"scan.nextInt()",
"scan.nextInt",
"scan",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint height = scan.nextInt();\n\t\tint width = scan.nextInt();\n\t\t\n\t\twhile(height != 0 || height != 0)\n\t\t{\n\t\t\tfor(int i = 0;i < height;i++)\n\t\t\t{\n\t\t\t\tfor(int j = 0;j < width;j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\theight = scan.nextInt();\n\t\t\twidth = scan.nextInt();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint height = scan.nextInt();\n\t\tint width = scan.nextInt();\n\t\t\n\t\twhile(height != 0 || height != 0)\n\t\t{\n\t\t\tfor(int i = 0;i < height;i++)\n\t\t\t{\n\t\t\t\tfor(int j = 0;j < width;j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\theight = scan.nextInt();\n\t\t\twidth = 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 height = scan.nextInt();
int width = scan.nextInt();
while(height != 0 || height != 0)
{
for(int i = 0;i < height;i++)
{
for(int j = 0;j < width;j++)
{
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
height = scan.nextInt();
width = scan.nextInt();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
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
],
[
82,
5
],
[
82,
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
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] | [
"import java.util.Scanner;\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\twhile(true){\n\t\tint H=sc.nextInt();\n\t\tint W=sc.nextInt();\n\t\tif( H==0&& W==0) {\n\t\t\tbreak;\n\t\t}\n\t\tfor(int a=0;a<H;a++) {\n\t\t\tfor(int b=0;b<W;b++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}\n\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\twhile(true){\n\t\tint H=sc.nextInt();\n\t\tint W=sc.nextInt();\n\t\tif( H==0&& W==0) {\n\t\t\tbreak;\n\t\t}\n\t\tfor(int a=0;a<H;a++) {\n\t\t\tfor(int b=0;b<W;b++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\twhile(true){\n\t\tint H=sc.nextInt();\n\t\tint W=sc.nextInt();\n\t\tif( H==0&& W==0) {\n\t\t\tbreak;\n\t\t}\n\t\tfor(int a=0;a<H;a++) {\n\t\t\tfor(int b=0;b<W;b++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\twhile(true){\n\t\tint H=sc.nextInt();\n\t\tint W=sc.nextInt();\n\t\tif( H==0&& W==0) {\n\t\t\tbreak;\n\t\t}\n\t\tfor(int a=0;a<H;a++) {\n\t\t\tfor(int b=0;b<W;b++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(true){\n\t\tint H=sc.nextInt();\n\t\tint W=sc.nextInt();\n\t\tif( H==0&& W==0) {\n\t\t\tbreak;\n\t\t}\n\t\tfor(int a=0;a<H;a++) {\n\t\t\tfor(int b=0;b<W;b++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t\tSystem.out.println(\"\");\n\t\t}",
"true",
"{\n\t\tint H=sc.nextInt();\n\t\tint W=sc.nextInt();\n\t\tif( H==0&& W==0) {\n\t\t\tbreak;\n\t\t}\n\t\tfor(int a=0;a<H;a++) {\n\t\t\tfor(int b=0;b<W;b++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t\tSystem.out.println(\"\");\n\t\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\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 a=0;a<H;a++) {\n\t\t\tfor(int b=0;b<W;b++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"int a=0;",
"int a=0;",
"a",
"0",
"a<H",
"a",
"H",
"a++",
"a++",
"a",
"{\n\t\t\tfor(int b=0;b<W;b++) {\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 b=0;b<W;b++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"for(int b=0;b<W;b++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}",
"int b=0;",
"int b=0;",
"b",
"0",
"b<W",
"b",
"W",
"b++",
"b++",
"b",
"{\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\twhile(true){\n\t\tint H=sc.nextInt();\n\t\tint W=sc.nextInt();\n\t\tif( H==0&& W==0) {\n\t\t\tbreak;\n\t\t}\n\t\tfor(int a=0;a<H;a++) {\n\t\t\tfor(int b=0;b<W;b++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\twhile(true){\n\t\tint H=sc.nextInt();\n\t\tint W=sc.nextInt();\n\t\tif( H==0&& W==0) {\n\t\t\tbreak;\n\t\t}\n\t\tfor(int a=0;a<H;a++) {\n\t\t\tfor(int b=0;b<W;b++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
while(true){
int H=sc.nextInt();
int W=sc.nextInt();
if( H==0&& W==0) {
break;
}
for(int a=0;a<H;a++) {
for(int b=0;b<W;b++) {
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
3,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
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
],
[
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
],
[
37,
38
],
[
38,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
36,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
36,
55
],
[
28,
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
],
[
83,
86
],
[
69,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
56,
91
],
[
91,
92
],
[
92,
93
],
[
91,
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\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tsc.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int t = 0; t < W; t++) {\n\t\t\t\t\t\ttext.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\ttext.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\ttext.append(\"\\n\");\n\t\t\t}\n\n\t\t}\n\t}\n\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\tStringBuilder text = new StringBuilder();\n\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tsc.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int t = 0; t < W; t++) {\n\t\t\t\t\t\ttext.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\ttext.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\ttext.append(\"\\n\");\n\t\t\t}\n\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tsc.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int t = 0; t < W; t++) {\n\t\t\t\t\t\ttext.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\ttext.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\ttext.append(\"\\n\");\n\t\t\t}\n\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tsc.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int t = 0; t < W; t++) {\n\t\t\t\t\t\ttext.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\ttext.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\ttext.append(\"\\n\");\n\t\t\t}\n\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuilder text = new StringBuilder();",
"text",
"new StringBuilder()",
"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\tsc.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int t = 0; t < W; t++) {\n\t\t\t\t\t\ttext.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\ttext.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\ttext.append(\"\\n\");\n\t\t\t}\n\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\tsc.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int t = 0; t < W; t++) {\n\t\t\t\t\t\ttext.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\ttext.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\ttext.append(\"\\n\");\n\t\t\t}\n\n\t\t}",
"int H = sc.nextInt();",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int W = sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (H == 0 && W == 0) {\n\t\t\t\tsc.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int t = 0; t < W; t++) {\n\t\t\t\t\t\ttext.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\ttext.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\ttext.append(\"\\n\");\n\t\t\t}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n\t\t\t\tsc.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t}",
"sc.close()",
"sc.close",
"sc",
"text.deleteCharAt(text.lastIndexOf(\"\\n\"))",
"text.deleteCharAt",
"text",
"text.lastIndexOf(\"\\n\")",
"text.lastIndexOf",
"text",
"\"\\n\"",
"System.out.println(text.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"text.toString()",
"text.toString",
"text",
"break;",
"{\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int t = 0; t < W; t++) {\n\t\t\t\t\t\ttext.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\ttext.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\ttext.append(\"\\n\");\n\t\t\t}",
"for (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int t = 0; t < W; t++) {\n\t\t\t\t\t\ttext.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\ttext.append(\"\\n\");\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 t = 0; t < W; t++) {\n\t\t\t\t\t\ttext.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\ttext.append(\"\\n\");\n\t\t\t\t}",
"{\n\t\t\t\t\tfor (int t = 0; t < W; t++) {\n\t\t\t\t\t\ttext.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\ttext.append(\"\\n\");\n\t\t\t\t}",
"for (int t = 0; t < W; t++) {\n\t\t\t\t\t\ttext.append(\"#\");\n\t\t\t\t\t}",
"int t = 0;",
"int t = 0;",
"t",
"0",
"t < W",
"t",
"W",
"t++",
"t++",
"t",
"{\n\t\t\t\t\t\ttext.append(\"#\");\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\ttext.append(\"#\");\n\t\t\t\t\t}",
"text.append(\"#\")",
"text.append",
"text",
"\"#\"",
"text.append(\"\\n\")",
"text.append",
"text",
"\"\\n\"",
"text.append(\"\\n\")",
"text.append",
"text",
"\"\\n\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tsc.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int t = 0; t < W; t++) {\n\t\t\t\t\t\ttext.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\ttext.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\ttext.append(\"\\n\");\n\t\t\t}\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\t\tStringBuilder text = new StringBuilder();\n\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tsc.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tfor (int i = 0; i < H; i++) {\n\t\t\t\t\tfor (int t = 0; t < W; t++) {\n\t\t\t\t\t\ttext.append(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\ttext.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\ttext.append(\"\\n\");\n\t\t\t}\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);
StringBuilder text = new StringBuilder();
while (true) {
int H = sc.nextInt();
int W = sc.nextInt();
if (H == 0 && W == 0) {
sc.close();
text.deleteCharAt(text.lastIndexOf("\n"));
System.out.println(text.toString());
break;
} else {
for (int i = 0; i < H; i++) {
for (int t = 0; t < W; t++) {
text.append("#");
}
text.append("\n");
}
text.append("\n");
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
20,
17,
41,
13,
17,
42,
17,
30,
38,
5,
13,
30,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
41,
13,
20,
42,
4,
18,
13,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
40,
13,
0,
13,
17,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
30,
4,
18,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
17,
0,
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
],
[
17,
23
],
[
23,
24
],
[
17,
25
],
[
25,
26
],
[
17,
27
],
[
27,
28
],
[
27,
29
],
[
17,
30
],
[
30,
31
],
[
30,
32
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
17,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
48,
54
],
[
54,
55
],
[
54,
56
],
[
48,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
72,
73
],
[
48,
74
],
[
74,
75
],
[
74,
76
],
[
48,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
78,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
77,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
77,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
102,
104
],
[
95,
105
],
[
105,
106
],
[
106,
107
],
[
95,
108
],
[
109,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
94,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
122,
124
],
[
115,
125
],
[
125,
126
],
[
126,
127
],
[
115,
128
],
[
129,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
130,
135
],
[
94,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
136,
141
],
[
94,
142
],
[
142,
143
],
[
142,
144
],
[
15,
145
],
[
145,
146
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\n\nclass Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString name;\n\t\tint num;\n\t\tint compare;\n\t\tString waku=\"\";\n\n\t\tint[] a=new int[2];\n\t\tint i=0;\n\t\twhile(true){\n\n\t\t\ttry{\n\t\t\t\tname=br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(name,\" \");\n\t\t\t\twhile (st.hasMoreTokens()) {\n\t\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t\t\ti++;\n\t\t\t\t}i=0;\n\n\t\t\t\tif(a[0]==0 && a[1]==0){\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\n\t\t\t\telse{\n\t\t\t\t\tfor(int k=0; k<a[1]; k++){\n\t\t\t\t\t\twaku=waku+\"#\";\n\t\t\t\t\t}\n\n\n\t\t\t\t\tfor(int j=0; j<a[0]; j++){\n\t\t\t\t\t\tSystem.out.println(waku);\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\twaku=\"\";\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tcatch(Exception e){\n\t\t\t\tSystem.exit(0);\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",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString name;\n\t\tint num;\n\t\tint compare;\n\t\tString waku=\"\";\n\n\t\tint[] a=new int[2];\n\t\tint i=0;\n\t\twhile(true){\n\n\t\t\ttry{\n\t\t\t\tname=br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(name,\" \");\n\t\t\t\twhile (st.hasMoreTokens()) {\n\t\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t\t\ti++;\n\t\t\t\t}i=0;\n\n\t\t\t\tif(a[0]==0 && a[1]==0){\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\n\t\t\t\telse{\n\t\t\t\t\tfor(int k=0; k<a[1]; k++){\n\t\t\t\t\t\twaku=waku+\"#\";\n\t\t\t\t\t}\n\n\n\t\t\t\t\tfor(int j=0; j<a[0]; j++){\n\t\t\t\t\t\tSystem.out.println(waku);\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\twaku=\"\";\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tcatch(Exception e){\n\t\t\t\tSystem.exit(0);\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\tString name;\n\t\tint num;\n\t\tint compare;\n\t\tString waku=\"\";\n\n\t\tint[] a=new int[2];\n\t\tint i=0;\n\t\twhile(true){\n\n\t\t\ttry{\n\t\t\t\tname=br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(name,\" \");\n\t\t\t\twhile (st.hasMoreTokens()) {\n\t\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t\t\ti++;\n\t\t\t\t}i=0;\n\n\t\t\t\tif(a[0]==0 && a[1]==0){\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\n\t\t\t\telse{\n\t\t\t\t\tfor(int k=0; k<a[1]; k++){\n\t\t\t\t\t\twaku=waku+\"#\";\n\t\t\t\t\t}\n\n\n\t\t\t\t\tfor(int j=0; j<a[0]; j++){\n\t\t\t\t\t\tSystem.out.println(waku);\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\twaku=\"\";\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tcatch(Exception e){\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString name;\n\t\tint num;\n\t\tint compare;\n\t\tString waku=\"\";\n\n\t\tint[] a=new int[2];\n\t\tint i=0;\n\t\twhile(true){\n\n\t\t\ttry{\n\t\t\t\tname=br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(name,\" \");\n\t\t\t\twhile (st.hasMoreTokens()) {\n\t\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t\t\ti++;\n\t\t\t\t}i=0;\n\n\t\t\t\tif(a[0]==0 && a[1]==0){\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\n\t\t\t\telse{\n\t\t\t\t\tfor(int k=0; k<a[1]; k++){\n\t\t\t\t\t\twaku=waku+\"#\";\n\t\t\t\t\t}\n\n\n\t\t\t\t\tfor(int j=0; j<a[0]; j++){\n\t\t\t\t\t\tSystem.out.println(waku);\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\twaku=\"\";\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tcatch(Exception e){\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String name;",
"name",
"int num;",
"num",
"int compare;",
"compare",
"String waku=\"\";",
"waku",
"\"\"",
"int[] a=new int[2];",
"a",
"new int[2]",
"2",
"int i=0;",
"i",
"0",
"while(true){\n\n\t\t\ttry{\n\t\t\t\tname=br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(name,\" \");\n\t\t\t\twhile (st.hasMoreTokens()) {\n\t\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t\t\ti++;\n\t\t\t\t}i=0;\n\n\t\t\t\tif(a[0]==0 && a[1]==0){\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\n\t\t\t\telse{\n\t\t\t\t\tfor(int k=0; k<a[1]; k++){\n\t\t\t\t\t\twaku=waku+\"#\";\n\t\t\t\t\t}\n\n\n\t\t\t\t\tfor(int j=0; j<a[0]; j++){\n\t\t\t\t\t\tSystem.out.println(waku);\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\twaku=\"\";\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tcatch(Exception e){\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}",
"true",
"{\n\n\t\t\ttry{\n\t\t\t\tname=br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(name,\" \");\n\t\t\t\twhile (st.hasMoreTokens()) {\n\t\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t\t\ti++;\n\t\t\t\t}i=0;\n\n\t\t\t\tif(a[0]==0 && a[1]==0){\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\n\t\t\t\telse{\n\t\t\t\t\tfor(int k=0; k<a[1]; k++){\n\t\t\t\t\t\twaku=waku+\"#\";\n\t\t\t\t\t}\n\n\n\t\t\t\t\tfor(int j=0; j<a[0]; j++){\n\t\t\t\t\t\tSystem.out.println(waku);\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\twaku=\"\";\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tcatch(Exception e){\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}",
"try{\n\t\t\t\tname=br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(name,\" \");\n\t\t\t\twhile (st.hasMoreTokens()) {\n\t\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t\t\ti++;\n\t\t\t\t}i=0;\n\n\t\t\t\tif(a[0]==0 && a[1]==0){\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\n\t\t\t\telse{\n\t\t\t\t\tfor(int k=0; k<a[1]; k++){\n\t\t\t\t\t\twaku=waku+\"#\";\n\t\t\t\t\t}\n\n\n\t\t\t\t\tfor(int j=0; j<a[0]; j++){\n\t\t\t\t\t\tSystem.out.println(waku);\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\twaku=\"\";\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tcatch(Exception e){\n\t\t\t\tSystem.exit(0);\n\t\t\t}",
"catch(Exception e){\n\t\t\t\tSystem.exit(0);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tSystem.exit(0);\n\t\t\t}",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n\t\t\t\tname=br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(name,\" \");\n\t\t\t\twhile (st.hasMoreTokens()) {\n\t\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t\t\ti++;\n\t\t\t\t}i=0;\n\n\t\t\t\tif(a[0]==0 && a[1]==0){\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\n\t\t\t\telse{\n\t\t\t\t\tfor(int k=0; k<a[1]; k++){\n\t\t\t\t\t\twaku=waku+\"#\";\n\t\t\t\t\t}\n\n\n\t\t\t\t\tfor(int j=0; j<a[0]; j++){\n\t\t\t\t\t\tSystem.out.println(waku);\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\twaku=\"\";\n\t\t\t\t}\n\t\t\t}",
"name=br.readLine()",
"name",
"br.readLine()",
"br.readLine",
"br",
"StringTokenizer st=new StringTokenizer(name,\" \");",
"st",
"new StringTokenizer(name,\" \")",
"while (st.hasMoreTokens()) {\n\t\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t\t\ti++;\n\t\t\t\t}",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n\t\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t\t\ti++;\n\t\t\t\t}",
"a[i]=Integer.parseInt(st.nextToken())",
"a[i]",
"a",
"i",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"i++",
"i",
"i=0",
"i",
"0",
"if(a[0]==0 && a[1]==0){\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\n\t\t\t\telse{\n\t\t\t\t\tfor(int k=0; k<a[1]; k++){\n\t\t\t\t\t\twaku=waku+\"#\";\n\t\t\t\t\t}\n\n\n\t\t\t\t\tfor(int j=0; j<a[0]; j++){\n\t\t\t\t\t\tSystem.out.println(waku);\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\twaku=\"\";\n\t\t\t\t}",
"a[0]==0 && a[1]==0",
"a[0]==0",
"a[0]",
"a",
"0",
"0",
"a[1]==0",
"a[1]",
"a",
"1",
"0",
"{\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n\t\t\t\t\tfor(int k=0; k<a[1]; k++){\n\t\t\t\t\t\twaku=waku+\"#\";\n\t\t\t\t\t}\n\n\n\t\t\t\t\tfor(int j=0; j<a[0]; j++){\n\t\t\t\t\t\tSystem.out.println(waku);\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\twaku=\"\";\n\t\t\t\t}",
"for(int k=0; k<a[1]; k++){\n\t\t\t\t\t\twaku=waku+\"#\";\n\t\t\t\t\t}",
"int k=0;",
"int k=0;",
"k",
"0",
"k<a[1]",
"k",
"a[1]",
"a",
"1",
"k++",
"k++",
"k",
"{\n\t\t\t\t\t\twaku=waku+\"#\";\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\twaku=waku+\"#\";\n\t\t\t\t\t}",
"waku=waku+\"#\"",
"waku",
"waku+\"#\"",
"waku",
"\"#\"",
"for(int j=0; j<a[0]; j++){\n\t\t\t\t\t\tSystem.out.println(waku);\n\t\t\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<a[0]",
"j",
"a[0]",
"a",
"0",
"j++",
"j++",
"j",
"{\n\t\t\t\t\t\tSystem.out.println(waku);\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tSystem.out.println(waku);\n\t\t\t\t\t}",
"System.out.println(waku)",
"System.out.println",
"System.out",
"System",
"System.out",
"waku",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"waku=\"\"",
"waku",
"\"\"",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
class Main{
public static void main(String[] args)throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String name;
int num;
int compare;
String waku="";
int[] a=new int[2];
int i=0;
while(true){
try{
name=br.readLine();
StringTokenizer st=new StringTokenizer(name," ");
while (st.hasMoreTokens()) {
a[i]=Integer.parseInt(st.nextToken());
i++;
}i=0;
if(a[0]==0 && a[1]==0){
System.exit(0);
}
else{
for(int k=0; k<a[1]; k++){
waku=waku+"#";
}
for(int j=0; j<a[0]; j++){
System.out.println(waku);
}
System.out.println("");
waku="";
}
}
catch(Exception e){
System.exit(0);
}
}
}
} |
[
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.Scanner;\nclass Main{\npublic static void main(String[] args){\nScanner scan=new Scanner(System.in);\nwhile(true){\nint A=scan.nextInt();\nint B=scan.nextInt();\nif(A==0&&B==0)\nbreak;\nfor(int a=0;a<A;a++){\nfor(int b=0;b<B;b++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\npublic static void main(String[] args){\nScanner scan=new Scanner(System.in);\nwhile(true){\nint A=scan.nextInt();\nint B=scan.nextInt();\nif(A==0&&B==0)\nbreak;\nfor(int a=0;a<A;a++){\nfor(int b=0;b<B;b++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}\n}\n}",
"Main",
"public static void main(String[] args){\nScanner scan=new Scanner(System.in);\nwhile(true){\nint A=scan.nextInt();\nint B=scan.nextInt();\nif(A==0&&B==0)\nbreak;\nfor(int a=0;a<A;a++){\nfor(int b=0;b<B;b++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}\n}",
"main",
"{\nScanner scan=new Scanner(System.in);\nwhile(true){\nint A=scan.nextInt();\nint B=scan.nextInt();\nif(A==0&&B==0)\nbreak;\nfor(int a=0;a<A;a++){\nfor(int b=0;b<B;b++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}\n}",
"Scanner scan=new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true){\nint A=scan.nextInt();\nint B=scan.nextInt();\nif(A==0&&B==0)\nbreak;\nfor(int a=0;a<A;a++){\nfor(int b=0;b<B;b++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}",
"true",
"{\nint A=scan.nextInt();\nint B=scan.nextInt();\nif(A==0&&B==0)\nbreak;\nfor(int a=0;a<A;a++){\nfor(int b=0;b<B;b++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}\nSystem.out.println();\n}",
"int A=scan.nextInt();",
"A",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int B=scan.nextInt();",
"B",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(A==0&&B==0)\nbreak;",
"A==0&&B==0",
"A==0",
"A",
"0",
"B==0",
"B",
"0",
"break;",
"for(int a=0;a<A;a++){\nfor(int b=0;b<B;b++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}",
"int a=0;",
"int a=0;",
"a",
"0",
"a<A",
"a",
"A",
"a++",
"a++",
"a",
"{\nfor(int b=0;b<B;b++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}",
"{\nfor(int b=0;b<B;b++){\nSystem.out.print(\"#\");\n}\nSystem.out.println();\n}",
"for(int b=0;b<B;b++){\nSystem.out.print(\"#\");\n}",
"int b=0;",
"int b=0;",
"b",
"0",
"b<B",
"b",
"B",
"b++",
"b++",
"b",
"{\nSystem.out.print(\"#\");\n}",
"{\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.Scanner;
class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
while(true){
int A=scan.nextInt();
int B=scan.nextInt();
if(A==0&&B==0)
break;
for(int a=0;a<A;a++){
for(int b=0;b<B;b++){
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,
41,
13,
17,
41,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
87,
5
],
[
87,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
14,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
14,
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
],
[
14,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
6,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\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\tint i = 0;\n\t\t\tint i2 = 0;\n\t\t\t\n\t\t\tif ((H==0) && (W==0)) break;\n\t\t\t\n\t\t\tfor (i=0; i<H; i++){\n\t\t\t\tfor (i2=0; i2<W; i2++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\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\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\tint i = 0;\n\t\t\tint i2 = 0;\n\t\t\t\n\t\t\tif ((H==0) && (W==0)) break;\n\t\t\t\n\t\t\tfor (i=0; i<H; i++){\n\t\t\t\tfor (i2=0; i2<W; i2++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\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\tint i = 0;\n\t\t\tint i2 = 0;\n\t\t\t\n\t\t\tif ((H==0) && (W==0)) break;\n\t\t\t\n\t\t\tfor (i=0; i<H; i++){\n\t\t\t\tfor (i2=0; i2<W; i2++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\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\tint i = 0;\n\t\t\tint i2 = 0;\n\t\t\t\n\t\t\tif ((H==0) && (W==0)) break;\n\t\t\t\n\t\t\tfor (i=0; i<H; i++){\n\t\t\t\tfor (i2=0; i2<W; i2++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"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\tint i = 0;\n\t\t\tint i2 = 0;\n\t\t\t\n\t\t\tif ((H==0) && (W==0)) break;\n\t\t\t\n\t\t\tfor (i=0; i<H; i++){\n\t\t\t\tfor (i2=0; i2<W; i2++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"true",
"{\n\t\t\tint H = scan.nextInt();\n\t\t\tint W = scan.nextInt();\n\t\t\tint i = 0;\n\t\t\tint i2 = 0;\n\t\t\t\n\t\t\tif ((H==0) && (W==0)) break;\n\t\t\t\n\t\t\tfor (i=0; i<H; i++){\n\t\t\t\tfor (i2=0; i2<W; i2++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"int H = scan.nextInt();",
"H",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int W = scan.nextInt();",
"W",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int i = 0;",
"i",
"0",
"int i2 = 0;",
"i2",
"0",
"if ((H==0) && (W==0)) break;",
"(H==0) && (W==0)",
"(H==0)",
"H",
"0",
"(W==0)",
"W",
"0",
"break;",
"for (i=0; i<H; i++){\n\t\t\t\tfor (i2=0; i2<W; i2++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"i=0;",
"i=0",
"i",
"0",
"i<H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor (i2=0; i2<W; i2++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"{\n\t\t\t\tfor (i2=0; i2<W; i2++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"for (i2=0; i2<W; i2++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"i2=0;",
"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",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\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\tint i = 0;\n\t\t\tint i2 = 0;\n\t\t\t\n\t\t\tif ((H==0) && (W==0)) break;\n\t\t\t\n\t\t\tfor (i=0; i<H; i++){\n\t\t\t\tfor (i2=0; i2<W; i2++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\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\tint i = 0;\n\t\t\tint i2 = 0;\n\t\t\t\n\t\t\tif ((H==0) && (W==0)) break;\n\t\t\t\n\t\t\tfor (i=0; i<H; i++){\n\t\t\t\tfor (i2=0; i2<W; i2++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner scan = new Scanner(System.in);
while(true){
int H = scan.nextInt();
int W = scan.nextInt();
int i = 0;
int i2 = 0;
if ((H==0) && (W==0)) break;
for (i=0; i<H; i++){
for (i2=0; i2<W; i2++){
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,
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
]
] | [
"import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n\n while(true){\n int h = in.nextInt();\n int w = in.nextInt();\n\n if(h == 0 && w == 0){\n break;\n } \n for(int i=0; i<h; i++){\n for(int j=0; j<w; j++){\n System.out.print(\"#\");\n } \n System.out.print(\"\\n\");\n } \n System.out.print(\"\\n\");\n } \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\n while(true){\n int h = in.nextInt();\n int w = in.nextInt();\n\n if(h == 0 && w == 0){\n break;\n } \n for(int i=0; i<h; i++){\n for(int j=0; j<w; j++){\n System.out.print(\"#\");\n } \n System.out.print(\"\\n\");\n } \n System.out.print(\"\\n\");\n } \n } \n}",
"Main",
"public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n\n while(true){\n int h = in.nextInt();\n int w = in.nextInt();\n\n if(h == 0 && w == 0){\n break;\n } \n for(int i=0; i<h; i++){\n for(int j=0; j<w; j++){\n System.out.print(\"#\");\n } \n System.out.print(\"\\n\");\n } \n System.out.print(\"\\n\");\n } \n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n\n while(true){\n int h = in.nextInt();\n int w = in.nextInt();\n\n if(h == 0 && w == 0){\n break;\n } \n for(int i=0; i<h; i++){\n for(int j=0; j<w; j++){\n System.out.print(\"#\");\n } \n System.out.print(\"\\n\");\n } \n System.out.print(\"\\n\");\n } \n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while(true){\n int h = in.nextInt();\n int w = in.nextInt();\n\n if(h == 0 && w == 0){\n break;\n } \n for(int i=0; i<h; i++){\n for(int j=0; j<w; j++){\n System.out.print(\"#\");\n } \n System.out.print(\"\\n\");\n } \n System.out.print(\"\\n\");\n }",
"true",
"{\n int h = in.nextInt();\n int w = in.nextInt();\n\n if(h == 0 && w == 0){\n break;\n } \n for(int i=0; i<h; i++){\n for(int j=0; j<w; j++){\n System.out.print(\"#\");\n } \n System.out.print(\"\\n\");\n } \n System.out.print(\"\\n\");\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){\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.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.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner in = new Scanner(System.in);
while(true){
int h = in.nextInt();
int w = in.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,
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,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
105,
14
],
[
105,
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
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
23,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
23,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
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
],
[
90,
95
],
[
23,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
15,
102
],
[
102,
103
],
[
0,
104
],
[
104,
105
],
[
104,
106
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\t\t\tint H = Integer.parseInt(st.nextToken());\n\t\t\tint W = Integer.parseInt(st.nextToken());\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\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.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\t\t\tint H = Integer.parseInt(st.nextToken());\n\t\t\tint W = Integer.parseInt(st.nextToken());\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\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\t\t\tint H = Integer.parseInt(st.nextToken());\n\t\t\tint W = Integer.parseInt(st.nextToken());\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\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\t\t\tint H = Integer.parseInt(st.nextToken());\n\t\t\tint W = Integer.parseInt(st.nextToken());\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\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t\t\tString str = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\t\t\tint H = Integer.parseInt(st.nextToken());\n\t\t\tint W = Integer.parseInt(st.nextToken());\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\tString str = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\t\t\tint H = Integer.parseInt(st.nextToken());\n\t\t\tint W = Integer.parseInt(st.nextToken());\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}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"StringTokenizer st = new StringTokenizer(str, \" \");",
"st",
"new StringTokenizer(str, \" \")",
"int H = Integer.parseInt(st.nextToken());",
"H",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int W = Integer.parseInt(st.nextToken());",
"W",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"if(H == 0 && W == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for ( int i = 0; i < H; i++ ){\n\t\t\t\tfor ( int j = 0; j < W; j++ ){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor ( int j = 0; j < W; j++ ){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"{\n\t\t\t\tfor ( int j = 0; j < W; j++ ){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"for ( int j = 0; j < W; j++ ){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\t\t\tint H = Integer.parseInt(st.nextToken());\n\t\t\tint W = Integer.parseInt(st.nextToken());\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\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\t\t\tint H = Integer.parseInt(st.nextToken());\n\t\t\tint W = Integer.parseInt(st.nextToken());\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\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String str = br.readLine();
StringTokenizer st = new StringTokenizer(str, " ");
int H = Integer.parseInt(st.nextToken());
int W = Integer.parseInt(st.nextToken());
if(H == 0 && W == 0){
break;
}
for ( int i = 0; i < H; i++ ){
for ( int j = 0; j < W; j++ ){
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
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,
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
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
14,
30
],
[
30,
31
],
[
30,
32
],
[
14,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
37,
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
],
[
59,
62
],
[
58,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
14,
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
],
[
120,
125
],
[
81,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
126,
131
],
[
12,
132
],
[
132,
133
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.*;\nclass Main{\n\tpublic static void main(String[] args){\n\tint h =0;\n\tint w =0;\n\tint t =0;\n\tScanner scan = new Scanner(System.in);\n\tArrayList<Integer> listw = new ArrayList<Integer>();\n\tArrayList<Integer> listh = new ArrayList<Integer>();\n\t\twhile(scan.hasNextLine()){\n\t\t\th = scan.nextInt();\t\t\t\n\t\t\tw = scan.nextInt();\n\t\t\t\n\t\t\tif(h==0 && w==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tlisth.add(h);\n\t\t\t\tlistw.add(w);\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tfor(int i=0;i<listh.size();i++){\n\t\t\tfor(int ii=0;ii<listh.get(i);ii++){\n\t\t\t\tfor(int iii=0;iii<listw.get(i);iii++){\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\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String[] args){\n\tint h =0;\n\tint w =0;\n\tint t =0;\n\tScanner scan = new Scanner(System.in);\n\tArrayList<Integer> listw = new ArrayList<Integer>();\n\tArrayList<Integer> listh = new ArrayList<Integer>();\n\t\twhile(scan.hasNextLine()){\n\t\t\th = scan.nextInt();\t\t\t\n\t\t\tw = scan.nextInt();\n\t\t\t\n\t\t\tif(h==0 && w==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tlisth.add(h);\n\t\t\t\tlistw.add(w);\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tfor(int i=0;i<listh.size();i++){\n\t\t\tfor(int ii=0;ii<listh.get(i);ii++){\n\t\t\t\tfor(int iii=0;iii<listw.get(i);iii++){\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\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\tint h =0;\n\tint w =0;\n\tint t =0;\n\tScanner scan = new Scanner(System.in);\n\tArrayList<Integer> listw = new ArrayList<Integer>();\n\tArrayList<Integer> listh = new ArrayList<Integer>();\n\t\twhile(scan.hasNextLine()){\n\t\t\th = scan.nextInt();\t\t\t\n\t\t\tw = scan.nextInt();\n\t\t\t\n\t\t\tif(h==0 && w==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tlisth.add(h);\n\t\t\t\tlistw.add(w);\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tfor(int i=0;i<listh.size();i++){\n\t\t\tfor(int ii=0;ii<listh.get(i);ii++){\n\t\t\t\tfor(int iii=0;iii<listw.get(i);iii++){\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\tSystem.out.println(\"\");\n\t\t}\n\t}",
"main",
"{\n\tint h =0;\n\tint w =0;\n\tint t =0;\n\tScanner scan = new Scanner(System.in);\n\tArrayList<Integer> listw = new ArrayList<Integer>();\n\tArrayList<Integer> listh = new ArrayList<Integer>();\n\t\twhile(scan.hasNextLine()){\n\t\t\th = scan.nextInt();\t\t\t\n\t\t\tw = scan.nextInt();\n\t\t\t\n\t\t\tif(h==0 && w==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tlisth.add(h);\n\t\t\t\tlistw.add(w);\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tfor(int i=0;i<listh.size();i++){\n\t\t\tfor(int ii=0;ii<listh.get(i);ii++){\n\t\t\t\tfor(int iii=0;iii<listw.get(i);iii++){\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\tSystem.out.println(\"\");\n\t\t}\n\t}",
"int h =0;",
"h",
"0",
"int w =0;",
"w",
"0",
"int t =0;",
"t",
"0",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"ArrayList<Integer> listw = new ArrayList<Integer>();",
"listw",
"new ArrayList<Integer>()",
"ArrayList<Integer> listh = new ArrayList<Integer>();",
"listh",
"new ArrayList<Integer>()",
"while(scan.hasNextLine()){\n\t\t\th = scan.nextInt();\t\t\t\n\t\t\tw = scan.nextInt();\n\t\t\t\n\t\t\tif(h==0 && w==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tlisth.add(h);\n\t\t\t\tlistw.add(w);\n\t\t\t}\n\t\t}",
"scan.hasNextLine()",
"scan.hasNextLine",
"scan",
"{\n\t\t\th = scan.nextInt();\t\t\t\n\t\t\tw = scan.nextInt();\n\t\t\t\n\t\t\tif(h==0 && w==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tlisth.add(h);\n\t\t\t\tlistw.add(w);\n\t\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}\n\t\t\telse{\n\t\t\t\tlisth.add(h);\n\t\t\t\tlistw.add(w);\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\tlisth.add(h);\n\t\t\t\tlistw.add(w);\n\t\t\t}",
"listh.add(h)",
"listh.add",
"listh",
"h",
"listw.add(w)",
"listw.add",
"listw",
"w",
"for(int i=0;i<listh.size();i++){\n\t\t\tfor(int ii=0;ii<listh.get(i);ii++){\n\t\t\t\tfor(int iii=0;iii<listw.get(i);iii++){\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\tSystem.out.println(\"\");\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<listh.size()",
"i",
"listh.size()",
"listh.size",
"listh",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int ii=0;ii<listh.get(i);ii++){\n\t\t\t\tfor(int iii=0;iii<listw.get(i);iii++){\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\tSystem.out.println(\"\");\n\t\t}",
"{\n\t\t\tfor(int ii=0;ii<listh.get(i);ii++){\n\t\t\t\tfor(int iii=0;iii<listw.get(i);iii++){\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\tSystem.out.println(\"\");\n\t\t}",
"for(int ii=0;ii<listh.get(i);ii++){\n\t\t\t\tfor(int iii=0;iii<listw.get(i);iii++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"int ii=0;",
"int ii=0;",
"ii",
"0",
"ii<listh.get(i)",
"ii",
"listh.get(i)",
"listh.get",
"listh",
"i",
"ii++",
"ii++",
"ii",
"{\n\t\t\t\tfor(int iii=0;iii<listw.get(i);iii++){\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(int iii=0;iii<listw.get(i);iii++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"for(int iii=0;iii<listw.get(i);iii++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int iii=0;",
"int iii=0;",
"iii",
"0",
"iii<listw.get(i)",
"iii",
"listw.get(i)",
"listw.get",
"listw",
"i",
"iii++",
"iii++",
"iii",
"{\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.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
class Main{
public static void main(String[] args){
int h =0;
int w =0;
int t =0;
Scanner scan = new Scanner(System.in);
ArrayList<Integer> listw = new ArrayList<Integer>();
ArrayList<Integer> listh = new ArrayList<Integer>();
while(scan.hasNextLine()){
h = scan.nextInt();
w = scan.nextInt();
if(h==0 && w==0){
break;
}
else{
listh.add(h);
listw.add(w);
}
}
for(int i=0;i<listh.size();i++){
for(int ii=0;ii<listh.get(i);ii++){
for(int iii=0;iii<listw.get(i);iii++){
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,
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,
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
],
[
96,
5
],
[
96,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
26,
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
],
[
67,
68
],
[
67,
69
],
[
60,
70
],
[
70,
71
],
[
71,
72
],
[
60,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
59,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
26,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
6,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = 1, b = 1;\n while (a != 0 && b != 0) {\n a = scanner.nextInt();\n b = scanner.nextInt();\n if (a == 0 && b == 0) {\n break;\n\n }\n\n for (int i = 1; i <= a; i++) {\n for (int j = 1; j <= b - 1; j++) {\n System.out.print(\"#\");\n }\n System.out.println(\"#\");\n }\n System.out.println(\"\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = 1, b = 1;\n while (a != 0 && b != 0) {\n a = scanner.nextInt();\n b = scanner.nextInt();\n if (a == 0 && b == 0) {\n break;\n\n }\n\n for (int i = 1; i <= a; i++) {\n for (int j = 1; j <= b - 1; j++) {\n System.out.print(\"#\");\n }\n System.out.println(\"#\");\n }\n System.out.println(\"\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = 1, b = 1;\n while (a != 0 && b != 0) {\n a = scanner.nextInt();\n b = scanner.nextInt();\n if (a == 0 && b == 0) {\n break;\n\n }\n\n for (int i = 1; i <= a; i++) {\n for (int j = 1; j <= b - 1; j++) {\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 a = 1, b = 1;\n while (a != 0 && b != 0) {\n a = scanner.nextInt();\n b = scanner.nextInt();\n if (a == 0 && b == 0) {\n break;\n\n }\n\n for (int i = 1; i <= a; i++) {\n for (int j = 1; j <= b - 1; j++) {\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 a = 1",
"a",
"1",
"b = 1;",
"b",
"1",
"while (a != 0 && b != 0) {\n a = scanner.nextInt();\n b = scanner.nextInt();\n if (a == 0 && b == 0) {\n break;\n\n }\n\n for (int i = 1; i <= a; i++) {\n for (int j = 1; j <= b - 1; j++) {\n System.out.print(\"#\");\n }\n System.out.println(\"#\");\n }\n System.out.println(\"\");\n }",
"a != 0 && b != 0",
"a != 0",
"a",
"0",
"b != 0",
"b",
"0",
"{\n a = scanner.nextInt();\n b = scanner.nextInt();\n if (a == 0 && b == 0) {\n break;\n\n }\n\n for (int i = 1; i <= a; i++) {\n for (int j = 1; j <= b - 1; j++) {\n System.out.print(\"#\");\n }\n System.out.println(\"#\");\n }\n System.out.println(\"\");\n }",
"a = scanner.nextInt()",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"b = scanner.nextInt()",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (a == 0 && b == 0) {\n break;\n\n }",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n break;\n\n }",
"break;",
"for (int i = 1; i <= a; i++) {\n for (int j = 1; j <= b - 1; j++) {\n System.out.print(\"#\");\n }\n System.out.println(\"#\");\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= a",
"i",
"a",
"i++",
"i++",
"i",
"{\n for (int j = 1; j <= b - 1; j++) {\n System.out.print(\"#\");\n }\n System.out.println(\"#\");\n }",
"{\n for (int j = 1; j <= b - 1; j++) {\n System.out.print(\"#\");\n }\n System.out.println(\"#\");\n }",
"for (int j = 1; j <= b - 1; j++) {\n System.out.print(\"#\");\n }",
"int j = 1;",
"int j = 1;",
"j",
"1",
"j <= b - 1",
"j",
"b - 1",
"b",
"1",
"j++",
"j++",
"j",
"{\n System.out.print(\"#\");\n }",
"{\n System.out.print(\"#\");\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"#\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = 1, b = 1;\n while (a != 0 && b != 0) {\n a = scanner.nextInt();\n b = scanner.nextInt();\n if (a == 0 && b == 0) {\n break;\n\n }\n\n for (int i = 1; i <= a; i++) {\n for (int j = 1; j <= b - 1; j++) {\n System.out.print(\"#\");\n }\n System.out.println(\"#\");\n }\n System.out.println(\"\");\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = 1, b = 1;\n while (a != 0 && b != 0) {\n a = scanner.nextInt();\n b = scanner.nextInt();\n if (a == 0 && b == 0) {\n break;\n\n }\n\n for (int i = 1; i <= a; i++) {\n for (int j = 1; j <= b - 1; 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 scanner = new Scanner(System.in);
int a = 1, b = 1;
while (a != 0 && b != 0) {
a = scanner.nextInt();
b = scanner.nextInt();
if (a == 0 && b == 0) {
break;
}
for (int i = 1; i <= a; i++) {
for (int j = 1; j <= b - 1; j++) {
System.out.print("#");
}
System.out.println("#");
}
System.out.println("");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
20,
41,
13,
20,
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,
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,
13,
2,
4,
18,
13,
17,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
126,
11
],
[
126,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
14,
19
],
[
19,
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
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
32,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
29,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
29,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
29,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
63,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
76,
84
],
[
84,
85
],
[
85,
86
],
[
76,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
75,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
29,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
14,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
104,
108
],
[
101,
109
],
[
109,
110
],
[
110,
111
],
[
14,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
117,
118
],
[
118,
119
],
[
14,
120
],
[
120,
121
],
[
121,
122
],
[
12,
123
],
[
123,
124
],
[
0,
125
],
[
125,
126
],
[
125,
127
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tint h,w;\n\t\tString[] str;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\n\t\twhile(true){\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\th = Integer.parseInt(str[0]);\n\t\t\tw = Integer.parseInt(str[1]);\n\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\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\tbuilder.delete(builder.length() - 1, builder.length());\n\n\t\tSystem.out.println(builder.toString());\n\t\tbr.close();\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tint h,w;\n\t\tString[] str;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\n\t\twhile(true){\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\th = Integer.parseInt(str[0]);\n\t\t\tw = Integer.parseInt(str[1]);\n\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\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\tbuilder.delete(builder.length() - 1, builder.length());\n\n\t\tSystem.out.println(builder.toString());\n\t\tbr.close();\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tint h,w;\n\t\tString[] str;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\n\t\twhile(true){\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\th = Integer.parseInt(str[0]);\n\t\t\tw = Integer.parseInt(str[1]);\n\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\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\tbuilder.delete(builder.length() - 1, builder.length());\n\n\t\tSystem.out.println(builder.toString());\n\t\tbr.close();\n\t}",
"main",
"{\n\t\tint h,w;\n\t\tString[] str;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\n\t\twhile(true){\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\th = Integer.parseInt(str[0]);\n\t\t\tw = Integer.parseInt(str[1]);\n\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\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\tbuilder.delete(builder.length() - 1, builder.length());\n\n\t\tSystem.out.println(builder.toString());\n\t\tbr.close();\n\t}",
"int h",
"h",
"w;",
"w",
"String[] str;",
"str",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"while(true){\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\th = Integer.parseInt(str[0]);\n\t\t\tw = Integer.parseInt(str[1]);\n\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\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}",
"true",
"{\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\th = Integer.parseInt(str[0]);\n\t\t\tw = Integer.parseInt(str[1]);\n\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\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}",
"str = br.readLine().split(\" \")",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"h = Integer.parseInt(str[0])",
"h",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"w = Integer.parseInt(str[1])",
"w",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"if(h==0 && w==0)break;",
"h==0 && w==0",
"h==0",
"h",
"0",
"w==0",
"w",
"0",
"break;",
"for(int i = 0; i < h; i++){\n\t\t\t\tfor(int j = 0; j < w; j++){\n\t\t\t\t\tbuilder.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbuilder.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\tbuilder.append(\"#\");\n\t\t\t\t}\n\t\t\t\tbuilder.append(\"\\n\");\n\t\t\t}",
"{\n\t\t\t\tfor(int j = 0; j < w; j++){\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 j = 0; j < w; j++){\n\t\t\t\t\tbuilder.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\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\"",
"builder.delete(builder.length() - 1, builder.length())",
"builder.delete",
"builder",
"builder.length() - 1",
"builder.length()",
"builder.length",
"builder",
"1",
"builder.length()",
"builder.length",
"builder",
"System.out.println(builder.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"builder.toString()",
"builder.toString",
"builder",
"br.close()",
"br.close",
"br",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tint h,w;\n\t\tString[] str;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\n\t\twhile(true){\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\th = Integer.parseInt(str[0]);\n\t\t\tw = Integer.parseInt(str[1]);\n\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\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\tbuilder.delete(builder.length() - 1, builder.length());\n\n\t\tSystem.out.println(builder.toString());\n\t\tbr.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tint h,w;\n\t\tString[] str;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\n\t\twhile(true){\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\th = Integer.parseInt(str[0]);\n\t\t\tw = Integer.parseInt(str[1]);\n\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\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\tbuilder.delete(builder.length() - 1, builder.length());\n\n\t\tSystem.out.println(builder.toString());\n\t\tbr.close();\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException{
int h,w;
String[] str;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder builder = new StringBuilder();
while(true){
str = br.readLine().split(" ");
h = Integer.parseInt(str[0]);
w = Integer.parseInt(str[1]);
if(h==0 && w==0)break;
for(int i = 0; i < h; i++){
for(int j = 0; j < w; j++){
builder.append("#");
}
builder.append("\n");
}
builder.append("\n");
}
builder.delete(builder.length() - 1, builder.length());
System.out.println(builder.toString());
br.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
13,
14,
4,
18,
4,
18,
13,
13,
17,
30,
3,
28,
13,
13,
30,
30,
14,
4,
18,
13,
17,
30,
3,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
42,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
40,
13,
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
],
[
137,
11
],
[
137,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
36,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
36,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
47,
53
],
[
46,
54
],
[
54,
55
],
[
14,
56
],
[
56,
57
],
[
56,
58
],
[
56,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
61,
66
],
[
66,
67
],
[
60,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
60,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
79,
80
],
[
79,
81
],
[
60,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
87,
88
],
[
87,
89
],
[
60,
90
],
[
90,
91
],
[
90,
92
],
[
60,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
93,
101
],
[
101,
102
],
[
102,
103
],
[
93,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
113,
120
],
[
120,
121
],
[
105,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
122,
127
],
[
60,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
128,
133
],
[
12,
134
],
[
134,
135
],
[
0,
136
],
[
136,
137
],
[
136,
138
]
] | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] arges) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<String> klist = new ArrayList<String>();\n\t\tint i = 0;\n\t\tfor (int j = 0; i < 1; j++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tklist.add(line);\n\t\t\tif (klist.get(j).equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (String string : klist) {\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] k = string.split(\" \");\n\t\t\tint v = Integer.parseInt(k[0]);\n\t\t\tint v2 = Integer.parseInt(k[1]);\n\t\t\ti = 0;\n\n\t\t\tfor (int j = 0; j < v; j++) {\n\t\t\t\ti = 0;\n\t\t\t\twhile (i < v2) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\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\tpublic static void main(String[] arges) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<String> klist = new ArrayList<String>();\n\t\tint i = 0;\n\t\tfor (int j = 0; i < 1; j++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tklist.add(line);\n\t\t\tif (klist.get(j).equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (String string : klist) {\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] k = string.split(\" \");\n\t\t\tint v = Integer.parseInt(k[0]);\n\t\t\tint v2 = Integer.parseInt(k[1]);\n\t\t\ti = 0;\n\n\t\t\tfor (int j = 0; j < v; j++) {\n\t\t\t\ti = 0;\n\t\t\t\twhile (i < v2) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] arges) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<String> klist = new ArrayList<String>();\n\t\tint i = 0;\n\t\tfor (int j = 0; i < 1; j++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tklist.add(line);\n\t\t\tif (klist.get(j).equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (String string : klist) {\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] k = string.split(\" \");\n\t\t\tint v = Integer.parseInt(k[0]);\n\t\t\tint v2 = Integer.parseInt(k[1]);\n\t\t\ti = 0;\n\n\t\t\tfor (int j = 0; j < v; j++) {\n\t\t\t\ti = 0;\n\t\t\t\twhile (i < v2) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<String> klist = new ArrayList<String>();\n\t\tint i = 0;\n\t\tfor (int j = 0; i < 1; j++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tklist.add(line);\n\t\t\tif (klist.get(j).equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (String string : klist) {\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] k = string.split(\" \");\n\t\t\tint v = Integer.parseInt(k[0]);\n\t\t\tint v2 = Integer.parseInt(k[1]);\n\t\t\ti = 0;\n\n\t\t\tfor (int j = 0; j < v; j++) {\n\t\t\t\ti = 0;\n\t\t\t\twhile (i < v2) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"List<String> klist = new ArrayList<String>();",
"klist",
"new ArrayList<String>()",
"int i = 0;",
"i",
"0",
"for (int j = 0; i < 1; j++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tklist.add(line);\n\t\t\tif (klist.get(j).equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"i < 1",
"i",
"1",
"j++",
"j++",
"j",
"{\n\t\t\tString line = sc.nextLine();\n\t\t\tklist.add(line);\n\t\t\tif (klist.get(j).equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tString line = sc.nextLine();\n\t\t\tklist.add(line);\n\t\t\tif (klist.get(j).equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"klist.add(line)",
"klist.add",
"klist",
"line",
"if (klist.get(j).equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}",
"klist.get(j).equals(\"0 0\")",
"klist.get(j).equals",
"klist.get(j)",
"klist.get",
"klist",
"j",
"\"0 0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for (String string : klist) {\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] k = string.split(\" \");\n\t\t\tint v = Integer.parseInt(k[0]);\n\t\t\tint v2 = Integer.parseInt(k[1]);\n\t\t\ti = 0;\n\n\t\t\tfor (int j = 0; j < v; j++) {\n\t\t\t\ti = 0;\n\t\t\t\twhile (i < v2) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"String string",
"klist",
"{\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] k = string.split(\" \");\n\t\t\tint v = Integer.parseInt(k[0]);\n\t\t\tint v2 = Integer.parseInt(k[1]);\n\t\t\ti = 0;\n\n\t\t\tfor (int j = 0; j < v; j++) {\n\t\t\t\ti = 0;\n\t\t\t\twhile (i < v2) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"{\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] k = string.split(\" \");\n\t\t\tint v = Integer.parseInt(k[0]);\n\t\t\tint v2 = Integer.parseInt(k[1]);\n\t\t\ti = 0;\n\n\t\t\tfor (int j = 0; j < v; j++) {\n\t\t\t\ti = 0;\n\t\t\t\twhile (i < v2) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"if (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}",
"string.equals(\"0 0\")",
"string.equals",
"string",
"\"0 0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"String[] k = string.split(\" \");",
"k",
"string.split(\" \")",
"string.split",
"string",
"\" \"",
"int v = Integer.parseInt(k[0]);",
"v",
"Integer.parseInt(k[0])",
"Integer.parseInt",
"Integer",
"k[0]",
"k",
"0",
"int v2 = Integer.parseInt(k[1]);",
"v2",
"Integer.parseInt(k[1])",
"Integer.parseInt",
"Integer",
"k[1]",
"k",
"1",
"i = 0",
"i",
"0",
"for (int j = 0; j < v; j++) {\n\t\t\t\ti = 0;\n\t\t\t\twhile (i < v2) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < v",
"j",
"v",
"j++",
"j++",
"j",
"{\n\t\t\t\ti = 0;\n\t\t\t\twhile (i < v2) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"{\n\t\t\t\ti = 0;\n\t\t\t\twhile (i < v2) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"i = 0",
"i",
"0",
"while (i < v2) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}",
"i < v2",
"i",
"v2",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"i++",
"i",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] arges",
"arges",
"public class Main {\n\tpublic static void main(String[] arges) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<String> klist = new ArrayList<String>();\n\t\tint i = 0;\n\t\tfor (int j = 0; i < 1; j++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tklist.add(line);\n\t\t\tif (klist.get(j).equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (String string : klist) {\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] k = string.split(\" \");\n\t\t\tint v = Integer.parseInt(k[0]);\n\t\t\tint v2 = Integer.parseInt(k[1]);\n\t\t\ti = 0;\n\n\t\t\tfor (int j = 0; j < v; j++) {\n\t\t\t\ti = 0;\n\t\t\t\twhile (i < v2) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] arges) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<String> klist = new ArrayList<String>();\n\t\tint i = 0;\n\t\tfor (int j = 0; i < 1; j++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tklist.add(line);\n\t\t\tif (klist.get(j).equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (String string : klist) {\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] k = string.split(\" \");\n\t\t\tint v = Integer.parseInt(k[0]);\n\t\t\tint v2 = Integer.parseInt(k[1]);\n\t\t\ti = 0;\n\n\t\t\tfor (int j = 0; j < v; j++) {\n\t\t\t\ti = 0;\n\t\t\t\twhile (i < v2) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\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[] arges) {
Scanner sc = new Scanner(System.in);
List<String> klist = new ArrayList<String>();
int i = 0;
for (int j = 0; i < 1; j++) {
String line = sc.nextLine();
klist.add(line);
if (klist.get(j).equals("0 0")) {
break;
}
}
for (String string : klist) {
if (string.equals("0 0")) {
break;
}
String[] k = string.split(" ");
int v = Integer.parseInt(k[0]);
int v2 = Integer.parseInt(k[1]);
i = 0;
for (int j = 0; j < v; j++) {
i = 0;
while (i < v2) {
System.out.print("#");
i++;
}
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,
41,
13,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
125,
11
],
[
125,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
14,
22
],
[
22,
23
],
[
22,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
25,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
38,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
38,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
55,
57
],
[
38,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
38,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
74,
75
],
[
38,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
76,
84
],
[
84,
85
],
[
85,
86
],
[
76,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
94,
95
],
[
94,
96
],
[
89,
97
],
[
97,
98
],
[
98,
99
],
[
89,
100
],
[
101,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
88,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
38,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
115,
116
],
[
116,
117
],
[
38,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
12,
122
],
[
122,
123
],
[
0,
124
],
[
124,
125
],
[
124,
126
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\tString[] arrStr;\n\t\tStringBuilder sb = new StringBuilder();\n\t\ttry {\n\n\t\t\tfinal String sharp = \"#\";\n\n\t\t\twhile (true) {\n\t\t\t\tstr = br.readLine();\n\t\t\t\tarrStr = str.split(\" \");\n\n\t\t\t\tint h = Integer.parseInt(arrStr[0]);\n\t\t\t\tint w = Integer.parseInt(arrStr[1]);\n\t\t\t\tif(h == 0 && w == 0){\n\t\t\t\t\tbreak;\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\tsb.append(sharp);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\tsb.setLength(0);\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\tString[] arrStr;\n\t\tStringBuilder sb = new StringBuilder();\n\t\ttry {\n\n\t\t\tfinal String sharp = \"#\";\n\n\t\t\twhile (true) {\n\t\t\t\tstr = br.readLine();\n\t\t\t\tarrStr = str.split(\" \");\n\n\t\t\t\tint h = Integer.parseInt(arrStr[0]);\n\t\t\t\tint w = Integer.parseInt(arrStr[1]);\n\t\t\t\tif(h == 0 && w == 0){\n\t\t\t\t\tbreak;\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\tsb.append(sharp);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\tsb.setLength(0);\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\tString[] arrStr;\n\t\tStringBuilder sb = new StringBuilder();\n\t\ttry {\n\n\t\t\tfinal String sharp = \"#\";\n\n\t\t\twhile (true) {\n\t\t\t\tstr = br.readLine();\n\t\t\t\tarrStr = str.split(\" \");\n\n\t\t\t\tint h = Integer.parseInt(arrStr[0]);\n\t\t\t\tint w = Integer.parseInt(arrStr[1]);\n\t\t\t\tif(h == 0 && w == 0){\n\t\t\t\t\tbreak;\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\tsb.append(sharp);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\tsb.setLength(0);\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\tString[] arrStr;\n\t\tStringBuilder sb = new StringBuilder();\n\t\ttry {\n\n\t\t\tfinal String sharp = \"#\";\n\n\t\t\twhile (true) {\n\t\t\t\tstr = br.readLine();\n\t\t\t\tarrStr = str.split(\" \");\n\n\t\t\t\tint h = Integer.parseInt(arrStr[0]);\n\t\t\t\tint w = Integer.parseInt(arrStr[1]);\n\t\t\t\tif(h == 0 && w == 0){\n\t\t\t\t\tbreak;\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\tsb.append(sharp);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\tsb.setLength(0);\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"String[] arrStr;",
"arrStr",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"try {\n\n\t\t\tfinal String sharp = \"#\";\n\n\t\t\twhile (true) {\n\t\t\t\tstr = br.readLine();\n\t\t\t\tarrStr = str.split(\" \");\n\n\t\t\t\tint h = Integer.parseInt(arrStr[0]);\n\t\t\t\tint w = Integer.parseInt(arrStr[1]);\n\t\t\t\tif(h == 0 && w == 0){\n\t\t\t\t\tbreak;\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\tsb.append(sharp);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\tsb.setLength(0);\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\n\t\t\tfinal String sharp = \"#\";\n\n\t\t\twhile (true) {\n\t\t\t\tstr = br.readLine();\n\t\t\t\tarrStr = str.split(\" \");\n\n\t\t\t\tint h = Integer.parseInt(arrStr[0]);\n\t\t\t\tint w = Integer.parseInt(arrStr[1]);\n\t\t\t\tif(h == 0 && w == 0){\n\t\t\t\t\tbreak;\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\tsb.append(sharp);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\tsb.setLength(0);\n\t\t\t}\n\n\t\t}",
"final String sharp = \"#\";",
"sharp",
"\"#\"",
"while (true) {\n\t\t\t\tstr = br.readLine();\n\t\t\t\tarrStr = str.split(\" \");\n\n\t\t\t\tint h = Integer.parseInt(arrStr[0]);\n\t\t\t\tint w = Integer.parseInt(arrStr[1]);\n\t\t\t\tif(h == 0 && w == 0){\n\t\t\t\t\tbreak;\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\tsb.append(sharp);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\tsb.setLength(0);\n\t\t\t}",
"true",
"{\n\t\t\t\tstr = br.readLine();\n\t\t\t\tarrStr = str.split(\" \");\n\n\t\t\t\tint h = Integer.parseInt(arrStr[0]);\n\t\t\t\tint w = Integer.parseInt(arrStr[1]);\n\t\t\t\tif(h == 0 && w == 0){\n\t\t\t\t\tbreak;\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\tsb.append(sharp);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\tsb.setLength(0);\n\t\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"arrStr = str.split(\" \")",
"arrStr",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int h = Integer.parseInt(arrStr[0]);",
"h",
"Integer.parseInt(arrStr[0])",
"Integer.parseInt",
"Integer",
"arrStr[0]",
"arrStr",
"0",
"int w = Integer.parseInt(arrStr[1]);",
"w",
"Integer.parseInt(arrStr[1])",
"Integer.parseInt",
"Integer",
"arrStr[1]",
"arrStr",
"1",
"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 i = 0; i<h; i++) {\n\t\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\t\tsb.append(sharp);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(\"\\n\");\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\tsb.append(sharp);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}",
"{\n\t\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\t\tsb.append(sharp);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}",
"for (int j = 0; j < w; j++) {\n\t\t\t\t\t\tsb.append(sharp);\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\tsb.append(sharp);\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tsb.append(sharp);\n\t\t\t\t\t}",
"sb.append(sharp)",
"sb.append",
"sb",
"sharp",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"sb.setLength(0)",
"sb.setLength",
"sb",
"0",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\tString[] arrStr;\n\t\tStringBuilder sb = new StringBuilder();\n\t\ttry {\n\n\t\t\tfinal String sharp = \"#\";\n\n\t\t\twhile (true) {\n\t\t\t\tstr = br.readLine();\n\t\t\t\tarrStr = str.split(\" \");\n\n\t\t\t\tint h = Integer.parseInt(arrStr[0]);\n\t\t\t\tint w = Integer.parseInt(arrStr[1]);\n\t\t\t\tif(h == 0 && w == 0){\n\t\t\t\t\tbreak;\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\tsb.append(sharp);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\tsb.setLength(0);\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\tString[] arrStr;\n\t\tStringBuilder sb = new StringBuilder();\n\t\ttry {\n\n\t\t\tfinal String sharp = \"#\";\n\n\t\t\twhile (true) {\n\t\t\t\tstr = br.readLine();\n\t\t\t\tarrStr = str.split(\" \");\n\n\t\t\t\tint h = Integer.parseInt(arrStr[0]);\n\t\t\t\tint w = Integer.parseInt(arrStr[1]);\n\t\t\t\tif(h == 0 && w == 0){\n\t\t\t\t\tbreak;\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\tsb.append(sharp);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\tsb.setLength(0);\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
String[] arrStr;
StringBuilder sb = new StringBuilder();
try {
final String sharp = "#";
while (true) {
str = br.readLine();
arrStr = str.split(" ");
int h = Integer.parseInt(arrStr[0]);
int w = Integer.parseInt(arrStr[1]);
if(h == 0 && w == 0){
break;
}
for (int i = 0; i<h; i++) {
for (int j = 0; j < w; j++) {
sb.append(sharp);
}
sb.append("\n");
}
System.out.println(sb.toString());
sb.setLength(0);
}
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
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,
4,
18,
4,
18,
13,
4,
13,
13,
13,
17,
4,
18,
13,
17,
4,
18,
18,
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,
13,
29,
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
],
[
129,
11
],
[
129,
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
],
[
26,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
64,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
82,
83
],
[
82,
84
],
[
82,
85
],
[
77,
86
],
[
26,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
14,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
12,
97
],
[
97,
98
],
[
129,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
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
],
[
118,
121
],
[
101,
122
],
[
122,
123
],
[
99,
124
],
[
124,
125
],
[
99,
126
],
[
126,
127
],
[
0,
128
],
[
128,
129
],
[
128,
130
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main (String[] args ) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder(); \n String str = \"#\";\n \n while(true){\n String data = reader.readLine();\n String[] number = data.split(\" \");\n int y = Integer.parseInt(number[0]);\n int x = Integer.parseInt(number[1]);\n if (x == 0 && y == 0 ) {\n break;\n }\n for ( int c = 0; c < y ; c++) {\n builder\n .append(StringUtilsRepeat(str,x))\n .append(\"\\n\");\n }\n builder.append(\"\\n\");\n \n }\n System.out.print(builder);\n \n }\n public static StringBuilder StringUtilsRepeat(String str,int x) {\n StringBuilder line = new StringBuilder();\n \n for ( int i = 0; i < x ; i++) {\n line.append(str);\n }\n return line;\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 public static void main (String[] args ) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder(); \n String str = \"#\";\n \n while(true){\n String data = reader.readLine();\n String[] number = data.split(\" \");\n int y = Integer.parseInt(number[0]);\n int x = Integer.parseInt(number[1]);\n if (x == 0 && y == 0 ) {\n break;\n }\n for ( int c = 0; c < y ; c++) {\n builder\n .append(StringUtilsRepeat(str,x))\n .append(\"\\n\");\n }\n builder.append(\"\\n\");\n \n }\n System.out.print(builder);\n \n }\n public static StringBuilder StringUtilsRepeat(String str,int x) {\n StringBuilder line = new StringBuilder();\n \n for ( int i = 0; i < x ; i++) {\n line.append(str);\n }\n return line;\n }\n}",
"Main",
"public static void main (String[] args ) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder(); \n String str = \"#\";\n \n while(true){\n String data = reader.readLine();\n String[] number = data.split(\" \");\n int y = Integer.parseInt(number[0]);\n int x = Integer.parseInt(number[1]);\n if (x == 0 && y == 0 ) {\n break;\n }\n for ( int c = 0; c < y ; c++) {\n builder\n .append(StringUtilsRepeat(str,x))\n .append(\"\\n\");\n }\n builder.append(\"\\n\");\n \n }\n System.out.print(builder);\n \n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder(); \n String str = \"#\";\n \n while(true){\n String data = reader.readLine();\n String[] number = data.split(\" \");\n int y = Integer.parseInt(number[0]);\n int x = Integer.parseInt(number[1]);\n if (x == 0 && y == 0 ) {\n break;\n }\n for ( int c = 0; c < y ; c++) {\n builder\n .append(StringUtilsRepeat(str,x))\n .append(\"\\n\");\n }\n builder.append(\"\\n\");\n \n }\n System.out.print(builder);\n \n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"String str = \"#\";",
"str",
"\"#\"",
"while(true){\n String data = reader.readLine();\n String[] number = data.split(\" \");\n int y = Integer.parseInt(number[0]);\n int x = Integer.parseInt(number[1]);\n if (x == 0 && y == 0 ) {\n break;\n }\n for ( int c = 0; c < y ; c++) {\n builder\n .append(StringUtilsRepeat(str,x))\n .append(\"\\n\");\n }\n builder.append(\"\\n\");\n \n }",
"true",
"{\n String data = reader.readLine();\n String[] number = data.split(\" \");\n int y = Integer.parseInt(number[0]);\n int x = Integer.parseInt(number[1]);\n if (x == 0 && y == 0 ) {\n break;\n }\n for ( int c = 0; c < y ; c++) {\n builder\n .append(StringUtilsRepeat(str,x))\n .append(\"\\n\");\n }\n builder.append(\"\\n\");\n \n }",
"String data = reader.readLine();",
"data",
"reader.readLine()",
"reader.readLine",
"reader",
"String[] number = data.split(\" \");",
"number",
"data.split(\" \")",
"data.split",
"data",
"\" \"",
"int y = Integer.parseInt(number[0]);",
"y",
"Integer.parseInt(number[0])",
"Integer.parseInt",
"Integer",
"number[0]",
"number",
"0",
"int x = Integer.parseInt(number[1]);",
"x",
"Integer.parseInt(number[1])",
"Integer.parseInt",
"Integer",
"number[1]",
"number",
"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;",
"for ( int c = 0; c < y ; c++) {\n builder\n .append(StringUtilsRepeat(str,x))\n .append(\"\\n\");\n }",
"int c = 0;",
"int c = 0;",
"c",
"0",
"c < y",
"c",
"y",
"c++",
"c++",
"c",
"{\n builder\n .append(StringUtilsRepeat(str,x))\n .append(\"\\n\");\n }",
"{\n builder\n .append(StringUtilsRepeat(str,x))\n .append(\"\\n\");\n }",
"builder\n .append(StringUtilsRepeat(str,x))\n .append(\"\\n\")",
"builder\n .append(StringUtilsRepeat(str,x))\n .append",
"builder\n .append(StringUtilsRepeat(str,x))",
"builder\n .append",
"builder",
"StringUtilsRepeat(str,x)",
"StringUtilsRepeat",
"str",
"x",
"\"\\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 static StringBuilder StringUtilsRepeat(String str,int x) {\n StringBuilder line = new StringBuilder();\n \n for ( int i = 0; i < x ; i++) {\n line.append(str);\n }\n return line;\n }",
"StringUtilsRepeat",
"{\n StringBuilder line = new StringBuilder();\n \n for ( int i = 0; i < x ; i++) {\n line.append(str);\n }\n return line;\n }",
"StringBuilder line = new StringBuilder();",
"line",
"new StringBuilder()",
"for ( int i = 0; i < x ; i++) {\n line.append(str);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < x",
"i",
"x",
"i++",
"i++",
"i",
"{\n line.append(str);\n }",
"{\n line.append(str);\n }",
"line.append(str)",
"line.append",
"line",
"str",
"return line;",
"line",
"String str",
"str",
"int x",
"x",
"public class Main {\n public static void main (String[] args ) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder(); \n String str = \"#\";\n \n while(true){\n String data = reader.readLine();\n String[] number = data.split(\" \");\n int y = Integer.parseInt(number[0]);\n int x = Integer.parseInt(number[1]);\n if (x == 0 && y == 0 ) {\n break;\n }\n for ( int c = 0; c < y ; c++) {\n builder\n .append(StringUtilsRepeat(str,x))\n .append(\"\\n\");\n }\n builder.append(\"\\n\");\n \n }\n System.out.print(builder);\n \n }\n public static StringBuilder StringUtilsRepeat(String str,int x) {\n StringBuilder line = new StringBuilder();\n \n for ( int i = 0; i < x ; i++) {\n line.append(str);\n }\n return line;\n }\n}",
"public class Main {\n public static void main (String[] args ) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder(); \n String str = \"#\";\n \n while(true){\n String data = reader.readLine();\n String[] number = data.split(\" \");\n int y = Integer.parseInt(number[0]);\n int x = Integer.parseInt(number[1]);\n if (x == 0 && y == 0 ) {\n break;\n }\n for ( int c = 0; c < y ; c++) {\n builder\n .append(StringUtilsRepeat(str,x))\n .append(\"\\n\");\n }\n builder.append(\"\\n\");\n \n }\n System.out.print(builder);\n \n }\n public static StringBuilder StringUtilsRepeat(String str,int x) {\n StringBuilder line = new StringBuilder();\n \n for ( int i = 0; i < x ; i++) {\n line.append(str);\n }\n return line;\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));
StringBuilder builder = new StringBuilder();
String str = "#";
while(true){
String data = reader.readLine();
String[] number = data.split(" ");
int y = Integer.parseInt(number[0]);
int x = Integer.parseInt(number[1]);
if (x == 0 && y == 0 ) {
break;
}
for ( int c = 0; c < y ; c++) {
builder
.append(StringUtilsRepeat(str,x))
.append("\n");
}
builder.append("\n");
}
System.out.print(builder);
}
public static StringBuilder StringUtilsRepeat(String str,int x) {
StringBuilder line = new StringBuilder();
for ( int i = 0; i < x ; i++) {
line.append(str);
}
return line;
}
} |
[
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,
4,
18,
13,
3,
4,
13,
13,
13,
4,
18,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
4,
18,
13,
13,
17,
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
],
[
88,
8
],
[
88,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
36,
40
],
[
17,
41
],
[
41,
42
],
[
41,
43
],
[
41,
44
],
[
17,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
9,
50
],
[
50,
51
],
[
88,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
59,
63
],
[
54,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
64,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
52,
83
],
[
83,
84
],
[
52,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 || w == 0) {\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tprintRectangle(h, w);\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\t\n\tpublic static void printRectangle(int h, int w) {\n\t\tchar[] row = new char[w];\n\t\tArrays.fill(row, '#');\n\t\tfor (int i = 0; i < h; i++) {\n\t\t\tSystem.out.println(row);\n\t\t}\n\t}\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 || w == 0) {\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tprintRectangle(h, w);\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\t\n\tpublic static void printRectangle(int h, int w) {\n\t\tchar[] row = new char[w];\n\t\tArrays.fill(row, '#');\n\t\tfor (int i = 0; i < h; i++) {\n\t\t\tSystem.out.println(row);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 || w == 0) {\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tprintRectangle(h, w);\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 || w == 0) {\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tprintRectangle(h, w);\n\t\t\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) {\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tprintRectangle(h, w);\n\t\t\tSystem.out.println();\n\t\t}",
"true",
"{\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 || w == 0) {\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tprintRectangle(h, w);\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\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}",
"h == 0 || w == 0",
"h == 0",
"h",
"0",
"w == 0",
"w",
"0",
"{\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}",
"sc.close()",
"sc.close",
"sc",
"break;",
"printRectangle(h, w)",
"printRectangle",
"h",
"w",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public static void printRectangle(int h, int w) {\n\t\tchar[] row = new char[w];\n\t\tArrays.fill(row, '#');\n\t\tfor (int i = 0; i < h; i++) {\n\t\t\tSystem.out.println(row);\n\t\t}\n\t}",
"printRectangle",
"{\n\t\tchar[] row = new char[w];\n\t\tArrays.fill(row, '#');\n\t\tfor (int i = 0; i < h; i++) {\n\t\t\tSystem.out.println(row);\n\t\t}\n\t}",
"char[] row = new char[w];",
"row",
"new char[w]",
"w",
"Arrays.fill(row, '#')",
"Arrays.fill",
"Arrays",
"row",
"'#'",
"for (int i = 0; i < h; i++) {\n\t\t\tSystem.out.println(row);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(row);\n\t\t}",
"{\n\t\t\tSystem.out.println(row);\n\t\t}",
"System.out.println(row)",
"System.out.println",
"System.out",
"System",
"System.out",
"row",
"int h",
"h",
"int w",
"w",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 || w == 0) {\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tprintRectangle(h, w);\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\t\n\tpublic static void printRectangle(int h, int w) {\n\t\tchar[] row = new char[w];\n\t\tArrays.fill(row, '#');\n\t\tfor (int i = 0; i < h; i++) {\n\t\t\tSystem.out.println(row);\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\twhile (true) {\n\t\t\tint h = sc.nextInt();\n\t\t\tint w = sc.nextInt();\n\t\t\tif (h == 0 || w == 0) {\n\t\t\t\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tprintRectangle(h, w);\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\t\n\tpublic static void printRectangle(int h, int w) {\n\t\tchar[] row = new char[w];\n\t\tArrays.fill(row, '#');\n\t\tfor (int i = 0; i < h; i++) {\n\t\t\tSystem.out.println(row);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (true) {
int h = sc.nextInt();
int w = sc.nextInt();
if (h == 0 || w == 0) {
sc.close();
break;
}
printRectangle(h, w);
System.out.println();
}
}
public static void printRectangle(int h, int w) {
char[] row = new char[w];
Arrays.fill(row, '#');
for (int i = 0; i < h; i++) {
System.out.println(row);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
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,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
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
],
[
4,
9
],
[
9,
10
],
[
9,
11
],
[
4,
12
],
[
12,
13
],
[
12,
14
],
[
4,
15
],
[
15,
16
],
[
15,
17
],
[
4,
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
],
[
31,
32
],
[
32,
33
],
[
20,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
65,
66
],
[
56,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
68,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
75,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
42,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
42,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
42,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
4,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
102,
108
],
[
108,
109
]
] | [
"import java.util.Scanner;\nclass Main {\n\tint W = 0,H = 0,I = 0,F = 0;\n\tpublic void pr() {\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(I = 0;I < H; I++) {\n\t\t\t\tfor(F = 0;F < W; F++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tif(F == W-1) {\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\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().pr();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tint W = 0,H = 0,I = 0,F = 0;\n\tpublic void pr() {\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(I = 0;I < H; I++) {\n\t\t\t\tfor(F = 0;F < W; F++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tif(F == W-1) {\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\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().pr();\n\t}\n}",
"Main",
"int W = 0",
"W",
"0",
"H = 0",
"H",
"0",
"I = 0",
"I",
"0",
"F = 0;",
"F",
"0",
"public void pr() {\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(I = 0;I < H; I++) {\n\t\t\t\tfor(F = 0;F < W; F++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tif(F == W-1) {\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t}\n\t}",
"pr",
"{\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(I = 0;I < H; I++) {\n\t\t\t\tfor(F = 0;F < W; F++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tif(F == W-1) {\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\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(I = 0;I < H; I++) {\n\t\t\t\tfor(F = 0;F < W; F++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tif(F == W-1) {\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\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(I = 0;I < H; I++) {\n\t\t\t\tfor(F = 0;F < W; F++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tif(F == W-1) {\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t}",
"for(I = 0;I < H; I++) {\n\t\t\t\tfor(F = 0;F < W; F++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tif(F == W-1) {\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"I = 0;",
"I = 0",
"I",
"0",
"I < H",
"I",
"H",
"I++",
"I++",
"I",
"{\n\t\t\t\tfor(F = 0;F < W; F++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tif(F == W-1) {\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tfor(F = 0;F < W; F++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tif(F == W-1) {\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"for(F = 0;F < W; F++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tif(F == W-1) {\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t\t}",
"F = 0;",
"F = 0",
"F",
"0",
"F < W",
"F",
"W",
"F++",
"F++",
"F",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tif(F == W-1) {\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tif(F == W-1) {\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"if(F == W-1) {\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t}",
"F == W-1",
"F",
"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",
"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().pr();\n\t}",
"main",
"{\n\t\tnew Main().pr();\n\t}",
"new Main().pr()",
"new Main().pr",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
int W = 0,H = 0,I = 0,F = 0;
public void pr() {
Scanner sc = new Scanner(System.in);
H = sc.nextInt();
W = sc.nextInt();
while(H != 0 || W != 0) {
for(I = 0;I < H; I++) {
for(F = 0;F < W; F++) {
System.out.print("#");
if(F == W-1) {
System.out.println();
}
}
}
System.out.println();
H = sc.nextInt();
W = sc.nextInt();
}
}
public static void main(String[] args) {
new Main().pr();
}
} |
[
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,
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,
41,
13,
20,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
12,
13,
30,
4,
18,
20,
23,
13,
6,
13,
41,
13,
17,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
40,
17,
41,
13,
17,
12,
13,
30,
4,
13,
18,
13,
13,
13,
12,
13,
30,
4,
13,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
13,
13,
13,
23,
13,
12,
13,
30,
4,
13,
13,
4,
13,
13,
23,
13,
23,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
13,
20,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
13,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
0,
13,
17,
12,
13,
30,
29,
13,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
29,
2,
13,
17,
23,
13,
12,
13,
30,
40,
13,
4,
13,
12,
13,
30,
29,
18,
4,
13,
20,
17,
17,
12,
13,
30,
4,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
17,
41,
13,
17,
41,
13,
42,
2,
40,
4,
13,
0,
13,
18,
13,
13,
40,
4,
13,
13,
4,
13,
14,
4,
13,
18,
13,
13,
30,
0,
13,
40,
17,
4,
13,
42,
4,
13,
0,
13,
18,
13,
13,
30,
0,
13,
17,
0,
13,
2,
13,
17,
4,
13,
4,
13,
0,
18,
13,
13,
2,
13,
13,
29,
13,
23,
13,
12,
13,
30,
14,
40,
4,
18,
18,
36,
13,
18,
13,
13,
4,
18,
18,
36,
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
],
[
348,
20
],
[
348,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
32,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
69,
73
],
[
64,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
32,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
23,
82
],
[
82,
83
],
[
83,
84
],
[
23,
85
],
[
85,
86
],
[
86,
87
],
[
348,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
88,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
101,
102
],
[
96,
103
],
[
103,
104
],
[
103,
105
],
[
96,
106
],
[
106,
107
],
[
106,
108
],
[
96,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
96,
113
],
[
113,
114
],
[
113,
115
],
[
96,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
96,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
130,
132
],
[
128,
133
],
[
125,
134
],
[
134,
135
],
[
96,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
139,
142
],
[
136,
143
],
[
143,
144
],
[
96,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
151,
152
],
[
151,
153
],
[
145,
154
],
[
154,
155
],
[
145,
156
],
[
156,
157
],
[
96,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
158,
164
],
[
164,
165
],
[
96,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
166,
173
],
[
173,
174
],
[
96,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
179,
183
],
[
183,
184
],
[
184,
185
],
[
178,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
189,
192
],
[
186,
193
],
[
193,
194
],
[
193,
195
],
[
96,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
199,
200
],
[
96,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
209
],
[
209,
210
],
[
209,
211
],
[
201,
212
],
[
212,
213
],
[
96,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
214,
221
],
[
221,
222
],
[
96,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
226,
227
],
[
225,
228
],
[
228,
229
],
[
96,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
234,
239
],
[
96,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
243,
244
],
[
242,
245
],
[
245,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
245,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
252,
254
],
[
245,
255
],
[
255,
256
],
[
256,
257
],
[
245,
258
],
[
259,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
259,
263
],
[
263,
264
],
[
263,
265
],
[
259,
266
],
[
266,
267
],
[
259,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
275,
277
],
[
269,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
268,
282
],
[
282,
283
],
[
259,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
287,
289
],
[
284,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
293,
294
],
[
290,
295
],
[
295,
296
],
[
259,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
302,
304
],
[
297,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
305,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
311,
313
],
[
305,
314
],
[
314,
315
],
[
259,
316
],
[
316,
317
],
[
259,
318
],
[
318,
319
],
[
319,
320
],
[
319,
321
],
[
318,
322
],
[
322,
323
],
[
322,
324
],
[
242,
325
],
[
325,
326
],
[
240,
327
],
[
327,
328
],
[
96,
329
],
[
329,
330
],
[
329,
331
],
[
331,
332
],
[
332,
333
],
[
333,
334
],
[
334,
335
],
[
335,
336
],
[
336,
337
],
[
336,
338
],
[
334,
339
],
[
339,
340
],
[
339,
341
],
[
332,
342
],
[
342,
343
],
[
343,
344
],
[
344,
345
],
[
344,
346
],
[
0,
347
],
[
347,
348
],
[
347,
349
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.Arrays;\n\npublic class Main {\n public void exec() throws IOException {\n InputUtil input = new InputUtil();\n PrintWriter out = new PrintWriter(System.out);\n while(true) {\n int H = input.nextInt();\n int W = input.nextInt();\n if(H==0 && W==0) break;\n for(int y=0; y<H; y++) {\n \tchar[] cbuf = new char[W];\n \tArrays.fill(cbuf, '#');\n \tout.println(cbuf);\n }\n out.println(\"\");\n }\n out.flush();\n input.close();\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }\n\n}\n \n/**\n * --------------------------------------------------\n * Input Utility\n * --------------------------------------------------\n */\nclass InputUtil {\n //Static Fields\n private static final int BUFSIZ = 2100005;\n \n //Fields\n protected InputStream in;\n private char[] buf = null;\n private int ptr = 0;\n private int max = -1;\n private BufferedReader br = null;\n \n //Constructors\n public InputUtil() {this(System.in,BUFSIZ);}\n public InputUtil(int bufsiz) {this(System.in,bufsiz);}\n public InputUtil(InputStream in) {this(in,BUFSIZ);}\n public InputUtil(InputStream in, int bufsiz) {\n initBuf(bufsiz);\n initIn(in);\n }\n \n //Methods\n //Initializer\n protected void initIn(InputStream in) {br = new BufferedReader(new InputStreamReader(this.in = in));}\n protected void initBuf(int bufsiz) {buf = new char[bufsiz];}\n \n //String Input Reader/Parser\n private void readBuf() throws IOException {\n if(ptr >= max && br.ready()) {\n max = br.read(buf);\n ptr = 0;\n }\n }\n \n public BufferedReader getReader() {return br;}\n \n //Number Input Reader/Parser\n private boolean isNum(char b) {return '0' <= b && b <= '9'; }\n private boolean isMinus(char b) {return b=='-'; }\n private void next() throws IOException {ptr++; readBuf();}\n \n \n public int nextInt() throws IOException {return nextInt(new int[1])[0];}\n public int[] nextInt(int[] result) throws IOException {\n readBuf();\n for(int i=0; i<result.length; i++) {\n int sign = 1;\n int res = 0;\n char c;\n while (!isNum(c=buf[ptr]) && !isMinus(c)) \n next();\n if (isMinus(buf[ptr])) {\n sign = -1;\n next();\n }\n while (isNum(c=buf[ptr])) {\n res *= 10;\n res += c - '0' ;\n next();\n }\n next();\n result[i] = sign * res;\n }\n return result;\n }\n \n //Close \n public void close() throws IOException {\n if(!this.in.equals(System.in)) \n this.in.close();\n }\n \n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n public void exec() throws IOException {\n InputUtil input = new InputUtil();\n PrintWriter out = new PrintWriter(System.out);\n while(true) {\n int H = input.nextInt();\n int W = input.nextInt();\n if(H==0 && W==0) break;\n for(int y=0; y<H; y++) {\n \tchar[] cbuf = new char[W];\n \tArrays.fill(cbuf, '#');\n \tout.println(cbuf);\n }\n out.println(\"\");\n }\n out.flush();\n input.close();\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }\n\n}",
"Main",
"public void exec() throws IOException {\n InputUtil input = new InputUtil();\n PrintWriter out = new PrintWriter(System.out);\n while(true) {\n int H = input.nextInt();\n int W = input.nextInt();\n if(H==0 && W==0) break;\n for(int y=0; y<H; y++) {\n \tchar[] cbuf = new char[W];\n \tArrays.fill(cbuf, '#');\n \tout.println(cbuf);\n }\n out.println(\"\");\n }\n out.flush();\n input.close();\n }",
"exec",
"{\n InputUtil input = new InputUtil();\n PrintWriter out = new PrintWriter(System.out);\n while(true) {\n int H = input.nextInt();\n int W = input.nextInt();\n if(H==0 && W==0) break;\n for(int y=0; y<H; y++) {\n \tchar[] cbuf = new char[W];\n \tArrays.fill(cbuf, '#');\n \tout.println(cbuf);\n }\n out.println(\"\");\n }\n out.flush();\n input.close();\n }",
"InputUtil input = new InputUtil();",
"input",
"new InputUtil()",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"while(true) {\n int H = input.nextInt();\n int W = input.nextInt();\n if(H==0 && W==0) break;\n for(int y=0; y<H; y++) {\n \tchar[] cbuf = new char[W];\n \tArrays.fill(cbuf, '#');\n \tout.println(cbuf);\n }\n out.println(\"\");\n }",
"true",
"{\n int H = input.nextInt();\n int W = input.nextInt();\n if(H==0 && W==0) break;\n for(int y=0; y<H; y++) {\n \tchar[] cbuf = new char[W];\n \tArrays.fill(cbuf, '#');\n \tout.println(cbuf);\n }\n 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) break;",
"H==0 && W==0",
"H==0",
"H",
"0",
"W==0",
"W",
"0",
"break;",
"for(int y=0; y<H; y++) {\n \tchar[] cbuf = new char[W];\n \tArrays.fill(cbuf, '#');\n \tout.println(cbuf);\n }",
"int y=0;",
"int y=0;",
"y",
"0",
"y<H",
"y",
"H",
"y++",
"y++",
"y",
"{\n \tchar[] cbuf = new char[W];\n \tArrays.fill(cbuf, '#');\n \tout.println(cbuf);\n }",
"{\n \tchar[] cbuf = new char[W];\n \tArrays.fill(cbuf, '#');\n \tout.println(cbuf);\n }",
"char[] cbuf = new char[W];",
"cbuf",
"new char[W]",
"W",
"Arrays.fill(cbuf, '#')",
"Arrays.fill",
"Arrays",
"cbuf",
"'#'",
"out.println(cbuf)",
"out.println",
"out",
"cbuf",
"out.println(\"\")",
"out.println",
"out",
"\"\"",
"out.flush()",
"out.flush",
"out",
"input.close()",
"input.close",
"input",
"public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }",
"main",
"{\n \tnew Main().exec();\n }",
"new Main().exec()",
"new Main().exec",
"new Main()",
"String[] args",
"args",
"class InputUtil {\n //Static Fields\n private static final int BUFSIZ = 2100005;\n \n //Fields\n protected InputStream in;\n private char[] buf = null;\n private int ptr = 0;\n private int max = -1;\n private BufferedReader br = null;\n \n //Constructors\n public InputUtil() {this(System.in,BUFSIZ);}\n public InputUtil(int bufsiz) {this(System.in,bufsiz);}\n public InputUtil(InputStream in) {this(in,BUFSIZ);}\n public InputUtil(InputStream in, int bufsiz) {\n initBuf(bufsiz);\n initIn(in);\n }\n \n //Methods\n //Initializer\n protected void initIn(InputStream in) {br = new BufferedReader(new InputStreamReader(this.in = in));}\n protected void initBuf(int bufsiz) {buf = new char[bufsiz];}\n \n //String Input Reader/Parser\n private void readBuf() throws IOException {\n if(ptr >= max && br.ready()) {\n max = br.read(buf);\n ptr = 0;\n }\n }\n \n public BufferedReader getReader() {return br;}\n \n //Number Input Reader/Parser\n private boolean isNum(char b) {return '0' <= b && b <= '9'; }\n private boolean isMinus(char b) {return b=='-'; }\n private void next() throws IOException {ptr++; readBuf();}\n \n \n public int nextInt() throws IOException {return nextInt(new int[1])[0];}\n public int[] nextInt(int[] result) throws IOException {\n readBuf();\n for(int i=0; i<result.length; i++) {\n int sign = 1;\n int res = 0;\n char c;\n while (!isNum(c=buf[ptr]) && !isMinus(c)) \n next();\n if (isMinus(buf[ptr])) {\n sign = -1;\n next();\n }\n while (isNum(c=buf[ptr])) {\n res *= 10;\n res += c - '0' ;\n next();\n }\n next();\n result[i] = sign * res;\n }\n return result;\n }\n \n //Close \n public void close() throws IOException {\n if(!this.in.equals(System.in)) \n this.in.close();\n }\n \n}",
"InputUtil",
"//Static Fields\n private static final int BUFSIZ = 2100005;",
"BUFSIZ",
"2100005",
"//Fields\n protected InputStream in;",
"in",
"private char[] buf = null;",
"buf",
"null",
"private int ptr = 0;",
"ptr",
"0",
"private int max = -1;",
"max",
"-1",
"1",
"private BufferedReader br = null;",
"br",
"null",
"//Constructors\n public InputUtil() {this(System.in,BUFSIZ);}",
"InputUtil",
"{this(System.in,BUFSIZ);}",
"this(System.in,BUFSIZ)",
"this",
"System.in",
"System",
"System.in",
"BUFSIZ",
"public InputUtil(int bufsiz) {this(System.in,bufsiz);}",
"InputUtil",
"{this(System.in,bufsiz);}",
"this(System.in,bufsiz)",
"this",
"System.in",
"System",
"System.in",
"bufsiz",
"int bufsiz",
"bufsiz",
"public InputUtil(InputStream in) {this(in,BUFSIZ);}",
"InputUtil",
"{this(in,BUFSIZ);}",
"this(in,BUFSIZ)",
"this",
"in",
"BUFSIZ",
"InputStream in",
"in",
"public InputUtil(InputStream in, int bufsiz) {\n initBuf(bufsiz);\n initIn(in);\n }",
"InputUtil",
"{\n initBuf(bufsiz);\n initIn(in);\n }",
"initBuf(bufsiz)",
"initBuf",
"bufsiz",
"initIn(in)",
"initIn",
"in",
"InputStream in",
"in",
"int bufsiz",
"bufsiz",
"//Methods\n //Initializer\n protected void initIn(InputStream in) {br = new BufferedReader(new InputStreamReader(this.in = in));}",
"initIn",
"{br = new BufferedReader(new InputStreamReader(this.in = in));}",
"br = new BufferedReader(new InputStreamReader(this.in = in))",
"br",
"new BufferedReader(new InputStreamReader(this.in = in))",
"InputStream in",
"in",
"protected void initBuf(int bufsiz) {buf = new char[bufsiz];}",
"initBuf",
"{buf = new char[bufsiz];}",
"buf = new char[bufsiz]",
"buf",
"new char[bufsiz]",
"bufsiz",
"int bufsiz",
"bufsiz",
"//String Input Reader/Parser\n private void readBuf() throws IOException {\n if(ptr >= max && br.ready()) {\n max = br.read(buf);\n ptr = 0;\n }\n }",
"readBuf",
"{\n if(ptr >= max && br.ready()) {\n max = br.read(buf);\n ptr = 0;\n }\n }",
"if(ptr >= max && br.ready()) {\n max = br.read(buf);\n ptr = 0;\n }",
"ptr >= max && br.ready()",
"ptr >= max",
"ptr",
"max",
"br.ready()",
"br.ready",
"br",
"{\n max = br.read(buf);\n ptr = 0;\n }",
"max = br.read(buf)",
"max",
"br.read(buf)",
"br.read",
"br",
"buf",
"ptr = 0",
"ptr",
"0",
"public BufferedReader getReader() {return br;}",
"getReader",
"{return br;}",
"return br;",
"br",
"//Number Input Reader/Parser\n private boolean isNum(char b) {return '0' <= b && b <= '9'; }",
"isNum",
"{return '0' <= b && b <= '9'; }",
"return '0' <= b && b <= '9';",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"char b",
"b",
"private boolean isMinus(char b) {return b=='-'; }",
"isMinus",
"{return b=='-'; }",
"return b=='-';",
"b=='-'",
"b",
"'-'",
"char b",
"b",
"private void next() throws IOException {ptr++; readBuf();}",
"next",
"{ptr++; readBuf();}",
"ptr++",
"ptr",
"readBuf()",
"readBuf",
"public int nextInt() throws IOException {return nextInt(new int[1])[0];}",
"nextInt",
"{return nextInt(new int[1])[0];}",
"return nextInt(new int[1])[0];",
"nextInt(new int[1])[0]",
"nextInt(new int[1])",
"nextInt",
"new int[1]",
"1",
"0",
"public int[] nextInt(int[] result) throws IOException {\n readBuf();\n for(int i=0; i<result.length; i++) {\n int sign = 1;\n int res = 0;\n char c;\n while (!isNum(c=buf[ptr]) && !isMinus(c)) \n next();\n if (isMinus(buf[ptr])) {\n sign = -1;\n next();\n }\n while (isNum(c=buf[ptr])) {\n res *= 10;\n res += c - '0' ;\n next();\n }\n next();\n result[i] = sign * res;\n }\n return result;\n }",
"nextInt",
"{\n readBuf();\n for(int i=0; i<result.length; i++) {\n int sign = 1;\n int res = 0;\n char c;\n while (!isNum(c=buf[ptr]) && !isMinus(c)) \n next();\n if (isMinus(buf[ptr])) {\n sign = -1;\n next();\n }\n while (isNum(c=buf[ptr])) {\n res *= 10;\n res += c - '0' ;\n next();\n }\n next();\n result[i] = sign * res;\n }\n return result;\n }",
"readBuf()",
"readBuf",
"for(int i=0; i<result.length; i++) {\n int sign = 1;\n int res = 0;\n char c;\n while (!isNum(c=buf[ptr]) && !isMinus(c)) \n next();\n if (isMinus(buf[ptr])) {\n sign = -1;\n next();\n }\n while (isNum(c=buf[ptr])) {\n res *= 10;\n res += c - '0' ;\n next();\n }\n next();\n result[i] = sign * res;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<result.length",
"i",
"result.length",
"result",
"result.length",
"i++",
"i++",
"i",
"{\n int sign = 1;\n int res = 0;\n char c;\n while (!isNum(c=buf[ptr]) && !isMinus(c)) \n next();\n if (isMinus(buf[ptr])) {\n sign = -1;\n next();\n }\n while (isNum(c=buf[ptr])) {\n res *= 10;\n res += c - '0' ;\n next();\n }\n next();\n result[i] = sign * res;\n }",
"{\n int sign = 1;\n int res = 0;\n char c;\n while (!isNum(c=buf[ptr]) && !isMinus(c)) \n next();\n if (isMinus(buf[ptr])) {\n sign = -1;\n next();\n }\n while (isNum(c=buf[ptr])) {\n res *= 10;\n res += c - '0' ;\n next();\n }\n next();\n result[i] = sign * res;\n }",
"int sign = 1;",
"sign",
"1",
"int res = 0;",
"res",
"0",
"char c;",
"c",
"while (!isNum(c=buf[ptr]) && !isMinus(c)) \n next();",
"!isNum(c=buf[ptr]) && !isMinus(c)",
"!isNum(c=buf[ptr])",
"isNum(c=buf[ptr])",
"isNum",
"c=buf[ptr]",
"c",
"buf[ptr]",
"buf",
"ptr",
"!isMinus(c)",
"isMinus(c)",
"isMinus",
"c",
"next()",
"next",
"if (isMinus(buf[ptr])) {\n sign = -1;\n next();\n }",
"isMinus(buf[ptr])",
"isMinus",
"buf[ptr]",
"buf",
"ptr",
"{\n sign = -1;\n next();\n }",
"sign = -1",
"sign",
"-1",
"1",
"next()",
"next",
"while (isNum(c=buf[ptr])) {\n res *= 10;\n res += c - '0' ;\n next();\n }",
"isNum(c=buf[ptr])",
"isNum",
"c=buf[ptr]",
"c",
"buf[ptr]",
"buf",
"ptr",
"{\n res *= 10;\n res += c - '0' ;\n next();\n }",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"next()",
"next",
"next()",
"next",
"result[i] = sign * res",
"result[i]",
"result",
"i",
"sign * res",
"sign",
"res",
"return result;",
"result",
"int[] result",
"result",
"//Close \n public void close() throws IOException {\n if(!this.in.equals(System.in)) \n this.in.close();\n }",
"close",
"{\n if(!this.in.equals(System.in)) \n this.in.close();\n }",
"if(!this.in.equals(System.in)) \n this.in.close();",
"!this.in.equals(System.in)",
"this.in.equals(System.in)",
"this.in.equals",
"this.in",
"this",
"this.in",
"System.in",
"System",
"System.in",
"this.in.close()",
"this.in.close",
"this.in",
"this",
"this.in",
"public class Main {\n public void exec() throws IOException {\n InputUtil input = new InputUtil();\n PrintWriter out = new PrintWriter(System.out);\n while(true) {\n int H = input.nextInt();\n int W = input.nextInt();\n if(H==0 && W==0) break;\n for(int y=0; y<H; y++) {\n \tchar[] cbuf = new char[W];\n \tArrays.fill(cbuf, '#');\n \tout.println(cbuf);\n }\n out.println(\"\");\n }\n out.flush();\n input.close();\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }\n\n}",
"public class Main {\n public void exec() throws IOException {\n InputUtil input = new InputUtil();\n PrintWriter out = new PrintWriter(System.out);\n while(true) {\n int H = input.nextInt();\n int W = input.nextInt();\n if(H==0 && W==0) break;\n for(int y=0; y<H; y++) {\n \tchar[] cbuf = new char[W];\n \tArrays.fill(cbuf, '#');\n \tout.println(cbuf);\n }\n out.println(\"\");\n }\n out.flush();\n input.close();\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.Arrays;
public class Main {
public void exec() throws IOException {
InputUtil input = new InputUtil();
PrintWriter out = new PrintWriter(System.out);
while(true) {
int H = input.nextInt();
int W = input.nextInt();
if(H==0 && W==0) break;
for(int y=0; y<H; y++) {
char[] cbuf = new char[W];
Arrays.fill(cbuf, '#');
out.println(cbuf);
}
out.println("");
}
out.flush();
input.close();
}
public static void main(String[] args) throws IOException {
new Main().exec();
}
}
/**
* --------------------------------------------------
* Input Utility
* --------------------------------------------------
*/
class InputUtil {
//Static Fields
private static final int BUFSIZ = 2100005;
//Fields
protected InputStream in;
private char[] buf = null;
private int ptr = 0;
private int max = -1;
private BufferedReader br = null;
//Constructors
public InputUtil() {this(System.in,BUFSIZ);}
public InputUtil(int bufsiz) {this(System.in,bufsiz);}
public InputUtil(InputStream in) {this(in,BUFSIZ);}
public InputUtil(InputStream in, int bufsiz) {
initBuf(bufsiz);
initIn(in);
}
//Methods
//Initializer
protected void initIn(InputStream in) {br = new BufferedReader(new InputStreamReader(this.in = in));}
protected void initBuf(int bufsiz) {buf = new char[bufsiz];}
//String Input Reader/Parser
private void readBuf() throws IOException {
if(ptr >= max && br.ready()) {
max = br.read(buf);
ptr = 0;
}
}
public BufferedReader getReader() {return br;}
//Number Input Reader/Parser
private boolean isNum(char b) {return '0' <= b && b <= '9'; }
private boolean isMinus(char b) {return b=='-'; }
private void next() throws IOException {ptr++; readBuf();}
public int nextInt() throws IOException {return nextInt(new int[1])[0];}
public int[] nextInt(int[] result) throws IOException {
readBuf();
for(int i=0; i<result.length; i++) {
int sign = 1;
int res = 0;
char c;
while (!isNum(c=buf[ptr]) && !isMinus(c))
next();
if (isMinus(buf[ptr])) {
sign = -1;
next();
}
while (isNum(c=buf[ptr])) {
res *= 10;
res += c - '0' ;
next();
}
next();
result[i] = sign * res;
}
return result;
}
//Close
public void close() throws IOException {
if(!this.in.equals(System.in))
this.in.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,
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 public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n while (true) {\n int H = scan.nextInt(), W = scan.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n for (int h = 0; h < H; h++) {\n for (int w = 0; w < W; w++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n while (true) {\n int H = scan.nextInt(), W = scan.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n for (int h = 0; h < H; h++) {\n for (int w = 0; w < W; w++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n while (true) {\n int H = scan.nextInt(), W = scan.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\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",
"{\n Scanner scan = new Scanner(System.in);\n\n while (true) {\n int H = scan.nextInt(), W = scan.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\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 }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while (true) {\n int H = scan.nextInt(), W = scan.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\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 }",
"true",
"{\n int H = scan.nextInt(), W = scan.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\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 }",
"int H = scan.nextInt()",
"H",
"scan.nextInt()",
"scan.nextInt",
"scan",
"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 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 scan = new Scanner(System.in);\n\n while (true) {\n int H = scan.nextInt(), W = scan.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n for (int h = 0; h < H; h++) {\n for (int w = 0; w < W; w++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n\n }\n }\n}",
"public 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(), W = scan.nextInt();\n if (H == 0 && W == 0) {\n break;\n }\n\n for (int h = 0; h < H; h++) {\n for (int w = 0; w < W; w++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n\n }\n }\n}",
"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(), W = scan.nextInt();
if (H == 0 && W == 0) {
break;
}
for (int h = 0; h < H; h++) {
for (int w = 0; w < W; w++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
4,
13,
13,
13,
0,
13,
4,
18,
13,
0,
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,
4,
18,
18,
13,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
99,
5
],
[
99,
6
],
[
6,
7
],
[
99,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
10,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
10,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
33,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
32,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
8,
47
],
[
47,
48
],
[
99,
49
],
[
49,
50
],
[
49,
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
],
[
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
],
[
51,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
49,
94
],
[
94,
95
],
[
49,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t\tsc = 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\tdisplay(H, W);\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t}\n\t}\n\n\tprivate static void display(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\tSystem.out.println();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t\tsc = 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\tdisplay(H, W);\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t}\n\t}\n\n\tprivate static void display(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\tSystem.out.println();\n\t}\n}",
"Main",
"private static Scanner sc;",
"sc",
"public static void main(String[] args) {\n\t\tsc = 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\tdisplay(H, W);\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t}\n\t}",
"main",
"{\n\t\tsc = 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\tdisplay(H, W);\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t}\n\t}",
"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\tdisplay(H, W);\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\tdisplay(H, W);\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t}",
"display(H, W)",
"display",
"H",
"W",
"H = sc.nextInt()",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"W = sc.nextInt()",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String[] args",
"args",
"private static void display(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\tSystem.out.println();\n\t}",
"display",
"{\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\tSystem.out.println();\n\t}",
"for (int i = 0; i < h; i++) {\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\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",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"int h",
"h",
"int w",
"w",
"public class Main {\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t\tsc = 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\tdisplay(H, W);\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t}\n\t}\n\n\tprivate static void display(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\tSystem.out.println();\n\t}\n}",
"public class Main {\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t\tsc = 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\tdisplay(H, W);\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t}\n\t}\n\n\tprivate static void display(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\tSystem.out.println();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
private static Scanner sc;
public static void main(String[] args) {
sc = new Scanner(System.in);
int H = sc.nextInt();
int W = sc.nextInt();
while (H != 0 && W != 0) {
display(H, W);
H = sc.nextInt();
W = sc.nextInt();
}
}
private static void display(int h, int w) {
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,
41,
13,
12,
13,
30,
0,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
17,
42,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
0,
13,
2,
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
],
[
81,
5
],
[
81,
6
],
[
6,
7
],
[
81,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
27,
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
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
56,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
48,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
16,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
8,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t sc = new Scanner(System.in);\n\t \n\t while(true){\n\t int h=sc.nextInt();\n\t int w=sc.nextInt();\n\t if(h==0&&w==0)break;\n\t else for(int i = 0;i<h;i++){\n\t\t int m=0; \n\t\t while(m<w){\n\t\t\t System.out.print(\"#\");\n\t\t\t m=m+1;\n\t\t }\n\t\t \n\t System.out.println();\n }\n\t System.out.println();\n } \n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t sc = new Scanner(System.in);\n\t \n\t while(true){\n\t int h=sc.nextInt();\n\t int w=sc.nextInt();\n\t if(h==0&&w==0)break;\n\t else for(int i = 0;i<h;i++){\n\t\t int m=0; \n\t\t while(m<w){\n\t\t\t System.out.print(\"#\");\n\t\t\t m=m+1;\n\t\t }\n\t\t \n\t System.out.println();\n }\n\t System.out.println();\n } \n }\n}",
"Main",
"private static Scanner sc;",
"sc",
"public static void main(String[] args) {\n\t sc = new Scanner(System.in);\n\t \n\t while(true){\n\t int h=sc.nextInt();\n\t int w=sc.nextInt();\n\t if(h==0&&w==0)break;\n\t else for(int i = 0;i<h;i++){\n\t\t int m=0; \n\t\t while(m<w){\n\t\t\t System.out.print(\"#\");\n\t\t\t m=m+1;\n\t\t }\n\t\t \n\t System.out.println();\n }\n\t System.out.println();\n } \n }",
"main",
"{\n\t sc = new Scanner(System.in);\n\t \n\t while(true){\n\t int h=sc.nextInt();\n\t int w=sc.nextInt();\n\t if(h==0&&w==0)break;\n\t else for(int i = 0;i<h;i++){\n\t\t int m=0; \n\t\t while(m<w){\n\t\t\t System.out.print(\"#\");\n\t\t\t m=m+1;\n\t\t }\n\t\t \n\t System.out.println();\n }\n\t System.out.println();\n } \n }",
"sc = new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"while(true){\n\t int h=sc.nextInt();\n\t int w=sc.nextInt();\n\t if(h==0&&w==0)break;\n\t else for(int i = 0;i<h;i++){\n\t\t int m=0; \n\t\t while(m<w){\n\t\t\t System.out.print(\"#\");\n\t\t\t m=m+1;\n\t\t }\n\t\t \n\t System.out.println();\n }\n\t System.out.println();\n }",
"true",
"{\n\t int h=sc.nextInt();\n\t int w=sc.nextInt();\n\t if(h==0&&w==0)break;\n\t else for(int i = 0;i<h;i++){\n\t\t int m=0; \n\t\t while(m<w){\n\t\t\t System.out.print(\"#\");\n\t\t\t m=m+1;\n\t\t }\n\t\t \n\t System.out.println();\n }\n\t 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;\n\t else for(int i = 0;i<h;i++){\n\t\t int m=0; \n\t\t while(m<w){\n\t\t\t System.out.print(\"#\");\n\t\t\t m=m+1;\n\t\t }\n\t\t \n\t System.out.println();\n }",
"h==0&&w==0",
"h==0",
"h",
"0",
"w==0",
"w",
"0",
"break;",
"for(int i = 0;i<h;i++){\n\t\t int m=0; \n\t\t while(m<w){\n\t\t\t System.out.print(\"#\");\n\t\t\t m=m+1;\n\t\t }\n\t\t \n\t System.out.println();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t\t int m=0; \n\t\t while(m<w){\n\t\t\t System.out.print(\"#\");\n\t\t\t m=m+1;\n\t\t }\n\t\t \n\t System.out.println();\n }",
"{\n\t\t int m=0; \n\t\t while(m<w){\n\t\t\t System.out.print(\"#\");\n\t\t\t m=m+1;\n\t\t }\n\t\t \n\t System.out.println();\n }",
"int m=0;",
"m",
"0",
"while(m<w){\n\t\t\t System.out.print(\"#\");\n\t\t\t m=m+1;\n\t\t }",
"m<w",
"m",
"w",
"{\n\t\t\t System.out.print(\"#\");\n\t\t\t m=m+1;\n\t\t }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"m=m+1",
"m",
"m+1",
"m",
"1",
"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\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t sc = new Scanner(System.in);\n\t \n\t while(true){\n\t int h=sc.nextInt();\n\t int w=sc.nextInt();\n\t if(h==0&&w==0)break;\n\t else for(int i = 0;i<h;i++){\n\t\t int m=0; \n\t\t while(m<w){\n\t\t\t System.out.print(\"#\");\n\t\t\t m=m+1;\n\t\t }\n\t\t \n\t System.out.println();\n }\n\t System.out.println();\n } \n }\n}",
"public class Main {\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t sc = new Scanner(System.in);\n\t \n\t while(true){\n\t int h=sc.nextInt();\n\t int w=sc.nextInt();\n\t if(h==0&&w==0)break;\n\t else for(int i = 0;i<h;i++){\n\t\t int m=0; \n\t\t while(m<w){\n\t\t\t System.out.print(\"#\");\n\t\t\t m=m+1;\n\t\t }\n\t\t \n\t System.out.println();\n }\n\t System.out.println();\n } \n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
private static Scanner sc;
public static void main(String[] args) {
sc = new Scanner(System.in);
while(true){
int h=sc.nextInt();
int w=sc.nextInt();
if(h==0&&w==0)break;
else for(int i = 0;i<h;i++){
int m=0;
while(m<w){
System.out.print("#");
m=m+1;
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
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,
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
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
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
],
[
30,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
30,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
30,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
6,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"import java.util.Scanner;\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\t\twhile (h!=0||w!=0){\n\t\t\tStringBuilder sb1=new StringBuilder(\"\");\n\t\t\tfor(int n=0;n<h;n++){\n\t\t\t\tfor(int m=0;m<w;m++){sb1.append(\"#\");}\n\t\t\t\tsb1.append(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println(sb1);\n\t\t\th=sc.nextInt();\n\t\t\tw=sc.nextInt();\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint h=sc.nextInt();\n\t\tint w=sc.nextInt();\n\t\twhile (h!=0||w!=0){\n\t\t\tStringBuilder sb1=new StringBuilder(\"\");\n\t\t\tfor(int n=0;n<h;n++){\n\t\t\t\tfor(int m=0;m<w;m++){sb1.append(\"#\");}\n\t\t\t\tsb1.append(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println(sb1);\n\t\t\th=sc.nextInt();\n\t\t\tw=sc.nextInt();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint h=sc.nextInt();\n\t\tint w=sc.nextInt();\n\t\twhile (h!=0||w!=0){\n\t\t\tStringBuilder sb1=new StringBuilder(\"\");\n\t\t\tfor(int n=0;n<h;n++){\n\t\t\t\tfor(int m=0;m<w;m++){sb1.append(\"#\");}\n\t\t\t\tsb1.append(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println(sb1);\n\t\t\th=sc.nextInt();\n\t\t\tw=sc.nextInt();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint h=sc.nextInt();\n\t\tint w=sc.nextInt();\n\t\twhile (h!=0||w!=0){\n\t\t\tStringBuilder sb1=new StringBuilder(\"\");\n\t\t\tfor(int n=0;n<h;n++){\n\t\t\t\tfor(int m=0;m<w;m++){sb1.append(\"#\");}\n\t\t\t\tsb1.append(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println(sb1);\n\t\t\th=sc.nextInt();\n\t\t\tw=sc.nextInt();\n\t\t}\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int h=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\tStringBuilder sb1=new StringBuilder(\"\");\n\t\t\tfor(int n=0;n<h;n++){\n\t\t\t\tfor(int m=0;m<w;m++){sb1.append(\"#\");}\n\t\t\t\tsb1.append(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println(sb1);\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\tStringBuilder sb1=new StringBuilder(\"\");\n\t\t\tfor(int n=0;n<h;n++){\n\t\t\t\tfor(int m=0;m<w;m++){sb1.append(\"#\");}\n\t\t\t\tsb1.append(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println(sb1);\n\t\t\th=sc.nextInt();\n\t\t\tw=sc.nextInt();\n\t\t}",
"StringBuilder sb1=new StringBuilder(\"\");",
"sb1",
"new StringBuilder(\"\")",
"for(int n=0;n<h;n++){\n\t\t\t\tfor(int m=0;m<w;m++){sb1.append(\"#\");}\n\t\t\t\tsb1.append(\"\\n\");\n\t\t\t}",
"int n=0;",
"int n=0;",
"n",
"0",
"n<h",
"n",
"h",
"n++",
"n++",
"n",
"{\n\t\t\t\tfor(int m=0;m<w;m++){sb1.append(\"#\");}\n\t\t\t\tsb1.append(\"\\n\");\n\t\t\t}",
"{\n\t\t\t\tfor(int m=0;m<w;m++){sb1.append(\"#\");}\n\t\t\t\tsb1.append(\"\\n\");\n\t\t\t}",
"for(int m=0;m<w;m++){sb1.append(\"#\");}",
"int m=0;",
"int m=0;",
"m",
"0",
"m<w",
"m",
"w",
"m++",
"m++",
"m",
"{sb1.append(\"#\");}",
"{sb1.append(\"#\");}",
"sb1.append(\"#\")",
"sb1.append",
"sb1",
"\"#\"",
"sb1.append(\"\\n\")",
"sb1.append",
"sb1",
"\"\\n\"",
"System.out.println(sb1)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb1",
"h=sc.nextInt()",
"h",
"sc.nextInt()",
"sc.nextInt",
"sc",
"w=sc.nextInt()",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint h=sc.nextInt();\n\t\tint w=sc.nextInt();\n\t\twhile (h!=0||w!=0){\n\t\t\tStringBuilder sb1=new StringBuilder(\"\");\n\t\t\tfor(int n=0;n<h;n++){\n\t\t\t\tfor(int m=0;m<w;m++){sb1.append(\"#\");}\n\t\t\t\tsb1.append(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println(sb1);\n\t\t\th=sc.nextInt();\n\t\t\tw=sc.nextInt();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint h=sc.nextInt();\n\t\tint w=sc.nextInt();\n\t\twhile (h!=0||w!=0){\n\t\t\tStringBuilder sb1=new StringBuilder(\"\");\n\t\t\tfor(int n=0;n<h;n++){\n\t\t\t\tfor(int m=0;m<w;m++){sb1.append(\"#\");}\n\t\t\t\tsb1.append(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.println(sb1);\n\t\t\th=sc.nextInt();\n\t\t\tw=sc.nextInt();\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int h=sc.nextInt();
int w=sc.nextInt();
while (h!=0||w!=0){
StringBuilder sb1=new StringBuilder("");
for(int n=0;n<h;n++){
for(int m=0;m<w;m++){sb1.append("#");}
sb1.append("\n");
}
System.out.println(sb1);
h=sc.nextInt();
w=sc.nextInt();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
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
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
17,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
17,
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
],
[
17,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
9,
88
],
[
88,
89
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n StringTokenizer st=new StringTokenizer(br.readLine());\n int h=Integer.parseInt(st.nextToken());\n int w=Integer.parseInt(st.nextToken());\n if(w==0&&h==0) break;\n for(int i=0;i<h;i++){\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }System.out.println();\n }System.out.println();\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n StringTokenizer st=new StringTokenizer(br.readLine());\n int h=Integer.parseInt(st.nextToken());\n int w=Integer.parseInt(st.nextToken());\n if(w==0&&h==0) break;\n for(int i=0;i<h;i++){\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }System.out.println();\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 while(true){\n StringTokenizer st=new StringTokenizer(br.readLine());\n int h=Integer.parseInt(st.nextToken());\n int w=Integer.parseInt(st.nextToken());\n if(w==0&&h==0) break;\n for(int i=0;i<h;i++){\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }System.out.println();\n }System.out.println();\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n StringTokenizer st=new StringTokenizer(br.readLine());\n int h=Integer.parseInt(st.nextToken());\n int w=Integer.parseInt(st.nextToken());\n if(w==0&&h==0) break;\n for(int i=0;i<h;i++){\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }System.out.println();\n }System.out.println();\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n StringTokenizer st=new StringTokenizer(br.readLine());\n int h=Integer.parseInt(st.nextToken());\n int w=Integer.parseInt(st.nextToken());\n if(w==0&&h==0) break;\n for(int i=0;i<h;i++){\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }System.out.println();\n }System.out.println();\n }",
"true",
"{\n StringTokenizer st=new StringTokenizer(br.readLine());\n int h=Integer.parseInt(st.nextToken());\n int w=Integer.parseInt(st.nextToken());\n if(w==0&&h==0) break;\n for(int i=0;i<h;i++){\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\n }System.out.println();\n }System.out.println();\n }",
"StringTokenizer st=new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"int h=Integer.parseInt(st.nextToken());",
"h",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int w=Integer.parseInt(st.nextToken());",
"w",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"if(w==0&&h==0) break;",
"w==0&&h==0",
"w==0",
"w",
"0",
"h==0",
"h",
"0",
"break;",
"for(int i=0;i<h;i++){\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\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 }System.out.println();\n }",
"{\n for(int j=0;j<w;j++){\n System.out.print(\"#\");\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.*;
import java.util.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
StringTokenizer st=new StringTokenizer(br.readLine());
int h=Integer.parseInt(st.nextToken());
int w=Integer.parseInt(st.nextToken());
if(w==0&&h==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,
38,
5,
13,
30,
4,
18,
18,
13,
13,
4,
18,
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,
37,
20,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
4,
18,
13,
17,
4,
18,
13,
13,
13,
4,
18,
18,
13,
13,
17,
23,
13,
6,
13,
41,
13,
17,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
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,
18,
13,
13,
18,
36,
13,
4,
18,
18,
13,
13,
17,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
153,
5
],
[
153,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
13,
18
],
[
18,
19
],
[
19,
20
],
[
9,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
25,
26
],
[
25,
27
],
[
21,
28
],
[
28,
29
],
[
28,
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
],
[
49,
50
],
[
50,
51
],
[
30,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
30,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
30,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
66,
70
],
[
30,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
84,
92
],
[
92,
93
],
[
79,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
102,
104
],
[
97,
105
],
[
105,
106
],
[
106,
107
],
[
96,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
113,
114
],
[
113,
115
],
[
108,
116
],
[
116,
117
],
[
117,
118
],
[
108,
119
],
[
120,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
121,
126
],
[
126,
127
],
[
126,
128
],
[
121,
129
],
[
129,
130
],
[
130,
131
],
[
121,
132
],
[
133,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
134,
139
],
[
139,
140
],
[
139,
141
],
[
120,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
142,
147
],
[
94,
148
],
[
148,
149
],
[
94,
150
],
[
150,
151
],
[
0,
152
],
[
152,
153
],
[
152,
154
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner stdIn = new Scanner(System.in)) {\n\t\t\tRectangle rectangle = new Rectangle();\n\t\t\twhile (true) {\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Input Error:range 0 to 300\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\trectangle.setChar('#');\n\t\t\t\trectangle.draw(h, w);\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t}\n}\n\nfinal class Rectangle {\n\tprivate Character displayChar = '*';\n\n\t/**\n\t * Set a character to draw shape\n\t * @param displayChar a character\n\t */\n\tprotected void setChar(Character displayChar) {\n\t\tthis.displayChar = displayChar;\n\t}\n\n\t/**\n\t * Draw square\n\t * @param height Height of square\n\t * @param width Width of square\n\t */\n\tprotected void draw(int height, int width) {\n\t\tif (height < 0 || width < 0) {\n\t\t\tthrow new RuntimeException(\"Input Error:Minus value input\");\n\t\t}\n\t\tfor (int i = 1; i <= height; i++) {\n\t\t\tfor (int j = 1; j <= width; j++) {\n\t\t\t\tSystem.out.print(this.displayChar);\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\ttry (Scanner stdIn = new Scanner(System.in)) {\n\t\t\tRectangle rectangle = new Rectangle();\n\t\t\twhile (true) {\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Input Error:range 0 to 300\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\trectangle.setChar('#');\n\t\t\t\trectangle.draw(h, w);\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry (Scanner stdIn = new Scanner(System.in)) {\n\t\t\tRectangle rectangle = new Rectangle();\n\t\t\twhile (true) {\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Input Error:range 0 to 300\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\trectangle.setChar('#');\n\t\t\t\trectangle.draw(h, w);\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t}",
"main",
"{\n\t\ttry (Scanner stdIn = new Scanner(System.in)) {\n\t\t\tRectangle rectangle = new Rectangle();\n\t\t\twhile (true) {\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Input Error:range 0 to 300\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\trectangle.setChar('#');\n\t\t\t\trectangle.draw(h, w);\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t}",
"try (Scanner stdIn = new Scanner(System.in)) {\n\t\t\tRectangle rectangle = new Rectangle();\n\t\t\twhile (true) {\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Input Error:range 0 to 300\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\trectangle.setChar('#');\n\t\t\t\trectangle.draw(h, w);\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}",
"catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}",
"Exception e",
"{\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}",
"System.out.println(e.getMessage())",
"System.out.println",
"System.out",
"System",
"System.out",
"e.getMessage()",
"e.getMessage",
"e",
"{\n\t\t\tRectangle rectangle = new Rectangle();\n\t\t\twhile (true) {\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Input Error:range 0 to 300\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\trectangle.setChar('#');\n\t\t\t\trectangle.draw(h, w);\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}",
"Scanner stdIn = new Scanner(System.in)",
"Scanner stdIn = new Scanner(System.in)",
"new Scanner(System.in)",
"Rectangle rectangle = new Rectangle();",
"rectangle",
"new Rectangle()",
"while (true) {\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Input Error:range 0 to 300\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\trectangle.setChar('#');\n\t\t\t\trectangle.draw(h, w);\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"true",
"{\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Input Error:range 0 to 300\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\trectangle.setChar('#');\n\t\t\t\trectangle.draw(h, w);\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"int h = stdIn.nextInt();",
"h",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int w = stdIn.nextInt();",
"w",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"if (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Input Error:range 0 to 300\");\n\t\t\t\t}",
"h > 300 || w > 300",
"h > 300",
"h",
"300",
"w > 300",
"w",
"300",
"{\n\t\t\t\t\tthrow new RuntimeException(\"Input Error:range 0 to 300\");\n\t\t\t\t}",
"throw new RuntimeException(\"Input Error:range 0 to 300\");",
"new RuntimeException(\"Input Error:range 0 to 300\")",
"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;",
"rectangle.setChar('#')",
"rectangle.setChar",
"rectangle",
"'#'",
"rectangle.draw(h, w)",
"rectangle.draw",
"rectangle",
"h",
"w",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"final class Rectangle {\n\tprivate Character displayChar = '*';\n\n\t/**\n\t * Set a character to draw shape\n\t * @param displayChar a character\n\t */\n\tprotected void setChar(Character displayChar) {\n\t\tthis.displayChar = displayChar;\n\t}\n\n\t/**\n\t * Draw square\n\t * @param height Height of square\n\t * @param width Width of square\n\t */\n\tprotected void draw(int height, int width) {\n\t\tif (height < 0 || width < 0) {\n\t\t\tthrow new RuntimeException(\"Input Error:Minus value input\");\n\t\t}\n\t\tfor (int i = 1; i <= height; i++) {\n\t\t\tfor (int j = 1; j <= width; j++) {\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"Rectangle",
"private Character displayChar = '*';",
"displayChar",
"'*'",
"/**\n\t * Set a character to draw shape\n\t * @param displayChar a character\n\t */\n\tprotected void setChar(Character displayChar) {\n\t\tthis.displayChar = displayChar;\n\t}",
"setChar",
"{\n\t\tthis.displayChar = displayChar;\n\t}",
"this.displayChar = displayChar",
"this.displayChar",
"this",
"this.displayChar",
"displayChar",
"Character displayChar",
"displayChar",
"/**\n\t * Draw square\n\t * @param height Height of square\n\t * @param width Width of square\n\t */\n\tprotected void draw(int height, int width) {\n\t\tif (height < 0 || width < 0) {\n\t\t\tthrow new RuntimeException(\"Input Error:Minus value input\");\n\t\t}\n\t\tfor (int i = 1; i <= height; i++) {\n\t\t\tfor (int j = 1; j <= width; j++) {\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"draw",
"{\n\t\tif (height < 0 || width < 0) {\n\t\t\tthrow new RuntimeException(\"Input Error:Minus value input\");\n\t\t}\n\t\tfor (int i = 1; i <= height; i++) {\n\t\t\tfor (int j = 1; j <= width; j++) {\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"if (height < 0 || width < 0) {\n\t\t\tthrow new RuntimeException(\"Input Error:Minus value input\");\n\t\t}",
"height < 0 || width < 0",
"height < 0",
"height",
"0",
"width < 0",
"width",
"0",
"{\n\t\t\tthrow new RuntimeException(\"Input Error:Minus value input\");\n\t\t}",
"throw new RuntimeException(\"Input Error:Minus value input\");",
"new RuntimeException(\"Input Error:Minus value input\")",
"for (int i = 1; i <= height; i++) {\n\t\t\tfor (int j = 1; j <= width; j++) {\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= height",
"i",
"height",
"i++",
"i++",
"i",
"{\n\t\t\tfor (int j = 1; j <= width; j++) {\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"{\n\t\t\tfor (int j = 1; j <= width; j++) {\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"for (int j = 1; j <= width; j++) {\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}",
"int j = 1;",
"int j = 1;",
"j",
"1",
"j <= width",
"j",
"width",
"j++",
"j++",
"j",
"{\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print(this.displayChar);\n\t\t\t}",
"System.out.print(this.displayChar)",
"System.out.print",
"System.out",
"System",
"System.out",
"this.displayChar",
"this",
"this.displayChar",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"int height",
"height",
"int width",
"width",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner stdIn = new Scanner(System.in)) {\n\t\t\tRectangle rectangle = new Rectangle();\n\t\t\twhile (true) {\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Input Error:range 0 to 300\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\trectangle.setChar('#');\n\t\t\t\trectangle.draw(h, w);\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner stdIn = new Scanner(System.in)) {\n\t\t\tRectangle rectangle = new Rectangle();\n\t\t\twhile (true) {\n\t\t\t\tint h = stdIn.nextInt();\n\t\t\t\tint w = stdIn.nextInt();\n\t\t\t\tif (h > 300 || w > 300) {\n\t\t\t\t\tthrow new RuntimeException(\"Input Error:range 0 to 300\");\n\t\t\t\t}\n\t\t\t\tif (h == 0 && w == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\trectangle.setChar('#');\n\t\t\t\trectangle.draw(h, w);\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner stdIn = new Scanner(System.in)) {
Rectangle rectangle = new Rectangle();
while (true) {
int h = stdIn.nextInt();
int w = stdIn.nextInt();
if (h > 300 || w > 300) {
throw new RuntimeException("Input Error:range 0 to 300");
}
if (h == 0 && w == 0) {
break;
}
rectangle.setChar('#');
rectangle.draw(h, w);
System.out.println("");
}
} catch (Exception e) {
System.out.println(e.getMessage());
}
}
}
final class Rectangle {
private Character displayChar = '*';
/**
* Set a character to draw shape
* @param displayChar a character
*/
protected void setChar(Character displayChar) {
this.displayChar = displayChar;
}
/**
* Draw square
* @param height Height of square
* @param width Width of square
*/
protected void draw(int height, int width) {
if (height < 0 || width < 0) {
throw new RuntimeException("Input Error:Minus value input");
}
for (int i = 1; i <= height; i++) {
for (int j = 1; j <= width; j++) {
System.out.print(this.displayChar);
}
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,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
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
],
[
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
],
[
48,
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
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\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\tStringBuilder shp=new StringBuilder();\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\tshp.append(\"#\");\n\t\t\t\t}\n\t\t\t\tshp.append(\"\\n\");\n\t\t\t}//for \n\t\t\tSystem.out.println(shp);\n\t\t}//while\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\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\tStringBuilder shp=new StringBuilder();\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\tshp.append(\"#\");\n\t\t\t\t}\n\t\t\t\tshp.append(\"\\n\");\n\t\t\t}//for \n\t\t\tSystem.out.println(shp);\n\t\t}//while\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\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\tStringBuilder shp=new StringBuilder();\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\tshp.append(\"#\");\n\t\t\t\t}\n\t\t\t\tshp.append(\"\\n\");\n\t\t\t}//for \n\t\t\tSystem.out.println(shp);\n\t\t}//while\n\t}",
"main",
"{\n\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\tStringBuilder shp=new StringBuilder();\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\tshp.append(\"#\");\n\t\t\t\t}\n\t\t\t\tshp.append(\"\\n\");\n\t\t\t}//for \n\t\t\tSystem.out.println(shp);\n\t\t}//while\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\tStringBuilder shp=new StringBuilder();\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\tshp.append(\"#\");\n\t\t\t\t}\n\t\t\t\tshp.append(\"\\n\");\n\t\t\t}//for \n\t\t\tSystem.out.println(shp);\n\t\t}//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\tStringBuilder shp=new StringBuilder();\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\tshp.append(\"#\");\n\t\t\t\t}\n\t\t\t\tshp.append(\"\\n\");\n\t\t\t}//for \n\t\t\tSystem.out.println(shp);\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;",
"StringBuilder shp=new StringBuilder();",
"shp",
"new StringBuilder()",
"for (int i=0;i<h;i++){\n\t\t\t\tfor (int j=0;j<w;j++){\n\t\t\t\t\tshp.append(\"#\");\n\t\t\t\t}\n\t\t\t\tshp.append(\"\\n\");\n\t\t\t}//for ",
"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\tshp.append(\"#\");\n\t\t\t\t}\n\t\t\t\tshp.append(\"\\n\");\n\t\t\t}//for ",
"{\n\t\t\t\tfor (int j=0;j<w;j++){\n\t\t\t\t\tshp.append(\"#\");\n\t\t\t\t}\n\t\t\t\tshp.append(\"\\n\");\n\t\t\t}",
"for (int j=0;j<w;j++){\n\t\t\t\t\tshp.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\tshp.append(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tshp.append(\"#\");\n\t\t\t\t}",
"shp.append(\"#\")",
"shp.append",
"shp",
"\"#\"",
"shp.append(\"\\n\")",
"shp.append",
"shp",
"\"\\n\"",
"System.out.println(shp)",
"System.out.println",
"System.out",
"System",
"System.out",
"shp",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\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\tStringBuilder shp=new StringBuilder();\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\tshp.append(\"#\");\n\t\t\t\t}\n\t\t\t\tshp.append(\"\\n\");\n\t\t\t}//for \n\t\t\tSystem.out.println(shp);\n\t\t}//while\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\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\tStringBuilder shp=new StringBuilder();\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\tshp.append(\"#\");\n\t\t\t\t}\n\t\t\t\tshp.append(\"\\n\");\n\t\t\t}//for \n\t\t\tSystem.out.println(shp);\n\t\t}//while\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
while(true){
int h=sc.nextInt();
int w=sc.nextInt();
if(h==0 && w==0) break;
StringBuilder shp=new StringBuilder();
for (int i=0;i<h;i++){
for (int j=0;j<w;j++){
shp.append("#");
}
shp.append("\n");
}//for
System.out.println(shp);
}//while
}
} |
[
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,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
93,
5
],
[
93,
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
],
[
47,
50
],
[
33,
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
],
[
33,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
33,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
75,
79
],
[
33,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
33,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
6,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] | [
"\t\timport java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\nStringBuilder sb=new StringBuilder(\"\");\n\t\tint H=sc.nextInt(),W=sc.nextInt();\n\t\twhile (H!=0 || W!=0){\n\t\t\tfor (int m=1;m<=W;m++){\n\t\t\tsb.append(\"#\");}\n\t\tfor (int n=1;n<=H;n++){System.out.println(sb);}\n\t\t\tSystem.out.println();\n\t\t\tsb.delete(0,W);\n\t\t\tH=sc.nextInt();W=sc.nextInt();\n\t\t\t\t}}}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\nStringBuilder sb=new StringBuilder(\"\");\n\t\tint H=sc.nextInt(),W=sc.nextInt();\n\t\twhile (H!=0 || W!=0){\n\t\t\tfor (int m=1;m<=W;m++){\n\t\t\tsb.append(\"#\");}\n\t\tfor (int n=1;n<=H;n++){System.out.println(sb);}\n\t\t\tSystem.out.println();\n\t\t\tsb.delete(0,W);\n\t\t\tH=sc.nextInt();W=sc.nextInt();\n\t\t\t\t}}}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\nStringBuilder sb=new StringBuilder(\"\");\n\t\tint H=sc.nextInt(),W=sc.nextInt();\n\t\twhile (H!=0 || W!=0){\n\t\t\tfor (int m=1;m<=W;m++){\n\t\t\tsb.append(\"#\");}\n\t\tfor (int n=1;n<=H;n++){System.out.println(sb);}\n\t\t\tSystem.out.println();\n\t\t\tsb.delete(0,W);\n\t\t\tH=sc.nextInt();W=sc.nextInt();\n\t\t\t\t}}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\nStringBuilder sb=new StringBuilder(\"\");\n\t\tint H=sc.nextInt(),W=sc.nextInt();\n\t\twhile (H!=0 || W!=0){\n\t\t\tfor (int m=1;m<=W;m++){\n\t\t\tsb.append(\"#\");}\n\t\tfor (int n=1;n<=H;n++){System.out.println(sb);}\n\t\t\tSystem.out.println();\n\t\t\tsb.delete(0,W);\n\t\t\tH=sc.nextInt();W=sc.nextInt();\n\t\t\t\t}}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuilder sb=new StringBuilder(\"\");",
"sb",
"new StringBuilder(\"\")",
"int H=sc.nextInt()",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"W=sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while (H!=0 || W!=0){\n\t\t\tfor (int m=1;m<=W;m++){\n\t\t\tsb.append(\"#\");}\n\t\tfor (int n=1;n<=H;n++){System.out.println(sb);}\n\t\t\tSystem.out.println();\n\t\t\tsb.delete(0,W);\n\t\t\tH=sc.nextInt();W=sc.nextInt();\n\t\t\t\t}",
"H!=0 || W!=0",
"H!=0",
"H",
"0",
"W!=0",
"W",
"0",
"{\n\t\t\tfor (int m=1;m<=W;m++){\n\t\t\tsb.append(\"#\");}\n\t\tfor (int n=1;n<=H;n++){System.out.println(sb);}\n\t\t\tSystem.out.println();\n\t\t\tsb.delete(0,W);\n\t\t\tH=sc.nextInt();W=sc.nextInt();\n\t\t\t\t}",
"for (int m=1;m<=W;m++){\n\t\t\tsb.append(\"#\");}",
"int m=1;",
"int m=1;",
"m",
"1",
"m<=W",
"m",
"W",
"m++",
"m++",
"m",
"{\n\t\t\tsb.append(\"#\");}",
"{\n\t\t\tsb.append(\"#\");}",
"sb.append(\"#\")",
"sb.append",
"sb",
"\"#\"",
"for (int n=1;n<=H;n++){System.out.println(sb);}",
"int n=1;",
"int n=1;",
"n",
"1",
"n<=H",
"n",
"H",
"n++",
"n++",
"n",
"{System.out.println(sb);}",
"{System.out.println(sb);}",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.delete(0,W)",
"sb.delete",
"sb",
"0",
"W",
"H=sc.nextInt()",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"W=sc.nextInt()",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\nStringBuilder sb=new StringBuilder(\"\");\n\t\tint H=sc.nextInt(),W=sc.nextInt();\n\t\twhile (H!=0 || W!=0){\n\t\t\tfor (int m=1;m<=W;m++){\n\t\t\tsb.append(\"#\");}\n\t\tfor (int n=1;n<=H;n++){System.out.println(sb);}\n\t\t\tSystem.out.println();\n\t\t\tsb.delete(0,W);\n\t\t\tH=sc.nextInt();W=sc.nextInt();\n\t\t\t\t}}}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\nStringBuilder sb=new StringBuilder(\"\");\n\t\tint H=sc.nextInt(),W=sc.nextInt();\n\t\twhile (H!=0 || W!=0){\n\t\t\tfor (int m=1;m<=W;m++){\n\t\t\tsb.append(\"#\");}\n\t\tfor (int n=1;n<=H;n++){System.out.println(sb);}\n\t\t\tSystem.out.println();\n\t\t\tsb.delete(0,W);\n\t\t\tH=sc.nextInt();W=sc.nextInt();\n\t\t\t\t}}}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
StringBuilder sb=new StringBuilder("");
int H=sc.nextInt(),W=sc.nextInt();
while (H!=0 || W!=0){
for (int m=1;m<=W;m++){
sb.append("#");}
for (int n=1;n<=H;n++){System.out.println(sb);}
System.out.println();
sb.delete(0,W);
H=sc.nextInt();W=sc.nextInt();
}}} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
20,
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,
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
],
[
109,
11
],
[
109,
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
],
[
26,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
64,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
77,
85
],
[
85,
86
],
[
86,
87
],
[
77,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
76,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
26,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
12,
106
],
[
106,
107
],
[
0,
108
],
[
108,
109
],
[
108,
110
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tint H = 0;\n\t\tint W = 0;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] num = str.split(\" \");\n\n\t\t\tH = Integer.parseInt(num[0]);\n\t\t\tW = Integer.parseInt(num[1]);\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < H; i++) {\n\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tint H = 0;\n\t\tint W = 0;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] num = str.split(\" \");\n\n\t\t\tH = Integer.parseInt(num[0]);\n\t\t\tW = Integer.parseInt(num[1]);\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < H; i++) {\n\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tint H = 0;\n\t\tint W = 0;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] num = str.split(\" \");\n\n\t\t\tH = Integer.parseInt(num[0]);\n\t\t\tW = Integer.parseInt(num[1]);\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < H; i++) {\n\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"main",
"{\n\n\t\tint H = 0;\n\t\tint W = 0;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] num = str.split(\" \");\n\n\t\t\tH = Integer.parseInt(num[0]);\n\t\t\tW = Integer.parseInt(num[1]);\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < H; i++) {\n\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"int H = 0;",
"H",
"0",
"int W = 0;",
"W",
"0",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] num = str.split(\" \");\n\n\t\t\tH = Integer.parseInt(num[0]);\n\t\t\tW = Integer.parseInt(num[1]);\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < H; i++) {\n\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"true",
"{\n\t\t\tString str = br.readLine();\n\t\t\tString[] num = str.split(\" \");\n\n\t\t\tH = Integer.parseInt(num[0]);\n\t\t\tW = Integer.parseInt(num[1]);\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < H; i++) {\n\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] num = str.split(\" \");",
"num",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"H = Integer.parseInt(num[0])",
"H",
"Integer.parseInt(num[0])",
"Integer.parseInt",
"Integer",
"num[0]",
"num",
"0",
"W = Integer.parseInt(num[1])",
"W",
"Integer.parseInt(num[1])",
"Integer.parseInt",
"Integer",
"num[1]",
"num",
"1",
"if (H == 0 && W == 0) {\n\t\t\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\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"{\n\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"for (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tint H = 0;\n\t\tint W = 0;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] num = str.split(\" \");\n\n\t\t\tH = Integer.parseInt(num[0]);\n\t\t\tW = Integer.parseInt(num[1]);\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < H; i++) {\n\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\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\n\t\tint H = 0;\n\t\tint W = 0;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] num = str.split(\" \");\n\n\t\t\tH = Integer.parseInt(num[0]);\n\t\t\tW = Integer.parseInt(num[1]);\n\n\t\t\tif (H == 0 && W == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < H; i++) {\n\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
int H = 0;
int W = 0;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while (true) {
String str = br.readLine();
String[] num = str.split(" ");
H = Integer.parseInt(num[0]);
W = Integer.parseInt(num[1]);
if (H == 0 && W == 0) {
break;
}
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
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,
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,
17,
4,
18,
18,
13,
13,
17,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
112,
8
],
[
112,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
28,
33
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
39,
44
],
[
17,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
17,
54
],
[
54,
55
],
[
54,
56
],
[
54,
57
],
[
9,
58
],
[
58,
59
],
[
112,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
63,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
76,
84
],
[
84,
85
],
[
85,
86
],
[
76,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
75,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
62,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
60,
107
],
[
107,
108
],
[
60,
109
],
[
109,
110
],
[
0,
111
],
[
111,
112
],
[
111,
113
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t while (true) {\n\t\t String line = br.readLine();\n\t\t int H = Integer.parseInt(line.split(\" \")[0]);\n\t\t int W = Integer.parseInt(line.split(\" \")[1]);\n\n\t\t if (H == 0 && W == 0) break;\n\n\t\t display(H, W);\n\n\t }\n\t}\n\n\tpublic static void display(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\tSystem.out.println(\"\");\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t while (true) {\n\t\t String line = br.readLine();\n\t\t int H = Integer.parseInt(line.split(\" \")[0]);\n\t\t int W = Integer.parseInt(line.split(\" \")[1]);\n\n\t\t if (H == 0 && W == 0) break;\n\n\t\t display(H, W);\n\n\t }\n\t}\n\n\tpublic static void display(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\tSystem.out.println(\"\");\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t while (true) {\n\t\t String line = br.readLine();\n\t\t int H = Integer.parseInt(line.split(\" \")[0]);\n\t\t int W = Integer.parseInt(line.split(\" \")[1]);\n\n\t\t if (H == 0 && W == 0) break;\n\n\t\t display(H, W);\n\n\t }\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t while (true) {\n\t\t String line = br.readLine();\n\t\t int H = Integer.parseInt(line.split(\" \")[0]);\n\t\t int W = Integer.parseInt(line.split(\" \")[1]);\n\n\t\t if (H == 0 && W == 0) break;\n\n\t\t display(H, W);\n\n\t }\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while (true) {\n\t\t String line = br.readLine();\n\t\t int H = Integer.parseInt(line.split(\" \")[0]);\n\t\t int W = Integer.parseInt(line.split(\" \")[1]);\n\n\t\t if (H == 0 && W == 0) break;\n\n\t\t display(H, W);\n\n\t }",
"true",
"{\n\t\t String line = br.readLine();\n\t\t int H = Integer.parseInt(line.split(\" \")[0]);\n\t\t int W = Integer.parseInt(line.split(\" \")[1]);\n\n\t\t if (H == 0 && W == 0) break;\n\n\t\t display(H, W);\n\n\t }",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"int H = Integer.parseInt(line.split(\" \")[0]);",
"H",
"Integer.parseInt(line.split(\" \")[0])",
"Integer.parseInt",
"Integer",
"line.split(\" \")[0]",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"0",
"int W = Integer.parseInt(line.split(\" \")[1]);",
"W",
"Integer.parseInt(line.split(\" \")[1])",
"Integer.parseInt",
"Integer",
"line.split(\" \")[1]",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"1",
"if (H == 0 && W == 0) break;",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"break;",
"display(H, W)",
"display",
"H",
"W",
"String[] args",
"args",
"public static void display(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\tSystem.out.println(\"\");\n\t}",
"display",
"{\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\tSystem.out.println(\"\");\n\t}",
"for (int i = 0; i < h; i++) {\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\tSystem.out.print(\"#\");\n\t\t\t}\n\t\t\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",
"\"\"",
"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) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t while (true) {\n\t\t String line = br.readLine();\n\t\t int H = Integer.parseInt(line.split(\" \")[0]);\n\t\t int W = Integer.parseInt(line.split(\" \")[1]);\n\n\t\t if (H == 0 && W == 0) break;\n\n\t\t display(H, W);\n\n\t }\n\t}\n\n\tpublic static void display(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\tSystem.out.println(\"\");\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t while (true) {\n\t\t String line = br.readLine();\n\t\t int H = Integer.parseInt(line.split(\" \")[0]);\n\t\t int W = Integer.parseInt(line.split(\" \")[1]);\n\n\t\t if (H == 0 && W == 0) break;\n\n\t\t display(H, W);\n\n\t }\n\t}\n\n\tpublic static void display(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\tSystem.out.println(\"\");\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while (true) {
String line = br.readLine();
int H = Integer.parseInt(line.split(" ")[0]);
int W = Integer.parseInt(line.split(" ")[1]);
if (H == 0 && W == 0) break;
display(H, W);
}
}
public static void display(int h, int w) {
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,
41,
13,
41,
13,
20,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
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
],
[
6,
83
],
[
83,
84
]
] | [
"import java.util.*;\n\nclass Main{\n\tpublic static void main(String args[]){\n\t\tint H, W;\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true){\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W == 0){break;}\n\n\t\t\tfor(int i=0; i<H; i++){\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}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String args[]){\n\t\tint H, W;\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true){\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W == 0){break;}\n\n\t\t\tfor(int i=0; i<H; i++){\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}",
"Main",
"public static void main(String args[]){\n\t\tint H, W;\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true){\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W == 0){break;}\n\n\t\t\tfor(int i=0; i<H; i++){\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}",
"main",
"{\n\t\tint H, W;\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true){\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W == 0){break;}\n\n\t\t\tfor(int i=0; i<H; i++){\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}",
"int H",
"H",
"W;",
"W",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true){\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W == 0){break;}\n\n\t\t\tfor(int i=0; i<H; i++){\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}",
"true",
"{\n\t\t\tH = scan.nextInt();\n\t\t\tW = scan.nextInt();\n\t\t\t\n\t\t\tif(H == 0 && W == 0){break;}\n\n\t\t\tfor(int i=0; i<H; i++){\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 = scan.nextInt()",
"H",
"scan.nextInt()",
"scan.nextInt",
"scan",
"W = scan.nextInt()",
"W",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(H == 0 && W == 0){break;}",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{break;}",
"break;",
"for(int i=0; i<H; i++){\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 i=0;",
"int i=0;",
"i",
"0",
"i<H",
"i",
"H",
"i++",
"i++",
"i",
"{\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"
] | import java.util.*;
class Main{
public static void main(String args[]){
int H, W;
Scanner scan = new Scanner(System.in);
while(true){
H = scan.nextInt();
W = scan.nextInt();
if(H == 0 && W == 0){break;}
for(int i=0; i<H; i++){
for(int k=0; k<W; k++){
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
13,
30,
41,
13,
4,
18,
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,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
18,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
120,
5
],
[
120,
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
],
[
29,
30
],
[
29,
31
],
[
17,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
32,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
17,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
58,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
57,
69
],
[
69,
70
],
[
17,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
71,
81
],
[
81,
82
],
[
82,
83
],
[
71,
84
],
[
85,
85
],
[
85,
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
],
[
85,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
17,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
6,
117
],
[
117,
118
],
[
0,
119
],
[
119,
120
],
[
119,
121
]
] | [
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\n\t\tboolean flag = true;\n\t\twhile(flag){\n\t\t\tString[] input=sc.nextLine().split(\" \");\n\t\t\tint[] num= new int[input.length];\n\t\t\tfor(int i=0;i<input.length;i++){\n\t\t\t\tnum[i]=Integer.parseInt(input[i]);\n\t\t\t}\n\t\t\tif(num[0]==0 && num[1]==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int H=0;H<num[0];H++){\n\t\t\t\tfor(int W=0;W<num[1];W++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\t\t\t\t\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\n\t\tboolean flag = true;\n\t\twhile(flag){\n\t\t\tString[] input=sc.nextLine().split(\" \");\n\t\t\tint[] num= new int[input.length];\n\t\t\tfor(int i=0;i<input.length;i++){\n\t\t\t\tnum[i]=Integer.parseInt(input[i]);\n\t\t\t}\n\t\t\tif(num[0]==0 && num[1]==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int H=0;H<num[0];H++){\n\t\t\t\tfor(int W=0;W<num[1];W++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\t\t\t\t\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\n\t\tboolean flag = true;\n\t\twhile(flag){\n\t\t\tString[] input=sc.nextLine().split(\" \");\n\t\t\tint[] num= new int[input.length];\n\t\t\tfor(int i=0;i<input.length;i++){\n\t\t\t\tnum[i]=Integer.parseInt(input[i]);\n\t\t\t}\n\t\t\tif(num[0]==0 && num[1]==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int H=0;H<num[0];H++){\n\t\t\t\tfor(int W=0;W<num[1];W++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\t\t\t\t\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\n\t\tboolean flag = true;\n\t\twhile(flag){\n\t\t\tString[] input=sc.nextLine().split(\" \");\n\t\t\tint[] num= new int[input.length];\n\t\t\tfor(int i=0;i<input.length;i++){\n\t\t\t\tnum[i]=Integer.parseInt(input[i]);\n\t\t\t}\n\t\t\tif(num[0]==0 && num[1]==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int H=0;H<num[0];H++){\n\t\t\t\tfor(int W=0;W<num[1];W++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\t\t\t\t\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"boolean flag = true;",
"flag",
"true",
"while(flag){\n\t\t\tString[] input=sc.nextLine().split(\" \");\n\t\t\tint[] num= new int[input.length];\n\t\t\tfor(int i=0;i<input.length;i++){\n\t\t\t\tnum[i]=Integer.parseInt(input[i]);\n\t\t\t}\n\t\t\tif(num[0]==0 && num[1]==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int H=0;H<num[0];H++){\n\t\t\t\tfor(int W=0;W<num[1];W++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\t\t\t\t\n\t\t}",
"flag",
"{\n\t\t\tString[] input=sc.nextLine().split(\" \");\n\t\t\tint[] num= new int[input.length];\n\t\t\tfor(int i=0;i<input.length;i++){\n\t\t\t\tnum[i]=Integer.parseInt(input[i]);\n\t\t\t}\n\t\t\tif(num[0]==0 && num[1]==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int H=0;H<num[0];H++){\n\t\t\t\tfor(int W=0;W<num[1];W++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\t\t\t\t\n\t\t}",
"String[] input=sc.nextLine().split(\" \");",
"input",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"int[] num= new int[input.length];",
"num",
"new int[input.length]",
"input.length",
"input",
"input.length",
"for(int i=0;i<input.length;i++){\n\t\t\t\tnum[i]=Integer.parseInt(input[i]);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<input.length",
"i",
"input.length",
"input",
"input.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tnum[i]=Integer.parseInt(input[i]);\n\t\t\t}",
"{\n\t\t\t\tnum[i]=Integer.parseInt(input[i]);\n\t\t\t}",
"num[i]=Integer.parseInt(input[i])",
"num[i]",
"num",
"i",
"Integer.parseInt(input[i])",
"Integer.parseInt",
"Integer",
"input[i]",
"input",
"i",
"if(num[0]==0 && num[1]==0){\n\t\t\t\tbreak;\n\t\t\t}",
"num[0]==0 && num[1]==0",
"num[0]==0",
"num[0]",
"num",
"0",
"0",
"num[1]==0",
"num[1]",
"num",
"1",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for(int H=0;H<num[0];H++){\n\t\t\t\tfor(int W=0;W<num[1];W++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\t\t\t\n\t\t\t}",
"int H=0;",
"int H=0;",
"H",
"0",
"H<num[0]",
"H",
"num[0]",
"num",
"0",
"H++",
"H++",
"H",
"{\n\t\t\t\tfor(int W=0;W<num[1];W++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\t\t\t\n\t\t\t}",
"{\n\t\t\t\tfor(int W=0;W<num[1];W++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\t\t\t\n\t\t\t}",
"for(int W=0;W<num[1];W++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int W=0;",
"int W=0;",
"W",
"0",
"W<num[1]",
"W",
"num[1]",
"num",
"1",
"W++",
"W++",
"W",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String args[]",
"args",
"public class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\n\t\tboolean flag = true;\n\t\twhile(flag){\n\t\t\tString[] input=sc.nextLine().split(\" \");\n\t\t\tint[] num= new int[input.length];\n\t\t\tfor(int i=0;i<input.length;i++){\n\t\t\t\tnum[i]=Integer.parseInt(input[i]);\n\t\t\t}\n\t\t\tif(num[0]==0 && num[1]==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int H=0;H<num[0];H++){\n\t\t\t\tfor(int W=0;W<num[1];W++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\t\t\t\t\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\n\t\tboolean flag = true;\n\t\twhile(flag){\n\t\t\tString[] input=sc.nextLine().split(\" \");\n\t\t\tint[] num= new int[input.length];\n\t\t\tfor(int i=0;i<input.length;i++){\n\t\t\t\tnum[i]=Integer.parseInt(input[i]);\n\t\t\t}\n\t\t\tif(num[0]==0 && num[1]==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int H=0;H<num[0];H++){\n\t\t\t\tfor(int W=0;W<num[1];W++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\t\t\t\t\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
boolean flag = true;
while(flag){
String[] input=sc.nextLine().split(" ");
int[] num= new int[input.length];
for(int i=0;i<input.length;i++){
num[i]=Integer.parseInt(input[i]);
}
if(num[0]==0 && num[1]==0){
break;
}
for(int H=0;H<num[0];H++){
for(int W=0;W<num[1];W++){
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,
4,
18,
13,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
0,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
120,
11
],
[
120,
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
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
27,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
27,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
27,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
27,
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
],
[
83,
84
],
[
83,
85
],
[
78,
86
],
[
86,
87
],
[
87,
88
],
[
78,
89
],
[
90,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
77,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
27,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
27,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
14,
114
],
[
114,
115
],
[
115,
116
],
[
12,
117
],
[
117,
118
],
[
0,
119
],
[
119,
120
],
[
119,
121
]
] | [
"import java.io.InputStreamReader;\nimport java.io.BufferedReader;\nimport java.io.IOException;\n\npublic class Main {\n public static void main(String args[] ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String readLine = br.readLine();\n while( readLine != null ) {\n readLine = readLine.trim();\n String[] readLineArray = readLine.split(\" \");\n\n int h = Integer.parseInt(readLineArray[0]);\n int w = Integer.parseInt(readLineArray[1]);\n\n if ( h == 0 && w == 0) {\n break;\n }\n\n for (int i = 0 ; i < h ; i++) {\n for (int k = 0 ; k < w ; k++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n readLine = br.readLine();\n }\n br.close();\n }\n}",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"public class Main {\n public static void main(String args[] ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String readLine = br.readLine();\n while( readLine != null ) {\n readLine = readLine.trim();\n String[] readLineArray = readLine.split(\" \");\n\n int h = Integer.parseInt(readLineArray[0]);\n int w = Integer.parseInt(readLineArray[1]);\n\n if ( h == 0 && w == 0) {\n break;\n }\n\n for (int i = 0 ; i < h ; i++) {\n for (int k = 0 ; k < w ; k++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n readLine = br.readLine();\n }\n br.close();\n }\n}",
"Main",
"public static void main(String args[] ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String readLine = br.readLine();\n while( readLine != null ) {\n readLine = readLine.trim();\n String[] readLineArray = readLine.split(\" \");\n\n int h = Integer.parseInt(readLineArray[0]);\n int w = Integer.parseInt(readLineArray[1]);\n\n if ( h == 0 && w == 0) {\n break;\n }\n\n for (int i = 0 ; i < h ; i++) {\n for (int k = 0 ; k < w ; k++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n readLine = br.readLine();\n }\n br.close();\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String readLine = br.readLine();\n while( readLine != null ) {\n readLine = readLine.trim();\n String[] readLineArray = readLine.split(\" \");\n\n int h = Integer.parseInt(readLineArray[0]);\n int w = Integer.parseInt(readLineArray[1]);\n\n if ( h == 0 && w == 0) {\n break;\n }\n\n for (int i = 0 ; i < h ; i++) {\n for (int k = 0 ; k < w ; k++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n readLine = br.readLine();\n }\n br.close();\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String readLine = br.readLine();",
"readLine",
"br.readLine()",
"br.readLine",
"br",
"while( readLine != null ) {\n readLine = readLine.trim();\n String[] readLineArray = readLine.split(\" \");\n\n int h = Integer.parseInt(readLineArray[0]);\n int w = Integer.parseInt(readLineArray[1]);\n\n if ( h == 0 && w == 0) {\n break;\n }\n\n for (int i = 0 ; i < h ; i++) {\n for (int k = 0 ; k < w ; k++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n readLine = br.readLine();\n }",
"readLine != null",
"readLine",
"null",
"{\n readLine = readLine.trim();\n String[] readLineArray = readLine.split(\" \");\n\n int h = Integer.parseInt(readLineArray[0]);\n int w = Integer.parseInt(readLineArray[1]);\n\n if ( h == 0 && w == 0) {\n break;\n }\n\n for (int i = 0 ; i < h ; i++) {\n for (int k = 0 ; k < w ; k++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n readLine = br.readLine();\n }",
"readLine = readLine.trim()",
"readLine",
"readLine.trim()",
"readLine.trim",
"readLine",
"String[] readLineArray = readLine.split(\" \");",
"readLineArray",
"readLine.split(\" \")",
"readLine.split",
"readLine",
"\" \"",
"int h = Integer.parseInt(readLineArray[0]);",
"h",
"Integer.parseInt(readLineArray[0])",
"Integer.parseInt",
"Integer",
"readLineArray[0]",
"readLineArray",
"0",
"int w = Integer.parseInt(readLineArray[1]);",
"w",
"Integer.parseInt(readLineArray[1])",
"Integer.parseInt",
"Integer",
"readLineArray[1]",
"readLineArray",
"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 k = 0 ; k < w ; k++) {\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 k = 0 ; k < w ; k++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }",
"{\n for (int k = 0 ; k < w ; k++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }",
"for (int k = 0 ; k < w ; k++) {\n System.out.print(\"#\");\n }",
"int k = 0 ;",
"int k = 0 ;",
"k",
"0",
"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.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"readLine = br.readLine()",
"readLine",
"br.readLine()",
"br.readLine",
"br",
"br.close()",
"br.close",
"br",
"String args[]",
"args",
"public class Main {\n public static void main(String args[] ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String readLine = br.readLine();\n while( readLine != null ) {\n readLine = readLine.trim();\n String[] readLineArray = readLine.split(\" \");\n\n int h = Integer.parseInt(readLineArray[0]);\n int w = Integer.parseInt(readLineArray[1]);\n\n if ( h == 0 && w == 0) {\n break;\n }\n\n for (int i = 0 ; i < h ; i++) {\n for (int k = 0 ; k < w ; k++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n readLine = br.readLine();\n }\n br.close();\n }\n}",
"public class Main {\n public static void main(String args[] ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String readLine = br.readLine();\n while( readLine != null ) {\n readLine = readLine.trim();\n String[] readLineArray = readLine.split(\" \");\n\n int h = Integer.parseInt(readLineArray[0]);\n int w = Integer.parseInt(readLineArray[1]);\n\n if ( h == 0 && w == 0) {\n break;\n }\n\n for (int i = 0 ; i < h ; i++) {\n for (int k = 0 ; k < w ; k++) {\n System.out.print(\"#\");\n }\n System.out.print(\"\\n\");\n }\n System.out.print(\"\\n\");\n readLine = br.readLine();\n }\n br.close();\n }\n}",
"Main"
] | import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.io.IOException;
public class Main {
public static void main(String args[] ) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String readLine = br.readLine();
while( readLine != null ) {
readLine = readLine.trim();
String[] readLineArray = readLine.split(" ");
int h = Integer.parseInt(readLineArray[0]);
int w = Integer.parseInt(readLineArray[1]);
if ( h == 0 && w == 0) {
break;
}
for (int i = 0 ; i < h ; i++) {
for (int k = 0 ; k < w ; k++) {
System.out.print("#");
}
System.out.print("\n");
}
System.out.print("\n");
readLine = br.readLine();
}
br.close();
}
} |
[
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,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
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
],
[
89,
14
],
[
89,
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
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
26,
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
],
[
26,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
15,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] | [
"import java.util.*;\nimport java.io.*;\nimport java.lang.*;\nimport java.math.*;\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tint h=stdIn.nextInt();\n\t\t\tint w=stdIn.nextInt();\n\t\t\tif(h==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tint h=stdIn.nextInt();\n\t\t\tint w=stdIn.nextInt();\n\t\t\tif(h==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tint h=stdIn.nextInt();\n\t\t\tint w=stdIn.nextInt();\n\t\t\tif(h==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"main",
"{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tint h=stdIn.nextInt();\n\t\t\tint w=stdIn.nextInt();\n\t\t\tif(h==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}",
"Scanner stdIn=new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t\t\tint h=stdIn.nextInt();\n\t\t\tint w=stdIn.nextInt();\n\t\t\tif(h==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"true",
"{\n\t\t\tint h=stdIn.nextInt();\n\t\t\tint w=stdIn.nextInt();\n\t\t\tif(h==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"int h=stdIn.nextInt();",
"h",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int w=stdIn.nextInt();",
"w",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"if(h==0)\n\t\t\t\tbreak;",
"h==0",
"h",
"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\tpublic static void main(String[] args) throws IOException{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tint h=stdIn.nextInt();\n\t\t\tint w=stdIn.nextInt();\n\t\t\tif(h==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tint h=stdIn.nextInt();\n\t\t\tint w=stdIn.nextInt();\n\t\t\tif(h==0)\n\t\t\t\tbreak;\n\t\t\tfor(int i=0;i<h;i++){\n\t\t\t\tfor(int j=0;j<w;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
import java.io.*;
import java.lang.*;
import java.math.*;
public class Main{
public static void main(String[] args) throws IOException{
Scanner stdIn=new Scanner(System.in);
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
while(true){
int h=stdIn.nextInt();
int w=stdIn.nextInt();
if(h==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,
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
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
46,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
33,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
33,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
33,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
9,
86
],
[
86,
87
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner scane = new Scanner(System.in);\n\n\t\tint H =scane.nextInt();\n\t\tint W =scane.nextInt();;\n\n\t\tdo {\n\n\t\t\tfor(int i =0; i<H; i++){\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\n\t\t\tH = scane.nextInt();\n\n\t\t\tW= scane.nextInt();\n\n\n\t\t} while (H !=0 && W !=0);\n\t}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner scane = new Scanner(System.in);\n\n\t\tint H =scane.nextInt();\n\t\tint W =scane.nextInt();;\n\n\t\tdo {\n\n\t\t\tfor(int i =0; i<H; i++){\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\n\t\t\tH = scane.nextInt();\n\n\t\t\tW= scane.nextInt();\n\n\n\t\t} while (H !=0 && W !=0);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tScanner scane = new Scanner(System.in);\n\n\t\tint H =scane.nextInt();\n\t\tint W =scane.nextInt();;\n\n\t\tdo {\n\n\t\t\tfor(int i =0; i<H; i++){\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\n\t\t\tH = scane.nextInt();\n\n\t\t\tW= scane.nextInt();\n\n\n\t\t} while (H !=0 && W !=0);\n\t}",
"main",
"{\n\n\t\tScanner scane = new Scanner(System.in);\n\n\t\tint H =scane.nextInt();\n\t\tint W =scane.nextInt();;\n\n\t\tdo {\n\n\t\t\tfor(int i =0; i<H; i++){\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\n\t\t\tH = scane.nextInt();\n\n\t\t\tW= scane.nextInt();\n\n\n\t\t} while (H !=0 && W !=0);\n\t}",
"Scanner scane = new Scanner(System.in);",
"scane",
"new Scanner(System.in)",
"int H =scane.nextInt();",
"H",
"scane.nextInt()",
"scane.nextInt",
"scane",
"int W =scane.nextInt();",
"W",
"scane.nextInt()",
"scane.nextInt",
"scane",
"do {\n\n\t\t\tfor(int i =0; i<H; i++){\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\n\t\t\tH = scane.nextInt();\n\n\t\t\tW= scane.nextInt();\n\n\n\t\t} while (H !=0 && W !=0);",
"H !=0 && W !=0",
"H !=0",
"H",
"0",
"W !=0",
"W",
"0",
"{\n\n\t\t\tfor(int i =0; i<H; i++){\n\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\n\t\t\tH = scane.nextInt();\n\n\t\t\tW= scane.nextInt();\n\n\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 = scane.nextInt()",
"H",
"scane.nextInt()",
"scane.nextInt",
"scane",
"W= scane.nextInt()",
"W",
"scane.nextInt()",
"scane.nextInt",
"scane",
"String[] args",
"args"
] | import java.io.IOException;
import java.util.Scanner;
class Main {
public static void main(String[] args) throws IOException {
Scanner scane = new Scanner(System.in);
int H =scane.nextInt();
int W =scane.nextInt();;
do {
for(int i =0; i<H; i++){
for (int j = 0; j < W; j++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
H = scane.nextInt();
W= scane.nextInt();
} while (H !=0 && W !=0);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
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,
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
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
10,
16
],
[
16,
17
],
[
10,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
18,
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
],
[
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) {\n try (Scanner scanner = new Scanner(System.in)) {\n int a, b;\n while ((a = scanner.nextInt()) != 0 && (b = scanner.nextInt()) != 0) {\n for (int i = 0; i < a; i++) {\n for (int j = 0; j < b; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n try (Scanner scanner = new Scanner(System.in)) {\n int a, b;\n while ((a = scanner.nextInt()) != 0 && (b = scanner.nextInt()) != 0) {\n for (int i = 0; i < a; i++) {\n for (int j = 0; j < b; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try (Scanner scanner = new Scanner(System.in)) {\n int a, b;\n while ((a = scanner.nextInt()) != 0 && (b = scanner.nextInt()) != 0) {\n for (int i = 0; i < a; i++) {\n for (int j = 0; j < b; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n }",
"main",
"{\n try (Scanner scanner = new Scanner(System.in)) {\n int a, b;\n while ((a = scanner.nextInt()) != 0 && (b = scanner.nextInt()) != 0) {\n for (int i = 0; i < a; i++) {\n for (int j = 0; j < b; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n }",
"try (Scanner scanner = new Scanner(System.in)) {\n int a, b;\n while ((a = scanner.nextInt()) != 0 && (b = scanner.nextInt()) != 0) {\n for (int i = 0; i < a; i++) {\n for (int j = 0; j < b; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }",
"{\n int a, b;\n while ((a = scanner.nextInt()) != 0 && (b = scanner.nextInt()) != 0) {\n for (int i = 0; i < a; i++) {\n for (int j = 0; j < b; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }",
"Scanner scanner = new Scanner(System.in)",
"Scanner scanner = new Scanner(System.in)",
"new Scanner(System.in)",
"int a",
"a",
"b;",
"b",
"while ((a = scanner.nextInt()) != 0 && (b = scanner.nextInt()) != 0) {\n for (int i = 0; i < a; i++) {\n for (int j = 0; j < b; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"(a = scanner.nextInt()) != 0 && (b = scanner.nextInt()) != 0",
"(a = scanner.nextInt()) != 0",
"(a = scanner.nextInt())",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"0",
"(b = scanner.nextInt()) != 0",
"(b = scanner.nextInt())",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"0",
"{\n for (int i = 0; i < a; i++) {\n for (int j = 0; j < b; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }",
"for (int i = 0; i < a; i++) {\n for (int j = 0; j < b; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\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 System.out.print(\"#\");\n }\n System.out.println();\n }",
"{\n for (int j = 0; j < b; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }",
"for (int j = 0; j < b; j++) {\n System.out.print(\"#\");\n }",
"int j = 0;",
"int 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\n public static void main(String[] args) {\n try (Scanner scanner = new Scanner(System.in)) {\n int a, b;\n while ((a = scanner.nextInt()) != 0 && (b = scanner.nextInt()) != 0) {\n for (int i = 0; i < a; i++) {\n for (int j = 0; j < b; 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) {\n try (Scanner scanner = new Scanner(System.in)) {\n int a, b;\n while ((a = scanner.nextInt()) != 0 && (b = scanner.nextInt()) != 0) {\n for (int i = 0; i < a; i++) {\n for (int j = 0; j < b; j++) {\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner scanner = new Scanner(System.in)) {
int a, b;
while ((a = scanner.nextInt()) != 0 && (b = scanner.nextInt()) != 0) {
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,
20,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
14,
2,
4,
18,
17,
18,
13,
17,
4,
18,
17,
18,
13,
17,
3,
4,
18,
13,
4,
18,
13,
18,
13,
17,
4,
18,
13,
4,
18,
13,
18,
13,
17,
41,
13,
20,
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,
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
],
[
136,
8
],
[
136,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
26,
31
],
[
23,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
33,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
32,
46
],
[
23,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
23,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
11,
65
],
[
65,
66
],
[
65,
67
],
[
11,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
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
],
[
91,
92
],
[
90,
93
],
[
83,
94
],
[
94,
95
],
[
95,
96
],
[
83,
97
],
[
98,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
99,
110
],
[
110,
111
],
[
111,
112
],
[
99,
113
],
[
114,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
98,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
82,
123
],
[
123,
124
],
[
124,
125
],
[
123,
126
],
[
11,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
9,
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[] args)throws IOException, NumberFormatException{\n BufferedReader br = new BufferedReader (new InputStreamReader(System.in));\n ArrayList<Integer> h = new ArrayList<Integer>();\n ArrayList<Integer> w = new ArrayList<Integer>();\n \n while(true){\n String[] s = br.readLine().split(\" \");\n if( \"0\".equals(s[0]) && \"0\".equals(s[1]) ) break;\n \n h.add( Integer.parseInt(s[0]) );\n w.add( Integer.parseInt(s[1]) );\n }\n \n StringBuilder builder = new StringBuilder();\n for( int i=0 ; i<h.size() ; i++ ){\n for( int j=0 ; j<h.get(i) ; j++ ){\n for( int k=0 ; k<w.get(i) ; k++ ){\n builder.append(\"#\");\n }\n builder.append(\"\\n\");\n }\n builder.append(\"\\n\");\n }\n System.out.print(builder);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args)throws IOException, NumberFormatException{\n BufferedReader br = new BufferedReader (new InputStreamReader(System.in));\n ArrayList<Integer> h = new ArrayList<Integer>();\n ArrayList<Integer> w = new ArrayList<Integer>();\n \n while(true){\n String[] s = br.readLine().split(\" \");\n if( \"0\".equals(s[0]) && \"0\".equals(s[1]) ) break;\n \n h.add( Integer.parseInt(s[0]) );\n w.add( Integer.parseInt(s[1]) );\n }\n \n StringBuilder builder = new StringBuilder();\n for( int i=0 ; i<h.size() ; i++ ){\n for( int j=0 ; j<h.get(i) ; j++ ){\n for( int k=0 ; k<w.get(i) ; k++ ){\n builder.append(\"#\");\n }\n builder.append(\"\\n\");\n }\n builder.append(\"\\n\");\n }\n System.out.print(builder);\n }\n}",
"Main",
"public static void main(String[] args)throws IOException, NumberFormatException{\n BufferedReader br = new BufferedReader (new InputStreamReader(System.in));\n ArrayList<Integer> h = new ArrayList<Integer>();\n ArrayList<Integer> w = new ArrayList<Integer>();\n \n while(true){\n String[] s = br.readLine().split(\" \");\n if( \"0\".equals(s[0]) && \"0\".equals(s[1]) ) break;\n \n h.add( Integer.parseInt(s[0]) );\n w.add( Integer.parseInt(s[1]) );\n }\n \n StringBuilder builder = new StringBuilder();\n for( int i=0 ; i<h.size() ; i++ ){\n for( int j=0 ; j<h.get(i) ; j++ ){\n for( int k=0 ; k<w.get(i) ; k++ ){\n builder.append(\"#\");\n }\n builder.append(\"\\n\");\n }\n builder.append(\"\\n\");\n }\n System.out.print(builder);\n }",
"main",
"{\n BufferedReader br = new BufferedReader (new InputStreamReader(System.in));\n ArrayList<Integer> h = new ArrayList<Integer>();\n ArrayList<Integer> w = new ArrayList<Integer>();\n \n while(true){\n String[] s = br.readLine().split(\" \");\n if( \"0\".equals(s[0]) && \"0\".equals(s[1]) ) break;\n \n h.add( Integer.parseInt(s[0]) );\n w.add( Integer.parseInt(s[1]) );\n }\n \n StringBuilder builder = new StringBuilder();\n for( int i=0 ; i<h.size() ; i++ ){\n for( int j=0 ; j<h.get(i) ; j++ ){\n for( int k=0 ; k<w.get(i) ; k++ ){\n builder.append(\"#\");\n }\n builder.append(\"\\n\");\n }\n builder.append(\"\\n\");\n }\n System.out.print(builder);\n }",
"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>()",
"while(true){\n String[] s = br.readLine().split(\" \");\n if( \"0\".equals(s[0]) && \"0\".equals(s[1]) ) break;\n \n h.add( Integer.parseInt(s[0]) );\n w.add( Integer.parseInt(s[1]) );\n }",
"true",
"{\n String[] s = br.readLine().split(\" \");\n if( \"0\".equals(s[0]) && \"0\".equals(s[1]) ) break;\n \n h.add( Integer.parseInt(s[0]) );\n w.add( Integer.parseInt(s[1]) );\n }",
"String[] s = br.readLine().split(\" \");",
"s",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"if( \"0\".equals(s[0]) && \"0\".equals(s[1]) ) break;",
"\"0\".equals(s[0]) && \"0\".equals(s[1])",
"\"0\".equals(s[0])",
"\"0\".equals",
"\"0\"",
"s[0]",
"s",
"0",
"\"0\".equals(s[1])",
"\"0\".equals",
"\"0\"",
"s[1]",
"s",
"1",
"break;",
"h.add( Integer.parseInt(s[0]) )",
"h.add",
"h",
"Integer.parseInt(s[0])",
"Integer.parseInt",
"Integer",
"s[0]",
"s",
"0",
"w.add( Integer.parseInt(s[1]) )",
"w.add",
"w",
"Integer.parseInt(s[1])",
"Integer.parseInt",
"Integer",
"s[1]",
"s",
"1",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"for( int i=0 ; i<h.size() ; i++ ){\n for( int j=0 ; j<h.get(i) ; j++ ){\n for( int k=0 ; k<w.get(i) ; k++ ){\n builder.append(\"#\");\n }\n builder.append(\"\\n\");\n }\n builder.append(\"\\n\");\n }",
"int i=0 ;",
"int i=0 ;",
"i",
"0",
"i<h.size()",
"i",
"h.size()",
"h.size",
"h",
"i++",
"i++",
"i",
"{\n for( int j=0 ; j<h.get(i) ; j++ ){\n for( int k=0 ; k<w.get(i) ; k++ ){\n builder.append(\"#\");\n }\n builder.append(\"\\n\");\n }\n builder.append(\"\\n\");\n }",
"{\n for( int j=0 ; j<h.get(i) ; j++ ){\n for( int k=0 ; k<w.get(i) ; k++ ){\n builder.append(\"#\");\n }\n builder.append(\"\\n\");\n }\n builder.append(\"\\n\");\n }",
"for( int j=0 ; j<h.get(i) ; j++ ){\n for( int k=0 ; k<w.get(i) ; k++ ){\n builder.append(\"#\");\n }\n builder.append(\"\\n\");\n }",
"int j=0 ;",
"int j=0 ;",
"j",
"0",
"j<h.get(i)",
"j",
"h.get(i)",
"h.get",
"h",
"i",
"j++",
"j++",
"j",
"{\n for( int k=0 ; k<w.get(i) ; k++ ){\n builder.append(\"#\");\n }\n builder.append(\"\\n\");\n }",
"{\n for( int k=0 ; k<w.get(i) ; k++ ){\n builder.append(\"#\");\n }\n builder.append(\"\\n\");\n }",
"for( int k=0 ; k<w.get(i) ; k++ ){\n builder.append(\"#\");\n }",
"int k=0 ;",
"int k=0 ;",
"k",
"0",
"k<w.get(i)",
"k",
"w.get(i)",
"w.get",
"w",
"i",
"k++",
"k++",
"k",
"{\n builder.append(\"#\");\n }",
"{\n builder.append(\"#\");\n }",
"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 public static void main(String[] args)throws IOException, NumberFormatException{\n BufferedReader br = new BufferedReader (new InputStreamReader(System.in));\n ArrayList<Integer> h = new ArrayList<Integer>();\n ArrayList<Integer> w = new ArrayList<Integer>();\n \n while(true){\n String[] s = br.readLine().split(\" \");\n if( \"0\".equals(s[0]) && \"0\".equals(s[1]) ) break;\n \n h.add( Integer.parseInt(s[0]) );\n w.add( Integer.parseInt(s[1]) );\n }\n \n StringBuilder builder = new StringBuilder();\n for( int i=0 ; i<h.size() ; i++ ){\n for( int j=0 ; j<h.get(i) ; j++ ){\n for( int k=0 ; k<w.get(i) ; k++ ){\n builder.append(\"#\");\n }\n builder.append(\"\\n\");\n }\n builder.append(\"\\n\");\n }\n System.out.print(builder);\n }\n}",
"public class Main{\n public static void main(String[] args)throws IOException, NumberFormatException{\n BufferedReader br = new BufferedReader (new InputStreamReader(System.in));\n ArrayList<Integer> h = new ArrayList<Integer>();\n ArrayList<Integer> w = new ArrayList<Integer>();\n \n while(true){\n String[] s = br.readLine().split(\" \");\n if( \"0\".equals(s[0]) && \"0\".equals(s[1]) ) break;\n \n h.add( Integer.parseInt(s[0]) );\n w.add( Integer.parseInt(s[1]) );\n }\n \n StringBuilder builder = new StringBuilder();\n for( int i=0 ; i<h.size() ; i++ ){\n for( int j=0 ; j<h.get(i) ; j++ ){\n for( int k=0 ; k<w.get(i) ; k++ ){\n builder.append(\"#\");\n }\n builder.append(\"\\n\");\n }\n builder.append(\"\\n\");\n }\n System.out.print(builder);\n }\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main{
public static void main(String[] args)throws IOException, NumberFormatException{
BufferedReader br = new BufferedReader (new InputStreamReader(System.in));
ArrayList<Integer> h = new ArrayList<Integer>();
ArrayList<Integer> w = new ArrayList<Integer>();
while(true){
String[] s = br.readLine().split(" ");
if( "0".equals(s[0]) && "0".equals(s[1]) ) break;
h.add( Integer.parseInt(s[0]) );
w.add( Integer.parseInt(s[1]) );
}
StringBuilder builder = new StringBuilder();
for( int i=0 ; i<h.size() ; i++ ){
for( int j=0 ; j<h.get(i) ; j++ ){
for( int k=0 ; k<w.get(i) ; k++ ){
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,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
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
],
[
111,
11
],
[
111,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
15,
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
],
[
28,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
12,
108
],
[
108,
109
],
[
0,
110
],
[
110,
111
],
[
110,
112
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\twhile (true) {\n\t\t\t\tString s = reader.readLine();\n\t\t\t\tString[] a = s.split(\" \");\n\t\t\t\t\n\t\t\t\tint H = Integer.parseInt(a[0]);\n\t\t\t\tint W = Integer.parseInt(a[1]);\n\t\t\t\t\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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\t\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\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",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\twhile (true) {\n\t\t\t\tString s = reader.readLine();\n\t\t\t\tString[] a = s.split(\" \");\n\t\t\t\t\n\t\t\t\tint H = Integer.parseInt(a[0]);\n\t\t\t\tint W = Integer.parseInt(a[1]);\n\t\t\t\t\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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\t\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\twhile (true) {\n\t\t\t\tString s = reader.readLine();\n\t\t\t\tString[] a = s.split(\" \");\n\t\t\t\t\n\t\t\t\tint H = Integer.parseInt(a[0]);\n\t\t\t\tint W = Integer.parseInt(a[1]);\n\t\t\t\t\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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\t\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\twhile (true) {\n\t\t\t\tString s = reader.readLine();\n\t\t\t\tString[] a = s.split(\" \");\n\t\t\t\t\n\t\t\t\tint H = Integer.parseInt(a[0]);\n\t\t\t\tint W = Integer.parseInt(a[1]);\n\t\t\t\t\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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\t\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"try {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\twhile (true) {\n\t\t\t\tString s = reader.readLine();\n\t\t\t\tString[] a = s.split(\" \");\n\t\t\t\t\n\t\t\t\tint H = Integer.parseInt(a[0]);\n\t\t\t\tint W = Integer.parseInt(a[1]);\n\t\t\t\t\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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\t\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\twhile (true) {\n\t\t\t\tString s = reader.readLine();\n\t\t\t\tString[] a = s.split(\" \");\n\t\t\t\t\n\t\t\t\tint H = Integer.parseInt(a[0]);\n\t\t\t\tint W = Integer.parseInt(a[1]);\n\t\t\t\t\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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\t\n\t\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"while (true) {\n\t\t\t\tString s = reader.readLine();\n\t\t\t\tString[] a = s.split(\" \");\n\t\t\t\t\n\t\t\t\tint H = Integer.parseInt(a[0]);\n\t\t\t\tint W = Integer.parseInt(a[1]);\n\t\t\t\t\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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}",
"true",
"{\n\t\t\t\tString s = reader.readLine();\n\t\t\t\tString[] a = s.split(\" \");\n\t\t\t\t\n\t\t\t\tint H = Integer.parseInt(a[0]);\n\t\t\t\tint W = Integer.parseInt(a[1]);\n\t\t\t\t\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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}",
"String s = reader.readLine();",
"s",
"reader.readLine()",
"reader.readLine",
"reader",
"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",
"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 i = 0; i < H; i++) {\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"{\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"for (int j = 0; j < W; j++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\twhile (true) {\n\t\t\t\tString s = reader.readLine();\n\t\t\t\tString[] a = s.split(\" \");\n\t\t\t\t\n\t\t\t\tint H = Integer.parseInt(a[0]);\n\t\t\t\tint W = Integer.parseInt(a[1]);\n\t\t\t\t\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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\t\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n}",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\twhile (true) {\n\t\t\t\tString s = reader.readLine();\n\t\t\t\tString[] a = s.split(\" \");\n\t\t\t\t\n\t\t\t\tint H = Integer.parseInt(a[0]);\n\t\t\t\tint W = Integer.parseInt(a[1]);\n\t\t\t\t\n\t\t\t\tif (H == 0 && W == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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\t\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
try {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
while (true) {
String s = reader.readLine();
String[] a = s.split(" ");
int H = Integer.parseInt(a[0]);
int W = Integer.parseInt(a[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();
}
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
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
],
[
63,
68
],
[
30,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
30,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
30,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
6,
85
],
[
85,
86
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint H = sc.nextInt();\n\t\tint W = sc.nextInt();\n\t\twhile(H!=0&&W!=0){\n\t\t\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint H = sc.nextInt();\n\t\tint W = sc.nextInt();\n\t\twhile(H!=0&&W!=0){\n\t\t\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint H = sc.nextInt();\n\t\tint W = sc.nextInt();\n\t\twhile(H!=0&&W!=0){\n\t\t\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint H = sc.nextInt();\n\t\tint W = sc.nextInt();\n\t\twhile(H!=0&&W!=0){\n\t\t\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int H = 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\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t}",
"H!=0&&W!=0",
"H!=0",
"H",
"0",
"W!=0",
"W",
"0",
"{\n\t\t\tfor(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tH = sc.nextInt();\n\t\t\tW = sc.nextInt();\n\t\t}",
"for(int i=0;i<H;i++){\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"{\n\t\t\t\tfor(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"for(int j=0;j<W;j++){\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"H = sc.nextInt()",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"W = sc.nextInt()",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int H = sc.nextInt();
int W = sc.nextInt();
while(H!=0&&W!=0){
for(int i=0;i<H;i++){
for(int j=0;j<W;j++){
System.out.print("#");
}
System.out.println("");
}
System.out.println("");
H = sc.nextInt();
W = sc.nextInt();
}
}
} |
[
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,
20,
42,
4,
18,
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,
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
],
[
96,
17
],
[
96,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
31,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
64,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
63,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
31,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
18,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\nimport java.util.StringTokenizer;\n\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\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\twhile(scan.hasNext()){\n\t\t\tint x=scan.nextInt();\n\t\t\tint y=scan.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tfor (int j = 0; j < y; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\twhile(scan.hasNext()){\n\t\t\tint x=scan.nextInt();\n\t\t\tint y=scan.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tfor (int j = 0; j < y; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\twhile(scan.hasNext()){\n\t\t\tint x=scan.nextInt();\n\t\t\tint y=scan.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tfor (int j = 0; j < y; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\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\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\twhile(scan.hasNext()){\n\t\t\tint x=scan.nextInt();\n\t\t\tint y=scan.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tfor (int j = 0; j < y; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\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}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));",
"scan",
"new Scanner(new BufferedReader(new InputStreamReader(System.in)))",
"while(scan.hasNext()){\n\t\t\tint x=scan.nextInt();\n\t\t\tint y=scan.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tfor (int j = 0; j < y; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\tint x=scan.nextInt();\n\t\t\tint y=scan.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tfor (int j = 0; j < y; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\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=scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int y=scan.nextInt();",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(x==0 && y==0)\n\t\t\t\tbreak;",
"x==0 && y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"break;",
"for (int i = 0; i < x; i++) {\n\t\t\t\tfor (int j = 0; j < y; j++) {\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 < x",
"i",
"x",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor (int j = 0; j < y; j++) {\n\t\t\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 < y; j++) {\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 < y; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < y",
"j",
"y",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\twhile(scan.hasNext()){\n\t\t\tint x=scan.nextInt();\n\t\t\tint y=scan.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tfor (int j = 0; j < y; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\twhile(scan.hasNext()){\n\t\t\tint x=scan.nextInt();\n\t\t\tint y=scan.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tfor (int j = 0; j < y; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
while(scan.hasNext()){
int x=scan.nextInt();
int y=scan.nextInt();
if(x==0 && y==0)
break;
for (int i = 0; i < x; i++) {
for (int j = 0; j < y; j++) {
System.out.print("#");
}
System.out.println();
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
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,
14,
2,
2,
13,
17,
2,
13,
2,
13,
17,
30,
4,
18,
13,
17,
30,
14,
2,
2,
17,
13,
2,
13,
2,
13,
17,
30,
4,
18,
13,
17,
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
],
[
136,
11
],
[
136,
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
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
83,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
83,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
106,
108
],
[
99,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
99,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
69,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
23,
123
],
[
123,
124
],
[
124,
125
],
[
123,
126
],
[
14,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
12,
133
],
[
133,
134
],
[
0,
135
],
[
135,
136
],
[
135,
137
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while(true){\n String str[] = br.readLine().split(\" \");\n int H = Integer.parseInt(str[0]);\n int W = Integer.parseInt(str[1]);\n if(H==0 && W==0) break;\n for(int i=0;i<H;i++){\n for(int j=0;j<W;j++){\n if(i==0 || i==H-1){\n sb.append(\"#\");\n }else{\n if(0<j && j<W-1){\n sb.append(\".\");\n }else{\n sb.append(\"#\");\n }\n }\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while(true){\n String str[] = br.readLine().split(\" \");\n int H = Integer.parseInt(str[0]);\n int W = Integer.parseInt(str[1]);\n if(H==0 && W==0) break;\n for(int i=0;i<H;i++){\n for(int j=0;j<W;j++){\n if(i==0 || i==H-1){\n sb.append(\"#\");\n }else{\n if(0<j && j<W-1){\n sb.append(\".\");\n }else{\n sb.append(\"#\");\n }\n }\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 str[] = br.readLine().split(\" \");\n int H = Integer.parseInt(str[0]);\n int W = Integer.parseInt(str[1]);\n if(H==0 && W==0) break;\n for(int i=0;i<H;i++){\n for(int j=0;j<W;j++){\n if(i==0 || i==H-1){\n sb.append(\"#\");\n }else{\n if(0<j && j<W-1){\n sb.append(\".\");\n }else{\n sb.append(\"#\");\n }\n }\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 str[] = br.readLine().split(\" \");\n int H = Integer.parseInt(str[0]);\n int W = Integer.parseInt(str[1]);\n if(H==0 && W==0) break;\n for(int i=0;i<H;i++){\n for(int j=0;j<W;j++){\n if(i==0 || i==H-1){\n sb.append(\"#\");\n }else{\n if(0<j && j<W-1){\n sb.append(\".\");\n }else{\n sb.append(\"#\");\n }\n }\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 str[] = br.readLine().split(\" \");\n int H = Integer.parseInt(str[0]);\n int W = Integer.parseInt(str[1]);\n if(H==0 && W==0) break;\n for(int i=0;i<H;i++){\n for(int j=0;j<W;j++){\n if(i==0 || i==H-1){\n sb.append(\"#\");\n }else{\n if(0<j && j<W-1){\n sb.append(\".\");\n }else{\n sb.append(\"#\");\n }\n }\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }",
"true",
"{\n String str[] = br.readLine().split(\" \");\n int H = Integer.parseInt(str[0]);\n int W = Integer.parseInt(str[1]);\n if(H==0 && W==0) break;\n for(int i=0;i<H;i++){\n for(int j=0;j<W;j++){\n if(i==0 || i==H-1){\n sb.append(\"#\");\n }else{\n if(0<j && j<W-1){\n sb.append(\".\");\n }else{\n sb.append(\"#\");\n }\n }\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }",
"String str[] = br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int H = Integer.parseInt(str[0]);",
"H",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"int W = Integer.parseInt(str[1]);",
"W",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"if(H==0 && W==0) break;",
"H==0 && W==0",
"H==0",
"H",
"0",
"W==0",
"W",
"0",
"break;",
"for(int i=0;i<H;i++){\n for(int j=0;j<W;j++){\n if(i==0 || i==H-1){\n sb.append(\"#\");\n }else{\n if(0<j && j<W-1){\n sb.append(\".\");\n }else{\n sb.append(\"#\");\n }\n }\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 if(i==0 || i==H-1){\n sb.append(\"#\");\n }else{\n if(0<j && j<W-1){\n sb.append(\".\");\n }else{\n sb.append(\"#\");\n }\n }\n }\n sb.append(\"\\n\");\n }",
"{\n for(int j=0;j<W;j++){\n if(i==0 || i==H-1){\n sb.append(\"#\");\n }else{\n if(0<j && j<W-1){\n sb.append(\".\");\n }else{\n sb.append(\"#\");\n }\n }\n }\n sb.append(\"\\n\");\n }",
"for(int j=0;j<W;j++){\n if(i==0 || i==H-1){\n sb.append(\"#\");\n }else{\n if(0<j && j<W-1){\n sb.append(\".\");\n }else{\n sb.append(\"#\");\n }\n }\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<W",
"j",
"W",
"j++",
"j++",
"j",
"{\n if(i==0 || i==H-1){\n sb.append(\"#\");\n }else{\n if(0<j && j<W-1){\n sb.append(\".\");\n }else{\n sb.append(\"#\");\n }\n }\n }",
"{\n if(i==0 || i==H-1){\n sb.append(\"#\");\n }else{\n if(0<j && j<W-1){\n sb.append(\".\");\n }else{\n sb.append(\"#\");\n }\n }\n }",
"if(i==0 || i==H-1){\n sb.append(\"#\");\n }else{\n if(0<j && j<W-1){\n sb.append(\".\");\n }else{\n sb.append(\"#\");\n }\n }",
"i==0 || i==H-1",
"i==0",
"i",
"0",
"i==H-1",
"i",
"H-1",
"H",
"1",
"{\n sb.append(\"#\");\n }",
"sb.append(\"#\")",
"sb.append",
"sb",
"\"#\"",
"{\n if(0<j && j<W-1){\n sb.append(\".\");\n }else{\n sb.append(\"#\");\n }\n }",
"if(0<j && j<W-1){\n sb.append(\".\");\n }else{\n sb.append(\"#\");\n }",
"0<j && j<W-1",
"0<j",
"0",
"j",
"j<W-1",
"j",
"W-1",
"W",
"1",
"{\n sb.append(\".\");\n }",
"sb.append(\".\")",
"sb.append",
"sb",
"\".\"",
"{\n sb.append(\"#\");\n }",
"sb.append(\"#\")",
"sb.append",
"sb",
"\"#\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while(true){\n String str[] = br.readLine().split(\" \");\n int H = Integer.parseInt(str[0]);\n int W = Integer.parseInt(str[1]);\n if(H==0 && W==0) break;\n for(int i=0;i<H;i++){\n for(int j=0;j<W;j++){\n if(i==0 || i==H-1){\n sb.append(\"#\");\n }else{\n if(0<j && j<W-1){\n sb.append(\".\");\n }else{\n sb.append(\"#\");\n }\n }\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while(true){\n String str[] = br.readLine().split(\" \");\n int H = Integer.parseInt(str[0]);\n int W = Integer.parseInt(str[1]);\n if(H==0 && W==0) break;\n for(int i=0;i<H;i++){\n for(int j=0;j<W;j++){\n if(i==0 || i==H-1){\n sb.append(\"#\");\n }else{\n if(0<j && j<W-1){\n sb.append(\".\");\n }else{\n sb.append(\"#\");\n }\n }\n }\n sb.append(\"\\n\");\n }\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
while(true){
String str[] = br.readLine().split(" ");
int H = Integer.parseInt(str[0]);
int W = Integer.parseInt(str[1]);
if(H==0 && W==0) break;
for(int i=0;i<H;i++){
for(int j=0;j<W;j++){
if(i==0 || i==H-1){
sb.append("#");
}else{
if(0<j && j<W-1){
sb.append(".");
}else{
sb.append("#");
}
}
}
sb.append("\n");
}
sb.append("\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
17,
2,
13,
2,
4,
18,
13,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
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
],
[
176,
11
],
[
176,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
14,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
38,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
38,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
14,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
64,
68
],
[
57,
69
],
[
69,
70
],
[
70,
71
],
[
57,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
74,
85
],
[
85,
86
],
[
86,
87
],
[
74,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
97,
102
],
[
90,
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
],
[
90,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
126,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
133,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
141,
144
],
[
140,
145
],
[
133,
146
],
[
146,
147
],
[
147,
148
],
[
133,
149
],
[
150,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
151,
156
],
[
126,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
157,
162
],
[
89,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
73,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
12,
173
],
[
173,
174
],
[
0,
175
],
[
175,
176
],
[
175,
177
]
] | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList <Integer> H = new ArrayList <Integer> ();\n\t\tList <Integer> W = new ArrayList <Integer> ();\n\t\t\n\t\tint lastH = 0;\n\t\tint lastW = 0;\n\t\tdo {\n\t\t\tlastH = stdIn.nextInt();\n\t\t\tlastW = stdIn.nextInt();\n\t\t\t\n\t\t\tH.add(lastH);\n\t\t\tW.add(lastW);\n\t\t} while (lastH != 0 || lastW != 0);\n\t\t\n\t\tfor(int i = 0; i < H.size()-1; i++) {\n\t\t\tfor(int j = 0; j < H.get(i); j++) {\n\t\t\t\tif(j == 0 || j == H.get(i) - 1) {\n\t\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tfor(int k = 0; k < W.get(i) - 2; 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\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList <Integer> H = new ArrayList <Integer> ();\n\t\tList <Integer> W = new ArrayList <Integer> ();\n\t\t\n\t\tint lastH = 0;\n\t\tint lastW = 0;\n\t\tdo {\n\t\t\tlastH = stdIn.nextInt();\n\t\t\tlastW = stdIn.nextInt();\n\t\t\t\n\t\t\tH.add(lastH);\n\t\t\tW.add(lastW);\n\t\t} while (lastH != 0 || lastW != 0);\n\t\t\n\t\tfor(int i = 0; i < H.size()-1; i++) {\n\t\t\tfor(int j = 0; j < H.get(i); j++) {\n\t\t\t\tif(j == 0 || j == H.get(i) - 1) {\n\t\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tfor(int k = 0; k < W.get(i) - 2; 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\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList <Integer> H = new ArrayList <Integer> ();\n\t\tList <Integer> W = new ArrayList <Integer> ();\n\t\t\n\t\tint lastH = 0;\n\t\tint lastW = 0;\n\t\tdo {\n\t\t\tlastH = stdIn.nextInt();\n\t\t\tlastW = stdIn.nextInt();\n\t\t\t\n\t\t\tH.add(lastH);\n\t\t\tW.add(lastW);\n\t\t} while (lastH != 0 || lastW != 0);\n\t\t\n\t\tfor(int i = 0; i < H.size()-1; i++) {\n\t\t\tfor(int j = 0; j < H.get(i); j++) {\n\t\t\t\tif(j == 0 || j == H.get(i) - 1) {\n\t\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tfor(int k = 0; k < W.get(i) - 2; 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\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList <Integer> H = new ArrayList <Integer> ();\n\t\tList <Integer> W = new ArrayList <Integer> ();\n\t\t\n\t\tint lastH = 0;\n\t\tint lastW = 0;\n\t\tdo {\n\t\t\tlastH = stdIn.nextInt();\n\t\t\tlastW = stdIn.nextInt();\n\t\t\t\n\t\t\tH.add(lastH);\n\t\t\tW.add(lastW);\n\t\t} while (lastH != 0 || lastW != 0);\n\t\t\n\t\tfor(int i = 0; i < H.size()-1; i++) {\n\t\t\tfor(int j = 0; j < H.get(i); j++) {\n\t\t\t\tif(j == 0 || j == H.get(i) - 1) {\n\t\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tfor(int k = 0; k < W.get(i) - 2; 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\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"List <Integer> H = new ArrayList <Integer> ();",
"H",
"new ArrayList <Integer> ()",
"List <Integer> W = new ArrayList <Integer> ();",
"W",
"new ArrayList <Integer> ()",
"int lastH = 0;",
"lastH",
"0",
"int lastW = 0;",
"lastW",
"0",
"do {\n\t\t\tlastH = stdIn.nextInt();\n\t\t\tlastW = stdIn.nextInt();\n\t\t\t\n\t\t\tH.add(lastH);\n\t\t\tW.add(lastW);\n\t\t} while (lastH != 0 || lastW != 0);",
"lastH != 0 || lastW != 0",
"lastH != 0",
"lastH",
"0",
"lastW != 0",
"lastW",
"0",
"{\n\t\t\tlastH = stdIn.nextInt();\n\t\t\tlastW = stdIn.nextInt();\n\t\t\t\n\t\t\tH.add(lastH);\n\t\t\tW.add(lastW);\n\t\t}",
"lastH = stdIn.nextInt()",
"lastH",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"lastW = stdIn.nextInt()",
"lastW",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"H.add(lastH)",
"H.add",
"H",
"lastH",
"W.add(lastW)",
"W.add",
"W",
"lastW",
"for(int i = 0; i < H.size()-1; i++) {\n\t\t\tfor(int j = 0; j < H.get(i); j++) {\n\t\t\t\tif(j == 0 || j == H.get(i) - 1) {\n\t\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tfor(int k = 0; k < W.get(i) - 2; 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\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H.size()-1",
"i",
"H.size()-1",
"H.size()",
"H.size",
"H",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = 0; j < H.get(i); j++) {\n\t\t\t\tif(j == 0 || j == H.get(i) - 1) {\n\t\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tfor(int k = 0; k < W.get(i) - 2; 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\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"{\n\t\t\tfor(int j = 0; j < H.get(i); j++) {\n\t\t\t\tif(j == 0 || j == H.get(i) - 1) {\n\t\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tfor(int k = 0; k < W.get(i) - 2; 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\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"for(int j = 0; j < H.get(i); j++) {\n\t\t\t\tif(j == 0 || j == H.get(i) - 1) {\n\t\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tfor(int k = 0; k < W.get(i) - 2; 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\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < H.get(i)",
"j",
"H.get(i)",
"H.get",
"H",
"i",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(j == 0 || j == H.get(i) - 1) {\n\t\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tfor(int k = 0; k < W.get(i) - 2; 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\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"{\n\t\t\t\tif(j == 0 || j == H.get(i) - 1) {\n\t\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tfor(int k = 0; k < W.get(i) - 2; 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\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"if(j == 0 || j == H.get(i) - 1) {\n\t\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tfor(int k = 0; k < W.get(i) - 2; 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\t\t\t\t}",
"j == 0 || j == H.get(i) - 1",
"j == 0",
"j",
"0",
"j == H.get(i) - 1",
"j",
"H.get(i) - 1",
"H.get(i)",
"H.get",
"H",
"i",
"1",
"{\n\t\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}",
"for(int k = 0; k < W.get(i); 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.get(i)",
"k",
"W.get(i)",
"W.get",
"W",
"i",
"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",
"\"#\"",
"{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tfor(int k = 0; k < W.get(i) - 2; 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\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"for(int k = 0; k < W.get(i) - 2; 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.get(i) - 2",
"k",
"W.get(i) - 2",
"W.get(i)",
"W.get",
"W",
"i",
"2",
"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(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList <Integer> H = new ArrayList <Integer> ();\n\t\tList <Integer> W = new ArrayList <Integer> ();\n\t\t\n\t\tint lastH = 0;\n\t\tint lastW = 0;\n\t\tdo {\n\t\t\tlastH = stdIn.nextInt();\n\t\t\tlastW = stdIn.nextInt();\n\t\t\t\n\t\t\tH.add(lastH);\n\t\t\tW.add(lastW);\n\t\t} while (lastH != 0 || lastW != 0);\n\t\t\n\t\tfor(int i = 0; i < H.size()-1; i++) {\n\t\t\tfor(int j = 0; j < H.get(i); j++) {\n\t\t\t\tif(j == 0 || j == H.get(i) - 1) {\n\t\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tfor(int k = 0; k < W.get(i) - 2; 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\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList <Integer> H = new ArrayList <Integer> ();\n\t\tList <Integer> W = new ArrayList <Integer> ();\n\t\t\n\t\tint lastH = 0;\n\t\tint lastW = 0;\n\t\tdo {\n\t\t\tlastH = stdIn.nextInt();\n\t\t\tlastW = stdIn.nextInt();\n\t\t\t\n\t\t\tH.add(lastH);\n\t\t\tW.add(lastW);\n\t\t} while (lastH != 0 || lastW != 0);\n\t\t\n\t\tfor(int i = 0; i < H.size()-1; i++) {\n\t\t\tfor(int j = 0; j < H.get(i); j++) {\n\t\t\t\tif(j == 0 || j == H.get(i) - 1) {\n\t\t\t\t\tfor(int k = 0; k < W.get(i); k++) {\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\tfor(int k = 0; k < W.get(i) - 2; 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\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
List <Integer> H = new ArrayList <Integer> ();
List <Integer> W = new ArrayList <Integer> ();
int lastH = 0;
int lastW = 0;
do {
lastH = stdIn.nextInt();
lastW = stdIn.nextInt();
H.add(lastH);
W.add(lastW);
} while (lastH != 0 || lastW != 0);
for(int i = 0; i < H.size()-1; i++) {
for(int j = 0; j < H.get(i); j++) {
if(j == 0 || j == H.get(i) - 1) {
for(int k = 0; k < W.get(i); k++) {
System.out.print("#");
}
}
else {
System.out.print("#");
for(int k = 0; k < W.get(i) - 2; k++) {
System.out.print(".");
}
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,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
2,
13,
17,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
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
],
[
118,
5
],
[
118,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
24,
25
],
[
25,
26
],
[
18,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
18,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
18,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
45,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
58,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
74,
73
],
[
81,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
81,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
74,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
71,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
71,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
57,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
18,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
6,
115
],
[
115,
116
],
[
0,
117
],
[
117,
118
],
[
117,
119
]
] | [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t Scanner scan = new Scanner(System.in);\n\t\t int H;\t//縦\n\t\t int W;\t//横\n\t\t while(true){\n\t\t\t H = Integer.parseInt(scan.next());\n\t\t\t W = Integer.parseInt(scan.next());\n\t\t\t if(H == 0 && W == 0){\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }//if\n\t\t\t //--- 出力 ---\n\t\t\t for (int i = 0; i < H; i++ ){\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t if(i == 0 || j == 0 || j == W-1 || i == H-1){\n\t\t\t\t\t\t //iとjが0かつ、入力された横(W)と縦(H)の数字の時に \"#\" を出力する\n\t\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t\t }else{\n\t\t\t\t\t\t System.out.print(\".\");\n\t\t\t\t\t }//if\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for\n\t\t\t System.out.println();\n\t\t }//while \n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t Scanner scan = new Scanner(System.in);\n\t\t int H;\t//縦\n\t\t int W;\t//横\n\t\t while(true){\n\t\t\t H = Integer.parseInt(scan.next());\n\t\t\t W = Integer.parseInt(scan.next());\n\t\t\t if(H == 0 && W == 0){\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }//if\n\t\t\t //--- 出力 ---\n\t\t\t for (int i = 0; i < H; i++ ){\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t if(i == 0 || j == 0 || j == W-1 || i == H-1){\n\t\t\t\t\t\t //iとjが0かつ、入力された横(W)と縦(H)の数字の時に \"#\" を出力する\n\t\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t\t }else{\n\t\t\t\t\t\t System.out.print(\".\");\n\t\t\t\t\t }//if\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for\n\t\t\t System.out.println();\n\t\t }//while \n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t Scanner scan = new Scanner(System.in);\n\t\t int H;\t//縦\n\t\t int W;\t//横\n\t\t while(true){\n\t\t\t H = Integer.parseInt(scan.next());\n\t\t\t W = Integer.parseInt(scan.next());\n\t\t\t if(H == 0 && W == 0){\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }//if\n\t\t\t //--- 出力 ---\n\t\t\t for (int i = 0; i < H; i++ ){\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t if(i == 0 || j == 0 || j == W-1 || i == H-1){\n\t\t\t\t\t\t //iとjが0かつ、入力された横(W)と縦(H)の数字の時に \"#\" を出力する\n\t\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t\t }else{\n\t\t\t\t\t\t System.out.print(\".\");\n\t\t\t\t\t }//if\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for\n\t\t\t System.out.println();\n\t\t }//while \n\t}",
"main",
"{\n\t\t Scanner scan = new Scanner(System.in);\n\t\t int H;\t//縦\n\t\t int W;\t//横\n\t\t while(true){\n\t\t\t H = Integer.parseInt(scan.next());\n\t\t\t W = Integer.parseInt(scan.next());\n\t\t\t if(H == 0 && W == 0){\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }//if\n\t\t\t //--- 出力 ---\n\t\t\t for (int i = 0; i < H; i++ ){\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t if(i == 0 || j == 0 || j == W-1 || i == H-1){\n\t\t\t\t\t\t //iとjが0かつ、入力された横(W)と縦(H)の数字の時に \"#\" を出力する\n\t\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t\t }else{\n\t\t\t\t\t\t System.out.print(\".\");\n\t\t\t\t\t }//if\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for\n\t\t\t System.out.println();\n\t\t }//while \n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int H;",
"H",
"int W;",
"W",
"while(true){\n\t\t\t H = Integer.parseInt(scan.next());\n\t\t\t W = Integer.parseInt(scan.next());\n\t\t\t if(H == 0 && W == 0){\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }//if\n\t\t\t //--- 出力 ---\n\t\t\t for (int i = 0; i < H; i++ ){\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t if(i == 0 || j == 0 || j == W-1 || i == H-1){\n\t\t\t\t\t\t //iとjが0かつ、入力された横(W)と縦(H)の数字の時に \"#\" を出力する\n\t\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t\t }else{\n\t\t\t\t\t\t System.out.print(\".\");\n\t\t\t\t\t }//if\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for\n\t\t\t System.out.println();\n\t\t }//while ",
"true",
"{\n\t\t\t H = Integer.parseInt(scan.next());\n\t\t\t W = Integer.parseInt(scan.next());\n\t\t\t if(H == 0 && W == 0){\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }//if\n\t\t\t //--- 出力 ---\n\t\t\t for (int i = 0; i < H; i++ ){\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t if(i == 0 || j == 0 || j == W-1 || i == H-1){\n\t\t\t\t\t\t //iとjが0かつ、入力された横(W)と縦(H)の数字の時に \"#\" を出力する\n\t\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t\t }else{\n\t\t\t\t\t\t System.out.print(\".\");\n\t\t\t\t\t }//if\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for\n\t\t\t System.out.println();\n\t\t }",
"H = Integer.parseInt(scan.next())",
"H",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"W = Integer.parseInt(scan.next())",
"W",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"if(H == 0 && W == 0){\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }//if",
"H == 0 && W == 0",
"H == 0",
"H",
"0",
"W == 0",
"W",
"0",
"{\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }",
"break;",
"for (int i = 0; i < H; i++ ){\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t if(i == 0 || j == 0 || j == W-1 || i == H-1){\n\t\t\t\t\t\t //iとjが0かつ、入力された横(W)と縦(H)の数字の時に \"#\" を出力する\n\t\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t\t }else{\n\t\t\t\t\t\t System.out.print(\".\");\n\t\t\t\t\t }//if\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < H",
"i",
"H",
"i++",
"i++",
"i",
"{\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t if(i == 0 || j == 0 || j == W-1 || i == H-1){\n\t\t\t\t\t\t //iとjが0かつ、入力された横(W)と縦(H)の数字の時に \"#\" を出力する\n\t\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t\t }else{\n\t\t\t\t\t\t System.out.print(\".\");\n\t\t\t\t\t }//if\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for",
"{\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t if(i == 0 || j == 0 || j == W-1 || i == H-1){\n\t\t\t\t\t\t //iとjが0かつ、入力された横(W)と縦(H)の数字の時に \"#\" を出力する\n\t\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t\t }else{\n\t\t\t\t\t\t System.out.print(\".\");\n\t\t\t\t\t }//if\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }",
"for (int j = 0; j < W; j++ ){\n\t\t\t\t\t if(i == 0 || j == 0 || j == W-1 || i == H-1){\n\t\t\t\t\t\t //iとjが0かつ、入力された横(W)と縦(H)の数字の時に \"#\" を出力する\n\t\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t\t }else{\n\t\t\t\t\t\t System.out.print(\".\");\n\t\t\t\t\t }//if\n\t\t\t\t }//for",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < W",
"j",
"W",
"j++",
"j++",
"j",
"{\n\t\t\t\t\t if(i == 0 || j == 0 || j == W-1 || i == H-1){\n\t\t\t\t\t\t //iとjが0かつ、入力された横(W)と縦(H)の数字の時に \"#\" を出力する\n\t\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t\t }else{\n\t\t\t\t\t\t System.out.print(\".\");\n\t\t\t\t\t }//if\n\t\t\t\t }//for",
"{\n\t\t\t\t\t if(i == 0 || j == 0 || j == W-1 || i == H-1){\n\t\t\t\t\t\t //iとjが0かつ、入力された横(W)と縦(H)の数字の時に \"#\" を出力する\n\t\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t\t }else{\n\t\t\t\t\t\t System.out.print(\".\");\n\t\t\t\t\t }//if\n\t\t\t\t }",
"if(i == 0 || j == 0 || j == W-1 || i == H-1){\n\t\t\t\t\t\t //iとjが0かつ、入力された横(W)と縦(H)の数字の時に \"#\" を出力する\n\t\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t\t }else{\n\t\t\t\t\t\t System.out.print(\".\");\n\t\t\t\t\t }//if",
"i == 0 || j == 0 || j == W-1 || i == H-1",
"j == W-1",
"i == 0 || j == 0 || j == W-1 || i == H-1",
"i == 0",
"i",
"0",
"j == 0",
"j",
"0",
"j == W-1",
"j",
"W-1",
"W",
"1",
"i == H-1",
"i",
"H-1",
"H",
"1",
"{\n\t\t\t\t\t\t //iとjが0かつ、入力された横(W)と縦(H)の数字の時に \"#\" を出力する\n\t\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t\t }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"{\n\t\t\t\t\t\t System.out.print(\".\");\n\t\t\t\t\t }",
"System.out.print(\".\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\".\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t Scanner scan = new Scanner(System.in);\n\t\t int H;\t//縦\n\t\t int W;\t//横\n\t\t while(true){\n\t\t\t H = Integer.parseInt(scan.next());\n\t\t\t W = Integer.parseInt(scan.next());\n\t\t\t if(H == 0 && W == 0){\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }//if\n\t\t\t //--- 出力 ---\n\t\t\t for (int i = 0; i < H; i++ ){\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t if(i == 0 || j == 0 || j == W-1 || i == H-1){\n\t\t\t\t\t\t //iとjが0かつ、入力された横(W)と縦(H)の数字の時に \"#\" を出力する\n\t\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t\t }else{\n\t\t\t\t\t\t System.out.print(\".\");\n\t\t\t\t\t }//if\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for\n\t\t\t System.out.println();\n\t\t }//while \n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t Scanner scan = new Scanner(System.in);\n\t\t int H;\t//縦\n\t\t int W;\t//横\n\t\t while(true){\n\t\t\t H = Integer.parseInt(scan.next());\n\t\t\t W = Integer.parseInt(scan.next());\n\t\t\t if(H == 0 && W == 0){\n\t\t\t\t //HとWが0の時、終了。\n\t\t\t\t break;\n\t\t\t }//if\n\t\t\t //--- 出力 ---\n\t\t\t for (int i = 0; i < H; i++ ){\n\t\t\t\t for (int j = 0; j < W; j++ ){\n\t\t\t\t\t if(i == 0 || j == 0 || j == W-1 || i == H-1){\n\t\t\t\t\t\t //iとjが0かつ、入力された横(W)と縦(H)の数字の時に \"#\" を出力する\n\t\t\t\t\t\t System.out.print(\"#\");\n\t\t\t\t\t }else{\n\t\t\t\t\t\t System.out.print(\".\");\n\t\t\t\t\t }//if\n\t\t\t\t }//for\n\t\t\t\t System.out.println();\n\t\t\t }//for\n\t\t\t System.out.println();\n\t\t }//while \n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int H; //縦
int W; //横
while(true){
H = Integer.parseInt(scan.next());
W = Integer.parseInt(scan.next());
if(H == 0 && W == 0){
//HとWが0の時、終了。
break;
}//if
//--- 出力 ---
for (int i = 0; i < H; i++ ){
for (int j = 0; j < W; j++ ){
if(i == 0 || j == 0 || j == W-1 || i == H-1){
//iとjが0かつ、入力された横(W)と縦(H)の数字の時に "#" を出力する
System.out.print("#");
}else{
System.out.print(".");
}//if
}//for
System.out.println();
}//for
System.out.println();
}//while
}
} |
[
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,
41,
13,
17,
42,
2,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
17,
40,
13,
41,
13,
2,
2,
17,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
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
],
[
131,
5
],
[
131,
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
],
[
63,
65
],
[
19,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
66,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
72,
79
],
[
79,
80
],
[
19,
81
],
[
81,
82
],
[
81,
83
],
[
84,
84
],
[
84,
85
],
[
84,
86
],
[
84,
87
],
[
19,
88
],
[
88,
89
],
[
88,
90
],
[
19,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
96,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
96,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
95,
120
],
[
120,
121
],
[
19,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
122,
127
],
[
6,
128
],
[
128,
129
],
[
0,
130
],
[
130,
131
],
[
130,
132
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 0;\n\t\twhile (i == 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\tString nakami = \"\";\n\t\t\tString jouge = \"##\";\n\t\t\tint j = 0;\n\t\t\twhile (j < W - 2) {\n\t\t\t\tnakami += \".\";\n\t\t\t\tjouge += \"#\";\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tString yoko = \"#\" + nakami + \"#\";\n\t\t\tint k = 0;\n\t\t\twhile (k < H) {\n\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\tSystem.out.println(jouge);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(yoko);\n\t\t\t\t}\n\t\t\t\tk++;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\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\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 0;\n\t\twhile (i == 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\tString nakami = \"\";\n\t\t\tString jouge = \"##\";\n\t\t\tint j = 0;\n\t\t\twhile (j < W - 2) {\n\t\t\t\tnakami += \".\";\n\t\t\t\tjouge += \"#\";\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tString yoko = \"#\" + nakami + \"#\";\n\t\t\tint k = 0;\n\t\t\twhile (k < H) {\n\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\tSystem.out.println(jouge);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(yoko);\n\t\t\t\t}\n\t\t\t\tk++;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 0;\n\t\twhile (i == 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\tString nakami = \"\";\n\t\t\tString jouge = \"##\";\n\t\t\tint j = 0;\n\t\t\twhile (j < W - 2) {\n\t\t\t\tnakami += \".\";\n\t\t\t\tjouge += \"#\";\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tString yoko = \"#\" + nakami + \"#\";\n\t\t\tint k = 0;\n\t\t\twhile (k < H) {\n\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\tSystem.out.println(jouge);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(yoko);\n\t\t\t\t}\n\t\t\t\tk++;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 0;\n\t\twhile (i == 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\tString nakami = \"\";\n\t\t\tString jouge = \"##\";\n\t\t\tint j = 0;\n\t\t\twhile (j < W - 2) {\n\t\t\t\tnakami += \".\";\n\t\t\t\tjouge += \"#\";\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tString yoko = \"#\" + nakami + \"#\";\n\t\t\tint k = 0;\n\t\t\twhile (k < H) {\n\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\tSystem.out.println(jouge);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(yoko);\n\t\t\t\t}\n\t\t\t\tk++;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = 0;",
"i",
"0",
"while (i == 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\tString nakami = \"\";\n\t\t\tString jouge = \"##\";\n\t\t\tint j = 0;\n\t\t\twhile (j < W - 2) {\n\t\t\t\tnakami += \".\";\n\t\t\t\tjouge += \"#\";\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tString yoko = \"#\" + nakami + \"#\";\n\t\t\tint k = 0;\n\t\t\twhile (k < H) {\n\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\tSystem.out.println(jouge);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(yoko);\n\t\t\t\t}\n\t\t\t\tk++;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\n\t\t}",
"i == 0",
"i",
"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\tString nakami = \"\";\n\t\t\tString jouge = \"##\";\n\t\t\tint j = 0;\n\t\t\twhile (j < W - 2) {\n\t\t\t\tnakami += \".\";\n\t\t\t\tjouge += \"#\";\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tString yoko = \"#\" + nakami + \"#\";\n\t\t\tint k = 0;\n\t\t\twhile (k < H) {\n\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\tSystem.out.println(jouge);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(yoko);\n\t\t\t\t}\n\t\t\t\tk++;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\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;",
"String nakami = \"\";",
"nakami",
"\"\"",
"String jouge = \"##\";",
"jouge",
"\"##\"",
"int j = 0;",
"j",
"0",
"while (j < W - 2) {\n\t\t\t\tnakami += \".\";\n\t\t\t\tjouge += \"#\";\n\t\t\t\tj++;\n\t\t\t}",
"j < W - 2",
"j",
"W - 2",
"W",
"2",
"{\n\t\t\t\tnakami += \".\";\n\t\t\t\tjouge += \"#\";\n\t\t\t\tj++;\n\t\t\t}",
"nakami += \".\"",
"nakami",
"\".\"",
"jouge += \"#\"",
"jouge",
"\"#\"",
"j++",
"j",
"String yoko = \"#\" + nakami + \"#\";",
"yoko",
"\"#\" + nakami + \"#\"",
"\"#\" + nakami + \"#\"",
"\"#\"",
"nakami",
"\"#\"",
"int k = 0;",
"k",
"0",
"while (k < H) {\n\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\tSystem.out.println(jouge);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(yoko);\n\t\t\t\t}\n\t\t\t\tk++;\n\t\t\t}",
"k < H",
"k",
"H",
"{\n\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\tSystem.out.println(jouge);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(yoko);\n\t\t\t\t}\n\t\t\t\tk++;\n\t\t\t}",
"if (k == 0 || k == H - 1) {\n\t\t\t\t\tSystem.out.println(jouge);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(yoko);\n\t\t\t\t}",
"k == 0 || k == H - 1",
"k == 0",
"k",
"0",
"k == H - 1",
"k",
"H - 1",
"H",
"1",
"{\n\t\t\t\t\tSystem.out.println(jouge);\n\t\t\t\t}",
"System.out.println(jouge)",
"System.out.println",
"System.out",
"System",
"System.out",
"jouge",
"{\n\t\t\t\t\tSystem.out.println(yoko);\n\t\t\t\t}",
"System.out.println(yoko)",
"System.out.println",
"System.out",
"System",
"System.out",
"yoko",
"k++",
"k",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 0;\n\t\twhile (i == 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\tString nakami = \"\";\n\t\t\tString jouge = \"##\";\n\t\t\tint j = 0;\n\t\t\twhile (j < W - 2) {\n\t\t\t\tnakami += \".\";\n\t\t\t\tjouge += \"#\";\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tString yoko = \"#\" + nakami + \"#\";\n\t\t\tint k = 0;\n\t\t\twhile (k < H) {\n\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\tSystem.out.println(jouge);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(yoko);\n\t\t\t\t}\n\t\t\t\tk++;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 0;\n\t\twhile (i == 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\tString nakami = \"\";\n\t\t\tString jouge = \"##\";\n\t\t\tint j = 0;\n\t\t\twhile (j < W - 2) {\n\t\t\t\tnakami += \".\";\n\t\t\t\tjouge += \"#\";\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tString yoko = \"#\" + nakami + \"#\";\n\t\t\tint k = 0;\n\t\t\twhile (k < H) {\n\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\tSystem.out.println(jouge);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(yoko);\n\t\t\t\t}\n\t\t\t\tk++;\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\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 i = 0;
while (i == 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;
}
String nakami = "";
String jouge = "##";
int j = 0;
while (j < W - 2) {
nakami += ".";
jouge += "#";
j++;
}
String yoko = "#" + nakami + "#";
int k = 0;
while (k < H) {
if (k == 0 || k == H - 1) {
System.out.println(jouge);
} else {
System.out.println(yoko);
}
k++;
}
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,
14,
2,
2,
2,
13,
17,
2,
13,
2,
13,
17,
2,
2,
13,
17,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
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
],
[
113,
5
],
[
113,
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
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
62,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
61,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
61,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
47,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
14,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
8,
107
],
[
107,
108
],
[
108,
109
],
[
6,
110
],
[
110,
111
],
[
0,
112
],
[
112,
113
],
[
112,
114
]
] | [
"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\tif((i == 0 || i == h - 1) || (j == 0 || j == w - 1)) {\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tSystem.out.printf(\".\");\n\t\t\t\t\t}\n\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\tif((i == 0 || i == h - 1) || (j == 0 || j == w - 1)) {\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tSystem.out.printf(\".\");\n\t\t\t\t\t}\n\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\tif((i == 0 || i == h - 1) || (j == 0 || j == w - 1)) {\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tSystem.out.printf(\".\");\n\t\t\t\t\t}\n\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\tif((i == 0 || i == h - 1) || (j == 0 || j == w - 1)) {\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tSystem.out.printf(\".\");\n\t\t\t\t\t}\n\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\tif((i == 0 || i == h - 1) || (j == 0 || j == w - 1)) {\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tSystem.out.printf(\".\");\n\t\t\t\t\t}\n\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\tif((i == 0 || i == h - 1) || (j == 0 || j == w - 1)) {\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tSystem.out.printf(\".\");\n\t\t\t\t\t}\n\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\tif((i == 0 || i == h - 1) || (j == 0 || j == w - 1)) {\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tSystem.out.printf(\".\");\n\t\t\t\t\t}\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\tif((i == 0 || i == h - 1) || (j == 0 || j == w - 1)) {\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tSystem.out.printf(\".\");\n\t\t\t\t\t}\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\tif((i == 0 || i == h - 1) || (j == 0 || j == w - 1)) {\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tSystem.out.printf(\".\");\n\t\t\t\t\t}\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\tif((i == 0 || i == h - 1) || (j == 0 || j == w - 1)) {\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tSystem.out.printf(\".\");\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((i == 0 || i == h - 1) || (j == 0 || j == w - 1)) {\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tSystem.out.printf(\".\");\n\t\t\t\t\t}\n\t\t\t\t}",
"{\n\t\t\t\t\tif((i == 0 || i == h - 1) || (j == 0 || j == w - 1)) {\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tSystem.out.printf(\".\");\n\t\t\t\t\t}\n\t\t\t\t}",
"if((i == 0 || i == h - 1) || (j == 0 || j == w - 1)) {\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tSystem.out.printf(\".\");\n\t\t\t\t\t}",
"(i == 0 || i == h - 1) || (j == 0 || j == w - 1)",
"(i == 0 || i == h - 1)",
"i == 0",
"i",
"0",
"i == h - 1",
"i",
"h - 1",
"h",
"1",
"(j == 0 || j == w - 1)",
"j == 0",
"j",
"0",
"j == w - 1",
"j",
"w - 1",
"w",
"1",
"{\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}",
"System.out.printf(\"#\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"#\"",
"{\n\t\t\t\t\t\tSystem.out.printf(\".\");\n\t\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\tif((i == 0 || i == h - 1) || (j == 0 || j == w - 1)) {\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tSystem.out.printf(\".\");\n\t\t\t\t\t}\n\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\tif((i == 0 || i == h - 1) || (j == 0 || j == w - 1)) {\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tSystem.out.printf(\".\");\n\t\t\t\t\t}\n\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++) {
if((i == 0 || i == h - 1) || (j == 0 || j == w - 1)) {
System.out.printf("#");
}
else {
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,
17,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
17,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
14,
2,
2,
13,
17,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
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
],
[
139,
5
],
[
139,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
19,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
19,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
19,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
58,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
71,
79
],
[
79,
80
],
[
80,
81
],
[
71,
82
],
[
83,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
84,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
84,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
109,
111
],
[
102,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
102,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
120,
125
],
[
70,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
57,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
6,
136
],
[
136,
137
],
[
0,
138
],
[
138,
139
],
[
138,
140
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\twhile (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint H = Integer.parseInt(array[0]);\n\t\t\tint W = Integer.parseInt(array[1]);\n\n\t\t\tif (W == 0 && H == 0) {\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (j == 0 || j == W - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\twhile (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint H = Integer.parseInt(array[0]);\n\t\t\tint W = Integer.parseInt(array[1]);\n\n\t\t\tif (W == 0 && H == 0) {\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (j == 0 || j == W - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\twhile (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint H = Integer.parseInt(array[0]);\n\t\t\tint W = Integer.parseInt(array[1]);\n\n\t\t\tif (W == 0 && H == 0) {\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (j == 0 || j == W - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\twhile (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint H = Integer.parseInt(array[0]);\n\t\t\tint W = Integer.parseInt(array[1]);\n\n\t\t\tif (W == 0 && H == 0) {\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (j == 0 || j == W - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = 0;",
"i",
"0",
"while (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint H = Integer.parseInt(array[0]);\n\t\t\tint W = Integer.parseInt(array[1]);\n\n\t\t\tif (W == 0 && H == 0) {\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (j == 0 || j == W - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}",
"i < 1000",
"i",
"1000",
"{\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint H = Integer.parseInt(array[0]);\n\t\t\tint W = Integer.parseInt(array[1]);\n\n\t\t\tif (W == 0 && H == 0) {\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (j == 0 || j == W - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] array = line.split(\" \");",
"array",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int H = Integer.parseInt(array[0]);",
"H",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"int W = Integer.parseInt(array[1]);",
"W",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"if (W == 0 && H == 0) {\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (j == 0 || j == W - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"W == 0 && H == 0",
"W == 0",
"W",
"0",
"H == 0",
"H",
"0",
"{\n\t\t\t\tbreak;\n\n\t\t\t}",
"break;",
"{\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (j == 0 || j == W - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"for (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (j == 0 || j == W - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"int k = 0;",
"int k = 0;",
"k",
"0",
"k < H",
"k",
"H",
"k++",
"k++",
"k",
"{\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (j == 0 || j == W - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"{\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (j == 0 || j == W - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\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\tif (k == 0 || k == H - 1) {\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (j == 0 || j == W - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\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\tif (k == 0 || k == H - 1) {\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (j == 0 || j == W - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (j == 0 || j == W - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}",
"if (k == 0 || k == H - 1) {\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (j == 0 || j == W - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}",
"k == 0 || k == H - 1",
"k == 0",
"k",
"0",
"k == H - 1",
"k",
"H - 1",
"H",
"1",
"{\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"{\n\t\t\t\t\t\t\tif (j == 0 || j == W - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}",
"if (j == 0 || j == W - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}",
"j == 0 || j == W - 1",
"j == 0",
"j",
"0",
"j == W - 1",
"j",
"W - 1",
"W",
"1",
"{\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"{\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}",
"System.out.print(\".\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\".\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\twhile (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint H = Integer.parseInt(array[0]);\n\t\t\tint W = Integer.parseInt(array[1]);\n\n\t\t\tif (W == 0 && H == 0) {\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (j == 0 || j == W - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\twhile (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint H = Integer.parseInt(array[0]);\n\t\t\tint W = Integer.parseInt(array[1]);\n\n\t\t\tif (W == 0 && H == 0) {\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\n\t\t\t\tfor (int k = 0; k < H; k++) {\n\n\t\t\t\t\tfor (int j = 0; j < W; j++) {\n\t\t\t\t\t\tif (k == 0 || k == H - 1) {\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (j == 0 || j == W - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.print(\".\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int i = 0;
while (i < 1000) {
String line = sc.nextLine();
String[] array = line.split(" ");
int H = Integer.parseInt(array[0]);
int W = Integer.parseInt(array[1]);
if (W == 0 && H == 0) {
break;
} else {
for (int k = 0; k < H; k++) {
for (int j = 0; j < W; j++) {
if (k == 0 || k == H - 1) {
System.out.print("#");
} else {
if (j == 0 || j == W - 1) {
System.out.print("#");
} else {
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,
11,
1,
30,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
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,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
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
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
19,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
19,
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
],
[
70,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
77,
85
],
[
85,
86
],
[
86,
87
],
[
77,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
70,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
19,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
101,
109
],
[
109,
110
],
[
110,
111
],
[
101,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
19,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
19,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
6,
129
],
[
129,
130
]
] | [
"\nimport 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 a=0; a<W; a++) System.out.print(\"#\");\nSystem.out.println();\nfor(int c=2; c<H; c++){\nSystem.out.print(\"#\");\nfor(int b=2; b<W; b++) System.out.print(\".\");\nSystem.out.println(\"#\");\n}\nfor(int a=0; a<W; a++) System.out.print(\"#\");\nSystem.out.println();\nSystem.out.println();\n}\n}\n}",
"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 a=0; a<W; a++) System.out.print(\"#\");\nSystem.out.println();\nfor(int c=2; c<H; c++){\nSystem.out.print(\"#\");\nfor(int b=2; b<W; b++) System.out.print(\".\");\nSystem.out.println(\"#\");\n}\nfor(int a=0; a<W; a++) System.out.print(\"#\");\nSystem.out.println();\nSystem.out.println();\n}\n}\n}",
"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 a=0; a<W; a++) System.out.print(\"#\");\nSystem.out.println();\nfor(int c=2; c<H; c++){\nSystem.out.print(\"#\");\nfor(int b=2; b<W; b++) System.out.print(\".\");\nSystem.out.println(\"#\");\n}\nfor(int a=0; a<W; a++) System.out.print(\"#\");\nSystem.out.println();\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 a=0; a<W; a++) System.out.print(\"#\");\nSystem.out.println();\nfor(int c=2; c<H; c++){\nSystem.out.print(\"#\");\nfor(int b=2; b<W; b++) System.out.print(\".\");\nSystem.out.println(\"#\");\n}\nfor(int a=0; a<W; a++) System.out.print(\"#\");\nSystem.out.println();\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 a=0; a<W; a++) System.out.print(\"#\");\nSystem.out.println();\nfor(int c=2; c<H; c++){\nSystem.out.print(\"#\");\nfor(int b=2; b<W; b++) System.out.print(\".\");\nSystem.out.println(\"#\");\n}\nfor(int a=0; a<W; a++) System.out.print(\"#\");\nSystem.out.println();\nSystem.out.println();\n}",
";",
"{\nH =sc.nextInt();\nW =sc.nextInt();\nif(H == 0) break;\nfor(int a=0; a<W; a++) System.out.print(\"#\");\nSystem.out.println();\nfor(int c=2; c<H; c++){\nSystem.out.print(\"#\");\nfor(int b=2; b<W; b++) System.out.print(\".\");\nSystem.out.println(\"#\");\n}\nfor(int a=0; a<W; a++) System.out.print(\"#\");\nSystem.out.println();\nSystem.out.println();\n}",
"{\nH =sc.nextInt();\nW =sc.nextInt();\nif(H == 0) break;\nfor(int a=0; a<W; a++) System.out.print(\"#\");\nSystem.out.println();\nfor(int c=2; c<H; c++){\nSystem.out.print(\"#\");\nfor(int b=2; b<W; b++) System.out.print(\".\");\nSystem.out.println(\"#\");\n}\nfor(int a=0; a<W; a++) System.out.print(\"#\");\nSystem.out.println();\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 a=0; a<W; a++) System.out.print(\"#\");",
"int a=0;",
"int a=0;",
"a",
"0",
"a<W",
"a",
"W",
"a++",
"a++",
"a",
"System.out.print(\"#\");",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"for(int c=2; c<H; c++){\nSystem.out.print(\"#\");\nfor(int b=2; b<W; b++) System.out.print(\".\");\nSystem.out.println(\"#\");\n}",
"int c=2;",
"int c=2;",
"c",
"2",
"c<H",
"c",
"H",
"c++",
"c++",
"c",
"{\nSystem.out.print(\"#\");\nfor(int b=2; b<W; b++) System.out.print(\".\");\nSystem.out.println(\"#\");\n}",
"{\nSystem.out.print(\"#\");\nfor(int b=2; b<W; b++) System.out.print(\".\");\nSystem.out.println(\"#\");\n}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"for(int b=2; b<W; b++) System.out.print(\".\");",
"int b=2;",
"int b=2;",
"b",
"2",
"b<W",
"b",
"W",
"b++",
"b++",
"b",
"System.out.print(\".\");",
"System.out.print(\".\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\".\"",
"System.out.println(\"#\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"#\"",
"for(int a=0; a<W; a++) System.out.print(\"#\");",
"int a=0;",
"int a=0;",
"a",
"0",
"a<W",
"a",
"W",
"a++",
"a++",
"a",
"System.out.print(\"#\");",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"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 a=0; a<W; a++) System.out.print("#");
System.out.println();
for(int c=2; c<H; c++){
System.out.print("#");
for(int b=2; b<W; b++) System.out.print(".");
System.out.println("#");
}
for(int a=0; a<W; a++) System.out.print("#");
System.out.println();
System.out.println();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
2,
13,
2,
13,
17,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
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
],
[
110,
5
],
[
110,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
16,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
37,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
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
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
72,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
63,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
63,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
49,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
16,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
6,
107
],
[
107,
108
],
[
0,
109
],
[
109,
110
],
[
109,
111
]
] | [
"import java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n int H = in.nextInt();\n int W = in.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 if((i==0||j==0)||(i==H-1||j==W-1)){\n System.out.print(\"#\");\n }else{\n System.out.print(\".\");\n }\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n }\n\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n int H = in.nextInt();\n int W = in.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 if((i==0||j==0)||(i==H-1||j==W-1)){\n System.out.print(\"#\");\n }else{\n System.out.print(\".\");\n }\n }\n System.out.println();\n }\n System.out.println();\n }\n }\n }",
"Main",
"public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n int H = in.nextInt();\n int W = in.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 if((i==0||j==0)||(i==H-1||j==W-1)){\n System.out.print(\"#\");\n }else{\n System.out.print(\".\");\n }\n }\n System.out.println();\n }\n System.out.println();\n }\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n int H = in.nextInt();\n int W = in.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 if((i==0||j==0)||(i==H-1||j==W-1)){\n System.out.print(\"#\");\n }else{\n System.out.print(\".\");\n }\n }\n System.out.println();\n }\n System.out.println();\n }\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while(in.hasNext()){\n int H = in.nextInt();\n int W = in.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 if((i==0||j==0)||(i==H-1||j==W-1)){\n System.out.print(\"#\");\n }else{\n System.out.print(\".\");\n }\n }\n System.out.println();\n }\n System.out.println();\n }",
"in.hasNext()",
"in.hasNext",
"in",
"{\n int H = in.nextInt();\n int W = in.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 if((i==0||j==0)||(i==H-1||j==W-1)){\n System.out.print(\"#\");\n }else{\n System.out.print(\".\");\n }\n }\n System.out.println();\n }\n 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){\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 if((i==0||j==0)||(i==H-1||j==W-1)){\n System.out.print(\"#\");\n }else{\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 if((i==0||j==0)||(i==H-1||j==W-1)){\n System.out.print(\"#\");\n }else{\n System.out.print(\".\");\n }\n }\n System.out.println();\n }",
"{\n for(int j = 0; j<W ; j++){\n if((i==0||j==0)||(i==H-1||j==W-1)){\n System.out.print(\"#\");\n }else{\n System.out.print(\".\");\n }\n }\n System.out.println();\n }",
"for(int j = 0; j<W ; j++){\n if((i==0||j==0)||(i==H-1||j==W-1)){\n System.out.print(\"#\");\n }else{\n System.out.print(\".\");\n }\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j<W",
"j",
"W",
"j++",
"j++",
"j",
"{\n if((i==0||j==0)||(i==H-1||j==W-1)){\n System.out.print(\"#\");\n }else{\n System.out.print(\".\");\n }\n }",
"{\n if((i==0||j==0)||(i==H-1||j==W-1)){\n System.out.print(\"#\");\n }else{\n System.out.print(\".\");\n }\n }",
"if((i==0||j==0)||(i==H-1||j==W-1)){\n System.out.print(\"#\");\n }else{\n System.out.print(\".\");\n }",
"(i==0||j==0)||(i==H-1||j==W-1)",
"(i==0||j==0)",
"i==0",
"i",
"0",
"j==0",
"j",
"0",
"(i==H-1||j==W-1)",
"i==H-1",
"i",
"H-1",
"H",
"1",
"j==W-1",
"j",
"W-1",
"W",
"1",
"{\n System.out.print(\"#\");\n }",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"{\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 in = new Scanner(System.in);\n while(in.hasNext()){\n int H = in.nextInt();\n int W = in.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 if((i==0||j==0)||(i==H-1||j==W-1)){\n System.out.print(\"#\");\n }else{\n System.out.print(\".\");\n }\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 in = new Scanner(System.in);\n while(in.hasNext()){\n int H = in.nextInt();\n int W = in.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 if((i==0||j==0)||(i==H-1||j==W-1)){\n System.out.print(\"#\");\n }else{\n System.out.print(\".\");\n }\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 in = new Scanner(System.in);
while(in.hasNext()){
int H = in.nextInt();
int W = in.nextInt();
if(H==0&&W==0){
break;
}
for(int i = 0; i<H ; i++){
for(int j = 0; j<W ; j++){
if((i==0||j==0)||(i==H-1||j==W-1)){
System.out.print("#");
}else{
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,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
17,
2,
13,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
17,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
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
],
[
141,
5
],
[
141,
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
],
[
43,
44
],
[
24,
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
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
58,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
69,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
58,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
94,
95
],
[
94,
96
],
[
89,
97
],
[
97,
98
],
[
98,
99
],
[
89,
100
],
[
101,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
109,
111
],
[
102,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
102,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
120,
125
],
[
57,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
126,
131
],
[
24,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
132,
137
],
[
6,
138
],
[
138,
139
],
[
0,
140
],
[
140,
141
],
[
140,
142
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor(int a = 1;a>0;a++){\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\tfor(int b = 0;b<H;b++){\n\t\t\t\tif(b==0 || b==(H-1)){\n\t\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tfor(int d = 0;d<W;d++){\n\t\t\t\t\t\tif(d == 0 || d == (W-1)){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.print(\".\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor(int a = 1;a>0;a++){\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\tfor(int b = 0;b<H;b++){\n\t\t\t\tif(b==0 || b==(H-1)){\n\t\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tfor(int d = 0;d<W;d++){\n\t\t\t\t\t\tif(d == 0 || d == (W-1)){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.print(\".\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\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\tfor(int a = 1;a>0;a++){\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\tfor(int b = 0;b<H;b++){\n\t\t\t\tif(b==0 || b==(H-1)){\n\t\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tfor(int d = 0;d<W;d++){\n\t\t\t\t\t\tif(d == 0 || d == (W-1)){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.print(\".\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\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(int a = 1;a>0;a++){\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\tfor(int b = 0;b<H;b++){\n\t\t\t\tif(b==0 || b==(H-1)){\n\t\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tfor(int d = 0;d<W;d++){\n\t\t\t\t\t\tif(d == 0 || d == (W-1)){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.print(\".\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\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(int a = 1;a>0;a++){\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\tfor(int b = 0;b<H;b++){\n\t\t\t\tif(b==0 || b==(H-1)){\n\t\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tfor(int d = 0;d<W;d++){\n\t\t\t\t\t\tif(d == 0 || d == (W-1)){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.print(\".\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\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 a = 1;",
"int a = 1;",
"a",
"1",
"a>0",
"a",
"0",
"a++",
"a++",
"a",
"{\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\tfor(int b = 0;b<H;b++){\n\t\t\t\tif(b==0 || b==(H-1)){\n\t\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tfor(int d = 0;d<W;d++){\n\t\t\t\t\t\tif(d == 0 || d == (W-1)){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.print(\".\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\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\t}\n\t\t\tfor(int b = 0;b<H;b++){\n\t\t\t\tif(b==0 || b==(H-1)){\n\t\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tfor(int d = 0;d<W;d++){\n\t\t\t\t\t\tif(d == 0 || d == (W-1)){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.print(\".\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\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 b = 0;b<H;b++){\n\t\t\t\tif(b==0 || b==(H-1)){\n\t\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tfor(int d = 0;d<W;d++){\n\t\t\t\t\t\tif(d == 0 || d == (W-1)){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.print(\".\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"int b = 0;",
"int b = 0;",
"b",
"0",
"b<H",
"b",
"H",
"b++",
"b++",
"b",
"{\n\t\t\t\tif(b==0 || b==(H-1)){\n\t\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tfor(int d = 0;d<W;d++){\n\t\t\t\t\t\tif(d == 0 || d == (W-1)){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.print(\".\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"{\n\t\t\t\tif(b==0 || b==(H-1)){\n\t\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tfor(int d = 0;d<W;d++){\n\t\t\t\t\t\tif(d == 0 || d == (W-1)){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.print(\".\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"if(b==0 || b==(H-1)){\n\t\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tfor(int d = 0;d<W;d++){\n\t\t\t\t\t\tif(d == 0 || d == (W-1)){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.print(\".\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}",
"b==0 || b==(H-1)",
"b==0",
"b",
"0",
"b==(H-1)",
"b",
"(H-1)",
"H",
"1",
"{\n\t\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}",
"for(int c =0;c<W;c++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}",
"int c =0;",
"int c =0;",
"c",
"0",
"c<W",
"c",
"W",
"c++",
"c++",
"c",
"{\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",
"\"#\"",
"{\n\t\t\t\t\tfor(int d = 0;d<W;d++){\n\t\t\t\t\t\tif(d == 0 || d == (W-1)){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.print(\".\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}",
"for(int d = 0;d<W;d++){\n\t\t\t\t\t\tif(d == 0 || d == (W-1)){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.print(\".\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}",
"int d = 0;",
"int d = 0;",
"d",
"0",
"d<W",
"d",
"W",
"d++",
"d++",
"d",
"{\n\t\t\t\t\t\tif(d == 0 || d == (W-1)){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.print(\".\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tif(d == 0 || d == (W-1)){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.print(\".\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}",
"if(d == 0 || d == (W-1)){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.print(\".\");\n\t\t\t\t\t\t}",
"d == 0 || d == (W-1)",
"d == 0",
"d",
"0",
"d == (W-1)",
"d",
"(W-1)",
"W",
"1",
"{\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t}",
"System.out.print(\"#\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"#\"",
"{\n\t\t\t\t\t\t\tSystem.out.print(\".\");\n\t\t\t\t\t\t}",
"System.out.print(\".\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\".\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor(int a = 1;a>0;a++){\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\tfor(int b = 0;b<H;b++){\n\t\t\t\tif(b==0 || b==(H-1)){\n\t\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tfor(int d = 0;d<W;d++){\n\t\t\t\t\t\tif(d == 0 || d == (W-1)){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.print(\".\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\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\tfor(int a = 1;a>0;a++){\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\tfor(int b = 0;b<H;b++){\n\t\t\t\tif(b==0 || b==(H-1)){\n\t\t\t\t\tfor(int c =0;c<W;c++){\n\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tfor(int d = 0;d<W;d++){\n\t\t\t\t\t\tif(d == 0 || d == (W-1)){\n\t\t\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.print(\".\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\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);
for(int a = 1;a>0;a++){
int H = scan.nextInt();
int W = scan.nextInt();
if(H == 0 && W == 0){
break;
}
for(int b = 0;b<H;b++){
if(b==0 || b==(H-1)){
for(int c =0;c<W;c++){
System.out.print("#");
}
}else{
for(int d = 0;d<W;d++){
if(d == 0 || d == (W-1)){
System.out.print("#");
}else{
System.out.print(".");
}
}
}
System.out.println("");
}
System.out.println("");
}
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.