node_ids
sequencelengths 4
1.4k
| edge_index
sequencelengths 1
2.22k
| text
sequencelengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
13,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
32,
5
],
[
32,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
21,
22
],
[
32,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tStringBuilder s = new StringBuilder(sc.next());\n\t\tSystem.out.println(s.reverse());\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tStringBuilder s = new StringBuilder(sc.next());\n\t\tSystem.out.println(s.reverse());\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"Main",
"void run() {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tStringBuilder s = new StringBuilder(sc.next());\n\t\tSystem.out.println(s.reverse());\n\t}",
"run",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tStringBuilder s = new StringBuilder(sc.next());\n\t\tSystem.out.println(s.reverse());\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuilder s = new StringBuilder(sc.next());",
"s",
"new StringBuilder(sc.next())",
"System.out.println(s.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"s.reverse()",
"s.reverse",
"s",
"public static void main(String[] args) {\n\t\tnew Main().run();\n\t}",
"main",
"{\n\t\tnew Main().run();\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tStringBuilder s = new StringBuilder(sc.next());\n\t\tSystem.out.println(s.reverse());\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"public class Main {\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tStringBuilder s = new StringBuilder(sc.next());\n\t\tSystem.out.println(s.reverse());\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
void run() {
Scanner sc = new Scanner(System.in);
StringBuilder s = new StringBuilder(sc.next());
System.out.println(s.reverse());
}
public static void main(String[] args) {
new Main().run();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
2,
0,
13,
4,
18,
13,
17,
40,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
13,
40,
13,
28,
13,
4,
18,
13,
30,
30,
0,
18,
13,
40,
13,
13,
4,
18,
18,
13,
13,
20,
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
],
[
68,
11
],
[
68,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
21,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
34,
44
],
[
44,
45
],
[
34,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
46,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
53,
58
],
[
34,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
12,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"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 String line = \"\";\n\n while ((line = br.readLine()) != null && !line.isEmpty()) {\n int len = line.length();\n char[] str = new char[len];\n\n len--;\n for (char c : line.toCharArray()) {\n str[len--] = c;\n }\n System.out.println(new String(str));\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = \"\";\n\n while ((line = br.readLine()) != null && !line.isEmpty()) {\n int len = line.length();\n char[] str = new char[len];\n\n len--;\n for (char c : line.toCharArray()) {\n str[len--] = c;\n }\n System.out.println(new String(str));\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = \"\";\n\n while ((line = br.readLine()) != null && !line.isEmpty()) {\n int len = line.length();\n char[] str = new char[len];\n\n len--;\n for (char c : line.toCharArray()) {\n str[len--] = c;\n }\n System.out.println(new String(str));\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = \"\";\n\n while ((line = br.readLine()) != null && !line.isEmpty()) {\n int len = line.length();\n char[] str = new char[len];\n\n len--;\n for (char c : line.toCharArray()) {\n str[len--] = c;\n }\n System.out.println(new String(str));\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = \"\";",
"line",
"\"\"",
"while ((line = br.readLine()) != null && !line.isEmpty()) {\n int len = line.length();\n char[] str = new char[len];\n\n len--;\n for (char c : line.toCharArray()) {\n str[len--] = c;\n }\n System.out.println(new String(str));\n }",
"(line = br.readLine()) != null && !line.isEmpty()",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"!line.isEmpty()",
"line.isEmpty()",
"line.isEmpty",
"line",
"{\n int len = line.length();\n char[] str = new char[len];\n\n len--;\n for (char c : line.toCharArray()) {\n str[len--] = c;\n }\n System.out.println(new String(str));\n }",
"int len = line.length();",
"len",
"line.length()",
"line.length",
"line",
"char[] str = new char[len];",
"str",
"new char[len]",
"len",
"len--",
"len",
"for (char c : line.toCharArray()) {\n str[len--] = c;\n }",
"char c",
"line.toCharArray()",
"line.toCharArray",
"line",
"{\n str[len--] = c;\n }",
"{\n str[len--] = c;\n }",
"str[len--] = c",
"str[len--]",
"str",
"len--",
"len",
"c",
"System.out.println(new String(str))",
"System.out.println",
"System.out",
"System",
"System.out",
"new String(str)",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = \"\";\n\n while ((line = br.readLine()) != null && !line.isEmpty()) {\n int len = line.length();\n char[] str = new char[len];\n\n len--;\n for (char c : line.toCharArray()) {\n str[len--] = c;\n }\n System.out.println(new String(str));\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 String line = \"\";\n\n while ((line = br.readLine()) != null && !line.isEmpty()) {\n int len = line.length();\n char[] str = new char[len];\n\n len--;\n for (char c : line.toCharArray()) {\n str[len--] = c;\n }\n System.out.println(new String(str));\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = "";
while ((line = br.readLine()) != null && !line.isEmpty()) {
int len = line.length();
char[] str = new char[len];
len--;
for (char c : line.toCharArray()) {
str[len--] = c;
}
System.out.println(new String(str));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
4,
18,
13,
13,
4,
18,
18,
13,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
25,
32
],
[
32,
33
],
[
32,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
6,
57
],
[
57,
58
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] a){\n\t\t\tScanner input = new Scanner(System.in);\n\t\t\tString OrigWord = input.nextLine();\n\t\t\tint OrigLen = OrigWord.length(); \n\t\t\tString NewWord = \"\";\n\t\t\tfor (int x=OrigLen-1; x >= 0; x--){\n\t\t\t\t\n\t\t\t\tNewWord = NewWord + (OrigWord.charAt(x)); \n\t\t\t\t\n\t\t\t}\n\t\t\t\t\t\t\n\t\t\tSystem.out.println(NewWord);\n\t\t input.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] a){\n\t\t\tScanner input = new Scanner(System.in);\n\t\t\tString OrigWord = input.nextLine();\n\t\t\tint OrigLen = OrigWord.length(); \n\t\t\tString NewWord = \"\";\n\t\t\tfor (int x=OrigLen-1; x >= 0; x--){\n\t\t\t\t\n\t\t\t\tNewWord = NewWord + (OrigWord.charAt(x)); \n\t\t\t\t\n\t\t\t}\n\t\t\t\t\t\t\n\t\t\tSystem.out.println(NewWord);\n\t\t input.close();\n\t}\n\n}",
"Main",
"public static void main(String[] a){\n\t\t\tScanner input = new Scanner(System.in);\n\t\t\tString OrigWord = input.nextLine();\n\t\t\tint OrigLen = OrigWord.length(); \n\t\t\tString NewWord = \"\";\n\t\t\tfor (int x=OrigLen-1; x >= 0; x--){\n\t\t\t\t\n\t\t\t\tNewWord = NewWord + (OrigWord.charAt(x)); \n\t\t\t\t\n\t\t\t}\n\t\t\t\t\t\t\n\t\t\tSystem.out.println(NewWord);\n\t\t input.close();\n\t}",
"main",
"{\n\t\t\tScanner input = new Scanner(System.in);\n\t\t\tString OrigWord = input.nextLine();\n\t\t\tint OrigLen = OrigWord.length(); \n\t\t\tString NewWord = \"\";\n\t\t\tfor (int x=OrigLen-1; x >= 0; x--){\n\t\t\t\t\n\t\t\t\tNewWord = NewWord + (OrigWord.charAt(x)); \n\t\t\t\t\n\t\t\t}\n\t\t\t\t\t\t\n\t\t\tSystem.out.println(NewWord);\n\t\t input.close();\n\t}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"String OrigWord = input.nextLine();",
"OrigWord",
"input.nextLine()",
"input.nextLine",
"input",
"int OrigLen = OrigWord.length();",
"OrigLen",
"OrigWord.length()",
"OrigWord.length",
"OrigWord",
"String NewWord = \"\";",
"NewWord",
"\"\"",
"for (int x=OrigLen-1; x >= 0; x--){\n\t\t\t\t\n\t\t\t\tNewWord = NewWord + (OrigWord.charAt(x)); \n\t\t\t\t\n\t\t\t}",
"int x=OrigLen-1;",
"int x=OrigLen-1;",
"x",
"OrigLen-1",
"OrigLen",
"1",
"x >= 0",
"x",
"0",
"x--",
"x--",
"x",
"{\n\t\t\t\t\n\t\t\t\tNewWord = NewWord + (OrigWord.charAt(x)); \n\t\t\t\t\n\t\t\t}",
"{\n\t\t\t\t\n\t\t\t\tNewWord = NewWord + (OrigWord.charAt(x)); \n\t\t\t\t\n\t\t\t}",
"NewWord = NewWord + (OrigWord.charAt(x))",
"NewWord",
"NewWord + (OrigWord.charAt(x))",
"NewWord",
"(OrigWord.charAt(x))",
"OrigWord.charAt",
"OrigWord",
"x",
"System.out.println(NewWord)",
"System.out.println",
"System.out",
"System",
"System.out",
"NewWord",
"input.close()",
"input.close",
"input",
"String[] a",
"a"
] | import java.util.Scanner;
class Main{
public static void main(String[] a){
Scanner input = new Scanner(System.in);
String OrigWord = input.nextLine();
int OrigLen = OrigWord.length();
String NewWord = "";
for (int x=OrigLen-1; x >= 0; x--){
NewWord = NewWord + (OrigWord.charAt(x));
}
System.out.println(NewWord);
input.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
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
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
24,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
20,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
11,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
9,
51
],
[
51,
52
]
] | [
"import java.util.Scanner;\nimport java.util.Date;\n\n\nclass Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\n\tString str=sc.next();\n\n\tfor(int i=str.length()-1;i>=0;i--){\n\t System.out.print(str.charAt(i));\n\t}\n\tSystem.out.println();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Date;",
"Date",
"java.util",
"class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\n\tString str=sc.next();\n\n\tfor(int i=str.length()-1;i>=0;i--){\n\t System.out.print(str.charAt(i));\n\t}\n\tSystem.out.println();\n }\n}",
"Main",
"public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\n\tString str=sc.next();\n\n\tfor(int i=str.length()-1;i>=0;i--){\n\t System.out.print(str.charAt(i));\n\t}\n\tSystem.out.println();\n }",
"main",
"{\n\tScanner sc = new Scanner(System.in);\n\n\tString str=sc.next();\n\n\tfor(int i=str.length()-1;i>=0;i--){\n\t System.out.print(str.charAt(i));\n\t}\n\tSystem.out.println();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str=sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"for(int i=str.length()-1;i>=0;i--){\n\t System.out.print(str.charAt(i));\n\t}",
"int i=str.length()-1;",
"int i=str.length()-1;",
"i",
"str.length()-1",
"str.length()",
"str.length",
"str",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t System.out.print(str.charAt(i));\n\t}",
"{\n\t System.out.print(str.charAt(i));\n\t}",
"System.out.print(str.charAt(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args"
] | import java.util.Scanner;
import java.util.Date;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String str=sc.next();
for(int i=str.length()-1;i>=0;i--){
System.out.print(str.charAt(i));
}
System.out.println();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
17,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
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
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
23,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
40,
49
],
[
49,
50
],
[
49,
51
],
[
40,
52
],
[
52,
53
],
[
53,
54
],
[
40,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
23,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
12,
71
],
[
71,
72
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nclass Main{\n public static void main(String args[]){\n\ttry{\n\t InputStreamReader is = new InputStreamReader(System.in);\n\t BufferedReader br = new BufferedReader(is);\n\t String str = br.readLine();\n\t char[] cary = str.toCharArray();\n\t for(int i=(cary.length-1);i>=0;i--){\n\t\tSystem.out.print(cary[i]);\n\t }\n\t System.out.print(\"\\n\");\n\n\t}\n\tcatch(Exception e){\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",
"class Main{\n public static void main(String args[]){\n\ttry{\n\t InputStreamReader is = new InputStreamReader(System.in);\n\t BufferedReader br = new BufferedReader(is);\n\t String str = br.readLine();\n\t char[] cary = str.toCharArray();\n\t for(int i=(cary.length-1);i>=0;i--){\n\t\tSystem.out.print(cary[i]);\n\t }\n\t System.out.print(\"\\n\");\n\n\t}\n\tcatch(Exception e){\n\t System.exit(0);\n\t}\n }\n}",
"Main",
"public static void main(String args[]){\n\ttry{\n\t InputStreamReader is = new InputStreamReader(System.in);\n\t BufferedReader br = new BufferedReader(is);\n\t String str = br.readLine();\n\t char[] cary = str.toCharArray();\n\t for(int i=(cary.length-1);i>=0;i--){\n\t\tSystem.out.print(cary[i]);\n\t }\n\t System.out.print(\"\\n\");\n\n\t}\n\tcatch(Exception e){\n\t System.exit(0);\n\t}\n }",
"main",
"{\n\ttry{\n\t InputStreamReader is = new InputStreamReader(System.in);\n\t BufferedReader br = new BufferedReader(is);\n\t String str = br.readLine();\n\t char[] cary = str.toCharArray();\n\t for(int i=(cary.length-1);i>=0;i--){\n\t\tSystem.out.print(cary[i]);\n\t }\n\t System.out.print(\"\\n\");\n\n\t}\n\tcatch(Exception e){\n\t System.exit(0);\n\t}\n }",
"try{\n\t InputStreamReader is = new InputStreamReader(System.in);\n\t BufferedReader br = new BufferedReader(is);\n\t String str = br.readLine();\n\t char[] cary = str.toCharArray();\n\t for(int i=(cary.length-1);i>=0;i--){\n\t\tSystem.out.print(cary[i]);\n\t }\n\t System.out.print(\"\\n\");\n\n\t}\n\tcatch(Exception e){\n\t System.exit(0);\n\t}",
"catch(Exception e){\n\t System.exit(0);\n\t}",
"Exception e",
"{\n\t System.exit(0);\n\t}",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n\t InputStreamReader is = new InputStreamReader(System.in);\n\t BufferedReader br = new BufferedReader(is);\n\t String str = br.readLine();\n\t char[] cary = str.toCharArray();\n\t for(int i=(cary.length-1);i>=0;i--){\n\t\tSystem.out.print(cary[i]);\n\t }\n\t System.out.print(\"\\n\");\n\n\t}",
"InputStreamReader is = new InputStreamReader(System.in);",
"is",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(is);",
"br",
"new BufferedReader(is)",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"char[] cary = str.toCharArray();",
"cary",
"str.toCharArray()",
"str.toCharArray",
"str",
"for(int i=(cary.length-1);i>=0;i--){\n\t\tSystem.out.print(cary[i]);\n\t }",
"int i=(cary.length-1);",
"int i=(cary.length-1);",
"i",
"(cary.length-1)",
"cary.length",
"cary",
"cary.length",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\tSystem.out.print(cary[i]);\n\t }",
"{\n\t\tSystem.out.print(cary[i]);\n\t }",
"System.out.print(cary[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"cary[i]",
"cary",
"i",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String args[]",
"args"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
class Main{
public static void main(String args[]){
try{
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(is);
String str = br.readLine();
char[] cary = str.toCharArray();
for(int i=(cary.length-1);i>=0;i--){
System.out.print(cary[i]);
}
System.out.print("\n");
}
catch(Exception e){
System.exit(0);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
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
],
[
11,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
9,
28
],
[
28,
29
]
] | [
"import java.util.Scanner;\nimport java.lang.StringBuffer;\n\nclass Main{\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n StringBuffer sb = new StringBuffer(in.nextLine());\n System.out.println(sb.reverse().toString());\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.lang.StringBuffer;",
"StringBuffer",
"java.lang",
"class Main{\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n StringBuffer sb = new StringBuffer(in.nextLine());\n System.out.println(sb.reverse().toString());\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n StringBuffer sb = new StringBuffer(in.nextLine());\n System.out.println(sb.reverse().toString());\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n StringBuffer sb = new StringBuffer(in.nextLine());\n System.out.println(sb.reverse().toString());\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"StringBuffer sb = new StringBuffer(in.nextLine());",
"sb",
"new StringBuffer(in.nextLine())",
"System.out.println(sb.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"String[] args",
"args"
] | import java.util.Scanner;
import java.lang.StringBuffer;
class Main{
public static void main(String[] args){
Scanner in = new Scanner(System.in);
StringBuffer sb = new StringBuffer(in.nextLine());
System.out.println(sb.reverse().toString());
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
2,
0,
13,
4,
18,
18,
13,
13,
17,
1,
0,
13,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
9,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
13,
21
],
[
9,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
9,
28
],
[
5,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
3,
35
],
[
35,
36
]
] | [
"class Main{public static void main(String[]g)throws Exception{String s=\"\";for(int c;(c=System.in.read())>32;s=(char)c+s);System.out.println(s);}}",
"class Main{public static void main(String[]g)throws Exception{String s=\"\";for(int c;(c=System.in.read())>32;s=(char)c+s);System.out.println(s);}}",
"Main",
"public static void main(String[]g)throws Exception{String s=\"\";for(int c;(c=System.in.read())>32;s=(char)c+s);System.out.println(s);}",
"main",
"{String s=\"\";for(int c;(c=System.in.read())>32;s=(char)c+s);System.out.println(s);}",
"String s=\"\";",
"s",
"\"\"",
"for(int c;(c=System.in.read())>32;s=(char)c+s);",
"int c;",
"int c;",
"c",
"(c=System.in.read())>32",
"(c=System.in.read())",
"c",
"System.in.read()",
"System.in.read",
"System.in",
"System",
"System.in",
"32",
"s=(char)c+s",
"s=(char)c+s",
"s",
"(char)c+s",
"(char)c",
"s",
";",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String[]g",
"g"
] | class Main{public static void main(String[]g)throws Exception{String s="";for(int c;(c=System.in.read())>32;s=(char)c+s);System.out.println(s);}}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
17,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
68,
5
],
[
68,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
13,
16
],
[
9,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
17,
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
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
53,
53
],
[
53,
54
],
[
53,
55
],
[
53,
56
],
[
17,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
63,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"import java.io.*;\n//import java.math.BigDecimal;\n//import java.lang.reflect.Array;\n//import java.util.Arrays;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString line = br.readLine();\n//\t\t\tdo {\n//\t\t\t\tString[] in = line.split(\" \", 0);\n//\t\t\t\t//???????????????????¨????\n//\t\t\t\t\n//\t\t\t\t//???????????§??????\n//\t\t\t\tline = br.readLine();\n//\t\t\t} while (line != null);\n\t\t\tint num = line.length();\n\t\t\tString x = \"\";\n\t\t\tfor(int i = 0; i < num; i++){\n\t\t\t\tx += line.charAt(num - i - 1);\n\t\t\t}\n\t\t\tSystem.out.println(x.toString());\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t}\n\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString line = br.readLine();\n//\t\t\tdo {\n//\t\t\t\tString[] in = line.split(\" \", 0);\n//\t\t\t\t//???????????????????¨????\n//\t\t\t\t\n//\t\t\t\t//???????????§??????\n//\t\t\t\tline = br.readLine();\n//\t\t\t} while (line != null);\n\t\t\tint num = line.length();\n\t\t\tString x = \"\";\n\t\t\tfor(int i = 0; i < num; i++){\n\t\t\t\tx += line.charAt(num - i - 1);\n\t\t\t}\n\t\t\tSystem.out.println(x.toString());\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString line = br.readLine();\n//\t\t\tdo {\n//\t\t\t\tString[] in = line.split(\" \", 0);\n//\t\t\t\t//???????????????????¨????\n//\t\t\t\t\n//\t\t\t\t//???????????§??????\n//\t\t\t\tline = br.readLine();\n//\t\t\t} while (line != null);\n\t\t\tint num = line.length();\n\t\t\tString x = \"\";\n\t\t\tfor(int i = 0; i < num; i++){\n\t\t\t\tx += line.charAt(num - i - 1);\n\t\t\t}\n\t\t\tSystem.out.println(x.toString());\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString line = br.readLine();\n//\t\t\tdo {\n//\t\t\t\tString[] in = line.split(\" \", 0);\n//\t\t\t\t//???????????????????¨????\n//\t\t\t\t\n//\t\t\t\t//???????????§??????\n//\t\t\t\tline = br.readLine();\n//\t\t\t} while (line != null);\n\t\t\tint num = line.length();\n\t\t\tString x = \"\";\n\t\t\tfor(int i = 0; i < num; i++){\n\t\t\t\tx += line.charAt(num - i - 1);\n\t\t\t}\n\t\t\tSystem.out.println(x.toString());\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t}",
"try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString line = br.readLine();\n//\t\t\tdo {\n//\t\t\t\tString[] in = line.split(\" \", 0);\n//\t\t\t\t//???????????????????¨????\n//\t\t\t\t\n//\t\t\t\t//???????????§??????\n//\t\t\t\tline = br.readLine();\n//\t\t\t} while (line != null);\n\t\t\tint num = line.length();\n\t\t\tString x = \"\";\n\t\t\tfor(int i = 0; i < num; i++){\n\t\t\t\tx += line.charAt(num - i - 1);\n\t\t\t}\n\t\t\tSystem.out.println(x.toString());\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\tSystem.exit(0);\n\t\t}",
"catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\tSystem.exit(0);\n\t\t}",
"Exception e",
"{\n\t\t\t// TODO: handle exception\n\t\t\tSystem.exit(0);\n\t\t}",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n\t\t\tString line = br.readLine();\n//\t\t\tdo {\n//\t\t\t\tString[] in = line.split(\" \", 0);\n//\t\t\t\t//???????????????????¨????\n//\t\t\t\t\n//\t\t\t\t//???????????§??????\n//\t\t\t\tline = br.readLine();\n//\t\t\t} while (line != null);\n\t\t\tint num = line.length();\n\t\t\tString x = \"\";\n\t\t\tfor(int i = 0; i < num; i++){\n\t\t\t\tx += line.charAt(num - i - 1);\n\t\t\t}\n\t\t\tSystem.out.println(x.toString());\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"int num = line.length();",
"num",
"line.length()",
"line.length",
"line",
"String x = \"\";",
"x",
"\"\"",
"for(int i = 0; i < num; i++){\n\t\t\t\tx += line.charAt(num - i - 1);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < num",
"i",
"num",
"i++",
"i++",
"i",
"{\n\t\t\t\tx += line.charAt(num - i - 1);\n\t\t\t}",
"{\n\t\t\t\tx += line.charAt(num - i - 1);\n\t\t\t}",
"x += line.charAt(num - i - 1)",
"x",
"line.charAt(num - i - 1)",
"line.charAt",
"line",
"num - i - 1",
"num - i - 1",
"num",
"i",
"1",
"System.out.println(x.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"x.toString()",
"x.toString",
"x",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString line = br.readLine();\n//\t\t\tdo {\n//\t\t\t\tString[] in = line.split(\" \", 0);\n//\t\t\t\t//???????????????????¨????\n//\t\t\t\t\n//\t\t\t\t//???????????§??????\n//\t\t\t\tline = br.readLine();\n//\t\t\t} while (line != null);\n\t\t\tint num = line.length();\n\t\t\tString x = \"\";\n\t\t\tfor(int i = 0; i < num; i++){\n\t\t\t\tx += line.charAt(num - i - 1);\n\t\t\t}\n\t\t\tSystem.out.println(x.toString());\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString line = br.readLine();\n//\t\t\tdo {\n//\t\t\t\tString[] in = line.split(\" \", 0);\n//\t\t\t\t//???????????????????¨????\n//\t\t\t\t\n//\t\t\t\t//???????????§??????\n//\t\t\t\tline = br.readLine();\n//\t\t\t} while (line != null);\n\t\t\tint num = line.length();\n\t\t\tString x = \"\";\n\t\t\tfor(int i = 0; i < num; i++){\n\t\t\t\tx += line.charAt(num - i - 1);\n\t\t\t}\n\t\t\tSystem.out.println(x.toString());\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.io.*;
//import java.math.BigDecimal;
//import java.lang.reflect.Array;
//import java.util.Arrays;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
String line = br.readLine();
// do {
// String[] in = line.split(" ", 0);
// //???????????????????¨????
//
// //???????????§??????
// line = br.readLine();
// } while (line != null);
int num = line.length();
String x = "";
for(int i = 0; i < num; i++){
x += line.charAt(num - i - 1);
}
System.out.println(x.toString());
} catch (Exception e) {
// TODO: handle exception
System.exit(0);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
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
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
27,
28
],
[
12,
29
],
[
29,
30
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tStringBuilder sb = new StringBuilder(br.readLine());\n\n\t\tSystem.out.println(sb.reverse());\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",
"class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tStringBuilder sb = new StringBuilder(br.readLine());\n\n\t\tSystem.out.println(sb.reverse());\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tStringBuilder sb = new StringBuilder(br.readLine());\n\n\t\tSystem.out.println(sb.reverse());\n\n\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tStringBuilder sb = new StringBuilder(br.readLine());\n\n\t\tSystem.out.println(sb.reverse());\n\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder(br.readLine());",
"sb",
"new StringBuilder(br.readLine())",
"System.out.println(sb.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse()",
"sb.reverse",
"sb",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder(br.readLine());
System.out.println(sb.reverse());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
41,
11
],
[
41,
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
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
14,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
36,
37
],
[
12,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
] | [
"\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 {\n StringBuffer sBuffer = new StringBuffer();\n BufferedReader bReader = \n new BufferedReader(new InputStreamReader(System.in));\n \n String str = bReader.readLine();\n sBuffer.append(str);\n System.out.println(sBuffer.reverse());\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 {\n StringBuffer sBuffer = new StringBuffer();\n BufferedReader bReader = \n new BufferedReader(new InputStreamReader(System.in));\n \n String str = bReader.readLine();\n sBuffer.append(str);\n System.out.println(sBuffer.reverse());\n }\n}",
"Main",
"public static void main(String[] args) throws IOException\n {\n StringBuffer sBuffer = new StringBuffer();\n BufferedReader bReader = \n new BufferedReader(new InputStreamReader(System.in));\n \n String str = bReader.readLine();\n sBuffer.append(str);\n System.out.println(sBuffer.reverse());\n }",
"main",
"{\n StringBuffer sBuffer = new StringBuffer();\n BufferedReader bReader = \n new BufferedReader(new InputStreamReader(System.in));\n \n String str = bReader.readLine();\n sBuffer.append(str);\n System.out.println(sBuffer.reverse());\n }",
"StringBuffer sBuffer = new StringBuffer();",
"sBuffer",
"new StringBuffer()",
"BufferedReader bReader = \n new BufferedReader(new InputStreamReader(System.in));",
"bReader",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = bReader.readLine();",
"str",
"bReader.readLine()",
"bReader.readLine",
"bReader",
"sBuffer.append(str)",
"sBuffer.append",
"sBuffer",
"str",
"System.out.println(sBuffer.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"sBuffer.reverse()",
"sBuffer.reverse",
"sBuffer",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException\n {\n StringBuffer sBuffer = new StringBuffer();\n BufferedReader bReader = \n new BufferedReader(new InputStreamReader(System.in));\n \n String str = bReader.readLine();\n sBuffer.append(str);\n System.out.println(sBuffer.reverse());\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException\n {\n StringBuffer sBuffer = new StringBuffer();\n BufferedReader bReader = \n new BufferedReader(new InputStreamReader(System.in));\n \n String str = bReader.readLine();\n sBuffer.append(str);\n System.out.println(sBuffer.reverse());\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
{
StringBuffer sBuffer = new StringBuffer();
BufferedReader bReader =
new BufferedReader(new InputStreamReader(System.in));
String str = bReader.readLine();
sBuffer.append(str);
System.out.println(sBuffer.reverse());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
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
],
[
55,
5
],
[
55,
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
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
17,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.util.Scanner;\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = scan.nextLine();\n\t\tfor(int i=str.length()-1;i>=0;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}\n\t\tscan.close();\n\t\tSystem.out.println(\"\");\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = scan.nextLine();\n\t\tfor(int i=str.length()-1;i>=0;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}\n\t\tscan.close();\n\t\tSystem.out.println(\"\");\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = scan.nextLine();\n\t\tfor(int i=str.length()-1;i>=0;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}\n\t\tscan.close();\n\t\tSystem.out.println(\"\");\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = scan.nextLine();\n\t\tfor(int i=str.length()-1;i>=0;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}\n\t\tscan.close();\n\t\tSystem.out.println(\"\");\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String str = scan.nextLine();",
"str",
"scan.nextLine()",
"scan.nextLine",
"scan",
"for(int i=str.length()-1;i>=0;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}",
"int i=str.length()-1;",
"int i=str.length()-1;",
"i",
"str.length()-1",
"str.length()",
"str.length",
"str",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}",
"{\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}",
"System.out.print(str.charAt(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"scan.close()",
"scan.close",
"scan",
"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\tString str = scan.nextLine();\n\t\tfor(int i=str.length()-1;i>=0;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}\n\t\tscan.close();\n\t\tSystem.out.println(\"\");\n\t}\n\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = scan.nextLine();\n\t\tfor(int i=str.length()-1;i>=0;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}\n\t\tscan.close();\n\t\tSystem.out.println(\"\");\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String str = scan.nextLine();
for(int i=str.length()-1;i>=0;i--){
System.out.print(str.charAt(i));
}
scan.close();
System.out.println("");
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
31,
5
],
[
31,
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
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
6,
28
],
[
28,
29
],
[
0,
30
],
[
30,
31
],
[
30,
32
]
] | [
"\nimport java.util.Scanner;\n\n/*\n * To change this template, choose Tools | Templates\n * and open the template in the editor.\n */\n\n/**\n *\n * @author User\n */\npublic class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String iu = input.next();\n StringBuffer inu = new StringBuffer(iu);\n System.out.println(inu.reverse());\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String iu = input.next();\n StringBuffer inu = new StringBuffer(iu);\n System.out.println(inu.reverse());\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String iu = input.next();\n StringBuffer inu = new StringBuffer(iu);\n System.out.println(inu.reverse());\n }",
"main",
"{\n Scanner input = new Scanner(System.in);\n String iu = input.next();\n StringBuffer inu = new StringBuffer(iu);\n System.out.println(inu.reverse());\n }",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"String iu = input.next();",
"iu",
"input.next()",
"input.next",
"input",
"StringBuffer inu = new StringBuffer(iu);",
"inu",
"new StringBuffer(iu)",
"System.out.println(inu.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"inu.reverse()",
"inu.reverse",
"inu",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String iu = input.next();\n StringBuffer inu = new StringBuffer(iu);\n System.out.println(inu.reverse());\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String iu = input.next();\n StringBuffer inu = new StringBuffer(iu);\n System.out.println(inu.reverse());\n }\n}",
"Main"
] |
import java.util.Scanner;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author User
*/
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String iu = input.next();
StringBuffer inu = new StringBuffer(iu);
System.out.println(inu.reverse());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
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
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
23,
33
],
[
33,
34
],
[
34,
35
],
[
23,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
50,
54
],
[
46,
55
],
[
55,
56
],
[
55,
57
],
[
46,
58
],
[
58,
59
],
[
59,
60
],
[
46,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
8,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
6,
77
],
[
77,
78
]
] | [
"import java.util.*;\n\nclass Main{\npublic static void main(String[] args){\nScanner sc=new Scanner(System.in);\nString str=sc.next();\nchar[] c=new char[str.length()];\nfor(int i=0;i<str.length();i++){\nc[i]=str.charAt(i);\n}\nfor(int i=str.length()-1;i>=0;i--){\nSystem.out.print(c[i]);\n}\nSystem.out.print(\"\\n\");\n}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\npublic static void main(String[] args){\nScanner sc=new Scanner(System.in);\nString str=sc.next();\nchar[] c=new char[str.length()];\nfor(int i=0;i<str.length();i++){\nc[i]=str.charAt(i);\n}\nfor(int i=str.length()-1;i>=0;i--){\nSystem.out.print(c[i]);\n}\nSystem.out.print(\"\\n\");\n}\n}",
"Main",
"public static void main(String[] args){\nScanner sc=new Scanner(System.in);\nString str=sc.next();\nchar[] c=new char[str.length()];\nfor(int i=0;i<str.length();i++){\nc[i]=str.charAt(i);\n}\nfor(int i=str.length()-1;i>=0;i--){\nSystem.out.print(c[i]);\n}\nSystem.out.print(\"\\n\");\n}",
"main",
"{\nScanner sc=new Scanner(System.in);\nString str=sc.next();\nchar[] c=new char[str.length()];\nfor(int i=0;i<str.length();i++){\nc[i]=str.charAt(i);\n}\nfor(int i=str.length()-1;i>=0;i--){\nSystem.out.print(c[i]);\n}\nSystem.out.print(\"\\n\");\n}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str=sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"char[] c=new char[str.length()];",
"c",
"new char[str.length()]",
"str.length()",
"str.length",
"str",
"for(int i=0;i<str.length();i++){\nc[i]=str.charAt(i);\n}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<str.length()",
"i",
"str.length()",
"str.length",
"str",
"i++",
"i++",
"i",
"{\nc[i]=str.charAt(i);\n}",
"{\nc[i]=str.charAt(i);\n}",
"c[i]=str.charAt(i)",
"c[i]",
"c",
"i",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"for(int i=str.length()-1;i>=0;i--){\nSystem.out.print(c[i]);\n}",
"int i=str.length()-1;",
"int i=str.length()-1;",
"i",
"str.length()-1",
"str.length()",
"str.length",
"str",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\nSystem.out.print(c[i]);\n}",
"{\nSystem.out.print(c[i]);\n}",
"System.out.print(c[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"c[i]",
"c",
"i",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
String str=sc.next();
char[] c=new char[str.length()];
for(int i=0;i<str.length();i++){
c[i]=str.charAt(i);
}
for(int i=str.length()-1;i>=0;i--){
System.out.print(c[i]);
}
System.out.print("\n");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
17,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
2,
13,
13,
17,
14,
2,
13,
13,
30,
3,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
99,
11
],
[
99,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
25,
29
],
[
14,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
14,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
53,
53
],
[
53,
54
],
[
53,
55
],
[
53,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
49,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
49,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
49,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
14,
80
],
[
80,
81
],
[
80,
82
],
[
80,
83
],
[
84,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
14,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
12,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString[] chara = str.split(\"\", 0);\n\t\tint length = chara.length;\n\t\tfor (int i = 0; i <= length / 2; i++) {\n\t\t\tint j = length - i - 1;\n\t\t\tif (i >= j) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString temporary = chara[i];\n\t\t\tchara[i] = chara[j];\n\t\t\tchara[j] = temporary;\n\t\t}\n\t\tfor (String charac : chara) {\n\t\t\tSystem.out.print(charac);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString[] chara = str.split(\"\", 0);\n\t\tint length = chara.length;\n\t\tfor (int i = 0; i <= length / 2; i++) {\n\t\t\tint j = length - i - 1;\n\t\t\tif (i >= j) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString temporary = chara[i];\n\t\t\tchara[i] = chara[j];\n\t\t\tchara[j] = temporary;\n\t\t}\n\t\tfor (String charac : chara) {\n\t\t\tSystem.out.print(charac);\n\t\t}\n\t\tSystem.out.println();\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 str = br.readLine();\n\t\tString[] chara = str.split(\"\", 0);\n\t\tint length = chara.length;\n\t\tfor (int i = 0; i <= length / 2; i++) {\n\t\t\tint j = length - i - 1;\n\t\t\tif (i >= j) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString temporary = chara[i];\n\t\t\tchara[i] = chara[j];\n\t\t\tchara[j] = temporary;\n\t\t}\n\t\tfor (String charac : chara) {\n\t\t\tSystem.out.print(charac);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString[] chara = str.split(\"\", 0);\n\t\tint length = chara.length;\n\t\tfor (int i = 0; i <= length / 2; i++) {\n\t\t\tint j = length - i - 1;\n\t\t\tif (i >= j) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString temporary = chara[i];\n\t\t\tchara[i] = chara[j];\n\t\t\tchara[j] = temporary;\n\t\t}\n\t\tfor (String charac : chara) {\n\t\t\tSystem.out.print(charac);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] chara = str.split(\"\", 0);",
"chara",
"str.split(\"\", 0)",
"str.split",
"str",
"\"\"",
"0",
"int length = chara.length;",
"length",
"chara.length",
"chara",
"chara.length",
"for (int i = 0; i <= length / 2; i++) {\n\t\t\tint j = length - i - 1;\n\t\t\tif (i >= j) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString temporary = chara[i];\n\t\t\tchara[i] = chara[j];\n\t\t\tchara[j] = temporary;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= length / 2",
"i",
"length / 2",
"length",
"2",
"i++",
"i++",
"i",
"{\n\t\t\tint j = length - i - 1;\n\t\t\tif (i >= j) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString temporary = chara[i];\n\t\t\tchara[i] = chara[j];\n\t\t\tchara[j] = temporary;\n\t\t}",
"{\n\t\t\tint j = length - i - 1;\n\t\t\tif (i >= j) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString temporary = chara[i];\n\t\t\tchara[i] = chara[j];\n\t\t\tchara[j] = temporary;\n\t\t}",
"int j = length - i - 1;",
"j",
"length - i - 1",
"length - i - 1",
"length",
"i",
"1",
"if (i >= j) {\n\t\t\t\tbreak;\n\t\t\t}",
"i >= j",
"i",
"j",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"String temporary = chara[i];",
"temporary",
"chara[i]",
"chara",
"i",
"chara[i] = chara[j]",
"chara[i]",
"chara",
"i",
"chara[j]",
"chara",
"j",
"chara[j] = temporary",
"chara[j]",
"chara",
"j",
"temporary",
"for (String charac : chara) {\n\t\t\tSystem.out.print(charac);\n\t\t}",
"String charac",
"chara",
"{\n\t\t\tSystem.out.print(charac);\n\t\t}",
"{\n\t\t\tSystem.out.print(charac);\n\t\t}",
"System.out.print(charac)",
"System.out.print",
"System.out",
"System",
"System.out",
"charac",
"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\tString str = br.readLine();\n\t\tString[] chara = str.split(\"\", 0);\n\t\tint length = chara.length;\n\t\tfor (int i = 0; i <= length / 2; i++) {\n\t\t\tint j = length - i - 1;\n\t\t\tif (i >= j) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString temporary = chara[i];\n\t\t\tchara[i] = chara[j];\n\t\t\tchara[j] = temporary;\n\t\t}\n\t\tfor (String charac : chara) {\n\t\t\tSystem.out.print(charac);\n\t\t}\n\t\tSystem.out.println();\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\tString str = br.readLine();\n\t\tString[] chara = str.split(\"\", 0);\n\t\tint length = chara.length;\n\t\tfor (int i = 0; i <= length / 2; i++) {\n\t\t\tint j = length - i - 1;\n\t\t\tif (i >= j) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString temporary = chara[i];\n\t\t\tchara[i] = chara[j];\n\t\t\tchara[j] = temporary;\n\t\t}\n\t\tfor (String charac : chara) {\n\t\t\tSystem.out.print(charac);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String[] chara = str.split("", 0);
int length = chara.length;
for (int i = 0; i <= length / 2; i++) {
int j = length - i - 1;
if (i >= j) {
break;
}
String temporary = chara[i];
chara[i] = chara[j];
chara[j] = temporary;
}
for (String charac : chara) {
System.out.print(charac);
}
System.out.println();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
4,
18,
13,
13,
11,
1,
41,
13,
18,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
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
],
[
59,
11
],
[
59,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
26,
33
],
[
33,
34
],
[
33,
35
],
[
26,
36
],
[
36,
37
],
[
37,
38
],
[
26,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
14,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
12,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tchar[] input = new char[20];\n\t\tbr.read(input);\n\n\t\tfor (int i = input.length; i > 0; i--) {\n\t\t\tSystem.out.print(input[i - 1]);\n\t\t}\n\t\tSystem.out.println();\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tchar[] input = new char[20];\n\t\tbr.read(input);\n\n\t\tfor (int i = input.length; i > 0; i--) {\n\t\t\tSystem.out.print(input[i - 1]);\n\t\t}\n\t\tSystem.out.println();\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\tchar[] input = new char[20];\n\t\tbr.read(input);\n\n\t\tfor (int i = input.length; i > 0; i--) {\n\t\t\tSystem.out.print(input[i - 1]);\n\t\t}\n\t\tSystem.out.println();\n\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tchar[] input = new char[20];\n\t\tbr.read(input);\n\n\t\tfor (int i = input.length; i > 0; i--) {\n\t\t\tSystem.out.print(input[i - 1]);\n\t\t}\n\t\tSystem.out.println();\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"char[] input = new char[20];",
"input",
"new char[20]",
"20",
"br.read(input)",
"br.read",
"br",
"input",
"for (int i = input.length; i > 0; i--) {\n\t\t\tSystem.out.print(input[i - 1]);\n\t\t}",
"int i = input.length;",
"int i = input.length;",
"i",
"input.length",
"input",
"input.length",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(input[i - 1]);\n\t\t}",
"{\n\t\t\tSystem.out.print(input[i - 1]);\n\t\t}",
"System.out.print(input[i - 1])",
"System.out.print",
"System.out",
"System",
"System.out",
"input[i - 1]",
"input",
"i - 1",
"i",
"1",
"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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tchar[] input = new char[20];\n\t\tbr.read(input);\n\n\t\tfor (int i = input.length; i > 0; i--) {\n\t\t\tSystem.out.print(input[i - 1]);\n\t\t}\n\t\tSystem.out.println();\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tchar[] input = new char[20];\n\t\tbr.read(input);\n\n\t\tfor (int i = input.length; i > 0; i--) {\n\t\t\tSystem.out.print(input[i - 1]);\n\t\t}\n\t\tSystem.out.println();\n\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
char[] input = new char[20];
br.read(input);
for (int i = input.length; i > 0; i--) {
System.out.print(input[i - 1]);
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
17,
30,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
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
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
30,
34
],
[
26,
35
],
[
35,
36
],
[
35,
37
],
[
26,
38
],
[
38,
39
],
[
39,
40
],
[
26,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
25,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
6,
58
],
[
58,
59
]
] | [
"import java.io.*;\n\nclass Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=r.readLine();\n\t\ttry {\n\t\t\tfor(int i=s.length()-1;i>=0;i--){\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t} catch (Exception err) {\n\t\t\tSystem.exit(0);\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=r.readLine();\n\t\ttry {\n\t\t\tfor(int i=s.length()-1;i>=0;i--){\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t} catch (Exception err) {\n\t\t\tSystem.exit(0);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=r.readLine();\n\t\ttry {\n\t\t\tfor(int i=s.length()-1;i>=0;i--){\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t} catch (Exception err) {\n\t\t\tSystem.exit(0);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=r.readLine();\n\t\ttry {\n\t\t\tfor(int i=s.length()-1;i>=0;i--){\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t} catch (Exception err) {\n\t\t\tSystem.exit(0);\n\t\t}\n\t}",
"BufferedReader r = new BufferedReader(new InputStreamReader(System.in));",
"r",
"new BufferedReader(new InputStreamReader(System.in))",
"String s=r.readLine();",
"s",
"r.readLine()",
"r.readLine",
"r",
"try {\n\t\t\tfor(int i=s.length()-1;i>=0;i--){\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t} catch (Exception err) {\n\t\t\tSystem.exit(0);\n\t\t}",
"catch (Exception err) {\n\t\t\tSystem.exit(0);\n\t\t}",
"Exception err",
"{\n\t\t\tSystem.exit(0);\n\t\t}",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n\t\t\tfor(int i=s.length()-1;i>=0;i--){\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"for(int i=s.length()-1;i>=0;i--){\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}",
"int i=s.length()-1;",
"int i=s.length()-1;",
"i",
"s.length()-1",
"s.length()",
"s.length",
"s",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}",
"System.out.print(s.charAt(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
String s=r.readLine();
try {
for(int i=s.length()-1;i>=0;i--){
System.out.print(s.charAt(i));
}
System.out.println("");
} catch (Exception err) {
System.exit(0);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
17,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
56,
5
],
[
56,
6
],
[
6,
7
],
[
6,
8
],
[
56,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
17,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
33,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
40,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
9,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] | [
"import java.util.*;\n\npublic class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tString str = scan.next();\n\t\tfor(int i = str.length() - 1; i >= 0; i--){\n\t\t\tchar ch = str.charAt(i);\n\t\t\tSystem.out.printf(\"%c\", ch);\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tString str = scan.next();\n\t\tfor(int i = str.length() - 1; i >= 0; i--){\n\t\t\tchar ch = str.charAt(i);\n\t\t\tSystem.out.printf(\"%c\", ch);\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t}\n}",
"Main",
"private static final Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"public static void main(String[] args){\n\t\tString str = scan.next();\n\t\tfor(int i = str.length() - 1; i >= 0; i--){\n\t\t\tchar ch = str.charAt(i);\n\t\t\tSystem.out.printf(\"%c\", ch);\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t}",
"main",
"{\n\t\tString str = scan.next();\n\t\tfor(int i = str.length() - 1; i >= 0; i--){\n\t\t\tchar ch = str.charAt(i);\n\t\t\tSystem.out.printf(\"%c\", ch);\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t}",
"String str = scan.next();",
"str",
"scan.next()",
"scan.next",
"scan",
"for(int i = str.length() - 1; i >= 0; i--){\n\t\t\tchar ch = str.charAt(i);\n\t\t\tSystem.out.printf(\"%c\", ch);\n\t\t}",
"int i = str.length() - 1;",
"int i = str.length() - 1;",
"i",
"str.length() - 1",
"str.length()",
"str.length",
"str",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tchar ch = str.charAt(i);\n\t\t\tSystem.out.printf(\"%c\", ch);\n\t\t}",
"{\n\t\t\tchar ch = str.charAt(i);\n\t\t\tSystem.out.printf(\"%c\", ch);\n\t\t}",
"char ch = str.charAt(i);",
"ch",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"System.out.printf(\"%c\", ch)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%c\"",
"ch",
"System.out.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tString str = scan.next();\n\t\tfor(int i = str.length() - 1; i >= 0; i--){\n\t\t\tchar ch = str.charAt(i);\n\t\t\tSystem.out.printf(\"%c\", ch);\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t}\n}",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tString str = scan.next();\n\t\tfor(int i = str.length() - 1; i >= 0; i--){\n\t\t\tchar ch = str.charAt(i);\n\t\t\tSystem.out.printf(\"%c\", ch);\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t}\n}",
"Main"
] | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
String str = scan.next();
for(int i = str.length() - 1; i >= 0; i--){
char ch = str.charAt(i);
System.out.printf("%c", ch);
}
System.out.printf("\n");
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
4,
18,
13,
17,
29,
41,
13,
17,
41,
13,
4,
18,
13,
11,
1,
41,
13,
18,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
18,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
20,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
35,
42
],
[
42,
43
],
[
42,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
6,
63
],
[
63,
64
]
] | [
"import java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] a){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString input = scanner.nextLine();\n scanner.close();\n\t\tif (input.length() > 20) return;\n\t\tString reverse=\"\";\n\t\t\n\t\tchar[] c = input.toCharArray();\n\t\tfor (int i = c.length; i > 0; i--) {\n\t\t\treverse += c[i-1];\n\t\t}\n\t\tSystem.out.println(reverse);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String[] a){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString input = scanner.nextLine();\n scanner.close();\n\t\tif (input.length() > 20) return;\n\t\tString reverse=\"\";\n\t\t\n\t\tchar[] c = input.toCharArray();\n\t\tfor (int i = c.length; i > 0; i--) {\n\t\t\treverse += c[i-1];\n\t\t}\n\t\tSystem.out.println(reverse);\n\t}\n}",
"Main",
"public static void main(String[] a){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString input = scanner.nextLine();\n scanner.close();\n\t\tif (input.length() > 20) return;\n\t\tString reverse=\"\";\n\t\t\n\t\tchar[] c = input.toCharArray();\n\t\tfor (int i = c.length; i > 0; i--) {\n\t\t\treverse += c[i-1];\n\t\t}\n\t\tSystem.out.println(reverse);\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString input = scanner.nextLine();\n scanner.close();\n\t\tif (input.length() > 20) return;\n\t\tString reverse=\"\";\n\t\t\n\t\tchar[] c = input.toCharArray();\n\t\tfor (int i = c.length; i > 0; i--) {\n\t\t\treverse += c[i-1];\n\t\t}\n\t\tSystem.out.println(reverse);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String input = scanner.nextLine();",
"input",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"scanner.close()",
"scanner.close",
"scanner",
"if (input.length() > 20) return;",
"input.length() > 20",
"input.length()",
"input.length",
"input",
"20",
"return;",
"String reverse=\"\";",
"reverse",
"\"\"",
"char[] c = input.toCharArray();",
"c",
"input.toCharArray()",
"input.toCharArray",
"input",
"for (int i = c.length; i > 0; i--) {\n\t\t\treverse += c[i-1];\n\t\t}",
"int i = c.length;",
"int i = c.length;",
"i",
"c.length",
"c",
"c.length",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\treverse += c[i-1];\n\t\t}",
"{\n\t\t\treverse += c[i-1];\n\t\t}",
"reverse += c[i-1]",
"reverse",
"c[i-1]",
"c",
"i-1",
"i",
"1",
"System.out.println(reverse)",
"System.out.println",
"System.out",
"System",
"System.out",
"reverse",
"String[] a",
"a"
] | import java.util.Scanner;
class Main{
public static void main(String[] a){
Scanner scanner = new Scanner(System.in);
String input = scanner.nextLine();
scanner.close();
if (input.length() > 20) return;
String reverse="";
char[] c = input.toCharArray();
for (int i = c.length; i > 0; i--) {
reverse += c[i-1];
}
System.out.println(reverse);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
11,
1,
41,
13,
18,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
18,
13,
2,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
57,
5
],
[
57,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
30,
32
],
[
23,
33
],
[
33,
34
],
[
34,
35
],
[
23,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] req = sc.nextLine().split(\"\");\n StringBuilder sb = new StringBuilder();\n for (int i = req.length; i > 0; i--) {\n sb.append(req[i - 1]);\n }\n System.out.println(sb.toString());\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 String[] req = sc.nextLine().split(\"\");\n StringBuilder sb = new StringBuilder();\n for (int i = req.length; i > 0; i--) {\n sb.append(req[i - 1]);\n }\n System.out.println(sb.toString());\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] req = sc.nextLine().split(\"\");\n StringBuilder sb = new StringBuilder();\n for (int i = req.length; i > 0; i--) {\n sb.append(req[i - 1]);\n }\n System.out.println(sb.toString());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String[] req = sc.nextLine().split(\"\");\n StringBuilder sb = new StringBuilder();\n for (int i = req.length; i > 0; i--) {\n sb.append(req[i - 1]);\n }\n System.out.println(sb.toString());\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String[] req = sc.nextLine().split(\"\");",
"req",
"sc.nextLine().split(\"\")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\"\"",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = req.length; i > 0; i--) {\n sb.append(req[i - 1]);\n }",
"int i = req.length;",
"int i = req.length;",
"i",
"req.length",
"req",
"req.length",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n sb.append(req[i - 1]);\n }",
"{\n sb.append(req[i - 1]);\n }",
"sb.append(req[i - 1])",
"sb.append",
"sb",
"req[i - 1]",
"req",
"i - 1",
"i",
"1",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] req = sc.nextLine().split(\"\");\n StringBuilder sb = new StringBuilder();\n for (int i = req.length; i > 0; i--) {\n sb.append(req[i - 1]);\n }\n System.out.println(sb.toString());\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] req = sc.nextLine().split(\"\");\n StringBuilder sb = new StringBuilder();\n for (int i = req.length; i > 0; i--) {\n sb.append(req[i - 1]);\n }\n System.out.println(sb.toString());\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String[] req = sc.nextLine().split("");
StringBuilder sb = new StringBuilder();
for (int i = req.length; i > 0; i--) {
sb.append(req[i - 1]);
}
System.out.println(sb.toString());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
17,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
56,
5
],
[
56,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
22,
31
],
[
31,
32
],
[
31,
33
],
[
22,
34
],
[
34,
35
],
[
35,
36
],
[
22,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] | [
"import java.util.Scanner;\n\npublic class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tString str;\n\t\tScanner scan=new Scanner(System.in);\n\t\tstr=scan.next();\n\t\tscan.close();\n\t\tfor(int i=str.length()-1;0<=i;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tString str;\n\t\tScanner scan=new Scanner(System.in);\n\t\tstr=scan.next();\n\t\tscan.close();\n\t\tfor(int i=str.length()-1;0<=i;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tString str;\n\t\tScanner scan=new Scanner(System.in);\n\t\tstr=scan.next();\n\t\tscan.close();\n\t\tfor(int i=str.length()-1;0<=i;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\tString str;\n\t\tScanner scan=new Scanner(System.in);\n\t\tstr=scan.next();\n\t\tscan.close();\n\t\tfor(int i=str.length()-1;0<=i;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}\n\t\tSystem.out.println();\n\t}",
"String str;",
"str",
"Scanner scan=new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"str=scan.next()",
"str",
"scan.next()",
"scan.next",
"scan",
"scan.close()",
"scan.close",
"scan",
"for(int i=str.length()-1;0<=i;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}",
"int i=str.length()-1;",
"int i=str.length()-1;",
"i",
"str.length()-1",
"str.length()",
"str.length",
"str",
"1",
"0<=i",
"0",
"i",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}",
"{\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}",
"System.out.print(str.charAt(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tString str;\n\t\tScanner scan=new Scanner(System.in);\n\t\tstr=scan.next();\n\t\tscan.close();\n\t\tfor(int i=str.length()-1;0<=i;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tString str;\n\t\tScanner scan=new Scanner(System.in);\n\t\tstr=scan.next();\n\t\tscan.close();\n\t\tfor(int i=str.length()-1;0<=i;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
String str;
Scanner scan=new Scanner(System.in);
str=scan.next();
scan.close();
for(int i=str.length()-1;0<=i;i--){
System.out.print(str.charAt(i));
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
4,
18,
18,
13,
13,
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
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
9,
14
],
[
14,
15
],
[
15,
16
],
[
6,
17
],
[
17,
18
]
] | [
"import java.util.*;class Main{public static void main(String[]a){System.out.println(new StringBuffer(new Scanner(System.in).next()).reverse());}}",
"import java.util.*;",
"util.*",
"java",
"class Main{public static void main(String[]a){System.out.println(new StringBuffer(new Scanner(System.in).next()).reverse());}}",
"Main",
"public static void main(String[]a){System.out.println(new StringBuffer(new Scanner(System.in).next()).reverse());}",
"main",
"{System.out.println(new StringBuffer(new Scanner(System.in).next()).reverse());}",
"System.out.println(new StringBuffer(new Scanner(System.in).next()).reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"new StringBuffer(new Scanner(System.in).next()).reverse()",
"new StringBuffer(new Scanner(System.in).next()).reverse",
"new StringBuffer(new Scanner(System.in).next())",
"String[]a",
"a"
] | import java.util.*;class Main{public static void main(String[]a){System.out.println(new StringBuffer(new Scanner(System.in).next()).reverse());}} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
11,
1,
0,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
4,
18,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
63,
5
],
[
63,
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
],
[
8,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
22,
32
],
[
32,
33
],
[
33,
34
],
[
22,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
45,
49
],
[
45,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] | [
"\n\nimport java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString str = scanner.nextLine();\n\t\tString str_r = \"\";\n\t\tint i;\n\t\tfor(i = 0; i < str.length(); i++) {\n\t\t\tstr_r = str_r + str.charAt(str.length() - i - 1);\n\t\t}\n\t\tscanner.close();\n\t\tSystem.out.println(str_r);\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\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString str = scanner.nextLine();\n\t\tString str_r = \"\";\n\t\tint i;\n\t\tfor(i = 0; i < str.length(); i++) {\n\t\t\tstr_r = str_r + str.charAt(str.length() - i - 1);\n\t\t}\n\t\tscanner.close();\n\t\tSystem.out.println(str_r);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString str = scanner.nextLine();\n\t\tString str_r = \"\";\n\t\tint i;\n\t\tfor(i = 0; i < str.length(); i++) {\n\t\t\tstr_r = str_r + str.charAt(str.length() - i - 1);\n\t\t}\n\t\tscanner.close();\n\t\tSystem.out.println(str_r);\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString str = scanner.nextLine();\n\t\tString str_r = \"\";\n\t\tint i;\n\t\tfor(i = 0; i < str.length(); i++) {\n\t\t\tstr_r = str_r + str.charAt(str.length() - i - 1);\n\t\t}\n\t\tscanner.close();\n\t\tSystem.out.println(str_r);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String str = scanner.nextLine();",
"str",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"String str_r = \"\";",
"str_r",
"\"\"",
"int i;",
"i",
"for(i = 0; i < str.length(); i++) {\n\t\t\tstr_r = str_r + str.charAt(str.length() - i - 1);\n\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < str.length()",
"i",
"str.length()",
"str.length",
"str",
"i++",
"i++",
"i",
"{\n\t\t\tstr_r = str_r + str.charAt(str.length() - i - 1);\n\t\t}",
"{\n\t\t\tstr_r = str_r + str.charAt(str.length() - i - 1);\n\t\t}",
"str_r = str_r + str.charAt(str.length() - i - 1)",
"str_r",
"str_r + str.charAt(str.length() - i - 1)",
"str_r",
"str.charAt(str.length() - i - 1)",
"str.charAt",
"str",
"str.length() - i - 1",
"str.length() - i - 1",
"str.length()",
"str.length",
"str",
"i",
"1",
"scanner.close()",
"scanner.close",
"scanner",
"System.out.println(str_r)",
"System.out.println",
"System.out",
"System",
"System.out",
"str_r",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString str = scanner.nextLine();\n\t\tString str_r = \"\";\n\t\tint i;\n\t\tfor(i = 0; i < str.length(); i++) {\n\t\t\tstr_r = str_r + str.charAt(str.length() - i - 1);\n\t\t}\n\t\tscanner.close();\n\t\tSystem.out.println(str_r);\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString str = scanner.nextLine();\n\t\tString str_r = \"\";\n\t\tint i;\n\t\tfor(i = 0; i < str.length(); i++) {\n\t\t\tstr_r = str_r + str.charAt(str.length() - i - 1);\n\t\t}\n\t\tscanner.close();\n\t\tSystem.out.println(str_r);\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner scanner = new Scanner(System.in);
String str = scanner.nextLine();
String str_r = "";
int i;
for(i = 0; i < str.length(); i++) {
str_r = str_r + str.charAt(str.length() - i - 1);
}
scanner.close();
System.out.println(str_r);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
41,
13,
20,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
58,
5
],
[
58,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
22,
31
],
[
31,
32
],
[
31,
33
],
[
22,
34
],
[
34,
35
],
[
35,
36
],
[
22,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
8,
46
],
[
46,
47
],
[
46,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
6,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tString str;\n\t\tScanner scan = new Scanner(System.in);\n\t\tstr = scan.nextLine();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = str.length() - 1; i >= 0; i--) {\n\t\t\tsb.append(str.charAt(i));\n\t\t}\n\t\tString str2 = new String(sb);\n\t\tSystem.out.println(str2);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tString str;\n\t\tScanner scan = new Scanner(System.in);\n\t\tstr = scan.nextLine();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = str.length() - 1; i >= 0; i--) {\n\t\t\tsb.append(str.charAt(i));\n\t\t}\n\t\tString str2 = new String(sb);\n\t\tSystem.out.println(str2);\n\t}\n}",
"Main",
"/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tString str;\n\t\tScanner scan = new Scanner(System.in);\n\t\tstr = scan.nextLine();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = str.length() - 1; i >= 0; i--) {\n\t\t\tsb.append(str.charAt(i));\n\t\t}\n\t\tString str2 = new String(sb);\n\t\tSystem.out.println(str2);\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tString str;\n\t\tScanner scan = new Scanner(System.in);\n\t\tstr = scan.nextLine();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = str.length() - 1; i >= 0; i--) {\n\t\t\tsb.append(str.charAt(i));\n\t\t}\n\t\tString str2 = new String(sb);\n\t\tSystem.out.println(str2);\n\t}",
"String str;",
"str",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"str = scan.nextLine()",
"str",
"scan.nextLine()",
"scan.nextLine",
"scan",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = str.length() - 1; i >= 0; i--) {\n\t\t\tsb.append(str.charAt(i));\n\t\t}",
"int i = str.length() - 1;",
"int i = str.length() - 1;",
"i",
"str.length() - 1",
"str.length()",
"str.length",
"str",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tsb.append(str.charAt(i));\n\t\t}",
"{\n\t\t\tsb.append(str.charAt(i));\n\t\t}",
"sb.append(str.charAt(i))",
"sb.append",
"sb",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"String str2 = new String(sb);",
"str2",
"new String(sb)",
"System.out.println(str2)",
"System.out.println",
"System.out",
"System",
"System.out",
"str2",
"String[] args",
"args",
"public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tString str;\n\t\tScanner scan = new Scanner(System.in);\n\t\tstr = scan.nextLine();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = str.length() - 1; i >= 0; i--) {\n\t\t\tsb.append(str.charAt(i));\n\t\t}\n\t\tString str2 = new String(sb);\n\t\tSystem.out.println(str2);\n\t}\n}",
"public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tString str;\n\t\tScanner scan = new Scanner(System.in);\n\t\tstr = scan.nextLine();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = str.length() - 1; i >= 0; i--) {\n\t\t\tsb.append(str.charAt(i));\n\t\t}\n\t\tString str2 = new String(sb);\n\t\tSystem.out.println(str2);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
String str;
Scanner scan = new Scanner(System.in);
str = scan.nextLine();
StringBuilder sb = new StringBuilder();
for (int i = str.length() - 1; i >= 0; i--) {
sb.append(str.charAt(i));
}
String str2 = new String(sb);
System.out.println(str2);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
4,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
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,
18,
13,
2,
2,
18,
13,
13,
13,
17,
41,
13,
20,
4,
18,
18,
13,
13,
13,
12,
13,
30,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
78,
5
],
[
78,
6
],
[
6,
7
],
[
78,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
78,
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
],
[
31,
33
],
[
34,
35
],
[
34,
36
],
[
20,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
37,
47
],
[
47,
48
],
[
48,
49
],
[
37,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
59,
64
],
[
20,
65
],
[
65,
66
],
[
65,
67
],
[
20,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
78,
74
],
[
74,
75
],
[
74,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
] | [
"import java.util.*;\n\npublic class Main {\n\n public static Scanner in;\n \n public static void main(String[] args) \n\t{\n in = new Scanner(System.in);\n\n doStuff();\n }\n\n public static void doStuff() \n\t{\n String s = in.nextLine();\n\t\tchar[] c = s.toCharArray();\n\t\tchar[] c2 = new char[c.length];\n\t\tfor(int i = 0; i < c.length; i++)\n\t\t{\n\t\t\tc2[i] = c[c.length - i - 1];\n\t\t}\n\t\t\n\t\tString toRet = new String(c2);\n\t\t\n\t\tSystem.out.println(toRet);\n }\n\n public static void solve() \n\t{\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static Scanner in;\n \n public static void main(String[] args) \n\t{\n in = new Scanner(System.in);\n\n doStuff();\n }\n\n public static void doStuff() \n\t{\n String s = in.nextLine();\n\t\tchar[] c = s.toCharArray();\n\t\tchar[] c2 = new char[c.length];\n\t\tfor(int i = 0; i < c.length; i++)\n\t\t{\n\t\t\tc2[i] = c[c.length - i - 1];\n\t\t}\n\t\t\n\t\tString toRet = new String(c2);\n\t\t\n\t\tSystem.out.println(toRet);\n }\n\n public static void solve() \n\t{\n \n }\n}",
"Main",
"public static Scanner in;",
"in",
"public static void main(String[] args) \n\t{\n in = new Scanner(System.in);\n\n doStuff();\n }",
"main",
"{\n in = new Scanner(System.in);\n\n doStuff();\n }",
"in = new Scanner(System.in)",
"in",
"new Scanner(System.in)",
"doStuff()",
"doStuff",
"String[] args",
"args",
"public static void doStuff() \n\t{\n String s = in.nextLine();\n\t\tchar[] c = s.toCharArray();\n\t\tchar[] c2 = new char[c.length];\n\t\tfor(int i = 0; i < c.length; i++)\n\t\t{\n\t\t\tc2[i] = c[c.length - i - 1];\n\t\t}\n\t\t\n\t\tString toRet = new String(c2);\n\t\t\n\t\tSystem.out.println(toRet);\n }",
"doStuff",
"{\n String s = in.nextLine();\n\t\tchar[] c = s.toCharArray();\n\t\tchar[] c2 = new char[c.length];\n\t\tfor(int i = 0; i < c.length; i++)\n\t\t{\n\t\t\tc2[i] = c[c.length - i - 1];\n\t\t}\n\t\t\n\t\tString toRet = new String(c2);\n\t\t\n\t\tSystem.out.println(toRet);\n }",
"String s = in.nextLine();",
"s",
"in.nextLine()",
"in.nextLine",
"in",
"char[] c = s.toCharArray();",
"c",
"s.toCharArray()",
"s.toCharArray",
"s",
"char[] c2 = new char[c.length];",
"c2",
"new char[c.length]",
"c.length",
"c",
"c.length",
"for(int i = 0; i < c.length; i++)\n\t\t{\n\t\t\tc2[i] = c[c.length - i - 1];\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < c.length",
"i",
"c.length",
"c",
"c.length",
"i++",
"i++",
"i",
"{\n\t\t\tc2[i] = c[c.length - i - 1];\n\t\t}",
"{\n\t\t\tc2[i] = c[c.length - i - 1];\n\t\t}",
"c2[i] = c[c.length - i - 1]",
"c2[i]",
"c2",
"i",
"c[c.length - i - 1]",
"c",
"c.length - i - 1",
"c.length - i - 1",
"c.length",
"c",
"c.length",
"i",
"1",
"String toRet = new String(c2);",
"toRet",
"new String(c2)",
"System.out.println(toRet)",
"System.out.println",
"System.out",
"System",
"System.out",
"toRet",
"public static void solve() \n\t{\n \n }",
"solve",
"{\n \n }",
"public class Main {\n\n public static Scanner in;\n \n public static void main(String[] args) \n\t{\n in = new Scanner(System.in);\n\n doStuff();\n }\n\n public static void doStuff() \n\t{\n String s = in.nextLine();\n\t\tchar[] c = s.toCharArray();\n\t\tchar[] c2 = new char[c.length];\n\t\tfor(int i = 0; i < c.length; i++)\n\t\t{\n\t\t\tc2[i] = c[c.length - i - 1];\n\t\t}\n\t\t\n\t\tString toRet = new String(c2);\n\t\t\n\t\tSystem.out.println(toRet);\n }\n\n public static void solve() \n\t{\n \n }\n}",
"public class Main {\n\n public static Scanner in;\n \n public static void main(String[] args) \n\t{\n in = new Scanner(System.in);\n\n doStuff();\n }\n\n public static void doStuff() \n\t{\n String s = in.nextLine();\n\t\tchar[] c = s.toCharArray();\n\t\tchar[] c2 = new char[c.length];\n\t\tfor(int i = 0; i < c.length; i++)\n\t\t{\n\t\t\tc2[i] = c[c.length - i - 1];\n\t\t}\n\t\t\n\t\tString toRet = new String(c2);\n\t\t\n\t\tSystem.out.println(toRet);\n }\n\n public static void solve() \n\t{\n \n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static Scanner in;
public static void main(String[] args)
{
in = new Scanner(System.in);
doStuff();
}
public static void doStuff()
{
String s = in.nextLine();
char[] c = s.toCharArray();
char[] c2 = new char[c.length];
for(int i = 0; i < c.length; i++)
{
c2[i] = c[c.length - i - 1];
}
String toRet = new String(c2);
System.out.println(toRet);
}
public static void solve()
{
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
30,
42,
4,
18,
13,
30,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
42,
11
],
[
42,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
37,
38
],
[
12,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\ttry {\n\t\t\twhile(scan.hasNext()){\n\t\t\t\tStringBuffer sb=new StringBuffer(scan.nextLine());\n\t\t\t\tSystem.out.println(sb.reverse());\n\t\t\t\t\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\ttry {\n\t\t\twhile(scan.hasNext()){\n\t\t\t\tStringBuffer sb=new StringBuffer(scan.nextLine());\n\t\t\t\tSystem.out.println(sb.reverse());\n\t\t\t\t\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\ttry {\n\t\t\twhile(scan.hasNext()){\n\t\t\t\tStringBuffer sb=new StringBuffer(scan.nextLine());\n\t\t\t\tSystem.out.println(sb.reverse());\n\t\t\t\t\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\ttry {\n\t\t\twhile(scan.hasNext()){\n\t\t\t\tStringBuffer sb=new StringBuffer(scan.nextLine());\n\t\t\t\tSystem.out.println(sb.reverse());\n\t\t\t\t\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}",
"Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));",
"scan",
"new Scanner(new BufferedReader(new InputStreamReader(System.in)))",
"try {\n\t\t\twhile(scan.hasNext()){\n\t\t\t\tStringBuffer sb=new StringBuffer(scan.nextLine());\n\t\t\t\tSystem.out.println(sb.reverse());\n\t\t\t\t\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}",
"catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}",
"Exception e",
"{\n\t\t\t// TODO: handle exception\n\t\t}",
"{\n\t\t\twhile(scan.hasNext()){\n\t\t\t\tStringBuffer sb=new StringBuffer(scan.nextLine());\n\t\t\t\tSystem.out.println(sb.reverse());\n\t\t\t\t\n\t\t\t}\n\t\t}",
"while(scan.hasNext()){\n\t\t\t\tStringBuffer sb=new StringBuffer(scan.nextLine());\n\t\t\t\tSystem.out.println(sb.reverse());\n\t\t\t\t\n\t\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\t\tStringBuffer sb=new StringBuffer(scan.nextLine());\n\t\t\t\tSystem.out.println(sb.reverse());\n\t\t\t\t\n\t\t\t}",
"StringBuffer sb=new StringBuffer(scan.nextLine());",
"sb",
"new StringBuffer(scan.nextLine())",
"System.out.println(sb.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse()",
"sb.reverse",
"sb",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\ttry {\n\t\t\twhile(scan.hasNext()){\n\t\t\t\tStringBuffer sb=new StringBuffer(scan.nextLine());\n\t\t\t\tSystem.out.println(sb.reverse());\n\t\t\t\t\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\ttry {\n\t\t\twhile(scan.hasNext()){\n\t\t\t\tStringBuffer sb=new StringBuffer(scan.nextLine());\n\t\t\t\tSystem.out.println(sb.reverse());\n\t\t\t\t\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
try {
while(scan.hasNext()){
StringBuffer sb=new StringBuffer(scan.nextLine());
System.out.println(sb.reverse());
}
} catch (Exception e) {
// TODO: handle exception
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
17,
30,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
35,
5
],
[
35,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
13,
16
],
[
9,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
6,
32
],
[
32,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
]
] | [
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args) {\n try (Scanner scan = new Scanner(System.in)) {\n StringBuffer str = new StringBuffer(scan.nextLine());\n System.out.println(str.reverse());\n } catch (Exception e) {\n System.exit(0);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n try (Scanner scan = new Scanner(System.in)) {\n StringBuffer str = new StringBuffer(scan.nextLine());\n System.out.println(str.reverse());\n } catch (Exception e) {\n System.exit(0);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try (Scanner scan = new Scanner(System.in)) {\n StringBuffer str = new StringBuffer(scan.nextLine());\n System.out.println(str.reverse());\n } catch (Exception e) {\n System.exit(0);\n }\n }",
"main",
"{\n try (Scanner scan = new Scanner(System.in)) {\n StringBuffer str = new StringBuffer(scan.nextLine());\n System.out.println(str.reverse());\n } catch (Exception e) {\n System.exit(0);\n }\n }",
"try (Scanner scan = new Scanner(System.in)) {\n StringBuffer str = new StringBuffer(scan.nextLine());\n System.out.println(str.reverse());\n } catch (Exception e) {\n System.exit(0);\n }",
"catch (Exception e) {\n System.exit(0);\n }",
"Exception e",
"{\n System.exit(0);\n }",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n StringBuffer str = new StringBuffer(scan.nextLine());\n System.out.println(str.reverse());\n }",
"Scanner scan = new Scanner(System.in)",
"Scanner scan = new Scanner(System.in)",
"new Scanner(System.in)",
"StringBuffer str = new StringBuffer(scan.nextLine());",
"str",
"new StringBuffer(scan.nextLine())",
"System.out.println(str.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"str.reverse()",
"str.reverse",
"str",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n try (Scanner scan = new Scanner(System.in)) {\n StringBuffer str = new StringBuffer(scan.nextLine());\n System.out.println(str.reverse());\n } catch (Exception e) {\n System.exit(0);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n try (Scanner scan = new Scanner(System.in)) {\n StringBuffer str = new StringBuffer(scan.nextLine());\n System.out.println(str.reverse());\n } catch (Exception e) {\n System.exit(0);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner scan = new Scanner(System.in)) {
StringBuffer str = new StringBuffer(scan.nextLine());
System.out.println(str.reverse());
} catch (Exception e) {
System.exit(0);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
23,
5
],
[
23,
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
],
[
18,
19
],
[
6,
20
],
[
20,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tSystem.out.println(new StringBuffer(sc.next()).reverse());\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tSystem.out.println(new StringBuffer(sc.next()).reverse());\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tSystem.out.println(new StringBuffer(sc.next()).reverse());\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tSystem.out.println(new StringBuffer(sc.next()).reverse());\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"System.out.println(new StringBuffer(sc.next()).reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"new StringBuffer(sc.next()).reverse()",
"new StringBuffer(sc.next()).reverse",
"new StringBuffer(sc.next())",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tSystem.out.println(new StringBuffer(sc.next()).reverse());\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tSystem.out.println(new StringBuffer(sc.next()).reverse());\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);
System.out.println(new StringBuffer(sc.next()).reverse());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
18,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
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
],
[
11,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
6,
27
],
[
27,
28
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n String str = new Scanner(System.in).next();\n StringBuffer stb = new StringBuffer(str);\n System.out.println(stb.reverse().toString());\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n String str = new Scanner(System.in).next();\n StringBuffer stb = new StringBuffer(str);\n System.out.println(stb.reverse().toString());\n }\n}",
"Main",
"public static void main(String[] args){\n String str = new Scanner(System.in).next();\n StringBuffer stb = new StringBuffer(str);\n System.out.println(stb.reverse().toString());\n }",
"main",
"{\n String str = new Scanner(System.in).next();\n StringBuffer stb = new StringBuffer(str);\n System.out.println(stb.reverse().toString());\n }",
"String str = new Scanner(System.in).next();",
"str",
"new Scanner(System.in).next()",
"new Scanner(System.in).next",
"new Scanner(System.in)",
"StringBuffer stb = new StringBuffer(str);",
"stb",
"new StringBuffer(str)",
"System.out.println(stb.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"stb.reverse().toString()",
"stb.reverse().toString",
"stb.reverse()",
"stb.reverse",
"stb",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
String str = new Scanner(System.in).next();
StringBuffer stb = new StringBuffer(str);
System.out.println(stb.reverse().toString());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
20,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
33,
5
],
[
33,
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
],
[
21,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
6,
30
],
[
30,
31
],
[
0,
32
],
[
32,
33
],
[
32,
34
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString context = scan.next();\n\t\tString reversed = new StringBuilder(context).reverse().toString();\n\t\t\n\t\tSystem.out.println(reversed);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString context = scan.next();\n\t\tString reversed = new StringBuilder(context).reverse().toString();\n\t\t\n\t\tSystem.out.println(reversed);\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString context = scan.next();\n\t\tString reversed = new StringBuilder(context).reverse().toString();\n\t\t\n\t\tSystem.out.println(reversed);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString context = scan.next();\n\t\tString reversed = new StringBuilder(context).reverse().toString();\n\t\t\n\t\tSystem.out.println(reversed);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String context = scan.next();",
"context",
"scan.next()",
"scan.next",
"scan",
"String reversed = new StringBuilder(context).reverse().toString();",
"reversed",
"new StringBuilder(context).reverse().toString()",
"new StringBuilder(context).reverse().toString",
"new StringBuilder(context).reverse()",
"new StringBuilder(context).reverse",
"new StringBuilder(context)",
"System.out.println(reversed)",
"System.out.println",
"System.out",
"System",
"System.out",
"reversed",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString context = scan.next();\n\t\tString reversed = new StringBuilder(context).reverse().toString();\n\t\t\n\t\tSystem.out.println(reversed);\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString context = scan.next();\n\t\tString reversed = new StringBuilder(context).reverse().toString();\n\t\t\n\t\tSystem.out.println(reversed);\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
String context = scan.next();
String reversed = new StringBuilder(context).reverse().toString();
System.out.println(reversed);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
64,
5
],
[
64,
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
],
[
26,
27
],
[
26,
28
],
[
22,
29
],
[
29,
30
],
[
29,
31
],
[
22,
32
],
[
32,
33
],
[
33,
34
],
[
22,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
37,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] | [
"import java.io.*;\npublic class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\tBufferedReader input = new BufferedReader (new InputStreamReader (System.in));\n\t\tString str = input.readLine();\n\t\tint K = str.length();\n\t\tfor(int a = K-1;a >= 0;a--){\n\t\t\tif(a==0){\n\t\t\t\tSystem.out.println(str.charAt(a));\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str.charAt(a));\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\tBufferedReader input = new BufferedReader (new InputStreamReader (System.in));\n\t\tString str = input.readLine();\n\t\tint K = str.length();\n\t\tfor(int a = K-1;a >= 0;a--){\n\t\t\tif(a==0){\n\t\t\t\tSystem.out.println(str.charAt(a));\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str.charAt(a));\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws java.io.IOException {\n\t\tBufferedReader input = new BufferedReader (new InputStreamReader (System.in));\n\t\tString str = input.readLine();\n\t\tint K = str.length();\n\t\tfor(int a = K-1;a >= 0;a--){\n\t\t\tif(a==0){\n\t\t\t\tSystem.out.println(str.charAt(a));\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str.charAt(a));\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader input = new BufferedReader (new InputStreamReader (System.in));\n\t\tString str = input.readLine();\n\t\tint K = str.length();\n\t\tfor(int a = K-1;a >= 0;a--){\n\t\t\tif(a==0){\n\t\t\t\tSystem.out.println(str.charAt(a));\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str.charAt(a));\n\t\t\t}\n\t\t}\n\t}",
"BufferedReader input = new BufferedReader (new InputStreamReader (System.in));",
"input",
"new BufferedReader (new InputStreamReader (System.in))",
"String str = input.readLine();",
"str",
"input.readLine()",
"input.readLine",
"input",
"int K = str.length();",
"K",
"str.length()",
"str.length",
"str",
"for(int a = K-1;a >= 0;a--){\n\t\t\tif(a==0){\n\t\t\t\tSystem.out.println(str.charAt(a));\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str.charAt(a));\n\t\t\t}\n\t\t}",
"int a = K-1;",
"int a = K-1;",
"a",
"K-1",
"K",
"1",
"a >= 0",
"a",
"0",
"a--",
"a--",
"a",
"{\n\t\t\tif(a==0){\n\t\t\t\tSystem.out.println(str.charAt(a));\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str.charAt(a));\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(a==0){\n\t\t\t\tSystem.out.println(str.charAt(a));\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str.charAt(a));\n\t\t\t}\n\t\t}",
"if(a==0){\n\t\t\t\tSystem.out.println(str.charAt(a));\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str.charAt(a));\n\t\t\t}",
"a==0",
"a",
"0",
"{\n\t\t\t\tSystem.out.println(str.charAt(a));\n\t\t\t}",
"System.out.println(str.charAt(a))",
"System.out.println",
"System.out",
"System",
"System.out",
"str.charAt(a)",
"str.charAt",
"str",
"a",
"{\n\t\t\t\tSystem.out.print(str.charAt(a));\n\t\t\t}",
"System.out.print(str.charAt(a))",
"System.out.print",
"System.out",
"System",
"System.out",
"str.charAt(a)",
"str.charAt",
"str",
"a",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\tBufferedReader input = new BufferedReader (new InputStreamReader (System.in));\n\t\tString str = input.readLine();\n\t\tint K = str.length();\n\t\tfor(int a = K-1;a >= 0;a--){\n\t\t\tif(a==0){\n\t\t\t\tSystem.out.println(str.charAt(a));\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str.charAt(a));\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\tBufferedReader input = new BufferedReader (new InputStreamReader (System.in));\n\t\tString str = input.readLine();\n\t\tint K = str.length();\n\t\tfor(int a = K-1;a >= 0;a--){\n\t\t\tif(a==0){\n\t\t\t\tSystem.out.println(str.charAt(a));\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str.charAt(a));\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws java.io.IOException {
BufferedReader input = new BufferedReader (new InputStreamReader (System.in));
String str = input.readLine();
int K = str.length();
for(int a = K-1;a >= 0;a--){
if(a==0){
System.out.println(str.charAt(a));
}else{
System.out.print(str.charAt(a));
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
30,
5
],
[
30,
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
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
6,
27
],
[
27,
28
],
[
0,
29
],
[
29,
30
],
[
29,
31
]
] | [
"import java.io.*;\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\t\n\t\tString data = br.readLine();\n\t\t\n\t\tSystem.out.println(new StringBuilder(data).reverse().toString()); \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\t\n\t\tString data = br.readLine();\n\t\t\n\t\tSystem.out.println(new StringBuilder(data).reverse().toString()); \n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString data = br.readLine();\n\t\t\n\t\tSystem.out.println(new StringBuilder(data).reverse().toString()); \n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString data = br.readLine();\n\t\t\n\t\tSystem.out.println(new StringBuilder(data).reverse().toString()); \n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String data = br.readLine();",
"data",
"br.readLine()",
"br.readLine",
"br",
"System.out.println(new StringBuilder(data).reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"new StringBuilder(data).reverse().toString()",
"new StringBuilder(data).reverse().toString",
"new StringBuilder(data).reverse()",
"new StringBuilder(data).reverse",
"new StringBuilder(data)",
"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\t\n\t\tString data = br.readLine();\n\t\t\n\t\tSystem.out.println(new StringBuilder(data).reverse().toString()); \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\t\n\t\tString data = br.readLine();\n\t\t\n\t\tSystem.out.println(new StringBuilder(data).reverse().toString()); \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));
String data = br.readLine();
System.out.println(new StringBuilder(data).reverse().toString());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
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
],
[
34,
11
],
[
34,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
12,
31
],
[
31,
32
],
[
0,
33
],
[
33,
34
],
[
33,
35
]
] | [
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\npublic class Main{\n\tpublic static void main (String[] args) throws java.lang.Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t StringBuffer line = new StringBuffer(br.readLine());\n\t\t\n\t\tSystem.out.println(line.reverse().toString());\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main (String[] args) throws java.lang.Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t StringBuffer line = new StringBuffer(br.readLine());\n\t\t\n\t\tSystem.out.println(line.reverse().toString());\n\t}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t StringBuffer line = new StringBuffer(br.readLine());\n\t\t\n\t\tSystem.out.println(line.reverse().toString());\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t StringBuffer line = new StringBuffer(br.readLine());\n\t\t\n\t\tSystem.out.println(line.reverse().toString());\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuffer line = new StringBuffer(br.readLine());",
"line",
"new StringBuffer(br.readLine())",
"System.out.println(line.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"line.reverse().toString()",
"line.reverse().toString",
"line.reverse()",
"line.reverse",
"line",
"String[] args",
"args",
"public class Main{\n\tpublic static void main (String[] args) throws java.lang.Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t StringBuffer line = new StringBuffer(br.readLine());\n\t\t\n\t\tSystem.out.println(line.reverse().toString());\n\t}\n}",
"public class Main{\n\tpublic static void main (String[] args) throws java.lang.Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t StringBuffer line = new StringBuffer(br.readLine());\n\t\t\n\t\tSystem.out.println(line.reverse().toString());\n\t}\n}",
"Main"
] | import java.util.*;
import java.lang.*;
import java.io.*;
public class Main{
public static void main (String[] args) throws java.lang.Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuffer line = new StringBuffer(br.readLine());
System.out.println(line.reverse().toString());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
41,
13,
18,
13,
13,
42,
2,
40,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
23
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n char[] list=sc.nextLine().toCharArray();\n int n=list.length;\n while(n-->0) {\n System.out.print(list[n]);\n }\n System.out.println();\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 char[] list=sc.nextLine().toCharArray();\n int n=list.length;\n while(n-->0) {\n System.out.print(list[n]);\n }\n System.out.println();\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n char[] list=sc.nextLine().toCharArray();\n int n=list.length;\n while(n-->0) {\n System.out.print(list[n]);\n }\n System.out.println();\n sc.close();\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n char[] list=sc.nextLine().toCharArray();\n int n=list.length;\n while(n-->0) {\n System.out.print(list[n]);\n }\n System.out.println();\n sc.close();\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"char[] list=sc.nextLine().toCharArray();",
"list",
"sc.nextLine().toCharArray()",
"sc.nextLine().toCharArray",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int n=list.length;",
"n",
"list.length",
"list",
"list.length",
"while(n-->0) {\n System.out.print(list[n]);\n }",
"n-->0",
"n--",
"n",
"0",
"{\n System.out.print(list[n]);\n }",
"System.out.print(list[n])",
"System.out.print",
"System.out",
"System",
"System.out",
"list[n]",
"list",
"n",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n char[] list=sc.nextLine().toCharArray();\n int n=list.length;\n while(n-->0) {\n System.out.print(list[n]);\n }\n System.out.println();\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n char[] list=sc.nextLine().toCharArray();\n int n=list.length;\n while(n-->0) {\n System.out.print(list[n]);\n }\n System.out.println();\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);
char[] list=sc.nextLine().toCharArray();
int n=list.length;
while(n-->0) {
System.out.print(list[n]);
}
System.out.println();
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
37,
11
],
[
37,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
32,
33
],
[
12,
34
],
[
34,
35
],
[
0,
36
],
[
36,
37
],
[
36,
38
]
] | [
"import java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = scan.next();\n\t\t\n\t\tStringBuilder sb = new StringBuilder(str);\n\t\tSystem.out.println(sb.reverse());\n\t\t\n\t}\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"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\tString str = scan.next();\n\t\t\n\t\tStringBuilder sb = new StringBuilder(str);\n\t\tSystem.out.println(sb.reverse());\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = scan.next();\n\t\t\n\t\tStringBuilder sb = new StringBuilder(str);\n\t\tSystem.out.println(sb.reverse());\n\t\t\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = scan.next();\n\t\t\n\t\tStringBuilder sb = new StringBuilder(str);\n\t\tSystem.out.println(sb.reverse());\n\t\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String str = scan.next();",
"str",
"scan.next()",
"scan.next",
"scan",
"StringBuilder sb = new StringBuilder(str);",
"sb",
"new StringBuilder(str)",
"System.out.println(sb.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse()",
"sb.reverse",
"sb",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = scan.next();\n\t\t\n\t\tStringBuilder sb = new StringBuilder(str);\n\t\tSystem.out.println(sb.reverse());\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\tString str = scan.next();\n\t\t\n\t\tStringBuilder sb = new StringBuilder(str);\n\t\tSystem.out.println(sb.reverse());\n\t\t\n\t}\n}",
"Main"
] | import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
String str = scan.next();
StringBuilder sb = new StringBuilder(str);
System.out.println(sb.reverse());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
29,
8
],
[
29,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
24,
25
],
[
9,
26
],
[
26,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
]
] | [
"import java.util.*;\nimport java.math.*;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n StringBuffer a = new StringBuffer(sc.next());\n System.out.println(a.reverse());\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n StringBuffer a = new StringBuffer(sc.next());\n System.out.println(a.reverse());\n\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n StringBuffer a = new StringBuffer(sc.next());\n System.out.println(a.reverse());\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n StringBuffer a = new StringBuffer(sc.next());\n System.out.println(a.reverse());\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuffer a = new StringBuffer(sc.next());",
"a",
"new StringBuffer(sc.next())",
"System.out.println(a.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"a.reverse()",
"a.reverse",
"a",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n StringBuffer a = new StringBuffer(sc.next());\n System.out.println(a.reverse());\n\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n StringBuffer a = new StringBuffer(sc.next());\n System.out.println(a.reverse());\n\n }\n}",
"Main"
] | import java.util.*;
import java.math.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
StringBuffer a = new StringBuffer(sc.next());
System.out.println(a.reverse());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
17,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
62,
5
],
[
62,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
32,
36
],
[
28,
37
],
[
37,
38
],
[
37,
39
],
[
28,
40
],
[
40,
41
],
[
41,
42
],
[
28,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
24,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] | [
"import java.io.*;\n\npublic class Main {\n\n public static void main(String[] arg) throws NumberFormatException, IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n String line;\n String revLine;\n\n // ab = gcd * lcm\n while ((line = in.readLine()) != null) {\n revLine = \"\";\n for (int i = line.length() - 1; i >= 0; i--) {\n revLine = revLine + line.charAt(i);\n }\n System.out.println(revLine);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n public static void main(String[] arg) throws NumberFormatException, IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n String line;\n String revLine;\n\n // ab = gcd * lcm\n while ((line = in.readLine()) != null) {\n revLine = \"\";\n for (int i = line.length() - 1; i >= 0; i--) {\n revLine = revLine + line.charAt(i);\n }\n System.out.println(revLine);\n }\n }\n}",
"Main",
"public static void main(String[] arg) throws NumberFormatException, IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n String line;\n String revLine;\n\n // ab = gcd * lcm\n while ((line = in.readLine()) != null) {\n revLine = \"\";\n for (int i = line.length() - 1; i >= 0; i--) {\n revLine = revLine + line.charAt(i);\n }\n System.out.println(revLine);\n }\n }",
"main",
"{\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n String line;\n String revLine;\n\n // ab = gcd * lcm\n while ((line = in.readLine()) != null) {\n revLine = \"\";\n for (int i = line.length() - 1; i >= 0; i--) {\n revLine = revLine + line.charAt(i);\n }\n System.out.println(revLine);\n }\n }",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"String revLine;",
"revLine",
"while ((line = in.readLine()) != null) {\n revLine = \"\";\n for (int i = line.length() - 1; i >= 0; i--) {\n revLine = revLine + line.charAt(i);\n }\n System.out.println(revLine);\n }",
"(line = in.readLine()) != null",
"(line = in.readLine())",
"line",
"in.readLine()",
"in.readLine",
"in",
"null",
"{\n revLine = \"\";\n for (int i = line.length() - 1; i >= 0; i--) {\n revLine = revLine + line.charAt(i);\n }\n System.out.println(revLine);\n }",
"revLine = \"\"",
"revLine",
"\"\"",
"for (int i = line.length() - 1; i >= 0; i--) {\n revLine = revLine + line.charAt(i);\n }",
"int i = line.length() - 1;",
"int i = line.length() - 1;",
"i",
"line.length() - 1",
"line.length()",
"line.length",
"line",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n revLine = revLine + line.charAt(i);\n }",
"{\n revLine = revLine + line.charAt(i);\n }",
"revLine = revLine + line.charAt(i)",
"revLine",
"revLine + line.charAt(i)",
"revLine",
"line.charAt(i)",
"line.charAt",
"line",
"i",
"System.out.println(revLine)",
"System.out.println",
"System.out",
"System",
"System.out",
"revLine",
"String[] arg",
"arg",
"public class Main {\n\n public static void main(String[] arg) throws NumberFormatException, IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n String line;\n String revLine;\n\n // ab = gcd * lcm\n while ((line = in.readLine()) != null) {\n revLine = \"\";\n for (int i = line.length() - 1; i >= 0; i--) {\n revLine = revLine + line.charAt(i);\n }\n System.out.println(revLine);\n }\n }\n}",
"public class Main {\n\n public static void main(String[] arg) throws NumberFormatException, IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n String line;\n String revLine;\n\n // ab = gcd * lcm\n while ((line = in.readLine()) != null) {\n revLine = \"\";\n for (int i = line.length() - 1; i >= 0; i--) {\n revLine = revLine + line.charAt(i);\n }\n System.out.println(revLine);\n }\n }\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] arg) throws NumberFormatException, IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String line;
String revLine;
// ab = gcd * lcm
while ((line = in.readLine()) != null) {
revLine = "";
for (int i = line.length() - 1; i >= 0; i--) {
revLine = revLine + line.charAt(i);
}
System.out.println(revLine);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
53,
5
],
[
53,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
19,
28
],
[
28,
29
],
[
28,
30
],
[
19,
31
],
[
31,
32
],
[
32,
33
],
[
19,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
6,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] | [
"import java.io.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tchar[] str = br.readLine().toCharArray();\n\t\t\n\t\tfor(int i = str.length - 1; i >= 0; i--){\n\t\t\tSystem.out.print(str[i]);\n\t\t}\n\t\tSystem.out.print('\\n');\n\t}\n\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tchar[] str = br.readLine().toCharArray();\n\t\t\n\t\tfor(int i = str.length - 1; i >= 0; i--){\n\t\t\tSystem.out.print(str[i]);\n\t\t}\n\t\tSystem.out.print('\\n');\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tchar[] str = br.readLine().toCharArray();\n\t\t\n\t\tfor(int i = str.length - 1; i >= 0; i--){\n\t\t\tSystem.out.print(str[i]);\n\t\t}\n\t\tSystem.out.print('\\n');\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tchar[] str = br.readLine().toCharArray();\n\t\t\n\t\tfor(int i = str.length - 1; i >= 0; i--){\n\t\t\tSystem.out.print(str[i]);\n\t\t}\n\t\tSystem.out.print('\\n');\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"char[] str = br.readLine().toCharArray();",
"str",
"br.readLine().toCharArray()",
"br.readLine().toCharArray",
"br.readLine()",
"br.readLine",
"br",
"for(int i = str.length - 1; i >= 0; i--){\n\t\t\tSystem.out.print(str[i]);\n\t\t}",
"int i = str.length - 1;",
"int i = str.length - 1;",
"i",
"str.length - 1",
"str.length",
"str",
"str.length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(str[i]);\n\t\t}",
"{\n\t\t\tSystem.out.print(str[i]);\n\t\t}",
"System.out.print(str[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"str[i]",
"str",
"i",
"System.out.print('\\n')",
"System.out.print",
"System.out",
"System",
"System.out",
"'\\n'",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tchar[] str = br.readLine().toCharArray();\n\t\t\n\t\tfor(int i = str.length - 1; i >= 0; i--){\n\t\t\tSystem.out.print(str[i]);\n\t\t}\n\t\tSystem.out.print('\\n');\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tchar[] str = br.readLine().toCharArray();\n\t\t\n\t\tfor(int i = str.length - 1; i >= 0; i--){\n\t\t\tSystem.out.print(str[i]);\n\t\t}\n\t\tSystem.out.print('\\n');\n\t}\n\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException{
// TODO 自動生成されたメソッド・スタブ
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
char[] str = br.readLine().toCharArray();
for(int i = str.length - 1; i >= 0; i--){
System.out.print(str[i]);
}
System.out.print('\n');
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
28,
5
],
[
28,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
6,
25
],
[
25,
26
],
[
0,
27
],
[
27,
28
],
[
27,
29
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\tStringBuffer sb = new StringBuffer(s.nextLine());\n\t\tSystem.out.println(sb.reverse().toString());\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\t// TODO ?????????????????????????????????????????????\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\tStringBuffer sb = new StringBuffer(s.nextLine());\n\t\tSystem.out.println(sb.reverse().toString());\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\tStringBuffer sb = new StringBuffer(s.nextLine());\n\t\tSystem.out.println(sb.reverse().toString());\n\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\tStringBuffer sb = new StringBuffer(s.nextLine());\n\t\tSystem.out.println(sb.reverse().toString());\n\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"StringBuffer sb = new StringBuffer(s.nextLine());",
"sb",
"new StringBuffer(s.nextLine())",
"System.out.println(sb.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\tStringBuffer sb = new StringBuffer(s.nextLine());\n\t\tSystem.out.println(sb.reverse().toString());\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\tStringBuffer sb = new StringBuffer(s.nextLine());\n\t\tSystem.out.println(sb.reverse().toString());\n\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner s = new Scanner(System.in);
StringBuffer sb = new StringBuffer(s.nextLine());
System.out.println(sb.reverse().toString());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
20,
13,
4,
18,
18,
13,
13,
2,
4,
18,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
15,
21
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
22,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
34,
38
],
[
6,
39
],
[
39,
40
]
] | [
"import java.io.*;\n\nclass Main{\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\twhile((str = in.readLine()) != null){\n\t\t\tStringBuffer reverse = new StringBuffer().append(str);\n\t\t\tSystem.out.print(reverse.reverse() + \"\\n\");\n\t\t}\n\t\t\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\twhile((str = in.readLine()) != null){\n\t\t\tStringBuffer reverse = new StringBuffer().append(str);\n\t\t\tSystem.out.print(reverse.reverse() + \"\\n\");\n\t\t}\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\tString str;\n\t\twhile((str = in.readLine()) != null){\n\t\t\tStringBuffer reverse = new StringBuffer().append(str);\n\t\t\tSystem.out.print(reverse.reverse() + \"\\n\");\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\twhile((str = in.readLine()) != null){\n\t\t\tStringBuffer reverse = new StringBuffer().append(str);\n\t\t\tSystem.out.print(reverse.reverse() + \"\\n\");\n\t\t}\n\t\t\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"while((str = in.readLine()) != null){\n\t\t\tStringBuffer reverse = new StringBuffer().append(str);\n\t\t\tSystem.out.print(reverse.reverse() + \"\\n\");\n\t\t}",
"(str = in.readLine()) != null",
"(str = in.readLine())",
"str",
"in.readLine()",
"in.readLine",
"in",
"null",
"{\n\t\t\tStringBuffer reverse = new StringBuffer().append(str);\n\t\t\tSystem.out.print(reverse.reverse() + \"\\n\");\n\t\t}",
"StringBuffer reverse = new StringBuffer().append(str);",
"reverse",
"new StringBuffer().append(str)",
"new StringBuffer().append",
"new StringBuffer()",
"str",
"System.out.print(reverse.reverse() + \"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"reverse.reverse() + \"\\n\"",
"reverse.reverse()",
"reverse.reverse",
"reverse",
"\"\\n\"",
"String args[]",
"args"
] | import java.io.*;
class Main{
public static void main(String args[]) throws IOException{
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String str;
while((str = in.readLine()) != null){
StringBuffer reverse = new StringBuffer().append(str);
System.out.print(reverse.reverse() + "\n");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
51,
5
],
[
51,
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
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
17,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tString str = stdIn.nextLine();\n\t\t\n\t\tfor(int i=str.length()-1;i>=0;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tString str = stdIn.nextLine();\n\t\t\n\t\tfor(int i=str.length()-1;i>=0;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tString str = stdIn.nextLine();\n\t\t\n\t\tfor(int i=str.length()-1;i>=0;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tString str = stdIn.nextLine();\n\t\t\n\t\tfor(int i=str.length()-1;i>=0;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"String str = stdIn.nextLine();",
"str",
"stdIn.nextLine()",
"stdIn.nextLine",
"stdIn",
"for(int i=str.length()-1;i>=0;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}",
"int i=str.length()-1;",
"int i=str.length()-1;",
"i",
"str.length()-1",
"str.length()",
"str.length",
"str",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}",
"{\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}",
"System.out.print(str.charAt(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"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 stdIn = new Scanner(System.in);\n\t\tString str = stdIn.nextLine();\n\t\t\n\t\tfor(int i=str.length()-1;i>=0;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tString str = stdIn.nextLine();\n\t\t\n\t\tfor(int i=str.length()-1;i>=0;i--){\n\t\t\tSystem.out.print(str.charAt(i));\n\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner stdIn = new Scanner(System.in);
String str = stdIn.nextLine();
for(int i=str.length()-1;i>=0;i--){
System.out.print(str.charAt(i));
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
18,
13,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
6,
37
],
[
37,
38
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = scan.next();\n\t\tStringBuffer buf = new StringBuffer(str);\n\t\t\n\t\tbuf.reverse();\n\t\tstr = buf.toString();\n\t\t\n\t\tSystem.out.println(str);\n\t\tscan.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = scan.next();\n\t\tStringBuffer buf = new StringBuffer(str);\n\t\t\n\t\tbuf.reverse();\n\t\tstr = buf.toString();\n\t\t\n\t\tSystem.out.println(str);\n\t\tscan.close();\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = scan.next();\n\t\tStringBuffer buf = new StringBuffer(str);\n\t\t\n\t\tbuf.reverse();\n\t\tstr = buf.toString();\n\t\t\n\t\tSystem.out.println(str);\n\t\tscan.close();\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = scan.next();\n\t\tStringBuffer buf = new StringBuffer(str);\n\t\t\n\t\tbuf.reverse();\n\t\tstr = buf.toString();\n\t\t\n\t\tSystem.out.println(str);\n\t\tscan.close();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String str = scan.next();",
"str",
"scan.next()",
"scan.next",
"scan",
"StringBuffer buf = new StringBuffer(str);",
"buf",
"new StringBuffer(str)",
"buf.reverse()",
"buf.reverse",
"buf",
"str = buf.toString()",
"str",
"buf.toString()",
"buf.toString",
"buf",
"System.out.println(str)",
"System.out.println",
"System.out",
"System",
"System.out",
"str",
"scan.close()",
"scan.close",
"scan",
"String args[]",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
String str = scan.next();
StringBuffer buf = new StringBuffer(str);
buf.reverse();
str = buf.toString();
System.out.println(str);
scan.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
37,
5
],
[
37,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
6,
34
],
[
34,
35
],
[
0,
36
],
[
36,
37
],
[
36,
38
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tString line = sc.nextLine();\n\t\t\t\tSystem.out.println(new StringBuilder(line).reverse().toString());\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\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tString line = sc.nextLine();\n\t\t\t\tSystem.out.println(new StringBuilder(line).reverse().toString());\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tString line = sc.nextLine();\n\t\t\t\tSystem.out.println(new StringBuilder(line).reverse().toString());\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tString line = sc.nextLine();\n\t\t\t\tSystem.out.println(new StringBuilder(line).reverse().toString());\n\t\t\t}\n\t\t}\n\t}",
"try (Scanner sc = new Scanner(System.in)) {\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tString line = sc.nextLine();\n\t\t\t\tSystem.out.println(new StringBuilder(line).reverse().toString());\n\t\t\t}\n\t\t}",
"{\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tString line = sc.nextLine();\n\t\t\t\tSystem.out.println(new StringBuilder(line).reverse().toString());\n\t\t\t}\n\t\t}",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"while (sc.hasNext()) {\n\t\t\t\tString line = sc.nextLine();\n\t\t\t\tSystem.out.println(new StringBuilder(line).reverse().toString());\n\t\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\t\tString line = sc.nextLine();\n\t\t\t\tSystem.out.println(new StringBuilder(line).reverse().toString());\n\t\t\t}",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"System.out.println(new StringBuilder(line).reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"new StringBuilder(line).reverse().toString()",
"new StringBuilder(line).reverse().toString",
"new StringBuilder(line).reverse()",
"new StringBuilder(line).reverse",
"new StringBuilder(line)",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tString line = sc.nextLine();\n\t\t\t\tSystem.out.println(new StringBuilder(line).reverse().toString());\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tString line = sc.nextLine();\n\t\t\t\tSystem.out.println(new StringBuilder(line).reverse().toString());\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in)) {
while (sc.hasNext()) {
String line = sc.nextLine();
System.out.println(new StringBuilder(line).reverse().toString());
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
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
],
[
11,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
9,
28
],
[
28,
29
]
] | [
"import java.io.*;\nimport java.util.*;\nclass Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb=new StringBuilder(br.readLine());\n System.out.println(sb.reverse().toString());\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 StringBuilder sb=new StringBuilder(br.readLine());\n System.out.println(sb.reverse().toString());\n }\n \n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb=new StringBuilder(br.readLine());\n System.out.println(sb.reverse().toString());\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb=new StringBuilder(br.readLine());\n System.out.println(sb.reverse().toString());\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb=new StringBuilder(br.readLine());",
"sb",
"new StringBuilder(br.readLine())",
"System.out.println(sb.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"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));
StringBuilder sb=new StringBuilder(br.readLine());
System.out.println(sb.reverse().toString());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
65,
5
],
[
65,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
14,
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
],
[
18,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
32,
41
],
[
41,
42
],
[
41,
43
],
[
32,
44
],
[
44,
45
],
[
45,
46
],
[
32,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
18,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
6,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str;\n\n\t\twhile ((scan.hasNext())) {\n\t\t\tstr = String.valueOf(scan.next());\n\t\t\tchar[] chars = str.toCharArray();\n\t\t\tfor (int i = chars.length - 1; i >= 0; i--) {\n\t\t\t\tSystem.out.print(chars[i]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str;\n\n\t\twhile ((scan.hasNext())) {\n\t\t\tstr = String.valueOf(scan.next());\n\t\t\tchar[] chars = str.toCharArray();\n\t\t\tfor (int i = chars.length - 1; i >= 0; i--) {\n\t\t\t\tSystem.out.print(chars[i]);\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\tString str;\n\n\t\twhile ((scan.hasNext())) {\n\t\t\tstr = String.valueOf(scan.next());\n\t\t\tchar[] chars = str.toCharArray();\n\t\t\tfor (int i = chars.length - 1; i >= 0; i--) {\n\t\t\t\tSystem.out.print(chars[i]);\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\tString str;\n\n\t\twhile ((scan.hasNext())) {\n\t\t\tstr = String.valueOf(scan.next());\n\t\t\tchar[] chars = str.toCharArray();\n\t\t\tfor (int i = chars.length - 1; i >= 0; i--) {\n\t\t\t\tSystem.out.print(chars[i]);\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)",
"String str;",
"str",
"while ((scan.hasNext())) {\n\t\t\tstr = String.valueOf(scan.next());\n\t\t\tchar[] chars = str.toCharArray();\n\t\t\tfor (int i = chars.length - 1; i >= 0; i--) {\n\t\t\t\tSystem.out.print(chars[i]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"(scan.hasNext())",
"scan.hasNext",
"scan",
"{\n\t\t\tstr = String.valueOf(scan.next());\n\t\t\tchar[] chars = str.toCharArray();\n\t\t\tfor (int i = chars.length - 1; i >= 0; i--) {\n\t\t\t\tSystem.out.print(chars[i]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"str = String.valueOf(scan.next())",
"str",
"String.valueOf(scan.next())",
"String.valueOf",
"String",
"scan.next()",
"scan.next",
"scan",
"char[] chars = str.toCharArray();",
"chars",
"str.toCharArray()",
"str.toCharArray",
"str",
"for (int i = chars.length - 1; i >= 0; i--) {\n\t\t\t\tSystem.out.print(chars[i]);\n\t\t\t}",
"int i = chars.length - 1;",
"int i = chars.length - 1;",
"i",
"chars.length - 1",
"chars.length",
"chars",
"chars.length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\t\tSystem.out.print(chars[i]);\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print(chars[i]);\n\t\t\t}",
"System.out.print(chars[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"chars[i]",
"chars",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str;\n\n\t\twhile ((scan.hasNext())) {\n\t\t\tstr = String.valueOf(scan.next());\n\t\t\tchar[] chars = str.toCharArray();\n\t\t\tfor (int i = chars.length - 1; i >= 0; i--) {\n\t\t\t\tSystem.out.print(chars[i]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str;\n\n\t\twhile ((scan.hasNext())) {\n\t\t\tstr = String.valueOf(scan.next());\n\t\t\tchar[] chars = str.toCharArray();\n\t\t\tfor (int i = chars.length - 1; i >= 0; i--) {\n\t\t\t\tSystem.out.print(chars[i]);\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);
String str;
while ((scan.hasNext())) {
str = String.valueOf(scan.next());
char[] chars = str.toCharArray();
for (int i = chars.length - 1; i >= 0; i--) {
System.out.print(chars[i]);
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
20,
41,
13,
4,
18,
13,
17,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
2,
2,
18,
13,
13,
13,
17,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
93,
5
],
[
93,
6
],
[
6,
7
],
[
6,
8
],
[
93,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
29,
41
],
[
41,
42
],
[
42,
43
],
[
29,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
50,
55
],
[
46,
56
],
[
56,
57
],
[
56,
58
],
[
11,
59
],
[
59,
60
],
[
59,
61
],
[
11,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
62,
72
],
[
72,
73
],
[
73,
74
],
[
62,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
11,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
9,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tString str =new Scanner(System.in).nextLine();\n\t\tString[] str1 = str.split(\"\");\n\t\tString[] str2 = new String[str1.length];\n\t\tfor (int i = str1.length - 1; i >= 0; i--) {\n\t\t\tstr2[str1.length - i - 1] = str1[i];\n\t\t}\n\t\tString str3 =\"\";\n\t\tfor (int i = 0; i < str2.length; i++) {\n\t\t\tstr3=str3+str2[i];\n\t\t}\n\t\tSystem.out.println(str3);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tString str =new Scanner(System.in).nextLine();\n\t\tString[] str1 = str.split(\"\");\n\t\tString[] str2 = new String[str1.length];\n\t\tfor (int i = str1.length - 1; i >= 0; i--) {\n\t\t\tstr2[str1.length - i - 1] = str1[i];\n\t\t}\n\t\tString str3 =\"\";\n\t\tfor (int i = 0; i < str2.length; i++) {\n\t\t\tstr3=str3+str2[i];\n\t\t}\n\t\tSystem.out.println(str3);\n\t}\n\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\t\tString str =new Scanner(System.in).nextLine();\n\t\tString[] str1 = str.split(\"\");\n\t\tString[] str2 = new String[str1.length];\n\t\tfor (int i = str1.length - 1; i >= 0; i--) {\n\t\t\tstr2[str1.length - i - 1] = str1[i];\n\t\t}\n\t\tString str3 =\"\";\n\t\tfor (int i = 0; i < str2.length; i++) {\n\t\t\tstr3=str3+str2[i];\n\t\t}\n\t\tSystem.out.println(str3);\n\t}",
"main",
"{\n\t\tString str =new Scanner(System.in).nextLine();\n\t\tString[] str1 = str.split(\"\");\n\t\tString[] str2 = new String[str1.length];\n\t\tfor (int i = str1.length - 1; i >= 0; i--) {\n\t\t\tstr2[str1.length - i - 1] = str1[i];\n\t\t}\n\t\tString str3 =\"\";\n\t\tfor (int i = 0; i < str2.length; i++) {\n\t\t\tstr3=str3+str2[i];\n\t\t}\n\t\tSystem.out.println(str3);\n\t}",
"String str =new Scanner(System.in).nextLine();",
"str",
"new Scanner(System.in).nextLine()",
"new Scanner(System.in).nextLine",
"new Scanner(System.in)",
"String[] str1 = str.split(\"\");",
"str1",
"str.split(\"\")",
"str.split",
"str",
"\"\"",
"String[] str2 = new String[str1.length];",
"str2",
"new String[str1.length]",
"str1.length",
"str1",
"str1.length",
"for (int i = str1.length - 1; i >= 0; i--) {\n\t\t\tstr2[str1.length - i - 1] = str1[i];\n\t\t}",
"int i = str1.length - 1;",
"int i = str1.length - 1;",
"i",
"str1.length - 1",
"str1.length",
"str1",
"str1.length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tstr2[str1.length - i - 1] = str1[i];\n\t\t}",
"{\n\t\t\tstr2[str1.length - i - 1] = str1[i];\n\t\t}",
"str2[str1.length - i - 1] = str1[i]",
"str2[str1.length - i - 1]",
"str2",
"str1.length - i - 1",
"str1.length - i - 1",
"str1.length",
"str1",
"str1.length",
"i",
"1",
"str1[i]",
"str1",
"i",
"String str3 =\"\";",
"str3",
"\"\"",
"for (int i = 0; i < str2.length; i++) {\n\t\t\tstr3=str3+str2[i];\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str2.length",
"i",
"str2.length",
"str2",
"str2.length",
"i++",
"i++",
"i",
"{\n\t\t\tstr3=str3+str2[i];\n\t\t}",
"{\n\t\t\tstr3=str3+str2[i];\n\t\t}",
"str3=str3+str2[i]",
"str3",
"str3+str2[i]",
"str3",
"str2[i]",
"str2",
"i",
"System.out.println(str3)",
"System.out.println",
"System.out",
"System",
"System.out",
"str3",
"String[] args",
"args",
"public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tString str =new Scanner(System.in).nextLine();\n\t\tString[] str1 = str.split(\"\");\n\t\tString[] str2 = new String[str1.length];\n\t\tfor (int i = str1.length - 1; i >= 0; i--) {\n\t\t\tstr2[str1.length - i - 1] = str1[i];\n\t\t}\n\t\tString str3 =\"\";\n\t\tfor (int i = 0; i < str2.length; i++) {\n\t\t\tstr3=str3+str2[i];\n\t\t}\n\t\tSystem.out.println(str3);\n\t}\n\n}",
"public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tString str =new Scanner(System.in).nextLine();\n\t\tString[] str1 = str.split(\"\");\n\t\tString[] str2 = new String[str1.length];\n\t\tfor (int i = str1.length - 1; i >= 0; i--) {\n\t\t\tstr2[str1.length - i - 1] = str1[i];\n\t\t}\n\t\tString str3 =\"\";\n\t\tfor (int i = 0; i < str2.length; i++) {\n\t\t\tstr3=str3+str2[i];\n\t\t}\n\t\tSystem.out.println(str3);\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
String str =new Scanner(System.in).nextLine();
String[] str1 = str.split("");
String[] str2 = new String[str1.length];
for (int i = str1.length - 1; i >= 0; i--) {
str2[str1.length - i - 1] = str1[i];
}
String str3 ="";
for (int i = 0; i < str2.length; i++) {
str3=str3+str2[i];
}
System.out.println(str3);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
20,
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
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
6,
28
],
[
28,
29
]
] | [
"import java.util.*;\n\nclass Main {\n public static void main (String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n StringBuffer sb = new StringBuffer(scanner.next());\n System.out.println(sb.reverse());\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main (String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n StringBuffer sb = new StringBuffer(scanner.next());\n System.out.println(sb.reverse());\n }\n }\n}",
"Main",
"public static void main (String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n StringBuffer sb = new StringBuffer(scanner.next());\n System.out.println(sb.reverse());\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n StringBuffer sb = new StringBuffer(scanner.next());\n System.out.println(sb.reverse());\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while (scanner.hasNext()) {\n StringBuffer sb = new StringBuffer(scanner.next());\n System.out.println(sb.reverse());\n }",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n StringBuffer sb = new StringBuffer(scanner.next());\n System.out.println(sb.reverse());\n }",
"StringBuffer sb = new StringBuffer(scanner.next());",
"sb",
"new StringBuffer(scanner.next())",
"System.out.println(sb.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse()",
"sb.reverse",
"sb",
"String[] args",
"args"
] | import java.util.*;
class Main {
public static void main (String[] args) {
Scanner scanner = new Scanner(System.in);
while (scanner.hasNext()) {
StringBuffer sb = new StringBuffer(scanner.next());
System.out.println(sb.reverse());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
18,
13,
13,
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
],
[
14,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
26,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
39,
41
],
[
42,
43
],
[
43,
44
],
[
33,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
45,
55
],
[
55,
56
],
[
56,
57
],
[
45,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
33,
68
],
[
68,
69
],
[
68,
70
],
[
33,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
71,
80
],
[
80,
81
],
[
80,
82
],
[
71,
83
],
[
83,
84
],
[
84,
85
],
[
71,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
33,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
12,
99
],
[
99,
100
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main{\n\n\n\tpublic static void main(String[] a){\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(is);\n\n\n String str = \"\";\n char[] chr;\n\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t\tchr = new char[str.length()];\n\n\t\t\tfor(int i = 0; i < str.length(); i++) {\n\t\t\t\t chr[i] = str.charAt(i);\n\t\t\t}\n\n\t\t\tString ans = \"\";\n\n\t\t\tfor(int i = (chr.length - 1); i >= 0; i--) {\n\t\t\t\tans += chr[i];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main{\n\n\n\tpublic static void main(String[] a){\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(is);\n\n\n String str = \"\";\n char[] chr;\n\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t\tchr = new char[str.length()];\n\n\t\t\tfor(int i = 0; i < str.length(); i++) {\n\t\t\t\t chr[i] = str.charAt(i);\n\t\t\t}\n\n\t\t\tString ans = \"\";\n\n\t\t\tfor(int i = (chr.length - 1); i >= 0; i--) {\n\t\t\t\tans += chr[i];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n\n}",
"Main",
"public static void main(String[] a){\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(is);\n\n\n String str = \"\";\n char[] chr;\n\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t\tchr = new char[str.length()];\n\n\t\t\tfor(int i = 0; i < str.length(); i++) {\n\t\t\t\t chr[i] = str.charAt(i);\n\t\t\t}\n\n\t\t\tString ans = \"\";\n\n\t\t\tfor(int i = (chr.length - 1); i >= 0; i--) {\n\t\t\t\tans += chr[i];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"main",
"{\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(is);\n\n\n String str = \"\";\n char[] chr;\n\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t\tchr = new char[str.length()];\n\n\t\t\tfor(int i = 0; i < str.length(); i++) {\n\t\t\t\t chr[i] = str.charAt(i);\n\t\t\t}\n\n\t\t\tString ans = \"\";\n\n\t\t\tfor(int i = (chr.length - 1); i >= 0; i--) {\n\t\t\t\tans += chr[i];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"InputStreamReader is = new InputStreamReader(System.in);",
"is",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(is);",
"br",
"new BufferedReader(is)",
"String str = \"\";",
"str",
"\"\"",
"char[] chr;",
"chr",
"try {\n\t\t\tstr = br.readLine();\n\t\t\tchr = new char[str.length()];\n\n\t\t\tfor(int i = 0; i < str.length(); i++) {\n\t\t\t\t chr[i] = str.charAt(i);\n\t\t\t}\n\n\t\t\tString ans = \"\";\n\n\t\t\tfor(int i = (chr.length - 1); i >= 0; i--) {\n\t\t\t\tans += chr[i];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\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\tstr = br.readLine();\n\t\t\tchr = new char[str.length()];\n\n\t\t\tfor(int i = 0; i < str.length(); i++) {\n\t\t\t\t chr[i] = str.charAt(i);\n\t\t\t}\n\n\t\t\tString ans = \"\";\n\n\t\t\tfor(int i = (chr.length - 1); i >= 0; i--) {\n\t\t\t\tans += chr[i];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\n\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"chr = new char[str.length()]",
"chr",
"new char[str.length()]",
"str.length()",
"str.length",
"str",
"for(int i = 0; i < str.length(); i++) {\n\t\t\t\t chr[i] = str.charAt(i);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str.length()",
"i",
"str.length()",
"str.length",
"str",
"i++",
"i++",
"i",
"{\n\t\t\t\t chr[i] = str.charAt(i);\n\t\t\t}",
"{\n\t\t\t\t chr[i] = str.charAt(i);\n\t\t\t}",
"chr[i] = str.charAt(i)",
"chr[i]",
"chr",
"i",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"String ans = \"\";",
"ans",
"\"\"",
"for(int i = (chr.length - 1); i >= 0; i--) {\n\t\t\t\tans += chr[i];\n\t\t\t}",
"int i = (chr.length - 1);",
"int i = (chr.length - 1);",
"i",
"(chr.length - 1)",
"chr.length",
"chr",
"chr.length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\t\tans += chr[i];\n\t\t\t}",
"{\n\t\t\t\tans += chr[i];\n\t\t\t}",
"ans += chr[i]",
"ans",
"chr[i]",
"chr",
"i",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] a",
"a"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
public static void main(String[] a){
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(is);
String str = "";
char[] chr;
try {
str = br.readLine();
chr = new char[str.length()];
for(int i = 0; i < str.length(); i++) {
chr[i] = str.charAt(i);
}
String ans = "";
for(int i = (chr.length - 1); i >= 0; i--) {
ans += chr[i];
}
System.out.println(ans);
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
29,
23,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
4,
18,
18,
13,
13,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
60,
11
],
[
60,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
14,
21
],
[
12,
22
],
[
22,
23
],
[
60,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
30,
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
],
[
50,
51
],
[
51,
52
],
[
37,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.reverseSequence();\n\t\treturn;\n\t}\n\t\n\t//文字列の反転\n\tprivate void reverseSequence() {\n\t\t\n\t\tBufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); //標準入力\n\t\t\n\t\ttry {\n\t\t\tString inputStr = bufferedReader.readLine();\n\t\t\tStringBuffer stringBuffer = new StringBuffer(inputStr);\n\t\t\tString outputStr = stringBuffer.reverse().toString();\n\t\t\tSystem.out.println(outputStr);\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\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\tMain main = new Main();\n\t\tmain.reverseSequence();\n\t\treturn;\n\t}\n\t\n\t//文字列の反転\n\tprivate void reverseSequence() {\n\t\t\n\t\tBufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); //標準入力\n\t\t\n\t\ttry {\n\t\t\tString inputStr = bufferedReader.readLine();\n\t\t\tStringBuffer stringBuffer = new StringBuffer(inputStr);\n\t\t\tString outputStr = stringBuffer.reverse().toString();\n\t\t\tSystem.out.println(outputStr);\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.reverseSequence();\n\t\treturn;\n\t}",
"main",
"{\n\t\tMain main = new Main();\n\t\tmain.reverseSequence();\n\t\treturn;\n\t}",
"Main main = new Main();",
"main",
"new Main()",
"main.reverseSequence()",
"main.reverseSequence",
"main",
"return;",
"String[] args",
"args",
"//文字列の反転\n\tprivate void reverseSequence() {\n\t\t\n\t\tBufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); //標準入力\n\t\t\n\t\ttry {\n\t\t\tString inputStr = bufferedReader.readLine();\n\t\t\tStringBuffer stringBuffer = new StringBuffer(inputStr);\n\t\t\tString outputStr = stringBuffer.reverse().toString();\n\t\t\tSystem.out.println(outputStr);\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"reverseSequence",
"{\n\t\t\n\t\tBufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); //標準入力\n\t\t\n\t\ttry {\n\t\t\tString inputStr = bufferedReader.readLine();\n\t\t\tStringBuffer stringBuffer = new StringBuffer(inputStr);\n\t\t\tString outputStr = stringBuffer.reverse().toString();\n\t\t\tSystem.out.println(outputStr);\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));",
"bufferedReader",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n\t\t\tString inputStr = bufferedReader.readLine();\n\t\t\tStringBuffer stringBuffer = new StringBuffer(inputStr);\n\t\t\tString outputStr = stringBuffer.reverse().toString();\n\t\t\tSystem.out.println(outputStr);\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}",
"catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tString inputStr = bufferedReader.readLine();\n\t\t\tStringBuffer stringBuffer = new StringBuffer(inputStr);\n\t\t\tString outputStr = stringBuffer.reverse().toString();\n\t\t\tSystem.out.println(outputStr);\n\t\t}",
"String inputStr = bufferedReader.readLine();",
"inputStr",
"bufferedReader.readLine()",
"bufferedReader.readLine",
"bufferedReader",
"StringBuffer stringBuffer = new StringBuffer(inputStr);",
"stringBuffer",
"new StringBuffer(inputStr)",
"String outputStr = stringBuffer.reverse().toString();",
"outputStr",
"stringBuffer.reverse().toString()",
"stringBuffer.reverse().toString",
"stringBuffer.reverse()",
"stringBuffer.reverse",
"stringBuffer",
"System.out.println(outputStr)",
"System.out.println",
"System.out",
"System",
"System.out",
"outputStr",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.reverseSequence();\n\t\treturn;\n\t}\n\t\n\t//文字列の反転\n\tprivate void reverseSequence() {\n\t\t\n\t\tBufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); //標準入力\n\t\t\n\t\ttry {\n\t\t\tString inputStr = bufferedReader.readLine();\n\t\t\tStringBuffer stringBuffer = new StringBuffer(inputStr);\n\t\t\tString outputStr = stringBuffer.reverse().toString();\n\t\t\tSystem.out.println(outputStr);\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.reverseSequence();\n\t\treturn;\n\t}\n\t\n\t//文字列の反転\n\tprivate void reverseSequence() {\n\t\t\n\t\tBufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); //標準入力\n\t\t\n\t\ttry {\n\t\t\tString inputStr = bufferedReader.readLine();\n\t\t\tStringBuffer stringBuffer = new StringBuffer(inputStr);\n\t\t\tString outputStr = stringBuffer.reverse().toString();\n\t\t\tSystem.out.println(outputStr);\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\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) {
Main main = new Main();
main.reverseSequence();
return;
}
//文字列の反転
private void reverseSequence() {
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); //標準入力
try {
String inputStr = bufferedReader.readLine();
StringBuffer stringBuffer = new StringBuffer(inputStr);
String outputStr = stringBuffer.reverse().toString();
System.out.println(outputStr);
} catch (IOException e) {
// TODO 自動生成された catch ブロック
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
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
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
24,
33
],
[
33,
34
],
[
33,
35
],
[
24,
36
],
[
36,
37
],
[
37,
38
],
[
24,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
6,
54
],
[
54,
55
]
] | [
"import java.io.*;\nclass Main{\n public static void main(String[] args) throws IOException{\n\n\tBufferedReader br=\n\t new BufferedReader(new InputStreamReader(System.in));\n\tString buf;\n\tbuf=br.readLine();\n\tchar[] data=buf.toCharArray();\n\tfor(int i=(data.length-1);i>=0;i--){\n\t System.out.print(data[i]);\n\t}\n\tSystem.out.println();\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] args) throws IOException{\n\n\tBufferedReader br=\n\t new BufferedReader(new InputStreamReader(System.in));\n\tString buf;\n\tbuf=br.readLine();\n\tchar[] data=buf.toCharArray();\n\tfor(int i=(data.length-1);i>=0;i--){\n\t System.out.print(data[i]);\n\t}\n\tSystem.out.println();\n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\n\tBufferedReader br=\n\t new BufferedReader(new InputStreamReader(System.in));\n\tString buf;\n\tbuf=br.readLine();\n\tchar[] data=buf.toCharArray();\n\tfor(int i=(data.length-1);i>=0;i--){\n\t System.out.print(data[i]);\n\t}\n\tSystem.out.println();\n }",
"main",
"{\n\n\tBufferedReader br=\n\t new BufferedReader(new InputStreamReader(System.in));\n\tString buf;\n\tbuf=br.readLine();\n\tchar[] data=buf.toCharArray();\n\tfor(int i=(data.length-1);i>=0;i--){\n\t System.out.print(data[i]);\n\t}\n\tSystem.out.println();\n }",
"BufferedReader br=\n\t new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String buf;",
"buf",
"buf=br.readLine()",
"buf",
"br.readLine()",
"br.readLine",
"br",
"char[] data=buf.toCharArray();",
"data",
"buf.toCharArray()",
"buf.toCharArray",
"buf",
"for(int i=(data.length-1);i>=0;i--){\n\t System.out.print(data[i]);\n\t}",
"int i=(data.length-1);",
"int i=(data.length-1);",
"i",
"(data.length-1)",
"data.length",
"data",
"data.length",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t System.out.print(data[i]);\n\t}",
"{\n\t System.out.print(data[i]);\n\t}",
"System.out.print(data[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"data[i]",
"data",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader br=
new BufferedReader(new InputStreamReader(System.in));
String buf;
buf=br.readLine();
char[] data=buf.toCharArray();
for(int i=(data.length-1);i>=0;i--){
System.out.print(data[i]);
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
6,
28
],
[
28,
29
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str = scan.next();\n\t\tStringBuffer ans = new StringBuffer(str);\n\t\tSystem.out.println(ans.reverse());\n\t\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str = scan.next();\n\t\tStringBuffer ans = new StringBuffer(str);\n\t\tSystem.out.println(ans.reverse());\n\t\t\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str = scan.next();\n\t\tStringBuffer ans = new StringBuffer(str);\n\t\tSystem.out.println(ans.reverse());\n\t\t\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str = scan.next();\n\t\tStringBuffer ans = new StringBuffer(str);\n\t\tSystem.out.println(ans.reverse());\n\t\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String str = scan.next();",
"str",
"scan.next()",
"scan.next",
"scan",
"StringBuffer ans = new StringBuffer(str);",
"ans",
"new StringBuffer(str)",
"System.out.println(ans.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"ans.reverse()",
"ans.reverse",
"ans",
"String args[]",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
String str = scan.next();
StringBuffer ans = new StringBuffer(str);
System.out.println(ans.reverse());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
18,
4,
18,
20,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
16,
25
],
[
25,
26
],
[
25,
27
],
[
16,
28
],
[
28,
29
],
[
29,
30
],
[
16,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tchar[] c = new Scanner(System.in).nextLine()\n\t\t .toCharArray();\n\t\tfor (int i = c.length - 1; i >= 0; i--) {\n\t\t\tSystem.out.print(c[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tchar[] c = new Scanner(System.in).nextLine()\n\t\t .toCharArray();\n\t\tfor (int i = c.length - 1; i >= 0; i--) {\n\t\t\tSystem.out.print(c[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tchar[] c = new Scanner(System.in).nextLine()\n\t\t .toCharArray();\n\t\tfor (int i = c.length - 1; i >= 0; i--) {\n\t\t\tSystem.out.print(c[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\tchar[] c = new Scanner(System.in).nextLine()\n\t\t .toCharArray();\n\t\tfor (int i = c.length - 1; i >= 0; i--) {\n\t\t\tSystem.out.print(c[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"char[] c = new Scanner(System.in).nextLine()\n\t\t .toCharArray();",
"c",
"new Scanner(System.in).nextLine()\n\t\t .toCharArray()",
"new Scanner(System.in).nextLine()\n\t\t .toCharArray",
"new Scanner(System.in).nextLine()",
"new Scanner(System.in).nextLine",
"new Scanner(System.in)",
"for (int i = c.length - 1; i >= 0; i--) {\n\t\t\tSystem.out.print(c[i]);\n\t\t}",
"int i = c.length - 1;",
"int i = c.length - 1;",
"i",
"c.length - 1",
"c.length",
"c",
"c.length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(c[i]);\n\t\t}",
"{\n\t\t\tSystem.out.print(c[i]);\n\t\t}",
"System.out.print(c[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"c[i]",
"c",
"i",
"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\tchar[] c = new Scanner(System.in).nextLine()\n\t\t .toCharArray();\n\t\tfor (int i = c.length - 1; i >= 0; i--) {\n\t\t\tSystem.out.print(c[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tchar[] c = new Scanner(System.in).nextLine()\n\t\t .toCharArray();\n\t\tfor (int i = c.length - 1; i >= 0; i--) {\n\t\t\tSystem.out.print(c[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
char[] c = new Scanner(System.in).nextLine()
.toCharArray();
for (int i = c.length - 1; i >= 0; i--) {
System.out.print(c[i]);
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
26,
5
],
[
26,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
21,
22
],
[
6,
23
],
[
23,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
]
] | [
"import java.util.*;\n\npublic class Main {\n public static void main (String[] args) {\n Scanner scanner = new Scanner(System.in);\n \n StringBuffer str = new StringBuffer(scanner.next());\n System.out.println(str.reverse());\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main (String[] args) {\n Scanner scanner = new Scanner(System.in);\n \n StringBuffer str = new StringBuffer(scanner.next());\n System.out.println(str.reverse());\n }\n}",
"Main",
"public static void main (String[] args) {\n Scanner scanner = new Scanner(System.in);\n \n StringBuffer str = new StringBuffer(scanner.next());\n System.out.println(str.reverse());\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n \n StringBuffer str = new StringBuffer(scanner.next());\n System.out.println(str.reverse());\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"StringBuffer str = new StringBuffer(scanner.next());",
"str",
"new StringBuffer(scanner.next())",
"System.out.println(str.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"str.reverse()",
"str.reverse",
"str",
"String[] args",
"args",
"public class Main {\n public static void main (String[] args) {\n Scanner scanner = new Scanner(System.in);\n \n StringBuffer str = new StringBuffer(scanner.next());\n System.out.println(str.reverse());\n }\n}",
"public class Main {\n public static void main (String[] args) {\n Scanner scanner = new Scanner(System.in);\n \n StringBuffer str = new StringBuffer(scanner.next());\n System.out.println(str.reverse());\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main (String[] args) {
Scanner scanner = new Scanner(System.in);
StringBuffer str = new StringBuffer(scanner.next());
System.out.println(str.reverse());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
14,
2,
4,
18,
13,
17,
30,
29,
13,
30,
29,
2,
4,
13,
4,
18,
13,
17,
4,
18,
13,
17,
17,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
4,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
62,
8
],
[
62,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
15,
16
],
[
13,
17
],
[
12,
18
],
[
18,
19
],
[
19,
20
],
[
12,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
23,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
30,
34
],
[
9,
35
],
[
35,
36
],
[
62,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
39,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
39,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
37,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] | [
"import java.util.Scanner;\nimport java.lang.*;\n\npublic class Main{\n\n\tpublic static String reverse(String str){\n\t\t\n\t\t\tif(str.length() == 1){\n\t\t\t\treturn str;\n\t\t\t}else{\n\t\t\t\t\n\t\t\t\treturn reverse(str.substring(1)) + str.substring(0,1);\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}\n\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str = scan.next();\n\t\t\n\t\tstr = reverse(str);\n\t\t\n\t\tSystem.out.println(str);\n\t\t\n\t\t\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.lang.*;",
"lang.*",
"java",
"public class Main{\n\n\tpublic static String reverse(String str){\n\t\t\n\t\t\tif(str.length() == 1){\n\t\t\t\treturn str;\n\t\t\t}else{\n\t\t\t\t\n\t\t\t\treturn reverse(str.substring(1)) + str.substring(0,1);\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}\n\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str = scan.next();\n\t\t\n\t\tstr = reverse(str);\n\t\t\n\t\tSystem.out.println(str);\n\t\t\n\t\t\n\t\t\n\t}\n\n}",
"Main",
"public static String reverse(String str){\n\t\t\n\t\t\tif(str.length() == 1){\n\t\t\t\treturn str;\n\t\t\t}else{\n\t\t\t\t\n\t\t\t\treturn reverse(str.substring(1)) + str.substring(0,1);\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}",
"reverse",
"{\n\t\t\n\t\t\tif(str.length() == 1){\n\t\t\t\treturn str;\n\t\t\t}else{\n\t\t\t\t\n\t\t\t\treturn reverse(str.substring(1)) + str.substring(0,1);\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}",
"if(str.length() == 1){\n\t\t\t\treturn str;\n\t\t\t}else{\n\t\t\t\t\n\t\t\t\treturn reverse(str.substring(1)) + str.substring(0,1);\n\t\t\t\t\n\t\t\t}",
"str.length() == 1",
"str.length()",
"str.length",
"str",
"1",
"{\n\t\t\t\treturn str;\n\t\t\t}",
"return str;",
"str",
"{\n\t\t\t\t\n\t\t\t\treturn reverse(str.substring(1)) + str.substring(0,1);\n\t\t\t\t\n\t\t\t}",
"return reverse(str.substring(1)) + str.substring(0,1);",
"reverse(str.substring(1)) + str.substring(0,1)",
"reverse(str.substring(1))",
"reverse",
"str.substring(1)",
"str.substring",
"str",
"1",
"str.substring(0,1)",
"str.substring",
"str",
"0",
"1",
"String str",
"str",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str = scan.next();\n\t\t\n\t\tstr = reverse(str);\n\t\t\n\t\tSystem.out.println(str);\n\t\t\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str = scan.next();\n\t\t\n\t\tstr = reverse(str);\n\t\t\n\t\tSystem.out.println(str);\n\t\t\n\t\t\n\t\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String str = scan.next();",
"str",
"scan.next()",
"scan.next",
"scan",
"str = reverse(str)",
"str",
"reverse(str)",
"reverse",
"str",
"System.out.println(str)",
"System.out.println",
"System.out",
"System",
"System.out",
"str",
"String[] args",
"args",
"public class Main{\n\n\tpublic static String reverse(String str){\n\t\t\n\t\t\tif(str.length() == 1){\n\t\t\t\treturn str;\n\t\t\t}else{\n\t\t\t\t\n\t\t\t\treturn reverse(str.substring(1)) + str.substring(0,1);\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}\n\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str = scan.next();\n\t\t\n\t\tstr = reverse(str);\n\t\t\n\t\tSystem.out.println(str);\n\t\t\n\t\t\n\t\t\n\t}\n\n}",
"public class Main{\n\n\tpublic static String reverse(String str){\n\t\t\n\t\t\tif(str.length() == 1){\n\t\t\t\treturn str;\n\t\t\t}else{\n\t\t\t\t\n\t\t\t\treturn reverse(str.substring(1)) + str.substring(0,1);\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}\n\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str = scan.next();\n\t\t\n\t\tstr = reverse(str);\n\t\t\n\t\tSystem.out.println(str);\n\t\t\n\t\t\n\t\t\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
import java.lang.*;
public class Main{
public static String reverse(String str){
if(str.length() == 1){
return str;
}else{
return reverse(str.substring(1)) + str.substring(0,1);
}
}
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
String str = scan.next();
str = reverse(str);
System.out.println(str);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
20,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
31,
5
],
[
31,
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
],
[
22,
27
],
[
6,
28
],
[
28,
29
],
[
0,
30
],
[
30,
31
],
[
30,
32
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString str = sc.nextLine();\n\t\t\n\t\tStringBuffer sb = new StringBuffer(str).reverse();\n\t\t\n\t\tSystem.out.println(sb);\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\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString str = sc.nextLine();\n\t\t\n\t\tStringBuffer sb = new StringBuffer(str).reverse();\n\t\t\n\t\tSystem.out.println(sb);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString str = sc.nextLine();\n\t\t\n\t\tStringBuffer sb = new StringBuffer(str).reverse();\n\t\t\n\t\tSystem.out.println(sb);\n\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString str = sc.nextLine();\n\t\t\n\t\tStringBuffer sb = new StringBuffer(str).reverse();\n\t\t\n\t\tSystem.out.println(sb);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str = sc.nextLine();",
"str",
"sc.nextLine()",
"sc.nextLine",
"sc",
"StringBuffer sb = new StringBuffer(str).reverse();",
"sb",
"new StringBuffer(str).reverse()",
"new StringBuffer(str).reverse",
"new StringBuffer(str)",
"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) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString str = sc.nextLine();\n\t\t\n\t\tStringBuffer sb = new StringBuffer(str).reverse();\n\t\t\n\t\tSystem.out.println(sb);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString str = sc.nextLine();\n\t\t\n\t\tStringBuffer sb = new StringBuffer(str).reverse();\n\t\t\n\t\tSystem.out.println(sb);\n\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);
String str = sc.nextLine();
StringBuffer sb = new StringBuffer(str).reverse();
System.out.println(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
38,
5,
13,
30,
30,
4,
18,
13,
30,
42,
2,
17,
0,
13,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
2,
13,
13,
17,
0,
18,
13,
2,
2,
13,
13,
17,
13,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
116,
11
],
[
116,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
17,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
20,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
20,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
45,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
45,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
56,
66
],
[
66,
67
],
[
67,
68
],
[
56,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
70,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
80,
82
],
[
83,
83
],
[
83,
84
],
[
83,
85
],
[
83,
86
],
[
70,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
91,
91
],
[
91,
92
],
[
91,
93
],
[
91,
94
],
[
87,
95
],
[
45,
96
],
[
96,
97
],
[
96,
98
],
[
96,
99
],
[
100,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
45,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
12,
113
],
[
113,
114
],
[
0,
115
],
[
115,
116
],
[
115,
117
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] a){\n\n\t\tString str;\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\twhile(null != ( str = bf.readLine() )){\n\t\t\t\tchar[] cArr = str.toCharArray();\n\t\t\t\tint len = cArr.length;\n\t\t\t\tfor(int i = 0; i < len / 2; i++){\n\t\t\t\t\tchar tmp = cArr[i];\n\t\t\t\t\tcArr[i] = cArr[len - i - 1];\n\t\t\t\t\tcArr[len - i - 1] = tmp;\n\t\t\t\t}\n\t\t\t\tfor(char c : cArr){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tbf.close();\n\t\t\t} catch (IOException e) {\n\t\t\t}\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\n\tpublic static void main(String[] a){\n\n\t\tString str;\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\twhile(null != ( str = bf.readLine() )){\n\t\t\t\tchar[] cArr = str.toCharArray();\n\t\t\t\tint len = cArr.length;\n\t\t\t\tfor(int i = 0; i < len / 2; i++){\n\t\t\t\t\tchar tmp = cArr[i];\n\t\t\t\t\tcArr[i] = cArr[len - i - 1];\n\t\t\t\t\tcArr[len - i - 1] = tmp;\n\t\t\t\t}\n\t\t\t\tfor(char c : cArr){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tbf.close();\n\t\t\t} catch (IOException e) {\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] a){\n\n\t\tString str;\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\twhile(null != ( str = bf.readLine() )){\n\t\t\t\tchar[] cArr = str.toCharArray();\n\t\t\t\tint len = cArr.length;\n\t\t\t\tfor(int i = 0; i < len / 2; i++){\n\t\t\t\t\tchar tmp = cArr[i];\n\t\t\t\t\tcArr[i] = cArr[len - i - 1];\n\t\t\t\t\tcArr[len - i - 1] = tmp;\n\t\t\t\t}\n\t\t\t\tfor(char c : cArr){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tbf.close();\n\t\t\t} catch (IOException e) {\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\n\t\tString str;\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\twhile(null != ( str = bf.readLine() )){\n\t\t\t\tchar[] cArr = str.toCharArray();\n\t\t\t\tint len = cArr.length;\n\t\t\t\tfor(int i = 0; i < len / 2; i++){\n\t\t\t\t\tchar tmp = cArr[i];\n\t\t\t\t\tcArr[i] = cArr[len - i - 1];\n\t\t\t\t\tcArr[len - i - 1] = tmp;\n\t\t\t\t}\n\t\t\t\tfor(char c : cArr){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tbf.close();\n\t\t\t} catch (IOException e) {\n\t\t\t}\n\t\t}\n\t}",
"String str;",
"str",
"BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));",
"bf",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n\t\t\twhile(null != ( str = bf.readLine() )){\n\t\t\t\tchar[] cArr = str.toCharArray();\n\t\t\t\tint len = cArr.length;\n\t\t\t\tfor(int i = 0; i < len / 2; i++){\n\t\t\t\t\tchar tmp = cArr[i];\n\t\t\t\t\tcArr[i] = cArr[len - i - 1];\n\t\t\t\t\tcArr[len - i - 1] = tmp;\n\t\t\t\t}\n\t\t\t\tfor(char c : cArr){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tbf.close();\n\t\t\t} catch (IOException e) {\n\t\t\t}\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\ttry {\n\t\t\t\tbf.close();\n\t\t\t} catch (IOException e) {\n\t\t\t}\n\t\t}",
"try {\n\t\t\t\tbf.close();\n\t\t\t} catch (IOException e) {\n\t\t\t}",
"catch (IOException e) {\n\t\t\t}",
"IOException e",
"{\n\t\t\t}",
"{\n\t\t\t\tbf.close();\n\t\t\t}",
"bf.close()",
"bf.close",
"bf",
"{\n\t\t\twhile(null != ( str = bf.readLine() )){\n\t\t\t\tchar[] cArr = str.toCharArray();\n\t\t\t\tint len = cArr.length;\n\t\t\t\tfor(int i = 0; i < len / 2; i++){\n\t\t\t\t\tchar tmp = cArr[i];\n\t\t\t\t\tcArr[i] = cArr[len - i - 1];\n\t\t\t\t\tcArr[len - i - 1] = tmp;\n\t\t\t\t}\n\t\t\t\tfor(char c : cArr){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}",
"while(null != ( str = bf.readLine() )){\n\t\t\t\tchar[] cArr = str.toCharArray();\n\t\t\t\tint len = cArr.length;\n\t\t\t\tfor(int i = 0; i < len / 2; i++){\n\t\t\t\t\tchar tmp = cArr[i];\n\t\t\t\t\tcArr[i] = cArr[len - i - 1];\n\t\t\t\t\tcArr[len - i - 1] = tmp;\n\t\t\t\t}\n\t\t\t\tfor(char c : cArr){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"null != ( str = bf.readLine() )",
"null",
"( str = bf.readLine() )",
"str",
"bf.readLine()",
"bf.readLine",
"bf",
"{\n\t\t\t\tchar[] cArr = str.toCharArray();\n\t\t\t\tint len = cArr.length;\n\t\t\t\tfor(int i = 0; i < len / 2; i++){\n\t\t\t\t\tchar tmp = cArr[i];\n\t\t\t\t\tcArr[i] = cArr[len - i - 1];\n\t\t\t\t\tcArr[len - i - 1] = tmp;\n\t\t\t\t}\n\t\t\t\tfor(char c : cArr){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"char[] cArr = str.toCharArray();",
"cArr",
"str.toCharArray()",
"str.toCharArray",
"str",
"int len = cArr.length;",
"len",
"cArr.length",
"cArr",
"cArr.length",
"for(int i = 0; i < len / 2; i++){\n\t\t\t\t\tchar tmp = cArr[i];\n\t\t\t\t\tcArr[i] = cArr[len - i - 1];\n\t\t\t\t\tcArr[len - i - 1] = tmp;\n\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len / 2",
"i",
"len / 2",
"len",
"2",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tchar tmp = cArr[i];\n\t\t\t\t\tcArr[i] = cArr[len - i - 1];\n\t\t\t\t\tcArr[len - i - 1] = tmp;\n\t\t\t\t}",
"{\n\t\t\t\t\tchar tmp = cArr[i];\n\t\t\t\t\tcArr[i] = cArr[len - i - 1];\n\t\t\t\t\tcArr[len - i - 1] = tmp;\n\t\t\t\t}",
"char tmp = cArr[i];",
"tmp",
"cArr[i]",
"cArr",
"i",
"cArr[i] = cArr[len - i - 1]",
"cArr[i]",
"cArr",
"i",
"cArr[len - i - 1]",
"cArr",
"len - i - 1",
"len - i - 1",
"len",
"i",
"1",
"cArr[len - i - 1] = tmp",
"cArr[len - i - 1]",
"cArr",
"len - i - 1",
"len - i - 1",
"len",
"i",
"1",
"tmp",
"for(char c : cArr){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}",
"char c",
"cArr",
"{\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}",
"System.out.print(c)",
"System.out.print",
"System.out",
"System",
"System.out",
"c",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] a",
"a",
"public class Main {\n\n\tpublic static void main(String[] a){\n\n\t\tString str;\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\twhile(null != ( str = bf.readLine() )){\n\t\t\t\tchar[] cArr = str.toCharArray();\n\t\t\t\tint len = cArr.length;\n\t\t\t\tfor(int i = 0; i < len / 2; i++){\n\t\t\t\t\tchar tmp = cArr[i];\n\t\t\t\t\tcArr[i] = cArr[len - i - 1];\n\t\t\t\t\tcArr[len - i - 1] = tmp;\n\t\t\t\t}\n\t\t\t\tfor(char c : cArr){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tbf.close();\n\t\t\t} catch (IOException e) {\n\t\t\t}\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] a){\n\n\t\tString str;\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\twhile(null != ( str = bf.readLine() )){\n\t\t\t\tchar[] cArr = str.toCharArray();\n\t\t\t\tint len = cArr.length;\n\t\t\t\tfor(int i = 0; i < len / 2; i++){\n\t\t\t\t\tchar tmp = cArr[i];\n\t\t\t\t\tcArr[i] = cArr[len - i - 1];\n\t\t\t\t\tcArr[len - i - 1] = tmp;\n\t\t\t\t}\n\t\t\t\tfor(char c : cArr){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tbf.close();\n\t\t\t} catch (IOException e) {\n\t\t\t}\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[] a){
String str;
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
try {
while(null != ( str = bf.readLine() )){
char[] cArr = str.toCharArray();
int len = cArr.length;
for(int i = 0; i < len / 2; i++){
char tmp = cArr[i];
cArr[i] = cArr[len - i - 1];
cArr[len - i - 1] = tmp;
}
for(char c : cArr){
System.out.print(c);
}
System.out.println("");
}
} catch (IOException e) {
e.printStackTrace();
} finally {
try {
bf.close();
} catch (IOException e) {
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
0,
13,
17,
0,
13,
17,
41,
13,
20,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
13,
2,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
63,
5
],
[
63,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
32,
39
],
[
39,
40
],
[
39,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
32,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String args[])\n\t {\n\t String x,y;\n\t x=\"\";\n\t y=\"\";\n\t Scanner in = new Scanner(System.in);\n\t x = in.nextLine();\n\t \n\t int l = x.length();\n\t \n\t for ( int i = l - 1 ; i >= 0 ; i-- )\n\t y = y + x.charAt(i);\n\t \n\t System.out.println(y);\n\t }}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String args[])\n\t {\n\t String x,y;\n\t x=\"\";\n\t y=\"\";\n\t Scanner in = new Scanner(System.in);\n\t x = in.nextLine();\n\t \n\t int l = x.length();\n\t \n\t for ( int i = l - 1 ; i >= 0 ; i-- )\n\t y = y + x.charAt(i);\n\t \n\t System.out.println(y);\n\t }}",
"Main",
"public static void main(String args[])\n\t {\n\t String x,y;\n\t x=\"\";\n\t y=\"\";\n\t Scanner in = new Scanner(System.in);\n\t x = in.nextLine();\n\t \n\t int l = x.length();\n\t \n\t for ( int i = l - 1 ; i >= 0 ; i-- )\n\t y = y + x.charAt(i);\n\t \n\t System.out.println(y);\n\t }",
"main",
"{\n\t String x,y;\n\t x=\"\";\n\t y=\"\";\n\t Scanner in = new Scanner(System.in);\n\t x = in.nextLine();\n\t \n\t int l = x.length();\n\t \n\t for ( int i = l - 1 ; i >= 0 ; i-- )\n\t y = y + x.charAt(i);\n\t \n\t System.out.println(y);\n\t }",
"String x",
"x",
"y;",
"y",
"x=\"\"",
"x",
"\"\"",
"y=\"\"",
"y",
"\"\"",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"x = in.nextLine()",
"x",
"in.nextLine()",
"in.nextLine",
"in",
"int l = x.length();",
"l",
"x.length()",
"x.length",
"x",
"for ( int i = l - 1 ; i >= 0 ; i-- )\n\t y = y + x.charAt(i);",
"int i = l - 1 ;",
"int i = l - 1 ;",
"i",
"l - 1",
"l",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"y = y + x.charAt(i);",
"y = y + x.charAt(i)",
"y",
"y + x.charAt(i)",
"y",
"x.charAt(i)",
"x.charAt",
"x",
"i",
"System.out.println(y)",
"System.out.println",
"System.out",
"System",
"System.out",
"y",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[])\n\t {\n\t String x,y;\n\t x=\"\";\n\t y=\"\";\n\t Scanner in = new Scanner(System.in);\n\t x = in.nextLine();\n\t \n\t int l = x.length();\n\t \n\t for ( int i = l - 1 ; i >= 0 ; i-- )\n\t y = y + x.charAt(i);\n\t \n\t System.out.println(y);\n\t }}",
"public class Main {\n\tpublic static void main(String args[])\n\t {\n\t String x,y;\n\t x=\"\";\n\t y=\"\";\n\t Scanner in = new Scanner(System.in);\n\t x = in.nextLine();\n\t \n\t int l = x.length();\n\t \n\t for ( int i = l - 1 ; i >= 0 ; i-- )\n\t y = y + x.charAt(i);\n\t \n\t System.out.println(y);\n\t }}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String args[])
{
String x,y;
x="";
y="";
Scanner in = new Scanner(System.in);
x = in.nextLine();
int l = x.length();
for ( int i = l - 1 ; i >= 0 ; i-- )
y = y + x.charAt(i);
System.out.println(y);
}} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
4,
18,
4,
18,
13,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
65,
14
],
[
65,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
17,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
33,
42
],
[
42,
43
],
[
42,
44
],
[
33,
45
],
[
45,
46
],
[
46,
47
],
[
33,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
17,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
15,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] | [
"\nimport 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 NumberFormatException,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tStringTokenizer to;\n\t\tchar[] cs = reader.readLine().toCharArray();\n\t\tfor(int i=cs.length-1;i>=0;i--){\n\t\t\tbuilder.append(cs[i]);\n\t\t}\n\t\tSystem.out.println(builder);\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.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tStringTokenizer to;\n\t\tchar[] cs = reader.readLine().toCharArray();\n\t\tfor(int i=cs.length-1;i>=0;i--){\n\t\t\tbuilder.append(cs[i]);\n\t\t}\n\t\tSystem.out.println(builder);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tStringTokenizer to;\n\t\tchar[] cs = reader.readLine().toCharArray();\n\t\tfor(int i=cs.length-1;i>=0;i--){\n\t\t\tbuilder.append(cs[i]);\n\t\t}\n\t\tSystem.out.println(builder);\n\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tStringTokenizer to;\n\t\tchar[] cs = reader.readLine().toCharArray();\n\t\tfor(int i=cs.length-1;i>=0;i--){\n\t\t\tbuilder.append(cs[i]);\n\t\t}\n\t\tSystem.out.println(builder);\n\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));",
"reader",
"new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"StringTokenizer to;",
"to",
"char[] cs = reader.readLine().toCharArray();",
"cs",
"reader.readLine().toCharArray()",
"reader.readLine().toCharArray",
"reader.readLine()",
"reader.readLine",
"reader",
"for(int i=cs.length-1;i>=0;i--){\n\t\t\tbuilder.append(cs[i]);\n\t\t}",
"int i=cs.length-1;",
"int i=cs.length-1;",
"i",
"cs.length-1",
"cs.length",
"cs",
"cs.length",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tbuilder.append(cs[i]);\n\t\t}",
"{\n\t\t\tbuilder.append(cs[i]);\n\t\t}",
"builder.append(cs[i])",
"builder.append",
"builder",
"cs[i]",
"cs",
"i",
"System.out.println(builder)",
"System.out.println",
"System.out",
"System",
"System.out",
"builder",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tStringTokenizer to;\n\t\tchar[] cs = reader.readLine().toCharArray();\n\t\tfor(int i=cs.length-1;i>=0;i--){\n\t\t\tbuilder.append(cs[i]);\n\t\t}\n\t\tSystem.out.println(builder);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tStringTokenizer to;\n\t\tchar[] cs = reader.readLine().toCharArray();\n\t\tfor(int i=cs.length-1;i>=0;i--){\n\t\t\tbuilder.append(cs[i]);\n\t\t}\n\t\tSystem.out.println(builder);\n\n\t}\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws NumberFormatException,
IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(
System.in));
StringBuilder builder = new StringBuilder();
StringTokenizer to;
char[] cs = reader.readLine().toCharArray();
for(int i=cs.length-1;i>=0;i--){
builder.append(cs[i]);
}
System.out.println(builder);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
56,
5
],
[
56,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
20,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString[] target = scanner.nextLine().split(\"\");\n\t\tfor (int i = target.length - 1; i > 0; i--) {\n\t\t\tSystem.out.print(target[i]);\n\t\t}\n\t\tSystem.out.println(target[0]);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString[] target = scanner.nextLine().split(\"\");\n\t\tfor (int i = target.length - 1; i > 0; i--) {\n\t\t\tSystem.out.print(target[i]);\n\t\t}\n\t\tSystem.out.println(target[0]);\n\t}\n}",
"Main",
"/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString[] target = scanner.nextLine().split(\"\");\n\t\tfor (int i = target.length - 1; i > 0; i--) {\n\t\t\tSystem.out.print(target[i]);\n\t\t}\n\t\tSystem.out.println(target[0]);\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString[] target = scanner.nextLine().split(\"\");\n\t\tfor (int i = target.length - 1; i > 0; i--) {\n\t\t\tSystem.out.print(target[i]);\n\t\t}\n\t\tSystem.out.println(target[0]);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String[] target = scanner.nextLine().split(\"\");",
"target",
"scanner.nextLine().split(\"\")",
"scanner.nextLine().split",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"\"\"",
"for (int i = target.length - 1; i > 0; i--) {\n\t\t\tSystem.out.print(target[i]);\n\t\t}",
"int i = target.length - 1;",
"int i = target.length - 1;",
"i",
"target.length - 1",
"target.length",
"target",
"target.length",
"1",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(target[i]);\n\t\t}",
"{\n\t\t\tSystem.out.print(target[i]);\n\t\t}",
"System.out.print(target[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"target[i]",
"target",
"i",
"System.out.println(target[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"target[0]",
"target",
"0",
"String[] args",
"args",
"public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString[] target = scanner.nextLine().split(\"\");\n\t\tfor (int i = target.length - 1; i > 0; i--) {\n\t\t\tSystem.out.print(target[i]);\n\t\t}\n\t\tSystem.out.println(target[0]);\n\t}\n}",
"public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString[] target = scanner.nextLine().split(\"\");\n\t\tfor (int i = target.length - 1; i > 0; i--) {\n\t\t\tSystem.out.print(target[i]);\n\t\t}\n\t\tSystem.out.println(target[0]);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String[] target = scanner.nextLine().split("");
for (int i = target.length - 1; i > 0; i--) {
System.out.print(target[i]);
}
System.out.println(target[0]);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
4,
18,
13,
41,
13,
18,
13,
13,
42,
2,
40,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
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
],
[
52,
5
],
[
52,
6
],
[
6,
7
],
[
6,
8
],
[
52,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
23
],
[
11,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
52,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
43,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n\tScanner sc = new Scanner(System.in);\n\t\n\tvoid run(){\n\t\tchar c[] = sc.next().toCharArray();\n\t\tint l = c.length;\n\t\twhile(l-- != 0){\n\t\t\tSystem.out.print(c[l]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\t\n\tvoid run(){\n\t\tchar c[] = sc.next().toCharArray();\n\t\tint l = c.length;\n\t\twhile(l-- != 0){\n\t\t\tSystem.out.print(c[l]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"void run(){\n\t\tchar c[] = sc.next().toCharArray();\n\t\tint l = c.length;\n\t\twhile(l-- != 0){\n\t\t\tSystem.out.print(c[l]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"run",
"{\n\t\tchar c[] = sc.next().toCharArray();\n\t\tint l = c.length;\n\t\twhile(l-- != 0){\n\t\t\tSystem.out.print(c[l]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"char c[] = sc.next().toCharArray();",
"c",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"int l = c.length;",
"l",
"c.length",
"c",
"c.length",
"while(l-- != 0){\n\t\t\tSystem.out.print(c[l]);\n\t\t}",
"l-- != 0",
"l--",
"l",
"0",
"{\n\t\t\tSystem.out.print(c[l]);\n\t\t}",
"System.out.print(c[l])",
"System.out.print",
"System.out",
"System",
"System.out",
"c[l]",
"c",
"l",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"public static void main(String[] args) {\n\t\tnew Main().run();\n\t}",
"main",
"{\n\t\tnew Main().run();\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\t\n\tvoid run(){\n\t\tchar c[] = sc.next().toCharArray();\n\t\tint l = c.length;\n\t\twhile(l-- != 0){\n\t\t\tSystem.out.print(c[l]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\t\n\tvoid run(){\n\t\tchar c[] = sc.next().toCharArray();\n\t\tint l = c.length;\n\t\twhile(l-- != 0){\n\t\t\tSystem.out.print(c[l]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
Scanner sc = new Scanner(System.in);
void run(){
char c[] = sc.next().toCharArray();
int l = c.length;
while(l-- != 0){
System.out.print(c[l]);
}
System.out.println();
}
public static void main(String[] args) {
new Main().run();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
41,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
2,
2,
4,
18,
13,
13,
17,
0,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
105,
5
],
[
105,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
24,
26
],
[
27,
28
],
[
28,
29
],
[
18,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
30,
40
],
[
40,
41
],
[
41,
42
],
[
30,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
18,
53
],
[
53,
54
],
[
53,
55
],
[
56,
57
],
[
57,
58
],
[
18,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
59,
69
],
[
69,
70
],
[
70,
71
],
[
59,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
81,
85
],
[
81,
86
],
[
18,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
18,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
8,
99
],
[
99,
100
],
[
100,
101
],
[
6,
102
],
[
102,
103
],
[
0,
104
],
[
104,
105
],
[
104,
106
]
] | [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tString str;\n\t\twhile(sc.hasNext()){\n\t\t\tstr=sc.next();\n\t\t\tchar[] ch=new char[str.length()];\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tch[i]=str.charAt(i);\n\t\t\t}\n\t\t\tchar[] ans=new char[str.length()];\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tans[i]=ch[str.length()-i-1];\n\t\t\t}\n\t\t\tstr=String.valueOf(ans);\n\t\t\tSystem.out.println(str);\n\t\t}\n\t\tsc.close();\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\tString str;\n\t\twhile(sc.hasNext()){\n\t\t\tstr=sc.next();\n\t\t\tchar[] ch=new char[str.length()];\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tch[i]=str.charAt(i);\n\t\t\t}\n\t\t\tchar[] ans=new char[str.length()];\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tans[i]=ch[str.length()-i-1];\n\t\t\t}\n\t\t\tstr=String.valueOf(ans);\n\t\t\tSystem.out.println(str);\n\t\t}\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tString str;\n\t\twhile(sc.hasNext()){\n\t\t\tstr=sc.next();\n\t\t\tchar[] ch=new char[str.length()];\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tch[i]=str.charAt(i);\n\t\t\t}\n\t\t\tchar[] ans=new char[str.length()];\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tans[i]=ch[str.length()-i-1];\n\t\t\t}\n\t\t\tstr=String.valueOf(ans);\n\t\t\tSystem.out.println(str);\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString str;\n\t\twhile(sc.hasNext()){\n\t\t\tstr=sc.next();\n\t\t\tchar[] ch=new char[str.length()];\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tch[i]=str.charAt(i);\n\t\t\t}\n\t\t\tchar[] ans=new char[str.length()];\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tans[i]=ch[str.length()-i-1];\n\t\t\t}\n\t\t\tstr=String.valueOf(ans);\n\t\t\tSystem.out.println(str);\n\t\t}\n\t\tsc.close();\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str;",
"str",
"while(sc.hasNext()){\n\t\t\tstr=sc.next();\n\t\t\tchar[] ch=new char[str.length()];\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tch[i]=str.charAt(i);\n\t\t\t}\n\t\t\tchar[] ans=new char[str.length()];\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tans[i]=ch[str.length()-i-1];\n\t\t\t}\n\t\t\tstr=String.valueOf(ans);\n\t\t\tSystem.out.println(str);\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tstr=sc.next();\n\t\t\tchar[] ch=new char[str.length()];\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tch[i]=str.charAt(i);\n\t\t\t}\n\t\t\tchar[] ans=new char[str.length()];\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tans[i]=ch[str.length()-i-1];\n\t\t\t}\n\t\t\tstr=String.valueOf(ans);\n\t\t\tSystem.out.println(str);\n\t\t}",
"str=sc.next()",
"str",
"sc.next()",
"sc.next",
"sc",
"char[] ch=new char[str.length()];",
"ch",
"new char[str.length()]",
"str.length()",
"str.length",
"str",
"for(int i=0;i<str.length();i++){\n\t\t\t\tch[i]=str.charAt(i);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<str.length()",
"i",
"str.length()",
"str.length",
"str",
"i++",
"i++",
"i",
"{\n\t\t\t\tch[i]=str.charAt(i);\n\t\t\t}",
"{\n\t\t\t\tch[i]=str.charAt(i);\n\t\t\t}",
"ch[i]=str.charAt(i)",
"ch[i]",
"ch",
"i",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"char[] ans=new char[str.length()];",
"ans",
"new char[str.length()]",
"str.length()",
"str.length",
"str",
"for(int i=0;i<str.length();i++){\n\t\t\t\tans[i]=ch[str.length()-i-1];\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<str.length()",
"i",
"str.length()",
"str.length",
"str",
"i++",
"i++",
"i",
"{\n\t\t\t\tans[i]=ch[str.length()-i-1];\n\t\t\t}",
"{\n\t\t\t\tans[i]=ch[str.length()-i-1];\n\t\t\t}",
"ans[i]=ch[str.length()-i-1]",
"ans[i]",
"ans",
"i",
"ch[str.length()-i-1]",
"ch",
"str.length()-i-1",
"str.length()-i-1",
"str.length()",
"str.length",
"str",
"i",
"1",
"str=String.valueOf(ans)",
"str",
"String.valueOf(ans)",
"String.valueOf",
"String",
"ans",
"System.out.println(str)",
"System.out.println",
"System.out",
"System",
"System.out",
"str",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tString str;\n\t\twhile(sc.hasNext()){\n\t\t\tstr=sc.next();\n\t\t\tchar[] ch=new char[str.length()];\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tch[i]=str.charAt(i);\n\t\t\t}\n\t\t\tchar[] ans=new char[str.length()];\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tans[i]=ch[str.length()-i-1];\n\t\t\t}\n\t\t\tstr=String.valueOf(ans);\n\t\t\tSystem.out.println(str);\n\t\t}\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tString str;\n\t\twhile(sc.hasNext()){\n\t\t\tstr=sc.next();\n\t\t\tchar[] ch=new char[str.length()];\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tch[i]=str.charAt(i);\n\t\t\t}\n\t\t\tchar[] ans=new char[str.length()];\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tans[i]=ch[str.length()-i-1];\n\t\t\t}\n\t\t\tstr=String.valueOf(ans);\n\t\t\tSystem.out.println(str);\n\t\t}\n\t\tsc.close();\n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
String str;
while(sc.hasNext()){
str=sc.next();
char[] ch=new char[str.length()];
for(int i=0;i<str.length();i++){
ch[i]=str.charAt(i);
}
char[] ans=new char[str.length()];
for(int i=0;i<str.length();i++){
ans[i]=ch[str.length()-i-1];
}
str=String.valueOf(ans);
System.out.println(str);
}
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
38,
11
],
[
38,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
14,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
12,
35
],
[
35,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
]
] | [
"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\tString str = br.readLine();\n\t\tStringBuffer st = new StringBuffer(str);\n\t\tst.reverse();\n\t\tSystem.out.println(st);\n\t\t\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\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tStringBuffer st = new StringBuffer(str);\n\t\tst.reverse();\n\t\tSystem.out.println(st);\n\t\t\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tStringBuffer st = new StringBuffer(str);\n\t\tst.reverse();\n\t\tSystem.out.println(st);\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tStringBuffer st = new StringBuffer(str);\n\t\tst.reverse();\n\t\tSystem.out.println(st);\n\t\t\n\t\t\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"StringBuffer st = new StringBuffer(str);",
"st",
"new StringBuffer(str)",
"st.reverse()",
"st.reverse",
"st",
"System.out.println(st)",
"System.out.println",
"System.out",
"System",
"System.out",
"st",
"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\tString str = br.readLine();\n\t\tStringBuffer st = new StringBuffer(str);\n\t\tst.reverse();\n\t\tSystem.out.println(st);\n\t\t\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\tString str = br.readLine();\n\t\tStringBuffer st = new StringBuffer(str);\n\t\tst.reverse();\n\t\tSystem.out.println(st);\n\t\t\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) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
StringBuffer st = new StringBuffer(str);
st.reverse();
System.out.println(st);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
18,
13,
2,
2,
18,
13,
13,
17,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
76,
11
],
[
76,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
20,
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
],
[
38,
40
],
[
27,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
61,
66
],
[
27,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
12,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String input;\n try {\n input = reader.readLine();\n char[] inputCharArray = input.toCharArray();\n String out = \"\";\n for(int i=0; i<inputCharArray.length; i++){\n out += inputCharArray[inputCharArray.length - 1 - i];\n }\n System.out.println(out);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String input;\n try {\n input = reader.readLine();\n char[] inputCharArray = input.toCharArray();\n String out = \"\";\n for(int i=0; i<inputCharArray.length; i++){\n out += inputCharArray[inputCharArray.length - 1 - i];\n }\n System.out.println(out);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String input;\n try {\n input = reader.readLine();\n char[] inputCharArray = input.toCharArray();\n String out = \"\";\n for(int i=0; i<inputCharArray.length; i++){\n out += inputCharArray[inputCharArray.length - 1 - i];\n }\n System.out.println(out);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String input;\n try {\n input = reader.readLine();\n char[] inputCharArray = input.toCharArray();\n String out = \"\";\n for(int i=0; i<inputCharArray.length; i++){\n out += inputCharArray[inputCharArray.length - 1 - i];\n }\n System.out.println(out);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String input;",
"input",
"try {\n input = reader.readLine();\n char[] inputCharArray = input.toCharArray();\n String out = \"\";\n for(int i=0; i<inputCharArray.length; i++){\n out += inputCharArray[inputCharArray.length - 1 - i];\n }\n System.out.println(out);\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n input = reader.readLine();\n char[] inputCharArray = input.toCharArray();\n String out = \"\";\n for(int i=0; i<inputCharArray.length; i++){\n out += inputCharArray[inputCharArray.length - 1 - i];\n }\n System.out.println(out);\n }",
"input = reader.readLine()",
"input",
"reader.readLine()",
"reader.readLine",
"reader",
"char[] inputCharArray = input.toCharArray();",
"inputCharArray",
"input.toCharArray()",
"input.toCharArray",
"input",
"String out = \"\";",
"out",
"\"\"",
"for(int i=0; i<inputCharArray.length; i++){\n out += inputCharArray[inputCharArray.length - 1 - i];\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<inputCharArray.length",
"i",
"inputCharArray.length",
"inputCharArray",
"inputCharArray.length",
"i++",
"i++",
"i",
"{\n out += inputCharArray[inputCharArray.length - 1 - i];\n }",
"{\n out += inputCharArray[inputCharArray.length - 1 - i];\n }",
"out += inputCharArray[inputCharArray.length - 1 - i]",
"out",
"inputCharArray[inputCharArray.length - 1 - i]",
"inputCharArray",
"inputCharArray.length - 1 - i",
"inputCharArray.length - 1 - i",
"inputCharArray.length",
"inputCharArray",
"inputCharArray.length",
"1",
"i",
"System.out.println(out)",
"System.out.println",
"System.out",
"System",
"System.out",
"out",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String input;\n try {\n input = reader.readLine();\n char[] inputCharArray = input.toCharArray();\n String out = \"\";\n for(int i=0; i<inputCharArray.length; i++){\n out += inputCharArray[inputCharArray.length - 1 - i];\n }\n System.out.println(out);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String input;\n try {\n input = reader.readLine();\n char[] inputCharArray = input.toCharArray();\n String out = \"\";\n for(int i=0; i<inputCharArray.length; i++){\n out += inputCharArray[inputCharArray.length - 1 - i];\n }\n System.out.println(out);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String input;
try {
input = reader.readLine();
char[] inputCharArray = input.toCharArray();
String out = "";
for(int i=0; i<inputCharArray.length; i++){
out += inputCharArray[inputCharArray.length - 1 - i];
}
System.out.println(out);
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[]args){\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\t//System.out.println(\"??\\???\");\n\t\t\tString str=scan.next();\n\t\t\tStringBuffer sb = new StringBuffer(str);\n\t\t\tString hantai = sb.reverse().toString();\n\t\t\tSystem.out.println(hantai);\n\t\t\t\n\t\t\n\t\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[]args){\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\t//System.out.println(\"??\\???\");\n\t\t\tString str=scan.next();\n\t\t\tStringBuffer sb = new StringBuffer(str);\n\t\t\tString hantai = sb.reverse().toString();\n\t\t\tSystem.out.println(hantai);\n\t\t\t\n\t\t\n\t\t}\n}",
"Main",
"public static void main(String[]args){\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\t//System.out.println(\"??\\???\");\n\t\t\tString str=scan.next();\n\t\t\tStringBuffer sb = new StringBuffer(str);\n\t\t\tString hantai = sb.reverse().toString();\n\t\t\tSystem.out.println(hantai);\n\t\t\t\n\t\t\n\t\t}",
"main",
"{\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\t//System.out.println(\"??\\???\");\n\t\t\tString str=scan.next();\n\t\t\tStringBuffer sb = new StringBuffer(str);\n\t\t\tString hantai = sb.reverse().toString();\n\t\t\tSystem.out.println(hantai);\n\t\t\t\n\t\t\n\t\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String str=scan.next();",
"str",
"scan.next()",
"scan.next",
"scan",
"StringBuffer sb = new StringBuffer(str);",
"sb",
"new StringBuffer(str)",
"String hantai = sb.reverse().toString();",
"hantai",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"System.out.println(hantai)",
"System.out.println",
"System.out",
"System",
"System.out",
"hantai",
"String[]args",
"args",
"public class Main {\n\tpublic static void main(String[]args){\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\t//System.out.println(\"??\\???\");\n\t\t\tString str=scan.next();\n\t\t\tStringBuffer sb = new StringBuffer(str);\n\t\t\tString hantai = sb.reverse().toString();\n\t\t\tSystem.out.println(hantai);\n\t\t\t\n\t\t\n\t\t}\n}",
"public class Main {\n\tpublic static void main(String[]args){\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\t//System.out.println(\"??\\???\");\n\t\t\tString str=scan.next();\n\t\t\tStringBuffer sb = new StringBuffer(str);\n\t\t\tString hantai = sb.reverse().toString();\n\t\t\tSystem.out.println(hantai);\n\t\t\t\n\t\t\n\t\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[]args){
Scanner scan = new Scanner(System.in);
//System.out.println("??\???");
String str=scan.next();
StringBuffer sb = new StringBuffer(str);
String hantai = sb.reverse().toString();
System.out.println(hantai);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
4,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
4,
13,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
17,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
41,
13,
20,
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
],
[
142,
23
],
[
142,
24
],
[
24,
25
],
[
142,
26
],
[
26,
27
],
[
142,
28
],
[
28,
29
],
[
142,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
142,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
41,
48
],
[
48,
49
],
[
49,
50
],
[
38,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
51,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
51,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
66,
70
],
[
62,
71
],
[
71,
72
],
[
71,
73
],
[
62,
74
],
[
74,
75
],
[
75,
76
],
[
62,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
51,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
142,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
101,
102
],
[
142,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
106,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
117,
126
],
[
126,
127
],
[
126,
128
],
[
105,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
142,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
133,
139
],
[
139,
140
],
[
0,
141
],
[
141,
142
],
[
141,
143
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.text.DecimalFormat;\nimport java.util.Arrays;\nimport java.util.Scanner;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w;\n\t\n\tMain() {\n\t\treadData();\n\t\t\n\n\t}\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\t\n\t\t\tString s = next();\n\t\t\tfor (int i=s.length()-1;i>=0;i--) {\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\t\n\tprivate String next() throws IOException {\n\t\ttry {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\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.text.DecimalFormat;",
"DecimalFormat",
"java.text",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w;\n\t\n\tMain() {\n\t\treadData();\n\t\t\n\n\t}\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\t\n\t\t\tString s = next();\n\t\t\tfor (int i=s.length()-1;i>=0;i--) {\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\t\n\tprivate String next() throws IOException {\n\t\ttry {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}\n\n}",
"Main",
"private StringTokenizer st;",
"st",
"private BufferedReader bf;",
"bf",
"private int w;",
"w",
"Main() {\n\t\treadData();\n\t\t\n\n\t}",
"Main",
"{\n\t\treadData();\n\t\t\n\n\t}",
"readData()",
"readData",
"private void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\t\n\t\t\tString s = next();\n\t\t\tfor (int i=s.length()-1;i>=0;i--) {\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"readData",
"{\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\t\n\t\t\tString s = next();\n\t\t\tfor (int i=s.length()-1;i>=0;i--) {\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"try {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\t\n\t\t\tString s = next();\n\t\t\tfor (int i=s.length()-1;i>=0;i--) {\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t\te.printStackTrace();\n\t\t}",
"catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t\te.printStackTrace();\n\t\t}",
"Exception e",
"{\n\t\t\tSystem.out.println(\"dacat\");\n\t\t\te.printStackTrace();\n\t\t}",
"System.out.println(\"dacat\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"dacat\"",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\t\n\t\t\tString s = next();\n\t\t\tfor (int i=s.length()-1;i>=0;i--) {\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\t\n\t\t}",
"bf = new BufferedReader(new InputStreamReader(System.in))",
"bf",
"new BufferedReader(new InputStreamReader(System.in))",
"st = new StringTokenizer(bf.readLine())",
"st",
"new StringTokenizer(bf.readLine())",
"String s = next();",
"s",
"next()",
"next",
"for (int i=s.length()-1;i>=0;i--) {\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}",
"int i=s.length()-1;",
"int i=s.length()-1;",
"i",
"s.length()-1",
"s.length()",
"s.length",
"s",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}",
"System.out.print(s.charAt(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"private int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}",
"nextInt",
"{\n\t\treturn Integer.parseInt(next());\n\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"private String next() throws IOException {\n\t\ttry {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t}\n\t\treturn st.nextToken();\n\t}",
"next",
"{\n\t\ttry {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t}\n\t\treturn st.nextToken();\n\t}",
"try {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t}",
"catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t}",
"Exception e",
"{\n\t\t\tSystem.out.println(\"dacat\");\n\t\t}",
"System.out.println(\"dacat\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"dacat\"",
"{\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t}",
"if (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(bf.readLine())",
"st",
"new StringTokenizer(bf.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}",
"Main m = new Main();",
"m",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w;\n\t\n\tMain() {\n\t\treadData();\n\t\t\n\n\t}\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\t\n\t\t\tString s = next();\n\t\t\tfor (int i=s.length()-1;i>=0;i--) {\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\t\n\tprivate String next() throws IOException {\n\t\ttry {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}\n\n}",
"public class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w;\n\t\n\tMain() {\n\t\treadData();\n\t\t\n\n\t}\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\t\n\t\t\tString s = next();\n\t\t\tfor (int i=s.length()-1;i>=0;i--) {\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\t\n\tprivate String next() throws IOException {\n\t\ttry {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.DecimalFormat;
import java.util.Arrays;
import java.util.Scanner;
import java.util.StringTokenizer;
public class Main {
private StringTokenizer st;
private BufferedReader bf;
private int w;
Main() {
readData();
}
private void readData() {
try {
bf = new BufferedReader(new InputStreamReader(System.in));
st = new StringTokenizer(bf.readLine());
String s = next();
for (int i=s.length()-1;i>=0;i--) {
System.out.print(s.charAt(i));
}
System.out.println("");
} catch (Exception e) {
System.out.println("dacat");
e.printStackTrace();
}
}
private int nextInt() throws IOException {
return Integer.parseInt(next());
}
private String next() throws IOException {
try {
if (st == null || !st.hasMoreTokens())
st = new StringTokenizer(bf.readLine());
} catch (Exception e) {
System.out.println("dacat");
}
return st.nextToken();
}
public static void main(String[] args) {
// TODO Auto-generated method stub
Main m = new Main();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
20,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
33,
5
],
[
33,
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
],
[
21,
22
],
[
22,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
6,
30
],
[
30,
31
],
[
0,
32
],
[
32,
33
],
[
32,
34
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String args[]){\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n String ans = new StringBuffer(in.next()).reverse().toString();\n System.out.println(ans);\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 String ans = new StringBuffer(in.next()).reverse().toString();\n System.out.println(ans);\n }\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n String ans = new StringBuffer(in.next()).reverse().toString();\n System.out.println(ans);\n }\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n String ans = new StringBuffer(in.next()).reverse().toString();\n System.out.println(ans);\n }\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while(in.hasNext()){\n String ans = new StringBuffer(in.next()).reverse().toString();\n System.out.println(ans);\n }",
"in.hasNext()",
"in.hasNext",
"in",
"{\n String ans = new StringBuffer(in.next()).reverse().toString();\n System.out.println(ans);\n }",
"String ans = new StringBuffer(in.next()).reverse().toString();",
"ans",
"new StringBuffer(in.next()).reverse().toString()",
"new StringBuffer(in.next()).reverse().toString",
"new StringBuffer(in.next()).reverse()",
"new StringBuffer(in.next()).reverse",
"new StringBuffer(in.next())",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"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 String ans = new StringBuffer(in.next()).reverse().toString();\n System.out.println(ans);\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 String ans = new StringBuffer(in.next()).reverse().toString();\n System.out.println(ans);\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()){
String ans = new StringBuffer(in.next()).reverse().toString();
System.out.println(ans);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
18,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
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
],
[
68,
11
],
[
68,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
35,
42
],
[
42,
43
],
[
42,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
29,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
12,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = null;\n\t\twhile ((line = br.readLine()) != null) {\n\n\t\t\tchar[] input = line.toCharArray();\n\n\t\t\tfor (int i = input.length; i > 0; i--) {\n\t\t\t\tSystem.out.print(input[i - 1]);\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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = null;\n\t\twhile ((line = br.readLine()) != null) {\n\n\t\t\tchar[] input = line.toCharArray();\n\n\t\t\tfor (int i = input.length; i > 0; i--) {\n\t\t\t\tSystem.out.print(input[i - 1]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = null;\n\t\twhile ((line = br.readLine()) != null) {\n\n\t\t\tchar[] input = line.toCharArray();\n\n\t\t\tfor (int i = input.length; i > 0; i--) {\n\t\t\t\tSystem.out.print(input[i - 1]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = null;\n\t\twhile ((line = br.readLine()) != null) {\n\n\t\t\tchar[] input = line.toCharArray();\n\n\t\t\tfor (int i = input.length; i > 0; i--) {\n\t\t\t\tSystem.out.print(input[i - 1]);\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))",
"String line = null;",
"line",
"null",
"while ((line = br.readLine()) != null) {\n\n\t\t\tchar[] input = line.toCharArray();\n\n\t\t\tfor (int i = input.length; i > 0; i--) {\n\t\t\t\tSystem.out.print(input[i - 1]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\n\t\t\tchar[] input = line.toCharArray();\n\n\t\t\tfor (int i = input.length; i > 0; i--) {\n\t\t\t\tSystem.out.print(input[i - 1]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}",
"char[] input = line.toCharArray();",
"input",
"line.toCharArray()",
"line.toCharArray",
"line",
"for (int i = input.length; i > 0; i--) {\n\t\t\t\tSystem.out.print(input[i - 1]);\n\t\t\t}",
"int i = input.length;",
"int i = input.length;",
"i",
"input.length",
"input",
"input.length",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\t\tSystem.out.print(input[i - 1]);\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print(input[i - 1]);\n\t\t\t}",
"System.out.print(input[i - 1])",
"System.out.print",
"System.out",
"System",
"System.out",
"input[i - 1]",
"input",
"i - 1",
"i",
"1",
"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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = null;\n\t\twhile ((line = br.readLine()) != null) {\n\n\t\t\tchar[] input = line.toCharArray();\n\n\t\t\tfor (int i = input.length; i > 0; i--) {\n\t\t\t\tSystem.out.print(input[i - 1]);\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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = null;\n\t\twhile ((line = br.readLine()) != null) {\n\n\t\t\tchar[] input = line.toCharArray();\n\n\t\t\tfor (int i = input.length; i > 0; i--) {\n\t\t\t\tSystem.out.print(input[i - 1]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = null;
while ((line = br.readLine()) != null) {
char[] input = line.toCharArray();
for (int i = input.length; i > 0; i--) {
System.out.print(input[i - 1]);
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
20,
14,
2,
0,
13,
4,
18,
13,
17,
29,
4,
18,
13,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
61,
5
],
[
61,
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
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
18,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
34,
38
],
[
30,
39
],
[
39,
40
],
[
39,
41
],
[
30,
42
],
[
42,
43
],
[
43,
44
],
[
30,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
6,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] | [
"import java.io.*;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tString str = \"\",rts=\"\";\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\tif((str=bf.readLine())==null)return;\n\t\tbf.close();\n\t\tfor(int i=str.length()-1;i>=0;i--)rts+=str.charAt(i);\n\t\tSystem.out.println(rts);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tString str = \"\",rts=\"\";\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\tif((str=bf.readLine())==null)return;\n\t\tbf.close();\n\t\tfor(int i=str.length()-1;i>=0;i--)rts+=str.charAt(i);\n\t\tSystem.out.println(rts);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tString str = \"\",rts=\"\";\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\tif((str=bf.readLine())==null)return;\n\t\tbf.close();\n\t\tfor(int i=str.length()-1;i>=0;i--)rts+=str.charAt(i);\n\t\tSystem.out.println(rts);\n\t}",
"main",
"{\n\t\tString str = \"\",rts=\"\";\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\tif((str=bf.readLine())==null)return;\n\t\tbf.close();\n\t\tfor(int i=str.length()-1;i>=0;i--)rts+=str.charAt(i);\n\t\tSystem.out.println(rts);\n\t}",
"String str = \"\"",
"str",
"\"\"",
"rts=\"\";",
"rts",
"\"\"",
"BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));",
"bf",
"new BufferedReader(new InputStreamReader(System.in))",
"if((str=bf.readLine())==null)return;",
"(str=bf.readLine())==null",
"(str=bf.readLine())",
"str",
"bf.readLine()",
"bf.readLine",
"bf",
"null",
"return;",
"bf.close()",
"bf.close",
"bf",
"for(int i=str.length()-1;i>=0;i--)rts+=str.charAt(i);",
"int i=str.length()-1;",
"int i=str.length()-1;",
"i",
"str.length()-1",
"str.length()",
"str.length",
"str",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"rts+=str.charAt(i);",
"rts+=str.charAt(i)",
"rts",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"System.out.println(rts)",
"System.out.println",
"System.out",
"System",
"System.out",
"rts",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tString str = \"\",rts=\"\";\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\tif((str=bf.readLine())==null)return;\n\t\tbf.close();\n\t\tfor(int i=str.length()-1;i>=0;i--)rts+=str.charAt(i);\n\t\tSystem.out.println(rts);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tString str = \"\",rts=\"\";\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\tif((str=bf.readLine())==null)return;\n\t\tbf.close();\n\t\tfor(int i=str.length()-1;i>=0;i--)rts+=str.charAt(i);\n\t\tSystem.out.println(rts);\n\t}\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
String str = "",rts="";
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
if((str=bf.readLine())==null)return;
bf.close();
for(int i=str.length()-1;i>=0;i--)rts+=str.charAt(i);
System.out.println(rts);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
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
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
17,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
6,
48
],
[
48,
49
]
] | [
"import java.util.Scanner;\n\nclass Main{\n\n public static void main(String[] args){\n\n\tScanner scan = new Scanner(System.in);\n\n\tString data = scan.next();\n\n\tfor(int i = data.length() - 1; i >= 0; i--){\n\t System.out.print(data.charAt(i));\n\t}\n\n\tSystem.out.println();\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\n public static void main(String[] args){\n\n\tScanner scan = new Scanner(System.in);\n\n\tString data = scan.next();\n\n\tfor(int i = data.length() - 1; i >= 0; i--){\n\t System.out.print(data.charAt(i));\n\t}\n\n\tSystem.out.println();\n }\n\n}",
"Main",
"public static void main(String[] args){\n\n\tScanner scan = new Scanner(System.in);\n\n\tString data = scan.next();\n\n\tfor(int i = data.length() - 1; i >= 0; i--){\n\t System.out.print(data.charAt(i));\n\t}\n\n\tSystem.out.println();\n }",
"main",
"{\n\n\tScanner scan = new Scanner(System.in);\n\n\tString data = scan.next();\n\n\tfor(int i = data.length() - 1; i >= 0; i--){\n\t System.out.print(data.charAt(i));\n\t}\n\n\tSystem.out.println();\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String data = scan.next();",
"data",
"scan.next()",
"scan.next",
"scan",
"for(int i = data.length() - 1; i >= 0; i--){\n\t System.out.print(data.charAt(i));\n\t}",
"int i = data.length() - 1;",
"int i = data.length() - 1;",
"i",
"data.length() - 1",
"data.length()",
"data.length",
"data",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t System.out.print(data.charAt(i));\n\t}",
"{\n\t System.out.print(data.charAt(i));\n\t}",
"System.out.print(data.charAt(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"data.charAt(i)",
"data.charAt",
"data",
"i",
"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);
String data = scan.next();
for(int i = data.length() - 1; i >= 0; i--){
System.out.print(data.charAt(i));
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
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
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
6,
22
],
[
22,
23
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tSystem.out.println(new StringBuilder(scan.next()).reverse().toString());\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tSystem.out.println(new StringBuilder(scan.next()).reverse().toString());\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tSystem.out.println(new StringBuilder(scan.next()).reverse().toString());\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tSystem.out.println(new StringBuilder(scan.next()).reverse().toString());\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"System.out.println(new StringBuilder(scan.next()).reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"new StringBuilder(scan.next()).reverse().toString()",
"new StringBuilder(scan.next()).reverse().toString",
"new StringBuilder(scan.next()).reverse()",
"new StringBuilder(scan.next()).reverse",
"new StringBuilder(scan.next())",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.println(new StringBuilder(scan.next()).reverse().toString());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
] | [
"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\n\t\tString str = sc.nextLine();\n\t\tStringBuffer sb = new StringBuffer(str);\n\t\tString rv =sb.reverse().toString();\n\n\t\tSystem.out.println(rv);\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\n\t\tString str = sc.nextLine();\n\t\tStringBuffer sb = new StringBuffer(str);\n\t\tString rv =sb.reverse().toString();\n\n\t\tSystem.out.println(rv);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\n\t\tString str = sc.nextLine();\n\t\tStringBuffer sb = new StringBuffer(str);\n\t\tString rv =sb.reverse().toString();\n\n\t\tSystem.out.println(rv);\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\n\t\tString str = sc.nextLine();\n\t\tStringBuffer sb = new StringBuffer(str);\n\t\tString rv =sb.reverse().toString();\n\n\t\tSystem.out.println(rv);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str = sc.nextLine();",
"str",
"sc.nextLine()",
"sc.nextLine",
"sc",
"StringBuffer sb = new StringBuffer(str);",
"sb",
"new StringBuffer(str)",
"String rv =sb.reverse().toString();",
"rv",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"System.out.println(rv)",
"System.out.println",
"System.out",
"System",
"System.out",
"rv",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\n\t\tString str = sc.nextLine();\n\t\tStringBuffer sb = new StringBuffer(str);\n\t\tString rv =sb.reverse().toString();\n\n\t\tSystem.out.println(rv);\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\n\t\tString str = sc.nextLine();\n\t\tStringBuffer sb = new StringBuffer(str);\n\t\tString rv =sb.reverse().toString();\n\n\t\tSystem.out.println(rv);\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);
String str = sc.nextLine();
StringBuffer sb = new StringBuffer(str);
String rv =sb.reverse().toString();
System.out.println(rv);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
20,
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
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
15,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
31,
33
],
[
25,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
6,
42
],
[
42,
43
]
] | [
"import java.io.*;\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\n\t\ttry {\n\t\t\tString buf = br.readLine();\n\t\t\tStringBuffer sb = new StringBuffer(buf);\n\t\t\tSystem.out.println(sb.reverse());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Exception!\");\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"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\n\t\ttry {\n\t\t\tString buf = br.readLine();\n\t\t\tStringBuffer sb = new StringBuffer(buf);\n\t\t\tSystem.out.println(sb.reverse());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Exception!\");\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\n\t\ttry {\n\t\t\tString buf = br.readLine();\n\t\t\tStringBuffer sb = new StringBuffer(buf);\n\t\t\tSystem.out.println(sb.reverse());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Exception!\");\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\n\t\ttry {\n\t\t\tString buf = br.readLine();\n\t\t\tStringBuffer sb = new StringBuffer(buf);\n\t\t\tSystem.out.println(sb.reverse());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Exception!\");\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\tString buf = br.readLine();\n\t\t\tStringBuffer sb = new StringBuffer(buf);\n\t\t\tSystem.out.println(sb.reverse());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Exception!\");\n\t\t}",
"catch (Exception e) {\n\t\t\tSystem.out.println(\"Exception!\");\n\t\t}",
"Exception e",
"{\n\t\t\tSystem.out.println(\"Exception!\");\n\t\t}",
"System.out.println(\"Exception!\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Exception!\"",
"{\n\t\t\tString buf = br.readLine();\n\t\t\tStringBuffer sb = new StringBuffer(buf);\n\t\t\tSystem.out.println(sb.reverse());\n\t\t}",
"String buf = br.readLine();",
"buf",
"br.readLine()",
"br.readLine",
"br",
"StringBuffer sb = new StringBuffer(buf);",
"sb",
"new StringBuffer(buf)",
"System.out.println(sb.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse()",
"sb.reverse",
"sb",
"String args[]",
"args"
] | import java.io.*;
class Main {
public static void main(String args[]) {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
try {
String buf = br.readLine();
StringBuffer sb = new StringBuffer(buf);
System.out.println(sb.reverse());
} catch (Exception e) {
System.out.println("Exception!");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
2,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
40,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
89,
5
],
[
89,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
50,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
50,
61
],
[
61,
62
],
[
62,
63
],
[
50,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
66,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
83,
85
],
[
6,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] | [
"import java.util.Scanner;\n\n\npublic class Main \n{\n\n\tpublic static void main(String[] args) \n\t{\n\t\t// TODO ©®¶¬³ê½\\bhEX^u\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tString input = sc.nextLine();\n\t\t\tint Size = input.length();\n\t\t\tString[] n =new String[30];\n\t\t\t///¶ñðO©çÉn[i]ÌzñÉãü\n\t\t\tfor(int i=0;i<Size;i++)\n\t\t\t{\n\t\t\t\tn[i] = input.substring(i,i+1);\n\t\t\t}\n\t\t\t///¶ñðtÅoÍ\n\t\t\tfor(int i=(Size-1);i>-1;i--)\n\t\t\t{\n\t\t\t\tif(i==0)\n\t\t\t\t\tSystem.out.println(n[i]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(n[i]);\n\t\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main \n{\n\n\tpublic static void main(String[] args) \n\t{\n\t\t// TODO ©®¶¬³ê½\\bhEX^u\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tString input = sc.nextLine();\n\t\t\tint Size = input.length();\n\t\t\tString[] n =new String[30];\n\t\t\t///¶ñðO©çÉn[i]ÌzñÉãü\n\t\t\tfor(int i=0;i<Size;i++)\n\t\t\t{\n\t\t\t\tn[i] = input.substring(i,i+1);\n\t\t\t}\n\t\t\t///¶ñðtÅoÍ\n\t\t\tfor(int i=(Size-1);i>-1;i--)\n\t\t\t{\n\t\t\t\tif(i==0)\n\t\t\t\t\tSystem.out.println(n[i]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(n[i]);\n\t\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) \n\t{\n\t\t// TODO ©®¶¬³ê½\\bhEX^u\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tString input = sc.nextLine();\n\t\t\tint Size = input.length();\n\t\t\tString[] n =new String[30];\n\t\t\t///¶ñðO©çÉn[i]ÌzñÉãü\n\t\t\tfor(int i=0;i<Size;i++)\n\t\t\t{\n\t\t\t\tn[i] = input.substring(i,i+1);\n\t\t\t}\n\t\t\t///¶ñðtÅoÍ\n\t\t\tfor(int i=(Size-1);i>-1;i--)\n\t\t\t{\n\t\t\t\tif(i==0)\n\t\t\t\t\tSystem.out.println(n[i]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(n[i]);\n\t\t\t}\n\t}",
"main",
"{\n\t\t// TODO ©®¶¬³ê½\\bhEX^u\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tString input = sc.nextLine();\n\t\t\tint Size = input.length();\n\t\t\tString[] n =new String[30];\n\t\t\t///¶ñðO©çÉn[i]ÌzñÉãü\n\t\t\tfor(int i=0;i<Size;i++)\n\t\t\t{\n\t\t\t\tn[i] = input.substring(i,i+1);\n\t\t\t}\n\t\t\t///¶ñðtÅoÍ\n\t\t\tfor(int i=(Size-1);i>-1;i--)\n\t\t\t{\n\t\t\t\tif(i==0)\n\t\t\t\t\tSystem.out.println(n[i]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(n[i]);\n\t\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String input = sc.nextLine();",
"input",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int Size = input.length();",
"Size",
"input.length()",
"input.length",
"input",
"String[] n =new String[30];",
"n",
"new String[30]",
"30",
"for(int i=0;i<Size;i++)\n\t\t\t{\n\t\t\t\tn[i] = input.substring(i,i+1);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<Size",
"i",
"Size",
"i++",
"i++",
"i",
"{\n\t\t\t\tn[i] = input.substring(i,i+1);\n\t\t\t}",
"{\n\t\t\t\tn[i] = input.substring(i,i+1);\n\t\t\t}",
"n[i] = input.substring(i,i+1)",
"n[i]",
"n",
"i",
"input.substring(i,i+1)",
"input.substring",
"input",
"i",
"i+1",
"i",
"1",
"for(int i=(Size-1);i>-1;i--)\n\t\t\t{\n\t\t\t\tif(i==0)\n\t\t\t\t\tSystem.out.println(n[i]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(n[i]);\n\t\t\t}",
"int i=(Size-1);",
"int i=(Size-1);",
"i",
"(Size-1)",
"Size",
"1",
"i>-1",
"i",
"-1",
"1",
"i--",
"i--",
"i",
"{\n\t\t\t\tif(i==0)\n\t\t\t\t\tSystem.out.println(n[i]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(n[i]);\n\t\t\t}",
"{\n\t\t\t\tif(i==0)\n\t\t\t\t\tSystem.out.println(n[i]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(n[i]);\n\t\t\t}",
"if(i==0)\n\t\t\t\t\tSystem.out.println(n[i]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(n[i]);",
"i==0",
"i",
"0",
"System.out.println(n[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"n[i]",
"n",
"i",
"System.out.print(n[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"n[i]",
"n",
"i",
"String[] args",
"args",
"public class Main \n{\n\n\tpublic static void main(String[] args) \n\t{\n\t\t// TODO ©®¶¬³ê½\\bhEX^u\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tString input = sc.nextLine();\n\t\t\tint Size = input.length();\n\t\t\tString[] n =new String[30];\n\t\t\t///¶ñðO©çÉn[i]ÌzñÉãü\n\t\t\tfor(int i=0;i<Size;i++)\n\t\t\t{\n\t\t\t\tn[i] = input.substring(i,i+1);\n\t\t\t}\n\t\t\t///¶ñðtÅoÍ\n\t\t\tfor(int i=(Size-1);i>-1;i--)\n\t\t\t{\n\t\t\t\tif(i==0)\n\t\t\t\t\tSystem.out.println(n[i]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(n[i]);\n\t\t\t}\n\t}\n}",
"public class Main \n{\n\n\tpublic static void main(String[] args) \n\t{\n\t\t// TODO ©®¶¬³ê½\\bhEX^u\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tString input = sc.nextLine();\n\t\t\tint Size = input.length();\n\t\t\tString[] n =new String[30];\n\t\t\t///¶ñðO©çÉn[i]ÌzñÉãü\n\t\t\tfor(int i=0;i<Size;i++)\n\t\t\t{\n\t\t\t\tn[i] = input.substring(i,i+1);\n\t\t\t}\n\t\t\t///¶ñðtÅoÍ\n\t\t\tfor(int i=(Size-1);i>-1;i--)\n\t\t\t{\n\t\t\t\tif(i==0)\n\t\t\t\t\tSystem.out.println(n[i]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(n[i]);\n\t\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
// TODO ©®¶¬³ê½\bhEX^u
Scanner sc = new Scanner(System.in);
String input = sc.nextLine();
int Size = input.length();
String[] n =new String[30];
///¶ñðO©çÉn[i]ÌzñÉãü
for(int i=0;i<Size;i++)
{
n[i] = input.substring(i,i+1);
}
///¶ñðtÅoÍ
for(int i=(Size-1);i>-1;i--)
{
if(i==0)
System.out.println(n[i]);
else
System.out.print(n[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
12,
13,
30,
42,
4,
13,
30,
4,
13,
23,
13,
12,
13,
30,
14,
40,
4,
18,
13,
29,
17,
0,
13,
4,
18,
13,
29,
17,
12,
13,
30,
41,
13,
4,
18,
4,
18,
20,
4,
18,
18,
13,
13,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
56,
5
],
[
56,
6
],
[
6,
7
],
[
6,
8
],
[
56,
9
],
[
9,
10
],
[
56,
11
],
[
11,
12
],
[
11,
13
],
[
13,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
56,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
25,
30
],
[
30,
31
],
[
24,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
24,
37
],
[
37,
38
],
[
56,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] | [
"import java.util.*;\n\npublic class Main {\n static Scanner sc = new Scanner(System.in);\n static String input;\n public static void main(String[] args) {\n while(read()){\n slove();\n }\n }\n static boolean read(){\n if(!sc.hasNext())return false;\n input = sc.nextLine();\n return true;\n }\n static void slove(){\n String res = new StringBuffer(input).reverse().toString();\n System.out.println(res);\n //res = new StringBuffer(\"1234gtt\").reverse().toString();\n //System.out.println(res);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n static Scanner sc = new Scanner(System.in);\n static String input;\n public static void main(String[] args) {\n while(read()){\n slove();\n }\n }\n static boolean read(){\n if(!sc.hasNext())return false;\n input = sc.nextLine();\n return true;\n }\n static void slove(){\n String res = new StringBuffer(input).reverse().toString();\n System.out.println(res);\n //res = new StringBuffer(\"1234gtt\").reverse().toString();\n //System.out.println(res);\n }\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"static String input;",
"input",
"public static void main(String[] args) {\n while(read()){\n slove();\n }\n }",
"main",
"{\n while(read()){\n slove();\n }\n }",
"while(read()){\n slove();\n }",
"read()",
"read",
"{\n slove();\n }",
"slove()",
"slove",
"String[] args",
"args",
"static boolean read(){\n if(!sc.hasNext())return false;\n input = sc.nextLine();\n return true;\n }",
"read",
"{\n if(!sc.hasNext())return false;\n input = sc.nextLine();\n return true;\n }",
"if(!sc.hasNext())return false;",
"!sc.hasNext()",
"sc.hasNext()",
"sc.hasNext",
"sc",
"return false;",
"false",
"input = sc.nextLine()",
"input",
"sc.nextLine()",
"sc.nextLine",
"sc",
"return true;",
"true",
"static void slove(){\n String res = new StringBuffer(input).reverse().toString();\n System.out.println(res);\n //res = new StringBuffer(\"1234gtt\").reverse().toString();\n //System.out.println(res);\n }",
"slove",
"{\n String res = new StringBuffer(input).reverse().toString();\n System.out.println(res);\n //res = new StringBuffer(\"1234gtt\").reverse().toString();\n //System.out.println(res);\n }",
"String res = new StringBuffer(input).reverse().toString();",
"res",
"new StringBuffer(input).reverse().toString()",
"new StringBuffer(input).reverse().toString",
"new StringBuffer(input).reverse()",
"new StringBuffer(input).reverse",
"new StringBuffer(input)",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"public class Main {\n static Scanner sc = new Scanner(System.in);\n static String input;\n public static void main(String[] args) {\n while(read()){\n slove();\n }\n }\n static boolean read(){\n if(!sc.hasNext())return false;\n input = sc.nextLine();\n return true;\n }\n static void slove(){\n String res = new StringBuffer(input).reverse().toString();\n System.out.println(res);\n //res = new StringBuffer(\"1234gtt\").reverse().toString();\n //System.out.println(res);\n }\n}",
"public class Main {\n static Scanner sc = new Scanner(System.in);\n static String input;\n public static void main(String[] args) {\n while(read()){\n slove();\n }\n }\n static boolean read(){\n if(!sc.hasNext())return false;\n input = sc.nextLine();\n return true;\n }\n static void slove(){\n String res = new StringBuffer(input).reverse().toString();\n System.out.println(res);\n //res = new StringBuffer(\"1234gtt\").reverse().toString();\n //System.out.println(res);\n }\n}",
"Main"
] | import java.util.*;
public class Main {
static Scanner sc = new Scanner(System.in);
static String input;
public static void main(String[] args) {
while(read()){
slove();
}
}
static boolean read(){
if(!sc.hasNext())return false;
input = sc.nextLine();
return true;
}
static void slove(){
String res = new StringBuffer(input).reverse().toString();
System.out.println(res);
//res = new StringBuffer("1234gtt").reverse().toString();
//System.out.println(res);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
57,
5
],
[
57,
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
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
44,
44
],
[
44,
45
],
[
44,
46
],
[
44,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] a){\n\t\tScanner scn = new Scanner(System.in);\n\t\tString str = scn.nextLine();\n\t\tint len = str.length();\n\t\tfor(int i = 0;i < len;i++){\n\t\tSystem.out.print(str.charAt(len - 1 - i));\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] a){\n\t\tScanner scn = new Scanner(System.in);\n\t\tString str = scn.nextLine();\n\t\tint len = str.length();\n\t\tfor(int i = 0;i < len;i++){\n\t\tSystem.out.print(str.charAt(len - 1 - i));\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n}",
"Main",
"public static void main(String[] a){\n\t\tScanner scn = new Scanner(System.in);\n\t\tString str = scn.nextLine();\n\t\tint len = str.length();\n\t\tfor(int i = 0;i < len;i++){\n\t\tSystem.out.print(str.charAt(len - 1 - i));\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}",
"main",
"{\n\t\tScanner scn = new Scanner(System.in);\n\t\tString str = scn.nextLine();\n\t\tint len = str.length();\n\t\tfor(int i = 0;i < len;i++){\n\t\tSystem.out.print(str.charAt(len - 1 - i));\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}",
"Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"String str = scn.nextLine();",
"str",
"scn.nextLine()",
"scn.nextLine",
"scn",
"int len = str.length();",
"len",
"str.length()",
"str.length",
"str",
"for(int i = 0;i < len;i++){\n\t\tSystem.out.print(str.charAt(len - 1 - i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len",
"i",
"len",
"i++",
"i++",
"i",
"{\n\t\tSystem.out.print(str.charAt(len - 1 - i));\n\t\t}",
"{\n\t\tSystem.out.print(str.charAt(len - 1 - i));\n\t\t}",
"System.out.print(str.charAt(len - 1 - i))",
"System.out.print",
"System.out",
"System",
"System.out",
"str.charAt(len - 1 - i)",
"str.charAt",
"str",
"len - 1 - i",
"len - 1 - i",
"len",
"1",
"i",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] a",
"a",
"public class Main {\n\tpublic static void main(String[] a){\n\t\tScanner scn = new Scanner(System.in);\n\t\tString str = scn.nextLine();\n\t\tint len = str.length();\n\t\tfor(int i = 0;i < len;i++){\n\t\tSystem.out.print(str.charAt(len - 1 - i));\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] a){\n\t\tScanner scn = new Scanner(System.in);\n\t\tString str = scn.nextLine();\n\t\tint len = str.length();\n\t\tfor(int i = 0;i < len;i++){\n\t\tSystem.out.print(str.charAt(len - 1 - i));\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] a){
Scanner scn = new Scanner(System.in);
String str = scn.nextLine();
int len = str.length();
for(int i = 0;i < len;i++){
System.out.print(str.charAt(len - 1 - i));
}
System.out.println("");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
20,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
4,
18,
13,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
167,
23
],
[
167,
24
],
[
24,
25
],
[
167,
26
],
[
26,
27
],
[
167,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
30,
37
],
[
37,
38
],
[
37,
39
],
[
30,
40
],
[
40,
41
],
[
41,
42
],
[
30,
43
],
[
43,
44
],
[
44,
45
],
[
28,
46
],
[
46,
47
],
[
167,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
52,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
167,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
63,
67
],
[
67,
68
],
[
63,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
69,
75
],
[
75,
76
],
[
63,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
80,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
79,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
97,
98
],
[
98,
99
],
[
63,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
103,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
102,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
120,
121
],
[
121,
122
],
[
63,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
127,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
126,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
125,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
63,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
146,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
145,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
160,
163
],
[
163,
164
],
[
164,
165
],
[
0,
166
],
[
166,
167
],
[
166,
168
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\nimport java.util.StringTokenizer;\n\npublic class Main {\n static InputReader in;\n static PrintWriter out;\n\n\n\n\n static class Solution {\n void solve() throws IOException {\n StringBuilder sb = new StringBuilder(in.next());\n sb.reverse();\n out.println(sb);\n// End solve()\n }\n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n\n\n\n\n static class Solution {\n void solve() throws IOException {\n StringBuilder sb = new StringBuilder(in.next());\n sb.reverse();\n out.println(sb);\n// End solve()\n }\n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}",
"Main",
"static InputReader in;",
"in",
"static PrintWriter out;",
"out",
"public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}",
"main",
"{\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}",
"in = new InputReader(System.in)",
"in",
"new InputReader(System.in)",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"Solution solver = new Solution();",
"solver",
"new Solution()",
"solver.solve()",
"solver.solve",
"solver",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Solution {\n void solve() throws IOException {\n StringBuilder sb = new StringBuilder(in.next());\n sb.reverse();\n out.println(sb);\n// End solve()\n }\n// End Solution\n}",
"Solution",
"void solve() throws IOException {\n StringBuilder sb = new StringBuilder(in.next());\n sb.reverse();\n out.println(sb);\n// End solve()\n }",
"solve",
"{\n StringBuilder sb = new StringBuilder(in.next());\n sb.reverse();\n out.println(sb);\n// End solve()\n }",
"StringBuilder sb = new StringBuilder(in.next());",
"sb",
"new StringBuilder(in.next())",
"sb.reverse()",
"sb.reverse",
"sb",
"out.println(sb)",
"out.println",
"out",
"sb",
"static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }",
"InputReader",
"public BufferedReader br;",
"br",
"public StringTokenizer st;",
"st",
"public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }",
"InputReader",
"{\n br = new BufferedReader(new InputStreamReader(stream));\n }",
"br = new BufferedReader(new InputStreamReader(stream))",
"br",
"new BufferedReader(new InputStreamReader(stream))",
"InputStream stream",
"stream",
"public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }",
"nextInt",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Integer.parseInt(st.nextToken());",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }",
"nextLong",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Long.parseLong(st.nextToken());",
"Long.parseLong(st.nextToken())",
"Long.parseLong",
"Long",
"st.nextToken()",
"st.nextToken",
"st",
"public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }",
"nextDouble",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Double.parseDouble(st.nextToken());",
"Double.parseDouble(st.nextToken())",
"Double.parseDouble",
"Double",
"st.nextToken()",
"st.nextToken",
"st",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n\n\n\n\n static class Solution {\n void solve() throws IOException {\n StringBuilder sb = new StringBuilder(in.next());\n sb.reverse();\n out.println(sb);\n// End solve()\n }\n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n\n\n\n\n static class Solution {\n void solve() throws IOException {\n StringBuilder sb = new StringBuilder(in.next());\n sb.reverse();\n out.println(sb);\n// End solve()\n }\n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\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.Scanner;
import java.util.StringTokenizer;
public class Main {
static InputReader in;
static PrintWriter out;
static class Solution {
void solve() throws IOException {
StringBuilder sb = new StringBuilder(in.next());
sb.reverse();
out.println(sb);
// End solve()
}
// End Solution
}
public static void main(String[] args) throws IOException {
in = new InputReader(System.in);
out = new PrintWriter(System.out);
Solution solver = new Solution();
solver.solve();
out.close();
}
static class InputReader {
public BufferedReader br;
public StringTokenizer st;
public InputReader(InputStream stream) {
br = new BufferedReader(new InputStreamReader(stream));
}
public int nextInt() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Integer.parseInt(st.nextToken());
}
public long nextLong() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Long.parseLong(st.nextToken());
}
public String next() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return st.nextToken();
}
public double nextDouble() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Double.parseDouble(st.nextToken());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
4,
18,
13,
17,
30,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
38,
5
],
[
38,
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
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
6,
35
],
[
35,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString a = scanner.nextLine();\n\t\tif (a.length() <= 20) {\n\t\t\tStringBuffer buffer = new StringBuffer(a);\n\t\t\tSystem.out.println(buffer.reverse());\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 scanner = new Scanner(System.in);\n\t\tString a = scanner.nextLine();\n\t\tif (a.length() <= 20) {\n\t\t\tStringBuffer buffer = new StringBuffer(a);\n\t\t\tSystem.out.println(buffer.reverse());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString a = scanner.nextLine();\n\t\tif (a.length() <= 20) {\n\t\t\tStringBuffer buffer = new StringBuffer(a);\n\t\t\tSystem.out.println(buffer.reverse());\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString a = scanner.nextLine();\n\t\tif (a.length() <= 20) {\n\t\t\tStringBuffer buffer = new StringBuffer(a);\n\t\t\tSystem.out.println(buffer.reverse());\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String a = scanner.nextLine();",
"a",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"if (a.length() <= 20) {\n\t\t\tStringBuffer buffer = new StringBuffer(a);\n\t\t\tSystem.out.println(buffer.reverse());\n\t\t}",
"a.length() <= 20",
"a.length()",
"a.length",
"a",
"20",
"{\n\t\t\tStringBuffer buffer = new StringBuffer(a);\n\t\t\tSystem.out.println(buffer.reverse());\n\t\t}",
"StringBuffer buffer = new StringBuffer(a);",
"buffer",
"new StringBuffer(a)",
"System.out.println(buffer.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"buffer.reverse()",
"buffer.reverse",
"buffer",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString a = scanner.nextLine();\n\t\tif (a.length() <= 20) {\n\t\t\tStringBuffer buffer = new StringBuffer(a);\n\t\t\tSystem.out.println(buffer.reverse());\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString a = scanner.nextLine();\n\t\tif (a.length() <= 20) {\n\t\t\tStringBuffer buffer = new StringBuffer(a);\n\t\t\tSystem.out.println(buffer.reverse());\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String a = scanner.nextLine();
if (a.length() <= 20) {
StringBuffer buffer = new StringBuffer(a);
System.out.println(buffer.reverse());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
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
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
26,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
41,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
35,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
12,
69
],
[
69,
70
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\nclass Main{\n public static void main(String[] a) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tStringBuffer str1 = new StringBuffer(\"\");\n\t\tif(str != null && !str.isEmpty()) {\n\t\t\tint l =str.length();\n\t\t\tfor(int i=l-1;i>=0;i--) {\n\t\t\t\tstr1.append(str.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(str1);\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",
"class Main{\n public static void main(String[] a) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tStringBuffer str1 = new StringBuffer(\"\");\n\t\tif(str != null && !str.isEmpty()) {\n\t\t\tint l =str.length();\n\t\t\tfor(int i=l-1;i>=0;i--) {\n\t\t\t\tstr1.append(str.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(str1);\n\t\t}\n }\n}",
"Main",
"public static void main(String[] a) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tStringBuffer str1 = new StringBuffer(\"\");\n\t\tif(str != null && !str.isEmpty()) {\n\t\t\tint l =str.length();\n\t\t\tfor(int i=l-1;i>=0;i--) {\n\t\t\t\tstr1.append(str.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(str1);\n\t\t}\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tStringBuffer str1 = new StringBuffer(\"\");\n\t\tif(str != null && !str.isEmpty()) {\n\t\t\tint l =str.length();\n\t\t\tfor(int i=l-1;i>=0;i--) {\n\t\t\t\tstr1.append(str.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(str1);\n\t\t}\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"StringBuffer str1 = new StringBuffer(\"\");",
"str1",
"new StringBuffer(\"\")",
"if(str != null && !str.isEmpty()) {\n\t\t\tint l =str.length();\n\t\t\tfor(int i=l-1;i>=0;i--) {\n\t\t\t\tstr1.append(str.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(str1);\n\t\t}",
"str != null && !str.isEmpty()",
"str != null",
"str",
"null",
"!str.isEmpty()",
"str.isEmpty()",
"str.isEmpty",
"str",
"{\n\t\t\tint l =str.length();\n\t\t\tfor(int i=l-1;i>=0;i--) {\n\t\t\t\tstr1.append(str.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(str1);\n\t\t}",
"int l =str.length();",
"l",
"str.length()",
"str.length",
"str",
"for(int i=l-1;i>=0;i--) {\n\t\t\t\tstr1.append(str.charAt(i));\n\t\t\t}",
"int i=l-1;",
"int i=l-1;",
"i",
"l-1",
"l",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\t\tstr1.append(str.charAt(i));\n\t\t\t}",
"{\n\t\t\t\tstr1.append(str.charAt(i));\n\t\t\t}",
"str1.append(str.charAt(i))",
"str1.append",
"str1",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"System.out.println(str1)",
"System.out.println",
"System.out",
"System",
"System.out",
"str1",
"String[] a",
"a"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
public static void main(String[] a) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
StringBuffer str1 = new StringBuffer("");
if(str != null && !str.isEmpty()) {
int l =str.length();
for(int i=l-1;i>=0;i--) {
str1.append(str.charAt(i));
}
System.out.println(str1);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
18,
13,
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,
18,
13,
2,
2,
18,
13,
13,
13,
17,
4,
18,
18,
13,
13,
20,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
13,
29,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
88,
11
],
[
88,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
14,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
27,
28
],
[
27,
29
],
[
14,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
30,
40
],
[
40,
41
],
[
41,
42
],
[
30,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
52,
57
],
[
14,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
12,
64
],
[
64,
65
],
[
88,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
68,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
68,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\t/**\n\t * 入力された文字列を反転して出力する。\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 入力値を受け取る\n\t\tString input = readInput();\n\n\t\t// 反転する\n\t\tbyte[] inputBytes = input.getBytes();\n\t\tbyte[] reversed = new byte[inputBytes.length];\n\t\tfor (int i = 0; i < reversed.length; i++) {\n\t\t\treversed[i] = inputBytes[inputBytes.length - i - 1];\n\t\t}\n\n\t\t// 文字列に変換して出力する\n\t\tSystem.out.println(new String(reversed));\n\t}\n\n\t/**\n\t * 標準入力から1行読み込んで返す。\n\t *\n\t * @return 入力された文字列\n\t */\n\tprotected static String readInput() throws IOException {\n\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tString line = reader.readLine();\n\n\t\tif (reader != null) {\n\t\t\treader.close();\n\t\t}\n\n\t\treturn line;\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\t/**\n\t * 入力された文字列を反転して出力する。\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 入力値を受け取る\n\t\tString input = readInput();\n\n\t\t// 反転する\n\t\tbyte[] inputBytes = input.getBytes();\n\t\tbyte[] reversed = new byte[inputBytes.length];\n\t\tfor (int i = 0; i < reversed.length; i++) {\n\t\t\treversed[i] = inputBytes[inputBytes.length - i - 1];\n\t\t}\n\n\t\t// 文字列に変換して出力する\n\t\tSystem.out.println(new String(reversed));\n\t}\n\n\t/**\n\t * 標準入力から1行読み込んで返す。\n\t *\n\t * @return 入力された文字列\n\t */\n\tprotected static String readInput() throws IOException {\n\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tString line = reader.readLine();\n\n\t\tif (reader != null) {\n\t\t\treader.close();\n\t\t}\n\n\t\treturn line;\n\t}\n\n}",
"Main",
"/**\n\t * 入力された文字列を反転して出力する。\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 入力値を受け取る\n\t\tString input = readInput();\n\n\t\t// 反転する\n\t\tbyte[] inputBytes = input.getBytes();\n\t\tbyte[] reversed = new byte[inputBytes.length];\n\t\tfor (int i = 0; i < reversed.length; i++) {\n\t\t\treversed[i] = inputBytes[inputBytes.length - i - 1];\n\t\t}\n\n\t\t// 文字列に変換して出力する\n\t\tSystem.out.println(new String(reversed));\n\t}",
"main",
"{\n\n\t\t// 入力値を受け取る\n\t\tString input = readInput();\n\n\t\t// 反転する\n\t\tbyte[] inputBytes = input.getBytes();\n\t\tbyte[] reversed = new byte[inputBytes.length];\n\t\tfor (int i = 0; i < reversed.length; i++) {\n\t\t\treversed[i] = inputBytes[inputBytes.length - i - 1];\n\t\t}\n\n\t\t// 文字列に変換して出力する\n\t\tSystem.out.println(new String(reversed));\n\t}",
"String input = readInput();",
"input",
"readInput()",
"readInput",
"byte[] inputBytes = input.getBytes();",
"inputBytes",
"input.getBytes()",
"input.getBytes",
"input",
"byte[] reversed = new byte[inputBytes.length];",
"reversed",
"new byte[inputBytes.length]",
"inputBytes.length",
"inputBytes",
"inputBytes.length",
"for (int i = 0; i < reversed.length; i++) {\n\t\t\treversed[i] = inputBytes[inputBytes.length - i - 1];\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < reversed.length",
"i",
"reversed.length",
"reversed",
"reversed.length",
"i++",
"i++",
"i",
"{\n\t\t\treversed[i] = inputBytes[inputBytes.length - i - 1];\n\t\t}",
"{\n\t\t\treversed[i] = inputBytes[inputBytes.length - i - 1];\n\t\t}",
"reversed[i] = inputBytes[inputBytes.length - i - 1]",
"reversed[i]",
"reversed",
"i",
"inputBytes[inputBytes.length - i - 1]",
"inputBytes",
"inputBytes.length - i - 1",
"inputBytes.length - i - 1",
"inputBytes.length",
"inputBytes",
"inputBytes.length",
"i",
"1",
"System.out.println(new String(reversed))",
"System.out.println",
"System.out",
"System",
"System.out",
"new String(reversed)",
"String[] args",
"args",
"/**\n\t * 標準入力から1行読み込んで返す。\n\t *\n\t * @return 入力された文字列\n\t */\n\tprotected static String readInput() throws IOException {\n\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tString line = reader.readLine();\n\n\t\tif (reader != null) {\n\t\t\treader.close();\n\t\t}\n\n\t\treturn line;\n\t}",
"readInput",
"{\n\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tString line = reader.readLine();\n\n\t\tif (reader != null) {\n\t\t\treader.close();\n\t\t}\n\n\t\treturn line;\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));",
"reader",
"new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))",
"String line = reader.readLine();",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"if (reader != null) {\n\t\t\treader.close();\n\t\t}",
"reader != null",
"reader",
"null",
"{\n\t\t\treader.close();\n\t\t}",
"reader.close()",
"reader.close",
"reader",
"return line;",
"line",
"public class Main {\n\n\t/**\n\t * 入力された文字列を反転して出力する。\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 入力値を受け取る\n\t\tString input = readInput();\n\n\t\t// 反転する\n\t\tbyte[] inputBytes = input.getBytes();\n\t\tbyte[] reversed = new byte[inputBytes.length];\n\t\tfor (int i = 0; i < reversed.length; i++) {\n\t\t\treversed[i] = inputBytes[inputBytes.length - i - 1];\n\t\t}\n\n\t\t// 文字列に変換して出力する\n\t\tSystem.out.println(new String(reversed));\n\t}\n\n\t/**\n\t * 標準入力から1行読み込んで返す。\n\t *\n\t * @return 入力された文字列\n\t */\n\tprotected static String readInput() throws IOException {\n\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tString line = reader.readLine();\n\n\t\tif (reader != null) {\n\t\t\treader.close();\n\t\t}\n\n\t\treturn line;\n\t}\n\n}",
"public class Main {\n\n\t/**\n\t * 入力された文字列を反転して出力する。\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 入力値を受け取る\n\t\tString input = readInput();\n\n\t\t// 反転する\n\t\tbyte[] inputBytes = input.getBytes();\n\t\tbyte[] reversed = new byte[inputBytes.length];\n\t\tfor (int i = 0; i < reversed.length; i++) {\n\t\t\treversed[i] = inputBytes[inputBytes.length - i - 1];\n\t\t}\n\n\t\t// 文字列に変換して出力する\n\t\tSystem.out.println(new String(reversed));\n\t}\n\n\t/**\n\t * 標準入力から1行読み込んで返す。\n\t *\n\t * @return 入力された文字列\n\t */\n\tprotected static String readInput() throws IOException {\n\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tString line = reader.readLine();\n\n\t\tif (reader != null) {\n\t\t\treader.close();\n\t\t}\n\n\t\treturn line;\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
/**
* 入力された文字列を反転して出力する。
*
* @param args
*/
public static void main(String[] args) throws IOException {
// 入力値を受け取る
String input = readInput();
// 反転する
byte[] inputBytes = input.getBytes();
byte[] reversed = new byte[inputBytes.length];
for (int i = 0; i < reversed.length; i++) {
reversed[i] = inputBytes[inputBytes.length - i - 1];
}
// 文字列に変換して出力する
System.out.println(new String(reversed));
}
/**
* 標準入力から1行読み込んで返す。
*
* @return 入力された文字列
*/
protected static String readInput() throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(
System.in));
String line = reader.readLine();
if (reader != null) {
reader.close();
}
return line;
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
2,
2,
4,
18,
13,
17,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
59,
5
],
[
59,
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
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
20,
30
],
[
30,
31
],
[
31,
32
],
[
20,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
41,
45
],
[
40,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
6,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t\tString nyumoji = scan.next();\n\n\t\t\tString outpt = \"\";\n\t\t\tfor(int i = 0; i < nyumoji.length(); i++){\n\t\t\t\toutpt +=nyumoji.charAt((nyumoji.length()-1) - i);\n\t\t\t}\n\t\t\tSystem.out.println(outpt);\n\t\t\tscan.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t\tString nyumoji = scan.next();\n\n\t\t\tString outpt = \"\";\n\t\t\tfor(int i = 0; i < nyumoji.length(); i++){\n\t\t\t\toutpt +=nyumoji.charAt((nyumoji.length()-1) - i);\n\t\t\t}\n\t\t\tSystem.out.println(outpt);\n\t\t\tscan.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t\tString nyumoji = scan.next();\n\n\t\t\tString outpt = \"\";\n\t\t\tfor(int i = 0; i < nyumoji.length(); i++){\n\t\t\t\toutpt +=nyumoji.charAt((nyumoji.length()-1) - i);\n\t\t\t}\n\t\t\tSystem.out.println(outpt);\n\t\t\tscan.close();\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t\tString nyumoji = scan.next();\n\n\t\t\tString outpt = \"\";\n\t\t\tfor(int i = 0; i < nyumoji.length(); i++){\n\t\t\t\toutpt +=nyumoji.charAt((nyumoji.length()-1) - i);\n\t\t\t}\n\t\t\tSystem.out.println(outpt);\n\t\t\tscan.close();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String nyumoji = scan.next();",
"nyumoji",
"scan.next()",
"scan.next",
"scan",
"String outpt = \"\";",
"outpt",
"\"\"",
"for(int i = 0; i < nyumoji.length(); i++){\n\t\t\t\toutpt +=nyumoji.charAt((nyumoji.length()-1) - i);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < nyumoji.length()",
"i",
"nyumoji.length()",
"nyumoji.length",
"nyumoji",
"i++",
"i++",
"i",
"{\n\t\t\t\toutpt +=nyumoji.charAt((nyumoji.length()-1) - i);\n\t\t\t}",
"{\n\t\t\t\toutpt +=nyumoji.charAt((nyumoji.length()-1) - i);\n\t\t\t}",
"outpt +=nyumoji.charAt((nyumoji.length()-1) - i)",
"outpt",
"nyumoji.charAt((nyumoji.length()-1) - i)",
"nyumoji.charAt",
"nyumoji",
"(nyumoji.length()-1) - i",
"(nyumoji.length()-1)",
"nyumoji.length()",
"nyumoji.length",
"nyumoji",
"1",
"i",
"System.out.println(outpt)",
"System.out.println",
"System.out",
"System",
"System.out",
"outpt",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t\tString nyumoji = scan.next();\n\n\t\t\tString outpt = \"\";\n\t\t\tfor(int i = 0; i < nyumoji.length(); i++){\n\t\t\t\toutpt +=nyumoji.charAt((nyumoji.length()-1) - i);\n\t\t\t}\n\t\t\tSystem.out.println(outpt);\n\t\t\tscan.close();\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t\tString nyumoji = scan.next();\n\n\t\t\tString outpt = \"\";\n\t\t\tfor(int i = 0; i < nyumoji.length(); i++){\n\t\t\t\toutpt +=nyumoji.charAt((nyumoji.length()-1) - i);\n\t\t\t}\n\t\t\tSystem.out.println(outpt);\n\t\t\tscan.close();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner scan = new Scanner(System.in);
String nyumoji = scan.next();
String outpt = "";
for(int i = 0; i < nyumoji.length(); i++){
outpt +=nyumoji.charAt((nyumoji.length()-1) - i);
}
System.out.println(outpt);
scan.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
17,
0,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
97,
11
],
[
97,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
14,
22
],
[
22,
23
],
[
14,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
32,
41
],
[
41,
42
],
[
41,
43
],
[
32,
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
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
32,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
66,
73
],
[
73,
74
],
[
73,
75
],
[
66,
76
],
[
76,
77
],
[
77,
78
],
[
66,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
32,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
12,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
] | [
"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\t//??????????????°?¨????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str, reverse;\n\t\tint num;\n\n\t\twhile ((str = br.readLine()) != null){\n\t\t\t//????????????????????°????????????\n\t\t\treverse = \"\";\n\t\t\tnum = str.length();\n\t\t\tchar[] word = new char[num];\n\t\t\t//??????\n\t\t\tfor (int i = 0; i < num; i++) {\n\t\t\t\tword[i] = str.charAt(i);\n\t\t\t}\n\t\t\t//?????????\n\t\t\tfor (int i = num-1; i >=0; i--) {\n\t\t\t\treverse = reverse + word[i];\n\t\t\t}\n\t\t\t//??????\n\t\t\tSystem.out.println(reverse);\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",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//??????????????°?¨????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str, reverse;\n\t\tint num;\n\n\t\twhile ((str = br.readLine()) != null){\n\t\t\t//????????????????????°????????????\n\t\t\treverse = \"\";\n\t\t\tnum = str.length();\n\t\t\tchar[] word = new char[num];\n\t\t\t//??????\n\t\t\tfor (int i = 0; i < num; i++) {\n\t\t\t\tword[i] = str.charAt(i);\n\t\t\t}\n\t\t\t//?????????\n\t\t\tfor (int i = num-1; i >=0; i--) {\n\t\t\t\treverse = reverse + word[i];\n\t\t\t}\n\t\t\t//??????\n\t\t\tSystem.out.println(reverse);\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t//??????????????°?¨????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str, reverse;\n\t\tint num;\n\n\t\twhile ((str = br.readLine()) != null){\n\t\t\t//????????????????????°????????????\n\t\t\treverse = \"\";\n\t\t\tnum = str.length();\n\t\t\tchar[] word = new char[num];\n\t\t\t//??????\n\t\t\tfor (int i = 0; i < num; i++) {\n\t\t\t\tword[i] = str.charAt(i);\n\t\t\t}\n\t\t\t//?????????\n\t\t\tfor (int i = num-1; i >=0; i--) {\n\t\t\t\treverse = reverse + word[i];\n\t\t\t}\n\t\t\t//??????\n\t\t\tSystem.out.println(reverse);\n\t\t}\n\n\t}",
"main",
"{\n\t\t//??????????????°?¨????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str, reverse;\n\t\tint num;\n\n\t\twhile ((str = br.readLine()) != null){\n\t\t\t//????????????????????°????????????\n\t\t\treverse = \"\";\n\t\t\tnum = str.length();\n\t\t\tchar[] word = new char[num];\n\t\t\t//??????\n\t\t\tfor (int i = 0; i < num; i++) {\n\t\t\t\tword[i] = str.charAt(i);\n\t\t\t}\n\t\t\t//?????????\n\t\t\tfor (int i = num-1; i >=0; i--) {\n\t\t\t\treverse = reverse + word[i];\n\t\t\t}\n\t\t\t//??????\n\t\t\tSystem.out.println(reverse);\n\t\t}\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str",
"str",
"reverse;",
"reverse",
"int num;",
"num",
"while ((str = br.readLine()) != null){\n\t\t\t//????????????????????°????????????\n\t\t\treverse = \"\";\n\t\t\tnum = str.length();\n\t\t\tchar[] word = new char[num];\n\t\t\t//??????\n\t\t\tfor (int i = 0; i < num; i++) {\n\t\t\t\tword[i] = str.charAt(i);\n\t\t\t}\n\t\t\t//?????????\n\t\t\tfor (int i = num-1; i >=0; i--) {\n\t\t\t\treverse = reverse + word[i];\n\t\t\t}\n\t\t\t//??????\n\t\t\tSystem.out.println(reverse);\n\t\t}",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\t//????????????????????°????????????\n\t\t\treverse = \"\";\n\t\t\tnum = str.length();\n\t\t\tchar[] word = new char[num];\n\t\t\t//??????\n\t\t\tfor (int i = 0; i < num; i++) {\n\t\t\t\tword[i] = str.charAt(i);\n\t\t\t}\n\t\t\t//?????????\n\t\t\tfor (int i = num-1; i >=0; i--) {\n\t\t\t\treverse = reverse + word[i];\n\t\t\t}\n\t\t\t//??????\n\t\t\tSystem.out.println(reverse);\n\t\t}",
"reverse = \"\"",
"reverse",
"\"\"",
"num = str.length()",
"num",
"str.length()",
"str.length",
"str",
"char[] word = new char[num];",
"word",
"new char[num]",
"num",
"for (int i = 0; i < num; i++) {\n\t\t\t\tword[i] = str.charAt(i);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < num",
"i",
"num",
"i++",
"i++",
"i",
"{\n\t\t\t\tword[i] = str.charAt(i);\n\t\t\t}",
"{\n\t\t\t\tword[i] = str.charAt(i);\n\t\t\t}",
"word[i] = str.charAt(i)",
"word[i]",
"word",
"i",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"for (int i = num-1; i >=0; i--) {\n\t\t\t\treverse = reverse + word[i];\n\t\t\t}",
"int i = num-1;",
"int i = num-1;",
"i",
"num-1",
"num",
"1",
"i >=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\t\treverse = reverse + word[i];\n\t\t\t}",
"{\n\t\t\t\treverse = reverse + word[i];\n\t\t\t}",
"reverse = reverse + word[i]",
"reverse",
"reverse + word[i]",
"reverse",
"word[i]",
"word",
"i",
"System.out.println(reverse)",
"System.out.println",
"System.out",
"System",
"System.out",
"reverse",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//??????????????°?¨????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str, reverse;\n\t\tint num;\n\n\t\twhile ((str = br.readLine()) != null){\n\t\t\t//????????????????????°????????????\n\t\t\treverse = \"\";\n\t\t\tnum = str.length();\n\t\t\tchar[] word = new char[num];\n\t\t\t//??????\n\t\t\tfor (int i = 0; i < num; i++) {\n\t\t\t\tword[i] = str.charAt(i);\n\t\t\t}\n\t\t\t//?????????\n\t\t\tfor (int i = num-1; i >=0; i--) {\n\t\t\t\treverse = reverse + word[i];\n\t\t\t}\n\t\t\t//??????\n\t\t\tSystem.out.println(reverse);\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//??????????????°?¨????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str, reverse;\n\t\tint num;\n\n\t\twhile ((str = br.readLine()) != null){\n\t\t\t//????????????????????°????????????\n\t\t\treverse = \"\";\n\t\t\tnum = str.length();\n\t\t\tchar[] word = new char[num];\n\t\t\t//??????\n\t\t\tfor (int i = 0; i < num; i++) {\n\t\t\t\tword[i] = str.charAt(i);\n\t\t\t}\n\t\t\t//?????????\n\t\t\tfor (int i = num-1; i >=0; i--) {\n\t\t\t\treverse = reverse + word[i];\n\t\t\t}\n\t\t\t//??????\n\t\t\tSystem.out.println(reverse);\n\t\t}\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));
String str, reverse;
int num;
while ((str = br.readLine()) != null){
//????????????????????°????????????
reverse = "";
num = str.length();
char[] word = new char[num];
//??????
for (int i = 0; i < num; i++) {
word[i] = str.charAt(i);
}
//?????????
for (int i = num-1; i >=0; i--) {
reverse = reverse + word[i];
}
//??????
System.out.println(reverse);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
4,
18,
13,
14,
2,
18,
13,
13,
17,
4,
18,
13,
40,
17,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
90,
11
],
[
90,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
21,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
37,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
56,
65
],
[
65,
66
],
[
65,
67
],
[
56,
68
],
[
68,
69
],
[
69,
70
],
[
56,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
37,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
12,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = null;\n\n\t\ttry {\n\t\t\twhile ((line = br.readLine()) != null) {\n\t\t\t\tchar[] charArray = line.trim().toCharArray();\n\t\t\t\tif(charArray.length > 20) System.exit(-1);\n\t\t\t\t\n\t\t\t\tfor(int i = charArray.length - 1; i >= 0; i--){\n\t\t\t\t\tSystem.out.print(charArray[i]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\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\tpublic static void main(String[] args) {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = null;\n\n\t\ttry {\n\t\t\twhile ((line = br.readLine()) != null) {\n\t\t\t\tchar[] charArray = line.trim().toCharArray();\n\t\t\t\tif(charArray.length > 20) System.exit(-1);\n\t\t\t\t\n\t\t\t\tfor(int i = charArray.length - 1; i >= 0; i--){\n\t\t\t\t\tSystem.out.print(charArray[i]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\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\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = null;\n\n\t\ttry {\n\t\t\twhile ((line = br.readLine()) != null) {\n\t\t\t\tchar[] charArray = line.trim().toCharArray();\n\t\t\t\tif(charArray.length > 20) System.exit(-1);\n\t\t\t\t\n\t\t\t\tfor(int i = charArray.length - 1; i >= 0; i--){\n\t\t\t\t\tSystem.out.print(charArray[i]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = null;\n\n\t\ttry {\n\t\t\twhile ((line = br.readLine()) != null) {\n\t\t\t\tchar[] charArray = line.trim().toCharArray();\n\t\t\t\tif(charArray.length > 20) System.exit(-1);\n\t\t\t\t\n\t\t\t\tfor(int i = charArray.length - 1; i >= 0; i--){\n\t\t\t\t\tSystem.out.print(charArray[i]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\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 line = null;",
"line",
"null",
"try {\n\t\t\twhile ((line = br.readLine()) != null) {\n\t\t\t\tchar[] charArray = line.trim().toCharArray();\n\t\t\t\tif(charArray.length > 20) System.exit(-1);\n\t\t\t\t\n\t\t\t\tfor(int i = charArray.length - 1; i >= 0; i--){\n\t\t\t\t\tSystem.out.print(charArray[i]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\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\twhile ((line = br.readLine()) != null) {\n\t\t\t\tchar[] charArray = line.trim().toCharArray();\n\t\t\t\tif(charArray.length > 20) System.exit(-1);\n\t\t\t\t\n\t\t\t\tfor(int i = charArray.length - 1; i >= 0; i--){\n\t\t\t\t\tSystem.out.print(charArray[i]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}",
"while ((line = br.readLine()) != null) {\n\t\t\t\tchar[] charArray = line.trim().toCharArray();\n\t\t\t\tif(charArray.length > 20) System.exit(-1);\n\t\t\t\t\n\t\t\t\tfor(int i = charArray.length - 1; i >= 0; i--){\n\t\t\t\t\tSystem.out.print(charArray[i]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\t\tchar[] charArray = line.trim().toCharArray();\n\t\t\t\tif(charArray.length > 20) System.exit(-1);\n\t\t\t\t\n\t\t\t\tfor(int i = charArray.length - 1; i >= 0; i--){\n\t\t\t\t\tSystem.out.print(charArray[i]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"char[] charArray = line.trim().toCharArray();",
"charArray",
"line.trim().toCharArray()",
"line.trim().toCharArray",
"line.trim()",
"line.trim",
"line",
"if(charArray.length > 20) System.exit(-1);",
"charArray.length > 20",
"charArray.length",
"charArray",
"charArray.length",
"20",
"System.exit(-1)",
"System.exit",
"System",
"-1",
"1",
"for(int i = charArray.length - 1; i >= 0; i--){\n\t\t\t\t\tSystem.out.print(charArray[i]);\n\t\t\t\t}",
"int i = charArray.length - 1;",
"int i = charArray.length - 1;",
"i",
"charArray.length - 1",
"charArray.length",
"charArray",
"charArray.length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\t\t\tSystem.out.print(charArray[i]);\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(charArray[i]);\n\t\t\t\t}",
"System.out.print(charArray[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"charArray[i]",
"charArray",
"i",
"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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = null;\n\n\t\ttry {\n\t\t\twhile ((line = br.readLine()) != null) {\n\t\t\t\tchar[] charArray = line.trim().toCharArray();\n\t\t\t\tif(charArray.length > 20) System.exit(-1);\n\t\t\t\t\n\t\t\t\tfor(int i = charArray.length - 1; i >= 0; i--){\n\t\t\t\t\tSystem.out.print(charArray[i]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = null;\n\n\t\ttry {\n\t\t\twhile ((line = br.readLine()) != null) {\n\t\t\t\tchar[] charArray = line.trim().toCharArray();\n\t\t\t\tif(charArray.length > 20) System.exit(-1);\n\t\t\t\t\n\t\t\t\tfor(int i = charArray.length - 1; i >= 0; i--){\n\t\t\t\t\tSystem.out.print(charArray[i]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\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 line = null;
try {
while ((line = br.readLine()) != null) {
char[] charArray = line.trim().toCharArray();
if(charArray.length > 20) System.exit(-1);
for(int i = charArray.length - 1; i >= 0; i--){
System.out.print(charArray[i]);
}
System.out.println("");
}
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
41,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
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
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
13,
18
],
[
9,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
34,
38
],
[
30,
39
],
[
39,
40
],
[
39,
41
],
[
30,
42
],
[
42,
43
],
[
43,
44
],
[
30,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
19,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
6,
62
],
[
62,
63
]
] | [
"import java.io.*;\n\nclass Main {\n\tpublic static void main(String args[]) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString s;\n\t\t\ts = reader.readLine();\n\t\t\tfor(int i = s.length()-1;i >=0;i--) {\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t\tcatch(IOException e) {\n\t\t\tSystem.out.println(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 reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString s;\n\t\t\ts = reader.readLine();\n\t\t\tfor(int i = s.length()-1;i >=0;i--) {\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t\tcatch(IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\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\tString s;\n\t\t\ts = reader.readLine();\n\t\t\tfor(int i = s.length()-1;i >=0;i--) {\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t\tcatch(IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}",
"main",
"{\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString s;\n\t\t\ts = reader.readLine();\n\t\t\tfor(int i = s.length()-1;i >=0;i--) {\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t\tcatch(IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}",
"try {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString s;\n\t\t\ts = reader.readLine();\n\t\t\tfor(int i = s.length()-1;i >=0;i--) {\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t\tcatch(IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}",
"catch(IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}",
"IOException e",
"{\n\t\t\tSystem.out.println(e);\n\t\t}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString s;\n\t\t\ts = reader.readLine();\n\t\t\tfor(int i = s.length()-1;i >=0;i--) {\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String s;",
"s",
"s = reader.readLine()",
"s",
"reader.readLine()",
"reader.readLine",
"reader",
"for(int i = s.length()-1;i >=0;i--) {\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}",
"int i = s.length()-1;",
"int i = s.length()-1;",
"i",
"s.length()-1",
"s.length()",
"s.length",
"s",
"1",
"i >=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print(s.charAt(i));\n\t\t\t}",
"System.out.print(s.charAt(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String args[]",
"args"
] | import java.io.*;
class Main {
public static void main(String args[]) {
try {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String s;
s = reader.readLine();
for(int i = s.length()-1;i >=0;i--) {
System.out.print(s.charAt(i));
}
System.out.println("");
}
catch(IOException e) {
System.out.println(e);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
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
],
[
34,
11
],
[
34,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
12,
31
],
[
31,
32
],
[
0,
33
],
[
33,
34
],
[
33,
35
]
] | [
"import java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\n//import java.lang.StringBuilder;\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(br.readLine());\n System.out.println(sb.reverse().toString());\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder(br.readLine());\n System.out.println(sb.reverse().toString());\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(br.readLine());\n System.out.println(sb.reverse().toString());\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder(br.readLine());\n System.out.println(sb.reverse().toString());\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder(br.readLine());",
"sb",
"new StringBuilder(br.readLine())",
"System.out.println(sb.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"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(br.readLine());\n System.out.println(sb.reverse().toString());\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(br.readLine());\n System.out.println(sb.reverse().toString());\n }\n}",
"Main"
] | import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
//import java.lang.StringBuilder;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder(br.readLine());
System.out.println(sb.reverse().toString());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
17,
11,
1,
0,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
13,
11,
1,
0,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
76,
5
],
[
76,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
23,
33
],
[
33,
34
],
[
34,
35
],
[
23,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
45,
52
],
[
52,
53
],
[
52,
54
],
[
45,
55
],
[
55,
56
],
[
56,
57
],
[
45,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
6,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tint i;\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str = sc.next();\n\t\tchar[] tmp = new char[50];\n\t\tfor ( i = 0; i < str.length(); i++ )\n\t\t\ttmp[i] = str.charAt(i);\n\t\tfor ( i=i-1; i >= 0; i-- )\n\t\t\tSystem.out.print(tmp[i]);\n\t\tSystem.out.println(\"\");\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tint i;\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str = sc.next();\n\t\tchar[] tmp = new char[50];\n\t\tfor ( i = 0; i < str.length(); i++ )\n\t\t\ttmp[i] = str.charAt(i);\n\t\tfor ( i=i-1; i >= 0; i-- )\n\t\t\tSystem.out.print(tmp[i]);\n\t\tSystem.out.println(\"\");\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tint i;\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str = sc.next();\n\t\tchar[] tmp = new char[50];\n\t\tfor ( i = 0; i < str.length(); i++ )\n\t\t\ttmp[i] = str.charAt(i);\n\t\tfor ( i=i-1; i >= 0; i-- )\n\t\t\tSystem.out.print(tmp[i]);\n\t\tSystem.out.println(\"\");\n\t}",
"main",
"{\n\t\tint i;\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str = sc.next();\n\t\tchar[] tmp = new char[50];\n\t\tfor ( i = 0; i < str.length(); i++ )\n\t\t\ttmp[i] = str.charAt(i);\n\t\tfor ( i=i-1; i >= 0; i-- )\n\t\t\tSystem.out.print(tmp[i]);\n\t\tSystem.out.println(\"\");\n\t}",
"int i;",
"i",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str = sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"char[] tmp = new char[50];",
"tmp",
"new char[50]",
"50",
"for ( i = 0; i < str.length(); i++ )\n\t\t\ttmp[i] = str.charAt(i);",
"i = 0;",
"i = 0",
"i",
"0",
"i < str.length()",
"i",
"str.length()",
"str.length",
"str",
"i++",
"i++",
"i",
"tmp[i] = str.charAt(i);",
"tmp[i] = str.charAt(i)",
"tmp[i]",
"tmp",
"i",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"for ( i=i-1; i >= 0; i-- )\n\t\t\tSystem.out.print(tmp[i]);",
"i=i-1;",
"i=i-1",
"i",
"i-1",
"i",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"System.out.print(tmp[i]);",
"System.out.print(tmp[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"tmp[i]",
"tmp",
"i",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tint i;\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str = sc.next();\n\t\tchar[] tmp = new char[50];\n\t\tfor ( i = 0; i < str.length(); i++ )\n\t\t\ttmp[i] = str.charAt(i);\n\t\tfor ( i=i-1; i >= 0; i-- )\n\t\t\tSystem.out.print(tmp[i]);\n\t\tSystem.out.println(\"\");\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tint i;\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str = sc.next();\n\t\tchar[] tmp = new char[50];\n\t\tfor ( i = 0; i < str.length(); i++ )\n\t\t\ttmp[i] = str.charAt(i);\n\t\tfor ( i=i-1; i >= 0; i-- )\n\t\t\tSystem.out.print(tmp[i]);\n\t\tSystem.out.println(\"\");\n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args){
int i;
Scanner sc = new Scanner(System.in);
String str = sc.next();
char[] tmp = new char[50];
for ( i = 0; i < str.length(); i++ )
tmp[i] = str.charAt(i);
for ( i=i-1; i >= 0; i-- )
System.out.print(tmp[i]);
System.out.println("");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
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
],
[
11,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
24,
25
],
[
9,
26
],
[
26,
27
]
] | [
"import java.util.Scanner;\nimport java.lang.StringBuilder;\n\nclass Main{\n public static void main(String[] args){\n\tfinal Scanner sc = new Scanner(System.in);\n\tfinal StringBuilder sb=new StringBuilder(sc.next());\n\tSystem.out.println(sb.reverse());\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.lang.StringBuilder;",
"StringBuilder",
"java.lang",
"class Main{\n public static void main(String[] args){\n\tfinal Scanner sc = new Scanner(System.in);\n\tfinal StringBuilder sb=new StringBuilder(sc.next());\n\tSystem.out.println(sb.reverse());\n }\n}",
"Main",
"public static void main(String[] args){\n\tfinal Scanner sc = new Scanner(System.in);\n\tfinal StringBuilder sb=new StringBuilder(sc.next());\n\tSystem.out.println(sb.reverse());\n }",
"main",
"{\n\tfinal Scanner sc = new Scanner(System.in);\n\tfinal StringBuilder sb=new StringBuilder(sc.next());\n\tSystem.out.println(sb.reverse());\n }",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final StringBuilder sb=new StringBuilder(sc.next());",
"sb",
"new StringBuilder(sc.next())",
"System.out.println(sb.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse()",
"sb.reverse",
"sb",
"String[] args",
"args"
] | import java.util.Scanner;
import java.lang.StringBuilder;
class Main{
public static void main(String[] args){
final Scanner sc = new Scanner(System.in);
final StringBuilder sb=new StringBuilder(sc.next());
System.out.println(sb.reverse());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
20,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
2,
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
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
36,
40
],
[
32,
41
],
[
41,
42
],
[
41,
43
],
[
32,
44
],
[
44,
45
],
[
45,
46
],
[
32,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
28,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
12,
65
],
[
65,
66
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main\n{\n\n\tpublic static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\twhile((str=br.readLine())!=null)\n\t\t{\n\t\t\tStringBuilder sb =new StringBuilder();\n\t\t\tfor(int i=str.length()-1;i>=0;i--)\n\t\t\t{\n\t\t\t\tsb.append(str.substring(i, i+1));\n\t\t\t}\n\t\t\tSystem.out.println(sb);\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",
"class Main\n{\n\n\tpublic static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\twhile((str=br.readLine())!=null)\n\t\t{\n\t\t\tStringBuilder sb =new StringBuilder();\n\t\t\tfor(int i=str.length()-1;i>=0;i--)\n\t\t\t{\n\t\t\t\tsb.append(str.substring(i, i+1));\n\t\t\t}\n\t\t\tSystem.out.println(sb);\n\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\twhile((str=br.readLine())!=null)\n\t\t{\n\t\t\tStringBuilder sb =new StringBuilder();\n\t\t\tfor(int i=str.length()-1;i>=0;i--)\n\t\t\t{\n\t\t\t\tsb.append(str.substring(i, i+1));\n\t\t\t}\n\t\t\tSystem.out.println(sb);\n\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\twhile((str=br.readLine())!=null)\n\t\t{\n\t\t\tStringBuilder sb =new StringBuilder();\n\t\t\tfor(int i=str.length()-1;i>=0;i--)\n\t\t\t{\n\t\t\t\tsb.append(str.substring(i, i+1));\n\t\t\t}\n\t\t\tSystem.out.println(sb);\n\n\t\t}\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"while((str=br.readLine())!=null)\n\t\t{\n\t\t\tStringBuilder sb =new StringBuilder();\n\t\t\tfor(int i=str.length()-1;i>=0;i--)\n\t\t\t{\n\t\t\t\tsb.append(str.substring(i, i+1));\n\t\t\t}\n\t\t\tSystem.out.println(sb);\n\n\t\t}",
"(str=br.readLine())!=null",
"(str=br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tStringBuilder sb =new StringBuilder();\n\t\t\tfor(int i=str.length()-1;i>=0;i--)\n\t\t\t{\n\t\t\t\tsb.append(str.substring(i, i+1));\n\t\t\t}\n\t\t\tSystem.out.println(sb);\n\n\t\t}",
"StringBuilder sb =new StringBuilder();",
"sb",
"new StringBuilder()",
"for(int i=str.length()-1;i>=0;i--)\n\t\t\t{\n\t\t\t\tsb.append(str.substring(i, i+1));\n\t\t\t}",
"int i=str.length()-1;",
"int i=str.length()-1;",
"i",
"str.length()-1",
"str.length()",
"str.length",
"str",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\t\tsb.append(str.substring(i, i+1));\n\t\t\t}",
"{\n\t\t\t\tsb.append(str.substring(i, i+1));\n\t\t\t}",
"sb.append(str.substring(i, i+1))",
"sb.append",
"sb",
"str.substring(i, i+1)",
"str.substring",
"str",
"i",
"i+1",
"i",
"1",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main
{
public static void main(String[] args)throws IOException
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str;
while((str=br.readLine())!=null)
{
StringBuilder sb =new StringBuilder();
for(int i=str.length()-1;i>=0;i--)
{
sb.append(str.substring(i, i+1));
}
System.out.println(sb);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
26,
5
],
[
26,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
21,
22
],
[
6,
23
],
[
23,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tStringBuilder inputData = new StringBuilder(sc.next());\n\n\t\tSystem.out.println(inputData.reverse());\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tStringBuilder inputData = new StringBuilder(sc.next());\n\n\t\tSystem.out.println(inputData.reverse());\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tStringBuilder inputData = new StringBuilder(sc.next());\n\n\t\tSystem.out.println(inputData.reverse());\n\t}",
"main",
"{\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tStringBuilder inputData = new StringBuilder(sc.next());\n\n\t\tSystem.out.println(inputData.reverse());\n\t}",
"@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuilder inputData = new StringBuilder(sc.next());",
"inputData",
"new StringBuilder(sc.next())",
"System.out.println(inputData.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"inputData.reverse()",
"inputData.reverse",
"inputData",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tStringBuilder inputData = new StringBuilder(sc.next());\n\n\t\tSystem.out.println(inputData.reverse());\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tStringBuilder inputData = new StringBuilder(sc.next());\n\n\t\tSystem.out.println(inputData.reverse());\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
@SuppressWarnings("resource")
Scanner sc = new Scanner(System.in);
StringBuilder inputData = new StringBuilder(sc.next());
System.out.println(inputData.reverse());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
15,
18
],
[
18,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
6,
30
],
[
30,
31
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuffer sb = new StringBuffer();\n\t\tsb.append(scan.nextLine());\n\t\tsb.reverse();\n\t\tSystem.out.println(sb);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuffer sb = new StringBuffer();\n\t\tsb.append(scan.nextLine());\n\t\tsb.reverse();\n\t\tSystem.out.println(sb);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuffer sb = new StringBuffer();\n\t\tsb.append(scan.nextLine());\n\t\tsb.reverse();\n\t\tSystem.out.println(sb);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuffer sb = new StringBuffer();\n\t\tsb.append(scan.nextLine());\n\t\tsb.reverse();\n\t\tSystem.out.println(sb);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"StringBuffer sb = new StringBuffer();",
"sb",
"new StringBuffer()",
"sb.append(scan.nextLine())",
"sb.append",
"sb",
"scan.nextLine()",
"scan.nextLine",
"scan",
"sb.reverse()",
"sb.reverse",
"sb",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
StringBuffer sb = new StringBuffer();
sb.append(scan.nextLine());
sb.reverse();
System.out.println(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
4,
18,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
2,
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
],
[
58,
11
],
[
58,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
26,
33
],
[
33,
34
],
[
33,
35
],
[
26,
36
],
[
36,
37
],
[
37,
38
],
[
26,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
14,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
12,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"\nimport 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\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString re =\"\";\n\t\tfor(int i = line.length() ; i > 0;i--){\n\t\t\tre += line.charAt(i-1);\n\t\t}\n\t\tSystem.out.println(re);\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\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString re =\"\";\n\t\tfor(int i = line.length() ; i > 0;i--){\n\t\t\tre += line.charAt(i-1);\n\t\t}\n\t\tSystem.out.println(re);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString re =\"\";\n\t\tfor(int i = line.length() ; i > 0;i--){\n\t\t\tre += line.charAt(i-1);\n\t\t}\n\t\tSystem.out.println(re);\n\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString re =\"\";\n\t\tfor(int i = line.length() ; i > 0;i--){\n\t\t\tre += line.charAt(i-1);\n\t\t}\n\t\tSystem.out.println(re);\n\n\t}",
"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",
"String re =\"\";",
"re",
"\"\"",
"for(int i = line.length() ; i > 0;i--){\n\t\t\tre += line.charAt(i-1);\n\t\t}",
"int i = line.length() ;",
"int i = line.length() ;",
"i",
"line.length()",
"line.length",
"line",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tre += line.charAt(i-1);\n\t\t}",
"{\n\t\t\tre += line.charAt(i-1);\n\t\t}",
"re += line.charAt(i-1)",
"re",
"line.charAt(i-1)",
"line.charAt",
"line",
"i-1",
"i",
"1",
"System.out.println(re)",
"System.out.println",
"System.out",
"System",
"System.out",
"re",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString re =\"\";\n\t\tfor(int i = line.length() ; i > 0;i--){\n\t\t\tre += line.charAt(i-1);\n\t\t}\n\t\tSystem.out.println(re);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString re =\"\";\n\t\tfor(int i = line.length() ; i > 0;i--){\n\t\t\tre += line.charAt(i-1);\n\t\t}\n\t\tSystem.out.println(re);\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 {
// TODO Auto-generated method stub
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
String re ="";
for(int i = line.length() ; i > 0;i--){
re += line.charAt(i-1);
}
System.out.println(re);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
2,
2,
4,
18,
13,
13,
17,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
65,
11
],
[
65,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
26,
36
],
[
36,
37
],
[
37,
38
],
[
26,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
47,
51
],
[
47,
52
],
[
40,
53
],
[
53,
54
],
[
53,
55
],
[
14,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
12,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str = br.readLine();\n\t\tString ret = \"\";\n\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\tchar ch = str.charAt(str.length() - i - 1);\n\t\t\tret += ch;\n\t\t}\n\t\tSystem.out.println(ret);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str = br.readLine();\n\t\tString ret = \"\";\n\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\tchar ch = str.charAt(str.length() - i - 1);\n\t\t\tret += ch;\n\t\t}\n\t\tSystem.out.println(ret);\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\t\n\t\tString str = br.readLine();\n\t\tString ret = \"\";\n\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\tchar ch = str.charAt(str.length() - i - 1);\n\t\t\tret += ch;\n\t\t}\n\t\tSystem.out.println(ret);\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str = br.readLine();\n\t\tString ret = \"\";\n\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\tchar ch = str.charAt(str.length() - i - 1);\n\t\t\tret += ch;\n\t\t}\n\t\tSystem.out.println(ret);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String ret = \"\";",
"ret",
"\"\"",
"for (int i = 0; i < str.length(); i++) {\n\t\t\tchar ch = str.charAt(str.length() - i - 1);\n\t\t\tret += ch;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str.length()",
"i",
"str.length()",
"str.length",
"str",
"i++",
"i++",
"i",
"{\n\t\t\tchar ch = str.charAt(str.length() - i - 1);\n\t\t\tret += ch;\n\t\t}",
"{\n\t\t\tchar ch = str.charAt(str.length() - i - 1);\n\t\t\tret += ch;\n\t\t}",
"char ch = str.charAt(str.length() - i - 1);",
"ch",
"str.charAt(str.length() - i - 1)",
"str.charAt",
"str",
"str.length() - i - 1",
"str.length() - i - 1",
"str.length()",
"str.length",
"str",
"i",
"1",
"ret += ch",
"ret",
"ch",
"System.out.println(ret)",
"System.out.println",
"System.out",
"System",
"System.out",
"ret",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str = br.readLine();\n\t\tString ret = \"\";\n\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\tchar ch = str.charAt(str.length() - i - 1);\n\t\t\tret += ch;\n\t\t}\n\t\tSystem.out.println(ret);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str = br.readLine();\n\t\tString ret = \"\";\n\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\tchar ch = str.charAt(str.length() - i - 1);\n\t\t\tret += ch;\n\t\t}\n\t\tSystem.out.println(ret);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String ret = "";
for (int i = 0; i < str.length(); i++) {
char ch = str.charAt(str.length() - i - 1);
ret += ch;
}
System.out.println(ret);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
2,
4,
18,
13,
17,
2,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
30,
4,
18,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
12,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
19,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
30,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
35,
39
],
[
28,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
40,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
46,
55
],
[
55,
56
],
[
55,
57
],
[
46,
58
],
[
58,
59
],
[
59,
60
],
[
46,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
28,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
19,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
19,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
9,
86
],
[
86,
87
]
] | [
"import java.util.*;\nimport java.io.*;\n\nclass Main{\n public static void main (String args[]) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line = br.readLine();\n\t\t\t\n\t\t\tif (line.length() <= 20 && line.length() > 0) {\n\t\t\t\tchar[] str = line.toCharArray();\n\t\t\t\tfor (int i = str.length-1; i >= 0; i--) {\n\t\t\t\t\tSystem.out.print(str[i]);\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\t\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main (String args[]) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line = br.readLine();\n\t\t\t\n\t\t\tif (line.length() <= 20 && line.length() > 0) {\n\t\t\t\tchar[] str = line.toCharArray();\n\t\t\t\tfor (int i = str.length-1; i >= 0; i--) {\n\t\t\t\t\tSystem.out.print(str[i]);\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\t\n }\n}",
"Main",
"public static void main (String args[]) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line = br.readLine();\n\t\t\t\n\t\t\tif (line.length() <= 20 && line.length() > 0) {\n\t\t\t\tchar[] str = line.toCharArray();\n\t\t\t\tfor (int i = str.length-1; i >= 0; i--) {\n\t\t\t\t\tSystem.out.print(str[i]);\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\t\n }",
"main",
"{\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line = br.readLine();\n\t\t\t\n\t\t\tif (line.length() <= 20 && line.length() > 0) {\n\t\t\t\tchar[] str = line.toCharArray();\n\t\t\t\tfor (int i = str.length-1; i >= 0; i--) {\n\t\t\t\t\tSystem.out.print(str[i]);\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\t\n }",
"try {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line = br.readLine();\n\t\t\t\n\t\t\tif (line.length() <= 20 && line.length() > 0) {\n\t\t\t\tchar[] str = line.toCharArray();\n\t\t\t\tfor (int i = str.length-1; i >= 0; i--) {\n\t\t\t\t\tSystem.out.print(str[i]);\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t\tcatch (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 br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line = br.readLine();\n\t\t\t\n\t\t\tif (line.length() <= 20 && line.length() > 0) {\n\t\t\t\tchar[] str = line.toCharArray();\n\t\t\t\tfor (int i = str.length-1; i >= 0; i--) {\n\t\t\t\t\tSystem.out.print(str[i]);\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tSystem.exit(0);\n\t\t}",
"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",
"if (line.length() <= 20 && line.length() > 0) {\n\t\t\t\tchar[] str = line.toCharArray();\n\t\t\t\tfor (int i = str.length-1; i >= 0; i--) {\n\t\t\t\t\tSystem.out.print(str[i]);\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tSystem.exit(0);\n\t\t\t}",
"line.length() <= 20 && line.length() > 0",
"line.length() <= 20",
"line.length()",
"line.length",
"line",
"20",
"line.length() > 0",
"line.length()",
"line.length",
"line",
"0",
"{\n\t\t\t\tchar[] str = line.toCharArray();\n\t\t\t\tfor (int i = str.length-1; i >= 0; i--) {\n\t\t\t\t\tSystem.out.print(str[i]);\n\t\t\t\t}\n\t\t\t}",
"char[] str = line.toCharArray();",
"str",
"line.toCharArray()",
"line.toCharArray",
"line",
"for (int i = str.length-1; i >= 0; i--) {\n\t\t\t\t\tSystem.out.print(str[i]);\n\t\t\t\t}",
"int i = str.length-1;",
"int i = str.length-1;",
"i",
"str.length-1",
"str.length",
"str",
"str.length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\t\t\tSystem.out.print(str[i]);\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(str[i]);\n\t\t\t\t}",
"System.out.print(str[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"str[i]",
"str",
"i",
"{\n\t\t\t\tSystem.exit(0);\n\t\t\t}",
"System.exit(0)",
"System.exit",
"System",
"0",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"System.exit(0)",
"System.exit",
"System",
"0",
"String args[]",
"args"
] | import java.util.*;
import java.io.*;
class Main{
public static void main (String args[]) {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
if (line.length() <= 20 && line.length() > 0) {
char[] str = line.toCharArray();
for (int i = str.length-1; i >= 0; i--) {
System.out.print(str[i]);
}
}else{
System.exit(0);
}
System.out.println("");
System.exit(0);
}
catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
37,
5
],
[
37,
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
],
[
16,
25
],
[
25,
26
],
[
26,
27
],
[
16,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
6,
34
],
[
34,
35
],
[
0,
36
],
[
36,
37
],
[
36,
38
]
] | [
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in); \n\t\twhile(sc.hasNext()){\n\t\tString a = sc.nextLine();\n\t\t\tStringBuffer sb = new StringBuffer(a);\n\t\t\tsb.reverse();\n\t\t\tSystem.out.println(sb);\n\t\t\t\n\t\t}\n\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\twhile(sc.hasNext()){\n\t\tString a = sc.nextLine();\n\t\t\tStringBuffer sb = new StringBuffer(a);\n\t\t\tsb.reverse();\n\t\t\tSystem.out.println(sb);\n\t\t\t\n\t\t}\n\t}\n\t\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in); \n\t\twhile(sc.hasNext()){\n\t\tString a = sc.nextLine();\n\t\t\tStringBuffer sb = new StringBuffer(a);\n\t\t\tsb.reverse();\n\t\t\tSystem.out.println(sb);\n\t\t\t\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in); \n\t\twhile(sc.hasNext()){\n\t\tString a = sc.nextLine();\n\t\t\tStringBuffer sb = new StringBuffer(a);\n\t\t\tsb.reverse();\n\t\t\tSystem.out.println(sb);\n\t\t\t\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()){\n\t\tString a = sc.nextLine();\n\t\t\tStringBuffer sb = new StringBuffer(a);\n\t\t\tsb.reverse();\n\t\t\tSystem.out.println(sb);\n\t\t\t\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\tString a = sc.nextLine();\n\t\t\tStringBuffer sb = new StringBuffer(a);\n\t\t\tsb.reverse();\n\t\t\tSystem.out.println(sb);\n\t\t\t\n\t\t}",
"String a = sc.nextLine();",
"a",
"sc.nextLine()",
"sc.nextLine",
"sc",
"StringBuffer sb = new StringBuffer(a);",
"sb",
"new StringBuffer(a)",
"sb.reverse()",
"sb.reverse",
"sb",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String args[]",
"args",
"public class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in); \n\t\twhile(sc.hasNext()){\n\t\tString a = sc.nextLine();\n\t\t\tStringBuffer sb = new StringBuffer(a);\n\t\t\tsb.reverse();\n\t\t\tSystem.out.println(sb);\n\t\t\t\n\t\t}\n\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(sc.hasNext()){\n\t\tString a = sc.nextLine();\n\t\t\tStringBuffer sb = new StringBuffer(a);\n\t\t\tsb.reverse();\n\t\t\tSystem.out.println(sb);\n\t\t\t\n\t\t}\n\t}\n\t\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
String a = sc.nextLine();
StringBuffer sb = new StringBuffer(a);
sb.reverse();
System.out.println(sb);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
28,
5
],
[
28,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
6,
25
],
[
25,
26
],
[
0,
27
],
[
27,
28
],
[
27,
29
]
] | [
"import java.io.*;\npublic class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer(r.readLine());\n\t\tSystem.out.println(sb.reverse().toString());\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer(r.readLine());\n\t\tSystem.out.println(sb.reverse().toString());\n\t}\n}",
"Main",
"public static void main(String args[]) throws IOException {\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer(r.readLine());\n\t\tSystem.out.println(sb.reverse().toString());\n\t}",
"main",
"{\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer(r.readLine());\n\t\tSystem.out.println(sb.reverse().toString());\n\t}",
"BufferedReader r = new BufferedReader(new InputStreamReader(System.in));",
"r",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuffer sb = new StringBuffer(r.readLine());",
"sb",
"new StringBuffer(r.readLine())",
"System.out.println(sb.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer(r.readLine());\n\t\tSystem.out.println(sb.reverse().toString());\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer(r.readLine());\n\t\tSystem.out.println(sb.reverse().toString());\n\t}\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
StringBuffer sb = new StringBuffer(r.readLine());
System.out.println(sb.reverse().toString());
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
4,
13,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
24,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
20,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
11,
44
],
[
44,
45
],
[
44,
46
],
[
4,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
47,
53
],
[
53,
54
],
[
4,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
55,
64
],
[
64,
65
],
[
4,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
66,
75
],
[
75,
76
],
[
4,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
]
] | [
"\nimport java.util.Scanner;\n\nclass Main {\n\tScanner sc = new Scanner(System.in);\n\n\tpublic void run() {\n\t\tString str=sc.next();\n\t\tStringBuilder s=new StringBuilder();\n\t\tfor(int i=str.length()-1;i>=0;i--){\n\t\t\ts.append(str.charAt(i));\n\t\t}\n\t\tln(s);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n\tpublic static void pr(Object o) {\n\t\tSystem.out.print(o);\n\t}\n\n\tpublic static void ln(Object o) {\n\t\tSystem.out.println(o);\n\t}\n\n\tpublic static void ln() {\n\t\tSystem.out.println();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tScanner sc = new Scanner(System.in);\n\n\tpublic void run() {\n\t\tString str=sc.next();\n\t\tStringBuilder s=new StringBuilder();\n\t\tfor(int i=str.length()-1;i>=0;i--){\n\t\t\ts.append(str.charAt(i));\n\t\t}\n\t\tln(s);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n\tpublic static void pr(Object o) {\n\t\tSystem.out.print(o);\n\t}\n\n\tpublic static void ln(Object o) {\n\t\tSystem.out.println(o);\n\t}\n\n\tpublic static void ln() {\n\t\tSystem.out.println();\n\t}\n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public void run() {\n\t\tString str=sc.next();\n\t\tStringBuilder s=new StringBuilder();\n\t\tfor(int i=str.length()-1;i>=0;i--){\n\t\t\ts.append(str.charAt(i));\n\t\t}\n\t\tln(s);\n\t}",
"run",
"{\n\t\tString str=sc.next();\n\t\tStringBuilder s=new StringBuilder();\n\t\tfor(int i=str.length()-1;i>=0;i--){\n\t\t\ts.append(str.charAt(i));\n\t\t}\n\t\tln(s);\n\t}",
"String str=sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"StringBuilder s=new StringBuilder();",
"s",
"new StringBuilder()",
"for(int i=str.length()-1;i>=0;i--){\n\t\t\ts.append(str.charAt(i));\n\t\t}",
"int i=str.length()-1;",
"int i=str.length()-1;",
"i",
"str.length()-1",
"str.length()",
"str.length",
"str",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\ts.append(str.charAt(i));\n\t\t}",
"{\n\t\t\ts.append(str.charAt(i));\n\t\t}",
"s.append(str.charAt(i))",
"s.append",
"s",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"ln(s)",
"ln",
"s",
"public static void main(String[] args) {\n\t\tnew Main().run();\n\t}",
"main",
"{\n\t\tnew Main().run();\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public static void pr(Object o) {\n\t\tSystem.out.print(o);\n\t}",
"pr",
"{\n\t\tSystem.out.print(o);\n\t}",
"System.out.print(o)",
"System.out.print",
"System.out",
"System",
"System.out",
"o",
"Object o",
"o",
"public static void ln(Object o) {\n\t\tSystem.out.println(o);\n\t}",
"ln",
"{\n\t\tSystem.out.println(o);\n\t}",
"System.out.println(o)",
"System.out.println",
"System.out",
"System",
"System.out",
"o",
"Object o",
"o",
"public static void ln() {\n\t\tSystem.out.println();\n\t}",
"ln",
"{\n\t\tSystem.out.println();\n\t}",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out"
] |
import java.util.Scanner;
class Main {
Scanner sc = new Scanner(System.in);
public void run() {
String str=sc.next();
StringBuilder s=new StringBuilder();
for(int i=str.length()-1;i>=0;i--){
s.append(str.charAt(i));
}
ln(s);
}
public static void main(String[] args) {
new Main().run();
}
public static void pr(Object o) {
System.out.print(o);
}
public static void ln(Object o) {
System.out.println(o);
}
public static void ln() {
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
4,
18,
13,
4,
18,
18,
13,
13,
13,
4,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
30,
4,
18,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
6
],
[
6,
7
],
[
6,
8
],
[
47,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
11,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
11,
24
],
[
24,
25
],
[
9,
26
],
[
26,
27
],
[
47,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
47,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tStringBuilder text = new StringBuilder(input());\n\t\ttext.reverse();\n\t\tSystem.out.println(text);\n\n\t\tclose();\n\n\t}\n\n\tpublic static String input() {\n\n\t\treturn scanner.nextLine();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tStringBuilder text = new StringBuilder(input());\n\t\ttext.reverse();\n\t\tSystem.out.println(text);\n\n\t\tclose();\n\n\t}\n\n\tpublic static String input() {\n\n\t\treturn scanner.nextLine();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"Main",
"public static Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\n\t\tStringBuilder text = new StringBuilder(input());\n\t\ttext.reverse();\n\t\tSystem.out.println(text);\n\n\t\tclose();\n\n\t}",
"main",
"{\n\n\t\tStringBuilder text = new StringBuilder(input());\n\t\ttext.reverse();\n\t\tSystem.out.println(text);\n\n\t\tclose();\n\n\t}",
"StringBuilder text = new StringBuilder(input());",
"text",
"new StringBuilder(input())",
"text.reverse()",
"text.reverse",
"text",
"System.out.println(text)",
"System.out.println",
"System.out",
"System",
"System.out",
"text",
"close()",
"close",
"String[] args",
"args",
"public static String input() {\n\n\t\treturn scanner.nextLine();\n\n\t}",
"input",
"{\n\n\t\treturn scanner.nextLine();\n\n\t}",
"return scanner.nextLine();",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"public static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}",
"close",
"{\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}",
"if (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}",
"scanner != null",
"scanner",
"null",
"{\n\n\t\t\tscanner.close();\n\n\t\t}",
"scanner.close()",
"scanner.close",
"scanner",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tStringBuilder text = new StringBuilder(input());\n\t\ttext.reverse();\n\t\tSystem.out.println(text);\n\n\t\tclose();\n\n\t}\n\n\tpublic static String input() {\n\n\t\treturn scanner.nextLine();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tStringBuilder text = new StringBuilder(input());\n\t\ttext.reverse();\n\t\tSystem.out.println(text);\n\n\t\tclose();\n\n\t}\n\n\tpublic static String input() {\n\n\t\treturn scanner.nextLine();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static Scanner scanner = new Scanner(System.in);
public static void main(String[] args) {
StringBuilder text = new StringBuilder(input());
text.reverse();
System.out.println(text);
close();
}
public static String input() {
return scanner.nextLine();
}
public static void close() {
if (scanner != null) {
scanner.close();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString n = scanner.next();\n\n\t\tStringBuffer sb = new StringBuffer(n);\n\t\tString dst = sb.reverse().toString();\n\t\tSystem.out.println(dst);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString n = scanner.next();\n\n\t\tStringBuffer sb = new StringBuffer(n);\n\t\tString dst = sb.reverse().toString();\n\t\tSystem.out.println(dst);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString n = scanner.next();\n\n\t\tStringBuffer sb = new StringBuffer(n);\n\t\tString dst = sb.reverse().toString();\n\t\tSystem.out.println(dst);\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString n = scanner.next();\n\n\t\tStringBuffer sb = new StringBuffer(n);\n\t\tString dst = sb.reverse().toString();\n\t\tSystem.out.println(dst);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String n = scanner.next();",
"n",
"scanner.next()",
"scanner.next",
"scanner",
"StringBuffer sb = new StringBuffer(n);",
"sb",
"new StringBuffer(n)",
"String dst = sb.reverse().toString();",
"dst",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"System.out.println(dst)",
"System.out.println",
"System.out",
"System",
"System.out",
"dst",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString n = scanner.next();\n\n\t\tStringBuffer sb = new StringBuffer(n);\n\t\tString dst = sb.reverse().toString();\n\t\tSystem.out.println(dst);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString n = scanner.next();\n\n\t\tStringBuffer sb = new StringBuffer(n);\n\t\tString dst = sb.reverse().toString();\n\t\tSystem.out.println(dst);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String n = scanner.next();
StringBuffer sb = new StringBuffer(n);
String dst = sb.reverse().toString();
System.out.println(dst);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
52,
5
],
[
52,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
19,
28
],
[
28,
29
],
[
28,
30
],
[
19,
31
],
[
31,
32
],
[
32,
33
],
[
19,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tchar[] mozi = scan.next().toCharArray();\n\t\tfor(int i=mozi.length-1;i>=0;i--){\n\t\t\tSystem.out.print(mozi[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tchar[] mozi = scan.next().toCharArray();\n\t\tfor(int i=mozi.length-1;i>=0;i--){\n\t\t\tSystem.out.print(mozi[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"Main",
"/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tchar[] mozi = scan.next().toCharArray();\n\t\tfor(int i=mozi.length-1;i>=0;i--){\n\t\t\tSystem.out.print(mozi[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tchar[] mozi = scan.next().toCharArray();\n\t\tfor(int i=mozi.length-1;i>=0;i--){\n\t\t\tSystem.out.print(mozi[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"char[] mozi = scan.next().toCharArray();",
"mozi",
"scan.next().toCharArray()",
"scan.next().toCharArray",
"scan.next()",
"scan.next",
"scan",
"for(int i=mozi.length-1;i>=0;i--){\n\t\t\tSystem.out.print(mozi[i]);\n\t\t}",
"int i=mozi.length-1;",
"int i=mozi.length-1;",
"i",
"mozi.length-1",
"mozi.length",
"mozi",
"mozi.length",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(mozi[i]);\n\t\t}",
"{\n\t\t\tSystem.out.print(mozi[i]);\n\t\t}",
"System.out.print(mozi[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"mozi[i]",
"mozi",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tchar[] mozi = scan.next().toCharArray();\n\t\tfor(int i=mozi.length-1;i>=0;i--){\n\t\t\tSystem.out.print(mozi[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tchar[] mozi = scan.next().toCharArray();\n\t\tfor(int i=mozi.length-1;i>=0;i--){\n\t\t\tSystem.out.print(mozi[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner scan = new Scanner(System.in);
char[] mozi = scan.next().toCharArray();
for(int i=mozi.length-1;i>=0;i--){
System.out.print(mozi[i]);
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
4,
18,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
2,
13,
17,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
53,
5
],
[
53,
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
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
20,
30
],
[
30,
31
],
[
31,
32
],
[
20,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
37,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
6,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] | [
"import java.util.Scanner;\n\n\npublic class Main \n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tString in = scanner.next();\n\t\tString out = \"\";\n\t\t\n\t\tfor(int i=in.length(); i>0; i--)\n\t\t{\n\t\t\tout += in.substring(i-1, i);\n\t\t}\n\t\tSystem.out.println(out);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main \n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tString in = scanner.next();\n\t\tString out = \"\";\n\t\t\n\t\tfor(int i=in.length(); i>0; i--)\n\t\t{\n\t\t\tout += in.substring(i-1, i);\n\t\t}\n\t\tSystem.out.println(out);\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tString in = scanner.next();\n\t\tString out = \"\";\n\t\t\n\t\tfor(int i=in.length(); i>0; i--)\n\t\t{\n\t\t\tout += in.substring(i-1, i);\n\t\t}\n\t\tSystem.out.println(out);\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tString in = scanner.next();\n\t\tString out = \"\";\n\t\t\n\t\tfor(int i=in.length(); i>0; i--)\n\t\t{\n\t\t\tout += in.substring(i-1, i);\n\t\t}\n\t\tSystem.out.println(out);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String in = scanner.next();",
"in",
"scanner.next()",
"scanner.next",
"scanner",
"String out = \"\";",
"out",
"\"\"",
"for(int i=in.length(); i>0; i--)\n\t\t{\n\t\t\tout += in.substring(i-1, i);\n\t\t}",
"int i=in.length();",
"int i=in.length();",
"i",
"in.length()",
"in.length",
"in",
"i>0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tout += in.substring(i-1, i);\n\t\t}",
"{\n\t\t\tout += in.substring(i-1, i);\n\t\t}",
"out += in.substring(i-1, i)",
"out",
"in.substring(i-1, i)",
"in.substring",
"in",
"i-1",
"i",
"1",
"i",
"System.out.println(out)",
"System.out.println",
"System.out",
"System",
"System.out",
"out",
"String[] args",
"args",
"public class Main \n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tString in = scanner.next();\n\t\tString out = \"\";\n\t\t\n\t\tfor(int i=in.length(); i>0; i--)\n\t\t{\n\t\t\tout += in.substring(i-1, i);\n\t\t}\n\t\tSystem.out.println(out);\n\t}\n}",
"public class Main \n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tString in = scanner.next();\n\t\tString out = \"\";\n\t\t\n\t\tfor(int i=in.length(); i>0; i--)\n\t\t{\n\t\t\tout += in.substring(i-1, i);\n\t\t}\n\t\tSystem.out.println(out);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner scanner = new Scanner(System.in);
String in = scanner.next();
String out = "";
for(int i=in.length(); i>0; i--)
{
out += in.substring(i-1, i);
}
System.out.println(out);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
4,
18,
13,
2,
2,
13,
17,
17,
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
],
[
76,
11
],
[
76,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
20,
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
],
[
27,
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
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
57,
66
],
[
27,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
12,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String input;\n try {\n input = reader.readLine();\n int n = Integer.parseInt(input);\n int money = 100000;\n for(int i=0; i<n; i++){\n money = (int)Math.ceil((money * 1.05)/1000)*1000;\n }\n System.out.println(money);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String input;\n try {\n input = reader.readLine();\n int n = Integer.parseInt(input);\n int money = 100000;\n for(int i=0; i<n; i++){\n money = (int)Math.ceil((money * 1.05)/1000)*1000;\n }\n System.out.println(money);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String input;\n try {\n input = reader.readLine();\n int n = Integer.parseInt(input);\n int money = 100000;\n for(int i=0; i<n; i++){\n money = (int)Math.ceil((money * 1.05)/1000)*1000;\n }\n System.out.println(money);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String input;\n try {\n input = reader.readLine();\n int n = Integer.parseInt(input);\n int money = 100000;\n for(int i=0; i<n; i++){\n money = (int)Math.ceil((money * 1.05)/1000)*1000;\n }\n System.out.println(money);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String input;",
"input",
"try {\n input = reader.readLine();\n int n = Integer.parseInt(input);\n int money = 100000;\n for(int i=0; i<n; i++){\n money = (int)Math.ceil((money * 1.05)/1000)*1000;\n }\n System.out.println(money);\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n input = reader.readLine();\n int n = Integer.parseInt(input);\n int money = 100000;\n for(int i=0; i<n; i++){\n money = (int)Math.ceil((money * 1.05)/1000)*1000;\n }\n System.out.println(money);\n }",
"input = reader.readLine()",
"input",
"reader.readLine()",
"reader.readLine",
"reader",
"int n = Integer.parseInt(input);",
"n",
"Integer.parseInt(input)",
"Integer.parseInt",
"Integer",
"input",
"int money = 100000;",
"money",
"100000",
"for(int i=0; i<n; i++){\n money = (int)Math.ceil((money * 1.05)/1000)*1000;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n money = (int)Math.ceil((money * 1.05)/1000)*1000;\n }",
"{\n money = (int)Math.ceil((money * 1.05)/1000)*1000;\n }",
"money = (int)Math.ceil((money * 1.05)/1000)*1000",
"money",
"(int)Math.ceil((money * 1.05)/1000)*1000",
"(int)Math.ceil((money * 1.05)/1000)",
"Math.ceil",
"Math",
"(money * 1.05)/1000",
"(money * 1.05)",
"money",
"1.05",
"1000",
"1000",
"System.out.println(money)",
"System.out.println",
"System.out",
"System",
"System.out",
"money",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String input;\n try {\n input = reader.readLine();\n int n = Integer.parseInt(input);\n int money = 100000;\n for(int i=0; i<n; i++){\n money = (int)Math.ceil((money * 1.05)/1000)*1000;\n }\n System.out.println(money);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String input;\n try {\n input = reader.readLine();\n int n = Integer.parseInt(input);\n int money = 100000;\n for(int i=0; i<n; i++){\n money = (int)Math.ceil((money * 1.05)/1000)*1000;\n }\n System.out.println(money);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String input;
try {
input = reader.readLine();
int n = Integer.parseInt(input);
int money = 100000;
for(int i=0; i<n; i++){
money = (int)Math.ceil((money * 1.05)/1000)*1000;
}
System.out.println(money);
} 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,
4,
18,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
17,
0,
13,
17,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
64,
11
],
[
64,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
14,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
37,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
33,
47
],
[
47,
48
],
[
47,
49
],
[
33,
50
],
[
50,
51
],
[
50,
52
],
[
33,
53
],
[
53,
54
],
[
14,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
12,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] | [
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\npublic class Main{\n\tpublic static void main (String[] args) throws java.lang.Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t int n = Integer.parseInt(br.readLine());\n\t long money = 100000;\n\t while(n!=0){\n\t money *= 1.05;\n\t if(money%1000>0){\n\t \tmoney+=1000;\n\t }\n\t money /= 1000;\n\t money *= 1000;\n\t --n;\n\t }\n System.out.println(money);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main (String[] args) throws java.lang.Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t int n = Integer.parseInt(br.readLine());\n\t long money = 100000;\n\t while(n!=0){\n\t money *= 1.05;\n\t if(money%1000>0){\n\t \tmoney+=1000;\n\t }\n\t money /= 1000;\n\t money *= 1000;\n\t --n;\n\t }\n System.out.println(money);\n\t}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t int n = Integer.parseInt(br.readLine());\n\t long money = 100000;\n\t while(n!=0){\n\t money *= 1.05;\n\t if(money%1000>0){\n\t \tmoney+=1000;\n\t }\n\t money /= 1000;\n\t money *= 1000;\n\t --n;\n\t }\n System.out.println(money);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t int n = Integer.parseInt(br.readLine());\n\t long money = 100000;\n\t while(n!=0){\n\t money *= 1.05;\n\t if(money%1000>0){\n\t \tmoney+=1000;\n\t }\n\t money /= 1000;\n\t money *= 1000;\n\t --n;\n\t }\n System.out.println(money);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int n = Integer.parseInt(br.readLine());",
"n",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"long money = 100000;",
"money",
"100000",
"while(n!=0){\n\t money *= 1.05;\n\t if(money%1000>0){\n\t \tmoney+=1000;\n\t }\n\t money /= 1000;\n\t money *= 1000;\n\t --n;\n\t }",
"n!=0",
"n",
"0",
"{\n\t money *= 1.05;\n\t if(money%1000>0){\n\t \tmoney+=1000;\n\t }\n\t money /= 1000;\n\t money *= 1000;\n\t --n;\n\t }",
"money *= 1.05",
"money",
"1.05",
"if(money%1000>0){\n\t \tmoney+=1000;\n\t }",
"money%1000>0",
"money%1000",
"money",
"1000",
"0",
"{\n\t \tmoney+=1000;\n\t }",
"money+=1000",
"money",
"1000",
"money /= 1000",
"money",
"1000",
"money *= 1000",
"money",
"1000",
"--n",
"n",
"System.out.println(money)",
"System.out.println",
"System.out",
"System",
"System.out",
"money",
"String[] args",
"args",
"public class Main{\n\tpublic static void main (String[] args) throws java.lang.Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t int n = Integer.parseInt(br.readLine());\n\t long money = 100000;\n\t while(n!=0){\n\t money *= 1.05;\n\t if(money%1000>0){\n\t \tmoney+=1000;\n\t }\n\t money /= 1000;\n\t money *= 1000;\n\t --n;\n\t }\n System.out.println(money);\n\t}\n}",
"public class Main{\n\tpublic static void main (String[] args) throws java.lang.Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t int n = Integer.parseInt(br.readLine());\n\t long money = 100000;\n\t while(n!=0){\n\t money *= 1.05;\n\t if(money%1000>0){\n\t \tmoney+=1000;\n\t }\n\t money /= 1000;\n\t money *= 1000;\n\t --n;\n\t }\n System.out.println(money);\n\t}\n}",
"Main"
] | import java.util.*;
import java.lang.*;
import java.io.*;
public class Main{
public static void main (String[] args) throws java.lang.Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(br.readLine());
long money = 100000;
while(n!=0){
money *= 1.05;
if(money%1000>0){
money+=1000;
}
money /= 1000;
money *= 1000;
--n;
}
System.out.println(money);
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.