node_ids
listlengths 4
1.4k
| edge_index
listlengths 1
2.22k
| text
listlengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
2,
2,
17,
17,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
4,
18,
13,
28,
13,
13,
30,
30,
14,
4,
18,
13,
13,
30,
40,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
2,
17,
13,
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
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
24,
34
],
[
34,
35
],
[
34,
36
],
[
34,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
39,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
51,
61
],
[
61,
62
],
[
62,
63
],
[
51,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
66,
72
],
[
72,
73
],
[
72,
74
],
[
66,
75
],
[
75,
76
],
[
75,
77
],
[
6,
78
],
[
78,
79
]
]
| [
"import java.util.Scanner;\nclass Main {\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n int[] num = new int['z' - 'a' + 1];\n while (scan.hasNext()) {\n char[] chars = scan.next().toLowerCase().toCharArray();\n for (char ch : chars) {\n if (Character.isLetter(ch)) {\n num[ch - 'a']++;\n }\n }\n }\n for (int i = 0; i < num.length; i++) {\n System.out.printf(\"%c : %d\\n\", (char)('a' + i), num[i]);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n int[] num = new int['z' - 'a' + 1];\n while (scan.hasNext()) {\n char[] chars = scan.next().toLowerCase().toCharArray();\n for (char ch : chars) {\n if (Character.isLetter(ch)) {\n num[ch - 'a']++;\n }\n }\n }\n for (int i = 0; i < num.length; i++) {\n System.out.printf(\"%c : %d\\n\", (char)('a' + i), num[i]);\n }\n }\n}",
"Main",
"public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n int[] num = new int['z' - 'a' + 1];\n while (scan.hasNext()) {\n char[] chars = scan.next().toLowerCase().toCharArray();\n for (char ch : chars) {\n if (Character.isLetter(ch)) {\n num[ch - 'a']++;\n }\n }\n }\n for (int i = 0; i < num.length; i++) {\n System.out.printf(\"%c : %d\\n\", (char)('a' + i), num[i]);\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int[] num = new int['z' - 'a' + 1];\n while (scan.hasNext()) {\n char[] chars = scan.next().toLowerCase().toCharArray();\n for (char ch : chars) {\n if (Character.isLetter(ch)) {\n num[ch - 'a']++;\n }\n }\n }\n for (int i = 0; i < num.length; i++) {\n System.out.printf(\"%c : %d\\n\", (char)('a' + i), num[i]);\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] num = new int['z' - 'a' + 1];",
"num",
"new int['z' - 'a' + 1]",
"'z' - 'a' + 1",
"'z' - 'a'",
"'z'",
"'a'",
"1",
"while (scan.hasNext()) {\n char[] chars = scan.next().toLowerCase().toCharArray();\n for (char ch : chars) {\n if (Character.isLetter(ch)) {\n num[ch - 'a']++;\n }\n }\n }",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n char[] chars = scan.next().toLowerCase().toCharArray();\n for (char ch : chars) {\n if (Character.isLetter(ch)) {\n num[ch - 'a']++;\n }\n }\n }",
"char[] chars = scan.next().toLowerCase().toCharArray();",
"chars",
"scan.next().toLowerCase().toCharArray()",
"scan.next().toLowerCase().toCharArray",
"scan.next().toLowerCase()",
"scan.next().toLowerCase",
"scan.next()",
"scan.next",
"scan",
"for (char ch : chars) {\n if (Character.isLetter(ch)) {\n num[ch - 'a']++;\n }\n }",
"char ch",
"chars",
"{\n if (Character.isLetter(ch)) {\n num[ch - 'a']++;\n }\n }",
"{\n if (Character.isLetter(ch)) {\n num[ch - 'a']++;\n }\n }",
"if (Character.isLetter(ch)) {\n num[ch - 'a']++;\n }",
"Character.isLetter(ch)",
"Character.isLetter",
"Character",
"ch",
"{\n num[ch - 'a']++;\n }",
"num[ch - 'a']++",
"num[ch - 'a']",
"num",
"ch - 'a'",
"ch",
"'a'",
"for (int i = 0; i < num.length; i++) {\n System.out.printf(\"%c : %d\\n\", (char)('a' + i), num[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < num.length",
"i",
"num.length",
"num",
"num.length",
"i++",
"i++",
"i",
"{\n System.out.printf(\"%c : %d\\n\", (char)('a' + i), num[i]);\n }",
"{\n System.out.printf(\"%c : %d\\n\", (char)('a' + i), num[i]);\n }",
"System.out.printf(\"%c : %d\\n\", (char)('a' + i), num[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%c : %d\\n\"",
"(char)('a' + i)",
"'a'",
"i",
"num[i]",
"num",
"i",
"String args[]",
"args"
]
| import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
int[] num = new int['z' - 'a' + 1];
while (scan.hasNext()) {
char[] chars = scan.next().toLowerCase().toCharArray();
for (char ch : chars) {
if (Character.isLetter(ch)) {
num[ch - 'a']++;
}
}
}
for (int i = 0; i < num.length; i++) {
System.out.printf("%c : %d\n", (char)('a' + i), num[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
4,
18,
13,
13,
17,
14,
2,
13,
17,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
17,
2,
13,
17,
18,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
32,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
50,
55
],
[
49,
56
],
[
46,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
14,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
65,
75
],
[
75,
76
],
[
76,
77
],
[
65,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
85,
89
],
[
89,
90
],
[
89,
91
],
[
85,
92
],
[
92,
93
],
[
92,
94
],
[
12,
95
],
[
95,
96
]
]
| [
"import java.util.*;\nimport java.lang.*;\nimport java.awt.*;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint[] t = new int[26];\n\t\t\n\t\twhile (sc.hasNext()) {\n\t\t\tString s = sc.nextLine();\n\t\t\tfor (int i = 0; i<s.length(); i++){\n\t\t\t\tint countval = s.toLowerCase().codePointAt(i)-97;\n\t\t\t\tif (countval >= 0) t[countval]++;\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int a=0; a<t.length;a++) {\n\t\t\tSystem.out.println(String.format(\"%s : %d\", (char)(a+97), t[a]));\t\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.awt.*;",
"awt.*",
"java",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint[] t = new int[26];\n\t\t\n\t\twhile (sc.hasNext()) {\n\t\t\tString s = sc.nextLine();\n\t\t\tfor (int i = 0; i<s.length(); i++){\n\t\t\t\tint countval = s.toLowerCase().codePointAt(i)-97;\n\t\t\t\tif (countval >= 0) t[countval]++;\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int a=0; a<t.length;a++) {\n\t\t\tSystem.out.println(String.format(\"%s : %d\", (char)(a+97), t[a]));\t\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint[] t = new int[26];\n\t\t\n\t\twhile (sc.hasNext()) {\n\t\t\tString s = sc.nextLine();\n\t\t\tfor (int i = 0; i<s.length(); i++){\n\t\t\t\tint countval = s.toLowerCase().codePointAt(i)-97;\n\t\t\t\tif (countval >= 0) t[countval]++;\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int a=0; a<t.length;a++) {\n\t\t\tSystem.out.println(String.format(\"%s : %d\", (char)(a+97), t[a]));\t\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint[] t = new int[26];\n\t\t\n\t\twhile (sc.hasNext()) {\n\t\t\tString s = sc.nextLine();\n\t\t\tfor (int i = 0; i<s.length(); i++){\n\t\t\t\tint countval = s.toLowerCase().codePointAt(i)-97;\n\t\t\t\tif (countval >= 0) t[countval]++;\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int a=0; a<t.length;a++) {\n\t\t\tSystem.out.println(String.format(\"%s : %d\", (char)(a+97), t[a]));\t\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] t = new int[26];",
"t",
"new int[26]",
"26",
"while (sc.hasNext()) {\n\t\t\tString s = sc.nextLine();\n\t\t\tfor (int i = 0; i<s.length(); i++){\n\t\t\t\tint countval = s.toLowerCase().codePointAt(i)-97;\n\t\t\t\tif (countval >= 0) t[countval]++;\n\t\t\t\t\n\t\t\t}\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tString s = sc.nextLine();\n\t\t\tfor (int i = 0; i<s.length(); i++){\n\t\t\t\tint countval = s.toLowerCase().codePointAt(i)-97;\n\t\t\t\tif (countval >= 0) t[countval]++;\n\t\t\t\t\n\t\t\t}\n\t\t}",
"String s = sc.nextLine();",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"for (int i = 0; i<s.length(); i++){\n\t\t\t\tint countval = s.toLowerCase().codePointAt(i)-97;\n\t\t\t\tif (countval >= 0) t[countval]++;\n\t\t\t\t\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\t\tint countval = s.toLowerCase().codePointAt(i)-97;\n\t\t\t\tif (countval >= 0) t[countval]++;\n\t\t\t\t\n\t\t\t}",
"{\n\t\t\t\tint countval = s.toLowerCase().codePointAt(i)-97;\n\t\t\t\tif (countval >= 0) t[countval]++;\n\t\t\t\t\n\t\t\t}",
"int countval = s.toLowerCase().codePointAt(i)-97;",
"countval",
"s.toLowerCase().codePointAt(i)-97",
"s.toLowerCase().codePointAt(i)",
"s.toLowerCase().codePointAt",
"s.toLowerCase()",
"s.toLowerCase",
"s",
"i",
"97",
"if (countval >= 0) t[countval]++;",
"countval >= 0",
"countval",
"0",
"t[countval]++",
"t[countval]",
"t",
"countval",
"for (int a=0; a<t.length;a++) {\n\t\t\tSystem.out.println(String.format(\"%s : %d\", (char)(a+97), t[a]));\t\n\t\t}",
"int a=0;",
"int a=0;",
"a",
"0",
"a<t.length",
"a",
"t.length",
"t",
"t.length",
"a++",
"a++",
"a",
"{\n\t\t\tSystem.out.println(String.format(\"%s : %d\", (char)(a+97), t[a]));\t\n\t\t}",
"{\n\t\t\tSystem.out.println(String.format(\"%s : %d\", (char)(a+97), t[a]));\t\n\t\t}",
"System.out.println(String.format(\"%s : %d\", (char)(a+97), t[a]))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%s : %d\", (char)(a+97), t[a])",
"String.format",
"String",
"\"%s : %d\"",
"(char)(a+97)",
"a",
"97",
"t[a]",
"t",
"a",
"String[] args",
"args"
]
| import java.util.*;
import java.lang.*;
import java.awt.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] t = new int[26];
while (sc.hasNext()) {
String s = sc.nextLine();
for (int i = 0; i<s.length(); i++){
int countval = s.toLowerCase().codePointAt(i)-97;
if (countval >= 0) t[countval]++;
}
}
for (int a=0; a<t.length;a++) {
System.out.println(String.format("%s : %d", (char)(a+97), t[a]));
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
4,
18,
13,
13,
4,
18,
13,
4,
18,
4,
18,
13,
41,
13,
20,
17,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
2,
4,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
40,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
2,
2,
40,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
130,
5
],
[
130,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
8,
45
],
[
45,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
8,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
64,
74
],
[
74,
75
],
[
75,
76
],
[
64,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
81,
86
],
[
78,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
87,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
8,
99
],
[
99,
100
],
[
99,
101
],
[
8,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
107,
108
],
[
107,
109
],
[
102,
110
],
[
110,
111
],
[
111,
112
],
[
102,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
120,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
120,
124
],
[
124,
125
],
[
124,
126
],
[
6,
127
],
[
127,
128
],
[
0,
129
],
[
129,
130
],
[
129,
131
]
]
| [
"import java.io.*;\n\npublic class Main\n{\n\tpublic static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tStringBuilder sb2 = new StringBuilder();\n\t\tString str = \"\";\n\t\twhile((str = br.readLine()) != null)\t\tsb.append(str);\n\t\tsb2.append(sb.toString().toLowerCase());\n\t\tint[] cnt = new int[26];\n\t\tint n;\n\t\tfor(int i=0;i<26;i++) cnt[i]=0;\n\t\tfor(int i=0; i<sb2.length(); i++)\n\t\t{\n\t\t\tn = sb2.charAt(i)-'a';\n\t\t\tif(n>=0&&n<=26)\tcnt[n]++;\n\t\t}\n\t\tchar chr = 'a';\n\t\tfor(int i=0; i<26; i++)\tSystem.out.println(chr++ + \" : \" + cnt[i]);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n\tpublic static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tStringBuilder sb2 = new StringBuilder();\n\t\tString str = \"\";\n\t\twhile((str = br.readLine()) != null)\t\tsb.append(str);\n\t\tsb2.append(sb.toString().toLowerCase());\n\t\tint[] cnt = new int[26];\n\t\tint n;\n\t\tfor(int i=0;i<26;i++) cnt[i]=0;\n\t\tfor(int i=0; i<sb2.length(); i++)\n\t\t{\n\t\t\tn = sb2.charAt(i)-'a';\n\t\t\tif(n>=0&&n<=26)\tcnt[n]++;\n\t\t}\n\t\tchar chr = 'a';\n\t\tfor(int i=0; i<26; i++)\tSystem.out.println(chr++ + \" : \" + cnt[i]);\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\tStringBuilder sb = new StringBuilder();\n\t\tStringBuilder sb2 = new StringBuilder();\n\t\tString str = \"\";\n\t\twhile((str = br.readLine()) != null)\t\tsb.append(str);\n\t\tsb2.append(sb.toString().toLowerCase());\n\t\tint[] cnt = new int[26];\n\t\tint n;\n\t\tfor(int i=0;i<26;i++) cnt[i]=0;\n\t\tfor(int i=0; i<sb2.length(); i++)\n\t\t{\n\t\t\tn = sb2.charAt(i)-'a';\n\t\t\tif(n>=0&&n<=26)\tcnt[n]++;\n\t\t}\n\t\tchar chr = 'a';\n\t\tfor(int i=0; i<26; i++)\tSystem.out.println(chr++ + \" : \" + cnt[i]);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tStringBuilder sb2 = new StringBuilder();\n\t\tString str = \"\";\n\t\twhile((str = br.readLine()) != null)\t\tsb.append(str);\n\t\tsb2.append(sb.toString().toLowerCase());\n\t\tint[] cnt = new int[26];\n\t\tint n;\n\t\tfor(int i=0;i<26;i++) cnt[i]=0;\n\t\tfor(int i=0; i<sb2.length(); i++)\n\t\t{\n\t\t\tn = sb2.charAt(i)-'a';\n\t\t\tif(n>=0&&n<=26)\tcnt[n]++;\n\t\t}\n\t\tchar chr = 'a';\n\t\tfor(int i=0; i<26; i++)\tSystem.out.println(chr++ + \" : \" + cnt[i]);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"StringBuilder sb2 = new StringBuilder();",
"sb2",
"new StringBuilder()",
"String str = \"\";",
"str",
"\"\"",
"while((str = br.readLine()) != null)\t\tsb.append(str);",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"sb.append(str)",
"sb.append",
"sb",
"str",
"sb2.append(sb.toString().toLowerCase())",
"sb2.append",
"sb2",
"sb.toString().toLowerCase()",
"sb.toString().toLowerCase",
"sb.toString()",
"sb.toString",
"sb",
"int[] cnt = new int[26];",
"cnt",
"new int[26]",
"26",
"int n;",
"n",
"for(int i=0;i<26;i++) cnt[i]=0;",
"int i=0;",
"int i=0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"cnt[i]=0;",
"cnt[i]=0",
"cnt[i]",
"cnt",
"i",
"0",
"for(int i=0; i<sb2.length(); i++)\n\t\t{\n\t\t\tn = sb2.charAt(i)-'a';\n\t\t\tif(n>=0&&n<=26)\tcnt[n]++;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<sb2.length()",
"i",
"sb2.length()",
"sb2.length",
"sb2",
"i++",
"i++",
"i",
"{\n\t\t\tn = sb2.charAt(i)-'a';\n\t\t\tif(n>=0&&n<=26)\tcnt[n]++;\n\t\t}",
"{\n\t\t\tn = sb2.charAt(i)-'a';\n\t\t\tif(n>=0&&n<=26)\tcnt[n]++;\n\t\t}",
"n = sb2.charAt(i)-'a'",
"n",
"sb2.charAt(i)-'a'",
"sb2.charAt(i)",
"sb2.charAt",
"sb2",
"i",
"'a'",
"if(n>=0&&n<=26)\tcnt[n]++;",
"n>=0&&n<=26",
"n>=0",
"n",
"0",
"n<=26",
"n",
"26",
"cnt[n]++",
"cnt[n]",
"cnt",
"n",
"char chr = 'a';",
"chr",
"'a'",
"for(int i=0; i<26; i++)\tSystem.out.println(chr++ + \" : \" + cnt[i]);",
"int i=0;",
"int i=0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"System.out.println(chr++ + \" : \" + cnt[i]);",
"System.out.println(chr++ + \" : \" + cnt[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"chr++ + \" : \" + cnt[i]",
"chr++ + \" : \" + cnt[i]",
"chr++",
"chr",
"\" : \"",
"cnt[i]",
"cnt",
"i",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tStringBuilder sb2 = new StringBuilder();\n\t\tString str = \"\";\n\t\twhile((str = br.readLine()) != null)\t\tsb.append(str);\n\t\tsb2.append(sb.toString().toLowerCase());\n\t\tint[] cnt = new int[26];\n\t\tint n;\n\t\tfor(int i=0;i<26;i++) cnt[i]=0;\n\t\tfor(int i=0; i<sb2.length(); i++)\n\t\t{\n\t\t\tn = sb2.charAt(i)-'a';\n\t\t\tif(n>=0&&n<=26)\tcnt[n]++;\n\t\t}\n\t\tchar chr = 'a';\n\t\tfor(int i=0; i<26; i++)\tSystem.out.println(chr++ + \" : \" + cnt[i]);\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tStringBuilder sb2 = new StringBuilder();\n\t\tString str = \"\";\n\t\twhile((str = br.readLine()) != null)\t\tsb.append(str);\n\t\tsb2.append(sb.toString().toLowerCase());\n\t\tint[] cnt = new int[26];\n\t\tint n;\n\t\tfor(int i=0;i<26;i++) cnt[i]=0;\n\t\tfor(int i=0; i<sb2.length(); i++)\n\t\t{\n\t\t\tn = sb2.charAt(i)-'a';\n\t\t\tif(n>=0&&n<=26)\tcnt[n]++;\n\t\t}\n\t\tchar chr = 'a';\n\t\tfor(int i=0; i<26; i++)\tSystem.out.println(chr++ + \" : \" + cnt[i]);\n\t}\n}",
"Main"
]
| import java.io.*;
public class Main
{
public static void main(String[] args)throws IOException
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
StringBuilder sb2 = new StringBuilder();
String str = "";
while((str = br.readLine()) != null) sb.append(str);
sb2.append(sb.toString().toLowerCase());
int[] cnt = new int[26];
int n;
for(int i=0;i<26;i++) cnt[i]=0;
for(int i=0; i<sb2.length(); i++)
{
n = sb2.charAt(i)-'a';
if(n>=0&&n<=26) cnt[n]++;
}
char chr = 'a';
for(int i=0; i<26; i++) System.out.println(chr++ + " : " + cnt[i]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
13,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
81,
5
],
[
81,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
10,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
22,
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
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
44,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
10,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
55,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
68,
74
],
[
68,
75
],
[
75,
76
],
[
75,
77
],
[
6,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n try(Scanner sc = new Scanner(System.in)){\n int counter[] = new int[128];\n while(sc.hasNext()) {\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n int num = s.charAt(i);\n counter[num]++;\n }\n }\n for(char i = 'a'; i <= 'z'; i++) {\n System.out.printf(\"%s : %d\\n\", i, counter[i]);\n }\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n try(Scanner sc = new Scanner(System.in)){\n int counter[] = new int[128];\n while(sc.hasNext()) {\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n int num = s.charAt(i);\n counter[num]++;\n }\n }\n for(char i = 'a'; i <= 'z'; i++) {\n System.out.printf(\"%s : %d\\n\", i, counter[i]);\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try(Scanner sc = new Scanner(System.in)){\n int counter[] = new int[128];\n while(sc.hasNext()) {\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n int num = s.charAt(i);\n counter[num]++;\n }\n }\n for(char i = 'a'; i <= 'z'; i++) {\n System.out.printf(\"%s : %d\\n\", i, counter[i]);\n }\n }\n }",
"main",
"{\n try(Scanner sc = new Scanner(System.in)){\n int counter[] = new int[128];\n while(sc.hasNext()) {\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n int num = s.charAt(i);\n counter[num]++;\n }\n }\n for(char i = 'a'; i <= 'z'; i++) {\n System.out.printf(\"%s : %d\\n\", i, counter[i]);\n }\n }\n }",
"try(Scanner sc = new Scanner(System.in)){\n int counter[] = new int[128];\n while(sc.hasNext()) {\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n int num = s.charAt(i);\n counter[num]++;\n }\n }\n for(char i = 'a'; i <= 'z'; i++) {\n System.out.printf(\"%s : %d\\n\", i, counter[i]);\n }\n }",
"{\n int counter[] = new int[128];\n while(sc.hasNext()) {\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n int num = s.charAt(i);\n counter[num]++;\n }\n }\n for(char i = 'a'; i <= 'z'; i++) {\n System.out.printf(\"%s : %d\\n\", i, counter[i]);\n }\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int counter[] = new int[128];",
"counter",
"new int[128]",
"128",
"while(sc.hasNext()) {\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n int num = s.charAt(i);\n counter[num]++;\n }\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n int num = s.charAt(i);\n counter[num]++;\n }\n }",
"String s = sc.nextLine().toLowerCase();",
"s",
"sc.nextLine().toLowerCase()",
"sc.nextLine().toLowerCase",
"sc.nextLine()",
"sc.nextLine",
"sc",
"for (int i = 0; i < s.length(); i++) {\n int num = s.charAt(i);\n counter[num]++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n int num = s.charAt(i);\n counter[num]++;\n }",
"{\n int num = s.charAt(i);\n counter[num]++;\n }",
"int num = s.charAt(i);",
"num",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"counter[num]++",
"counter[num]",
"counter",
"num",
"for(char i = 'a'; i <= 'z'; i++) {\n System.out.printf(\"%s : %d\\n\", i, counter[i]);\n }",
"char i = 'a';",
"char i = 'a';",
"i",
"'a'",
"i <= 'z'",
"i",
"'z'",
"i++",
"i++",
"i",
"{\n System.out.printf(\"%s : %d\\n\", i, counter[i]);\n }",
"{\n System.out.printf(\"%s : %d\\n\", i, counter[i]);\n }",
"System.out.printf(\"%s : %d\\n\", i, counter[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%s : %d\\n\"",
"i",
"counter[i]",
"counter",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n try(Scanner sc = new Scanner(System.in)){\n int counter[] = new int[128];\n while(sc.hasNext()) {\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n int num = s.charAt(i);\n counter[num]++;\n }\n }\n for(char i = 'a'; i <= 'z'; i++) {\n System.out.printf(\"%s : %d\\n\", i, counter[i]);\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n try(Scanner sc = new Scanner(System.in)){\n int counter[] = new int[128];\n while(sc.hasNext()) {\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n int num = s.charAt(i);\n counter[num]++;\n }\n }\n for(char i = 'a'; i <= 'z'; i++) {\n System.out.printf(\"%s : %d\\n\", i, counter[i]);\n }\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try(Scanner sc = new Scanner(System.in)){
int counter[] = new int[128];
while(sc.hasNext()) {
String s = sc.nextLine().toLowerCase();
for (int i = 0; i < s.length(); i++) {
int num = s.charAt(i);
counter[num]++;
}
}
for(char i = 'a'; i <= 'z'; i++) {
System.out.printf("%s : %d\n", i, counter[i]);
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
41,
13,
20,
17,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
4,
18,
13,
4,
18,
13,
13,
40,
18,
13,
2,
4,
18,
13,
13,
17,
14,
4,
18,
13,
4,
18,
13,
13,
40,
18,
13,
2,
4,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
2,
17,
13,
4,
18,
13,
17,
4,
18,
13,
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
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
13,
18
],
[
18,
19
],
[
18,
20
],
[
13,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
28
],
[
28,
29
],
[
23,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
39,
49
],
[
49,
50
],
[
50,
51
],
[
39,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
65,
70
],
[
53,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
71,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
82,
87
],
[
23,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
88,
96
],
[
96,
97
],
[
97,
98
],
[
88,
99
],
[
100,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
104,
105
],
[
104,
106
],
[
100,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
100,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
114,
115
],
[
114,
116
],
[
23,
117
],
[
117,
118
],
[
118,
119
],
[
21,
120
],
[
120,
121
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\n\nclass Main{\n private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n private static final PrintWriter out = new PrintWriter(System.out);\n public static void main(String[] Args) throws IOException{\n final int[] alph = new int[26];\n String in;\n while( (in = br.readLine())!=null){\n for(int i = 0; i<in.length(); i++){\n if(Character.isUpperCase(in.charAt(i))) alph[in.charAt(i)-'A']++;\n if(Character.isLowerCase(in.charAt(i))) alph[in.charAt(i)-'a']++;\n }\n }\n for(int i = 0; i<26; i++){\n out.print((char) ('a'+i));\n out.print(\" : \");\n out.println(alph[i]);\n }\n out.flush();\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.io.PrintWriter;",
"PrintWriter",
"java.io",
"class Main{\n private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n private static final PrintWriter out = new PrintWriter(System.out);\n public static void main(String[] Args) throws IOException{\n final int[] alph = new int[26];\n String in;\n while( (in = br.readLine())!=null){\n for(int i = 0; i<in.length(); i++){\n if(Character.isUpperCase(in.charAt(i))) alph[in.charAt(i)-'A']++;\n if(Character.isLowerCase(in.charAt(i))) alph[in.charAt(i)-'a']++;\n }\n }\n for(int i = 0; i<26; i++){\n out.print((char) ('a'+i));\n out.print(\" : \");\n out.println(alph[i]);\n }\n out.flush();\n }\n}",
"Main",
"private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"private static final PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"public static void main(String[] Args) throws IOException{\n final int[] alph = new int[26];\n String in;\n while( (in = br.readLine())!=null){\n for(int i = 0; i<in.length(); i++){\n if(Character.isUpperCase(in.charAt(i))) alph[in.charAt(i)-'A']++;\n if(Character.isLowerCase(in.charAt(i))) alph[in.charAt(i)-'a']++;\n }\n }\n for(int i = 0; i<26; i++){\n out.print((char) ('a'+i));\n out.print(\" : \");\n out.println(alph[i]);\n }\n out.flush();\n }",
"main",
"{\n final int[] alph = new int[26];\n String in;\n while( (in = br.readLine())!=null){\n for(int i = 0; i<in.length(); i++){\n if(Character.isUpperCase(in.charAt(i))) alph[in.charAt(i)-'A']++;\n if(Character.isLowerCase(in.charAt(i))) alph[in.charAt(i)-'a']++;\n }\n }\n for(int i = 0; i<26; i++){\n out.print((char) ('a'+i));\n out.print(\" : \");\n out.println(alph[i]);\n }\n out.flush();\n }",
"final int[] alph = new int[26];",
"alph",
"new int[26]",
"26",
"String in;",
"in",
"while( (in = br.readLine())!=null){\n for(int i = 0; i<in.length(); i++){\n if(Character.isUpperCase(in.charAt(i))) alph[in.charAt(i)-'A']++;\n if(Character.isLowerCase(in.charAt(i))) alph[in.charAt(i)-'a']++;\n }\n }",
"(in = br.readLine())!=null",
"(in = br.readLine())",
"in",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n for(int i = 0; i<in.length(); i++){\n if(Character.isUpperCase(in.charAt(i))) alph[in.charAt(i)-'A']++;\n if(Character.isLowerCase(in.charAt(i))) alph[in.charAt(i)-'a']++;\n }\n }",
"for(int i = 0; i<in.length(); i++){\n if(Character.isUpperCase(in.charAt(i))) alph[in.charAt(i)-'A']++;\n if(Character.isLowerCase(in.charAt(i))) alph[in.charAt(i)-'a']++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<in.length()",
"i",
"in.length()",
"in.length",
"in",
"i++",
"i++",
"i",
"{\n if(Character.isUpperCase(in.charAt(i))) alph[in.charAt(i)-'A']++;\n if(Character.isLowerCase(in.charAt(i))) alph[in.charAt(i)-'a']++;\n }",
"{\n if(Character.isUpperCase(in.charAt(i))) alph[in.charAt(i)-'A']++;\n if(Character.isLowerCase(in.charAt(i))) alph[in.charAt(i)-'a']++;\n }",
"if(Character.isUpperCase(in.charAt(i))) alph[in.charAt(i)-'A']++;",
"Character.isUpperCase(in.charAt(i))",
"Character.isUpperCase",
"Character",
"in.charAt(i)",
"in.charAt",
"in",
"i",
"alph[in.charAt(i)-'A']++",
"alph[in.charAt(i)-'A']",
"alph",
"in.charAt(i)-'A'",
"in.charAt(i)",
"in.charAt",
"in",
"i",
"'A'",
"if(Character.isLowerCase(in.charAt(i))) alph[in.charAt(i)-'a']++;",
"Character.isLowerCase(in.charAt(i))",
"Character.isLowerCase",
"Character",
"in.charAt(i)",
"in.charAt",
"in",
"i",
"alph[in.charAt(i)-'a']++",
"alph[in.charAt(i)-'a']",
"alph",
"in.charAt(i)-'a'",
"in.charAt(i)",
"in.charAt",
"in",
"i",
"'a'",
"for(int i = 0; i<26; i++){\n out.print((char) ('a'+i));\n out.print(\" : \");\n out.println(alph[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n out.print((char) ('a'+i));\n out.print(\" : \");\n out.println(alph[i]);\n }",
"{\n out.print((char) ('a'+i));\n out.print(\" : \");\n out.println(alph[i]);\n }",
"out.print((char) ('a'+i))",
"out.print",
"out",
"(char) ('a'+i)",
"'a'",
"i",
"out.print(\" : \")",
"out.print",
"out",
"\" : \"",
"out.println(alph[i])",
"out.println",
"out",
"alph[i]",
"alph",
"i",
"out.flush()",
"out.flush",
"out",
"String[] Args",
"Args"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
class Main{
private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
private static final PrintWriter out = new PrintWriter(System.out);
public static void main(String[] Args) throws IOException{
final int[] alph = new int[26];
String in;
while( (in = br.readLine())!=null){
for(int i = 0; i<in.length(); i++){
if(Character.isUpperCase(in.charAt(i))) alph[in.charAt(i)-'A']++;
if(Character.isLowerCase(in.charAt(i))) alph[in.charAt(i)-'a']++;
}
}
for(int i = 0; i<26; i++){
out.print((char) ('a'+i));
out.print(" : ");
out.println(alph[i]);
}
out.flush();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
41,
13,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
4,
18,
13,
0,
13,
4,
18,
13,
13,
30,
40,
18,
13,
2,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
2,
17,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
4,
18,
4,
18,
4,
18,
20,
40,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
106,
5
],
[
106,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
33,
43
],
[
43,
44
],
[
44,
45
],
[
33,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
48,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
68,
78
],
[
78,
79
],
[
79,
80
],
[
68,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
97,
98
],
[
92,
99
],
[
90,
100
],
[
100,
101
],
[
100,
102
],
[
6,
103
],
[
103,
104
],
[
0,
105
],
[
105,
106
],
[
105,
107
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] alphabet = new int[26];\n\t\tchar a = 'a', ch;\n\t\twhile (sc.hasNext()) {\n\t\t\tString str = sc.next().toLowerCase();\n\t\t\tfor (int i=0; i< str.length(); i++) {\n\t\t\t\tif (Character.isLetter(ch = str.charAt(i))) {\n\t\t\t\t\talphabet[ch - a]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t\tfor (int i=0; i <= ('z' - 'a'); i++) {\n\t\t\tSystem.out.println(new StringBuilder().append(a++).append(\" : \").append(alphabet[i]).toString());\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] alphabet = new int[26];\n\t\tchar a = 'a', ch;\n\t\twhile (sc.hasNext()) {\n\t\t\tString str = sc.next().toLowerCase();\n\t\t\tfor (int i=0; i< str.length(); i++) {\n\t\t\t\tif (Character.isLetter(ch = str.charAt(i))) {\n\t\t\t\t\talphabet[ch - a]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t\tfor (int i=0; i <= ('z' - 'a'); i++) {\n\t\t\tSystem.out.println(new StringBuilder().append(a++).append(\" : \").append(alphabet[i]).toString());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] alphabet = new int[26];\n\t\tchar a = 'a', ch;\n\t\twhile (sc.hasNext()) {\n\t\t\tString str = sc.next().toLowerCase();\n\t\t\tfor (int i=0; i< str.length(); i++) {\n\t\t\t\tif (Character.isLetter(ch = str.charAt(i))) {\n\t\t\t\t\talphabet[ch - a]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t\tfor (int i=0; i <= ('z' - 'a'); i++) {\n\t\t\tSystem.out.println(new StringBuilder().append(a++).append(\" : \").append(alphabet[i]).toString());\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] alphabet = new int[26];\n\t\tchar a = 'a', ch;\n\t\twhile (sc.hasNext()) {\n\t\t\tString str = sc.next().toLowerCase();\n\t\t\tfor (int i=0; i< str.length(); i++) {\n\t\t\t\tif (Character.isLetter(ch = str.charAt(i))) {\n\t\t\t\t\talphabet[ch - a]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t\tfor (int i=0; i <= ('z' - 'a'); i++) {\n\t\t\tSystem.out.println(new StringBuilder().append(a++).append(\" : \").append(alphabet[i]).toString());\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] alphabet = new int[26];",
"alphabet",
"new int[26]",
"26",
"char a = 'a'",
"a",
"'a'",
"ch;",
"ch",
"while (sc.hasNext()) {\n\t\t\tString str = sc.next().toLowerCase();\n\t\t\tfor (int i=0; i< str.length(); i++) {\n\t\t\t\tif (Character.isLetter(ch = str.charAt(i))) {\n\t\t\t\t\talphabet[ch - a]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tString str = sc.next().toLowerCase();\n\t\t\tfor (int i=0; i< str.length(); i++) {\n\t\t\t\tif (Character.isLetter(ch = str.charAt(i))) {\n\t\t\t\t\talphabet[ch - a]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"String str = sc.next().toLowerCase();",
"str",
"sc.next().toLowerCase()",
"sc.next().toLowerCase",
"sc.next()",
"sc.next",
"sc",
"for (int i=0; i< str.length(); i++) {\n\t\t\t\tif (Character.isLetter(ch = str.charAt(i))) {\n\t\t\t\t\talphabet[ch - a]++;\n\t\t\t\t}\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\tif (Character.isLetter(ch = str.charAt(i))) {\n\t\t\t\t\talphabet[ch - a]++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif (Character.isLetter(ch = str.charAt(i))) {\n\t\t\t\t\talphabet[ch - a]++;\n\t\t\t\t}\n\t\t\t}",
"if (Character.isLetter(ch = str.charAt(i))) {\n\t\t\t\t\talphabet[ch - a]++;\n\t\t\t\t}",
"Character.isLetter(ch = str.charAt(i))",
"Character.isLetter",
"Character",
"ch = str.charAt(i)",
"ch",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"{\n\t\t\t\t\talphabet[ch - a]++;\n\t\t\t\t}",
"alphabet[ch - a]++",
"alphabet[ch - a]",
"alphabet",
"ch - a",
"ch",
"a",
"sc.close()",
"sc.close",
"sc",
"for (int i=0; i <= ('z' - 'a'); i++) {\n\t\t\tSystem.out.println(new StringBuilder().append(a++).append(\" : \").append(alphabet[i]).toString());\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i <= ('z' - 'a')",
"i",
"('z' - 'a')",
"'z'",
"'a'",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(new StringBuilder().append(a++).append(\" : \").append(alphabet[i]).toString());\n\t\t}",
"{\n\t\t\tSystem.out.println(new StringBuilder().append(a++).append(\" : \").append(alphabet[i]).toString());\n\t\t}",
"System.out.println(new StringBuilder().append(a++).append(\" : \").append(alphabet[i]).toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"new StringBuilder().append(a++).append(\" : \").append(alphabet[i]).toString()",
"new StringBuilder().append(a++).append(\" : \").append(alphabet[i]).toString",
"new StringBuilder().append(a++).append(\" : \").append(alphabet[i])",
"new StringBuilder().append(a++).append(\" : \").append",
"new StringBuilder().append(a++).append(\" : \")",
"new StringBuilder().append(a++).append",
"new StringBuilder().append(a++)",
"new StringBuilder().append",
"new StringBuilder()",
"a++",
"a",
"\" : \"",
"alphabet[i]",
"alphabet",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] alphabet = new int[26];\n\t\tchar a = 'a', ch;\n\t\twhile (sc.hasNext()) {\n\t\t\tString str = sc.next().toLowerCase();\n\t\t\tfor (int i=0; i< str.length(); i++) {\n\t\t\t\tif (Character.isLetter(ch = str.charAt(i))) {\n\t\t\t\t\talphabet[ch - a]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t\tfor (int i=0; i <= ('z' - 'a'); i++) {\n\t\t\tSystem.out.println(new StringBuilder().append(a++).append(\" : \").append(alphabet[i]).toString());\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] alphabet = new int[26];\n\t\tchar a = 'a', ch;\n\t\twhile (sc.hasNext()) {\n\t\t\tString str = sc.next().toLowerCase();\n\t\t\tfor (int i=0; i< str.length(); i++) {\n\t\t\t\tif (Character.isLetter(ch = str.charAt(i))) {\n\t\t\t\t\talphabet[ch - a]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t\tfor (int i=0; i <= ('z' - 'a'); i++) {\n\t\t\tSystem.out.println(new StringBuilder().append(a++).append(\" : \").append(alphabet[i]).toString());\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] alphabet = new int[26];
char a = 'a', ch;
while (sc.hasNext()) {
String str = sc.next().toLowerCase();
for (int i=0; i< str.length(); i++) {
if (Character.isLetter(ch = str.charAt(i))) {
alphabet[ch - a]++;
}
}
}
sc.close();
for (int i=0; i <= ('z' - 'a'); i++) {
System.out.println(new StringBuilder().append(a++).append(" : ").append(alphabet[i]).toString());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
30,
41,
13,
20,
4,
18,
13,
13,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
28,
13,
13,
30,
30,
14,
4,
18,
4,
18,
13,
4,
18,
4,
18,
13,
18,
13,
13,
30,
4,
18,
13,
17,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
17,
4,
18,
13,
23,
13,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
13,
13,
23,
13,
12,
13,
30,
0,
13,
2,
13,
13,
23,
13,
12,
13,
30,
29,
13,
12,
13,
30,
29,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
171,
8
],
[
171,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
11,
13
],
[
11,
14
],
[
11,
15
],
[
11,
16
],
[
11,
17
],
[
11,
18
],
[
11,
19
],
[
11,
20
],
[
11,
21
],
[
11,
22
],
[
11,
23
],
[
11,
24
],
[
11,
25
],
[
11,
26
],
[
11,
27
],
[
11,
28
],
[
11,
29
],
[
11,
30
],
[
11,
31
],
[
11,
32
],
[
11,
33
],
[
11,
34
],
[
11,
35
],
[
11,
36
],
[
11,
37
],
[
171,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
44,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
40,
56
],
[
56,
57
],
[
56,
58
],
[
40,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
63,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
63,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
74,
84
],
[
84,
85
],
[
85,
86
],
[
74,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
89,
92
],
[
93,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
95,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
105,
106
],
[
105,
107
],
[
94,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
40,
113
],
[
113,
114
],
[
113,
115
],
[
113,
116
],
[
117,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
118,
123
],
[
124,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
124,
128
],
[
124,
129
],
[
129,
130
],
[
130,
131
],
[
38,
132
],
[
132,
133
],
[
0,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
136,
138
],
[
134,
139
],
[
139,
140
],
[
139,
141
],
[
134,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
142,
148
],
[
148,
149
],
[
134,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
155,
157
],
[
150,
158
],
[
158,
159
],
[
134,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
134,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
0,
170
],
[
170,
171
],
[
170,
172
]
]
| [
"\n\nimport java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main\n{\n\n\t// アルファベットの配列\n\tpublic static String[] alphabet_all = { \"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\",\n\t\t\t\"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\",\n\t\t\t\"u\", \"v\", \"w\", \"x\", \"y\", \"z\" };\n\n\tpublic static void main(String[] args) {\n\n\t\t// アルファベットbeanのリスト\n\t\tArrayList<alphabet> alpha_beans = new ArrayList<alphabet>();\n\t\t// 各アルファベットのbeanを作る\n\t\tfor (String val : alphabet_all) {\n\t\t\t//\n\t\t\talphabet hoge = new alphabet(val);\n\t\t\talpha_beans.add(hoge);\n\t\t}\n\n\t\t// ファイル入力\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()) {\n\t\t\tString input_sentence = sc.nextLine();\n\n\t\t\t// 入力文字を1文字ずつに変換\n\t\t\tchar ch[] = input_sentence.toCharArray();\n\n\t\t\t// 入力文字列がある分、まわす\n\t\t\tfor (int i = 0; i < ch.length; i++) {\n\n\t\t\t\t// それぞれのアルファベットについて\n\t\t\t\tfor (alphabet val : alpha_beans) {\n\n\t\t\t\t\t// 入力文字の一文字ずつとアルファベットの文字(大文字も小文字は区別しない)が一致したら\n\t\t\t\t\tif (val.getString().equals(\n\t\t\t\t\t\t\tString.valueOf(ch[i]).toLowerCase())) {\n\t\t\t\t\t\t// 一致したアルファベットの数字を増やす\n\t\t\t\t\t\tval.setNumber(1);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// 出力\n\t\tfor (alphabet val : alpha_beans) {\n\t\t\t//\n\t\t\tSystem.out.println(val.getString() + \" : \" + val.getNumber());\n\t\t}\n\t}\n}\n\n// 各アルファベットクラス\nclass alphabet {\n\t//\n\tprivate int number = 0;\n\tprivate String alphabet = \"\";\n\n\t// コンストラクタ\n\talphabet(String a) {\n\t\talphabet = a;\n\t}\n\n\t// セッター\n\tpublic void setNumber(int n) {\n\t\tnumber = n + number;\n\t}\n\n\t// ゲッター\n\tpublic int getNumber() {\n\t\treturn number;\n\t}\n\n\tpublic String getString() {\n\t\treturn alphabet;\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n\n\t// アルファベットの配列\n\tpublic static String[] alphabet_all = { \"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\",\n\t\t\t\"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\",\n\t\t\t\"u\", \"v\", \"w\", \"x\", \"y\", \"z\" };\n\n\tpublic static void main(String[] args) {\n\n\t\t// アルファベットbeanのリスト\n\t\tArrayList<alphabet> alpha_beans = new ArrayList<alphabet>();\n\t\t// 各アルファベットのbeanを作る\n\t\tfor (String val : alphabet_all) {\n\t\t\t//\n\t\t\talphabet hoge = new alphabet(val);\n\t\t\talpha_beans.add(hoge);\n\t\t}\n\n\t\t// ファイル入力\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()) {\n\t\t\tString input_sentence = sc.nextLine();\n\n\t\t\t// 入力文字を1文字ずつに変換\n\t\t\tchar ch[] = input_sentence.toCharArray();\n\n\t\t\t// 入力文字列がある分、まわす\n\t\t\tfor (int i = 0; i < ch.length; i++) {\n\n\t\t\t\t// それぞれのアルファベットについて\n\t\t\t\tfor (alphabet val : alpha_beans) {\n\n\t\t\t\t\t// 入力文字の一文字ずつとアルファベットの文字(大文字も小文字は区別しない)が一致したら\n\t\t\t\t\tif (val.getString().equals(\n\t\t\t\t\t\t\tString.valueOf(ch[i]).toLowerCase())) {\n\t\t\t\t\t\t// 一致したアルファベットの数字を増やす\n\t\t\t\t\t\tval.setNumber(1);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// 出力\n\t\tfor (alphabet val : alpha_beans) {\n\t\t\t//\n\t\t\tSystem.out.println(val.getString() + \" : \" + val.getNumber());\n\t\t}\n\t}\n}",
"Main",
"// アルファベットの配列\n\tpublic static String[] alphabet_all = { \"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\",\n\t\t\t\"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\",\n\t\t\t\"u\", \"v\", \"w\", \"x\", \"y\", \"z\" };",
"alphabet_all",
"{ \"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\",\n\t\t\t\"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\",\n\t\t\t\"u\", \"v\", \"w\", \"x\", \"y\", \"z\" }",
"\"a\"",
"\"b\"",
"\"c\"",
"\"d\"",
"\"e\"",
"\"f\"",
"\"g\"",
"\"h\"",
"\"i\"",
"\"j\"",
"\"k\"",
"\"l\"",
"\"m\"",
"\"n\"",
"\"o\"",
"\"p\"",
"\"q\"",
"\"r\"",
"\"s\"",
"\"t\"",
"\"u\"",
"\"v\"",
"\"w\"",
"\"x\"",
"\"y\"",
"\"z\"",
"public static void main(String[] args) {\n\n\t\t// アルファベットbeanのリスト\n\t\tArrayList<alphabet> alpha_beans = new ArrayList<alphabet>();\n\t\t// 各アルファベットのbeanを作る\n\t\tfor (String val : alphabet_all) {\n\t\t\t//\n\t\t\talphabet hoge = new alphabet(val);\n\t\t\talpha_beans.add(hoge);\n\t\t}\n\n\t\t// ファイル入力\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()) {\n\t\t\tString input_sentence = sc.nextLine();\n\n\t\t\t// 入力文字を1文字ずつに変換\n\t\t\tchar ch[] = input_sentence.toCharArray();\n\n\t\t\t// 入力文字列がある分、まわす\n\t\t\tfor (int i = 0; i < ch.length; i++) {\n\n\t\t\t\t// それぞれのアルファベットについて\n\t\t\t\tfor (alphabet val : alpha_beans) {\n\n\t\t\t\t\t// 入力文字の一文字ずつとアルファベットの文字(大文字も小文字は区別しない)が一致したら\n\t\t\t\t\tif (val.getString().equals(\n\t\t\t\t\t\t\tString.valueOf(ch[i]).toLowerCase())) {\n\t\t\t\t\t\t// 一致したアルファベットの数字を増やす\n\t\t\t\t\t\tval.setNumber(1);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// 出力\n\t\tfor (alphabet val : alpha_beans) {\n\t\t\t//\n\t\t\tSystem.out.println(val.getString() + \" : \" + val.getNumber());\n\t\t}\n\t}",
"main",
"{\n\n\t\t// アルファベットbeanのリスト\n\t\tArrayList<alphabet> alpha_beans = new ArrayList<alphabet>();\n\t\t// 各アルファベットのbeanを作る\n\t\tfor (String val : alphabet_all) {\n\t\t\t//\n\t\t\talphabet hoge = new alphabet(val);\n\t\t\talpha_beans.add(hoge);\n\t\t}\n\n\t\t// ファイル入力\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()) {\n\t\t\tString input_sentence = sc.nextLine();\n\n\t\t\t// 入力文字を1文字ずつに変換\n\t\t\tchar ch[] = input_sentence.toCharArray();\n\n\t\t\t// 入力文字列がある分、まわす\n\t\t\tfor (int i = 0; i < ch.length; i++) {\n\n\t\t\t\t// それぞれのアルファベットについて\n\t\t\t\tfor (alphabet val : alpha_beans) {\n\n\t\t\t\t\t// 入力文字の一文字ずつとアルファベットの文字(大文字も小文字は区別しない)が一致したら\n\t\t\t\t\tif (val.getString().equals(\n\t\t\t\t\t\t\tString.valueOf(ch[i]).toLowerCase())) {\n\t\t\t\t\t\t// 一致したアルファベットの数字を増やす\n\t\t\t\t\t\tval.setNumber(1);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// 出力\n\t\tfor (alphabet val : alpha_beans) {\n\t\t\t//\n\t\t\tSystem.out.println(val.getString() + \" : \" + val.getNumber());\n\t\t}\n\t}",
"ArrayList<alphabet> alpha_beans = new ArrayList<alphabet>();",
"alpha_beans",
"new ArrayList<alphabet>()",
"for (String val : alphabet_all) {\n\t\t\t//\n\t\t\talphabet hoge = new alphabet(val);\n\t\t\talpha_beans.add(hoge);\n\t\t}",
"String val",
"alphabet_all",
"{\n\t\t\t//\n\t\t\talphabet hoge = new alphabet(val);\n\t\t\talpha_beans.add(hoge);\n\t\t}",
"{\n\t\t\t//\n\t\t\talphabet hoge = new alphabet(val);\n\t\t\talpha_beans.add(hoge);\n\t\t}",
"alphabet hoge = new alphabet(val);",
"hoge",
"new alphabet(val)",
"alpha_beans.add(hoge)",
"alpha_beans.add",
"alpha_beans",
"hoge",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()) {\n\t\t\tString input_sentence = sc.nextLine();\n\n\t\t\t// 入力文字を1文字ずつに変換\n\t\t\tchar ch[] = input_sentence.toCharArray();\n\n\t\t\t// 入力文字列がある分、まわす\n\t\t\tfor (int i = 0; i < ch.length; i++) {\n\n\t\t\t\t// それぞれのアルファベットについて\n\t\t\t\tfor (alphabet val : alpha_beans) {\n\n\t\t\t\t\t// 入力文字の一文字ずつとアルファベットの文字(大文字も小文字は区別しない)が一致したら\n\t\t\t\t\tif (val.getString().equals(\n\t\t\t\t\t\t\tString.valueOf(ch[i]).toLowerCase())) {\n\t\t\t\t\t\t// 一致したアルファベットの数字を増やす\n\t\t\t\t\t\tval.setNumber(1);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tString input_sentence = sc.nextLine();\n\n\t\t\t// 入力文字を1文字ずつに変換\n\t\t\tchar ch[] = input_sentence.toCharArray();\n\n\t\t\t// 入力文字列がある分、まわす\n\t\t\tfor (int i = 0; i < ch.length; i++) {\n\n\t\t\t\t// それぞれのアルファベットについて\n\t\t\t\tfor (alphabet val : alpha_beans) {\n\n\t\t\t\t\t// 入力文字の一文字ずつとアルファベットの文字(大文字も小文字は区別しない)が一致したら\n\t\t\t\t\tif (val.getString().equals(\n\t\t\t\t\t\t\tString.valueOf(ch[i]).toLowerCase())) {\n\t\t\t\t\t\t// 一致したアルファベットの数字を増やす\n\t\t\t\t\t\tval.setNumber(1);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"String input_sentence = sc.nextLine();",
"input_sentence",
"sc.nextLine()",
"sc.nextLine",
"sc",
"char ch[] = input_sentence.toCharArray();",
"ch",
"input_sentence.toCharArray()",
"input_sentence.toCharArray",
"input_sentence",
"for (int i = 0; i < ch.length; i++) {\n\n\t\t\t\t// それぞれのアルファベットについて\n\t\t\t\tfor (alphabet val : alpha_beans) {\n\n\t\t\t\t\t// 入力文字の一文字ずつとアルファベットの文字(大文字も小文字は区別しない)が一致したら\n\t\t\t\t\tif (val.getString().equals(\n\t\t\t\t\t\t\tString.valueOf(ch[i]).toLowerCase())) {\n\t\t\t\t\t\t// 一致したアルファベットの数字を増やす\n\t\t\t\t\t\tval.setNumber(1);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < ch.length",
"i",
"ch.length",
"ch",
"ch.length",
"i++",
"i++",
"i",
"{\n\n\t\t\t\t// それぞれのアルファベットについて\n\t\t\t\tfor (alphabet val : alpha_beans) {\n\n\t\t\t\t\t// 入力文字の一文字ずつとアルファベットの文字(大文字も小文字は区別しない)が一致したら\n\t\t\t\t\tif (val.getString().equals(\n\t\t\t\t\t\t\tString.valueOf(ch[i]).toLowerCase())) {\n\t\t\t\t\t\t// 一致したアルファベットの数字を増やす\n\t\t\t\t\t\tval.setNumber(1);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"{\n\n\t\t\t\t// それぞれのアルファベットについて\n\t\t\t\tfor (alphabet val : alpha_beans) {\n\n\t\t\t\t\t// 入力文字の一文字ずつとアルファベットの文字(大文字も小文字は区別しない)が一致したら\n\t\t\t\t\tif (val.getString().equals(\n\t\t\t\t\t\t\tString.valueOf(ch[i]).toLowerCase())) {\n\t\t\t\t\t\t// 一致したアルファベットの数字を増やす\n\t\t\t\t\t\tval.setNumber(1);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"for (alphabet val : alpha_beans) {\n\n\t\t\t\t\t// 入力文字の一文字ずつとアルファベットの文字(大文字も小文字は区別しない)が一致したら\n\t\t\t\t\tif (val.getString().equals(\n\t\t\t\t\t\t\tString.valueOf(ch[i]).toLowerCase())) {\n\t\t\t\t\t\t// 一致したアルファベットの数字を増やす\n\t\t\t\t\t\tval.setNumber(1);\n\n\t\t\t\t\t}\n\t\t\t\t}",
"alphabet val",
"alpha_beans",
"{\n\n\t\t\t\t\t// 入力文字の一文字ずつとアルファベットの文字(大文字も小文字は区別しない)が一致したら\n\t\t\t\t\tif (val.getString().equals(\n\t\t\t\t\t\t\tString.valueOf(ch[i]).toLowerCase())) {\n\t\t\t\t\t\t// 一致したアルファベットの数字を増やす\n\t\t\t\t\t\tval.setNumber(1);\n\n\t\t\t\t\t}\n\t\t\t\t}",
"{\n\n\t\t\t\t\t// 入力文字の一文字ずつとアルファベットの文字(大文字も小文字は区別しない)が一致したら\n\t\t\t\t\tif (val.getString().equals(\n\t\t\t\t\t\t\tString.valueOf(ch[i]).toLowerCase())) {\n\t\t\t\t\t\t// 一致したアルファベットの数字を増やす\n\t\t\t\t\t\tval.setNumber(1);\n\n\t\t\t\t\t}\n\t\t\t\t}",
"if (val.getString().equals(\n\t\t\t\t\t\t\tString.valueOf(ch[i]).toLowerCase())) {\n\t\t\t\t\t\t// 一致したアルファベットの数字を増やす\n\t\t\t\t\t\tval.setNumber(1);\n\n\t\t\t\t\t}",
"val.getString().equals(\n\t\t\t\t\t\t\tString.valueOf(ch[i]).toLowerCase())",
"val.getString().equals",
"val.getString()",
"val.getString",
"val",
"String.valueOf(ch[i]).toLowerCase()",
"String.valueOf(ch[i]).toLowerCase",
"String.valueOf(ch[i])",
"String.valueOf",
"String",
"ch[i]",
"ch",
"i",
"{\n\t\t\t\t\t\t// 一致したアルファベットの数字を増やす\n\t\t\t\t\t\tval.setNumber(1);\n\n\t\t\t\t\t}",
"val.setNumber(1)",
"val.setNumber",
"val",
"1",
"for (alphabet val : alpha_beans) {\n\t\t\t//\n\t\t\tSystem.out.println(val.getString() + \" : \" + val.getNumber());\n\t\t}",
"alphabet val",
"alpha_beans",
"{\n\t\t\t//\n\t\t\tSystem.out.println(val.getString() + \" : \" + val.getNumber());\n\t\t}",
"{\n\t\t\t//\n\t\t\tSystem.out.println(val.getString() + \" : \" + val.getNumber());\n\t\t}",
"System.out.println(val.getString() + \" : \" + val.getNumber())",
"System.out.println",
"System.out",
"System",
"System.out",
"val.getString() + \" : \" + val.getNumber()",
"val.getString() + \" : \" + val.getNumber()",
"val.getString()",
"val.getString",
"val",
"\" : \"",
"val.getNumber()",
"val.getNumber",
"val",
"String[] args",
"args",
"class alphabet {\n\t//\n\tprivate int number = 0;\n\tprivate String alphabet = \"\";\n\n\t// コンストラクタ\n\talphabet(String a) {\n\t\talphabet = a;\n\t}\n\n\t// セッター\n\tpublic void setNumber(int n) {\n\t\tnumber = n + number;\n\t}\n\n\t// ゲッター\n\tpublic int getNumber() {\n\t\treturn number;\n\t}\n\n\tpublic String getString() {\n\t\treturn alphabet;\n\t}\n}",
"alphabet",
"//\n\tprivate int number = 0;",
"number",
"0",
"private String alphabet = \"\";",
"alphabet",
"\"\"",
"// コンストラクタ\n\talphabet(String a) {\n\t\talphabet = a;\n\t}",
"alphabet",
"{\n\t\talphabet = a;\n\t}",
"alphabet = a",
"alphabet",
"a",
"String a",
"a",
"// セッター\n\tpublic void setNumber(int n) {\n\t\tnumber = n + number;\n\t}",
"setNumber",
"{\n\t\tnumber = n + number;\n\t}",
"number = n + number",
"number",
"n + number",
"n",
"number",
"int n",
"n",
"// ゲッター\n\tpublic int getNumber() {\n\t\treturn number;\n\t}",
"getNumber",
"{\n\t\treturn number;\n\t}",
"return number;",
"number",
"public String getString() {\n\t\treturn alphabet;\n\t}",
"getString",
"{\n\t\treturn alphabet;\n\t}",
"return alphabet;",
"alphabet",
"public class Main\n{\n\n\t// アルファベットの配列\n\tpublic static String[] alphabet_all = { \"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\",\n\t\t\t\"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\",\n\t\t\t\"u\", \"v\", \"w\", \"x\", \"y\", \"z\" };\n\n\tpublic static void main(String[] args) {\n\n\t\t// アルファベットbeanのリスト\n\t\tArrayList<alphabet> alpha_beans = new ArrayList<alphabet>();\n\t\t// 各アルファベットのbeanを作る\n\t\tfor (String val : alphabet_all) {\n\t\t\t//\n\t\t\talphabet hoge = new alphabet(val);\n\t\t\talpha_beans.add(hoge);\n\t\t}\n\n\t\t// ファイル入力\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()) {\n\t\t\tString input_sentence = sc.nextLine();\n\n\t\t\t// 入力文字を1文字ずつに変換\n\t\t\tchar ch[] = input_sentence.toCharArray();\n\n\t\t\t// 入力文字列がある分、まわす\n\t\t\tfor (int i = 0; i < ch.length; i++) {\n\n\t\t\t\t// それぞれのアルファベットについて\n\t\t\t\tfor (alphabet val : alpha_beans) {\n\n\t\t\t\t\t// 入力文字の一文字ずつとアルファベットの文字(大文字も小文字は区別しない)が一致したら\n\t\t\t\t\tif (val.getString().equals(\n\t\t\t\t\t\t\tString.valueOf(ch[i]).toLowerCase())) {\n\t\t\t\t\t\t// 一致したアルファベットの数字を増やす\n\t\t\t\t\t\tval.setNumber(1);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// 出力\n\t\tfor (alphabet val : alpha_beans) {\n\t\t\t//\n\t\t\tSystem.out.println(val.getString() + \" : \" + val.getNumber());\n\t\t}\n\t}\n}",
"public class Main\n{\n\n\t// アルファベットの配列\n\tpublic static String[] alphabet_all = { \"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\",\n\t\t\t\"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\",\n\t\t\t\"u\", \"v\", \"w\", \"x\", \"y\", \"z\" };\n\n\tpublic static void main(String[] args) {\n\n\t\t// アルファベットbeanのリスト\n\t\tArrayList<alphabet> alpha_beans = new ArrayList<alphabet>();\n\t\t// 各アルファベットのbeanを作る\n\t\tfor (String val : alphabet_all) {\n\t\t\t//\n\t\t\talphabet hoge = new alphabet(val);\n\t\t\talpha_beans.add(hoge);\n\t\t}\n\n\t\t// ファイル入力\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()) {\n\t\t\tString input_sentence = sc.nextLine();\n\n\t\t\t// 入力文字を1文字ずつに変換\n\t\t\tchar ch[] = input_sentence.toCharArray();\n\n\t\t\t// 入力文字列がある分、まわす\n\t\t\tfor (int i = 0; i < ch.length; i++) {\n\n\t\t\t\t// それぞれのアルファベットについて\n\t\t\t\tfor (alphabet val : alpha_beans) {\n\n\t\t\t\t\t// 入力文字の一文字ずつとアルファベットの文字(大文字も小文字は区別しない)が一致したら\n\t\t\t\t\tif (val.getString().equals(\n\t\t\t\t\t\t\tString.valueOf(ch[i]).toLowerCase())) {\n\t\t\t\t\t\t// 一致したアルファベットの数字を増やす\n\t\t\t\t\t\tval.setNumber(1);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// 出力\n\t\tfor (alphabet val : alpha_beans) {\n\t\t\t//\n\t\t\tSystem.out.println(val.getString() + \" : \" + val.getNumber());\n\t\t}\n\t}\n}",
"Main"
]
|
import java.util.ArrayList;
import java.util.Scanner;
public class Main
{
// アルファベットの配列
public static String[] alphabet_all = { "a", "b", "c", "d", "e", "f", "g",
"h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t",
"u", "v", "w", "x", "y", "z" };
public static void main(String[] args) {
// アルファベットbeanのリスト
ArrayList<alphabet> alpha_beans = new ArrayList<alphabet>();
// 各アルファベットのbeanを作る
for (String val : alphabet_all) {
//
alphabet hoge = new alphabet(val);
alpha_beans.add(hoge);
}
// ファイル入力
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
String input_sentence = sc.nextLine();
// 入力文字を1文字ずつに変換
char ch[] = input_sentence.toCharArray();
// 入力文字列がある分、まわす
for (int i = 0; i < ch.length; i++) {
// それぞれのアルファベットについて
for (alphabet val : alpha_beans) {
// 入力文字の一文字ずつとアルファベットの文字(大文字も小文字は区別しない)が一致したら
if (val.getString().equals(
String.valueOf(ch[i]).toLowerCase())) {
// 一致したアルファベットの数字を増やす
val.setNumber(1);
}
}
}
}
// 出力
for (alphabet val : alpha_beans) {
//
System.out.println(val.getString() + " : " + val.getNumber());
}
}
}
// 各アルファベットクラス
class alphabet {
//
private int number = 0;
private String alphabet = "";
// コンストラクタ
alphabet(String a) {
alphabet = a;
}
// セッター
public void setNumber(int n) {
number = n + number;
}
// ゲッター
public int getNumber() {
return number;
}
public String getString() {
return alphabet;
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
18,
13,
13,
30,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
17,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
116,
5
],
[
116,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
33,
35
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
39,
49
],
[
49,
50
],
[
50,
51
],
[
39,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
54,
64
],
[
64,
65
],
[
65,
66
],
[
54,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
69,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
83,
93
],
[
93,
94
],
[
94,
95
],
[
83,
96
],
[
97,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
103,
107
],
[
107,
108
],
[
107,
109
],
[
103,
110
],
[
110,
111
],
[
110,
112
],
[
6,
113
],
[
113,
114
],
[
0,
115
],
[
115,
116
],
[
115,
117
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String... args) {\n Scanner sc = new Scanner(System.in);\n String str = \"\";\n\n while(sc.hasNext()) {\n \tstr += sc.nextLine();\n }\n str = str.toLowerCase();\n\n char[] alphabet = new char[] {'a','b','c','d','e','f','g','h','i','j','k',\n \t\t\t\t\t\t\t 'l','m','n','o','p','q','r','s','t','u','v',\n \t\t\t\t\t\t\t 'w','x','y','z'};\n\n int[] ans = new int[alphabet.length];\n\n for(int i = 0; i < str.length(); ++i) {\n \tfor(int j = 0; j < alphabet.length; j++) {\n \t\tif(str.charAt(i) == alphabet[j]) {\n \t\t\tans[j]++;\n \t\t}\n \t}\n }\n\n for(int i = 0; i < alphabet.length; i++) {\n \tSystem.out.println(String.format(\"%s : %d\", alphabet[i], ans[i]));\n }\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String... args) {\n Scanner sc = new Scanner(System.in);\n String str = \"\";\n\n while(sc.hasNext()) {\n \tstr += sc.nextLine();\n }\n str = str.toLowerCase();\n\n char[] alphabet = new char[] {'a','b','c','d','e','f','g','h','i','j','k',\n \t\t\t\t\t\t\t 'l','m','n','o','p','q','r','s','t','u','v',\n \t\t\t\t\t\t\t 'w','x','y','z'};\n\n int[] ans = new int[alphabet.length];\n\n for(int i = 0; i < str.length(); ++i) {\n \tfor(int j = 0; j < alphabet.length; j++) {\n \t\tif(str.charAt(i) == alphabet[j]) {\n \t\t\tans[j]++;\n \t\t}\n \t}\n }\n\n for(int i = 0; i < alphabet.length; i++) {\n \tSystem.out.println(String.format(\"%s : %d\", alphabet[i], ans[i]));\n }\n\n }\n}",
"Main",
"public static void main(String... args) {\n Scanner sc = new Scanner(System.in);\n String str = \"\";\n\n while(sc.hasNext()) {\n \tstr += sc.nextLine();\n }\n str = str.toLowerCase();\n\n char[] alphabet = new char[] {'a','b','c','d','e','f','g','h','i','j','k',\n \t\t\t\t\t\t\t 'l','m','n','o','p','q','r','s','t','u','v',\n \t\t\t\t\t\t\t 'w','x','y','z'};\n\n int[] ans = new int[alphabet.length];\n\n for(int i = 0; i < str.length(); ++i) {\n \tfor(int j = 0; j < alphabet.length; j++) {\n \t\tif(str.charAt(i) == alphabet[j]) {\n \t\t\tans[j]++;\n \t\t}\n \t}\n }\n\n for(int i = 0; i < alphabet.length; i++) {\n \tSystem.out.println(String.format(\"%s : %d\", alphabet[i], ans[i]));\n }\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String str = \"\";\n\n while(sc.hasNext()) {\n \tstr += sc.nextLine();\n }\n str = str.toLowerCase();\n\n char[] alphabet = new char[] {'a','b','c','d','e','f','g','h','i','j','k',\n \t\t\t\t\t\t\t 'l','m','n','o','p','q','r','s','t','u','v',\n \t\t\t\t\t\t\t 'w','x','y','z'};\n\n int[] ans = new int[alphabet.length];\n\n for(int i = 0; i < str.length(); ++i) {\n \tfor(int j = 0; j < alphabet.length; j++) {\n \t\tif(str.charAt(i) == alphabet[j]) {\n \t\t\tans[j]++;\n \t\t}\n \t}\n }\n\n for(int i = 0; i < alphabet.length; i++) {\n \tSystem.out.println(String.format(\"%s : %d\", alphabet[i], ans[i]));\n }\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str = \"\";",
"str",
"\"\"",
"while(sc.hasNext()) {\n \tstr += sc.nextLine();\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n \tstr += sc.nextLine();\n }",
"str += sc.nextLine()",
"str",
"sc.nextLine()",
"sc.nextLine",
"sc",
"str = str.toLowerCase()",
"str",
"str.toLowerCase()",
"str.toLowerCase",
"str",
"char[] alphabet = new char[] {'a','b','c','d','e','f','g','h','i','j','k',\n \t\t\t\t\t\t\t 'l','m','n','o','p','q','r','s','t','u','v',\n \t\t\t\t\t\t\t 'w','x','y','z'};",
"alphabet",
"new char[] {'a','b','c','d','e','f','g','h','i','j','k',\n \t\t\t\t\t\t\t 'l','m','n','o','p','q','r','s','t','u','v',\n \t\t\t\t\t\t\t 'w','x','y','z'}",
"int[] ans = new int[alphabet.length];",
"ans",
"new int[alphabet.length]",
"alphabet.length",
"alphabet",
"alphabet.length",
"for(int i = 0; i < str.length(); ++i) {\n \tfor(int j = 0; j < alphabet.length; j++) {\n \t\tif(str.charAt(i) == alphabet[j]) {\n \t\t\tans[j]++;\n \t\t}\n \t}\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str.length()",
"i",
"str.length()",
"str.length",
"str",
"++i",
"++i",
"i",
"{\n \tfor(int j = 0; j < alphabet.length; j++) {\n \t\tif(str.charAt(i) == alphabet[j]) {\n \t\t\tans[j]++;\n \t\t}\n \t}\n }",
"{\n \tfor(int j = 0; j < alphabet.length; j++) {\n \t\tif(str.charAt(i) == alphabet[j]) {\n \t\t\tans[j]++;\n \t\t}\n \t}\n }",
"for(int j = 0; j < alphabet.length; j++) {\n \t\tif(str.charAt(i) == alphabet[j]) {\n \t\t\tans[j]++;\n \t\t}\n \t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < alphabet.length",
"j",
"alphabet.length",
"alphabet",
"alphabet.length",
"j++",
"j++",
"j",
"{\n \t\tif(str.charAt(i) == alphabet[j]) {\n \t\t\tans[j]++;\n \t\t}\n \t}",
"{\n \t\tif(str.charAt(i) == alphabet[j]) {\n \t\t\tans[j]++;\n \t\t}\n \t}",
"if(str.charAt(i) == alphabet[j]) {\n \t\t\tans[j]++;\n \t\t}",
"str.charAt(i) == alphabet[j]",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"alphabet[j]",
"alphabet",
"j",
"{\n \t\t\tans[j]++;\n \t\t}",
"ans[j]++",
"ans[j]",
"ans",
"j",
"for(int i = 0; i < alphabet.length; i++) {\n \tSystem.out.println(String.format(\"%s : %d\", alphabet[i], ans[i]));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < alphabet.length",
"i",
"alphabet.length",
"alphabet",
"alphabet.length",
"i++",
"i++",
"i",
"{\n \tSystem.out.println(String.format(\"%s : %d\", alphabet[i], ans[i]));\n }",
"{\n \tSystem.out.println(String.format(\"%s : %d\", alphabet[i], ans[i]));\n }",
"System.out.println(String.format(\"%s : %d\", alphabet[i], ans[i]))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%s : %d\", alphabet[i], ans[i])",
"String.format",
"String",
"\"%s : %d\"",
"alphabet[i]",
"alphabet",
"i",
"ans[i]",
"ans",
"i",
"String... args",
"args",
"public class Main {\n public static void main(String... args) {\n Scanner sc = new Scanner(System.in);\n String str = \"\";\n\n while(sc.hasNext()) {\n \tstr += sc.nextLine();\n }\n str = str.toLowerCase();\n\n char[] alphabet = new char[] {'a','b','c','d','e','f','g','h','i','j','k',\n \t\t\t\t\t\t\t 'l','m','n','o','p','q','r','s','t','u','v',\n \t\t\t\t\t\t\t 'w','x','y','z'};\n\n int[] ans = new int[alphabet.length];\n\n for(int i = 0; i < str.length(); ++i) {\n \tfor(int j = 0; j < alphabet.length; j++) {\n \t\tif(str.charAt(i) == alphabet[j]) {\n \t\t\tans[j]++;\n \t\t}\n \t}\n }\n\n for(int i = 0; i < alphabet.length; i++) {\n \tSystem.out.println(String.format(\"%s : %d\", alphabet[i], ans[i]));\n }\n\n }\n}",
"public class Main {\n public static void main(String... args) {\n Scanner sc = new Scanner(System.in);\n String str = \"\";\n\n while(sc.hasNext()) {\n \tstr += sc.nextLine();\n }\n str = str.toLowerCase();\n\n char[] alphabet = new char[] {'a','b','c','d','e','f','g','h','i','j','k',\n \t\t\t\t\t\t\t 'l','m','n','o','p','q','r','s','t','u','v',\n \t\t\t\t\t\t\t 'w','x','y','z'};\n\n int[] ans = new int[alphabet.length];\n\n for(int i = 0; i < str.length(); ++i) {\n \tfor(int j = 0; j < alphabet.length; j++) {\n \t\tif(str.charAt(i) == alphabet[j]) {\n \t\t\tans[j]++;\n \t\t}\n \t}\n }\n\n for(int i = 0; i < alphabet.length; i++) {\n \tSystem.out.println(String.format(\"%s : %d\", alphabet[i], ans[i]));\n }\n\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String... args) {
Scanner sc = new Scanner(System.in);
String str = "";
while(sc.hasNext()) {
str += sc.nextLine();
}
str = str.toLowerCase();
char[] alphabet = new char[] {'a','b','c','d','e','f','g','h','i','j','k',
'l','m','n','o','p','q','r','s','t','u','v',
'w','x','y','z'};
int[] ans = new int[alphabet.length];
for(int i = 0; i < str.length(); ++i) {
for(int j = 0; j < alphabet.length; j++) {
if(str.charAt(i) == alphabet[j]) {
ans[j]++;
}
}
}
for(int i = 0; i < alphabet.length; i++) {
System.out.println(String.format("%s : %d", alphabet[i], ans[i]));
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
13,
4,
18,
13,
13,
30,
0,
18,
13,
13,
4,
18,
13,
13,
2,
13,
17,
0,
18,
13,
13,
4,
18,
18,
13,
13,
30,
0,
18,
13,
13,
4,
18,
13,
13,
2,
13,
17,
35,
18,
13,
13,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
1,
3,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
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,
19
],
[
19,
20
],
[
19,
21
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
30,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
30,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
67,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
59,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
93,
97
],
[
97,
98
],
[
97,
99
],
[
58,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
100,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
100,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
122,
127
],
[
100,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
130,
135
],
[
100,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
138,
143
],
[
100,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
146,
151
],
[
100,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
154,
159
],
[
100,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
162,
167
],
[
100,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
170,
175
],
[
100,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
178,
183
],
[
100,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
186,
191
],
[
100,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
194,
199
],
[
100,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
202,
207
],
[
100,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
210,
215
],
[
100,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
218,
223
],
[
100,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
226,
231
],
[
100,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
234,
239
],
[
100,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
242,
247
],
[
100,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
250,
255
],
[
100,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
258,
263
],
[
100,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
267,
268
],
[
268,
269
],
[
268,
270
],
[
266,
271
],
[
100,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
274,
279
],
[
100,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
283,
284
],
[
284,
285
],
[
284,
286
],
[
282,
287
],
[
100,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
291,
292
],
[
292,
293
],
[
292,
294
],
[
290,
295
],
[
100,
296
],
[
296,
297
],
[
296,
298
],
[
298,
299
],
[
299,
300
],
[
300,
301
],
[
300,
302
],
[
298,
303
],
[
100,
304
],
[
304,
305
],
[
304,
306
],
[
306,
307
],
[
307,
308
],
[
308,
309
],
[
308,
310
],
[
306,
311
],
[
100,
312
],
[
312,
313
],
[
313,
314
],
[
11,
315
],
[
315,
316
],
[
316,
317
],
[
317,
318
],
[
317,
319
],
[
315,
320
],
[
320,
321
],
[
320,
322
],
[
322,
323
],
[
322,
324
],
[
11,
325
],
[
325,
326
],
[
326,
327
],
[
327,
328
],
[
327,
329
],
[
325,
330
],
[
330,
331
],
[
330,
332
],
[
332,
333
],
[
332,
334
],
[
11,
335
],
[
335,
336
],
[
336,
337
],
[
337,
338
],
[
337,
339
],
[
335,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
342,
344
],
[
11,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
347,
349
],
[
345,
350
],
[
350,
351
],
[
350,
352
],
[
352,
353
],
[
352,
354
],
[
11,
355
],
[
355,
356
],
[
356,
357
],
[
357,
358
],
[
357,
359
],
[
355,
360
],
[
360,
361
],
[
360,
362
],
[
362,
363
],
[
362,
364
],
[
11,
365
],
[
365,
366
],
[
366,
367
],
[
367,
368
],
[
367,
369
],
[
365,
370
],
[
370,
371
],
[
370,
372
],
[
372,
373
],
[
372,
374
],
[
11,
375
],
[
375,
376
],
[
376,
377
],
[
377,
378
],
[
377,
379
],
[
375,
380
],
[
380,
381
],
[
380,
382
],
[
382,
383
],
[
382,
384
],
[
11,
385
],
[
385,
386
],
[
386,
387
],
[
387,
388
],
[
387,
389
],
[
385,
390
],
[
390,
391
],
[
390,
392
],
[
392,
393
],
[
392,
394
],
[
11,
395
],
[
395,
396
],
[
396,
397
],
[
397,
398
],
[
397,
399
],
[
395,
400
],
[
400,
401
],
[
400,
402
],
[
402,
403
],
[
402,
404
],
[
11,
405
],
[
405,
406
],
[
406,
407
],
[
407,
408
],
[
407,
409
],
[
405,
410
],
[
410,
411
],
[
410,
412
],
[
412,
413
],
[
412,
414
],
[
11,
415
],
[
415,
416
],
[
416,
417
],
[
417,
418
],
[
417,
419
],
[
415,
420
],
[
420,
421
],
[
420,
422
],
[
422,
423
],
[
422,
424
],
[
11,
425
],
[
425,
426
],
[
426,
427
],
[
427,
428
],
[
427,
429
],
[
425,
430
],
[
430,
431
],
[
430,
432
],
[
432,
433
],
[
432,
434
],
[
11,
435
],
[
435,
436
],
[
436,
437
],
[
437,
438
],
[
437,
439
],
[
435,
440
],
[
440,
441
],
[
440,
442
],
[
442,
443
],
[
442,
444
],
[
11,
445
],
[
445,
446
],
[
446,
447
],
[
447,
448
],
[
447,
449
],
[
445,
450
],
[
450,
451
],
[
450,
452
],
[
452,
453
],
[
452,
454
],
[
11,
455
],
[
455,
456
],
[
456,
457
],
[
457,
458
],
[
457,
459
],
[
455,
460
],
[
460,
461
],
[
460,
462
],
[
462,
463
],
[
462,
464
],
[
11,
465
],
[
465,
466
],
[
466,
467
],
[
467,
468
],
[
467,
469
],
[
465,
470
],
[
470,
471
],
[
470,
472
],
[
472,
473
],
[
472,
474
],
[
11,
475
],
[
475,
476
],
[
476,
477
],
[
477,
478
],
[
477,
479
],
[
475,
480
],
[
480,
481
],
[
480,
482
],
[
482,
483
],
[
482,
484
],
[
11,
485
],
[
485,
486
],
[
486,
487
],
[
487,
488
],
[
487,
489
],
[
485,
490
],
[
490,
491
],
[
490,
492
],
[
492,
493
],
[
492,
494
],
[
11,
495
],
[
495,
496
],
[
496,
497
],
[
497,
498
],
[
497,
499
],
[
495,
500
],
[
500,
501
],
[
500,
502
],
[
502,
503
],
[
502,
504
],
[
11,
505
],
[
505,
506
],
[
506,
507
],
[
507,
508
],
[
507,
509
],
[
505,
510
],
[
510,
511
],
[
510,
512
],
[
512,
513
],
[
512,
514
],
[
11,
515
],
[
515,
516
],
[
516,
517
],
[
517,
518
],
[
517,
519
],
[
515,
520
],
[
520,
521
],
[
520,
522
],
[
522,
523
],
[
522,
524
],
[
11,
525
],
[
525,
526
],
[
526,
527
],
[
527,
528
],
[
527,
529
],
[
525,
530
],
[
530,
531
],
[
530,
532
],
[
532,
533
],
[
532,
534
],
[
11,
535
],
[
535,
536
],
[
536,
537
],
[
537,
538
],
[
537,
539
],
[
535,
540
],
[
540,
541
],
[
540,
542
],
[
542,
543
],
[
542,
544
],
[
11,
545
],
[
545,
546
],
[
546,
547
],
[
547,
548
],
[
547,
549
],
[
545,
550
],
[
550,
551
],
[
550,
552
],
[
552,
553
],
[
552,
554
],
[
11,
555
],
[
555,
556
],
[
556,
557
],
[
557,
558
],
[
557,
559
],
[
555,
560
],
[
560,
561
],
[
560,
562
],
[
562,
563
],
[
562,
564
],
[
11,
565
],
[
565,
566
],
[
566,
567
],
[
567,
568
],
[
567,
569
],
[
565,
570
],
[
570,
571
],
[
570,
572
],
[
572,
573
],
[
572,
574
],
[
11,
575
],
[
575,
576
],
[
576,
577
],
[
9,
578
],
[
578,
579
]
]
| [
"import java.util.Scanner;\nimport java.awt.event.KeyEvent;\n\nclass Main {\n public static void main(String args[]) {\n\t \tScanner scanner = new Scanner(System.in);\n\t \tString box[] = new String[1200];\n\t \tint con[] = new int[30];\n\t\tint num = 0;\n\t\t\n\t\twhile(scanner.hasNext()) {\n\t\t\tString str = scanner.nextLine();\t\t\t//入力\n\t\t\t\tif(str == null)\n\t\t\t\t\tbreak;\n\t\t\t\tnum = str.length();\t\t//文字数取得\n\t\t\t\t\n\t\t\t\t//文字数計算\n\t\t\t\tfor(int i = 0; i < num ;i ++) {\n\t\t\t\t if( Character.isUpperCase( str.charAt( i ) ) ) {\n\t\t\t \t\t\tbox[i] = str.substring(i,i + 1);\n\t\t\t \t\t\tbox[i] = box[i].toLowerCase();\n\t\t\t\t\t}else{\n\t\t\t\t \tbox[i] = str.substring(i,i + 1);\n\t\t\t\t }\n\t\t\t\t switch(box[i]){\n\t\t\t\t case \"a\":\n\t\t\t\t \tcon[0] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"b\":\n\t\t\t\t \tcon[1] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"c\":\n\t\t\t\t \tcon[2] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"d\":\n\t\t\t\t \tcon[3] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"e\":\n\t\t\t\t \tcon[4] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"f\":\n\t\t\t\t \tcon[5] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"g\":\n\t\t\t\t \tcon[6] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"h\":\n\t\t\t\t \tcon[7] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"i\":\n\t\t\t\t \tcon[8] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"j\":\n\t\t\t\t \tcon[9] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"k\":\n\t\t\t\t \tcon[10] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"l\":\n\t\t\t\t \tcon[11] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"m\":\n\t\t\t\t \tcon[12] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"n\":\n\t\t\t\t \tcon[13] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"o\":\n\t\t\t\t \tcon[14] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"p\":\n\t\t\t\t \tcon[15] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"q\":\n\t\t\t\t \tcon[16] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"r\":\n\t\t\t\t \tcon[17] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"s\":\n\t\t\t\t \tcon[18] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"t\":\n\t\t\t\t \tcon[19] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"u\":\n\t\t\t\t \tcon[20] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"v\":\n\t\t\t\t \tcon[21] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"w\":\n\t\t\t\t \tcon[22] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"x\":\n\t\t\t\t \tcon[23] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"y\":\n\t\t\t\t \tcon[24] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"z\":\n\t\t\t\t \tcon[25] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t default:\n\t\t\t\t \tbreak;\n\t\t\t\t }\n\t\t\t\t}\n\t\t}\n\t\t//出力\n\t\tSystem.out.println(\"a : \" + con[0]);\n\t\tSystem.out.println(\"b : \" + con[1]);\n\t\tSystem.out.println(\"c : \" + con[2]);\n\t\tSystem.out.println(\"d : \" + con[3]);\n\t\tSystem.out.println(\"e : \" + con[4]);\n\t\tSystem.out.println(\"f : \" + con[5]);\n\t\tSystem.out.println(\"g : \" + con[6]);\n\t\tSystem.out.println(\"h : \" + con[7]);\n\t\tSystem.out.println(\"i : \" + con[8]);\n\t\tSystem.out.println(\"j : \" + con[9]);\n\t\tSystem.out.println(\"k : \" + con[10]);\n\t\tSystem.out.println(\"l : \" + con[11]);\n\t\tSystem.out.println(\"m : \" + con[12]);\n\t\tSystem.out.println(\"n : \" + con[13]);\n\t\tSystem.out.println(\"o : \" + con[14]);\n\t\tSystem.out.println(\"p : \" + con[15]);\n\t\tSystem.out.println(\"q : \" + con[16]);\n\t\tSystem.out.println(\"r : \" + con[17]);\n\t\tSystem.out.println(\"s : \" + con[18]);\n\t\tSystem.out.println(\"t : \" + con[19]);\n\t\tSystem.out.println(\"u : \" + con[20]);\n\t\tSystem.out.println(\"v : \" + con[21]);\n\t\tSystem.out.println(\"w : \" + con[22]);\n\t\tSystem.out.println(\"x : \" + con[23]);\n\t\tSystem.out.println(\"y : \" + con[24]);\n\t\tSystem.out.println(\"z : \" + con[25]);\n\t\t\n\t\tscanner.close();\n }\n \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.awt.event.KeyEvent;",
"KeyEvent",
"java.awt.event",
"class Main {\n public static void main(String args[]) {\n\t \tScanner scanner = new Scanner(System.in);\n\t \tString box[] = new String[1200];\n\t \tint con[] = new int[30];\n\t\tint num = 0;\n\t\t\n\t\twhile(scanner.hasNext()) {\n\t\t\tString str = scanner.nextLine();\t\t\t//入力\n\t\t\t\tif(str == null)\n\t\t\t\t\tbreak;\n\t\t\t\tnum = str.length();\t\t//文字数取得\n\t\t\t\t\n\t\t\t\t//文字数計算\n\t\t\t\tfor(int i = 0; i < num ;i ++) {\n\t\t\t\t if( Character.isUpperCase( str.charAt( i ) ) ) {\n\t\t\t \t\t\tbox[i] = str.substring(i,i + 1);\n\t\t\t \t\t\tbox[i] = box[i].toLowerCase();\n\t\t\t\t\t}else{\n\t\t\t\t \tbox[i] = str.substring(i,i + 1);\n\t\t\t\t }\n\t\t\t\t switch(box[i]){\n\t\t\t\t case \"a\":\n\t\t\t\t \tcon[0] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"b\":\n\t\t\t\t \tcon[1] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"c\":\n\t\t\t\t \tcon[2] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"d\":\n\t\t\t\t \tcon[3] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"e\":\n\t\t\t\t \tcon[4] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"f\":\n\t\t\t\t \tcon[5] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"g\":\n\t\t\t\t \tcon[6] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"h\":\n\t\t\t\t \tcon[7] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"i\":\n\t\t\t\t \tcon[8] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"j\":\n\t\t\t\t \tcon[9] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"k\":\n\t\t\t\t \tcon[10] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"l\":\n\t\t\t\t \tcon[11] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"m\":\n\t\t\t\t \tcon[12] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"n\":\n\t\t\t\t \tcon[13] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"o\":\n\t\t\t\t \tcon[14] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"p\":\n\t\t\t\t \tcon[15] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"q\":\n\t\t\t\t \tcon[16] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"r\":\n\t\t\t\t \tcon[17] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"s\":\n\t\t\t\t \tcon[18] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"t\":\n\t\t\t\t \tcon[19] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"u\":\n\t\t\t\t \tcon[20] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"v\":\n\t\t\t\t \tcon[21] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"w\":\n\t\t\t\t \tcon[22] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"x\":\n\t\t\t\t \tcon[23] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"y\":\n\t\t\t\t \tcon[24] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"z\":\n\t\t\t\t \tcon[25] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t default:\n\t\t\t\t \tbreak;\n\t\t\t\t }\n\t\t\t\t}\n\t\t}\n\t\t//出力\n\t\tSystem.out.println(\"a : \" + con[0]);\n\t\tSystem.out.println(\"b : \" + con[1]);\n\t\tSystem.out.println(\"c : \" + con[2]);\n\t\tSystem.out.println(\"d : \" + con[3]);\n\t\tSystem.out.println(\"e : \" + con[4]);\n\t\tSystem.out.println(\"f : \" + con[5]);\n\t\tSystem.out.println(\"g : \" + con[6]);\n\t\tSystem.out.println(\"h : \" + con[7]);\n\t\tSystem.out.println(\"i : \" + con[8]);\n\t\tSystem.out.println(\"j : \" + con[9]);\n\t\tSystem.out.println(\"k : \" + con[10]);\n\t\tSystem.out.println(\"l : \" + con[11]);\n\t\tSystem.out.println(\"m : \" + con[12]);\n\t\tSystem.out.println(\"n : \" + con[13]);\n\t\tSystem.out.println(\"o : \" + con[14]);\n\t\tSystem.out.println(\"p : \" + con[15]);\n\t\tSystem.out.println(\"q : \" + con[16]);\n\t\tSystem.out.println(\"r : \" + con[17]);\n\t\tSystem.out.println(\"s : \" + con[18]);\n\t\tSystem.out.println(\"t : \" + con[19]);\n\t\tSystem.out.println(\"u : \" + con[20]);\n\t\tSystem.out.println(\"v : \" + con[21]);\n\t\tSystem.out.println(\"w : \" + con[22]);\n\t\tSystem.out.println(\"x : \" + con[23]);\n\t\tSystem.out.println(\"y : \" + con[24]);\n\t\tSystem.out.println(\"z : \" + con[25]);\n\t\t\n\t\tscanner.close();\n }\n \n}",
"Main",
"public static void main(String args[]) {\n\t \tScanner scanner = new Scanner(System.in);\n\t \tString box[] = new String[1200];\n\t \tint con[] = new int[30];\n\t\tint num = 0;\n\t\t\n\t\twhile(scanner.hasNext()) {\n\t\t\tString str = scanner.nextLine();\t\t\t//入力\n\t\t\t\tif(str == null)\n\t\t\t\t\tbreak;\n\t\t\t\tnum = str.length();\t\t//文字数取得\n\t\t\t\t\n\t\t\t\t//文字数計算\n\t\t\t\tfor(int i = 0; i < num ;i ++) {\n\t\t\t\t if( Character.isUpperCase( str.charAt( i ) ) ) {\n\t\t\t \t\t\tbox[i] = str.substring(i,i + 1);\n\t\t\t \t\t\tbox[i] = box[i].toLowerCase();\n\t\t\t\t\t}else{\n\t\t\t\t \tbox[i] = str.substring(i,i + 1);\n\t\t\t\t }\n\t\t\t\t switch(box[i]){\n\t\t\t\t case \"a\":\n\t\t\t\t \tcon[0] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"b\":\n\t\t\t\t \tcon[1] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"c\":\n\t\t\t\t \tcon[2] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"d\":\n\t\t\t\t \tcon[3] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"e\":\n\t\t\t\t \tcon[4] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"f\":\n\t\t\t\t \tcon[5] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"g\":\n\t\t\t\t \tcon[6] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"h\":\n\t\t\t\t \tcon[7] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"i\":\n\t\t\t\t \tcon[8] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"j\":\n\t\t\t\t \tcon[9] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"k\":\n\t\t\t\t \tcon[10] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"l\":\n\t\t\t\t \tcon[11] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"m\":\n\t\t\t\t \tcon[12] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"n\":\n\t\t\t\t \tcon[13] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"o\":\n\t\t\t\t \tcon[14] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"p\":\n\t\t\t\t \tcon[15] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"q\":\n\t\t\t\t \tcon[16] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"r\":\n\t\t\t\t \tcon[17] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"s\":\n\t\t\t\t \tcon[18] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"t\":\n\t\t\t\t \tcon[19] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"u\":\n\t\t\t\t \tcon[20] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"v\":\n\t\t\t\t \tcon[21] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"w\":\n\t\t\t\t \tcon[22] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"x\":\n\t\t\t\t \tcon[23] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"y\":\n\t\t\t\t \tcon[24] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"z\":\n\t\t\t\t \tcon[25] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t default:\n\t\t\t\t \tbreak;\n\t\t\t\t }\n\t\t\t\t}\n\t\t}\n\t\t//出力\n\t\tSystem.out.println(\"a : \" + con[0]);\n\t\tSystem.out.println(\"b : \" + con[1]);\n\t\tSystem.out.println(\"c : \" + con[2]);\n\t\tSystem.out.println(\"d : \" + con[3]);\n\t\tSystem.out.println(\"e : \" + con[4]);\n\t\tSystem.out.println(\"f : \" + con[5]);\n\t\tSystem.out.println(\"g : \" + con[6]);\n\t\tSystem.out.println(\"h : \" + con[7]);\n\t\tSystem.out.println(\"i : \" + con[8]);\n\t\tSystem.out.println(\"j : \" + con[9]);\n\t\tSystem.out.println(\"k : \" + con[10]);\n\t\tSystem.out.println(\"l : \" + con[11]);\n\t\tSystem.out.println(\"m : \" + con[12]);\n\t\tSystem.out.println(\"n : \" + con[13]);\n\t\tSystem.out.println(\"o : \" + con[14]);\n\t\tSystem.out.println(\"p : \" + con[15]);\n\t\tSystem.out.println(\"q : \" + con[16]);\n\t\tSystem.out.println(\"r : \" + con[17]);\n\t\tSystem.out.println(\"s : \" + con[18]);\n\t\tSystem.out.println(\"t : \" + con[19]);\n\t\tSystem.out.println(\"u : \" + con[20]);\n\t\tSystem.out.println(\"v : \" + con[21]);\n\t\tSystem.out.println(\"w : \" + con[22]);\n\t\tSystem.out.println(\"x : \" + con[23]);\n\t\tSystem.out.println(\"y : \" + con[24]);\n\t\tSystem.out.println(\"z : \" + con[25]);\n\t\t\n\t\tscanner.close();\n }",
"main",
"{\n\t \tScanner scanner = new Scanner(System.in);\n\t \tString box[] = new String[1200];\n\t \tint con[] = new int[30];\n\t\tint num = 0;\n\t\t\n\t\twhile(scanner.hasNext()) {\n\t\t\tString str = scanner.nextLine();\t\t\t//入力\n\t\t\t\tif(str == null)\n\t\t\t\t\tbreak;\n\t\t\t\tnum = str.length();\t\t//文字数取得\n\t\t\t\t\n\t\t\t\t//文字数計算\n\t\t\t\tfor(int i = 0; i < num ;i ++) {\n\t\t\t\t if( Character.isUpperCase( str.charAt( i ) ) ) {\n\t\t\t \t\t\tbox[i] = str.substring(i,i + 1);\n\t\t\t \t\t\tbox[i] = box[i].toLowerCase();\n\t\t\t\t\t}else{\n\t\t\t\t \tbox[i] = str.substring(i,i + 1);\n\t\t\t\t }\n\t\t\t\t switch(box[i]){\n\t\t\t\t case \"a\":\n\t\t\t\t \tcon[0] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"b\":\n\t\t\t\t \tcon[1] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"c\":\n\t\t\t\t \tcon[2] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"d\":\n\t\t\t\t \tcon[3] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"e\":\n\t\t\t\t \tcon[4] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"f\":\n\t\t\t\t \tcon[5] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"g\":\n\t\t\t\t \tcon[6] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"h\":\n\t\t\t\t \tcon[7] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"i\":\n\t\t\t\t \tcon[8] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"j\":\n\t\t\t\t \tcon[9] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"k\":\n\t\t\t\t \tcon[10] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"l\":\n\t\t\t\t \tcon[11] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"m\":\n\t\t\t\t \tcon[12] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"n\":\n\t\t\t\t \tcon[13] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"o\":\n\t\t\t\t \tcon[14] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"p\":\n\t\t\t\t \tcon[15] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"q\":\n\t\t\t\t \tcon[16] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"r\":\n\t\t\t\t \tcon[17] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"s\":\n\t\t\t\t \tcon[18] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"t\":\n\t\t\t\t \tcon[19] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"u\":\n\t\t\t\t \tcon[20] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"v\":\n\t\t\t\t \tcon[21] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"w\":\n\t\t\t\t \tcon[22] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"x\":\n\t\t\t\t \tcon[23] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"y\":\n\t\t\t\t \tcon[24] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"z\":\n\t\t\t\t \tcon[25] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t default:\n\t\t\t\t \tbreak;\n\t\t\t\t }\n\t\t\t\t}\n\t\t}\n\t\t//出力\n\t\tSystem.out.println(\"a : \" + con[0]);\n\t\tSystem.out.println(\"b : \" + con[1]);\n\t\tSystem.out.println(\"c : \" + con[2]);\n\t\tSystem.out.println(\"d : \" + con[3]);\n\t\tSystem.out.println(\"e : \" + con[4]);\n\t\tSystem.out.println(\"f : \" + con[5]);\n\t\tSystem.out.println(\"g : \" + con[6]);\n\t\tSystem.out.println(\"h : \" + con[7]);\n\t\tSystem.out.println(\"i : \" + con[8]);\n\t\tSystem.out.println(\"j : \" + con[9]);\n\t\tSystem.out.println(\"k : \" + con[10]);\n\t\tSystem.out.println(\"l : \" + con[11]);\n\t\tSystem.out.println(\"m : \" + con[12]);\n\t\tSystem.out.println(\"n : \" + con[13]);\n\t\tSystem.out.println(\"o : \" + con[14]);\n\t\tSystem.out.println(\"p : \" + con[15]);\n\t\tSystem.out.println(\"q : \" + con[16]);\n\t\tSystem.out.println(\"r : \" + con[17]);\n\t\tSystem.out.println(\"s : \" + con[18]);\n\t\tSystem.out.println(\"t : \" + con[19]);\n\t\tSystem.out.println(\"u : \" + con[20]);\n\t\tSystem.out.println(\"v : \" + con[21]);\n\t\tSystem.out.println(\"w : \" + con[22]);\n\t\tSystem.out.println(\"x : \" + con[23]);\n\t\tSystem.out.println(\"y : \" + con[24]);\n\t\tSystem.out.println(\"z : \" + con[25]);\n\t\t\n\t\tscanner.close();\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String box[] = new String[1200];",
"box",
"new String[1200]",
"1200",
"int con[] = new int[30];",
"con",
"new int[30]",
"30",
"int num = 0;",
"num",
"0",
"while(scanner.hasNext()) {\n\t\t\tString str = scanner.nextLine();\t\t\t//入力\n\t\t\t\tif(str == null)\n\t\t\t\t\tbreak;\n\t\t\t\tnum = str.length();\t\t//文字数取得\n\t\t\t\t\n\t\t\t\t//文字数計算\n\t\t\t\tfor(int i = 0; i < num ;i ++) {\n\t\t\t\t if( Character.isUpperCase( str.charAt( i ) ) ) {\n\t\t\t \t\t\tbox[i] = str.substring(i,i + 1);\n\t\t\t \t\t\tbox[i] = box[i].toLowerCase();\n\t\t\t\t\t}else{\n\t\t\t\t \tbox[i] = str.substring(i,i + 1);\n\t\t\t\t }\n\t\t\t\t switch(box[i]){\n\t\t\t\t case \"a\":\n\t\t\t\t \tcon[0] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"b\":\n\t\t\t\t \tcon[1] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"c\":\n\t\t\t\t \tcon[2] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"d\":\n\t\t\t\t \tcon[3] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"e\":\n\t\t\t\t \tcon[4] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"f\":\n\t\t\t\t \tcon[5] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"g\":\n\t\t\t\t \tcon[6] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"h\":\n\t\t\t\t \tcon[7] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"i\":\n\t\t\t\t \tcon[8] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"j\":\n\t\t\t\t \tcon[9] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"k\":\n\t\t\t\t \tcon[10] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"l\":\n\t\t\t\t \tcon[11] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"m\":\n\t\t\t\t \tcon[12] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"n\":\n\t\t\t\t \tcon[13] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"o\":\n\t\t\t\t \tcon[14] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"p\":\n\t\t\t\t \tcon[15] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"q\":\n\t\t\t\t \tcon[16] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"r\":\n\t\t\t\t \tcon[17] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"s\":\n\t\t\t\t \tcon[18] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"t\":\n\t\t\t\t \tcon[19] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"u\":\n\t\t\t\t \tcon[20] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"v\":\n\t\t\t\t \tcon[21] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"w\":\n\t\t\t\t \tcon[22] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"x\":\n\t\t\t\t \tcon[23] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"y\":\n\t\t\t\t \tcon[24] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"z\":\n\t\t\t\t \tcon[25] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t default:\n\t\t\t\t \tbreak;\n\t\t\t\t }\n\t\t\t\t}\n\t\t}",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n\t\t\tString str = scanner.nextLine();\t\t\t//入力\n\t\t\t\tif(str == null)\n\t\t\t\t\tbreak;\n\t\t\t\tnum = str.length();\t\t//文字数取得\n\t\t\t\t\n\t\t\t\t//文字数計算\n\t\t\t\tfor(int i = 0; i < num ;i ++) {\n\t\t\t\t if( Character.isUpperCase( str.charAt( i ) ) ) {\n\t\t\t \t\t\tbox[i] = str.substring(i,i + 1);\n\t\t\t \t\t\tbox[i] = box[i].toLowerCase();\n\t\t\t\t\t}else{\n\t\t\t\t \tbox[i] = str.substring(i,i + 1);\n\t\t\t\t }\n\t\t\t\t switch(box[i]){\n\t\t\t\t case \"a\":\n\t\t\t\t \tcon[0] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"b\":\n\t\t\t\t \tcon[1] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"c\":\n\t\t\t\t \tcon[2] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"d\":\n\t\t\t\t \tcon[3] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"e\":\n\t\t\t\t \tcon[4] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"f\":\n\t\t\t\t \tcon[5] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"g\":\n\t\t\t\t \tcon[6] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"h\":\n\t\t\t\t \tcon[7] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"i\":\n\t\t\t\t \tcon[8] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"j\":\n\t\t\t\t \tcon[9] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"k\":\n\t\t\t\t \tcon[10] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"l\":\n\t\t\t\t \tcon[11] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"m\":\n\t\t\t\t \tcon[12] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"n\":\n\t\t\t\t \tcon[13] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"o\":\n\t\t\t\t \tcon[14] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"p\":\n\t\t\t\t \tcon[15] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"q\":\n\t\t\t\t \tcon[16] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"r\":\n\t\t\t\t \tcon[17] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"s\":\n\t\t\t\t \tcon[18] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"t\":\n\t\t\t\t \tcon[19] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"u\":\n\t\t\t\t \tcon[20] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"v\":\n\t\t\t\t \tcon[21] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"w\":\n\t\t\t\t \tcon[22] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"x\":\n\t\t\t\t \tcon[23] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"y\":\n\t\t\t\t \tcon[24] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"z\":\n\t\t\t\t \tcon[25] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t default:\n\t\t\t\t \tbreak;\n\t\t\t\t }\n\t\t\t\t}\n\t\t}",
"String str = scanner.nextLine();",
"str",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"if(str == null)\n\t\t\t\t\tbreak;",
"str == null",
"str",
"null",
"break;",
"num = str.length()",
"num",
"str.length()",
"str.length",
"str",
"for(int i = 0; i < num ;i ++) {\n\t\t\t\t if( Character.isUpperCase( str.charAt( i ) ) ) {\n\t\t\t \t\t\tbox[i] = str.substring(i,i + 1);\n\t\t\t \t\t\tbox[i] = box[i].toLowerCase();\n\t\t\t\t\t}else{\n\t\t\t\t \tbox[i] = str.substring(i,i + 1);\n\t\t\t\t }\n\t\t\t\t switch(box[i]){\n\t\t\t\t case \"a\":\n\t\t\t\t \tcon[0] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"b\":\n\t\t\t\t \tcon[1] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"c\":\n\t\t\t\t \tcon[2] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"d\":\n\t\t\t\t \tcon[3] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"e\":\n\t\t\t\t \tcon[4] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"f\":\n\t\t\t\t \tcon[5] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"g\":\n\t\t\t\t \tcon[6] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"h\":\n\t\t\t\t \tcon[7] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"i\":\n\t\t\t\t \tcon[8] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"j\":\n\t\t\t\t \tcon[9] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"k\":\n\t\t\t\t \tcon[10] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"l\":\n\t\t\t\t \tcon[11] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"m\":\n\t\t\t\t \tcon[12] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"n\":\n\t\t\t\t \tcon[13] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"o\":\n\t\t\t\t \tcon[14] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"p\":\n\t\t\t\t \tcon[15] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"q\":\n\t\t\t\t \tcon[16] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"r\":\n\t\t\t\t \tcon[17] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"s\":\n\t\t\t\t \tcon[18] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"t\":\n\t\t\t\t \tcon[19] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"u\":\n\t\t\t\t \tcon[20] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"v\":\n\t\t\t\t \tcon[21] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"w\":\n\t\t\t\t \tcon[22] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"x\":\n\t\t\t\t \tcon[23] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"y\":\n\t\t\t\t \tcon[24] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"z\":\n\t\t\t\t \tcon[25] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t default:\n\t\t\t\t \tbreak;\n\t\t\t\t }\n\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < num",
"i",
"num",
"i ++",
"i ++",
"i",
"{\n\t\t\t\t if( Character.isUpperCase( str.charAt( i ) ) ) {\n\t\t\t \t\t\tbox[i] = str.substring(i,i + 1);\n\t\t\t \t\t\tbox[i] = box[i].toLowerCase();\n\t\t\t\t\t}else{\n\t\t\t\t \tbox[i] = str.substring(i,i + 1);\n\t\t\t\t }\n\t\t\t\t switch(box[i]){\n\t\t\t\t case \"a\":\n\t\t\t\t \tcon[0] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"b\":\n\t\t\t\t \tcon[1] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"c\":\n\t\t\t\t \tcon[2] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"d\":\n\t\t\t\t \tcon[3] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"e\":\n\t\t\t\t \tcon[4] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"f\":\n\t\t\t\t \tcon[5] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"g\":\n\t\t\t\t \tcon[6] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"h\":\n\t\t\t\t \tcon[7] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"i\":\n\t\t\t\t \tcon[8] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"j\":\n\t\t\t\t \tcon[9] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"k\":\n\t\t\t\t \tcon[10] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"l\":\n\t\t\t\t \tcon[11] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"m\":\n\t\t\t\t \tcon[12] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"n\":\n\t\t\t\t \tcon[13] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"o\":\n\t\t\t\t \tcon[14] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"p\":\n\t\t\t\t \tcon[15] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"q\":\n\t\t\t\t \tcon[16] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"r\":\n\t\t\t\t \tcon[17] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"s\":\n\t\t\t\t \tcon[18] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"t\":\n\t\t\t\t \tcon[19] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"u\":\n\t\t\t\t \tcon[20] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"v\":\n\t\t\t\t \tcon[21] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"w\":\n\t\t\t\t \tcon[22] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"x\":\n\t\t\t\t \tcon[23] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"y\":\n\t\t\t\t \tcon[24] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"z\":\n\t\t\t\t \tcon[25] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t default:\n\t\t\t\t \tbreak;\n\t\t\t\t }\n\t\t\t\t}",
"{\n\t\t\t\t if( Character.isUpperCase( str.charAt( i ) ) ) {\n\t\t\t \t\t\tbox[i] = str.substring(i,i + 1);\n\t\t\t \t\t\tbox[i] = box[i].toLowerCase();\n\t\t\t\t\t}else{\n\t\t\t\t \tbox[i] = str.substring(i,i + 1);\n\t\t\t\t }\n\t\t\t\t switch(box[i]){\n\t\t\t\t case \"a\":\n\t\t\t\t \tcon[0] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"b\":\n\t\t\t\t \tcon[1] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"c\":\n\t\t\t\t \tcon[2] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"d\":\n\t\t\t\t \tcon[3] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"e\":\n\t\t\t\t \tcon[4] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"f\":\n\t\t\t\t \tcon[5] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"g\":\n\t\t\t\t \tcon[6] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"h\":\n\t\t\t\t \tcon[7] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"i\":\n\t\t\t\t \tcon[8] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"j\":\n\t\t\t\t \tcon[9] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"k\":\n\t\t\t\t \tcon[10] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"l\":\n\t\t\t\t \tcon[11] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"m\":\n\t\t\t\t \tcon[12] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"n\":\n\t\t\t\t \tcon[13] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"o\":\n\t\t\t\t \tcon[14] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"p\":\n\t\t\t\t \tcon[15] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"q\":\n\t\t\t\t \tcon[16] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"r\":\n\t\t\t\t \tcon[17] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"s\":\n\t\t\t\t \tcon[18] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"t\":\n\t\t\t\t \tcon[19] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"u\":\n\t\t\t\t \tcon[20] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"v\":\n\t\t\t\t \tcon[21] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"w\":\n\t\t\t\t \tcon[22] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"x\":\n\t\t\t\t \tcon[23] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"y\":\n\t\t\t\t \tcon[24] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"z\":\n\t\t\t\t \tcon[25] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t default:\n\t\t\t\t \tbreak;\n\t\t\t\t }\n\t\t\t\t}",
"if( Character.isUpperCase( str.charAt( i ) ) ) {\n\t\t\t \t\t\tbox[i] = str.substring(i,i + 1);\n\t\t\t \t\t\tbox[i] = box[i].toLowerCase();\n\t\t\t\t\t}else{\n\t\t\t\t \tbox[i] = str.substring(i,i + 1);\n\t\t\t\t }",
"Character.isUpperCase( str.charAt( i ) )",
"Character.isUpperCase",
"Character",
"str.charAt( i )",
"str.charAt",
"str",
"i",
"{\n\t\t\t \t\t\tbox[i] = str.substring(i,i + 1);\n\t\t\t \t\t\tbox[i] = box[i].toLowerCase();\n\t\t\t\t\t}",
"box[i] = str.substring(i,i + 1)",
"box[i]",
"box",
"i",
"str.substring(i,i + 1)",
"str.substring",
"str",
"i",
"i + 1",
"i",
"1",
"box[i] = box[i].toLowerCase()",
"box[i]",
"box",
"i",
"box[i].toLowerCase()",
"box[i].toLowerCase",
"box[i]",
"box",
"i",
"{\n\t\t\t\t \tbox[i] = str.substring(i,i + 1);\n\t\t\t\t }",
"box[i] = str.substring(i,i + 1)",
"box[i]",
"box",
"i",
"str.substring(i,i + 1)",
"str.substring",
"str",
"i",
"i + 1",
"i",
"1",
"switch(box[i]){\n\t\t\t\t case \"a\":\n\t\t\t\t \tcon[0] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"b\":\n\t\t\t\t \tcon[1] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"c\":\n\t\t\t\t \tcon[2] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"d\":\n\t\t\t\t \tcon[3] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"e\":\n\t\t\t\t \tcon[4] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"f\":\n\t\t\t\t \tcon[5] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"g\":\n\t\t\t\t \tcon[6] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"h\":\n\t\t\t\t \tcon[7] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"i\":\n\t\t\t\t \tcon[8] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"j\":\n\t\t\t\t \tcon[9] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"k\":\n\t\t\t\t \tcon[10] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"l\":\n\t\t\t\t \tcon[11] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"m\":\n\t\t\t\t \tcon[12] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"n\":\n\t\t\t\t \tcon[13] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"o\":\n\t\t\t\t \tcon[14] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"p\":\n\t\t\t\t \tcon[15] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"q\":\n\t\t\t\t \tcon[16] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"r\":\n\t\t\t\t \tcon[17] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"s\":\n\t\t\t\t \tcon[18] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"t\":\n\t\t\t\t \tcon[19] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"u\":\n\t\t\t\t \tcon[20] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"v\":\n\t\t\t\t \tcon[21] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"w\":\n\t\t\t\t \tcon[22] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"x\":\n\t\t\t\t \tcon[23] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"y\":\n\t\t\t\t \tcon[24] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t case \"z\":\n\t\t\t\t \tcon[25] ++;\n\t\t\t\t \tbreak;\n\t\t\t\t default:\n\t\t\t\t \tbreak;\n\t\t\t\t }",
"box[i]",
"box",
"i",
"case \"a\":",
"\"a\"",
"case \"a\":",
"con[0] ++",
"con[0]",
"con",
"0",
"break;",
"case \"b\":",
"\"b\"",
"case \"b\":",
"con[1] ++",
"con[1]",
"con",
"1",
"break;",
"case \"c\":",
"\"c\"",
"case \"c\":",
"con[2] ++",
"con[2]",
"con",
"2",
"break;",
"case \"d\":",
"\"d\"",
"case \"d\":",
"con[3] ++",
"con[3]",
"con",
"3",
"break;",
"case \"e\":",
"\"e\"",
"case \"e\":",
"con[4] ++",
"con[4]",
"con",
"4",
"break;",
"case \"f\":",
"\"f\"",
"case \"f\":",
"con[5] ++",
"con[5]",
"con",
"5",
"break;",
"case \"g\":",
"\"g\"",
"case \"g\":",
"con[6] ++",
"con[6]",
"con",
"6",
"break;",
"case \"h\":",
"\"h\"",
"case \"h\":",
"con[7] ++",
"con[7]",
"con",
"7",
"break;",
"case \"i\":",
"\"i\"",
"case \"i\":",
"con[8] ++",
"con[8]",
"con",
"8",
"break;",
"case \"j\":",
"\"j\"",
"case \"j\":",
"con[9] ++",
"con[9]",
"con",
"9",
"break;",
"case \"k\":",
"\"k\"",
"case \"k\":",
"con[10] ++",
"con[10]",
"con",
"10",
"break;",
"case \"l\":",
"\"l\"",
"case \"l\":",
"con[11] ++",
"con[11]",
"con",
"11",
"break;",
"case \"m\":",
"\"m\"",
"case \"m\":",
"con[12] ++",
"con[12]",
"con",
"12",
"break;",
"case \"n\":",
"\"n\"",
"case \"n\":",
"con[13] ++",
"con[13]",
"con",
"13",
"break;",
"case \"o\":",
"\"o\"",
"case \"o\":",
"con[14] ++",
"con[14]",
"con",
"14",
"break;",
"case \"p\":",
"\"p\"",
"case \"p\":",
"con[15] ++",
"con[15]",
"con",
"15",
"break;",
"case \"q\":",
"\"q\"",
"case \"q\":",
"con[16] ++",
"con[16]",
"con",
"16",
"break;",
"case \"r\":",
"\"r\"",
"case \"r\":",
"con[17] ++",
"con[17]",
"con",
"17",
"break;",
"case \"s\":",
"\"s\"",
"case \"s\":",
"con[18] ++",
"con[18]",
"con",
"18",
"break;",
"case \"t\":",
"\"t\"",
"case \"t\":",
"con[19] ++",
"con[19]",
"con",
"19",
"break;",
"case \"u\":",
"\"u\"",
"case \"u\":",
"con[20] ++",
"con[20]",
"con",
"20",
"break;",
"case \"v\":",
"\"v\"",
"case \"v\":",
"con[21] ++",
"con[21]",
"con",
"21",
"break;",
"case \"w\":",
"\"w\"",
"case \"w\":",
"con[22] ++",
"con[22]",
"con",
"22",
"break;",
"case \"x\":",
"\"x\"",
"case \"x\":",
"con[23] ++",
"con[23]",
"con",
"23",
"break;",
"case \"y\":",
"\"y\"",
"case \"y\":",
"con[24] ++",
"con[24]",
"con",
"24",
"break;",
"case \"z\":",
"\"z\"",
"case \"z\":",
"con[25] ++",
"con[25]",
"con",
"25",
"break;",
"default:",
"default:",
"break;",
"System.out.println(\"a : \" + con[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"a : \" + con[0]",
"\"a : \"",
"con[0]",
"con",
"0",
"System.out.println(\"b : \" + con[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"b : \" + con[1]",
"\"b : \"",
"con[1]",
"con",
"1",
"System.out.println(\"c : \" + con[2])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"c : \" + con[2]",
"\"c : \"",
"con[2]",
"con",
"2",
"System.out.println(\"d : \" + con[3])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"d : \" + con[3]",
"\"d : \"",
"con[3]",
"con",
"3",
"System.out.println(\"e : \" + con[4])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"e : \" + con[4]",
"\"e : \"",
"con[4]",
"con",
"4",
"System.out.println(\"f : \" + con[5])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"f : \" + con[5]",
"\"f : \"",
"con[5]",
"con",
"5",
"System.out.println(\"g : \" + con[6])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"g : \" + con[6]",
"\"g : \"",
"con[6]",
"con",
"6",
"System.out.println(\"h : \" + con[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"h : \" + con[7]",
"\"h : \"",
"con[7]",
"con",
"7",
"System.out.println(\"i : \" + con[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"i : \" + con[8]",
"\"i : \"",
"con[8]",
"con",
"8",
"System.out.println(\"j : \" + con[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"j : \" + con[9]",
"\"j : \"",
"con[9]",
"con",
"9",
"System.out.println(\"k : \" + con[10])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"k : \" + con[10]",
"\"k : \"",
"con[10]",
"con",
"10",
"System.out.println(\"l : \" + con[11])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"l : \" + con[11]",
"\"l : \"",
"con[11]",
"con",
"11",
"System.out.println(\"m : \" + con[12])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"m : \" + con[12]",
"\"m : \"",
"con[12]",
"con",
"12",
"System.out.println(\"n : \" + con[13])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"n : \" + con[13]",
"\"n : \"",
"con[13]",
"con",
"13",
"System.out.println(\"o : \" + con[14])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"o : \" + con[14]",
"\"o : \"",
"con[14]",
"con",
"14",
"System.out.println(\"p : \" + con[15])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"p : \" + con[15]",
"\"p : \"",
"con[15]",
"con",
"15",
"System.out.println(\"q : \" + con[16])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"q : \" + con[16]",
"\"q : \"",
"con[16]",
"con",
"16",
"System.out.println(\"r : \" + con[17])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"r : \" + con[17]",
"\"r : \"",
"con[17]",
"con",
"17",
"System.out.println(\"s : \" + con[18])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"s : \" + con[18]",
"\"s : \"",
"con[18]",
"con",
"18",
"System.out.println(\"t : \" + con[19])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"t : \" + con[19]",
"\"t : \"",
"con[19]",
"con",
"19",
"System.out.println(\"u : \" + con[20])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"u : \" + con[20]",
"\"u : \"",
"con[20]",
"con",
"20",
"System.out.println(\"v : \" + con[21])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"v : \" + con[21]",
"\"v : \"",
"con[21]",
"con",
"21",
"System.out.println(\"w : \" + con[22])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"w : \" + con[22]",
"\"w : \"",
"con[22]",
"con",
"22",
"System.out.println(\"x : \" + con[23])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"x : \" + con[23]",
"\"x : \"",
"con[23]",
"con",
"23",
"System.out.println(\"y : \" + con[24])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"y : \" + con[24]",
"\"y : \"",
"con[24]",
"con",
"24",
"System.out.println(\"z : \" + con[25])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"z : \" + con[25]",
"\"z : \"",
"con[25]",
"con",
"25",
"scanner.close()",
"scanner.close",
"scanner",
"String args[]",
"args"
]
| import java.util.Scanner;
import java.awt.event.KeyEvent;
class Main {
public static void main(String args[]) {
Scanner scanner = new Scanner(System.in);
String box[] = new String[1200];
int con[] = new int[30];
int num = 0;
while(scanner.hasNext()) {
String str = scanner.nextLine(); //入力
if(str == null)
break;
num = str.length(); //文字数取得
//文字数計算
for(int i = 0; i < num ;i ++) {
if( Character.isUpperCase( str.charAt( i ) ) ) {
box[i] = str.substring(i,i + 1);
box[i] = box[i].toLowerCase();
}else{
box[i] = str.substring(i,i + 1);
}
switch(box[i]){
case "a":
con[0] ++;
break;
case "b":
con[1] ++;
break;
case "c":
con[2] ++;
break;
case "d":
con[3] ++;
break;
case "e":
con[4] ++;
break;
case "f":
con[5] ++;
break;
case "g":
con[6] ++;
break;
case "h":
con[7] ++;
break;
case "i":
con[8] ++;
break;
case "j":
con[9] ++;
break;
case "k":
con[10] ++;
break;
case "l":
con[11] ++;
break;
case "m":
con[12] ++;
break;
case "n":
con[13] ++;
break;
case "o":
con[14] ++;
break;
case "p":
con[15] ++;
break;
case "q":
con[16] ++;
break;
case "r":
con[17] ++;
break;
case "s":
con[18] ++;
break;
case "t":
con[19] ++;
break;
case "u":
con[20] ++;
break;
case "v":
con[21] ++;
break;
case "w":
con[22] ++;
break;
case "x":
con[23] ++;
break;
case "y":
con[24] ++;
break;
case "z":
con[25] ++;
break;
default:
break;
}
}
}
//出力
System.out.println("a : " + con[0]);
System.out.println("b : " + con[1]);
System.out.println("c : " + con[2]);
System.out.println("d : " + con[3]);
System.out.println("e : " + con[4]);
System.out.println("f : " + con[5]);
System.out.println("g : " + con[6]);
System.out.println("h : " + con[7]);
System.out.println("i : " + con[8]);
System.out.println("j : " + con[9]);
System.out.println("k : " + con[10]);
System.out.println("l : " + con[11]);
System.out.println("m : " + con[12]);
System.out.println("n : " + con[13]);
System.out.println("o : " + con[14]);
System.out.println("p : " + con[15]);
System.out.println("q : " + con[16]);
System.out.println("r : " + con[17]);
System.out.println("s : " + con[18]);
System.out.println("t : " + con[19]);
System.out.println("u : " + con[20]);
System.out.println("v : " + con[21]);
System.out.println("w : " + con[22]);
System.out.println("x : " + con[23]);
System.out.println("y : " + con[24]);
System.out.println("z : " + con[25]);
scanner.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
17,
41,
13,
20,
17,
41,
13,
17,
41,
13,
41,
13,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
9,
11,
1,
0,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
13,
14,
4,
18,
13,
13,
40,
18,
13,
2,
13,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
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
],
[
123,
11
],
[
123,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
14,
19
],
[
19,
20
],
[
19,
21
],
[
14,
22
],
[
22,
23
],
[
22,
24
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
14,
29
],
[
29,
30
],
[
14,
31
],
[
31,
32
],
[
14,
33
],
[
33,
34
],
[
33,
35
],
[
14,
36
],
[
36,
37
],
[
36,
38
],
[
14,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
43,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
55,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
69,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
69,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
82,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
14,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
93,
101
],
[
101,
102
],
[
102,
103
],
[
93,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
112,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
112,
116
],
[
112,
117
],
[
117,
118
],
[
117,
119
],
[
12,
120
],
[
120,
121
],
[
0,
122
],
[
122,
123
],
[
122,
124
]
]
| [
"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\tCharacter objChar1;\n\n\t\tchar c;\n\t\tint cordchange=97;//??????????????????????????????????????????????????°???\n\t\tint total[]=new int[26] ;\n\t\tint i=0, num, sum;\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\n\t\tdo {\n\t\t\tString str = br.readLine();\n\t\t\tif (str == null) {\n\t\t continue;\n\t\t }\n\t\t\n\t\tfor (i = 0; i < str.length(); i++) {\n\t\t\t\tc = str.charAt(i);\n\t\t\t\tc=Character.toLowerCase(c);\n\t\t\t\tif(Character.isLetter(c))\n\t\t\t\t\ttotal[c-cordchange]++;\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}while (br.ready());\n\t\tfor(i=0;i<26;i++)\n\t\t{\n\t\t\tSystem.out.println((char)('a'+i)+\" : \"+total[i]);\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",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tCharacter objChar1;\n\n\t\tchar c;\n\t\tint cordchange=97;//??????????????????????????????????????????????????°???\n\t\tint total[]=new int[26] ;\n\t\tint i=0, num, sum;\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\n\t\tdo {\n\t\t\tString str = br.readLine();\n\t\t\tif (str == null) {\n\t\t continue;\n\t\t }\n\t\t\n\t\tfor (i = 0; i < str.length(); i++) {\n\t\t\t\tc = str.charAt(i);\n\t\t\t\tc=Character.toLowerCase(c);\n\t\t\t\tif(Character.isLetter(c))\n\t\t\t\t\ttotal[c-cordchange]++;\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}while (br.ready());\n\t\tfor(i=0;i<26;i++)\n\t\t{\n\t\t\tSystem.out.println((char)('a'+i)+\" : \"+total[i]);\n\t\t}\n}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tCharacter objChar1;\n\n\t\tchar c;\n\t\tint cordchange=97;//??????????????????????????????????????????????????°???\n\t\tint total[]=new int[26] ;\n\t\tint i=0, num, sum;\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\n\t\tdo {\n\t\t\tString str = br.readLine();\n\t\t\tif (str == null) {\n\t\t continue;\n\t\t }\n\t\t\n\t\tfor (i = 0; i < str.length(); i++) {\n\t\t\t\tc = str.charAt(i);\n\t\t\t\tc=Character.toLowerCase(c);\n\t\t\t\tif(Character.isLetter(c))\n\t\t\t\t\ttotal[c-cordchange]++;\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}while (br.ready());\n\t\tfor(i=0;i<26;i++)\n\t\t{\n\t\t\tSystem.out.println((char)('a'+i)+\" : \"+total[i]);\n\t\t}\n}",
"main",
"{\n\t\tCharacter objChar1;\n\n\t\tchar c;\n\t\tint cordchange=97;//??????????????????????????????????????????????????°???\n\t\tint total[]=new int[26] ;\n\t\tint i=0, num, sum;\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\n\t\tdo {\n\t\t\tString str = br.readLine();\n\t\t\tif (str == null) {\n\t\t continue;\n\t\t }\n\t\t\n\t\tfor (i = 0; i < str.length(); i++) {\n\t\t\t\tc = str.charAt(i);\n\t\t\t\tc=Character.toLowerCase(c);\n\t\t\t\tif(Character.isLetter(c))\n\t\t\t\t\ttotal[c-cordchange]++;\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}while (br.ready());\n\t\tfor(i=0;i<26;i++)\n\t\t{\n\t\t\tSystem.out.println((char)('a'+i)+\" : \"+total[i]);\n\t\t}\n}",
"Character objChar1;",
"objChar1",
"char c;",
"c",
"int cordchange=97;",
"cordchange",
"97",
"int total[]=new int[26] ;",
"total",
"new int[26]",
"26",
"int i=0",
"i",
"0",
"num",
"num",
"sum;",
"sum",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"do {\n\t\t\tString str = br.readLine();\n\t\t\tif (str == null) {\n\t\t continue;\n\t\t }\n\t\t\n\t\tfor (i = 0; i < str.length(); i++) {\n\t\t\t\tc = str.charAt(i);\n\t\t\t\tc=Character.toLowerCase(c);\n\t\t\t\tif(Character.isLetter(c))\n\t\t\t\t\ttotal[c-cordchange]++;\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}while (br.ready());",
"br.ready()",
"br.ready",
"br",
"{\n\t\t\tString str = br.readLine();\n\t\t\tif (str == null) {\n\t\t continue;\n\t\t }\n\t\t\n\t\tfor (i = 0; i < str.length(); i++) {\n\t\t\t\tc = str.charAt(i);\n\t\t\t\tc=Character.toLowerCase(c);\n\t\t\t\tif(Character.isLetter(c))\n\t\t\t\t\ttotal[c-cordchange]++;\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"if (str == null) {\n\t\t continue;\n\t\t }",
"str == null",
"str",
"null",
"{\n\t\t continue;\n\t\t }",
"continue;",
"for (i = 0; i < str.length(); i++) {\n\t\t\t\tc = str.charAt(i);\n\t\t\t\tc=Character.toLowerCase(c);\n\t\t\t\tif(Character.isLetter(c))\n\t\t\t\t\ttotal[c-cordchange]++;\n\t\t\t\t\n\t\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < str.length()",
"i",
"str.length()",
"str.length",
"str",
"i++",
"i++",
"i",
"{\n\t\t\t\tc = str.charAt(i);\n\t\t\t\tc=Character.toLowerCase(c);\n\t\t\t\tif(Character.isLetter(c))\n\t\t\t\t\ttotal[c-cordchange]++;\n\t\t\t\t\n\t\t\t}",
"{\n\t\t\t\tc = str.charAt(i);\n\t\t\t\tc=Character.toLowerCase(c);\n\t\t\t\tif(Character.isLetter(c))\n\t\t\t\t\ttotal[c-cordchange]++;\n\t\t\t\t\n\t\t\t}",
"c = str.charAt(i)",
"c",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"c=Character.toLowerCase(c)",
"c",
"Character.toLowerCase(c)",
"Character.toLowerCase",
"Character",
"c",
"if(Character.isLetter(c))\n\t\t\t\t\ttotal[c-cordchange]++;",
"Character.isLetter(c)",
"Character.isLetter",
"Character",
"c",
"total[c-cordchange]++",
"total[c-cordchange]",
"total",
"c-cordchange",
"c",
"cordchange",
"for(i=0;i<26;i++)\n\t\t{\n\t\t\tSystem.out.println((char)('a'+i)+\" : \"+total[i]);\n\t\t}",
"i=0;",
"i=0",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println((char)('a'+i)+\" : \"+total[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println((char)('a'+i)+\" : \"+total[i]);\n\t\t}",
"System.out.println((char)('a'+i)+\" : \"+total[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)('a'+i)+\" : \"+total[i]",
"(char)('a'+i)+\" : \"+total[i]",
"(char)('a'+i)",
"'a'",
"i",
"\" : \"",
"total[i]",
"total",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tCharacter objChar1;\n\n\t\tchar c;\n\t\tint cordchange=97;//??????????????????????????????????????????????????°???\n\t\tint total[]=new int[26] ;\n\t\tint i=0, num, sum;\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\n\t\tdo {\n\t\t\tString str = br.readLine();\n\t\t\tif (str == null) {\n\t\t continue;\n\t\t }\n\t\t\n\t\tfor (i = 0; i < str.length(); i++) {\n\t\t\t\tc = str.charAt(i);\n\t\t\t\tc=Character.toLowerCase(c);\n\t\t\t\tif(Character.isLetter(c))\n\t\t\t\t\ttotal[c-cordchange]++;\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}while (br.ready());\n\t\tfor(i=0;i<26;i++)\n\t\t{\n\t\t\tSystem.out.println((char)('a'+i)+\" : \"+total[i]);\n\t\t}\n}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tCharacter objChar1;\n\n\t\tchar c;\n\t\tint cordchange=97;//??????????????????????????????????????????????????°???\n\t\tint total[]=new int[26] ;\n\t\tint i=0, num, sum;\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\n\t\tdo {\n\t\t\tString str = br.readLine();\n\t\t\tif (str == null) {\n\t\t continue;\n\t\t }\n\t\t\n\t\tfor (i = 0; i < str.length(); i++) {\n\t\t\t\tc = str.charAt(i);\n\t\t\t\tc=Character.toLowerCase(c);\n\t\t\t\tif(Character.isLetter(c))\n\t\t\t\t\ttotal[c-cordchange]++;\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}while (br.ready());\n\t\tfor(i=0;i<26;i++)\n\t\t{\n\t\t\tSystem.out.println((char)('a'+i)+\" : \"+total[i]);\n\t\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{
Character objChar1;
char c;
int cordchange=97;//??????????????????????????????????????????????????°???
int total[]=new int[26] ;
int i=0, num, sum;
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
do {
String str = br.readLine();
if (str == null) {
continue;
}
for (i = 0; i < str.length(); i++) {
c = str.charAt(i);
c=Character.toLowerCase(c);
if(Character.isLetter(c))
total[c-cordchange]++;
}
}while (br.ready());
for(i=0;i<26;i++)
{
System.out.println((char)('a'+i)+" : "+total[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
17,
41,
13,
20,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
28,
13,
13,
30,
30,
14,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
40,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
13,
18,
13,
2,
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
],
[
95,
11
],
[
95,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
17,
19
],
[
14,
21
],
[
21,
22
],
[
21,
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
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
43,
44
],
[
43,
45
],
[
43,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
49,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
48,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
14,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
67,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
80,
86
],
[
80,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
12,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
]
| [
"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\tString str;\n\t\tint[] count = new int[26];\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile ((str = br.readLine()) != null) {\n\t\t\tstr = str.toLowerCase();\n\t\t\tchar[] cArray = str.toCharArray();\n\t\t\tfor (char c : cArray) {\n\t\t\t\tif ((c - 'a') >= 0 && (c - 'a') <= 26 ) {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (char c = 'a'; c <= 'z'; c++) {\n\t\t\tSystem.out.printf(\"%s : %d%n\", c, count[c - 'a']);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tString str;\n\t\tint[] count = new int[26];\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile ((str = br.readLine()) != null) {\n\t\t\tstr = str.toLowerCase();\n\t\t\tchar[] cArray = str.toCharArray();\n\t\t\tfor (char c : cArray) {\n\t\t\t\tif ((c - 'a') >= 0 && (c - 'a') <= 26 ) {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (char c = 'a'; c <= 'z'; c++) {\n\t\t\tSystem.out.printf(\"%s : %d%n\", c, count[c - 'a']);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tString str;\n\t\tint[] count = new int[26];\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile ((str = br.readLine()) != null) {\n\t\t\tstr = str.toLowerCase();\n\t\t\tchar[] cArray = str.toCharArray();\n\t\t\tfor (char c : cArray) {\n\t\t\t\tif ((c - 'a') >= 0 && (c - 'a') <= 26 ) {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (char c = 'a'; c <= 'z'; c++) {\n\t\t\tSystem.out.printf(\"%s : %d%n\", c, count[c - 'a']);\n\t\t}\n\t}",
"main",
"{\n\t\tString str;\n\t\tint[] count = new int[26];\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile ((str = br.readLine()) != null) {\n\t\t\tstr = str.toLowerCase();\n\t\t\tchar[] cArray = str.toCharArray();\n\t\t\tfor (char c : cArray) {\n\t\t\t\tif ((c - 'a') >= 0 && (c - 'a') <= 26 ) {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (char c = 'a'; c <= 'z'; c++) {\n\t\t\tSystem.out.printf(\"%s : %d%n\", c, count[c - 'a']);\n\t\t}\n\t}",
"String str;",
"str",
"int[] count = new int[26];",
"count",
"new int[26]",
"26",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while ((str = br.readLine()) != null) {\n\t\t\tstr = str.toLowerCase();\n\t\t\tchar[] cArray = str.toCharArray();\n\t\t\tfor (char c : cArray) {\n\t\t\t\tif ((c - 'a') >= 0 && (c - 'a') <= 26 ) {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tstr = str.toLowerCase();\n\t\t\tchar[] cArray = str.toCharArray();\n\t\t\tfor (char c : cArray) {\n\t\t\t\tif ((c - 'a') >= 0 && (c - 'a') <= 26 ) {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"str = str.toLowerCase()",
"str",
"str.toLowerCase()",
"str.toLowerCase",
"str",
"char[] cArray = str.toCharArray();",
"cArray",
"str.toCharArray()",
"str.toCharArray",
"str",
"for (char c : cArray) {\n\t\t\t\tif ((c - 'a') >= 0 && (c - 'a') <= 26 ) {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}",
"char c",
"cArray",
"{\n\t\t\t\tif ((c - 'a') >= 0 && (c - 'a') <= 26 ) {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif ((c - 'a') >= 0 && (c - 'a') <= 26 ) {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}",
"if ((c - 'a') >= 0 && (c - 'a') <= 26 ) {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}",
"(c - 'a') >= 0 && (c - 'a') <= 26",
"(c - 'a') >= 0",
"(c - 'a')",
"c",
"'a'",
"0",
"(c - 'a') <= 26",
"(c - 'a')",
"c",
"'a'",
"26",
"{\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}",
"count[c - 'a']++",
"count[c - 'a']",
"count",
"c - 'a'",
"c",
"'a'",
"for (char c = 'a'; c <= 'z'; c++) {\n\t\t\tSystem.out.printf(\"%s : %d%n\", c, count[c - 'a']);\n\t\t}",
"char c = 'a';",
"char c = 'a';",
"c",
"'a'",
"c <= 'z'",
"c",
"'z'",
"c++",
"c++",
"c",
"{\n\t\t\tSystem.out.printf(\"%s : %d%n\", c, count[c - 'a']);\n\t\t}",
"{\n\t\t\tSystem.out.printf(\"%s : %d%n\", c, count[c - 'a']);\n\t\t}",
"System.out.printf(\"%s : %d%n\", c, count[c - 'a'])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%s : %d%n\"",
"c",
"count[c - 'a']",
"count",
"c - 'a'",
"c",
"'a'",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tString str;\n\t\tint[] count = new int[26];\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile ((str = br.readLine()) != null) {\n\t\t\tstr = str.toLowerCase();\n\t\t\tchar[] cArray = str.toCharArray();\n\t\t\tfor (char c : cArray) {\n\t\t\t\tif ((c - 'a') >= 0 && (c - 'a') <= 26 ) {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (char c = 'a'; c <= 'z'; c++) {\n\t\t\tSystem.out.printf(\"%s : %d%n\", c, count[c - 'a']);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tString str;\n\t\tint[] count = new int[26];\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile ((str = br.readLine()) != null) {\n\t\t\tstr = str.toLowerCase();\n\t\t\tchar[] cArray = str.toCharArray();\n\t\t\tfor (char c : cArray) {\n\t\t\t\tif ((c - 'a') >= 0 && (c - 'a') <= 26 ) {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (char c = 'a'; c <= 'z'; c++) {\n\t\t\tSystem.out.printf(\"%s : %d%n\", c, count[c - 'a']);\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 {
String str;
int[] count = new int[26];
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while ((str = br.readLine()) != null) {
str = str.toLowerCase();
char[] cArray = str.toCharArray();
for (char c : cArray) {
if ((c - 'a') >= 0 && (c - 'a') <= 26 ) {
count[c - 'a']++;
}
}
}
for (char c = 'a'; c <= 'z'; c++) {
System.out.printf("%s : %d%n", c, count[c - 'a']);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
4,
18,
13,
3,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
17,
18,
13,
13,
2,
18,
13,
13,
17,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
14,
2,
2,
17,
18,
13,
13,
2,
18,
13,
13,
17,
40,
18,
13,
2,
18,
13,
13,
17,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
17,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
40,
13,
17,
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
],
[
136,
11
],
[
136,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
32,
36
],
[
26,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
26,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
42,
52
],
[
52,
53
],
[
53,
54
],
[
42,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
58,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
57,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
76,
78
],
[
56,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
80,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
79,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
14,
99
],
[
99,
100
],
[
100,
101
],
[
14,
102
],
[
102,
103
],
[
102,
104
],
[
14,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
105,
115
],
[
115,
116
],
[
116,
117
],
[
105,
118
],
[
119,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
120,
125
],
[
126,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
126,
130
],
[
130,
131
],
[
130,
132
],
[
12,
133
],
[
133,
134
],
[
0,
135
],
[
135,
136
],
[
135,
137
]
]
| [
"import java.awt.print.Printable;\nimport java.util.Scanner;\nimport javax.sound.midi.SysexMessage;\n \npublic class Main{ \n public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n int[] charCount = new int[26];\n while(sc.hasNext()){\n String str=sc.next();\n //str.toLowerCase();\n if(str.isEmpty())\n break;\n char[] chars = str.toCharArray();\n for(int i=0;i<chars.length;i++){\n if('A' <= chars[i]&&chars[i] <= 'Z')\n chars[i]=Character.toLowerCase(chars[i]);\n if('a' <= chars[i]&&chars[i] <= 'z')\n charCount[chars[i]-'a']++;\n }\n /*if(str.contains(\".\"))\n break; */\n }\n sc.close();\n char L00 = 'a';\n\n for (int L01 = 0; L01 <= ('z' - 'a'); L01++) {\n System.out.println(L00++ + \" : \"+charCount[L01]);\n }\n } \n}",
"import java.awt.print.Printable;",
"Printable",
"java.awt.print",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import javax.sound.midi.SysexMessage;",
"SysexMessage",
"javax.sound.midi",
"public class Main{ \n public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n int[] charCount = new int[26];\n while(sc.hasNext()){\n String str=sc.next();\n //str.toLowerCase();\n if(str.isEmpty())\n break;\n char[] chars = str.toCharArray();\n for(int i=0;i<chars.length;i++){\n if('A' <= chars[i]&&chars[i] <= 'Z')\n chars[i]=Character.toLowerCase(chars[i]);\n if('a' <= chars[i]&&chars[i] <= 'z')\n charCount[chars[i]-'a']++;\n }\n /*if(str.contains(\".\"))\n break; */\n }\n sc.close();\n char L00 = 'a';\n\n for (int L01 = 0; L01 <= ('z' - 'a'); L01++) {\n System.out.println(L00++ + \" : \"+charCount[L01]);\n }\n } \n}",
"Main",
"public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n int[] charCount = new int[26];\n while(sc.hasNext()){\n String str=sc.next();\n //str.toLowerCase();\n if(str.isEmpty())\n break;\n char[] chars = str.toCharArray();\n for(int i=0;i<chars.length;i++){\n if('A' <= chars[i]&&chars[i] <= 'Z')\n chars[i]=Character.toLowerCase(chars[i]);\n if('a' <= chars[i]&&chars[i] <= 'z')\n charCount[chars[i]-'a']++;\n }\n /*if(str.contains(\".\"))\n break; */\n }\n sc.close();\n char L00 = 'a';\n\n for (int L01 = 0; L01 <= ('z' - 'a'); L01++) {\n System.out.println(L00++ + \" : \"+charCount[L01]);\n }\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n int[] charCount = new int[26];\n while(sc.hasNext()){\n String str=sc.next();\n //str.toLowerCase();\n if(str.isEmpty())\n break;\n char[] chars = str.toCharArray();\n for(int i=0;i<chars.length;i++){\n if('A' <= chars[i]&&chars[i] <= 'Z')\n chars[i]=Character.toLowerCase(chars[i]);\n if('a' <= chars[i]&&chars[i] <= 'z')\n charCount[chars[i]-'a']++;\n }\n /*if(str.contains(\".\"))\n break; */\n }\n sc.close();\n char L00 = 'a';\n\n for (int L01 = 0; L01 <= ('z' - 'a'); L01++) {\n System.out.println(L00++ + \" : \"+charCount[L01]);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] charCount = new int[26];",
"charCount",
"new int[26]",
"26",
"while(sc.hasNext()){\n String str=sc.next();\n //str.toLowerCase();\n if(str.isEmpty())\n break;\n char[] chars = str.toCharArray();\n for(int i=0;i<chars.length;i++){\n if('A' <= chars[i]&&chars[i] <= 'Z')\n chars[i]=Character.toLowerCase(chars[i]);\n if('a' <= chars[i]&&chars[i] <= 'z')\n charCount[chars[i]-'a']++;\n }\n /*if(str.contains(\".\"))\n break; */\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n String str=sc.next();\n //str.toLowerCase();\n if(str.isEmpty())\n break;\n char[] chars = str.toCharArray();\n for(int i=0;i<chars.length;i++){\n if('A' <= chars[i]&&chars[i] <= 'Z')\n chars[i]=Character.toLowerCase(chars[i]);\n if('a' <= chars[i]&&chars[i] <= 'z')\n charCount[chars[i]-'a']++;\n }\n /*if(str.contains(\".\"))\n break; */\n }",
"String str=sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"if(str.isEmpty())\n break;",
"str.isEmpty()",
"str.isEmpty",
"str",
"break;",
"char[] chars = str.toCharArray();",
"chars",
"str.toCharArray()",
"str.toCharArray",
"str",
"for(int i=0;i<chars.length;i++){\n if('A' <= chars[i]&&chars[i] <= 'Z')\n chars[i]=Character.toLowerCase(chars[i]);\n if('a' <= chars[i]&&chars[i] <= 'z')\n charCount[chars[i]-'a']++;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<chars.length",
"i",
"chars.length",
"chars",
"chars.length",
"i++",
"i++",
"i",
"{\n if('A' <= chars[i]&&chars[i] <= 'Z')\n chars[i]=Character.toLowerCase(chars[i]);\n if('a' <= chars[i]&&chars[i] <= 'z')\n charCount[chars[i]-'a']++;\n }",
"{\n if('A' <= chars[i]&&chars[i] <= 'Z')\n chars[i]=Character.toLowerCase(chars[i]);\n if('a' <= chars[i]&&chars[i] <= 'z')\n charCount[chars[i]-'a']++;\n }",
"if('A' <= chars[i]&&chars[i] <= 'Z')\n chars[i]=Character.toLowerCase(chars[i]);",
"'A' <= chars[i]&&chars[i] <= 'Z'",
"'A' <= chars[i]",
"'A'",
"chars[i]",
"chars",
"i",
"chars[i] <= 'Z'",
"chars[i]",
"chars",
"i",
"'Z'",
"chars[i]=Character.toLowerCase(chars[i])",
"chars[i]",
"chars",
"i",
"Character.toLowerCase(chars[i])",
"Character.toLowerCase",
"Character",
"chars[i]",
"chars",
"i",
"if('a' <= chars[i]&&chars[i] <= 'z')\n charCount[chars[i]-'a']++;",
"'a' <= chars[i]&&chars[i] <= 'z'",
"'a' <= chars[i]",
"'a'",
"chars[i]",
"chars",
"i",
"chars[i] <= 'z'",
"chars[i]",
"chars",
"i",
"'z'",
"charCount[chars[i]-'a']++",
"charCount[chars[i]-'a']",
"charCount",
"chars[i]-'a'",
"chars[i]",
"chars",
"i",
"'a'",
"sc.close()",
"sc.close",
"sc",
"char L00 = 'a';",
"L00",
"'a'",
"for (int L01 = 0; L01 <= ('z' - 'a'); L01++) {\n System.out.println(L00++ + \" : \"+charCount[L01]);\n }",
"int L01 = 0;",
"int L01 = 0;",
"L01",
"0",
"L01 <= ('z' - 'a')",
"L01",
"('z' - 'a')",
"'z'",
"'a'",
"L01++",
"L01++",
"L01",
"{\n System.out.println(L00++ + \" : \"+charCount[L01]);\n }",
"{\n System.out.println(L00++ + \" : \"+charCount[L01]);\n }",
"System.out.println(L00++ + \" : \"+charCount[L01])",
"System.out.println",
"System.out",
"System",
"System.out",
"L00++ + \" : \"+charCount[L01]",
"L00++ + \" : \"+charCount[L01]",
"L00++",
"L00",
"\" : \"",
"charCount[L01]",
"charCount",
"L01",
"String[] args",
"args",
"public class Main{ \n public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n int[] charCount = new int[26];\n while(sc.hasNext()){\n String str=sc.next();\n //str.toLowerCase();\n if(str.isEmpty())\n break;\n char[] chars = str.toCharArray();\n for(int i=0;i<chars.length;i++){\n if('A' <= chars[i]&&chars[i] <= 'Z')\n chars[i]=Character.toLowerCase(chars[i]);\n if('a' <= chars[i]&&chars[i] <= 'z')\n charCount[chars[i]-'a']++;\n }\n /*if(str.contains(\".\"))\n break; */\n }\n sc.close();\n char L00 = 'a';\n\n for (int L01 = 0; L01 <= ('z' - 'a'); L01++) {\n System.out.println(L00++ + \" : \"+charCount[L01]);\n }\n } \n}",
"public class Main{ \n public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n int[] charCount = new int[26];\n while(sc.hasNext()){\n String str=sc.next();\n //str.toLowerCase();\n if(str.isEmpty())\n break;\n char[] chars = str.toCharArray();\n for(int i=0;i<chars.length;i++){\n if('A' <= chars[i]&&chars[i] <= 'Z')\n chars[i]=Character.toLowerCase(chars[i]);\n if('a' <= chars[i]&&chars[i] <= 'z')\n charCount[chars[i]-'a']++;\n }\n /*if(str.contains(\".\"))\n break; */\n }\n sc.close();\n char L00 = 'a';\n\n for (int L01 = 0; L01 <= ('z' - 'a'); L01++) {\n System.out.println(L00++ + \" : \"+charCount[L01]);\n }\n } \n}",
"Main"
]
| import java.awt.print.Printable;
import java.util.Scanner;
import javax.sound.midi.SysexMessage;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int[] charCount = new int[26];
while(sc.hasNext()){
String str=sc.next();
//str.toLowerCase();
if(str.isEmpty())
break;
char[] chars = str.toCharArray();
for(int i=0;i<chars.length;i++){
if('A' <= chars[i]&&chars[i] <= 'Z')
chars[i]=Character.toLowerCase(chars[i]);
if('a' <= chars[i]&&chars[i] <= 'z')
charCount[chars[i]-'a']++;
}
/*if(str.contains("."))
break; */
}
sc.close();
char L00 = 'a';
for (int L01 = 0; L01 <= ('z' - 'a'); L01++) {
System.out.println(L00++ + " : "+charCount[L01]);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
41,
13,
20,
17,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
14,
2,
4,
18,
13,
17,
3,
0,
13,
4,
18,
13,
41,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
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
],
[
375,
11
],
[
375,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
15,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
28,
31
],
[
28,
32
],
[
28,
33
],
[
28,
34
],
[
28,
35
],
[
28,
36
],
[
28,
37
],
[
28,
38
],
[
28,
39
],
[
28,
40
],
[
28,
41
],
[
28,
42
],
[
28,
43
],
[
28,
44
],
[
28,
45
],
[
28,
46
],
[
28,
47
],
[
28,
48
],
[
28,
49
],
[
28,
50
],
[
28,
51
],
[
28,
52
],
[
28,
53
],
[
28,
54
],
[
22,
55
],
[
55,
56
],
[
55,
57
],
[
22,
59
],
[
59,
60
],
[
22,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
62,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
71,
75
],
[
70,
76
],
[
69,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
69,
82
],
[
82,
83
],
[
69,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
84,
94
],
[
94,
95
],
[
95,
96
],
[
84,
97
],
[
98,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
98,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
105,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
114,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
123,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
132,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
132,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
141,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
150,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
159,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
159,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
168,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
168,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
177,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
186,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
186,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
195,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
195,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
204,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
204,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
213,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
213,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
222,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
231,
235
],
[
235,
236
],
[
236,
237
],
[
237,
238
],
[
237,
239
],
[
231,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
240,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
249,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
249,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
258,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
258,
267
],
[
267,
268
],
[
268,
269
],
[
268,
270
],
[
267,
271
],
[
271,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
267,
276
],
[
276,
277
],
[
277,
278
],
[
277,
279
],
[
276,
280
],
[
280,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
276,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
285,
289
],
[
289,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
285,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
294,
298
],
[
298,
299
],
[
299,
300
],
[
300,
301
],
[
300,
302
],
[
294,
303
],
[
303,
304
],
[
304,
305
],
[
304,
306
],
[
303,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
303,
312
],
[
312,
313
],
[
313,
314
],
[
313,
315
],
[
312,
316
],
[
316,
317
],
[
317,
318
],
[
318,
319
],
[
318,
320
],
[
312,
321
],
[
321,
322
],
[
322,
323
],
[
322,
324
],
[
321,
325
],
[
325,
326
],
[
326,
327
],
[
327,
328
],
[
327,
329
],
[
321,
330
],
[
330,
331
],
[
331,
332
],
[
331,
333
],
[
330,
334
],
[
334,
335
],
[
335,
336
],
[
336,
337
],
[
336,
338
],
[
22,
339
],
[
339,
340
],
[
340,
341
],
[
341,
342
],
[
341,
343
],
[
339,
344
],
[
344,
345
],
[
344,
346
],
[
346,
347
],
[
346,
348
],
[
339,
349
],
[
349,
350
],
[
350,
351
],
[
339,
352
],
[
353,
353
],
[
353,
354
],
[
354,
355
],
[
355,
356
],
[
356,
357
],
[
356,
358
],
[
354,
359
],
[
359,
360
],
[
360,
361
],
[
360,
362
],
[
359,
363
],
[
353,
364
],
[
364,
365
],
[
365,
366
],
[
366,
367
],
[
366,
368
],
[
364,
369
],
[
369,
370
],
[
369,
371
],
[
12,
372
],
[
372,
373
],
[
0,
374
],
[
374,
375
],
[
374,
376
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tchar[] alfabet = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\t\tint[] count = new int[26];\n\t\t\tString str;\n\t\t\twhile ((str = reader.readLine()) != null) {\n\t\t\t\tif (str.length() == 0) break;\n\t\t\t\tstr = str.toLowerCase();\n\t\t\t\tchar ch;\n\t\t\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\t\t\tch = str.charAt(i);\n\t\t\t\t\tif (ch == 'a') {\n\t\t\t\t\t\tcount[0]++;\n\t\t\t\t\t} else if (ch == 'b') {\n\t\t\t\t\t\tcount[1]++;\n\t\t\t\t\t} else if (ch == 'c') {\n\t\t\t\t\t\tcount[2]++;\n\t\t\t\t\t} else if (ch == 'd') {\n\t\t\t\t\t\tcount[3]++;\n\t\t\t\t\t} else if (ch == 'e') {\n\t\t\t\t\t\tcount[4]++;\n\t\t\t\t\t} else if (ch == 'f') {\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t} else if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t} \n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\t\tSystem.out.print(alfabet[i] + \" : \");\n\t\t\t\tSystem.out.println(count[i]);\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\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tchar[] alfabet = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\t\tint[] count = new int[26];\n\t\t\tString str;\n\t\t\twhile ((str = reader.readLine()) != null) {\n\t\t\t\tif (str.length() == 0) break;\n\t\t\t\tstr = str.toLowerCase();\n\t\t\t\tchar ch;\n\t\t\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\t\t\tch = str.charAt(i);\n\t\t\t\t\tif (ch == 'a') {\n\t\t\t\t\t\tcount[0]++;\n\t\t\t\t\t} else if (ch == 'b') {\n\t\t\t\t\t\tcount[1]++;\n\t\t\t\t\t} else if (ch == 'c') {\n\t\t\t\t\t\tcount[2]++;\n\t\t\t\t\t} else if (ch == 'd') {\n\t\t\t\t\t\tcount[3]++;\n\t\t\t\t\t} else if (ch == 'e') {\n\t\t\t\t\t\tcount[4]++;\n\t\t\t\t\t} else if (ch == 'f') {\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t} else if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t} \n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\t\tSystem.out.print(alfabet[i] + \" : \");\n\t\t\t\tSystem.out.println(count[i]);\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\t\ttry {\n\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tchar[] alfabet = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\t\tint[] count = new int[26];\n\t\t\tString str;\n\t\t\twhile ((str = reader.readLine()) != null) {\n\t\t\t\tif (str.length() == 0) break;\n\t\t\t\tstr = str.toLowerCase();\n\t\t\t\tchar ch;\n\t\t\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\t\t\tch = str.charAt(i);\n\t\t\t\t\tif (ch == 'a') {\n\t\t\t\t\t\tcount[0]++;\n\t\t\t\t\t} else if (ch == 'b') {\n\t\t\t\t\t\tcount[1]++;\n\t\t\t\t\t} else if (ch == 'c') {\n\t\t\t\t\t\tcount[2]++;\n\t\t\t\t\t} else if (ch == 'd') {\n\t\t\t\t\t\tcount[3]++;\n\t\t\t\t\t} else if (ch == 'e') {\n\t\t\t\t\t\tcount[4]++;\n\t\t\t\t\t} else if (ch == 'f') {\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t} else if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t} \n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\t\tSystem.out.print(alfabet[i] + \" : \");\n\t\t\t\tSystem.out.println(count[i]);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\ttry {\n\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tchar[] alfabet = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\t\tint[] count = new int[26];\n\t\t\tString str;\n\t\t\twhile ((str = reader.readLine()) != null) {\n\t\t\t\tif (str.length() == 0) break;\n\t\t\t\tstr = str.toLowerCase();\n\t\t\t\tchar ch;\n\t\t\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\t\t\tch = str.charAt(i);\n\t\t\t\t\tif (ch == 'a') {\n\t\t\t\t\t\tcount[0]++;\n\t\t\t\t\t} else if (ch == 'b') {\n\t\t\t\t\t\tcount[1]++;\n\t\t\t\t\t} else if (ch == 'c') {\n\t\t\t\t\t\tcount[2]++;\n\t\t\t\t\t} else if (ch == 'd') {\n\t\t\t\t\t\tcount[3]++;\n\t\t\t\t\t} else if (ch == 'e') {\n\t\t\t\t\t\tcount[4]++;\n\t\t\t\t\t} else if (ch == 'f') {\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t} else if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t} \n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\t\tSystem.out.print(alfabet[i] + \" : \");\n\t\t\t\tSystem.out.println(count[i]);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"try {\n\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tchar[] alfabet = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\t\tint[] count = new int[26];\n\t\t\tString str;\n\t\t\twhile ((str = reader.readLine()) != null) {\n\t\t\t\tif (str.length() == 0) break;\n\t\t\t\tstr = str.toLowerCase();\n\t\t\t\tchar ch;\n\t\t\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\t\t\tch = str.charAt(i);\n\t\t\t\t\tif (ch == 'a') {\n\t\t\t\t\t\tcount[0]++;\n\t\t\t\t\t} else if (ch == 'b') {\n\t\t\t\t\t\tcount[1]++;\n\t\t\t\t\t} else if (ch == 'c') {\n\t\t\t\t\t\tcount[2]++;\n\t\t\t\t\t} else if (ch == 'd') {\n\t\t\t\t\t\tcount[3]++;\n\t\t\t\t\t} else if (ch == 'e') {\n\t\t\t\t\t\tcount[4]++;\n\t\t\t\t\t} else if (ch == 'f') {\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t} else if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t} \n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\t\tSystem.out.print(alfabet[i] + \" : \");\n\t\t\t\tSystem.out.println(count[i]);\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\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tchar[] alfabet = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\t\tint[] count = new int[26];\n\t\t\tString str;\n\t\t\twhile ((str = reader.readLine()) != null) {\n\t\t\t\tif (str.length() == 0) break;\n\t\t\t\tstr = str.toLowerCase();\n\t\t\t\tchar ch;\n\t\t\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\t\t\tch = str.charAt(i);\n\t\t\t\t\tif (ch == 'a') {\n\t\t\t\t\t\tcount[0]++;\n\t\t\t\t\t} else if (ch == 'b') {\n\t\t\t\t\t\tcount[1]++;\n\t\t\t\t\t} else if (ch == 'c') {\n\t\t\t\t\t\tcount[2]++;\n\t\t\t\t\t} else if (ch == 'd') {\n\t\t\t\t\t\tcount[3]++;\n\t\t\t\t\t} else if (ch == 'e') {\n\t\t\t\t\t\tcount[4]++;\n\t\t\t\t\t} else if (ch == 'f') {\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t} else if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t} \n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\t\tSystem.out.print(alfabet[i] + \" : \");\n\t\t\t\tSystem.out.println(count[i]);\n\t\t\t}\n\t\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"char[] alfabet = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};",
"alfabet",
"{'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}",
"'a'",
"'b'",
"'c'",
"'d'",
"'e'",
"'f'",
"'g'",
"'h'",
"'i'",
"'j'",
"'k'",
"'l'",
"'m'",
"'n'",
"'o'",
"'p'",
"'q'",
"'r'",
"'s'",
"'t'",
"'u'",
"'v'",
"'w'",
"'x'",
"'y'",
"'z'",
"int[] count = new int[26];",
"count",
"new int[26]",
"26",
"String str;",
"str",
"while ((str = reader.readLine()) != null) {\n\t\t\t\tif (str.length() == 0) break;\n\t\t\t\tstr = str.toLowerCase();\n\t\t\t\tchar ch;\n\t\t\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\t\t\tch = str.charAt(i);\n\t\t\t\t\tif (ch == 'a') {\n\t\t\t\t\t\tcount[0]++;\n\t\t\t\t\t} else if (ch == 'b') {\n\t\t\t\t\t\tcount[1]++;\n\t\t\t\t\t} else if (ch == 'c') {\n\t\t\t\t\t\tcount[2]++;\n\t\t\t\t\t} else if (ch == 'd') {\n\t\t\t\t\t\tcount[3]++;\n\t\t\t\t\t} else if (ch == 'e') {\n\t\t\t\t\t\tcount[4]++;\n\t\t\t\t\t} else if (ch == 'f') {\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t} else if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t} \n\t\t\t\t}\n\t\t\t}",
"(str = reader.readLine()) != null",
"(str = reader.readLine())",
"str",
"reader.readLine()",
"reader.readLine",
"reader",
"null",
"{\n\t\t\t\tif (str.length() == 0) break;\n\t\t\t\tstr = str.toLowerCase();\n\t\t\t\tchar ch;\n\t\t\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\t\t\tch = str.charAt(i);\n\t\t\t\t\tif (ch == 'a') {\n\t\t\t\t\t\tcount[0]++;\n\t\t\t\t\t} else if (ch == 'b') {\n\t\t\t\t\t\tcount[1]++;\n\t\t\t\t\t} else if (ch == 'c') {\n\t\t\t\t\t\tcount[2]++;\n\t\t\t\t\t} else if (ch == 'd') {\n\t\t\t\t\t\tcount[3]++;\n\t\t\t\t\t} else if (ch == 'e') {\n\t\t\t\t\t\tcount[4]++;\n\t\t\t\t\t} else if (ch == 'f') {\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t} else if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t} \n\t\t\t\t}\n\t\t\t}",
"if (str.length() == 0) break;",
"str.length() == 0",
"str.length()",
"str.length",
"str",
"0",
"break;",
"str = str.toLowerCase()",
"str",
"str.toLowerCase()",
"str.toLowerCase",
"str",
"char ch;",
"ch",
"for (int i = 0; i < str.length(); i++) {\n\t\t\t\t\tch = str.charAt(i);\n\t\t\t\t\tif (ch == 'a') {\n\t\t\t\t\t\tcount[0]++;\n\t\t\t\t\t} else if (ch == 'b') {\n\t\t\t\t\t\tcount[1]++;\n\t\t\t\t\t} else if (ch == 'c') {\n\t\t\t\t\t\tcount[2]++;\n\t\t\t\t\t} else if (ch == 'd') {\n\t\t\t\t\t\tcount[3]++;\n\t\t\t\t\t} else if (ch == 'e') {\n\t\t\t\t\t\tcount[4]++;\n\t\t\t\t\t} else if (ch == 'f') {\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t} else if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t} \n\t\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\tch = str.charAt(i);\n\t\t\t\t\tif (ch == 'a') {\n\t\t\t\t\t\tcount[0]++;\n\t\t\t\t\t} else if (ch == 'b') {\n\t\t\t\t\t\tcount[1]++;\n\t\t\t\t\t} else if (ch == 'c') {\n\t\t\t\t\t\tcount[2]++;\n\t\t\t\t\t} else if (ch == 'd') {\n\t\t\t\t\t\tcount[3]++;\n\t\t\t\t\t} else if (ch == 'e') {\n\t\t\t\t\t\tcount[4]++;\n\t\t\t\t\t} else if (ch == 'f') {\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t} else if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t} \n\t\t\t\t}",
"{\n\t\t\t\t\tch = str.charAt(i);\n\t\t\t\t\tif (ch == 'a') {\n\t\t\t\t\t\tcount[0]++;\n\t\t\t\t\t} else if (ch == 'b') {\n\t\t\t\t\t\tcount[1]++;\n\t\t\t\t\t} else if (ch == 'c') {\n\t\t\t\t\t\tcount[2]++;\n\t\t\t\t\t} else if (ch == 'd') {\n\t\t\t\t\t\tcount[3]++;\n\t\t\t\t\t} else if (ch == 'e') {\n\t\t\t\t\t\tcount[4]++;\n\t\t\t\t\t} else if (ch == 'f') {\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t} else if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t} \n\t\t\t\t}",
"ch = str.charAt(i)",
"ch",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"if (ch == 'a') {\n\t\t\t\t\t\tcount[0]++;\n\t\t\t\t\t} else if (ch == 'b') {\n\t\t\t\t\t\tcount[1]++;\n\t\t\t\t\t} else if (ch == 'c') {\n\t\t\t\t\t\tcount[2]++;\n\t\t\t\t\t} else if (ch == 'd') {\n\t\t\t\t\t\tcount[3]++;\n\t\t\t\t\t} else if (ch == 'e') {\n\t\t\t\t\t\tcount[4]++;\n\t\t\t\t\t} else if (ch == 'f') {\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t} else if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'a'",
"ch",
"'a'",
"{\n\t\t\t\t\t\tcount[0]++;\n\t\t\t\t\t}",
"count[0]++",
"count[0]",
"count",
"0",
"if (ch == 'b') {\n\t\t\t\t\t\tcount[1]++;\n\t\t\t\t\t} else if (ch == 'c') {\n\t\t\t\t\t\tcount[2]++;\n\t\t\t\t\t} else if (ch == 'd') {\n\t\t\t\t\t\tcount[3]++;\n\t\t\t\t\t} else if (ch == 'e') {\n\t\t\t\t\t\tcount[4]++;\n\t\t\t\t\t} else if (ch == 'f') {\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t} else if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'b'",
"ch",
"'b'",
"{\n\t\t\t\t\t\tcount[1]++;\n\t\t\t\t\t}",
"count[1]++",
"count[1]",
"count",
"1",
"if (ch == 'c') {\n\t\t\t\t\t\tcount[2]++;\n\t\t\t\t\t} else if (ch == 'd') {\n\t\t\t\t\t\tcount[3]++;\n\t\t\t\t\t} else if (ch == 'e') {\n\t\t\t\t\t\tcount[4]++;\n\t\t\t\t\t} else if (ch == 'f') {\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t} else if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'c'",
"ch",
"'c'",
"{\n\t\t\t\t\t\tcount[2]++;\n\t\t\t\t\t}",
"count[2]++",
"count[2]",
"count",
"2",
"if (ch == 'd') {\n\t\t\t\t\t\tcount[3]++;\n\t\t\t\t\t} else if (ch == 'e') {\n\t\t\t\t\t\tcount[4]++;\n\t\t\t\t\t} else if (ch == 'f') {\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t} else if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'd'",
"ch",
"'d'",
"{\n\t\t\t\t\t\tcount[3]++;\n\t\t\t\t\t}",
"count[3]++",
"count[3]",
"count",
"3",
"if (ch == 'e') {\n\t\t\t\t\t\tcount[4]++;\n\t\t\t\t\t} else if (ch == 'f') {\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t} else if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'e'",
"ch",
"'e'",
"{\n\t\t\t\t\t\tcount[4]++;\n\t\t\t\t\t}",
"count[4]++",
"count[4]",
"count",
"4",
"if (ch == 'f') {\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t} else if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'f'",
"ch",
"'f'",
"{\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t}",
"count[5]++",
"count[5]",
"count",
"5",
"if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'g'",
"ch",
"'g'",
"{\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t}",
"count[6]++",
"count[6]",
"count",
"6",
"if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'h'",
"ch",
"'h'",
"{\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t}",
"count[7]++",
"count[7]",
"count",
"7",
"if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'i'",
"ch",
"'i'",
"{\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t}",
"count[8]++",
"count[8]",
"count",
"8",
"if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'j'",
"ch",
"'j'",
"{\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t}",
"count[9]++",
"count[9]",
"count",
"9",
"if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'k'",
"ch",
"'k'",
"{\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t}",
"count[10]++",
"count[10]",
"count",
"10",
"if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'l'",
"ch",
"'l'",
"{\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t}",
"count[11]++",
"count[11]",
"count",
"11",
"if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'm'",
"ch",
"'m'",
"{\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t}",
"count[12]++",
"count[12]",
"count",
"12",
"if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'n'",
"ch",
"'n'",
"{\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t}",
"count[13]++",
"count[13]",
"count",
"13",
"if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'o'",
"ch",
"'o'",
"{\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t}",
"count[14]++",
"count[14]",
"count",
"14",
"if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'p'",
"ch",
"'p'",
"{\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t}",
"count[15]++",
"count[15]",
"count",
"15",
"if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'q'",
"ch",
"'q'",
"{\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t}",
"count[16]++",
"count[16]",
"count",
"16",
"if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'r'",
"ch",
"'r'",
"{\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t}",
"count[17]++",
"count[17]",
"count",
"17",
"if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 's'",
"ch",
"'s'",
"{\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t}",
"count[18]++",
"count[18]",
"count",
"18",
"if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 't'",
"ch",
"'t'",
"{\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t}",
"count[19]++",
"count[19]",
"count",
"19",
"if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'u'",
"ch",
"'u'",
"{\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t}",
"count[20]++",
"count[20]",
"count",
"20",
"if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'v'",
"ch",
"'v'",
"{\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t}",
"count[21]++",
"count[21]",
"count",
"21",
"if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'w'",
"ch",
"'w'",
"{\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t}",
"count[22]++",
"count[22]",
"count",
"22",
"if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'x'",
"ch",
"'x'",
"{\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t}",
"count[23]++",
"count[23]",
"count",
"23",
"if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'y'",
"ch",
"'y'",
"{\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t}",
"count[24]++",
"count[24]",
"count",
"24",
"if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"ch == 'z'",
"ch",
"'z'",
"{\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t}",
"count[25]++",
"count[25]",
"count",
"25",
"for (int i = 0; i < count.length; i++) {\n\t\t\t\tSystem.out.print(alfabet[i] + \" : \");\n\t\t\t\tSystem.out.println(count[i]);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < count.length",
"i",
"count.length",
"count",
"count.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tSystem.out.print(alfabet[i] + \" : \");\n\t\t\t\tSystem.out.println(count[i]);\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print(alfabet[i] + \" : \");\n\t\t\t\tSystem.out.println(count[i]);\n\t\t\t}",
"System.out.print(alfabet[i] + \" : \")",
"System.out.print",
"System.out",
"System",
"System.out",
"alfabet[i] + \" : \"",
"alfabet[i]",
"alfabet",
"i",
"\" : \"",
"System.out.println(count[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"count[i]",
"count",
"i",
"String[] args",
"args",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tchar[] alfabet = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\t\tint[] count = new int[26];\n\t\t\tString str;\n\t\t\twhile ((str = reader.readLine()) != null) {\n\t\t\t\tif (str.length() == 0) break;\n\t\t\t\tstr = str.toLowerCase();\n\t\t\t\tchar ch;\n\t\t\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\t\t\tch = str.charAt(i);\n\t\t\t\t\tif (ch == 'a') {\n\t\t\t\t\t\tcount[0]++;\n\t\t\t\t\t} else if (ch == 'b') {\n\t\t\t\t\t\tcount[1]++;\n\t\t\t\t\t} else if (ch == 'c') {\n\t\t\t\t\t\tcount[2]++;\n\t\t\t\t\t} else if (ch == 'd') {\n\t\t\t\t\t\tcount[3]++;\n\t\t\t\t\t} else if (ch == 'e') {\n\t\t\t\t\t\tcount[4]++;\n\t\t\t\t\t} else if (ch == 'f') {\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t} else if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t} \n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\t\tSystem.out.print(alfabet[i] + \" : \");\n\t\t\t\tSystem.out.println(count[i]);\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\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tchar[] alfabet = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\t\tint[] count = new int[26];\n\t\t\tString str;\n\t\t\twhile ((str = reader.readLine()) != null) {\n\t\t\t\tif (str.length() == 0) break;\n\t\t\t\tstr = str.toLowerCase();\n\t\t\t\tchar ch;\n\t\t\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\t\t\tch = str.charAt(i);\n\t\t\t\t\tif (ch == 'a') {\n\t\t\t\t\t\tcount[0]++;\n\t\t\t\t\t} else if (ch == 'b') {\n\t\t\t\t\t\tcount[1]++;\n\t\t\t\t\t} else if (ch == 'c') {\n\t\t\t\t\t\tcount[2]++;\n\t\t\t\t\t} else if (ch == 'd') {\n\t\t\t\t\t\tcount[3]++;\n\t\t\t\t\t} else if (ch == 'e') {\n\t\t\t\t\t\tcount[4]++;\n\t\t\t\t\t} else if (ch == 'f') {\n\t\t\t\t\t\tcount[5]++;\n\t\t\t\t\t} else if (ch == 'g') {\n\t\t\t\t\t\tcount[6]++;\n\t\t\t\t\t} else if (ch == 'h') {\n\t\t\t\t\t\tcount[7]++;\n\t\t\t\t\t} else if (ch == 'i') {\n\t\t\t\t\t\tcount[8]++;\n\t\t\t\t\t} else if (ch == 'j') {\n\t\t\t\t\t\tcount[9]++;\n\t\t\t\t\t} else if (ch == 'k') {\n\t\t\t\t\t\tcount[10]++;\n\t\t\t\t\t} else if (ch == 'l') {\n\t\t\t\t\t\tcount[11]++;\n\t\t\t\t\t} else if (ch == 'm') {\n\t\t\t\t\t\tcount[12]++;\n\t\t\t\t\t} else if (ch == 'n') {\n\t\t\t\t\t\tcount[13]++;\n\t\t\t\t\t} else if (ch == 'o') {\n\t\t\t\t\t\tcount[14]++;\n\t\t\t\t\t} else if (ch == 'p') {\n\t\t\t\t\t\tcount[15]++;\n\t\t\t\t\t} else if (ch == 'q') {\n\t\t\t\t\t\tcount[16]++;\n\t\t\t\t\t} else if (ch == 'r') {\n\t\t\t\t\t\tcount[17]++;\n\t\t\t\t\t} else if (ch == 's') {\n\t\t\t\t\t\tcount[18]++;\n\t\t\t\t\t} else if (ch == 't') {\n\t\t\t\t\t\tcount[19]++;\n\t\t\t\t\t} else if (ch == 'u') {\n\t\t\t\t\t\tcount[20]++;\n\t\t\t\t\t} else if (ch == 'v') {\n\t\t\t\t\t\tcount[21]++;\n\t\t\t\t\t} else if (ch == 'w') {\n\t\t\t\t\t\tcount[22]++;\n\t\t\t\t\t} else if (ch == 'x') {\n\t\t\t\t\t\tcount[23]++;\n\t\t\t\t\t} else if (ch == 'y') {\n\t\t\t\t\t\tcount[24]++;\n\t\t\t\t\t} else if (ch == 'z') {\n\t\t\t\t\t\tcount[25]++;\n\t\t\t\t\t} \n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\t\tSystem.out.print(alfabet[i] + \" : \");\n\t\t\t\tSystem.out.println(count[i]);\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) {
try {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
char[] alfabet = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};
int[] count = new int[26];
String str;
while ((str = reader.readLine()) != null) {
if (str.length() == 0) break;
str = str.toLowerCase();
char ch;
for (int i = 0; i < str.length(); i++) {
ch = str.charAt(i);
if (ch == 'a') {
count[0]++;
} else if (ch == 'b') {
count[1]++;
} else if (ch == 'c') {
count[2]++;
} else if (ch == 'd') {
count[3]++;
} else if (ch == 'e') {
count[4]++;
} else if (ch == 'f') {
count[5]++;
} else if (ch == 'g') {
count[6]++;
} else if (ch == 'h') {
count[7]++;
} else if (ch == 'i') {
count[8]++;
} else if (ch == 'j') {
count[9]++;
} else if (ch == 'k') {
count[10]++;
} else if (ch == 'l') {
count[11]++;
} else if (ch == 'm') {
count[12]++;
} else if (ch == 'n') {
count[13]++;
} else if (ch == 'o') {
count[14]++;
} else if (ch == 'p') {
count[15]++;
} else if (ch == 'q') {
count[16]++;
} else if (ch == 'r') {
count[17]++;
} else if (ch == 's') {
count[18]++;
} else if (ch == 't') {
count[19]++;
} else if (ch == 'u') {
count[20]++;
} else if (ch == 'v') {
count[21]++;
} else if (ch == 'w') {
count[22]++;
} else if (ch == 'x') {
count[23]++;
} else if (ch == 'y') {
count[24]++;
} else if (ch == 'z') {
count[25]++;
}
}
}
for (int i = 0; i < count.length; i++) {
System.out.print(alfabet[i] + " : ");
System.out.println(count[i]);
}
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
17,
41,
13,
20,
41,
13,
17,
41,
13,
20,
42,
2,
0,
13,
4,
18,
13,
17,
30,
4,
18,
13,
13,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
2,
13,
13,
30,
0,
18,
13,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
4,
18,
13,
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
],
[
130,
11
],
[
130,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
22,
24
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
14,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
14,
44
],
[
44,
45
],
[
44,
46
],
[
14,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
14,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
54,
64
],
[
64,
65
],
[
65,
66
],
[
54,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
69,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
90,
96
],
[
14,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
102,
103
],
[
102,
104
],
[
97,
105
],
[
105,
106
],
[
106,
107
],
[
97,
108
],
[
109,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
116,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
116,
121
],
[
121,
122
],
[
122,
123
],
[
121,
124
],
[
124,
125
],
[
124,
126
],
[
12,
127
],
[
127,
128
],
[
0,
129
],
[
129,
130
],
[
129,
131
]
]
| [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here! \n char a = 'a';\n int[] table = new int[26];\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = \"\";\n StringBuilder sb = new StringBuilder();\n while((line = br.readLine()) != null){\n sb.append(line);\n }\n String lines = new String(sb);\n char[] arr = lines.toLowerCase().toCharArray();\n \n for(int i=0; i<arr.length; i++){\n for(int j=0; j<26; j++){\n if(arr[i]==(char)(a+j)){\n table[j] += 1;\n break;\n }\n }\n }\n \n for(int i=0; i<26; i++) {\n System.out.println((char)(a+i) + \" : \" + String.valueOf(table[i]));\n }\n }\n}\n",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here! \n char a = 'a';\n int[] table = new int[26];\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = \"\";\n StringBuilder sb = new StringBuilder();\n while((line = br.readLine()) != null){\n sb.append(line);\n }\n String lines = new String(sb);\n char[] arr = lines.toLowerCase().toCharArray();\n \n for(int i=0; i<arr.length; i++){\n for(int j=0; j<26; j++){\n if(arr[i]==(char)(a+j)){\n table[j] += 1;\n break;\n }\n }\n }\n \n for(int i=0; i<26; i++) {\n System.out.println((char)(a+i) + \" : \" + String.valueOf(table[i]));\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here! \n char a = 'a';\n int[] table = new int[26];\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = \"\";\n StringBuilder sb = new StringBuilder();\n while((line = br.readLine()) != null){\n sb.append(line);\n }\n String lines = new String(sb);\n char[] arr = lines.toLowerCase().toCharArray();\n \n for(int i=0; i<arr.length; i++){\n for(int j=0; j<26; j++){\n if(arr[i]==(char)(a+j)){\n table[j] += 1;\n break;\n }\n }\n }\n \n for(int i=0; i<26; i++) {\n System.out.println((char)(a+i) + \" : \" + String.valueOf(table[i]));\n }\n }",
"main",
"{\n // Your code here! \n char a = 'a';\n int[] table = new int[26];\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = \"\";\n StringBuilder sb = new StringBuilder();\n while((line = br.readLine()) != null){\n sb.append(line);\n }\n String lines = new String(sb);\n char[] arr = lines.toLowerCase().toCharArray();\n \n for(int i=0; i<arr.length; i++){\n for(int j=0; j<26; j++){\n if(arr[i]==(char)(a+j)){\n table[j] += 1;\n break;\n }\n }\n }\n \n for(int i=0; i<26; i++) {\n System.out.println((char)(a+i) + \" : \" + String.valueOf(table[i]));\n }\n }",
"char a = 'a';",
"a",
"'a'",
"int[] table = new int[26];",
"table",
"new int[26]",
"26",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = \"\";",
"line",
"\"\"",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while((line = br.readLine()) != null){\n sb.append(line);\n }",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n sb.append(line);\n }",
"sb.append(line)",
"sb.append",
"sb",
"line",
"String lines = new String(sb);",
"lines",
"new String(sb)",
"char[] arr = lines.toLowerCase().toCharArray();",
"arr",
"lines.toLowerCase().toCharArray()",
"lines.toLowerCase().toCharArray",
"lines.toLowerCase()",
"lines.toLowerCase",
"lines",
"for(int i=0; i<arr.length; i++){\n for(int j=0; j<26; j++){\n if(arr[i]==(char)(a+j)){\n table[j] += 1;\n break;\n }\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\n for(int j=0; j<26; j++){\n if(arr[i]==(char)(a+j)){\n table[j] += 1;\n break;\n }\n }\n }",
"{\n for(int j=0; j<26; j++){\n if(arr[i]==(char)(a+j)){\n table[j] += 1;\n break;\n }\n }\n }",
"for(int j=0; j<26; j++){\n if(arr[i]==(char)(a+j)){\n table[j] += 1;\n break;\n }\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<26",
"j",
"26",
"j++",
"j++",
"j",
"{\n if(arr[i]==(char)(a+j)){\n table[j] += 1;\n break;\n }\n }",
"{\n if(arr[i]==(char)(a+j)){\n table[j] += 1;\n break;\n }\n }",
"if(arr[i]==(char)(a+j)){\n table[j] += 1;\n break;\n }",
"arr[i]==(char)(a+j)",
"arr[i]",
"arr",
"i",
"(char)(a+j)",
"a",
"j",
"{\n table[j] += 1;\n break;\n }",
"table[j] += 1",
"table[j]",
"table",
"j",
"1",
"break;",
"for(int i=0; i<26; i++) {\n System.out.println((char)(a+i) + \" : \" + String.valueOf(table[i]));\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n System.out.println((char)(a+i) + \" : \" + String.valueOf(table[i]));\n }",
"{\n System.out.println((char)(a+i) + \" : \" + String.valueOf(table[i]));\n }",
"System.out.println((char)(a+i) + \" : \" + String.valueOf(table[i]))",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)(a+i) + \" : \" + String.valueOf(table[i])",
"(char)(a+i) + \" : \" + String.valueOf(table[i])",
"(char)(a+i)",
"a",
"i",
"\" : \"",
"String.valueOf(table[i])",
"String.valueOf",
"String",
"table[i]",
"table",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here! \n char a = 'a';\n int[] table = new int[26];\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = \"\";\n StringBuilder sb = new StringBuilder();\n while((line = br.readLine()) != null){\n sb.append(line);\n }\n String lines = new String(sb);\n char[] arr = lines.toLowerCase().toCharArray();\n \n for(int i=0; i<arr.length; i++){\n for(int j=0; j<26; j++){\n if(arr[i]==(char)(a+j)){\n table[j] += 1;\n break;\n }\n }\n }\n \n for(int i=0; i<26; i++) {\n System.out.println((char)(a+i) + \" : \" + String.valueOf(table[i]));\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here! \n char a = 'a';\n int[] table = new int[26];\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = \"\";\n StringBuilder sb = new StringBuilder();\n while((line = br.readLine()) != null){\n sb.append(line);\n }\n String lines = new String(sb);\n char[] arr = lines.toLowerCase().toCharArray();\n \n for(int i=0; i<arr.length; i++){\n for(int j=0; j<26; j++){\n if(arr[i]==(char)(a+j)){\n table[j] += 1;\n break;\n }\n }\n }\n \n for(int i=0; i<26; i++) {\n System.out.println((char)(a+i) + \" : \" + String.valueOf(table[i]));\n }\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
char a = 'a';
int[] table = new int[26];
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = "";
StringBuilder sb = new StringBuilder();
while((line = br.readLine()) != null){
sb.append(line);
}
String lines = new String(sb);
char[] arr = lines.toLowerCase().toCharArray();
for(int i=0; i<arr.length; i++){
for(int j=0; j<26; j++){
if(arr[i]==(char)(a+j)){
table[j] += 1;
break;
}
}
}
for(int i=0; i<26; i++) {
System.out.println((char)(a+i) + " : " + String.valueOf(table[i]));
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
41,
13,
41,
13,
20,
17,
38,
5,
13,
30,
4,
18,
13,
30,
42,
2,
0,
13,
4,
18,
13,
40,
17,
30,
0,
13,
4,
18,
13,
13,
41,
13,
2,
13,
17,
14,
2,
2,
17,
13,
2,
13,
17,
30,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
18,
13,
13,
40,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
26,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
41,
42
],
[
34,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
43,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
43,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
11,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
68,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
87,
87
],
[
87,
88
],
[
87,
89
],
[
87,
90
],
[
90,
91
],
[
90,
92
],
[
80,
93
],
[
93,
94
],
[
9,
95
],
[
95,
96
]
]
| [
"import java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\tpublic static void main(String args[]) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\n\t\tString str;\n\t\t\n\t\tchar c = 'a';\n\n\t\tint id; //read??§?????????????????????????????????????´?\n\t\t\n\t\tint sum[] = new int[26];\n\t\t\n\t\ttry {\n\t\t\twhile((id = isr.read()) != -1) {\n\t\t\t\tid = Character.toLowerCase(id);\n\t\t\t\t\n\t\t\t\tint num = id - 'a'; //id ??? a ???????????????????????????????´?\n\t\t\t\t\n\t\t\t\tif(0 <= num && num < 26) {\n\t\t\t\t\tsum[num]++;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\tSystem.out.println(c + \" : \" +sum[i]);\n\t\t\tc++;\n\t\t}\n\t}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\n\tpublic static void main(String args[]) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\n\t\tString str;\n\t\t\n\t\tchar c = 'a';\n\n\t\tint id; //read??§?????????????????????????????????????´?\n\t\t\n\t\tint sum[] = new int[26];\n\t\t\n\t\ttry {\n\t\t\twhile((id = isr.read()) != -1) {\n\t\t\t\tid = Character.toLowerCase(id);\n\t\t\t\t\n\t\t\t\tint num = id - 'a'; //id ??? a ???????????????????????????????´?\n\t\t\t\t\n\t\t\t\tif(0 <= num && num < 26) {\n\t\t\t\t\tsum[num]++;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\tSystem.out.println(c + \" : \" +sum[i]);\n\t\t\tc++;\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\n\t\tString str;\n\t\t\n\t\tchar c = 'a';\n\n\t\tint id; //read??§?????????????????????????????????????´?\n\t\t\n\t\tint sum[] = new int[26];\n\t\t\n\t\ttry {\n\t\t\twhile((id = isr.read()) != -1) {\n\t\t\t\tid = Character.toLowerCase(id);\n\t\t\t\t\n\t\t\t\tint num = id - 'a'; //id ??? a ???????????????????????????????´?\n\t\t\t\t\n\t\t\t\tif(0 <= num && num < 26) {\n\t\t\t\t\tsum[num]++;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\tSystem.out.println(c + \" : \" +sum[i]);\n\t\t\tc++;\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\n\t\tString str;\n\t\t\n\t\tchar c = 'a';\n\n\t\tint id; //read??§?????????????????????????????????????´?\n\t\t\n\t\tint sum[] = new int[26];\n\t\t\n\t\ttry {\n\t\t\twhile((id = isr.read()) != -1) {\n\t\t\t\tid = Character.toLowerCase(id);\n\t\t\t\t\n\t\t\t\tint num = id - 'a'; //id ??? a ???????????????????????????????´?\n\t\t\t\t\n\t\t\t\tif(0 <= num && num < 26) {\n\t\t\t\t\tsum[num]++;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\tSystem.out.println(c + \" : \" +sum[i]);\n\t\t\tc++;\n\t\t}\n\t}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"String str;",
"str",
"char c = 'a';",
"c",
"'a'",
"int id;",
"id",
"int sum[] = new int[26];",
"sum",
"new int[26]",
"26",
"try {\n\t\t\twhile((id = isr.read()) != -1) {\n\t\t\t\tid = Character.toLowerCase(id);\n\t\t\t\t\n\t\t\t\tint num = id - 'a'; //id ??? a ???????????????????????????????´?\n\t\t\t\t\n\t\t\t\tif(0 <= num && num < 26) {\n\t\t\t\t\tsum[num]++;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\twhile((id = isr.read()) != -1) {\n\t\t\t\tid = Character.toLowerCase(id);\n\t\t\t\t\n\t\t\t\tint num = id - 'a'; //id ??? a ???????????????????????????????´?\n\t\t\t\t\n\t\t\t\tif(0 <= num && num < 26) {\n\t\t\t\t\tsum[num]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"while((id = isr.read()) != -1) {\n\t\t\t\tid = Character.toLowerCase(id);\n\t\t\t\t\n\t\t\t\tint num = id - 'a'; //id ??? a ???????????????????????????????´?\n\t\t\t\t\n\t\t\t\tif(0 <= num && num < 26) {\n\t\t\t\t\tsum[num]++;\n\t\t\t\t}\n\t\t\t}",
"(id = isr.read()) != -1",
"(id = isr.read())",
"id",
"isr.read()",
"isr.read",
"isr",
"-1",
"1",
"{\n\t\t\t\tid = Character.toLowerCase(id);\n\t\t\t\t\n\t\t\t\tint num = id - 'a'; //id ??? a ???????????????????????????????´?\n\t\t\t\t\n\t\t\t\tif(0 <= num && num < 26) {\n\t\t\t\t\tsum[num]++;\n\t\t\t\t}\n\t\t\t}",
"id = Character.toLowerCase(id)",
"id",
"Character.toLowerCase(id)",
"Character.toLowerCase",
"Character",
"id",
"int num = id - 'a';",
"num",
"id - 'a'",
"id",
"'a'",
"if(0 <= num && num < 26) {\n\t\t\t\t\tsum[num]++;\n\t\t\t\t}",
"0 <= num && num < 26",
"0 <= num",
"0",
"num",
"num < 26",
"num",
"26",
"{\n\t\t\t\t\tsum[num]++;\n\t\t\t\t}",
"sum[num]++",
"sum[num]",
"sum",
"num",
"for(int i = 0; i < 26; i++){\n\t\t\tSystem.out.println(c + \" : \" +sum[i]);\n\t\t\tc++;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(c + \" : \" +sum[i]);\n\t\t\tc++;\n\t\t}",
"{\n\t\t\tSystem.out.println(c + \" : \" +sum[i]);\n\t\t\tc++;\n\t\t}",
"System.out.println(c + \" : \" +sum[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"c + \" : \" +sum[i]",
"c + \" : \" +sum[i]",
"c",
"\" : \"",
"sum[i]",
"sum",
"i",
"c++",
"c",
"String args[]",
"args"
]
| import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String args[]) {
InputStreamReader isr = new InputStreamReader(System.in);
String str;
char c = 'a';
int id; //read??§?????????????????????????????????????´?
int sum[] = new int[26];
try {
while((id = isr.read()) != -1) {
id = Character.toLowerCase(id);
int num = id - 'a'; //id ??? a ???????????????????????????????´?
if(0 <= num && num < 26) {
sum[num]++;
}
}
} catch (IOException e) {
e.printStackTrace();
}
for(int i = 0; i < 26; i++){
System.out.println(c + " : " +sum[i]);
c++;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
41,
13,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
17,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
13,
40,
13,
41,
13,
4,
18,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
144,
5
],
[
144,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
50,
56
],
[
56,
57
],
[
8,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
65,
75
],
[
75,
76
],
[
76,
77
],
[
65,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
80,
90
],
[
90,
91
],
[
91,
92
],
[
80,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
100,
101
],
[
100,
102
],
[
95,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
8,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
116,
118
],
[
109,
119
],
[
119,
120
],
[
120,
121
],
[
109,
122
],
[
123,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
124,
129
],
[
130,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
130,
135
],
[
135,
136
],
[
135,
137
],
[
8,
138
],
[
138,
139
],
[
139,
140
],
[
6,
141
],
[
141,
142
],
[
0,
143
],
[
143,
144
],
[
143,
145
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n String str = \"\";\n\n while (sc.hasNextLine()) {\n str += sc.nextLine();\n }\n\n char x;\n char[] alpha = new char[26];\n int[] count = new int[26];\n\n int k = 0;\n for (x = 'a'; x <= 'z'; x++) {\n alpha[k] = x;\n k++;\n }\n\n char[] strArray = (str.toLowerCase()).toCharArray();\n\n for (int i = 0; i < strArray.length; i++) {\n for (int j = 0; j < alpha.length; j++) {\n if (strArray[i] == alpha[j]) {\n count[j] += 1;\n }\n }\n }\n\n for (int i = 0; i < alpha.length; i++) {\n System.out.println(alpha[i] + \" : \" + count[i]);\n }\n\n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n String str = \"\";\n\n while (sc.hasNextLine()) {\n str += sc.nextLine();\n }\n\n char x;\n char[] alpha = new char[26];\n int[] count = new int[26];\n\n int k = 0;\n for (x = 'a'; x <= 'z'; x++) {\n alpha[k] = x;\n k++;\n }\n\n char[] strArray = (str.toLowerCase()).toCharArray();\n\n for (int i = 0; i < strArray.length; i++) {\n for (int j = 0; j < alpha.length; j++) {\n if (strArray[i] == alpha[j]) {\n count[j] += 1;\n }\n }\n }\n\n for (int i = 0; i < alpha.length; i++) {\n System.out.println(alpha[i] + \" : \" + count[i]);\n }\n\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n String str = \"\";\n\n while (sc.hasNextLine()) {\n str += sc.nextLine();\n }\n\n char x;\n char[] alpha = new char[26];\n int[] count = new int[26];\n\n int k = 0;\n for (x = 'a'; x <= 'z'; x++) {\n alpha[k] = x;\n k++;\n }\n\n char[] strArray = (str.toLowerCase()).toCharArray();\n\n for (int i = 0; i < strArray.length; i++) {\n for (int j = 0; j < alpha.length; j++) {\n if (strArray[i] == alpha[j]) {\n count[j] += 1;\n }\n }\n }\n\n for (int i = 0; i < alpha.length; i++) {\n System.out.println(alpha[i] + \" : \" + count[i]);\n }\n\n sc.close();\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n\n String str = \"\";\n\n while (sc.hasNextLine()) {\n str += sc.nextLine();\n }\n\n char x;\n char[] alpha = new char[26];\n int[] count = new int[26];\n\n int k = 0;\n for (x = 'a'; x <= 'z'; x++) {\n alpha[k] = x;\n k++;\n }\n\n char[] strArray = (str.toLowerCase()).toCharArray();\n\n for (int i = 0; i < strArray.length; i++) {\n for (int j = 0; j < alpha.length; j++) {\n if (strArray[i] == alpha[j]) {\n count[j] += 1;\n }\n }\n }\n\n for (int i = 0; i < alpha.length; i++) {\n System.out.println(alpha[i] + \" : \" + count[i]);\n }\n\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str = \"\";",
"str",
"\"\"",
"while (sc.hasNextLine()) {\n str += sc.nextLine();\n }",
"sc.hasNextLine()",
"sc.hasNextLine",
"sc",
"{\n str += sc.nextLine();\n }",
"str += sc.nextLine()",
"str",
"sc.nextLine()",
"sc.nextLine",
"sc",
"char x;",
"x",
"char[] alpha = new char[26];",
"alpha",
"new char[26]",
"26",
"int[] count = new int[26];",
"count",
"new int[26]",
"26",
"int k = 0;",
"k",
"0",
"for (x = 'a'; x <= 'z'; x++) {\n alpha[k] = x;\n k++;\n }",
"x = 'a';",
"x = 'a'",
"x",
"'a'",
"x <= 'z'",
"x",
"'z'",
"x++",
"x++",
"x",
"{\n alpha[k] = x;\n k++;\n }",
"{\n alpha[k] = x;\n k++;\n }",
"alpha[k] = x",
"alpha[k]",
"alpha",
"k",
"x",
"k++",
"k",
"char[] strArray = (str.toLowerCase()).toCharArray();",
"strArray",
"(str.toLowerCase()).toCharArray()",
"(str.toLowerCase()).toCharArray",
"(str.toLowerCase())",
"str.toLowerCase",
"str",
"for (int i = 0; i < strArray.length; i++) {\n for (int j = 0; j < alpha.length; j++) {\n if (strArray[i] == alpha[j]) {\n count[j] += 1;\n }\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < strArray.length",
"i",
"strArray.length",
"strArray",
"strArray.length",
"i++",
"i++",
"i",
"{\n for (int j = 0; j < alpha.length; j++) {\n if (strArray[i] == alpha[j]) {\n count[j] += 1;\n }\n }\n }",
"{\n for (int j = 0; j < alpha.length; j++) {\n if (strArray[i] == alpha[j]) {\n count[j] += 1;\n }\n }\n }",
"for (int j = 0; j < alpha.length; j++) {\n if (strArray[i] == alpha[j]) {\n count[j] += 1;\n }\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < alpha.length",
"j",
"alpha.length",
"alpha",
"alpha.length",
"j++",
"j++",
"j",
"{\n if (strArray[i] == alpha[j]) {\n count[j] += 1;\n }\n }",
"{\n if (strArray[i] == alpha[j]) {\n count[j] += 1;\n }\n }",
"if (strArray[i] == alpha[j]) {\n count[j] += 1;\n }",
"strArray[i] == alpha[j]",
"strArray[i]",
"strArray",
"i",
"alpha[j]",
"alpha",
"j",
"{\n count[j] += 1;\n }",
"count[j] += 1",
"count[j]",
"count",
"j",
"1",
"for (int i = 0; i < alpha.length; i++) {\n System.out.println(alpha[i] + \" : \" + count[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < alpha.length",
"i",
"alpha.length",
"alpha",
"alpha.length",
"i++",
"i++",
"i",
"{\n System.out.println(alpha[i] + \" : \" + count[i]);\n }",
"{\n System.out.println(alpha[i] + \" : \" + count[i]);\n }",
"System.out.println(alpha[i] + \" : \" + count[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"alpha[i] + \" : \" + count[i]",
"alpha[i] + \" : \" + count[i]",
"alpha[i]",
"alpha",
"i",
"\" : \"",
"count[i]",
"count",
"i",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n String str = \"\";\n\n while (sc.hasNextLine()) {\n str += sc.nextLine();\n }\n\n char x;\n char[] alpha = new char[26];\n int[] count = new int[26];\n\n int k = 0;\n for (x = 'a'; x <= 'z'; x++) {\n alpha[k] = x;\n k++;\n }\n\n char[] strArray = (str.toLowerCase()).toCharArray();\n\n for (int i = 0; i < strArray.length; i++) {\n for (int j = 0; j < alpha.length; j++) {\n if (strArray[i] == alpha[j]) {\n count[j] += 1;\n }\n }\n }\n\n for (int i = 0; i < alpha.length; i++) {\n System.out.println(alpha[i] + \" : \" + count[i]);\n }\n\n sc.close();\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n String str = \"\";\n\n while (sc.hasNextLine()) {\n str += sc.nextLine();\n }\n\n char x;\n char[] alpha = new char[26];\n int[] count = new int[26];\n\n int k = 0;\n for (x = 'a'; x <= 'z'; x++) {\n alpha[k] = x;\n k++;\n }\n\n char[] strArray = (str.toLowerCase()).toCharArray();\n\n for (int i = 0; i < strArray.length; i++) {\n for (int j = 0; j < alpha.length; j++) {\n if (strArray[i] == alpha[j]) {\n count[j] += 1;\n }\n }\n }\n\n for (int i = 0; i < alpha.length; i++) {\n System.out.println(alpha[i] + \" : \" + count[i]);\n }\n\n sc.close();\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String str = "";
while (sc.hasNextLine()) {
str += sc.nextLine();
}
char x;
char[] alpha = new char[26];
int[] count = new int[26];
int k = 0;
for (x = 'a'; x <= 'z'; x++) {
alpha[k] = x;
k++;
}
char[] strArray = (str.toLowerCase()).toCharArray();
for (int i = 0; i < strArray.length; i++) {
for (int j = 0; j < alpha.length; j++) {
if (strArray[i] == alpha[j]) {
count[j] += 1;
}
}
}
for (int i = 0; i < alpha.length; i++) {
System.out.println(alpha[i] + " : " + count[i]);
}
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
41,
13,
11,
1,
0,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
2,
13,
17,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
4,
18,
13,
13,
2,
13,
17,
14,
4,
18,
13,
13,
30,
4,
18,
13,
13,
2,
4,
18,
13,
13,
17,
28,
13,
4,
18,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
17,
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
],
[
21,
23
],
[
14,
24
],
[
24,
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
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
14,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
56,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
62,
72
],
[
72,
73
],
[
73,
74
],
[
62,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
81,
85
],
[
85,
86
],
[
85,
87
],
[
76,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
88,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
94,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
98,
103
],
[
14,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
104,
109
],
[
110,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
117,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
117,
121
],
[
117,
122
],
[
122,
123
],
[
123,
124
],
[
12,
125
],
[
125,
126
]
]
| [
"import java.util.LinkedHashMap;\nimport java.util.Map;\nimport java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tString abc = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tMap<String, Integer> map = new LinkedHashMap<String, Integer>();\n\t\tint i;\n\t\tfor (i = 0; i < abc.length(); i++) {\n\t\t\tmap.put(abc.substring(i, i + 1), 0);\n\t\t}\n\t\twhile (in.hasNext()) {\n\t\t\tString input = in.next();\n\t\t\tfor (i = 0; i < input.length(); i++) {\n\t\t\t\tString c = input.substring(i, i + 1).toLowerCase();\n\t\t\t\tif (map.containsKey(c)) {\n\t\t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (Map.Entry<String, Integer> e : map.entrySet()) {\n\t\t\tSystem.out.println(e.getKey() + \" : \" + e.getValue());\n\t\t}\n\t}\n}",
"import java.util.LinkedHashMap;",
"LinkedHashMap",
"java.util",
"import java.util.Map;",
"Map",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tString abc = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tMap<String, Integer> map = new LinkedHashMap<String, Integer>();\n\t\tint i;\n\t\tfor (i = 0; i < abc.length(); i++) {\n\t\t\tmap.put(abc.substring(i, i + 1), 0);\n\t\t}\n\t\twhile (in.hasNext()) {\n\t\t\tString input = in.next();\n\t\t\tfor (i = 0; i < input.length(); i++) {\n\t\t\t\tString c = input.substring(i, i + 1).toLowerCase();\n\t\t\t\tif (map.containsKey(c)) {\n\t\t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (Map.Entry<String, Integer> e : map.entrySet()) {\n\t\t\tSystem.out.println(e.getKey() + \" : \" + e.getValue());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tString abc = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tMap<String, Integer> map = new LinkedHashMap<String, Integer>();\n\t\tint i;\n\t\tfor (i = 0; i < abc.length(); i++) {\n\t\t\tmap.put(abc.substring(i, i + 1), 0);\n\t\t}\n\t\twhile (in.hasNext()) {\n\t\t\tString input = in.next();\n\t\t\tfor (i = 0; i < input.length(); i++) {\n\t\t\t\tString c = input.substring(i, i + 1).toLowerCase();\n\t\t\t\tif (map.containsKey(c)) {\n\t\t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (Map.Entry<String, Integer> e : map.entrySet()) {\n\t\t\tSystem.out.println(e.getKey() + \" : \" + e.getValue());\n\t\t}\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tString abc = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tMap<String, Integer> map = new LinkedHashMap<String, Integer>();\n\t\tint i;\n\t\tfor (i = 0; i < abc.length(); i++) {\n\t\t\tmap.put(abc.substring(i, i + 1), 0);\n\t\t}\n\t\twhile (in.hasNext()) {\n\t\t\tString input = in.next();\n\t\t\tfor (i = 0; i < input.length(); i++) {\n\t\t\t\tString c = input.substring(i, i + 1).toLowerCase();\n\t\t\t\tif (map.containsKey(c)) {\n\t\t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (Map.Entry<String, Integer> e : map.entrySet()) {\n\t\t\tSystem.out.println(e.getKey() + \" : \" + e.getValue());\n\t\t}\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String abc = \"abcdefghijklmnopqrstuvwxyz\";",
"abc",
"\"abcdefghijklmnopqrstuvwxyz\"",
"Map<String, Integer> map = new LinkedHashMap<String, Integer>();",
"map",
"new LinkedHashMap<String, Integer>()",
"int i;",
"i",
"for (i = 0; i < abc.length(); i++) {\n\t\t\tmap.put(abc.substring(i, i + 1), 0);\n\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < abc.length()",
"i",
"abc.length()",
"abc.length",
"abc",
"i++",
"i++",
"i",
"{\n\t\t\tmap.put(abc.substring(i, i + 1), 0);\n\t\t}",
"{\n\t\t\tmap.put(abc.substring(i, i + 1), 0);\n\t\t}",
"map.put(abc.substring(i, i + 1), 0)",
"map.put",
"map",
"abc.substring(i, i + 1)",
"abc.substring",
"abc",
"i",
"i + 1",
"i",
"1",
"0",
"while (in.hasNext()) {\n\t\t\tString input = in.next();\n\t\t\tfor (i = 0; i < input.length(); i++) {\n\t\t\t\tString c = input.substring(i, i + 1).toLowerCase();\n\t\t\t\tif (map.containsKey(c)) {\n\t\t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"in.hasNext()",
"in.hasNext",
"in",
"{\n\t\t\tString input = in.next();\n\t\t\tfor (i = 0; i < input.length(); i++) {\n\t\t\t\tString c = input.substring(i, i + 1).toLowerCase();\n\t\t\t\tif (map.containsKey(c)) {\n\t\t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"String input = in.next();",
"input",
"in.next()",
"in.next",
"in",
"for (i = 0; i < input.length(); i++) {\n\t\t\t\tString c = input.substring(i, i + 1).toLowerCase();\n\t\t\t\tif (map.containsKey(c)) {\n\t\t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}\n\t\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < input.length()",
"i",
"input.length()",
"input.length",
"input",
"i++",
"i++",
"i",
"{\n\t\t\t\tString c = input.substring(i, i + 1).toLowerCase();\n\t\t\t\tif (map.containsKey(c)) {\n\t\t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tString c = input.substring(i, i + 1).toLowerCase();\n\t\t\t\tif (map.containsKey(c)) {\n\t\t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}\n\t\t\t}",
"String c = input.substring(i, i + 1).toLowerCase();",
"c",
"input.substring(i, i + 1).toLowerCase()",
"input.substring(i, i + 1).toLowerCase",
"input.substring(i, i + 1)",
"input.substring",
"input",
"i",
"i + 1",
"i",
"1",
"if (map.containsKey(c)) {\n\t\t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}",
"map.containsKey(c)",
"map.containsKey",
"map",
"c",
"{\n\t\t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}",
"map.put(c, map.get(c) + 1)",
"map.put",
"map",
"c",
"map.get(c) + 1",
"map.get(c)",
"map.get",
"map",
"c",
"1",
"for (Map.Entry<String, Integer> e : map.entrySet()) {\n\t\t\tSystem.out.println(e.getKey() + \" : \" + e.getValue());\n\t\t}",
"Map.Entry<String, Integer> e",
"map.entrySet()",
"map.entrySet",
"map",
"{\n\t\t\tSystem.out.println(e.getKey() + \" : \" + e.getValue());\n\t\t}",
"{\n\t\t\tSystem.out.println(e.getKey() + \" : \" + e.getValue());\n\t\t}",
"System.out.println(e.getKey() + \" : \" + e.getValue())",
"System.out.println",
"System.out",
"System",
"System.out",
"e.getKey() + \" : \" + e.getValue()",
"e.getKey() + \" : \" + e.getValue()",
"e.getKey()",
"e.getKey",
"e",
"\" : \"",
"e.getValue()",
"e.getValue",
"e",
"String[] args",
"args"
]
| import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String abc = "abcdefghijklmnopqrstuvwxyz";
Map<String, Integer> map = new LinkedHashMap<String, Integer>();
int i;
for (i = 0; i < abc.length(); i++) {
map.put(abc.substring(i, i + 1), 0);
}
while (in.hasNext()) {
String input = in.next();
for (i = 0; i < input.length(); i++) {
String c = input.substring(i, i + 1).toLowerCase();
if (map.containsKey(c)) {
map.put(c, map.get(c) + 1);
}
}
}
for (Map.Entry<String, Integer> e : map.entrySet()) {
System.out.println(e.getKey() + " : " + e.getValue());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
17,
42,
2,
4,
18,
13,
17,
30,
41,
13,
4,
18,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
17,
13,
30,
9,
40,
18,
13,
13,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
144,
5
],
[
144,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
35,
39
],
[
34,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
48,
58
],
[
58,
59
],
[
59,
60
],
[
48,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
65,
70
],
[
62,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
71,
79
],
[
79,
80
],
[
62,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
8,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
87,
90
],
[
87,
91
],
[
87,
92
],
[
87,
93
],
[
87,
94
],
[
87,
95
],
[
87,
96
],
[
87,
97
],
[
87,
98
],
[
87,
99
],
[
87,
100
],
[
87,
101
],
[
87,
102
],
[
87,
103
],
[
87,
104
],
[
87,
105
],
[
87,
106
],
[
87,
107
],
[
87,
108
],
[
87,
109
],
[
87,
110
],
[
87,
111
],
[
87,
112
],
[
87,
113
],
[
8,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
119,
120
],
[
119,
121
],
[
114,
122
],
[
122,
123
],
[
123,
124
],
[
114,
125
],
[
126,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
133,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
133,
138
],
[
138,
139
],
[
138,
140
],
[
6,
141
],
[
141,
142
],
[
0,
143
],
[
143,
144
],
[
143,
145
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\t//データ入力の準備\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t//データ数の配列\n\t\tint result[] = new int[26];\n\t\tfor (int i = 0; i < 26; i++){\n\t\t\tresult[i] = 0;\n\t\t}\n\t\t\n\t\twhile (sc.hasNext() == true){\n\t\t\t\n\t\t\t//データを小文字に変換して入力\n\t\t\tString temp = sc.nextLine().toLowerCase();\n\t\t\t\n\t\t\tfor (int i = 0; i < temp.length(); i++){\n\t\t\t\t//入力された文字のascllコード\n\t\t\t\tint ac = temp.charAt(i) - 97;\n\t\t\t\tif (ac < 0 || 26 <= ac){\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tresult[ac]++;\n\t\t\t}\n\t\t}\n\t\t\n\t\t//結果の出力\n\t\tchar[] value = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};\n\t\t\n\t\tfor (int i = 0; i < 26; i++){\n\t\t\tSystem.out.println(value[i] + \" : \" + result[i]);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args){\n\t\t//データ入力の準備\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t//データ数の配列\n\t\tint result[] = new int[26];\n\t\tfor (int i = 0; i < 26; i++){\n\t\t\tresult[i] = 0;\n\t\t}\n\t\t\n\t\twhile (sc.hasNext() == true){\n\t\t\t\n\t\t\t//データを小文字に変換して入力\n\t\t\tString temp = sc.nextLine().toLowerCase();\n\t\t\t\n\t\t\tfor (int i = 0; i < temp.length(); i++){\n\t\t\t\t//入力された文字のascllコード\n\t\t\t\tint ac = temp.charAt(i) - 97;\n\t\t\t\tif (ac < 0 || 26 <= ac){\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tresult[ac]++;\n\t\t\t}\n\t\t}\n\t\t\n\t\t//結果の出力\n\t\tchar[] value = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};\n\t\t\n\t\tfor (int i = 0; i < 26; i++){\n\t\t\tSystem.out.println(value[i] + \" : \" + result[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\t//データ入力の準備\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t//データ数の配列\n\t\tint result[] = new int[26];\n\t\tfor (int i = 0; i < 26; i++){\n\t\t\tresult[i] = 0;\n\t\t}\n\t\t\n\t\twhile (sc.hasNext() == true){\n\t\t\t\n\t\t\t//データを小文字に変換して入力\n\t\t\tString temp = sc.nextLine().toLowerCase();\n\t\t\t\n\t\t\tfor (int i = 0; i < temp.length(); i++){\n\t\t\t\t//入力された文字のascllコード\n\t\t\t\tint ac = temp.charAt(i) - 97;\n\t\t\t\tif (ac < 0 || 26 <= ac){\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tresult[ac]++;\n\t\t\t}\n\t\t}\n\t\t\n\t\t//結果の出力\n\t\tchar[] value = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};\n\t\t\n\t\tfor (int i = 0; i < 26; i++){\n\t\t\tSystem.out.println(value[i] + \" : \" + result[i]);\n\t\t}\n\t}",
"main",
"{\n\t\t//データ入力の準備\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t//データ数の配列\n\t\tint result[] = new int[26];\n\t\tfor (int i = 0; i < 26; i++){\n\t\t\tresult[i] = 0;\n\t\t}\n\t\t\n\t\twhile (sc.hasNext() == true){\n\t\t\t\n\t\t\t//データを小文字に変換して入力\n\t\t\tString temp = sc.nextLine().toLowerCase();\n\t\t\t\n\t\t\tfor (int i = 0; i < temp.length(); i++){\n\t\t\t\t//入力された文字のascllコード\n\t\t\t\tint ac = temp.charAt(i) - 97;\n\t\t\t\tif (ac < 0 || 26 <= ac){\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tresult[ac]++;\n\t\t\t}\n\t\t}\n\t\t\n\t\t//結果の出力\n\t\tchar[] value = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};\n\t\t\n\t\tfor (int i = 0; i < 26; i++){\n\t\t\tSystem.out.println(value[i] + \" : \" + result[i]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int result[] = new int[26];",
"result",
"new int[26]",
"26",
"for (int i = 0; i < 26; i++){\n\t\t\tresult[i] = 0;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tresult[i] = 0;\n\t\t}",
"{\n\t\t\tresult[i] = 0;\n\t\t}",
"result[i] = 0",
"result[i]",
"result",
"i",
"0",
"while (sc.hasNext() == true){\n\t\t\t\n\t\t\t//データを小文字に変換して入力\n\t\t\tString temp = sc.nextLine().toLowerCase();\n\t\t\t\n\t\t\tfor (int i = 0; i < temp.length(); i++){\n\t\t\t\t//入力された文字のascllコード\n\t\t\t\tint ac = temp.charAt(i) - 97;\n\t\t\t\tif (ac < 0 || 26 <= ac){\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tresult[ac]++;\n\t\t\t}\n\t\t}",
"sc.hasNext() == true",
"sc.hasNext()",
"sc.hasNext",
"sc",
"true",
"{\n\t\t\t\n\t\t\t//データを小文字に変換して入力\n\t\t\tString temp = sc.nextLine().toLowerCase();\n\t\t\t\n\t\t\tfor (int i = 0; i < temp.length(); i++){\n\t\t\t\t//入力された文字のascllコード\n\t\t\t\tint ac = temp.charAt(i) - 97;\n\t\t\t\tif (ac < 0 || 26 <= ac){\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tresult[ac]++;\n\t\t\t}\n\t\t}",
"String temp = sc.nextLine().toLowerCase();",
"temp",
"sc.nextLine().toLowerCase()",
"sc.nextLine().toLowerCase",
"sc.nextLine()",
"sc.nextLine",
"sc",
"for (int i = 0; i < temp.length(); i++){\n\t\t\t\t//入力された文字のascllコード\n\t\t\t\tint ac = temp.charAt(i) - 97;\n\t\t\t\tif (ac < 0 || 26 <= ac){\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tresult[ac]++;\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < temp.length()",
"i",
"temp.length()",
"temp.length",
"temp",
"i++",
"i++",
"i",
"{\n\t\t\t\t//入力された文字のascllコード\n\t\t\t\tint ac = temp.charAt(i) - 97;\n\t\t\t\tif (ac < 0 || 26 <= ac){\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tresult[ac]++;\n\t\t\t}",
"{\n\t\t\t\t//入力された文字のascllコード\n\t\t\t\tint ac = temp.charAt(i) - 97;\n\t\t\t\tif (ac < 0 || 26 <= ac){\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tresult[ac]++;\n\t\t\t}",
"int ac = temp.charAt(i) - 97;",
"ac",
"temp.charAt(i) - 97",
"temp.charAt(i)",
"temp.charAt",
"temp",
"i",
"97",
"if (ac < 0 || 26 <= ac){\n\t\t\t\t\tcontinue;\n\t\t\t\t}",
"ac < 0 || 26 <= ac",
"ac < 0",
"ac",
"0",
"26 <= ac",
"26",
"ac",
"{\n\t\t\t\t\tcontinue;\n\t\t\t\t}",
"continue;",
"result[ac]++",
"result[ac]",
"result",
"ac",
"char[] value = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};",
"value",
"{'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'}",
"'a'",
"'b'",
"'c'",
"'d'",
"'e'",
"'f'",
"'g'",
"'h'",
"'i'",
"'j'",
"'k'",
"'l'",
"'m'",
"'n'",
"'o'",
"'p'",
"'q'",
"'r'",
"'s'",
"'t'",
"'u'",
"'v'",
"'w'",
"'x'",
"'y'",
"'z'",
"for (int i = 0; i < 26; i++){\n\t\t\tSystem.out.println(value[i] + \" : \" + result[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(value[i] + \" : \" + result[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(value[i] + \" : \" + result[i]);\n\t\t}",
"System.out.println(value[i] + \" : \" + result[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"value[i] + \" : \" + result[i]",
"value[i] + \" : \" + result[i]",
"value[i]",
"value",
"i",
"\" : \"",
"result[i]",
"result",
"i",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\t//データ入力の準備\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t//データ数の配列\n\t\tint result[] = new int[26];\n\t\tfor (int i = 0; i < 26; i++){\n\t\t\tresult[i] = 0;\n\t\t}\n\t\t\n\t\twhile (sc.hasNext() == true){\n\t\t\t\n\t\t\t//データを小文字に変換して入力\n\t\t\tString temp = sc.nextLine().toLowerCase();\n\t\t\t\n\t\t\tfor (int i = 0; i < temp.length(); i++){\n\t\t\t\t//入力された文字のascllコード\n\t\t\t\tint ac = temp.charAt(i) - 97;\n\t\t\t\tif (ac < 0 || 26 <= ac){\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tresult[ac]++;\n\t\t\t}\n\t\t}\n\t\t\n\t\t//結果の出力\n\t\tchar[] value = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};\n\t\t\n\t\tfor (int i = 0; i < 26; i++){\n\t\t\tSystem.out.println(value[i] + \" : \" + result[i]);\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\t//データ入力の準備\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t//データ数の配列\n\t\tint result[] = new int[26];\n\t\tfor (int i = 0; i < 26; i++){\n\t\t\tresult[i] = 0;\n\t\t}\n\t\t\n\t\twhile (sc.hasNext() == true){\n\t\t\t\n\t\t\t//データを小文字に変換して入力\n\t\t\tString temp = sc.nextLine().toLowerCase();\n\t\t\t\n\t\t\tfor (int i = 0; i < temp.length(); i++){\n\t\t\t\t//入力された文字のascllコード\n\t\t\t\tint ac = temp.charAt(i) - 97;\n\t\t\t\tif (ac < 0 || 26 <= ac){\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tresult[ac]++;\n\t\t\t}\n\t\t}\n\t\t\n\t\t//結果の出力\n\t\tchar[] value = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};\n\t\t\n\t\tfor (int i = 0; i < 26; i++){\n\t\t\tSystem.out.println(value[i] + \" : \" + result[i]);\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args){
//データ入力の準備
Scanner sc = new Scanner(System.in);
//データ数の配列
int result[] = new int[26];
for (int i = 0; i < 26; i++){
result[i] = 0;
}
while (sc.hasNext() == true){
//データを小文字に変換して入力
String temp = sc.nextLine().toLowerCase();
for (int i = 0; i < temp.length(); i++){
//入力された文字のascllコード
int ac = temp.charAt(i) - 97;
if (ac < 0 || 26 <= ac){
continue;
}
result[ac]++;
}
}
//結果の出力
char[] value = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};
for (int i = 0; i < 26; i++){
System.out.println(value[i] + " : " + result[i]);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
2,
17,
4,
18,
13,
13,
2,
4,
18,
13,
13,
17,
30,
40,
18,
13,
2,
4,
18,
13,
13,
17,
14,
4,
18,
13,
17,
30,
3,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
17,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
110,
5
],
[
110,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
47,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
54,
59
],
[
46,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
64,
69
],
[
20,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
70,
75
],
[
75,
76
],
[
8,
77
],
[
77,
78
],
[
78,
79
],
[
8,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
85,
87
],
[
80,
88
],
[
88,
89
],
[
89,
90
],
[
80,
91
],
[
92,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
99,
104
],
[
104,
105
],
[
104,
106
],
[
6,
107
],
[
107,
108
],
[
0,
109
],
[
109,
110
],
[
109,
111
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint[] answer = new int[26];\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNextLine()) {\n\t\t\tString S = scanner.nextLine();\n\t\t\tS = S.toLowerCase();\n\t\t\tfor(int i=0;i<S.length();i++) {\n\t\t\t\tif ('a'<=S.charAt(i)&&S.charAt(i)<='z') {\n\t\t\t\t\tanswer[S.charAt(i)-'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (S.equals(\"\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscanner.close();\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.println((char)(i+'a') + \" : \" + answer[i]);\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\tint[] answer = new int[26];\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNextLine()) {\n\t\t\tString S = scanner.nextLine();\n\t\t\tS = S.toLowerCase();\n\t\t\tfor(int i=0;i<S.length();i++) {\n\t\t\t\tif ('a'<=S.charAt(i)&&S.charAt(i)<='z') {\n\t\t\t\t\tanswer[S.charAt(i)-'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (S.equals(\"\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscanner.close();\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.println((char)(i+'a') + \" : \" + answer[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tint[] answer = new int[26];\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNextLine()) {\n\t\t\tString S = scanner.nextLine();\n\t\t\tS = S.toLowerCase();\n\t\t\tfor(int i=0;i<S.length();i++) {\n\t\t\t\tif ('a'<=S.charAt(i)&&S.charAt(i)<='z') {\n\t\t\t\t\tanswer[S.charAt(i)-'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (S.equals(\"\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscanner.close();\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.println((char)(i+'a') + \" : \" + answer[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tint[] answer = new int[26];\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNextLine()) {\n\t\t\tString S = scanner.nextLine();\n\t\t\tS = S.toLowerCase();\n\t\t\tfor(int i=0;i<S.length();i++) {\n\t\t\t\tif ('a'<=S.charAt(i)&&S.charAt(i)<='z') {\n\t\t\t\t\tanswer[S.charAt(i)-'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (S.equals(\"\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscanner.close();\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.println((char)(i+'a') + \" : \" + answer[i]);\n\t\t}\n\t}",
"int[] answer = new int[26];",
"answer",
"new int[26]",
"26",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while(scanner.hasNextLine()) {\n\t\t\tString S = scanner.nextLine();\n\t\t\tS = S.toLowerCase();\n\t\t\tfor(int i=0;i<S.length();i++) {\n\t\t\t\tif ('a'<=S.charAt(i)&&S.charAt(i)<='z') {\n\t\t\t\t\tanswer[S.charAt(i)-'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (S.equals(\"\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"scanner.hasNextLine()",
"scanner.hasNextLine",
"scanner",
"{\n\t\t\tString S = scanner.nextLine();\n\t\t\tS = S.toLowerCase();\n\t\t\tfor(int i=0;i<S.length();i++) {\n\t\t\t\tif ('a'<=S.charAt(i)&&S.charAt(i)<='z') {\n\t\t\t\t\tanswer[S.charAt(i)-'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (S.equals(\"\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"String S = scanner.nextLine();",
"S",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"S = S.toLowerCase()",
"S",
"S.toLowerCase()",
"S.toLowerCase",
"S",
"for(int i=0;i<S.length();i++) {\n\t\t\t\tif ('a'<=S.charAt(i)&&S.charAt(i)<='z') {\n\t\t\t\t\tanswer[S.charAt(i)-'a']++;\n\t\t\t\t}\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n\t\t\t\tif ('a'<=S.charAt(i)&&S.charAt(i)<='z') {\n\t\t\t\t\tanswer[S.charAt(i)-'a']++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif ('a'<=S.charAt(i)&&S.charAt(i)<='z') {\n\t\t\t\t\tanswer[S.charAt(i)-'a']++;\n\t\t\t\t}\n\t\t\t}",
"if ('a'<=S.charAt(i)&&S.charAt(i)<='z') {\n\t\t\t\t\tanswer[S.charAt(i)-'a']++;\n\t\t\t\t}",
"'a'<=S.charAt(i)&&S.charAt(i)<='z'",
"'a'<=S.charAt(i)",
"'a'",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"S.charAt(i)<='z'",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"'z'",
"{\n\t\t\t\t\tanswer[S.charAt(i)-'a']++;\n\t\t\t\t}",
"answer[S.charAt(i)-'a']++",
"answer[S.charAt(i)-'a']",
"answer",
"S.charAt(i)-'a'",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"'a'",
"if (S.equals(\"\")) {\n\t\t\t\tbreak;\n\t\t\t}",
"S.equals(\"\")",
"S.equals",
"S",
"\"\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"scanner.close()",
"scanner.close",
"scanner",
"for(int i=0;i<26;i++) {\n\t\t\tSystem.out.println((char)(i+'a') + \" : \" + answer[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println((char)(i+'a') + \" : \" + answer[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println((char)(i+'a') + \" : \" + answer[i]);\n\t\t}",
"System.out.println((char)(i+'a') + \" : \" + answer[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)(i+'a') + \" : \" + answer[i]",
"(char)(i+'a') + \" : \" + answer[i]",
"(char)(i+'a')",
"i",
"'a'",
"\" : \"",
"answer[i]",
"answer",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint[] answer = new int[26];\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNextLine()) {\n\t\t\tString S = scanner.nextLine();\n\t\t\tS = S.toLowerCase();\n\t\t\tfor(int i=0;i<S.length();i++) {\n\t\t\t\tif ('a'<=S.charAt(i)&&S.charAt(i)<='z') {\n\t\t\t\t\tanswer[S.charAt(i)-'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (S.equals(\"\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscanner.close();\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.println((char)(i+'a') + \" : \" + answer[i]);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint[] answer = new int[26];\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNextLine()) {\n\t\t\tString S = scanner.nextLine();\n\t\t\tS = S.toLowerCase();\n\t\t\tfor(int i=0;i<S.length();i++) {\n\t\t\t\tif ('a'<=S.charAt(i)&&S.charAt(i)<='z') {\n\t\t\t\t\tanswer[S.charAt(i)-'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (S.equals(\"\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscanner.close();\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.println((char)(i+'a') + \" : \" + answer[i]);\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int[] answer = new int[26];
Scanner scanner = new Scanner(System.in);
while(scanner.hasNextLine()) {
String S = scanner.nextLine();
S = S.toLowerCase();
for(int i=0;i<S.length();i++) {
if ('a'<=S.charAt(i)&&S.charAt(i)<='z') {
answer[S.charAt(i)-'a']++;
}
}
if (S.equals("")) {
break;
}
}
scanner.close();
for(int i=0;i<26;i++) {
System.out.println((char)(i+'a') + " : " + answer[i]);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
17,
28,
13,
13,
30,
30,
4,
18,
13,
13,
17,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
4,
18,
13,
28,
13,
13,
30,
30,
14,
4,
18,
13,
13,
30,
4,
18,
13,
13,
2,
4,
18,
13,
13,
17,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
4,
18,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
20,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
20,
35
],
[
35,
36
],
[
35,
37
],
[
35,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
20,
45
],
[
45,
46
],
[
20,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
48,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
55,
63
],
[
63,
64
],
[
63,
65
],
[
63,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
68,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
74,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
78,
83
],
[
20,
84
],
[
84,
85
],
[
84,
86
],
[
84,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
95,
95
],
[
95,
96
],
[
95,
97
],
[
95,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
18,
102
],
[
102,
103
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.HashMap;\nimport java.util.Map;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuffer sb = new StringBuffer();\n \n Map<Character, Integer> map = new HashMap<Character, Integer>();\n char[] mojiList = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n \n for(char key : mojiList) {\n map.put(key, 0);\n }\n \n String input;\n \n while((input = br.readLine()) != null) {\n char[] strList = input.toLowerCase().toCharArray();\n for(char moji : strList) {\n if(map.containsKey(moji)) {\n map.put(moji, map.get(moji) + 1);\n }\n }\n }\n \n for(char moji : mojiList) {\n System.out.println(moji + \" : \" + map.get(moji));\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.Map;",
"Map",
"java.util",
"class Main {\n\tpublic static void main(String[] args) throws IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuffer sb = new StringBuffer();\n \n Map<Character, Integer> map = new HashMap<Character, Integer>();\n char[] mojiList = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n \n for(char key : mojiList) {\n map.put(key, 0);\n }\n \n String input;\n \n while((input = br.readLine()) != null) {\n char[] strList = input.toLowerCase().toCharArray();\n for(char moji : strList) {\n if(map.containsKey(moji)) {\n map.put(moji, map.get(moji) + 1);\n }\n }\n }\n \n for(char moji : mojiList) {\n System.out.println(moji + \" : \" + map.get(moji));\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuffer sb = new StringBuffer();\n \n Map<Character, Integer> map = new HashMap<Character, Integer>();\n char[] mojiList = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n \n for(char key : mojiList) {\n map.put(key, 0);\n }\n \n String input;\n \n while((input = br.readLine()) != null) {\n char[] strList = input.toLowerCase().toCharArray();\n for(char moji : strList) {\n if(map.containsKey(moji)) {\n map.put(moji, map.get(moji) + 1);\n }\n }\n }\n \n for(char moji : mojiList) {\n System.out.println(moji + \" : \" + map.get(moji));\n }\n }",
"main",
"{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuffer sb = new StringBuffer();\n \n Map<Character, Integer> map = new HashMap<Character, Integer>();\n char[] mojiList = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n \n for(char key : mojiList) {\n map.put(key, 0);\n }\n \n String input;\n \n while((input = br.readLine()) != null) {\n char[] strList = input.toLowerCase().toCharArray();\n for(char moji : strList) {\n if(map.containsKey(moji)) {\n map.put(moji, map.get(moji) + 1);\n }\n }\n }\n \n for(char moji : mojiList) {\n System.out.println(moji + \" : \" + map.get(moji));\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuffer sb = new StringBuffer();",
"sb",
"new StringBuffer()",
"Map<Character, Integer> map = new HashMap<Character, Integer>();",
"map",
"new HashMap<Character, Integer>()",
"char[] mojiList = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();",
"mojiList",
"\"abcdefghijklmnopqrstuvwxyz\".toCharArray()",
"\"abcdefghijklmnopqrstuvwxyz\".toCharArray",
"\"abcdefghijklmnopqrstuvwxyz\"",
"for(char key : mojiList) {\n map.put(key, 0);\n }",
"char key",
"mojiList",
"{\n map.put(key, 0);\n }",
"{\n map.put(key, 0);\n }",
"map.put(key, 0)",
"map.put",
"map",
"key",
"0",
"String input;",
"input",
"while((input = br.readLine()) != null) {\n char[] strList = input.toLowerCase().toCharArray();\n for(char moji : strList) {\n if(map.containsKey(moji)) {\n map.put(moji, map.get(moji) + 1);\n }\n }\n }",
"(input = br.readLine()) != null",
"(input = br.readLine())",
"input",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n char[] strList = input.toLowerCase().toCharArray();\n for(char moji : strList) {\n if(map.containsKey(moji)) {\n map.put(moji, map.get(moji) + 1);\n }\n }\n }",
"char[] strList = input.toLowerCase().toCharArray();",
"strList",
"input.toLowerCase().toCharArray()",
"input.toLowerCase().toCharArray",
"input.toLowerCase()",
"input.toLowerCase",
"input",
"for(char moji : strList) {\n if(map.containsKey(moji)) {\n map.put(moji, map.get(moji) + 1);\n }\n }",
"char moji",
"strList",
"{\n if(map.containsKey(moji)) {\n map.put(moji, map.get(moji) + 1);\n }\n }",
"{\n if(map.containsKey(moji)) {\n map.put(moji, map.get(moji) + 1);\n }\n }",
"if(map.containsKey(moji)) {\n map.put(moji, map.get(moji) + 1);\n }",
"map.containsKey(moji)",
"map.containsKey",
"map",
"moji",
"{\n map.put(moji, map.get(moji) + 1);\n }",
"map.put(moji, map.get(moji) + 1)",
"map.put",
"map",
"moji",
"map.get(moji) + 1",
"map.get(moji)",
"map.get",
"map",
"moji",
"1",
"for(char moji : mojiList) {\n System.out.println(moji + \" : \" + map.get(moji));\n }",
"char moji",
"mojiList",
"{\n System.out.println(moji + \" : \" + map.get(moji));\n }",
"{\n System.out.println(moji + \" : \" + map.get(moji));\n }",
"System.out.println(moji + \" : \" + map.get(moji))",
"System.out.println",
"System.out",
"System",
"System.out",
"moji + \" : \" + map.get(moji)",
"moji + \" : \" + map.get(moji)",
"moji",
"\" : \"",
"map.get(moji)",
"map.get",
"map",
"moji",
"String[] args",
"args"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Map;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuffer sb = new StringBuffer();
Map<Character, Integer> map = new HashMap<Character, Integer>();
char[] mojiList = "abcdefghijklmnopqrstuvwxyz".toCharArray();
for(char key : mojiList) {
map.put(key, 0);
}
String input;
while((input = br.readLine()) != null) {
char[] strList = input.toLowerCase().toCharArray();
for(char moji : strList) {
if(map.containsKey(moji)) {
map.put(moji, map.get(moji) + 1);
}
}
}
for(char moji : mojiList) {
System.out.println(moji + " : " + map.get(moji));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
13,
40,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
4,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
4,
18,
13,
13,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
18,
13,
13,
14,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
159,
8
],
[
159,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
14,
17
],
[
14,
18
],
[
14,
19
],
[
14,
20
],
[
14,
21
],
[
14,
22
],
[
14,
23
],
[
14,
24
],
[
14,
25
],
[
14,
26
],
[
14,
27
],
[
14,
28
],
[
14,
29
],
[
14,
30
],
[
14,
31
],
[
14,
32
],
[
14,
33
],
[
14,
34
],
[
14,
35
],
[
14,
36
],
[
14,
37
],
[
14,
38
],
[
14,
39
],
[
14,
40
],
[
11,
41
],
[
41,
42
],
[
41,
43
],
[
11,
44
],
[
44,
45
],
[
44,
46
],
[
11,
47
],
[
47,
48
],
[
47,
49
],
[
11,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
54,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
54,
64
],
[
64,
65
],
[
11,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
74,
75
],
[
75,
76
],
[
66,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
90,
91
],
[
91,
92
],
[
82,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
95,
108
],
[
108,
109
],
[
109,
110
],
[
95,
111
],
[
112,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
115,
121
],
[
112,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
124,
127
],
[
112,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
133,
134
],
[
133,
135
],
[
112,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
137,
140
],
[
136,
141
],
[
141,
142
],
[
142,
143
],
[
78,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
144,
149
],
[
150,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
150,
155
],
[
9,
156
],
[
156,
157
],
[
0,
158
],
[
158,
159
],
[
158,
160
]
]
| [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tchar Character[] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',\n\t\t\t\t'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\n\t\tArrayList<String> strInput = new ArrayList<String>();\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint intLineNum = 0;\n\t\twhile (scanner.hasNext()) {\n\t\t\tString strLine = scanner.nextLine();\n\n\t\t\t//if (strLine.length() == 0) {\n\t\t\t//\tbreak;\n\t\t\t//}\n\n\t\t\tstrInput.add(strLine);\n\t\t\tintLineNum++;\n\t\t}\n\n\t\t\tfor (int intI = 0; intI < 26; intI++) {\n\t\t\t\tint intCounter = 0;\n\t\t\t\tfor (int intJ = 0; intJ < intLineNum; intJ++) {\n\t\t\t\t\tfor (int intK = 0; intK < strInput.get(intJ).length(); intK++) {\n\t\t\t\t\t\tchar charLine = strInput.get(intJ).charAt(intK);\n\t\t\t\t\t\t\tString strMoji = String.valueOf(charLine);\n\t\t\t\t\t\t\tString strChar = String.valueOf(Character[intI]);\n\t\t\t\t\t\t\tif (strMoji.equalsIgnoreCase(strChar)) {\n\t\t\t\t\t\t\t\tintCounter++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(Character[intI] + \" : \" + intCounter);\n\t\t\t}\n\t}\n\n}\n",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tchar Character[] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',\n\t\t\t\t'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\n\t\tArrayList<String> strInput = new ArrayList<String>();\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint intLineNum = 0;\n\t\twhile (scanner.hasNext()) {\n\t\t\tString strLine = scanner.nextLine();\n\n\t\t\t//if (strLine.length() == 0) {\n\t\t\t//\tbreak;\n\t\t\t//}\n\n\t\t\tstrInput.add(strLine);\n\t\t\tintLineNum++;\n\t\t}\n\n\t\t\tfor (int intI = 0; intI < 26; intI++) {\n\t\t\t\tint intCounter = 0;\n\t\t\t\tfor (int intJ = 0; intJ < intLineNum; intJ++) {\n\t\t\t\t\tfor (int intK = 0; intK < strInput.get(intJ).length(); intK++) {\n\t\t\t\t\t\tchar charLine = strInput.get(intJ).charAt(intK);\n\t\t\t\t\t\t\tString strMoji = String.valueOf(charLine);\n\t\t\t\t\t\t\tString strChar = String.valueOf(Character[intI]);\n\t\t\t\t\t\t\tif (strMoji.equalsIgnoreCase(strChar)) {\n\t\t\t\t\t\t\t\tintCounter++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(Character[intI] + \" : \" + intCounter);\n\t\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tchar Character[] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',\n\t\t\t\t'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\n\t\tArrayList<String> strInput = new ArrayList<String>();\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint intLineNum = 0;\n\t\twhile (scanner.hasNext()) {\n\t\t\tString strLine = scanner.nextLine();\n\n\t\t\t//if (strLine.length() == 0) {\n\t\t\t//\tbreak;\n\t\t\t//}\n\n\t\t\tstrInput.add(strLine);\n\t\t\tintLineNum++;\n\t\t}\n\n\t\t\tfor (int intI = 0; intI < 26; intI++) {\n\t\t\t\tint intCounter = 0;\n\t\t\t\tfor (int intJ = 0; intJ < intLineNum; intJ++) {\n\t\t\t\t\tfor (int intK = 0; intK < strInput.get(intJ).length(); intK++) {\n\t\t\t\t\t\tchar charLine = strInput.get(intJ).charAt(intK);\n\t\t\t\t\t\t\tString strMoji = String.valueOf(charLine);\n\t\t\t\t\t\t\tString strChar = String.valueOf(Character[intI]);\n\t\t\t\t\t\t\tif (strMoji.equalsIgnoreCase(strChar)) {\n\t\t\t\t\t\t\t\tintCounter++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(Character[intI] + \" : \" + intCounter);\n\t\t\t}\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tchar Character[] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',\n\t\t\t\t'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\n\t\tArrayList<String> strInput = new ArrayList<String>();\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint intLineNum = 0;\n\t\twhile (scanner.hasNext()) {\n\t\t\tString strLine = scanner.nextLine();\n\n\t\t\t//if (strLine.length() == 0) {\n\t\t\t//\tbreak;\n\t\t\t//}\n\n\t\t\tstrInput.add(strLine);\n\t\t\tintLineNum++;\n\t\t}\n\n\t\t\tfor (int intI = 0; intI < 26; intI++) {\n\t\t\t\tint intCounter = 0;\n\t\t\t\tfor (int intJ = 0; intJ < intLineNum; intJ++) {\n\t\t\t\t\tfor (int intK = 0; intK < strInput.get(intJ).length(); intK++) {\n\t\t\t\t\t\tchar charLine = strInput.get(intJ).charAt(intK);\n\t\t\t\t\t\t\tString strMoji = String.valueOf(charLine);\n\t\t\t\t\t\t\tString strChar = String.valueOf(Character[intI]);\n\t\t\t\t\t\t\tif (strMoji.equalsIgnoreCase(strChar)) {\n\t\t\t\t\t\t\t\tintCounter++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(Character[intI] + \" : \" + intCounter);\n\t\t\t}\n\t}",
"char Character[] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',\n\t\t\t\t'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};",
"Character",
"{'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',\n\t\t\t\t'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}",
"'a'",
"'b'",
"'c'",
"'d'",
"'e'",
"'f'",
"'g'",
"'h'",
"'i'",
"'j'",
"'k'",
"'l'",
"'m'",
"'n'",
"'o'",
"'p'",
"'q'",
"'r'",
"'s'",
"'t'",
"'u'",
"'v'",
"'w'",
"'x'",
"'y'",
"'z'",
"ArrayList<String> strInput = new ArrayList<String>();",
"strInput",
"new ArrayList<String>()",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int intLineNum = 0;",
"intLineNum",
"0",
"while (scanner.hasNext()) {\n\t\t\tString strLine = scanner.nextLine();\n\n\t\t\t//if (strLine.length() == 0) {\n\t\t\t//\tbreak;\n\t\t\t//}\n\n\t\t\tstrInput.add(strLine);\n\t\t\tintLineNum++;\n\t\t}",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n\t\t\tString strLine = scanner.nextLine();\n\n\t\t\t//if (strLine.length() == 0) {\n\t\t\t//\tbreak;\n\t\t\t//}\n\n\t\t\tstrInput.add(strLine);\n\t\t\tintLineNum++;\n\t\t}",
"String strLine = scanner.nextLine();",
"strLine",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"strInput.add(strLine)",
"strInput.add",
"strInput",
"strLine",
"intLineNum++",
"intLineNum",
"for (int intI = 0; intI < 26; intI++) {\n\t\t\t\tint intCounter = 0;\n\t\t\t\tfor (int intJ = 0; intJ < intLineNum; intJ++) {\n\t\t\t\t\tfor (int intK = 0; intK < strInput.get(intJ).length(); intK++) {\n\t\t\t\t\t\tchar charLine = strInput.get(intJ).charAt(intK);\n\t\t\t\t\t\t\tString strMoji = String.valueOf(charLine);\n\t\t\t\t\t\t\tString strChar = String.valueOf(Character[intI]);\n\t\t\t\t\t\t\tif (strMoji.equalsIgnoreCase(strChar)) {\n\t\t\t\t\t\t\t\tintCounter++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(Character[intI] + \" : \" + intCounter);\n\t\t\t}",
"int intI = 0;",
"int intI = 0;",
"intI",
"0",
"intI < 26",
"intI",
"26",
"intI++",
"intI++",
"intI",
"{\n\t\t\t\tint intCounter = 0;\n\t\t\t\tfor (int intJ = 0; intJ < intLineNum; intJ++) {\n\t\t\t\t\tfor (int intK = 0; intK < strInput.get(intJ).length(); intK++) {\n\t\t\t\t\t\tchar charLine = strInput.get(intJ).charAt(intK);\n\t\t\t\t\t\t\tString strMoji = String.valueOf(charLine);\n\t\t\t\t\t\t\tString strChar = String.valueOf(Character[intI]);\n\t\t\t\t\t\t\tif (strMoji.equalsIgnoreCase(strChar)) {\n\t\t\t\t\t\t\t\tintCounter++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(Character[intI] + \" : \" + intCounter);\n\t\t\t}",
"{\n\t\t\t\tint intCounter = 0;\n\t\t\t\tfor (int intJ = 0; intJ < intLineNum; intJ++) {\n\t\t\t\t\tfor (int intK = 0; intK < strInput.get(intJ).length(); intK++) {\n\t\t\t\t\t\tchar charLine = strInput.get(intJ).charAt(intK);\n\t\t\t\t\t\t\tString strMoji = String.valueOf(charLine);\n\t\t\t\t\t\t\tString strChar = String.valueOf(Character[intI]);\n\t\t\t\t\t\t\tif (strMoji.equalsIgnoreCase(strChar)) {\n\t\t\t\t\t\t\t\tintCounter++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(Character[intI] + \" : \" + intCounter);\n\t\t\t}",
"int intCounter = 0;",
"intCounter",
"0",
"for (int intJ = 0; intJ < intLineNum; intJ++) {\n\t\t\t\t\tfor (int intK = 0; intK < strInput.get(intJ).length(); intK++) {\n\t\t\t\t\t\tchar charLine = strInput.get(intJ).charAt(intK);\n\t\t\t\t\t\t\tString strMoji = String.valueOf(charLine);\n\t\t\t\t\t\t\tString strChar = String.valueOf(Character[intI]);\n\t\t\t\t\t\t\tif (strMoji.equalsIgnoreCase(strChar)) {\n\t\t\t\t\t\t\t\tintCounter++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}",
"int intJ = 0;",
"int intJ = 0;",
"intJ",
"0",
"intJ < intLineNum",
"intJ",
"intLineNum",
"intJ++",
"intJ++",
"intJ",
"{\n\t\t\t\t\tfor (int intK = 0; intK < strInput.get(intJ).length(); intK++) {\n\t\t\t\t\t\tchar charLine = strInput.get(intJ).charAt(intK);\n\t\t\t\t\t\t\tString strMoji = String.valueOf(charLine);\n\t\t\t\t\t\t\tString strChar = String.valueOf(Character[intI]);\n\t\t\t\t\t\t\tif (strMoji.equalsIgnoreCase(strChar)) {\n\t\t\t\t\t\t\t\tintCounter++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}",
"{\n\t\t\t\t\tfor (int intK = 0; intK < strInput.get(intJ).length(); intK++) {\n\t\t\t\t\t\tchar charLine = strInput.get(intJ).charAt(intK);\n\t\t\t\t\t\t\tString strMoji = String.valueOf(charLine);\n\t\t\t\t\t\t\tString strChar = String.valueOf(Character[intI]);\n\t\t\t\t\t\t\tif (strMoji.equalsIgnoreCase(strChar)) {\n\t\t\t\t\t\t\t\tintCounter++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}",
"for (int intK = 0; intK < strInput.get(intJ).length(); intK++) {\n\t\t\t\t\t\tchar charLine = strInput.get(intJ).charAt(intK);\n\t\t\t\t\t\t\tString strMoji = String.valueOf(charLine);\n\t\t\t\t\t\t\tString strChar = String.valueOf(Character[intI]);\n\t\t\t\t\t\t\tif (strMoji.equalsIgnoreCase(strChar)) {\n\t\t\t\t\t\t\t\tintCounter++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}",
"int intK = 0;",
"int intK = 0;",
"intK",
"0",
"intK < strInput.get(intJ).length()",
"intK",
"strInput.get(intJ).length()",
"strInput.get(intJ).length",
"strInput.get(intJ)",
"strInput.get",
"strInput",
"intJ",
"intK++",
"intK++",
"intK",
"{\n\t\t\t\t\t\tchar charLine = strInput.get(intJ).charAt(intK);\n\t\t\t\t\t\t\tString strMoji = String.valueOf(charLine);\n\t\t\t\t\t\t\tString strChar = String.valueOf(Character[intI]);\n\t\t\t\t\t\t\tif (strMoji.equalsIgnoreCase(strChar)) {\n\t\t\t\t\t\t\t\tintCounter++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tchar charLine = strInput.get(intJ).charAt(intK);\n\t\t\t\t\t\t\tString strMoji = String.valueOf(charLine);\n\t\t\t\t\t\t\tString strChar = String.valueOf(Character[intI]);\n\t\t\t\t\t\t\tif (strMoji.equalsIgnoreCase(strChar)) {\n\t\t\t\t\t\t\t\tintCounter++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}",
"char charLine = strInput.get(intJ).charAt(intK);",
"charLine",
"strInput.get(intJ).charAt(intK)",
"strInput.get(intJ).charAt",
"strInput.get(intJ)",
"strInput.get",
"strInput",
"intJ",
"intK",
"String strMoji = String.valueOf(charLine);",
"strMoji",
"String.valueOf(charLine)",
"String.valueOf",
"String",
"charLine",
"String strChar = String.valueOf(Character[intI]);",
"strChar",
"String.valueOf(Character[intI])",
"String.valueOf",
"String",
"Character[intI]",
"Character",
"intI",
"if (strMoji.equalsIgnoreCase(strChar)) {\n\t\t\t\t\t\t\t\tintCounter++;\n\t\t\t\t\t\t\t}",
"strMoji.equalsIgnoreCase(strChar)",
"strMoji.equalsIgnoreCase",
"strMoji",
"strChar",
"{\n\t\t\t\t\t\t\t\tintCounter++;\n\t\t\t\t\t\t\t}",
"intCounter++",
"intCounter",
"System.out.println(Character[intI] + \" : \" + intCounter)",
"System.out.println",
"System.out",
"System",
"System.out",
"Character[intI] + \" : \" + intCounter",
"Character[intI] + \" : \" + intCounter",
"Character[intI]",
"Character",
"intI",
"\" : \"",
"intCounter",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tchar Character[] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',\n\t\t\t\t'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\n\t\tArrayList<String> strInput = new ArrayList<String>();\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint intLineNum = 0;\n\t\twhile (scanner.hasNext()) {\n\t\t\tString strLine = scanner.nextLine();\n\n\t\t\t//if (strLine.length() == 0) {\n\t\t\t//\tbreak;\n\t\t\t//}\n\n\t\t\tstrInput.add(strLine);\n\t\t\tintLineNum++;\n\t\t}\n\n\t\t\tfor (int intI = 0; intI < 26; intI++) {\n\t\t\t\tint intCounter = 0;\n\t\t\t\tfor (int intJ = 0; intJ < intLineNum; intJ++) {\n\t\t\t\t\tfor (int intK = 0; intK < strInput.get(intJ).length(); intK++) {\n\t\t\t\t\t\tchar charLine = strInput.get(intJ).charAt(intK);\n\t\t\t\t\t\t\tString strMoji = String.valueOf(charLine);\n\t\t\t\t\t\t\tString strChar = String.valueOf(Character[intI]);\n\t\t\t\t\t\t\tif (strMoji.equalsIgnoreCase(strChar)) {\n\t\t\t\t\t\t\t\tintCounter++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(Character[intI] + \" : \" + intCounter);\n\t\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tchar Character[] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',\n\t\t\t\t'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\n\t\tArrayList<String> strInput = new ArrayList<String>();\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint intLineNum = 0;\n\t\twhile (scanner.hasNext()) {\n\t\t\tString strLine = scanner.nextLine();\n\n\t\t\t//if (strLine.length() == 0) {\n\t\t\t//\tbreak;\n\t\t\t//}\n\n\t\t\tstrInput.add(strLine);\n\t\t\tintLineNum++;\n\t\t}\n\n\t\t\tfor (int intI = 0; intI < 26; intI++) {\n\t\t\t\tint intCounter = 0;\n\t\t\t\tfor (int intJ = 0; intJ < intLineNum; intJ++) {\n\t\t\t\t\tfor (int intK = 0; intK < strInput.get(intJ).length(); intK++) {\n\t\t\t\t\t\tchar charLine = strInput.get(intJ).charAt(intK);\n\t\t\t\t\t\t\tString strMoji = String.valueOf(charLine);\n\t\t\t\t\t\t\tString strChar = String.valueOf(Character[intI]);\n\t\t\t\t\t\t\tif (strMoji.equalsIgnoreCase(strChar)) {\n\t\t\t\t\t\t\t\tintCounter++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(Character[intI] + \" : \" + intCounter);\n\t\t\t}\n\t}\n\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
char Character[] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',
'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};
ArrayList<String> strInput = new ArrayList<String>();
Scanner scanner = new Scanner(System.in);
int intLineNum = 0;
while (scanner.hasNext()) {
String strLine = scanner.nextLine();
//if (strLine.length() == 0) {
// break;
//}
strInput.add(strLine);
intLineNum++;
}
for (int intI = 0; intI < 26; intI++) {
int intCounter = 0;
for (int intJ = 0; intJ < intLineNum; intJ++) {
for (int intK = 0; intK < strInput.get(intJ).length(); intK++) {
char charLine = strInput.get(intJ).charAt(intK);
String strMoji = String.valueOf(charLine);
String strChar = String.valueOf(Character[intI]);
if (strMoji.equalsIgnoreCase(strChar)) {
intCounter++;
}
}
}
System.out.println(Character[intI] + " : " + intCounter);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
28,
13,
4,
18,
13,
30,
30,
41,
13,
40,
17,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
2,
13,
17,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
40,
18,
13,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
18,
13,
13,
30,
4,
18,
13,
40,
13,
4,
18,
13,
17,
4,
18,
13,
18,
13,
40,
13,
4,
18,
13,
12,
13,
30,
4,
18,
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
],
[
127,
14
],
[
127,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
38,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
49,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
44,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
17,
86
],
[
86,
87
],
[
86,
88
],
[
17,
89
],
[
89,
90
],
[
89,
91
],
[
17,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
95,
97
],
[
92,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
102,
103
],
[
98,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
98,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
17,
115
],
[
115,
116
],
[
116,
117
],
[
127,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
118,
124
],
[
124,
125
],
[
0,
126
],
[
126,
127
],
[
126,
128
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\n\npublic class Main {\n public void exec() throws IOException {\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \tPrintWriter out = new PrintWriter(System.out);\n \tint[] count = new int[26];\n \twhile (br.ready()){\n \tString l = br.readLine();\n \tfor(char c: l.toCharArray()) {\n \t\tint alpIdx = -1;\n \t\tif ('a' <= c && c <= 'z') {\n \t\t\talpIdx = c - 'a';\n \t\t}else if ('A' <= c && c <= 'Z'){\n \t\t\talpIdx = c - 'A';\n \t\t}\n \t\tif(alpIdx>=0){\n \t\t\tcount[alpIdx]++;\n \t\t} \n \t}\n \t}\n \tchar c = 'a';\n \tint i = 0;\n \twhile(i<count.length) {\n \t\tout.print(c++);\n \t\tout.print(\" : \");\n \t\tout.println(count[i++]);\n \t}\n out.flush();\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\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.io.PrintWriter;",
"PrintWriter",
"java.io",
"public class Main {\n public void exec() throws IOException {\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \tPrintWriter out = new PrintWriter(System.out);\n \tint[] count = new int[26];\n \twhile (br.ready()){\n \tString l = br.readLine();\n \tfor(char c: l.toCharArray()) {\n \t\tint alpIdx = -1;\n \t\tif ('a' <= c && c <= 'z') {\n \t\t\talpIdx = c - 'a';\n \t\t}else if ('A' <= c && c <= 'Z'){\n \t\t\talpIdx = c - 'A';\n \t\t}\n \t\tif(alpIdx>=0){\n \t\t\tcount[alpIdx]++;\n \t\t} \n \t}\n \t}\n \tchar c = 'a';\n \tint i = 0;\n \twhile(i<count.length) {\n \t\tout.print(c++);\n \t\tout.print(\" : \");\n \t\tout.println(count[i++]);\n \t}\n out.flush();\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }\n}",
"Main",
"public void exec() throws IOException {\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \tPrintWriter out = new PrintWriter(System.out);\n \tint[] count = new int[26];\n \twhile (br.ready()){\n \tString l = br.readLine();\n \tfor(char c: l.toCharArray()) {\n \t\tint alpIdx = -1;\n \t\tif ('a' <= c && c <= 'z') {\n \t\t\talpIdx = c - 'a';\n \t\t}else if ('A' <= c && c <= 'Z'){\n \t\t\talpIdx = c - 'A';\n \t\t}\n \t\tif(alpIdx>=0){\n \t\t\tcount[alpIdx]++;\n \t\t} \n \t}\n \t}\n \tchar c = 'a';\n \tint i = 0;\n \twhile(i<count.length) {\n \t\tout.print(c++);\n \t\tout.print(\" : \");\n \t\tout.println(count[i++]);\n \t}\n out.flush();\n }",
"exec",
"{\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \tPrintWriter out = new PrintWriter(System.out);\n \tint[] count = new int[26];\n \twhile (br.ready()){\n \tString l = br.readLine();\n \tfor(char c: l.toCharArray()) {\n \t\tint alpIdx = -1;\n \t\tif ('a' <= c && c <= 'z') {\n \t\t\talpIdx = c - 'a';\n \t\t}else if ('A' <= c && c <= 'Z'){\n \t\t\talpIdx = c - 'A';\n \t\t}\n \t\tif(alpIdx>=0){\n \t\t\tcount[alpIdx]++;\n \t\t} \n \t}\n \t}\n \tchar c = 'a';\n \tint i = 0;\n \twhile(i<count.length) {\n \t\tout.print(c++);\n \t\tout.print(\" : \");\n \t\tout.println(count[i++]);\n \t}\n out.flush();\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"int[] count = new int[26];",
"count",
"new int[26]",
"26",
"while (br.ready()){\n \tString l = br.readLine();\n \tfor(char c: l.toCharArray()) {\n \t\tint alpIdx = -1;\n \t\tif ('a' <= c && c <= 'z') {\n \t\t\talpIdx = c - 'a';\n \t\t}else if ('A' <= c && c <= 'Z'){\n \t\t\talpIdx = c - 'A';\n \t\t}\n \t\tif(alpIdx>=0){\n \t\t\tcount[alpIdx]++;\n \t\t} \n \t}\n \t}",
"br.ready()",
"br.ready",
"br",
"{\n \tString l = br.readLine();\n \tfor(char c: l.toCharArray()) {\n \t\tint alpIdx = -1;\n \t\tif ('a' <= c && c <= 'z') {\n \t\t\talpIdx = c - 'a';\n \t\t}else if ('A' <= c && c <= 'Z'){\n \t\t\talpIdx = c - 'A';\n \t\t}\n \t\tif(alpIdx>=0){\n \t\t\tcount[alpIdx]++;\n \t\t} \n \t}\n \t}",
"String l = br.readLine();",
"l",
"br.readLine()",
"br.readLine",
"br",
"for(char c: l.toCharArray()) {\n \t\tint alpIdx = -1;\n \t\tif ('a' <= c && c <= 'z') {\n \t\t\talpIdx = c - 'a';\n \t\t}else if ('A' <= c && c <= 'Z'){\n \t\t\talpIdx = c - 'A';\n \t\t}\n \t\tif(alpIdx>=0){\n \t\t\tcount[alpIdx]++;\n \t\t} \n \t}",
"char c",
"l.toCharArray()",
"l.toCharArray",
"l",
"{\n \t\tint alpIdx = -1;\n \t\tif ('a' <= c && c <= 'z') {\n \t\t\talpIdx = c - 'a';\n \t\t}else if ('A' <= c && c <= 'Z'){\n \t\t\talpIdx = c - 'A';\n \t\t}\n \t\tif(alpIdx>=0){\n \t\t\tcount[alpIdx]++;\n \t\t} \n \t}",
"{\n \t\tint alpIdx = -1;\n \t\tif ('a' <= c && c <= 'z') {\n \t\t\talpIdx = c - 'a';\n \t\t}else if ('A' <= c && c <= 'Z'){\n \t\t\talpIdx = c - 'A';\n \t\t}\n \t\tif(alpIdx>=0){\n \t\t\tcount[alpIdx]++;\n \t\t} \n \t}",
"int alpIdx = -1;",
"alpIdx",
"-1",
"1",
"if ('a' <= c && c <= 'z') {\n \t\t\talpIdx = c - 'a';\n \t\t}else if ('A' <= c && c <= 'Z'){\n \t\t\talpIdx = c - 'A';\n \t\t}",
"'a' <= c && c <= 'z'",
"'a' <= c",
"'a'",
"c",
"c <= 'z'",
"c",
"'z'",
"{\n \t\t\talpIdx = c - 'a';\n \t\t}",
"alpIdx = c - 'a'",
"alpIdx",
"c - 'a'",
"c",
"'a'",
"if ('A' <= c && c <= 'Z'){\n \t\t\talpIdx = c - 'A';\n \t\t}",
"'A' <= c && c <= 'Z'",
"'A' <= c",
"'A'",
"c",
"c <= 'Z'",
"c",
"'Z'",
"{\n \t\t\talpIdx = c - 'A';\n \t\t}",
"alpIdx = c - 'A'",
"alpIdx",
"c - 'A'",
"c",
"'A'",
"if(alpIdx>=0){\n \t\t\tcount[alpIdx]++;\n \t\t}",
"alpIdx>=0",
"alpIdx",
"0",
"{\n \t\t\tcount[alpIdx]++;\n \t\t}",
"count[alpIdx]++",
"count[alpIdx]",
"count",
"alpIdx",
"char c = 'a';",
"c",
"'a'",
"int i = 0;",
"i",
"0",
"while(i<count.length) {\n \t\tout.print(c++);\n \t\tout.print(\" : \");\n \t\tout.println(count[i++]);\n \t}",
"i<count.length",
"i",
"count.length",
"count",
"count.length",
"{\n \t\tout.print(c++);\n \t\tout.print(\" : \");\n \t\tout.println(count[i++]);\n \t}",
"out.print(c++)",
"out.print",
"out",
"c++",
"c",
"out.print(\" : \")",
"out.print",
"out",
"\" : \"",
"out.println(count[i++])",
"out.println",
"out",
"count[i++]",
"count",
"i++",
"i",
"out.flush()",
"out.flush",
"out",
"public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }",
"main",
"{\n \tnew Main().exec();\n }",
"new Main().exec()",
"new Main().exec",
"new Main()",
"String[] args",
"args",
"public class Main {\n public void exec() throws IOException {\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \tPrintWriter out = new PrintWriter(System.out);\n \tint[] count = new int[26];\n \twhile (br.ready()){\n \tString l = br.readLine();\n \tfor(char c: l.toCharArray()) {\n \t\tint alpIdx = -1;\n \t\tif ('a' <= c && c <= 'z') {\n \t\t\talpIdx = c - 'a';\n \t\t}else if ('A' <= c && c <= 'Z'){\n \t\t\talpIdx = c - 'A';\n \t\t}\n \t\tif(alpIdx>=0){\n \t\t\tcount[alpIdx]++;\n \t\t} \n \t}\n \t}\n \tchar c = 'a';\n \tint i = 0;\n \twhile(i<count.length) {\n \t\tout.print(c++);\n \t\tout.print(\" : \");\n \t\tout.println(count[i++]);\n \t}\n out.flush();\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }\n}",
"public class Main {\n public void exec() throws IOException {\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \tPrintWriter out = new PrintWriter(System.out);\n \tint[] count = new int[26];\n \twhile (br.ready()){\n \tString l = br.readLine();\n \tfor(char c: l.toCharArray()) {\n \t\tint alpIdx = -1;\n \t\tif ('a' <= c && c <= 'z') {\n \t\t\talpIdx = c - 'a';\n \t\t}else if ('A' <= c && c <= 'Z'){\n \t\t\talpIdx = c - 'A';\n \t\t}\n \t\tif(alpIdx>=0){\n \t\t\tcount[alpIdx]++;\n \t\t} \n \t}\n \t}\n \tchar c = 'a';\n \tint i = 0;\n \twhile(i<count.length) {\n \t\tout.print(c++);\n \t\tout.print(\" : \");\n \t\tout.println(count[i++]);\n \t}\n out.flush();\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
public class Main {
public void exec() throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
PrintWriter out = new PrintWriter(System.out);
int[] count = new int[26];
while (br.ready()){
String l = br.readLine();
for(char c: l.toCharArray()) {
int alpIdx = -1;
if ('a' <= c && c <= 'z') {
alpIdx = c - 'a';
}else if ('A' <= c && c <= 'Z'){
alpIdx = c - 'A';
}
if(alpIdx>=0){
count[alpIdx]++;
}
}
}
char c = 'a';
int i = 0;
while(i<count.length) {
out.print(c++);
out.print(" : ");
out.println(count[i++]);
}
out.flush();
}
public static void main(String[] args) throws IOException {
new Main().exec();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
17,
41,
13,
20,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
40,
18,
13,
2,
13,
17,
30,
40,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
17,
17,
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,
13
],
[
13,
14
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
22,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
47,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
61,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
82,
84
],
[
77,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
77,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
96,
98
],
[
8,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
104,
105
],
[
104,
106
],
[
99,
107
],
[
107,
108
],
[
108,
109
],
[
99,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
117,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
117,
122
],
[
122,
123
],
[
122,
124
],
[
6,
125
],
[
125,
126
]
]
| [
"import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n int[] count = new int[26];\n char c;\n String str;\n for (int i = 0; i < 26; i++) \n count[i] = 0;\n Scanner sc = new Scanner(System.in);\n\n while (sc.hasNext()) {\n str = sc.next();\n for(int i = 0; i < str.length(); i++) {\n c = str.charAt(i);\n if (c >= 'A' && c <= 'z') {\n if (c >= 'a' && c <= 'z') {\n count[c - 'a']++;\n } else {\n count[c - 'A']++;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) \n System.out.println((char)(i + 'a') + \" : \" + count[i]);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n int[] count = new int[26];\n char c;\n String str;\n for (int i = 0; i < 26; i++) \n count[i] = 0;\n Scanner sc = new Scanner(System.in);\n\n while (sc.hasNext()) {\n str = sc.next();\n for(int i = 0; i < str.length(); i++) {\n c = str.charAt(i);\n if (c >= 'A' && c <= 'z') {\n if (c >= 'a' && c <= 'z') {\n count[c - 'a']++;\n } else {\n count[c - 'A']++;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) \n System.out.println((char)(i + 'a') + \" : \" + count[i]);\n }\n}",
"Main",
"public static void main(String[] args) {\n int[] count = new int[26];\n char c;\n String str;\n for (int i = 0; i < 26; i++) \n count[i] = 0;\n Scanner sc = new Scanner(System.in);\n\n while (sc.hasNext()) {\n str = sc.next();\n for(int i = 0; i < str.length(); i++) {\n c = str.charAt(i);\n if (c >= 'A' && c <= 'z') {\n if (c >= 'a' && c <= 'z') {\n count[c - 'a']++;\n } else {\n count[c - 'A']++;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) \n System.out.println((char)(i + 'a') + \" : \" + count[i]);\n }",
"main",
"{\n int[] count = new int[26];\n char c;\n String str;\n for (int i = 0; i < 26; i++) \n count[i] = 0;\n Scanner sc = new Scanner(System.in);\n\n while (sc.hasNext()) {\n str = sc.next();\n for(int i = 0; i < str.length(); i++) {\n c = str.charAt(i);\n if (c >= 'A' && c <= 'z') {\n if (c >= 'a' && c <= 'z') {\n count[c - 'a']++;\n } else {\n count[c - 'A']++;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) \n System.out.println((char)(i + 'a') + \" : \" + count[i]);\n }",
"int[] count = new int[26];",
"count",
"new int[26]",
"26",
"char c;",
"c",
"String str;",
"str",
"for (int i = 0; i < 26; i++) \n count[i] = 0;",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"count[i] = 0;",
"count[i] = 0",
"count[i]",
"count",
"i",
"0",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()) {\n str = sc.next();\n for(int i = 0; i < str.length(); i++) {\n c = str.charAt(i);\n if (c >= 'A' && c <= 'z') {\n if (c >= 'a' && c <= 'z') {\n count[c - 'a']++;\n } else {\n count[c - 'A']++;\n }\n }\n }\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n str = sc.next();\n for(int i = 0; i < str.length(); i++) {\n c = str.charAt(i);\n if (c >= 'A' && c <= 'z') {\n if (c >= 'a' && c <= 'z') {\n count[c - 'a']++;\n } else {\n count[c - 'A']++;\n }\n }\n }\n }",
"str = sc.next()",
"str",
"sc.next()",
"sc.next",
"sc",
"for(int i = 0; i < str.length(); i++) {\n c = str.charAt(i);\n if (c >= 'A' && c <= 'z') {\n if (c >= 'a' && c <= 'z') {\n count[c - 'a']++;\n } else {\n count[c - 'A']++;\n }\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str.length()",
"i",
"str.length()",
"str.length",
"str",
"i++",
"i++",
"i",
"{\n c = str.charAt(i);\n if (c >= 'A' && c <= 'z') {\n if (c >= 'a' && c <= 'z') {\n count[c - 'a']++;\n } else {\n count[c - 'A']++;\n }\n }\n }",
"{\n c = str.charAt(i);\n if (c >= 'A' && c <= 'z') {\n if (c >= 'a' && c <= 'z') {\n count[c - 'a']++;\n } else {\n count[c - 'A']++;\n }\n }\n }",
"c = str.charAt(i)",
"c",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"if (c >= 'A' && c <= 'z') {\n if (c >= 'a' && c <= 'z') {\n count[c - 'a']++;\n } else {\n count[c - 'A']++;\n }\n }",
"c >= 'A' && c <= 'z'",
"c >= 'A'",
"c",
"'A'",
"c <= 'z'",
"c",
"'z'",
"{\n if (c >= 'a' && c <= 'z') {\n count[c - 'a']++;\n } else {\n count[c - 'A']++;\n }\n }",
"if (c >= 'a' && c <= 'z') {\n count[c - 'a']++;\n } else {\n count[c - 'A']++;\n }",
"c >= 'a' && c <= 'z'",
"c >= 'a'",
"c",
"'a'",
"c <= 'z'",
"c",
"'z'",
"{\n count[c - 'a']++;\n }",
"count[c - 'a']++",
"count[c - 'a']",
"count",
"c - 'a'",
"c",
"'a'",
"{\n count[c - 'A']++;\n }",
"count[c - 'A']++",
"count[c - 'A']",
"count",
"c - 'A'",
"c",
"'A'",
"for (int i = 0; i < 26; i++) \n System.out.println((char)(i + 'a') + \" : \" + count[i]);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"System.out.println((char)(i + 'a') + \" : \" + count[i]);",
"System.out.println((char)(i + 'a') + \" : \" + count[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)(i + 'a') + \" : \" + count[i]",
"(char)(i + 'a') + \" : \" + count[i]",
"(char)(i + 'a')",
"i",
"'a'",
"\" : \"",
"count[i]",
"count",
"i",
"String[] args",
"args"
]
| import java.util.Scanner;
class Main {
public static void main(String[] args) {
int[] count = new int[26];
char c;
String str;
for (int i = 0; i < 26; i++)
count[i] = 0;
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
str = sc.next();
for(int i = 0; i < str.length(); i++) {
c = str.charAt(i);
if (c >= 'A' && c <= 'z') {
if (c >= 'a' && c <= 'z') {
count[c - 'a']++;
} else {
count[c - 'A']++;
}
}
}
}
for (int i = 0; i < 26; i++)
System.out.println((char)(i + 'a') + " : " + count[i]);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
0,
13,
20,
17,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
40,
18,
13,
2,
13,
17,
14,
40,
4,
18,
13,
3,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
112,
8
],
[
112,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
11,
19
],
[
19,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
38,
48
],
[
48,
49
],
[
49,
50
],
[
38,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
52,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
27,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
73,
78
],
[
11,
79
],
[
79,
80
],
[
79,
81
],
[
11,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
90,
91
],
[
91,
92
],
[
82,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
101,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
9,
109
],
[
109,
110
],
[
0,
111
],
[
111,
112
],
[
111,
113
]
]
| [
"import java.io.*;\nimport java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc=new Scanner(System.in);\n String s;\n char a;\n int cnt[];\n cnt=new int[26];\n while(true){\n s=sc.next();\n s=s.toLowerCase();\n for(int i=0;i<s.length();i++){\n a=s.charAt(i);\n if(a>='a' && a<='z') cnt[a-'a']++;\n }\n if(!(sc.hasNext())) break;\n }\n char abc='a';\n for(int i=0;i<26;i++){\n System.out.println((char)(abc+i)+\" : \"+cnt[i]);\n }\n }\n}\n",
"import java.io.*;",
"io.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner sc=new Scanner(System.in);\n String s;\n char a;\n int cnt[];\n cnt=new int[26];\n while(true){\n s=sc.next();\n s=s.toLowerCase();\n for(int i=0;i<s.length();i++){\n a=s.charAt(i);\n if(a>='a' && a<='z') cnt[a-'a']++;\n }\n if(!(sc.hasNext())) break;\n }\n char abc='a';\n for(int i=0;i<26;i++){\n System.out.println((char)(abc+i)+\" : \"+cnt[i]);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc=new Scanner(System.in);\n String s;\n char a;\n int cnt[];\n cnt=new int[26];\n while(true){\n s=sc.next();\n s=s.toLowerCase();\n for(int i=0;i<s.length();i++){\n a=s.charAt(i);\n if(a>='a' && a<='z') cnt[a-'a']++;\n }\n if(!(sc.hasNext())) break;\n }\n char abc='a';\n for(int i=0;i<26;i++){\n System.out.println((char)(abc+i)+\" : \"+cnt[i]);\n }\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n String s;\n char a;\n int cnt[];\n cnt=new int[26];\n while(true){\n s=sc.next();\n s=s.toLowerCase();\n for(int i=0;i<s.length();i++){\n a=s.charAt(i);\n if(a>='a' && a<='z') cnt[a-'a']++;\n }\n if(!(sc.hasNext())) break;\n }\n char abc='a';\n for(int i=0;i<26;i++){\n System.out.println((char)(abc+i)+\" : \"+cnt[i]);\n }\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s;",
"s",
"char a;",
"a",
"int cnt[];",
"cnt",
"cnt=new int[26]",
"cnt",
"new int[26]",
"26",
"while(true){\n s=sc.next();\n s=s.toLowerCase();\n for(int i=0;i<s.length();i++){\n a=s.charAt(i);\n if(a>='a' && a<='z') cnt[a-'a']++;\n }\n if(!(sc.hasNext())) break;\n }",
"true",
"{\n s=sc.next();\n s=s.toLowerCase();\n for(int i=0;i<s.length();i++){\n a=s.charAt(i);\n if(a>='a' && a<='z') cnt[a-'a']++;\n }\n if(!(sc.hasNext())) break;\n }",
"s=sc.next()",
"s",
"sc.next()",
"sc.next",
"sc",
"s=s.toLowerCase()",
"s",
"s.toLowerCase()",
"s.toLowerCase",
"s",
"for(int i=0;i<s.length();i++){\n a=s.charAt(i);\n if(a>='a' && a<='z') cnt[a-'a']++;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n a=s.charAt(i);\n if(a>='a' && a<='z') cnt[a-'a']++;\n }",
"{\n a=s.charAt(i);\n if(a>='a' && a<='z') cnt[a-'a']++;\n }",
"a=s.charAt(i)",
"a",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"if(a>='a' && a<='z') cnt[a-'a']++;",
"a>='a' && a<='z'",
"a>='a'",
"a",
"'a'",
"a<='z'",
"a",
"'z'",
"cnt[a-'a']++",
"cnt[a-'a']",
"cnt",
"a-'a'",
"a",
"'a'",
"if(!(sc.hasNext())) break;",
"!(sc.hasNext())",
"(sc.hasNext())",
"sc.hasNext",
"sc",
"break;",
"char abc='a';",
"abc",
"'a'",
"for(int i=0;i<26;i++){\n System.out.println((char)(abc+i)+\" : \"+cnt[i]);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n System.out.println((char)(abc+i)+\" : \"+cnt[i]);\n }",
"{\n System.out.println((char)(abc+i)+\" : \"+cnt[i]);\n }",
"System.out.println((char)(abc+i)+\" : \"+cnt[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)(abc+i)+\" : \"+cnt[i]",
"(char)(abc+i)+\" : \"+cnt[i]",
"(char)(abc+i)",
"abc",
"i",
"\" : \"",
"cnt[i]",
"cnt",
"i",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc=new Scanner(System.in);\n String s;\n char a;\n int cnt[];\n cnt=new int[26];\n while(true){\n s=sc.next();\n s=s.toLowerCase();\n for(int i=0;i<s.length();i++){\n a=s.charAt(i);\n if(a>='a' && a<='z') cnt[a-'a']++;\n }\n if(!(sc.hasNext())) break;\n }\n char abc='a';\n for(int i=0;i<26;i++){\n System.out.println((char)(abc+i)+\" : \"+cnt[i]);\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc=new Scanner(System.in);\n String s;\n char a;\n int cnt[];\n cnt=new int[26];\n while(true){\n s=sc.next();\n s=s.toLowerCase();\n for(int i=0;i<s.length();i++){\n a=s.charAt(i);\n if(a>='a' && a<='z') cnt[a-'a']++;\n }\n if(!(sc.hasNext())) break;\n }\n char abc='a';\n for(int i=0;i<26;i++){\n System.out.println((char)(abc+i)+\" : \"+cnt[i]);\n }\n }\n}",
"Main"
]
| import java.io.*;
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
String s;
char a;
int cnt[];
cnt=new int[26];
while(true){
s=sc.next();
s=s.toLowerCase();
for(int i=0;i<s.length();i++){
a=s.charAt(i);
if(a>='a' && a<='z') cnt[a-'a']++;
}
if(!(sc.hasNext())) break;
}
char abc='a';
for(int i=0;i<26;i++){
System.out.println((char)(abc+i)+" : "+cnt[i]);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
17,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
14,
2,
2,
17,
13,
2,
13,
17,
30,
40,
18,
13,
2,
13,
17,
14,
2,
2,
17,
13,
2,
13,
17,
30,
40,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
117,
5
],
[
117,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
8,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
45,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
52,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
82,
92
],
[
92,
93
],
[
93,
94
],
[
82,
95
],
[
96,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
103,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
103,
108
],
[
108,
109
],
[
108,
110
],
[
8,
111
],
[
111,
112
],
[
112,
113
],
[
6,
114
],
[
114,
115
],
[
0,
116
],
[
116,
117
],
[
116,
118
]
]
| [
"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\tString strIn = \"\";\n\t\tint[] array = new int[26];\n\t\tint intTemp;\n\t\twhile(scan.hasNext()){\n\t\t\tstrIn += scan.nextLine();\n\t\t}\n\t\tfor(int i = 0; i < strIn.length(); i++){\n\t\t\tintTemp = strIn.charAt(i);\n\t\t\tif('A' <= intTemp && intTemp <= 'Z'){\n\t\t\t\tarray[intTemp - 'A']++;\n\t\t\t}else if('a' <= intTemp && intTemp <= 'z'){\n\t\t\t\tarray[intTemp - 'a']++;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < array.length; i++){\n\t\t\tSystem.out.println((char)('a' + i) + \" : \" + array[i]);\n\t\t}\n\n\t\tscan.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString strIn = \"\";\n\t\tint[] array = new int[26];\n\t\tint intTemp;\n\t\twhile(scan.hasNext()){\n\t\t\tstrIn += scan.nextLine();\n\t\t}\n\t\tfor(int i = 0; i < strIn.length(); i++){\n\t\t\tintTemp = strIn.charAt(i);\n\t\t\tif('A' <= intTemp && intTemp <= 'Z'){\n\t\t\t\tarray[intTemp - 'A']++;\n\t\t\t}else if('a' <= intTemp && intTemp <= 'z'){\n\t\t\t\tarray[intTemp - 'a']++;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < array.length; i++){\n\t\t\tSystem.out.println((char)('a' + i) + \" : \" + array[i]);\n\t\t}\n\n\t\tscan.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString strIn = \"\";\n\t\tint[] array = new int[26];\n\t\tint intTemp;\n\t\twhile(scan.hasNext()){\n\t\t\tstrIn += scan.nextLine();\n\t\t}\n\t\tfor(int i = 0; i < strIn.length(); i++){\n\t\t\tintTemp = strIn.charAt(i);\n\t\t\tif('A' <= intTemp && intTemp <= 'Z'){\n\t\t\t\tarray[intTemp - 'A']++;\n\t\t\t}else if('a' <= intTemp && intTemp <= 'z'){\n\t\t\t\tarray[intTemp - 'a']++;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < array.length; i++){\n\t\t\tSystem.out.println((char)('a' + i) + \" : \" + array[i]);\n\t\t}\n\n\t\tscan.close();\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString strIn = \"\";\n\t\tint[] array = new int[26];\n\t\tint intTemp;\n\t\twhile(scan.hasNext()){\n\t\t\tstrIn += scan.nextLine();\n\t\t}\n\t\tfor(int i = 0; i < strIn.length(); i++){\n\t\t\tintTemp = strIn.charAt(i);\n\t\t\tif('A' <= intTemp && intTemp <= 'Z'){\n\t\t\t\tarray[intTemp - 'A']++;\n\t\t\t}else if('a' <= intTemp && intTemp <= 'z'){\n\t\t\t\tarray[intTemp - 'a']++;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < array.length; i++){\n\t\t\tSystem.out.println((char)('a' + i) + \" : \" + array[i]);\n\t\t}\n\n\t\tscan.close();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String strIn = \"\";",
"strIn",
"\"\"",
"int[] array = new int[26];",
"array",
"new int[26]",
"26",
"int intTemp;",
"intTemp",
"while(scan.hasNext()){\n\t\t\tstrIn += scan.nextLine();\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\tstrIn += scan.nextLine();\n\t\t}",
"strIn += scan.nextLine()",
"strIn",
"scan.nextLine()",
"scan.nextLine",
"scan",
"for(int i = 0; i < strIn.length(); i++){\n\t\t\tintTemp = strIn.charAt(i);\n\t\t\tif('A' <= intTemp && intTemp <= 'Z'){\n\t\t\t\tarray[intTemp - 'A']++;\n\t\t\t}else if('a' <= intTemp && intTemp <= 'z'){\n\t\t\t\tarray[intTemp - 'a']++;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < strIn.length()",
"i",
"strIn.length()",
"strIn.length",
"strIn",
"i++",
"i++",
"i",
"{\n\t\t\tintTemp = strIn.charAt(i);\n\t\t\tif('A' <= intTemp && intTemp <= 'Z'){\n\t\t\t\tarray[intTemp - 'A']++;\n\t\t\t}else if('a' <= intTemp && intTemp <= 'z'){\n\t\t\t\tarray[intTemp - 'a']++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tintTemp = strIn.charAt(i);\n\t\t\tif('A' <= intTemp && intTemp <= 'Z'){\n\t\t\t\tarray[intTemp - 'A']++;\n\t\t\t}else if('a' <= intTemp && intTemp <= 'z'){\n\t\t\t\tarray[intTemp - 'a']++;\n\t\t\t}\n\t\t}",
"intTemp = strIn.charAt(i)",
"intTemp",
"strIn.charAt(i)",
"strIn.charAt",
"strIn",
"i",
"if('A' <= intTemp && intTemp <= 'Z'){\n\t\t\t\tarray[intTemp - 'A']++;\n\t\t\t}else if('a' <= intTemp && intTemp <= 'z'){\n\t\t\t\tarray[intTemp - 'a']++;\n\t\t\t}",
"'A' <= intTemp && intTemp <= 'Z'",
"'A' <= intTemp",
"'A'",
"intTemp",
"intTemp <= 'Z'",
"intTemp",
"'Z'",
"{\n\t\t\t\tarray[intTemp - 'A']++;\n\t\t\t}",
"array[intTemp - 'A']++",
"array[intTemp - 'A']",
"array",
"intTemp - 'A'",
"intTemp",
"'A'",
"if('a' <= intTemp && intTemp <= 'z'){\n\t\t\t\tarray[intTemp - 'a']++;\n\t\t\t}",
"'a' <= intTemp && intTemp <= 'z'",
"'a' <= intTemp",
"'a'",
"intTemp",
"intTemp <= 'z'",
"intTemp",
"'z'",
"{\n\t\t\t\tarray[intTemp - 'a']++;\n\t\t\t}",
"array[intTemp - 'a']++",
"array[intTemp - 'a']",
"array",
"intTemp - 'a'",
"intTemp",
"'a'",
"for(int i = 0; i < array.length; i++){\n\t\t\tSystem.out.println((char)('a' + i) + \" : \" + array[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println((char)('a' + i) + \" : \" + array[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println((char)('a' + i) + \" : \" + array[i]);\n\t\t}",
"System.out.println((char)('a' + i) + \" : \" + array[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)('a' + i) + \" : \" + array[i]",
"(char)('a' + i) + \" : \" + array[i]",
"(char)('a' + i)",
"'a'",
"i",
"\" : \"",
"array[i]",
"array",
"i",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString strIn = \"\";\n\t\tint[] array = new int[26];\n\t\tint intTemp;\n\t\twhile(scan.hasNext()){\n\t\t\tstrIn += scan.nextLine();\n\t\t}\n\t\tfor(int i = 0; i < strIn.length(); i++){\n\t\t\tintTemp = strIn.charAt(i);\n\t\t\tif('A' <= intTemp && intTemp <= 'Z'){\n\t\t\t\tarray[intTemp - 'A']++;\n\t\t\t}else if('a' <= intTemp && intTemp <= 'z'){\n\t\t\t\tarray[intTemp - 'a']++;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < array.length; i++){\n\t\t\tSystem.out.println((char)('a' + i) + \" : \" + array[i]);\n\t\t}\n\n\t\tscan.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString strIn = \"\";\n\t\tint[] array = new int[26];\n\t\tint intTemp;\n\t\twhile(scan.hasNext()){\n\t\t\tstrIn += scan.nextLine();\n\t\t}\n\t\tfor(int i = 0; i < strIn.length(); i++){\n\t\t\tintTemp = strIn.charAt(i);\n\t\t\tif('A' <= intTemp && intTemp <= 'Z'){\n\t\t\t\tarray[intTemp - 'A']++;\n\t\t\t}else if('a' <= intTemp && intTemp <= 'z'){\n\t\t\t\tarray[intTemp - 'a']++;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < array.length; i++){\n\t\t\tSystem.out.println((char)('a' + i) + \" : \" + array[i]);\n\t\t}\n\n\t\tscan.close();\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String strIn = "";
int[] array = new int[26];
int intTemp;
while(scan.hasNext()){
strIn += scan.nextLine();
}
for(int i = 0; i < strIn.length(); i++){
intTemp = strIn.charAt(i);
if('A' <= intTemp && intTemp <= 'Z'){
array[intTemp - 'A']++;
}else if('a' <= intTemp && intTemp <= 'z'){
array[intTemp - 'a']++;
}
}
for(int i = 0; i < array.length; i++){
System.out.println((char)('a' + i) + " : " + array[i]);
}
scan.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
41,
13,
41,
13,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
2,
13,
17,
41,
13,
17,
0,
13,
17,
42,
2,
2,
13,
17,
2,
13,
17,
30,
14,
4,
18,
13,
18,
13,
13,
30,
40,
18,
13,
13,
0,
13,
17,
30,
40,
13,
40,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
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
],
[
165,
11
],
[
165,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
15,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
26,
28
],
[
22,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
32,
36
],
[
32,
37
],
[
32,
38
],
[
32,
39
],
[
32,
40
],
[
32,
41
],
[
32,
42
],
[
32,
43
],
[
32,
44
],
[
32,
45
],
[
32,
46
],
[
32,
47
],
[
32,
48
],
[
32,
49
],
[
32,
50
],
[
32,
51
],
[
32,
52
],
[
32,
53
],
[
32,
54
],
[
32,
55
],
[
32,
56
],
[
32,
57
],
[
32,
58
],
[
22,
59
],
[
59,
60
],
[
22,
61
],
[
61,
62
],
[
22,
63
],
[
63,
64
],
[
22,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
66,
72
],
[
65,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
73,
79
],
[
79,
80
],
[
79,
81
],
[
73,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
82,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
91,
95
],
[
95,
96
],
[
95,
97
],
[
88,
98
],
[
98,
99
],
[
98,
100
],
[
88,
101
],
[
101,
102
],
[
101,
103
],
[
88,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
109,
111
],
[
104,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
117,
118
],
[
117,
119
],
[
113,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
120,
125
],
[
125,
126
],
[
125,
127
],
[
113,
128
],
[
128,
129
],
[
129,
130
],
[
88,
131
],
[
131,
132
],
[
22,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
133,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
140,
142
],
[
133,
143
],
[
143,
144
],
[
144,
145
],
[
133,
146
],
[
147,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
148,
153
],
[
154,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
158
],
[
154,
159
],
[
159,
160
],
[
159,
161
],
[
12,
162
],
[
162,
163
],
[
0,
164
],
[
164,
165
],
[
164,
166
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\npublic class Main {\n\tpublic static void main(String[] args) {\n\n try{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int[] rc=new int[26];\n String[] a={\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n int sw;\n String dat,str;\n \n while((dat=br.readLine())!=null){\n dat=dat.toLowerCase();\n int i=0;\n while(i<dat.length()){\n str = dat.substring(i,i+1);\n int j=0;\n sw=0;\n while(sw==0 && j<26){\n if(str.equals(a[j])){\n rc[j] ++;\n sw=1;\n }else{\n j++;\n }\n }\n i++;\n } \n }\n for(int i=0;i<a.length;i++){\n System.out.println(a[i] + \" : \"+ rc[i]);\n }\n }catch(IOException e){\n e.printStackTrace();\n }\n \n}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) {\n\n try{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int[] rc=new int[26];\n String[] a={\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n int sw;\n String dat,str;\n \n while((dat=br.readLine())!=null){\n dat=dat.toLowerCase();\n int i=0;\n while(i<dat.length()){\n str = dat.substring(i,i+1);\n int j=0;\n sw=0;\n while(sw==0 && j<26){\n if(str.equals(a[j])){\n rc[j] ++;\n sw=1;\n }else{\n j++;\n }\n }\n i++;\n } \n }\n for(int i=0;i<a.length;i++){\n System.out.println(a[i] + \" : \"+ rc[i]);\n }\n }catch(IOException e){\n e.printStackTrace();\n }\n \n}\n}",
"Main",
"public static void main(String[] args) {\n\n try{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int[] rc=new int[26];\n String[] a={\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n int sw;\n String dat,str;\n \n while((dat=br.readLine())!=null){\n dat=dat.toLowerCase();\n int i=0;\n while(i<dat.length()){\n str = dat.substring(i,i+1);\n int j=0;\n sw=0;\n while(sw==0 && j<26){\n if(str.equals(a[j])){\n rc[j] ++;\n sw=1;\n }else{\n j++;\n }\n }\n i++;\n } \n }\n for(int i=0;i<a.length;i++){\n System.out.println(a[i] + \" : \"+ rc[i]);\n }\n }catch(IOException e){\n e.printStackTrace();\n }\n \n}",
"main",
"{\n\n try{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int[] rc=new int[26];\n String[] a={\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n int sw;\n String dat,str;\n \n while((dat=br.readLine())!=null){\n dat=dat.toLowerCase();\n int i=0;\n while(i<dat.length()){\n str = dat.substring(i,i+1);\n int j=0;\n sw=0;\n while(sw==0 && j<26){\n if(str.equals(a[j])){\n rc[j] ++;\n sw=1;\n }else{\n j++;\n }\n }\n i++;\n } \n }\n for(int i=0;i<a.length;i++){\n System.out.println(a[i] + \" : \"+ rc[i]);\n }\n }catch(IOException e){\n e.printStackTrace();\n }\n \n}",
"try{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int[] rc=new int[26];\n String[] a={\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n int sw;\n String dat,str;\n \n while((dat=br.readLine())!=null){\n dat=dat.toLowerCase();\n int i=0;\n while(i<dat.length()){\n str = dat.substring(i,i+1);\n int j=0;\n sw=0;\n while(sw==0 && j<26){\n if(str.equals(a[j])){\n rc[j] ++;\n sw=1;\n }else{\n j++;\n }\n }\n i++;\n } \n }\n for(int i=0;i<a.length;i++){\n System.out.println(a[i] + \" : \"+ rc[i]);\n }\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 BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int[] rc=new int[26];\n String[] a={\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n int sw;\n String dat,str;\n \n while((dat=br.readLine())!=null){\n dat=dat.toLowerCase();\n int i=0;\n while(i<dat.length()){\n str = dat.substring(i,i+1);\n int j=0;\n sw=0;\n while(sw==0 && j<26){\n if(str.equals(a[j])){\n rc[j] ++;\n sw=1;\n }else{\n j++;\n }\n }\n i++;\n } \n }\n for(int i=0;i<a.length;i++){\n System.out.println(a[i] + \" : \"+ rc[i]);\n }\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] rc=new int[26];",
"rc",
"new int[26]",
"26",
"String[] a={\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};",
"a",
"{\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"}",
"\"a\"",
"\"b\"",
"\"c\"",
"\"d\"",
"\"e\"",
"\"f\"",
"\"g\"",
"\"h\"",
"\"i\"",
"\"j\"",
"\"k\"",
"\"l\"",
"\"m\"",
"\"n\"",
"\"o\"",
"\"p\"",
"\"q\"",
"\"r\"",
"\"s\"",
"\"t\"",
"\"u\"",
"\"v\"",
"\"w\"",
"\"x\"",
"\"y\"",
"\"z\"",
"int sw;",
"sw",
"String dat",
"dat",
"str;",
"str",
"while((dat=br.readLine())!=null){\n dat=dat.toLowerCase();\n int i=0;\n while(i<dat.length()){\n str = dat.substring(i,i+1);\n int j=0;\n sw=0;\n while(sw==0 && j<26){\n if(str.equals(a[j])){\n rc[j] ++;\n sw=1;\n }else{\n j++;\n }\n }\n i++;\n } \n }",
"(dat=br.readLine())!=null",
"(dat=br.readLine())",
"dat",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n dat=dat.toLowerCase();\n int i=0;\n while(i<dat.length()){\n str = dat.substring(i,i+1);\n int j=0;\n sw=0;\n while(sw==0 && j<26){\n if(str.equals(a[j])){\n rc[j] ++;\n sw=1;\n }else{\n j++;\n }\n }\n i++;\n } \n }",
"dat=dat.toLowerCase()",
"dat",
"dat.toLowerCase()",
"dat.toLowerCase",
"dat",
"int i=0;",
"i",
"0",
"while(i<dat.length()){\n str = dat.substring(i,i+1);\n int j=0;\n sw=0;\n while(sw==0 && j<26){\n if(str.equals(a[j])){\n rc[j] ++;\n sw=1;\n }else{\n j++;\n }\n }\n i++;\n }",
"i<dat.length()",
"i",
"dat.length()",
"dat.length",
"dat",
"{\n str = dat.substring(i,i+1);\n int j=0;\n sw=0;\n while(sw==0 && j<26){\n if(str.equals(a[j])){\n rc[j] ++;\n sw=1;\n }else{\n j++;\n }\n }\n i++;\n }",
"str = dat.substring(i,i+1)",
"str",
"dat.substring(i,i+1)",
"dat.substring",
"dat",
"i",
"i+1",
"i",
"1",
"int j=0;",
"j",
"0",
"sw=0",
"sw",
"0",
"while(sw==0 && j<26){\n if(str.equals(a[j])){\n rc[j] ++;\n sw=1;\n }else{\n j++;\n }\n }",
"sw==0 && j<26",
"sw==0",
"sw",
"0",
"j<26",
"j",
"26",
"{\n if(str.equals(a[j])){\n rc[j] ++;\n sw=1;\n }else{\n j++;\n }\n }",
"if(str.equals(a[j])){\n rc[j] ++;\n sw=1;\n }else{\n j++;\n }",
"str.equals(a[j])",
"str.equals",
"str",
"a[j]",
"a",
"j",
"{\n rc[j] ++;\n sw=1;\n }",
"rc[j] ++",
"rc[j]",
"rc",
"j",
"sw=1",
"sw",
"1",
"{\n j++;\n }",
"j++",
"j",
"i++",
"i",
"for(int i=0;i<a.length;i++){\n System.out.println(a[i] + \" : \"+ rc[i]);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n System.out.println(a[i] + \" : \"+ rc[i]);\n }",
"{\n System.out.println(a[i] + \" : \"+ rc[i]);\n }",
"System.out.println(a[i] + \" : \"+ rc[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[i] + \" : \"+ rc[i]",
"a[i] + \" : \"+ rc[i]",
"a[i]",
"a",
"i",
"\" : \"",
"rc[i]",
"rc",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\n try{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int[] rc=new int[26];\n String[] a={\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n int sw;\n String dat,str;\n \n while((dat=br.readLine())!=null){\n dat=dat.toLowerCase();\n int i=0;\n while(i<dat.length()){\n str = dat.substring(i,i+1);\n int j=0;\n sw=0;\n while(sw==0 && j<26){\n if(str.equals(a[j])){\n rc[j] ++;\n sw=1;\n }else{\n j++;\n }\n }\n i++;\n } \n }\n for(int i=0;i<a.length;i++){\n System.out.println(a[i] + \" : \"+ rc[i]);\n }\n }catch(IOException e){\n e.printStackTrace();\n }\n \n}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\n try{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int[] rc=new int[26];\n String[] a={\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n int sw;\n String dat,str;\n \n while((dat=br.readLine())!=null){\n dat=dat.toLowerCase();\n int i=0;\n while(i<dat.length()){\n str = dat.substring(i,i+1);\n int j=0;\n sw=0;\n while(sw==0 && j<26){\n if(str.equals(a[j])){\n rc[j] ++;\n sw=1;\n }else{\n j++;\n }\n }\n i++;\n } \n }\n for(int i=0;i<a.length;i++){\n System.out.println(a[i] + \" : \"+ rc[i]);\n }\n }catch(IOException e){\n e.printStackTrace();\n }\n \n}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
try{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int[] rc=new int[26];
String[] a={"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"};
int sw;
String dat,str;
while((dat=br.readLine())!=null){
dat=dat.toLowerCase();
int i=0;
while(i<dat.length()){
str = dat.substring(i,i+1);
int j=0;
sw=0;
while(sw==0 && j<26){
if(str.equals(a[j])){
rc[j] ++;
sw=1;
}else{
j++;
}
}
i++;
}
}
for(int i=0;i<a.length;i++){
System.out.println(a[i] + " : "+ rc[i]);
}
}catch(IOException e){
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
14,
2,
2,
17,
13,
2,
13,
17,
30,
40,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
18,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
32,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
46,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
68,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
6,
95
],
[
95,
96
]
]
| [
"import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] arg)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] alp = new int[26];\n\t\tString str;\n\t\twhile(( str = br.readLine())!=null){\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tchar alp_num = str.charAt(i);\n\t\t\t\tif('a'<= alp_num && alp_num <= 'z'){\n\t\t\t\t\talp[alp_num - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i <26;i++){\n\t\t\tSystem.out.println((char)('a' + i)+\" : \"+alp[i]);\n\t\t}\n\t}\n}\n\t",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\tpublic static void main(String[] arg)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] alp = new int[26];\n\t\tString str;\n\t\twhile(( str = br.readLine())!=null){\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tchar alp_num = str.charAt(i);\n\t\t\t\tif('a'<= alp_num && alp_num <= 'z'){\n\t\t\t\t\talp[alp_num - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i <26;i++){\n\t\t\tSystem.out.println((char)('a' + i)+\" : \"+alp[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] arg)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] alp = new int[26];\n\t\tString str;\n\t\twhile(( str = br.readLine())!=null){\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tchar alp_num = str.charAt(i);\n\t\t\t\tif('a'<= alp_num && alp_num <= 'z'){\n\t\t\t\t\talp[alp_num - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i <26;i++){\n\t\t\tSystem.out.println((char)('a' + i)+\" : \"+alp[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] alp = new int[26];\n\t\tString str;\n\t\twhile(( str = br.readLine())!=null){\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tchar alp_num = str.charAt(i);\n\t\t\t\tif('a'<= alp_num && alp_num <= 'z'){\n\t\t\t\t\talp[alp_num - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i <26;i++){\n\t\t\tSystem.out.println((char)('a' + i)+\" : \"+alp[i]);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] alp = new int[26];",
"alp",
"new int[26]",
"26",
"String str;",
"str",
"while(( str = br.readLine())!=null){\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tchar alp_num = str.charAt(i);\n\t\t\t\tif('a'<= alp_num && alp_num <= 'z'){\n\t\t\t\t\talp[alp_num - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"( str = br.readLine())!=null",
"( str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tchar alp_num = str.charAt(i);\n\t\t\t\tif('a'<= alp_num && alp_num <= 'z'){\n\t\t\t\t\talp[alp_num - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"str = str.toLowerCase()",
"str",
"str.toLowerCase()",
"str.toLowerCase",
"str",
"for(int i=0;i<str.length();i++){\n\t\t\t\tchar alp_num = str.charAt(i);\n\t\t\t\tif('a'<= alp_num && alp_num <= 'z'){\n\t\t\t\t\talp[alp_num - 'a']++;\n\t\t\t\t}\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\tchar alp_num = str.charAt(i);\n\t\t\t\tif('a'<= alp_num && alp_num <= 'z'){\n\t\t\t\t\talp[alp_num - 'a']++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tchar alp_num = str.charAt(i);\n\t\t\t\tif('a'<= alp_num && alp_num <= 'z'){\n\t\t\t\t\talp[alp_num - 'a']++;\n\t\t\t\t}\n\t\t\t}",
"char alp_num = str.charAt(i);",
"alp_num",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"if('a'<= alp_num && alp_num <= 'z'){\n\t\t\t\t\talp[alp_num - 'a']++;\n\t\t\t\t}",
"'a'<= alp_num && alp_num <= 'z'",
"'a'<= alp_num",
"'a'",
"alp_num",
"alp_num <= 'z'",
"alp_num",
"'z'",
"{\n\t\t\t\t\talp[alp_num - 'a']++;\n\t\t\t\t}",
"alp[alp_num - 'a']++",
"alp[alp_num - 'a']",
"alp",
"alp_num - 'a'",
"alp_num",
"'a'",
"for(int i=0;i <26;i++){\n\t\t\tSystem.out.println((char)('a' + i)+\" : \"+alp[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i <26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println((char)('a' + i)+\" : \"+alp[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println((char)('a' + i)+\" : \"+alp[i]);\n\t\t}",
"System.out.println((char)('a' + i)+\" : \"+alp[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)('a' + i)+\" : \"+alp[i]",
"(char)('a' + i)+\" : \"+alp[i]",
"(char)('a' + i)",
"'a'",
"i",
"\" : \"",
"alp[i]",
"alp",
"i",
"String[] arg",
"arg"
]
| import java.io.*;
class Main {
public static void main(String[] arg)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int[] alp = new int[26];
String str;
while(( str = br.readLine())!=null){
str = str.toLowerCase();
for(int i=0;i<str.length();i++){
char alp_num = str.charAt(i);
if('a'<= alp_num && alp_num <= 'z'){
alp[alp_num - 'a']++;
}
}
}
for(int i=0;i <26;i++){
System.out.println((char)('a' + i)+" : "+alp[i]);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
2,
17,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
13,
4,
18,
13,
18,
13,
13,
30,
4,
18,
13,
4,
18,
13,
18,
13,
13,
2,
4,
18,
13,
4,
18,
13,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
4,
18,
13,
2,
17,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
37,
43
],
[
17,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
56,
66
],
[
66,
67
],
[
67,
68
],
[
56,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
78,
79
],
[
78,
80
],
[
71,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
88,
89
],
[
88,
90
],
[
82,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
98,
99
],
[
98,
100
],
[
91,
101
],
[
17,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
107,
108
],
[
107,
109
],
[
102,
110
],
[
110,
111
],
[
111,
112
],
[
102,
113
],
[
114,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
121,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
121,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
129,
130
],
[
129,
131
],
[
15,
132
],
[
132,
133
]
]
| [
"import java.awt.*;\nimport java.awt.geom.*;\nimport java.io.*;\n\nimport java.util.*;\nclass Main {\n\t\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tHashMap<Character,Integer> map = new HashMap<Character,Integer>();\n\t\tfor(int i = 0; i < 26; i++) {\n\t\t\tmap.put((char)('a'+i), 0);\n\t\t}\n\t\twhile(sc.hasNextLine()) {\n\t\t\tchar[] a = sc.nextLine().toCharArray();\n\t\t\t\n\t\t\tfor(int i = 0; i < a.length; i++) {\n\t\t\t\tif(map.containsKey(Character.toLowerCase(a[i]))) {\n\t\t\t\t\tmap.put(Character.toLowerCase(a[i]), map.get(Character.toLowerCase(a[i]))+1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 26; i++) {\n\t\t\tSystem.out.println((char)('a'+i) + \" : \" + map.get((char)('a' + i)));\n\t\t}\n\t}\n}",
"import java.awt.*;",
"awt.*",
"java",
"import java.awt.geom.*;",
"geom.*",
"java.awt",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\t\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tHashMap<Character,Integer> map = new HashMap<Character,Integer>();\n\t\tfor(int i = 0; i < 26; i++) {\n\t\t\tmap.put((char)('a'+i), 0);\n\t\t}\n\t\twhile(sc.hasNextLine()) {\n\t\t\tchar[] a = sc.nextLine().toCharArray();\n\t\t\t\n\t\t\tfor(int i = 0; i < a.length; i++) {\n\t\t\t\tif(map.containsKey(Character.toLowerCase(a[i]))) {\n\t\t\t\t\tmap.put(Character.toLowerCase(a[i]), map.get(Character.toLowerCase(a[i]))+1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 26; i++) {\n\t\t\tSystem.out.println((char)('a'+i) + \" : \" + map.get((char)('a' + i)));\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tHashMap<Character,Integer> map = new HashMap<Character,Integer>();\n\t\tfor(int i = 0; i < 26; i++) {\n\t\t\tmap.put((char)('a'+i), 0);\n\t\t}\n\t\twhile(sc.hasNextLine()) {\n\t\t\tchar[] a = sc.nextLine().toCharArray();\n\t\t\t\n\t\t\tfor(int i = 0; i < a.length; i++) {\n\t\t\t\tif(map.containsKey(Character.toLowerCase(a[i]))) {\n\t\t\t\t\tmap.put(Character.toLowerCase(a[i]), map.get(Character.toLowerCase(a[i]))+1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 26; i++) {\n\t\t\tSystem.out.println((char)('a'+i) + \" : \" + map.get((char)('a' + i)));\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tHashMap<Character,Integer> map = new HashMap<Character,Integer>();\n\t\tfor(int i = 0; i < 26; i++) {\n\t\t\tmap.put((char)('a'+i), 0);\n\t\t}\n\t\twhile(sc.hasNextLine()) {\n\t\t\tchar[] a = sc.nextLine().toCharArray();\n\t\t\t\n\t\t\tfor(int i = 0; i < a.length; i++) {\n\t\t\t\tif(map.containsKey(Character.toLowerCase(a[i]))) {\n\t\t\t\t\tmap.put(Character.toLowerCase(a[i]), map.get(Character.toLowerCase(a[i]))+1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 26; i++) {\n\t\t\tSystem.out.println((char)('a'+i) + \" : \" + map.get((char)('a' + i)));\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"HashMap<Character,Integer> map = new HashMap<Character,Integer>();",
"map",
"new HashMap<Character,Integer>()",
"for(int i = 0; i < 26; i++) {\n\t\t\tmap.put((char)('a'+i), 0);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tmap.put((char)('a'+i), 0);\n\t\t}",
"{\n\t\t\tmap.put((char)('a'+i), 0);\n\t\t}",
"map.put((char)('a'+i), 0)",
"map.put",
"map",
"(char)('a'+i)",
"'a'",
"i",
"0",
"while(sc.hasNextLine()) {\n\t\t\tchar[] a = sc.nextLine().toCharArray();\n\t\t\t\n\t\t\tfor(int i = 0; i < a.length; i++) {\n\t\t\t\tif(map.containsKey(Character.toLowerCase(a[i]))) {\n\t\t\t\t\tmap.put(Character.toLowerCase(a[i]), map.get(Character.toLowerCase(a[i]))+1);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"sc.hasNextLine()",
"sc.hasNextLine",
"sc",
"{\n\t\t\tchar[] a = sc.nextLine().toCharArray();\n\t\t\t\n\t\t\tfor(int i = 0; i < a.length; i++) {\n\t\t\t\tif(map.containsKey(Character.toLowerCase(a[i]))) {\n\t\t\t\t\tmap.put(Character.toLowerCase(a[i]), map.get(Character.toLowerCase(a[i]))+1);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"char[] a = sc.nextLine().toCharArray();",
"a",
"sc.nextLine().toCharArray()",
"sc.nextLine().toCharArray",
"sc.nextLine()",
"sc.nextLine",
"sc",
"for(int i = 0; i < a.length; i++) {\n\t\t\t\tif(map.containsKey(Character.toLowerCase(a[i]))) {\n\t\t\t\t\tmap.put(Character.toLowerCase(a[i]), map.get(Character.toLowerCase(a[i]))+1);\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tif(map.containsKey(Character.toLowerCase(a[i]))) {\n\t\t\t\t\tmap.put(Character.toLowerCase(a[i]), map.get(Character.toLowerCase(a[i]))+1);\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(map.containsKey(Character.toLowerCase(a[i]))) {\n\t\t\t\t\tmap.put(Character.toLowerCase(a[i]), map.get(Character.toLowerCase(a[i]))+1);\n\t\t\t\t}\n\t\t\t}",
"if(map.containsKey(Character.toLowerCase(a[i]))) {\n\t\t\t\t\tmap.put(Character.toLowerCase(a[i]), map.get(Character.toLowerCase(a[i]))+1);\n\t\t\t\t}",
"map.containsKey(Character.toLowerCase(a[i]))",
"map.containsKey",
"map",
"Character.toLowerCase(a[i])",
"Character.toLowerCase",
"Character",
"a[i]",
"a",
"i",
"{\n\t\t\t\t\tmap.put(Character.toLowerCase(a[i]), map.get(Character.toLowerCase(a[i]))+1);\n\t\t\t\t}",
"map.put(Character.toLowerCase(a[i]), map.get(Character.toLowerCase(a[i]))+1)",
"map.put",
"map",
"Character.toLowerCase(a[i])",
"Character.toLowerCase",
"Character",
"a[i]",
"a",
"i",
"map.get(Character.toLowerCase(a[i]))+1",
"map.get(Character.toLowerCase(a[i]))",
"map.get",
"map",
"Character.toLowerCase(a[i])",
"Character.toLowerCase",
"Character",
"a[i]",
"a",
"i",
"1",
"for(int i = 0; i < 26; i++) {\n\t\t\tSystem.out.println((char)('a'+i) + \" : \" + map.get((char)('a' + i)));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println((char)('a'+i) + \" : \" + map.get((char)('a' + i)));\n\t\t}",
"{\n\t\t\tSystem.out.println((char)('a'+i) + \" : \" + map.get((char)('a' + i)));\n\t\t}",
"System.out.println((char)('a'+i) + \" : \" + map.get((char)('a' + i)))",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)('a'+i) + \" : \" + map.get((char)('a' + i))",
"(char)('a'+i) + \" : \" + map.get((char)('a' + i))",
"(char)('a'+i)",
"'a'",
"i",
"\" : \"",
"map.get((char)('a' + i))",
"map.get",
"map",
"(char)('a' + i)",
"'a'",
"i",
"String[] args",
"args"
]
| import java.awt.*;
import java.awt.geom.*;
import java.io.*;
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
HashMap<Character,Integer> map = new HashMap<Character,Integer>();
for(int i = 0; i < 26; i++) {
map.put((char)('a'+i), 0);
}
while(sc.hasNextLine()) {
char[] a = sc.nextLine().toCharArray();
for(int i = 0; i < a.length; i++) {
if(map.containsKey(Character.toLowerCase(a[i]))) {
map.put(Character.toLowerCase(a[i]), map.get(Character.toLowerCase(a[i]))+1);
}
}
}
for(int i = 0; i < 26; i++) {
System.out.println((char)('a'+i) + " : " + map.get((char)('a' + i)));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
17,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
18,
13,
13,
0,
13,
17,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
31,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
47,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
90,
91
],
[
91,
92
],
[
82,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
101,
101
],
[
101,
102
],
[
101,
103
],
[
101,
104
],
[
104,
105
],
[
104,
106
],
[
94,
107
],
[
107,
108
],
[
107,
109
],
[
6,
110
],
[
110,
111
]
]
| [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \tString number;\n \tString change;\n \t\n \tchar[] ca;\n \tint[] count = new int[26];\n \tint num;\n \tchar alphabet = 'a';\n \t\n \twhile(scan.hasNext()){\n \t\tnumber = scan.nextLine();\n \tchange = number.toLowerCase();\n \tca = change.toCharArray();\n \t\n\t \tfor(int i = 0; i < ca.length; i++){\n\t \t\tnum = ca[i] - 'a';\n\t \t\tif(num >= 0 && num < 26){\n\t \t\t\tcount[num]++;\n\t \t\t}\n\t \t}\n \t}\n \t\t\n \t\n \tfor(int i = 0; i < 26; i++){;\n \t\tSystem.out.println(alphabet + \" : \" + count[i]);\n \t\talphabet += 1;\n \t}\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \tString number;\n \tString change;\n \t\n \tchar[] ca;\n \tint[] count = new int[26];\n \tint num;\n \tchar alphabet = 'a';\n \t\n \twhile(scan.hasNext()){\n \t\tnumber = scan.nextLine();\n \tchange = number.toLowerCase();\n \tca = change.toCharArray();\n \t\n\t \tfor(int i = 0; i < ca.length; i++){\n\t \t\tnum = ca[i] - 'a';\n\t \t\tif(num >= 0 && num < 26){\n\t \t\t\tcount[num]++;\n\t \t\t}\n\t \t}\n \t}\n \t\t\n \t\n \tfor(int i = 0; i < 26; i++){;\n \t\tSystem.out.println(alphabet + \" : \" + count[i]);\n \t\talphabet += 1;\n \t}\n }\n}",
"Main",
"public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \tString number;\n \tString change;\n \t\n \tchar[] ca;\n \tint[] count = new int[26];\n \tint num;\n \tchar alphabet = 'a';\n \t\n \twhile(scan.hasNext()){\n \t\tnumber = scan.nextLine();\n \tchange = number.toLowerCase();\n \tca = change.toCharArray();\n \t\n\t \tfor(int i = 0; i < ca.length; i++){\n\t \t\tnum = ca[i] - 'a';\n\t \t\tif(num >= 0 && num < 26){\n\t \t\t\tcount[num]++;\n\t \t\t}\n\t \t}\n \t}\n \t\t\n \t\n \tfor(int i = 0; i < 26; i++){;\n \t\tSystem.out.println(alphabet + \" : \" + count[i]);\n \t\talphabet += 1;\n \t}\n }",
"main",
"{\n \tScanner scan = new Scanner(System.in);\n \tString number;\n \tString change;\n \t\n \tchar[] ca;\n \tint[] count = new int[26];\n \tint num;\n \tchar alphabet = 'a';\n \t\n \twhile(scan.hasNext()){\n \t\tnumber = scan.nextLine();\n \tchange = number.toLowerCase();\n \tca = change.toCharArray();\n \t\n\t \tfor(int i = 0; i < ca.length; i++){\n\t \t\tnum = ca[i] - 'a';\n\t \t\tif(num >= 0 && num < 26){\n\t \t\t\tcount[num]++;\n\t \t\t}\n\t \t}\n \t}\n \t\t\n \t\n \tfor(int i = 0; i < 26; i++){;\n \t\tSystem.out.println(alphabet + \" : \" + count[i]);\n \t\talphabet += 1;\n \t}\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String number;",
"number",
"String change;",
"change",
"char[] ca;",
"ca",
"int[] count = new int[26];",
"count",
"new int[26]",
"26",
"int num;",
"num",
"char alphabet = 'a';",
"alphabet",
"'a'",
"while(scan.hasNext()){\n \t\tnumber = scan.nextLine();\n \tchange = number.toLowerCase();\n \tca = change.toCharArray();\n \t\n\t \tfor(int i = 0; i < ca.length; i++){\n\t \t\tnum = ca[i] - 'a';\n\t \t\tif(num >= 0 && num < 26){\n\t \t\t\tcount[num]++;\n\t \t\t}\n\t \t}\n \t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n \t\tnumber = scan.nextLine();\n \tchange = number.toLowerCase();\n \tca = change.toCharArray();\n \t\n\t \tfor(int i = 0; i < ca.length; i++){\n\t \t\tnum = ca[i] - 'a';\n\t \t\tif(num >= 0 && num < 26){\n\t \t\t\tcount[num]++;\n\t \t\t}\n\t \t}\n \t}",
"number = scan.nextLine()",
"number",
"scan.nextLine()",
"scan.nextLine",
"scan",
"change = number.toLowerCase()",
"change",
"number.toLowerCase()",
"number.toLowerCase",
"number",
"ca = change.toCharArray()",
"ca",
"change.toCharArray()",
"change.toCharArray",
"change",
"for(int i = 0; i < ca.length; i++){\n\t \t\tnum = ca[i] - 'a';\n\t \t\tif(num >= 0 && num < 26){\n\t \t\t\tcount[num]++;\n\t \t\t}\n\t \t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < ca.length",
"i",
"ca.length",
"ca",
"ca.length",
"i++",
"i++",
"i",
"{\n\t \t\tnum = ca[i] - 'a';\n\t \t\tif(num >= 0 && num < 26){\n\t \t\t\tcount[num]++;\n\t \t\t}\n\t \t}",
"{\n\t \t\tnum = ca[i] - 'a';\n\t \t\tif(num >= 0 && num < 26){\n\t \t\t\tcount[num]++;\n\t \t\t}\n\t \t}",
"num = ca[i] - 'a'",
"num",
"ca[i] - 'a'",
"ca[i]",
"ca",
"i",
"'a'",
"if(num >= 0 && num < 26){\n\t \t\t\tcount[num]++;\n\t \t\t}",
"num >= 0 && num < 26",
"num >= 0",
"num",
"0",
"num < 26",
"num",
"26",
"{\n\t \t\t\tcount[num]++;\n\t \t\t}",
"count[num]++",
"count[num]",
"count",
"num",
"for(int i = 0; i < 26; i++){;\n \t\tSystem.out.println(alphabet + \" : \" + count[i]);\n \t\talphabet += 1;\n \t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{;\n \t\tSystem.out.println(alphabet + \" : \" + count[i]);\n \t\talphabet += 1;\n \t}",
"{;\n \t\tSystem.out.println(alphabet + \" : \" + count[i]);\n \t\talphabet += 1;\n \t}",
"System.out.println(alphabet + \" : \" + count[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"alphabet + \" : \" + count[i]",
"alphabet + \" : \" + count[i]",
"alphabet",
"\" : \"",
"count[i]",
"count",
"i",
"alphabet += 1",
"alphabet",
"1",
"String[] args",
"args"
]
| import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
String number;
String change;
char[] ca;
int[] count = new int[26];
int num;
char alphabet = 'a';
while(scan.hasNext()){
number = scan.nextLine();
change = number.toLowerCase();
ca = change.toCharArray();
for(int i = 0; i < ca.length; i++){
num = ca[i] - 'a';
if(num >= 0 && num < 26){
count[num]++;
}
}
}
for(int i = 0; i < 26; i++){;
System.out.println(alphabet + " : " + count[i]);
alphabet += 1;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
14,
4,
18,
13,
17,
3,
28,
13,
4,
18,
13,
17,
30,
30,
0,
13,
4,
18,
13,
41,
13,
8,
4,
18,
13,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
2,
13,
17,
41,
13,
17,
28,
13,
4,
18,
17,
17,
30,
30,
14,
40,
4,
18,
13,
13,
30,
0,
13,
17,
30,
0,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
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
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
38,
43
],
[
37,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
44,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
59,
68
],
[
51,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
11,
76
],
[
76,
77
],
[
76,
78
],
[
11,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
79,
85
],
[
86,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
87,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
87,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
86,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
110,
110
],
[
110,
111
],
[
110,
112
],
[
110,
113
],
[
9,
114
],
[
114,
115
]
]
| [
"import java.util.*;\nimport java.io.*;\n\nclass Main {\n public static void main(String args[]) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String in = \"\";\n HashMap<String, Integer> map = new HashMap<String, Integer>();\n try {\n while ((in = br.readLine()) != null) {\n if (in.equals(\"\")) break;\n for(String s : in.split(\"(?<=.)\")) {\n s = s.toLowerCase();\n int count = map.containsKey(s) ? map.get(s) : 0;\n map.put(s, count + 1);\n }\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n int ans = 0;\n for(String s : \"abcdefghijklmnopqrstuvwxyz\".split(\"(?<=.)\")) {\n if (!map.containsKey(s)) {\n ans = 0;\n } else {\n ans = map.get(s);\n }\n System.out.println(s + \" : \" + ans);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main {\n public static void main(String args[]) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String in = \"\";\n HashMap<String, Integer> map = new HashMap<String, Integer>();\n try {\n while ((in = br.readLine()) != null) {\n if (in.equals(\"\")) break;\n for(String s : in.split(\"(?<=.)\")) {\n s = s.toLowerCase();\n int count = map.containsKey(s) ? map.get(s) : 0;\n map.put(s, count + 1);\n }\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n int ans = 0;\n for(String s : \"abcdefghijklmnopqrstuvwxyz\".split(\"(?<=.)\")) {\n if (!map.containsKey(s)) {\n ans = 0;\n } else {\n ans = map.get(s);\n }\n System.out.println(s + \" : \" + ans);\n }\n }\n}",
"Main",
"public static void main(String args[]) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String in = \"\";\n HashMap<String, Integer> map = new HashMap<String, Integer>();\n try {\n while ((in = br.readLine()) != null) {\n if (in.equals(\"\")) break;\n for(String s : in.split(\"(?<=.)\")) {\n s = s.toLowerCase();\n int count = map.containsKey(s) ? map.get(s) : 0;\n map.put(s, count + 1);\n }\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n int ans = 0;\n for(String s : \"abcdefghijklmnopqrstuvwxyz\".split(\"(?<=.)\")) {\n if (!map.containsKey(s)) {\n ans = 0;\n } else {\n ans = map.get(s);\n }\n System.out.println(s + \" : \" + ans);\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String in = \"\";\n HashMap<String, Integer> map = new HashMap<String, Integer>();\n try {\n while ((in = br.readLine()) != null) {\n if (in.equals(\"\")) break;\n for(String s : in.split(\"(?<=.)\")) {\n s = s.toLowerCase();\n int count = map.containsKey(s) ? map.get(s) : 0;\n map.put(s, count + 1);\n }\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n int ans = 0;\n for(String s : \"abcdefghijklmnopqrstuvwxyz\".split(\"(?<=.)\")) {\n if (!map.containsKey(s)) {\n ans = 0;\n } else {\n ans = map.get(s);\n }\n System.out.println(s + \" : \" + ans);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String in = \"\";",
"in",
"\"\"",
"HashMap<String, Integer> map = new HashMap<String, Integer>();",
"map",
"new HashMap<String, Integer>()",
"try {\n while ((in = br.readLine()) != null) {\n if (in.equals(\"\")) break;\n for(String s : in.split(\"(?<=.)\")) {\n s = s.toLowerCase();\n int count = map.containsKey(s) ? map.get(s) : 0;\n map.put(s, count + 1);\n }\n }\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 while ((in = br.readLine()) != null) {\n if (in.equals(\"\")) break;\n for(String s : in.split(\"(?<=.)\")) {\n s = s.toLowerCase();\n int count = map.containsKey(s) ? map.get(s) : 0;\n map.put(s, count + 1);\n }\n }\n }",
"while ((in = br.readLine()) != null) {\n if (in.equals(\"\")) break;\n for(String s : in.split(\"(?<=.)\")) {\n s = s.toLowerCase();\n int count = map.containsKey(s) ? map.get(s) : 0;\n map.put(s, count + 1);\n }\n }",
"(in = br.readLine()) != null",
"(in = br.readLine())",
"in",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n if (in.equals(\"\")) break;\n for(String s : in.split(\"(?<=.)\")) {\n s = s.toLowerCase();\n int count = map.containsKey(s) ? map.get(s) : 0;\n map.put(s, count + 1);\n }\n }",
"if (in.equals(\"\")) break;",
"in.equals(\"\")",
"in.equals",
"in",
"\"\"",
"break;",
"for(String s : in.split(\"(?<=.)\")) {\n s = s.toLowerCase();\n int count = map.containsKey(s) ? map.get(s) : 0;\n map.put(s, count + 1);\n }",
"String s",
"in.split(\"(?<=.)\")",
"in.split",
"in",
"\"(?<=.)\"",
"{\n s = s.toLowerCase();\n int count = map.containsKey(s) ? map.get(s) : 0;\n map.put(s, count + 1);\n }",
"{\n s = s.toLowerCase();\n int count = map.containsKey(s) ? map.get(s) : 0;\n map.put(s, count + 1);\n }",
"s = s.toLowerCase()",
"s",
"s.toLowerCase()",
"s.toLowerCase",
"s",
"int count = map.containsKey(s) ? map.get(s) : 0;",
"count",
"map.containsKey(s) ? map.get(s) : 0",
"map.containsKey(s)",
"map.containsKey",
"map",
"s",
"map.get(s)",
"map.get",
"map",
"s",
"0",
"map.put(s, count + 1)",
"map.put",
"map",
"s",
"count + 1",
"count",
"1",
"int ans = 0;",
"ans",
"0",
"for(String s : \"abcdefghijklmnopqrstuvwxyz\".split(\"(?<=.)\")) {\n if (!map.containsKey(s)) {\n ans = 0;\n } else {\n ans = map.get(s);\n }\n System.out.println(s + \" : \" + ans);\n }",
"String s",
"\"abcdefghijklmnopqrstuvwxyz\".split(\"(?<=.)\")",
"\"abcdefghijklmnopqrstuvwxyz\".split",
"\"abcdefghijklmnopqrstuvwxyz\"",
"\"(?<=.)\"",
"{\n if (!map.containsKey(s)) {\n ans = 0;\n } else {\n ans = map.get(s);\n }\n System.out.println(s + \" : \" + ans);\n }",
"{\n if (!map.containsKey(s)) {\n ans = 0;\n } else {\n ans = map.get(s);\n }\n System.out.println(s + \" : \" + ans);\n }",
"if (!map.containsKey(s)) {\n ans = 0;\n } else {\n ans = map.get(s);\n }",
"!map.containsKey(s)",
"map.containsKey(s)",
"map.containsKey",
"map",
"s",
"{\n ans = 0;\n }",
"ans = 0",
"ans",
"0",
"{\n ans = map.get(s);\n }",
"ans = map.get(s)",
"ans",
"map.get(s)",
"map.get",
"map",
"s",
"System.out.println(s + \" : \" + ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"s + \" : \" + ans",
"s + \" : \" + ans",
"s",
"\" : \"",
"ans",
"String args[]",
"args"
]
| import java.util.*;
import java.io.*;
class Main {
public static void main(String args[]) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String in = "";
HashMap<String, Integer> map = new HashMap<String, Integer>();
try {
while ((in = br.readLine()) != null) {
if (in.equals("")) break;
for(String s : in.split("(?<=.)")) {
s = s.toLowerCase();
int count = map.containsKey(s) ? map.get(s) : 0;
map.put(s, count + 1);
}
}
} catch (IOException e) {
e.printStackTrace();
}
int ans = 0;
for(String s : "abcdefghijklmnopqrstuvwxyz".split("(?<=.)")) {
if (!map.containsKey(s)) {
ans = 0;
} else {
ans = map.get(s);
}
System.out.println(s + " : " + ans);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
41,
13,
41,
13,
41,
13,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
18,
13,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
119,
5
],
[
119,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
42,
52
],
[
52,
53
],
[
53,
54
],
[
42,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
57,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
71,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
70,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
8,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
90,
91
],
[
90,
92
],
[
85,
93
],
[
93,
94
],
[
94,
95
],
[
85,
96
],
[
97,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
104,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
104,
109
],
[
104,
110
],
[
110,
111
],
[
110,
112
],
[
8,
113
],
[
113,
114
],
[
114,
115
],
[
6,
116
],
[
116,
117
],
[
0,
118
],
[
118,
119
],
[
118,
120
]
]
| [
"import java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int data[] = new int[26];\n String test = \"abcdefghijklmnopqrstuvwxyz\";\n String str,str2;\n int j,i;\n\n while(sc.hasNext()) {\n str = sc.nextLine();\n str2=str.toLowerCase();\n\n for(i=0;i<str2.length();i++){\n \tfor(j=0;j<26;j++) {\n \t\tif(test.charAt(j)==str2.charAt(i)) {\n \t\t\tdata[j]++;\n \t\t}\n \t}\n }\n \n }\n for(i=0;i<26;i++){\n \tSystem.out.println(test.charAt(i)+\" : \"+data[i]);\n }\n sc.close();\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int data[] = new int[26];\n String test = \"abcdefghijklmnopqrstuvwxyz\";\n String str,str2;\n int j,i;\n\n while(sc.hasNext()) {\n str = sc.nextLine();\n str2=str.toLowerCase();\n\n for(i=0;i<str2.length();i++){\n \tfor(j=0;j<26;j++) {\n \t\tif(test.charAt(j)==str2.charAt(i)) {\n \t\t\tdata[j]++;\n \t\t}\n \t}\n }\n \n }\n for(i=0;i<26;i++){\n \tSystem.out.println(test.charAt(i)+\" : \"+data[i]);\n }\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int data[] = new int[26];\n String test = \"abcdefghijklmnopqrstuvwxyz\";\n String str,str2;\n int j,i;\n\n while(sc.hasNext()) {\n str = sc.nextLine();\n str2=str.toLowerCase();\n\n for(i=0;i<str2.length();i++){\n \tfor(j=0;j<26;j++) {\n \t\tif(test.charAt(j)==str2.charAt(i)) {\n \t\t\tdata[j]++;\n \t\t}\n \t}\n }\n \n }\n for(i=0;i<26;i++){\n \tSystem.out.println(test.charAt(i)+\" : \"+data[i]);\n }\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int data[] = new int[26];\n String test = \"abcdefghijklmnopqrstuvwxyz\";\n String str,str2;\n int j,i;\n\n while(sc.hasNext()) {\n str = sc.nextLine();\n str2=str.toLowerCase();\n\n for(i=0;i<str2.length();i++){\n \tfor(j=0;j<26;j++) {\n \t\tif(test.charAt(j)==str2.charAt(i)) {\n \t\t\tdata[j]++;\n \t\t}\n \t}\n }\n \n }\n for(i=0;i<26;i++){\n \tSystem.out.println(test.charAt(i)+\" : \"+data[i]);\n }\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int data[] = new int[26];",
"data",
"new int[26]",
"26",
"String test = \"abcdefghijklmnopqrstuvwxyz\";",
"test",
"\"abcdefghijklmnopqrstuvwxyz\"",
"String str",
"str",
"str2;",
"str2",
"int j",
"j",
"i;",
"i",
"while(sc.hasNext()) {\n str = sc.nextLine();\n str2=str.toLowerCase();\n\n for(i=0;i<str2.length();i++){\n \tfor(j=0;j<26;j++) {\n \t\tif(test.charAt(j)==str2.charAt(i)) {\n \t\t\tdata[j]++;\n \t\t}\n \t}\n }\n \n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n str = sc.nextLine();\n str2=str.toLowerCase();\n\n for(i=0;i<str2.length();i++){\n \tfor(j=0;j<26;j++) {\n \t\tif(test.charAt(j)==str2.charAt(i)) {\n \t\t\tdata[j]++;\n \t\t}\n \t}\n }\n \n }",
"str = sc.nextLine()",
"str",
"sc.nextLine()",
"sc.nextLine",
"sc",
"str2=str.toLowerCase()",
"str2",
"str.toLowerCase()",
"str.toLowerCase",
"str",
"for(i=0;i<str2.length();i++){\n \tfor(j=0;j<26;j++) {\n \t\tif(test.charAt(j)==str2.charAt(i)) {\n \t\t\tdata[j]++;\n \t\t}\n \t}\n }",
"i=0;",
"i=0",
"i",
"0",
"i<str2.length()",
"i",
"str2.length()",
"str2.length",
"str2",
"i++",
"i++",
"i",
"{\n \tfor(j=0;j<26;j++) {\n \t\tif(test.charAt(j)==str2.charAt(i)) {\n \t\t\tdata[j]++;\n \t\t}\n \t}\n }",
"{\n \tfor(j=0;j<26;j++) {\n \t\tif(test.charAt(j)==str2.charAt(i)) {\n \t\t\tdata[j]++;\n \t\t}\n \t}\n }",
"for(j=0;j<26;j++) {\n \t\tif(test.charAt(j)==str2.charAt(i)) {\n \t\t\tdata[j]++;\n \t\t}\n \t}",
"j=0;",
"j=0",
"j",
"0",
"j<26",
"j",
"26",
"j++",
"j++",
"j",
"{\n \t\tif(test.charAt(j)==str2.charAt(i)) {\n \t\t\tdata[j]++;\n \t\t}\n \t}",
"{\n \t\tif(test.charAt(j)==str2.charAt(i)) {\n \t\t\tdata[j]++;\n \t\t}\n \t}",
"if(test.charAt(j)==str2.charAt(i)) {\n \t\t\tdata[j]++;\n \t\t}",
"test.charAt(j)==str2.charAt(i)",
"test.charAt(j)",
"test.charAt",
"test",
"j",
"str2.charAt(i)",
"str2.charAt",
"str2",
"i",
"{\n \t\t\tdata[j]++;\n \t\t}",
"data[j]++",
"data[j]",
"data",
"j",
"for(i=0;i<26;i++){\n \tSystem.out.println(test.charAt(i)+\" : \"+data[i]);\n }",
"i=0;",
"i=0",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n \tSystem.out.println(test.charAt(i)+\" : \"+data[i]);\n }",
"{\n \tSystem.out.println(test.charAt(i)+\" : \"+data[i]);\n }",
"System.out.println(test.charAt(i)+\" : \"+data[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"test.charAt(i)+\" : \"+data[i]",
"test.charAt(i)+\" : \"+data[i]",
"test.charAt(i)",
"test.charAt",
"test",
"i",
"\" : \"",
"data[i]",
"data",
"i",
"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 int data[] = new int[26];\n String test = \"abcdefghijklmnopqrstuvwxyz\";\n String str,str2;\n int j,i;\n\n while(sc.hasNext()) {\n str = sc.nextLine();\n str2=str.toLowerCase();\n\n for(i=0;i<str2.length();i++){\n \tfor(j=0;j<26;j++) {\n \t\tif(test.charAt(j)==str2.charAt(i)) {\n \t\t\tdata[j]++;\n \t\t}\n \t}\n }\n \n }\n for(i=0;i<26;i++){\n \tSystem.out.println(test.charAt(i)+\" : \"+data[i]);\n }\n sc.close();\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int data[] = new int[26];\n String test = \"abcdefghijklmnopqrstuvwxyz\";\n String str,str2;\n int j,i;\n\n while(sc.hasNext()) {\n str = sc.nextLine();\n str2=str.toLowerCase();\n\n for(i=0;i<str2.length();i++){\n \tfor(j=0;j<26;j++) {\n \t\tif(test.charAt(j)==str2.charAt(i)) {\n \t\t\tdata[j]++;\n \t\t}\n \t}\n }\n \n }\n for(i=0;i<26;i++){\n \tSystem.out.println(test.charAt(i)+\" : \"+data[i]);\n }\n sc.close();\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int data[] = new int[26];
String test = "abcdefghijklmnopqrstuvwxyz";
String str,str2;
int j,i;
while(sc.hasNext()) {
str = sc.nextLine();
str2=str.toLowerCase();
for(i=0;i<str2.length();i++){
for(j=0;j<26;j++) {
if(test.charAt(j)==str2.charAt(i)) {
data[j]++;
}
}
}
}
for(i=0;i<26;i++){
System.out.println(test.charAt(i)+" : "+data[i]);
}
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
0,
13,
2,
13,
13,
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,
14,
4,
18,
13,
18,
13,
13,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
17,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
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
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
11,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
11,
43
],
[
43,
44
],
[
43,
45
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
64,
66
],
[
60,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
75,
77
],
[
59,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
78,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
78,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
90,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
90,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
102,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
102,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
114,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
114,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
127,
131
],
[
126,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
126,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
138,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
145,
149
],
[
138,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
151,
155
],
[
150,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
157,
161
],
[
150,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
163,
167
],
[
162,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
173
],
[
162,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
179
],
[
174,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
181,
185
],
[
174,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
187,
191
],
[
186,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
193,
197
],
[
186,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
199,
203
],
[
198,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
209
],
[
198,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
211,
215
],
[
210,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
217,
221
],
[
210,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
223,
227
],
[
222,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
229,
233
],
[
222,
234
],
[
234,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
235,
239
],
[
234,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
241,
245
],
[
234,
246
],
[
246,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
247,
251
],
[
246,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
253,
257
],
[
246,
258
],
[
258,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
259,
263
],
[
258,
264
],
[
264,
265
],
[
265,
266
],
[
266,
267
],
[
266,
268
],
[
265,
269
],
[
258,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
271,
275
],
[
270,
276
],
[
276,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
277,
281
],
[
270,
282
],
[
282,
283
],
[
283,
284
],
[
284,
285
],
[
284,
286
],
[
283,
287
],
[
282,
288
],
[
288,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
289,
293
],
[
282,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
296,
298
],
[
295,
299
],
[
294,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
301,
305
],
[
294,
306
],
[
306,
307
],
[
307,
308
],
[
308,
309
],
[
308,
310
],
[
307,
311
],
[
306,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
313,
317
],
[
306,
318
],
[
318,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
319,
323
],
[
318,
324
],
[
324,
325
],
[
325,
326
],
[
326,
327
],
[
326,
328
],
[
325,
329
],
[
318,
330
],
[
330,
331
],
[
331,
332
],
[
332,
333
],
[
332,
334
],
[
331,
335
],
[
330,
336
],
[
336,
337
],
[
337,
338
],
[
338,
339
],
[
338,
340
],
[
337,
341
],
[
330,
342
],
[
342,
343
],
[
343,
344
],
[
344,
345
],
[
344,
346
],
[
343,
347
],
[
342,
348
],
[
348,
349
],
[
349,
350
],
[
350,
351
],
[
350,
352
],
[
349,
353
],
[
342,
354
],
[
354,
355
],
[
355,
356
],
[
356,
357
],
[
356,
358
],
[
355,
359
],
[
354,
360
],
[
360,
361
],
[
361,
362
],
[
362,
363
],
[
362,
364
],
[
361,
365
],
[
354,
366
],
[
366,
367
],
[
367,
368
],
[
368,
369
],
[
368,
370
],
[
367,
371
],
[
366,
372
],
[
372,
373
],
[
373,
374
],
[
374,
375
],
[
374,
376
],
[
373,
377
],
[
366,
378
],
[
378,
379
],
[
379,
380
],
[
380,
381
],
[
380,
382
],
[
379,
383
],
[
378,
384
],
[
384,
385
],
[
385,
386
],
[
386,
387
],
[
386,
388
],
[
385,
389
],
[
11,
390
],
[
390,
391
],
[
391,
392
],
[
392,
393
],
[
392,
394
],
[
390,
395
],
[
395,
396
],
[
395,
397
],
[
397,
398
],
[
397,
399
],
[
11,
400
],
[
400,
401
],
[
401,
402
],
[
402,
403
],
[
402,
404
],
[
400,
405
],
[
405,
406
],
[
405,
407
],
[
407,
408
],
[
407,
409
],
[
11,
410
],
[
410,
411
],
[
411,
412
],
[
412,
413
],
[
412,
414
],
[
410,
415
],
[
415,
416
],
[
415,
417
],
[
417,
418
],
[
417,
419
],
[
11,
420
],
[
420,
421
],
[
421,
422
],
[
422,
423
],
[
422,
424
],
[
420,
425
],
[
425,
426
],
[
425,
427
],
[
427,
428
],
[
427,
429
],
[
11,
430
],
[
430,
431
],
[
431,
432
],
[
432,
433
],
[
432,
434
],
[
430,
435
],
[
435,
436
],
[
435,
437
],
[
437,
438
],
[
437,
439
],
[
11,
440
],
[
440,
441
],
[
441,
442
],
[
442,
443
],
[
442,
444
],
[
440,
445
],
[
445,
446
],
[
445,
447
],
[
447,
448
],
[
447,
449
],
[
11,
450
],
[
450,
451
],
[
451,
452
],
[
452,
453
],
[
452,
454
],
[
450,
455
],
[
455,
456
],
[
455,
457
],
[
457,
458
],
[
457,
459
],
[
11,
460
],
[
460,
461
],
[
461,
462
],
[
462,
463
],
[
462,
464
],
[
460,
465
],
[
465,
466
],
[
465,
467
],
[
467,
468
],
[
467,
469
],
[
11,
470
],
[
470,
471
],
[
471,
472
],
[
472,
473
],
[
472,
474
],
[
470,
475
],
[
475,
476
],
[
475,
477
],
[
477,
478
],
[
477,
479
],
[
11,
480
],
[
480,
481
],
[
481,
482
],
[
482,
483
],
[
482,
484
],
[
480,
485
],
[
485,
486
],
[
485,
487
],
[
487,
488
],
[
487,
489
],
[
11,
490
],
[
490,
491
],
[
491,
492
],
[
492,
493
],
[
492,
494
],
[
490,
495
],
[
495,
496
],
[
495,
497
],
[
497,
498
],
[
497,
499
],
[
11,
500
],
[
500,
501
],
[
501,
502
],
[
502,
503
],
[
502,
504
],
[
500,
505
],
[
505,
506
],
[
505,
507
],
[
507,
508
],
[
507,
509
],
[
11,
510
],
[
510,
511
],
[
511,
512
],
[
512,
513
],
[
512,
514
],
[
510,
515
],
[
515,
516
],
[
515,
517
],
[
517,
518
],
[
517,
519
],
[
11,
520
],
[
520,
521
],
[
521,
522
],
[
522,
523
],
[
522,
524
],
[
520,
525
],
[
525,
526
],
[
525,
527
],
[
527,
528
],
[
527,
529
],
[
11,
530
],
[
530,
531
],
[
531,
532
],
[
532,
533
],
[
532,
534
],
[
530,
535
],
[
535,
536
],
[
535,
537
],
[
537,
538
],
[
537,
539
],
[
11,
540
],
[
540,
541
],
[
541,
542
],
[
542,
543
],
[
542,
544
],
[
540,
545
],
[
545,
546
],
[
545,
547
],
[
547,
548
],
[
547,
549
],
[
11,
550
],
[
550,
551
],
[
551,
552
],
[
552,
553
],
[
552,
554
],
[
550,
555
],
[
555,
556
],
[
555,
557
],
[
557,
558
],
[
557,
559
],
[
11,
560
],
[
560,
561
],
[
561,
562
],
[
562,
563
],
[
562,
564
],
[
560,
565
],
[
565,
566
],
[
565,
567
],
[
567,
568
],
[
567,
569
],
[
11,
570
],
[
570,
571
],
[
571,
572
],
[
572,
573
],
[
572,
574
],
[
570,
575
],
[
575,
576
],
[
575,
577
],
[
577,
578
],
[
577,
579
],
[
11,
580
],
[
580,
581
],
[
581,
582
],
[
582,
583
],
[
582,
584
],
[
580,
585
],
[
585,
586
],
[
585,
587
],
[
587,
588
],
[
587,
589
],
[
11,
590
],
[
590,
591
],
[
591,
592
],
[
592,
593
],
[
592,
594
],
[
590,
595
],
[
595,
596
],
[
595,
597
],
[
597,
598
],
[
597,
599
],
[
11,
600
],
[
600,
601
],
[
601,
602
],
[
602,
603
],
[
602,
604
],
[
600,
605
],
[
605,
606
],
[
605,
607
],
[
607,
608
],
[
607,
609
],
[
11,
610
],
[
610,
611
],
[
611,
612
],
[
612,
613
],
[
612,
614
],
[
610,
615
],
[
615,
616
],
[
615,
617
],
[
617,
618
],
[
617,
619
],
[
11,
620
],
[
620,
621
],
[
621,
622
],
[
622,
623
],
[
622,
624
],
[
620,
625
],
[
625,
626
],
[
625,
627
],
[
627,
628
],
[
627,
629
],
[
11,
630
],
[
630,
631
],
[
631,
632
],
[
632,
633
],
[
632,
634
],
[
630,
635
],
[
635,
636
],
[
635,
637
],
[
637,
638
],
[
637,
639
],
[
11,
640
],
[
640,
641
],
[
641,
642
],
[
642,
643
],
[
642,
644
],
[
640,
645
],
[
645,
646
],
[
645,
647
],
[
647,
648
],
[
647,
649
],
[
9,
650
],
[
650,
651
]
]
| [
"import java.io.IOException;\nimport java.util.Scanner;\nclass Main{\n\tpublic static void main(String[] args)throws NumberFormatException, IOException{\n\t\t//System.out.print(\" \");\n\t\tScanner scan = new Scanner(System.in);\n//\t\tString moji =scan.nextLine();\n\t\tString moji = \"\";\n\t\twhile (scan.hasNext()){\n\t\t\tString in =scan.nextLine();\n\t\t\tmoji = moji + in;\n\t\t}\n\t\t\n\t\tchar[] ichimoji = moji.toCharArray();\n\t\tint nagasa = moji.length();\n\t\tint[] fukumu = new int[27];\n\n\t\tfor(int i=0; i<nagasa; i++){\n\t\t\tif (Character.isUpperCase(ichimoji[i])){\n\t\t\t\tichimoji[i] = Character.toLowerCase(ichimoji[i]);\n\t\t\t}\n\t\t\tif (ichimoji[i] == 'a'){\n\t\t\t\tfukumu[1] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'b'){\n\t\t\t\tfukumu[2] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'c'){\n\t\t\t\tfukumu[3] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'd'){\n\t\t\t\tfukumu[4] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'e'){\n\t\t\t\tfukumu[5] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'f'){\n\t\t\t\tfukumu[6] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'g'){\n\t\t\t\tfukumu[7] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'h'){\n\t\t\t\tfukumu[8] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'i'){\n\t\t\t\tfukumu[9] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'j'){\n\t\t\t\tfukumu[10] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'k'){\n\t\t\t\tfukumu[11] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'l'){\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"a : \"+fukumu[1]);\n\t\tSystem.out.println(\"b : \"+fukumu[2]);\n\t\tSystem.out.println(\"c : \"+fukumu[3]);\n\t\tSystem.out.println(\"d : \"+fukumu[4]);\n\t\tSystem.out.println(\"e : \"+fukumu[5]);\n\t\tSystem.out.println(\"f : \"+fukumu[6]);\n\t\tSystem.out.println(\"g : \"+fukumu[7]);\n\t\tSystem.out.println(\"h : \"+fukumu[8]);\n\t\tSystem.out.println(\"i : \"+fukumu[9]);\n\t\tSystem.out.println(\"j : \"+fukumu[10]);\n\t\tSystem.out.println(\"k : \"+fukumu[11]);\n\t\tSystem.out.println(\"l : \"+fukumu[12]);\n\t\tSystem.out.println(\"m : \"+fukumu[13]);\n\t\tSystem.out.println(\"n : \"+fukumu[14]);\n\t\tSystem.out.println(\"o : \"+fukumu[15]);\n\t\tSystem.out.println(\"p : \"+fukumu[16]);\n\t\tSystem.out.println(\"q : \"+fukumu[17]);\n\t\tSystem.out.println(\"r : \"+fukumu[18]);\n\t\tSystem.out.println(\"s : \"+fukumu[19]);\n\t\tSystem.out.println(\"t : \"+fukumu[20]);\n\t\tSystem.out.println(\"u : \"+fukumu[21]);\n\t\tSystem.out.println(\"v : \"+fukumu[22]);\n\t\tSystem.out.println(\"w : \"+fukumu[23]);\n\t\tSystem.out.println(\"x : \"+fukumu[24]);\n\t\tSystem.out.println(\"y : \"+fukumu[25]);\n\t\tSystem.out.println(\"z : \"+fukumu[26]);\n\t}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String[] args)throws NumberFormatException, IOException{\n\t\t//System.out.print(\" \");\n\t\tScanner scan = new Scanner(System.in);\n//\t\tString moji =scan.nextLine();\n\t\tString moji = \"\";\n\t\twhile (scan.hasNext()){\n\t\t\tString in =scan.nextLine();\n\t\t\tmoji = moji + in;\n\t\t}\n\t\t\n\t\tchar[] ichimoji = moji.toCharArray();\n\t\tint nagasa = moji.length();\n\t\tint[] fukumu = new int[27];\n\n\t\tfor(int i=0; i<nagasa; i++){\n\t\t\tif (Character.isUpperCase(ichimoji[i])){\n\t\t\t\tichimoji[i] = Character.toLowerCase(ichimoji[i]);\n\t\t\t}\n\t\t\tif (ichimoji[i] == 'a'){\n\t\t\t\tfukumu[1] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'b'){\n\t\t\t\tfukumu[2] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'c'){\n\t\t\t\tfukumu[3] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'd'){\n\t\t\t\tfukumu[4] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'e'){\n\t\t\t\tfukumu[5] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'f'){\n\t\t\t\tfukumu[6] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'g'){\n\t\t\t\tfukumu[7] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'h'){\n\t\t\t\tfukumu[8] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'i'){\n\t\t\t\tfukumu[9] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'j'){\n\t\t\t\tfukumu[10] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'k'){\n\t\t\t\tfukumu[11] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'l'){\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"a : \"+fukumu[1]);\n\t\tSystem.out.println(\"b : \"+fukumu[2]);\n\t\tSystem.out.println(\"c : \"+fukumu[3]);\n\t\tSystem.out.println(\"d : \"+fukumu[4]);\n\t\tSystem.out.println(\"e : \"+fukumu[5]);\n\t\tSystem.out.println(\"f : \"+fukumu[6]);\n\t\tSystem.out.println(\"g : \"+fukumu[7]);\n\t\tSystem.out.println(\"h : \"+fukumu[8]);\n\t\tSystem.out.println(\"i : \"+fukumu[9]);\n\t\tSystem.out.println(\"j : \"+fukumu[10]);\n\t\tSystem.out.println(\"k : \"+fukumu[11]);\n\t\tSystem.out.println(\"l : \"+fukumu[12]);\n\t\tSystem.out.println(\"m : \"+fukumu[13]);\n\t\tSystem.out.println(\"n : \"+fukumu[14]);\n\t\tSystem.out.println(\"o : \"+fukumu[15]);\n\t\tSystem.out.println(\"p : \"+fukumu[16]);\n\t\tSystem.out.println(\"q : \"+fukumu[17]);\n\t\tSystem.out.println(\"r : \"+fukumu[18]);\n\t\tSystem.out.println(\"s : \"+fukumu[19]);\n\t\tSystem.out.println(\"t : \"+fukumu[20]);\n\t\tSystem.out.println(\"u : \"+fukumu[21]);\n\t\tSystem.out.println(\"v : \"+fukumu[22]);\n\t\tSystem.out.println(\"w : \"+fukumu[23]);\n\t\tSystem.out.println(\"x : \"+fukumu[24]);\n\t\tSystem.out.println(\"y : \"+fukumu[25]);\n\t\tSystem.out.println(\"z : \"+fukumu[26]);\n\t}\n}",
"Main",
"public static void main(String[] args)throws NumberFormatException, IOException{\n\t\t//System.out.print(\" \");\n\t\tScanner scan = new Scanner(System.in);\n//\t\tString moji =scan.nextLine();\n\t\tString moji = \"\";\n\t\twhile (scan.hasNext()){\n\t\t\tString in =scan.nextLine();\n\t\t\tmoji = moji + in;\n\t\t}\n\t\t\n\t\tchar[] ichimoji = moji.toCharArray();\n\t\tint nagasa = moji.length();\n\t\tint[] fukumu = new int[27];\n\n\t\tfor(int i=0; i<nagasa; i++){\n\t\t\tif (Character.isUpperCase(ichimoji[i])){\n\t\t\t\tichimoji[i] = Character.toLowerCase(ichimoji[i]);\n\t\t\t}\n\t\t\tif (ichimoji[i] == 'a'){\n\t\t\t\tfukumu[1] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'b'){\n\t\t\t\tfukumu[2] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'c'){\n\t\t\t\tfukumu[3] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'd'){\n\t\t\t\tfukumu[4] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'e'){\n\t\t\t\tfukumu[5] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'f'){\n\t\t\t\tfukumu[6] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'g'){\n\t\t\t\tfukumu[7] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'h'){\n\t\t\t\tfukumu[8] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'i'){\n\t\t\t\tfukumu[9] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'j'){\n\t\t\t\tfukumu[10] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'k'){\n\t\t\t\tfukumu[11] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'l'){\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"a : \"+fukumu[1]);\n\t\tSystem.out.println(\"b : \"+fukumu[2]);\n\t\tSystem.out.println(\"c : \"+fukumu[3]);\n\t\tSystem.out.println(\"d : \"+fukumu[4]);\n\t\tSystem.out.println(\"e : \"+fukumu[5]);\n\t\tSystem.out.println(\"f : \"+fukumu[6]);\n\t\tSystem.out.println(\"g : \"+fukumu[7]);\n\t\tSystem.out.println(\"h : \"+fukumu[8]);\n\t\tSystem.out.println(\"i : \"+fukumu[9]);\n\t\tSystem.out.println(\"j : \"+fukumu[10]);\n\t\tSystem.out.println(\"k : \"+fukumu[11]);\n\t\tSystem.out.println(\"l : \"+fukumu[12]);\n\t\tSystem.out.println(\"m : \"+fukumu[13]);\n\t\tSystem.out.println(\"n : \"+fukumu[14]);\n\t\tSystem.out.println(\"o : \"+fukumu[15]);\n\t\tSystem.out.println(\"p : \"+fukumu[16]);\n\t\tSystem.out.println(\"q : \"+fukumu[17]);\n\t\tSystem.out.println(\"r : \"+fukumu[18]);\n\t\tSystem.out.println(\"s : \"+fukumu[19]);\n\t\tSystem.out.println(\"t : \"+fukumu[20]);\n\t\tSystem.out.println(\"u : \"+fukumu[21]);\n\t\tSystem.out.println(\"v : \"+fukumu[22]);\n\t\tSystem.out.println(\"w : \"+fukumu[23]);\n\t\tSystem.out.println(\"x : \"+fukumu[24]);\n\t\tSystem.out.println(\"y : \"+fukumu[25]);\n\t\tSystem.out.println(\"z : \"+fukumu[26]);\n\t}",
"main",
"{\n\t\t//System.out.print(\" \");\n\t\tScanner scan = new Scanner(System.in);\n//\t\tString moji =scan.nextLine();\n\t\tString moji = \"\";\n\t\twhile (scan.hasNext()){\n\t\t\tString in =scan.nextLine();\n\t\t\tmoji = moji + in;\n\t\t}\n\t\t\n\t\tchar[] ichimoji = moji.toCharArray();\n\t\tint nagasa = moji.length();\n\t\tint[] fukumu = new int[27];\n\n\t\tfor(int i=0; i<nagasa; i++){\n\t\t\tif (Character.isUpperCase(ichimoji[i])){\n\t\t\t\tichimoji[i] = Character.toLowerCase(ichimoji[i]);\n\t\t\t}\n\t\t\tif (ichimoji[i] == 'a'){\n\t\t\t\tfukumu[1] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'b'){\n\t\t\t\tfukumu[2] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'c'){\n\t\t\t\tfukumu[3] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'd'){\n\t\t\t\tfukumu[4] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'e'){\n\t\t\t\tfukumu[5] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'f'){\n\t\t\t\tfukumu[6] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'g'){\n\t\t\t\tfukumu[7] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'h'){\n\t\t\t\tfukumu[8] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'i'){\n\t\t\t\tfukumu[9] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'j'){\n\t\t\t\tfukumu[10] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'k'){\n\t\t\t\tfukumu[11] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'l'){\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"a : \"+fukumu[1]);\n\t\tSystem.out.println(\"b : \"+fukumu[2]);\n\t\tSystem.out.println(\"c : \"+fukumu[3]);\n\t\tSystem.out.println(\"d : \"+fukumu[4]);\n\t\tSystem.out.println(\"e : \"+fukumu[5]);\n\t\tSystem.out.println(\"f : \"+fukumu[6]);\n\t\tSystem.out.println(\"g : \"+fukumu[7]);\n\t\tSystem.out.println(\"h : \"+fukumu[8]);\n\t\tSystem.out.println(\"i : \"+fukumu[9]);\n\t\tSystem.out.println(\"j : \"+fukumu[10]);\n\t\tSystem.out.println(\"k : \"+fukumu[11]);\n\t\tSystem.out.println(\"l : \"+fukumu[12]);\n\t\tSystem.out.println(\"m : \"+fukumu[13]);\n\t\tSystem.out.println(\"n : \"+fukumu[14]);\n\t\tSystem.out.println(\"o : \"+fukumu[15]);\n\t\tSystem.out.println(\"p : \"+fukumu[16]);\n\t\tSystem.out.println(\"q : \"+fukumu[17]);\n\t\tSystem.out.println(\"r : \"+fukumu[18]);\n\t\tSystem.out.println(\"s : \"+fukumu[19]);\n\t\tSystem.out.println(\"t : \"+fukumu[20]);\n\t\tSystem.out.println(\"u : \"+fukumu[21]);\n\t\tSystem.out.println(\"v : \"+fukumu[22]);\n\t\tSystem.out.println(\"w : \"+fukumu[23]);\n\t\tSystem.out.println(\"x : \"+fukumu[24]);\n\t\tSystem.out.println(\"y : \"+fukumu[25]);\n\t\tSystem.out.println(\"z : \"+fukumu[26]);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String moji = \"\";",
"moji",
"\"\"",
"while (scan.hasNext()){\n\t\t\tString in =scan.nextLine();\n\t\t\tmoji = moji + in;\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\tString in =scan.nextLine();\n\t\t\tmoji = moji + in;\n\t\t}",
"String in =scan.nextLine();",
"in",
"scan.nextLine()",
"scan.nextLine",
"scan",
"moji = moji + in",
"moji",
"moji + in",
"moji",
"in",
"char[] ichimoji = moji.toCharArray();",
"ichimoji",
"moji.toCharArray()",
"moji.toCharArray",
"moji",
"int nagasa = moji.length();",
"nagasa",
"moji.length()",
"moji.length",
"moji",
"int[] fukumu = new int[27];",
"fukumu",
"new int[27]",
"27",
"for(int i=0; i<nagasa; i++){\n\t\t\tif (Character.isUpperCase(ichimoji[i])){\n\t\t\t\tichimoji[i] = Character.toLowerCase(ichimoji[i]);\n\t\t\t}\n\t\t\tif (ichimoji[i] == 'a'){\n\t\t\t\tfukumu[1] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'b'){\n\t\t\t\tfukumu[2] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'c'){\n\t\t\t\tfukumu[3] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'd'){\n\t\t\t\tfukumu[4] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'e'){\n\t\t\t\tfukumu[5] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'f'){\n\t\t\t\tfukumu[6] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'g'){\n\t\t\t\tfukumu[7] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'h'){\n\t\t\t\tfukumu[8] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'i'){\n\t\t\t\tfukumu[9] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'j'){\n\t\t\t\tfukumu[10] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'k'){\n\t\t\t\tfukumu[11] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'l'){\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<nagasa",
"i",
"nagasa",
"i++",
"i++",
"i",
"{\n\t\t\tif (Character.isUpperCase(ichimoji[i])){\n\t\t\t\tichimoji[i] = Character.toLowerCase(ichimoji[i]);\n\t\t\t}\n\t\t\tif (ichimoji[i] == 'a'){\n\t\t\t\tfukumu[1] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'b'){\n\t\t\t\tfukumu[2] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'c'){\n\t\t\t\tfukumu[3] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'd'){\n\t\t\t\tfukumu[4] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'e'){\n\t\t\t\tfukumu[5] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'f'){\n\t\t\t\tfukumu[6] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'g'){\n\t\t\t\tfukumu[7] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'h'){\n\t\t\t\tfukumu[8] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'i'){\n\t\t\t\tfukumu[9] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'j'){\n\t\t\t\tfukumu[10] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'k'){\n\t\t\t\tfukumu[11] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'l'){\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (Character.isUpperCase(ichimoji[i])){\n\t\t\t\tichimoji[i] = Character.toLowerCase(ichimoji[i]);\n\t\t\t}\n\t\t\tif (ichimoji[i] == 'a'){\n\t\t\t\tfukumu[1] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'b'){\n\t\t\t\tfukumu[2] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'c'){\n\t\t\t\tfukumu[3] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'd'){\n\t\t\t\tfukumu[4] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'e'){\n\t\t\t\tfukumu[5] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'f'){\n\t\t\t\tfukumu[6] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'g'){\n\t\t\t\tfukumu[7] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'h'){\n\t\t\t\tfukumu[8] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'i'){\n\t\t\t\tfukumu[9] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'j'){\n\t\t\t\tfukumu[10] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'k'){\n\t\t\t\tfukumu[11] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'l'){\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}\n\t\t}",
"if (Character.isUpperCase(ichimoji[i])){\n\t\t\t\tichimoji[i] = Character.toLowerCase(ichimoji[i]);\n\t\t\t}",
"Character.isUpperCase(ichimoji[i])",
"Character.isUpperCase",
"Character",
"ichimoji[i]",
"ichimoji",
"i",
"{\n\t\t\t\tichimoji[i] = Character.toLowerCase(ichimoji[i]);\n\t\t\t}",
"ichimoji[i] = Character.toLowerCase(ichimoji[i])",
"ichimoji[i]",
"ichimoji",
"i",
"Character.toLowerCase(ichimoji[i])",
"Character.toLowerCase",
"Character",
"ichimoji[i]",
"ichimoji",
"i",
"if (ichimoji[i] == 'a'){\n\t\t\t\tfukumu[1] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'b'){\n\t\t\t\tfukumu[2] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'c'){\n\t\t\t\tfukumu[3] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'd'){\n\t\t\t\tfukumu[4] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'e'){\n\t\t\t\tfukumu[5] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'f'){\n\t\t\t\tfukumu[6] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'g'){\n\t\t\t\tfukumu[7] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'h'){\n\t\t\t\tfukumu[8] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'i'){\n\t\t\t\tfukumu[9] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'j'){\n\t\t\t\tfukumu[10] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'k'){\n\t\t\t\tfukumu[11] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'l'){\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'a'",
"ichimoji[i]",
"ichimoji",
"i",
"'a'",
"{\n\t\t\t\tfukumu[1] += 1;\n\t\t\t}",
"fukumu[1] += 1",
"fukumu[1]",
"fukumu",
"1",
"1",
"if (ichimoji[i] == 'b'){\n\t\t\t\tfukumu[2] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'c'){\n\t\t\t\tfukumu[3] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'd'){\n\t\t\t\tfukumu[4] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'e'){\n\t\t\t\tfukumu[5] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'f'){\n\t\t\t\tfukumu[6] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'g'){\n\t\t\t\tfukumu[7] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'h'){\n\t\t\t\tfukumu[8] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'i'){\n\t\t\t\tfukumu[9] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'j'){\n\t\t\t\tfukumu[10] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'k'){\n\t\t\t\tfukumu[11] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'l'){\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'b'",
"ichimoji[i]",
"ichimoji",
"i",
"'b'",
"{\n\t\t\t\tfukumu[2] += 1;\n\t\t\t}",
"fukumu[2] += 1",
"fukumu[2]",
"fukumu",
"2",
"1",
"if (ichimoji[i] == 'c'){\n\t\t\t\tfukumu[3] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'd'){\n\t\t\t\tfukumu[4] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'e'){\n\t\t\t\tfukumu[5] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'f'){\n\t\t\t\tfukumu[6] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'g'){\n\t\t\t\tfukumu[7] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'h'){\n\t\t\t\tfukumu[8] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'i'){\n\t\t\t\tfukumu[9] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'j'){\n\t\t\t\tfukumu[10] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'k'){\n\t\t\t\tfukumu[11] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'l'){\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'c'",
"ichimoji[i]",
"ichimoji",
"i",
"'c'",
"{\n\t\t\t\tfukumu[3] += 1;\n\t\t\t}",
"fukumu[3] += 1",
"fukumu[3]",
"fukumu",
"3",
"1",
"if (ichimoji[i] == 'd'){\n\t\t\t\tfukumu[4] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'e'){\n\t\t\t\tfukumu[5] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'f'){\n\t\t\t\tfukumu[6] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'g'){\n\t\t\t\tfukumu[7] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'h'){\n\t\t\t\tfukumu[8] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'i'){\n\t\t\t\tfukumu[9] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'j'){\n\t\t\t\tfukumu[10] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'k'){\n\t\t\t\tfukumu[11] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'l'){\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'd'",
"ichimoji[i]",
"ichimoji",
"i",
"'d'",
"{\n\t\t\t\tfukumu[4] += 1;\n\t\t\t}",
"fukumu[4] += 1",
"fukumu[4]",
"fukumu",
"4",
"1",
"if (ichimoji[i] == 'e'){\n\t\t\t\tfukumu[5] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'f'){\n\t\t\t\tfukumu[6] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'g'){\n\t\t\t\tfukumu[7] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'h'){\n\t\t\t\tfukumu[8] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'i'){\n\t\t\t\tfukumu[9] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'j'){\n\t\t\t\tfukumu[10] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'k'){\n\t\t\t\tfukumu[11] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'l'){\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'e'",
"ichimoji[i]",
"ichimoji",
"i",
"'e'",
"{\n\t\t\t\tfukumu[5] += 1;\n\t\t\t}",
"fukumu[5] += 1",
"fukumu[5]",
"fukumu",
"5",
"1",
"if (ichimoji[i] == 'f'){\n\t\t\t\tfukumu[6] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'g'){\n\t\t\t\tfukumu[7] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'h'){\n\t\t\t\tfukumu[8] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'i'){\n\t\t\t\tfukumu[9] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'j'){\n\t\t\t\tfukumu[10] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'k'){\n\t\t\t\tfukumu[11] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'l'){\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'f'",
"ichimoji[i]",
"ichimoji",
"i",
"'f'",
"{\n\t\t\t\tfukumu[6] += 1;\n\t\t\t}",
"fukumu[6] += 1",
"fukumu[6]",
"fukumu",
"6",
"1",
"if (ichimoji[i] == 'g'){\n\t\t\t\tfukumu[7] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'h'){\n\t\t\t\tfukumu[8] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'i'){\n\t\t\t\tfukumu[9] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'j'){\n\t\t\t\tfukumu[10] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'k'){\n\t\t\t\tfukumu[11] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'l'){\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'g'",
"ichimoji[i]",
"ichimoji",
"i",
"'g'",
"{\n\t\t\t\tfukumu[7] += 1;\n\t\t\t}",
"fukumu[7] += 1",
"fukumu[7]",
"fukumu",
"7",
"1",
"if (ichimoji[i] == 'h'){\n\t\t\t\tfukumu[8] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'i'){\n\t\t\t\tfukumu[9] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'j'){\n\t\t\t\tfukumu[10] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'k'){\n\t\t\t\tfukumu[11] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'l'){\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'h'",
"ichimoji[i]",
"ichimoji",
"i",
"'h'",
"{\n\t\t\t\tfukumu[8] += 1;\n\t\t\t}",
"fukumu[8] += 1",
"fukumu[8]",
"fukumu",
"8",
"1",
"if (ichimoji[i] == 'i'){\n\t\t\t\tfukumu[9] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'j'){\n\t\t\t\tfukumu[10] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'k'){\n\t\t\t\tfukumu[11] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'l'){\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'i'",
"ichimoji[i]",
"ichimoji",
"i",
"'i'",
"{\n\t\t\t\tfukumu[9] += 1;\n\t\t\t}",
"fukumu[9] += 1",
"fukumu[9]",
"fukumu",
"9",
"1",
"if (ichimoji[i] == 'j'){\n\t\t\t\tfukumu[10] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'k'){\n\t\t\t\tfukumu[11] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'l'){\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'j'",
"ichimoji[i]",
"ichimoji",
"i",
"'j'",
"{\n\t\t\t\tfukumu[10] += 1;\n\t\t\t}",
"fukumu[10] += 1",
"fukumu[10]",
"fukumu",
"10",
"1",
"if (ichimoji[i] == 'k'){\n\t\t\t\tfukumu[11] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'l'){\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'k'",
"ichimoji[i]",
"ichimoji",
"i",
"'k'",
"{\n\t\t\t\tfukumu[11] += 1;\n\t\t\t}",
"fukumu[11] += 1",
"fukumu[11]",
"fukumu",
"11",
"1",
"if (ichimoji[i] == 'l'){\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'l'",
"ichimoji[i]",
"ichimoji",
"i",
"'l'",
"{\n\t\t\t\tfukumu[12] += 1;\n\t\t\t}",
"fukumu[12] += 1",
"fukumu[12]",
"fukumu",
"12",
"1",
"if (ichimoji[i] == 'm'){\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'm'",
"ichimoji[i]",
"ichimoji",
"i",
"'m'",
"{\n\t\t\t\tfukumu[13] += 1;\n\t\t\t}",
"fukumu[13] += 1",
"fukumu[13]",
"fukumu",
"13",
"1",
"if (ichimoji[i] == 'n'){\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'n'",
"ichimoji[i]",
"ichimoji",
"i",
"'n'",
"{\n\t\t\t\tfukumu[14] += 1;\n\t\t\t}",
"fukumu[14] += 1",
"fukumu[14]",
"fukumu",
"14",
"1",
"if (ichimoji[i] == 'o'){\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'o'",
"ichimoji[i]",
"ichimoji",
"i",
"'o'",
"{\n\t\t\t\tfukumu[15] += 1;\n\t\t\t}",
"fukumu[15] += 1",
"fukumu[15]",
"fukumu",
"15",
"1",
"if (ichimoji[i] == 'p'){\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'p'",
"ichimoji[i]",
"ichimoji",
"i",
"'p'",
"{\n\t\t\t\tfukumu[16] += 1;\n\t\t\t}",
"fukumu[16] += 1",
"fukumu[16]",
"fukumu",
"16",
"1",
"if (ichimoji[i] == 'q'){\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'q'",
"ichimoji[i]",
"ichimoji",
"i",
"'q'",
"{\n\t\t\t\tfukumu[17] += 1;\n\t\t\t}",
"fukumu[17] += 1",
"fukumu[17]",
"fukumu",
"17",
"1",
"if (ichimoji[i] == 'r'){\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'r'",
"ichimoji[i]",
"ichimoji",
"i",
"'r'",
"{\n\t\t\t\tfukumu[18] += 1;\n\t\t\t}",
"fukumu[18] += 1",
"fukumu[18]",
"fukumu",
"18",
"1",
"if (ichimoji[i] == 's'){\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 's'",
"ichimoji[i]",
"ichimoji",
"i",
"'s'",
"{\n\t\t\t\tfukumu[19] += 1;\n\t\t\t}",
"fukumu[19] += 1",
"fukumu[19]",
"fukumu",
"19",
"1",
"if (ichimoji[i] == 't'){\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 't'",
"ichimoji[i]",
"ichimoji",
"i",
"'t'",
"{\n\t\t\t\tfukumu[20] += 1;\n\t\t\t}",
"fukumu[20] += 1",
"fukumu[20]",
"fukumu",
"20",
"1",
"if (ichimoji[i] == 'u'){\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'u'",
"ichimoji[i]",
"ichimoji",
"i",
"'u'",
"{\n\t\t\t\tfukumu[21] += 1;\n\t\t\t}",
"fukumu[21] += 1",
"fukumu[21]",
"fukumu",
"21",
"1",
"if (ichimoji[i] == 'v'){\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'v'",
"ichimoji[i]",
"ichimoji",
"i",
"'v'",
"{\n\t\t\t\tfukumu[22] += 1;\n\t\t\t}",
"fukumu[22] += 1",
"fukumu[22]",
"fukumu",
"22",
"1",
"if (ichimoji[i] == 'w'){\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'w'",
"ichimoji[i]",
"ichimoji",
"i",
"'w'",
"{\n\t\t\t\tfukumu[23] += 1;\n\t\t\t}",
"fukumu[23] += 1",
"fukumu[23]",
"fukumu",
"23",
"1",
"if (ichimoji[i] == 'x'){\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'x'",
"ichimoji[i]",
"ichimoji",
"i",
"'x'",
"{\n\t\t\t\tfukumu[24] += 1;\n\t\t\t}",
"fukumu[24] += 1",
"fukumu[24]",
"fukumu",
"24",
"1",
"if (ichimoji[i] == 'y'){\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}\n\t\t\telse if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'y'",
"ichimoji[i]",
"ichimoji",
"i",
"'y'",
"{\n\t\t\t\tfukumu[25] += 1;\n\t\t\t}",
"fukumu[25] += 1",
"fukumu[25]",
"fukumu",
"25",
"1",
"if (ichimoji[i] == 'z'){\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"ichimoji[i] == 'z'",
"ichimoji[i]",
"ichimoji",
"i",
"'z'",
"{\n\t\t\t\tfukumu[26] += 1;\n\t\t\t}",
"fukumu[26] += 1",
"fukumu[26]",
"fukumu",
"26",
"1",
"System.out.println(\"a : \"+fukumu[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"a : \"+fukumu[1]",
"\"a : \"",
"fukumu[1]",
"fukumu",
"1",
"System.out.println(\"b : \"+fukumu[2])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"b : \"+fukumu[2]",
"\"b : \"",
"fukumu[2]",
"fukumu",
"2",
"System.out.println(\"c : \"+fukumu[3])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"c : \"+fukumu[3]",
"\"c : \"",
"fukumu[3]",
"fukumu",
"3",
"System.out.println(\"d : \"+fukumu[4])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"d : \"+fukumu[4]",
"\"d : \"",
"fukumu[4]",
"fukumu",
"4",
"System.out.println(\"e : \"+fukumu[5])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"e : \"+fukumu[5]",
"\"e : \"",
"fukumu[5]",
"fukumu",
"5",
"System.out.println(\"f : \"+fukumu[6])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"f : \"+fukumu[6]",
"\"f : \"",
"fukumu[6]",
"fukumu",
"6",
"System.out.println(\"g : \"+fukumu[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"g : \"+fukumu[7]",
"\"g : \"",
"fukumu[7]",
"fukumu",
"7",
"System.out.println(\"h : \"+fukumu[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"h : \"+fukumu[8]",
"\"h : \"",
"fukumu[8]",
"fukumu",
"8",
"System.out.println(\"i : \"+fukumu[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"i : \"+fukumu[9]",
"\"i : \"",
"fukumu[9]",
"fukumu",
"9",
"System.out.println(\"j : \"+fukumu[10])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"j : \"+fukumu[10]",
"\"j : \"",
"fukumu[10]",
"fukumu",
"10",
"System.out.println(\"k : \"+fukumu[11])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"k : \"+fukumu[11]",
"\"k : \"",
"fukumu[11]",
"fukumu",
"11",
"System.out.println(\"l : \"+fukumu[12])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"l : \"+fukumu[12]",
"\"l : \"",
"fukumu[12]",
"fukumu",
"12",
"System.out.println(\"m : \"+fukumu[13])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"m : \"+fukumu[13]",
"\"m : \"",
"fukumu[13]",
"fukumu",
"13",
"System.out.println(\"n : \"+fukumu[14])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"n : \"+fukumu[14]",
"\"n : \"",
"fukumu[14]",
"fukumu",
"14",
"System.out.println(\"o : \"+fukumu[15])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"o : \"+fukumu[15]",
"\"o : \"",
"fukumu[15]",
"fukumu",
"15",
"System.out.println(\"p : \"+fukumu[16])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"p : \"+fukumu[16]",
"\"p : \"",
"fukumu[16]",
"fukumu",
"16",
"System.out.println(\"q : \"+fukumu[17])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"q : \"+fukumu[17]",
"\"q : \"",
"fukumu[17]",
"fukumu",
"17",
"System.out.println(\"r : \"+fukumu[18])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"r : \"+fukumu[18]",
"\"r : \"",
"fukumu[18]",
"fukumu",
"18",
"System.out.println(\"s : \"+fukumu[19])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"s : \"+fukumu[19]",
"\"s : \"",
"fukumu[19]",
"fukumu",
"19",
"System.out.println(\"t : \"+fukumu[20])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"t : \"+fukumu[20]",
"\"t : \"",
"fukumu[20]",
"fukumu",
"20",
"System.out.println(\"u : \"+fukumu[21])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"u : \"+fukumu[21]",
"\"u : \"",
"fukumu[21]",
"fukumu",
"21",
"System.out.println(\"v : \"+fukumu[22])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"v : \"+fukumu[22]",
"\"v : \"",
"fukumu[22]",
"fukumu",
"22",
"System.out.println(\"w : \"+fukumu[23])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"w : \"+fukumu[23]",
"\"w : \"",
"fukumu[23]",
"fukumu",
"23",
"System.out.println(\"x : \"+fukumu[24])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"x : \"+fukumu[24]",
"\"x : \"",
"fukumu[24]",
"fukumu",
"24",
"System.out.println(\"y : \"+fukumu[25])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"y : \"+fukumu[25]",
"\"y : \"",
"fukumu[25]",
"fukumu",
"25",
"System.out.println(\"z : \"+fukumu[26])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"z : \"+fukumu[26]",
"\"z : \"",
"fukumu[26]",
"fukumu",
"26",
"String[] args",
"args"
]
| import java.io.IOException;
import java.util.Scanner;
class Main{
public static void main(String[] args)throws NumberFormatException, IOException{
//System.out.print(" ");
Scanner scan = new Scanner(System.in);
// String moji =scan.nextLine();
String moji = "";
while (scan.hasNext()){
String in =scan.nextLine();
moji = moji + in;
}
char[] ichimoji = moji.toCharArray();
int nagasa = moji.length();
int[] fukumu = new int[27];
for(int i=0; i<nagasa; i++){
if (Character.isUpperCase(ichimoji[i])){
ichimoji[i] = Character.toLowerCase(ichimoji[i]);
}
if (ichimoji[i] == 'a'){
fukumu[1] += 1;
}
else if (ichimoji[i] == 'b'){
fukumu[2] += 1;
}
else if (ichimoji[i] == 'c'){
fukumu[3] += 1;
}
else if (ichimoji[i] == 'd'){
fukumu[4] += 1;
}
else if (ichimoji[i] == 'e'){
fukumu[5] += 1;
}
else if (ichimoji[i] == 'f'){
fukumu[6] += 1;
}
else if (ichimoji[i] == 'g'){
fukumu[7] += 1;
}
else if (ichimoji[i] == 'h'){
fukumu[8] += 1;
}
else if (ichimoji[i] == 'i'){
fukumu[9] += 1;
}
else if (ichimoji[i] == 'j'){
fukumu[10] += 1;
}
else if (ichimoji[i] == 'k'){
fukumu[11] += 1;
}
else if (ichimoji[i] == 'l'){
fukumu[12] += 1;
}
else if (ichimoji[i] == 'm'){
fukumu[13] += 1;
}
else if (ichimoji[i] == 'n'){
fukumu[14] += 1;
}
else if (ichimoji[i] == 'o'){
fukumu[15] += 1;
}
else if (ichimoji[i] == 'p'){
fukumu[16] += 1;
}
else if (ichimoji[i] == 'q'){
fukumu[17] += 1;
}
else if (ichimoji[i] == 'r'){
fukumu[18] += 1;
}
else if (ichimoji[i] == 's'){
fukumu[19] += 1;
}
else if (ichimoji[i] == 't'){
fukumu[20] += 1;
}
else if (ichimoji[i] == 'u'){
fukumu[21] += 1;
}
else if (ichimoji[i] == 'v'){
fukumu[22] += 1;
}
else if (ichimoji[i] == 'w'){
fukumu[23] += 1;
}
else if (ichimoji[i] == 'x'){
fukumu[24] += 1;
}
else if (ichimoji[i] == 'y'){
fukumu[25] += 1;
}
else if (ichimoji[i] == 'z'){
fukumu[26] += 1;
}
}
System.out.println("a : "+fukumu[1]);
System.out.println("b : "+fukumu[2]);
System.out.println("c : "+fukumu[3]);
System.out.println("d : "+fukumu[4]);
System.out.println("e : "+fukumu[5]);
System.out.println("f : "+fukumu[6]);
System.out.println("g : "+fukumu[7]);
System.out.println("h : "+fukumu[8]);
System.out.println("i : "+fukumu[9]);
System.out.println("j : "+fukumu[10]);
System.out.println("k : "+fukumu[11]);
System.out.println("l : "+fukumu[12]);
System.out.println("m : "+fukumu[13]);
System.out.println("n : "+fukumu[14]);
System.out.println("o : "+fukumu[15]);
System.out.println("p : "+fukumu[16]);
System.out.println("q : "+fukumu[17]);
System.out.println("r : "+fukumu[18]);
System.out.println("s : "+fukumu[19]);
System.out.println("t : "+fukumu[20]);
System.out.println("u : "+fukumu[21]);
System.out.println("v : "+fukumu[22]);
System.out.println("w : "+fukumu[23]);
System.out.println("x : "+fukumu[24]);
System.out.println("y : "+fukumu[25]);
System.out.println("z : "+fukumu[26]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
4,
18,
13,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
28,
13,
13,
30,
30,
41,
13,
4,
18,
13,
13,
14,
2,
13,
40,
17,
9,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
96,
5
],
[
96,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
18,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
25,
42
],
[
42,
43
],
[
42,
44
],
[
42,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
46,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
53,
58
],
[
46,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
8,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
63,
73
],
[
73,
74
],
[
74,
75
],
[
63,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
84,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
84,
89
],
[
84,
90
],
[
90,
91
],
[
90,
92
],
[
6,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
]
| [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n // write your code here\n Scanner scanner=new Scanner(System.in);\n String alphabets=\"abcdefghijklmnopqrstuvwxyz\";\n int[] albox=new int[alphabets.length()];\n while(scanner.hasNext()){\n String s=scanner.nextLine();\n s=s.toLowerCase();\n String[] chars=s.split(\"\");\n for(String c:chars){\n int index=alphabets.indexOf(c);\n if(index==-1) continue;\n albox[index]++;\n }\n }\n for(int i=0;i<alphabets.length();i++){\n System.out.println(alphabets.charAt(i)+\" : \"+albox[i]);\n }\n }\n\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n // write your code here\n Scanner scanner=new Scanner(System.in);\n String alphabets=\"abcdefghijklmnopqrstuvwxyz\";\n int[] albox=new int[alphabets.length()];\n while(scanner.hasNext()){\n String s=scanner.nextLine();\n s=s.toLowerCase();\n String[] chars=s.split(\"\");\n for(String c:chars){\n int index=alphabets.indexOf(c);\n if(index==-1) continue;\n albox[index]++;\n }\n }\n for(int i=0;i<alphabets.length();i++){\n System.out.println(alphabets.charAt(i)+\" : \"+albox[i]);\n }\n }\n\n}",
"Main",
"public static void main(String[] args) {\n // write your code here\n Scanner scanner=new Scanner(System.in);\n String alphabets=\"abcdefghijklmnopqrstuvwxyz\";\n int[] albox=new int[alphabets.length()];\n while(scanner.hasNext()){\n String s=scanner.nextLine();\n s=s.toLowerCase();\n String[] chars=s.split(\"\");\n for(String c:chars){\n int index=alphabets.indexOf(c);\n if(index==-1) continue;\n albox[index]++;\n }\n }\n for(int i=0;i<alphabets.length();i++){\n System.out.println(alphabets.charAt(i)+\" : \"+albox[i]);\n }\n }",
"main",
"{\n // write your code here\n Scanner scanner=new Scanner(System.in);\n String alphabets=\"abcdefghijklmnopqrstuvwxyz\";\n int[] albox=new int[alphabets.length()];\n while(scanner.hasNext()){\n String s=scanner.nextLine();\n s=s.toLowerCase();\n String[] chars=s.split(\"\");\n for(String c:chars){\n int index=alphabets.indexOf(c);\n if(index==-1) continue;\n albox[index]++;\n }\n }\n for(int i=0;i<alphabets.length();i++){\n System.out.println(alphabets.charAt(i)+\" : \"+albox[i]);\n }\n }",
"Scanner scanner=new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String alphabets=\"abcdefghijklmnopqrstuvwxyz\";",
"alphabets",
"\"abcdefghijklmnopqrstuvwxyz\"",
"int[] albox=new int[alphabets.length()];",
"albox",
"new int[alphabets.length()]",
"alphabets.length()",
"alphabets.length",
"alphabets",
"while(scanner.hasNext()){\n String s=scanner.nextLine();\n s=s.toLowerCase();\n String[] chars=s.split(\"\");\n for(String c:chars){\n int index=alphabets.indexOf(c);\n if(index==-1) continue;\n albox[index]++;\n }\n }",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n String s=scanner.nextLine();\n s=s.toLowerCase();\n String[] chars=s.split(\"\");\n for(String c:chars){\n int index=alphabets.indexOf(c);\n if(index==-1) continue;\n albox[index]++;\n }\n }",
"String s=scanner.nextLine();",
"s",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"s=s.toLowerCase()",
"s",
"s.toLowerCase()",
"s.toLowerCase",
"s",
"String[] chars=s.split(\"\");",
"chars",
"s.split(\"\")",
"s.split",
"s",
"\"\"",
"for(String c:chars){\n int index=alphabets.indexOf(c);\n if(index==-1) continue;\n albox[index]++;\n }",
"String c",
"chars",
"{\n int index=alphabets.indexOf(c);\n if(index==-1) continue;\n albox[index]++;\n }",
"{\n int index=alphabets.indexOf(c);\n if(index==-1) continue;\n albox[index]++;\n }",
"int index=alphabets.indexOf(c);",
"index",
"alphabets.indexOf(c)",
"alphabets.indexOf",
"alphabets",
"c",
"if(index==-1) continue;",
"index==-1",
"index",
"-1",
"1",
"continue;",
"albox[index]++",
"albox[index]",
"albox",
"index",
"for(int i=0;i<alphabets.length();i++){\n System.out.println(alphabets.charAt(i)+\" : \"+albox[i]);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<alphabets.length()",
"i",
"alphabets.length()",
"alphabets.length",
"alphabets",
"i++",
"i++",
"i",
"{\n System.out.println(alphabets.charAt(i)+\" : \"+albox[i]);\n }",
"{\n System.out.println(alphabets.charAt(i)+\" : \"+albox[i]);\n }",
"System.out.println(alphabets.charAt(i)+\" : \"+albox[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"alphabets.charAt(i)+\" : \"+albox[i]",
"alphabets.charAt(i)+\" : \"+albox[i]",
"alphabets.charAt(i)",
"alphabets.charAt",
"alphabets",
"i",
"\" : \"",
"albox[i]",
"albox",
"i",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n // write your code here\n Scanner scanner=new Scanner(System.in);\n String alphabets=\"abcdefghijklmnopqrstuvwxyz\";\n int[] albox=new int[alphabets.length()];\n while(scanner.hasNext()){\n String s=scanner.nextLine();\n s=s.toLowerCase();\n String[] chars=s.split(\"\");\n for(String c:chars){\n int index=alphabets.indexOf(c);\n if(index==-1) continue;\n albox[index]++;\n }\n }\n for(int i=0;i<alphabets.length();i++){\n System.out.println(alphabets.charAt(i)+\" : \"+albox[i]);\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n // write your code here\n Scanner scanner=new Scanner(System.in);\n String alphabets=\"abcdefghijklmnopqrstuvwxyz\";\n int[] albox=new int[alphabets.length()];\n while(scanner.hasNext()){\n String s=scanner.nextLine();\n s=s.toLowerCase();\n String[] chars=s.split(\"\");\n for(String c:chars){\n int index=alphabets.indexOf(c);\n if(index==-1) continue;\n albox[index]++;\n }\n }\n for(int i=0;i<alphabets.length();i++){\n System.out.println(alphabets.charAt(i)+\" : \"+albox[i]);\n }\n }\n\n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// write your code here
Scanner scanner=new Scanner(System.in);
String alphabets="abcdefghijklmnopqrstuvwxyz";
int[] albox=new int[alphabets.length()];
while(scanner.hasNext()){
String s=scanner.nextLine();
s=s.toLowerCase();
String[] chars=s.split("");
for(String c:chars){
int index=alphabets.indexOf(c);
if(index==-1) continue;
albox[index]++;
}
}
for(int i=0;i<alphabets.length();i++){
System.out.println(alphabets.charAt(i)+" : "+albox[i]);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
14,
4,
13,
13,
30,
40,
18,
13,
2,
13,
17,
14,
4,
13,
13,
30,
40,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
17,
17,
18,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
17,
2,
13,
17,
23,
13,
12,
13,
30,
29,
2,
2,
13,
17,
2,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
132,
8
],
[
132,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
21,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
33,
43
],
[
43,
44
],
[
44,
45
],
[
33,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
47,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
54,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
11,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
76,
84
],
[
84,
85
],
[
85,
86
],
[
76,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
95,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
95,
100
],
[
100,
101
],
[
100,
102
],
[
9,
103
],
[
103,
104
],
[
132,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
113,
114
],
[
113,
115
],
[
105,
116
],
[
116,
117
],
[
132,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
126
],
[
126,
127
],
[
126,
128
],
[
118,
129
],
[
129,
130
],
[
0,
131
],
[
131,
132
],
[
131,
133
]
]
| [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n int[] counts = new int[26];\n\n while (true) {\n String line = br.readLine();\n\n if (line == null) {\n break;\n }\n\n for (int i = 0; i < line.length(); i++) {\n char c = line.charAt(i);\n if (isUppercase(c)) {\n counts[c - 'A']++;\n } else if (isLowercase(c)) {\n counts[c - 'a']++;\n }\n }\n }\n\n for (int i = 0; i < 26; i++) {\n System.out.println((char) (i + 'a') + \" : \" + counts[i]);\n }\n }\n\n private static boolean isUppercase(char c) {\n return (c >= 'A' && c <= 'Z');\n }\n\n private static boolean isLowercase(char c) {\n return (c >= 'a' && c <= 'z');\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n int[] counts = new int[26];\n\n while (true) {\n String line = br.readLine();\n\n if (line == null) {\n break;\n }\n\n for (int i = 0; i < line.length(); i++) {\n char c = line.charAt(i);\n if (isUppercase(c)) {\n counts[c - 'A']++;\n } else if (isLowercase(c)) {\n counts[c - 'a']++;\n }\n }\n }\n\n for (int i = 0; i < 26; i++) {\n System.out.println((char) (i + 'a') + \" : \" + counts[i]);\n }\n }\n\n private static boolean isUppercase(char c) {\n return (c >= 'A' && c <= 'Z');\n }\n\n private static boolean isLowercase(char c) {\n return (c >= 'a' && c <= 'z');\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n int[] counts = new int[26];\n\n while (true) {\n String line = br.readLine();\n\n if (line == null) {\n break;\n }\n\n for (int i = 0; i < line.length(); i++) {\n char c = line.charAt(i);\n if (isUppercase(c)) {\n counts[c - 'A']++;\n } else if (isLowercase(c)) {\n counts[c - 'a']++;\n }\n }\n }\n\n for (int i = 0; i < 26; i++) {\n System.out.println((char) (i + 'a') + \" : \" + counts[i]);\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n int[] counts = new int[26];\n\n while (true) {\n String line = br.readLine();\n\n if (line == null) {\n break;\n }\n\n for (int i = 0; i < line.length(); i++) {\n char c = line.charAt(i);\n if (isUppercase(c)) {\n counts[c - 'A']++;\n } else if (isLowercase(c)) {\n counts[c - 'a']++;\n }\n }\n }\n\n for (int i = 0; i < 26; i++) {\n System.out.println((char) (i + 'a') + \" : \" + counts[i]);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] counts = new int[26];",
"counts",
"new int[26]",
"26",
"while (true) {\n String line = br.readLine();\n\n if (line == null) {\n break;\n }\n\n for (int i = 0; i < line.length(); i++) {\n char c = line.charAt(i);\n if (isUppercase(c)) {\n counts[c - 'A']++;\n } else if (isLowercase(c)) {\n counts[c - 'a']++;\n }\n }\n }",
"true",
"{\n String line = br.readLine();\n\n if (line == null) {\n break;\n }\n\n for (int i = 0; i < line.length(); i++) {\n char c = line.charAt(i);\n if (isUppercase(c)) {\n counts[c - 'A']++;\n } else if (isLowercase(c)) {\n counts[c - 'a']++;\n }\n }\n }",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"if (line == null) {\n break;\n }",
"line == null",
"line",
"null",
"{\n break;\n }",
"break;",
"for (int i = 0; i < line.length(); i++) {\n char c = line.charAt(i);\n if (isUppercase(c)) {\n counts[c - 'A']++;\n } else if (isLowercase(c)) {\n counts[c - 'a']++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < line.length()",
"i",
"line.length()",
"line.length",
"line",
"i++",
"i++",
"i",
"{\n char c = line.charAt(i);\n if (isUppercase(c)) {\n counts[c - 'A']++;\n } else if (isLowercase(c)) {\n counts[c - 'a']++;\n }\n }",
"{\n char c = line.charAt(i);\n if (isUppercase(c)) {\n counts[c - 'A']++;\n } else if (isLowercase(c)) {\n counts[c - 'a']++;\n }\n }",
"char c = line.charAt(i);",
"c",
"line.charAt(i)",
"line.charAt",
"line",
"i",
"if (isUppercase(c)) {\n counts[c - 'A']++;\n } else if (isLowercase(c)) {\n counts[c - 'a']++;\n }",
"isUppercase(c)",
"isUppercase",
"c",
"{\n counts[c - 'A']++;\n }",
"counts[c - 'A']++",
"counts[c - 'A']",
"counts",
"c - 'A'",
"c",
"'A'",
"if (isLowercase(c)) {\n counts[c - 'a']++;\n }",
"isLowercase(c)",
"isLowercase",
"c",
"{\n counts[c - 'a']++;\n }",
"counts[c - 'a']++",
"counts[c - 'a']",
"counts",
"c - 'a'",
"c",
"'a'",
"for (int i = 0; i < 26; i++) {\n System.out.println((char) (i + 'a') + \" : \" + counts[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n System.out.println((char) (i + 'a') + \" : \" + counts[i]);\n }",
"{\n System.out.println((char) (i + 'a') + \" : \" + counts[i]);\n }",
"System.out.println((char) (i + 'a') + \" : \" + counts[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char) (i + 'a') + \" : \" + counts[i]",
"(char) (i + 'a') + \" : \" + counts[i]",
"(char) (i + 'a')",
"i",
"'a'",
"\" : \"",
"counts[i]",
"counts",
"i",
"String[] args",
"args",
"private static boolean isUppercase(char c) {\n return (c >= 'A' && c <= 'Z');\n }",
"isUppercase",
"{\n return (c >= 'A' && c <= 'Z');\n }",
"return (c >= 'A' && c <= 'Z');",
"(c >= 'A' && c <= 'Z')",
"c >= 'A'",
"c",
"'A'",
"c <= 'Z'",
"c",
"'Z'",
"char c",
"c",
"private static boolean isLowercase(char c) {\n return (c >= 'a' && c <= 'z');\n }",
"isLowercase",
"{\n return (c >= 'a' && c <= 'z');\n }",
"return (c >= 'a' && c <= 'z');",
"(c >= 'a' && c <= 'z')",
"c >= 'a'",
"c",
"'a'",
"c <= 'z'",
"c",
"'z'",
"char c",
"c",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n int[] counts = new int[26];\n\n while (true) {\n String line = br.readLine();\n\n if (line == null) {\n break;\n }\n\n for (int i = 0; i < line.length(); i++) {\n char c = line.charAt(i);\n if (isUppercase(c)) {\n counts[c - 'A']++;\n } else if (isLowercase(c)) {\n counts[c - 'a']++;\n }\n }\n }\n\n for (int i = 0; i < 26; i++) {\n System.out.println((char) (i + 'a') + \" : \" + counts[i]);\n }\n }\n\n private static boolean isUppercase(char c) {\n return (c >= 'A' && c <= 'Z');\n }\n\n private static boolean isLowercase(char c) {\n return (c >= 'a' && c <= 'z');\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n int[] counts = new int[26];\n\n while (true) {\n String line = br.readLine();\n\n if (line == null) {\n break;\n }\n\n for (int i = 0; i < line.length(); i++) {\n char c = line.charAt(i);\n if (isUppercase(c)) {\n counts[c - 'A']++;\n } else if (isLowercase(c)) {\n counts[c - 'a']++;\n }\n }\n }\n\n for (int i = 0; i < 26; i++) {\n System.out.println((char) (i + 'a') + \" : \" + counts[i]);\n }\n }\n\n private static boolean isUppercase(char c) {\n return (c >= 'A' && c <= 'Z');\n }\n\n private static boolean isLowercase(char c) {\n return (c >= 'a' && c <= 'z');\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int[] counts = new int[26];
while (true) {
String line = br.readLine();
if (line == null) {
break;
}
for (int i = 0; i < line.length(); i++) {
char c = line.charAt(i);
if (isUppercase(c)) {
counts[c - 'A']++;
} else if (isLowercase(c)) {
counts[c - 'a']++;
}
}
}
for (int i = 0; i < 26; i++) {
System.out.println((char) (i + 'a') + " : " + counts[i]);
}
}
private static boolean isUppercase(char c) {
return (c >= 'A' && c <= 'Z');
}
private static boolean isLowercase(char c) {
return (c >= 'a' && c <= 'z');
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
18,
13,
13,
17,
2,
17,
13,
41,
13,
41,
13,
20,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
18,
13,
13,
17,
40,
18,
18,
13,
13,
17,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
18,
18,
13,
13,
17,
17,
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
],
[
14,
17
],
[
17,
18
],
[
17,
19
],
[
14,
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
],
[
36,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
14,
44
],
[
44,
45
],
[
14,
46
],
[
46,
47
],
[
46,
48
],
[
14,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
50,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
57,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
57,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
68,
78
],
[
78,
79
],
[
79,
80
],
[
68,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
83,
91
],
[
91,
92
],
[
92,
93
],
[
83,
94
],
[
95,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
96,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
14,
112
],
[
112,
113
],
[
113,
114
],
[
14,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
120,
121
],
[
120,
122
],
[
115,
123
],
[
123,
124
],
[
124,
125
],
[
115,
126
],
[
127,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
128,
133
],
[
134,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
134,
140
],
[
134,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
12,
146
],
[
146,
147
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tString input;\n\t\tint [][] a = new int[26][2];\n\t\tfor(int i = 0; i < 26;i++){\n\t\t\ta[i][0] = 97+i;\n\t\t}\n\t\tchar [] c2;\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n \twhile((input = br.readLine()) != null){\n \t\tinput = input.toLowerCase();\n \t\tc2 = input.toCharArray();\n \t\tfor(int i = 0;i < c2.length;i++ ){\n \t\t\tfor(int j = 0; j< 26;j++){\n \t\t\t\tif(c2[i] == a[j][0]) a[j][1]++;\n \t\t\t}\n \t\t}\n \t}\n \tbr.close();\n\n \tfor(int i = 0; i < 26; i++){\n \t\tSystem.out.println((char)a[i][0] +\" : \"+a[i][1]);\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\tpublic static void main(String[] args) throws IOException{\n\t\tString input;\n\t\tint [][] a = new int[26][2];\n\t\tfor(int i = 0; i < 26;i++){\n\t\t\ta[i][0] = 97+i;\n\t\t}\n\t\tchar [] c2;\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n \twhile((input = br.readLine()) != null){\n \t\tinput = input.toLowerCase();\n \t\tc2 = input.toCharArray();\n \t\tfor(int i = 0;i < c2.length;i++ ){\n \t\t\tfor(int j = 0; j< 26;j++){\n \t\t\t\tif(c2[i] == a[j][0]) a[j][1]++;\n \t\t\t}\n \t\t}\n \t}\n \tbr.close();\n\n \tfor(int i = 0; i < 26; i++){\n \t\tSystem.out.println((char)a[i][0] +\" : \"+a[i][1]);\n \t}\n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tString input;\n\t\tint [][] a = new int[26][2];\n\t\tfor(int i = 0; i < 26;i++){\n\t\t\ta[i][0] = 97+i;\n\t\t}\n\t\tchar [] c2;\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n \twhile((input = br.readLine()) != null){\n \t\tinput = input.toLowerCase();\n \t\tc2 = input.toCharArray();\n \t\tfor(int i = 0;i < c2.length;i++ ){\n \t\t\tfor(int j = 0; j< 26;j++){\n \t\t\t\tif(c2[i] == a[j][0]) a[j][1]++;\n \t\t\t}\n \t\t}\n \t}\n \tbr.close();\n\n \tfor(int i = 0; i < 26; i++){\n \t\tSystem.out.println((char)a[i][0] +\" : \"+a[i][1]);\n \t}\n }",
"main",
"{\n\t\tString input;\n\t\tint [][] a = new int[26][2];\n\t\tfor(int i = 0; i < 26;i++){\n\t\t\ta[i][0] = 97+i;\n\t\t}\n\t\tchar [] c2;\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n \twhile((input = br.readLine()) != null){\n \t\tinput = input.toLowerCase();\n \t\tc2 = input.toCharArray();\n \t\tfor(int i = 0;i < c2.length;i++ ){\n \t\t\tfor(int j = 0; j< 26;j++){\n \t\t\t\tif(c2[i] == a[j][0]) a[j][1]++;\n \t\t\t}\n \t\t}\n \t}\n \tbr.close();\n\n \tfor(int i = 0; i < 26; i++){\n \t\tSystem.out.println((char)a[i][0] +\" : \"+a[i][1]);\n \t}\n }",
"String input;",
"input",
"int [][] a = new int[26][2];",
"a",
"new int[26][2]",
"26",
"2",
"for(int i = 0; i < 26;i++){\n\t\t\ta[i][0] = 97+i;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\ta[i][0] = 97+i;\n\t\t}",
"{\n\t\t\ta[i][0] = 97+i;\n\t\t}",
"a[i][0] = 97+i",
"a[i][0]",
"a[i]",
"a",
"i",
"0",
"97+i",
"97",
"i",
"char [] c2;",
"c2",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while((input = br.readLine()) != null){\n \t\tinput = input.toLowerCase();\n \t\tc2 = input.toCharArray();\n \t\tfor(int i = 0;i < c2.length;i++ ){\n \t\t\tfor(int j = 0; j< 26;j++){\n \t\t\t\tif(c2[i] == a[j][0]) a[j][1]++;\n \t\t\t}\n \t\t}\n \t}",
"(input = br.readLine()) != null",
"(input = br.readLine())",
"input",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n \t\tinput = input.toLowerCase();\n \t\tc2 = input.toCharArray();\n \t\tfor(int i = 0;i < c2.length;i++ ){\n \t\t\tfor(int j = 0; j< 26;j++){\n \t\t\t\tif(c2[i] == a[j][0]) a[j][1]++;\n \t\t\t}\n \t\t}\n \t}",
"input = input.toLowerCase()",
"input",
"input.toLowerCase()",
"input.toLowerCase",
"input",
"c2 = input.toCharArray()",
"c2",
"input.toCharArray()",
"input.toCharArray",
"input",
"for(int i = 0;i < c2.length;i++ ){\n \t\t\tfor(int j = 0; j< 26;j++){\n \t\t\t\tif(c2[i] == a[j][0]) a[j][1]++;\n \t\t\t}\n \t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < c2.length",
"i",
"c2.length",
"c2",
"c2.length",
"i++",
"i++",
"i",
"{\n \t\t\tfor(int j = 0; j< 26;j++){\n \t\t\t\tif(c2[i] == a[j][0]) a[j][1]++;\n \t\t\t}\n \t\t}",
"{\n \t\t\tfor(int j = 0; j< 26;j++){\n \t\t\t\tif(c2[i] == a[j][0]) a[j][1]++;\n \t\t\t}\n \t\t}",
"for(int j = 0; j< 26;j++){\n \t\t\t\tif(c2[i] == a[j][0]) a[j][1]++;\n \t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j< 26",
"j",
"26",
"j++",
"j++",
"j",
"{\n \t\t\t\tif(c2[i] == a[j][0]) a[j][1]++;\n \t\t\t}",
"{\n \t\t\t\tif(c2[i] == a[j][0]) a[j][1]++;\n \t\t\t}",
"if(c2[i] == a[j][0]) a[j][1]++;",
"c2[i] == a[j][0]",
"c2[i]",
"c2",
"i",
"a[j][0]",
"a[j]",
"a",
"j",
"0",
"a[j][1]++",
"a[j][1]",
"a[j]",
"a",
"j",
"1",
"br.close()",
"br.close",
"br",
"for(int i = 0; i < 26; i++){\n \t\tSystem.out.println((char)a[i][0] +\" : \"+a[i][1]);\n \t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n \t\tSystem.out.println((char)a[i][0] +\" : \"+a[i][1]);\n \t}",
"{\n \t\tSystem.out.println((char)a[i][0] +\" : \"+a[i][1]);\n \t}",
"System.out.println((char)a[i][0] +\" : \"+a[i][1])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)a[i][0] +\" : \"+a[i][1]",
"(char)a[i][0] +\" : \"+a[i][1]",
"(char)a[i][0]",
"a[i]",
"a",
"i",
"0",
"\" : \"",
"a[i][1]",
"a[i]",
"a",
"i",
"1",
"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{
String input;
int [][] a = new int[26][2];
for(int i = 0; i < 26;i++){
a[i][0] = 97+i;
}
char [] c2;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while((input = br.readLine()) != null){
input = input.toLowerCase();
c2 = input.toCharArray();
for(int i = 0;i < c2.length;i++ ){
for(int j = 0; j< 26;j++){
if(c2[i] == a[j][0]) a[j][1]++;
}
}
}
br.close();
for(int i = 0; i < 26; i++){
System.out.println((char)a[i][0] +" : "+a[i][1]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
18,
13,
13,
2,
17,
13,
2,
18,
13,
13,
2,
17,
13,
30,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
119,
5
],
[
119,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
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
],
[
33,
34
],
[
34,
35
],
[
20,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
62,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
83,
91
],
[
91,
92
],
[
92,
93
],
[
83,
94
],
[
95,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
98,
100
],
[
95,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
107,
107
],
[
107,
108
],
[
107,
109
],
[
107,
110
],
[
110,
111
],
[
110,
112
],
[
8,
113
],
[
113,
114
],
[
114,
115
],
[
6,
116
],
[
116,
117
],
[
0,
118
],
[
118,
119
],
[
118,
120
]
]
| [
"import java.util.Scanner;\npublic class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] cou = new int[26];\n\n while(sc.hasNext()){\n String str = sc.next();\n char[] ch =str.toCharArray();\n int le = str.length();\n for(int i=0;i<le;i++){\n for(int k=0;k<26;k++){\n if(ch[i]==(65+k) || ch[i]==97+k){\n cou[k]++;\n }\n }\n }\n\n }\n\n for(int i=0;i<26;i++){\n int c = 97+i;\n System.out.println((char)c+\" : \"+cou[i]);\n }\n\n sc.close();\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] cou = new int[26];\n\n while(sc.hasNext()){\n String str = sc.next();\n char[] ch =str.toCharArray();\n int le = str.length();\n for(int i=0;i<le;i++){\n for(int k=0;k<26;k++){\n if(ch[i]==(65+k) || ch[i]==97+k){\n cou[k]++;\n }\n }\n }\n\n }\n\n for(int i=0;i<26;i++){\n int c = 97+i;\n System.out.println((char)c+\" : \"+cou[i]);\n }\n\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] cou = new int[26];\n\n while(sc.hasNext()){\n String str = sc.next();\n char[] ch =str.toCharArray();\n int le = str.length();\n for(int i=0;i<le;i++){\n for(int k=0;k<26;k++){\n if(ch[i]==(65+k) || ch[i]==97+k){\n cou[k]++;\n }\n }\n }\n\n }\n\n for(int i=0;i<26;i++){\n int c = 97+i;\n System.out.println((char)c+\" : \"+cou[i]);\n }\n\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int[] cou = new int[26];\n\n while(sc.hasNext()){\n String str = sc.next();\n char[] ch =str.toCharArray();\n int le = str.length();\n for(int i=0;i<le;i++){\n for(int k=0;k<26;k++){\n if(ch[i]==(65+k) || ch[i]==97+k){\n cou[k]++;\n }\n }\n }\n\n }\n\n for(int i=0;i<26;i++){\n int c = 97+i;\n System.out.println((char)c+\" : \"+cou[i]);\n }\n\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] cou = new int[26];",
"cou",
"new int[26]",
"26",
"while(sc.hasNext()){\n String str = sc.next();\n char[] ch =str.toCharArray();\n int le = str.length();\n for(int i=0;i<le;i++){\n for(int k=0;k<26;k++){\n if(ch[i]==(65+k) || ch[i]==97+k){\n cou[k]++;\n }\n }\n }\n\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n String str = sc.next();\n char[] ch =str.toCharArray();\n int le = str.length();\n for(int i=0;i<le;i++){\n for(int k=0;k<26;k++){\n if(ch[i]==(65+k) || ch[i]==97+k){\n cou[k]++;\n }\n }\n }\n\n }",
"String str = sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"char[] ch =str.toCharArray();",
"ch",
"str.toCharArray()",
"str.toCharArray",
"str",
"int le = str.length();",
"le",
"str.length()",
"str.length",
"str",
"for(int i=0;i<le;i++){\n for(int k=0;k<26;k++){\n if(ch[i]==(65+k) || ch[i]==97+k){\n cou[k]++;\n }\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<le",
"i",
"le",
"i++",
"i++",
"i",
"{\n for(int k=0;k<26;k++){\n if(ch[i]==(65+k) || ch[i]==97+k){\n cou[k]++;\n }\n }\n }",
"{\n for(int k=0;k<26;k++){\n if(ch[i]==(65+k) || ch[i]==97+k){\n cou[k]++;\n }\n }\n }",
"for(int k=0;k<26;k++){\n if(ch[i]==(65+k) || ch[i]==97+k){\n cou[k]++;\n }\n }",
"int k=0;",
"int k=0;",
"k",
"0",
"k<26",
"k",
"26",
"k++",
"k++",
"k",
"{\n if(ch[i]==(65+k) || ch[i]==97+k){\n cou[k]++;\n }\n }",
"{\n if(ch[i]==(65+k) || ch[i]==97+k){\n cou[k]++;\n }\n }",
"if(ch[i]==(65+k) || ch[i]==97+k){\n cou[k]++;\n }",
"ch[i]==(65+k) || ch[i]==97+k",
"ch[i]==(65+k)",
"ch[i]",
"ch",
"i",
"(65+k)",
"65",
"k",
"ch[i]==97+k",
"ch[i]",
"ch",
"i",
"97+k",
"97",
"k",
"{\n cou[k]++;\n }",
"cou[k]++",
"cou[k]",
"cou",
"k",
"for(int i=0;i<26;i++){\n int c = 97+i;\n System.out.println((char)c+\" : \"+cou[i]);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n int c = 97+i;\n System.out.println((char)c+\" : \"+cou[i]);\n }",
"{\n int c = 97+i;\n System.out.println((char)c+\" : \"+cou[i]);\n }",
"int c = 97+i;",
"c",
"97+i",
"97",
"i",
"System.out.println((char)c+\" : \"+cou[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)c+\" : \"+cou[i]",
"(char)c+\" : \"+cou[i]",
"(char)c",
"\" : \"",
"cou[i]",
"cou",
"i",
"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 int[] cou = new int[26];\n\n while(sc.hasNext()){\n String str = sc.next();\n char[] ch =str.toCharArray();\n int le = str.length();\n for(int i=0;i<le;i++){\n for(int k=0;k<26;k++){\n if(ch[i]==(65+k) || ch[i]==97+k){\n cou[k]++;\n }\n }\n }\n\n }\n\n for(int i=0;i<26;i++){\n int c = 97+i;\n System.out.println((char)c+\" : \"+cou[i]);\n }\n\n sc.close();\n }\n}",
"public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] cou = new int[26];\n\n while(sc.hasNext()){\n String str = sc.next();\n char[] ch =str.toCharArray();\n int le = str.length();\n for(int i=0;i<le;i++){\n for(int k=0;k<26;k++){\n if(ch[i]==(65+k) || ch[i]==97+k){\n cou[k]++;\n }\n }\n }\n\n }\n\n for(int i=0;i<26;i++){\n int c = 97+i;\n System.out.println((char)c+\" : \"+cou[i]);\n }\n\n sc.close();\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] cou = new int[26];
while(sc.hasNext()){
String str = sc.next();
char[] ch =str.toCharArray();
int le = str.length();
for(int i=0;i<le;i++){
for(int k=0;k<26;k++){
if(ch[i]==(65+k) || ch[i]==97+k){
cou[k]++;
}
}
}
}
for(int i=0;i<26;i++){
int c = 97+i;
System.out.println((char)c+" : "+cou[i]);
}
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
2,
13,
17,
30,
40,
18,
13,
13,
14,
2,
18,
13,
13,
2,
13,
17,
30,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
115,
5
],
[
115,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
59,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
8,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
90,
91
],
[
90,
92
],
[
85,
93
],
[
93,
94
],
[
94,
95
],
[
85,
96
],
[
97,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
104,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
104,
109
],
[
109,
110
],
[
109,
111
],
[
6,
112
],
[
112,
113
],
[
0,
114
],
[
114,
115
],
[
114,
116
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\t//??\\??????????????????????????????Scanner???????????§???????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\t//??¢???????????????????????¨???????????????\n\t\tint[] count = new int[26];\n\n\t\t//?¬?????????????????????????????????°\n\t\twhile(scan.hasNext()){\n\t\t\t//?¬?????????????????????????\n\t\t\tString text = scan.next();\n\t\t\t\n\t\t\t//char??????????????????????????\\?????????\n\t\t\tchar[] cArray = text.toCharArray();\n\t\t\t//??\\??£???char?????°?????????\n\t\t\tfor(int i = 0; i < cArray.length; i++){\n\t\t\t\t//??¢???????????????????????????????????§??????\n\t\t\t\tfor(int j = 0; j < 26 ; j++){\n\t\t\t\t\t//??§??????????????°\n\t\t\t\t\tif(cArray[i] == j + 65){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t//?°???????????????°\n\t\t\t\t\t} else if (cArray[i] == j + 97){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t\t\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//??¨???\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\tSystem.out.println((char)('a'+ i) + \" : \" + count[i]);\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\t//??\\??????????????????????????????Scanner???????????§???????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\t//??¢???????????????????????¨???????????????\n\t\tint[] count = new int[26];\n\n\t\t//?¬?????????????????????????????????°\n\t\twhile(scan.hasNext()){\n\t\t\t//?¬?????????????????????????\n\t\t\tString text = scan.next();\n\t\t\t\n\t\t\t//char??????????????????????????\\?????????\n\t\t\tchar[] cArray = text.toCharArray();\n\t\t\t//??\\??£???char?????°?????????\n\t\t\tfor(int i = 0; i < cArray.length; i++){\n\t\t\t\t//??¢???????????????????????????????????§??????\n\t\t\t\tfor(int j = 0; j < 26 ; j++){\n\t\t\t\t\t//??§??????????????°\n\t\t\t\t\tif(cArray[i] == j + 65){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t//?°???????????????°\n\t\t\t\t\t} else if (cArray[i] == j + 97){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t\t\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//??¨???\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\tSystem.out.println((char)('a'+ i) + \" : \" + count[i]);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\t//??\\??????????????????????????????Scanner???????????§???????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\t//??¢???????????????????????¨???????????????\n\t\tint[] count = new int[26];\n\n\t\t//?¬?????????????????????????????????°\n\t\twhile(scan.hasNext()){\n\t\t\t//?¬?????????????????????????\n\t\t\tString text = scan.next();\n\t\t\t\n\t\t\t//char??????????????????????????\\?????????\n\t\t\tchar[] cArray = text.toCharArray();\n\t\t\t//??\\??£???char?????°?????????\n\t\t\tfor(int i = 0; i < cArray.length; i++){\n\t\t\t\t//??¢???????????????????????????????????§??????\n\t\t\t\tfor(int j = 0; j < 26 ; j++){\n\t\t\t\t\t//??§??????????????°\n\t\t\t\t\tif(cArray[i] == j + 65){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t//?°???????????????°\n\t\t\t\t\t} else if (cArray[i] == j + 97){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t\t\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//??¨???\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\tSystem.out.println((char)('a'+ i) + \" : \" + count[i]);\n\t\t}\n\t}",
"main",
"{\n\t\t\n\t\t//??\\??????????????????????????????Scanner???????????§???????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\t//??¢???????????????????????¨???????????????\n\t\tint[] count = new int[26];\n\n\t\t//?¬?????????????????????????????????°\n\t\twhile(scan.hasNext()){\n\t\t\t//?¬?????????????????????????\n\t\t\tString text = scan.next();\n\t\t\t\n\t\t\t//char??????????????????????????\\?????????\n\t\t\tchar[] cArray = text.toCharArray();\n\t\t\t//??\\??£???char?????°?????????\n\t\t\tfor(int i = 0; i < cArray.length; i++){\n\t\t\t\t//??¢???????????????????????????????????§??????\n\t\t\t\tfor(int j = 0; j < 26 ; j++){\n\t\t\t\t\t//??§??????????????°\n\t\t\t\t\tif(cArray[i] == j + 65){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t//?°???????????????°\n\t\t\t\t\t} else if (cArray[i] == j + 97){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t\t\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//??¨???\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\tSystem.out.println((char)('a'+ i) + \" : \" + count[i]);\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] count = new int[26];",
"count",
"new int[26]",
"26",
"while(scan.hasNext()){\n\t\t\t//?¬?????????????????????????\n\t\t\tString text = scan.next();\n\t\t\t\n\t\t\t//char??????????????????????????\\?????????\n\t\t\tchar[] cArray = text.toCharArray();\n\t\t\t//??\\??£???char?????°?????????\n\t\t\tfor(int i = 0; i < cArray.length; i++){\n\t\t\t\t//??¢???????????????????????????????????§??????\n\t\t\t\tfor(int j = 0; j < 26 ; j++){\n\t\t\t\t\t//??§??????????????°\n\t\t\t\t\tif(cArray[i] == j + 65){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t//?°???????????????°\n\t\t\t\t\t} else if (cArray[i] == j + 97){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t\t\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\t//?¬?????????????????????????\n\t\t\tString text = scan.next();\n\t\t\t\n\t\t\t//char??????????????????????????\\?????????\n\t\t\tchar[] cArray = text.toCharArray();\n\t\t\t//??\\??£???char?????°?????????\n\t\t\tfor(int i = 0; i < cArray.length; i++){\n\t\t\t\t//??¢???????????????????????????????????§??????\n\t\t\t\tfor(int j = 0; j < 26 ; j++){\n\t\t\t\t\t//??§??????????????°\n\t\t\t\t\tif(cArray[i] == j + 65){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t//?°???????????????°\n\t\t\t\t\t} else if (cArray[i] == j + 97){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t\t\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"String text = scan.next();",
"text",
"scan.next()",
"scan.next",
"scan",
"char[] cArray = text.toCharArray();",
"cArray",
"text.toCharArray()",
"text.toCharArray",
"text",
"for(int i = 0; i < cArray.length; i++){\n\t\t\t\t//??¢???????????????????????????????????§??????\n\t\t\t\tfor(int j = 0; j < 26 ; j++){\n\t\t\t\t\t//??§??????????????°\n\t\t\t\t\tif(cArray[i] == j + 65){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t//?°???????????????°\n\t\t\t\t\t} else if (cArray[i] == j + 97){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t\t\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < cArray.length",
"i",
"cArray.length",
"cArray",
"cArray.length",
"i++",
"i++",
"i",
"{\n\t\t\t\t//??¢???????????????????????????????????§??????\n\t\t\t\tfor(int j = 0; j < 26 ; j++){\n\t\t\t\t\t//??§??????????????°\n\t\t\t\t\tif(cArray[i] == j + 65){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t//?°???????????????°\n\t\t\t\t\t} else if (cArray[i] == j + 97){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t\t\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\t//??¢???????????????????????????????????§??????\n\t\t\t\tfor(int j = 0; j < 26 ; j++){\n\t\t\t\t\t//??§??????????????°\n\t\t\t\t\tif(cArray[i] == j + 65){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t//?°???????????????°\n\t\t\t\t\t} else if (cArray[i] == j + 97){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t\t\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}",
"for(int j = 0; j < 26 ; j++){\n\t\t\t\t\t//??§??????????????°\n\t\t\t\t\tif(cArray[i] == j + 65){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t//?°???????????????°\n\t\t\t\t\t} else if (cArray[i] == j + 97){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t\t\n\t\t\t\t\t}\t\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < 26",
"j",
"26",
"j++",
"j++",
"j",
"{\n\t\t\t\t\t//??§??????????????°\n\t\t\t\t\tif(cArray[i] == j + 65){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t//?°???????????????°\n\t\t\t\t\t} else if (cArray[i] == j + 97){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t\t\n\t\t\t\t\t}\t\n\t\t\t\t}",
"{\n\t\t\t\t\t//??§??????????????°\n\t\t\t\t\tif(cArray[i] == j + 65){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t//?°???????????????°\n\t\t\t\t\t} else if (cArray[i] == j + 97){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t\t\n\t\t\t\t\t}\t\n\t\t\t\t}",
"if(cArray[i] == j + 65){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t//?°???????????????°\n\t\t\t\t\t} else if (cArray[i] == j + 97){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t\t\n\t\t\t\t\t}",
"cArray[i] == j + 65",
"cArray[i]",
"cArray",
"i",
"j + 65",
"j",
"65",
"{\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t//?°???????????????°\n\t\t\t\t\t}",
"count[j]++",
"count[j]",
"count",
"j",
"if (cArray[i] == j + 97){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t\t\n\t\t\t\t\t}",
"cArray[i] == j + 97",
"cArray[i]",
"cArray",
"i",
"j + 97",
"j",
"97",
"{\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t\t\n\t\t\t\t\t}",
"count[j]++",
"count[j]",
"count",
"j",
"for(int i = 0; i < 26; i++){\n\t\t\tSystem.out.println((char)('a'+ i) + \" : \" + count[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println((char)('a'+ i) + \" : \" + count[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println((char)('a'+ i) + \" : \" + count[i]);\n\t\t}",
"System.out.println((char)('a'+ i) + \" : \" + count[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)('a'+ i) + \" : \" + count[i]",
"(char)('a'+ i) + \" : \" + count[i]",
"(char)('a'+ i)",
"'a'",
"i",
"\" : \"",
"count[i]",
"count",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\t//??\\??????????????????????????????Scanner???????????§???????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\t//??¢???????????????????????¨???????????????\n\t\tint[] count = new int[26];\n\n\t\t//?¬?????????????????????????????????°\n\t\twhile(scan.hasNext()){\n\t\t\t//?¬?????????????????????????\n\t\t\tString text = scan.next();\n\t\t\t\n\t\t\t//char??????????????????????????\\?????????\n\t\t\tchar[] cArray = text.toCharArray();\n\t\t\t//??\\??£???char?????°?????????\n\t\t\tfor(int i = 0; i < cArray.length; i++){\n\t\t\t\t//??¢???????????????????????????????????§??????\n\t\t\t\tfor(int j = 0; j < 26 ; j++){\n\t\t\t\t\t//??§??????????????°\n\t\t\t\t\tif(cArray[i] == j + 65){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t//?°???????????????°\n\t\t\t\t\t} else if (cArray[i] == j + 97){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t\t\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//??¨???\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\tSystem.out.println((char)('a'+ i) + \" : \" + count[i]);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\t//??\\??????????????????????????????Scanner???????????§???????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\t//??¢???????????????????????¨???????????????\n\t\tint[] count = new int[26];\n\n\t\t//?¬?????????????????????????????????°\n\t\twhile(scan.hasNext()){\n\t\t\t//?¬?????????????????????????\n\t\t\tString text = scan.next();\n\t\t\t\n\t\t\t//char??????????????????????????\\?????????\n\t\t\tchar[] cArray = text.toCharArray();\n\t\t\t//??\\??£???char?????°?????????\n\t\t\tfor(int i = 0; i < cArray.length; i++){\n\t\t\t\t//??¢???????????????????????????????????§??????\n\t\t\t\tfor(int j = 0; j < 26 ; j++){\n\t\t\t\t\t//??§??????????????°\n\t\t\t\t\tif(cArray[i] == j + 65){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t//?°???????????????°\n\t\t\t\t\t} else if (cArray[i] == j + 97){\n\t\t\t\t\t\tcount[j]++;\n\t\t\t\t\t\t\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//??¨???\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\tSystem.out.println((char)('a'+ i) + \" : \" + count[i]);\n\t\t}\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
//??\??????????????????????????????Scanner???????????§???????????????
Scanner scan = new Scanner(System.in);
//??¢???????????????????????¨???????????????
int[] count = new int[26];
//?¬?????????????????????????????????°
while(scan.hasNext()){
//?¬?????????????????????????
String text = scan.next();
//char??????????????????????????\?????????
char[] cArray = text.toCharArray();
//??\??£???char?????°?????????
for(int i = 0; i < cArray.length; i++){
//??¢???????????????????????????????????§??????
for(int j = 0; j < 26 ; j++){
//??§??????????????°
if(cArray[i] == j + 65){
count[j]++;
//?°???????????????°
} else if (cArray[i] == j + 97){
count[j]++;
}
}
}
}
//??¨???
for(int i = 0; i < 26; i++){
System.out.println((char)('a'+ i) + " : " + count[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
4,
18,
13,
14,
2,
4,
18,
17,
13,
2,
13,
17,
30,
3,
30,
0,
13,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
14,
2,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
2,
17,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
129,
11
],
[
129,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
24,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
40,
49
],
[
49,
50
],
[
40,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
14,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
14,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
14,
65
],
[
65,
66
],
[
65,
67
],
[
14,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
68,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
84,
94
],
[
94,
95
],
[
95,
96
],
[
84,
97
],
[
98,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
101,
103
],
[
98,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
109,
110
],
[
80,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
80,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
118,
123
],
[
123,
124
],
[
123,
125
],
[
12,
126
],
[
126,
127
],
[
0,
128
],
[
128,
129
],
[
128,
130
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\t\t//??£??????????????????????????????????????°\n\t\tString strLine = \"\";\n\n\t\twhile(true){\n\t\t\ttry{\n\n\t\t\t\tString strScan = insBR.readLine();\n\t\t\t\tif(\"\".equals(strScan) || strScan == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tstrLine += strScan;\n\t\t\t\t}\n\n\n\t\t\t}catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}\n\n\t\t}\n\n\t\t//?°????????????????\n\t\tstrLine = strLine.toLowerCase();\n\t\t//System.out.println(\"strLine:\" + strLine);\n\n\t\t//str???????§£??????char[]???????´?\n\t\tchar[] aryLine= strLine.toCharArray();\n\t\t//System.out.println(\"aryLine.length:\" + aryLine.length);\n\n\t\tchar x = 'a';\n\n\t\t//int[] intCount = new int[26];\n\n\t\t//a???z?????§?????°?????????\n\t\tfor(int i = 'a'; i <= 'z'; i++){\n\t\t\t//??¢????????????????????????????????????????????°\n\t\t\tint intCount = 0;\n\t\t\t//????????????length?????°?????????\n\t\t\tfor(int j = 0; j < aryLine.length; j++){\n\n\t\t\t\t//System.out.println(\"int i:\" + i );\n\n\t\t\t\tint alphNum = aryLine[j];\n\t\t\t\t//System.out.println(\"alphNum:\" + alphNum);\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( i == alphNum){\n\t\t\t\t\t//System.out.print(\"i:\" + i + \"/j:\" + alphNum);\n\t\t\t\t\t//System.out.print(\" \");\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.print(x++);\n\t\t\tSystem.out.println(\" : \" + intCount);\n\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) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\t\t//??£??????????????????????????????????????°\n\t\tString strLine = \"\";\n\n\t\twhile(true){\n\t\t\ttry{\n\n\t\t\t\tString strScan = insBR.readLine();\n\t\t\t\tif(\"\".equals(strScan) || strScan == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tstrLine += strScan;\n\t\t\t\t}\n\n\n\t\t\t}catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}\n\n\t\t}\n\n\t\t//?°????????????????\n\t\tstrLine = strLine.toLowerCase();\n\t\t//System.out.println(\"strLine:\" + strLine);\n\n\t\t//str???????§£??????char[]???????´?\n\t\tchar[] aryLine= strLine.toCharArray();\n\t\t//System.out.println(\"aryLine.length:\" + aryLine.length);\n\n\t\tchar x = 'a';\n\n\t\t//int[] intCount = new int[26];\n\n\t\t//a???z?????§?????°?????????\n\t\tfor(int i = 'a'; i <= 'z'; i++){\n\t\t\t//??¢????????????????????????????????????????????°\n\t\t\tint intCount = 0;\n\t\t\t//????????????length?????°?????????\n\t\t\tfor(int j = 0; j < aryLine.length; j++){\n\n\t\t\t\t//System.out.println(\"int i:\" + i );\n\n\t\t\t\tint alphNum = aryLine[j];\n\t\t\t\t//System.out.println(\"alphNum:\" + alphNum);\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( i == alphNum){\n\t\t\t\t\t//System.out.print(\"i:\" + i + \"/j:\" + alphNum);\n\t\t\t\t\t//System.out.print(\" \");\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.print(x++);\n\t\t\tSystem.out.println(\" : \" + intCount);\n\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\t\t//??£??????????????????????????????????????°\n\t\tString strLine = \"\";\n\n\t\twhile(true){\n\t\t\ttry{\n\n\t\t\t\tString strScan = insBR.readLine();\n\t\t\t\tif(\"\".equals(strScan) || strScan == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tstrLine += strScan;\n\t\t\t\t}\n\n\n\t\t\t}catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}\n\n\t\t}\n\n\t\t//?°????????????????\n\t\tstrLine = strLine.toLowerCase();\n\t\t//System.out.println(\"strLine:\" + strLine);\n\n\t\t//str???????§£??????char[]???????´?\n\t\tchar[] aryLine= strLine.toCharArray();\n\t\t//System.out.println(\"aryLine.length:\" + aryLine.length);\n\n\t\tchar x = 'a';\n\n\t\t//int[] intCount = new int[26];\n\n\t\t//a???z?????§?????°?????????\n\t\tfor(int i = 'a'; i <= 'z'; i++){\n\t\t\t//??¢????????????????????????????????????????????°\n\t\t\tint intCount = 0;\n\t\t\t//????????????length?????°?????????\n\t\t\tfor(int j = 0; j < aryLine.length; j++){\n\n\t\t\t\t//System.out.println(\"int i:\" + i );\n\n\t\t\t\tint alphNum = aryLine[j];\n\t\t\t\t//System.out.println(\"alphNum:\" + alphNum);\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( i == alphNum){\n\t\t\t\t\t//System.out.print(\"i:\" + i + \"/j:\" + alphNum);\n\t\t\t\t\t//System.out.print(\" \");\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.print(x++);\n\t\t\tSystem.out.println(\" : \" + intCount);\n\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\t\t//??£??????????????????????????????????????°\n\t\tString strLine = \"\";\n\n\t\twhile(true){\n\t\t\ttry{\n\n\t\t\t\tString strScan = insBR.readLine();\n\t\t\t\tif(\"\".equals(strScan) || strScan == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tstrLine += strScan;\n\t\t\t\t}\n\n\n\t\t\t}catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}\n\n\t\t}\n\n\t\t//?°????????????????\n\t\tstrLine = strLine.toLowerCase();\n\t\t//System.out.println(\"strLine:\" + strLine);\n\n\t\t//str???????§£??????char[]???????´?\n\t\tchar[] aryLine= strLine.toCharArray();\n\t\t//System.out.println(\"aryLine.length:\" + aryLine.length);\n\n\t\tchar x = 'a';\n\n\t\t//int[] intCount = new int[26];\n\n\t\t//a???z?????§?????°?????????\n\t\tfor(int i = 'a'; i <= 'z'; i++){\n\t\t\t//??¢????????????????????????????????????????????°\n\t\t\tint intCount = 0;\n\t\t\t//????????????length?????°?????????\n\t\t\tfor(int j = 0; j < aryLine.length; j++){\n\n\t\t\t\t//System.out.println(\"int i:\" + i );\n\n\t\t\t\tint alphNum = aryLine[j];\n\t\t\t\t//System.out.println(\"alphNum:\" + alphNum);\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( i == alphNum){\n\t\t\t\t\t//System.out.print(\"i:\" + i + \"/j:\" + alphNum);\n\t\t\t\t\t//System.out.print(\" \");\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.print(x++);\n\t\t\tSystem.out.println(\" : \" + intCount);\n\n\t\t}\n\t}",
"BufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));",
"insBR",
"new BufferedReader(new InputStreamReader(System.in))",
"String strLine = \"\";",
"strLine",
"\"\"",
"while(true){\n\t\t\ttry{\n\n\t\t\t\tString strScan = insBR.readLine();\n\t\t\t\tif(\"\".equals(strScan) || strScan == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tstrLine += strScan;\n\t\t\t\t}\n\n\n\t\t\t}catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}\n\n\t\t}",
"true",
"{\n\t\t\ttry{\n\n\t\t\t\tString strScan = insBR.readLine();\n\t\t\t\tif(\"\".equals(strScan) || strScan == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tstrLine += strScan;\n\t\t\t\t}\n\n\n\t\t\t}catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}\n\n\t\t}",
"try{\n\n\t\t\t\tString strScan = insBR.readLine();\n\t\t\t\tif(\"\".equals(strScan) || strScan == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tstrLine += strScan;\n\t\t\t\t}\n\n\n\t\t\t}catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}",
"catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}",
"IOException e",
"{\n\t\t\t\tSystem.out.println(e);\n\t\t\t}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n\n\t\t\t\tString strScan = insBR.readLine();\n\t\t\t\tif(\"\".equals(strScan) || strScan == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tstrLine += strScan;\n\t\t\t\t}\n\n\n\t\t\t}",
"String strScan = insBR.readLine();",
"strScan",
"insBR.readLine()",
"insBR.readLine",
"insBR",
"if(\"\".equals(strScan) || strScan == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tstrLine += strScan;\n\t\t\t\t}",
"\"\".equals(strScan) || strScan == null",
"\"\".equals(strScan)",
"\"\".equals",
"\"\"",
"strScan",
"strScan == null",
"strScan",
"null",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"{\n\t\t\t\t\tstrLine += strScan;\n\t\t\t\t}",
"strLine += strScan",
"strLine",
"strScan",
"strLine = strLine.toLowerCase()",
"strLine",
"strLine.toLowerCase()",
"strLine.toLowerCase",
"strLine",
"char[] aryLine= strLine.toCharArray();",
"aryLine",
"strLine.toCharArray()",
"strLine.toCharArray",
"strLine",
"char x = 'a';",
"x",
"'a'",
"for(int i = 'a'; i <= 'z'; i++){\n\t\t\t//??¢????????????????????????????????????????????°\n\t\t\tint intCount = 0;\n\t\t\t//????????????length?????°?????????\n\t\t\tfor(int j = 0; j < aryLine.length; j++){\n\n\t\t\t\t//System.out.println(\"int i:\" + i );\n\n\t\t\t\tint alphNum = aryLine[j];\n\t\t\t\t//System.out.println(\"alphNum:\" + alphNum);\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( i == alphNum){\n\t\t\t\t\t//System.out.print(\"i:\" + i + \"/j:\" + alphNum);\n\t\t\t\t\t//System.out.print(\" \");\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.print(x++);\n\t\t\tSystem.out.println(\" : \" + intCount);\n\n\t\t}",
"int i = 'a';",
"int i = 'a';",
"i",
"'a'",
"i <= 'z'",
"i",
"'z'",
"i++",
"i++",
"i",
"{\n\t\t\t//??¢????????????????????????????????????????????°\n\t\t\tint intCount = 0;\n\t\t\t//????????????length?????°?????????\n\t\t\tfor(int j = 0; j < aryLine.length; j++){\n\n\t\t\t\t//System.out.println(\"int i:\" + i );\n\n\t\t\t\tint alphNum = aryLine[j];\n\t\t\t\t//System.out.println(\"alphNum:\" + alphNum);\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( i == alphNum){\n\t\t\t\t\t//System.out.print(\"i:\" + i + \"/j:\" + alphNum);\n\t\t\t\t\t//System.out.print(\" \");\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.print(x++);\n\t\t\tSystem.out.println(\" : \" + intCount);\n\n\t\t}",
"{\n\t\t\t//??¢????????????????????????????????????????????°\n\t\t\tint intCount = 0;\n\t\t\t//????????????length?????°?????????\n\t\t\tfor(int j = 0; j < aryLine.length; j++){\n\n\t\t\t\t//System.out.println(\"int i:\" + i );\n\n\t\t\t\tint alphNum = aryLine[j];\n\t\t\t\t//System.out.println(\"alphNum:\" + alphNum);\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( i == alphNum){\n\t\t\t\t\t//System.out.print(\"i:\" + i + \"/j:\" + alphNum);\n\t\t\t\t\t//System.out.print(\" \");\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.print(x++);\n\t\t\tSystem.out.println(\" : \" + intCount);\n\n\t\t}",
"int intCount = 0;",
"intCount",
"0",
"for(int j = 0; j < aryLine.length; j++){\n\n\t\t\t\t//System.out.println(\"int i:\" + i );\n\n\t\t\t\tint alphNum = aryLine[j];\n\t\t\t\t//System.out.println(\"alphNum:\" + alphNum);\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( i == alphNum){\n\t\t\t\t\t//System.out.print(\"i:\" + i + \"/j:\" + alphNum);\n\t\t\t\t\t//System.out.print(\" \");\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < aryLine.length",
"j",
"aryLine.length",
"aryLine",
"aryLine.length",
"j++",
"j++",
"j",
"{\n\n\t\t\t\t//System.out.println(\"int i:\" + i );\n\n\t\t\t\tint alphNum = aryLine[j];\n\t\t\t\t//System.out.println(\"alphNum:\" + alphNum);\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( i == alphNum){\n\t\t\t\t\t//System.out.print(\"i:\" + i + \"/j:\" + alphNum);\n\t\t\t\t\t//System.out.print(\" \");\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}",
"{\n\n\t\t\t\t//System.out.println(\"int i:\" + i );\n\n\t\t\t\tint alphNum = aryLine[j];\n\t\t\t\t//System.out.println(\"alphNum:\" + alphNum);\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( i == alphNum){\n\t\t\t\t\t//System.out.print(\"i:\" + i + \"/j:\" + alphNum);\n\t\t\t\t\t//System.out.print(\" \");\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}",
"int alphNum = aryLine[j];",
"alphNum",
"aryLine[j]",
"aryLine",
"j",
"if( i == alphNum){\n\t\t\t\t\t//System.out.print(\"i:\" + i + \"/j:\" + alphNum);\n\t\t\t\t\t//System.out.print(\" \");\n\t\t\t\t\tintCount++;\n\t\t\t\t}",
"i == alphNum",
"i",
"alphNum",
"{\n\t\t\t\t\t//System.out.print(\"i:\" + i + \"/j:\" + alphNum);\n\t\t\t\t\t//System.out.print(\" \");\n\t\t\t\t\tintCount++;\n\t\t\t\t}",
"intCount++",
"intCount",
"System.out.print(x++)",
"System.out.print",
"System.out",
"System",
"System.out",
"x++",
"x",
"System.out.println(\" : \" + intCount)",
"System.out.println",
"System.out",
"System",
"System.out",
"\" : \" + intCount",
"\" : \"",
"intCount",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\t\t//??£??????????????????????????????????????°\n\t\tString strLine = \"\";\n\n\t\twhile(true){\n\t\t\ttry{\n\n\t\t\t\tString strScan = insBR.readLine();\n\t\t\t\tif(\"\".equals(strScan) || strScan == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tstrLine += strScan;\n\t\t\t\t}\n\n\n\t\t\t}catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}\n\n\t\t}\n\n\t\t//?°????????????????\n\t\tstrLine = strLine.toLowerCase();\n\t\t//System.out.println(\"strLine:\" + strLine);\n\n\t\t//str???????§£??????char[]???????´?\n\t\tchar[] aryLine= strLine.toCharArray();\n\t\t//System.out.println(\"aryLine.length:\" + aryLine.length);\n\n\t\tchar x = 'a';\n\n\t\t//int[] intCount = new int[26];\n\n\t\t//a???z?????§?????°?????????\n\t\tfor(int i = 'a'; i <= 'z'; i++){\n\t\t\t//??¢????????????????????????????????????????????°\n\t\t\tint intCount = 0;\n\t\t\t//????????????length?????°?????????\n\t\t\tfor(int j = 0; j < aryLine.length; j++){\n\n\t\t\t\t//System.out.println(\"int i:\" + i );\n\n\t\t\t\tint alphNum = aryLine[j];\n\t\t\t\t//System.out.println(\"alphNum:\" + alphNum);\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( i == alphNum){\n\t\t\t\t\t//System.out.print(\"i:\" + i + \"/j:\" + alphNum);\n\t\t\t\t\t//System.out.print(\" \");\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.print(x++);\n\t\t\tSystem.out.println(\" : \" + intCount);\n\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\t\t//??£??????????????????????????????????????°\n\t\tString strLine = \"\";\n\n\t\twhile(true){\n\t\t\ttry{\n\n\t\t\t\tString strScan = insBR.readLine();\n\t\t\t\tif(\"\".equals(strScan) || strScan == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tstrLine += strScan;\n\t\t\t\t}\n\n\n\t\t\t}catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}\n\n\t\t}\n\n\t\t//?°????????????????\n\t\tstrLine = strLine.toLowerCase();\n\t\t//System.out.println(\"strLine:\" + strLine);\n\n\t\t//str???????§£??????char[]???????´?\n\t\tchar[] aryLine= strLine.toCharArray();\n\t\t//System.out.println(\"aryLine.length:\" + aryLine.length);\n\n\t\tchar x = 'a';\n\n\t\t//int[] intCount = new int[26];\n\n\t\t//a???z?????§?????°?????????\n\t\tfor(int i = 'a'; i <= 'z'; i++){\n\t\t\t//??¢????????????????????????????????????????????°\n\t\t\tint intCount = 0;\n\t\t\t//????????????length?????°?????????\n\t\t\tfor(int j = 0; j < aryLine.length; j++){\n\n\t\t\t\t//System.out.println(\"int i:\" + i );\n\n\t\t\t\tint alphNum = aryLine[j];\n\t\t\t\t//System.out.println(\"alphNum:\" + alphNum);\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( i == alphNum){\n\t\t\t\t\t//System.out.print(\"i:\" + i + \"/j:\" + alphNum);\n\t\t\t\t\t//System.out.print(\" \");\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.print(x++);\n\t\t\tSystem.out.println(\" : \" + intCount);\n\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) {
// TODO ?????????????????????????????????????????????
BufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));
//??£??????????????????????????????????????°
String strLine = "";
while(true){
try{
String strScan = insBR.readLine();
if("".equals(strScan) || strScan == null){
break;
}else{
strLine += strScan;
}
}catch(IOException e){
System.out.println(e);
}
}
//?°????????????????
strLine = strLine.toLowerCase();
//System.out.println("strLine:" + strLine);
//str???????§£??????char[]???????´?
char[] aryLine= strLine.toCharArray();
//System.out.println("aryLine.length:" + aryLine.length);
char x = 'a';
//int[] intCount = new int[26];
//a???z?????§?????°?????????
for(int i = 'a'; i <= 'z'; i++){
//??¢????????????????????????????????????????????°
int intCount = 0;
//????????????length?????°?????????
for(int j = 0; j < aryLine.length; j++){
//System.out.println("int i:" + i );
int alphNum = aryLine[j];
//System.out.println("alphNum:" + alphNum);
//??¢???????????????????????????????????¢??????
if( i == alphNum){
//System.out.print("i:" + i + "/j:" + alphNum);
//System.out.print(" ");
intCount++;
}
}
System.out.print(x++);
System.out.println(" : " + intCount);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
4,
18,
4,
18,
13,
4,
18,
13,
13,
17,
30,
40,
18,
13,
2,
4,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
17,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
100,
5
],
[
100,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
50,
59
],
[
49,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
64,
69
],
[
8,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
79,
80
],
[
70,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
89,
94
],
[
94,
95
],
[
94,
96
],
[
6,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tString stdin = \"\";\n\t\twhile(std.hasNextLine()){\n\t\t\tstdin += std.nextLine();\n\t\t}\n\t\tstdin = stdin.toLowerCase();\n\n\t\tint num[] = new int[26];\n\t\tfor(int i=0; i<stdin.length(); i++){\n\t\t\tif(String.valueOf(stdin.charAt(i)).matches(\"[a-z]\")){\n\t\t\t\tnum[(stdin.charAt(i)-'a')]++;\n\t\t\t}\n\t\t}\n\t\tfor(int j=0; j<26; j++){\n\t\t\tSystem.out.println((char)(j+'a') + \" : \"+num[j]);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tString stdin = \"\";\n\t\twhile(std.hasNextLine()){\n\t\t\tstdin += std.nextLine();\n\t\t}\n\t\tstdin = stdin.toLowerCase();\n\n\t\tint num[] = new int[26];\n\t\tfor(int i=0; i<stdin.length(); i++){\n\t\t\tif(String.valueOf(stdin.charAt(i)).matches(\"[a-z]\")){\n\t\t\t\tnum[(stdin.charAt(i)-'a')]++;\n\t\t\t}\n\t\t}\n\t\tfor(int j=0; j<26; j++){\n\t\t\tSystem.out.println((char)(j+'a') + \" : \"+num[j]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tString stdin = \"\";\n\t\twhile(std.hasNextLine()){\n\t\t\tstdin += std.nextLine();\n\t\t}\n\t\tstdin = stdin.toLowerCase();\n\n\t\tint num[] = new int[26];\n\t\tfor(int i=0; i<stdin.length(); i++){\n\t\t\tif(String.valueOf(stdin.charAt(i)).matches(\"[a-z]\")){\n\t\t\t\tnum[(stdin.charAt(i)-'a')]++;\n\t\t\t}\n\t\t}\n\t\tfor(int j=0; j<26; j++){\n\t\t\tSystem.out.println((char)(j+'a') + \" : \"+num[j]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner std = new Scanner(System.in);\n\t\tString stdin = \"\";\n\t\twhile(std.hasNextLine()){\n\t\t\tstdin += std.nextLine();\n\t\t}\n\t\tstdin = stdin.toLowerCase();\n\n\t\tint num[] = new int[26];\n\t\tfor(int i=0; i<stdin.length(); i++){\n\t\t\tif(String.valueOf(stdin.charAt(i)).matches(\"[a-z]\")){\n\t\t\t\tnum[(stdin.charAt(i)-'a')]++;\n\t\t\t}\n\t\t}\n\t\tfor(int j=0; j<26; j++){\n\t\t\tSystem.out.println((char)(j+'a') + \" : \"+num[j]);\n\t\t}\n\t}",
"Scanner std = new Scanner(System.in);",
"std",
"new Scanner(System.in)",
"String stdin = \"\";",
"stdin",
"\"\"",
"while(std.hasNextLine()){\n\t\t\tstdin += std.nextLine();\n\t\t}",
"std.hasNextLine()",
"std.hasNextLine",
"std",
"{\n\t\t\tstdin += std.nextLine();\n\t\t}",
"stdin += std.nextLine()",
"stdin",
"std.nextLine()",
"std.nextLine",
"std",
"stdin = stdin.toLowerCase()",
"stdin",
"stdin.toLowerCase()",
"stdin.toLowerCase",
"stdin",
"int num[] = new int[26];",
"num",
"new int[26]",
"26",
"for(int i=0; i<stdin.length(); i++){\n\t\t\tif(String.valueOf(stdin.charAt(i)).matches(\"[a-z]\")){\n\t\t\t\tnum[(stdin.charAt(i)-'a')]++;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<stdin.length()",
"i",
"stdin.length()",
"stdin.length",
"stdin",
"i++",
"i++",
"i",
"{\n\t\t\tif(String.valueOf(stdin.charAt(i)).matches(\"[a-z]\")){\n\t\t\t\tnum[(stdin.charAt(i)-'a')]++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(String.valueOf(stdin.charAt(i)).matches(\"[a-z]\")){\n\t\t\t\tnum[(stdin.charAt(i)-'a')]++;\n\t\t\t}\n\t\t}",
"if(String.valueOf(stdin.charAt(i)).matches(\"[a-z]\")){\n\t\t\t\tnum[(stdin.charAt(i)-'a')]++;\n\t\t\t}",
"String.valueOf(stdin.charAt(i)).matches(\"[a-z]\")",
"String.valueOf(stdin.charAt(i)).matches",
"String.valueOf(stdin.charAt(i))",
"String.valueOf",
"String",
"stdin.charAt(i)",
"stdin.charAt",
"stdin",
"i",
"\"[a-z]\"",
"{\n\t\t\t\tnum[(stdin.charAt(i)-'a')]++;\n\t\t\t}",
"num[(stdin.charAt(i)-'a')]++",
"num[(stdin.charAt(i)-'a')]",
"num",
"(stdin.charAt(i)-'a')",
"stdin.charAt(i)",
"stdin.charAt",
"stdin",
"i",
"'a'",
"for(int j=0; j<26; j++){\n\t\t\tSystem.out.println((char)(j+'a') + \" : \"+num[j]);\n\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<26",
"j",
"26",
"j++",
"j++",
"j",
"{\n\t\t\tSystem.out.println((char)(j+'a') + \" : \"+num[j]);\n\t\t}",
"{\n\t\t\tSystem.out.println((char)(j+'a') + \" : \"+num[j]);\n\t\t}",
"System.out.println((char)(j+'a') + \" : \"+num[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)(j+'a') + \" : \"+num[j]",
"(char)(j+'a') + \" : \"+num[j]",
"(char)(j+'a')",
"j",
"'a'",
"\" : \"",
"num[j]",
"num",
"j",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tString stdin = \"\";\n\t\twhile(std.hasNextLine()){\n\t\t\tstdin += std.nextLine();\n\t\t}\n\t\tstdin = stdin.toLowerCase();\n\n\t\tint num[] = new int[26];\n\t\tfor(int i=0; i<stdin.length(); i++){\n\t\t\tif(String.valueOf(stdin.charAt(i)).matches(\"[a-z]\")){\n\t\t\t\tnum[(stdin.charAt(i)-'a')]++;\n\t\t\t}\n\t\t}\n\t\tfor(int j=0; j<26; j++){\n\t\t\tSystem.out.println((char)(j+'a') + \" : \"+num[j]);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tString stdin = \"\";\n\t\twhile(std.hasNextLine()){\n\t\t\tstdin += std.nextLine();\n\t\t}\n\t\tstdin = stdin.toLowerCase();\n\n\t\tint num[] = new int[26];\n\t\tfor(int i=0; i<stdin.length(); i++){\n\t\t\tif(String.valueOf(stdin.charAt(i)).matches(\"[a-z]\")){\n\t\t\t\tnum[(stdin.charAt(i)-'a')]++;\n\t\t\t}\n\t\t}\n\t\tfor(int j=0; j<26; j++){\n\t\t\tSystem.out.println((char)(j+'a') + \" : \"+num[j]);\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner std = new Scanner(System.in);
String stdin = "";
while(std.hasNextLine()){
stdin += std.nextLine();
}
stdin = stdin.toLowerCase();
int num[] = new int[26];
for(int i=0; i<stdin.length(); i++){
if(String.valueOf(stdin.charAt(i)).matches("[a-z]")){
num[(stdin.charAt(i)-'a')]++;
}
}
for(int j=0; j<26; j++){
System.out.println((char)(j+'a') + " : "+num[j]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
42,
4,
18,
13,
30,
0,
13,
2,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
4,
13,
17,
13,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
13,
4,
18,
13,
13,
30,
40,
13,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
29,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
368,
5
],
[
368,
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
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
36,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
47,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
69,
72
],
[
8,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
80,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
91,
94
],
[
8,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
102,
104
],
[
102,
105
],
[
8,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
113,
115
],
[
113,
116
],
[
8,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
124,
126
],
[
124,
127
],
[
8,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
128,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
135,
137
],
[
135,
138
],
[
8,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
139,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
146,
148
],
[
146,
149
],
[
8,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
150,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
157,
159
],
[
157,
160
],
[
8,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
161,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
168,
170
],
[
168,
171
],
[
8,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
172,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
179,
181
],
[
179,
182
],
[
8,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
183,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
190,
192
],
[
190,
193
],
[
8,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
194,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
201,
203
],
[
201,
204
],
[
8,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
205,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
212,
214
],
[
212,
215
],
[
8,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
216,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
223,
225
],
[
223,
226
],
[
8,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
227,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
234,
236
],
[
234,
237
],
[
8,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
238,
243
],
[
243,
244
],
[
243,
245
],
[
245,
246
],
[
245,
247
],
[
245,
248
],
[
8,
249
],
[
249,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
249,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
256,
258
],
[
256,
259
],
[
8,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
260,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
267,
269
],
[
267,
270
],
[
8,
271
],
[
271,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
271,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
278,
280
],
[
278,
281
],
[
8,
282
],
[
282,
283
],
[
283,
284
],
[
284,
285
],
[
284,
286
],
[
282,
287
],
[
287,
288
],
[
287,
289
],
[
289,
290
],
[
289,
291
],
[
289,
292
],
[
8,
293
],
[
293,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
293,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
300,
302
],
[
300,
303
],
[
8,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
304,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
311,
313
],
[
311,
314
],
[
6,
315
],
[
315,
316
],
[
368,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
319,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
323,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
331,
332
],
[
323,
333
],
[
333,
334
],
[
334,
335
],
[
323,
336
],
[
337,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
341,
342
],
[
342,
343
],
[
341,
344
],
[
338,
345
],
[
345,
346
],
[
346,
347
],
[
338,
348
],
[
348,
349
],
[
349,
350
],
[
350,
351
],
[
351,
352
],
[
350,
353
],
[
349,
354
],
[
354,
355
],
[
355,
356
],
[
354,
357
],
[
348,
358
],
[
358,
359
],
[
359,
360
],
[
319,
361
],
[
361,
362
],
[
317,
363
],
[
363,
364
],
[
317,
365
],
[
365,
366
],
[
0,
367
],
[
367,
368
],
[
367,
369
]
]
| [
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String n = scan.nextLine();\n while(scan.hasNext()) {\n n = n + scan.nextLine();\n }\n System.out.println(\"a : \" + counter('a', n));\n System.out.println(\"b : \" + counter('b', n));\n System.out.println(\"c : \" + counter('c', n));\n System.out.println(\"d : \" + counter('d', n));\n System.out.println(\"e : \" + counter('e', n));\n System.out.println(\"f : \" + counter('f', n));\n System.out.println(\"g : \" + counter('g', n));\n System.out.println(\"h : \" + counter('h', n));\n System.out.println(\"i : \" + counter('i', n));\n System.out.println(\"j : \" + counter('j', n));\n System.out.println(\"k : \" + counter('k', n));\n System.out.println(\"l : \" + counter('l', n));\n System.out.println(\"m : \" + counter('m', n));\n System.out.println(\"n : \" + counter('n', n));\n System.out.println(\"o : \" + counter('o', n));\n System.out.println(\"p : \" + counter('p', n));\n System.out.println(\"q : \" + counter('q', n));\n System.out.println(\"r : \" + counter('r', n));\n System.out.println(\"s : \" + counter('s', n));\n System.out.println(\"t : \" + counter('t', n));\n System.out.println(\"u : \" + counter('u', n));\n System.out.println(\"v : \" + counter('v', n));\n System.out.println(\"w : \" + counter('w', n));\n System.out.println(\"x : \" + counter('x', n));\n System.out.println(\"y : \" + counter('y', n));\n System.out.println(\"z : \" + counter('z', n));\n }\n public static int counter(char c, String line){\n int sum = 0;\n for(int x = 0; x < line.length();x++){\n if(c == line.charAt(x)){\n sum++;\n }\n else if(Character.toUpperCase(c) == line.charAt(x)){\n sum++;\n }\n }\n return sum;\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String n = scan.nextLine();\n while(scan.hasNext()) {\n n = n + scan.nextLine();\n }\n System.out.println(\"a : \" + counter('a', n));\n System.out.println(\"b : \" + counter('b', n));\n System.out.println(\"c : \" + counter('c', n));\n System.out.println(\"d : \" + counter('d', n));\n System.out.println(\"e : \" + counter('e', n));\n System.out.println(\"f : \" + counter('f', n));\n System.out.println(\"g : \" + counter('g', n));\n System.out.println(\"h : \" + counter('h', n));\n System.out.println(\"i : \" + counter('i', n));\n System.out.println(\"j : \" + counter('j', n));\n System.out.println(\"k : \" + counter('k', n));\n System.out.println(\"l : \" + counter('l', n));\n System.out.println(\"m : \" + counter('m', n));\n System.out.println(\"n : \" + counter('n', n));\n System.out.println(\"o : \" + counter('o', n));\n System.out.println(\"p : \" + counter('p', n));\n System.out.println(\"q : \" + counter('q', n));\n System.out.println(\"r : \" + counter('r', n));\n System.out.println(\"s : \" + counter('s', n));\n System.out.println(\"t : \" + counter('t', n));\n System.out.println(\"u : \" + counter('u', n));\n System.out.println(\"v : \" + counter('v', n));\n System.out.println(\"w : \" + counter('w', n));\n System.out.println(\"x : \" + counter('x', n));\n System.out.println(\"y : \" + counter('y', n));\n System.out.println(\"z : \" + counter('z', n));\n }\n public static int counter(char c, String line){\n int sum = 0;\n for(int x = 0; x < line.length();x++){\n if(c == line.charAt(x)){\n sum++;\n }\n else if(Character.toUpperCase(c) == line.charAt(x)){\n sum++;\n }\n }\n return sum;\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String n = scan.nextLine();\n while(scan.hasNext()) {\n n = n + scan.nextLine();\n }\n System.out.println(\"a : \" + counter('a', n));\n System.out.println(\"b : \" + counter('b', n));\n System.out.println(\"c : \" + counter('c', n));\n System.out.println(\"d : \" + counter('d', n));\n System.out.println(\"e : \" + counter('e', n));\n System.out.println(\"f : \" + counter('f', n));\n System.out.println(\"g : \" + counter('g', n));\n System.out.println(\"h : \" + counter('h', n));\n System.out.println(\"i : \" + counter('i', n));\n System.out.println(\"j : \" + counter('j', n));\n System.out.println(\"k : \" + counter('k', n));\n System.out.println(\"l : \" + counter('l', n));\n System.out.println(\"m : \" + counter('m', n));\n System.out.println(\"n : \" + counter('n', n));\n System.out.println(\"o : \" + counter('o', n));\n System.out.println(\"p : \" + counter('p', n));\n System.out.println(\"q : \" + counter('q', n));\n System.out.println(\"r : \" + counter('r', n));\n System.out.println(\"s : \" + counter('s', n));\n System.out.println(\"t : \" + counter('t', n));\n System.out.println(\"u : \" + counter('u', n));\n System.out.println(\"v : \" + counter('v', n));\n System.out.println(\"w : \" + counter('w', n));\n System.out.println(\"x : \" + counter('x', n));\n System.out.println(\"y : \" + counter('y', n));\n System.out.println(\"z : \" + counter('z', n));\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n String n = scan.nextLine();\n while(scan.hasNext()) {\n n = n + scan.nextLine();\n }\n System.out.println(\"a : \" + counter('a', n));\n System.out.println(\"b : \" + counter('b', n));\n System.out.println(\"c : \" + counter('c', n));\n System.out.println(\"d : \" + counter('d', n));\n System.out.println(\"e : \" + counter('e', n));\n System.out.println(\"f : \" + counter('f', n));\n System.out.println(\"g : \" + counter('g', n));\n System.out.println(\"h : \" + counter('h', n));\n System.out.println(\"i : \" + counter('i', n));\n System.out.println(\"j : \" + counter('j', n));\n System.out.println(\"k : \" + counter('k', n));\n System.out.println(\"l : \" + counter('l', n));\n System.out.println(\"m : \" + counter('m', n));\n System.out.println(\"n : \" + counter('n', n));\n System.out.println(\"o : \" + counter('o', n));\n System.out.println(\"p : \" + counter('p', n));\n System.out.println(\"q : \" + counter('q', n));\n System.out.println(\"r : \" + counter('r', n));\n System.out.println(\"s : \" + counter('s', n));\n System.out.println(\"t : \" + counter('t', n));\n System.out.println(\"u : \" + counter('u', n));\n System.out.println(\"v : \" + counter('v', n));\n System.out.println(\"w : \" + counter('w', n));\n System.out.println(\"x : \" + counter('x', n));\n System.out.println(\"y : \" + counter('y', n));\n System.out.println(\"z : \" + counter('z', n));\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String n = scan.nextLine();",
"n",
"scan.nextLine()",
"scan.nextLine",
"scan",
"while(scan.hasNext()) {\n n = n + scan.nextLine();\n }",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n n = n + scan.nextLine();\n }",
"n = n + scan.nextLine()",
"n",
"n + scan.nextLine()",
"n",
"scan.nextLine()",
"scan.nextLine",
"scan",
"System.out.println(\"a : \" + counter('a', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"a : \" + counter('a', n)",
"\"a : \"",
"counter('a', n)",
"counter",
"'a'",
"n",
"System.out.println(\"b : \" + counter('b', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"b : \" + counter('b', n)",
"\"b : \"",
"counter('b', n)",
"counter",
"'b'",
"n",
"System.out.println(\"c : \" + counter('c', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"c : \" + counter('c', n)",
"\"c : \"",
"counter('c', n)",
"counter",
"'c'",
"n",
"System.out.println(\"d : \" + counter('d', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"d : \" + counter('d', n)",
"\"d : \"",
"counter('d', n)",
"counter",
"'d'",
"n",
"System.out.println(\"e : \" + counter('e', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"e : \" + counter('e', n)",
"\"e : \"",
"counter('e', n)",
"counter",
"'e'",
"n",
"System.out.println(\"f : \" + counter('f', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"f : \" + counter('f', n)",
"\"f : \"",
"counter('f', n)",
"counter",
"'f'",
"n",
"System.out.println(\"g : \" + counter('g', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"g : \" + counter('g', n)",
"\"g : \"",
"counter('g', n)",
"counter",
"'g'",
"n",
"System.out.println(\"h : \" + counter('h', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"h : \" + counter('h', n)",
"\"h : \"",
"counter('h', n)",
"counter",
"'h'",
"n",
"System.out.println(\"i : \" + counter('i', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"i : \" + counter('i', n)",
"\"i : \"",
"counter('i', n)",
"counter",
"'i'",
"n",
"System.out.println(\"j : \" + counter('j', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"j : \" + counter('j', n)",
"\"j : \"",
"counter('j', n)",
"counter",
"'j'",
"n",
"System.out.println(\"k : \" + counter('k', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"k : \" + counter('k', n)",
"\"k : \"",
"counter('k', n)",
"counter",
"'k'",
"n",
"System.out.println(\"l : \" + counter('l', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"l : \" + counter('l', n)",
"\"l : \"",
"counter('l', n)",
"counter",
"'l'",
"n",
"System.out.println(\"m : \" + counter('m', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"m : \" + counter('m', n)",
"\"m : \"",
"counter('m', n)",
"counter",
"'m'",
"n",
"System.out.println(\"n : \" + counter('n', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"n : \" + counter('n', n)",
"\"n : \"",
"counter('n', n)",
"counter",
"'n'",
"n",
"System.out.println(\"o : \" + counter('o', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"o : \" + counter('o', n)",
"\"o : \"",
"counter('o', n)",
"counter",
"'o'",
"n",
"System.out.println(\"p : \" + counter('p', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"p : \" + counter('p', n)",
"\"p : \"",
"counter('p', n)",
"counter",
"'p'",
"n",
"System.out.println(\"q : \" + counter('q', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"q : \" + counter('q', n)",
"\"q : \"",
"counter('q', n)",
"counter",
"'q'",
"n",
"System.out.println(\"r : \" + counter('r', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"r : \" + counter('r', n)",
"\"r : \"",
"counter('r', n)",
"counter",
"'r'",
"n",
"System.out.println(\"s : \" + counter('s', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"s : \" + counter('s', n)",
"\"s : \"",
"counter('s', n)",
"counter",
"'s'",
"n",
"System.out.println(\"t : \" + counter('t', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"t : \" + counter('t', n)",
"\"t : \"",
"counter('t', n)",
"counter",
"'t'",
"n",
"System.out.println(\"u : \" + counter('u', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"u : \" + counter('u', n)",
"\"u : \"",
"counter('u', n)",
"counter",
"'u'",
"n",
"System.out.println(\"v : \" + counter('v', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"v : \" + counter('v', n)",
"\"v : \"",
"counter('v', n)",
"counter",
"'v'",
"n",
"System.out.println(\"w : \" + counter('w', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"w : \" + counter('w', n)",
"\"w : \"",
"counter('w', n)",
"counter",
"'w'",
"n",
"System.out.println(\"x : \" + counter('x', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"x : \" + counter('x', n)",
"\"x : \"",
"counter('x', n)",
"counter",
"'x'",
"n",
"System.out.println(\"y : \" + counter('y', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"y : \" + counter('y', n)",
"\"y : \"",
"counter('y', n)",
"counter",
"'y'",
"n",
"System.out.println(\"z : \" + counter('z', n))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"z : \" + counter('z', n)",
"\"z : \"",
"counter('z', n)",
"counter",
"'z'",
"n",
"String[] args",
"args",
"public static int counter(char c, String line){\n int sum = 0;\n for(int x = 0; x < line.length();x++){\n if(c == line.charAt(x)){\n sum++;\n }\n else if(Character.toUpperCase(c) == line.charAt(x)){\n sum++;\n }\n }\n return sum;\n }",
"counter",
"{\n int sum = 0;\n for(int x = 0; x < line.length();x++){\n if(c == line.charAt(x)){\n sum++;\n }\n else if(Character.toUpperCase(c) == line.charAt(x)){\n sum++;\n }\n }\n return sum;\n }",
"int sum = 0;",
"sum",
"0",
"for(int x = 0; x < line.length();x++){\n if(c == line.charAt(x)){\n sum++;\n }\n else if(Character.toUpperCase(c) == line.charAt(x)){\n sum++;\n }\n }",
"int x = 0;",
"int x = 0;",
"x",
"0",
"x < line.length()",
"x",
"line.length()",
"line.length",
"line",
"x++",
"x++",
"x",
"{\n if(c == line.charAt(x)){\n sum++;\n }\n else if(Character.toUpperCase(c) == line.charAt(x)){\n sum++;\n }\n }",
"{\n if(c == line.charAt(x)){\n sum++;\n }\n else if(Character.toUpperCase(c) == line.charAt(x)){\n sum++;\n }\n }",
"if(c == line.charAt(x)){\n sum++;\n }\n else if(Character.toUpperCase(c) == line.charAt(x)){\n sum++;\n }",
"c == line.charAt(x)",
"c",
"line.charAt(x)",
"line.charAt",
"line",
"x",
"{\n sum++;\n }",
"sum++",
"sum",
"if(Character.toUpperCase(c) == line.charAt(x)){\n sum++;\n }",
"Character.toUpperCase(c) == line.charAt(x)",
"Character.toUpperCase(c)",
"Character.toUpperCase",
"Character",
"c",
"line.charAt(x)",
"line.charAt",
"line",
"x",
"{\n sum++;\n }",
"sum++",
"sum",
"return sum;",
"sum",
"char c",
"c",
"String line",
"line",
"public class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String n = scan.nextLine();\n while(scan.hasNext()) {\n n = n + scan.nextLine();\n }\n System.out.println(\"a : \" + counter('a', n));\n System.out.println(\"b : \" + counter('b', n));\n System.out.println(\"c : \" + counter('c', n));\n System.out.println(\"d : \" + counter('d', n));\n System.out.println(\"e : \" + counter('e', n));\n System.out.println(\"f : \" + counter('f', n));\n System.out.println(\"g : \" + counter('g', n));\n System.out.println(\"h : \" + counter('h', n));\n System.out.println(\"i : \" + counter('i', n));\n System.out.println(\"j : \" + counter('j', n));\n System.out.println(\"k : \" + counter('k', n));\n System.out.println(\"l : \" + counter('l', n));\n System.out.println(\"m : \" + counter('m', n));\n System.out.println(\"n : \" + counter('n', n));\n System.out.println(\"o : \" + counter('o', n));\n System.out.println(\"p : \" + counter('p', n));\n System.out.println(\"q : \" + counter('q', n));\n System.out.println(\"r : \" + counter('r', n));\n System.out.println(\"s : \" + counter('s', n));\n System.out.println(\"t : \" + counter('t', n));\n System.out.println(\"u : \" + counter('u', n));\n System.out.println(\"v : \" + counter('v', n));\n System.out.println(\"w : \" + counter('w', n));\n System.out.println(\"x : \" + counter('x', n));\n System.out.println(\"y : \" + counter('y', n));\n System.out.println(\"z : \" + counter('z', n));\n }\n public static int counter(char c, String line){\n int sum = 0;\n for(int x = 0; x < line.length();x++){\n if(c == line.charAt(x)){\n sum++;\n }\n else if(Character.toUpperCase(c) == line.charAt(x)){\n sum++;\n }\n }\n return sum;\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String n = scan.nextLine();\n while(scan.hasNext()) {\n n = n + scan.nextLine();\n }\n System.out.println(\"a : \" + counter('a', n));\n System.out.println(\"b : \" + counter('b', n));\n System.out.println(\"c : \" + counter('c', n));\n System.out.println(\"d : \" + counter('d', n));\n System.out.println(\"e : \" + counter('e', n));\n System.out.println(\"f : \" + counter('f', n));\n System.out.println(\"g : \" + counter('g', n));\n System.out.println(\"h : \" + counter('h', n));\n System.out.println(\"i : \" + counter('i', n));\n System.out.println(\"j : \" + counter('j', n));\n System.out.println(\"k : \" + counter('k', n));\n System.out.println(\"l : \" + counter('l', n));\n System.out.println(\"m : \" + counter('m', n));\n System.out.println(\"n : \" + counter('n', n));\n System.out.println(\"o : \" + counter('o', n));\n System.out.println(\"p : \" + counter('p', n));\n System.out.println(\"q : \" + counter('q', n));\n System.out.println(\"r : \" + counter('r', n));\n System.out.println(\"s : \" + counter('s', n));\n System.out.println(\"t : \" + counter('t', n));\n System.out.println(\"u : \" + counter('u', n));\n System.out.println(\"v : \" + counter('v', n));\n System.out.println(\"w : \" + counter('w', n));\n System.out.println(\"x : \" + counter('x', n));\n System.out.println(\"y : \" + counter('y', n));\n System.out.println(\"z : \" + counter('z', n));\n }\n public static int counter(char c, String line){\n int sum = 0;\n for(int x = 0; x < line.length();x++){\n if(c == line.charAt(x)){\n sum++;\n }\n else if(Character.toUpperCase(c) == line.charAt(x)){\n sum++;\n }\n }\n return sum;\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
String n = scan.nextLine();
while(scan.hasNext()) {
n = n + scan.nextLine();
}
System.out.println("a : " + counter('a', n));
System.out.println("b : " + counter('b', n));
System.out.println("c : " + counter('c', n));
System.out.println("d : " + counter('d', n));
System.out.println("e : " + counter('e', n));
System.out.println("f : " + counter('f', n));
System.out.println("g : " + counter('g', n));
System.out.println("h : " + counter('h', n));
System.out.println("i : " + counter('i', n));
System.out.println("j : " + counter('j', n));
System.out.println("k : " + counter('k', n));
System.out.println("l : " + counter('l', n));
System.out.println("m : " + counter('m', n));
System.out.println("n : " + counter('n', n));
System.out.println("o : " + counter('o', n));
System.out.println("p : " + counter('p', n));
System.out.println("q : " + counter('q', n));
System.out.println("r : " + counter('r', n));
System.out.println("s : " + counter('s', n));
System.out.println("t : " + counter('t', n));
System.out.println("u : " + counter('u', n));
System.out.println("v : " + counter('v', n));
System.out.println("w : " + counter('w', n));
System.out.println("x : " + counter('x', n));
System.out.println("y : " + counter('y', n));
System.out.println("z : " + counter('z', n));
}
public static int counter(char c, String line){
int sum = 0;
for(int x = 0; x < line.length();x++){
if(c == line.charAt(x)){
sum++;
}
else if(Character.toUpperCase(c) == line.charAt(x)){
sum++;
}
}
return sum;
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
2,
4,
18,
4,
18,
13,
13,
17,
14,
2,
13,
17,
40,
18,
13,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
2,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
93,
5
],
[
93,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
32,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
50,
55
],
[
49,
56
],
[
46,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
74,
75
],
[
65,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
78,
84
],
[
84,
85
],
[
84,
86
],
[
78,
87
],
[
87,
88
],
[
87,
89
],
[
6,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
]
| [
"\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] list = new int[26];\n int i, c;\n String str;\n \n //list = null;\n \n while(sc.hasNext()) {\n \tstr = sc.nextLine();\n \t\n \tfor(i = 0; i < str.length(); i++) {\n \t\tc = str.toLowerCase().charAt(i) - 97;\n \t\tif(c >= 0) list[c]++;\n \t}\n }\n \n for(i = 0; i < 26; i++) {\n \tSystem.out.printf(\"%s : %d\\n\", (char)(i + 97), list[i]);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] list = new int[26];\n int i, c;\n String str;\n \n //list = null;\n \n while(sc.hasNext()) {\n \tstr = sc.nextLine();\n \t\n \tfor(i = 0; i < str.length(); i++) {\n \t\tc = str.toLowerCase().charAt(i) - 97;\n \t\tif(c >= 0) list[c]++;\n \t}\n }\n \n for(i = 0; i < 26; i++) {\n \tSystem.out.printf(\"%s : %d\\n\", (char)(i + 97), list[i]);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] list = new int[26];\n int i, c;\n String str;\n \n //list = null;\n \n while(sc.hasNext()) {\n \tstr = sc.nextLine();\n \t\n \tfor(i = 0; i < str.length(); i++) {\n \t\tc = str.toLowerCase().charAt(i) - 97;\n \t\tif(c >= 0) list[c]++;\n \t}\n }\n \n for(i = 0; i < 26; i++) {\n \tSystem.out.printf(\"%s : %d\\n\", (char)(i + 97), list[i]);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int[] list = new int[26];\n int i, c;\n String str;\n \n //list = null;\n \n while(sc.hasNext()) {\n \tstr = sc.nextLine();\n \t\n \tfor(i = 0; i < str.length(); i++) {\n \t\tc = str.toLowerCase().charAt(i) - 97;\n \t\tif(c >= 0) list[c]++;\n \t}\n }\n \n for(i = 0; i < 26; i++) {\n \tSystem.out.printf(\"%s : %d\\n\", (char)(i + 97), list[i]);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] list = new int[26];",
"list",
"new int[26]",
"26",
"int i",
"i",
"c;",
"c",
"String str;",
"str",
"while(sc.hasNext()) {\n \tstr = sc.nextLine();\n \t\n \tfor(i = 0; i < str.length(); i++) {\n \t\tc = str.toLowerCase().charAt(i) - 97;\n \t\tif(c >= 0) list[c]++;\n \t}\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n \tstr = sc.nextLine();\n \t\n \tfor(i = 0; i < str.length(); i++) {\n \t\tc = str.toLowerCase().charAt(i) - 97;\n \t\tif(c >= 0) list[c]++;\n \t}\n }",
"str = sc.nextLine()",
"str",
"sc.nextLine()",
"sc.nextLine",
"sc",
"for(i = 0; i < str.length(); i++) {\n \t\tc = str.toLowerCase().charAt(i) - 97;\n \t\tif(c >= 0) list[c]++;\n \t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < str.length()",
"i",
"str.length()",
"str.length",
"str",
"i++",
"i++",
"i",
"{\n \t\tc = str.toLowerCase().charAt(i) - 97;\n \t\tif(c >= 0) list[c]++;\n \t}",
"{\n \t\tc = str.toLowerCase().charAt(i) - 97;\n \t\tif(c >= 0) list[c]++;\n \t}",
"c = str.toLowerCase().charAt(i) - 97",
"c",
"str.toLowerCase().charAt(i) - 97",
"str.toLowerCase().charAt(i)",
"str.toLowerCase().charAt",
"str.toLowerCase()",
"str.toLowerCase",
"str",
"i",
"97",
"if(c >= 0) list[c]++;",
"c >= 0",
"c",
"0",
"list[c]++",
"list[c]",
"list",
"c",
"for(i = 0; i < 26; i++) {\n \tSystem.out.printf(\"%s : %d\\n\", (char)(i + 97), list[i]);\n }",
"i = 0;",
"i = 0",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n \tSystem.out.printf(\"%s : %d\\n\", (char)(i + 97), list[i]);\n }",
"{\n \tSystem.out.printf(\"%s : %d\\n\", (char)(i + 97), list[i]);\n }",
"System.out.printf(\"%s : %d\\n\", (char)(i + 97), list[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%s : %d\\n\"",
"(char)(i + 97)",
"i",
"97",
"list[i]",
"list",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] list = new int[26];\n int i, c;\n String str;\n \n //list = null;\n \n while(sc.hasNext()) {\n \tstr = sc.nextLine();\n \t\n \tfor(i = 0; i < str.length(); i++) {\n \t\tc = str.toLowerCase().charAt(i) - 97;\n \t\tif(c >= 0) list[c]++;\n \t}\n }\n \n for(i = 0; i < 26; i++) {\n \tSystem.out.printf(\"%s : %d\\n\", (char)(i + 97), list[i]);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] list = new int[26];\n int i, c;\n String str;\n \n //list = null;\n \n while(sc.hasNext()) {\n \tstr = sc.nextLine();\n \t\n \tfor(i = 0; i < str.length(); i++) {\n \t\tc = str.toLowerCase().charAt(i) - 97;\n \t\tif(c >= 0) list[c]++;\n \t}\n }\n \n for(i = 0; i < 26; i++) {\n \tSystem.out.printf(\"%s : %d\\n\", (char)(i + 97), list[i]);\n }\n }\n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] list = new int[26];
int i, c;
String str;
//list = null;
while(sc.hasNext()) {
str = sc.nextLine();
for(i = 0; i < str.length(); i++) {
c = str.toLowerCase().charAt(i) - 97;
if(c >= 0) list[c]++;
}
}
for(i = 0; i < 26; i++) {
System.out.printf("%s : %d\n", (char)(i + 97), list[i]);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
20,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
20,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
28,
13,
4,
18,
13,
30,
30,
14,
4,
18,
13,
13,
30,
0,
13,
4,
18,
13,
13,
28,
13,
18,
13,
13,
30,
30,
14,
2,
13,
18,
13,
13,
30,
0,
18,
13,
13,
17,
40,
18,
13,
13,
28,
13,
18,
13,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
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
],
[
9,
10
],
[
7,
11
],
[
11,
12
],
[
11,
13
],
[
7,
14
],
[
14,
15
],
[
14,
16
],
[
7,
17
],
[
17,
18
],
[
17,
19
],
[
7,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
20,
28
],
[
28,
29
],
[
0,
30
],
[
137,
31
],
[
137,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
34,
57
],
[
57,
58
],
[
57,
59
],
[
34,
60
],
[
60,
61
],
[
34,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
63,
69
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
71,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
78,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
77,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
96,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
97,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
103,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
34,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
119,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
120,
125
],
[
126,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
126,
131
],
[
131,
132
],
[
131,
133
],
[
32,
134
],
[
134,
135
],
[
0,
136
],
[
136,
137
],
[
136,
138
]
]
| [
"import java.io.*;\nimport java.util.*;\n\nclass Alphabet{\n\tchar ch;\n\tint count = 0;\n\tboolean with = false;\n\tstatic List<Alphabet> abc = new ArrayList<Alphabet>();\n\n\tAlphabet(char ch){\n\t\tthis.ch = ch;\n\t}\n}\n\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tchar a = 'a';\n\t\tfor (int i = 0; i < 26; i++){\n\t\t\tAlphabet.abc.add(new Alphabet(a++));\n\t\t}\n\n\t\t\t\t\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString str;\n\t\n\t\twhile((str = br.readLine()) != null){\n\t\t\tfor(char c: str.toCharArray()){\n\t\t\t\tif(Character.isUpperCase(c)){\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\t}\n\n\t\t\t\tfor (Alphabet x : Alphabet.abc){\n\t\t\t\t\tif(c == x.ch){\n\t\t\t\t\t\tx.with = true;\n\t\t\t\t\t\tx.count ++;\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\t\t\t\n\n\t\tfor(Alphabet x : Alphabet.abc){\n\t\t\tSystem.out.println(x.ch + \" : \" + x.count);\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Alphabet{\n\tchar ch;\n\tint count = 0;\n\tboolean with = false;\n\tstatic List<Alphabet> abc = new ArrayList<Alphabet>();\n\n\tAlphabet(char ch){\n\t\tthis.ch = ch;\n\t}\n}",
"Alphabet",
"char ch;",
"ch",
"int count = 0;",
"count",
"0",
"boolean with = false;",
"with",
"false",
"static List<Alphabet> abc = new ArrayList<Alphabet>();",
"abc",
"new ArrayList<Alphabet>()",
"Alphabet(char ch){\n\t\tthis.ch = ch;\n\t}",
"Alphabet",
"{\n\t\tthis.ch = ch;\n\t}",
"this.ch = ch",
"this.ch",
"this",
"this.ch",
"ch",
"char ch",
"ch",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tchar a = 'a';\n\t\tfor (int i = 0; i < 26; i++){\n\t\t\tAlphabet.abc.add(new Alphabet(a++));\n\t\t}\n\n\t\t\t\t\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString str;\n\t\n\t\twhile((str = br.readLine()) != null){\n\t\t\tfor(char c: str.toCharArray()){\n\t\t\t\tif(Character.isUpperCase(c)){\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\t}\n\n\t\t\t\tfor (Alphabet x : Alphabet.abc){\n\t\t\t\t\tif(c == x.ch){\n\t\t\t\t\t\tx.with = true;\n\t\t\t\t\t\tx.count ++;\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\t\t\t\n\n\t\tfor(Alphabet x : Alphabet.abc){\n\t\t\tSystem.out.println(x.ch + \" : \" + x.count);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tchar a = 'a';\n\t\tfor (int i = 0; i < 26; i++){\n\t\t\tAlphabet.abc.add(new Alphabet(a++));\n\t\t}\n\n\t\t\t\t\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString str;\n\t\n\t\twhile((str = br.readLine()) != null){\n\t\t\tfor(char c: str.toCharArray()){\n\t\t\t\tif(Character.isUpperCase(c)){\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\t}\n\n\t\t\t\tfor (Alphabet x : Alphabet.abc){\n\t\t\t\t\tif(c == x.ch){\n\t\t\t\t\t\tx.with = true;\n\t\t\t\t\t\tx.count ++;\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\t\t\t\n\n\t\tfor(Alphabet x : Alphabet.abc){\n\t\t\tSystem.out.println(x.ch + \" : \" + x.count);\n\t\t}\n\t}",
"main",
"{\n\t\tchar a = 'a';\n\t\tfor (int i = 0; i < 26; i++){\n\t\t\tAlphabet.abc.add(new Alphabet(a++));\n\t\t}\n\n\t\t\t\t\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString str;\n\t\n\t\twhile((str = br.readLine()) != null){\n\t\t\tfor(char c: str.toCharArray()){\n\t\t\t\tif(Character.isUpperCase(c)){\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\t}\n\n\t\t\t\tfor (Alphabet x : Alphabet.abc){\n\t\t\t\t\tif(c == x.ch){\n\t\t\t\t\t\tx.with = true;\n\t\t\t\t\t\tx.count ++;\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\t\t\t\n\n\t\tfor(Alphabet x : Alphabet.abc){\n\t\t\tSystem.out.println(x.ch + \" : \" + x.count);\n\t\t}\n\t}",
"char a = 'a';",
"a",
"'a'",
"for (int i = 0; i < 26; i++){\n\t\t\tAlphabet.abc.add(new Alphabet(a++));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tAlphabet.abc.add(new Alphabet(a++));\n\t\t}",
"{\n\t\t\tAlphabet.abc.add(new Alphabet(a++));\n\t\t}",
"Alphabet.abc.add(new Alphabet(a++))",
"Alphabet.abc.add",
"Alphabet.abc",
"Alphabet",
"Alphabet.abc",
"new Alphabet(a++)",
"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\tfor(char c: str.toCharArray()){\n\t\t\t\tif(Character.isUpperCase(c)){\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\t}\n\n\t\t\t\tfor (Alphabet x : Alphabet.abc){\n\t\t\t\t\tif(c == x.ch){\n\t\t\t\t\t\tx.with = true;\n\t\t\t\t\t\tx.count ++;\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tfor(char c: str.toCharArray()){\n\t\t\t\tif(Character.isUpperCase(c)){\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\t}\n\n\t\t\t\tfor (Alphabet x : Alphabet.abc){\n\t\t\t\t\tif(c == x.ch){\n\t\t\t\t\t\tx.with = true;\n\t\t\t\t\t\tx.count ++;\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(char c: str.toCharArray()){\n\t\t\t\tif(Character.isUpperCase(c)){\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\t}\n\n\t\t\t\tfor (Alphabet x : Alphabet.abc){\n\t\t\t\t\tif(c == x.ch){\n\t\t\t\t\t\tx.with = true;\n\t\t\t\t\t\tx.count ++;\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}",
"char c",
"str.toCharArray()",
"str.toCharArray",
"str",
"{\n\t\t\t\tif(Character.isUpperCase(c)){\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\t}\n\n\t\t\t\tfor (Alphabet x : Alphabet.abc){\n\t\t\t\t\tif(c == x.ch){\n\t\t\t\t\t\tx.with = true;\n\t\t\t\t\t\tx.count ++;\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(Character.isUpperCase(c)){\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\t}\n\n\t\t\t\tfor (Alphabet x : Alphabet.abc){\n\t\t\t\t\tif(c == x.ch){\n\t\t\t\t\t\tx.with = true;\n\t\t\t\t\t\tx.count ++;\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}",
"if(Character.isUpperCase(c)){\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\t}",
"Character.isUpperCase(c)",
"Character.isUpperCase",
"Character",
"c",
"{\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\t}",
"c = Character.toLowerCase(c)",
"c",
"Character.toLowerCase(c)",
"Character.toLowerCase",
"Character",
"c",
"for (Alphabet x : Alphabet.abc){\n\t\t\t\t\tif(c == x.ch){\n\t\t\t\t\t\tx.with = true;\n\t\t\t\t\t\tx.count ++;\n\t\t\t\t\t}\t\n\t\t\t\t}",
"Alphabet x",
"Alphabet.abc",
"Alphabet",
"Alphabet.abc",
"{\n\t\t\t\t\tif(c == x.ch){\n\t\t\t\t\t\tx.with = true;\n\t\t\t\t\t\tx.count ++;\n\t\t\t\t\t}\t\n\t\t\t\t}",
"{\n\t\t\t\t\tif(c == x.ch){\n\t\t\t\t\t\tx.with = true;\n\t\t\t\t\t\tx.count ++;\n\t\t\t\t\t}\t\n\t\t\t\t}",
"if(c == x.ch){\n\t\t\t\t\t\tx.with = true;\n\t\t\t\t\t\tx.count ++;\n\t\t\t\t\t}",
"c == x.ch",
"c",
"x.ch",
"x",
"x.ch",
"{\n\t\t\t\t\t\tx.with = true;\n\t\t\t\t\t\tx.count ++;\n\t\t\t\t\t}",
"x.with = true",
"x.with",
"x",
"x.with",
"true",
"x.count ++",
"x.count",
"x",
"x.count",
"for(Alphabet x : Alphabet.abc){\n\t\t\tSystem.out.println(x.ch + \" : \" + x.count);\n\t\t}",
"Alphabet x",
"Alphabet.abc",
"Alphabet",
"Alphabet.abc",
"{\n\t\t\tSystem.out.println(x.ch + \" : \" + x.count);\n\t\t}",
"{\n\t\t\tSystem.out.println(x.ch + \" : \" + x.count);\n\t\t}",
"System.out.println(x.ch + \" : \" + x.count)",
"System.out.println",
"System.out",
"System",
"System.out",
"x.ch + \" : \" + x.count",
"x.ch + \" : \" + x.count",
"x.ch",
"x",
"x.ch",
"\" : \"",
"x.count",
"x",
"x.count",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tchar a = 'a';\n\t\tfor (int i = 0; i < 26; i++){\n\t\t\tAlphabet.abc.add(new Alphabet(a++));\n\t\t}\n\n\t\t\t\t\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString str;\n\t\n\t\twhile((str = br.readLine()) != null){\n\t\t\tfor(char c: str.toCharArray()){\n\t\t\t\tif(Character.isUpperCase(c)){\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\t}\n\n\t\t\t\tfor (Alphabet x : Alphabet.abc){\n\t\t\t\t\tif(c == x.ch){\n\t\t\t\t\t\tx.with = true;\n\t\t\t\t\t\tx.count ++;\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\t\t\t\n\n\t\tfor(Alphabet x : Alphabet.abc){\n\t\t\tSystem.out.println(x.ch + \" : \" + x.count);\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tchar a = 'a';\n\t\tfor (int i = 0; i < 26; i++){\n\t\t\tAlphabet.abc.add(new Alphabet(a++));\n\t\t}\n\n\t\t\t\t\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString str;\n\t\n\t\twhile((str = br.readLine()) != null){\n\t\t\tfor(char c: str.toCharArray()){\n\t\t\t\tif(Character.isUpperCase(c)){\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\t}\n\n\t\t\t\tfor (Alphabet x : Alphabet.abc){\n\t\t\t\t\tif(c == x.ch){\n\t\t\t\t\t\tx.with = true;\n\t\t\t\t\t\tx.count ++;\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\t\t\t\n\n\t\tfor(Alphabet x : Alphabet.abc){\n\t\t\tSystem.out.println(x.ch + \" : \" + x.count);\n\t\t}\n\t}\n}",
"Main"
]
| import java.io.*;
import java.util.*;
class Alphabet{
char ch;
int count = 0;
boolean with = false;
static List<Alphabet> abc = new ArrayList<Alphabet>();
Alphabet(char ch){
this.ch = ch;
}
}
public class Main{
public static void main(String[] args) throws IOException{
char a = 'a';
for (int i = 0; i < 26; i++){
Alphabet.abc.add(new Alphabet(a++));
}
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
while((str = br.readLine()) != null){
for(char c: str.toCharArray()){
if(Character.isUpperCase(c)){
c = Character.toLowerCase(c);
}
for (Alphabet x : Alphabet.abc){
if(c == x.ch){
x.with = true;
x.count ++;
}
}
}
}
for(Alphabet x : Alphabet.abc){
System.out.println(x.ch + " : " + x.count);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
40,
18,
13,
2,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
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
],
[
107,
11
],
[
107,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
26,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
42,
52
],
[
52,
53
],
[
53,
54
],
[
42,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
58,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
57,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
14,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
77,
85
],
[
85,
86
],
[
86,
87
],
[
77,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
96,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
96,
101
],
[
101,
102
],
[
101,
103
],
[
12,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
]
| [
"/**\n * 与えられた英文に含まれる、\n * 各アルファベットの数を数えるプログラムを作成して下さい。 なお、小文字と大文字は区別しません。\n */\n\n//スキャナつかうため\n\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic class Main {\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\n\t\t// アルファベットの数配列を作る\n\t\tint[] cou = new int[26];\n\n\t\t// 処理を繰り返す\n\t\twhile (sc.hasNext()) {\n\t\t\t// 受け取った文字列を受け取り、小文字にする\n\t\t\tString stralf = sc.nextLine();\n\t\t\tstralf = stralf.toLowerCase();\n\t\t\t// 文字列をcharに変換して配列に入れていく\n\t\t\tchar[] chalf = stralf.toCharArray();\n\t\t\t// 受け取った文字列の長さだけ繰り返す\n\t\t\tfor (int i = 0; i < chalf.length; i++) {\n\t\t\t\t// chalfにアルファベットはいっていた場合、couの配列の数字に+1していく\n\t\t\t\tif (chalf[i] >= 'a' && chalf[i] <= 'z')\n\t\t\t\t\tcou[chalf[i] - 'a']++;\n\t\t\t}\n\t\t}\n\t\t// アルファベット+1でつ次の文字表示\n\t\t// アルファベトに対応している数値表示\n\t\tfor (int k = 0; k < 26; k++) {\n\t\t\tSystem.out.println((char) ('a' + k) + \" : \" + cou[k]);\n\t\t}\n\n\t}\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\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\n\t\t// アルファベットの数配列を作る\n\t\tint[] cou = new int[26];\n\n\t\t// 処理を繰り返す\n\t\twhile (sc.hasNext()) {\n\t\t\t// 受け取った文字列を受け取り、小文字にする\n\t\t\tString stralf = sc.nextLine();\n\t\t\tstralf = stralf.toLowerCase();\n\t\t\t// 文字列をcharに変換して配列に入れていく\n\t\t\tchar[] chalf = stralf.toCharArray();\n\t\t\t// 受け取った文字列の長さだけ繰り返す\n\t\t\tfor (int i = 0; i < chalf.length; i++) {\n\t\t\t\t// chalfにアルファベットはいっていた場合、couの配列の数字に+1していく\n\t\t\t\tif (chalf[i] >= 'a' && chalf[i] <= 'z')\n\t\t\t\t\tcou[chalf[i] - 'a']++;\n\t\t\t}\n\t\t}\n\t\t// アルファベット+1でつ次の文字表示\n\t\t// アルファベトに対応している数値表示\n\t\tfor (int k = 0; k < 26; k++) {\n\t\t\tSystem.out.println((char) ('a' + k) + \" : \" + cou[k]);\n\t\t}\n\n\t}\n}",
"Main",
"// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\n\t\t// アルファベットの数配列を作る\n\t\tint[] cou = new int[26];\n\n\t\t// 処理を繰り返す\n\t\twhile (sc.hasNext()) {\n\t\t\t// 受け取った文字列を受け取り、小文字にする\n\t\t\tString stralf = sc.nextLine();\n\t\t\tstralf = stralf.toLowerCase();\n\t\t\t// 文字列をcharに変換して配列に入れていく\n\t\t\tchar[] chalf = stralf.toCharArray();\n\t\t\t// 受け取った文字列の長さだけ繰り返す\n\t\t\tfor (int i = 0; i < chalf.length; i++) {\n\t\t\t\t// chalfにアルファベットはいっていた場合、couの配列の数字に+1していく\n\t\t\t\tif (chalf[i] >= 'a' && chalf[i] <= 'z')\n\t\t\t\t\tcou[chalf[i] - 'a']++;\n\t\t\t}\n\t\t}\n\t\t// アルファベット+1でつ次の文字表示\n\t\t// アルファベトに対応している数値表示\n\t\tfor (int k = 0; k < 26; k++) {\n\t\t\tSystem.out.println((char) ('a' + k) + \" : \" + cou[k]);\n\t\t}\n\n\t}",
"main",
"{\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\n\t\t// アルファベットの数配列を作る\n\t\tint[] cou = new int[26];\n\n\t\t// 処理を繰り返す\n\t\twhile (sc.hasNext()) {\n\t\t\t// 受け取った文字列を受け取り、小文字にする\n\t\t\tString stralf = sc.nextLine();\n\t\t\tstralf = stralf.toLowerCase();\n\t\t\t// 文字列をcharに変換して配列に入れていく\n\t\t\tchar[] chalf = stralf.toCharArray();\n\t\t\t// 受け取った文字列の長さだけ繰り返す\n\t\t\tfor (int i = 0; i < chalf.length; i++) {\n\t\t\t\t// chalfにアルファベットはいっていた場合、couの配列の数字に+1していく\n\t\t\t\tif (chalf[i] >= 'a' && chalf[i] <= 'z')\n\t\t\t\t\tcou[chalf[i] - 'a']++;\n\t\t\t}\n\t\t}\n\t\t// アルファベット+1でつ次の文字表示\n\t\t// アルファベトに対応している数値表示\n\t\tfor (int k = 0; k < 26; k++) {\n\t\t\tSystem.out.println((char) ('a' + k) + \" : \" + cou[k]);\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));",
"sc",
"new Scanner(new BufferedReader(new InputStreamReader(System.in)))",
"int[] cou = new int[26];",
"cou",
"new int[26]",
"26",
"while (sc.hasNext()) {\n\t\t\t// 受け取った文字列を受け取り、小文字にする\n\t\t\tString stralf = sc.nextLine();\n\t\t\tstralf = stralf.toLowerCase();\n\t\t\t// 文字列をcharに変換して配列に入れていく\n\t\t\tchar[] chalf = stralf.toCharArray();\n\t\t\t// 受け取った文字列の長さだけ繰り返す\n\t\t\tfor (int i = 0; i < chalf.length; i++) {\n\t\t\t\t// chalfにアルファベットはいっていた場合、couの配列の数字に+1していく\n\t\t\t\tif (chalf[i] >= 'a' && chalf[i] <= 'z')\n\t\t\t\t\tcou[chalf[i] - 'a']++;\n\t\t\t}\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\t// 受け取った文字列を受け取り、小文字にする\n\t\t\tString stralf = sc.nextLine();\n\t\t\tstralf = stralf.toLowerCase();\n\t\t\t// 文字列をcharに変換して配列に入れていく\n\t\t\tchar[] chalf = stralf.toCharArray();\n\t\t\t// 受け取った文字列の長さだけ繰り返す\n\t\t\tfor (int i = 0; i < chalf.length; i++) {\n\t\t\t\t// chalfにアルファベットはいっていた場合、couの配列の数字に+1していく\n\t\t\t\tif (chalf[i] >= 'a' && chalf[i] <= 'z')\n\t\t\t\t\tcou[chalf[i] - 'a']++;\n\t\t\t}\n\t\t}",
"String stralf = sc.nextLine();",
"stralf",
"sc.nextLine()",
"sc.nextLine",
"sc",
"stralf = stralf.toLowerCase()",
"stralf",
"stralf.toLowerCase()",
"stralf.toLowerCase",
"stralf",
"char[] chalf = stralf.toCharArray();",
"chalf",
"stralf.toCharArray()",
"stralf.toCharArray",
"stralf",
"for (int i = 0; i < chalf.length; i++) {\n\t\t\t\t// chalfにアルファベットはいっていた場合、couの配列の数字に+1していく\n\t\t\t\tif (chalf[i] >= 'a' && chalf[i] <= 'z')\n\t\t\t\t\tcou[chalf[i] - 'a']++;\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < chalf.length",
"i",
"chalf.length",
"chalf",
"chalf.length",
"i++",
"i++",
"i",
"{\n\t\t\t\t// chalfにアルファベットはいっていた場合、couの配列の数字に+1していく\n\t\t\t\tif (chalf[i] >= 'a' && chalf[i] <= 'z')\n\t\t\t\t\tcou[chalf[i] - 'a']++;\n\t\t\t}",
"{\n\t\t\t\t// chalfにアルファベットはいっていた場合、couの配列の数字に+1していく\n\t\t\t\tif (chalf[i] >= 'a' && chalf[i] <= 'z')\n\t\t\t\t\tcou[chalf[i] - 'a']++;\n\t\t\t}",
"if (chalf[i] >= 'a' && chalf[i] <= 'z')\n\t\t\t\t\tcou[chalf[i] - 'a']++;",
"chalf[i] >= 'a' && chalf[i] <= 'z'",
"chalf[i] >= 'a'",
"chalf[i]",
"chalf",
"i",
"'a'",
"chalf[i] <= 'z'",
"chalf[i]",
"chalf",
"i",
"'z'",
"cou[chalf[i] - 'a']++",
"cou[chalf[i] - 'a']",
"cou",
"chalf[i] - 'a'",
"chalf[i]",
"chalf",
"i",
"'a'",
"for (int k = 0; k < 26; k++) {\n\t\t\tSystem.out.println((char) ('a' + k) + \" : \" + cou[k]);\n\t\t}",
"int k = 0;",
"int k = 0;",
"k",
"0",
"k < 26",
"k",
"26",
"k++",
"k++",
"k",
"{\n\t\t\tSystem.out.println((char) ('a' + k) + \" : \" + cou[k]);\n\t\t}",
"{\n\t\t\tSystem.out.println((char) ('a' + k) + \" : \" + cou[k]);\n\t\t}",
"System.out.println((char) ('a' + k) + \" : \" + cou[k])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char) ('a' + k) + \" : \" + cou[k]",
"(char) ('a' + k) + \" : \" + cou[k]",
"(char) ('a' + k)",
"'a'",
"k",
"\" : \"",
"cou[k]",
"cou",
"k",
"String[] args",
"args",
"public class Main {\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\n\t\t// アルファベットの数配列を作る\n\t\tint[] cou = new int[26];\n\n\t\t// 処理を繰り返す\n\t\twhile (sc.hasNext()) {\n\t\t\t// 受け取った文字列を受け取り、小文字にする\n\t\t\tString stralf = sc.nextLine();\n\t\t\tstralf = stralf.toLowerCase();\n\t\t\t// 文字列をcharに変換して配列に入れていく\n\t\t\tchar[] chalf = stralf.toCharArray();\n\t\t\t// 受け取った文字列の長さだけ繰り返す\n\t\t\tfor (int i = 0; i < chalf.length; i++) {\n\t\t\t\t// chalfにアルファベットはいっていた場合、couの配列の数字に+1していく\n\t\t\t\tif (chalf[i] >= 'a' && chalf[i] <= 'z')\n\t\t\t\t\tcou[chalf[i] - 'a']++;\n\t\t\t}\n\t\t}\n\t\t// アルファベット+1でつ次の文字表示\n\t\t// アルファベトに対応している数値表示\n\t\tfor (int k = 0; k < 26; k++) {\n\t\t\tSystem.out.println((char) ('a' + k) + \" : \" + cou[k]);\n\t\t}\n\n\t}\n}",
"public class Main {\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\n\t\t// アルファベットの数配列を作る\n\t\tint[] cou = new int[26];\n\n\t\t// 処理を繰り返す\n\t\twhile (sc.hasNext()) {\n\t\t\t// 受け取った文字列を受け取り、小文字にする\n\t\t\tString stralf = sc.nextLine();\n\t\t\tstralf = stralf.toLowerCase();\n\t\t\t// 文字列をcharに変換して配列に入れていく\n\t\t\tchar[] chalf = stralf.toCharArray();\n\t\t\t// 受け取った文字列の長さだけ繰り返す\n\t\t\tfor (int i = 0; i < chalf.length; i++) {\n\t\t\t\t// chalfにアルファベットはいっていた場合、couの配列の数字に+1していく\n\t\t\t\tif (chalf[i] >= 'a' && chalf[i] <= 'z')\n\t\t\t\t\tcou[chalf[i] - 'a']++;\n\t\t\t}\n\t\t}\n\t\t// アルファベット+1でつ次の文字表示\n\t\t// アルファベトに対応している数値表示\n\t\tfor (int k = 0; k < 26; k++) {\n\t\t\tSystem.out.println((char) ('a' + k) + \" : \" + cou[k]);\n\t\t}\n\n\t}\n}",
"Main"
]
| /**
* 与えられた英文に含まれる、
* 各アルファベットの数を数えるプログラムを作成して下さい。 なお、小文字と大文字は区別しません。
*/
//スキャナつかうため
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;
public class Main {
// プログラムのエントリポイント
public static void main(String[] args) {
// 入力ストリームの生成
Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
// アルファベットの数配列を作る
int[] cou = new int[26];
// 処理を繰り返す
while (sc.hasNext()) {
// 受け取った文字列を受け取り、小文字にする
String stralf = sc.nextLine();
stralf = stralf.toLowerCase();
// 文字列をcharに変換して配列に入れていく
char[] chalf = stralf.toCharArray();
// 受け取った文字列の長さだけ繰り返す
for (int i = 0; i < chalf.length; i++) {
// chalfにアルファベットはいっていた場合、couの配列の数字に+1していく
if (chalf[i] >= 'a' && chalf[i] <= 'z')
cou[chalf[i] - 'a']++;
}
}
// アルファベット+1でつ次の文字表示
// アルファベトに対応している数値表示
for (int k = 0; k < 26; k++) {
System.out.println((char) ('a' + k) + " : " + cou[k]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
13,
17,
4,
18,
13,
13,
30,
0,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
104,
5
],
[
104,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
59,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
8,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
79,
80
],
[
79,
81
],
[
74,
82
],
[
82,
83
],
[
83,
84
],
[
74,
85
],
[
86,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
93,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
6,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] cnt = new int[26];\n\n while (sc.hasNext()) {\n String input = sc.next();\n input = input.toLowerCase();\n for (int i = 0; i < input.length(); i++) {\n for (int j = 0; j < 26; j++) {\n if ((j+'a') == input.charAt(i)) {\n cnt[j] += 1;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) {\n System.out.println((char)('a'+i) + \" : \" + cnt[i]);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] cnt = new int[26];\n\n while (sc.hasNext()) {\n String input = sc.next();\n input = input.toLowerCase();\n for (int i = 0; i < input.length(); i++) {\n for (int j = 0; j < 26; j++) {\n if ((j+'a') == input.charAt(i)) {\n cnt[j] += 1;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) {\n System.out.println((char)('a'+i) + \" : \" + cnt[i]);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] cnt = new int[26];\n\n while (sc.hasNext()) {\n String input = sc.next();\n input = input.toLowerCase();\n for (int i = 0; i < input.length(); i++) {\n for (int j = 0; j < 26; j++) {\n if ((j+'a') == input.charAt(i)) {\n cnt[j] += 1;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) {\n System.out.println((char)('a'+i) + \" : \" + cnt[i]);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int[] cnt = new int[26];\n\n while (sc.hasNext()) {\n String input = sc.next();\n input = input.toLowerCase();\n for (int i = 0; i < input.length(); i++) {\n for (int j = 0; j < 26; j++) {\n if ((j+'a') == input.charAt(i)) {\n cnt[j] += 1;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) {\n System.out.println((char)('a'+i) + \" : \" + cnt[i]);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] cnt = new int[26];",
"cnt",
"new int[26]",
"26",
"while (sc.hasNext()) {\n String input = sc.next();\n input = input.toLowerCase();\n for (int i = 0; i < input.length(); i++) {\n for (int j = 0; j < 26; j++) {\n if ((j+'a') == input.charAt(i)) {\n cnt[j] += 1;\n }\n }\n }\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n String input = sc.next();\n input = input.toLowerCase();\n for (int i = 0; i < input.length(); i++) {\n for (int j = 0; j < 26; j++) {\n if ((j+'a') == input.charAt(i)) {\n cnt[j] += 1;\n }\n }\n }\n }",
"String input = sc.next();",
"input",
"sc.next()",
"sc.next",
"sc",
"input = input.toLowerCase()",
"input",
"input.toLowerCase()",
"input.toLowerCase",
"input",
"for (int i = 0; i < input.length(); i++) {\n for (int j = 0; j < 26; j++) {\n if ((j+'a') == input.charAt(i)) {\n cnt[j] += 1;\n }\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < input.length()",
"i",
"input.length()",
"input.length",
"input",
"i++",
"i++",
"i",
"{\n for (int j = 0; j < 26; j++) {\n if ((j+'a') == input.charAt(i)) {\n cnt[j] += 1;\n }\n }\n }",
"{\n for (int j = 0; j < 26; j++) {\n if ((j+'a') == input.charAt(i)) {\n cnt[j] += 1;\n }\n }\n }",
"for (int j = 0; j < 26; j++) {\n if ((j+'a') == input.charAt(i)) {\n cnt[j] += 1;\n }\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < 26",
"j",
"26",
"j++",
"j++",
"j",
"{\n if ((j+'a') == input.charAt(i)) {\n cnt[j] += 1;\n }\n }",
"{\n if ((j+'a') == input.charAt(i)) {\n cnt[j] += 1;\n }\n }",
"if ((j+'a') == input.charAt(i)) {\n cnt[j] += 1;\n }",
"(j+'a') == input.charAt(i)",
"(j+'a')",
"j",
"'a'",
"input.charAt(i)",
"input.charAt",
"input",
"i",
"{\n cnt[j] += 1;\n }",
"cnt[j] += 1",
"cnt[j]",
"cnt",
"j",
"1",
"for (int i = 0; i < 26; i++) {\n System.out.println((char)('a'+i) + \" : \" + cnt[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n System.out.println((char)('a'+i) + \" : \" + cnt[i]);\n }",
"{\n System.out.println((char)('a'+i) + \" : \" + cnt[i]);\n }",
"System.out.println((char)('a'+i) + \" : \" + cnt[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)('a'+i) + \" : \" + cnt[i]",
"(char)('a'+i) + \" : \" + cnt[i]",
"(char)('a'+i)",
"'a'",
"i",
"\" : \"",
"cnt[i]",
"cnt",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] cnt = new int[26];\n\n while (sc.hasNext()) {\n String input = sc.next();\n input = input.toLowerCase();\n for (int i = 0; i < input.length(); i++) {\n for (int j = 0; j < 26; j++) {\n if ((j+'a') == input.charAt(i)) {\n cnt[j] += 1;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) {\n System.out.println((char)('a'+i) + \" : \" + cnt[i]);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] cnt = new int[26];\n\n while (sc.hasNext()) {\n String input = sc.next();\n input = input.toLowerCase();\n for (int i = 0; i < input.length(); i++) {\n for (int j = 0; j < 26; j++) {\n if ((j+'a') == input.charAt(i)) {\n cnt[j] += 1;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) {\n System.out.println((char)('a'+i) + \" : \" + cnt[i]);\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] cnt = new int[26];
while (sc.hasNext()) {
String input = sc.next();
input = input.toLowerCase();
for (int i = 0; i < input.length(); i++) {
for (int j = 0; j < 26; j++) {
if ((j+'a') == input.charAt(i)) {
cnt[j] += 1;
}
}
}
}
for (int i = 0; i < 26; i++) {
System.out.println((char)('a'+i) + " : " + cnt[i]);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
41,
13,
4,
18,
13,
17,
41,
13,
20,
17,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
14,
2,
13,
17,
30,
4,
18,
13,
30,
0,
13,
20,
42,
2,
0,
13,
4,
18,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
14,
2,
2,
17,
13,
2,
13,
17,
30,
40,
18,
13,
2,
13,
17,
14,
2,
2,
17,
13,
2,
13,
17,
30,
40,
18,
13,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
4,
18,
13,
2,
17,
13,
17,
18,
13,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
28,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
36,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
28,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
57,
63
],
[
56,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
65,
75
],
[
75,
76
],
[
76,
77
],
[
65,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
79,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
91,
93
],
[
86,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
98,
100
],
[
86,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
106,
107
],
[
106,
108
],
[
101,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
113,
115
],
[
101,
116
],
[
52,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
124,
126
],
[
117,
127
],
[
127,
128
],
[
128,
129
],
[
117,
130
],
[
131,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
138,
141
],
[
141,
142
],
[
142,
143
],
[
141,
144
],
[
144,
145
],
[
144,
146
],
[
136,
147
],
[
134,
148
],
[
148,
149
],
[
148,
150
],
[
132,
151
],
[
52,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
152,
157
],
[
157,
158
],
[
158,
159
],
[
6,
160
],
[
160,
161
]
]
| [
"import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader br = null;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfinal String lb = System.getProperty(\"line.separator\");\n\t\tint[] count = new int[26];\n\t\tString str = null;\n\t\ttry {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tfor(int i = 0; i < str.length(); i++){\n\t\t\t\t\tfinal char ch = str.charAt(i);\n\t\t\t\t\tif('A' <= ch && ch <= 'Z'){\n\t\t\t\t\t\tcount[ch - 'A']++;\n\t\t\t\t\t} else if('a' <= ch && ch <= 'z'){\n\t\t\t\t\t\tcount[ch - 'a']++;\n\t\t\t\t\t} else {}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < count.length; i++){\n\t\t\t\tsb.append(String.valueOf((char)('a'+i))).append(\" : \").append(count[i]).append(lb);\n\t\t\t}\n\t\t\tSystem.out.print(sb.toString());\n\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif(br != null){\n\t\t\t\t\tbr.close();\n\t\t\t\t}\n\t\t\t} catch(Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader br = null;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfinal String lb = System.getProperty(\"line.separator\");\n\t\tint[] count = new int[26];\n\t\tString str = null;\n\t\ttry {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tfor(int i = 0; i < str.length(); i++){\n\t\t\t\t\tfinal char ch = str.charAt(i);\n\t\t\t\t\tif('A' <= ch && ch <= 'Z'){\n\t\t\t\t\t\tcount[ch - 'A']++;\n\t\t\t\t\t} else if('a' <= ch && ch <= 'z'){\n\t\t\t\t\t\tcount[ch - 'a']++;\n\t\t\t\t\t} else {}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < count.length; i++){\n\t\t\t\tsb.append(String.valueOf((char)('a'+i))).append(\" : \").append(count[i]).append(lb);\n\t\t\t}\n\t\t\tSystem.out.print(sb.toString());\n\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif(br != null){\n\t\t\t\t\tbr.close();\n\t\t\t\t}\n\t\t\t} catch(Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tBufferedReader br = null;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfinal String lb = System.getProperty(\"line.separator\");\n\t\tint[] count = new int[26];\n\t\tString str = null;\n\t\ttry {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tfor(int i = 0; i < str.length(); i++){\n\t\t\t\t\tfinal char ch = str.charAt(i);\n\t\t\t\t\tif('A' <= ch && ch <= 'Z'){\n\t\t\t\t\t\tcount[ch - 'A']++;\n\t\t\t\t\t} else if('a' <= ch && ch <= 'z'){\n\t\t\t\t\t\tcount[ch - 'a']++;\n\t\t\t\t\t} else {}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < count.length; i++){\n\t\t\t\tsb.append(String.valueOf((char)('a'+i))).append(\" : \").append(count[i]).append(lb);\n\t\t\t}\n\t\t\tSystem.out.print(sb.toString());\n\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif(br != null){\n\t\t\t\t\tbr.close();\n\t\t\t\t}\n\t\t\t} catch(Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = null;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfinal String lb = System.getProperty(\"line.separator\");\n\t\tint[] count = new int[26];\n\t\tString str = null;\n\t\ttry {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tfor(int i = 0; i < str.length(); i++){\n\t\t\t\t\tfinal char ch = str.charAt(i);\n\t\t\t\t\tif('A' <= ch && ch <= 'Z'){\n\t\t\t\t\t\tcount[ch - 'A']++;\n\t\t\t\t\t} else if('a' <= ch && ch <= 'z'){\n\t\t\t\t\t\tcount[ch - 'a']++;\n\t\t\t\t\t} else {}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < count.length; i++){\n\t\t\t\tsb.append(String.valueOf((char)('a'+i))).append(\" : \").append(count[i]).append(lb);\n\t\t\t}\n\t\t\tSystem.out.print(sb.toString());\n\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif(br != null){\n\t\t\t\t\tbr.close();\n\t\t\t\t}\n\t\t\t} catch(Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}",
"BufferedReader br = null;",
"br",
"null",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"final String lb = System.getProperty(\"line.separator\");",
"lb",
"System.getProperty(\"line.separator\")",
"System.getProperty",
"System",
"\"line.separator\"",
"int[] count = new int[26];",
"count",
"new int[26]",
"26",
"String str = null;",
"str",
"null",
"try {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tfor(int i = 0; i < str.length(); i++){\n\t\t\t\t\tfinal char ch = str.charAt(i);\n\t\t\t\t\tif('A' <= ch && ch <= 'Z'){\n\t\t\t\t\t\tcount[ch - 'A']++;\n\t\t\t\t\t} else if('a' <= ch && ch <= 'z'){\n\t\t\t\t\t\tcount[ch - 'a']++;\n\t\t\t\t\t} else {}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < count.length; i++){\n\t\t\t\tsb.append(String.valueOf((char)('a'+i))).append(\" : \").append(count[i]).append(lb);\n\t\t\t}\n\t\t\tSystem.out.print(sb.toString());\n\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif(br != null){\n\t\t\t\t\tbr.close();\n\t\t\t\t}\n\t\t\t} catch(Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\ttry {\n\t\t\t\tif(br != null){\n\t\t\t\t\tbr.close();\n\t\t\t\t}\n\t\t\t} catch(Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"try {\n\t\t\t\tif(br != null){\n\t\t\t\t\tbr.close();\n\t\t\t\t}\n\t\t\t} catch(Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"catch(Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"Exception e",
"{\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\tif(br != null){\n\t\t\t\t\tbr.close();\n\t\t\t\t}\n\t\t\t}",
"if(br != null){\n\t\t\t\t\tbr.close();\n\t\t\t\t}",
"br != null",
"br",
"null",
"{\n\t\t\t\t\tbr.close();\n\t\t\t\t}",
"br.close()",
"br.close",
"br",
"{\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tfor(int i = 0; i < str.length(); i++){\n\t\t\t\t\tfinal char ch = str.charAt(i);\n\t\t\t\t\tif('A' <= ch && ch <= 'Z'){\n\t\t\t\t\t\tcount[ch - 'A']++;\n\t\t\t\t\t} else if('a' <= ch && ch <= 'z'){\n\t\t\t\t\t\tcount[ch - 'a']++;\n\t\t\t\t\t} else {}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < count.length; i++){\n\t\t\t\tsb.append(String.valueOf((char)('a'+i))).append(\" : \").append(count[i]).append(lb);\n\t\t\t}\n\t\t\tSystem.out.print(sb.toString());\n\n\t\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while((str = br.readLine()) != null){\n\t\t\t\tfor(int i = 0; i < str.length(); i++){\n\t\t\t\t\tfinal char ch = str.charAt(i);\n\t\t\t\t\tif('A' <= ch && ch <= 'Z'){\n\t\t\t\t\t\tcount[ch - 'A']++;\n\t\t\t\t\t} else if('a' <= ch && ch <= 'z'){\n\t\t\t\t\t\tcount[ch - 'a']++;\n\t\t\t\t\t} else {}\n\t\t\t\t}\n\t\t\t}",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\t\tfor(int i = 0; i < str.length(); i++){\n\t\t\t\t\tfinal char ch = str.charAt(i);\n\t\t\t\t\tif('A' <= ch && ch <= 'Z'){\n\t\t\t\t\t\tcount[ch - 'A']++;\n\t\t\t\t\t} else if('a' <= ch && ch <= 'z'){\n\t\t\t\t\t\tcount[ch - 'a']++;\n\t\t\t\t\t} else {}\n\t\t\t\t}\n\t\t\t}",
"for(int i = 0; i < str.length(); i++){\n\t\t\t\t\tfinal char ch = str.charAt(i);\n\t\t\t\t\tif('A' <= ch && ch <= 'Z'){\n\t\t\t\t\t\tcount[ch - 'A']++;\n\t\t\t\t\t} else if('a' <= ch && ch <= 'z'){\n\t\t\t\t\t\tcount[ch - 'a']++;\n\t\t\t\t\t} else {}\n\t\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\tfinal char ch = str.charAt(i);\n\t\t\t\t\tif('A' <= ch && ch <= 'Z'){\n\t\t\t\t\t\tcount[ch - 'A']++;\n\t\t\t\t\t} else if('a' <= ch && ch <= 'z'){\n\t\t\t\t\t\tcount[ch - 'a']++;\n\t\t\t\t\t} else {}\n\t\t\t\t}",
"{\n\t\t\t\t\tfinal char ch = str.charAt(i);\n\t\t\t\t\tif('A' <= ch && ch <= 'Z'){\n\t\t\t\t\t\tcount[ch - 'A']++;\n\t\t\t\t\t} else if('a' <= ch && ch <= 'z'){\n\t\t\t\t\t\tcount[ch - 'a']++;\n\t\t\t\t\t} else {}\n\t\t\t\t}",
"final char ch = str.charAt(i);",
"ch",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"if('A' <= ch && ch <= 'Z'){\n\t\t\t\t\t\tcount[ch - 'A']++;\n\t\t\t\t\t} else if('a' <= ch && ch <= 'z'){\n\t\t\t\t\t\tcount[ch - 'a']++;\n\t\t\t\t\t} else {}",
"'A' <= ch && ch <= 'Z'",
"'A' <= ch",
"'A'",
"ch",
"ch <= 'Z'",
"ch",
"'Z'",
"{\n\t\t\t\t\t\tcount[ch - 'A']++;\n\t\t\t\t\t}",
"count[ch - 'A']++",
"count[ch - 'A']",
"count",
"ch - 'A'",
"ch",
"'A'",
"if('a' <= ch && ch <= 'z'){\n\t\t\t\t\t\tcount[ch - 'a']++;\n\t\t\t\t\t} else {}",
"'a' <= ch && ch <= 'z'",
"'a' <= ch",
"'a'",
"ch",
"ch <= 'z'",
"ch",
"'z'",
"{\n\t\t\t\t\t\tcount[ch - 'a']++;\n\t\t\t\t\t}",
"count[ch - 'a']++",
"count[ch - 'a']",
"count",
"ch - 'a'",
"ch",
"'a'",
"{}",
"for(int i = 0; i < count.length; i++){\n\t\t\t\tsb.append(String.valueOf((char)('a'+i))).append(\" : \").append(count[i]).append(lb);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < count.length",
"i",
"count.length",
"count",
"count.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tsb.append(String.valueOf((char)('a'+i))).append(\" : \").append(count[i]).append(lb);\n\t\t\t}",
"{\n\t\t\t\tsb.append(String.valueOf((char)('a'+i))).append(\" : \").append(count[i]).append(lb);\n\t\t\t}",
"sb.append(String.valueOf((char)('a'+i))).append(\" : \").append(count[i]).append(lb)",
"sb.append(String.valueOf((char)('a'+i))).append(\" : \").append(count[i]).append",
"sb.append(String.valueOf((char)('a'+i))).append(\" : \").append(count[i])",
"sb.append(String.valueOf((char)('a'+i))).append(\" : \").append",
"sb.append(String.valueOf((char)('a'+i))).append(\" : \")",
"sb.append(String.valueOf((char)('a'+i))).append",
"sb.append(String.valueOf((char)('a'+i)))",
"sb.append",
"sb",
"String.valueOf((char)('a'+i))",
"String.valueOf",
"String",
"(char)('a'+i)",
"'a'",
"i",
"\" : \"",
"count[i]",
"count",
"i",
"lb",
"System.out.print(sb.toString())",
"System.out.print",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args"
]
| import java.io.*;
class Main {
public static void main(String[] args){
BufferedReader br = null;
StringBuilder sb = new StringBuilder();
final String lb = System.getProperty("line.separator");
int[] count = new int[26];
String str = null;
try {
br = new BufferedReader(new InputStreamReader(System.in));
while((str = br.readLine()) != null){
for(int i = 0; i < str.length(); i++){
final char ch = str.charAt(i);
if('A' <= ch && ch <= 'Z'){
count[ch - 'A']++;
} else if('a' <= ch && ch <= 'z'){
count[ch - 'a']++;
} else {}
}
}
for(int i = 0; i < count.length; i++){
sb.append(String.valueOf((char)('a'+i))).append(" : ").append(count[i]).append(lb);
}
System.out.print(sb.toString());
} catch(Exception e) {
e.printStackTrace();
} finally {
try {
if(br != null){
br.close();
}
} catch(Exception e) {
e.printStackTrace();
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
20,
17,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
14,
2,
4,
18,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
0,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
0,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
18,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
33,
37
],
[
32,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
39,
49
],
[
49,
50
],
[
50,
51
],
[
39,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
53,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
60,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
82,
84
],
[
77,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
11,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
99,
100
],
[
99,
101
],
[
94,
102
],
[
102,
103
],
[
103,
104
],
[
94,
105
],
[
106,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
109,
111
],
[
106,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
118,
118
],
[
118,
119
],
[
118,
120
],
[
118,
121
],
[
121,
122
],
[
121,
123
],
[
9,
124
],
[
124,
125
]
]
| [
"import java.util.*;\nimport java.io.*;\n \nclass Main{\n public static void main(String args[])throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s;\n int[] num = new int[26];\n char c;\n while((s = br.readLine())!=null){\n if(s.length()>=1200)break;\n for(int j=0; j<s.length(); j++){\n c = s.charAt(j);\n if(c>=0x41 && c<=0x5a){\n c -= 0x41;\n num[c] += 1;\n }else if(c>=0x61 && c<=0x7a){\n c -= 0x61;\n num[c] += 1;\n }\n }\n }\n for(int i=0; i<26; i++){\n c = (char)(0x61 + i);\n System.out.println(c+\" : \"+num[i]); \n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String args[])throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s;\n int[] num = new int[26];\n char c;\n while((s = br.readLine())!=null){\n if(s.length()>=1200)break;\n for(int j=0; j<s.length(); j++){\n c = s.charAt(j);\n if(c>=0x41 && c<=0x5a){\n c -= 0x41;\n num[c] += 1;\n }else if(c>=0x61 && c<=0x7a){\n c -= 0x61;\n num[c] += 1;\n }\n }\n }\n for(int i=0; i<26; i++){\n c = (char)(0x61 + i);\n System.out.println(c+\" : \"+num[i]); \n }\n }\n}",
"Main",
"public static void main(String args[])throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s;\n int[] num = new int[26];\n char c;\n while((s = br.readLine())!=null){\n if(s.length()>=1200)break;\n for(int j=0; j<s.length(); j++){\n c = s.charAt(j);\n if(c>=0x41 && c<=0x5a){\n c -= 0x41;\n num[c] += 1;\n }else if(c>=0x61 && c<=0x7a){\n c -= 0x61;\n num[c] += 1;\n }\n }\n }\n for(int i=0; i<26; i++){\n c = (char)(0x61 + i);\n System.out.println(c+\" : \"+num[i]); \n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s;\n int[] num = new int[26];\n char c;\n while((s = br.readLine())!=null){\n if(s.length()>=1200)break;\n for(int j=0; j<s.length(); j++){\n c = s.charAt(j);\n if(c>=0x41 && c<=0x5a){\n c -= 0x41;\n num[c] += 1;\n }else if(c>=0x61 && c<=0x7a){\n c -= 0x61;\n num[c] += 1;\n }\n }\n }\n for(int i=0; i<26; i++){\n c = (char)(0x61 + i);\n System.out.println(c+\" : \"+num[i]); \n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String s;",
"s",
"int[] num = new int[26];",
"num",
"new int[26]",
"26",
"char c;",
"c",
"while((s = br.readLine())!=null){\n if(s.length()>=1200)break;\n for(int j=0; j<s.length(); j++){\n c = s.charAt(j);\n if(c>=0x41 && c<=0x5a){\n c -= 0x41;\n num[c] += 1;\n }else if(c>=0x61 && c<=0x7a){\n c -= 0x61;\n num[c] += 1;\n }\n }\n }",
"(s = br.readLine())!=null",
"(s = br.readLine())",
"s",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n if(s.length()>=1200)break;\n for(int j=0; j<s.length(); j++){\n c = s.charAt(j);\n if(c>=0x41 && c<=0x5a){\n c -= 0x41;\n num[c] += 1;\n }else if(c>=0x61 && c<=0x7a){\n c -= 0x61;\n num[c] += 1;\n }\n }\n }",
"if(s.length()>=1200)break;",
"s.length()>=1200",
"s.length()",
"s.length",
"s",
"1200",
"break;",
"for(int j=0; j<s.length(); j++){\n c = s.charAt(j);\n if(c>=0x41 && c<=0x5a){\n c -= 0x41;\n num[c] += 1;\n }else if(c>=0x61 && c<=0x7a){\n c -= 0x61;\n num[c] += 1;\n }\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<s.length()",
"j",
"s.length()",
"s.length",
"s",
"j++",
"j++",
"j",
"{\n c = s.charAt(j);\n if(c>=0x41 && c<=0x5a){\n c -= 0x41;\n num[c] += 1;\n }else if(c>=0x61 && c<=0x7a){\n c -= 0x61;\n num[c] += 1;\n }\n }",
"{\n c = s.charAt(j);\n if(c>=0x41 && c<=0x5a){\n c -= 0x41;\n num[c] += 1;\n }else if(c>=0x61 && c<=0x7a){\n c -= 0x61;\n num[c] += 1;\n }\n }",
"c = s.charAt(j)",
"c",
"s.charAt(j)",
"s.charAt",
"s",
"j",
"if(c>=0x41 && c<=0x5a){\n c -= 0x41;\n num[c] += 1;\n }else if(c>=0x61 && c<=0x7a){\n c -= 0x61;\n num[c] += 1;\n }",
"c>=0x41 && c<=0x5a",
"c>=0x41",
"c",
"0x41",
"c<=0x5a",
"c",
"0x5a",
"{\n c -= 0x41;\n num[c] += 1;\n }",
"c -= 0x41",
"c",
"0x41",
"num[c] += 1",
"num[c]",
"num",
"c",
"1",
"if(c>=0x61 && c<=0x7a){\n c -= 0x61;\n num[c] += 1;\n }",
"c>=0x61 && c<=0x7a",
"c>=0x61",
"c",
"0x61",
"c<=0x7a",
"c",
"0x7a",
"{\n c -= 0x61;\n num[c] += 1;\n }",
"c -= 0x61",
"c",
"0x61",
"num[c] += 1",
"num[c]",
"num",
"c",
"1",
"for(int i=0; i<26; i++){\n c = (char)(0x61 + i);\n System.out.println(c+\" : \"+num[i]); \n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n c = (char)(0x61 + i);\n System.out.println(c+\" : \"+num[i]); \n }",
"{\n c = (char)(0x61 + i);\n System.out.println(c+\" : \"+num[i]); \n }",
"c = (char)(0x61 + i)",
"c",
"(char)(0x61 + i)",
"0x61",
"i",
"System.out.println(c+\" : \"+num[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"c+\" : \"+num[i]",
"c+\" : \"+num[i]",
"c",
"\" : \"",
"num[i]",
"num",
"i",
"String args[]",
"args"
]
| import java.util.*;
import java.io.*;
class Main{
public static void main(String args[])throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String s;
int[] num = new int[26];
char c;
while((s = br.readLine())!=null){
if(s.length()>=1200)break;
for(int j=0; j<s.length(); j++){
c = s.charAt(j);
if(c>=0x41 && c<=0x5a){
c -= 0x41;
num[c] += 1;
}else if(c>=0x61 && c<=0x7a){
c -= 0x61;
num[c] += 1;
}
}
}
for(int i=0; i<26; i++){
c = (char)(0x61 + i);
System.out.println(c+" : "+num[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
18,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
43,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
57,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
8,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
84,
86
],
[
79,
87
],
[
87,
88
],
[
88,
89
],
[
79,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
97,
97
],
[
97,
98
],
[
97,
99
],
[
97,
100
],
[
100,
101
],
[
100,
102
],
[
6,
103
],
[
103,
104
]
]
| [
"import java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] chars = new int[256];\n\t\tfor (int i = 0; i < 256; i ++) chars[i] = 0;\n\t\twhile (scan.hasNextLine()) {\n\t\t\tString line = scan.nextLine();\n\t\t\tfor (int i = 0; i < line.length(); i ++) {\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tif (ch >= 'a' && ch <= 'z') chars[ch] ++;\n\t\t\t}\n\t\t}\n\t\tfor (char ch = 'a'; ch <= 'z'; ch ++) System.out.println(ch + \" : \" + chars[ch]);\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\tint[] chars = new int[256];\n\t\tfor (int i = 0; i < 256; i ++) chars[i] = 0;\n\t\twhile (scan.hasNextLine()) {\n\t\t\tString line = scan.nextLine();\n\t\t\tfor (int i = 0; i < line.length(); i ++) {\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tif (ch >= 'a' && ch <= 'z') chars[ch] ++;\n\t\t\t}\n\t\t}\n\t\tfor (char ch = 'a'; ch <= 'z'; ch ++) System.out.println(ch + \" : \" + chars[ch]);\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] chars = new int[256];\n\t\tfor (int i = 0; i < 256; i ++) chars[i] = 0;\n\t\twhile (scan.hasNextLine()) {\n\t\t\tString line = scan.nextLine();\n\t\t\tfor (int i = 0; i < line.length(); i ++) {\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tif (ch >= 'a' && ch <= 'z') chars[ch] ++;\n\t\t\t}\n\t\t}\n\t\tfor (char ch = 'a'; ch <= 'z'; ch ++) System.out.println(ch + \" : \" + chars[ch]);\t\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] chars = new int[256];\n\t\tfor (int i = 0; i < 256; i ++) chars[i] = 0;\n\t\twhile (scan.hasNextLine()) {\n\t\t\tString line = scan.nextLine();\n\t\t\tfor (int i = 0; i < line.length(); i ++) {\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tif (ch >= 'a' && ch <= 'z') chars[ch] ++;\n\t\t\t}\n\t\t}\n\t\tfor (char ch = 'a'; ch <= 'z'; ch ++) System.out.println(ch + \" : \" + chars[ch]);\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] chars = new int[256];",
"chars",
"new int[256]",
"256",
"for (int i = 0; i < 256; i ++) chars[i] = 0;",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 256",
"i",
"256",
"i ++",
"i ++",
"i",
"chars[i] = 0;",
"chars[i] = 0",
"chars[i]",
"chars",
"i",
"0",
"while (scan.hasNextLine()) {\n\t\t\tString line = scan.nextLine();\n\t\t\tfor (int i = 0; i < line.length(); i ++) {\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tif (ch >= 'a' && ch <= 'z') chars[ch] ++;\n\t\t\t}\n\t\t}",
"scan.hasNextLine()",
"scan.hasNextLine",
"scan",
"{\n\t\t\tString line = scan.nextLine();\n\t\t\tfor (int i = 0; i < line.length(); i ++) {\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tif (ch >= 'a' && ch <= 'z') chars[ch] ++;\n\t\t\t}\n\t\t}",
"String line = scan.nextLine();",
"line",
"scan.nextLine()",
"scan.nextLine",
"scan",
"for (int i = 0; i < line.length(); i ++) {\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tif (ch >= 'a' && ch <= 'z') chars[ch] ++;\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < line.length()",
"i",
"line.length()",
"line.length",
"line",
"i ++",
"i ++",
"i",
"{\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tif (ch >= 'a' && ch <= 'z') chars[ch] ++;\n\t\t\t}",
"{\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tif (ch >= 'a' && ch <= 'z') chars[ch] ++;\n\t\t\t}",
"char ch = Character.toLowerCase(line.charAt(i));",
"ch",
"Character.toLowerCase(line.charAt(i))",
"Character.toLowerCase",
"Character",
"line.charAt(i)",
"line.charAt",
"line",
"i",
"if (ch >= 'a' && ch <= 'z') chars[ch] ++;",
"ch >= 'a' && ch <= 'z'",
"ch >= 'a'",
"ch",
"'a'",
"ch <= 'z'",
"ch",
"'z'",
"chars[ch] ++",
"chars[ch]",
"chars",
"ch",
"for (char ch = 'a'; ch <= 'z'; ch ++) System.out.println(ch + \" : \" + chars[ch]);",
"char ch = 'a';",
"char ch = 'a';",
"ch",
"'a'",
"ch <= 'z'",
"ch",
"'z'",
"ch ++",
"ch ++",
"ch",
"System.out.println(ch + \" : \" + chars[ch]);",
"System.out.println(ch + \" : \" + chars[ch])",
"System.out.println",
"System.out",
"System",
"System.out",
"ch + \" : \" + chars[ch]",
"ch + \" : \" + chars[ch]",
"ch",
"\" : \"",
"chars[ch]",
"chars",
"ch",
"String[] args",
"args"
]
| import java.util.Scanner;
class Main{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int[] chars = new int[256];
for (int i = 0; i < 256; i ++) chars[i] = 0;
while (scan.hasNextLine()) {
String line = scan.nextLine();
for (int i = 0; i < line.length(); i ++) {
char ch = Character.toLowerCase(line.charAt(i));
if (ch >= 'a' && ch <= 'z') chars[ch] ++;
}
}
for (char ch = 'a'; ch <= 'z'; ch ++) System.out.println(ch + " : " + chars[ch]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
28,
13,
4,
18,
13,
30,
30,
0,
13,
4,
18,
13,
13,
14,
2,
2,
17,
13,
2,
13,
17,
30,
40,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
93,
14
],
[
93,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
35,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
41,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
17,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
63,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
15,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
]
| [
"import java.util.Arrays;\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint[] count = new int[26];\n\t\twhile (sc.hasNextLine()) {\n\t\t\tString input = sc.nextLine();\n\n\t\t\t\n\t\t\tfor (char c : input.toCharArray()) {\n\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tif ('a' <= c && c <= 'z') {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\tSystem.out.println((char) ('a' + i) + \" : \" + count[i]);\n\t\t}\n\t}\n\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.Map;",
"Map",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint[] count = new int[26];\n\t\twhile (sc.hasNextLine()) {\n\t\t\tString input = sc.nextLine();\n\n\t\t\t\n\t\t\tfor (char c : input.toCharArray()) {\n\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tif ('a' <= c && c <= 'z') {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\tSystem.out.println((char) ('a' + i) + \" : \" + count[i]);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint[] count = new int[26];\n\t\twhile (sc.hasNextLine()) {\n\t\t\tString input = sc.nextLine();\n\n\t\t\t\n\t\t\tfor (char c : input.toCharArray()) {\n\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tif ('a' <= c && c <= 'z') {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\tSystem.out.println((char) ('a' + i) + \" : \" + count[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint[] count = new int[26];\n\t\twhile (sc.hasNextLine()) {\n\t\t\tString input = sc.nextLine();\n\n\t\t\t\n\t\t\tfor (char c : input.toCharArray()) {\n\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tif ('a' <= c && c <= 'z') {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\tSystem.out.println((char) ('a' + i) + \" : \" + count[i]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] count = new int[26];",
"count",
"new int[26]",
"26",
"while (sc.hasNextLine()) {\n\t\t\tString input = sc.nextLine();\n\n\t\t\t\n\t\t\tfor (char c : input.toCharArray()) {\n\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tif ('a' <= c && c <= 'z') {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"sc.hasNextLine()",
"sc.hasNextLine",
"sc",
"{\n\t\t\tString input = sc.nextLine();\n\n\t\t\t\n\t\t\tfor (char c : input.toCharArray()) {\n\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tif ('a' <= c && c <= 'z') {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"String input = sc.nextLine();",
"input",
"sc.nextLine()",
"sc.nextLine",
"sc",
"for (char c : input.toCharArray()) {\n\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tif ('a' <= c && c <= 'z') {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}",
"char c",
"input.toCharArray()",
"input.toCharArray",
"input",
"{\n\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tif ('a' <= c && c <= 'z') {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tif ('a' <= c && c <= 'z') {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}",
"c = Character.toLowerCase(c)",
"c",
"Character.toLowerCase(c)",
"Character.toLowerCase",
"Character",
"c",
"if ('a' <= c && c <= 'z') {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}",
"'a' <= c && c <= 'z'",
"'a' <= c",
"'a'",
"c",
"c <= 'z'",
"c",
"'z'",
"{\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}",
"count[c - 'a']++",
"count[c - 'a']",
"count",
"c - 'a'",
"c",
"'a'",
"for (int i = 0; i < 26; i++) {\n\t\t\tSystem.out.println((char) ('a' + i) + \" : \" + count[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println((char) ('a' + i) + \" : \" + count[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println((char) ('a' + i) + \" : \" + count[i]);\n\t\t}",
"System.out.println((char) ('a' + i) + \" : \" + count[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char) ('a' + i) + \" : \" + count[i]",
"(char) ('a' + i) + \" : \" + count[i]",
"(char) ('a' + i)",
"'a'",
"i",
"\" : \"",
"count[i]",
"count",
"i",
"String args[]",
"args",
"public class Main {\n\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint[] count = new int[26];\n\t\twhile (sc.hasNextLine()) {\n\t\t\tString input = sc.nextLine();\n\n\t\t\t\n\t\t\tfor (char c : input.toCharArray()) {\n\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tif ('a' <= c && c <= 'z') {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\tSystem.out.println((char) ('a' + i) + \" : \" + count[i]);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint[] count = new int[26];\n\t\twhile (sc.hasNextLine()) {\n\t\t\tString input = sc.nextLine();\n\n\t\t\t\n\t\t\tfor (char c : input.toCharArray()) {\n\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tif ('a' <= c && c <= 'z') {\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\tSystem.out.println((char) ('a' + i) + \" : \" + count[i]);\n\t\t}\n\t}\n\n}",
"Main"
]
| import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int[] count = new int[26];
while (sc.hasNextLine()) {
String input = sc.nextLine();
for (char c : input.toCharArray()) {
c = Character.toLowerCase(c);
if ('a' <= c && c <= 'z') {
count[c - 'a']++;
}
}
}
for (int i = 0; i < 26; i++) {
System.out.println((char) ('a' + i) + " : " + count[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
13,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
18,
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
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
11,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
38,
48
],
[
48,
49
],
[
49,
50
],
[
38,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
52,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
11,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
74,
75
],
[
75,
76
],
[
66,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
84,
84
],
[
84,
85
],
[
84,
86
],
[
84,
87
],
[
87,
88
],
[
87,
89
],
[
9,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static final int MAX = 256;\n\n\tpublic static void main(String[] args) {\n\t\tint i = 0, k = 0;\n\t\tchar ch1 = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] chars = new int[256];\n\t\twhile (sc.hasNextLine()) {\n\t\t\tString line = sc.nextLine();\n\t\t\tfor (i = 0; i < line.length(); i++) {\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tchars[ch]++;\n\t\t\t}\n\t\t}\n\t\tfor (char ch = 'a'; ch <= 'z'; ch++)\n\t\t\tSystem.out.println(ch + \" : \" + chars[ch]);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static final int MAX = 256;\n\n\tpublic static void main(String[] args) {\n\t\tint i = 0, k = 0;\n\t\tchar ch1 = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] chars = new int[256];\n\t\twhile (sc.hasNextLine()) {\n\t\t\tString line = sc.nextLine();\n\t\t\tfor (i = 0; i < line.length(); i++) {\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tchars[ch]++;\n\t\t\t}\n\t\t}\n\t\tfor (char ch = 'a'; ch <= 'z'; ch++)\n\t\t\tSystem.out.println(ch + \" : \" + chars[ch]);\n\t}\n}",
"Main",
"public static final int MAX = 256;",
"MAX",
"256",
"public static void main(String[] args) {\n\t\tint i = 0, k = 0;\n\t\tchar ch1 = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] chars = new int[256];\n\t\twhile (sc.hasNextLine()) {\n\t\t\tString line = sc.nextLine();\n\t\t\tfor (i = 0; i < line.length(); i++) {\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tchars[ch]++;\n\t\t\t}\n\t\t}\n\t\tfor (char ch = 'a'; ch <= 'z'; ch++)\n\t\t\tSystem.out.println(ch + \" : \" + chars[ch]);\n\t}",
"main",
"{\n\t\tint i = 0, k = 0;\n\t\tchar ch1 = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] chars = new int[256];\n\t\twhile (sc.hasNextLine()) {\n\t\t\tString line = sc.nextLine();\n\t\t\tfor (i = 0; i < line.length(); i++) {\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tchars[ch]++;\n\t\t\t}\n\t\t}\n\t\tfor (char ch = 'a'; ch <= 'z'; ch++)\n\t\t\tSystem.out.println(ch + \" : \" + chars[ch]);\n\t}",
"int i = 0",
"i",
"0",
"k = 0;",
"k",
"0",
"char ch1 = 0;",
"ch1",
"0",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] chars = new int[256];",
"chars",
"new int[256]",
"256",
"while (sc.hasNextLine()) {\n\t\t\tString line = sc.nextLine();\n\t\t\tfor (i = 0; i < line.length(); i++) {\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tchars[ch]++;\n\t\t\t}\n\t\t}",
"sc.hasNextLine()",
"sc.hasNextLine",
"sc",
"{\n\t\t\tString line = sc.nextLine();\n\t\t\tfor (i = 0; i < line.length(); i++) {\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tchars[ch]++;\n\t\t\t}\n\t\t}",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"for (i = 0; i < line.length(); i++) {\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tchars[ch]++;\n\t\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < line.length()",
"i",
"line.length()",
"line.length",
"line",
"i++",
"i++",
"i",
"{\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tchars[ch]++;\n\t\t\t}",
"{\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tchars[ch]++;\n\t\t\t}",
"char ch = Character.toLowerCase(line.charAt(i));",
"ch",
"Character.toLowerCase(line.charAt(i))",
"Character.toLowerCase",
"Character",
"line.charAt(i)",
"line.charAt",
"line",
"i",
"chars[ch]++",
"chars[ch]",
"chars",
"ch",
"for (char ch = 'a'; ch <= 'z'; ch++)\n\t\t\tSystem.out.println(ch + \" : \" + chars[ch]);",
"char ch = 'a';",
"char ch = 'a';",
"ch",
"'a'",
"ch <= 'z'",
"ch",
"'z'",
"ch++",
"ch++",
"ch",
"System.out.println(ch + \" : \" + chars[ch]);",
"System.out.println(ch + \" : \" + chars[ch])",
"System.out.println",
"System.out",
"System",
"System.out",
"ch + \" : \" + chars[ch]",
"ch + \" : \" + chars[ch]",
"ch",
"\" : \"",
"chars[ch]",
"chars",
"ch",
"String[] args",
"args",
"public class Main {\n\tpublic static final int MAX = 256;\n\n\tpublic static void main(String[] args) {\n\t\tint i = 0, k = 0;\n\t\tchar ch1 = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] chars = new int[256];\n\t\twhile (sc.hasNextLine()) {\n\t\t\tString line = sc.nextLine();\n\t\t\tfor (i = 0; i < line.length(); i++) {\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tchars[ch]++;\n\t\t\t}\n\t\t}\n\t\tfor (char ch = 'a'; ch <= 'z'; ch++)\n\t\t\tSystem.out.println(ch + \" : \" + chars[ch]);\n\t}\n}",
"public class Main {\n\tpublic static final int MAX = 256;\n\n\tpublic static void main(String[] args) {\n\t\tint i = 0, k = 0;\n\t\tchar ch1 = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] chars = new int[256];\n\t\twhile (sc.hasNextLine()) {\n\t\t\tString line = sc.nextLine();\n\t\t\tfor (i = 0; i < line.length(); i++) {\n\t\t\t\tchar ch = Character.toLowerCase(line.charAt(i));\n\t\t\t\tchars[ch]++;\n\t\t\t}\n\t\t}\n\t\tfor (char ch = 'a'; ch <= 'z'; ch++)\n\t\t\tSystem.out.println(ch + \" : \" + chars[ch]);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static final int MAX = 256;
public static void main(String[] args) {
int i = 0, k = 0;
char ch1 = 0;
Scanner sc = new Scanner(System.in);
int[] chars = new int[256];
while (sc.hasNextLine()) {
String line = sc.nextLine();
for (i = 0; i < line.length(); i++) {
char ch = Character.toLowerCase(line.charAt(i));
chars[ch]++;
}
}
for (char ch = 'a'; ch <= 'z'; ch++)
System.out.println(ch + " : " + chars[ch]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
20,
17,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
41,
13,
2,
13,
17,
40,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
41,
13,
2,
13,
17,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
17,
17,
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
],
[
8,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
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
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
44,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
59,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
51,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
77,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
8,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
87,
95
],
[
95,
96
],
[
96,
97
],
[
87,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
106,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
106,
111
],
[
111,
112
],
[
111,
113
],
[
6,
114
],
[
114,
115
]
]
| [
"import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n\n String s;\n int[] counter = new int[26];\n char temp;\n while(scanner.hasNext()){\n s = scanner.nextLine();\n for(int i = 0; i < s.length(); i++){\n temp = s.charAt(i);\n if(temp >= 'A' && temp <= 'Z'){\n int index = temp - 'A';\n counter[index]++;\n }\n else if(temp >= 'a' && temp <= 'z'){\n int index = temp - 'a';\n counter[index]++;\n }\n }\n }\n for(int i = 0; i < 26; i++){\n System.out.println((char)(i+'a') + \" : \"+ counter[i]);\n }\n\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n\n String s;\n int[] counter = new int[26];\n char temp;\n while(scanner.hasNext()){\n s = scanner.nextLine();\n for(int i = 0; i < s.length(); i++){\n temp = s.charAt(i);\n if(temp >= 'A' && temp <= 'Z'){\n int index = temp - 'A';\n counter[index]++;\n }\n else if(temp >= 'a' && temp <= 'z'){\n int index = temp - 'a';\n counter[index]++;\n }\n }\n }\n for(int i = 0; i < 26; i++){\n System.out.println((char)(i+'a') + \" : \"+ counter[i]);\n }\n\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n\n String s;\n int[] counter = new int[26];\n char temp;\n while(scanner.hasNext()){\n s = scanner.nextLine();\n for(int i = 0; i < s.length(); i++){\n temp = s.charAt(i);\n if(temp >= 'A' && temp <= 'Z'){\n int index = temp - 'A';\n counter[index]++;\n }\n else if(temp >= 'a' && temp <= 'z'){\n int index = temp - 'a';\n counter[index]++;\n }\n }\n }\n for(int i = 0; i < 26; i++){\n System.out.println((char)(i+'a') + \" : \"+ counter[i]);\n }\n\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n String s;\n int[] counter = new int[26];\n char temp;\n while(scanner.hasNext()){\n s = scanner.nextLine();\n for(int i = 0; i < s.length(); i++){\n temp = s.charAt(i);\n if(temp >= 'A' && temp <= 'Z'){\n int index = temp - 'A';\n counter[index]++;\n }\n else if(temp >= 'a' && temp <= 'z'){\n int index = temp - 'a';\n counter[index]++;\n }\n }\n }\n for(int i = 0; i < 26; i++){\n System.out.println((char)(i+'a') + \" : \"+ counter[i]);\n }\n\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String s;",
"s",
"int[] counter = new int[26];",
"counter",
"new int[26]",
"26",
"char temp;",
"temp",
"while(scanner.hasNext()){\n s = scanner.nextLine();\n for(int i = 0; i < s.length(); i++){\n temp = s.charAt(i);\n if(temp >= 'A' && temp <= 'Z'){\n int index = temp - 'A';\n counter[index]++;\n }\n else if(temp >= 'a' && temp <= 'z'){\n int index = temp - 'a';\n counter[index]++;\n }\n }\n }",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n s = scanner.nextLine();\n for(int i = 0; i < s.length(); i++){\n temp = s.charAt(i);\n if(temp >= 'A' && temp <= 'Z'){\n int index = temp - 'A';\n counter[index]++;\n }\n else if(temp >= 'a' && temp <= 'z'){\n int index = temp - 'a';\n counter[index]++;\n }\n }\n }",
"s = scanner.nextLine()",
"s",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"for(int i = 0; i < s.length(); i++){\n temp = s.charAt(i);\n if(temp >= 'A' && temp <= 'Z'){\n int index = temp - 'A';\n counter[index]++;\n }\n else if(temp >= 'a' && temp <= 'z'){\n int index = temp - 'a';\n counter[index]++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n temp = s.charAt(i);\n if(temp >= 'A' && temp <= 'Z'){\n int index = temp - 'A';\n counter[index]++;\n }\n else if(temp >= 'a' && temp <= 'z'){\n int index = temp - 'a';\n counter[index]++;\n }\n }",
"{\n temp = s.charAt(i);\n if(temp >= 'A' && temp <= 'Z'){\n int index = temp - 'A';\n counter[index]++;\n }\n else if(temp >= 'a' && temp <= 'z'){\n int index = temp - 'a';\n counter[index]++;\n }\n }",
"temp = s.charAt(i)",
"temp",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"if(temp >= 'A' && temp <= 'Z'){\n int index = temp - 'A';\n counter[index]++;\n }\n else if(temp >= 'a' && temp <= 'z'){\n int index = temp - 'a';\n counter[index]++;\n }",
"temp >= 'A' && temp <= 'Z'",
"temp >= 'A'",
"temp",
"'A'",
"temp <= 'Z'",
"temp",
"'Z'",
"{\n int index = temp - 'A';\n counter[index]++;\n }",
"int index = temp - 'A';",
"index",
"temp - 'A'",
"temp",
"'A'",
"counter[index]++",
"counter[index]",
"counter",
"index",
"if(temp >= 'a' && temp <= 'z'){\n int index = temp - 'a';\n counter[index]++;\n }",
"temp >= 'a' && temp <= 'z'",
"temp >= 'a'",
"temp",
"'a'",
"temp <= 'z'",
"temp",
"'z'",
"{\n int index = temp - 'a';\n counter[index]++;\n }",
"int index = temp - 'a';",
"index",
"temp - 'a'",
"temp",
"'a'",
"counter[index]++",
"counter[index]",
"counter",
"index",
"for(int i = 0; i < 26; i++){\n System.out.println((char)(i+'a') + \" : \"+ counter[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n System.out.println((char)(i+'a') + \" : \"+ counter[i]);\n }",
"{\n System.out.println((char)(i+'a') + \" : \"+ counter[i]);\n }",
"System.out.println((char)(i+'a') + \" : \"+ counter[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)(i+'a') + \" : \"+ counter[i]",
"(char)(i+'a') + \" : \"+ counter[i]",
"(char)(i+'a')",
"i",
"'a'",
"\" : \"",
"counter[i]",
"counter",
"i",
"String[] args",
"args"
]
| import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
String s;
int[] counter = new int[26];
char temp;
while(scanner.hasNext()){
s = scanner.nextLine();
for(int i = 0; i < s.length(); i++){
temp = s.charAt(i);
if(temp >= 'A' && temp <= 'Z'){
int index = temp - 'A';
counter[index]++;
}
else if(temp >= 'a' && temp <= 'z'){
int index = temp - 'a';
counter[index]++;
}
}
}
for(int i = 0; i < 26; i++){
System.out.println((char)(i+'a') + " : "+ counter[i]);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
0,
13,
2,
13,
13,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
41,
13,
20,
17,
41,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
168,
5
],
[
168,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
32,
36
],
[
32,
37
],
[
32,
38
],
[
32,
39
],
[
32,
40
],
[
32,
41
],
[
32,
42
],
[
32,
43
],
[
32,
44
],
[
32,
45
],
[
32,
46
],
[
32,
47
],
[
32,
48
],
[
32,
49
],
[
32,
50
],
[
32,
51
],
[
32,
52
],
[
32,
53
],
[
32,
54
],
[
32,
55
],
[
32,
56
],
[
32,
57
],
[
32,
58
],
[
8,
59
],
[
59,
60
],
[
59,
61
],
[
8,
63
],
[
63,
64
],
[
63,
65
],
[
66,
67
],
[
67,
68
],
[
8,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
69,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
8,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
87,
97
],
[
97,
98
],
[
98,
99
],
[
87,
100
],
[
101,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
106,
111
],
[
101,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
117,
118
],
[
117,
119
],
[
112,
120
],
[
120,
121
],
[
121,
122
],
[
112,
123
],
[
124,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
130,
132
],
[
125,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
8,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
138,
143
],
[
143,
144
],
[
143,
145
],
[
138,
146
],
[
146,
147
],
[
147,
148
],
[
138,
149
],
[
150,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
151,
156
],
[
157,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
157,
161
],
[
157,
162
],
[
162,
163
],
[
162,
164
],
[
6,
165
],
[
165,
166
],
[
0,
167
],
[
167,
168
],
[
167,
169
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tString linesum = \"\";\n\t\twhile(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tlinesum = linesum + line;\n\t\t}//?????°???????????¬????????????????????????\n\t\tchar[] alpha = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\tint[] alphabet = new int[26];\n\t\tchar[] word = new char[linesum.length()];\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\talphabet[i] = 0;\n\t\t}\n\t\tfor(int i = 0; i < linesum.length(); i++){\n\t\t\tword[i] = linesum.toLowerCase().charAt(i);\n\t\t\tfor(int j = 0; j < 26; j++){\n\t\t\t\tif(word[i] == alpha[j]){\n\t\t\t\t\talphabet[j]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\tSystem.out.println(alpha[i] + \" : \" + alphabet[i]);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tString linesum = \"\";\n\t\twhile(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tlinesum = linesum + line;\n\t\t}//?????°???????????¬????????????????????????\n\t\tchar[] alpha = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\tint[] alphabet = new int[26];\n\t\tchar[] word = new char[linesum.length()];\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\talphabet[i] = 0;\n\t\t}\n\t\tfor(int i = 0; i < linesum.length(); i++){\n\t\t\tword[i] = linesum.toLowerCase().charAt(i);\n\t\t\tfor(int j = 0; j < 26; j++){\n\t\t\t\tif(word[i] == alpha[j]){\n\t\t\t\t\talphabet[j]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\tSystem.out.println(alpha[i] + \" : \" + alphabet[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tString linesum = \"\";\n\t\twhile(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tlinesum = linesum + line;\n\t\t}//?????°???????????¬????????????????????????\n\t\tchar[] alpha = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\tint[] alphabet = new int[26];\n\t\tchar[] word = new char[linesum.length()];\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\talphabet[i] = 0;\n\t\t}\n\t\tfor(int i = 0; i < linesum.length(); i++){\n\t\t\tword[i] = linesum.toLowerCase().charAt(i);\n\t\t\tfor(int j = 0; j < 26; j++){\n\t\t\t\tif(word[i] == alpha[j]){\n\t\t\t\t\talphabet[j]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\tSystem.out.println(alpha[i] + \" : \" + alphabet[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tString linesum = \"\";\n\t\twhile(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tlinesum = linesum + line;\n\t\t}//?????°???????????¬????????????????????????\n\t\tchar[] alpha = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\tint[] alphabet = new int[26];\n\t\tchar[] word = new char[linesum.length()];\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\talphabet[i] = 0;\n\t\t}\n\t\tfor(int i = 0; i < linesum.length(); i++){\n\t\t\tword[i] = linesum.toLowerCase().charAt(i);\n\t\t\tfor(int j = 0; j < 26; j++){\n\t\t\t\tif(word[i] == alpha[j]){\n\t\t\t\t\talphabet[j]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\tSystem.out.println(alpha[i] + \" : \" + alphabet[i]);\n\t\t}\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String linesum = \"\";",
"linesum",
"\"\"",
"while(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tlinesum = linesum + line;\n\t\t}//?????°???????????¬????????????????????????",
"in.hasNext()",
"in.hasNext",
"in",
"{\n\t\t\tString line = in.nextLine();\n\t\t\tlinesum = linesum + line;\n\t\t}",
"String line = in.nextLine();",
"line",
"in.nextLine()",
"in.nextLine",
"in",
"linesum = linesum + line",
"linesum",
"linesum + line",
"linesum",
"line",
"char[] alpha = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};",
"alpha",
"{'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}",
"'a'",
"'b'",
"'c'",
"'d'",
"'e'",
"'f'",
"'g'",
"'h'",
"'i'",
"'j'",
"'k'",
"'l'",
"'m'",
"'n'",
"'o'",
"'p'",
"'q'",
"'r'",
"'s'",
"'t'",
"'u'",
"'v'",
"'w'",
"'x'",
"'y'",
"'z'",
"int[] alphabet = new int[26];",
"alphabet",
"new int[26]",
"26",
"char[] word = new char[linesum.length()];",
"word",
"new char[linesum.length()]",
"linesum.length()",
"linesum.length",
"linesum",
"for(int i = 0; i < 26; i++){\n\t\t\talphabet[i] = 0;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\talphabet[i] = 0;\n\t\t}",
"{\n\t\t\talphabet[i] = 0;\n\t\t}",
"alphabet[i] = 0",
"alphabet[i]",
"alphabet",
"i",
"0",
"for(int i = 0; i < linesum.length(); i++){\n\t\t\tword[i] = linesum.toLowerCase().charAt(i);\n\t\t\tfor(int j = 0; j < 26; j++){\n\t\t\t\tif(word[i] == alpha[j]){\n\t\t\t\t\talphabet[j]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < linesum.length()",
"i",
"linesum.length()",
"linesum.length",
"linesum",
"i++",
"i++",
"i",
"{\n\t\t\tword[i] = linesum.toLowerCase().charAt(i);\n\t\t\tfor(int j = 0; j < 26; j++){\n\t\t\t\tif(word[i] == alpha[j]){\n\t\t\t\t\talphabet[j]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tword[i] = linesum.toLowerCase().charAt(i);\n\t\t\tfor(int j = 0; j < 26; j++){\n\t\t\t\tif(word[i] == alpha[j]){\n\t\t\t\t\talphabet[j]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"word[i] = linesum.toLowerCase().charAt(i)",
"word[i]",
"word",
"i",
"linesum.toLowerCase().charAt(i)",
"linesum.toLowerCase().charAt",
"linesum.toLowerCase()",
"linesum.toLowerCase",
"linesum",
"i",
"for(int j = 0; j < 26; j++){\n\t\t\t\tif(word[i] == alpha[j]){\n\t\t\t\t\talphabet[j]++;\n\t\t\t\t}\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < 26",
"j",
"26",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(word[i] == alpha[j]){\n\t\t\t\t\talphabet[j]++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(word[i] == alpha[j]){\n\t\t\t\t\talphabet[j]++;\n\t\t\t\t}\n\t\t\t}",
"if(word[i] == alpha[j]){\n\t\t\t\t\talphabet[j]++;\n\t\t\t\t}",
"word[i] == alpha[j]",
"word[i]",
"word",
"i",
"alpha[j]",
"alpha",
"j",
"{\n\t\t\t\t\talphabet[j]++;\n\t\t\t\t}",
"alphabet[j]++",
"alphabet[j]",
"alphabet",
"j",
"for(int i = 0; i < 26; i++){\n\t\t\tSystem.out.println(alpha[i] + \" : \" + alphabet[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(alpha[i] + \" : \" + alphabet[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(alpha[i] + \" : \" + alphabet[i]);\n\t\t}",
"System.out.println(alpha[i] + \" : \" + alphabet[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"alpha[i] + \" : \" + alphabet[i]",
"alpha[i] + \" : \" + alphabet[i]",
"alpha[i]",
"alpha",
"i",
"\" : \"",
"alphabet[i]",
"alphabet",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tString linesum = \"\";\n\t\twhile(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tlinesum = linesum + line;\n\t\t}//?????°???????????¬????????????????????????\n\t\tchar[] alpha = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\tint[] alphabet = new int[26];\n\t\tchar[] word = new char[linesum.length()];\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\talphabet[i] = 0;\n\t\t}\n\t\tfor(int i = 0; i < linesum.length(); i++){\n\t\t\tword[i] = linesum.toLowerCase().charAt(i);\n\t\t\tfor(int j = 0; j < 26; j++){\n\t\t\t\tif(word[i] == alpha[j]){\n\t\t\t\t\talphabet[j]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\tSystem.out.println(alpha[i] + \" : \" + alphabet[i]);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tString linesum = \"\";\n\t\twhile(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tlinesum = linesum + line;\n\t\t}//?????°???????????¬????????????????????????\n\t\tchar[] alpha = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\tint[] alphabet = new int[26];\n\t\tchar[] word = new char[linesum.length()];\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\talphabet[i] = 0;\n\t\t}\n\t\tfor(int i = 0; i < linesum.length(); i++){\n\t\t\tword[i] = linesum.toLowerCase().charAt(i);\n\t\t\tfor(int j = 0; j < 26; j++){\n\t\t\t\tif(word[i] == alpha[j]){\n\t\t\t\t\talphabet[j]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 26; i++){\n\t\t\tSystem.out.println(alpha[i] + \" : \" + alphabet[i]);\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner in = new Scanner(System.in);
String linesum = "";
while(in.hasNext()){
String line = in.nextLine();
linesum = linesum + line;
}//?????°???????????¬????????????????????????
char[] alpha = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};
int[] alphabet = new int[26];
char[] word = new char[linesum.length()];
for(int i = 0; i < 26; i++){
alphabet[i] = 0;
}
for(int i = 0; i < linesum.length(); i++){
word[i] = linesum.toLowerCase().charAt(i);
for(int j = 0; j < 26; j++){
if(word[i] == alpha[j]){
alphabet[j]++;
}
}
}
for(int i = 0; i < 26; i++){
System.out.println(alpha[i] + " : " + alphabet[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
4,
18,
13,
17,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
4,
18,
13,
13,
41,
13,
20,
41,
13,
20,
17,
28,
13,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
2,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
40,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
535,
14
],
[
535,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
21,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
39,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
17,
51
],
[
51,
52
],
[
51,
53
],
[
17,
54
],
[
54,
55
],
[
54,
56
],
[
17,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
63,
73
],
[
73,
74
],
[
74,
75
],
[
63,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
80,
84
],
[
84,
85
],
[
84,
86
],
[
77,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
88,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
87,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
87,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
103,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
102,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
102,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
118,
123
],
[
123,
124
],
[
124,
125
],
[
123,
126
],
[
117,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
117,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
133,
138
],
[
138,
139
],
[
139,
140
],
[
138,
141
],
[
132,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
132,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
149,
152
],
[
148,
153
],
[
153,
154
],
[
154,
155
],
[
153,
156
],
[
147,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
147,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
164,
167
],
[
163,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
162,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
162,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
179,
182
],
[
178,
183
],
[
183,
184
],
[
184,
185
],
[
183,
186
],
[
177,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
177,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
194,
197
],
[
193,
198
],
[
198,
199
],
[
199,
200
],
[
198,
201
],
[
192,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
192,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
209,
212
],
[
208,
213
],
[
213,
214
],
[
214,
215
],
[
213,
216
],
[
207,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
207,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
224,
227
],
[
223,
228
],
[
228,
229
],
[
229,
230
],
[
228,
231
],
[
222,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
222,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
239,
242
],
[
238,
243
],
[
243,
244
],
[
244,
245
],
[
243,
246
],
[
237,
247
],
[
247,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
237,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
254,
257
],
[
253,
258
],
[
258,
259
],
[
259,
260
],
[
258,
261
],
[
252,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
252,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
269,
272
],
[
268,
273
],
[
273,
274
],
[
274,
275
],
[
273,
276
],
[
267,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
267,
282
],
[
282,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
284,
287
],
[
283,
288
],
[
288,
289
],
[
289,
290
],
[
288,
291
],
[
282,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
282,
297
],
[
297,
298
],
[
298,
299
],
[
299,
300
],
[
300,
301
],
[
299,
302
],
[
298,
303
],
[
303,
304
],
[
304,
305
],
[
303,
306
],
[
297,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
297,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
315,
316
],
[
314,
317
],
[
313,
318
],
[
318,
319
],
[
319,
320
],
[
318,
321
],
[
312,
322
],
[
322,
323
],
[
323,
324
],
[
324,
325
],
[
324,
326
],
[
312,
327
],
[
327,
328
],
[
328,
329
],
[
329,
330
],
[
330,
331
],
[
329,
332
],
[
328,
333
],
[
333,
334
],
[
334,
335
],
[
333,
336
],
[
327,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
327,
342
],
[
342,
343
],
[
343,
344
],
[
344,
345
],
[
345,
346
],
[
344,
347
],
[
343,
348
],
[
348,
349
],
[
349,
350
],
[
348,
351
],
[
342,
352
],
[
352,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
342,
357
],
[
357,
358
],
[
358,
359
],
[
359,
360
],
[
360,
361
],
[
359,
362
],
[
358,
363
],
[
363,
364
],
[
364,
365
],
[
363,
366
],
[
357,
367
],
[
367,
368
],
[
368,
369
],
[
369,
370
],
[
369,
371
],
[
357,
372
],
[
372,
373
],
[
373,
374
],
[
374,
375
],
[
375,
376
],
[
374,
377
],
[
373,
378
],
[
378,
379
],
[
379,
380
],
[
378,
381
],
[
372,
382
],
[
382,
383
],
[
383,
384
],
[
384,
385
],
[
384,
386
],
[
372,
387
],
[
387,
388
],
[
388,
389
],
[
389,
390
],
[
390,
391
],
[
389,
392
],
[
388,
393
],
[
393,
394
],
[
394,
395
],
[
393,
396
],
[
387,
397
],
[
397,
398
],
[
398,
399
],
[
399,
400
],
[
399,
401
],
[
387,
402
],
[
402,
403
],
[
403,
404
],
[
404,
405
],
[
405,
406
],
[
404,
407
],
[
403,
408
],
[
408,
409
],
[
409,
410
],
[
408,
411
],
[
402,
412
],
[
412,
413
],
[
413,
414
],
[
414,
415
],
[
414,
416
],
[
402,
417
],
[
417,
418
],
[
418,
419
],
[
419,
420
],
[
420,
421
],
[
419,
422
],
[
418,
423
],
[
423,
424
],
[
424,
425
],
[
423,
426
],
[
417,
427
],
[
427,
428
],
[
428,
429
],
[
429,
430
],
[
429,
431
],
[
417,
432
],
[
432,
433
],
[
433,
434
],
[
434,
435
],
[
435,
436
],
[
434,
437
],
[
433,
438
],
[
438,
439
],
[
439,
440
],
[
438,
441
],
[
432,
442
],
[
442,
443
],
[
443,
444
],
[
444,
445
],
[
444,
446
],
[
432,
447
],
[
447,
448
],
[
448,
449
],
[
449,
450
],
[
450,
451
],
[
449,
452
],
[
448,
453
],
[
453,
454
],
[
454,
455
],
[
453,
456
],
[
447,
457
],
[
457,
458
],
[
458,
459
],
[
459,
460
],
[
459,
461
],
[
447,
462
],
[
462,
463
],
[
463,
464
],
[
464,
465
],
[
465,
466
],
[
464,
467
],
[
463,
468
],
[
468,
469
],
[
469,
470
],
[
468,
471
],
[
462,
472
],
[
472,
473
],
[
473,
474
],
[
474,
475
],
[
474,
476
],
[
17,
477
],
[
477,
478
],
[
478,
479
],
[
479,
480
],
[
479,
481
],
[
477,
482
],
[
482,
483
],
[
482,
484
],
[
484,
485
],
[
484,
486
],
[
477,
487
],
[
487,
488
],
[
488,
489
],
[
477,
490
],
[
491,
491
],
[
491,
492
],
[
492,
493
],
[
493,
494
],
[
493,
495
],
[
492,
496
],
[
496,
497
],
[
497,
498
],
[
498,
499
],
[
499,
500
],
[
499,
501
],
[
497,
502
],
[
503,
503
],
[
503,
504
],
[
504,
505
],
[
504,
506
],
[
503,
507
],
[
503,
508
],
[
508,
509
],
[
508,
510
],
[
496,
511
],
[
511,
512
],
[
512,
513
],
[
513,
514
],
[
513,
515
],
[
511,
516
],
[
492,
517
],
[
517,
518
],
[
518,
519
],
[
519,
520
],
[
520,
521
],
[
520,
522
],
[
518,
523
],
[
524,
524
],
[
524,
525
],
[
525,
526
],
[
525,
527
],
[
524,
528
],
[
524,
529
],
[
529,
530
],
[
529,
531
],
[
15,
532
],
[
532,
533
],
[
0,
534
],
[
534,
535
],
[
534,
536
]
]
| [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class Main {\n\tpublic static void main(String[] arges) {\n\n\t\tList<String> k = new ArrayList<String>();\n\t\ttry {\n\t\t\tBufferedReader stdReader = new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in));\n\t\t\tString line;\n\t\t\twhile ((line = stdReader.readLine()) != null) {\n\t\t\t\tk.add(line);\n\t\t\t\t\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.getStackTrace();\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t\tString[] alfalfa = new String[] { \"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\",\n\t\t\t\t\"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\",\n\t\t\t\t\"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\" };\n\t\tint[] arfa = new int[26];\n\t\tfor (String string : k) {\n\t\t\tfor (int i = 0; i < string.length(); i++) {\n\t\t\t\tString one = string.substring(i, i + 1);\n\n\t\t\t\tif (one.equals(\"a\") || one.equals(\"A\")) {\n\t\t\t\t\tarfa[0]++;\n\t\t\t\t} else if (one.equals(\"b\") || one.equals(\"B\")) {\n\t\t\t\t\tarfa[1]++;\n\t\t\t\t} else if (one.equals(\"c\") || one.equals(\"C\")) {\n\t\t\t\t\tarfa[2]++;\n\t\t\t\t} else if (one.equals(\"d\") || one.equals(\"D\")) {\n\t\t\t\t\tarfa[3]++;\n\t\t\t\t} else if (one.equals(\"e\") || one.equals(\"E\")) {\n\t\t\t\t\tarfa[4]++;\n\t\t\t\t} else if (one.equals(\"f\") || one.equals(\"F\")) {\n\t\t\t\t\tarfa[5]++;\n\t\t\t\t} else if (one.equals(\"g\") || one.equals(\"G\")) {\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t} else if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\n\t\t}for (int i = 0; i < arfa.length; i++) {\n\t\t\t\tif (i == 25) {\n\t\t\t\t\tSystem.out.print(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t}\n\t\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n\tpublic static void main(String[] arges) {\n\n\t\tList<String> k = new ArrayList<String>();\n\t\ttry {\n\t\t\tBufferedReader stdReader = new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in));\n\t\t\tString line;\n\t\t\twhile ((line = stdReader.readLine()) != null) {\n\t\t\t\tk.add(line);\n\t\t\t\t\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.getStackTrace();\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t\tString[] alfalfa = new String[] { \"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\",\n\t\t\t\t\"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\",\n\t\t\t\t\"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\" };\n\t\tint[] arfa = new int[26];\n\t\tfor (String string : k) {\n\t\t\tfor (int i = 0; i < string.length(); i++) {\n\t\t\t\tString one = string.substring(i, i + 1);\n\n\t\t\t\tif (one.equals(\"a\") || one.equals(\"A\")) {\n\t\t\t\t\tarfa[0]++;\n\t\t\t\t} else if (one.equals(\"b\") || one.equals(\"B\")) {\n\t\t\t\t\tarfa[1]++;\n\t\t\t\t} else if (one.equals(\"c\") || one.equals(\"C\")) {\n\t\t\t\t\tarfa[2]++;\n\t\t\t\t} else if (one.equals(\"d\") || one.equals(\"D\")) {\n\t\t\t\t\tarfa[3]++;\n\t\t\t\t} else if (one.equals(\"e\") || one.equals(\"E\")) {\n\t\t\t\t\tarfa[4]++;\n\t\t\t\t} else if (one.equals(\"f\") || one.equals(\"F\")) {\n\t\t\t\t\tarfa[5]++;\n\t\t\t\t} else if (one.equals(\"g\") || one.equals(\"G\")) {\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t} else if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\n\t\t}for (int i = 0; i < arfa.length; i++) {\n\t\t\t\tif (i == 25) {\n\t\t\t\t\tSystem.out.print(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t}\n\t\t\t}\n\t}\n}",
"Main",
"public static void main(String[] arges) {\n\n\t\tList<String> k = new ArrayList<String>();\n\t\ttry {\n\t\t\tBufferedReader stdReader = new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in));\n\t\t\tString line;\n\t\t\twhile ((line = stdReader.readLine()) != null) {\n\t\t\t\tk.add(line);\n\t\t\t\t\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.getStackTrace();\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t\tString[] alfalfa = new String[] { \"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\",\n\t\t\t\t\"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\",\n\t\t\t\t\"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\" };\n\t\tint[] arfa = new int[26];\n\t\tfor (String string : k) {\n\t\t\tfor (int i = 0; i < string.length(); i++) {\n\t\t\t\tString one = string.substring(i, i + 1);\n\n\t\t\t\tif (one.equals(\"a\") || one.equals(\"A\")) {\n\t\t\t\t\tarfa[0]++;\n\t\t\t\t} else if (one.equals(\"b\") || one.equals(\"B\")) {\n\t\t\t\t\tarfa[1]++;\n\t\t\t\t} else if (one.equals(\"c\") || one.equals(\"C\")) {\n\t\t\t\t\tarfa[2]++;\n\t\t\t\t} else if (one.equals(\"d\") || one.equals(\"D\")) {\n\t\t\t\t\tarfa[3]++;\n\t\t\t\t} else if (one.equals(\"e\") || one.equals(\"E\")) {\n\t\t\t\t\tarfa[4]++;\n\t\t\t\t} else if (one.equals(\"f\") || one.equals(\"F\")) {\n\t\t\t\t\tarfa[5]++;\n\t\t\t\t} else if (one.equals(\"g\") || one.equals(\"G\")) {\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t} else if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\n\t\t}for (int i = 0; i < arfa.length; i++) {\n\t\t\t\tif (i == 25) {\n\t\t\t\t\tSystem.out.print(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t}\n\t\t\t}\n\t}",
"main",
"{\n\n\t\tList<String> k = new ArrayList<String>();\n\t\ttry {\n\t\t\tBufferedReader stdReader = new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in));\n\t\t\tString line;\n\t\t\twhile ((line = stdReader.readLine()) != null) {\n\t\t\t\tk.add(line);\n\t\t\t\t\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.getStackTrace();\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t\tString[] alfalfa = new String[] { \"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\",\n\t\t\t\t\"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\",\n\t\t\t\t\"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\" };\n\t\tint[] arfa = new int[26];\n\t\tfor (String string : k) {\n\t\t\tfor (int i = 0; i < string.length(); i++) {\n\t\t\t\tString one = string.substring(i, i + 1);\n\n\t\t\t\tif (one.equals(\"a\") || one.equals(\"A\")) {\n\t\t\t\t\tarfa[0]++;\n\t\t\t\t} else if (one.equals(\"b\") || one.equals(\"B\")) {\n\t\t\t\t\tarfa[1]++;\n\t\t\t\t} else if (one.equals(\"c\") || one.equals(\"C\")) {\n\t\t\t\t\tarfa[2]++;\n\t\t\t\t} else if (one.equals(\"d\") || one.equals(\"D\")) {\n\t\t\t\t\tarfa[3]++;\n\t\t\t\t} else if (one.equals(\"e\") || one.equals(\"E\")) {\n\t\t\t\t\tarfa[4]++;\n\t\t\t\t} else if (one.equals(\"f\") || one.equals(\"F\")) {\n\t\t\t\t\tarfa[5]++;\n\t\t\t\t} else if (one.equals(\"g\") || one.equals(\"G\")) {\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t} else if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\n\t\t}for (int i = 0; i < arfa.length; i++) {\n\t\t\t\tif (i == 25) {\n\t\t\t\t\tSystem.out.print(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t}\n\t\t\t}\n\t}",
"List<String> k = new ArrayList<String>();",
"k",
"new ArrayList<String>()",
"try {\n\t\t\tBufferedReader stdReader = new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in));\n\t\t\tString line;\n\t\t\twhile ((line = stdReader.readLine()) != null) {\n\t\t\t\tk.add(line);\n\t\t\t\t\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.getStackTrace();\n\t\t\tSystem.exit(0);\n\t\t}",
"catch (Exception e) {\n\t\t\te.getStackTrace();\n\t\t\tSystem.exit(0);\n\t\t}",
"Exception e",
"{\n\t\t\te.getStackTrace();\n\t\t\tSystem.exit(0);\n\t\t}",
"e.getStackTrace()",
"e.getStackTrace",
"e",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n\t\t\tBufferedReader stdReader = new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in));\n\t\t\tString line;\n\t\t\twhile ((line = stdReader.readLine()) != null) {\n\t\t\t\tk.add(line);\n\t\t\t\t\t\t\t}\n\t\t}",
"BufferedReader stdReader = new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in));",
"stdReader",
"new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in))",
"String line;",
"line",
"while ((line = stdReader.readLine()) != null) {\n\t\t\t\tk.add(line);\n\t\t\t\t\t\t\t}",
"(line = stdReader.readLine()) != null",
"(line = stdReader.readLine())",
"line",
"stdReader.readLine()",
"stdReader.readLine",
"stdReader",
"null",
"{\n\t\t\t\tk.add(line);\n\t\t\t\t\t\t\t}",
"k.add(line)",
"k.add",
"k",
"line",
"String[] alfalfa = new String[] { \"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\",\n\t\t\t\t\"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\",\n\t\t\t\t\"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\" };",
"alfalfa",
"new String[] { \"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\",\n\t\t\t\t\"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\",\n\t\t\t\t\"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\" }",
"int[] arfa = new int[26];",
"arfa",
"new int[26]",
"26",
"for (String string : k) {\n\t\t\tfor (int i = 0; i < string.length(); i++) {\n\t\t\t\tString one = string.substring(i, i + 1);\n\n\t\t\t\tif (one.equals(\"a\") || one.equals(\"A\")) {\n\t\t\t\t\tarfa[0]++;\n\t\t\t\t} else if (one.equals(\"b\") || one.equals(\"B\")) {\n\t\t\t\t\tarfa[1]++;\n\t\t\t\t} else if (one.equals(\"c\") || one.equals(\"C\")) {\n\t\t\t\t\tarfa[2]++;\n\t\t\t\t} else if (one.equals(\"d\") || one.equals(\"D\")) {\n\t\t\t\t\tarfa[3]++;\n\t\t\t\t} else if (one.equals(\"e\") || one.equals(\"E\")) {\n\t\t\t\t\tarfa[4]++;\n\t\t\t\t} else if (one.equals(\"f\") || one.equals(\"F\")) {\n\t\t\t\t\tarfa[5]++;\n\t\t\t\t} else if (one.equals(\"g\") || one.equals(\"G\")) {\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t} else if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\n\t\t}",
"String string",
"k",
"{\n\t\t\tfor (int i = 0; i < string.length(); i++) {\n\t\t\t\tString one = string.substring(i, i + 1);\n\n\t\t\t\tif (one.equals(\"a\") || one.equals(\"A\")) {\n\t\t\t\t\tarfa[0]++;\n\t\t\t\t} else if (one.equals(\"b\") || one.equals(\"B\")) {\n\t\t\t\t\tarfa[1]++;\n\t\t\t\t} else if (one.equals(\"c\") || one.equals(\"C\")) {\n\t\t\t\t\tarfa[2]++;\n\t\t\t\t} else if (one.equals(\"d\") || one.equals(\"D\")) {\n\t\t\t\t\tarfa[3]++;\n\t\t\t\t} else if (one.equals(\"e\") || one.equals(\"E\")) {\n\t\t\t\t\tarfa[4]++;\n\t\t\t\t} else if (one.equals(\"f\") || one.equals(\"F\")) {\n\t\t\t\t\tarfa[5]++;\n\t\t\t\t} else if (one.equals(\"g\") || one.equals(\"G\")) {\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t} else if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\n\t\t}",
"{\n\t\t\tfor (int i = 0; i < string.length(); i++) {\n\t\t\t\tString one = string.substring(i, i + 1);\n\n\t\t\t\tif (one.equals(\"a\") || one.equals(\"A\")) {\n\t\t\t\t\tarfa[0]++;\n\t\t\t\t} else if (one.equals(\"b\") || one.equals(\"B\")) {\n\t\t\t\t\tarfa[1]++;\n\t\t\t\t} else if (one.equals(\"c\") || one.equals(\"C\")) {\n\t\t\t\t\tarfa[2]++;\n\t\t\t\t} else if (one.equals(\"d\") || one.equals(\"D\")) {\n\t\t\t\t\tarfa[3]++;\n\t\t\t\t} else if (one.equals(\"e\") || one.equals(\"E\")) {\n\t\t\t\t\tarfa[4]++;\n\t\t\t\t} else if (one.equals(\"f\") || one.equals(\"F\")) {\n\t\t\t\t\tarfa[5]++;\n\t\t\t\t} else if (one.equals(\"g\") || one.equals(\"G\")) {\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t} else if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\n\t\t}",
"for (int i = 0; i < string.length(); i++) {\n\t\t\t\tString one = string.substring(i, i + 1);\n\n\t\t\t\tif (one.equals(\"a\") || one.equals(\"A\")) {\n\t\t\t\t\tarfa[0]++;\n\t\t\t\t} else if (one.equals(\"b\") || one.equals(\"B\")) {\n\t\t\t\t\tarfa[1]++;\n\t\t\t\t} else if (one.equals(\"c\") || one.equals(\"C\")) {\n\t\t\t\t\tarfa[2]++;\n\t\t\t\t} else if (one.equals(\"d\") || one.equals(\"D\")) {\n\t\t\t\t\tarfa[3]++;\n\t\t\t\t} else if (one.equals(\"e\") || one.equals(\"E\")) {\n\t\t\t\t\tarfa[4]++;\n\t\t\t\t} else if (one.equals(\"f\") || one.equals(\"F\")) {\n\t\t\t\t\tarfa[5]++;\n\t\t\t\t} else if (one.equals(\"g\") || one.equals(\"G\")) {\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t} else if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < string.length()",
"i",
"string.length()",
"string.length",
"string",
"i++",
"i++",
"i",
"{\n\t\t\t\tString one = string.substring(i, i + 1);\n\n\t\t\t\tif (one.equals(\"a\") || one.equals(\"A\")) {\n\t\t\t\t\tarfa[0]++;\n\t\t\t\t} else if (one.equals(\"b\") || one.equals(\"B\")) {\n\t\t\t\t\tarfa[1]++;\n\t\t\t\t} else if (one.equals(\"c\") || one.equals(\"C\")) {\n\t\t\t\t\tarfa[2]++;\n\t\t\t\t} else if (one.equals(\"d\") || one.equals(\"D\")) {\n\t\t\t\t\tarfa[3]++;\n\t\t\t\t} else if (one.equals(\"e\") || one.equals(\"E\")) {\n\t\t\t\t\tarfa[4]++;\n\t\t\t\t} else if (one.equals(\"f\") || one.equals(\"F\")) {\n\t\t\t\t\tarfa[5]++;\n\t\t\t\t} else if (one.equals(\"g\") || one.equals(\"G\")) {\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t} else if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tString one = string.substring(i, i + 1);\n\n\t\t\t\tif (one.equals(\"a\") || one.equals(\"A\")) {\n\t\t\t\t\tarfa[0]++;\n\t\t\t\t} else if (one.equals(\"b\") || one.equals(\"B\")) {\n\t\t\t\t\tarfa[1]++;\n\t\t\t\t} else if (one.equals(\"c\") || one.equals(\"C\")) {\n\t\t\t\t\tarfa[2]++;\n\t\t\t\t} else if (one.equals(\"d\") || one.equals(\"D\")) {\n\t\t\t\t\tarfa[3]++;\n\t\t\t\t} else if (one.equals(\"e\") || one.equals(\"E\")) {\n\t\t\t\t\tarfa[4]++;\n\t\t\t\t} else if (one.equals(\"f\") || one.equals(\"F\")) {\n\t\t\t\t\tarfa[5]++;\n\t\t\t\t} else if (one.equals(\"g\") || one.equals(\"G\")) {\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t} else if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}\n\t\t\t}",
"String one = string.substring(i, i + 1);",
"one",
"string.substring(i, i + 1)",
"string.substring",
"string",
"i",
"i + 1",
"i",
"1",
"if (one.equals(\"a\") || one.equals(\"A\")) {\n\t\t\t\t\tarfa[0]++;\n\t\t\t\t} else if (one.equals(\"b\") || one.equals(\"B\")) {\n\t\t\t\t\tarfa[1]++;\n\t\t\t\t} else if (one.equals(\"c\") || one.equals(\"C\")) {\n\t\t\t\t\tarfa[2]++;\n\t\t\t\t} else if (one.equals(\"d\") || one.equals(\"D\")) {\n\t\t\t\t\tarfa[3]++;\n\t\t\t\t} else if (one.equals(\"e\") || one.equals(\"E\")) {\n\t\t\t\t\tarfa[4]++;\n\t\t\t\t} else if (one.equals(\"f\") || one.equals(\"F\")) {\n\t\t\t\t\tarfa[5]++;\n\t\t\t\t} else if (one.equals(\"g\") || one.equals(\"G\")) {\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t} else if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"a\") || one.equals(\"A\")",
"one.equals(\"a\")",
"one.equals",
"one",
"\"a\"",
"one.equals(\"A\")",
"one.equals",
"one",
"\"A\"",
"{\n\t\t\t\t\tarfa[0]++;\n\t\t\t\t}",
"arfa[0]++",
"arfa[0]",
"arfa",
"0",
"if (one.equals(\"b\") || one.equals(\"B\")) {\n\t\t\t\t\tarfa[1]++;\n\t\t\t\t} else if (one.equals(\"c\") || one.equals(\"C\")) {\n\t\t\t\t\tarfa[2]++;\n\t\t\t\t} else if (one.equals(\"d\") || one.equals(\"D\")) {\n\t\t\t\t\tarfa[3]++;\n\t\t\t\t} else if (one.equals(\"e\") || one.equals(\"E\")) {\n\t\t\t\t\tarfa[4]++;\n\t\t\t\t} else if (one.equals(\"f\") || one.equals(\"F\")) {\n\t\t\t\t\tarfa[5]++;\n\t\t\t\t} else if (one.equals(\"g\") || one.equals(\"G\")) {\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t} else if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"b\") || one.equals(\"B\")",
"one.equals(\"b\")",
"one.equals",
"one",
"\"b\"",
"one.equals(\"B\")",
"one.equals",
"one",
"\"B\"",
"{\n\t\t\t\t\tarfa[1]++;\n\t\t\t\t}",
"arfa[1]++",
"arfa[1]",
"arfa",
"1",
"if (one.equals(\"c\") || one.equals(\"C\")) {\n\t\t\t\t\tarfa[2]++;\n\t\t\t\t} else if (one.equals(\"d\") || one.equals(\"D\")) {\n\t\t\t\t\tarfa[3]++;\n\t\t\t\t} else if (one.equals(\"e\") || one.equals(\"E\")) {\n\t\t\t\t\tarfa[4]++;\n\t\t\t\t} else if (one.equals(\"f\") || one.equals(\"F\")) {\n\t\t\t\t\tarfa[5]++;\n\t\t\t\t} else if (one.equals(\"g\") || one.equals(\"G\")) {\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t} else if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"c\") || one.equals(\"C\")",
"one.equals(\"c\")",
"one.equals",
"one",
"\"c\"",
"one.equals(\"C\")",
"one.equals",
"one",
"\"C\"",
"{\n\t\t\t\t\tarfa[2]++;\n\t\t\t\t}",
"arfa[2]++",
"arfa[2]",
"arfa",
"2",
"if (one.equals(\"d\") || one.equals(\"D\")) {\n\t\t\t\t\tarfa[3]++;\n\t\t\t\t} else if (one.equals(\"e\") || one.equals(\"E\")) {\n\t\t\t\t\tarfa[4]++;\n\t\t\t\t} else if (one.equals(\"f\") || one.equals(\"F\")) {\n\t\t\t\t\tarfa[5]++;\n\t\t\t\t} else if (one.equals(\"g\") || one.equals(\"G\")) {\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t} else if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"d\") || one.equals(\"D\")",
"one.equals(\"d\")",
"one.equals",
"one",
"\"d\"",
"one.equals(\"D\")",
"one.equals",
"one",
"\"D\"",
"{\n\t\t\t\t\tarfa[3]++;\n\t\t\t\t}",
"arfa[3]++",
"arfa[3]",
"arfa",
"3",
"if (one.equals(\"e\") || one.equals(\"E\")) {\n\t\t\t\t\tarfa[4]++;\n\t\t\t\t} else if (one.equals(\"f\") || one.equals(\"F\")) {\n\t\t\t\t\tarfa[5]++;\n\t\t\t\t} else if (one.equals(\"g\") || one.equals(\"G\")) {\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t} else if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"e\") || one.equals(\"E\")",
"one.equals(\"e\")",
"one.equals",
"one",
"\"e\"",
"one.equals(\"E\")",
"one.equals",
"one",
"\"E\"",
"{\n\t\t\t\t\tarfa[4]++;\n\t\t\t\t}",
"arfa[4]++",
"arfa[4]",
"arfa",
"4",
"if (one.equals(\"f\") || one.equals(\"F\")) {\n\t\t\t\t\tarfa[5]++;\n\t\t\t\t} else if (one.equals(\"g\") || one.equals(\"G\")) {\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t} else if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"f\") || one.equals(\"F\")",
"one.equals(\"f\")",
"one.equals",
"one",
"\"f\"",
"one.equals(\"F\")",
"one.equals",
"one",
"\"F\"",
"{\n\t\t\t\t\tarfa[5]++;\n\t\t\t\t}",
"arfa[5]++",
"arfa[5]",
"arfa",
"5",
"if (one.equals(\"g\") || one.equals(\"G\")) {\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t} else if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"g\") || one.equals(\"G\")",
"one.equals(\"g\")",
"one.equals",
"one",
"\"g\"",
"one.equals(\"G\")",
"one.equals",
"one",
"\"G\"",
"{\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t}",
"arfa[6]++",
"arfa[6]",
"arfa",
"6",
"if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"h\") || one.equals(\"H\")",
"one.equals(\"h\")",
"one.equals",
"one",
"\"h\"",
"one.equals(\"H\")",
"one.equals",
"one",
"\"H\"",
"{\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t}",
"arfa[7]++",
"arfa[7]",
"arfa",
"7",
"if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"i\") || one.equals(\"I\")",
"one.equals(\"i\")",
"one.equals",
"one",
"\"i\"",
"one.equals(\"I\")",
"one.equals",
"one",
"\"I\"",
"{\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t}",
"arfa[8]++",
"arfa[8]",
"arfa",
"8",
"if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"j\") || one.equals(\"J\")",
"one.equals(\"j\")",
"one.equals",
"one",
"\"j\"",
"one.equals(\"J\")",
"one.equals",
"one",
"\"J\"",
"{\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t}",
"arfa[9]++",
"arfa[9]",
"arfa",
"9",
"if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"k\") || one.equals(\"K\")",
"one.equals(\"k\")",
"one.equals",
"one",
"\"k\"",
"one.equals(\"K\")",
"one.equals",
"one",
"\"K\"",
"{\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t}",
"arfa[10]++",
"arfa[10]",
"arfa",
"10",
"if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"l\") || one.equals(\"L\")",
"one.equals(\"l\")",
"one.equals",
"one",
"\"l\"",
"one.equals(\"L\")",
"one.equals",
"one",
"\"L\"",
"{\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t}",
"arfa[11]++",
"arfa[11]",
"arfa",
"11",
"if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"m\") || one.equals(\"M\")",
"one.equals(\"m\")",
"one.equals",
"one",
"\"m\"",
"one.equals(\"M\")",
"one.equals",
"one",
"\"M\"",
"{\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t}",
"arfa[12]++",
"arfa[12]",
"arfa",
"12",
"if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"n\") || one.equals(\"N\")",
"one.equals(\"n\")",
"one.equals",
"one",
"\"n\"",
"one.equals(\"N\")",
"one.equals",
"one",
"\"N\"",
"{\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t}",
"arfa[13]++",
"arfa[13]",
"arfa",
"13",
"if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"o\") || one.equals(\"O\")",
"one.equals(\"o\")",
"one.equals",
"one",
"\"o\"",
"one.equals(\"O\")",
"one.equals",
"one",
"\"O\"",
"{\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t}",
"arfa[14]++",
"arfa[14]",
"arfa",
"14",
"if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"p\") || one.equals(\"P\")",
"one.equals(\"p\")",
"one.equals",
"one",
"\"p\"",
"one.equals(\"P\")",
"one.equals",
"one",
"\"P\"",
"{\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t}",
"arfa[15]++",
"arfa[15]",
"arfa",
"15",
"if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"q\") || one.equals(\"Q\")",
"one.equals(\"q\")",
"one.equals",
"one",
"\"q\"",
"one.equals(\"Q\")",
"one.equals",
"one",
"\"Q\"",
"{\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t}",
"arfa[16]++",
"arfa[16]",
"arfa",
"16",
"if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"r\") || one.equals(\"R\")",
"one.equals(\"r\")",
"one.equals",
"one",
"\"r\"",
"one.equals(\"R\")",
"one.equals",
"one",
"\"R\"",
"{\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t}",
"arfa[17]++",
"arfa[17]",
"arfa",
"17",
"if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"s\") || one.equals(\"S\")",
"one.equals(\"s\")",
"one.equals",
"one",
"\"s\"",
"one.equals(\"S\")",
"one.equals",
"one",
"\"S\"",
"{\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t}",
"arfa[18]++",
"arfa[18]",
"arfa",
"18",
"if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"t\") || one.equals(\"T\")",
"one.equals(\"t\")",
"one.equals",
"one",
"\"t\"",
"one.equals(\"T\")",
"one.equals",
"one",
"\"T\"",
"{\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t}",
"arfa[19]++",
"arfa[19]",
"arfa",
"19",
"if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"u\") || one.equals(\"U\")",
"one.equals(\"u\")",
"one.equals",
"one",
"\"u\"",
"one.equals(\"U\")",
"one.equals",
"one",
"\"U\"",
"{\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t}",
"arfa[20]++",
"arfa[20]",
"arfa",
"20",
"if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"v\") || one.equals(\"V\")",
"one.equals(\"v\")",
"one.equals",
"one",
"\"v\"",
"one.equals(\"V\")",
"one.equals",
"one",
"\"V\"",
"{\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t}",
"arfa[21]++",
"arfa[21]",
"arfa",
"21",
"if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"w\") || one.equals(\"W\")",
"one.equals(\"w\")",
"one.equals",
"one",
"\"w\"",
"one.equals(\"W\")",
"one.equals",
"one",
"\"W\"",
"{\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t}",
"arfa[22]++",
"arfa[22]",
"arfa",
"22",
"if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"x\") || one.equals(\"X\")",
"one.equals(\"x\")",
"one.equals",
"one",
"\"x\"",
"one.equals(\"X\")",
"one.equals",
"one",
"\"X\"",
"{\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t}",
"arfa[23]++",
"arfa[23]",
"arfa",
"23",
"if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"y\") || one.equals(\"Y\")",
"one.equals(\"y\")",
"one.equals",
"one",
"\"y\"",
"one.equals(\"Y\")",
"one.equals",
"one",
"\"Y\"",
"{\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t}",
"arfa[24]++",
"arfa[24]",
"arfa",
"24",
"if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"one.equals(\"z\") || one.equals(\"Z\")",
"one.equals(\"z\")",
"one.equals",
"one",
"\"z\"",
"one.equals(\"Z\")",
"one.equals",
"one",
"\"Z\"",
"{\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}",
"arfa[25]++",
"arfa[25]",
"arfa",
"25",
"for (int i = 0; i < arfa.length; i++) {\n\t\t\t\tif (i == 25) {\n\t\t\t\t\tSystem.out.print(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arfa.length",
"i",
"arfa.length",
"arfa",
"arfa.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tif (i == 25) {\n\t\t\t\t\tSystem.out.print(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif (i == 25) {\n\t\t\t\t\tSystem.out.print(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t}\n\t\t\t}",
"if (i == 25) {\n\t\t\t\t\tSystem.out.print(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t}",
"i == 25",
"i",
"25",
"{\n\t\t\t\t\tSystem.out.print(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t}",
"System.out.print(alfalfa[i] + \" : \" + arfa[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"alfalfa[i] + \" : \" + arfa[i]",
"alfalfa[i] + \" : \" + arfa[i]",
"alfalfa[i]",
"alfalfa",
"i",
"\" : \"",
"arfa[i]",
"arfa",
"i",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"{\n\t\t\t\t\tSystem.out.println(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t}",
"System.out.println(alfalfa[i] + \" : \" + arfa[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"alfalfa[i] + \" : \" + arfa[i]",
"alfalfa[i] + \" : \" + arfa[i]",
"alfalfa[i]",
"alfalfa",
"i",
"\" : \"",
"arfa[i]",
"arfa",
"i",
"String[] arges",
"arges",
"public class Main {\n\tpublic static void main(String[] arges) {\n\n\t\tList<String> k = new ArrayList<String>();\n\t\ttry {\n\t\t\tBufferedReader stdReader = new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in));\n\t\t\tString line;\n\t\t\twhile ((line = stdReader.readLine()) != null) {\n\t\t\t\tk.add(line);\n\t\t\t\t\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.getStackTrace();\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t\tString[] alfalfa = new String[] { \"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\",\n\t\t\t\t\"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\",\n\t\t\t\t\"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\" };\n\t\tint[] arfa = new int[26];\n\t\tfor (String string : k) {\n\t\t\tfor (int i = 0; i < string.length(); i++) {\n\t\t\t\tString one = string.substring(i, i + 1);\n\n\t\t\t\tif (one.equals(\"a\") || one.equals(\"A\")) {\n\t\t\t\t\tarfa[0]++;\n\t\t\t\t} else if (one.equals(\"b\") || one.equals(\"B\")) {\n\t\t\t\t\tarfa[1]++;\n\t\t\t\t} else if (one.equals(\"c\") || one.equals(\"C\")) {\n\t\t\t\t\tarfa[2]++;\n\t\t\t\t} else if (one.equals(\"d\") || one.equals(\"D\")) {\n\t\t\t\t\tarfa[3]++;\n\t\t\t\t} else if (one.equals(\"e\") || one.equals(\"E\")) {\n\t\t\t\t\tarfa[4]++;\n\t\t\t\t} else if (one.equals(\"f\") || one.equals(\"F\")) {\n\t\t\t\t\tarfa[5]++;\n\t\t\t\t} else if (one.equals(\"g\") || one.equals(\"G\")) {\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t} else if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\n\t\t}for (int i = 0; i < arfa.length; i++) {\n\t\t\t\tif (i == 25) {\n\t\t\t\t\tSystem.out.print(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t}\n\t\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] arges) {\n\n\t\tList<String> k = new ArrayList<String>();\n\t\ttry {\n\t\t\tBufferedReader stdReader = new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in));\n\t\t\tString line;\n\t\t\twhile ((line = stdReader.readLine()) != null) {\n\t\t\t\tk.add(line);\n\t\t\t\t\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.getStackTrace();\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t\tString[] alfalfa = new String[] { \"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\",\n\t\t\t\t\"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\",\n\t\t\t\t\"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\" };\n\t\tint[] arfa = new int[26];\n\t\tfor (String string : k) {\n\t\t\tfor (int i = 0; i < string.length(); i++) {\n\t\t\t\tString one = string.substring(i, i + 1);\n\n\t\t\t\tif (one.equals(\"a\") || one.equals(\"A\")) {\n\t\t\t\t\tarfa[0]++;\n\t\t\t\t} else if (one.equals(\"b\") || one.equals(\"B\")) {\n\t\t\t\t\tarfa[1]++;\n\t\t\t\t} else if (one.equals(\"c\") || one.equals(\"C\")) {\n\t\t\t\t\tarfa[2]++;\n\t\t\t\t} else if (one.equals(\"d\") || one.equals(\"D\")) {\n\t\t\t\t\tarfa[3]++;\n\t\t\t\t} else if (one.equals(\"e\") || one.equals(\"E\")) {\n\t\t\t\t\tarfa[4]++;\n\t\t\t\t} else if (one.equals(\"f\") || one.equals(\"F\")) {\n\t\t\t\t\tarfa[5]++;\n\t\t\t\t} else if (one.equals(\"g\") || one.equals(\"G\")) {\n\t\t\t\t\tarfa[6]++;\n\t\t\t\t} else if (one.equals(\"h\") || one.equals(\"H\")) {\n\t\t\t\t\tarfa[7]++;\n\t\t\t\t} else if (one.equals(\"i\") || one.equals(\"I\")) {\n\t\t\t\t\tarfa[8]++;\n\t\t\t\t} else if (one.equals(\"j\") || one.equals(\"J\")) {\n\t\t\t\t\tarfa[9]++;\n\t\t\t\t} else if (one.equals(\"k\") || one.equals(\"K\")) {\n\t\t\t\t\tarfa[10]++;\n\t\t\t\t} else if (one.equals(\"l\") || one.equals(\"L\")) {\n\t\t\t\t\tarfa[11]++;\n\t\t\t\t} else if (one.equals(\"m\") || one.equals(\"M\")) {\n\t\t\t\t\tarfa[12]++;\n\t\t\t\t} else if (one.equals(\"n\") || one.equals(\"N\")) {\n\t\t\t\t\tarfa[13]++;\n\t\t\t\t} else if (one.equals(\"o\") || one.equals(\"O\")) {\n\t\t\t\t\tarfa[14]++;\n\t\t\t\t} else if (one.equals(\"p\") || one.equals(\"P\")) {\n\t\t\t\t\tarfa[15]++;\n\t\t\t\t} else if (one.equals(\"q\") || one.equals(\"Q\")) {\n\t\t\t\t\tarfa[16]++;\n\t\t\t\t} else if (one.equals(\"r\") || one.equals(\"R\")) {\n\t\t\t\t\tarfa[17]++;\n\t\t\t\t} else if (one.equals(\"s\") || one.equals(\"S\")) {\n\t\t\t\t\tarfa[18]++;\n\t\t\t\t} else if (one.equals(\"t\") || one.equals(\"T\")) {\n\t\t\t\t\tarfa[19]++;\n\t\t\t\t} else if (one.equals(\"u\") || one.equals(\"U\")) {\n\t\t\t\t\tarfa[20]++;\n\t\t\t\t} else if (one.equals(\"v\") || one.equals(\"V\")) {\n\t\t\t\t\tarfa[21]++;\n\t\t\t\t} else if (one.equals(\"w\") || one.equals(\"W\")) {\n\t\t\t\t\tarfa[22]++;\n\t\t\t\t} else if (one.equals(\"x\") || one.equals(\"X\")) {\n\t\t\t\t\tarfa[23]++;\n\t\t\t\t} else if (one.equals(\"y\") || one.equals(\"Y\")) {\n\t\t\t\t\tarfa[24]++;\n\t\t\t\t} else if (one.equals(\"z\") || one.equals(\"Z\")) {\n\t\t\t\t\tarfa[25]++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\n\t\t}for (int i = 0; i < arfa.length; i++) {\n\t\t\t\tif (i == 25) {\n\t\t\t\t\tSystem.out.print(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(alfalfa[i] + \" : \" + arfa[i]);\n\t\t\t\t}\n\t\t\t}\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
public class Main {
public static void main(String[] arges) {
List<String> k = new ArrayList<String>();
try {
BufferedReader stdReader = new BufferedReader(
new InputStreamReader(System.in));
String line;
while ((line = stdReader.readLine()) != null) {
k.add(line);
}
} catch (Exception e) {
e.getStackTrace();
System.exit(0);
}
String[] alfalfa = new String[] { "a", "b", "c", "d", "e", "f", "g",
"h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s",
"t", "u", "v", "w", "x", "y", "z" };
int[] arfa = new int[26];
for (String string : k) {
for (int i = 0; i < string.length(); i++) {
String one = string.substring(i, i + 1);
if (one.equals("a") || one.equals("A")) {
arfa[0]++;
} else if (one.equals("b") || one.equals("B")) {
arfa[1]++;
} else if (one.equals("c") || one.equals("C")) {
arfa[2]++;
} else if (one.equals("d") || one.equals("D")) {
arfa[3]++;
} else if (one.equals("e") || one.equals("E")) {
arfa[4]++;
} else if (one.equals("f") || one.equals("F")) {
arfa[5]++;
} else if (one.equals("g") || one.equals("G")) {
arfa[6]++;
} else if (one.equals("h") || one.equals("H")) {
arfa[7]++;
} else if (one.equals("i") || one.equals("I")) {
arfa[8]++;
} else if (one.equals("j") || one.equals("J")) {
arfa[9]++;
} else if (one.equals("k") || one.equals("K")) {
arfa[10]++;
} else if (one.equals("l") || one.equals("L")) {
arfa[11]++;
} else if (one.equals("m") || one.equals("M")) {
arfa[12]++;
} else if (one.equals("n") || one.equals("N")) {
arfa[13]++;
} else if (one.equals("o") || one.equals("O")) {
arfa[14]++;
} else if (one.equals("p") || one.equals("P")) {
arfa[15]++;
} else if (one.equals("q") || one.equals("Q")) {
arfa[16]++;
} else if (one.equals("r") || one.equals("R")) {
arfa[17]++;
} else if (one.equals("s") || one.equals("S")) {
arfa[18]++;
} else if (one.equals("t") || one.equals("T")) {
arfa[19]++;
} else if (one.equals("u") || one.equals("U")) {
arfa[20]++;
} else if (one.equals("v") || one.equals("V")) {
arfa[21]++;
} else if (one.equals("w") || one.equals("W")) {
arfa[22]++;
} else if (one.equals("x") || one.equals("X")) {
arfa[23]++;
} else if (one.equals("y") || one.equals("Y")) {
arfa[24]++;
} else if (one.equals("z") || one.equals("Z")) {
arfa[25]++;
}
}
}for (int i = 0; i < arfa.length; i++) {
if (i == 25) {
System.out.print(alfalfa[i] + " : " + arfa[i]);
System.out.println("");
} else {
System.out.println(alfalfa[i] + " : " + arfa[i]);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
20,
17,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
40,
4,
18,
13,
4,
18,
13,
13,
3,
14,
2,
13,
4,
18,
13,
13,
30,
40,
18,
13,
13,
40,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
125,
11
],
[
125,
12
],
[
12,
13
],
[
125,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
16,
24
],
[
24,
25
],
[
16,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
58,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
71,
80
],
[
70,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
81,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
70,
93
],
[
93,
94
],
[
16,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
100,
101
],
[
100,
102
],
[
95,
103
],
[
103,
104
],
[
104,
105
],
[
95,
106
],
[
107,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
114,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
114,
119
],
[
119,
120
],
[
119,
121
],
[
14,
122
],
[
122,
123
],
[
0,
124
],
[
124,
125
],
[
124,
126
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static BufferedReader br;\n\tpublic static void main(String[] args)throws IOException{\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tint c[]=new int[26];\n\t\tString str;\n\t\twhile((str = br.readLine())!=null){\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tchar a='a';\n\t\t\t\tfor(int j=0;j<26;j++){\n\t\t\t\t\tif(!Character.isLetter(str.charAt(i)))break;\n\t\t\t\t\tif(a==str.charAt(i)){\n\t\t\t\t\t\tc[j]++;\n\t\t\t\t\t}\n\t\t\t\t\ta++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<26;i++){\n\t\t\tSystem.out.println((char)('a'+i)+\" : \"+c[i]);\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 BufferedReader br;\n\tpublic static void main(String[] args)throws IOException{\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tint c[]=new int[26];\n\t\tString str;\n\t\twhile((str = br.readLine())!=null){\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tchar a='a';\n\t\t\t\tfor(int j=0;j<26;j++){\n\t\t\t\t\tif(!Character.isLetter(str.charAt(i)))break;\n\t\t\t\t\tif(a==str.charAt(i)){\n\t\t\t\t\t\tc[j]++;\n\t\t\t\t\t}\n\t\t\t\t\ta++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<26;i++){\n\t\t\tSystem.out.println((char)('a'+i)+\" : \"+c[i]);\n\t\t}\n\t}\n}",
"Main",
"public static BufferedReader br;",
"br",
"public static void main(String[] args)throws IOException{\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tint c[]=new int[26];\n\t\tString str;\n\t\twhile((str = br.readLine())!=null){\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tchar a='a';\n\t\t\t\tfor(int j=0;j<26;j++){\n\t\t\t\t\tif(!Character.isLetter(str.charAt(i)))break;\n\t\t\t\t\tif(a==str.charAt(i)){\n\t\t\t\t\t\tc[j]++;\n\t\t\t\t\t}\n\t\t\t\t\ta++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<26;i++){\n\t\t\tSystem.out.println((char)('a'+i)+\" : \"+c[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tint c[]=new int[26];\n\t\tString str;\n\t\twhile((str = br.readLine())!=null){\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tchar a='a';\n\t\t\t\tfor(int j=0;j<26;j++){\n\t\t\t\t\tif(!Character.isLetter(str.charAt(i)))break;\n\t\t\t\t\tif(a==str.charAt(i)){\n\t\t\t\t\t\tc[j]++;\n\t\t\t\t\t}\n\t\t\t\t\ta++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<26;i++){\n\t\t\tSystem.out.println((char)('a'+i)+\" : \"+c[i]);\n\t\t}\n\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int c[]=new int[26];",
"c",
"new int[26]",
"26",
"String str;",
"str",
"while((str = br.readLine())!=null){\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tchar a='a';\n\t\t\t\tfor(int j=0;j<26;j++){\n\t\t\t\t\tif(!Character.isLetter(str.charAt(i)))break;\n\t\t\t\t\tif(a==str.charAt(i)){\n\t\t\t\t\t\tc[j]++;\n\t\t\t\t\t}\n\t\t\t\t\ta++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"(str = br.readLine())!=null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tchar a='a';\n\t\t\t\tfor(int j=0;j<26;j++){\n\t\t\t\t\tif(!Character.isLetter(str.charAt(i)))break;\n\t\t\t\t\tif(a==str.charAt(i)){\n\t\t\t\t\t\tc[j]++;\n\t\t\t\t\t}\n\t\t\t\t\ta++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"str = str.toLowerCase()",
"str",
"str.toLowerCase()",
"str.toLowerCase",
"str",
"for(int i=0;i<str.length();i++){\n\t\t\t\tchar a='a';\n\t\t\t\tfor(int j=0;j<26;j++){\n\t\t\t\t\tif(!Character.isLetter(str.charAt(i)))break;\n\t\t\t\t\tif(a==str.charAt(i)){\n\t\t\t\t\t\tc[j]++;\n\t\t\t\t\t}\n\t\t\t\t\ta++;\n\t\t\t\t}\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\tchar a='a';\n\t\t\t\tfor(int j=0;j<26;j++){\n\t\t\t\t\tif(!Character.isLetter(str.charAt(i)))break;\n\t\t\t\t\tif(a==str.charAt(i)){\n\t\t\t\t\t\tc[j]++;\n\t\t\t\t\t}\n\t\t\t\t\ta++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tchar a='a';\n\t\t\t\tfor(int j=0;j<26;j++){\n\t\t\t\t\tif(!Character.isLetter(str.charAt(i)))break;\n\t\t\t\t\tif(a==str.charAt(i)){\n\t\t\t\t\t\tc[j]++;\n\t\t\t\t\t}\n\t\t\t\t\ta++;\n\t\t\t\t}\n\t\t\t}",
"char a='a';",
"a",
"'a'",
"for(int j=0;j<26;j++){\n\t\t\t\t\tif(!Character.isLetter(str.charAt(i)))break;\n\t\t\t\t\tif(a==str.charAt(i)){\n\t\t\t\t\t\tc[j]++;\n\t\t\t\t\t}\n\t\t\t\t\ta++;\n\t\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<26",
"j",
"26",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tif(!Character.isLetter(str.charAt(i)))break;\n\t\t\t\t\tif(a==str.charAt(i)){\n\t\t\t\t\t\tc[j]++;\n\t\t\t\t\t}\n\t\t\t\t\ta++;\n\t\t\t\t}",
"{\n\t\t\t\t\tif(!Character.isLetter(str.charAt(i)))break;\n\t\t\t\t\tif(a==str.charAt(i)){\n\t\t\t\t\t\tc[j]++;\n\t\t\t\t\t}\n\t\t\t\t\ta++;\n\t\t\t\t}",
"if(!Character.isLetter(str.charAt(i)))break;",
"!Character.isLetter(str.charAt(i))",
"Character.isLetter(str.charAt(i))",
"Character.isLetter",
"Character",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"break;",
"if(a==str.charAt(i)){\n\t\t\t\t\t\tc[j]++;\n\t\t\t\t\t}",
"a==str.charAt(i)",
"a",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"{\n\t\t\t\t\t\tc[j]++;\n\t\t\t\t\t}",
"c[j]++",
"c[j]",
"c",
"j",
"a++",
"a",
"for(int i=0;i<26;i++){\n\t\t\tSystem.out.println((char)('a'+i)+\" : \"+c[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println((char)('a'+i)+\" : \"+c[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println((char)('a'+i)+\" : \"+c[i]);\n\t\t}",
"System.out.println((char)('a'+i)+\" : \"+c[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)('a'+i)+\" : \"+c[i]",
"(char)('a'+i)+\" : \"+c[i]",
"(char)('a'+i)",
"'a'",
"i",
"\" : \"",
"c[i]",
"c",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static BufferedReader br;\n\tpublic static void main(String[] args)throws IOException{\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tint c[]=new int[26];\n\t\tString str;\n\t\twhile((str = br.readLine())!=null){\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tchar a='a';\n\t\t\t\tfor(int j=0;j<26;j++){\n\t\t\t\t\tif(!Character.isLetter(str.charAt(i)))break;\n\t\t\t\t\tif(a==str.charAt(i)){\n\t\t\t\t\t\tc[j]++;\n\t\t\t\t\t}\n\t\t\t\t\ta++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<26;i++){\n\t\t\tSystem.out.println((char)('a'+i)+\" : \"+c[i]);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static BufferedReader br;\n\tpublic static void main(String[] args)throws IOException{\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tint c[]=new int[26];\n\t\tString str;\n\t\twhile((str = br.readLine())!=null){\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i=0;i<str.length();i++){\n\t\t\t\tchar a='a';\n\t\t\t\tfor(int j=0;j<26;j++){\n\t\t\t\t\tif(!Character.isLetter(str.charAt(i)))break;\n\t\t\t\t\tif(a==str.charAt(i)){\n\t\t\t\t\t\tc[j]++;\n\t\t\t\t\t}\n\t\t\t\t\ta++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<26;i++){\n\t\t\tSystem.out.println((char)('a'+i)+\" : \"+c[i]);\n\t\t}\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static BufferedReader br;
public static void main(String[] args)throws IOException{
br = new BufferedReader(new InputStreamReader(System.in));
int c[]=new int[26];
String str;
while((str = br.readLine())!=null){
str = str.toLowerCase();
for(int i=0;i<str.length();i++){
char a='a';
for(int j=0;j<26;j++){
if(!Character.isLetter(str.charAt(i)))break;
if(a==str.charAt(i)){
c[j]++;
}
a++;
}
}
}
for(int i=0;i<26;i++){
System.out.println((char)('a'+i)+" : "+c[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
4,
18,
13,
4,
18,
13,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
40,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
4,
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
],
[
133,
11
],
[
133,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
18,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
45,
49
],
[
28,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
62,
72
],
[
72,
73
],
[
73,
74
],
[
62,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
77,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
85,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
95,
102
],
[
102,
103
],
[
28,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
109,
110
],
[
109,
111
],
[
104,
112
],
[
112,
113
],
[
113,
114
],
[
104,
115
],
[
116,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
123,
123
],
[
123,
124
],
[
123,
125
],
[
123,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
12,
130
],
[
130,
131
],
[
0,
132
],
[
132,
133
],
[
132,
134
]
]
| [
"import java.util.HashMap;\nimport java.util.NoSuchElementException;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n HashMap<Character, Integer> m = new HashMap<>();\n for (char c = 'a'; c <= 'z'; c++) {\n m.put(c, 0);\n }\n while (sc.hasNext()) {\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n if (Character.isAlphabetic(s.codePointAt(i))) {\n Integer c = m.get(s.charAt(i));\n m.put(s.charAt(i), ++c);\n }\n }\n }\n for (char c = 'a'; c <= 'z'; c++) {\n System.out.println(c + \" : \" + m.get(c));\n }\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }\n}\n",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"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 try {\n HashMap<Character, Integer> m = new HashMap<>();\n for (char c = 'a'; c <= 'z'; c++) {\n m.put(c, 0);\n }\n while (sc.hasNext()) {\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n if (Character.isAlphabetic(s.codePointAt(i))) {\n Integer c = m.get(s.charAt(i));\n m.put(s.charAt(i), ++c);\n }\n }\n }\n for (char c = 'a'; c <= 'z'; c++) {\n System.out.println(c + \" : \" + m.get(c));\n }\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n HashMap<Character, Integer> m = new HashMap<>();\n for (char c = 'a'; c <= 'z'; c++) {\n m.put(c, 0);\n }\n while (sc.hasNext()) {\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n if (Character.isAlphabetic(s.codePointAt(i))) {\n Integer c = m.get(s.charAt(i));\n m.put(s.charAt(i), ++c);\n }\n }\n }\n for (char c = 'a'; c <= 'z'; c++) {\n System.out.println(c + \" : \" + m.get(c));\n }\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n try {\n HashMap<Character, Integer> m = new HashMap<>();\n for (char c = 'a'; c <= 'z'; c++) {\n m.put(c, 0);\n }\n while (sc.hasNext()) {\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n if (Character.isAlphabetic(s.codePointAt(i))) {\n Integer c = m.get(s.charAt(i));\n m.put(s.charAt(i), ++c);\n }\n }\n }\n for (char c = 'a'; c <= 'z'; c++) {\n System.out.println(c + \" : \" + m.get(c));\n }\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"try {\n HashMap<Character, Integer> m = new HashMap<>();\n for (char c = 'a'; c <= 'z'; c++) {\n m.put(c, 0);\n }\n while (sc.hasNext()) {\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n if (Character.isAlphabetic(s.codePointAt(i))) {\n Integer c = m.get(s.charAt(i));\n m.put(s.charAt(i), ++c);\n }\n }\n }\n for (char c = 'a'; c <= 'z'; c++) {\n System.out.println(c + \" : \" + m.get(c));\n }\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }",
"catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }",
"NoSuchElementException\n | NumberFormatException e",
"{\n System.out.println(e);\n }",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n HashMap<Character, Integer> m = new HashMap<>();\n for (char c = 'a'; c <= 'z'; c++) {\n m.put(c, 0);\n }\n while (sc.hasNext()) {\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n if (Character.isAlphabetic(s.codePointAt(i))) {\n Integer c = m.get(s.charAt(i));\n m.put(s.charAt(i), ++c);\n }\n }\n }\n for (char c = 'a'; c <= 'z'; c++) {\n System.out.println(c + \" : \" + m.get(c));\n }\n }",
"HashMap<Character, Integer> m = new HashMap<>();",
"m",
"new HashMap<>()",
"for (char c = 'a'; c <= 'z'; c++) {\n m.put(c, 0);\n }",
"char c = 'a';",
"char c = 'a';",
"c",
"'a'",
"c <= 'z'",
"c",
"'z'",
"c++",
"c++",
"c",
"{\n m.put(c, 0);\n }",
"{\n m.put(c, 0);\n }",
"m.put(c, 0)",
"m.put",
"m",
"c",
"0",
"while (sc.hasNext()) {\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n if (Character.isAlphabetic(s.codePointAt(i))) {\n Integer c = m.get(s.charAt(i));\n m.put(s.charAt(i), ++c);\n }\n }\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n if (Character.isAlphabetic(s.codePointAt(i))) {\n Integer c = m.get(s.charAt(i));\n m.put(s.charAt(i), ++c);\n }\n }\n }",
"String s = sc.nextLine().toLowerCase();",
"s",
"sc.nextLine().toLowerCase()",
"sc.nextLine().toLowerCase",
"sc.nextLine()",
"sc.nextLine",
"sc",
"for (int i = 0; i < s.length(); i++) {\n if (Character.isAlphabetic(s.codePointAt(i))) {\n Integer c = m.get(s.charAt(i));\n m.put(s.charAt(i), ++c);\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n if (Character.isAlphabetic(s.codePointAt(i))) {\n Integer c = m.get(s.charAt(i));\n m.put(s.charAt(i), ++c);\n }\n }",
"{\n if (Character.isAlphabetic(s.codePointAt(i))) {\n Integer c = m.get(s.charAt(i));\n m.put(s.charAt(i), ++c);\n }\n }",
"if (Character.isAlphabetic(s.codePointAt(i))) {\n Integer c = m.get(s.charAt(i));\n m.put(s.charAt(i), ++c);\n }",
"Character.isAlphabetic(s.codePointAt(i))",
"Character.isAlphabetic",
"Character",
"s.codePointAt(i)",
"s.codePointAt",
"s",
"i",
"{\n Integer c = m.get(s.charAt(i));\n m.put(s.charAt(i), ++c);\n }",
"Integer c = m.get(s.charAt(i));",
"c",
"m.get(s.charAt(i))",
"m.get",
"m",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"m.put(s.charAt(i), ++c)",
"m.put",
"m",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"++c",
"c",
"for (char c = 'a'; c <= 'z'; c++) {\n System.out.println(c + \" : \" + m.get(c));\n }",
"char c = 'a';",
"char c = 'a';",
"c",
"'a'",
"c <= 'z'",
"c",
"'z'",
"c++",
"c++",
"c",
"{\n System.out.println(c + \" : \" + m.get(c));\n }",
"{\n System.out.println(c + \" : \" + m.get(c));\n }",
"System.out.println(c + \" : \" + m.get(c))",
"System.out.println",
"System.out",
"System",
"System.out",
"c + \" : \" + m.get(c)",
"c + \" : \" + m.get(c)",
"c",
"\" : \"",
"m.get(c)",
"m.get",
"m",
"c",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n HashMap<Character, Integer> m = new HashMap<>();\n for (char c = 'a'; c <= 'z'; c++) {\n m.put(c, 0);\n }\n while (sc.hasNext()) {\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n if (Character.isAlphabetic(s.codePointAt(i))) {\n Integer c = m.get(s.charAt(i));\n m.put(s.charAt(i), ++c);\n }\n }\n }\n for (char c = 'a'; c <= 'z'; c++) {\n System.out.println(c + \" : \" + m.get(c));\n }\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n HashMap<Character, Integer> m = new HashMap<>();\n for (char c = 'a'; c <= 'z'; c++) {\n m.put(c, 0);\n }\n while (sc.hasNext()) {\n String s = sc.nextLine().toLowerCase();\n for (int i = 0; i < s.length(); i++) {\n if (Character.isAlphabetic(s.codePointAt(i))) {\n Integer c = m.get(s.charAt(i));\n m.put(s.charAt(i), ++c);\n }\n }\n }\n for (char c = 'a'; c <= 'z'; c++) {\n System.out.println(c + \" : \" + m.get(c));\n }\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }\n}",
"Main"
]
| import java.util.HashMap;
import java.util.NoSuchElementException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
try {
HashMap<Character, Integer> m = new HashMap<>();
for (char c = 'a'; c <= 'z'; c++) {
m.put(c, 0);
}
while (sc.hasNext()) {
String s = sc.nextLine().toLowerCase();
for (int i = 0; i < s.length(); i++) {
if (Character.isAlphabetic(s.codePointAt(i))) {
Integer c = m.get(s.charAt(i));
m.put(s.charAt(i), ++c);
}
}
}
for (char c = 'a'; c <= 'z'; c++) {
System.out.println(c + " : " + m.get(c));
}
} catch (NoSuchElementException
| NumberFormatException e) {
System.out.println(e);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
0,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
4,
13,
4,
18,
4,
18,
13,
13,
4,
13,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
4,
18,
18,
13,
13,
2,
2,
4,
13,
13,
17,
18,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
14,
4,
18,
13,
18,
13,
13,
40,
18,
13,
4,
13,
4,
18,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
29,
2,
13,
17,
23,
13,
12,
13,
30,
29,
4,
18,
13,
2,
13,
17,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
17,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
23,
13,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
41,
13,
20,
14,
2,
13,
17,
30,
41,
13,
42,
2,
17,
0,
13,
4,
18,
13,
30,
4,
18,
13,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
4,
18,
13,
4,
18,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
14,
2,
4,
18,
13,
13,
17,
3,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
29,
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
],
[
331,
14
],
[
331,
15
],
[
15,
16
],
[
15,
17
],
[
331,
18
],
[
18,
19
],
[
331,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
331,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
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
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
331,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
56,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
66,
76
],
[
76,
77
],
[
77,
78
],
[
66,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
56,
88
],
[
88,
89
],
[
88,
90
],
[
331,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
101,
103
],
[
94,
104
],
[
104,
105
],
[
105,
106
],
[
94,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
114,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
114,
119
],
[
119,
120
],
[
119,
121
],
[
91,
122
],
[
122,
123
],
[
331,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
134,
136
],
[
127,
137
],
[
137,
138
],
[
138,
139
],
[
127,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
145,
146
],
[
145,
147
],
[
141,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
153,
156
],
[
156,
157
],
[
156,
158
],
[
126,
159
],
[
159,
160
],
[
124,
161
],
[
161,
162
],
[
331,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
163,
170
],
[
170,
171
],
[
331,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
176,
179
],
[
179,
180
],
[
179,
181
],
[
172,
182
],
[
182,
183
],
[
0,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
191,
192
],
[
192,
193
],
[
191,
194
],
[
188,
195
],
[
195,
196
],
[
195,
197
],
[
198,
199
],
[
198,
200
],
[
188,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
201,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
208,
210
],
[
201,
211
],
[
211,
212
],
[
212,
213
],
[
201,
214
],
[
215,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
216,
220
],
[
220,
221
],
[
221,
222
],
[
220,
223
],
[
223,
224
],
[
223,
225
],
[
188,
226
],
[
226,
227
],
[
186,
228
],
[
228,
229
],
[
0,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
230,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
237,
238
],
[
237,
239
],
[
230,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
242,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
246,
250
],
[
250,
251
],
[
251,
252
],
[
250,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
259,
260
],
[
253,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
262,
265
],
[
246,
266
],
[
266,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
267,
272
],
[
272,
273
],
[
272,
274
],
[
267,
275
],
[
275,
276
],
[
276,
277
],
[
267,
278
],
[
278,
279
],
[
279,
280
],
[
280,
281
],
[
279,
282
],
[
282,
283
],
[
283,
284
],
[
242,
285
],
[
285,
286
],
[
240,
287
],
[
287,
288
],
[
230,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
292,
293
],
[
292,
294
],
[
291,
295
],
[
295,
296
],
[
291,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
297,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
305,
306
],
[
301,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
310,
311
],
[
309,
312
],
[
308,
313
],
[
307,
314
],
[
301,
315
],
[
315,
316
],
[
316,
317
],
[
315,
318
],
[
291,
319
],
[
319,
320
],
[
289,
321
],
[
321,
322
],
[
230,
323
],
[
323,
324
],
[
323,
325
],
[
325,
326
],
[
326,
327
],
[
327,
328
],
[
328,
329
],
[
0,
330
],
[
330,
331
],
[
330,
332
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n\tint DATAKIND = 26;\n\tint[] count;\n\tpublic static void main(String[] args) \n\tthrows IOException{\n\t\t// TODO Auto-generated method stub\n\t\tnew Main().run();\n\t}\n\t\n\tpublic Main(){\n\t\tcount = new int[DATAKIND];\n\t\tfor (int i=0; i<count.length; i++)\n\t\t\tcount[i] = 0;\n\t\t\n\t}\n\n\tvoid run () \n\t\tthrows IOException{\n\t\tStandardIn buf = new StandardIn();\n\t\t\n\t\tArrayList<String> al = buf.getlines(0);\n\t\tfor(int i=0; i<al.size(); i++)\n\t\t\tcountData(al.get(i).toCharArray());\n\t\t\n\t\t\n\t\tprintResult(count);\n\t}\n\t\n\tprivate void printResult(int[] count){\n\t\tfor(int i=0; i<count.length; i++)\n\t\t\tSystem.out.println(gethashkey(i)+\" : \"+count[i]);\n\t}\n\tprivate int[] countData(char[] data){\n\n\t\tfor (int i=0; i<data.length; i++)\n\t\t\tif(Character.isAlphabetic(data[i]))\n\t\t\t\tcount[hashdata(Character.toLowerCase(data[i]))] ++;\n\t\t\n\t\treturn count;\n\t}\n\t\n\tprivate int hashdata(char data){\n\t\treturn (int)(data-'a');\n\t}\n\t\n\tprivate String gethashkey(int data){\n\t\treturn Character.toString((char)(data+'a'));\n\t}\n}\n\nclass TempReaderCall{\n\t/*\n\tstatic ArrayList<String> getStdInReadlines(BufferedReader br, int line) throws IOException {\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tfor (int i = 0; i < line; i++)\n\t\t\tlist.add(br.readLine());\n\t\treturn list;\n\t}\n\t\n\tstatic ArrayList<String> getStdInReadlines(BufferedReader br, String end) throws IOException {\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tString newdata;\n\t\tdo{\n\t\t\tnewdata =br.readLine();\n\t\t\tif (end.compareTo(newdata)==0)\n\t\t\t\tbreak;\n\t\t\tlist.add(newdata);\n\t\t}while(newdata!=null);\n\t\t\n\t\treturn list;\n\t}\n\t\n\tstatic String getStdInRead(BufferedReader br) throws IOException {\n\t\treturn (br.readLine());\n\t}\n\t*/\n\t\n\tstatic int[] splitIntArrayFromString(String st) {\n\t\tString[] sts = st.split(\" \");\n\t\tint[] data = new int[sts.length];\n\t\t\n\t\tfor (int i=0;i<sts.length;i++){\n\t\t\tdata[i] = Integer.parseInt(sts[i]);\n\t\t}\n\t\t\n\t\treturn data;\n\t}\n}\n\nclass StandardIn{\n\tprivate BufferedReader br;\n\t\n\tStandardIn(){\n\t\tbr = new BufferedReader (new InputStreamReader(System.in));\n\t}\n\t\n\tArrayList<String> getlines(int line) throws IOException {\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tif (line==0){\n\t\t\tString tmplinedata;\n\t\t\twhile(null != (tmplinedata = br.readLine())){\n\t\t\t\tlist.add(tmplinedata);\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tfor (int i = 0; i < line; i++)\n\t\t\t\tlist.add(br.readLine());\n\t\t}\n\t\treturn list;\n\t}\n\t\n\tArrayList<String> getlines(String end) throws IOException {\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tString newdata;\n\t\tdo{\n\t\t\tnewdata =br.readLine();\n\t\t\tif (end.compareTo(newdata)==0)\n\t\t\t\tbreak;\n\t\t\tlist.add(newdata);\n\t\t}while(newdata!=null);\n\t\t\n\t\treturn list;\n\t}\n\t\n\tString getaline() throws IOException {\n\t\treturn (br.readLine());\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n\tint DATAKIND = 26;\n\tint[] count;\n\tpublic static void main(String[] args) \n\tthrows IOException{\n\t\t// TODO Auto-generated method stub\n\t\tnew Main().run();\n\t}\n\t\n\tpublic Main(){\n\t\tcount = new int[DATAKIND];\n\t\tfor (int i=0; i<count.length; i++)\n\t\t\tcount[i] = 0;\n\t\t\n\t}\n\n\tvoid run () \n\t\tthrows IOException{\n\t\tStandardIn buf = new StandardIn();\n\t\t\n\t\tArrayList<String> al = buf.getlines(0);\n\t\tfor(int i=0; i<al.size(); i++)\n\t\t\tcountData(al.get(i).toCharArray());\n\t\t\n\t\t\n\t\tprintResult(count);\n\t}\n\t\n\tprivate void printResult(int[] count){\n\t\tfor(int i=0; i<count.length; i++)\n\t\t\tSystem.out.println(gethashkey(i)+\" : \"+count[i]);\n\t}\n\tprivate int[] countData(char[] data){\n\n\t\tfor (int i=0; i<data.length; i++)\n\t\t\tif(Character.isAlphabetic(data[i]))\n\t\t\t\tcount[hashdata(Character.toLowerCase(data[i]))] ++;\n\t\t\n\t\treturn count;\n\t}\n\t\n\tprivate int hashdata(char data){\n\t\treturn (int)(data-'a');\n\t}\n\t\n\tprivate String gethashkey(int data){\n\t\treturn Character.toString((char)(data+'a'));\n\t}\n}",
"Main",
"int DATAKIND = 26;",
"DATAKIND",
"26",
"int[] count;",
"count",
"public static void main(String[] args) \n\tthrows IOException{\n\t\t// TODO Auto-generated method stub\n\t\tnew Main().run();\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tnew Main().run();\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public Main(){\n\t\tcount = new int[DATAKIND];\n\t\tfor (int i=0; i<count.length; i++)\n\t\t\tcount[i] = 0;\n\t\t\n\t}",
"Main",
"{\n\t\tcount = new int[DATAKIND];\n\t\tfor (int i=0; i<count.length; i++)\n\t\t\tcount[i] = 0;\n\t\t\n\t}",
"count = new int[DATAKIND]",
"count",
"new int[DATAKIND]",
"DATAKIND",
"for (int i=0; i<count.length; i++)\n\t\t\tcount[i] = 0;",
"int i=0;",
"int i=0;",
"i",
"0",
"i<count.length",
"i",
"count.length",
"count",
"count.length",
"i++",
"i++",
"i",
"count[i] = 0;",
"count[i] = 0",
"count[i]",
"count",
"i",
"0",
"void run () \n\t\tthrows IOException{\n\t\tStandardIn buf = new StandardIn();\n\t\t\n\t\tArrayList<String> al = buf.getlines(0);\n\t\tfor(int i=0; i<al.size(); i++)\n\t\t\tcountData(al.get(i).toCharArray());\n\t\t\n\t\t\n\t\tprintResult(count);\n\t}",
"run",
"{\n\t\tStandardIn buf = new StandardIn();\n\t\t\n\t\tArrayList<String> al = buf.getlines(0);\n\t\tfor(int i=0; i<al.size(); i++)\n\t\t\tcountData(al.get(i).toCharArray());\n\t\t\n\t\t\n\t\tprintResult(count);\n\t}",
"StandardIn buf = new StandardIn();",
"buf",
"new StandardIn()",
"ArrayList<String> al = buf.getlines(0);",
"al",
"buf.getlines(0)",
"buf.getlines",
"buf",
"0",
"for(int i=0; i<al.size(); i++)\n\t\t\tcountData(al.get(i).toCharArray());",
"int i=0;",
"int i=0;",
"i",
"0",
"i<al.size()",
"i",
"al.size()",
"al.size",
"al",
"i++",
"i++",
"i",
"countData(al.get(i).toCharArray());",
"countData(al.get(i).toCharArray())",
"countData",
"al.get(i).toCharArray()",
"al.get(i).toCharArray",
"al.get(i)",
"al.get",
"al",
"i",
"printResult(count)",
"printResult",
"count",
"private void printResult(int[] count){\n\t\tfor(int i=0; i<count.length; i++)\n\t\t\tSystem.out.println(gethashkey(i)+\" : \"+count[i]);\n\t}",
"printResult",
"{\n\t\tfor(int i=0; i<count.length; i++)\n\t\t\tSystem.out.println(gethashkey(i)+\" : \"+count[i]);\n\t}",
"for(int i=0; i<count.length; i++)\n\t\t\tSystem.out.println(gethashkey(i)+\" : \"+count[i]);",
"int i=0;",
"int i=0;",
"i",
"0",
"i<count.length",
"i",
"count.length",
"count",
"count.length",
"i++",
"i++",
"i",
"System.out.println(gethashkey(i)+\" : \"+count[i]);",
"System.out.println(gethashkey(i)+\" : \"+count[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"gethashkey(i)+\" : \"+count[i]",
"gethashkey(i)+\" : \"+count[i]",
"gethashkey(i)",
"gethashkey",
"i",
"\" : \"",
"count[i]",
"count",
"i",
"int[] count",
"count",
"private int[] countData(char[] data){\n\n\t\tfor (int i=0; i<data.length; i++)\n\t\t\tif(Character.isAlphabetic(data[i]))\n\t\t\t\tcount[hashdata(Character.toLowerCase(data[i]))] ++;\n\t\t\n\t\treturn count;\n\t}",
"countData",
"{\n\n\t\tfor (int i=0; i<data.length; i++)\n\t\t\tif(Character.isAlphabetic(data[i]))\n\t\t\t\tcount[hashdata(Character.toLowerCase(data[i]))] ++;\n\t\t\n\t\treturn count;\n\t}",
"for (int i=0; i<data.length; i++)\n\t\t\tif(Character.isAlphabetic(data[i]))\n\t\t\t\tcount[hashdata(Character.toLowerCase(data[i]))] ++;",
"int i=0;",
"int i=0;",
"i",
"0",
"i<data.length",
"i",
"data.length",
"data",
"data.length",
"i++",
"i++",
"i",
"if(Character.isAlphabetic(data[i]))\n\t\t\t\tcount[hashdata(Character.toLowerCase(data[i]))] ++;",
"if(Character.isAlphabetic(data[i]))\n\t\t\t\tcount[hashdata(Character.toLowerCase(data[i]))] ++;",
"Character.isAlphabetic(data[i])",
"Character.isAlphabetic",
"Character",
"data[i]",
"data",
"i",
"count[hashdata(Character.toLowerCase(data[i]))] ++",
"count[hashdata(Character.toLowerCase(data[i]))]",
"count",
"hashdata(Character.toLowerCase(data[i]))",
"hashdata",
"Character.toLowerCase(data[i])",
"Character.toLowerCase",
"Character",
"data[i]",
"data",
"i",
"return count;",
"count",
"char[] data",
"data",
"private int hashdata(char data){\n\t\treturn (int)(data-'a');\n\t}",
"hashdata",
"{\n\t\treturn (int)(data-'a');\n\t}",
"return (int)(data-'a');",
"(int)(data-'a')",
"data",
"'a'",
"char data",
"data",
"private String gethashkey(int data){\n\t\treturn Character.toString((char)(data+'a'));\n\t}",
"gethashkey",
"{\n\t\treturn Character.toString((char)(data+'a'));\n\t}",
"return Character.toString((char)(data+'a'));",
"Character.toString((char)(data+'a'))",
"Character.toString",
"Character",
"(char)(data+'a')",
"data",
"'a'",
"int data",
"data",
"class TempReaderCall{\n\t/*\n\tstatic ArrayList<String> getStdInReadlines(BufferedReader br, int line) throws IOException {\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tfor (int i = 0; i < line; i++)\n\t\t\tlist.add(br.readLine());\n\t\treturn list;\n\t}\n\t\n\tstatic ArrayList<String> getStdInReadlines(BufferedReader br, String end) throws IOException {\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tString newdata;\n\t\tdo{\n\t\t\tnewdata =br.readLine();\n\t\t\tif (end.compareTo(newdata)==0)\n\t\t\t\tbreak;\n\t\t\tlist.add(newdata);\n\t\t}while(newdata!=null);\n\t\t\n\t\treturn list;\n\t}\n\t\n\tstatic String getStdInRead(BufferedReader br) throws IOException {\n\t\treturn (br.readLine());\n\t}\n\t*/\n\t\n\tstatic int[] splitIntArrayFromString(String st) {\n\t\tString[] sts = st.split(\" \");\n\t\tint[] data = new int[sts.length];\n\t\t\n\t\tfor (int i=0;i<sts.length;i++){\n\t\t\tdata[i] = Integer.parseInt(sts[i]);\n\t\t}\n\t\t\n\t\treturn data;\n\t}\n}",
"TempReaderCall",
"static int[] splitIntArrayFromString(String st) {\n\t\tString[] sts = st.split(\" \");\n\t\tint[] data = new int[sts.length];\n\t\t\n\t\tfor (int i=0;i<sts.length;i++){\n\t\t\tdata[i] = Integer.parseInt(sts[i]);\n\t\t}\n\t\t\n\t\treturn data;\n\t}",
"splitIntArrayFromString",
"{\n\t\tString[] sts = st.split(\" \");\n\t\tint[] data = new int[sts.length];\n\t\t\n\t\tfor (int i=0;i<sts.length;i++){\n\t\t\tdata[i] = Integer.parseInt(sts[i]);\n\t\t}\n\t\t\n\t\treturn data;\n\t}",
"String[] sts = st.split(\" \");",
"sts",
"st.split(\" \")",
"st.split",
"st",
"\" \"",
"int[] data = new int[sts.length];",
"data",
"new int[sts.length]",
"sts.length",
"sts",
"sts.length",
"for (int i=0;i<sts.length;i++){\n\t\t\tdata[i] = Integer.parseInt(sts[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<sts.length",
"i",
"sts.length",
"sts",
"sts.length",
"i++",
"i++",
"i",
"{\n\t\t\tdata[i] = Integer.parseInt(sts[i]);\n\t\t}",
"{\n\t\t\tdata[i] = Integer.parseInt(sts[i]);\n\t\t}",
"data[i] = Integer.parseInt(sts[i])",
"data[i]",
"data",
"i",
"Integer.parseInt(sts[i])",
"Integer.parseInt",
"Integer",
"sts[i]",
"sts",
"i",
"return data;",
"data",
"String st",
"st",
"class StandardIn{\n\tprivate BufferedReader br;\n\t\n\tStandardIn(){\n\t\tbr = new BufferedReader (new InputStreamReader(System.in));\n\t}\n\t\n\tArrayList<String> getlines(int line) throws IOException {\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tif (line==0){\n\t\t\tString tmplinedata;\n\t\t\twhile(null != (tmplinedata = br.readLine())){\n\t\t\t\tlist.add(tmplinedata);\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tfor (int i = 0; i < line; i++)\n\t\t\t\tlist.add(br.readLine());\n\t\t}\n\t\treturn list;\n\t}\n\t\n\tArrayList<String> getlines(String end) throws IOException {\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tString newdata;\n\t\tdo{\n\t\t\tnewdata =br.readLine();\n\t\t\tif (end.compareTo(newdata)==0)\n\t\t\t\tbreak;\n\t\t\tlist.add(newdata);\n\t\t}while(newdata!=null);\n\t\t\n\t\treturn list;\n\t}\n\t\n\tString getaline() throws IOException {\n\t\treturn (br.readLine());\n\t}\n}",
"StandardIn",
"private BufferedReader br;",
"br",
"StandardIn(){\n\t\tbr = new BufferedReader (new InputStreamReader(System.in));\n\t}",
"StandardIn",
"{\n\t\tbr = new BufferedReader (new InputStreamReader(System.in));\n\t}",
"br = new BufferedReader (new InputStreamReader(System.in))",
"br",
"new BufferedReader (new InputStreamReader(System.in))",
"ArrayList<String> getlines(int line) throws IOException {\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tif (line==0){\n\t\t\tString tmplinedata;\n\t\t\twhile(null != (tmplinedata = br.readLine())){\n\t\t\t\tlist.add(tmplinedata);\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tfor (int i = 0; i < line; i++)\n\t\t\t\tlist.add(br.readLine());\n\t\t}\n\t\treturn list;\n\t}",
"getlines",
"{\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tif (line==0){\n\t\t\tString tmplinedata;\n\t\t\twhile(null != (tmplinedata = br.readLine())){\n\t\t\t\tlist.add(tmplinedata);\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tfor (int i = 0; i < line; i++)\n\t\t\t\tlist.add(br.readLine());\n\t\t}\n\t\treturn list;\n\t}",
"ArrayList<String> list = new ArrayList<String>();",
"list",
"new ArrayList<String>()",
"if (line==0){\n\t\t\tString tmplinedata;\n\t\t\twhile(null != (tmplinedata = br.readLine())){\n\t\t\t\tlist.add(tmplinedata);\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tfor (int i = 0; i < line; i++)\n\t\t\t\tlist.add(br.readLine());\n\t\t}",
"line==0",
"line",
"0",
"{\n\t\t\tString tmplinedata;\n\t\t\twhile(null != (tmplinedata = br.readLine())){\n\t\t\t\tlist.add(tmplinedata);\n\t\t\t}\n\t\t}",
"String tmplinedata;",
"tmplinedata",
"while(null != (tmplinedata = br.readLine())){\n\t\t\t\tlist.add(tmplinedata);\n\t\t\t}",
"null != (tmplinedata = br.readLine())",
"null",
"(tmplinedata = br.readLine())",
"tmplinedata",
"br.readLine()",
"br.readLine",
"br",
"{\n\t\t\t\tlist.add(tmplinedata);\n\t\t\t}",
"list.add(tmplinedata)",
"list.add",
"list",
"tmplinedata",
"{\n\t\t\tfor (int i = 0; i < line; i++)\n\t\t\t\tlist.add(br.readLine());\n\t\t}",
"for (int i = 0; i < line; i++)\n\t\t\t\tlist.add(br.readLine());",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < line",
"i",
"line",
"i++",
"i++",
"i",
"list.add(br.readLine());",
"list.add(br.readLine())",
"list.add",
"list",
"br.readLine()",
"br.readLine",
"br",
"return list;",
"list",
"int line",
"line",
"ArrayList<String> getlines(String end) throws IOException {\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tString newdata;\n\t\tdo{\n\t\t\tnewdata =br.readLine();\n\t\t\tif (end.compareTo(newdata)==0)\n\t\t\t\tbreak;\n\t\t\tlist.add(newdata);\n\t\t}while(newdata!=null);\n\t\t\n\t\treturn list;\n\t}",
"getlines",
"{\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tString newdata;\n\t\tdo{\n\t\t\tnewdata =br.readLine();\n\t\t\tif (end.compareTo(newdata)==0)\n\t\t\t\tbreak;\n\t\t\tlist.add(newdata);\n\t\t}while(newdata!=null);\n\t\t\n\t\treturn list;\n\t}",
"ArrayList<String> list = new ArrayList<String>();",
"list",
"new ArrayList<String>()",
"String newdata;",
"newdata",
"do{\n\t\t\tnewdata =br.readLine();\n\t\t\tif (end.compareTo(newdata)==0)\n\t\t\t\tbreak;\n\t\t\tlist.add(newdata);\n\t\t}while(newdata!=null);",
"newdata!=null",
"newdata",
"null",
"{\n\t\t\tnewdata =br.readLine();\n\t\t\tif (end.compareTo(newdata)==0)\n\t\t\t\tbreak;\n\t\t\tlist.add(newdata);\n\t\t}",
"newdata =br.readLine()",
"newdata",
"br.readLine()",
"br.readLine",
"br",
"if (end.compareTo(newdata)==0)\n\t\t\t\tbreak;",
"end.compareTo(newdata)==0",
"end.compareTo(newdata)",
"end.compareTo",
"end",
"newdata",
"0",
"break;",
"list.add(newdata)",
"list.add",
"list",
"newdata",
"return list;",
"list",
"String end",
"end",
"String getaline() throws IOException {\n\t\treturn (br.readLine());\n\t}",
"getaline",
"{\n\t\treturn (br.readLine());\n\t}",
"return (br.readLine());",
"(br.readLine())",
"br.readLine",
"br",
"public class Main {\n\tint DATAKIND = 26;\n\tint[] count;\n\tpublic static void main(String[] args) \n\tthrows IOException{\n\t\t// TODO Auto-generated method stub\n\t\tnew Main().run();\n\t}\n\t\n\tpublic Main(){\n\t\tcount = new int[DATAKIND];\n\t\tfor (int i=0; i<count.length; i++)\n\t\t\tcount[i] = 0;\n\t\t\n\t}\n\n\tvoid run () \n\t\tthrows IOException{\n\t\tStandardIn buf = new StandardIn();\n\t\t\n\t\tArrayList<String> al = buf.getlines(0);\n\t\tfor(int i=0; i<al.size(); i++)\n\t\t\tcountData(al.get(i).toCharArray());\n\t\t\n\t\t\n\t\tprintResult(count);\n\t}\n\t\n\tprivate void printResult(int[] count){\n\t\tfor(int i=0; i<count.length; i++)\n\t\t\tSystem.out.println(gethashkey(i)+\" : \"+count[i]);\n\t}\n\tprivate int[] countData(char[] data){\n\n\t\tfor (int i=0; i<data.length; i++)\n\t\t\tif(Character.isAlphabetic(data[i]))\n\t\t\t\tcount[hashdata(Character.toLowerCase(data[i]))] ++;\n\t\t\n\t\treturn count;\n\t}\n\t\n\tprivate int hashdata(char data){\n\t\treturn (int)(data-'a');\n\t}\n\t\n\tprivate String gethashkey(int data){\n\t\treturn Character.toString((char)(data+'a'));\n\t}\n}",
"public class Main {\n\tint DATAKIND = 26;\n\tint[] count;\n\tpublic static void main(String[] args) \n\tthrows IOException{\n\t\t// TODO Auto-generated method stub\n\t\tnew Main().run();\n\t}\n\t\n\tpublic Main(){\n\t\tcount = new int[DATAKIND];\n\t\tfor (int i=0; i<count.length; i++)\n\t\t\tcount[i] = 0;\n\t\t\n\t}\n\n\tvoid run () \n\t\tthrows IOException{\n\t\tStandardIn buf = new StandardIn();\n\t\t\n\t\tArrayList<String> al = buf.getlines(0);\n\t\tfor(int i=0; i<al.size(); i++)\n\t\t\tcountData(al.get(i).toCharArray());\n\t\t\n\t\t\n\t\tprintResult(count);\n\t}\n\t\n\tprivate void printResult(int[] count){\n\t\tfor(int i=0; i<count.length; i++)\n\t\t\tSystem.out.println(gethashkey(i)+\" : \"+count[i]);\n\t}\n\tprivate int[] countData(char[] data){\n\n\t\tfor (int i=0; i<data.length; i++)\n\t\t\tif(Character.isAlphabetic(data[i]))\n\t\t\t\tcount[hashdata(Character.toLowerCase(data[i]))] ++;\n\t\t\n\t\treturn count;\n\t}\n\t\n\tprivate int hashdata(char data){\n\t\treturn (int)(data-'a');\n\t}\n\t\n\tprivate String gethashkey(int data){\n\t\treturn Character.toString((char)(data+'a'));\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main {
int DATAKIND = 26;
int[] count;
public static void main(String[] args)
throws IOException{
// TODO Auto-generated method stub
new Main().run();
}
public Main(){
count = new int[DATAKIND];
for (int i=0; i<count.length; i++)
count[i] = 0;
}
void run ()
throws IOException{
StandardIn buf = new StandardIn();
ArrayList<String> al = buf.getlines(0);
for(int i=0; i<al.size(); i++)
countData(al.get(i).toCharArray());
printResult(count);
}
private void printResult(int[] count){
for(int i=0; i<count.length; i++)
System.out.println(gethashkey(i)+" : "+count[i]);
}
private int[] countData(char[] data){
for (int i=0; i<data.length; i++)
if(Character.isAlphabetic(data[i]))
count[hashdata(Character.toLowerCase(data[i]))] ++;
return count;
}
private int hashdata(char data){
return (int)(data-'a');
}
private String gethashkey(int data){
return Character.toString((char)(data+'a'));
}
}
class TempReaderCall{
/*
static ArrayList<String> getStdInReadlines(BufferedReader br, int line) throws IOException {
ArrayList<String> list = new ArrayList<String>();
for (int i = 0; i < line; i++)
list.add(br.readLine());
return list;
}
static ArrayList<String> getStdInReadlines(BufferedReader br, String end) throws IOException {
ArrayList<String> list = new ArrayList<String>();
String newdata;
do{
newdata =br.readLine();
if (end.compareTo(newdata)==0)
break;
list.add(newdata);
}while(newdata!=null);
return list;
}
static String getStdInRead(BufferedReader br) throws IOException {
return (br.readLine());
}
*/
static int[] splitIntArrayFromString(String st) {
String[] sts = st.split(" ");
int[] data = new int[sts.length];
for (int i=0;i<sts.length;i++){
data[i] = Integer.parseInt(sts[i]);
}
return data;
}
}
class StandardIn{
private BufferedReader br;
StandardIn(){
br = new BufferedReader (new InputStreamReader(System.in));
}
ArrayList<String> getlines(int line) throws IOException {
ArrayList<String> list = new ArrayList<String>();
if (line==0){
String tmplinedata;
while(null != (tmplinedata = br.readLine())){
list.add(tmplinedata);
}
}
else {
for (int i = 0; i < line; i++)
list.add(br.readLine());
}
return list;
}
ArrayList<String> getlines(String end) throws IOException {
ArrayList<String> list = new ArrayList<String>();
String newdata;
do{
newdata =br.readLine();
if (end.compareTo(newdata)==0)
break;
list.add(newdata);
}while(newdata!=null);
return list;
}
String getaline() throws IOException {
return (br.readLine());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
17,
38,
5,
13,
30,
4,
18,
13,
5,
13,
30,
4,
18,
13,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
9,
14,
2,
13,
17,
30,
40,
18,
13,
2,
13,
17,
30,
40,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
151,
11
],
[
151,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
22,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
14,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
45,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
45,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
60,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
68,
78
],
[
78,
79
],
[
79,
80
],
[
68,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
82,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
94,
96
],
[
89,
97
],
[
82,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
106,
108
],
[
98,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
113,
115
],
[
14,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
123,
125
],
[
116,
126
],
[
126,
127
],
[
127,
128
],
[
116,
129
],
[
130,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
133,
135
],
[
130,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
136,
141
],
[
142,
142
],
[
142,
143
],
[
142,
144
],
[
142,
145
],
[
145,
146
],
[
145,
147
],
[
12,
148
],
[
148,
149
],
[
0,
150
],
[
150,
151
],
[
150,
152
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tint[] count = new int[26];\n\t\tString x = \"\";\n\t\t\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tcount[i] = 0;\n\t\t}\n\t\t\n\t\ttry {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tfor (int i = 0; i < x.length(); i++) {\n\t\t\t\t\tchar c = x.charAt(i);\n\t\t\t\t\tif ((c < 'A') || (c > 'z')) continue;\n\t\t\t\t\t\n\t\t\t\t\tif (c < 'a') {\n\t\t\t\t\t\tcount[c - 'A']++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tchar c = (char)(i + 'a');\n\t\t\tSystem.out.println(c + \" : \" + count[i]);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tint[] count = new int[26];\n\t\tString x = \"\";\n\t\t\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tcount[i] = 0;\n\t\t}\n\t\t\n\t\ttry {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tfor (int i = 0; i < x.length(); i++) {\n\t\t\t\t\tchar c = x.charAt(i);\n\t\t\t\t\tif ((c < 'A') || (c > 'z')) continue;\n\t\t\t\t\t\n\t\t\t\t\tif (c < 'a') {\n\t\t\t\t\t\tcount[c - 'A']++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tchar c = (char)(i + 'a');\n\t\t\tSystem.out.println(c + \" : \" + count[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tint[] count = new int[26];\n\t\tString x = \"\";\n\t\t\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tcount[i] = 0;\n\t\t}\n\t\t\n\t\ttry {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tfor (int i = 0; i < x.length(); i++) {\n\t\t\t\t\tchar c = x.charAt(i);\n\t\t\t\t\tif ((c < 'A') || (c > 'z')) continue;\n\t\t\t\t\t\n\t\t\t\t\tif (c < 'a') {\n\t\t\t\t\t\tcount[c - 'A']++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tchar c = (char)(i + 'a');\n\t\t\tSystem.out.println(c + \" : \" + count[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tint[] count = new int[26];\n\t\tString x = \"\";\n\t\t\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tcount[i] = 0;\n\t\t}\n\t\t\n\t\ttry {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tfor (int i = 0; i < x.length(); i++) {\n\t\t\t\t\tchar c = x.charAt(i);\n\t\t\t\t\tif ((c < 'A') || (c > 'z')) continue;\n\t\t\t\t\t\n\t\t\t\t\tif (c < 'a') {\n\t\t\t\t\t\tcount[c - 'A']++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tchar c = (char)(i + 'a');\n\t\t\tSystem.out.println(c + \" : \" + count[i]);\n\t\t}\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] count = new int[26];",
"count",
"new int[26]",
"26",
"String x = \"\";",
"x",
"\"\"",
"for (int i = 0; i < count.length; i++) {\n\t\t\tcount[i] = 0;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < count.length",
"i",
"count.length",
"count",
"count.length",
"i++",
"i++",
"i",
"{\n\t\t\tcount[i] = 0;\n\t\t}",
"{\n\t\t\tcount[i] = 0;\n\t\t}",
"count[i] = 0",
"count[i]",
"count",
"i",
"0",
"try {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tfor (int i = 0; i < x.length(); i++) {\n\t\t\t\t\tchar c = x.charAt(i);\n\t\t\t\t\tif ((c < 'A') || (c > 'z')) continue;\n\t\t\t\t\t\n\t\t\t\t\tif (c < 'a') {\n\t\t\t\t\t\tcount[c - 'A']++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"NumberFormatException e",
"{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tfor (int i = 0; i < x.length(); i++) {\n\t\t\t\t\tchar c = x.charAt(i);\n\t\t\t\t\tif ((c < 'A') || (c > 'z')) continue;\n\t\t\t\t\t\n\t\t\t\t\tif (c < 'a') {\n\t\t\t\t\t\tcount[c - 'A']++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"while ((x = in.readLine()) != null) {\n\t\t\t\tfor (int i = 0; i < x.length(); i++) {\n\t\t\t\t\tchar c = x.charAt(i);\n\t\t\t\t\tif ((c < 'A') || (c > 'z')) continue;\n\t\t\t\t\t\n\t\t\t\t\tif (c < 'a') {\n\t\t\t\t\t\tcount[c - 'A']++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"(x = in.readLine()) != null",
"(x = in.readLine())",
"x",
"in.readLine()",
"in.readLine",
"in",
"null",
"{\n\t\t\t\tfor (int i = 0; i < x.length(); i++) {\n\t\t\t\t\tchar c = x.charAt(i);\n\t\t\t\t\tif ((c < 'A') || (c > 'z')) continue;\n\t\t\t\t\t\n\t\t\t\t\tif (c < 'a') {\n\t\t\t\t\t\tcount[c - 'A']++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"for (int i = 0; i < x.length(); i++) {\n\t\t\t\t\tchar c = x.charAt(i);\n\t\t\t\t\tif ((c < 'A') || (c > 'z')) continue;\n\t\t\t\t\t\n\t\t\t\t\tif (c < 'a') {\n\t\t\t\t\t\tcount[c - 'A']++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t\t}\n\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < x.length()",
"i",
"x.length()",
"x.length",
"x",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tchar c = x.charAt(i);\n\t\t\t\t\tif ((c < 'A') || (c > 'z')) continue;\n\t\t\t\t\t\n\t\t\t\t\tif (c < 'a') {\n\t\t\t\t\t\tcount[c - 'A']++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t\t}\n\t\t\t\t}",
"{\n\t\t\t\t\tchar c = x.charAt(i);\n\t\t\t\t\tif ((c < 'A') || (c > 'z')) continue;\n\t\t\t\t\t\n\t\t\t\t\tif (c < 'a') {\n\t\t\t\t\t\tcount[c - 'A']++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t\t}\n\t\t\t\t}",
"char c = x.charAt(i);",
"c",
"x.charAt(i)",
"x.charAt",
"x",
"i",
"if ((c < 'A') || (c > 'z')) continue;",
"(c < 'A') || (c > 'z')",
"(c < 'A')",
"c",
"'A'",
"(c > 'z')",
"c",
"'z'",
"continue;",
"if (c < 'a') {\n\t\t\t\t\t\tcount[c - 'A']++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t\t}",
"c < 'a'",
"c",
"'a'",
"{\n\t\t\t\t\t\tcount[c - 'A']++;\n\t\t\t\t\t}",
"count[c - 'A']++",
"count[c - 'A']",
"count",
"c - 'A'",
"c",
"'A'",
"{\n\t\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t\t}",
"count[c - 'a']++",
"count[c - 'a']",
"count",
"c - 'a'",
"c",
"'a'",
"for (int i = 0; i < count.length; i++) {\n\t\t\tchar c = (char)(i + 'a');\n\t\t\tSystem.out.println(c + \" : \" + count[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < count.length",
"i",
"count.length",
"count",
"count.length",
"i++",
"i++",
"i",
"{\n\t\t\tchar c = (char)(i + 'a');\n\t\t\tSystem.out.println(c + \" : \" + count[i]);\n\t\t}",
"{\n\t\t\tchar c = (char)(i + 'a');\n\t\t\tSystem.out.println(c + \" : \" + count[i]);\n\t\t}",
"char c = (char)(i + 'a');",
"c",
"(char)(i + 'a')",
"i",
"'a'",
"System.out.println(c + \" : \" + count[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"c + \" : \" + count[i]",
"c + \" : \" + count[i]",
"c",
"\" : \"",
"count[i]",
"count",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tint[] count = new int[26];\n\t\tString x = \"\";\n\t\t\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tcount[i] = 0;\n\t\t}\n\t\t\n\t\ttry {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tfor (int i = 0; i < x.length(); i++) {\n\t\t\t\t\tchar c = x.charAt(i);\n\t\t\t\t\tif ((c < 'A') || (c > 'z')) continue;\n\t\t\t\t\t\n\t\t\t\t\tif (c < 'a') {\n\t\t\t\t\t\tcount[c - 'A']++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tchar c = (char)(i + 'a');\n\t\t\tSystem.out.println(c + \" : \" + count[i]);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tint[] count = new int[26];\n\t\tString x = \"\";\n\t\t\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tcount[i] = 0;\n\t\t}\n\t\t\n\t\ttry {\n\t\t\twhile ((x = in.readLine()) != null) {\n\t\t\t\tfor (int i = 0; i < x.length(); i++) {\n\t\t\t\t\tchar c = x.charAt(i);\n\t\t\t\t\tif ((c < 'A') || (c > 'z')) continue;\n\t\t\t\t\t\n\t\t\t\t\tif (c < 'a') {\n\t\t\t\t\t\tcount[c - 'A']++;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tchar c = (char)(i + 'a');\n\t\t\tSystem.out.println(c + \" : \" + count[i]);\n\t\t}\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
int[] count = new int[26];
String x = "";
for (int i = 0; i < count.length; i++) {
count[i] = 0;
}
try {
while ((x = in.readLine()) != null) {
for (int i = 0; i < x.length(); i++) {
char c = x.charAt(i);
if ((c < 'A') || (c > 'z')) continue;
if (c < 'a') {
count[c - 'A']++;
} else {
count[c - 'a']++;
}
}
}
} catch (NumberFormatException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
for (int i = 0; i < count.length; i++) {
char c = (char)(i + 'a');
System.out.println(c + " : " + count[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
14,
2,
2,
17,
13,
2,
13,
17,
30,
40,
18,
13,
2,
13,
17,
14,
2,
2,
17,
13,
2,
13,
17,
30,
40,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
17,
17,
18,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
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
],
[
40,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
47,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
11,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
77,
85
],
[
85,
86
],
[
86,
87
],
[
77,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
96,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
96,
101
],
[
101,
102
],
[
101,
103
],
[
9,
104
],
[
104,
105
]
]
| [
"import java.util.*;\n\nclass Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\t\n\t\tint[] alphabet = new int[26];\n\t\t\n\t\twhile (sc.hasNext()) {\n\t\t\tString s = sc.nextLine();\n\t\t\tfor (int i=0; i<s.length(); i++) {\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tif ('a'<=c && c<='z') {\n\t\t\t\t\talphabet[c-97]++;\n\t\t\t\t}\n\t\t\t\telse if ('A'<=c && c<='Z') {\n\t\t\t\t\talphabet[c-65]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i=0; i<26; i++) {\n\t\t\tSystem.out.println((char)(i+97)+\" : \"+alphabet[i]);\n\t\t}\n\t}\n}\n",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\t\n\t\tint[] alphabet = new int[26];\n\t\t\n\t\twhile (sc.hasNext()) {\n\t\t\tString s = sc.nextLine();\n\t\t\tfor (int i=0; i<s.length(); i++) {\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tif ('a'<=c && c<='z') {\n\t\t\t\t\talphabet[c-97]++;\n\t\t\t\t}\n\t\t\t\telse if ('A'<=c && c<='Z') {\n\t\t\t\t\talphabet[c-65]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i=0; i<26; i++) {\n\t\t\tSystem.out.println((char)(i+97)+\" : \"+alphabet[i]);\n\t\t}\n\t}\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\t\t\n\t\tint[] alphabet = new int[26];\n\t\t\n\t\twhile (sc.hasNext()) {\n\t\t\tString s = sc.nextLine();\n\t\t\tfor (int i=0; i<s.length(); i++) {\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tif ('a'<=c && c<='z') {\n\t\t\t\t\talphabet[c-97]++;\n\t\t\t\t}\n\t\t\t\telse if ('A'<=c && c<='Z') {\n\t\t\t\t\talphabet[c-65]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i=0; i<26; i++) {\n\t\t\tSystem.out.println((char)(i+97)+\" : \"+alphabet[i]);\n\t\t}\n\t}",
"main",
"{\n\t\t\n\t\tint[] alphabet = new int[26];\n\t\t\n\t\twhile (sc.hasNext()) {\n\t\t\tString s = sc.nextLine();\n\t\t\tfor (int i=0; i<s.length(); i++) {\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tif ('a'<=c && c<='z') {\n\t\t\t\t\talphabet[c-97]++;\n\t\t\t\t}\n\t\t\t\telse if ('A'<=c && c<='Z') {\n\t\t\t\t\talphabet[c-65]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i=0; i<26; i++) {\n\t\t\tSystem.out.println((char)(i+97)+\" : \"+alphabet[i]);\n\t\t}\n\t}",
"int[] alphabet = new int[26];",
"alphabet",
"new int[26]",
"26",
"while (sc.hasNext()) {\n\t\t\tString s = sc.nextLine();\n\t\t\tfor (int i=0; i<s.length(); i++) {\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tif ('a'<=c && c<='z') {\n\t\t\t\t\talphabet[c-97]++;\n\t\t\t\t}\n\t\t\t\telse if ('A'<=c && c<='Z') {\n\t\t\t\t\talphabet[c-65]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tString s = sc.nextLine();\n\t\t\tfor (int i=0; i<s.length(); i++) {\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tif ('a'<=c && c<='z') {\n\t\t\t\t\talphabet[c-97]++;\n\t\t\t\t}\n\t\t\t\telse if ('A'<=c && c<='Z') {\n\t\t\t\t\talphabet[c-65]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"String s = sc.nextLine();",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"for (int i=0; i<s.length(); i++) {\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tif ('a'<=c && c<='z') {\n\t\t\t\t\talphabet[c-97]++;\n\t\t\t\t}\n\t\t\t\telse if ('A'<=c && c<='Z') {\n\t\t\t\t\talphabet[c-65]++;\n\t\t\t\t}\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tif ('a'<=c && c<='z') {\n\t\t\t\t\talphabet[c-97]++;\n\t\t\t\t}\n\t\t\t\telse if ('A'<=c && c<='Z') {\n\t\t\t\t\talphabet[c-65]++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tif ('a'<=c && c<='z') {\n\t\t\t\t\talphabet[c-97]++;\n\t\t\t\t}\n\t\t\t\telse if ('A'<=c && c<='Z') {\n\t\t\t\t\talphabet[c-65]++;\n\t\t\t\t}\n\t\t\t}",
"char c = s.charAt(i);",
"c",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"if ('a'<=c && c<='z') {\n\t\t\t\t\talphabet[c-97]++;\n\t\t\t\t}\n\t\t\t\telse if ('A'<=c && c<='Z') {\n\t\t\t\t\talphabet[c-65]++;\n\t\t\t\t}",
"'a'<=c && c<='z'",
"'a'<=c",
"'a'",
"c",
"c<='z'",
"c",
"'z'",
"{\n\t\t\t\t\talphabet[c-97]++;\n\t\t\t\t}",
"alphabet[c-97]++",
"alphabet[c-97]",
"alphabet",
"c-97",
"c",
"97",
"if ('A'<=c && c<='Z') {\n\t\t\t\t\talphabet[c-65]++;\n\t\t\t\t}",
"'A'<=c && c<='Z'",
"'A'<=c",
"'A'",
"c",
"c<='Z'",
"c",
"'Z'",
"{\n\t\t\t\t\talphabet[c-65]++;\n\t\t\t\t}",
"alphabet[c-65]++",
"alphabet[c-65]",
"alphabet",
"c-65",
"c",
"65",
"for (int i=0; i<26; i++) {\n\t\t\tSystem.out.println((char)(i+97)+\" : \"+alphabet[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println((char)(i+97)+\" : \"+alphabet[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println((char)(i+97)+\" : \"+alphabet[i]);\n\t\t}",
"System.out.println((char)(i+97)+\" : \"+alphabet[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)(i+97)+\" : \"+alphabet[i]",
"(char)(i+97)+\" : \"+alphabet[i]",
"(char)(i+97)",
"i",
"97",
"\" : \"",
"alphabet[i]",
"alphabet",
"i",
"String[] args",
"args"
]
| import java.util.*;
class Main {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
int[] alphabet = new int[26];
while (sc.hasNext()) {
String s = sc.nextLine();
for (int i=0; i<s.length(); i++) {
char c = s.charAt(i);
if ('a'<=c && c<='z') {
alphabet[c-97]++;
}
else if ('A'<=c && c<='Z') {
alphabet[c-65]++;
}
}
}
for (int i=0; i<26; i++) {
System.out.println((char)(i+97)+" : "+alphabet[i]);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
2,
2,
17,
17,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
4,
18,
13,
4,
18,
13,
13,
30,
40,
18,
13,
2,
4,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
97,
5
],
[
97,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
32,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
59,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
65,
75
],
[
75,
76
],
[
76,
77
],
[
65,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
86,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
6,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
]
| [
"import java.util.Scanner;\n \npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int[] alpha = new int['z' - 'a' + 1];\n while (scan.hasNext()) {\n String str = scan.next().toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n if (Character.isLetter(str.charAt(i))) {\n alpha[str.charAt(i) - 'a']++;\n }\n }\n }\n for (int i = 0; i < alpha.length; ++i) {\n System.out.println((char)('a' + i) + \" : \" + alpha[i]);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int[] alpha = new int['z' - 'a' + 1];\n while (scan.hasNext()) {\n String str = scan.next().toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n if (Character.isLetter(str.charAt(i))) {\n alpha[str.charAt(i) - 'a']++;\n }\n }\n }\n for (int i = 0; i < alpha.length; ++i) {\n System.out.println((char)('a' + i) + \" : \" + alpha[i]);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int[] alpha = new int['z' - 'a' + 1];\n while (scan.hasNext()) {\n String str = scan.next().toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n if (Character.isLetter(str.charAt(i))) {\n alpha[str.charAt(i) - 'a']++;\n }\n }\n }\n for (int i = 0; i < alpha.length; ++i) {\n System.out.println((char)('a' + i) + \" : \" + alpha[i]);\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int[] alpha = new int['z' - 'a' + 1];\n while (scan.hasNext()) {\n String str = scan.next().toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n if (Character.isLetter(str.charAt(i))) {\n alpha[str.charAt(i) - 'a']++;\n }\n }\n }\n for (int i = 0; i < alpha.length; ++i) {\n System.out.println((char)('a' + i) + \" : \" + alpha[i]);\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] alpha = new int['z' - 'a' + 1];",
"alpha",
"new int['z' - 'a' + 1]",
"'z' - 'a' + 1",
"'z' - 'a'",
"'z'",
"'a'",
"1",
"while (scan.hasNext()) {\n String str = scan.next().toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n if (Character.isLetter(str.charAt(i))) {\n alpha[str.charAt(i) - 'a']++;\n }\n }\n }",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n String str = scan.next().toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n if (Character.isLetter(str.charAt(i))) {\n alpha[str.charAt(i) - 'a']++;\n }\n }\n }",
"String str = scan.next().toLowerCase();",
"str",
"scan.next().toLowerCase()",
"scan.next().toLowerCase",
"scan.next()",
"scan.next",
"scan",
"for (int i = 0; i < str.length(); i++) {\n if (Character.isLetter(str.charAt(i))) {\n alpha[str.charAt(i) - 'a']++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str.length()",
"i",
"str.length()",
"str.length",
"str",
"i++",
"i++",
"i",
"{\n if (Character.isLetter(str.charAt(i))) {\n alpha[str.charAt(i) - 'a']++;\n }\n }",
"{\n if (Character.isLetter(str.charAt(i))) {\n alpha[str.charAt(i) - 'a']++;\n }\n }",
"if (Character.isLetter(str.charAt(i))) {\n alpha[str.charAt(i) - 'a']++;\n }",
"Character.isLetter(str.charAt(i))",
"Character.isLetter",
"Character",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"{\n alpha[str.charAt(i) - 'a']++;\n }",
"alpha[str.charAt(i) - 'a']++",
"alpha[str.charAt(i) - 'a']",
"alpha",
"str.charAt(i) - 'a'",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"'a'",
"for (int i = 0; i < alpha.length; ++i) {\n System.out.println((char)('a' + i) + \" : \" + alpha[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < alpha.length",
"i",
"alpha.length",
"alpha",
"alpha.length",
"++i",
"++i",
"i",
"{\n System.out.println((char)('a' + i) + \" : \" + alpha[i]);\n }",
"{\n System.out.println((char)('a' + i) + \" : \" + alpha[i]);\n }",
"System.out.println((char)('a' + i) + \" : \" + alpha[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)('a' + i) + \" : \" + alpha[i]",
"(char)('a' + i) + \" : \" + alpha[i]",
"(char)('a' + i)",
"'a'",
"i",
"\" : \"",
"alpha[i]",
"alpha",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int[] alpha = new int['z' - 'a' + 1];\n while (scan.hasNext()) {\n String str = scan.next().toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n if (Character.isLetter(str.charAt(i))) {\n alpha[str.charAt(i) - 'a']++;\n }\n }\n }\n for (int i = 0; i < alpha.length; ++i) {\n System.out.println((char)('a' + i) + \" : \" + alpha[i]);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int[] alpha = new int['z' - 'a' + 1];\n while (scan.hasNext()) {\n String str = scan.next().toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n if (Character.isLetter(str.charAt(i))) {\n alpha[str.charAt(i) - 'a']++;\n }\n }\n }\n for (int i = 0; i < alpha.length; ++i) {\n System.out.println((char)('a' + i) + \" : \" + alpha[i]);\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int[] alpha = new int['z' - 'a' + 1];
while (scan.hasNext()) {
String str = scan.next().toLowerCase();
for (int i = 0; i < str.length(); i++) {
if (Character.isLetter(str.charAt(i))) {
alpha[str.charAt(i) - 'a']++;
}
}
}
for (int i = 0; i < alpha.length; ++i) {
System.out.println((char)('a' + i) + " : " + alpha[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
17,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
17,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
18,
13,
13,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
18,
13,
13,
13,
30,
0,
13,
17,
29,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
140,
5
],
[
140,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
29,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
44,
54
],
[
54,
55
],
[
55,
56
],
[
44,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
63,
66
],
[
66,
67
],
[
66,
68
],
[
8,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
69,
79
],
[
79,
80
],
[
80,
81
],
[
69,
82
],
[
83,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
84,
90
],
[
90,
91
],
[
90,
92
],
[
84,
93
],
[
93,
94
],
[
93,
95
],
[
8,
96
],
[
96,
97
],
[
97,
98
],
[
6,
99
],
[
99,
100
],
[
140,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
114,
116
],
[
107,
117
],
[
117,
118
],
[
118,
119
],
[
107,
120
],
[
121,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
123,
128
],
[
122,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
103,
133
],
[
133,
134
],
[
101,
135
],
[
135,
136
],
[
101,
137
],
[
137,
138
],
[
0,
139
],
[
139,
140
],
[
139,
141
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String args[]) {\n Scanner scn = new Scanner(System.in);\n String al = \"abcdefghijklmnopqrstuvwxyz\";\n String[] alp = al.split(\"\");\n int cou[] = new int[26];\n\n while(scn.hasNextLine()) {\n String s =\"\";\n s = scn.nextLine();\n String[] str = s.split(\"\");\n\n for (int i = 0; i < al.length(); i++) {\n cou[i] += count(str, alp[i]);\n }\n\n }\n\n\n for (int i = 0; i < al.length(); i++) {\n System.out.printf(\"%s : %d%n\",alp[i],cou[i]);\n }\n\n scn.close();\n\n\n }\n\n static int count(String[] S, String M) {\n int c = 0;\n for (int i = 0; i < S.length; i++) {\n if (S[i].equalsIgnoreCase(M)) {\n c += 1;\n }\n }\n return c;\n }\n\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String args[]) {\n Scanner scn = new Scanner(System.in);\n String al = \"abcdefghijklmnopqrstuvwxyz\";\n String[] alp = al.split(\"\");\n int cou[] = new int[26];\n\n while(scn.hasNextLine()) {\n String s =\"\";\n s = scn.nextLine();\n String[] str = s.split(\"\");\n\n for (int i = 0; i < al.length(); i++) {\n cou[i] += count(str, alp[i]);\n }\n\n }\n\n\n for (int i = 0; i < al.length(); i++) {\n System.out.printf(\"%s : %d%n\",alp[i],cou[i]);\n }\n\n scn.close();\n\n\n }\n\n static int count(String[] S, String M) {\n int c = 0;\n for (int i = 0; i < S.length; i++) {\n if (S[i].equalsIgnoreCase(M)) {\n c += 1;\n }\n }\n return c;\n }\n\n\n}",
"Main",
"public static void main(String args[]) {\n Scanner scn = new Scanner(System.in);\n String al = \"abcdefghijklmnopqrstuvwxyz\";\n String[] alp = al.split(\"\");\n int cou[] = new int[26];\n\n while(scn.hasNextLine()) {\n String s =\"\";\n s = scn.nextLine();\n String[] str = s.split(\"\");\n\n for (int i = 0; i < al.length(); i++) {\n cou[i] += count(str, alp[i]);\n }\n\n }\n\n\n for (int i = 0; i < al.length(); i++) {\n System.out.printf(\"%s : %d%n\",alp[i],cou[i]);\n }\n\n scn.close();\n\n\n }",
"main",
"{\n Scanner scn = new Scanner(System.in);\n String al = \"abcdefghijklmnopqrstuvwxyz\";\n String[] alp = al.split(\"\");\n int cou[] = new int[26];\n\n while(scn.hasNextLine()) {\n String s =\"\";\n s = scn.nextLine();\n String[] str = s.split(\"\");\n\n for (int i = 0; i < al.length(); i++) {\n cou[i] += count(str, alp[i]);\n }\n\n }\n\n\n for (int i = 0; i < al.length(); i++) {\n System.out.printf(\"%s : %d%n\",alp[i],cou[i]);\n }\n\n scn.close();\n\n\n }",
"Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"String al = \"abcdefghijklmnopqrstuvwxyz\";",
"al",
"\"abcdefghijklmnopqrstuvwxyz\"",
"String[] alp = al.split(\"\");",
"alp",
"al.split(\"\")",
"al.split",
"al",
"\"\"",
"int cou[] = new int[26];",
"cou",
"new int[26]",
"26",
"while(scn.hasNextLine()) {\n String s =\"\";\n s = scn.nextLine();\n String[] str = s.split(\"\");\n\n for (int i = 0; i < al.length(); i++) {\n cou[i] += count(str, alp[i]);\n }\n\n }",
"scn.hasNextLine()",
"scn.hasNextLine",
"scn",
"{\n String s =\"\";\n s = scn.nextLine();\n String[] str = s.split(\"\");\n\n for (int i = 0; i < al.length(); i++) {\n cou[i] += count(str, alp[i]);\n }\n\n }",
"String s =\"\";",
"s",
"\"\"",
"s = scn.nextLine()",
"s",
"scn.nextLine()",
"scn.nextLine",
"scn",
"String[] str = s.split(\"\");",
"str",
"s.split(\"\")",
"s.split",
"s",
"\"\"",
"for (int i = 0; i < al.length(); i++) {\n cou[i] += count(str, alp[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < al.length()",
"i",
"al.length()",
"al.length",
"al",
"i++",
"i++",
"i",
"{\n cou[i] += count(str, alp[i]);\n }",
"{\n cou[i] += count(str, alp[i]);\n }",
"cou[i] += count(str, alp[i])",
"cou[i]",
"cou",
"i",
"count(str, alp[i])",
"count",
"str",
"alp[i]",
"alp",
"i",
"for (int i = 0; i < al.length(); i++) {\n System.out.printf(\"%s : %d%n\",alp[i],cou[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < al.length()",
"i",
"al.length()",
"al.length",
"al",
"i++",
"i++",
"i",
"{\n System.out.printf(\"%s : %d%n\",alp[i],cou[i]);\n }",
"{\n System.out.printf(\"%s : %d%n\",alp[i],cou[i]);\n }",
"System.out.printf(\"%s : %d%n\",alp[i],cou[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%s : %d%n\"",
"alp[i]",
"alp",
"i",
"cou[i]",
"cou",
"i",
"scn.close()",
"scn.close",
"scn",
"String args[]",
"args",
"static int count(String[] S, String M) {\n int c = 0;\n for (int i = 0; i < S.length; i++) {\n if (S[i].equalsIgnoreCase(M)) {\n c += 1;\n }\n }\n return c;\n }",
"count",
"{\n int c = 0;\n for (int i = 0; i < S.length; i++) {\n if (S[i].equalsIgnoreCase(M)) {\n c += 1;\n }\n }\n return c;\n }",
"int c = 0;",
"c",
"0",
"for (int i = 0; i < S.length; i++) {\n if (S[i].equalsIgnoreCase(M)) {\n c += 1;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < S.length",
"i",
"S.length",
"S",
"S.length",
"i++",
"i++",
"i",
"{\n if (S[i].equalsIgnoreCase(M)) {\n c += 1;\n }\n }",
"{\n if (S[i].equalsIgnoreCase(M)) {\n c += 1;\n }\n }",
"if (S[i].equalsIgnoreCase(M)) {\n c += 1;\n }",
"S[i].equalsIgnoreCase(M)",
"S[i].equalsIgnoreCase",
"S[i]",
"S",
"i",
"M",
"{\n c += 1;\n }",
"c += 1",
"c",
"1",
"return c;",
"c",
"String[] S",
"S",
"String M",
"M",
"public class Main {\n public static void main(String args[]) {\n Scanner scn = new Scanner(System.in);\n String al = \"abcdefghijklmnopqrstuvwxyz\";\n String[] alp = al.split(\"\");\n int cou[] = new int[26];\n\n while(scn.hasNextLine()) {\n String s =\"\";\n s = scn.nextLine();\n String[] str = s.split(\"\");\n\n for (int i = 0; i < al.length(); i++) {\n cou[i] += count(str, alp[i]);\n }\n\n }\n\n\n for (int i = 0; i < al.length(); i++) {\n System.out.printf(\"%s : %d%n\",alp[i],cou[i]);\n }\n\n scn.close();\n\n\n }\n\n static int count(String[] S, String M) {\n int c = 0;\n for (int i = 0; i < S.length; i++) {\n if (S[i].equalsIgnoreCase(M)) {\n c += 1;\n }\n }\n return c;\n }\n\n\n}",
"public class Main {\n public static void main(String args[]) {\n Scanner scn = new Scanner(System.in);\n String al = \"abcdefghijklmnopqrstuvwxyz\";\n String[] alp = al.split(\"\");\n int cou[] = new int[26];\n\n while(scn.hasNextLine()) {\n String s =\"\";\n s = scn.nextLine();\n String[] str = s.split(\"\");\n\n for (int i = 0; i < al.length(); i++) {\n cou[i] += count(str, alp[i]);\n }\n\n }\n\n\n for (int i = 0; i < al.length(); i++) {\n System.out.printf(\"%s : %d%n\",alp[i],cou[i]);\n }\n\n scn.close();\n\n\n }\n\n static int count(String[] S, String M) {\n int c = 0;\n for (int i = 0; i < S.length; i++) {\n if (S[i].equalsIgnoreCase(M)) {\n c += 1;\n }\n }\n return c;\n }\n\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner scn = new Scanner(System.in);
String al = "abcdefghijklmnopqrstuvwxyz";
String[] alp = al.split("");
int cou[] = new int[26];
while(scn.hasNextLine()) {
String s ="";
s = scn.nextLine();
String[] str = s.split("");
for (int i = 0; i < al.length(); i++) {
cou[i] += count(str, alp[i]);
}
}
for (int i = 0; i < al.length(); i++) {
System.out.printf("%s : %d%n",alp[i],cou[i]);
}
scn.close();
}
static int count(String[] S, String M) {
int c = 0;
for (int i = 0; i < S.length; i++) {
if (S[i].equalsIgnoreCase(M)) {
c += 1;
}
}
return c;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
4,
13,
41,
13,
41,
13,
20,
17,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
4,
18,
13,
13,
2,
13,
17,
30,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
2,
4,
18,
13,
13,
2,
13,
17,
17,
17,
17,
18,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
13,
40,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
172,
8
],
[
172,
9
],
[
9,
10
],
[
9,
11
],
[
172,
13
],
[
13,
14
],
[
13,
15
],
[
172,
16
],
[
16,
17
],
[
172,
18
],
[
18,
19
],
[
18,
20
],
[
172,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
23,
31
],
[
31,
32
],
[
31,
33
],
[
23,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
39,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
50,
60
],
[
60,
61
],
[
61,
62
],
[
50,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
74,
75
],
[
65,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
81,
85
],
[
85,
86
],
[
85,
87
],
[
79,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
78,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
23,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
105,
106
],
[
105,
107
],
[
100,
108
],
[
108,
109
],
[
109,
110
],
[
100,
111
],
[
112,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
121,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
122,
126
],
[
126,
127
],
[
126,
128
],
[
121,
129
],
[
120,
130
],
[
119,
131
],
[
121,
132
],
[
132,
133
],
[
132,
134
],
[
21,
135
],
[
135,
136
],
[
172,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
140,
145
],
[
145,
146
],
[
145,
147
],
[
140,
148
],
[
148,
149
],
[
149,
150
],
[
140,
151
],
[
152,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
153,
157
],
[
152,
158
],
[
158,
159
],
[
139,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
160,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
0,
171
],
[
171,
172
],
[
171,
173
]
]
| [
"import java.io.UnsupportedEncodingException;\nimport java.util.Scanner;\n\n/**\n * Counting Characters\n */\npublic class Main {\n private static byte[] asciiCodes = new byte[26];\n private static int asc_a = 97;\n private static String alphabet;\n private static int alphabetSize = 26;\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n setAsciiCodes();\n String str;\n int [] count = new int[26];\n\n while (scan.hasNext()) {\n str = scan.nextLine();\n str = str.toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n for (int y = 0; y < alphabetSize; y++) {\n if (str.substring(i, i+1).equals(alphabet.substring(y, y+1))) {\n count[y]++;\n }\n }\n }\n }\n for (int p = 0; p < alphabetSize; p++) {\n System.out.println(alphabet.substring(p, p+1) + \" \" + \":\" + \" \" + count[p]);\n }\n }\n\n private static void setAsciiCodes() {\n for (int i = 0; i < alphabetSize; i++) {\n asciiCodes[i] = (byte) asc_a;\n asc_a ++;\n }\n try {\n alphabet = new String(asciiCodes, \"US-ASCII\");\n } catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n }\n }\n}",
"import java.io.UnsupportedEncodingException;",
"UnsupportedEncodingException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n private static byte[] asciiCodes = new byte[26];\n private static int asc_a = 97;\n private static String alphabet;\n private static int alphabetSize = 26;\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n setAsciiCodes();\n String str;\n int [] count = new int[26];\n\n while (scan.hasNext()) {\n str = scan.nextLine();\n str = str.toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n for (int y = 0; y < alphabetSize; y++) {\n if (str.substring(i, i+1).equals(alphabet.substring(y, y+1))) {\n count[y]++;\n }\n }\n }\n }\n for (int p = 0; p < alphabetSize; p++) {\n System.out.println(alphabet.substring(p, p+1) + \" \" + \":\" + \" \" + count[p]);\n }\n }\n\n private static void setAsciiCodes() {\n for (int i = 0; i < alphabetSize; i++) {\n asciiCodes[i] = (byte) asc_a;\n asc_a ++;\n }\n try {\n alphabet = new String(asciiCodes, \"US-ASCII\");\n } catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n }\n }\n}",
"Main",
"private static byte[] asciiCodes = new byte[26];",
"asciiCodes",
"new byte[26]",
"26",
"private static int asc_a = 97;",
"asc_a",
"97",
"private static String alphabet;",
"alphabet",
"private static int alphabetSize = 26;",
"alphabetSize",
"26",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n setAsciiCodes();\n String str;\n int [] count = new int[26];\n\n while (scan.hasNext()) {\n str = scan.nextLine();\n str = str.toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n for (int y = 0; y < alphabetSize; y++) {\n if (str.substring(i, i+1).equals(alphabet.substring(y, y+1))) {\n count[y]++;\n }\n }\n }\n }\n for (int p = 0; p < alphabetSize; p++) {\n System.out.println(alphabet.substring(p, p+1) + \" \" + \":\" + \" \" + count[p]);\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n\n setAsciiCodes();\n String str;\n int [] count = new int[26];\n\n while (scan.hasNext()) {\n str = scan.nextLine();\n str = str.toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n for (int y = 0; y < alphabetSize; y++) {\n if (str.substring(i, i+1).equals(alphabet.substring(y, y+1))) {\n count[y]++;\n }\n }\n }\n }\n for (int p = 0; p < alphabetSize; p++) {\n System.out.println(alphabet.substring(p, p+1) + \" \" + \":\" + \" \" + count[p]);\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"setAsciiCodes()",
"setAsciiCodes",
"String str;",
"str",
"int [] count = new int[26];",
"count",
"new int[26]",
"26",
"while (scan.hasNext()) {\n str = scan.nextLine();\n str = str.toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n for (int y = 0; y < alphabetSize; y++) {\n if (str.substring(i, i+1).equals(alphabet.substring(y, y+1))) {\n count[y]++;\n }\n }\n }\n }",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n str = scan.nextLine();\n str = str.toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n for (int y = 0; y < alphabetSize; y++) {\n if (str.substring(i, i+1).equals(alphabet.substring(y, y+1))) {\n count[y]++;\n }\n }\n }\n }",
"str = scan.nextLine()",
"str",
"scan.nextLine()",
"scan.nextLine",
"scan",
"str = str.toLowerCase()",
"str",
"str.toLowerCase()",
"str.toLowerCase",
"str",
"for (int i = 0; i < str.length(); i++) {\n for (int y = 0; y < alphabetSize; y++) {\n if (str.substring(i, i+1).equals(alphabet.substring(y, y+1))) {\n count[y]++;\n }\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str.length()",
"i",
"str.length()",
"str.length",
"str",
"i++",
"i++",
"i",
"{\n for (int y = 0; y < alphabetSize; y++) {\n if (str.substring(i, i+1).equals(alphabet.substring(y, y+1))) {\n count[y]++;\n }\n }\n }",
"{\n for (int y = 0; y < alphabetSize; y++) {\n if (str.substring(i, i+1).equals(alphabet.substring(y, y+1))) {\n count[y]++;\n }\n }\n }",
"for (int y = 0; y < alphabetSize; y++) {\n if (str.substring(i, i+1).equals(alphabet.substring(y, y+1))) {\n count[y]++;\n }\n }",
"int y = 0;",
"int y = 0;",
"y",
"0",
"y < alphabetSize",
"y",
"alphabetSize",
"y++",
"y++",
"y",
"{\n if (str.substring(i, i+1).equals(alphabet.substring(y, y+1))) {\n count[y]++;\n }\n }",
"{\n if (str.substring(i, i+1).equals(alphabet.substring(y, y+1))) {\n count[y]++;\n }\n }",
"if (str.substring(i, i+1).equals(alphabet.substring(y, y+1))) {\n count[y]++;\n }",
"str.substring(i, i+1).equals(alphabet.substring(y, y+1))",
"str.substring(i, i+1).equals",
"str.substring(i, i+1)",
"str.substring",
"str",
"i",
"i+1",
"i",
"1",
"alphabet.substring(y, y+1)",
"alphabet.substring",
"alphabet",
"y",
"y+1",
"y",
"1",
"{\n count[y]++;\n }",
"count[y]++",
"count[y]",
"count",
"y",
"for (int p = 0; p < alphabetSize; p++) {\n System.out.println(alphabet.substring(p, p+1) + \" \" + \":\" + \" \" + count[p]);\n }",
"int p = 0;",
"int p = 0;",
"p",
"0",
"p < alphabetSize",
"p",
"alphabetSize",
"p++",
"p++",
"p",
"{\n System.out.println(alphabet.substring(p, p+1) + \" \" + \":\" + \" \" + count[p]);\n }",
"{\n System.out.println(alphabet.substring(p, p+1) + \" \" + \":\" + \" \" + count[p]);\n }",
"System.out.println(alphabet.substring(p, p+1) + \" \" + \":\" + \" \" + count[p])",
"System.out.println",
"System.out",
"System",
"System.out",
"alphabet.substring(p, p+1) + \" \" + \":\" + \" \" + count[p]",
"\" \"",
"\":\"",
"alphabet.substring(p, p+1) + \" \" + \":\" + \" \" + count[p]",
"alphabet.substring(p, p+1)",
"alphabet.substring",
"alphabet",
"p",
"p+1",
"p",
"1",
"\" \"",
"\":\"",
"\" \"",
"count[p]",
"count",
"p",
"String[] args",
"args",
"private static void setAsciiCodes() {\n for (int i = 0; i < alphabetSize; i++) {\n asciiCodes[i] = (byte) asc_a;\n asc_a ++;\n }\n try {\n alphabet = new String(asciiCodes, \"US-ASCII\");\n } catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n }\n }",
"setAsciiCodes",
"{\n for (int i = 0; i < alphabetSize; i++) {\n asciiCodes[i] = (byte) asc_a;\n asc_a ++;\n }\n try {\n alphabet = new String(asciiCodes, \"US-ASCII\");\n } catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n }\n }",
"for (int i = 0; i < alphabetSize; i++) {\n asciiCodes[i] = (byte) asc_a;\n asc_a ++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < alphabetSize",
"i",
"alphabetSize",
"i++",
"i++",
"i",
"{\n asciiCodes[i] = (byte) asc_a;\n asc_a ++;\n }",
"{\n asciiCodes[i] = (byte) asc_a;\n asc_a ++;\n }",
"asciiCodes[i] = (byte) asc_a",
"asciiCodes[i]",
"asciiCodes",
"i",
"(byte) asc_a",
"asc_a ++",
"asc_a",
"try {\n alphabet = new String(asciiCodes, \"US-ASCII\");\n } catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n }",
"catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n }",
"UnsupportedEncodingException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n alphabet = new String(asciiCodes, \"US-ASCII\");\n }",
"alphabet = new String(asciiCodes, \"US-ASCII\")",
"alphabet",
"new String(asciiCodes, \"US-ASCII\")",
"public class Main {\n private static byte[] asciiCodes = new byte[26];\n private static int asc_a = 97;\n private static String alphabet;\n private static int alphabetSize = 26;\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n setAsciiCodes();\n String str;\n int [] count = new int[26];\n\n while (scan.hasNext()) {\n str = scan.nextLine();\n str = str.toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n for (int y = 0; y < alphabetSize; y++) {\n if (str.substring(i, i+1).equals(alphabet.substring(y, y+1))) {\n count[y]++;\n }\n }\n }\n }\n for (int p = 0; p < alphabetSize; p++) {\n System.out.println(alphabet.substring(p, p+1) + \" \" + \":\" + \" \" + count[p]);\n }\n }\n\n private static void setAsciiCodes() {\n for (int i = 0; i < alphabetSize; i++) {\n asciiCodes[i] = (byte) asc_a;\n asc_a ++;\n }\n try {\n alphabet = new String(asciiCodes, \"US-ASCII\");\n } catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n }\n }\n}",
"public class Main {\n private static byte[] asciiCodes = new byte[26];\n private static int asc_a = 97;\n private static String alphabet;\n private static int alphabetSize = 26;\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n setAsciiCodes();\n String str;\n int [] count = new int[26];\n\n while (scan.hasNext()) {\n str = scan.nextLine();\n str = str.toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n for (int y = 0; y < alphabetSize; y++) {\n if (str.substring(i, i+1).equals(alphabet.substring(y, y+1))) {\n count[y]++;\n }\n }\n }\n }\n for (int p = 0; p < alphabetSize; p++) {\n System.out.println(alphabet.substring(p, p+1) + \" \" + \":\" + \" \" + count[p]);\n }\n }\n\n private static void setAsciiCodes() {\n for (int i = 0; i < alphabetSize; i++) {\n asciiCodes[i] = (byte) asc_a;\n asc_a ++;\n }\n try {\n alphabet = new String(asciiCodes, \"US-ASCII\");\n } catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n }\n }\n}",
"Main"
]
| import java.io.UnsupportedEncodingException;
import java.util.Scanner;
/**
* Counting Characters
*/
public class Main {
private static byte[] asciiCodes = new byte[26];
private static int asc_a = 97;
private static String alphabet;
private static int alphabetSize = 26;
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
setAsciiCodes();
String str;
int [] count = new int[26];
while (scan.hasNext()) {
str = scan.nextLine();
str = str.toLowerCase();
for (int i = 0; i < str.length(); i++) {
for (int y = 0; y < alphabetSize; y++) {
if (str.substring(i, i+1).equals(alphabet.substring(y, y+1))) {
count[y]++;
}
}
}
}
for (int p = 0; p < alphabetSize; p++) {
System.out.println(alphabet.substring(p, p+1) + " " + ":" + " " + count[p]);
}
}
private static void setAsciiCodes() {
for (int i = 0; i < alphabetSize; i++) {
asciiCodes[i] = (byte) asc_a;
asc_a ++;
}
try {
alphabet = new String(asciiCodes, "US-ASCII");
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
20,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
2,
2,
17,
13,
4,
18,
13,
13,
2,
2,
17,
13,
4,
18,
13,
13,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
2,
17,
13,
17,
17,
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
],
[
8,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
56,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
55,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
8,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
77,
85
],
[
85,
86
],
[
86,
87
],
[
77,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
97,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
96,
102
],
[
97,
103
],
[
103,
104
],
[
103,
105
],
[
6,
106
],
[
106,
107
]
]
| [
"import java.io.*;\nclass Main\n{\n public static void main(String args[])throws IOException\n {\n\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\tString str;\n\tint a[]=new int[26];\n\twhile((str=input.readLine())!=null)\n\t {\n\t\t\n\t\tfor(int j=0;j<26;j++)\n\t\t {\t\n\t\t\t\n\t\t\tfor(int i=0;i<str.length();i++)\n\t\t\t {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif((char)('A'+j)==str.charAt(i) || (char)('a'+j)==str.charAt(i))a[j]++;\n\t\t\t\t\n\t\t\t }\n\t\t\t\n\t\t }\n\n\t }\n\tfor(int j=0;j<26;j++)\n\t {\n\tSystem.out.println((char)('a'+j)+\" :\"+\" \"+a[j]);\n\t }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n public static void main(String args[])throws IOException\n {\n\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\tString str;\n\tint a[]=new int[26];\n\twhile((str=input.readLine())!=null)\n\t {\n\t\t\n\t\tfor(int j=0;j<26;j++)\n\t\t {\t\n\t\t\t\n\t\t\tfor(int i=0;i<str.length();i++)\n\t\t\t {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif((char)('A'+j)==str.charAt(i) || (char)('a'+j)==str.charAt(i))a[j]++;\n\t\t\t\t\n\t\t\t }\n\t\t\t\n\t\t }\n\n\t }\n\tfor(int j=0;j<26;j++)\n\t {\n\tSystem.out.println((char)('a'+j)+\" :\"+\" \"+a[j]);\n\t }\n }\n}",
"Main",
"public static void main(String args[])throws IOException\n {\n\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\tString str;\n\tint a[]=new int[26];\n\twhile((str=input.readLine())!=null)\n\t {\n\t\t\n\t\tfor(int j=0;j<26;j++)\n\t\t {\t\n\t\t\t\n\t\t\tfor(int i=0;i<str.length();i++)\n\t\t\t {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif((char)('A'+j)==str.charAt(i) || (char)('a'+j)==str.charAt(i))a[j]++;\n\t\t\t\t\n\t\t\t }\n\t\t\t\n\t\t }\n\n\t }\n\tfor(int j=0;j<26;j++)\n\t {\n\tSystem.out.println((char)('a'+j)+\" :\"+\" \"+a[j]);\n\t }\n }",
"main",
"{\n\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\tString str;\n\tint a[]=new int[26];\n\twhile((str=input.readLine())!=null)\n\t {\n\t\t\n\t\tfor(int j=0;j<26;j++)\n\t\t {\t\n\t\t\t\n\t\t\tfor(int i=0;i<str.length();i++)\n\t\t\t {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif((char)('A'+j)==str.charAt(i) || (char)('a'+j)==str.charAt(i))a[j]++;\n\t\t\t\t\n\t\t\t }\n\t\t\t\n\t\t }\n\n\t }\n\tfor(int j=0;j<26;j++)\n\t {\n\tSystem.out.println((char)('a'+j)+\" :\"+\" \"+a[j]);\n\t }\n }",
"BufferedReader input=new BufferedReader(new InputStreamReader(System.in));",
"input",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"int a[]=new int[26];",
"a",
"new int[26]",
"26",
"while((str=input.readLine())!=null)\n\t {\n\t\t\n\t\tfor(int j=0;j<26;j++)\n\t\t {\t\n\t\t\t\n\t\t\tfor(int i=0;i<str.length();i++)\n\t\t\t {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif((char)('A'+j)==str.charAt(i) || (char)('a'+j)==str.charAt(i))a[j]++;\n\t\t\t\t\n\t\t\t }\n\t\t\t\n\t\t }\n\n\t }",
"(str=input.readLine())!=null",
"(str=input.readLine())",
"str",
"input.readLine()",
"input.readLine",
"input",
"null",
"{\n\t\t\n\t\tfor(int j=0;j<26;j++)\n\t\t {\t\n\t\t\t\n\t\t\tfor(int i=0;i<str.length();i++)\n\t\t\t {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif((char)('A'+j)==str.charAt(i) || (char)('a'+j)==str.charAt(i))a[j]++;\n\t\t\t\t\n\t\t\t }\n\t\t\t\n\t\t }\n\n\t }",
"for(int j=0;j<26;j++)\n\t\t {\t\n\t\t\t\n\t\t\tfor(int i=0;i<str.length();i++)\n\t\t\t {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif((char)('A'+j)==str.charAt(i) || (char)('a'+j)==str.charAt(i))a[j]++;\n\t\t\t\t\n\t\t\t }\n\t\t\t\n\t\t }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<26",
"j",
"26",
"j++",
"j++",
"j",
"{\t\n\t\t\t\n\t\t\tfor(int i=0;i<str.length();i++)\n\t\t\t {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif((char)('A'+j)==str.charAt(i) || (char)('a'+j)==str.charAt(i))a[j]++;\n\t\t\t\t\n\t\t\t }\n\t\t\t\n\t\t }",
"{\t\n\t\t\t\n\t\t\tfor(int i=0;i<str.length();i++)\n\t\t\t {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif((char)('A'+j)==str.charAt(i) || (char)('a'+j)==str.charAt(i))a[j]++;\n\t\t\t\t\n\t\t\t }\n\t\t\t\n\t\t }",
"for(int i=0;i<str.length();i++)\n\t\t\t {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif((char)('A'+j)==str.charAt(i) || (char)('a'+j)==str.charAt(i))a[j]++;\n\t\t\t\t\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\n\t\t\t\t\n\t\t\t\tif((char)('A'+j)==str.charAt(i) || (char)('a'+j)==str.charAt(i))a[j]++;\n\t\t\t\t\n\t\t\t }",
"{\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif((char)('A'+j)==str.charAt(i) || (char)('a'+j)==str.charAt(i))a[j]++;\n\t\t\t\t\n\t\t\t }",
"if((char)('A'+j)==str.charAt(i) || (char)('a'+j)==str.charAt(i))a[j]++;",
"(char)('A'+j)==str.charAt(i) || (char)('a'+j)==str.charAt(i)",
"(char)('A'+j)==str.charAt(i)",
"(char)('A'+j)",
"'A'",
"j",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"(char)('a'+j)==str.charAt(i)",
"(char)('a'+j)",
"'a'",
"j",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"a[j]++",
"a[j]",
"a",
"j",
"for(int j=0;j<26;j++)\n\t {\n\tSystem.out.println((char)('a'+j)+\" :\"+\" \"+a[j]);\n\t }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<26",
"j",
"26",
"j++",
"j++",
"j",
"{\n\tSystem.out.println((char)('a'+j)+\" :\"+\" \"+a[j]);\n\t }",
"{\n\tSystem.out.println((char)('a'+j)+\" :\"+\" \"+a[j]);\n\t }",
"System.out.println((char)('a'+j)+\" :\"+\" \"+a[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)('a'+j)+\" :\"+\" \"+a[j]",
"\" \"",
"(char)('a'+j)+\" :\"+\" \"+a[j]",
"(char)('a'+j)",
"'a'",
"j",
"\" :\"",
"\" \"",
"a[j]",
"a",
"j",
"String args[]",
"args"
]
| import java.io.*;
class Main
{
public static void main(String args[])throws IOException
{
BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
String str;
int a[]=new int[26];
while((str=input.readLine())!=null)
{
for(int j=0;j<26;j++)
{
for(int i=0;i<str.length();i++)
{
if((char)('A'+j)==str.charAt(i) || (char)('a'+j)==str.charAt(i))a[j]++;
}
}
}
for(int j=0;j<26;j++)
{
System.out.println((char)('a'+j)+" :"+" "+a[j]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
28,
13,
13,
30,
30,
14,
4,
18,
13,
13,
0,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
14,
2,
13,
18,
13,
13,
0,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
17,
18,
13,
13,
18,
13,
13,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
138,
5
],
[
138,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
14,
17
],
[
14,
18
],
[
14,
19
],
[
14,
20
],
[
14,
21
],
[
14,
22
],
[
14,
23
],
[
14,
24
],
[
14,
25
],
[
14,
26
],
[
14,
27
],
[
14,
28
],
[
14,
29
],
[
14,
30
],
[
14,
31
],
[
14,
32
],
[
14,
33
],
[
14,
34
],
[
14,
35
],
[
14,
36
],
[
14,
37
],
[
14,
38
],
[
14,
39
],
[
14,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
49,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
60,
61
],
[
60,
62
],
[
60,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
64,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
76,
86
],
[
86,
87
],
[
87,
88
],
[
76,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
90,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
8,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
101,
113
],
[
113,
114
],
[
114,
115
],
[
101,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
117,
123
],
[
123,
124
],
[
123,
125
],
[
117,
126
],
[
126,
127
],
[
126,
128
],
[
138,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
129,
135
],
[
135,
136
],
[
0,
137
],
[
137,
138
],
[
137,
139
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tchar[] alphabet = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\tint[] count = new int[27];\n\n\t\twhile (scan.hasNext()) {\n\t\t\tString str = scan.next();\n\t\t\tchar[] schar = str.toCharArray();\n\t\t\tfor (char c : schar) {\n\t\t\t\tif (Character.isUpperCase(c))\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tfor (int i = 0; i < alphabet.length; i++)\n\t\t\t\t\tif (c == alphabet[i]) count[i] += 1;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < count.length - 1; i++)\n\t\t\tSystem.out.printf(\"%c : %d\\n\", alphabet[i], count[i]);\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\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tchar[] alphabet = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\tint[] count = new int[27];\n\n\t\twhile (scan.hasNext()) {\n\t\t\tString str = scan.next();\n\t\t\tchar[] schar = str.toCharArray();\n\t\t\tfor (char c : schar) {\n\t\t\t\tif (Character.isUpperCase(c))\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tfor (int i = 0; i < alphabet.length; i++)\n\t\t\t\t\tif (c == alphabet[i]) count[i] += 1;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < count.length - 1; i++)\n\t\t\tSystem.out.printf(\"%c : %d\\n\", alphabet[i], count[i]);\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"Main",
"void run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tchar[] alphabet = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\tint[] count = new int[27];\n\n\t\twhile (scan.hasNext()) {\n\t\t\tString str = scan.next();\n\t\t\tchar[] schar = str.toCharArray();\n\t\t\tfor (char c : schar) {\n\t\t\t\tif (Character.isUpperCase(c))\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tfor (int i = 0; i < alphabet.length; i++)\n\t\t\t\t\tif (c == alphabet[i]) count[i] += 1;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < count.length - 1; i++)\n\t\t\tSystem.out.printf(\"%c : %d\\n\", alphabet[i], count[i]);\n\t}",
"run",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tchar[] alphabet = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\tint[] count = new int[27];\n\n\t\twhile (scan.hasNext()) {\n\t\t\tString str = scan.next();\n\t\t\tchar[] schar = str.toCharArray();\n\t\t\tfor (char c : schar) {\n\t\t\t\tif (Character.isUpperCase(c))\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tfor (int i = 0; i < alphabet.length; i++)\n\t\t\t\t\tif (c == alphabet[i]) count[i] += 1;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < count.length - 1; i++)\n\t\t\tSystem.out.printf(\"%c : %d\\n\", alphabet[i], count[i]);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"char[] alphabet = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};",
"alphabet",
"{'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}",
"'a'",
"'b'",
"'c'",
"'d'",
"'e'",
"'f'",
"'g'",
"'h'",
"'i'",
"'j'",
"'k'",
"'l'",
"'m'",
"'n'",
"'o'",
"'p'",
"'q'",
"'r'",
"'s'",
"'t'",
"'u'",
"'v'",
"'w'",
"'x'",
"'y'",
"'z'",
"int[] count = new int[27];",
"count",
"new int[27]",
"27",
"while (scan.hasNext()) {\n\t\t\tString str = scan.next();\n\t\t\tchar[] schar = str.toCharArray();\n\t\t\tfor (char c : schar) {\n\t\t\t\tif (Character.isUpperCase(c))\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tfor (int i = 0; i < alphabet.length; i++)\n\t\t\t\t\tif (c == alphabet[i]) count[i] += 1;\n\t\t\t}\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\tString str = scan.next();\n\t\t\tchar[] schar = str.toCharArray();\n\t\t\tfor (char c : schar) {\n\t\t\t\tif (Character.isUpperCase(c))\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tfor (int i = 0; i < alphabet.length; i++)\n\t\t\t\t\tif (c == alphabet[i]) count[i] += 1;\n\t\t\t}\n\t\t}",
"String str = scan.next();",
"str",
"scan.next()",
"scan.next",
"scan",
"char[] schar = str.toCharArray();",
"schar",
"str.toCharArray()",
"str.toCharArray",
"str",
"for (char c : schar) {\n\t\t\t\tif (Character.isUpperCase(c))\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tfor (int i = 0; i < alphabet.length; i++)\n\t\t\t\t\tif (c == alphabet[i]) count[i] += 1;\n\t\t\t}",
"char c",
"schar",
"{\n\t\t\t\tif (Character.isUpperCase(c))\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tfor (int i = 0; i < alphabet.length; i++)\n\t\t\t\t\tif (c == alphabet[i]) count[i] += 1;\n\t\t\t}",
"{\n\t\t\t\tif (Character.isUpperCase(c))\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tfor (int i = 0; i < alphabet.length; i++)\n\t\t\t\t\tif (c == alphabet[i]) count[i] += 1;\n\t\t\t}",
"if (Character.isUpperCase(c))\n\t\t\t\t\tc = Character.toLowerCase(c);",
"Character.isUpperCase(c)",
"Character.isUpperCase",
"Character",
"c",
"c = Character.toLowerCase(c)",
"c",
"Character.toLowerCase(c)",
"Character.toLowerCase",
"Character",
"c",
"for (int i = 0; i < alphabet.length; i++)\n\t\t\t\t\tif (c == alphabet[i]) count[i] += 1;",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < alphabet.length",
"i",
"alphabet.length",
"alphabet",
"alphabet.length",
"i++",
"i++",
"i",
"if (c == alphabet[i]) count[i] += 1;",
"if (c == alphabet[i]) count[i] += 1;",
"c == alphabet[i]",
"c",
"alphabet[i]",
"alphabet",
"i",
"count[i] += 1",
"count[i]",
"count",
"i",
"1",
"for (int i = 0; i < count.length - 1; i++)\n\t\t\tSystem.out.printf(\"%c : %d\\n\", alphabet[i], count[i]);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < count.length - 1",
"i",
"count.length - 1",
"count.length",
"count",
"count.length",
"1",
"i++",
"i++",
"i",
"System.out.printf(\"%c : %d\\n\", alphabet[i], count[i]);",
"System.out.printf(\"%c : %d\\n\", alphabet[i], count[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%c : %d\\n\"",
"alphabet[i]",
"alphabet",
"i",
"count[i]",
"count",
"i",
"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 scan = new Scanner(System.in);\n\t\tchar[] alphabet = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\tint[] count = new int[27];\n\n\t\twhile (scan.hasNext()) {\n\t\t\tString str = scan.next();\n\t\t\tchar[] schar = str.toCharArray();\n\t\t\tfor (char c : schar) {\n\t\t\t\tif (Character.isUpperCase(c))\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tfor (int i = 0; i < alphabet.length; i++)\n\t\t\t\t\tif (c == alphabet[i]) count[i] += 1;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < count.length - 1; i++)\n\t\t\tSystem.out.printf(\"%c : %d\\n\", alphabet[i], count[i]);\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"public class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tchar[] alphabet = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\tint[] count = new int[27];\n\n\t\twhile (scan.hasNext()) {\n\t\t\tString str = scan.next();\n\t\t\tchar[] schar = str.toCharArray();\n\t\t\tfor (char c : schar) {\n\t\t\t\tif (Character.isUpperCase(c))\n\t\t\t\t\tc = Character.toLowerCase(c);\n\t\t\t\tfor (int i = 0; i < alphabet.length; i++)\n\t\t\t\t\tif (c == alphabet[i]) count[i] += 1;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < count.length - 1; i++)\n\t\t\tSystem.out.printf(\"%c : %d\\n\", alphabet[i], count[i]);\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 {
void run() {
Scanner scan = new Scanner(System.in);
char[] alphabet = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};
int[] count = new int[27];
while (scan.hasNext()) {
String str = scan.next();
char[] schar = str.toCharArray();
for (char c : schar) {
if (Character.isUpperCase(c))
c = Character.toLowerCase(c);
for (int i = 0; i < alphabet.length; i++)
if (c == alphabet[i]) count[i] += 1;
}
}
for (int i = 0; i < count.length - 1; i++)
System.out.printf("%c : %d\n", alphabet[i], count[i]);
}
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,
20,
41,
13,
20,
18,
13,
13,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
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
],
[
121,
11
],
[
121,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
24,
25
],
[
24,
26
],
[
14,
27
],
[
27,
28
],
[
14,
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
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
45,
55
],
[
55,
56
],
[
56,
57
],
[
45,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
60,
70
],
[
70,
71
],
[
71,
72
],
[
60,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
14,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
96,
98
],
[
89,
99
],
[
99,
100
],
[
100,
101
],
[
89,
102
],
[
103,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
110,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
110,
115
],
[
115,
116
],
[
115,
117
],
[
12,
118
],
[
118,
119
],
[
0,
120
],
[
120,
121
],
[
120,
122
]
]
| [
"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\tchar[] alpha = new char[] { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q',\n\t\t\t\t'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' };\n\t\tint[] countList = new int[alpha.length];\n\n\t\tString str;\n\t\twhile((str = br.readLine())!= null){\n\t\t\tchar[] input = str.toLowerCase().toCharArray();\n\t\t\tfor(int i=0; i<input.length;i++){\n\t\t\t\tfor(int j=0;j<alpha.length;j++){\n\t\t\t\t\tif(input[i]==alpha[j]){\n\t\t\t\t\t\tcountList[j] +=1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<alpha.length;i++){\n\t\t\tSystem.out.println(alpha[i] + \" : \" + countList[i]);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tchar[] alpha = new char[] { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q',\n\t\t\t\t'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' };\n\t\tint[] countList = new int[alpha.length];\n\n\t\tString str;\n\t\twhile((str = br.readLine())!= null){\n\t\t\tchar[] input = str.toLowerCase().toCharArray();\n\t\t\tfor(int i=0; i<input.length;i++){\n\t\t\t\tfor(int j=0;j<alpha.length;j++){\n\t\t\t\t\tif(input[i]==alpha[j]){\n\t\t\t\t\t\tcountList[j] +=1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<alpha.length;i++){\n\t\t\tSystem.out.println(alpha[i] + \" : \" + countList[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tchar[] alpha = new char[] { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q',\n\t\t\t\t'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' };\n\t\tint[] countList = new int[alpha.length];\n\n\t\tString str;\n\t\twhile((str = br.readLine())!= null){\n\t\t\tchar[] input = str.toLowerCase().toCharArray();\n\t\t\tfor(int i=0; i<input.length;i++){\n\t\t\t\tfor(int j=0;j<alpha.length;j++){\n\t\t\t\t\tif(input[i]==alpha[j]){\n\t\t\t\t\t\tcountList[j] +=1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<alpha.length;i++){\n\t\t\tSystem.out.println(alpha[i] + \" : \" + countList[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tchar[] alpha = new char[] { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q',\n\t\t\t\t'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' };\n\t\tint[] countList = new int[alpha.length];\n\n\t\tString str;\n\t\twhile((str = br.readLine())!= null){\n\t\t\tchar[] input = str.toLowerCase().toCharArray();\n\t\t\tfor(int i=0; i<input.length;i++){\n\t\t\t\tfor(int j=0;j<alpha.length;j++){\n\t\t\t\t\tif(input[i]==alpha[j]){\n\t\t\t\t\t\tcountList[j] +=1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<alpha.length;i++){\n\t\t\tSystem.out.println(alpha[i] + \" : \" + countList[i]);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"char[] alpha = new char[] { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q',\n\t\t\t\t'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' };",
"alpha",
"new char[] { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q',\n\t\t\t\t'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' }",
"int[] countList = new int[alpha.length];",
"countList",
"new int[alpha.length]",
"alpha.length",
"alpha",
"alpha.length",
"String str;",
"str",
"while((str = br.readLine())!= null){\n\t\t\tchar[] input = str.toLowerCase().toCharArray();\n\t\t\tfor(int i=0; i<input.length;i++){\n\t\t\t\tfor(int j=0;j<alpha.length;j++){\n\t\t\t\t\tif(input[i]==alpha[j]){\n\t\t\t\t\t\tcountList[j] +=1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"(str = br.readLine())!= null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tchar[] input = str.toLowerCase().toCharArray();\n\t\t\tfor(int i=0; i<input.length;i++){\n\t\t\t\tfor(int j=0;j<alpha.length;j++){\n\t\t\t\t\tif(input[i]==alpha[j]){\n\t\t\t\t\t\tcountList[j] +=1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"char[] input = str.toLowerCase().toCharArray();",
"input",
"str.toLowerCase().toCharArray()",
"str.toLowerCase().toCharArray",
"str.toLowerCase()",
"str.toLowerCase",
"str",
"for(int i=0; i<input.length;i++){\n\t\t\t\tfor(int j=0;j<alpha.length;j++){\n\t\t\t\t\tif(input[i]==alpha[j]){\n\t\t\t\t\t\tcountList[j] +=1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<input.length",
"i",
"input.length",
"input",
"input.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j=0;j<alpha.length;j++){\n\t\t\t\t\tif(input[i]==alpha[j]){\n\t\t\t\t\t\tcountList[j] +=1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tfor(int j=0;j<alpha.length;j++){\n\t\t\t\t\tif(input[i]==alpha[j]){\n\t\t\t\t\t\tcountList[j] +=1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"for(int j=0;j<alpha.length;j++){\n\t\t\t\t\tif(input[i]==alpha[j]){\n\t\t\t\t\t\tcountList[j] +=1;\n\t\t\t\t\t}\n\t\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<alpha.length",
"j",
"alpha.length",
"alpha",
"alpha.length",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tif(input[i]==alpha[j]){\n\t\t\t\t\t\tcountList[j] +=1;\n\t\t\t\t\t}\n\t\t\t\t}",
"{\n\t\t\t\t\tif(input[i]==alpha[j]){\n\t\t\t\t\t\tcountList[j] +=1;\n\t\t\t\t\t}\n\t\t\t\t}",
"if(input[i]==alpha[j]){\n\t\t\t\t\t\tcountList[j] +=1;\n\t\t\t\t\t}",
"input[i]==alpha[j]",
"input[i]",
"input",
"i",
"alpha[j]",
"alpha",
"j",
"{\n\t\t\t\t\t\tcountList[j] +=1;\n\t\t\t\t\t}",
"countList[j] +=1",
"countList[j]",
"countList",
"j",
"1",
"for(int i=0;i<alpha.length;i++){\n\t\t\tSystem.out.println(alpha[i] + \" : \" + countList[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<alpha.length",
"i",
"alpha.length",
"alpha",
"alpha.length",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(alpha[i] + \" : \" + countList[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(alpha[i] + \" : \" + countList[i]);\n\t\t}",
"System.out.println(alpha[i] + \" : \" + countList[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"alpha[i] + \" : \" + countList[i]",
"alpha[i] + \" : \" + countList[i]",
"alpha[i]",
"alpha",
"i",
"\" : \"",
"countList[i]",
"countList",
"i",
"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\tchar[] alpha = new char[] { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q',\n\t\t\t\t'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' };\n\t\tint[] countList = new int[alpha.length];\n\n\t\tString str;\n\t\twhile((str = br.readLine())!= null){\n\t\t\tchar[] input = str.toLowerCase().toCharArray();\n\t\t\tfor(int i=0; i<input.length;i++){\n\t\t\t\tfor(int j=0;j<alpha.length;j++){\n\t\t\t\t\tif(input[i]==alpha[j]){\n\t\t\t\t\t\tcountList[j] +=1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<alpha.length;i++){\n\t\t\tSystem.out.println(alpha[i] + \" : \" + countList[i]);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tchar[] alpha = new char[] { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q',\n\t\t\t\t'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' };\n\t\tint[] countList = new int[alpha.length];\n\n\t\tString str;\n\t\twhile((str = br.readLine())!= null){\n\t\t\tchar[] input = str.toLowerCase().toCharArray();\n\t\t\tfor(int i=0; i<input.length;i++){\n\t\t\t\tfor(int j=0;j<alpha.length;j++){\n\t\t\t\t\tif(input[i]==alpha[j]){\n\t\t\t\t\t\tcountList[j] +=1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<alpha.length;i++){\n\t\t\tSystem.out.println(alpha[i] + \" : \" + countList[i]);\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));
char[] alpha = new char[] { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q',
'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' };
int[] countList = new int[alpha.length];
String str;
while((str = br.readLine())!= null){
char[] input = str.toLowerCase().toCharArray();
for(int i=0; i<input.length;i++){
for(int j=0;j<alpha.length;j++){
if(input[i]==alpha[j]){
countList[j] +=1;
}
}
}
}
for(int i=0;i<alpha.length;i++){
System.out.println(alpha[i] + " : " + countList[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
40,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
81,
8
],
[
81,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
53,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
72,
72
],
[
72,
73
],
[
72,
74
],
[
72,
75
],
[
75,
76
],
[
75,
77
],
[
9,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
]
| [
"import java.util.Scanner;\nimport java.lang.String;\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n int[] counter = new int[127];\n while (sc.hasNext()) {\n String str = sc.nextLine().toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n counter[str.charAt(i)]++;\n }\n }\n for (char i = 'a'; i <= 'z'; i++) {\n System.out.println(i + \" : \" + counter[i]);\n }\n }\n}\n//答え(sc.nextline.toLowerCase();のような関数が連続するところの理解はできるが実装する発想が難しい。。。",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.lang.String;",
"String",
"java.lang",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n int[] counter = new int[127];\n while (sc.hasNext()) {\n String str = sc.nextLine().toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n counter[str.charAt(i)]++;\n }\n }\n for (char i = 'a'; i <= 'z'; i++) {\n System.out.println(i + \" : \" + counter[i]);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n int[] counter = new int[127];\n while (sc.hasNext()) {\n String str = sc.nextLine().toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n counter[str.charAt(i)]++;\n }\n }\n for (char i = 'a'; i <= 'z'; i++) {\n System.out.println(i + \" : \" + counter[i]);\n }\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n\n int[] counter = new int[127];\n while (sc.hasNext()) {\n String str = sc.nextLine().toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n counter[str.charAt(i)]++;\n }\n }\n for (char i = 'a'; i <= 'z'; i++) {\n System.out.println(i + \" : \" + counter[i]);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] counter = new int[127];",
"counter",
"new int[127]",
"127",
"while (sc.hasNext()) {\n String str = sc.nextLine().toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n counter[str.charAt(i)]++;\n }\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n String str = sc.nextLine().toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n counter[str.charAt(i)]++;\n }\n }",
"String str = sc.nextLine().toLowerCase();",
"str",
"sc.nextLine().toLowerCase()",
"sc.nextLine().toLowerCase",
"sc.nextLine()",
"sc.nextLine",
"sc",
"for (int i = 0; i < str.length(); i++) {\n counter[str.charAt(i)]++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str.length()",
"i",
"str.length()",
"str.length",
"str",
"i++",
"i++",
"i",
"{\n counter[str.charAt(i)]++;\n }",
"{\n counter[str.charAt(i)]++;\n }",
"counter[str.charAt(i)]++",
"counter[str.charAt(i)]",
"counter",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"for (char i = 'a'; i <= 'z'; i++) {\n System.out.println(i + \" : \" + counter[i]);\n }",
"char i = 'a';",
"char i = 'a';",
"i",
"'a'",
"i <= 'z'",
"i",
"'z'",
"i++",
"i++",
"i",
"{\n System.out.println(i + \" : \" + counter[i]);\n }",
"{\n System.out.println(i + \" : \" + counter[i]);\n }",
"System.out.println(i + \" : \" + counter[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"i + \" : \" + counter[i]",
"i + \" : \" + counter[i]",
"i",
"\" : \"",
"counter[i]",
"counter",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n int[] counter = new int[127];\n while (sc.hasNext()) {\n String str = sc.nextLine().toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n counter[str.charAt(i)]++;\n }\n }\n for (char i = 'a'; i <= 'z'; i++) {\n System.out.println(i + \" : \" + counter[i]);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n int[] counter = new int[127];\n while (sc.hasNext()) {\n String str = sc.nextLine().toLowerCase();\n for (int i = 0; i < str.length(); i++) {\n counter[str.charAt(i)]++;\n }\n }\n for (char i = 'a'; i <= 'z'; i++) {\n System.out.println(i + \" : \" + counter[i]);\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
import java.lang.String;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] counter = new int[127];
while (sc.hasNext()) {
String str = sc.nextLine().toLowerCase();
for (int i = 0; i < str.length(); i++) {
counter[str.charAt(i)]++;
}
}
for (char i = 'a'; i <= 'z'; i++) {
System.out.println(i + " : " + counter[i]);
}
}
}
//答え(sc.nextline.toLowerCase();のような関数が連続するところの理解はできるが実装する発想が難しい。。。
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
17,
41,
13,
20,
12,
13,
30,
38,
5,
13,
30,
30,
42,
17,
30,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
13,
4,
18,
13,
13,
4,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
14,
4,
18,
13,
13,
30,
41,
13,
2,
13,
17,
40,
18,
13,
13,
14,
4,
18,
13,
13,
30,
41,
13,
4,
18,
13,
13,
41,
13,
2,
13,
17,
40,
18,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
17,
17,
18,
13,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
156,
5
],
[
156,
6
],
[
6,
7
],
[
6,
8
],
[
156,
9
],
[
9,
10
],
[
9,
11
],
[
156,
13
],
[
13,
14
],
[
13,
15
],
[
156,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
31,
32
],
[
18,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
33,
43
],
[
43,
44
],
[
44,
45
],
[
33,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
18,
54
],
[
54,
55
],
[
16,
56
],
[
56,
57
],
[
156,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
61,
71
],
[
71,
72
],
[
72,
73
],
[
61,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
58,
82
],
[
82,
83
],
[
156,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
87,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
95,
97
],
[
92,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
86,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
102,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
107,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
116,
118
],
[
107,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
84,
123
],
[
123,
124
],
[
156,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
128,
133
],
[
133,
134
],
[
133,
135
],
[
128,
136
],
[
136,
137
],
[
137,
138
],
[
128,
139
],
[
140,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
141,
146
],
[
147,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
147,
152
],
[
152,
153
],
[
152,
154
],
[
0,
155
],
[
155,
156
],
[
155,
157
]
]
| [
"import java.util.*;\n\npublic class Main {\n\tprivate static Scanner sc=new Scanner(System.in);\n\tprivate static int[] counter=new int[26];\n\tprivate static ArrayList<String> str=new ArrayList<String>();\n\tpublic static void main(String[] args){\n\t\ttry{\n\t\t\twhile(true){\n\t\t\t\tstr.add(sc.next());\n\t\t\t}\n\t\t}catch(NoSuchElementException e){}\n\t\tfor(int i=0;i<str.size();i++){\n\t\t\tgetchar(str.get(i));\n\t\t}\n\t\tshow();\n\t}\n\tprivate static void getchar(String s){\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tcountup(s.charAt(i));\n\t\t}\n\t}\n\tprivate static void countup(char c){\n\t\tif(Character.isLowerCase(c)){\n\t\t\tint num=c-'a';\n\t\t\tcounter[num]++;\n\t\t}\n\t\tif(Character.isUpperCase(c)){\n\t\t\tchar ch=Character.toLowerCase(c);\n\t\t\tint num=ch-'a';\n\t\t\tcounter[num]++;\n\t\t}\n\t}\n\tprivate static void show(){\n\t\tfor(int i=0;i<26;i++){\n\t\t\tSystem.out.println((char)(i+'a')+\" : \"+counter[i]);\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tprivate static Scanner sc=new Scanner(System.in);\n\tprivate static int[] counter=new int[26];\n\tprivate static ArrayList<String> str=new ArrayList<String>();\n\tpublic static void main(String[] args){\n\t\ttry{\n\t\t\twhile(true){\n\t\t\t\tstr.add(sc.next());\n\t\t\t}\n\t\t}catch(NoSuchElementException e){}\n\t\tfor(int i=0;i<str.size();i++){\n\t\t\tgetchar(str.get(i));\n\t\t}\n\t\tshow();\n\t}\n\tprivate static void getchar(String s){\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tcountup(s.charAt(i));\n\t\t}\n\t}\n\tprivate static void countup(char c){\n\t\tif(Character.isLowerCase(c)){\n\t\t\tint num=c-'a';\n\t\t\tcounter[num]++;\n\t\t}\n\t\tif(Character.isUpperCase(c)){\n\t\t\tchar ch=Character.toLowerCase(c);\n\t\t\tint num=ch-'a';\n\t\t\tcounter[num]++;\n\t\t}\n\t}\n\tprivate static void show(){\n\t\tfor(int i=0;i<26;i++){\n\t\t\tSystem.out.println((char)(i+'a')+\" : \"+counter[i]);\n\t\t}\n\t}\n}",
"Main",
"private static Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"private static int[] counter=new int[26];",
"counter",
"new int[26]",
"26",
"private static ArrayList<String> str=new ArrayList<String>();",
"str",
"new ArrayList<String>()",
"public static void main(String[] args){\n\t\ttry{\n\t\t\twhile(true){\n\t\t\t\tstr.add(sc.next());\n\t\t\t}\n\t\t}catch(NoSuchElementException e){}\n\t\tfor(int i=0;i<str.size();i++){\n\t\t\tgetchar(str.get(i));\n\t\t}\n\t\tshow();\n\t}",
"main",
"{\n\t\ttry{\n\t\t\twhile(true){\n\t\t\t\tstr.add(sc.next());\n\t\t\t}\n\t\t}catch(NoSuchElementException e){}\n\t\tfor(int i=0;i<str.size();i++){\n\t\t\tgetchar(str.get(i));\n\t\t}\n\t\tshow();\n\t}",
"try{\n\t\t\twhile(true){\n\t\t\t\tstr.add(sc.next());\n\t\t\t}\n\t\t}catch(NoSuchElementException e){}",
"catch(NoSuchElementException e){}",
"NoSuchElementException e",
"{}",
"{\n\t\t\twhile(true){\n\t\t\t\tstr.add(sc.next());\n\t\t\t}\n\t\t}",
"while(true){\n\t\t\t\tstr.add(sc.next());\n\t\t\t}",
"true",
"{\n\t\t\t\tstr.add(sc.next());\n\t\t\t}",
"str.add(sc.next())",
"str.add",
"str",
"sc.next()",
"sc.next",
"sc",
"for(int i=0;i<str.size();i++){\n\t\t\tgetchar(str.get(i));\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<str.size()",
"i",
"str.size()",
"str.size",
"str",
"i++",
"i++",
"i",
"{\n\t\t\tgetchar(str.get(i));\n\t\t}",
"{\n\t\t\tgetchar(str.get(i));\n\t\t}",
"getchar(str.get(i))",
"getchar",
"str.get(i)",
"str.get",
"str",
"i",
"show()",
"show",
"String[] args",
"args",
"private static void getchar(String s){\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tcountup(s.charAt(i));\n\t\t}\n\t}",
"getchar",
"{\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tcountup(s.charAt(i));\n\t\t}\n\t}",
"for(int i=0;i<s.length();i++){\n\t\t\tcountup(s.charAt(i));\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\tcountup(s.charAt(i));\n\t\t}",
"{\n\t\t\tcountup(s.charAt(i));\n\t\t}",
"countup(s.charAt(i))",
"countup",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"String s",
"s",
"private static void countup(char c){\n\t\tif(Character.isLowerCase(c)){\n\t\t\tint num=c-'a';\n\t\t\tcounter[num]++;\n\t\t}\n\t\tif(Character.isUpperCase(c)){\n\t\t\tchar ch=Character.toLowerCase(c);\n\t\t\tint num=ch-'a';\n\t\t\tcounter[num]++;\n\t\t}\n\t}",
"countup",
"{\n\t\tif(Character.isLowerCase(c)){\n\t\t\tint num=c-'a';\n\t\t\tcounter[num]++;\n\t\t}\n\t\tif(Character.isUpperCase(c)){\n\t\t\tchar ch=Character.toLowerCase(c);\n\t\t\tint num=ch-'a';\n\t\t\tcounter[num]++;\n\t\t}\n\t}",
"if(Character.isLowerCase(c)){\n\t\t\tint num=c-'a';\n\t\t\tcounter[num]++;\n\t\t}",
"Character.isLowerCase(c)",
"Character.isLowerCase",
"Character",
"c",
"{\n\t\t\tint num=c-'a';\n\t\t\tcounter[num]++;\n\t\t}",
"int num=c-'a';",
"num",
"c-'a'",
"c",
"'a'",
"counter[num]++",
"counter[num]",
"counter",
"num",
"if(Character.isUpperCase(c)){\n\t\t\tchar ch=Character.toLowerCase(c);\n\t\t\tint num=ch-'a';\n\t\t\tcounter[num]++;\n\t\t}",
"Character.isUpperCase(c)",
"Character.isUpperCase",
"Character",
"c",
"{\n\t\t\tchar ch=Character.toLowerCase(c);\n\t\t\tint num=ch-'a';\n\t\t\tcounter[num]++;\n\t\t}",
"char ch=Character.toLowerCase(c);",
"ch",
"Character.toLowerCase(c)",
"Character.toLowerCase",
"Character",
"c",
"int num=ch-'a';",
"num",
"ch-'a'",
"ch",
"'a'",
"counter[num]++",
"counter[num]",
"counter",
"num",
"char c",
"c",
"private static void show(){\n\t\tfor(int i=0;i<26;i++){\n\t\t\tSystem.out.println((char)(i+'a')+\" : \"+counter[i]);\n\t\t}\n\t}",
"show",
"{\n\t\tfor(int i=0;i<26;i++){\n\t\t\tSystem.out.println((char)(i+'a')+\" : \"+counter[i]);\n\t\t}\n\t}",
"for(int i=0;i<26;i++){\n\t\t\tSystem.out.println((char)(i+'a')+\" : \"+counter[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println((char)(i+'a')+\" : \"+counter[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println((char)(i+'a')+\" : \"+counter[i]);\n\t\t}",
"System.out.println((char)(i+'a')+\" : \"+counter[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)(i+'a')+\" : \"+counter[i]",
"(char)(i+'a')+\" : \"+counter[i]",
"(char)(i+'a')",
"i",
"'a'",
"\" : \"",
"counter[i]",
"counter",
"i",
"public class Main {\n\tprivate static Scanner sc=new Scanner(System.in);\n\tprivate static int[] counter=new int[26];\n\tprivate static ArrayList<String> str=new ArrayList<String>();\n\tpublic static void main(String[] args){\n\t\ttry{\n\t\t\twhile(true){\n\t\t\t\tstr.add(sc.next());\n\t\t\t}\n\t\t}catch(NoSuchElementException e){}\n\t\tfor(int i=0;i<str.size();i++){\n\t\t\tgetchar(str.get(i));\n\t\t}\n\t\tshow();\n\t}\n\tprivate static void getchar(String s){\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tcountup(s.charAt(i));\n\t\t}\n\t}\n\tprivate static void countup(char c){\n\t\tif(Character.isLowerCase(c)){\n\t\t\tint num=c-'a';\n\t\t\tcounter[num]++;\n\t\t}\n\t\tif(Character.isUpperCase(c)){\n\t\t\tchar ch=Character.toLowerCase(c);\n\t\t\tint num=ch-'a';\n\t\t\tcounter[num]++;\n\t\t}\n\t}\n\tprivate static void show(){\n\t\tfor(int i=0;i<26;i++){\n\t\t\tSystem.out.println((char)(i+'a')+\" : \"+counter[i]);\n\t\t}\n\t}\n}",
"public class Main {\n\tprivate static Scanner sc=new Scanner(System.in);\n\tprivate static int[] counter=new int[26];\n\tprivate static ArrayList<String> str=new ArrayList<String>();\n\tpublic static void main(String[] args){\n\t\ttry{\n\t\t\twhile(true){\n\t\t\t\tstr.add(sc.next());\n\t\t\t}\n\t\t}catch(NoSuchElementException e){}\n\t\tfor(int i=0;i<str.size();i++){\n\t\t\tgetchar(str.get(i));\n\t\t}\n\t\tshow();\n\t}\n\tprivate static void getchar(String s){\n\t\tfor(int i=0;i<s.length();i++){\n\t\t\tcountup(s.charAt(i));\n\t\t}\n\t}\n\tprivate static void countup(char c){\n\t\tif(Character.isLowerCase(c)){\n\t\t\tint num=c-'a';\n\t\t\tcounter[num]++;\n\t\t}\n\t\tif(Character.isUpperCase(c)){\n\t\t\tchar ch=Character.toLowerCase(c);\n\t\t\tint num=ch-'a';\n\t\t\tcounter[num]++;\n\t\t}\n\t}\n\tprivate static void show(){\n\t\tfor(int i=0;i<26;i++){\n\t\t\tSystem.out.println((char)(i+'a')+\" : \"+counter[i]);\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
private static Scanner sc=new Scanner(System.in);
private static int[] counter=new int[26];
private static ArrayList<String> str=new ArrayList<String>();
public static void main(String[] args){
try{
while(true){
str.add(sc.next());
}
}catch(NoSuchElementException e){}
for(int i=0;i<str.size();i++){
getchar(str.get(i));
}
show();
}
private static void getchar(String s){
for(int i=0;i<s.length();i++){
countup(s.charAt(i));
}
}
private static void countup(char c){
if(Character.isLowerCase(c)){
int num=c-'a';
counter[num]++;
}
if(Character.isUpperCase(c)){
char ch=Character.toLowerCase(c);
int num=ch-'a';
counter[num]++;
}
}
private static void show(){
for(int i=0;i<26;i++){
System.out.println((char)(i+'a')+" : "+counter[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
17,
41,
13,
4,
18,
13,
13,
14,
4,
18,
13,
13,
30,
0,
13,
2,
4,
18,
13,
13,
17,
30,
0,
13,
2,
4,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
17,
17,
18,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
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
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
58,
63
],
[
50,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
67,
72
],
[
40,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
8,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
86,
96
],
[
96,
97
],
[
97,
98
],
[
86,
99
],
[
100,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
107,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
107,
112
],
[
112,
113
],
[
112,
114
],
[
6,
115
],
[
115,
116
]
]
| [
"import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] counter = new int[26];\n while (sc.hasNext()) {\n String str = sc.nextLine();\n for (int i = 0; i < str.length(); i++) {\n int num = 0;\n char ch = str.charAt(i);\n if (Character.isLowerCase(ch)) {\n num = str.charAt(i) - 'a';\n } else {\n num = str.charAt(i) - 'A';\n }\n if (num >= 0 && num <= 26) {\n counter[num]++;\n }\n }\n }\n for (int i = 0; i < counter.length; i++) {\n System.out.println((char)(i + 'a') + \" : \" + counter[i]);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] counter = new int[26];\n while (sc.hasNext()) {\n String str = sc.nextLine();\n for (int i = 0; i < str.length(); i++) {\n int num = 0;\n char ch = str.charAt(i);\n if (Character.isLowerCase(ch)) {\n num = str.charAt(i) - 'a';\n } else {\n num = str.charAt(i) - 'A';\n }\n if (num >= 0 && num <= 26) {\n counter[num]++;\n }\n }\n }\n for (int i = 0; i < counter.length; i++) {\n System.out.println((char)(i + 'a') + \" : \" + counter[i]);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] counter = new int[26];\n while (sc.hasNext()) {\n String str = sc.nextLine();\n for (int i = 0; i < str.length(); i++) {\n int num = 0;\n char ch = str.charAt(i);\n if (Character.isLowerCase(ch)) {\n num = str.charAt(i) - 'a';\n } else {\n num = str.charAt(i) - 'A';\n }\n if (num >= 0 && num <= 26) {\n counter[num]++;\n }\n }\n }\n for (int i = 0; i < counter.length; i++) {\n System.out.println((char)(i + 'a') + \" : \" + counter[i]);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int[] counter = new int[26];\n while (sc.hasNext()) {\n String str = sc.nextLine();\n for (int i = 0; i < str.length(); i++) {\n int num = 0;\n char ch = str.charAt(i);\n if (Character.isLowerCase(ch)) {\n num = str.charAt(i) - 'a';\n } else {\n num = str.charAt(i) - 'A';\n }\n if (num >= 0 && num <= 26) {\n counter[num]++;\n }\n }\n }\n for (int i = 0; i < counter.length; i++) {\n System.out.println((char)(i + 'a') + \" : \" + counter[i]);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] counter = new int[26];",
"counter",
"new int[26]",
"26",
"while (sc.hasNext()) {\n String str = sc.nextLine();\n for (int i = 0; i < str.length(); i++) {\n int num = 0;\n char ch = str.charAt(i);\n if (Character.isLowerCase(ch)) {\n num = str.charAt(i) - 'a';\n } else {\n num = str.charAt(i) - 'A';\n }\n if (num >= 0 && num <= 26) {\n counter[num]++;\n }\n }\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n String str = sc.nextLine();\n for (int i = 0; i < str.length(); i++) {\n int num = 0;\n char ch = str.charAt(i);\n if (Character.isLowerCase(ch)) {\n num = str.charAt(i) - 'a';\n } else {\n num = str.charAt(i) - 'A';\n }\n if (num >= 0 && num <= 26) {\n counter[num]++;\n }\n }\n }",
"String str = sc.nextLine();",
"str",
"sc.nextLine()",
"sc.nextLine",
"sc",
"for (int i = 0; i < str.length(); i++) {\n int num = 0;\n char ch = str.charAt(i);\n if (Character.isLowerCase(ch)) {\n num = str.charAt(i) - 'a';\n } else {\n num = str.charAt(i) - 'A';\n }\n if (num >= 0 && num <= 26) {\n counter[num]++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str.length()",
"i",
"str.length()",
"str.length",
"str",
"i++",
"i++",
"i",
"{\n int num = 0;\n char ch = str.charAt(i);\n if (Character.isLowerCase(ch)) {\n num = str.charAt(i) - 'a';\n } else {\n num = str.charAt(i) - 'A';\n }\n if (num >= 0 && num <= 26) {\n counter[num]++;\n }\n }",
"{\n int num = 0;\n char ch = str.charAt(i);\n if (Character.isLowerCase(ch)) {\n num = str.charAt(i) - 'a';\n } else {\n num = str.charAt(i) - 'A';\n }\n if (num >= 0 && num <= 26) {\n counter[num]++;\n }\n }",
"int num = 0;",
"num",
"0",
"char ch = str.charAt(i);",
"ch",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"if (Character.isLowerCase(ch)) {\n num = str.charAt(i) - 'a';\n } else {\n num = str.charAt(i) - 'A';\n }",
"Character.isLowerCase(ch)",
"Character.isLowerCase",
"Character",
"ch",
"{\n num = str.charAt(i) - 'a';\n }",
"num = str.charAt(i) - 'a'",
"num",
"str.charAt(i) - 'a'",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"'a'",
"{\n num = str.charAt(i) - 'A';\n }",
"num = str.charAt(i) - 'A'",
"num",
"str.charAt(i) - 'A'",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"'A'",
"if (num >= 0 && num <= 26) {\n counter[num]++;\n }",
"num >= 0 && num <= 26",
"num >= 0",
"num",
"0",
"num <= 26",
"num",
"26",
"{\n counter[num]++;\n }",
"counter[num]++",
"counter[num]",
"counter",
"num",
"for (int i = 0; i < counter.length; i++) {\n System.out.println((char)(i + 'a') + \" : \" + counter[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < counter.length",
"i",
"counter.length",
"counter",
"counter.length",
"i++",
"i++",
"i",
"{\n System.out.println((char)(i + 'a') + \" : \" + counter[i]);\n }",
"{\n System.out.println((char)(i + 'a') + \" : \" + counter[i]);\n }",
"System.out.println((char)(i + 'a') + \" : \" + counter[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)(i + 'a') + \" : \" + counter[i]",
"(char)(i + 'a') + \" : \" + counter[i]",
"(char)(i + 'a')",
"i",
"'a'",
"\" : \"",
"counter[i]",
"counter",
"i",
"String[] args",
"args"
]
| import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] counter = new int[26];
while (sc.hasNext()) {
String str = sc.nextLine();
for (int i = 0; i < str.length(); i++) {
int num = 0;
char ch = str.charAt(i);
if (Character.isLowerCase(ch)) {
num = str.charAt(i) - 'a';
} else {
num = str.charAt(i) - 'A';
}
if (num >= 0 && num <= 26) {
counter[num]++;
}
}
}
for (int i = 0; i < counter.length; i++) {
System.out.println((char)(i + 'a') + " : " + counter[i]);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
41,
13,
20,
17,
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,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
4,
18,
18,
13,
13,
18,
13,
13,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
160,
5
],
[
160,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
16,
18
],
[
16,
19
],
[
16,
20
],
[
16,
21
],
[
16,
22
],
[
16,
23
],
[
16,
24
],
[
16,
25
],
[
16,
26
],
[
16,
27
],
[
16,
28
],
[
16,
29
],
[
16,
30
],
[
16,
31
],
[
16,
32
],
[
16,
33
],
[
16,
34
],
[
16,
35
],
[
16,
36
],
[
16,
37
],
[
16,
38
],
[
16,
39
],
[
16,
40
],
[
16,
41
],
[
16,
42
],
[
8,
43
],
[
43,
44
],
[
43,
45
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
60,
61
],
[
61,
62
],
[
51,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
63,
73
],
[
73,
74
],
[
74,
75
],
[
63,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
51,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
89,
99
],
[
99,
100
],
[
100,
101
],
[
89,
102
],
[
103,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
109,
110
],
[
109,
111
],
[
104,
112
],
[
112,
113
],
[
113,
114
],
[
104,
115
],
[
116,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
118,
123
],
[
123,
124
],
[
123,
125
],
[
117,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
8,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
130,
135
],
[
135,
136
],
[
135,
137
],
[
130,
138
],
[
138,
139
],
[
139,
140
],
[
130,
141
],
[
142,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
143,
148
],
[
149,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
149,
153
],
[
149,
154
],
[
154,
155
],
[
154,
156
],
[
6,
157
],
[
157,
158
],
[
0,
159
],
[
159,
160
],
[
159,
161
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n String[] alfa = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n int[] count = new int[26];\n while(sc.hasNext()){\n str = sc.nextLine();\n String[] s = new String[str.length()];\n for(int i=0;i<str.length();i++){\n s[i] = String.valueOf(str.charAt(i));\n }\n for(int i=0;i<str.length();i++){\n for(int j=0;j<26;j++){\n if(s[i].equalsIgnoreCase(alfa[j])) count[j]++;\n }\n }\n }\n for(int i=0;i<26;i++){\n System.out.println(alfa[i] + \" : \" +count[i]);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n String[] alfa = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n int[] count = new int[26];\n while(sc.hasNext()){\n str = sc.nextLine();\n String[] s = new String[str.length()];\n for(int i=0;i<str.length();i++){\n s[i] = String.valueOf(str.charAt(i));\n }\n for(int i=0;i<str.length();i++){\n for(int j=0;j<26;j++){\n if(s[i].equalsIgnoreCase(alfa[j])) count[j]++;\n }\n }\n }\n for(int i=0;i<26;i++){\n System.out.println(alfa[i] + \" : \" +count[i]);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n String[] alfa = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n int[] count = new int[26];\n while(sc.hasNext()){\n str = sc.nextLine();\n String[] s = new String[str.length()];\n for(int i=0;i<str.length();i++){\n s[i] = String.valueOf(str.charAt(i));\n }\n for(int i=0;i<str.length();i++){\n for(int j=0;j<26;j++){\n if(s[i].equalsIgnoreCase(alfa[j])) count[j]++;\n }\n }\n }\n for(int i=0;i<26;i++){\n System.out.println(alfa[i] + \" : \" +count[i]);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String str;\n String[] alfa = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n int[] count = new int[26];\n while(sc.hasNext()){\n str = sc.nextLine();\n String[] s = new String[str.length()];\n for(int i=0;i<str.length();i++){\n s[i] = String.valueOf(str.charAt(i));\n }\n for(int i=0;i<str.length();i++){\n for(int j=0;j<26;j++){\n if(s[i].equalsIgnoreCase(alfa[j])) count[j]++;\n }\n }\n }\n for(int i=0;i<26;i++){\n System.out.println(alfa[i] + \" : \" +count[i]);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str;",
"str",
"String[] alfa = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};",
"alfa",
"{\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"}",
"\"a\"",
"\"b\"",
"\"c\"",
"\"d\"",
"\"e\"",
"\"f\"",
"\"g\"",
"\"h\"",
"\"i\"",
"\"j\"",
"\"k\"",
"\"l\"",
"\"m\"",
"\"n\"",
"\"o\"",
"\"p\"",
"\"q\"",
"\"r\"",
"\"s\"",
"\"t\"",
"\"u\"",
"\"v\"",
"\"w\"",
"\"x\"",
"\"y\"",
"\"z\"",
"int[] count = new int[26];",
"count",
"new int[26]",
"26",
"while(sc.hasNext()){\n str = sc.nextLine();\n String[] s = new String[str.length()];\n for(int i=0;i<str.length();i++){\n s[i] = String.valueOf(str.charAt(i));\n }\n for(int i=0;i<str.length();i++){\n for(int j=0;j<26;j++){\n if(s[i].equalsIgnoreCase(alfa[j])) count[j]++;\n }\n }\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n str = sc.nextLine();\n String[] s = new String[str.length()];\n for(int i=0;i<str.length();i++){\n s[i] = String.valueOf(str.charAt(i));\n }\n for(int i=0;i<str.length();i++){\n for(int j=0;j<26;j++){\n if(s[i].equalsIgnoreCase(alfa[j])) count[j]++;\n }\n }\n }",
"str = sc.nextLine()",
"str",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] s = new String[str.length()];",
"s",
"new String[str.length()]",
"str.length()",
"str.length",
"str",
"for(int i=0;i<str.length();i++){\n s[i] = String.valueOf(str.charAt(i));\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<str.length()",
"i",
"str.length()",
"str.length",
"str",
"i++",
"i++",
"i",
"{\n s[i] = String.valueOf(str.charAt(i));\n }",
"{\n s[i] = String.valueOf(str.charAt(i));\n }",
"s[i] = String.valueOf(str.charAt(i))",
"s[i]",
"s",
"i",
"String.valueOf(str.charAt(i))",
"String.valueOf",
"String",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"for(int i=0;i<str.length();i++){\n for(int j=0;j<26;j++){\n if(s[i].equalsIgnoreCase(alfa[j])) count[j]++;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<str.length()",
"i",
"str.length()",
"str.length",
"str",
"i++",
"i++",
"i",
"{\n for(int j=0;j<26;j++){\n if(s[i].equalsIgnoreCase(alfa[j])) count[j]++;\n }\n }",
"{\n for(int j=0;j<26;j++){\n if(s[i].equalsIgnoreCase(alfa[j])) count[j]++;\n }\n }",
"for(int j=0;j<26;j++){\n if(s[i].equalsIgnoreCase(alfa[j])) count[j]++;\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<26",
"j",
"26",
"j++",
"j++",
"j",
"{\n if(s[i].equalsIgnoreCase(alfa[j])) count[j]++;\n }",
"{\n if(s[i].equalsIgnoreCase(alfa[j])) count[j]++;\n }",
"if(s[i].equalsIgnoreCase(alfa[j])) count[j]++;",
"s[i].equalsIgnoreCase(alfa[j])",
"s[i].equalsIgnoreCase",
"s[i]",
"s",
"i",
"alfa[j]",
"alfa",
"j",
"count[j]++",
"count[j]",
"count",
"j",
"for(int i=0;i<26;i++){\n System.out.println(alfa[i] + \" : \" +count[i]);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n System.out.println(alfa[i] + \" : \" +count[i]);\n }",
"{\n System.out.println(alfa[i] + \" : \" +count[i]);\n }",
"System.out.println(alfa[i] + \" : \" +count[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"alfa[i] + \" : \" +count[i]",
"alfa[i] + \" : \" +count[i]",
"alfa[i]",
"alfa",
"i",
"\" : \"",
"count[i]",
"count",
"i",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n String[] alfa = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n int[] count = new int[26];\n while(sc.hasNext()){\n str = sc.nextLine();\n String[] s = new String[str.length()];\n for(int i=0;i<str.length();i++){\n s[i] = String.valueOf(str.charAt(i));\n }\n for(int i=0;i<str.length();i++){\n for(int j=0;j<26;j++){\n if(s[i].equalsIgnoreCase(alfa[j])) count[j]++;\n }\n }\n }\n for(int i=0;i<26;i++){\n System.out.println(alfa[i] + \" : \" +count[i]);\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n String[] alfa = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n int[] count = new int[26];\n while(sc.hasNext()){\n str = sc.nextLine();\n String[] s = new String[str.length()];\n for(int i=0;i<str.length();i++){\n s[i] = String.valueOf(str.charAt(i));\n }\n for(int i=0;i<str.length();i++){\n for(int j=0;j<26;j++){\n if(s[i].equalsIgnoreCase(alfa[j])) count[j]++;\n }\n }\n }\n for(int i=0;i<26;i++){\n System.out.println(alfa[i] + \" : \" +count[i]);\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String str;
String[] alfa = {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"};
int[] count = new int[26];
while(sc.hasNext()){
str = sc.nextLine();
String[] s = new String[str.length()];
for(int i=0;i<str.length();i++){
s[i] = String.valueOf(str.charAt(i));
}
for(int i=0;i<str.length();i++){
for(int j=0;j<26;j++){
if(s[i].equalsIgnoreCase(alfa[j])) count[j]++;
}
}
}
for(int i=0;i<26;i++){
System.out.println(alfa[i] + " : " +count[i]);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
40,
18,
13,
2,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
40,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
17,
17,
18,
13,
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
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
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
],
[
40,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
47,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
8,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
75,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
94,
99
],
[
99,
100
],
[
99,
101
],
[
6,
102
],
[
102,
103
],
[
0,
104
],
[
104,
105
],
[
104,
106
]
]
| [
"\nimport java.util.*;\n\npublic class Main {\n\t \n\tpublic static void main(String[] args) {\n\t\tScanner cin=new Scanner(System.in);\n\t\t\n\t\tint res[]=new int[26];\n\t\t\n\t\twhile(cin.hasNext()) {\n\t\t\tString str=cin.nextLine();\n\t\t\tfor(int i=0;i<str.length();i++) {\n\t\t\t\tchar c=str.charAt(i);\n\t\t\t\tif(c>=65 && c<=90)res[c-65]++;\n\t\t\t\telse if(c>=97 && c<=122)res[c-97]++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.println((char)(i+97)+\" : \"+res[i]);\n\t\t}\n\t\t\n\t}\n\t\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\t \n\tpublic static void main(String[] args) {\n\t\tScanner cin=new Scanner(System.in);\n\t\t\n\t\tint res[]=new int[26];\n\t\t\n\t\twhile(cin.hasNext()) {\n\t\t\tString str=cin.nextLine();\n\t\t\tfor(int i=0;i<str.length();i++) {\n\t\t\t\tchar c=str.charAt(i);\n\t\t\t\tif(c>=65 && c<=90)res[c-65]++;\n\t\t\t\telse if(c>=97 && c<=122)res[c-97]++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.println((char)(i+97)+\" : \"+res[i]);\n\t\t}\n\t\t\n\t}\n\t\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner cin=new Scanner(System.in);\n\t\t\n\t\tint res[]=new int[26];\n\t\t\n\t\twhile(cin.hasNext()) {\n\t\t\tString str=cin.nextLine();\n\t\t\tfor(int i=0;i<str.length();i++) {\n\t\t\t\tchar c=str.charAt(i);\n\t\t\t\tif(c>=65 && c<=90)res[c-65]++;\n\t\t\t\telse if(c>=97 && c<=122)res[c-97]++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.println((char)(i+97)+\" : \"+res[i]);\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner cin=new Scanner(System.in);\n\t\t\n\t\tint res[]=new int[26];\n\t\t\n\t\twhile(cin.hasNext()) {\n\t\t\tString str=cin.nextLine();\n\t\t\tfor(int i=0;i<str.length();i++) {\n\t\t\t\tchar c=str.charAt(i);\n\t\t\t\tif(c>=65 && c<=90)res[c-65]++;\n\t\t\t\telse if(c>=97 && c<=122)res[c-97]++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.println((char)(i+97)+\" : \"+res[i]);\n\t\t}\n\t\t\n\t}",
"Scanner cin=new Scanner(System.in);",
"cin",
"new Scanner(System.in)",
"int res[]=new int[26];",
"res",
"new int[26]",
"26",
"while(cin.hasNext()) {\n\t\t\tString str=cin.nextLine();\n\t\t\tfor(int i=0;i<str.length();i++) {\n\t\t\t\tchar c=str.charAt(i);\n\t\t\t\tif(c>=65 && c<=90)res[c-65]++;\n\t\t\t\telse if(c>=97 && c<=122)res[c-97]++;\n\t\t\t}\n\t\t}",
"cin.hasNext()",
"cin.hasNext",
"cin",
"{\n\t\t\tString str=cin.nextLine();\n\t\t\tfor(int i=0;i<str.length();i++) {\n\t\t\t\tchar c=str.charAt(i);\n\t\t\t\tif(c>=65 && c<=90)res[c-65]++;\n\t\t\t\telse if(c>=97 && c<=122)res[c-97]++;\n\t\t\t}\n\t\t}",
"String str=cin.nextLine();",
"str",
"cin.nextLine()",
"cin.nextLine",
"cin",
"for(int i=0;i<str.length();i++) {\n\t\t\t\tchar c=str.charAt(i);\n\t\t\t\tif(c>=65 && c<=90)res[c-65]++;\n\t\t\t\telse if(c>=97 && c<=122)res[c-97]++;\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\tchar c=str.charAt(i);\n\t\t\t\tif(c>=65 && c<=90)res[c-65]++;\n\t\t\t\telse if(c>=97 && c<=122)res[c-97]++;\n\t\t\t}",
"{\n\t\t\t\tchar c=str.charAt(i);\n\t\t\t\tif(c>=65 && c<=90)res[c-65]++;\n\t\t\t\telse if(c>=97 && c<=122)res[c-97]++;\n\t\t\t}",
"char c=str.charAt(i);",
"c",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"if(c>=65 && c<=90)res[c-65]++;\n\t\t\t\telse if(c>=97 && c<=122)res[c-97]++;",
"c>=65 && c<=90",
"c>=65",
"c",
"65",
"c<=90",
"c",
"90",
"res[c-65]++",
"res[c-65]",
"res",
"c-65",
"c",
"65",
"if(c>=97 && c<=122)res[c-97]++;",
"c>=97 && c<=122",
"c>=97",
"c",
"97",
"c<=122",
"c",
"122",
"res[c-97]++",
"res[c-97]",
"res",
"c-97",
"c",
"97",
"for(int i=0;i<26;i++) {\n\t\t\tSystem.out.println((char)(i+97)+\" : \"+res[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println((char)(i+97)+\" : \"+res[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println((char)(i+97)+\" : \"+res[i]);\n\t\t}",
"System.out.println((char)(i+97)+\" : \"+res[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)(i+97)+\" : \"+res[i]",
"(char)(i+97)+\" : \"+res[i]",
"(char)(i+97)",
"i",
"97",
"\" : \"",
"res[i]",
"res",
"i",
"String[] args",
"args",
"public class Main {\n\t \n\tpublic static void main(String[] args) {\n\t\tScanner cin=new Scanner(System.in);\n\t\t\n\t\tint res[]=new int[26];\n\t\t\n\t\twhile(cin.hasNext()) {\n\t\t\tString str=cin.nextLine();\n\t\t\tfor(int i=0;i<str.length();i++) {\n\t\t\t\tchar c=str.charAt(i);\n\t\t\t\tif(c>=65 && c<=90)res[c-65]++;\n\t\t\t\telse if(c>=97 && c<=122)res[c-97]++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.println((char)(i+97)+\" : \"+res[i]);\n\t\t}\n\t\t\n\t}\n\t\n}",
"public class Main {\n\t \n\tpublic static void main(String[] args) {\n\t\tScanner cin=new Scanner(System.in);\n\t\t\n\t\tint res[]=new int[26];\n\t\t\n\t\twhile(cin.hasNext()) {\n\t\t\tString str=cin.nextLine();\n\t\t\tfor(int i=0;i<str.length();i++) {\n\t\t\t\tchar c=str.charAt(i);\n\t\t\t\tif(c>=65 && c<=90)res[c-65]++;\n\t\t\t\telse if(c>=97 && c<=122)res[c-97]++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.println((char)(i+97)+\" : \"+res[i]);\n\t\t}\n\t\t\n\t}\n\t\n}",
"Main"
]
|
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner cin=new Scanner(System.in);
int res[]=new int[26];
while(cin.hasNext()) {
String str=cin.nextLine();
for(int i=0;i<str.length();i++) {
char c=str.charAt(i);
if(c>=65 && c<=90)res[c-65]++;
else if(c>=97 && c<=122)res[c-97]++;
}
}
for(int i=0;i<26;i++) {
System.out.println((char)(i+97)+" : "+res[i]);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
2,
2,
17,
17,
17,
41,
13,
11,
1,
4,
18,
13,
30,
30,
0,
13,
20,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
40,
18,
13,
2,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
40,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
2,
17,
17,
17,
1,
40,
13,
30,
30,
41,
13,
20,
4,
18,
13,
2,
13,
17,
4,
18,
13,
17,
4,
18,
13,
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
],
[
131,
5
],
[
131,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
8,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
22,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
32,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
46,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
53,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
83,
95
],
[
95,
96
],
[
96,
97
],
[
83,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
106,
107
],
[
106,
108
],
[
99,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
99,
113
],
[
113,
114
],
[
114,
115
],
[
113,
116
],
[
116,
117
],
[
116,
118
],
[
99,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
8,
125
],
[
125,
126
],
[
126,
127
],
[
6,
128
],
[
128,
129
],
[
0,
130
],
[
130,
131
],
[
130,
132
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in); \n\n\t\tint[] alpha = new int['z' - 'a' + 1];\n\t\t\n\t\tStringBuffer line;\n\t\tfor (; sc.hasNextLine();) {\n\t\t\tline = new StringBuffer(sc.nextLine());\n\t\t\tfor (int i = 0; i < line.length(); i++) {\n\t\t\t\tchar ch = line.charAt(i);\n\t\t\t\tif (ch >= 'a' && ch <= 'z') {\n\t\t\t\t\talpha[ch - 'a']++;\n\t\t\t\t} else if (ch >= 'A' && ch <= 'Z') {\n\t\t\t\t\talpha[ch - 'A']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < 'z' - 'a' + 1; i++) {\n\t\t\tStringBuffer result = new StringBuffer();\n\t\t\tresult.append((char)(i + 'a'));\n\t\t\tresult.append(\" : \");\n\t\t\tresult.append(alpha[i]);\n\t\t\tSystem.out.println(result);\n\t\t}\n\t\t\n\t\tsc.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in); \n\n\t\tint[] alpha = new int['z' - 'a' + 1];\n\t\t\n\t\tStringBuffer line;\n\t\tfor (; sc.hasNextLine();) {\n\t\t\tline = new StringBuffer(sc.nextLine());\n\t\t\tfor (int i = 0; i < line.length(); i++) {\n\t\t\t\tchar ch = line.charAt(i);\n\t\t\t\tif (ch >= 'a' && ch <= 'z') {\n\t\t\t\t\talpha[ch - 'a']++;\n\t\t\t\t} else if (ch >= 'A' && ch <= 'Z') {\n\t\t\t\t\talpha[ch - 'A']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < 'z' - 'a' + 1; i++) {\n\t\t\tStringBuffer result = new StringBuffer();\n\t\t\tresult.append((char)(i + 'a'));\n\t\t\tresult.append(\" : \");\n\t\t\tresult.append(alpha[i]);\n\t\t\tSystem.out.println(result);\n\t\t}\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\n\t\tint[] alpha = new int['z' - 'a' + 1];\n\t\t\n\t\tStringBuffer line;\n\t\tfor (; sc.hasNextLine();) {\n\t\t\tline = new StringBuffer(sc.nextLine());\n\t\t\tfor (int i = 0; i < line.length(); i++) {\n\t\t\t\tchar ch = line.charAt(i);\n\t\t\t\tif (ch >= 'a' && ch <= 'z') {\n\t\t\t\t\talpha[ch - 'a']++;\n\t\t\t\t} else if (ch >= 'A' && ch <= 'Z') {\n\t\t\t\t\talpha[ch - 'A']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < 'z' - 'a' + 1; i++) {\n\t\t\tStringBuffer result = new StringBuffer();\n\t\t\tresult.append((char)(i + 'a'));\n\t\t\tresult.append(\" : \");\n\t\t\tresult.append(alpha[i]);\n\t\t\tSystem.out.println(result);\n\t\t}\n\t\t\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in); \n\n\t\tint[] alpha = new int['z' - 'a' + 1];\n\t\t\n\t\tStringBuffer line;\n\t\tfor (; sc.hasNextLine();) {\n\t\t\tline = new StringBuffer(sc.nextLine());\n\t\t\tfor (int i = 0; i < line.length(); i++) {\n\t\t\t\tchar ch = line.charAt(i);\n\t\t\t\tif (ch >= 'a' && ch <= 'z') {\n\t\t\t\t\talpha[ch - 'a']++;\n\t\t\t\t} else if (ch >= 'A' && ch <= 'Z') {\n\t\t\t\t\talpha[ch - 'A']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < 'z' - 'a' + 1; i++) {\n\t\t\tStringBuffer result = new StringBuffer();\n\t\t\tresult.append((char)(i + 'a'));\n\t\t\tresult.append(\" : \");\n\t\t\tresult.append(alpha[i]);\n\t\t\tSystem.out.println(result);\n\t\t}\n\t\t\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] alpha = new int['z' - 'a' + 1];",
"alpha",
"new int['z' - 'a' + 1]",
"'z' - 'a' + 1",
"'z' - 'a'",
"'z'",
"'a'",
"1",
"StringBuffer line;",
"line",
"for (; sc.hasNextLine();) {\n\t\t\tline = new StringBuffer(sc.nextLine());\n\t\t\tfor (int i = 0; i < line.length(); i++) {\n\t\t\t\tchar ch = line.charAt(i);\n\t\t\t\tif (ch >= 'a' && ch <= 'z') {\n\t\t\t\t\talpha[ch - 'a']++;\n\t\t\t\t} else if (ch >= 'A' && ch <= 'Z') {\n\t\t\t\t\talpha[ch - 'A']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
";",
"sc.hasNextLine()",
"sc.hasNextLine",
"sc",
"{\n\t\t\tline = new StringBuffer(sc.nextLine());\n\t\t\tfor (int i = 0; i < line.length(); i++) {\n\t\t\t\tchar ch = line.charAt(i);\n\t\t\t\tif (ch >= 'a' && ch <= 'z') {\n\t\t\t\t\talpha[ch - 'a']++;\n\t\t\t\t} else if (ch >= 'A' && ch <= 'Z') {\n\t\t\t\t\talpha[ch - 'A']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tline = new StringBuffer(sc.nextLine());\n\t\t\tfor (int i = 0; i < line.length(); i++) {\n\t\t\t\tchar ch = line.charAt(i);\n\t\t\t\tif (ch >= 'a' && ch <= 'z') {\n\t\t\t\t\talpha[ch - 'a']++;\n\t\t\t\t} else if (ch >= 'A' && ch <= 'Z') {\n\t\t\t\t\talpha[ch - 'A']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"line = new StringBuffer(sc.nextLine())",
"line",
"new StringBuffer(sc.nextLine())",
"for (int i = 0; i < line.length(); i++) {\n\t\t\t\tchar ch = line.charAt(i);\n\t\t\t\tif (ch >= 'a' && ch <= 'z') {\n\t\t\t\t\talpha[ch - 'a']++;\n\t\t\t\t} else if (ch >= 'A' && ch <= 'Z') {\n\t\t\t\t\talpha[ch - 'A']++;\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < line.length()",
"i",
"line.length()",
"line.length",
"line",
"i++",
"i++",
"i",
"{\n\t\t\t\tchar ch = line.charAt(i);\n\t\t\t\tif (ch >= 'a' && ch <= 'z') {\n\t\t\t\t\talpha[ch - 'a']++;\n\t\t\t\t} else if (ch >= 'A' && ch <= 'Z') {\n\t\t\t\t\talpha[ch - 'A']++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tchar ch = line.charAt(i);\n\t\t\t\tif (ch >= 'a' && ch <= 'z') {\n\t\t\t\t\talpha[ch - 'a']++;\n\t\t\t\t} else if (ch >= 'A' && ch <= 'Z') {\n\t\t\t\t\talpha[ch - 'A']++;\n\t\t\t\t}\n\t\t\t}",
"char ch = line.charAt(i);",
"ch",
"line.charAt(i)",
"line.charAt",
"line",
"i",
"if (ch >= 'a' && ch <= 'z') {\n\t\t\t\t\talpha[ch - 'a']++;\n\t\t\t\t} else if (ch >= 'A' && ch <= 'Z') {\n\t\t\t\t\talpha[ch - 'A']++;\n\t\t\t\t}",
"ch >= 'a' && ch <= 'z'",
"ch >= 'a'",
"ch",
"'a'",
"ch <= 'z'",
"ch",
"'z'",
"{\n\t\t\t\t\talpha[ch - 'a']++;\n\t\t\t\t}",
"alpha[ch - 'a']++",
"alpha[ch - 'a']",
"alpha",
"ch - 'a'",
"ch",
"'a'",
"if (ch >= 'A' && ch <= 'Z') {\n\t\t\t\t\talpha[ch - 'A']++;\n\t\t\t\t}",
"ch >= 'A' && ch <= 'Z'",
"ch >= 'A'",
"ch",
"'A'",
"ch <= 'Z'",
"ch",
"'Z'",
"{\n\t\t\t\t\talpha[ch - 'A']++;\n\t\t\t\t}",
"alpha[ch - 'A']++",
"alpha[ch - 'A']",
"alpha",
"ch - 'A'",
"ch",
"'A'",
"for (int i = 0; i < 'z' - 'a' + 1; i++) {\n\t\t\tStringBuffer result = new StringBuffer();\n\t\t\tresult.append((char)(i + 'a'));\n\t\t\tresult.append(\" : \");\n\t\t\tresult.append(alpha[i]);\n\t\t\tSystem.out.println(result);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 'z' - 'a' + 1",
"i",
"'z' - 'a' + 1",
"'z' - 'a'",
"'z'",
"'a'",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tStringBuffer result = new StringBuffer();\n\t\t\tresult.append((char)(i + 'a'));\n\t\t\tresult.append(\" : \");\n\t\t\tresult.append(alpha[i]);\n\t\t\tSystem.out.println(result);\n\t\t}",
"{\n\t\t\tStringBuffer result = new StringBuffer();\n\t\t\tresult.append((char)(i + 'a'));\n\t\t\tresult.append(\" : \");\n\t\t\tresult.append(alpha[i]);\n\t\t\tSystem.out.println(result);\n\t\t}",
"StringBuffer result = new StringBuffer();",
"result",
"new StringBuffer()",
"result.append((char)(i + 'a'))",
"result.append",
"result",
"(char)(i + 'a')",
"i",
"'a'",
"result.append(\" : \")",
"result.append",
"result",
"\" : \"",
"result.append(alpha[i])",
"result.append",
"result",
"alpha[i]",
"alpha",
"i",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in); \n\n\t\tint[] alpha = new int['z' - 'a' + 1];\n\t\t\n\t\tStringBuffer line;\n\t\tfor (; sc.hasNextLine();) {\n\t\t\tline = new StringBuffer(sc.nextLine());\n\t\t\tfor (int i = 0; i < line.length(); i++) {\n\t\t\t\tchar ch = line.charAt(i);\n\t\t\t\tif (ch >= 'a' && ch <= 'z') {\n\t\t\t\t\talpha[ch - 'a']++;\n\t\t\t\t} else if (ch >= 'A' && ch <= 'Z') {\n\t\t\t\t\talpha[ch - 'A']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < 'z' - 'a' + 1; i++) {\n\t\t\tStringBuffer result = new StringBuffer();\n\t\t\tresult.append((char)(i + 'a'));\n\t\t\tresult.append(\" : \");\n\t\t\tresult.append(alpha[i]);\n\t\t\tSystem.out.println(result);\n\t\t}\n\t\t\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in); \n\n\t\tint[] alpha = new int['z' - 'a' + 1];\n\t\t\n\t\tStringBuffer line;\n\t\tfor (; sc.hasNextLine();) {\n\t\t\tline = new StringBuffer(sc.nextLine());\n\t\t\tfor (int i = 0; i < line.length(); i++) {\n\t\t\t\tchar ch = line.charAt(i);\n\t\t\t\tif (ch >= 'a' && ch <= 'z') {\n\t\t\t\t\talpha[ch - 'a']++;\n\t\t\t\t} else if (ch >= 'A' && ch <= 'Z') {\n\t\t\t\t\talpha[ch - 'A']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < 'z' - 'a' + 1; i++) {\n\t\t\tStringBuffer result = new StringBuffer();\n\t\t\tresult.append((char)(i + 'a'));\n\t\t\tresult.append(\" : \");\n\t\t\tresult.append(alpha[i]);\n\t\t\tSystem.out.println(result);\n\t\t}\n\t\t\n\t\tsc.close();\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] alpha = new int['z' - 'a' + 1];
StringBuffer line;
for (; sc.hasNextLine();) {
line = new StringBuffer(sc.nextLine());
for (int i = 0; i < line.length(); i++) {
char ch = line.charAt(i);
if (ch >= 'a' && ch <= 'z') {
alpha[ch - 'a']++;
} else if (ch >= 'A' && ch <= 'Z') {
alpha[ch - 'A']++;
}
}
}
for (int i = 0; i < 'z' - 'a' + 1; i++) {
StringBuffer result = new StringBuffer();
result.append((char)(i + 'a'));
result.append(" : ");
result.append(alpha[i]);
System.out.println(result);
}
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
2,
17,
4,
18,
13,
13,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
40,
13,
14,
2,
13,
40,
17,
30,
40,
18,
13,
13,
0,
13,
2,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
4,
18,
13,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
149,
5
],
[
149,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
52,
62
],
[
62,
63
],
[
63,
64
],
[
52,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
66,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
66,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
81,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
88,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
8,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
100,
104
],
[
8,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
110,
112
],
[
105,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
121,
123
],
[
114,
124
],
[
124,
125
],
[
125,
126
],
[
114,
127
],
[
128,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
136,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
138,
141
],
[
135,
142
],
[
136,
143
],
[
143,
144
],
[
143,
145
],
[
6,
146
],
[
146,
147
],
[
0,
148
],
[
148,
149
],
[
148,
150
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\t// int MAX = 1000;\n\t\tScanner sc = new Scanner(System.in);\n\t\tString input = \"\";\n\t\tString Alpha = \"abcdefghijklmnopqrstuvwxyz \";\n\t\tint count_Empty = 0;\n\t\tint output[] = new int[26];\n\t\tint index = 0;\n\t\tString line = \"\";\n\t\tString each_mozi = \"\";\n\t\tint mozi_length = 0;\n\n\t\tdo {\n\t\t\tinput = sc.nextLine();\n\t\t\tline += input.toLowerCase();\n\t\t} while (sc.hasNext());\n\n\t\tfor (int j = 0; j < line.length(); j++) {\n\t\t\teach_mozi = \"\" + line.charAt(j);\n\t\t\tindex = Alpha.indexOf(each_mozi);\n\t\t\tif (index == 26) {\n\t\t\t\tcount_Empty++;\n\t\t\t} else if (index != -1) {\n\t\t\t\toutput[index]++;\n\t\t\t}\n\n\t\t}\n\t\tmozi_length += line.length() - count_Empty;\n\n\t\tif (mozi_length < 1200 && mozi_length != 0) {\n\n\t\t\tfor (int k = 0; k < output.length; k++) {\n\t\t\t\tSystem.out.println(\"\" + Alpha.charAt(k) + \" : \" + output[k]);\n\n\t\t\t}\n\t\t}\n\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\n\t\t// int MAX = 1000;\n\t\tScanner sc = new Scanner(System.in);\n\t\tString input = \"\";\n\t\tString Alpha = \"abcdefghijklmnopqrstuvwxyz \";\n\t\tint count_Empty = 0;\n\t\tint output[] = new int[26];\n\t\tint index = 0;\n\t\tString line = \"\";\n\t\tString each_mozi = \"\";\n\t\tint mozi_length = 0;\n\n\t\tdo {\n\t\t\tinput = sc.nextLine();\n\t\t\tline += input.toLowerCase();\n\t\t} while (sc.hasNext());\n\n\t\tfor (int j = 0; j < line.length(); j++) {\n\t\t\teach_mozi = \"\" + line.charAt(j);\n\t\t\tindex = Alpha.indexOf(each_mozi);\n\t\t\tif (index == 26) {\n\t\t\t\tcount_Empty++;\n\t\t\t} else if (index != -1) {\n\t\t\t\toutput[index]++;\n\t\t\t}\n\n\t\t}\n\t\tmozi_length += line.length() - count_Empty;\n\n\t\tif (mozi_length < 1200 && mozi_length != 0) {\n\n\t\t\tfor (int k = 0; k < output.length; k++) {\n\t\t\t\tSystem.out.println(\"\" + Alpha.charAt(k) + \" : \" + output[k]);\n\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\t// int MAX = 1000;\n\t\tScanner sc = new Scanner(System.in);\n\t\tString input = \"\";\n\t\tString Alpha = \"abcdefghijklmnopqrstuvwxyz \";\n\t\tint count_Empty = 0;\n\t\tint output[] = new int[26];\n\t\tint index = 0;\n\t\tString line = \"\";\n\t\tString each_mozi = \"\";\n\t\tint mozi_length = 0;\n\n\t\tdo {\n\t\t\tinput = sc.nextLine();\n\t\t\tline += input.toLowerCase();\n\t\t} while (sc.hasNext());\n\n\t\tfor (int j = 0; j < line.length(); j++) {\n\t\t\teach_mozi = \"\" + line.charAt(j);\n\t\t\tindex = Alpha.indexOf(each_mozi);\n\t\t\tif (index == 26) {\n\t\t\t\tcount_Empty++;\n\t\t\t} else if (index != -1) {\n\t\t\t\toutput[index]++;\n\t\t\t}\n\n\t\t}\n\t\tmozi_length += line.length() - count_Empty;\n\n\t\tif (mozi_length < 1200 && mozi_length != 0) {\n\n\t\t\tfor (int k = 0; k < output.length; k++) {\n\t\t\t\tSystem.out.println(\"\" + Alpha.charAt(k) + \" : \" + output[k]);\n\n\t\t\t}\n\t\t}\n\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\t// int MAX = 1000;\n\t\tScanner sc = new Scanner(System.in);\n\t\tString input = \"\";\n\t\tString Alpha = \"abcdefghijklmnopqrstuvwxyz \";\n\t\tint count_Empty = 0;\n\t\tint output[] = new int[26];\n\t\tint index = 0;\n\t\tString line = \"\";\n\t\tString each_mozi = \"\";\n\t\tint mozi_length = 0;\n\n\t\tdo {\n\t\t\tinput = sc.nextLine();\n\t\t\tline += input.toLowerCase();\n\t\t} while (sc.hasNext());\n\n\t\tfor (int j = 0; j < line.length(); j++) {\n\t\t\teach_mozi = \"\" + line.charAt(j);\n\t\t\tindex = Alpha.indexOf(each_mozi);\n\t\t\tif (index == 26) {\n\t\t\t\tcount_Empty++;\n\t\t\t} else if (index != -1) {\n\t\t\t\toutput[index]++;\n\t\t\t}\n\n\t\t}\n\t\tmozi_length += line.length() - count_Empty;\n\n\t\tif (mozi_length < 1200 && mozi_length != 0) {\n\n\t\t\tfor (int k = 0; k < output.length; k++) {\n\t\t\t\tSystem.out.println(\"\" + Alpha.charAt(k) + \" : \" + output[k]);\n\n\t\t\t}\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String input = \"\";",
"input",
"\"\"",
"String Alpha = \"abcdefghijklmnopqrstuvwxyz \";",
"Alpha",
"\"abcdefghijklmnopqrstuvwxyz \"",
"int count_Empty = 0;",
"count_Empty",
"0",
"int output[] = new int[26];",
"output",
"new int[26]",
"26",
"int index = 0;",
"index",
"0",
"String line = \"\";",
"line",
"\"\"",
"String each_mozi = \"\";",
"each_mozi",
"\"\"",
"int mozi_length = 0;",
"mozi_length",
"0",
"do {\n\t\t\tinput = sc.nextLine();\n\t\t\tline += input.toLowerCase();\n\t\t} while (sc.hasNext());",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tinput = sc.nextLine();\n\t\t\tline += input.toLowerCase();\n\t\t}",
"input = sc.nextLine()",
"input",
"sc.nextLine()",
"sc.nextLine",
"sc",
"line += input.toLowerCase()",
"line",
"input.toLowerCase()",
"input.toLowerCase",
"input",
"for (int j = 0; j < line.length(); j++) {\n\t\t\teach_mozi = \"\" + line.charAt(j);\n\t\t\tindex = Alpha.indexOf(each_mozi);\n\t\t\tif (index == 26) {\n\t\t\t\tcount_Empty++;\n\t\t\t} else if (index != -1) {\n\t\t\t\toutput[index]++;\n\t\t\t}\n\n\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < line.length()",
"j",
"line.length()",
"line.length",
"line",
"j++",
"j++",
"j",
"{\n\t\t\teach_mozi = \"\" + line.charAt(j);\n\t\t\tindex = Alpha.indexOf(each_mozi);\n\t\t\tif (index == 26) {\n\t\t\t\tcount_Empty++;\n\t\t\t} else if (index != -1) {\n\t\t\t\toutput[index]++;\n\t\t\t}\n\n\t\t}",
"{\n\t\t\teach_mozi = \"\" + line.charAt(j);\n\t\t\tindex = Alpha.indexOf(each_mozi);\n\t\t\tif (index == 26) {\n\t\t\t\tcount_Empty++;\n\t\t\t} else if (index != -1) {\n\t\t\t\toutput[index]++;\n\t\t\t}\n\n\t\t}",
"each_mozi = \"\" + line.charAt(j)",
"each_mozi",
"\"\" + line.charAt(j)",
"\"\"",
"line.charAt(j)",
"line.charAt",
"line",
"j",
"index = Alpha.indexOf(each_mozi)",
"index",
"Alpha.indexOf(each_mozi)",
"Alpha.indexOf",
"Alpha",
"each_mozi",
"if (index == 26) {\n\t\t\t\tcount_Empty++;\n\t\t\t} else if (index != -1) {\n\t\t\t\toutput[index]++;\n\t\t\t}",
"index == 26",
"index",
"26",
"{\n\t\t\t\tcount_Empty++;\n\t\t\t}",
"count_Empty++",
"count_Empty",
"if (index != -1) {\n\t\t\t\toutput[index]++;\n\t\t\t}",
"index != -1",
"index",
"-1",
"1",
"{\n\t\t\t\toutput[index]++;\n\t\t\t}",
"output[index]++",
"output[index]",
"output",
"index",
"mozi_length += line.length() - count_Empty",
"mozi_length",
"line.length() - count_Empty",
"line.length()",
"line.length",
"line",
"count_Empty",
"if (mozi_length < 1200 && mozi_length != 0) {\n\n\t\t\tfor (int k = 0; k < output.length; k++) {\n\t\t\t\tSystem.out.println(\"\" + Alpha.charAt(k) + \" : \" + output[k]);\n\n\t\t\t}\n\t\t}",
"mozi_length < 1200 && mozi_length != 0",
"mozi_length < 1200",
"mozi_length",
"1200",
"mozi_length != 0",
"mozi_length",
"0",
"{\n\n\t\t\tfor (int k = 0; k < output.length; k++) {\n\t\t\t\tSystem.out.println(\"\" + Alpha.charAt(k) + \" : \" + output[k]);\n\n\t\t\t}\n\t\t}",
"for (int k = 0; k < output.length; k++) {\n\t\t\t\tSystem.out.println(\"\" + Alpha.charAt(k) + \" : \" + output[k]);\n\n\t\t\t}",
"int k = 0;",
"int k = 0;",
"k",
"0",
"k < output.length",
"k",
"output.length",
"output",
"output.length",
"k++",
"k++",
"k",
"{\n\t\t\t\tSystem.out.println(\"\" + Alpha.charAt(k) + \" : \" + output[k]);\n\n\t\t\t}",
"{\n\t\t\t\tSystem.out.println(\"\" + Alpha.charAt(k) + \" : \" + output[k]);\n\n\t\t\t}",
"System.out.println(\"\" + Alpha.charAt(k) + \" : \" + output[k])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\" + Alpha.charAt(k) + \" : \" + output[k]",
"\" : \"",
"\"\" + Alpha.charAt(k) + \" : \" + output[k]",
"\"\"",
"Alpha.charAt(k)",
"Alpha.charAt",
"Alpha",
"k",
"\" : \"",
"output[k]",
"output",
"k",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\t// int MAX = 1000;\n\t\tScanner sc = new Scanner(System.in);\n\t\tString input = \"\";\n\t\tString Alpha = \"abcdefghijklmnopqrstuvwxyz \";\n\t\tint count_Empty = 0;\n\t\tint output[] = new int[26];\n\t\tint index = 0;\n\t\tString line = \"\";\n\t\tString each_mozi = \"\";\n\t\tint mozi_length = 0;\n\n\t\tdo {\n\t\t\tinput = sc.nextLine();\n\t\t\tline += input.toLowerCase();\n\t\t} while (sc.hasNext());\n\n\t\tfor (int j = 0; j < line.length(); j++) {\n\t\t\teach_mozi = \"\" + line.charAt(j);\n\t\t\tindex = Alpha.indexOf(each_mozi);\n\t\t\tif (index == 26) {\n\t\t\t\tcount_Empty++;\n\t\t\t} else if (index != -1) {\n\t\t\t\toutput[index]++;\n\t\t\t}\n\n\t\t}\n\t\tmozi_length += line.length() - count_Empty;\n\n\t\tif (mozi_length < 1200 && mozi_length != 0) {\n\n\t\t\tfor (int k = 0; k < output.length; k++) {\n\t\t\t\tSystem.out.println(\"\" + Alpha.charAt(k) + \" : \" + output[k]);\n\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\t// int MAX = 1000;\n\t\tScanner sc = new Scanner(System.in);\n\t\tString input = \"\";\n\t\tString Alpha = \"abcdefghijklmnopqrstuvwxyz \";\n\t\tint count_Empty = 0;\n\t\tint output[] = new int[26];\n\t\tint index = 0;\n\t\tString line = \"\";\n\t\tString each_mozi = \"\";\n\t\tint mozi_length = 0;\n\n\t\tdo {\n\t\t\tinput = sc.nextLine();\n\t\t\tline += input.toLowerCase();\n\t\t} while (sc.hasNext());\n\n\t\tfor (int j = 0; j < line.length(); j++) {\n\t\t\teach_mozi = \"\" + line.charAt(j);\n\t\t\tindex = Alpha.indexOf(each_mozi);\n\t\t\tif (index == 26) {\n\t\t\t\tcount_Empty++;\n\t\t\t} else if (index != -1) {\n\t\t\t\toutput[index]++;\n\t\t\t}\n\n\t\t}\n\t\tmozi_length += line.length() - count_Empty;\n\n\t\tif (mozi_length < 1200 && mozi_length != 0) {\n\n\t\t\tfor (int k = 0; k < output.length; k++) {\n\t\t\t\tSystem.out.println(\"\" + Alpha.charAt(k) + \" : \" + output[k]);\n\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
// int MAX = 1000;
Scanner sc = new Scanner(System.in);
String input = "";
String Alpha = "abcdefghijklmnopqrstuvwxyz ";
int count_Empty = 0;
int output[] = new int[26];
int index = 0;
String line = "";
String each_mozi = "";
int mozi_length = 0;
do {
input = sc.nextLine();
line += input.toLowerCase();
} while (sc.hasNext());
for (int j = 0; j < line.length(); j++) {
each_mozi = "" + line.charAt(j);
index = Alpha.indexOf(each_mozi);
if (index == 26) {
count_Empty++;
} else if (index != -1) {
output[index]++;
}
}
mozi_length += line.length() - count_Empty;
if (mozi_length < 1200 && mozi_length != 0) {
for (int k = 0; k < output.length; k++) {
System.out.println("" + Alpha.charAt(k) + " : " + output[k]);
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
28,
13,
4,
18,
4,
18,
13,
30,
30,
11,
1,
41,
13,
17,
41,
13,
17,
2,
13,
17,
1,
40,
13,
40,
13,
30,
30,
14,
2,
13,
13,
40,
18,
13,
13,
11,
1,
41,
13,
17,
41,
13,
17,
2,
13,
17,
1,
40,
13,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
95,
5
],
[
95,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
27,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
44,
46
],
[
36,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
36,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
70,
71
],
[
70,
72
],
[
62,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
62,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
86,
86
],
[
86,
87
],
[
86,
88
],
[
86,
89
],
[
89,
90
],
[
89,
91
],
[
6,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
]
| [
"import java.io.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] sums = new int[26];\n\t\tString sentence;\n\t\t\n\t\twhile ((sentence = br.readLine()) != null) {\n\t\t\tfor (char sc : sentence.toLowerCase().toCharArray()) {\n\t\t\t\tfor (char c = 'a', i = 0; c <= 'z'; c++, i++) {\n\t\t\t\t\tif (sc == c) sums[i]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (char c = 'a', i = 0; c <= 'z'; c++, i++) {\n\t\t\tSystem.out.println(c + \" : \" + sums[i]);\n\t\t}\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\tint[] sums = new int[26];\n\t\tString sentence;\n\t\t\n\t\twhile ((sentence = br.readLine()) != null) {\n\t\t\tfor (char sc : sentence.toLowerCase().toCharArray()) {\n\t\t\t\tfor (char c = 'a', i = 0; c <= 'z'; c++, i++) {\n\t\t\t\t\tif (sc == c) sums[i]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (char c = 'a', i = 0; c <= 'z'; c++, i++) {\n\t\t\tSystem.out.println(c + \" : \" + sums[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] sums = new int[26];\n\t\tString sentence;\n\t\t\n\t\twhile ((sentence = br.readLine()) != null) {\n\t\t\tfor (char sc : sentence.toLowerCase().toCharArray()) {\n\t\t\t\tfor (char c = 'a', i = 0; c <= 'z'; c++, i++) {\n\t\t\t\t\tif (sc == c) sums[i]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (char c = 'a', i = 0; c <= 'z'; c++, i++) {\n\t\t\tSystem.out.println(c + \" : \" + sums[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] sums = new int[26];\n\t\tString sentence;\n\t\t\n\t\twhile ((sentence = br.readLine()) != null) {\n\t\t\tfor (char sc : sentence.toLowerCase().toCharArray()) {\n\t\t\t\tfor (char c = 'a', i = 0; c <= 'z'; c++, i++) {\n\t\t\t\t\tif (sc == c) sums[i]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (char c = 'a', i = 0; c <= 'z'; c++, i++) {\n\t\t\tSystem.out.println(c + \" : \" + sums[i]);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] sums = new int[26];",
"sums",
"new int[26]",
"26",
"String sentence;",
"sentence",
"while ((sentence = br.readLine()) != null) {\n\t\t\tfor (char sc : sentence.toLowerCase().toCharArray()) {\n\t\t\t\tfor (char c = 'a', i = 0; c <= 'z'; c++, i++) {\n\t\t\t\t\tif (sc == c) sums[i]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"(sentence = br.readLine()) != null",
"(sentence = br.readLine())",
"sentence",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tfor (char sc : sentence.toLowerCase().toCharArray()) {\n\t\t\t\tfor (char c = 'a', i = 0; c <= 'z'; c++, i++) {\n\t\t\t\t\tif (sc == c) sums[i]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for (char sc : sentence.toLowerCase().toCharArray()) {\n\t\t\t\tfor (char c = 'a', i = 0; c <= 'z'; c++, i++) {\n\t\t\t\t\tif (sc == c) sums[i]++;\n\t\t\t\t}\n\t\t\t}",
"char sc",
"sentence.toLowerCase().toCharArray()",
"sentence.toLowerCase().toCharArray",
"sentence.toLowerCase()",
"sentence.toLowerCase",
"sentence",
"{\n\t\t\t\tfor (char c = 'a', i = 0; c <= 'z'; c++, i++) {\n\t\t\t\t\tif (sc == c) sums[i]++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tfor (char c = 'a', i = 0; c <= 'z'; c++, i++) {\n\t\t\t\t\tif (sc == c) sums[i]++;\n\t\t\t\t}\n\t\t\t}",
"for (char c = 'a', i = 0; c <= 'z'; c++, i++) {\n\t\t\t\t\tif (sc == c) sums[i]++;\n\t\t\t\t}",
"char c = 'a', i = 0;",
"char c = 'a'",
"c",
"'a'",
"i = 0;",
"i",
"0",
"c <= 'z'",
"c",
"'z'",
"c++, i++",
"c++",
"c",
"i++",
"i",
"{\n\t\t\t\t\tif (sc == c) sums[i]++;\n\t\t\t\t}",
"{\n\t\t\t\t\tif (sc == c) sums[i]++;\n\t\t\t\t}",
"if (sc == c) sums[i]++;",
"sc == c",
"sc",
"c",
"sums[i]++",
"sums[i]",
"sums",
"i",
"for (char c = 'a', i = 0; c <= 'z'; c++, i++) {\n\t\t\tSystem.out.println(c + \" : \" + sums[i]);\n\t\t}",
"char c = 'a', i = 0;",
"char c = 'a'",
"c",
"'a'",
"i = 0;",
"i",
"0",
"c <= 'z'",
"c",
"'z'",
"c++, i++",
"c++",
"c",
"i++",
"i",
"{\n\t\t\tSystem.out.println(c + \" : \" + sums[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(c + \" : \" + sums[i]);\n\t\t}",
"System.out.println(c + \" : \" + sums[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"c + \" : \" + sums[i]",
"c + \" : \" + sums[i]",
"c",
"\" : \"",
"sums[i]",
"sums",
"i",
"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\tint[] sums = new int[26];\n\t\tString sentence;\n\t\t\n\t\twhile ((sentence = br.readLine()) != null) {\n\t\t\tfor (char sc : sentence.toLowerCase().toCharArray()) {\n\t\t\t\tfor (char c = 'a', i = 0; c <= 'z'; c++, i++) {\n\t\t\t\t\tif (sc == c) sums[i]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (char c = 'a', i = 0; c <= 'z'; c++, i++) {\n\t\t\tSystem.out.println(c + \" : \" + sums[i]);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] sums = new int[26];\n\t\tString sentence;\n\t\t\n\t\twhile ((sentence = br.readLine()) != null) {\n\t\t\tfor (char sc : sentence.toLowerCase().toCharArray()) {\n\t\t\t\tfor (char c = 'a', i = 0; c <= 'z'; c++, i++) {\n\t\t\t\t\tif (sc == c) sums[i]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (char c = 'a', i = 0; c <= 'z'; c++, i++) {\n\t\t\tSystem.out.println(c + \" : \" + sums[i]);\n\t\t}\n\t}\n}",
"Main"
]
| import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int[] sums = new int[26];
String sentence;
while ((sentence = br.readLine()) != null) {
for (char sc : sentence.toLowerCase().toCharArray()) {
for (char c = 'a', i = 0; c <= 'z'; c++, i++) {
if (sc == c) sums[i]++;
}
}
}
for (char c = 'a', i = 0; c <= 'z'; c++, i++) {
System.out.println(c + " : " + sums[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
17,
17,
41,
13,
20,
18,
13,
13,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
30,
40,
18,
13,
13,
3,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
125,
5
],
[
125,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
21,
22
],
[
21,
23
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
31,
36
],
[
28,
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
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
52,
62
],
[
62,
63
],
[
63,
64
],
[
52,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
68,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
67,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
8,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
93,
103
],
[
103,
104
],
[
104,
105
],
[
93,
106
],
[
107,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
114,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
114,
119
],
[
119,
120
],
[
119,
121
],
[
6,
122
],
[
122,
123
],
[
0,
124
],
[
124,
125
],
[
124,
126
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfinal String[] abc = \"abcdefghijklmnopqrstuvwxyz\".split(\"\");\n\t\tint[] cnt = new int[abc.length];\n\t\t\n\t\twhile(sc.hasNext()){\n\t\t\tString[] text = sc.nextLine().split(\"\");\n\t\t\t\n\t\t\tfor(int i=0; i<text.length; i++){\n\t\t\t\tfor(int j=0; j<abc.length; j++){\n\t\t\t\t\tif(text[i].equals(abc[j]) || text[i].equals(abc[j].toUpperCase())){\n\t\t\t\t\t\tcnt[j]++;\n\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int j=0; j<abc.length; j++){\n\t\t\tSystem.out.println(abc[j] + \" : \" + cnt[j]);\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfinal String[] abc = \"abcdefghijklmnopqrstuvwxyz\".split(\"\");\n\t\tint[] cnt = new int[abc.length];\n\t\t\n\t\twhile(sc.hasNext()){\n\t\t\tString[] text = sc.nextLine().split(\"\");\n\t\t\t\n\t\t\tfor(int i=0; i<text.length; i++){\n\t\t\t\tfor(int j=0; j<abc.length; j++){\n\t\t\t\t\tif(text[i].equals(abc[j]) || text[i].equals(abc[j].toUpperCase())){\n\t\t\t\t\t\tcnt[j]++;\n\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int j=0; j<abc.length; j++){\n\t\t\tSystem.out.println(abc[j] + \" : \" + cnt[j]);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfinal String[] abc = \"abcdefghijklmnopqrstuvwxyz\".split(\"\");\n\t\tint[] cnt = new int[abc.length];\n\t\t\n\t\twhile(sc.hasNext()){\n\t\t\tString[] text = sc.nextLine().split(\"\");\n\t\t\t\n\t\t\tfor(int i=0; i<text.length; i++){\n\t\t\t\tfor(int j=0; j<abc.length; j++){\n\t\t\t\t\tif(text[i].equals(abc[j]) || text[i].equals(abc[j].toUpperCase())){\n\t\t\t\t\t\tcnt[j]++;\n\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int j=0; j<abc.length; j++){\n\t\t\tSystem.out.println(abc[j] + \" : \" + cnt[j]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tfinal String[] abc = \"abcdefghijklmnopqrstuvwxyz\".split(\"\");\n\t\tint[] cnt = new int[abc.length];\n\t\t\n\t\twhile(sc.hasNext()){\n\t\t\tString[] text = sc.nextLine().split(\"\");\n\t\t\t\n\t\t\tfor(int i=0; i<text.length; i++){\n\t\t\t\tfor(int j=0; j<abc.length; j++){\n\t\t\t\t\tif(text[i].equals(abc[j]) || text[i].equals(abc[j].toUpperCase())){\n\t\t\t\t\t\tcnt[j]++;\n\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int j=0; j<abc.length; j++){\n\t\t\tSystem.out.println(abc[j] + \" : \" + cnt[j]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final String[] abc = \"abcdefghijklmnopqrstuvwxyz\".split(\"\");",
"abc",
"\"abcdefghijklmnopqrstuvwxyz\".split(\"\")",
"\"abcdefghijklmnopqrstuvwxyz\".split",
"\"abcdefghijklmnopqrstuvwxyz\"",
"\"\"",
"int[] cnt = new int[abc.length];",
"cnt",
"new int[abc.length]",
"abc.length",
"abc",
"abc.length",
"while(sc.hasNext()){\n\t\t\tString[] text = sc.nextLine().split(\"\");\n\t\t\t\n\t\t\tfor(int i=0; i<text.length; i++){\n\t\t\t\tfor(int j=0; j<abc.length; j++){\n\t\t\t\t\tif(text[i].equals(abc[j]) || text[i].equals(abc[j].toUpperCase())){\n\t\t\t\t\t\tcnt[j]++;\n\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tString[] text = sc.nextLine().split(\"\");\n\t\t\t\n\t\t\tfor(int i=0; i<text.length; i++){\n\t\t\t\tfor(int j=0; j<abc.length; j++){\n\t\t\t\t\tif(text[i].equals(abc[j]) || text[i].equals(abc[j].toUpperCase())){\n\t\t\t\t\t\tcnt[j]++;\n\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"String[] text = sc.nextLine().split(\"\");",
"text",
"sc.nextLine().split(\"\")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\"\"",
"for(int i=0; i<text.length; i++){\n\t\t\t\tfor(int j=0; j<abc.length; j++){\n\t\t\t\t\tif(text[i].equals(abc[j]) || text[i].equals(abc[j].toUpperCase())){\n\t\t\t\t\t\tcnt[j]++;\n\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<text.length",
"i",
"text.length",
"text",
"text.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j=0; j<abc.length; j++){\n\t\t\t\t\tif(text[i].equals(abc[j]) || text[i].equals(abc[j].toUpperCase())){\n\t\t\t\t\t\tcnt[j]++;\n\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tfor(int j=0; j<abc.length; j++){\n\t\t\t\t\tif(text[i].equals(abc[j]) || text[i].equals(abc[j].toUpperCase())){\n\t\t\t\t\t\tcnt[j]++;\n\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"for(int j=0; j<abc.length; j++){\n\t\t\t\t\tif(text[i].equals(abc[j]) || text[i].equals(abc[j].toUpperCase())){\n\t\t\t\t\t\tcnt[j]++;\n\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<abc.length",
"j",
"abc.length",
"abc",
"abc.length",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tif(text[i].equals(abc[j]) || text[i].equals(abc[j].toUpperCase())){\n\t\t\t\t\t\tcnt[j]++;\n\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}",
"{\n\t\t\t\t\tif(text[i].equals(abc[j]) || text[i].equals(abc[j].toUpperCase())){\n\t\t\t\t\t\tcnt[j]++;\n\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}",
"if(text[i].equals(abc[j]) || text[i].equals(abc[j].toUpperCase())){\n\t\t\t\t\t\tcnt[j]++;\n\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"text[i].equals(abc[j]) || text[i].equals(abc[j].toUpperCase())",
"text[i].equals(abc[j])",
"text[i].equals",
"text[i]",
"text",
"i",
"abc[j]",
"abc",
"j",
"text[i].equals(abc[j].toUpperCase())",
"text[i].equals",
"text[i]",
"text",
"i",
"abc[j].toUpperCase()",
"abc[j].toUpperCase",
"abc[j]",
"abc",
"j",
"{\n\t\t\t\t\t\tcnt[j]++;\n\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"cnt[j]++",
"cnt[j]",
"cnt",
"j",
"break;",
"for(int j=0; j<abc.length; j++){\n\t\t\tSystem.out.println(abc[j] + \" : \" + cnt[j]);\n\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<abc.length",
"j",
"abc.length",
"abc",
"abc.length",
"j++",
"j++",
"j",
"{\n\t\t\tSystem.out.println(abc[j] + \" : \" + cnt[j]);\n\t\t}",
"{\n\t\t\tSystem.out.println(abc[j] + \" : \" + cnt[j]);\n\t\t}",
"System.out.println(abc[j] + \" : \" + cnt[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"abc[j] + \" : \" + cnt[j]",
"abc[j] + \" : \" + cnt[j]",
"abc[j]",
"abc",
"j",
"\" : \"",
"cnt[j]",
"cnt",
"j",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfinal String[] abc = \"abcdefghijklmnopqrstuvwxyz\".split(\"\");\n\t\tint[] cnt = new int[abc.length];\n\t\t\n\t\twhile(sc.hasNext()){\n\t\t\tString[] text = sc.nextLine().split(\"\");\n\t\t\t\n\t\t\tfor(int i=0; i<text.length; i++){\n\t\t\t\tfor(int j=0; j<abc.length; j++){\n\t\t\t\t\tif(text[i].equals(abc[j]) || text[i].equals(abc[j].toUpperCase())){\n\t\t\t\t\t\tcnt[j]++;\n\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int j=0; j<abc.length; j++){\n\t\t\tSystem.out.println(abc[j] + \" : \" + cnt[j]);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfinal String[] abc = \"abcdefghijklmnopqrstuvwxyz\".split(\"\");\n\t\tint[] cnt = new int[abc.length];\n\t\t\n\t\twhile(sc.hasNext()){\n\t\t\tString[] text = sc.nextLine().split(\"\");\n\t\t\t\n\t\t\tfor(int i=0; i<text.length; i++){\n\t\t\t\tfor(int j=0; j<abc.length; j++){\n\t\t\t\t\tif(text[i].equals(abc[j]) || text[i].equals(abc[j].toUpperCase())){\n\t\t\t\t\t\tcnt[j]++;\n\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int j=0; j<abc.length; j++){\n\t\t\tSystem.out.println(abc[j] + \" : \" + cnt[j]);\n\t\t}\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
final String[] abc = "abcdefghijklmnopqrstuvwxyz".split("");
int[] cnt = new int[abc.length];
while(sc.hasNext()){
String[] text = sc.nextLine().split("");
for(int i=0; i<text.length; i++){
for(int j=0; j<abc.length; j++){
if(text[i].equals(abc[j]) || text[i].equals(abc[j].toUpperCase())){
cnt[j]++;
break;
}
}
}
}
for(int j=0; j<abc.length; j++){
System.out.println(abc[j] + " : " + cnt[j]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
4,
18,
13,
13,
17,
41,
13,
41,
13,
42,
17,
30,
14,
2,
0,
13,
4,
18,
13,
17,
3,
0,
13,
4,
18,
13,
28,
13,
13,
30,
30,
14,
2,
2,
17,
13,
2,
13,
17,
40,
18,
13,
2,
13,
17,
14,
2,
2,
17,
13,
2,
13,
17,
40,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
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
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
19,
23
],
[
11,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
31,
39
],
[
30,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
30,
45
],
[
45,
46
],
[
45,
47
],
[
45,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
50,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
11,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
83,
85
],
[
78,
86
],
[
86,
87
],
[
87,
88
],
[
78,
89
],
[
90,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
97,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
97,
102
],
[
102,
103
],
[
102,
104
],
[
9,
105
],
[
105,
106
]
]
| [
"import java.io.*;\nimport java.util.*;\n\nclass Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] array = new int[26];\n Arrays.fill(array,0);\n char[] c_array;\n String str;\n do{\n if((str=br.readLine())==null) break;\n c_array=str.toCharArray();\n for(char c:c_array){\n if('a'<=c&&c<='z') array[c-'a']++;\n else if('A'<=c&&c<='Z') array[c-'A']++;\n }\n }while(true);\n for(int i=0;i<26;i++){\n System.out.println((char)('a'+i)+\" : \"+array[i]);\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 int[] array = new int[26];\n Arrays.fill(array,0);\n char[] c_array;\n String str;\n do{\n if((str=br.readLine())==null) break;\n c_array=str.toCharArray();\n for(char c:c_array){\n if('a'<=c&&c<='z') array[c-'a']++;\n else if('A'<=c&&c<='Z') array[c-'A']++;\n }\n }while(true);\n for(int i=0;i<26;i++){\n System.out.println((char)('a'+i)+\" : \"+array[i]);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] array = new int[26];\n Arrays.fill(array,0);\n char[] c_array;\n String str;\n do{\n if((str=br.readLine())==null) break;\n c_array=str.toCharArray();\n for(char c:c_array){\n if('a'<=c&&c<='z') array[c-'a']++;\n else if('A'<=c&&c<='Z') array[c-'A']++;\n }\n }while(true);\n for(int i=0;i<26;i++){\n System.out.println((char)('a'+i)+\" : \"+array[i]);\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] array = new int[26];\n Arrays.fill(array,0);\n char[] c_array;\n String str;\n do{\n if((str=br.readLine())==null) break;\n c_array=str.toCharArray();\n for(char c:c_array){\n if('a'<=c&&c<='z') array[c-'a']++;\n else if('A'<=c&&c<='Z') array[c-'A']++;\n }\n }while(true);\n for(int i=0;i<26;i++){\n System.out.println((char)('a'+i)+\" : \"+array[i]);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] array = new int[26];",
"array",
"new int[26]",
"26",
"Arrays.fill(array,0)",
"Arrays.fill",
"Arrays",
"array",
"0",
"char[] c_array;",
"c_array",
"String str;",
"str",
"do{\n if((str=br.readLine())==null) break;\n c_array=str.toCharArray();\n for(char c:c_array){\n if('a'<=c&&c<='z') array[c-'a']++;\n else if('A'<=c&&c<='Z') array[c-'A']++;\n }\n }while(true);",
"true",
"{\n if((str=br.readLine())==null) break;\n c_array=str.toCharArray();\n for(char c:c_array){\n if('a'<=c&&c<='z') array[c-'a']++;\n else if('A'<=c&&c<='Z') array[c-'A']++;\n }\n }",
"if((str=br.readLine())==null) break;",
"(str=br.readLine())==null",
"(str=br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"break;",
"c_array=str.toCharArray()",
"c_array",
"str.toCharArray()",
"str.toCharArray",
"str",
"for(char c:c_array){\n if('a'<=c&&c<='z') array[c-'a']++;\n else if('A'<=c&&c<='Z') array[c-'A']++;\n }",
"char c",
"c_array",
"{\n if('a'<=c&&c<='z') array[c-'a']++;\n else if('A'<=c&&c<='Z') array[c-'A']++;\n }",
"{\n if('a'<=c&&c<='z') array[c-'a']++;\n else if('A'<=c&&c<='Z') array[c-'A']++;\n }",
"if('a'<=c&&c<='z') array[c-'a']++;\n else if('A'<=c&&c<='Z') array[c-'A']++;",
"'a'<=c&&c<='z'",
"'a'<=c",
"'a'",
"c",
"c<='z'",
"c",
"'z'",
"array[c-'a']++",
"array[c-'a']",
"array",
"c-'a'",
"c",
"'a'",
"if('A'<=c&&c<='Z') array[c-'A']++;",
"'A'<=c&&c<='Z'",
"'A'<=c",
"'A'",
"c",
"c<='Z'",
"c",
"'Z'",
"array[c-'A']++",
"array[c-'A']",
"array",
"c-'A'",
"c",
"'A'",
"for(int i=0;i<26;i++){\n System.out.println((char)('a'+i)+\" : \"+array[i]);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n System.out.println((char)('a'+i)+\" : \"+array[i]);\n }",
"{\n System.out.println((char)('a'+i)+\" : \"+array[i]);\n }",
"System.out.println((char)('a'+i)+\" : \"+array[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)('a'+i)+\" : \"+array[i]",
"(char)('a'+i)+\" : \"+array[i]",
"(char)('a'+i)",
"'a'",
"i",
"\" : \"",
"array[i]",
"array",
"i",
"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));
int[] array = new int[26];
Arrays.fill(array,0);
char[] c_array;
String str;
do{
if((str=br.readLine())==null) break;
c_array=str.toCharArray();
for(char c:c_array){
if('a'<=c&&c<='z') array[c-'a']++;
else if('A'<=c&&c<='Z') array[c-'A']++;
}
}while(true);
for(int i=0;i<26;i++){
System.out.println((char)('a'+i)+" : "+array[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
28,
13,
4,
18,
13,
30,
30,
14,
2,
2,
2,
13,
17,
2,
17,
13,
2,
2,
13,
17,
2,
17,
13,
9,
40,
18,
13,
2,
4,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
18,
13,
2,
13,
17,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
26,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
33,
49
],
[
32,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
53,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
59,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
78,
78
],
[
78,
79
],
[
78,
80
],
[
78,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
6,
86
],
[
86,
87
]
]
| [
"import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n int[] alphabet = new int[26];\n\n do {\n String s = input.nextLine();\n for (char c : s.toCharArray()){\n if ((c < 'A' || 'Z' < c) && (c < 'a' || 'z' < c)) continue;\n alphabet[Character.toLowerCase(c)- 'a']++;\n }\n } while (input.hasNext());\n\n for (char c = 'a'; c <= 'z'; c++){\n System.out.println(c + \" : \" + alphabet[c - 'a']);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n int[] alphabet = new int[26];\n\n do {\n String s = input.nextLine();\n for (char c : s.toCharArray()){\n if ((c < 'A' || 'Z' < c) && (c < 'a' || 'z' < c)) continue;\n alphabet[Character.toLowerCase(c)- 'a']++;\n }\n } while (input.hasNext());\n\n for (char c = 'a'; c <= 'z'; c++){\n System.out.println(c + \" : \" + alphabet[c - 'a']);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n int[] alphabet = new int[26];\n\n do {\n String s = input.nextLine();\n for (char c : s.toCharArray()){\n if ((c < 'A' || 'Z' < c) && (c < 'a' || 'z' < c)) continue;\n alphabet[Character.toLowerCase(c)- 'a']++;\n }\n } while (input.hasNext());\n\n for (char c = 'a'; c <= 'z'; c++){\n System.out.println(c + \" : \" + alphabet[c - 'a']);\n }\n }",
"main",
"{\n Scanner input = new Scanner(System.in);\n int[] alphabet = new int[26];\n\n do {\n String s = input.nextLine();\n for (char c : s.toCharArray()){\n if ((c < 'A' || 'Z' < c) && (c < 'a' || 'z' < c)) continue;\n alphabet[Character.toLowerCase(c)- 'a']++;\n }\n } while (input.hasNext());\n\n for (char c = 'a'; c <= 'z'; c++){\n System.out.println(c + \" : \" + alphabet[c - 'a']);\n }\n }",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"int[] alphabet = new int[26];",
"alphabet",
"new int[26]",
"26",
"do {\n String s = input.nextLine();\n for (char c : s.toCharArray()){\n if ((c < 'A' || 'Z' < c) && (c < 'a' || 'z' < c)) continue;\n alphabet[Character.toLowerCase(c)- 'a']++;\n }\n } while (input.hasNext());",
"input.hasNext()",
"input.hasNext",
"input",
"{\n String s = input.nextLine();\n for (char c : s.toCharArray()){\n if ((c < 'A' || 'Z' < c) && (c < 'a' || 'z' < c)) continue;\n alphabet[Character.toLowerCase(c)- 'a']++;\n }\n }",
"String s = input.nextLine();",
"s",
"input.nextLine()",
"input.nextLine",
"input",
"for (char c : s.toCharArray()){\n if ((c < 'A' || 'Z' < c) && (c < 'a' || 'z' < c)) continue;\n alphabet[Character.toLowerCase(c)- 'a']++;\n }",
"char c",
"s.toCharArray()",
"s.toCharArray",
"s",
"{\n if ((c < 'A' || 'Z' < c) && (c < 'a' || 'z' < c)) continue;\n alphabet[Character.toLowerCase(c)- 'a']++;\n }",
"{\n if ((c < 'A' || 'Z' < c) && (c < 'a' || 'z' < c)) continue;\n alphabet[Character.toLowerCase(c)- 'a']++;\n }",
"if ((c < 'A' || 'Z' < c) && (c < 'a' || 'z' < c)) continue;",
"(c < 'A' || 'Z' < c) && (c < 'a' || 'z' < c)",
"(c < 'A' || 'Z' < c)",
"c < 'A'",
"c",
"'A'",
"'Z' < c",
"'Z'",
"c",
"(c < 'a' || 'z' < c)",
"c < 'a'",
"c",
"'a'",
"'z' < c",
"'z'",
"c",
"continue;",
"alphabet[Character.toLowerCase(c)- 'a']++",
"alphabet[Character.toLowerCase(c)- 'a']",
"alphabet",
"Character.toLowerCase(c)- 'a'",
"Character.toLowerCase(c)",
"Character.toLowerCase",
"Character",
"c",
"'a'",
"for (char c = 'a'; c <= 'z'; c++){\n System.out.println(c + \" : \" + alphabet[c - 'a']);\n }",
"char c = 'a';",
"char c = 'a';",
"c",
"'a'",
"c <= 'z'",
"c",
"'z'",
"c++",
"c++",
"c",
"{\n System.out.println(c + \" : \" + alphabet[c - 'a']);\n }",
"{\n System.out.println(c + \" : \" + alphabet[c - 'a']);\n }",
"System.out.println(c + \" : \" + alphabet[c - 'a'])",
"System.out.println",
"System.out",
"System",
"System.out",
"c + \" : \" + alphabet[c - 'a']",
"c + \" : \" + alphabet[c - 'a']",
"c",
"\" : \"",
"alphabet[c - 'a']",
"alphabet",
"c - 'a'",
"c",
"'a'",
"String[] args",
"args"
]
| import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int[] alphabet = new int[26];
do {
String s = input.nextLine();
for (char c : s.toCharArray()){
if ((c < 'A' || 'Z' < c) && (c < 'a' || 'z' < c)) continue;
alphabet[Character.toLowerCase(c)- 'a']++;
}
} while (input.hasNext());
for (char c = 'a'; c <= 'z'; c++){
System.out.println(c + " : " + alphabet[c - 'a']);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
41,
13,
17,
41,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
0,
13,
20,
17,
41,
13,
20,
38,
5,
13,
30,
30,
42,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
40,
17,
30,
3,
0,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
2,
13,
17,
40,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
2,
13,
17,
40,
18,
13,
13,
0,
13,
4,
18,
13,
13,
0,
13,
2,
13,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
147,
8
],
[
147,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
11,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
51,
56
],
[
56,
57
],
[
45,
58
],
[
58,
59
],
[
58,
60
],
[
45,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
69,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
61,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
84,
86
],
[
79,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
87,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
45,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
45,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
105,
107
],
[
42,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
113,
114
],
[
113,
115
],
[
108,
116
],
[
116,
117
],
[
117,
118
],
[
108,
119
],
[
120,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
123,
125
],
[
120,
126
],
[
126,
127
],
[
126,
128
],
[
120,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
135,
135
],
[
135,
136
],
[
135,
137
],
[
135,
138
],
[
138,
139
],
[
138,
140
],
[
42,
141
],
[
141,
142
],
[
142,
143
],
[
9,
144
],
[
144,
145
],
[
0,
146
],
[
146,
147
],
[
146,
148
]
]
| [
"import java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tString str1 = \"\", str2;\n\t\tint c = 0, count[], num1, num2, i = 0;\n\t\tchar ch;\n\t\tcount = new int[26];\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tc = isr.read();\n\t\t\t\tif (c == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tch = (char) c;\n\t\t\t\tif (ch <= 'z' && ch >= 'a') {\n\t\t\t\t\tnum1 = ch - 'a';\n\t\t\t\t\t++count[num1];\n\t\t\t\t} else if (ch <= 'Z' && ch >= 'A') {\n\t\t\t\t\tnum2 = ch - 'A';\n\t\t\t\t\t++count[num2];\n\t\t\t\t}\n\t\t\t\tstr2 = String.valueOf(ch);\n\t\t\t\tstr1 = str1 + str2;\n\t\t\t}\n\t\t\tfor (i = 0; i < 26; ++i) {\n\t\t\t\tnum1 = i + 'a';\n\t\t\t\tch = (char) num1;\n\t\t\t\tSystem.out.println(ch + \" : \" + count[i]);\n\t\t\t}\n\t\t\tisr.close();\n\n\t\t} catch (IOException e) {\n\n\t\t}\n\t}\n\n}\n",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tString str1 = \"\", str2;\n\t\tint c = 0, count[], num1, num2, i = 0;\n\t\tchar ch;\n\t\tcount = new int[26];\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tc = isr.read();\n\t\t\t\tif (c == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tch = (char) c;\n\t\t\t\tif (ch <= 'z' && ch >= 'a') {\n\t\t\t\t\tnum1 = ch - 'a';\n\t\t\t\t\t++count[num1];\n\t\t\t\t} else if (ch <= 'Z' && ch >= 'A') {\n\t\t\t\t\tnum2 = ch - 'A';\n\t\t\t\t\t++count[num2];\n\t\t\t\t}\n\t\t\t\tstr2 = String.valueOf(ch);\n\t\t\t\tstr1 = str1 + str2;\n\t\t\t}\n\t\t\tfor (i = 0; i < 26; ++i) {\n\t\t\t\tnum1 = i + 'a';\n\t\t\t\tch = (char) num1;\n\t\t\t\tSystem.out.println(ch + \" : \" + count[i]);\n\t\t\t}\n\t\t\tisr.close();\n\n\t\t} catch (IOException e) {\n\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String args[]) {\n\t\tString str1 = \"\", str2;\n\t\tint c = 0, count[], num1, num2, i = 0;\n\t\tchar ch;\n\t\tcount = new int[26];\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tc = isr.read();\n\t\t\t\tif (c == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tch = (char) c;\n\t\t\t\tif (ch <= 'z' && ch >= 'a') {\n\t\t\t\t\tnum1 = ch - 'a';\n\t\t\t\t\t++count[num1];\n\t\t\t\t} else if (ch <= 'Z' && ch >= 'A') {\n\t\t\t\t\tnum2 = ch - 'A';\n\t\t\t\t\t++count[num2];\n\t\t\t\t}\n\t\t\t\tstr2 = String.valueOf(ch);\n\t\t\t\tstr1 = str1 + str2;\n\t\t\t}\n\t\t\tfor (i = 0; i < 26; ++i) {\n\t\t\t\tnum1 = i + 'a';\n\t\t\t\tch = (char) num1;\n\t\t\t\tSystem.out.println(ch + \" : \" + count[i]);\n\t\t\t}\n\t\t\tisr.close();\n\n\t\t} catch (IOException e) {\n\n\t\t}\n\t}",
"main",
"{\n\t\tString str1 = \"\", str2;\n\t\tint c = 0, count[], num1, num2, i = 0;\n\t\tchar ch;\n\t\tcount = new int[26];\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tc = isr.read();\n\t\t\t\tif (c == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tch = (char) c;\n\t\t\t\tif (ch <= 'z' && ch >= 'a') {\n\t\t\t\t\tnum1 = ch - 'a';\n\t\t\t\t\t++count[num1];\n\t\t\t\t} else if (ch <= 'Z' && ch >= 'A') {\n\t\t\t\t\tnum2 = ch - 'A';\n\t\t\t\t\t++count[num2];\n\t\t\t\t}\n\t\t\t\tstr2 = String.valueOf(ch);\n\t\t\t\tstr1 = str1 + str2;\n\t\t\t}\n\t\t\tfor (i = 0; i < 26; ++i) {\n\t\t\t\tnum1 = i + 'a';\n\t\t\t\tch = (char) num1;\n\t\t\t\tSystem.out.println(ch + \" : \" + count[i]);\n\t\t\t}\n\t\t\tisr.close();\n\n\t\t} catch (IOException e) {\n\n\t\t}\n\t}",
"String str1 = \"\"",
"str1",
"\"\"",
"str2;",
"str2",
"int c = 0",
"c",
"0",
"count[]",
"count",
"num1",
"num1",
"num2",
"num2",
"i = 0;",
"i",
"0",
"char ch;",
"ch",
"count = new int[26]",
"count",
"new int[26]",
"26",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"try {\n\t\t\twhile (true) {\n\t\t\t\tc = isr.read();\n\t\t\t\tif (c == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tch = (char) c;\n\t\t\t\tif (ch <= 'z' && ch >= 'a') {\n\t\t\t\t\tnum1 = ch - 'a';\n\t\t\t\t\t++count[num1];\n\t\t\t\t} else if (ch <= 'Z' && ch >= 'A') {\n\t\t\t\t\tnum2 = ch - 'A';\n\t\t\t\t\t++count[num2];\n\t\t\t\t}\n\t\t\t\tstr2 = String.valueOf(ch);\n\t\t\t\tstr1 = str1 + str2;\n\t\t\t}\n\t\t\tfor (i = 0; i < 26; ++i) {\n\t\t\t\tnum1 = i + 'a';\n\t\t\t\tch = (char) num1;\n\t\t\t\tSystem.out.println(ch + \" : \" + count[i]);\n\t\t\t}\n\t\t\tisr.close();\n\n\t\t} catch (IOException e) {\n\n\t\t}",
"catch (IOException e) {\n\n\t\t}",
"IOException e",
"{\n\n\t\t}",
"{\n\t\t\twhile (true) {\n\t\t\t\tc = isr.read();\n\t\t\t\tif (c == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tch = (char) c;\n\t\t\t\tif (ch <= 'z' && ch >= 'a') {\n\t\t\t\t\tnum1 = ch - 'a';\n\t\t\t\t\t++count[num1];\n\t\t\t\t} else if (ch <= 'Z' && ch >= 'A') {\n\t\t\t\t\tnum2 = ch - 'A';\n\t\t\t\t\t++count[num2];\n\t\t\t\t}\n\t\t\t\tstr2 = String.valueOf(ch);\n\t\t\t\tstr1 = str1 + str2;\n\t\t\t}\n\t\t\tfor (i = 0; i < 26; ++i) {\n\t\t\t\tnum1 = i + 'a';\n\t\t\t\tch = (char) num1;\n\t\t\t\tSystem.out.println(ch + \" : \" + count[i]);\n\t\t\t}\n\t\t\tisr.close();\n\n\t\t}",
"while (true) {\n\t\t\t\tc = isr.read();\n\t\t\t\tif (c == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tch = (char) c;\n\t\t\t\tif (ch <= 'z' && ch >= 'a') {\n\t\t\t\t\tnum1 = ch - 'a';\n\t\t\t\t\t++count[num1];\n\t\t\t\t} else if (ch <= 'Z' && ch >= 'A') {\n\t\t\t\t\tnum2 = ch - 'A';\n\t\t\t\t\t++count[num2];\n\t\t\t\t}\n\t\t\t\tstr2 = String.valueOf(ch);\n\t\t\t\tstr1 = str1 + str2;\n\t\t\t}",
"true",
"{\n\t\t\t\tc = isr.read();\n\t\t\t\tif (c == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tch = (char) c;\n\t\t\t\tif (ch <= 'z' && ch >= 'a') {\n\t\t\t\t\tnum1 = ch - 'a';\n\t\t\t\t\t++count[num1];\n\t\t\t\t} else if (ch <= 'Z' && ch >= 'A') {\n\t\t\t\t\tnum2 = ch - 'A';\n\t\t\t\t\t++count[num2];\n\t\t\t\t}\n\t\t\t\tstr2 = String.valueOf(ch);\n\t\t\t\tstr1 = str1 + str2;\n\t\t\t}",
"c = isr.read()",
"c",
"isr.read()",
"isr.read",
"isr",
"if (c == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"c == -1",
"c",
"-1",
"1",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"ch = (char) c",
"ch",
"(char) c",
"if (ch <= 'z' && ch >= 'a') {\n\t\t\t\t\tnum1 = ch - 'a';\n\t\t\t\t\t++count[num1];\n\t\t\t\t} else if (ch <= 'Z' && ch >= 'A') {\n\t\t\t\t\tnum2 = ch - 'A';\n\t\t\t\t\t++count[num2];\n\t\t\t\t}",
"ch <= 'z' && ch >= 'a'",
"ch <= 'z'",
"ch",
"'z'",
"ch >= 'a'",
"ch",
"'a'",
"{\n\t\t\t\t\tnum1 = ch - 'a';\n\t\t\t\t\t++count[num1];\n\t\t\t\t}",
"num1 = ch - 'a'",
"num1",
"ch - 'a'",
"ch",
"'a'",
"++count[num1]",
"count[num1]",
"count",
"num1",
"if (ch <= 'Z' && ch >= 'A') {\n\t\t\t\t\tnum2 = ch - 'A';\n\t\t\t\t\t++count[num2];\n\t\t\t\t}",
"ch <= 'Z' && ch >= 'A'",
"ch <= 'Z'",
"ch",
"'Z'",
"ch >= 'A'",
"ch",
"'A'",
"{\n\t\t\t\t\tnum2 = ch - 'A';\n\t\t\t\t\t++count[num2];\n\t\t\t\t}",
"num2 = ch - 'A'",
"num2",
"ch - 'A'",
"ch",
"'A'",
"++count[num2]",
"count[num2]",
"count",
"num2",
"str2 = String.valueOf(ch)",
"str2",
"String.valueOf(ch)",
"String.valueOf",
"String",
"ch",
"str1 = str1 + str2",
"str1",
"str1 + str2",
"str1",
"str2",
"for (i = 0; i < 26; ++i) {\n\t\t\t\tnum1 = i + 'a';\n\t\t\t\tch = (char) num1;\n\t\t\t\tSystem.out.println(ch + \" : \" + count[i]);\n\t\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < 26",
"i",
"26",
"++i",
"++i",
"i",
"{\n\t\t\t\tnum1 = i + 'a';\n\t\t\t\tch = (char) num1;\n\t\t\t\tSystem.out.println(ch + \" : \" + count[i]);\n\t\t\t}",
"{\n\t\t\t\tnum1 = i + 'a';\n\t\t\t\tch = (char) num1;\n\t\t\t\tSystem.out.println(ch + \" : \" + count[i]);\n\t\t\t}",
"num1 = i + 'a'",
"num1",
"i + 'a'",
"i",
"'a'",
"ch = (char) num1",
"ch",
"(char) num1",
"System.out.println(ch + \" : \" + count[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"ch + \" : \" + count[i]",
"ch + \" : \" + count[i]",
"ch",
"\" : \"",
"count[i]",
"count",
"i",
"isr.close()",
"isr.close",
"isr",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tString str1 = \"\", str2;\n\t\tint c = 0, count[], num1, num2, i = 0;\n\t\tchar ch;\n\t\tcount = new int[26];\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tc = isr.read();\n\t\t\t\tif (c == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tch = (char) c;\n\t\t\t\tif (ch <= 'z' && ch >= 'a') {\n\t\t\t\t\tnum1 = ch - 'a';\n\t\t\t\t\t++count[num1];\n\t\t\t\t} else if (ch <= 'Z' && ch >= 'A') {\n\t\t\t\t\tnum2 = ch - 'A';\n\t\t\t\t\t++count[num2];\n\t\t\t\t}\n\t\t\t\tstr2 = String.valueOf(ch);\n\t\t\t\tstr1 = str1 + str2;\n\t\t\t}\n\t\t\tfor (i = 0; i < 26; ++i) {\n\t\t\t\tnum1 = i + 'a';\n\t\t\t\tch = (char) num1;\n\t\t\t\tSystem.out.println(ch + \" : \" + count[i]);\n\t\t\t}\n\t\t\tisr.close();\n\n\t\t} catch (IOException e) {\n\n\t\t}\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tString str1 = \"\", str2;\n\t\tint c = 0, count[], num1, num2, i = 0;\n\t\tchar ch;\n\t\tcount = new int[26];\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tc = isr.read();\n\t\t\t\tif (c == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tch = (char) c;\n\t\t\t\tif (ch <= 'z' && ch >= 'a') {\n\t\t\t\t\tnum1 = ch - 'a';\n\t\t\t\t\t++count[num1];\n\t\t\t\t} else if (ch <= 'Z' && ch >= 'A') {\n\t\t\t\t\tnum2 = ch - 'A';\n\t\t\t\t\t++count[num2];\n\t\t\t\t}\n\t\t\t\tstr2 = String.valueOf(ch);\n\t\t\t\tstr1 = str1 + str2;\n\t\t\t}\n\t\t\tfor (i = 0; i < 26; ++i) {\n\t\t\t\tnum1 = i + 'a';\n\t\t\t\tch = (char) num1;\n\t\t\t\tSystem.out.println(ch + \" : \" + count[i]);\n\t\t\t}\n\t\t\tisr.close();\n\n\t\t} catch (IOException e) {\n\n\t\t}\n\t}\n\n}",
"Main"
]
| import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String args[]) {
String str1 = "", str2;
int c = 0, count[], num1, num2, i = 0;
char ch;
count = new int[26];
InputStreamReader isr = new InputStreamReader(System.in);
try {
while (true) {
c = isr.read();
if (c == -1) {
break;
}
ch = (char) c;
if (ch <= 'z' && ch >= 'a') {
num1 = ch - 'a';
++count[num1];
} else if (ch <= 'Z' && ch >= 'A') {
num2 = ch - 'A';
++count[num2];
}
str2 = String.valueOf(ch);
str1 = str1 + str2;
}
for (i = 0; i < 26; ++i) {
num1 = i + 'a';
ch = (char) num1;
System.out.println(ch + " : " + count[i]);
}
isr.close();
} catch (IOException e) {
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
17,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
13,
18,
13,
13,
30,
41,
13,
2,
18,
13,
13,
17,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
17,
13,
4,
18,
18,
13,
13,
2,
13,
17,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
112,
5
],
[
112,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
23,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
39,
49
],
[
49,
50
],
[
50,
51
],
[
39,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
54,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
8,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
73,
83
],
[
83,
84
],
[
84,
85
],
[
73,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
87,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
87,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
6,
109
],
[
109,
110
],
[
0,
111
],
[
111,
112
],
[
111,
113
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString str = null;\n\t\tint count[] = new int[26];\n\n\t\twhile (sc.hasNext()) {\n\t\t\tstr = sc.nextLine();\n\t\t\tstr = str.toLowerCase();\n\t\t\tchar ch[] = str.toCharArray();\n\t\t\tfor (int i = 0; i < ch.length; i++) {\n\t\t\t\tif (Character.isAlphabetic(ch[i])) {\n\t\t\t\t\tint x = ch[i] - 'a';\n\t\t\t\t\tcount[x]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tchar x = (char) ('a' + i);\n\t\t\tSystem.out.print(x + \" : \");\n\t\t\tSystem.out.println(count[i]);\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString str = null;\n\t\tint count[] = new int[26];\n\n\t\twhile (sc.hasNext()) {\n\t\t\tstr = sc.nextLine();\n\t\t\tstr = str.toLowerCase();\n\t\t\tchar ch[] = str.toCharArray();\n\t\t\tfor (int i = 0; i < ch.length; i++) {\n\t\t\t\tif (Character.isAlphabetic(ch[i])) {\n\t\t\t\t\tint x = ch[i] - 'a';\n\t\t\t\t\tcount[x]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tchar x = (char) ('a' + i);\n\t\t\tSystem.out.print(x + \" : \");\n\t\t\tSystem.out.println(count[i]);\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString str = null;\n\t\tint count[] = new int[26];\n\n\t\twhile (sc.hasNext()) {\n\t\t\tstr = sc.nextLine();\n\t\t\tstr = str.toLowerCase();\n\t\t\tchar ch[] = str.toCharArray();\n\t\t\tfor (int i = 0; i < ch.length; i++) {\n\t\t\t\tif (Character.isAlphabetic(ch[i])) {\n\t\t\t\t\tint x = ch[i] - 'a';\n\t\t\t\t\tcount[x]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tchar x = (char) ('a' + i);\n\t\t\tSystem.out.print(x + \" : \");\n\t\t\tSystem.out.println(count[i]);\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString str = null;\n\t\tint count[] = new int[26];\n\n\t\twhile (sc.hasNext()) {\n\t\t\tstr = sc.nextLine();\n\t\t\tstr = str.toLowerCase();\n\t\t\tchar ch[] = str.toCharArray();\n\t\t\tfor (int i = 0; i < ch.length; i++) {\n\t\t\t\tif (Character.isAlphabetic(ch[i])) {\n\t\t\t\t\tint x = ch[i] - 'a';\n\t\t\t\t\tcount[x]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tchar x = (char) ('a' + i);\n\t\t\tSystem.out.print(x + \" : \");\n\t\t\tSystem.out.println(count[i]);\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str = null;",
"str",
"null",
"int count[] = new int[26];",
"count",
"new int[26]",
"26",
"while (sc.hasNext()) {\n\t\t\tstr = sc.nextLine();\n\t\t\tstr = str.toLowerCase();\n\t\t\tchar ch[] = str.toCharArray();\n\t\t\tfor (int i = 0; i < ch.length; i++) {\n\t\t\t\tif (Character.isAlphabetic(ch[i])) {\n\t\t\t\t\tint x = ch[i] - 'a';\n\t\t\t\t\tcount[x]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tstr = sc.nextLine();\n\t\t\tstr = str.toLowerCase();\n\t\t\tchar ch[] = str.toCharArray();\n\t\t\tfor (int i = 0; i < ch.length; i++) {\n\t\t\t\tif (Character.isAlphabetic(ch[i])) {\n\t\t\t\t\tint x = ch[i] - 'a';\n\t\t\t\t\tcount[x]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"str = sc.nextLine()",
"str",
"sc.nextLine()",
"sc.nextLine",
"sc",
"str = str.toLowerCase()",
"str",
"str.toLowerCase()",
"str.toLowerCase",
"str",
"char ch[] = str.toCharArray();",
"ch",
"str.toCharArray()",
"str.toCharArray",
"str",
"for (int i = 0; i < ch.length; i++) {\n\t\t\t\tif (Character.isAlphabetic(ch[i])) {\n\t\t\t\t\tint x = ch[i] - 'a';\n\t\t\t\t\tcount[x]++;\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < ch.length",
"i",
"ch.length",
"ch",
"ch.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tif (Character.isAlphabetic(ch[i])) {\n\t\t\t\t\tint x = ch[i] - 'a';\n\t\t\t\t\tcount[x]++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif (Character.isAlphabetic(ch[i])) {\n\t\t\t\t\tint x = ch[i] - 'a';\n\t\t\t\t\tcount[x]++;\n\t\t\t\t}\n\t\t\t}",
"if (Character.isAlphabetic(ch[i])) {\n\t\t\t\t\tint x = ch[i] - 'a';\n\t\t\t\t\tcount[x]++;\n\t\t\t\t}",
"Character.isAlphabetic(ch[i])",
"Character.isAlphabetic",
"Character",
"ch[i]",
"ch",
"i",
"{\n\t\t\t\t\tint x = ch[i] - 'a';\n\t\t\t\t\tcount[x]++;\n\t\t\t\t}",
"int x = ch[i] - 'a';",
"x",
"ch[i] - 'a'",
"ch[i]",
"ch",
"i",
"'a'",
"count[x]++",
"count[x]",
"count",
"x",
"for (int i = 0; i < count.length; i++) {\n\t\t\tchar x = (char) ('a' + i);\n\t\t\tSystem.out.print(x + \" : \");\n\t\t\tSystem.out.println(count[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < count.length",
"i",
"count.length",
"count",
"count.length",
"i++",
"i++",
"i",
"{\n\t\t\tchar x = (char) ('a' + i);\n\t\t\tSystem.out.print(x + \" : \");\n\t\t\tSystem.out.println(count[i]);\n\t\t}",
"{\n\t\t\tchar x = (char) ('a' + i);\n\t\t\tSystem.out.print(x + \" : \");\n\t\t\tSystem.out.println(count[i]);\n\t\t}",
"char x = (char) ('a' + i);",
"x",
"(char) ('a' + i)",
"'a'",
"i",
"System.out.print(x + \" : \")",
"System.out.print",
"System.out",
"System",
"System.out",
"x + \" : \"",
"x",
"\" : \"",
"System.out.println(count[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"count[i]",
"count",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString str = null;\n\t\tint count[] = new int[26];\n\n\t\twhile (sc.hasNext()) {\n\t\t\tstr = sc.nextLine();\n\t\t\tstr = str.toLowerCase();\n\t\t\tchar ch[] = str.toCharArray();\n\t\t\tfor (int i = 0; i < ch.length; i++) {\n\t\t\t\tif (Character.isAlphabetic(ch[i])) {\n\t\t\t\t\tint x = ch[i] - 'a';\n\t\t\t\t\tcount[x]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tchar x = (char) ('a' + i);\n\t\t\tSystem.out.print(x + \" : \");\n\t\t\tSystem.out.println(count[i]);\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString str = null;\n\t\tint count[] = new int[26];\n\n\t\twhile (sc.hasNext()) {\n\t\t\tstr = sc.nextLine();\n\t\t\tstr = str.toLowerCase();\n\t\t\tchar ch[] = str.toCharArray();\n\t\t\tfor (int i = 0; i < ch.length; i++) {\n\t\t\t\tif (Character.isAlphabetic(ch[i])) {\n\t\t\t\t\tint x = ch[i] - 'a';\n\t\t\t\t\tcount[x]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tchar x = (char) ('a' + i);\n\t\t\tSystem.out.print(x + \" : \");\n\t\t\tSystem.out.println(count[i]);\n\t\t}\n\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String str = null;
int count[] = new int[26];
while (sc.hasNext()) {
str = sc.nextLine();
str = str.toLowerCase();
char ch[] = str.toCharArray();
for (int i = 0; i < ch.length; i++) {
if (Character.isAlphabetic(ch[i])) {
int x = ch[i] - 'a';
count[x]++;
}
}
}
for (int i = 0; i < count.length; i++) {
char x = (char) ('a' + i);
System.out.print(x + " : ");
System.out.println(count[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
2,
4,
18,
13,
17,
30,
3,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
13,
30,
40,
18,
13,
13,
3,
40,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
40,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
121,
8
],
[
121,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
30,
34
],
[
29,
35
],
[
35,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
43,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
75,
80
],
[
74,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
73,
87
],
[
87,
88
],
[
11,
89
],
[
89,
90
],
[
89,
91
],
[
11,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
97,
98
],
[
97,
99
],
[
92,
100
],
[
100,
101
],
[
101,
102
],
[
92,
103
],
[
104,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
111,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
111,
115
],
[
115,
116
],
[
115,
117
],
[
9,
118
],
[
118,
119
],
[
0,
120
],
[
120,
121
],
[
120,
122
]
]
| [
"\n\nimport java.io.IOException;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner in = new Scanner(System.in);\n\t\t// ?????¢?????????????????????????????°???????´?????????????\n\t\tint[] char_count = new int[26];\n\n\t\twhile(in.hasNextLine()){\n\n\t\t\tString str = in.nextLine();\n\n\t\t\tif(str.length() == 0){\n\t\t\t//if(str.equals(\"\")){\n\n\t\t\t\tbreak;\n\n\t\t\t}else{\n\n\t\t\t\t// ???????????¨????°????????????????\n\t\t\t\tString lower_case = str.toLowerCase();\n\n\n\t\t\t\t// ???????????????????????????\n\t\t\t\tfor (int i = 0; i < lower_case.length(); i++) {\n\n\t\t\t\t\tint array_number = 0;\n\n\t\t\t\t\tfor(char a = 'a'; a <= 'z'; a++) {\n\n\t\t\t\t\t\tif(lower_case.charAt(i) == a){\n\n\t\t\t\t\t\t\tchar_count[array_number]++;\n\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tarray_number++;\n\n\t\t\t\t\t}\n\n\t\t\t\t\t/*if(lower_case.charAt(i) == 'a'){\n\n\t\t\t\t\t\tchar_count[0]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'b'){\n\n\t\t\t\t\t\tchar_count[1]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'c'){\n\n\t\t\t\t\t\tchar_count[2]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'd'){\n\n\t\t\t\t\t\tchar_count[3]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'e'){\n\n\t\t\t\t\t\tchar_count[4]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'f'){\n\n\t\t\t\t\t\tchar_count[5]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'g'){\n\n\t\t\t\t\t\tchar_count[6]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'h'){\n\n\t\t\t\t\t\tchar_count[7]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'i'){\n\n\t\t\t\t\t\tchar_count[8]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'j'){\n\n\t\t\t\t\t\tchar_count[9]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'k'){\n\n\t\t\t\t\t\tchar_count[10]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'l'){\n\n\t\t\t\t\t\tchar_count[11]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'm'){\n\n\t\t\t\t\t\tchar_count[12]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'n'){\n\n\t\t\t\t\t\tchar_count[13]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'o'){\n\n\t\t\t\t\t\tchar_count[14]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'p'){\n\n\t\t\t\t\t\tchar_count[15]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'q'){\n\n\t\t\t\t\t\tchar_count[16]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'r'){\n\n\t\t\t\t\t\tchar_count[17]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 's'){\n\n\t\t\t\t\t\tchar_count[18]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 't'){\n\n\t\t\t\t\t\tchar_count[19]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'u'){\n\n\t\t\t\t\t\tchar_count[20]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'v'){\n\n\t\t\t\t\t\tchar_count[21]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'w'){\n\n\t\t\t\t\t\tchar_count[22]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'x'){\n\n\t\t\t\t\t\tchar_count[23]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'y'){\n\n\t\t\t\t\t\tchar_count[24]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'z'){\n\n\t\t\t\t\t\tchar_count[25]++;\n\n\t\t\t\t\t}*/\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// ??¢????????????????????????????????????????????¨?????°?????¨???\n\t\tchar a = 'a';\n\n\t\tfor(int i = 0; i < 26; i++){\n\n\t\t\tSystem.out.println(a++ + \" : \" + char_count[i]);\n\n\t\t}\n\t}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner in = new Scanner(System.in);\n\t\t// ?????¢?????????????????????????????°???????´?????????????\n\t\tint[] char_count = new int[26];\n\n\t\twhile(in.hasNextLine()){\n\n\t\t\tString str = in.nextLine();\n\n\t\t\tif(str.length() == 0){\n\t\t\t//if(str.equals(\"\")){\n\n\t\t\t\tbreak;\n\n\t\t\t}else{\n\n\t\t\t\t// ???????????¨????°????????????????\n\t\t\t\tString lower_case = str.toLowerCase();\n\n\n\t\t\t\t// ???????????????????????????\n\t\t\t\tfor (int i = 0; i < lower_case.length(); i++) {\n\n\t\t\t\t\tint array_number = 0;\n\n\t\t\t\t\tfor(char a = 'a'; a <= 'z'; a++) {\n\n\t\t\t\t\t\tif(lower_case.charAt(i) == a){\n\n\t\t\t\t\t\t\tchar_count[array_number]++;\n\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tarray_number++;\n\n\t\t\t\t\t}\n\n\t\t\t\t\t/*if(lower_case.charAt(i) == 'a'){\n\n\t\t\t\t\t\tchar_count[0]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'b'){\n\n\t\t\t\t\t\tchar_count[1]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'c'){\n\n\t\t\t\t\t\tchar_count[2]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'd'){\n\n\t\t\t\t\t\tchar_count[3]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'e'){\n\n\t\t\t\t\t\tchar_count[4]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'f'){\n\n\t\t\t\t\t\tchar_count[5]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'g'){\n\n\t\t\t\t\t\tchar_count[6]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'h'){\n\n\t\t\t\t\t\tchar_count[7]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'i'){\n\n\t\t\t\t\t\tchar_count[8]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'j'){\n\n\t\t\t\t\t\tchar_count[9]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'k'){\n\n\t\t\t\t\t\tchar_count[10]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'l'){\n\n\t\t\t\t\t\tchar_count[11]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'm'){\n\n\t\t\t\t\t\tchar_count[12]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'n'){\n\n\t\t\t\t\t\tchar_count[13]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'o'){\n\n\t\t\t\t\t\tchar_count[14]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'p'){\n\n\t\t\t\t\t\tchar_count[15]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'q'){\n\n\t\t\t\t\t\tchar_count[16]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'r'){\n\n\t\t\t\t\t\tchar_count[17]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 's'){\n\n\t\t\t\t\t\tchar_count[18]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 't'){\n\n\t\t\t\t\t\tchar_count[19]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'u'){\n\n\t\t\t\t\t\tchar_count[20]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'v'){\n\n\t\t\t\t\t\tchar_count[21]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'w'){\n\n\t\t\t\t\t\tchar_count[22]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'x'){\n\n\t\t\t\t\t\tchar_count[23]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'y'){\n\n\t\t\t\t\t\tchar_count[24]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'z'){\n\n\t\t\t\t\t\tchar_count[25]++;\n\n\t\t\t\t\t}*/\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// ??¢????????????????????????????????????????????¨?????°?????¨???\n\t\tchar a = 'a';\n\n\t\tfor(int i = 0; i < 26; i++){\n\n\t\t\tSystem.out.println(a++ + \" : \" + char_count[i]);\n\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tScanner in = new Scanner(System.in);\n\t\t// ?????¢?????????????????????????????°???????´?????????????\n\t\tint[] char_count = new int[26];\n\n\t\twhile(in.hasNextLine()){\n\n\t\t\tString str = in.nextLine();\n\n\t\t\tif(str.length() == 0){\n\t\t\t//if(str.equals(\"\")){\n\n\t\t\t\tbreak;\n\n\t\t\t}else{\n\n\t\t\t\t// ???????????¨????°????????????????\n\t\t\t\tString lower_case = str.toLowerCase();\n\n\n\t\t\t\t// ???????????????????????????\n\t\t\t\tfor (int i = 0; i < lower_case.length(); i++) {\n\n\t\t\t\t\tint array_number = 0;\n\n\t\t\t\t\tfor(char a = 'a'; a <= 'z'; a++) {\n\n\t\t\t\t\t\tif(lower_case.charAt(i) == a){\n\n\t\t\t\t\t\t\tchar_count[array_number]++;\n\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tarray_number++;\n\n\t\t\t\t\t}\n\n\t\t\t\t\t/*if(lower_case.charAt(i) == 'a'){\n\n\t\t\t\t\t\tchar_count[0]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'b'){\n\n\t\t\t\t\t\tchar_count[1]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'c'){\n\n\t\t\t\t\t\tchar_count[2]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'd'){\n\n\t\t\t\t\t\tchar_count[3]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'e'){\n\n\t\t\t\t\t\tchar_count[4]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'f'){\n\n\t\t\t\t\t\tchar_count[5]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'g'){\n\n\t\t\t\t\t\tchar_count[6]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'h'){\n\n\t\t\t\t\t\tchar_count[7]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'i'){\n\n\t\t\t\t\t\tchar_count[8]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'j'){\n\n\t\t\t\t\t\tchar_count[9]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'k'){\n\n\t\t\t\t\t\tchar_count[10]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'l'){\n\n\t\t\t\t\t\tchar_count[11]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'm'){\n\n\t\t\t\t\t\tchar_count[12]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'n'){\n\n\t\t\t\t\t\tchar_count[13]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'o'){\n\n\t\t\t\t\t\tchar_count[14]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'p'){\n\n\t\t\t\t\t\tchar_count[15]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'q'){\n\n\t\t\t\t\t\tchar_count[16]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'r'){\n\n\t\t\t\t\t\tchar_count[17]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 's'){\n\n\t\t\t\t\t\tchar_count[18]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 't'){\n\n\t\t\t\t\t\tchar_count[19]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'u'){\n\n\t\t\t\t\t\tchar_count[20]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'v'){\n\n\t\t\t\t\t\tchar_count[21]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'w'){\n\n\t\t\t\t\t\tchar_count[22]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'x'){\n\n\t\t\t\t\t\tchar_count[23]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'y'){\n\n\t\t\t\t\t\tchar_count[24]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'z'){\n\n\t\t\t\t\t\tchar_count[25]++;\n\n\t\t\t\t\t}*/\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// ??¢????????????????????????????????????????????¨?????°?????¨???\n\t\tchar a = 'a';\n\n\t\tfor(int i = 0; i < 26; i++){\n\n\t\t\tSystem.out.println(a++ + \" : \" + char_count[i]);\n\n\t\t}\n\t}",
"main",
"{\n\n\t\tScanner in = new Scanner(System.in);\n\t\t// ?????¢?????????????????????????????°???????´?????????????\n\t\tint[] char_count = new int[26];\n\n\t\twhile(in.hasNextLine()){\n\n\t\t\tString str = in.nextLine();\n\n\t\t\tif(str.length() == 0){\n\t\t\t//if(str.equals(\"\")){\n\n\t\t\t\tbreak;\n\n\t\t\t}else{\n\n\t\t\t\t// ???????????¨????°????????????????\n\t\t\t\tString lower_case = str.toLowerCase();\n\n\n\t\t\t\t// ???????????????????????????\n\t\t\t\tfor (int i = 0; i < lower_case.length(); i++) {\n\n\t\t\t\t\tint array_number = 0;\n\n\t\t\t\t\tfor(char a = 'a'; a <= 'z'; a++) {\n\n\t\t\t\t\t\tif(lower_case.charAt(i) == a){\n\n\t\t\t\t\t\t\tchar_count[array_number]++;\n\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tarray_number++;\n\n\t\t\t\t\t}\n\n\t\t\t\t\t/*if(lower_case.charAt(i) == 'a'){\n\n\t\t\t\t\t\tchar_count[0]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'b'){\n\n\t\t\t\t\t\tchar_count[1]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'c'){\n\n\t\t\t\t\t\tchar_count[2]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'd'){\n\n\t\t\t\t\t\tchar_count[3]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'e'){\n\n\t\t\t\t\t\tchar_count[4]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'f'){\n\n\t\t\t\t\t\tchar_count[5]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'g'){\n\n\t\t\t\t\t\tchar_count[6]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'h'){\n\n\t\t\t\t\t\tchar_count[7]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'i'){\n\n\t\t\t\t\t\tchar_count[8]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'j'){\n\n\t\t\t\t\t\tchar_count[9]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'k'){\n\n\t\t\t\t\t\tchar_count[10]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'l'){\n\n\t\t\t\t\t\tchar_count[11]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'm'){\n\n\t\t\t\t\t\tchar_count[12]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'n'){\n\n\t\t\t\t\t\tchar_count[13]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'o'){\n\n\t\t\t\t\t\tchar_count[14]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'p'){\n\n\t\t\t\t\t\tchar_count[15]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'q'){\n\n\t\t\t\t\t\tchar_count[16]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'r'){\n\n\t\t\t\t\t\tchar_count[17]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 's'){\n\n\t\t\t\t\t\tchar_count[18]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 't'){\n\n\t\t\t\t\t\tchar_count[19]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'u'){\n\n\t\t\t\t\t\tchar_count[20]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'v'){\n\n\t\t\t\t\t\tchar_count[21]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'w'){\n\n\t\t\t\t\t\tchar_count[22]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'x'){\n\n\t\t\t\t\t\tchar_count[23]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'y'){\n\n\t\t\t\t\t\tchar_count[24]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'z'){\n\n\t\t\t\t\t\tchar_count[25]++;\n\n\t\t\t\t\t}*/\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// ??¢????????????????????????????????????????????¨?????°?????¨???\n\t\tchar a = 'a';\n\n\t\tfor(int i = 0; i < 26; i++){\n\n\t\t\tSystem.out.println(a++ + \" : \" + char_count[i]);\n\n\t\t}\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int[] char_count = new int[26];",
"char_count",
"new int[26]",
"26",
"while(in.hasNextLine()){\n\n\t\t\tString str = in.nextLine();\n\n\t\t\tif(str.length() == 0){\n\t\t\t//if(str.equals(\"\")){\n\n\t\t\t\tbreak;\n\n\t\t\t}else{\n\n\t\t\t\t// ???????????¨????°????????????????\n\t\t\t\tString lower_case = str.toLowerCase();\n\n\n\t\t\t\t// ???????????????????????????\n\t\t\t\tfor (int i = 0; i < lower_case.length(); i++) {\n\n\t\t\t\t\tint array_number = 0;\n\n\t\t\t\t\tfor(char a = 'a'; a <= 'z'; a++) {\n\n\t\t\t\t\t\tif(lower_case.charAt(i) == a){\n\n\t\t\t\t\t\t\tchar_count[array_number]++;\n\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tarray_number++;\n\n\t\t\t\t\t}\n\n\t\t\t\t\t/*if(lower_case.charAt(i) == 'a'){\n\n\t\t\t\t\t\tchar_count[0]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'b'){\n\n\t\t\t\t\t\tchar_count[1]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'c'){\n\n\t\t\t\t\t\tchar_count[2]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'd'){\n\n\t\t\t\t\t\tchar_count[3]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'e'){\n\n\t\t\t\t\t\tchar_count[4]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'f'){\n\n\t\t\t\t\t\tchar_count[5]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'g'){\n\n\t\t\t\t\t\tchar_count[6]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'h'){\n\n\t\t\t\t\t\tchar_count[7]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'i'){\n\n\t\t\t\t\t\tchar_count[8]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'j'){\n\n\t\t\t\t\t\tchar_count[9]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'k'){\n\n\t\t\t\t\t\tchar_count[10]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'l'){\n\n\t\t\t\t\t\tchar_count[11]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'm'){\n\n\t\t\t\t\t\tchar_count[12]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'n'){\n\n\t\t\t\t\t\tchar_count[13]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'o'){\n\n\t\t\t\t\t\tchar_count[14]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'p'){\n\n\t\t\t\t\t\tchar_count[15]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'q'){\n\n\t\t\t\t\t\tchar_count[16]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'r'){\n\n\t\t\t\t\t\tchar_count[17]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 's'){\n\n\t\t\t\t\t\tchar_count[18]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 't'){\n\n\t\t\t\t\t\tchar_count[19]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'u'){\n\n\t\t\t\t\t\tchar_count[20]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'v'){\n\n\t\t\t\t\t\tchar_count[21]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'w'){\n\n\t\t\t\t\t\tchar_count[22]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'x'){\n\n\t\t\t\t\t\tchar_count[23]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'y'){\n\n\t\t\t\t\t\tchar_count[24]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'z'){\n\n\t\t\t\t\t\tchar_count[25]++;\n\n\t\t\t\t\t}*/\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"in.hasNextLine()",
"in.hasNextLine",
"in",
"{\n\n\t\t\tString str = in.nextLine();\n\n\t\t\tif(str.length() == 0){\n\t\t\t//if(str.equals(\"\")){\n\n\t\t\t\tbreak;\n\n\t\t\t}else{\n\n\t\t\t\t// ???????????¨????°????????????????\n\t\t\t\tString lower_case = str.toLowerCase();\n\n\n\t\t\t\t// ???????????????????????????\n\t\t\t\tfor (int i = 0; i < lower_case.length(); i++) {\n\n\t\t\t\t\tint array_number = 0;\n\n\t\t\t\t\tfor(char a = 'a'; a <= 'z'; a++) {\n\n\t\t\t\t\t\tif(lower_case.charAt(i) == a){\n\n\t\t\t\t\t\t\tchar_count[array_number]++;\n\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tarray_number++;\n\n\t\t\t\t\t}\n\n\t\t\t\t\t/*if(lower_case.charAt(i) == 'a'){\n\n\t\t\t\t\t\tchar_count[0]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'b'){\n\n\t\t\t\t\t\tchar_count[1]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'c'){\n\n\t\t\t\t\t\tchar_count[2]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'd'){\n\n\t\t\t\t\t\tchar_count[3]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'e'){\n\n\t\t\t\t\t\tchar_count[4]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'f'){\n\n\t\t\t\t\t\tchar_count[5]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'g'){\n\n\t\t\t\t\t\tchar_count[6]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'h'){\n\n\t\t\t\t\t\tchar_count[7]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'i'){\n\n\t\t\t\t\t\tchar_count[8]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'j'){\n\n\t\t\t\t\t\tchar_count[9]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'k'){\n\n\t\t\t\t\t\tchar_count[10]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'l'){\n\n\t\t\t\t\t\tchar_count[11]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'm'){\n\n\t\t\t\t\t\tchar_count[12]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'n'){\n\n\t\t\t\t\t\tchar_count[13]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'o'){\n\n\t\t\t\t\t\tchar_count[14]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'p'){\n\n\t\t\t\t\t\tchar_count[15]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'q'){\n\n\t\t\t\t\t\tchar_count[16]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'r'){\n\n\t\t\t\t\t\tchar_count[17]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 's'){\n\n\t\t\t\t\t\tchar_count[18]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 't'){\n\n\t\t\t\t\t\tchar_count[19]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'u'){\n\n\t\t\t\t\t\tchar_count[20]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'v'){\n\n\t\t\t\t\t\tchar_count[21]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'w'){\n\n\t\t\t\t\t\tchar_count[22]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'x'){\n\n\t\t\t\t\t\tchar_count[23]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'y'){\n\n\t\t\t\t\t\tchar_count[24]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'z'){\n\n\t\t\t\t\t\tchar_count[25]++;\n\n\t\t\t\t\t}*/\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"String str = in.nextLine();",
"str",
"in.nextLine()",
"in.nextLine",
"in",
"if(str.length() == 0){\n\t\t\t//if(str.equals(\"\")){\n\n\t\t\t\tbreak;\n\n\t\t\t}else{\n\n\t\t\t\t// ???????????¨????°????????????????\n\t\t\t\tString lower_case = str.toLowerCase();\n\n\n\t\t\t\t// ???????????????????????????\n\t\t\t\tfor (int i = 0; i < lower_case.length(); i++) {\n\n\t\t\t\t\tint array_number = 0;\n\n\t\t\t\t\tfor(char a = 'a'; a <= 'z'; a++) {\n\n\t\t\t\t\t\tif(lower_case.charAt(i) == a){\n\n\t\t\t\t\t\t\tchar_count[array_number]++;\n\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tarray_number++;\n\n\t\t\t\t\t}\n\n\t\t\t\t\t/*if(lower_case.charAt(i) == 'a'){\n\n\t\t\t\t\t\tchar_count[0]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'b'){\n\n\t\t\t\t\t\tchar_count[1]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'c'){\n\n\t\t\t\t\t\tchar_count[2]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'd'){\n\n\t\t\t\t\t\tchar_count[3]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'e'){\n\n\t\t\t\t\t\tchar_count[4]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'f'){\n\n\t\t\t\t\t\tchar_count[5]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'g'){\n\n\t\t\t\t\t\tchar_count[6]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'h'){\n\n\t\t\t\t\t\tchar_count[7]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'i'){\n\n\t\t\t\t\t\tchar_count[8]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'j'){\n\n\t\t\t\t\t\tchar_count[9]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'k'){\n\n\t\t\t\t\t\tchar_count[10]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'l'){\n\n\t\t\t\t\t\tchar_count[11]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'm'){\n\n\t\t\t\t\t\tchar_count[12]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'n'){\n\n\t\t\t\t\t\tchar_count[13]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'o'){\n\n\t\t\t\t\t\tchar_count[14]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'p'){\n\n\t\t\t\t\t\tchar_count[15]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'q'){\n\n\t\t\t\t\t\tchar_count[16]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'r'){\n\n\t\t\t\t\t\tchar_count[17]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 's'){\n\n\t\t\t\t\t\tchar_count[18]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 't'){\n\n\t\t\t\t\t\tchar_count[19]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'u'){\n\n\t\t\t\t\t\tchar_count[20]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'v'){\n\n\t\t\t\t\t\tchar_count[21]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'w'){\n\n\t\t\t\t\t\tchar_count[22]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'x'){\n\n\t\t\t\t\t\tchar_count[23]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'y'){\n\n\t\t\t\t\t\tchar_count[24]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'z'){\n\n\t\t\t\t\t\tchar_count[25]++;\n\n\t\t\t\t\t}*/\n\t\t\t\t}\n\t\t\t}",
"str.length() == 0",
"str.length()",
"str.length",
"str",
"0",
"{\n\t\t\t//if(str.equals(\"\")){\n\n\t\t\t\tbreak;\n\n\t\t\t}",
"break;",
"{\n\n\t\t\t\t// ???????????¨????°????????????????\n\t\t\t\tString lower_case = str.toLowerCase();\n\n\n\t\t\t\t// ???????????????????????????\n\t\t\t\tfor (int i = 0; i < lower_case.length(); i++) {\n\n\t\t\t\t\tint array_number = 0;\n\n\t\t\t\t\tfor(char a = 'a'; a <= 'z'; a++) {\n\n\t\t\t\t\t\tif(lower_case.charAt(i) == a){\n\n\t\t\t\t\t\t\tchar_count[array_number]++;\n\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tarray_number++;\n\n\t\t\t\t\t}\n\n\t\t\t\t\t/*if(lower_case.charAt(i) == 'a'){\n\n\t\t\t\t\t\tchar_count[0]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'b'){\n\n\t\t\t\t\t\tchar_count[1]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'c'){\n\n\t\t\t\t\t\tchar_count[2]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'd'){\n\n\t\t\t\t\t\tchar_count[3]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'e'){\n\n\t\t\t\t\t\tchar_count[4]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'f'){\n\n\t\t\t\t\t\tchar_count[5]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'g'){\n\n\t\t\t\t\t\tchar_count[6]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'h'){\n\n\t\t\t\t\t\tchar_count[7]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'i'){\n\n\t\t\t\t\t\tchar_count[8]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'j'){\n\n\t\t\t\t\t\tchar_count[9]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'k'){\n\n\t\t\t\t\t\tchar_count[10]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'l'){\n\n\t\t\t\t\t\tchar_count[11]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'm'){\n\n\t\t\t\t\t\tchar_count[12]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'n'){\n\n\t\t\t\t\t\tchar_count[13]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'o'){\n\n\t\t\t\t\t\tchar_count[14]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'p'){\n\n\t\t\t\t\t\tchar_count[15]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'q'){\n\n\t\t\t\t\t\tchar_count[16]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'r'){\n\n\t\t\t\t\t\tchar_count[17]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 's'){\n\n\t\t\t\t\t\tchar_count[18]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 't'){\n\n\t\t\t\t\t\tchar_count[19]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'u'){\n\n\t\t\t\t\t\tchar_count[20]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'v'){\n\n\t\t\t\t\t\tchar_count[21]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'w'){\n\n\t\t\t\t\t\tchar_count[22]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'x'){\n\n\t\t\t\t\t\tchar_count[23]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'y'){\n\n\t\t\t\t\t\tchar_count[24]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'z'){\n\n\t\t\t\t\t\tchar_count[25]++;\n\n\t\t\t\t\t}*/\n\t\t\t\t}\n\t\t\t}",
"String lower_case = str.toLowerCase();",
"lower_case",
"str.toLowerCase()",
"str.toLowerCase",
"str",
"for (int i = 0; i < lower_case.length(); i++) {\n\n\t\t\t\t\tint array_number = 0;\n\n\t\t\t\t\tfor(char a = 'a'; a <= 'z'; a++) {\n\n\t\t\t\t\t\tif(lower_case.charAt(i) == a){\n\n\t\t\t\t\t\t\tchar_count[array_number]++;\n\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tarray_number++;\n\n\t\t\t\t\t}\n\n\t\t\t\t\t/*if(lower_case.charAt(i) == 'a'){\n\n\t\t\t\t\t\tchar_count[0]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'b'){\n\n\t\t\t\t\t\tchar_count[1]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'c'){\n\n\t\t\t\t\t\tchar_count[2]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'd'){\n\n\t\t\t\t\t\tchar_count[3]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'e'){\n\n\t\t\t\t\t\tchar_count[4]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'f'){\n\n\t\t\t\t\t\tchar_count[5]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'g'){\n\n\t\t\t\t\t\tchar_count[6]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'h'){\n\n\t\t\t\t\t\tchar_count[7]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'i'){\n\n\t\t\t\t\t\tchar_count[8]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'j'){\n\n\t\t\t\t\t\tchar_count[9]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'k'){\n\n\t\t\t\t\t\tchar_count[10]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'l'){\n\n\t\t\t\t\t\tchar_count[11]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'm'){\n\n\t\t\t\t\t\tchar_count[12]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'n'){\n\n\t\t\t\t\t\tchar_count[13]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'o'){\n\n\t\t\t\t\t\tchar_count[14]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'p'){\n\n\t\t\t\t\t\tchar_count[15]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'q'){\n\n\t\t\t\t\t\tchar_count[16]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'r'){\n\n\t\t\t\t\t\tchar_count[17]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 's'){\n\n\t\t\t\t\t\tchar_count[18]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 't'){\n\n\t\t\t\t\t\tchar_count[19]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'u'){\n\n\t\t\t\t\t\tchar_count[20]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'v'){\n\n\t\t\t\t\t\tchar_count[21]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'w'){\n\n\t\t\t\t\t\tchar_count[22]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'x'){\n\n\t\t\t\t\t\tchar_count[23]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'y'){\n\n\t\t\t\t\t\tchar_count[24]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'z'){\n\n\t\t\t\t\t\tchar_count[25]++;\n\n\t\t\t\t\t}*/\n\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < lower_case.length()",
"i",
"lower_case.length()",
"lower_case.length",
"lower_case",
"i++",
"i++",
"i",
"{\n\n\t\t\t\t\tint array_number = 0;\n\n\t\t\t\t\tfor(char a = 'a'; a <= 'z'; a++) {\n\n\t\t\t\t\t\tif(lower_case.charAt(i) == a){\n\n\t\t\t\t\t\t\tchar_count[array_number]++;\n\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tarray_number++;\n\n\t\t\t\t\t}\n\n\t\t\t\t\t/*if(lower_case.charAt(i) == 'a'){\n\n\t\t\t\t\t\tchar_count[0]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'b'){\n\n\t\t\t\t\t\tchar_count[1]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'c'){\n\n\t\t\t\t\t\tchar_count[2]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'd'){\n\n\t\t\t\t\t\tchar_count[3]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'e'){\n\n\t\t\t\t\t\tchar_count[4]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'f'){\n\n\t\t\t\t\t\tchar_count[5]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'g'){\n\n\t\t\t\t\t\tchar_count[6]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'h'){\n\n\t\t\t\t\t\tchar_count[7]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'i'){\n\n\t\t\t\t\t\tchar_count[8]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'j'){\n\n\t\t\t\t\t\tchar_count[9]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'k'){\n\n\t\t\t\t\t\tchar_count[10]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'l'){\n\n\t\t\t\t\t\tchar_count[11]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'm'){\n\n\t\t\t\t\t\tchar_count[12]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'n'){\n\n\t\t\t\t\t\tchar_count[13]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'o'){\n\n\t\t\t\t\t\tchar_count[14]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'p'){\n\n\t\t\t\t\t\tchar_count[15]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'q'){\n\n\t\t\t\t\t\tchar_count[16]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'r'){\n\n\t\t\t\t\t\tchar_count[17]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 's'){\n\n\t\t\t\t\t\tchar_count[18]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 't'){\n\n\t\t\t\t\t\tchar_count[19]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'u'){\n\n\t\t\t\t\t\tchar_count[20]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'v'){\n\n\t\t\t\t\t\tchar_count[21]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'w'){\n\n\t\t\t\t\t\tchar_count[22]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'x'){\n\n\t\t\t\t\t\tchar_count[23]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'y'){\n\n\t\t\t\t\t\tchar_count[24]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'z'){\n\n\t\t\t\t\t\tchar_count[25]++;\n\n\t\t\t\t\t}*/\n\t\t\t\t}",
"{\n\n\t\t\t\t\tint array_number = 0;\n\n\t\t\t\t\tfor(char a = 'a'; a <= 'z'; a++) {\n\n\t\t\t\t\t\tif(lower_case.charAt(i) == a){\n\n\t\t\t\t\t\t\tchar_count[array_number]++;\n\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tarray_number++;\n\n\t\t\t\t\t}\n\n\t\t\t\t\t/*if(lower_case.charAt(i) == 'a'){\n\n\t\t\t\t\t\tchar_count[0]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'b'){\n\n\t\t\t\t\t\tchar_count[1]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'c'){\n\n\t\t\t\t\t\tchar_count[2]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'd'){\n\n\t\t\t\t\t\tchar_count[3]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'e'){\n\n\t\t\t\t\t\tchar_count[4]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'f'){\n\n\t\t\t\t\t\tchar_count[5]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'g'){\n\n\t\t\t\t\t\tchar_count[6]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'h'){\n\n\t\t\t\t\t\tchar_count[7]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'i'){\n\n\t\t\t\t\t\tchar_count[8]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'j'){\n\n\t\t\t\t\t\tchar_count[9]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'k'){\n\n\t\t\t\t\t\tchar_count[10]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'l'){\n\n\t\t\t\t\t\tchar_count[11]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'm'){\n\n\t\t\t\t\t\tchar_count[12]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'n'){\n\n\t\t\t\t\t\tchar_count[13]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'o'){\n\n\t\t\t\t\t\tchar_count[14]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'p'){\n\n\t\t\t\t\t\tchar_count[15]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'q'){\n\n\t\t\t\t\t\tchar_count[16]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'r'){\n\n\t\t\t\t\t\tchar_count[17]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 's'){\n\n\t\t\t\t\t\tchar_count[18]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 't'){\n\n\t\t\t\t\t\tchar_count[19]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'u'){\n\n\t\t\t\t\t\tchar_count[20]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'v'){\n\n\t\t\t\t\t\tchar_count[21]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'w'){\n\n\t\t\t\t\t\tchar_count[22]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'x'){\n\n\t\t\t\t\t\tchar_count[23]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'y'){\n\n\t\t\t\t\t\tchar_count[24]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'z'){\n\n\t\t\t\t\t\tchar_count[25]++;\n\n\t\t\t\t\t}*/\n\t\t\t\t}",
"int array_number = 0;",
"array_number",
"0",
"for(char a = 'a'; a <= 'z'; a++) {\n\n\t\t\t\t\t\tif(lower_case.charAt(i) == a){\n\n\t\t\t\t\t\t\tchar_count[array_number]++;\n\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tarray_number++;\n\n\t\t\t\t\t}",
"char a = 'a';",
"char a = 'a';",
"a",
"'a'",
"a <= 'z'",
"a",
"'z'",
"a++",
"a++",
"a",
"{\n\n\t\t\t\t\t\tif(lower_case.charAt(i) == a){\n\n\t\t\t\t\t\t\tchar_count[array_number]++;\n\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tarray_number++;\n\n\t\t\t\t\t}",
"{\n\n\t\t\t\t\t\tif(lower_case.charAt(i) == a){\n\n\t\t\t\t\t\t\tchar_count[array_number]++;\n\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tarray_number++;\n\n\t\t\t\t\t}",
"if(lower_case.charAt(i) == a){\n\n\t\t\t\t\t\t\tchar_count[array_number]++;\n\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t}",
"lower_case.charAt(i) == a",
"lower_case.charAt(i)",
"lower_case.charAt",
"lower_case",
"i",
"a",
"{\n\n\t\t\t\t\t\t\tchar_count[array_number]++;\n\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t}",
"char_count[array_number]++",
"char_count[array_number]",
"char_count",
"array_number",
"break;",
"array_number++",
"array_number",
"char a = 'a';",
"a",
"'a'",
"for(int i = 0; i < 26; i++){\n\n\t\t\tSystem.out.println(a++ + \" : \" + char_count[i]);\n\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\n\t\t\tSystem.out.println(a++ + \" : \" + char_count[i]);\n\n\t\t}",
"{\n\n\t\t\tSystem.out.println(a++ + \" : \" + char_count[i]);\n\n\t\t}",
"System.out.println(a++ + \" : \" + char_count[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"a++ + \" : \" + char_count[i]",
"a++ + \" : \" + char_count[i]",
"a++",
"a",
"\" : \"",
"char_count[i]",
"char_count",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner in = new Scanner(System.in);\n\t\t// ?????¢?????????????????????????????°???????´?????????????\n\t\tint[] char_count = new int[26];\n\n\t\twhile(in.hasNextLine()){\n\n\t\t\tString str = in.nextLine();\n\n\t\t\tif(str.length() == 0){\n\t\t\t//if(str.equals(\"\")){\n\n\t\t\t\tbreak;\n\n\t\t\t}else{\n\n\t\t\t\t// ???????????¨????°????????????????\n\t\t\t\tString lower_case = str.toLowerCase();\n\n\n\t\t\t\t// ???????????????????????????\n\t\t\t\tfor (int i = 0; i < lower_case.length(); i++) {\n\n\t\t\t\t\tint array_number = 0;\n\n\t\t\t\t\tfor(char a = 'a'; a <= 'z'; a++) {\n\n\t\t\t\t\t\tif(lower_case.charAt(i) == a){\n\n\t\t\t\t\t\t\tchar_count[array_number]++;\n\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tarray_number++;\n\n\t\t\t\t\t}\n\n\t\t\t\t\t/*if(lower_case.charAt(i) == 'a'){\n\n\t\t\t\t\t\tchar_count[0]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'b'){\n\n\t\t\t\t\t\tchar_count[1]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'c'){\n\n\t\t\t\t\t\tchar_count[2]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'd'){\n\n\t\t\t\t\t\tchar_count[3]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'e'){\n\n\t\t\t\t\t\tchar_count[4]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'f'){\n\n\t\t\t\t\t\tchar_count[5]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'g'){\n\n\t\t\t\t\t\tchar_count[6]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'h'){\n\n\t\t\t\t\t\tchar_count[7]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'i'){\n\n\t\t\t\t\t\tchar_count[8]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'j'){\n\n\t\t\t\t\t\tchar_count[9]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'k'){\n\n\t\t\t\t\t\tchar_count[10]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'l'){\n\n\t\t\t\t\t\tchar_count[11]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'm'){\n\n\t\t\t\t\t\tchar_count[12]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'n'){\n\n\t\t\t\t\t\tchar_count[13]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'o'){\n\n\t\t\t\t\t\tchar_count[14]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'p'){\n\n\t\t\t\t\t\tchar_count[15]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'q'){\n\n\t\t\t\t\t\tchar_count[16]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'r'){\n\n\t\t\t\t\t\tchar_count[17]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 's'){\n\n\t\t\t\t\t\tchar_count[18]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 't'){\n\n\t\t\t\t\t\tchar_count[19]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'u'){\n\n\t\t\t\t\t\tchar_count[20]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'v'){\n\n\t\t\t\t\t\tchar_count[21]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'w'){\n\n\t\t\t\t\t\tchar_count[22]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'x'){\n\n\t\t\t\t\t\tchar_count[23]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'y'){\n\n\t\t\t\t\t\tchar_count[24]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'z'){\n\n\t\t\t\t\t\tchar_count[25]++;\n\n\t\t\t\t\t}*/\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// ??¢????????????????????????????????????????????¨?????°?????¨???\n\t\tchar a = 'a';\n\n\t\tfor(int i = 0; i < 26; i++){\n\n\t\t\tSystem.out.println(a++ + \" : \" + char_count[i]);\n\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner in = new Scanner(System.in);\n\t\t// ?????¢?????????????????????????????°???????´?????????????\n\t\tint[] char_count = new int[26];\n\n\t\twhile(in.hasNextLine()){\n\n\t\t\tString str = in.nextLine();\n\n\t\t\tif(str.length() == 0){\n\t\t\t//if(str.equals(\"\")){\n\n\t\t\t\tbreak;\n\n\t\t\t}else{\n\n\t\t\t\t// ???????????¨????°????????????????\n\t\t\t\tString lower_case = str.toLowerCase();\n\n\n\t\t\t\t// ???????????????????????????\n\t\t\t\tfor (int i = 0; i < lower_case.length(); i++) {\n\n\t\t\t\t\tint array_number = 0;\n\n\t\t\t\t\tfor(char a = 'a'; a <= 'z'; a++) {\n\n\t\t\t\t\t\tif(lower_case.charAt(i) == a){\n\n\t\t\t\t\t\t\tchar_count[array_number]++;\n\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tarray_number++;\n\n\t\t\t\t\t}\n\n\t\t\t\t\t/*if(lower_case.charAt(i) == 'a'){\n\n\t\t\t\t\t\tchar_count[0]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'b'){\n\n\t\t\t\t\t\tchar_count[1]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'c'){\n\n\t\t\t\t\t\tchar_count[2]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'd'){\n\n\t\t\t\t\t\tchar_count[3]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'e'){\n\n\t\t\t\t\t\tchar_count[4]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'f'){\n\n\t\t\t\t\t\tchar_count[5]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'g'){\n\n\t\t\t\t\t\tchar_count[6]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'h'){\n\n\t\t\t\t\t\tchar_count[7]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'i'){\n\n\t\t\t\t\t\tchar_count[8]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'j'){\n\n\t\t\t\t\t\tchar_count[9]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'k'){\n\n\t\t\t\t\t\tchar_count[10]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'l'){\n\n\t\t\t\t\t\tchar_count[11]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'm'){\n\n\t\t\t\t\t\tchar_count[12]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'n'){\n\n\t\t\t\t\t\tchar_count[13]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'o'){\n\n\t\t\t\t\t\tchar_count[14]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'p'){\n\n\t\t\t\t\t\tchar_count[15]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'q'){\n\n\t\t\t\t\t\tchar_count[16]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'r'){\n\n\t\t\t\t\t\tchar_count[17]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 's'){\n\n\t\t\t\t\t\tchar_count[18]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 't'){\n\n\t\t\t\t\t\tchar_count[19]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'u'){\n\n\t\t\t\t\t\tchar_count[20]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'v'){\n\n\t\t\t\t\t\tchar_count[21]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'w'){\n\n\t\t\t\t\t\tchar_count[22]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'x'){\n\n\t\t\t\t\t\tchar_count[23]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'y'){\n\n\t\t\t\t\t\tchar_count[24]++;\n\n\t\t\t\t\t}else if(lower_case.charAt(i) == 'z'){\n\n\t\t\t\t\t\tchar_count[25]++;\n\n\t\t\t\t\t}*/\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// ??¢????????????????????????????????????????????¨?????°?????¨???\n\t\tchar a = 'a';\n\n\t\tfor(int i = 0; i < 26; i++){\n\n\t\t\tSystem.out.println(a++ + \" : \" + char_count[i]);\n\n\t\t}\n\t}\n}",
"Main"
]
|
import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
Scanner in = new Scanner(System.in);
// ?????¢?????????????????????????????°???????´?????????????
int[] char_count = new int[26];
while(in.hasNextLine()){
String str = in.nextLine();
if(str.length() == 0){
//if(str.equals("")){
break;
}else{
// ???????????¨????°????????????????
String lower_case = str.toLowerCase();
// ???????????????????????????
for (int i = 0; i < lower_case.length(); i++) {
int array_number = 0;
for(char a = 'a'; a <= 'z'; a++) {
if(lower_case.charAt(i) == a){
char_count[array_number]++;
break;
}
array_number++;
}
/*if(lower_case.charAt(i) == 'a'){
char_count[0]++;
}else if(lower_case.charAt(i) == 'b'){
char_count[1]++;
}else if(lower_case.charAt(i) == 'c'){
char_count[2]++;
}else if(lower_case.charAt(i) == 'd'){
char_count[3]++;
}else if(lower_case.charAt(i) == 'e'){
char_count[4]++;
}else if(lower_case.charAt(i) == 'f'){
char_count[5]++;
}else if(lower_case.charAt(i) == 'g'){
char_count[6]++;
}else if(lower_case.charAt(i) == 'h'){
char_count[7]++;
}else if(lower_case.charAt(i) == 'i'){
char_count[8]++;
}else if(lower_case.charAt(i) == 'j'){
char_count[9]++;
}else if(lower_case.charAt(i) == 'k'){
char_count[10]++;
}else if(lower_case.charAt(i) == 'l'){
char_count[11]++;
}else if(lower_case.charAt(i) == 'm'){
char_count[12]++;
}else if(lower_case.charAt(i) == 'n'){
char_count[13]++;
}else if(lower_case.charAt(i) == 'o'){
char_count[14]++;
}else if(lower_case.charAt(i) == 'p'){
char_count[15]++;
}else if(lower_case.charAt(i) == 'q'){
char_count[16]++;
}else if(lower_case.charAt(i) == 'r'){
char_count[17]++;
}else if(lower_case.charAt(i) == 's'){
char_count[18]++;
}else if(lower_case.charAt(i) == 't'){
char_count[19]++;
}else if(lower_case.charAt(i) == 'u'){
char_count[20]++;
}else if(lower_case.charAt(i) == 'v'){
char_count[21]++;
}else if(lower_case.charAt(i) == 'w'){
char_count[22]++;
}else if(lower_case.charAt(i) == 'x'){
char_count[23]++;
}else if(lower_case.charAt(i) == 'y'){
char_count[24]++;
}else if(lower_case.charAt(i) == 'z'){
char_count[25]++;
}*/
}
}
}
// ??¢????????????????????????????????????????????¨?????°?????¨???
char a = 'a';
for(int i = 0; i < 26; i++){
System.out.println(a++ + " : " + char_count[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
20,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
40,
18,
13,
2,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
40,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
17,
17,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
122,
5
],
[
122,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
45,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
52,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
90,
91
],
[
91,
92
],
[
82,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
99,
100
],
[
99,
101
],
[
94,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
108,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
108,
113
],
[
113,
114
],
[
113,
115
],
[
8,
116
],
[
116,
117
],
[
117,
118
],
[
6,
119
],
[
119,
120
],
[
0,
121
],
[
121,
122
],
[
121,
123
]
]
| [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n char c;\n char[] ap = new char[] {'A','B','C','D','E','F','G','H','I','J','K',\n 'L','M','N','O','P','Q','R','S','T','U',\n 'V','W','X','Y','Z'};\n int[] count = new int[26];\n while(sc.hasNextLine()){\n String s = sc.nextLine();\n for(int i= 0;i < s.length();i++){\n c = s.charAt(i);\n if(c >= 'A' && c <= 'Z'){\n count[c-'A']++;\n }else if(c >= 'a' && c <= 'z'){\n count[c-'a']++;\n }\n }\n }\n for(int i = 0;i < 26;i++){\n ap[i] += 'a' - 'A';\n System.out.println(ap[i] + \" : \" + count[i]);\n }\n sc.close();\n }\n}\n",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n char c;\n char[] ap = new char[] {'A','B','C','D','E','F','G','H','I','J','K',\n 'L','M','N','O','P','Q','R','S','T','U',\n 'V','W','X','Y','Z'};\n int[] count = new int[26];\n while(sc.hasNextLine()){\n String s = sc.nextLine();\n for(int i= 0;i < s.length();i++){\n c = s.charAt(i);\n if(c >= 'A' && c <= 'Z'){\n count[c-'A']++;\n }else if(c >= 'a' && c <= 'z'){\n count[c-'a']++;\n }\n }\n }\n for(int i = 0;i < 26;i++){\n ap[i] += 'a' - 'A';\n System.out.println(ap[i] + \" : \" + count[i]);\n }\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n char c;\n char[] ap = new char[] {'A','B','C','D','E','F','G','H','I','J','K',\n 'L','M','N','O','P','Q','R','S','T','U',\n 'V','W','X','Y','Z'};\n int[] count = new int[26];\n while(sc.hasNextLine()){\n String s = sc.nextLine();\n for(int i= 0;i < s.length();i++){\n c = s.charAt(i);\n if(c >= 'A' && c <= 'Z'){\n count[c-'A']++;\n }else if(c >= 'a' && c <= 'z'){\n count[c-'a']++;\n }\n }\n }\n for(int i = 0;i < 26;i++){\n ap[i] += 'a' - 'A';\n System.out.println(ap[i] + \" : \" + count[i]);\n }\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n char c;\n char[] ap = new char[] {'A','B','C','D','E','F','G','H','I','J','K',\n 'L','M','N','O','P','Q','R','S','T','U',\n 'V','W','X','Y','Z'};\n int[] count = new int[26];\n while(sc.hasNextLine()){\n String s = sc.nextLine();\n for(int i= 0;i < s.length();i++){\n c = s.charAt(i);\n if(c >= 'A' && c <= 'Z'){\n count[c-'A']++;\n }else if(c >= 'a' && c <= 'z'){\n count[c-'a']++;\n }\n }\n }\n for(int i = 0;i < 26;i++){\n ap[i] += 'a' - 'A';\n System.out.println(ap[i] + \" : \" + count[i]);\n }\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"char c;",
"c",
"char[] ap = new char[] {'A','B','C','D','E','F','G','H','I','J','K',\n 'L','M','N','O','P','Q','R','S','T','U',\n 'V','W','X','Y','Z'};",
"ap",
"new char[] {'A','B','C','D','E','F','G','H','I','J','K',\n 'L','M','N','O','P','Q','R','S','T','U',\n 'V','W','X','Y','Z'}",
"int[] count = new int[26];",
"count",
"new int[26]",
"26",
"while(sc.hasNextLine()){\n String s = sc.nextLine();\n for(int i= 0;i < s.length();i++){\n c = s.charAt(i);\n if(c >= 'A' && c <= 'Z'){\n count[c-'A']++;\n }else if(c >= 'a' && c <= 'z'){\n count[c-'a']++;\n }\n }\n }",
"sc.hasNextLine()",
"sc.hasNextLine",
"sc",
"{\n String s = sc.nextLine();\n for(int i= 0;i < s.length();i++){\n c = s.charAt(i);\n if(c >= 'A' && c <= 'Z'){\n count[c-'A']++;\n }else if(c >= 'a' && c <= 'z'){\n count[c-'a']++;\n }\n }\n }",
"String s = sc.nextLine();",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"for(int i= 0;i < s.length();i++){\n c = s.charAt(i);\n if(c >= 'A' && c <= 'Z'){\n count[c-'A']++;\n }else if(c >= 'a' && c <= 'z'){\n count[c-'a']++;\n }\n }",
"int i= 0;",
"int i= 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n c = s.charAt(i);\n if(c >= 'A' && c <= 'Z'){\n count[c-'A']++;\n }else if(c >= 'a' && c <= 'z'){\n count[c-'a']++;\n }\n }",
"{\n c = s.charAt(i);\n if(c >= 'A' && c <= 'Z'){\n count[c-'A']++;\n }else if(c >= 'a' && c <= 'z'){\n count[c-'a']++;\n }\n }",
"c = s.charAt(i)",
"c",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"if(c >= 'A' && c <= 'Z'){\n count[c-'A']++;\n }else if(c >= 'a' && c <= 'z'){\n count[c-'a']++;\n }",
"c >= 'A' && c <= 'Z'",
"c >= 'A'",
"c",
"'A'",
"c <= 'Z'",
"c",
"'Z'",
"{\n count[c-'A']++;\n }",
"count[c-'A']++",
"count[c-'A']",
"count",
"c-'A'",
"c",
"'A'",
"if(c >= 'a' && c <= 'z'){\n count[c-'a']++;\n }",
"c >= 'a' && c <= 'z'",
"c >= 'a'",
"c",
"'a'",
"c <= 'z'",
"c",
"'z'",
"{\n count[c-'a']++;\n }",
"count[c-'a']++",
"count[c-'a']",
"count",
"c-'a'",
"c",
"'a'",
"for(int i = 0;i < 26;i++){\n ap[i] += 'a' - 'A';\n System.out.println(ap[i] + \" : \" + count[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n ap[i] += 'a' - 'A';\n System.out.println(ap[i] + \" : \" + count[i]);\n }",
"{\n ap[i] += 'a' - 'A';\n System.out.println(ap[i] + \" : \" + count[i]);\n }",
"ap[i] += 'a' - 'A'",
"ap[i]",
"ap",
"i",
"'a' - 'A'",
"'a'",
"'A'",
"System.out.println(ap[i] + \" : \" + count[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"ap[i] + \" : \" + count[i]",
"ap[i] + \" : \" + count[i]",
"ap[i]",
"ap",
"i",
"\" : \"",
"count[i]",
"count",
"i",
"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 c;\n char[] ap = new char[] {'A','B','C','D','E','F','G','H','I','J','K',\n 'L','M','N','O','P','Q','R','S','T','U',\n 'V','W','X','Y','Z'};\n int[] count = new int[26];\n while(sc.hasNextLine()){\n String s = sc.nextLine();\n for(int i= 0;i < s.length();i++){\n c = s.charAt(i);\n if(c >= 'A' && c <= 'Z'){\n count[c-'A']++;\n }else if(c >= 'a' && c <= 'z'){\n count[c-'a']++;\n }\n }\n }\n for(int i = 0;i < 26;i++){\n ap[i] += 'a' - 'A';\n System.out.println(ap[i] + \" : \" + count[i]);\n }\n sc.close();\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n char c;\n char[] ap = new char[] {'A','B','C','D','E','F','G','H','I','J','K',\n 'L','M','N','O','P','Q','R','S','T','U',\n 'V','W','X','Y','Z'};\n int[] count = new int[26];\n while(sc.hasNextLine()){\n String s = sc.nextLine();\n for(int i= 0;i < s.length();i++){\n c = s.charAt(i);\n if(c >= 'A' && c <= 'Z'){\n count[c-'A']++;\n }else if(c >= 'a' && c <= 'z'){\n count[c-'a']++;\n }\n }\n }\n for(int i = 0;i < 26;i++){\n ap[i] += 'a' - 'A';\n System.out.println(ap[i] + \" : \" + count[i]);\n }\n sc.close();\n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
char c;
char[] ap = new char[] {'A','B','C','D','E','F','G','H','I','J','K',
'L','M','N','O','P','Q','R','S','T','U',
'V','W','X','Y','Z'};
int[] count = new int[26];
while(sc.hasNextLine()){
String s = sc.nextLine();
for(int i= 0;i < s.length();i++){
c = s.charAt(i);
if(c >= 'A' && c <= 'Z'){
count[c-'A']++;
}else if(c >= 'a' && c <= 'z'){
count[c-'a']++;
}
}
}
for(int i = 0;i < 26;i++){
ap[i] += 'a' - 'A';
System.out.println(ap[i] + " : " + count[i]);
}
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
20,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
14,
4,
13,
13,
30,
40,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
17,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
113,
14
],
[
113,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
17,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
28,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
55,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
17,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
73,
83
],
[
83,
84
],
[
84,
85
],
[
73,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
87,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
87,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
107,
108
],
[
107,
109
],
[
15,
110
],
[
110,
111
],
[
0,
112
],
[
112,
113
],
[
112,
114
]
]
| [
"import static java.lang.Character.*;\n\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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint[] count = new int[26];\n\t\twhile((str = br.readLine()) != null){\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i = 0;i < str.length();i++){\n\t\t\t\tchar c = str.charAt(i);\n\t\t\t\tif(isLetter(c)){\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < count.length;i++){\n\t\t\tSystem.out.print((char)('a' + i));\n\t\t\tSystem.out.print(\" : \");\n\t\t\tSystem.out.println(count[i]);\n\t\t}\n\t}\n\n}",
"import static java.lang.Character.*;",
"import static java.lang.Character.*;",
"import static java.lang.Character.*;",
"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;\n\t\tint[] count = new int[26];\n\t\twhile((str = br.readLine()) != null){\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i = 0;i < str.length();i++){\n\t\t\t\tchar c = str.charAt(i);\n\t\t\t\tif(isLetter(c)){\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < count.length;i++){\n\t\t\tSystem.out.print((char)('a' + i));\n\t\t\tSystem.out.print(\" : \");\n\t\t\tSystem.out.println(count[i]);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint[] count = new int[26];\n\t\twhile((str = br.readLine()) != null){\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i = 0;i < str.length();i++){\n\t\t\t\tchar c = str.charAt(i);\n\t\t\t\tif(isLetter(c)){\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < count.length;i++){\n\t\t\tSystem.out.print((char)('a' + i));\n\t\t\tSystem.out.print(\" : \");\n\t\t\tSystem.out.println(count[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint[] count = new int[26];\n\t\twhile((str = br.readLine()) != null){\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i = 0;i < str.length();i++){\n\t\t\t\tchar c = str.charAt(i);\n\t\t\t\tif(isLetter(c)){\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < count.length;i++){\n\t\t\tSystem.out.print((char)('a' + i));\n\t\t\tSystem.out.print(\" : \");\n\t\t\tSystem.out.println(count[i]);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"int[] count = new int[26];",
"count",
"new int[26]",
"26",
"while((str = br.readLine()) != null){\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i = 0;i < str.length();i++){\n\t\t\t\tchar c = str.charAt(i);\n\t\t\t\tif(isLetter(c)){\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i = 0;i < str.length();i++){\n\t\t\t\tchar c = str.charAt(i);\n\t\t\t\tif(isLetter(c)){\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"str = str.toLowerCase()",
"str",
"str.toLowerCase()",
"str.toLowerCase",
"str",
"for(int i = 0;i < str.length();i++){\n\t\t\t\tchar c = str.charAt(i);\n\t\t\t\tif(isLetter(c)){\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\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\tchar c = str.charAt(i);\n\t\t\t\tif(isLetter(c)){\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tchar c = str.charAt(i);\n\t\t\t\tif(isLetter(c)){\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}",
"char c = str.charAt(i);",
"c",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"if(isLetter(c)){\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}",
"isLetter(c)",
"isLetter",
"c",
"{\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}",
"count[c - 'a']++",
"count[c - 'a']",
"count",
"c - 'a'",
"c",
"'a'",
"for(int i = 0;i < count.length;i++){\n\t\t\tSystem.out.print((char)('a' + i));\n\t\t\tSystem.out.print(\" : \");\n\t\t\tSystem.out.println(count[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < count.length",
"i",
"count.length",
"count",
"count.length",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.print((char)('a' + i));\n\t\t\tSystem.out.print(\" : \");\n\t\t\tSystem.out.println(count[i]);\n\t\t}",
"{\n\t\t\tSystem.out.print((char)('a' + i));\n\t\t\tSystem.out.print(\" : \");\n\t\t\tSystem.out.println(count[i]);\n\t\t}",
"System.out.print((char)('a' + i))",
"System.out.print",
"System.out",
"System",
"System.out",
"(char)('a' + i)",
"'a'",
"i",
"System.out.print(\" : \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" : \"",
"System.out.println(count[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"count[i]",
"count",
"i",
"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;\n\t\tint[] count = new int[26];\n\t\twhile((str = br.readLine()) != null){\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i = 0;i < str.length();i++){\n\t\t\t\tchar c = str.charAt(i);\n\t\t\t\tif(isLetter(c)){\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < count.length;i++){\n\t\t\tSystem.out.print((char)('a' + i));\n\t\t\tSystem.out.print(\" : \");\n\t\t\tSystem.out.println(count[i]);\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;\n\t\tint[] count = new int[26];\n\t\twhile((str = br.readLine()) != null){\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i = 0;i < str.length();i++){\n\t\t\t\tchar c = str.charAt(i);\n\t\t\t\tif(isLetter(c)){\n\t\t\t\t\tcount[c - 'a']++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < count.length;i++){\n\t\t\tSystem.out.print((char)('a' + i));\n\t\t\tSystem.out.print(\" : \");\n\t\t\tSystem.out.println(count[i]);\n\t\t}\n\t}\n\n}",
"Main"
]
| import static java.lang.Character.*;
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;
int[] count = new int[26];
while((str = br.readLine()) != null){
str = str.toLowerCase();
for(int i = 0;i < str.length();i++){
char c = str.charAt(i);
if(isLetter(c)){
count[c - 'a']++;
}
}
}
for(int i = 0;i < count.length;i++){
System.out.print((char)('a' + i));
System.out.print(" : ");
System.out.println(count[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
4,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
2,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
96,
5
],
[
96,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
46,
54
],
[
43,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
68,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
81,
87
],
[
87,
88
],
[
87,
89
],
[
81,
90
],
[
90,
91
],
[
90,
92
],
[
6,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n int[] chars = new int[26];\n while (stdin.hasNext()) {\n String str = stdin.next();\n int len = str.length();\n for (int i = 0; i < len; i++) {\n int j = Character.toLowerCase(str.charAt(i)) - 97;\n if (j >= 0 && j < 26) {\n chars[j]++;\n }\n }\n }\n\n for (int i = 0; i < 26; i++) {\n System.out.printf(\"%s : %d%n\", (char) (i + 97), chars[i]);\n }\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n int[] chars = new int[26];\n while (stdin.hasNext()) {\n String str = stdin.next();\n int len = str.length();\n for (int i = 0; i < len; i++) {\n int j = Character.toLowerCase(str.charAt(i)) - 97;\n if (j >= 0 && j < 26) {\n chars[j]++;\n }\n }\n }\n\n for (int i = 0; i < 26; i++) {\n System.out.printf(\"%s : %d%n\", (char) (i + 97), chars[i]);\n }\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n int[] chars = new int[26];\n while (stdin.hasNext()) {\n String str = stdin.next();\n int len = str.length();\n for (int i = 0; i < len; i++) {\n int j = Character.toLowerCase(str.charAt(i)) - 97;\n if (j >= 0 && j < 26) {\n chars[j]++;\n }\n }\n }\n\n for (int i = 0; i < 26; i++) {\n System.out.printf(\"%s : %d%n\", (char) (i + 97), chars[i]);\n }\n }",
"main",
"{\n Scanner stdin = new Scanner(System.in);\n int[] chars = new int[26];\n while (stdin.hasNext()) {\n String str = stdin.next();\n int len = str.length();\n for (int i = 0; i < len; i++) {\n int j = Character.toLowerCase(str.charAt(i)) - 97;\n if (j >= 0 && j < 26) {\n chars[j]++;\n }\n }\n }\n\n for (int i = 0; i < 26; i++) {\n System.out.printf(\"%s : %d%n\", (char) (i + 97), chars[i]);\n }\n }",
"Scanner stdin = new Scanner(System.in);",
"stdin",
"new Scanner(System.in)",
"int[] chars = new int[26];",
"chars",
"new int[26]",
"26",
"while (stdin.hasNext()) {\n String str = stdin.next();\n int len = str.length();\n for (int i = 0; i < len; i++) {\n int j = Character.toLowerCase(str.charAt(i)) - 97;\n if (j >= 0 && j < 26) {\n chars[j]++;\n }\n }\n }",
"stdin.hasNext()",
"stdin.hasNext",
"stdin",
"{\n String str = stdin.next();\n int len = str.length();\n for (int i = 0; i < len; i++) {\n int j = Character.toLowerCase(str.charAt(i)) - 97;\n if (j >= 0 && j < 26) {\n chars[j]++;\n }\n }\n }",
"String str = stdin.next();",
"str",
"stdin.next()",
"stdin.next",
"stdin",
"int len = str.length();",
"len",
"str.length()",
"str.length",
"str",
"for (int i = 0; i < len; i++) {\n int j = Character.toLowerCase(str.charAt(i)) - 97;\n if (j >= 0 && j < 26) {\n chars[j]++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len",
"i",
"len",
"i++",
"i++",
"i",
"{\n int j = Character.toLowerCase(str.charAt(i)) - 97;\n if (j >= 0 && j < 26) {\n chars[j]++;\n }\n }",
"{\n int j = Character.toLowerCase(str.charAt(i)) - 97;\n if (j >= 0 && j < 26) {\n chars[j]++;\n }\n }",
"int j = Character.toLowerCase(str.charAt(i)) - 97;",
"j",
"Character.toLowerCase(str.charAt(i)) - 97",
"Character.toLowerCase(str.charAt(i))",
"Character.toLowerCase",
"Character",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"97",
"if (j >= 0 && j < 26) {\n chars[j]++;\n }",
"j >= 0 && j < 26",
"j >= 0",
"j",
"0",
"j < 26",
"j",
"26",
"{\n chars[j]++;\n }",
"chars[j]++",
"chars[j]",
"chars",
"j",
"for (int i = 0; i < 26; i++) {\n System.out.printf(\"%s : %d%n\", (char) (i + 97), chars[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n System.out.printf(\"%s : %d%n\", (char) (i + 97), chars[i]);\n }",
"{\n System.out.printf(\"%s : %d%n\", (char) (i + 97), chars[i]);\n }",
"System.out.printf(\"%s : %d%n\", (char) (i + 97), chars[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%s : %d%n\"",
"(char) (i + 97)",
"i",
"97",
"chars[i]",
"chars",
"i",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n int[] chars = new int[26];\n while (stdin.hasNext()) {\n String str = stdin.next();\n int len = str.length();\n for (int i = 0; i < len; i++) {\n int j = Character.toLowerCase(str.charAt(i)) - 97;\n if (j >= 0 && j < 26) {\n chars[j]++;\n }\n }\n }\n\n for (int i = 0; i < 26; i++) {\n System.out.printf(\"%s : %d%n\", (char) (i + 97), chars[i]);\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n int[] chars = new int[26];\n while (stdin.hasNext()) {\n String str = stdin.next();\n int len = str.length();\n for (int i = 0; i < len; i++) {\n int j = Character.toLowerCase(str.charAt(i)) - 97;\n if (j >= 0 && j < 26) {\n chars[j]++;\n }\n }\n }\n\n for (int i = 0; i < 26; i++) {\n System.out.printf(\"%s : %d%n\", (char) (i + 97), chars[i]);\n }\n }\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdin = new Scanner(System.in);
int[] chars = new int[26];
while (stdin.hasNext()) {
String str = stdin.next();
int len = str.length();
for (int i = 0; i < len; i++) {
int j = Character.toLowerCase(str.charAt(i)) - 97;
if (j >= 0 && j < 26) {
chars[j]++;
}
}
}
for (int i = 0; i < 26; i++) {
System.out.printf("%s : %d%n", (char) (i + 97), chars[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
17,
4,
18,
13,
2,
13,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
18,
13,
13,
2,
13,
17,
2,
18,
13,
13,
2,
13,
17,
30,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
120,
5
],
[
120,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
8,
18
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
21,
22
],
[
21,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
38,
48
],
[
48,
49
],
[
49,
50
],
[
38,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
53,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
79,
81
],
[
66,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
8,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
87,
95
],
[
95,
96
],
[
96,
97
],
[
87,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
102,
104
],
[
99,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
111,
111
],
[
111,
112
],
[
111,
113
],
[
111,
114
],
[
114,
115
],
[
114,
116
],
[
6,
117
],
[
117,
118
],
[
0,
119
],
[
119,
120
],
[
119,
121
]
]
| [
"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\t\tString sep = System.getProperty(\"line.separator\");\n\t\tsc.useDelimiter(sep+sep);\n\t\tString s = sc.next();\n\t\tchar characters[] = s.toCharArray();\n\t\tint count[] = new int[26];\n\t\tfor (int i = 0; i < characters.length; i++) {\n\t\t\tfor (int j = 0; j < 26; j++) {\n\t\t\t\tif (characters[i] == (char) (j + 97) || characters[i] == (char) (j + 65)) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\tchar c = (char) (i + 97);\n\n\t\t\tSystem.out.println(c + \" : \" + count[i]);\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString sep = System.getProperty(\"line.separator\");\n\t\tsc.useDelimiter(sep+sep);\n\t\tString s = sc.next();\n\t\tchar characters[] = s.toCharArray();\n\t\tint count[] = new int[26];\n\t\tfor (int i = 0; i < characters.length; i++) {\n\t\t\tfor (int j = 0; j < 26; j++) {\n\t\t\t\tif (characters[i] == (char) (j + 97) || characters[i] == (char) (j + 65)) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\tchar c = (char) (i + 97);\n\n\t\t\tSystem.out.println(c + \" : \" + count[i]);\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString sep = System.getProperty(\"line.separator\");\n\t\tsc.useDelimiter(sep+sep);\n\t\tString s = sc.next();\n\t\tchar characters[] = s.toCharArray();\n\t\tint count[] = new int[26];\n\t\tfor (int i = 0; i < characters.length; i++) {\n\t\t\tfor (int j = 0; j < 26; j++) {\n\t\t\t\tif (characters[i] == (char) (j + 97) || characters[i] == (char) (j + 65)) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\tchar c = (char) (i + 97);\n\n\t\t\tSystem.out.println(c + \" : \" + count[i]);\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString sep = System.getProperty(\"line.separator\");\n\t\tsc.useDelimiter(sep+sep);\n\t\tString s = sc.next();\n\t\tchar characters[] = s.toCharArray();\n\t\tint count[] = new int[26];\n\t\tfor (int i = 0; i < characters.length; i++) {\n\t\t\tfor (int j = 0; j < 26; j++) {\n\t\t\t\tif (characters[i] == (char) (j + 97) || characters[i] == (char) (j + 65)) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\tchar c = (char) (i + 97);\n\n\t\t\tSystem.out.println(c + \" : \" + count[i]);\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String sep = System.getProperty(\"line.separator\");",
"sep",
"System.getProperty(\"line.separator\")",
"System.getProperty",
"System",
"\"line.separator\"",
"sc.useDelimiter(sep+sep)",
"sc.useDelimiter",
"sc",
"sep+sep",
"sep",
"sep",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"char characters[] = s.toCharArray();",
"characters",
"s.toCharArray()",
"s.toCharArray",
"s",
"int count[] = new int[26];",
"count",
"new int[26]",
"26",
"for (int i = 0; i < characters.length; i++) {\n\t\t\tfor (int j = 0; j < 26; j++) {\n\t\t\t\tif (characters[i] == (char) (j + 97) || characters[i] == (char) (j + 65)) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < characters.length",
"i",
"characters.length",
"characters",
"characters.length",
"i++",
"i++",
"i",
"{\n\t\t\tfor (int j = 0; j < 26; j++) {\n\t\t\t\tif (characters[i] == (char) (j + 97) || characters[i] == (char) (j + 65)) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"{\n\t\t\tfor (int j = 0; j < 26; j++) {\n\t\t\t\tif (characters[i] == (char) (j + 97) || characters[i] == (char) (j + 65)) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"for (int j = 0; j < 26; j++) {\n\t\t\t\tif (characters[i] == (char) (j + 97) || characters[i] == (char) (j + 65)) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < 26",
"j",
"26",
"j++",
"j++",
"j",
"{\n\t\t\t\tif (characters[i] == (char) (j + 97) || characters[i] == (char) (j + 65)) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif (characters[i] == (char) (j + 97) || characters[i] == (char) (j + 65)) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}",
"if (characters[i] == (char) (j + 97) || characters[i] == (char) (j + 65)) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}",
"characters[i] == (char) (j + 97) || characters[i] == (char) (j + 65)",
"characters[i] == (char) (j + 97)",
"characters[i]",
"characters",
"i",
"(char) (j + 97)",
"j",
"97",
"characters[i] == (char) (j + 65)",
"characters[i]",
"characters",
"i",
"(char) (j + 65)",
"j",
"65",
"{\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}",
"count[j]++",
"count[j]",
"count",
"j",
"for (int i = 0; i < 26; i++) {\n\t\t\tchar c = (char) (i + 97);\n\n\t\t\tSystem.out.println(c + \" : \" + count[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tchar c = (char) (i + 97);\n\n\t\t\tSystem.out.println(c + \" : \" + count[i]);\n\t\t}",
"{\n\t\t\tchar c = (char) (i + 97);\n\n\t\t\tSystem.out.println(c + \" : \" + count[i]);\n\t\t}",
"char c = (char) (i + 97);",
"c",
"(char) (i + 97)",
"i",
"97",
"System.out.println(c + \" : \" + count[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"c + \" : \" + count[i]",
"c + \" : \" + count[i]",
"c",
"\" : \"",
"count[i]",
"count",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString sep = System.getProperty(\"line.separator\");\n\t\tsc.useDelimiter(sep+sep);\n\t\tString s = sc.next();\n\t\tchar characters[] = s.toCharArray();\n\t\tint count[] = new int[26];\n\t\tfor (int i = 0; i < characters.length; i++) {\n\t\t\tfor (int j = 0; j < 26; j++) {\n\t\t\t\tif (characters[i] == (char) (j + 97) || characters[i] == (char) (j + 65)) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\tchar c = (char) (i + 97);\n\n\t\t\tSystem.out.println(c + \" : \" + count[i]);\n\t\t}\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\t\tString sep = System.getProperty(\"line.separator\");\n\t\tsc.useDelimiter(sep+sep);\n\t\tString s = sc.next();\n\t\tchar characters[] = s.toCharArray();\n\t\tint count[] = new int[26];\n\t\tfor (int i = 0; i < characters.length; i++) {\n\t\t\tfor (int j = 0; j < 26; j++) {\n\t\t\t\tif (characters[i] == (char) (j + 97) || characters[i] == (char) (j + 65)) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\tchar c = (char) (i + 97);\n\n\t\t\tSystem.out.println(c + \" : \" + count[i]);\n\t\t}\n\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String sep = System.getProperty("line.separator");
sc.useDelimiter(sep+sep);
String s = sc.next();
char characters[] = s.toCharArray();
int count[] = new int[26];
for (int i = 0; i < characters.length; i++) {
for (int j = 0; j < 26; j++) {
if (characters[i] == (char) (j + 97) || characters[i] == (char) (j + 65)) {
count[j]++;
}
}
}
for (int i = 0; i < 26; i++) {
char c = (char) (i + 97);
System.out.println(c + " : " + count[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
13,
30,
14,
4,
18,
13,
30,
41,
13,
4,
18,
13,
0,
13,
13,
30,
4,
18,
13,
3,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
13,
18,
13,
13,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
14,
2,
13,
18,
13,
13,
30,
40,
13,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
2,
17,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
129,
5
],
[
129,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
31,
33
],
[
21,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
34,
38
],
[
8,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
8,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
63,
73
],
[
73,
74
],
[
74,
75
],
[
63,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
82,
83
],
[
82,
84
],
[
78,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
93,
94
],
[
93,
95
],
[
77,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
99,
101
],
[
96,
102
],
[
102,
103
],
[
103,
104
],
[
59,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
59,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
59,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
118,
123
],
[
123,
124
],
[
123,
125
],
[
6,
126
],
[
126,
127
],
[
0,
128
],
[
128,
129
],
[
128,
130
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t//??£??????????????????????????????????????°\n\t\tString strLine = \"\";\n\t\tboolean isContinue = true;\n\t\twhile(isContinue){\n\n\t\t\t\n\t\t\tif(scan.hasNext()){\n\t\t\t\tString strScan = scan.nextLine();\n\t\t\t\tstrLine += strScan;\n\t\t\t\t\n\t\t\t}else{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\n\t\t}\n\t\t//System.out.println(\"strLine:\" + strLine);\n\n\t\t//str???????§£??????char[]???????´?\n\t\tchar[] aryLine= strLine.toCharArray();\n\n\t\tchar x = 'a';\n\t\t//a???z?????§?????°?????????\n\t\tfor(int j = 'a'; j <= 'z'; j++){\n\t\t\t//??¢????????????????????????????????????????????°\n\t\t\tint intCount = 0;\n\n\n\n\t\t\tfor(int i = 0; i < aryLine.length; i++){\n\n\t\t\t\t//??§???????????£?????´???????°????????????????\n\t\t\t\tif(Character.isUpperCase(aryLine[i])){\n\t\t\t\t\taryLine[i] = Character.toLowerCase(aryLine[i]);\n\t\t\t\t}\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( j == aryLine[i]){\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tString az = String.valueOf(j);\n\t\t\tSystem.out.print(x++);\n\t\t\tSystem.out.println(\" : \" + intCount);\n\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t//??£??????????????????????????????????????°\n\t\tString strLine = \"\";\n\t\tboolean isContinue = true;\n\t\twhile(isContinue){\n\n\t\t\t\n\t\t\tif(scan.hasNext()){\n\t\t\t\tString strScan = scan.nextLine();\n\t\t\t\tstrLine += strScan;\n\t\t\t\t\n\t\t\t}else{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\n\t\t}\n\t\t//System.out.println(\"strLine:\" + strLine);\n\n\t\t//str???????§£??????char[]???????´?\n\t\tchar[] aryLine= strLine.toCharArray();\n\n\t\tchar x = 'a';\n\t\t//a???z?????§?????°?????????\n\t\tfor(int j = 'a'; j <= 'z'; j++){\n\t\t\t//??¢????????????????????????????????????????????°\n\t\t\tint intCount = 0;\n\n\n\n\t\t\tfor(int i = 0; i < aryLine.length; i++){\n\n\t\t\t\t//??§???????????£?????´???????°????????????????\n\t\t\t\tif(Character.isUpperCase(aryLine[i])){\n\t\t\t\t\taryLine[i] = Character.toLowerCase(aryLine[i]);\n\t\t\t\t}\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( j == aryLine[i]){\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tString az = String.valueOf(j);\n\t\t\tSystem.out.print(x++);\n\t\t\tSystem.out.println(\" : \" + intCount);\n\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t//??£??????????????????????????????????????°\n\t\tString strLine = \"\";\n\t\tboolean isContinue = true;\n\t\twhile(isContinue){\n\n\t\t\t\n\t\t\tif(scan.hasNext()){\n\t\t\t\tString strScan = scan.nextLine();\n\t\t\t\tstrLine += strScan;\n\t\t\t\t\n\t\t\t}else{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\n\t\t}\n\t\t//System.out.println(\"strLine:\" + strLine);\n\n\t\t//str???????§£??????char[]???????´?\n\t\tchar[] aryLine= strLine.toCharArray();\n\n\t\tchar x = 'a';\n\t\t//a???z?????§?????°?????????\n\t\tfor(int j = 'a'; j <= 'z'; j++){\n\t\t\t//??¢????????????????????????????????????????????°\n\t\t\tint intCount = 0;\n\n\n\n\t\t\tfor(int i = 0; i < aryLine.length; i++){\n\n\t\t\t\t//??§???????????£?????´???????°????????????????\n\t\t\t\tif(Character.isUpperCase(aryLine[i])){\n\t\t\t\t\taryLine[i] = Character.toLowerCase(aryLine[i]);\n\t\t\t\t}\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( j == aryLine[i]){\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tString az = String.valueOf(j);\n\t\t\tSystem.out.print(x++);\n\t\t\tSystem.out.println(\" : \" + intCount);\n\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t//??£??????????????????????????????????????°\n\t\tString strLine = \"\";\n\t\tboolean isContinue = true;\n\t\twhile(isContinue){\n\n\t\t\t\n\t\t\tif(scan.hasNext()){\n\t\t\t\tString strScan = scan.nextLine();\n\t\t\t\tstrLine += strScan;\n\t\t\t\t\n\t\t\t}else{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\n\t\t}\n\t\t//System.out.println(\"strLine:\" + strLine);\n\n\t\t//str???????§£??????char[]???????´?\n\t\tchar[] aryLine= strLine.toCharArray();\n\n\t\tchar x = 'a';\n\t\t//a???z?????§?????°?????????\n\t\tfor(int j = 'a'; j <= 'z'; j++){\n\t\t\t//??¢????????????????????????????????????????????°\n\t\t\tint intCount = 0;\n\n\n\n\t\t\tfor(int i = 0; i < aryLine.length; i++){\n\n\t\t\t\t//??§???????????£?????´???????°????????????????\n\t\t\t\tif(Character.isUpperCase(aryLine[i])){\n\t\t\t\t\taryLine[i] = Character.toLowerCase(aryLine[i]);\n\t\t\t\t}\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( j == aryLine[i]){\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tString az = String.valueOf(j);\n\t\t\tSystem.out.print(x++);\n\t\t\tSystem.out.println(\" : \" + intCount);\n\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String strLine = \"\";",
"strLine",
"\"\"",
"boolean isContinue = true;",
"isContinue",
"true",
"while(isContinue){\n\n\t\t\t\n\t\t\tif(scan.hasNext()){\n\t\t\t\tString strScan = scan.nextLine();\n\t\t\t\tstrLine += strScan;\n\t\t\t\t\n\t\t\t}else{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\n\t\t}",
"isContinue",
"{\n\n\t\t\t\n\t\t\tif(scan.hasNext()){\n\t\t\t\tString strScan = scan.nextLine();\n\t\t\t\tstrLine += strScan;\n\t\t\t\t\n\t\t\t}else{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\n\t\t}",
"if(scan.hasNext()){\n\t\t\t\tString strScan = scan.nextLine();\n\t\t\t\tstrLine += strScan;\n\t\t\t\t\n\t\t\t}else{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\t\tString strScan = scan.nextLine();\n\t\t\t\tstrLine += strScan;\n\t\t\t\t\n\t\t\t}",
"String strScan = scan.nextLine();",
"strScan",
"scan.nextLine()",
"scan.nextLine",
"scan",
"strLine += strScan",
"strLine",
"strScan",
"{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}",
"scan.close()",
"scan.close",
"scan",
"break;",
"char[] aryLine= strLine.toCharArray();",
"aryLine",
"strLine.toCharArray()",
"strLine.toCharArray",
"strLine",
"char x = 'a';",
"x",
"'a'",
"for(int j = 'a'; j <= 'z'; j++){\n\t\t\t//??¢????????????????????????????????????????????°\n\t\t\tint intCount = 0;\n\n\n\n\t\t\tfor(int i = 0; i < aryLine.length; i++){\n\n\t\t\t\t//??§???????????£?????´???????°????????????????\n\t\t\t\tif(Character.isUpperCase(aryLine[i])){\n\t\t\t\t\taryLine[i] = Character.toLowerCase(aryLine[i]);\n\t\t\t\t}\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( j == aryLine[i]){\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tString az = String.valueOf(j);\n\t\t\tSystem.out.print(x++);\n\t\t\tSystem.out.println(\" : \" + intCount);\n\n\t\t}",
"int j = 'a';",
"int j = 'a';",
"j",
"'a'",
"j <= 'z'",
"j",
"'z'",
"j++",
"j++",
"j",
"{\n\t\t\t//??¢????????????????????????????????????????????°\n\t\t\tint intCount = 0;\n\n\n\n\t\t\tfor(int i = 0; i < aryLine.length; i++){\n\n\t\t\t\t//??§???????????£?????´???????°????????????????\n\t\t\t\tif(Character.isUpperCase(aryLine[i])){\n\t\t\t\t\taryLine[i] = Character.toLowerCase(aryLine[i]);\n\t\t\t\t}\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( j == aryLine[i]){\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tString az = String.valueOf(j);\n\t\t\tSystem.out.print(x++);\n\t\t\tSystem.out.println(\" : \" + intCount);\n\n\t\t}",
"{\n\t\t\t//??¢????????????????????????????????????????????°\n\t\t\tint intCount = 0;\n\n\n\n\t\t\tfor(int i = 0; i < aryLine.length; i++){\n\n\t\t\t\t//??§???????????£?????´???????°????????????????\n\t\t\t\tif(Character.isUpperCase(aryLine[i])){\n\t\t\t\t\taryLine[i] = Character.toLowerCase(aryLine[i]);\n\t\t\t\t}\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( j == aryLine[i]){\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tString az = String.valueOf(j);\n\t\t\tSystem.out.print(x++);\n\t\t\tSystem.out.println(\" : \" + intCount);\n\n\t\t}",
"int intCount = 0;",
"intCount",
"0",
"for(int i = 0; i < aryLine.length; i++){\n\n\t\t\t\t//??§???????????£?????´???????°????????????????\n\t\t\t\tif(Character.isUpperCase(aryLine[i])){\n\t\t\t\t\taryLine[i] = Character.toLowerCase(aryLine[i]);\n\t\t\t\t}\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( j == aryLine[i]){\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < aryLine.length",
"i",
"aryLine.length",
"aryLine",
"aryLine.length",
"i++",
"i++",
"i",
"{\n\n\t\t\t\t//??§???????????£?????´???????°????????????????\n\t\t\t\tif(Character.isUpperCase(aryLine[i])){\n\t\t\t\t\taryLine[i] = Character.toLowerCase(aryLine[i]);\n\t\t\t\t}\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( j == aryLine[i]){\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}",
"{\n\n\t\t\t\t//??§???????????£?????´???????°????????????????\n\t\t\t\tif(Character.isUpperCase(aryLine[i])){\n\t\t\t\t\taryLine[i] = Character.toLowerCase(aryLine[i]);\n\t\t\t\t}\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( j == aryLine[i]){\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}",
"if(Character.isUpperCase(aryLine[i])){\n\t\t\t\t\taryLine[i] = Character.toLowerCase(aryLine[i]);\n\t\t\t\t}",
"Character.isUpperCase(aryLine[i])",
"Character.isUpperCase",
"Character",
"aryLine[i]",
"aryLine",
"i",
"{\n\t\t\t\t\taryLine[i] = Character.toLowerCase(aryLine[i]);\n\t\t\t\t}",
"aryLine[i] = Character.toLowerCase(aryLine[i])",
"aryLine[i]",
"aryLine",
"i",
"Character.toLowerCase(aryLine[i])",
"Character.toLowerCase",
"Character",
"aryLine[i]",
"aryLine",
"i",
"if( j == aryLine[i]){\n\t\t\t\t\tintCount++;\n\t\t\t\t}",
"j == aryLine[i]",
"j",
"aryLine[i]",
"aryLine",
"i",
"{\n\t\t\t\t\tintCount++;\n\t\t\t\t}",
"intCount++",
"intCount",
"String az = String.valueOf(j);",
"az",
"String.valueOf(j)",
"String.valueOf",
"String",
"j",
"System.out.print(x++)",
"System.out.print",
"System.out",
"System",
"System.out",
"x++",
"x",
"System.out.println(\" : \" + intCount)",
"System.out.println",
"System.out",
"System",
"System.out",
"\" : \" + intCount",
"\" : \"",
"intCount",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t//??£??????????????????????????????????????°\n\t\tString strLine = \"\";\n\t\tboolean isContinue = true;\n\t\twhile(isContinue){\n\n\t\t\t\n\t\t\tif(scan.hasNext()){\n\t\t\t\tString strScan = scan.nextLine();\n\t\t\t\tstrLine += strScan;\n\t\t\t\t\n\t\t\t}else{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\n\t\t}\n\t\t//System.out.println(\"strLine:\" + strLine);\n\n\t\t//str???????§£??????char[]???????´?\n\t\tchar[] aryLine= strLine.toCharArray();\n\n\t\tchar x = 'a';\n\t\t//a???z?????§?????°?????????\n\t\tfor(int j = 'a'; j <= 'z'; j++){\n\t\t\t//??¢????????????????????????????????????????????°\n\t\t\tint intCount = 0;\n\n\n\n\t\t\tfor(int i = 0; i < aryLine.length; i++){\n\n\t\t\t\t//??§???????????£?????´???????°????????????????\n\t\t\t\tif(Character.isUpperCase(aryLine[i])){\n\t\t\t\t\taryLine[i] = Character.toLowerCase(aryLine[i]);\n\t\t\t\t}\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( j == aryLine[i]){\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tString az = String.valueOf(j);\n\t\t\tSystem.out.print(x++);\n\t\t\tSystem.out.println(\" : \" + intCount);\n\n\t\t}\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t//??£??????????????????????????????????????°\n\t\tString strLine = \"\";\n\t\tboolean isContinue = true;\n\t\twhile(isContinue){\n\n\t\t\t\n\t\t\tif(scan.hasNext()){\n\t\t\t\tString strScan = scan.nextLine();\n\t\t\t\tstrLine += strScan;\n\t\t\t\t\n\t\t\t}else{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\n\t\t}\n\t\t//System.out.println(\"strLine:\" + strLine);\n\n\t\t//str???????§£??????char[]???????´?\n\t\tchar[] aryLine= strLine.toCharArray();\n\n\t\tchar x = 'a';\n\t\t//a???z?????§?????°?????????\n\t\tfor(int j = 'a'; j <= 'z'; j++){\n\t\t\t//??¢????????????????????????????????????????????°\n\t\t\tint intCount = 0;\n\n\n\n\t\t\tfor(int i = 0; i < aryLine.length; i++){\n\n\t\t\t\t//??§???????????£?????´???????°????????????????\n\t\t\t\tif(Character.isUpperCase(aryLine[i])){\n\t\t\t\t\taryLine[i] = Character.toLowerCase(aryLine[i]);\n\t\t\t\t}\n\t\t\t\t//??¢???????????????????????????????????¢??????\n\t\t\t\tif( j == aryLine[i]){\n\t\t\t\t\tintCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tString az = String.valueOf(j);\n\t\t\tSystem.out.print(x++);\n\t\t\tSystem.out.println(\" : \" + intCount);\n\n\t\t}\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner scan = new Scanner(System.in);
//??£??????????????????????????????????????°
String strLine = "";
boolean isContinue = true;
while(isContinue){
if(scan.hasNext()){
String strScan = scan.nextLine();
strLine += strScan;
}else{
scan.close();
break;
}
}
//System.out.println("strLine:" + strLine);
//str???????§£??????char[]???????´?
char[] aryLine= strLine.toCharArray();
char x = 'a';
//a???z?????§?????°?????????
for(int j = 'a'; j <= 'z'; j++){
//??¢????????????????????????????????????????????°
int intCount = 0;
for(int i = 0; i < aryLine.length; i++){
//??§???????????£?????´???????°????????????????
if(Character.isUpperCase(aryLine[i])){
aryLine[i] = Character.toLowerCase(aryLine[i]);
}
//??¢???????????????????????????????????¢??????
if( j == aryLine[i]){
intCount++;
}
}
String az = String.valueOf(j);
System.out.print(x++);
System.out.println(" : " + intCount);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
0,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
2,
17,
4,
18,
13,
13,
2,
4,
18,
13,
13,
17,
40,
18,
13,
2,
4,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
2,
13,
17,
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
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
23,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
40,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
51,
61
],
[
61,
62
],
[
62,
63
],
[
51,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
67,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
74,
79
],
[
66,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
83,
88
],
[
8,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
94,
95
],
[
94,
96
],
[
89,
97
],
[
97,
98
],
[
98,
99
],
[
89,
100
],
[
101,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
102,
108
],
[
108,
109
],
[
108,
110
],
[
102,
111
],
[
111,
112
],
[
111,
113
],
[
8,
114
],
[
114,
115
],
[
115,
116
],
[
6,
117
],
[
117,
118
]
]
| [
"import java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] args) \t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint alphabet[];\n\t\talphabet = new int[26];\n\t\tfor(int i = 0;i < 26; i++) {\n\t\t\talphabet[i] = 0;\n\t\t}\n\t\twhile(sc.hasNext()) {\n\t\t\tString str = sc.next();\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i = 0;i < str.length();i++) {\n\t\t\t\tif(97 <= str.charAt(i) && str.charAt(i) <= 122) alphabet[str.charAt(i) - 97]++;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < 26;i++) {\n\t\t\tSystem.out.printf(\"%c : %d\\n\",i + 97,alphabet[i]);\n\t\t}\n\t\tsc.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String[] args) \t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint alphabet[];\n\t\talphabet = new int[26];\n\t\tfor(int i = 0;i < 26; i++) {\n\t\t\talphabet[i] = 0;\n\t\t}\n\t\twhile(sc.hasNext()) {\n\t\t\tString str = sc.next();\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i = 0;i < str.length();i++) {\n\t\t\t\tif(97 <= str.charAt(i) && str.charAt(i) <= 122) alphabet[str.charAt(i) - 97]++;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < 26;i++) {\n\t\t\tSystem.out.printf(\"%c : %d\\n\",i + 97,alphabet[i]);\n\t\t}\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) \t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint alphabet[];\n\t\talphabet = new int[26];\n\t\tfor(int i = 0;i < 26; i++) {\n\t\t\talphabet[i] = 0;\n\t\t}\n\t\twhile(sc.hasNext()) {\n\t\t\tString str = sc.next();\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i = 0;i < str.length();i++) {\n\t\t\t\tif(97 <= str.charAt(i) && str.charAt(i) <= 122) alphabet[str.charAt(i) - 97]++;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < 26;i++) {\n\t\t\tSystem.out.printf(\"%c : %d\\n\",i + 97,alphabet[i]);\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint alphabet[];\n\t\talphabet = new int[26];\n\t\tfor(int i = 0;i < 26; i++) {\n\t\t\talphabet[i] = 0;\n\t\t}\n\t\twhile(sc.hasNext()) {\n\t\t\tString str = sc.next();\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i = 0;i < str.length();i++) {\n\t\t\t\tif(97 <= str.charAt(i) && str.charAt(i) <= 122) alphabet[str.charAt(i) - 97]++;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < 26;i++) {\n\t\t\tSystem.out.printf(\"%c : %d\\n\",i + 97,alphabet[i]);\n\t\t}\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int alphabet[];",
"alphabet",
"alphabet = new int[26]",
"alphabet",
"new int[26]",
"26",
"for(int i = 0;i < 26; i++) {\n\t\t\talphabet[i] = 0;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\talphabet[i] = 0;\n\t\t}",
"{\n\t\t\talphabet[i] = 0;\n\t\t}",
"alphabet[i] = 0",
"alphabet[i]",
"alphabet",
"i",
"0",
"while(sc.hasNext()) {\n\t\t\tString str = sc.next();\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i = 0;i < str.length();i++) {\n\t\t\t\tif(97 <= str.charAt(i) && str.charAt(i) <= 122) alphabet[str.charAt(i) - 97]++;\n\t\t\t}\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tString str = sc.next();\n\t\t\tstr = str.toLowerCase();\n\t\t\tfor(int i = 0;i < str.length();i++) {\n\t\t\t\tif(97 <= str.charAt(i) && str.charAt(i) <= 122) alphabet[str.charAt(i) - 97]++;\n\t\t\t}\n\t\t}",
"String str = sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"str = str.toLowerCase()",
"str",
"str.toLowerCase()",
"str.toLowerCase",
"str",
"for(int i = 0;i < str.length();i++) {\n\t\t\t\tif(97 <= str.charAt(i) && str.charAt(i) <= 122) alphabet[str.charAt(i) - 97]++;\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\tif(97 <= str.charAt(i) && str.charAt(i) <= 122) alphabet[str.charAt(i) - 97]++;\n\t\t\t}",
"{\n\t\t\t\tif(97 <= str.charAt(i) && str.charAt(i) <= 122) alphabet[str.charAt(i) - 97]++;\n\t\t\t}",
"if(97 <= str.charAt(i) && str.charAt(i) <= 122) alphabet[str.charAt(i) - 97]++;",
"97 <= str.charAt(i) && str.charAt(i) <= 122",
"97 <= str.charAt(i)",
"97",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"str.charAt(i) <= 122",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"122",
"alphabet[str.charAt(i) - 97]++",
"alphabet[str.charAt(i) - 97]",
"alphabet",
"str.charAt(i) - 97",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"97",
"for(int i = 0;i < 26;i++) {\n\t\t\tSystem.out.printf(\"%c : %d\\n\",i + 97,alphabet[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.printf(\"%c : %d\\n\",i + 97,alphabet[i]);\n\t\t}",
"{\n\t\t\tSystem.out.printf(\"%c : %d\\n\",i + 97,alphabet[i]);\n\t\t}",
"System.out.printf(\"%c : %d\\n\",i + 97,alphabet[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%c : %d\\n\"",
"i + 97",
"i",
"97",
"alphabet[i]",
"alphabet",
"i",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args"
]
| import java.util.Scanner;
class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int alphabet[];
alphabet = new int[26];
for(int i = 0;i < 26; i++) {
alphabet[i] = 0;
}
while(sc.hasNext()) {
String str = sc.next();
str = str.toLowerCase();
for(int i = 0;i < str.length();i++) {
if(97 <= str.charAt(i) && str.charAt(i) <= 122) alphabet[str.charAt(i) - 97]++;
}
}
for(int i = 0;i < 26;i++) {
System.out.printf("%c : %d\n",i + 97,alphabet[i]);
}
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
17,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
0,
13,
13,
41,
13,
4,
18,
4,
18,
13,
28,
13,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
2,
13,
13,
30,
0,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
17,
18,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
8,
42
],
[
42,
43
],
[
42,
44
],
[
42,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
60,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
81,
82
],
[
72,
83
],
[
84,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
91,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
91,
96
],
[
96,
97
],
[
96,
98
],
[
6,
99
],
[
99,
100
]
]
| [
"import java.util.*;\n \nclass Main{\n public static void main(String[] args){\n\t\tchar a = 'a';\n\t\tint[] arr = new int[26];\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = \"\";\n\t\twhile(scan.hasNext()) {\n String buf = scan.nextLine();\n str += buf;\n }\n\n\t\tchar[] ch = str.toLowerCase().toCharArray();\n\t\tfor(char alf : ch){\n\t\t\tfor(int i=0; i<26; i++){\n\t\t\t\tif(alf==(a+i)){\n\t\t\t\t\tarr[i] += 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<26; i++){\n\t\t\tSystem.out.println((char)(a + i) + \" : \" + arr[i]);\n\t\t}\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n\t\tchar a = 'a';\n\t\tint[] arr = new int[26];\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = \"\";\n\t\twhile(scan.hasNext()) {\n String buf = scan.nextLine();\n str += buf;\n }\n\n\t\tchar[] ch = str.toLowerCase().toCharArray();\n\t\tfor(char alf : ch){\n\t\t\tfor(int i=0; i<26; i++){\n\t\t\t\tif(alf==(a+i)){\n\t\t\t\t\tarr[i] += 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<26; i++){\n\t\t\tSystem.out.println((char)(a + i) + \" : \" + arr[i]);\n\t\t}\n }\n}",
"Main",
"public static void main(String[] args){\n\t\tchar a = 'a';\n\t\tint[] arr = new int[26];\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = \"\";\n\t\twhile(scan.hasNext()) {\n String buf = scan.nextLine();\n str += buf;\n }\n\n\t\tchar[] ch = str.toLowerCase().toCharArray();\n\t\tfor(char alf : ch){\n\t\t\tfor(int i=0; i<26; i++){\n\t\t\t\tif(alf==(a+i)){\n\t\t\t\t\tarr[i] += 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<26; i++){\n\t\t\tSystem.out.println((char)(a + i) + \" : \" + arr[i]);\n\t\t}\n }",
"main",
"{\n\t\tchar a = 'a';\n\t\tint[] arr = new int[26];\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = \"\";\n\t\twhile(scan.hasNext()) {\n String buf = scan.nextLine();\n str += buf;\n }\n\n\t\tchar[] ch = str.toLowerCase().toCharArray();\n\t\tfor(char alf : ch){\n\t\t\tfor(int i=0; i<26; i++){\n\t\t\t\tif(alf==(a+i)){\n\t\t\t\t\tarr[i] += 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<26; i++){\n\t\t\tSystem.out.println((char)(a + i) + \" : \" + arr[i]);\n\t\t}\n }",
"char a = 'a';",
"a",
"'a'",
"int[] arr = new int[26];",
"arr",
"new int[26]",
"26",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String str = \"\";",
"str",
"\"\"",
"while(scan.hasNext()) {\n String buf = scan.nextLine();\n str += buf;\n }",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n String buf = scan.nextLine();\n str += buf;\n }",
"String buf = scan.nextLine();",
"buf",
"scan.nextLine()",
"scan.nextLine",
"scan",
"str += buf",
"str",
"buf",
"char[] ch = str.toLowerCase().toCharArray();",
"ch",
"str.toLowerCase().toCharArray()",
"str.toLowerCase().toCharArray",
"str.toLowerCase()",
"str.toLowerCase",
"str",
"for(char alf : ch){\n\t\t\tfor(int i=0; i<26; i++){\n\t\t\t\tif(alf==(a+i)){\n\t\t\t\t\tarr[i] += 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"char alf",
"ch",
"{\n\t\t\tfor(int i=0; i<26; i++){\n\t\t\t\tif(alf==(a+i)){\n\t\t\t\t\tarr[i] += 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int i=0; i<26; i++){\n\t\t\t\tif(alf==(a+i)){\n\t\t\t\t\tarr[i] += 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int i=0; i<26; i++){\n\t\t\t\tif(alf==(a+i)){\n\t\t\t\t\tarr[i] += 1;\n\t\t\t\t}\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\t\tif(alf==(a+i)){\n\t\t\t\t\tarr[i] += 1;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(alf==(a+i)){\n\t\t\t\t\tarr[i] += 1;\n\t\t\t\t}\n\t\t\t}",
"if(alf==(a+i)){\n\t\t\t\t\tarr[i] += 1;\n\t\t\t\t}",
"alf==(a+i)",
"alf",
"(a+i)",
"a",
"i",
"{\n\t\t\t\t\tarr[i] += 1;\n\t\t\t\t}",
"arr[i] += 1",
"arr[i]",
"arr",
"i",
"1",
"for(int i=0; i<26; i++){\n\t\t\tSystem.out.println((char)(a + i) + \" : \" + arr[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println((char)(a + i) + \" : \" + arr[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println((char)(a + i) + \" : \" + arr[i]);\n\t\t}",
"System.out.println((char)(a + i) + \" : \" + arr[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)(a + i) + \" : \" + arr[i]",
"(char)(a + i) + \" : \" + arr[i]",
"(char)(a + i)",
"a",
"i",
"\" : \"",
"arr[i]",
"arr",
"i",
"String[] args",
"args"
]
| import java.util.*;
class Main{
public static void main(String[] args){
char a = 'a';
int[] arr = new int[26];
Scanner scan = new Scanner(System.in);
String str = "";
while(scan.hasNext()) {
String buf = scan.nextLine();
str += buf;
}
char[] ch = str.toLowerCase().toCharArray();
for(char alf : ch){
for(int i=0; i<26; i++){
if(alf==(a+i)){
arr[i] += 1;
}
}
}
for(int i=0; i<26; i++){
System.out.println((char)(a + i) + " : " + arr[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
13,
17,
42,
4,
18,
13,
30,
0,
13,
4,
18,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
2,
4,
18,
13,
4,
18,
13,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
4,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
121,
17
],
[
121,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
20,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
43,
47
],
[
20,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
20,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
60,
70
],
[
70,
71
],
[
71,
72
],
[
60,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
75,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
83,
90
],
[
82,
91
],
[
20,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
97,
98
],
[
97,
99
],
[
92,
100
],
[
100,
101
],
[
101,
102
],
[
92,
103
],
[
104,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
111,
111
],
[
111,
112
],
[
111,
113
],
[
111,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
18,
118
],
[
118,
119
],
[
0,
120
],
[
120,
121
],
[
120,
122
]
]
| [
"import java.util.ArrayDeque;\nimport java.util.ArrayList;\nimport java.util.Comparator;\nimport java.util.HashMap;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String text = \"\";\n HashMap<Character, Integer> map = new HashMap<Character, Integer>();\n for (char i = 97; i < 123; i++) {\n map.put(i, 0);\n }\n while (scanner.hasNextLine()) {\n text += scanner.nextLine().toLowerCase();\n }\n for (int i = 0; i < text.length(); i++) {\n map.put(text.charAt(i), map.getOrDefault(text.charAt(i), 0) + 1);\n }\n for (char key = 97; key < 123; key++) {\n System.out.println(key + \" : \" + map.get(key));\n }\n }\n}\n",
"import java.util.ArrayDeque;",
"ArrayDeque",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Comparator;",
"Comparator",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String text = \"\";\n HashMap<Character, Integer> map = new HashMap<Character, Integer>();\n for (char i = 97; i < 123; i++) {\n map.put(i, 0);\n }\n while (scanner.hasNextLine()) {\n text += scanner.nextLine().toLowerCase();\n }\n for (int i = 0; i < text.length(); i++) {\n map.put(text.charAt(i), map.getOrDefault(text.charAt(i), 0) + 1);\n }\n for (char key = 97; key < 123; key++) {\n System.out.println(key + \" : \" + map.get(key));\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String text = \"\";\n HashMap<Character, Integer> map = new HashMap<Character, Integer>();\n for (char i = 97; i < 123; i++) {\n map.put(i, 0);\n }\n while (scanner.hasNextLine()) {\n text += scanner.nextLine().toLowerCase();\n }\n for (int i = 0; i < text.length(); i++) {\n map.put(text.charAt(i), map.getOrDefault(text.charAt(i), 0) + 1);\n }\n for (char key = 97; key < 123; key++) {\n System.out.println(key + \" : \" + map.get(key));\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n String text = \"\";\n HashMap<Character, Integer> map = new HashMap<Character, Integer>();\n for (char i = 97; i < 123; i++) {\n map.put(i, 0);\n }\n while (scanner.hasNextLine()) {\n text += scanner.nextLine().toLowerCase();\n }\n for (int i = 0; i < text.length(); i++) {\n map.put(text.charAt(i), map.getOrDefault(text.charAt(i), 0) + 1);\n }\n for (char key = 97; key < 123; key++) {\n System.out.println(key + \" : \" + map.get(key));\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String text = \"\";",
"text",
"\"\"",
"HashMap<Character, Integer> map = new HashMap<Character, Integer>();",
"map",
"new HashMap<Character, Integer>()",
"for (char i = 97; i < 123; i++) {\n map.put(i, 0);\n }",
"char i = 97;",
"char i = 97;",
"i",
"97",
"i < 123",
"i",
"123",
"i++",
"i++",
"i",
"{\n map.put(i, 0);\n }",
"{\n map.put(i, 0);\n }",
"map.put(i, 0)",
"map.put",
"map",
"i",
"0",
"while (scanner.hasNextLine()) {\n text += scanner.nextLine().toLowerCase();\n }",
"scanner.hasNextLine()",
"scanner.hasNextLine",
"scanner",
"{\n text += scanner.nextLine().toLowerCase();\n }",
"text += scanner.nextLine().toLowerCase()",
"text",
"scanner.nextLine().toLowerCase()",
"scanner.nextLine().toLowerCase",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"for (int i = 0; i < text.length(); i++) {\n map.put(text.charAt(i), map.getOrDefault(text.charAt(i), 0) + 1);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < text.length()",
"i",
"text.length()",
"text.length",
"text",
"i++",
"i++",
"i",
"{\n map.put(text.charAt(i), map.getOrDefault(text.charAt(i), 0) + 1);\n }",
"{\n map.put(text.charAt(i), map.getOrDefault(text.charAt(i), 0) + 1);\n }",
"map.put(text.charAt(i), map.getOrDefault(text.charAt(i), 0) + 1)",
"map.put",
"map",
"text.charAt(i)",
"text.charAt",
"text",
"i",
"map.getOrDefault(text.charAt(i), 0) + 1",
"map.getOrDefault(text.charAt(i), 0)",
"map.getOrDefault",
"map",
"text.charAt(i)",
"text.charAt",
"text",
"i",
"0",
"1",
"for (char key = 97; key < 123; key++) {\n System.out.println(key + \" : \" + map.get(key));\n }",
"char key = 97;",
"char key = 97;",
"key",
"97",
"key < 123",
"key",
"123",
"key++",
"key++",
"key",
"{\n System.out.println(key + \" : \" + map.get(key));\n }",
"{\n System.out.println(key + \" : \" + map.get(key));\n }",
"System.out.println(key + \" : \" + map.get(key))",
"System.out.println",
"System.out",
"System",
"System.out",
"key + \" : \" + map.get(key)",
"key + \" : \" + map.get(key)",
"key",
"\" : \"",
"map.get(key)",
"map.get",
"map",
"key",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String text = \"\";\n HashMap<Character, Integer> map = new HashMap<Character, Integer>();\n for (char i = 97; i < 123; i++) {\n map.put(i, 0);\n }\n while (scanner.hasNextLine()) {\n text += scanner.nextLine().toLowerCase();\n }\n for (int i = 0; i < text.length(); i++) {\n map.put(text.charAt(i), map.getOrDefault(text.charAt(i), 0) + 1);\n }\n for (char key = 97; key < 123; key++) {\n System.out.println(key + \" : \" + map.get(key));\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String text = \"\";\n HashMap<Character, Integer> map = new HashMap<Character, Integer>();\n for (char i = 97; i < 123; i++) {\n map.put(i, 0);\n }\n while (scanner.hasNextLine()) {\n text += scanner.nextLine().toLowerCase();\n }\n for (int i = 0; i < text.length(); i++) {\n map.put(text.charAt(i), map.getOrDefault(text.charAt(i), 0) + 1);\n }\n for (char key = 97; key < 123; key++) {\n System.out.println(key + \" : \" + map.get(key));\n }\n }\n}",
"Main"
]
| import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String text = "";
HashMap<Character, Integer> map = new HashMap<Character, Integer>();
for (char i = 97; i < 123; i++) {
map.put(i, 0);
}
while (scanner.hasNextLine()) {
text += scanner.nextLine().toLowerCase();
}
for (int i = 0; i < text.length(); i++) {
map.put(text.charAt(i), map.getOrDefault(text.charAt(i), 0) + 1);
}
for (char key = 97; key < 123; key++) {
System.out.println(key + " : " + map.get(key));
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
20,
17,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
9,
30,
40,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
17,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
106,
8
],
[
106,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
38,
48
],
[
48,
49
],
[
49,
50
],
[
38,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
52,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
67,
68
],
[
59,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
11,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
76,
84
],
[
84,
85
],
[
85,
86
],
[
76,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
95,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
95,
100
],
[
100,
101
],
[
100,
102
],
[
9,
103
],
[
103,
104
],
[
0,
105
],
[
105,
106
],
[
105,
107
]
]
| [
"import java.util.*;\nimport java.text.*;\n/*\nMain class for AOJ where there is no input.\n*/\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n \n int[] n = new int[26];\n int nAscii;\n \n while(sc.hasNext()){\n str = sc.nextLine();\n str = str.toLowerCase();\n for(int i = 0; i < str.length(); i ++){\n nAscii = str.charAt(i);\n \n if(nAscii > 122 || nAscii < 97){\n continue;\n }else{\n n[nAscii - 97] ++;\n }\n }\n }\n \n for(int i = 0; i < 26; i ++){\n System.out.println((char)(i + 97) + \" : \" + n[i]);\n }\n \n }//main\n}//class",
"import java.util.*;",
"util.*",
"java",
"import java.text.*;",
"text.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n \n int[] n = new int[26];\n int nAscii;\n \n while(sc.hasNext()){\n str = sc.nextLine();\n str = str.toLowerCase();\n for(int i = 0; i < str.length(); i ++){\n nAscii = str.charAt(i);\n \n if(nAscii > 122 || nAscii < 97){\n continue;\n }else{\n n[nAscii - 97] ++;\n }\n }\n }\n \n for(int i = 0; i < 26; i ++){\n System.out.println((char)(i + 97) + \" : \" + n[i]);\n }\n \n }//main\n}//class",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n \n int[] n = new int[26];\n int nAscii;\n \n while(sc.hasNext()){\n str = sc.nextLine();\n str = str.toLowerCase();\n for(int i = 0; i < str.length(); i ++){\n nAscii = str.charAt(i);\n \n if(nAscii > 122 || nAscii < 97){\n continue;\n }else{\n n[nAscii - 97] ++;\n }\n }\n }\n \n for(int i = 0; i < 26; i ++){\n System.out.println((char)(i + 97) + \" : \" + n[i]);\n }\n \n }//main",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String str;\n \n int[] n = new int[26];\n int nAscii;\n \n while(sc.hasNext()){\n str = sc.nextLine();\n str = str.toLowerCase();\n for(int i = 0; i < str.length(); i ++){\n nAscii = str.charAt(i);\n \n if(nAscii > 122 || nAscii < 97){\n continue;\n }else{\n n[nAscii - 97] ++;\n }\n }\n }\n \n for(int i = 0; i < 26; i ++){\n System.out.println((char)(i + 97) + \" : \" + n[i]);\n }\n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str;",
"str",
"int[] n = new int[26];",
"n",
"new int[26]",
"26",
"int nAscii;",
"nAscii",
"while(sc.hasNext()){\n str = sc.nextLine();\n str = str.toLowerCase();\n for(int i = 0; i < str.length(); i ++){\n nAscii = str.charAt(i);\n \n if(nAscii > 122 || nAscii < 97){\n continue;\n }else{\n n[nAscii - 97] ++;\n }\n }\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n str = sc.nextLine();\n str = str.toLowerCase();\n for(int i = 0; i < str.length(); i ++){\n nAscii = str.charAt(i);\n \n if(nAscii > 122 || nAscii < 97){\n continue;\n }else{\n n[nAscii - 97] ++;\n }\n }\n }",
"str = sc.nextLine()",
"str",
"sc.nextLine()",
"sc.nextLine",
"sc",
"str = str.toLowerCase()",
"str",
"str.toLowerCase()",
"str.toLowerCase",
"str",
"for(int i = 0; i < str.length(); i ++){\n nAscii = str.charAt(i);\n \n if(nAscii > 122 || nAscii < 97){\n continue;\n }else{\n n[nAscii - 97] ++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str.length()",
"i",
"str.length()",
"str.length",
"str",
"i ++",
"i ++",
"i",
"{\n nAscii = str.charAt(i);\n \n if(nAscii > 122 || nAscii < 97){\n continue;\n }else{\n n[nAscii - 97] ++;\n }\n }",
"{\n nAscii = str.charAt(i);\n \n if(nAscii > 122 || nAscii < 97){\n continue;\n }else{\n n[nAscii - 97] ++;\n }\n }",
"nAscii = str.charAt(i)",
"nAscii",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"if(nAscii > 122 || nAscii < 97){\n continue;\n }else{\n n[nAscii - 97] ++;\n }",
"nAscii > 122 || nAscii < 97",
"nAscii > 122",
"nAscii",
"122",
"nAscii < 97",
"nAscii",
"97",
"{\n continue;\n }",
"continue;",
"{\n n[nAscii - 97] ++;\n }",
"n[nAscii - 97] ++",
"n[nAscii - 97]",
"n",
"nAscii - 97",
"nAscii",
"97",
"for(int i = 0; i < 26; i ++){\n System.out.println((char)(i + 97) + \" : \" + n[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i ++",
"i ++",
"i",
"{\n System.out.println((char)(i + 97) + \" : \" + n[i]);\n }",
"{\n System.out.println((char)(i + 97) + \" : \" + n[i]);\n }",
"System.out.println((char)(i + 97) + \" : \" + n[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)(i + 97) + \" : \" + n[i]",
"(char)(i + 97) + \" : \" + n[i]",
"(char)(i + 97)",
"i",
"97",
"\" : \"",
"n[i]",
"n",
"i",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n \n int[] n = new int[26];\n int nAscii;\n \n while(sc.hasNext()){\n str = sc.nextLine();\n str = str.toLowerCase();\n for(int i = 0; i < str.length(); i ++){\n nAscii = str.charAt(i);\n \n if(nAscii > 122 || nAscii < 97){\n continue;\n }else{\n n[nAscii - 97] ++;\n }\n }\n }\n \n for(int i = 0; i < 26; i ++){\n System.out.println((char)(i + 97) + \" : \" + n[i]);\n }\n \n }//main\n}//class",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n \n int[] n = new int[26];\n int nAscii;\n \n while(sc.hasNext()){\n str = sc.nextLine();\n str = str.toLowerCase();\n for(int i = 0; i < str.length(); i ++){\n nAscii = str.charAt(i);\n \n if(nAscii > 122 || nAscii < 97){\n continue;\n }else{\n n[nAscii - 97] ++;\n }\n }\n }\n \n for(int i = 0; i < 26; i ++){\n System.out.println((char)(i + 97) + \" : \" + n[i]);\n }\n \n }//main\n}//class",
"Main"
]
| import java.util.*;
import java.text.*;
/*
Main class for AOJ where there is no input.
*/
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String str;
int[] n = new int[26];
int nAscii;
while(sc.hasNext()){
str = sc.nextLine();
str = str.toLowerCase();
for(int i = 0; i < str.length(); i ++){
nAscii = str.charAt(i);
if(nAscii > 122 || nAscii < 97){
continue;
}else{
n[nAscii - 97] ++;
}
}
}
for(int i = 0; i < 26; i ++){
System.out.println((char)(i + 97) + " : " + n[i]);
}
}//main
}//class |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
17,
41,
13,
20,
17,
41,
13,
20,
42,
2,
0,
13,
4,
18,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
4,
18,
13,
4,
18,
13,
13,
40,
18,
13,
2,
4,
18,
13,
4,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
2,
2,
40,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
93,
5
],
[
93,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
21,
29
],
[
29,
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
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
56,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
74,
75
],
[
65,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
83,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
6,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
]
| [
"import java.io.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tString s;\n\t\tchar a = 'a';\n\t\tint count[] = new int[26];\n\t\tBufferedReader kbd = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\t\twhile ((s = kbd.readLine()) != null){\n\t\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\t\tif (Character.isLetter(s.charAt(i)))\n\t\t\t\t\tcount[Character.toLowerCase(s.charAt(i)) - 'a']++;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 26; i++)\n\t\t\tSystem.out.println(a++ + \" : \" + count[i]);\n\t}\n\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tString s;\n\t\tchar a = 'a';\n\t\tint count[] = new int[26];\n\t\tBufferedReader kbd = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\t\twhile ((s = kbd.readLine()) != null){\n\t\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\t\tif (Character.isLetter(s.charAt(i)))\n\t\t\t\t\tcount[Character.toLowerCase(s.charAt(i)) - 'a']++;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 26; i++)\n\t\t\tSystem.out.println(a++ + \" : \" + count[i]);\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tString s;\n\t\tchar a = 'a';\n\t\tint count[] = new int[26];\n\t\tBufferedReader kbd = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\t\twhile ((s = kbd.readLine()) != null){\n\t\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\t\tif (Character.isLetter(s.charAt(i)))\n\t\t\t\t\tcount[Character.toLowerCase(s.charAt(i)) - 'a']++;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 26; i++)\n\t\t\tSystem.out.println(a++ + \" : \" + count[i]);\n\t}",
"main",
"{\n\t\tString s;\n\t\tchar a = 'a';\n\t\tint count[] = new int[26];\n\t\tBufferedReader kbd = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\t\twhile ((s = kbd.readLine()) != null){\n\t\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\t\tif (Character.isLetter(s.charAt(i)))\n\t\t\t\t\tcount[Character.toLowerCase(s.charAt(i)) - 'a']++;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 26; i++)\n\t\t\tSystem.out.println(a++ + \" : \" + count[i]);\n\t}",
"String s;",
"s",
"char a = 'a';",
"a",
"'a'",
"int count[] = new int[26];",
"count",
"new int[26]",
"26",
"BufferedReader kbd = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));",
"kbd",
"new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))",
"while ((s = kbd.readLine()) != null){\n\t\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\t\tif (Character.isLetter(s.charAt(i)))\n\t\t\t\t\tcount[Character.toLowerCase(s.charAt(i)) - 'a']++;\n\t\t\t}\n\t\t}",
"(s = kbd.readLine()) != null",
"(s = kbd.readLine())",
"s",
"kbd.readLine()",
"kbd.readLine",
"kbd",
"null",
"{\n\t\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\t\tif (Character.isLetter(s.charAt(i)))\n\t\t\t\t\tcount[Character.toLowerCase(s.charAt(i)) - 'a']++;\n\t\t\t}\n\t\t}",
"for (int i = 0; i < s.length(); i++) {\n\t\t\t\tif (Character.isLetter(s.charAt(i)))\n\t\t\t\t\tcount[Character.toLowerCase(s.charAt(i)) - 'a']++;\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n\t\t\t\tif (Character.isLetter(s.charAt(i)))\n\t\t\t\t\tcount[Character.toLowerCase(s.charAt(i)) - 'a']++;\n\t\t\t}",
"{\n\t\t\t\tif (Character.isLetter(s.charAt(i)))\n\t\t\t\t\tcount[Character.toLowerCase(s.charAt(i)) - 'a']++;\n\t\t\t}",
"if (Character.isLetter(s.charAt(i)))\n\t\t\t\t\tcount[Character.toLowerCase(s.charAt(i)) - 'a']++;",
"Character.isLetter(s.charAt(i))",
"Character.isLetter",
"Character",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"count[Character.toLowerCase(s.charAt(i)) - 'a']++",
"count[Character.toLowerCase(s.charAt(i)) - 'a']",
"count",
"Character.toLowerCase(s.charAt(i)) - 'a'",
"Character.toLowerCase(s.charAt(i))",
"Character.toLowerCase",
"Character",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"'a'",
"for (int i = 0; i < 26; i++)\n\t\t\tSystem.out.println(a++ + \" : \" + count[i]);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"System.out.println(a++ + \" : \" + count[i]);",
"System.out.println(a++ + \" : \" + count[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"a++ + \" : \" + count[i]",
"a++ + \" : \" + count[i]",
"a++",
"a",
"\" : \"",
"count[i]",
"count",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tString s;\n\t\tchar a = 'a';\n\t\tint count[] = new int[26];\n\t\tBufferedReader kbd = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\t\twhile ((s = kbd.readLine()) != null){\n\t\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\t\tif (Character.isLetter(s.charAt(i)))\n\t\t\t\t\tcount[Character.toLowerCase(s.charAt(i)) - 'a']++;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 26; i++)\n\t\t\tSystem.out.println(a++ + \" : \" + count[i]);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tString s;\n\t\tchar a = 'a';\n\t\tint count[] = new int[26];\n\t\tBufferedReader kbd = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\t\twhile ((s = kbd.readLine()) != null){\n\t\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\t\tif (Character.isLetter(s.charAt(i)))\n\t\t\t\t\tcount[Character.toLowerCase(s.charAt(i)) - 'a']++;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 26; i++)\n\t\t\tSystem.out.println(a++ + \" : \" + count[i]);\n\t}\n\n}",
"Main"
]
| import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
String s;
char a = 'a';
int count[] = new int[26];
BufferedReader kbd = new BufferedReader(
new InputStreamReader(System.in));
while ((s = kbd.readLine()) != null){
for (int i = 0; i < s.length(); i++) {
if (Character.isLetter(s.charAt(i)))
count[Character.toLowerCase(s.charAt(i)) - 'a']++;
}
}
for (int i = 0; i < 26; i++)
System.out.println(a++ + " : " + count[i]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
4,
13,
13,
17,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
4,
18,
13,
13,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
196,
5
],
[
196,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
34,
37
],
[
8,
38
],
[
38,
39
],
[
38,
40
],
[
38,
41
],
[
8,
42
],
[
42,
43
],
[
42,
44
],
[
42,
45
],
[
8,
46
],
[
46,
47
],
[
46,
48
],
[
46,
49
],
[
8,
50
],
[
50,
51
],
[
50,
52
],
[
50,
53
],
[
8,
54
],
[
54,
55
],
[
54,
56
],
[
54,
57
],
[
8,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
8,
62
],
[
62,
63
],
[
62,
64
],
[
62,
65
],
[
8,
66
],
[
66,
67
],
[
66,
68
],
[
66,
69
],
[
8,
70
],
[
70,
71
],
[
70,
72
],
[
70,
73
],
[
8,
74
],
[
74,
75
],
[
74,
76
],
[
74,
77
],
[
8,
78
],
[
78,
79
],
[
78,
80
],
[
78,
81
],
[
8,
82
],
[
82,
83
],
[
82,
84
],
[
82,
85
],
[
8,
86
],
[
86,
87
],
[
86,
88
],
[
86,
89
],
[
8,
90
],
[
90,
91
],
[
90,
92
],
[
90,
93
],
[
8,
94
],
[
94,
95
],
[
94,
96
],
[
94,
97
],
[
8,
98
],
[
98,
99
],
[
98,
100
],
[
98,
101
],
[
8,
102
],
[
102,
103
],
[
102,
104
],
[
102,
105
],
[
8,
106
],
[
106,
107
],
[
106,
108
],
[
106,
109
],
[
8,
110
],
[
110,
111
],
[
110,
112
],
[
110,
113
],
[
8,
114
],
[
114,
115
],
[
114,
116
],
[
114,
117
],
[
8,
118
],
[
118,
119
],
[
118,
120
],
[
118,
121
],
[
8,
122
],
[
122,
123
],
[
122,
124
],
[
122,
125
],
[
8,
126
],
[
126,
127
],
[
126,
128
],
[
126,
129
],
[
8,
130
],
[
130,
131
],
[
130,
132
],
[
130,
133
],
[
8,
134
],
[
134,
135
],
[
134,
136
],
[
134,
137
],
[
6,
138
],
[
138,
139
],
[
196,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
142,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
146,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
146,
156
],
[
156,
157
],
[
157,
158
],
[
146,
159
],
[
160,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
165,
168
],
[
162,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
170,
173
],
[
169,
174
],
[
174,
175
],
[
175,
176
],
[
174,
177
],
[
161,
178
],
[
178,
179
],
[
179,
180
],
[
142,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
181,
186
],
[
187,
187
],
[
187,
188
],
[
187,
189
],
[
187,
190
],
[
140,
191
],
[
191,
192
],
[
140,
193
],
[
193,
194
],
[
0,
195
],
[
195,
196
],
[
195,
197
]
]
| [
"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\tStringBuilder sb = new StringBuilder();\n\n\t\twhile (scan.hasNextLine()) {\n\t\t\tString st = scan.nextLine();\n\t\t\tsb.append(st);\n\t\t}\n\t\tString st = sb.toString();\n\n\t\tsc(st,'a');\n\t\tsc(st,'b');\n\t\tsc(st,'c');\n\t\tsc(st,'d');\n\t\tsc(st,'e');\n\t\tsc(st,'f');\n\t\tsc(st,'g');\n\t\tsc(st,'h');\n\t\tsc(st,'i');\n\t\tsc(st,'j');\n\t\tsc(st,'k');\n\t\tsc(st,'l');\n\t\tsc(st,'m');\n\t\tsc(st,'n');\n\t\tsc(st,'o');\n\t\tsc(st,'p');\n\t\tsc(st,'q');\n\t\tsc(st,'r');\n\t\tsc(st,'s');\n\t\tsc(st,'t');\n\t\tsc(st,'u');\n\t\tsc(st,'v');\n\t\tsc(st,'w');\n\t\tsc(st,'x');\n\t\tsc(st,'y');\n\t\tsc(st,'z');\n\t}\n\tstatic void sc(String st,char cha) {\n\t\tint count = 0;\n\t\tfor ( int i = 0; i < st.length(); i++) {\n\t\t\tif ( cha == st.charAt(i) ||\n\t\t\t\t\tCharacter.toUpperCase(cha) == st.charAt(i) ) {count++;}\n\t\t}\n\t\tSystem.out.println(cha + \" : \" + count);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile (scan.hasNextLine()) {\n\t\t\tString st = scan.nextLine();\n\t\t\tsb.append(st);\n\t\t}\n\t\tString st = sb.toString();\n\n\t\tsc(st,'a');\n\t\tsc(st,'b');\n\t\tsc(st,'c');\n\t\tsc(st,'d');\n\t\tsc(st,'e');\n\t\tsc(st,'f');\n\t\tsc(st,'g');\n\t\tsc(st,'h');\n\t\tsc(st,'i');\n\t\tsc(st,'j');\n\t\tsc(st,'k');\n\t\tsc(st,'l');\n\t\tsc(st,'m');\n\t\tsc(st,'n');\n\t\tsc(st,'o');\n\t\tsc(st,'p');\n\t\tsc(st,'q');\n\t\tsc(st,'r');\n\t\tsc(st,'s');\n\t\tsc(st,'t');\n\t\tsc(st,'u');\n\t\tsc(st,'v');\n\t\tsc(st,'w');\n\t\tsc(st,'x');\n\t\tsc(st,'y');\n\t\tsc(st,'z');\n\t}\n\tstatic void sc(String st,char cha) {\n\t\tint count = 0;\n\t\tfor ( int i = 0; i < st.length(); i++) {\n\t\t\tif ( cha == st.charAt(i) ||\n\t\t\t\t\tCharacter.toUpperCase(cha) == st.charAt(i) ) {count++;}\n\t\t}\n\t\tSystem.out.println(cha + \" : \" + count);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile (scan.hasNextLine()) {\n\t\t\tString st = scan.nextLine();\n\t\t\tsb.append(st);\n\t\t}\n\t\tString st = sb.toString();\n\n\t\tsc(st,'a');\n\t\tsc(st,'b');\n\t\tsc(st,'c');\n\t\tsc(st,'d');\n\t\tsc(st,'e');\n\t\tsc(st,'f');\n\t\tsc(st,'g');\n\t\tsc(st,'h');\n\t\tsc(st,'i');\n\t\tsc(st,'j');\n\t\tsc(st,'k');\n\t\tsc(st,'l');\n\t\tsc(st,'m');\n\t\tsc(st,'n');\n\t\tsc(st,'o');\n\t\tsc(st,'p');\n\t\tsc(st,'q');\n\t\tsc(st,'r');\n\t\tsc(st,'s');\n\t\tsc(st,'t');\n\t\tsc(st,'u');\n\t\tsc(st,'v');\n\t\tsc(st,'w');\n\t\tsc(st,'x');\n\t\tsc(st,'y');\n\t\tsc(st,'z');\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile (scan.hasNextLine()) {\n\t\t\tString st = scan.nextLine();\n\t\t\tsb.append(st);\n\t\t}\n\t\tString st = sb.toString();\n\n\t\tsc(st,'a');\n\t\tsc(st,'b');\n\t\tsc(st,'c');\n\t\tsc(st,'d');\n\t\tsc(st,'e');\n\t\tsc(st,'f');\n\t\tsc(st,'g');\n\t\tsc(st,'h');\n\t\tsc(st,'i');\n\t\tsc(st,'j');\n\t\tsc(st,'k');\n\t\tsc(st,'l');\n\t\tsc(st,'m');\n\t\tsc(st,'n');\n\t\tsc(st,'o');\n\t\tsc(st,'p');\n\t\tsc(st,'q');\n\t\tsc(st,'r');\n\t\tsc(st,'s');\n\t\tsc(st,'t');\n\t\tsc(st,'u');\n\t\tsc(st,'v');\n\t\tsc(st,'w');\n\t\tsc(st,'x');\n\t\tsc(st,'y');\n\t\tsc(st,'z');\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (scan.hasNextLine()) {\n\t\t\tString st = scan.nextLine();\n\t\t\tsb.append(st);\n\t\t}",
"scan.hasNextLine()",
"scan.hasNextLine",
"scan",
"{\n\t\t\tString st = scan.nextLine();\n\t\t\tsb.append(st);\n\t\t}",
"String st = scan.nextLine();",
"st",
"scan.nextLine()",
"scan.nextLine",
"scan",
"sb.append(st)",
"sb.append",
"sb",
"st",
"String st = sb.toString();",
"st",
"sb.toString()",
"sb.toString",
"sb",
"sc(st,'a')",
"sc",
"st",
"'a'",
"sc(st,'b')",
"sc",
"st",
"'b'",
"sc(st,'c')",
"sc",
"st",
"'c'",
"sc(st,'d')",
"sc",
"st",
"'d'",
"sc(st,'e')",
"sc",
"st",
"'e'",
"sc(st,'f')",
"sc",
"st",
"'f'",
"sc(st,'g')",
"sc",
"st",
"'g'",
"sc(st,'h')",
"sc",
"st",
"'h'",
"sc(st,'i')",
"sc",
"st",
"'i'",
"sc(st,'j')",
"sc",
"st",
"'j'",
"sc(st,'k')",
"sc",
"st",
"'k'",
"sc(st,'l')",
"sc",
"st",
"'l'",
"sc(st,'m')",
"sc",
"st",
"'m'",
"sc(st,'n')",
"sc",
"st",
"'n'",
"sc(st,'o')",
"sc",
"st",
"'o'",
"sc(st,'p')",
"sc",
"st",
"'p'",
"sc(st,'q')",
"sc",
"st",
"'q'",
"sc(st,'r')",
"sc",
"st",
"'r'",
"sc(st,'s')",
"sc",
"st",
"'s'",
"sc(st,'t')",
"sc",
"st",
"'t'",
"sc(st,'u')",
"sc",
"st",
"'u'",
"sc(st,'v')",
"sc",
"st",
"'v'",
"sc(st,'w')",
"sc",
"st",
"'w'",
"sc(st,'x')",
"sc",
"st",
"'x'",
"sc(st,'y')",
"sc",
"st",
"'y'",
"sc(st,'z')",
"sc",
"st",
"'z'",
"String[] args",
"args",
"static void sc(String st,char cha) {\n\t\tint count = 0;\n\t\tfor ( int i = 0; i < st.length(); i++) {\n\t\t\tif ( cha == st.charAt(i) ||\n\t\t\t\t\tCharacter.toUpperCase(cha) == st.charAt(i) ) {count++;}\n\t\t}\n\t\tSystem.out.println(cha + \" : \" + count);\n\t}",
"sc",
"{\n\t\tint count = 0;\n\t\tfor ( int i = 0; i < st.length(); i++) {\n\t\t\tif ( cha == st.charAt(i) ||\n\t\t\t\t\tCharacter.toUpperCase(cha) == st.charAt(i) ) {count++;}\n\t\t}\n\t\tSystem.out.println(cha + \" : \" + count);\n\t}",
"int count = 0;",
"count",
"0",
"for ( int i = 0; i < st.length(); i++) {\n\t\t\tif ( cha == st.charAt(i) ||\n\t\t\t\t\tCharacter.toUpperCase(cha) == st.charAt(i) ) {count++;}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < st.length()",
"i",
"st.length()",
"st.length",
"st",
"i++",
"i++",
"i",
"{\n\t\t\tif ( cha == st.charAt(i) ||\n\t\t\t\t\tCharacter.toUpperCase(cha) == st.charAt(i) ) {count++;}\n\t\t}",
"{\n\t\t\tif ( cha == st.charAt(i) ||\n\t\t\t\t\tCharacter.toUpperCase(cha) == st.charAt(i) ) {count++;}\n\t\t}",
"if ( cha == st.charAt(i) ||\n\t\t\t\t\tCharacter.toUpperCase(cha) == st.charAt(i) ) {count++;}",
"cha == st.charAt(i) ||\n\t\t\t\t\tCharacter.toUpperCase(cha) == st.charAt(i)",
"cha == st.charAt(i)",
"cha",
"st.charAt(i)",
"st.charAt",
"st",
"i",
"Character.toUpperCase(cha) == st.charAt(i)",
"Character.toUpperCase(cha)",
"Character.toUpperCase",
"Character",
"cha",
"st.charAt(i)",
"st.charAt",
"st",
"i",
"{count++;}",
"count++",
"count",
"System.out.println(cha + \" : \" + count)",
"System.out.println",
"System.out",
"System",
"System.out",
"cha + \" : \" + count",
"cha + \" : \" + count",
"cha",
"\" : \"",
"count",
"String st",
"st",
"char cha",
"cha",
"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\tStringBuilder sb = new StringBuilder();\n\n\t\twhile (scan.hasNextLine()) {\n\t\t\tString st = scan.nextLine();\n\t\t\tsb.append(st);\n\t\t}\n\t\tString st = sb.toString();\n\n\t\tsc(st,'a');\n\t\tsc(st,'b');\n\t\tsc(st,'c');\n\t\tsc(st,'d');\n\t\tsc(st,'e');\n\t\tsc(st,'f');\n\t\tsc(st,'g');\n\t\tsc(st,'h');\n\t\tsc(st,'i');\n\t\tsc(st,'j');\n\t\tsc(st,'k');\n\t\tsc(st,'l');\n\t\tsc(st,'m');\n\t\tsc(st,'n');\n\t\tsc(st,'o');\n\t\tsc(st,'p');\n\t\tsc(st,'q');\n\t\tsc(st,'r');\n\t\tsc(st,'s');\n\t\tsc(st,'t');\n\t\tsc(st,'u');\n\t\tsc(st,'v');\n\t\tsc(st,'w');\n\t\tsc(st,'x');\n\t\tsc(st,'y');\n\t\tsc(st,'z');\n\t}\n\tstatic void sc(String st,char cha) {\n\t\tint count = 0;\n\t\tfor ( int i = 0; i < st.length(); i++) {\n\t\t\tif ( cha == st.charAt(i) ||\n\t\t\t\t\tCharacter.toUpperCase(cha) == st.charAt(i) ) {count++;}\n\t\t}\n\t\tSystem.out.println(cha + \" : \" + count);\n\t}\n\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\tStringBuilder sb = new StringBuilder();\n\n\t\twhile (scan.hasNextLine()) {\n\t\t\tString st = scan.nextLine();\n\t\t\tsb.append(st);\n\t\t}\n\t\tString st = sb.toString();\n\n\t\tsc(st,'a');\n\t\tsc(st,'b');\n\t\tsc(st,'c');\n\t\tsc(st,'d');\n\t\tsc(st,'e');\n\t\tsc(st,'f');\n\t\tsc(st,'g');\n\t\tsc(st,'h');\n\t\tsc(st,'i');\n\t\tsc(st,'j');\n\t\tsc(st,'k');\n\t\tsc(st,'l');\n\t\tsc(st,'m');\n\t\tsc(st,'n');\n\t\tsc(st,'o');\n\t\tsc(st,'p');\n\t\tsc(st,'q');\n\t\tsc(st,'r');\n\t\tsc(st,'s');\n\t\tsc(st,'t');\n\t\tsc(st,'u');\n\t\tsc(st,'v');\n\t\tsc(st,'w');\n\t\tsc(st,'x');\n\t\tsc(st,'y');\n\t\tsc(st,'z');\n\t}\n\tstatic void sc(String st,char cha) {\n\t\tint count = 0;\n\t\tfor ( int i = 0; i < st.length(); i++) {\n\t\t\tif ( cha == st.charAt(i) ||\n\t\t\t\t\tCharacter.toUpperCase(cha) == st.charAt(i) ) {count++;}\n\t\t}\n\t\tSystem.out.println(cha + \" : \" + count);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner scan = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
while (scan.hasNextLine()) {
String st = scan.nextLine();
sb.append(st);
}
String st = sb.toString();
sc(st,'a');
sc(st,'b');
sc(st,'c');
sc(st,'d');
sc(st,'e');
sc(st,'f');
sc(st,'g');
sc(st,'h');
sc(st,'i');
sc(st,'j');
sc(st,'k');
sc(st,'l');
sc(st,'m');
sc(st,'n');
sc(st,'o');
sc(st,'p');
sc(st,'q');
sc(st,'r');
sc(st,'s');
sc(st,'t');
sc(st,'u');
sc(st,'v');
sc(st,'w');
sc(st,'x');
sc(st,'y');
sc(st,'z');
}
static void sc(String st,char cha) {
int count = 0;
for ( int i = 0; i < st.length(); i++) {
if ( cha == st.charAt(i) ||
Character.toUpperCase(cha) == st.charAt(i) ) {count++;}
}
System.out.println(cha + " : " + count);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
9,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
17,
17,
18,
13,
13,
12,
13,
30,
41,
13,
4,
18,
13,
0,
13,
8,
4,
18,
13,
18,
13,
13,
20,
0,
13,
20,
4,
13,
4,
18,
13,
41,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
158,
14
],
[
158,
15
],
[
15,
16
],
[
158,
17
],
[
17,
18
],
[
158,
19
],
[
19,
20
],
[
19,
21
],
[
158,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
158,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
158,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
34,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
34,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
34,
56
],
[
56,
57
],
[
56,
58
],
[
34,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
60,
70
],
[
70,
71
],
[
71,
72
],
[
60,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
77,
82
],
[
74,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
88,
90
],
[
83,
91
],
[
91,
92
],
[
74,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
34,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
102,
103
],
[
102,
104
],
[
97,
105
],
[
105,
106
],
[
106,
107
],
[
97,
108
],
[
109,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
116,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
116,
121
],
[
121,
122
],
[
121,
123
],
[
158,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
126,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
134,
138
],
[
138,
139
],
[
138,
140
],
[
134,
141
],
[
126,
142
],
[
142,
143
],
[
142,
144
],
[
126,
145
],
[
145,
146
],
[
126,
147
],
[
147,
148
],
[
148,
149
],
[
126,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
124,
155
],
[
155,
156
],
[
0,
157
],
[
157,
158
],
[
157,
159
]
]
| [
"import java.io.ByteArrayInputStream;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\npublic class Main {\n\n static InputStream is;\n static PrintWriter out;\n static String INPUT = \"\";\n\n final int INF = Integer.MAX_VALUE;\n final int MIN = Integer.MIN_VALUE;\n\n static void solve() {\n Scanner sc = new Scanner(System.in);\n String line = \"\";\n while (sc.hasNext()) {\n line += sc.nextLine();\n }\n line = line.toLowerCase();\n\n int[] res = new int[26];\n for (int i = 0; i < line.length(); i++) {\n int a = ((int)line.charAt(i)) - 97;\n if (a >= 28 || a < 0) {\n continue;\n }\n res[a]++;\n }\n for (int i = 0; i < 26; i++) {\n System.out.println((char) (i + 97) + \" : \" + res[i]);\n }\n }\n\n public static void main(String[] args) throws Exception {\n long S = System.currentTimeMillis();\n is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n out = new PrintWriter(System.out);\n\n solve();\n out.flush();\n long G = System.currentTimeMillis();\n }\n}",
"import java.io.ByteArrayInputStream;",
"ByteArrayInputStream",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n static InputStream is;\n static PrintWriter out;\n static String INPUT = \"\";\n\n final int INF = Integer.MAX_VALUE;\n final int MIN = Integer.MIN_VALUE;\n\n static void solve() {\n Scanner sc = new Scanner(System.in);\n String line = \"\";\n while (sc.hasNext()) {\n line += sc.nextLine();\n }\n line = line.toLowerCase();\n\n int[] res = new int[26];\n for (int i = 0; i < line.length(); i++) {\n int a = ((int)line.charAt(i)) - 97;\n if (a >= 28 || a < 0) {\n continue;\n }\n res[a]++;\n }\n for (int i = 0; i < 26; i++) {\n System.out.println((char) (i + 97) + \" : \" + res[i]);\n }\n }\n\n public static void main(String[] args) throws Exception {\n long S = System.currentTimeMillis();\n is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n out = new PrintWriter(System.out);\n\n solve();\n out.flush();\n long G = System.currentTimeMillis();\n }\n}",
"Main",
"static InputStream is;",
"is",
"static PrintWriter out;",
"out",
"static String INPUT = \"\";",
"INPUT",
"\"\"",
"final int INF = Integer.MAX_VALUE;",
"INF",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"final int MIN = Integer.MIN_VALUE;",
"MIN",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"static void solve() {\n Scanner sc = new Scanner(System.in);\n String line = \"\";\n while (sc.hasNext()) {\n line += sc.nextLine();\n }\n line = line.toLowerCase();\n\n int[] res = new int[26];\n for (int i = 0; i < line.length(); i++) {\n int a = ((int)line.charAt(i)) - 97;\n if (a >= 28 || a < 0) {\n continue;\n }\n res[a]++;\n }\n for (int i = 0; i < 26; i++) {\n System.out.println((char) (i + 97) + \" : \" + res[i]);\n }\n }",
"solve",
"{\n Scanner sc = new Scanner(System.in);\n String line = \"\";\n while (sc.hasNext()) {\n line += sc.nextLine();\n }\n line = line.toLowerCase();\n\n int[] res = new int[26];\n for (int i = 0; i < line.length(); i++) {\n int a = ((int)line.charAt(i)) - 97;\n if (a >= 28 || a < 0) {\n continue;\n }\n res[a]++;\n }\n for (int i = 0; i < 26; i++) {\n System.out.println((char) (i + 97) + \" : \" + res[i]);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String line = \"\";",
"line",
"\"\"",
"while (sc.hasNext()) {\n line += sc.nextLine();\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n line += sc.nextLine();\n }",
"line += sc.nextLine()",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"line = line.toLowerCase()",
"line",
"line.toLowerCase()",
"line.toLowerCase",
"line",
"int[] res = new int[26];",
"res",
"new int[26]",
"26",
"for (int i = 0; i < line.length(); i++) {\n int a = ((int)line.charAt(i)) - 97;\n if (a >= 28 || a < 0) {\n continue;\n }\n res[a]++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < line.length()",
"i",
"line.length()",
"line.length",
"line",
"i++",
"i++",
"i",
"{\n int a = ((int)line.charAt(i)) - 97;\n if (a >= 28 || a < 0) {\n continue;\n }\n res[a]++;\n }",
"{\n int a = ((int)line.charAt(i)) - 97;\n if (a >= 28 || a < 0) {\n continue;\n }\n res[a]++;\n }",
"int a = ((int)line.charAt(i)) - 97;",
"a",
"((int)line.charAt(i)) - 97",
"((int)line.charAt(i))",
"line.charAt",
"line",
"i",
"97",
"if (a >= 28 || a < 0) {\n continue;\n }",
"a >= 28 || a < 0",
"a >= 28",
"a",
"28",
"a < 0",
"a",
"0",
"{\n continue;\n }",
"continue;",
"res[a]++",
"res[a]",
"res",
"a",
"for (int i = 0; i < 26; i++) {\n System.out.println((char) (i + 97) + \" : \" + res[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n System.out.println((char) (i + 97) + \" : \" + res[i]);\n }",
"{\n System.out.println((char) (i + 97) + \" : \" + res[i]);\n }",
"System.out.println((char) (i + 97) + \" : \" + res[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char) (i + 97) + \" : \" + res[i]",
"(char) (i + 97) + \" : \" + res[i]",
"(char) (i + 97)",
"i",
"97",
"\" : \"",
"res[i]",
"res",
"i",
"public static void main(String[] args) throws Exception {\n long S = System.currentTimeMillis();\n is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n out = new PrintWriter(System.out);\n\n solve();\n out.flush();\n long G = System.currentTimeMillis();\n }",
"main",
"{\n long S = System.currentTimeMillis();\n is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n out = new PrintWriter(System.out);\n\n solve();\n out.flush();\n long G = System.currentTimeMillis();\n }",
"long S = System.currentTimeMillis();",
"S",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes())",
"is",
"INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes())",
"INPUT.isEmpty()",
"INPUT.isEmpty",
"INPUT",
"System.in",
"System",
"System.in",
"new ByteArrayInputStream(INPUT.getBytes())",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"solve()",
"solve",
"out.flush()",
"out.flush",
"out",
"long G = System.currentTimeMillis();",
"G",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"String[] args",
"args",
"public class Main {\n\n static InputStream is;\n static PrintWriter out;\n static String INPUT = \"\";\n\n final int INF = Integer.MAX_VALUE;\n final int MIN = Integer.MIN_VALUE;\n\n static void solve() {\n Scanner sc = new Scanner(System.in);\n String line = \"\";\n while (sc.hasNext()) {\n line += sc.nextLine();\n }\n line = line.toLowerCase();\n\n int[] res = new int[26];\n for (int i = 0; i < line.length(); i++) {\n int a = ((int)line.charAt(i)) - 97;\n if (a >= 28 || a < 0) {\n continue;\n }\n res[a]++;\n }\n for (int i = 0; i < 26; i++) {\n System.out.println((char) (i + 97) + \" : \" + res[i]);\n }\n }\n\n public static void main(String[] args) throws Exception {\n long S = System.currentTimeMillis();\n is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n out = new PrintWriter(System.out);\n\n solve();\n out.flush();\n long G = System.currentTimeMillis();\n }\n}",
"public class Main {\n\n static InputStream is;\n static PrintWriter out;\n static String INPUT = \"\";\n\n final int INF = Integer.MAX_VALUE;\n final int MIN = Integer.MIN_VALUE;\n\n static void solve() {\n Scanner sc = new Scanner(System.in);\n String line = \"\";\n while (sc.hasNext()) {\n line += sc.nextLine();\n }\n line = line.toLowerCase();\n\n int[] res = new int[26];\n for (int i = 0; i < line.length(); i++) {\n int a = ((int)line.charAt(i)) - 97;\n if (a >= 28 || a < 0) {\n continue;\n }\n res[a]++;\n }\n for (int i = 0; i < 26; i++) {\n System.out.println((char) (i + 97) + \" : \" + res[i]);\n }\n }\n\n public static void main(String[] args) throws Exception {\n long S = System.currentTimeMillis();\n is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n out = new PrintWriter(System.out);\n\n solve();\n out.flush();\n long G = System.currentTimeMillis();\n }\n}",
"Main"
]
| import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;
public class Main {
static InputStream is;
static PrintWriter out;
static String INPUT = "";
final int INF = Integer.MAX_VALUE;
final int MIN = Integer.MIN_VALUE;
static void solve() {
Scanner sc = new Scanner(System.in);
String line = "";
while (sc.hasNext()) {
line += sc.nextLine();
}
line = line.toLowerCase();
int[] res = new int[26];
for (int i = 0; i < line.length(); i++) {
int a = ((int)line.charAt(i)) - 97;
if (a >= 28 || a < 0) {
continue;
}
res[a]++;
}
for (int i = 0; i < 26; i++) {
System.out.println((char) (i + 97) + " : " + res[i]);
}
}
public static void main(String[] args) throws Exception {
long S = System.currentTimeMillis();
is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());
out = new PrintWriter(System.out);
solve();
out.flush();
long G = System.currentTimeMillis();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
20,
17,
38,
5,
13,
30,
4,
18,
13,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
13,
2,
17,
13,
2,
13,
2,
17,
13,
30,
0,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
13,
17,
17,
18,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
14,
22
],
[
22,
23
],
[
22,
24
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
26,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
43,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
57,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
64,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
78,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
77,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
33,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
100,
101
],
[
100,
102
],
[
95,
103
],
[
103,
104
],
[
104,
105
],
[
95,
106
],
[
107,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
114,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
114,
119
],
[
119,
120
],
[
119,
121
],
[
12,
122
],
[
122,
123
]
]
| [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\n\nclass Main {\n public static void main(String[] args) {\n BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n String line;\n int c;\n int[] amounts = new int[26];\n\n try {\n while ((line = buf.readLine()) != null) {\n for (int j = 0; j < line.length(); j++) {\n c = (int)line.charAt(j);\n for (int i = 0; i < 26; i++) {\n if (c == 97 + i || c == 65 + i) { // 97+の方で小文字と、65+の方で大文字との合致を判定\n amounts[i] += 1;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) {\n System.out.println((char)(i + 97) + \" : \" + amounts[i]);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"class Main {\n public static void main(String[] args) {\n BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n String line;\n int c;\n int[] amounts = new int[26];\n\n try {\n while ((line = buf.readLine()) != null) {\n for (int j = 0; j < line.length(); j++) {\n c = (int)line.charAt(j);\n for (int i = 0; i < 26; i++) {\n if (c == 97 + i || c == 65 + i) { // 97+の方で小文字と、65+の方で大文字との合致を判定\n amounts[i] += 1;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) {\n System.out.println((char)(i + 97) + \" : \" + amounts[i]);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n String line;\n int c;\n int[] amounts = new int[26];\n\n try {\n while ((line = buf.readLine()) != null) {\n for (int j = 0; j < line.length(); j++) {\n c = (int)line.charAt(j);\n for (int i = 0; i < 26; i++) {\n if (c == 97 + i || c == 65 + i) { // 97+の方で小文字と、65+の方で大文字との合致を判定\n amounts[i] += 1;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) {\n System.out.println((char)(i + 97) + \" : \" + amounts[i]);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"main",
"{\n BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n String line;\n int c;\n int[] amounts = new int[26];\n\n try {\n while ((line = buf.readLine()) != null) {\n for (int j = 0; j < line.length(); j++) {\n c = (int)line.charAt(j);\n for (int i = 0; i < 26; i++) {\n if (c == 97 + i || c == 65 + i) { // 97+の方で小文字と、65+の方で大文字との合致を判定\n amounts[i] += 1;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) {\n System.out.println((char)(i + 97) + \" : \" + amounts[i]);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));",
"buf",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"int c;",
"c",
"int[] amounts = new int[26];",
"amounts",
"new int[26]",
"26",
"try {\n while ((line = buf.readLine()) != null) {\n for (int j = 0; j < line.length(); j++) {\n c = (int)line.charAt(j);\n for (int i = 0; i < 26; i++) {\n if (c == 97 + i || c == 65 + i) { // 97+の方で小文字と、65+の方で大文字との合致を判定\n amounts[i] += 1;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) {\n System.out.println((char)(i + 97) + \" : \" + amounts[i]);\n }\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 while ((line = buf.readLine()) != null) {\n for (int j = 0; j < line.length(); j++) {\n c = (int)line.charAt(j);\n for (int i = 0; i < 26; i++) {\n if (c == 97 + i || c == 65 + i) { // 97+の方で小文字と、65+の方で大文字との合致を判定\n amounts[i] += 1;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) {\n System.out.println((char)(i + 97) + \" : \" + amounts[i]);\n }\n }",
"while ((line = buf.readLine()) != null) {\n for (int j = 0; j < line.length(); j++) {\n c = (int)line.charAt(j);\n for (int i = 0; i < 26; i++) {\n if (c == 97 + i || c == 65 + i) { // 97+の方で小文字と、65+の方で大文字との合致を判定\n amounts[i] += 1;\n }\n }\n }\n }",
"(line = buf.readLine()) != null",
"(line = buf.readLine())",
"line",
"buf.readLine()",
"buf.readLine",
"buf",
"null",
"{\n for (int j = 0; j < line.length(); j++) {\n c = (int)line.charAt(j);\n for (int i = 0; i < 26; i++) {\n if (c == 97 + i || c == 65 + i) { // 97+の方で小文字と、65+の方で大文字との合致を判定\n amounts[i] += 1;\n }\n }\n }\n }",
"for (int j = 0; j < line.length(); j++) {\n c = (int)line.charAt(j);\n for (int i = 0; i < 26; i++) {\n if (c == 97 + i || c == 65 + i) { // 97+の方で小文字と、65+の方で大文字との合致を判定\n amounts[i] += 1;\n }\n }\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < line.length()",
"j",
"line.length()",
"line.length",
"line",
"j++",
"j++",
"j",
"{\n c = (int)line.charAt(j);\n for (int i = 0; i < 26; i++) {\n if (c == 97 + i || c == 65 + i) { // 97+の方で小文字と、65+の方で大文字との合致を判定\n amounts[i] += 1;\n }\n }\n }",
"{\n c = (int)line.charAt(j);\n for (int i = 0; i < 26; i++) {\n if (c == 97 + i || c == 65 + i) { // 97+の方で小文字と、65+の方で大文字との合致を判定\n amounts[i] += 1;\n }\n }\n }",
"c = (int)line.charAt(j)",
"c",
"(int)line.charAt(j)",
"line.charAt",
"line",
"j",
"for (int i = 0; i < 26; i++) {\n if (c == 97 + i || c == 65 + i) { // 97+の方で小文字と、65+の方で大文字との合致を判定\n amounts[i] += 1;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n if (c == 97 + i || c == 65 + i) { // 97+の方で小文字と、65+の方で大文字との合致を判定\n amounts[i] += 1;\n }\n }",
"{\n if (c == 97 + i || c == 65 + i) { // 97+の方で小文字と、65+の方で大文字との合致を判定\n amounts[i] += 1;\n }\n }",
"if (c == 97 + i || c == 65 + i) { // 97+の方で小文字と、65+の方で大文字との合致を判定\n amounts[i] += 1;\n }",
"c == 97 + i || c == 65 + i",
"c == 97 + i",
"c",
"97 + i",
"97",
"i",
"c == 65 + i",
"c",
"65 + i",
"65",
"i",
"{ // 97+の方で小文字と、65+の方で大文字との合致を判定\n amounts[i] += 1;\n }",
"amounts[i] += 1",
"amounts[i]",
"amounts",
"i",
"1",
"for (int i = 0; i < 26; i++) {\n System.out.println((char)(i + 97) + \" : \" + amounts[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n System.out.println((char)(i + 97) + \" : \" + amounts[i]);\n }",
"{\n System.out.println((char)(i + 97) + \" : \" + amounts[i]);\n }",
"System.out.println((char)(i + 97) + \" : \" + amounts[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)(i + 97) + \" : \" + amounts[i]",
"(char)(i + 97) + \" : \" + amounts[i]",
"(char)(i + 97)",
"i",
"97",
"\" : \"",
"amounts[i]",
"amounts",
"i",
"String[] args",
"args"
]
| import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
class Main {
public static void main(String[] args) {
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
String line;
int c;
int[] amounts = new int[26];
try {
while ((line = buf.readLine()) != null) {
for (int j = 0; j < line.length(); j++) {
c = (int)line.charAt(j);
for (int i = 0; i < 26; i++) {
if (c == 97 + i || c == 65 + i) { // 97+の方で小文字と、65+の方で大文字との合致を判定
amounts[i] += 1;
}
}
}
}
for (int i = 0; i < 26; i++) {
System.out.println((char)(i + 97) + " : " + amounts[i]);
}
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
13,
17,
41,
13,
20,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
4,
18,
13,
13,
14,
4,
18,
13,
13,
30,
4,
18,
13,
13,
2,
4,
18,
13,
13,
17,
28,
13,
4,
18,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
17,
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
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
23,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
31,
35
],
[
14,
36
],
[
36,
37
],
[
36,
38
],
[
14,
39
],
[
39,
40
],
[
39,
41
],
[
14,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
43,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
51,
61
],
[
61,
62
],
[
62,
63
],
[
51,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
68,
73
],
[
65,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
74,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
80,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
84,
89
],
[
14,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
90,
95
],
[
96,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
103,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
103,
107
],
[
103,
108
],
[
108,
109
],
[
109,
110
],
[
12,
111
],
[
111,
112
]
]
| [
"/* package whatever; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\nclass Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tMap<Character, Integer> map = new TreeMap<Character, Integer>();\n\n\t\tfor (char c = 'a'; c <= 'z'; c++) {\n\t\t\tmap.put(c, 0);\n\t\t}\n\n\t\tBufferedReader br =\n new BufferedReader(new InputStreamReader(System.in));\n\n String line = \"\";\n\t while ((line = br.readLine()) != null) {\n\t\t\tfor (int i = 0; i < line.length(); i++) {\n\t\t\t\tchar c = line.toLowerCase().charAt(i);\n\t\t\t\tif (map.containsKey(c)) {\n\t \t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}\n\t\t\t}\t \t\n\t }\n\n\t\tfor (Map.Entry<Character, Integer> entry: map.entrySet()) {\n\t\t\tSystem.out.println(entry.getKey() + \" : \" + entry.getValue());\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tMap<Character, Integer> map = new TreeMap<Character, Integer>();\n\n\t\tfor (char c = 'a'; c <= 'z'; c++) {\n\t\t\tmap.put(c, 0);\n\t\t}\n\n\t\tBufferedReader br =\n new BufferedReader(new InputStreamReader(System.in));\n\n String line = \"\";\n\t while ((line = br.readLine()) != null) {\n\t\t\tfor (int i = 0; i < line.length(); i++) {\n\t\t\t\tchar c = line.toLowerCase().charAt(i);\n\t\t\t\tif (map.containsKey(c)) {\n\t \t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}\n\t\t\t}\t \t\n\t }\n\n\t\tfor (Map.Entry<Character, Integer> entry: map.entrySet()) {\n\t\t\tSystem.out.println(entry.getKey() + \" : \" + entry.getValue());\n\t\t}\n\t}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tMap<Character, Integer> map = new TreeMap<Character, Integer>();\n\n\t\tfor (char c = 'a'; c <= 'z'; c++) {\n\t\t\tmap.put(c, 0);\n\t\t}\n\n\t\tBufferedReader br =\n new BufferedReader(new InputStreamReader(System.in));\n\n String line = \"\";\n\t while ((line = br.readLine()) != null) {\n\t\t\tfor (int i = 0; i < line.length(); i++) {\n\t\t\t\tchar c = line.toLowerCase().charAt(i);\n\t\t\t\tif (map.containsKey(c)) {\n\t \t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}\n\t\t\t}\t \t\n\t }\n\n\t\tfor (Map.Entry<Character, Integer> entry: map.entrySet()) {\n\t\t\tSystem.out.println(entry.getKey() + \" : \" + entry.getValue());\n\t\t}\n\t}",
"main",
"{\n\t\tMap<Character, Integer> map = new TreeMap<Character, Integer>();\n\n\t\tfor (char c = 'a'; c <= 'z'; c++) {\n\t\t\tmap.put(c, 0);\n\t\t}\n\n\t\tBufferedReader br =\n new BufferedReader(new InputStreamReader(System.in));\n\n String line = \"\";\n\t while ((line = br.readLine()) != null) {\n\t\t\tfor (int i = 0; i < line.length(); i++) {\n\t\t\t\tchar c = line.toLowerCase().charAt(i);\n\t\t\t\tif (map.containsKey(c)) {\n\t \t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}\n\t\t\t}\t \t\n\t }\n\n\t\tfor (Map.Entry<Character, Integer> entry: map.entrySet()) {\n\t\t\tSystem.out.println(entry.getKey() + \" : \" + entry.getValue());\n\t\t}\n\t}",
"Map<Character, Integer> map = new TreeMap<Character, Integer>();",
"map",
"new TreeMap<Character, Integer>()",
"for (char c = 'a'; c <= 'z'; c++) {\n\t\t\tmap.put(c, 0);\n\t\t}",
"char c = 'a';",
"char c = 'a';",
"c",
"'a'",
"c <= 'z'",
"c",
"'z'",
"c++",
"c++",
"c",
"{\n\t\t\tmap.put(c, 0);\n\t\t}",
"{\n\t\t\tmap.put(c, 0);\n\t\t}",
"map.put(c, 0)",
"map.put",
"map",
"c",
"0",
"BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = \"\";",
"line",
"\"\"",
"while ((line = br.readLine()) != null) {\n\t\t\tfor (int i = 0; i < line.length(); i++) {\n\t\t\t\tchar c = line.toLowerCase().charAt(i);\n\t\t\t\tif (map.containsKey(c)) {\n\t \t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}\n\t\t\t}\t \t\n\t }",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tfor (int i = 0; i < line.length(); i++) {\n\t\t\t\tchar c = line.toLowerCase().charAt(i);\n\t\t\t\tif (map.containsKey(c)) {\n\t \t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}\n\t\t\t}\t \t\n\t }",
"for (int i = 0; i < line.length(); i++) {\n\t\t\t\tchar c = line.toLowerCase().charAt(i);\n\t\t\t\tif (map.containsKey(c)) {\n\t \t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < line.length()",
"i",
"line.length()",
"line.length",
"line",
"i++",
"i++",
"i",
"{\n\t\t\t\tchar c = line.toLowerCase().charAt(i);\n\t\t\t\tif (map.containsKey(c)) {\n\t \t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tchar c = line.toLowerCase().charAt(i);\n\t\t\t\tif (map.containsKey(c)) {\n\t \t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}\n\t\t\t}",
"char c = line.toLowerCase().charAt(i);",
"c",
"line.toLowerCase().charAt(i)",
"line.toLowerCase().charAt",
"line.toLowerCase()",
"line.toLowerCase",
"line",
"i",
"if (map.containsKey(c)) {\n\t \t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}",
"map.containsKey(c)",
"map.containsKey",
"map",
"c",
"{\n\t \t\t\t\tmap.put(c, map.get(c) + 1);\n\t\t\t\t}",
"map.put(c, map.get(c) + 1)",
"map.put",
"map",
"c",
"map.get(c) + 1",
"map.get(c)",
"map.get",
"map",
"c",
"1",
"for (Map.Entry<Character, Integer> entry: map.entrySet()) {\n\t\t\tSystem.out.println(entry.getKey() + \" : \" + entry.getValue());\n\t\t}",
"Map.Entry<Character, Integer> entry",
"map.entrySet()",
"map.entrySet",
"map",
"{\n\t\t\tSystem.out.println(entry.getKey() + \" : \" + entry.getValue());\n\t\t}",
"{\n\t\t\tSystem.out.println(entry.getKey() + \" : \" + entry.getValue());\n\t\t}",
"System.out.println(entry.getKey() + \" : \" + entry.getValue())",
"System.out.println",
"System.out",
"System",
"System.out",
"entry.getKey() + \" : \" + entry.getValue()",
"entry.getKey() + \" : \" + entry.getValue()",
"entry.getKey()",
"entry.getKey",
"entry",
"\" : \"",
"entry.getValue()",
"entry.getValue",
"entry",
"String[] args",
"args"
]
| /* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Main
{
public static void main (String[] args) throws java.lang.Exception
{
Map<Character, Integer> map = new TreeMap<Character, Integer>();
for (char c = 'a'; c <= 'z'; c++) {
map.put(c, 0);
}
BufferedReader br =
new BufferedReader(new InputStreamReader(System.in));
String line = "";
while ((line = br.readLine()) != null) {
for (int i = 0; i < line.length(); i++) {
char c = line.toLowerCase().charAt(i);
if (map.containsKey(c)) {
map.put(c, map.get(c) + 1);
}
}
}
for (Map.Entry<Character, Integer> entry: map.entrySet()) {
System.out.println(entry.getKey() + " : " + entry.getValue());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
4,
18,
13,
4,
18,
13,
13,
30,
41,
13,
2,
4,
18,
13,
13,
17,
40,
18,
13,
13,
14,
4,
18,
13,
4,
18,
13,
13,
30,
41,
13,
2,
4,
18,
13,
13,
17,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
17,
13,
4,
18,
18,
13,
13,
2,
2,
2,
2,
13,
17,
17,
17,
18,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
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
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
52,
57
],
[
49,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
41,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
73,
78
],
[
70,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
83,
93
],
[
93,
94
],
[
94,
95
],
[
83,
96
],
[
97,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
97,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
111,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
109,
115
],
[
111,
116
],
[
116,
117
],
[
116,
118
],
[
6,
119
],
[
119,
120
]
]
| [
"//8-C\nimport java.util.Scanner;\n\nclass Main {\n public static void main(String [] args){\n \t\n \tScanner sc = new Scanner(System.in);\n \t\n \tint[] count = new int[26];\n \t\n \twhile(sc.hasNext()){\n \t\t\n \t\t String moji = sc.next();\n \t\n\t \t for(int i = 0; i < moji.length(); ++i){\n\t \t\t \n\t if(Character.isLowerCase(moji.charAt(i))){\n\t \n\t \t int num = moji.charAt(i) - 'a';\n\t \t count[num]++;\n\t \t \n\t }else if(Character.isUpperCase(moji.charAt(i))){\n\t \t \n\t \t int num = moji.charAt(i) - 'A';\n\t \t count[num]++;\n\t \t \n\t }\n\t }\n \t}\n \n \t for(int i = 0 ; i < count.length ; i++ ){\n \t\t \n \t\t //0-25 a-z が対応しているの。0=a 1=b 2=c\n \t\t //('a' + i)この部分が書き方\n \t\t //'a'は小文字のアルファベットに対応\n \t\t //もし'A'なら大文字のアルファベットがでてくる。\n \t\t char alpha = (char)('a' + i);\n \t\t \n \t\t System.out.println(alpha + \" \" + \":\" + \" \" + count[i]);\n \t\t\n \t }\n \t\n \n\n }\n\n\t\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String [] args){\n \t\n \tScanner sc = new Scanner(System.in);\n \t\n \tint[] count = new int[26];\n \t\n \twhile(sc.hasNext()){\n \t\t\n \t\t String moji = sc.next();\n \t\n\t \t for(int i = 0; i < moji.length(); ++i){\n\t \t\t \n\t if(Character.isLowerCase(moji.charAt(i))){\n\t \n\t \t int num = moji.charAt(i) - 'a';\n\t \t count[num]++;\n\t \t \n\t }else if(Character.isUpperCase(moji.charAt(i))){\n\t \t \n\t \t int num = moji.charAt(i) - 'A';\n\t \t count[num]++;\n\t \t \n\t }\n\t }\n \t}\n \n \t for(int i = 0 ; i < count.length ; i++ ){\n \t\t \n \t\t //0-25 a-z が対応しているの。0=a 1=b 2=c\n \t\t //('a' + i)この部分が書き方\n \t\t //'a'は小文字のアルファベットに対応\n \t\t //もし'A'なら大文字のアルファベットがでてくる。\n \t\t char alpha = (char)('a' + i);\n \t\t \n \t\t System.out.println(alpha + \" \" + \":\" + \" \" + count[i]);\n \t\t\n \t }\n \t\n \n\n }\n\n\t\n}",
"Main",
"public static void main(String [] args){\n \t\n \tScanner sc = new Scanner(System.in);\n \t\n \tint[] count = new int[26];\n \t\n \twhile(sc.hasNext()){\n \t\t\n \t\t String moji = sc.next();\n \t\n\t \t for(int i = 0; i < moji.length(); ++i){\n\t \t\t \n\t if(Character.isLowerCase(moji.charAt(i))){\n\t \n\t \t int num = moji.charAt(i) - 'a';\n\t \t count[num]++;\n\t \t \n\t }else if(Character.isUpperCase(moji.charAt(i))){\n\t \t \n\t \t int num = moji.charAt(i) - 'A';\n\t \t count[num]++;\n\t \t \n\t }\n\t }\n \t}\n \n \t for(int i = 0 ; i < count.length ; i++ ){\n \t\t \n \t\t //0-25 a-z が対応しているの。0=a 1=b 2=c\n \t\t //('a' + i)この部分が書き方\n \t\t //'a'は小文字のアルファベットに対応\n \t\t //もし'A'なら大文字のアルファベットがでてくる。\n \t\t char alpha = (char)('a' + i);\n \t\t \n \t\t System.out.println(alpha + \" \" + \":\" + \" \" + count[i]);\n \t\t\n \t }\n \t\n \n\n }",
"main",
"{\n \t\n \tScanner sc = new Scanner(System.in);\n \t\n \tint[] count = new int[26];\n \t\n \twhile(sc.hasNext()){\n \t\t\n \t\t String moji = sc.next();\n \t\n\t \t for(int i = 0; i < moji.length(); ++i){\n\t \t\t \n\t if(Character.isLowerCase(moji.charAt(i))){\n\t \n\t \t int num = moji.charAt(i) - 'a';\n\t \t count[num]++;\n\t \t \n\t }else if(Character.isUpperCase(moji.charAt(i))){\n\t \t \n\t \t int num = moji.charAt(i) - 'A';\n\t \t count[num]++;\n\t \t \n\t }\n\t }\n \t}\n \n \t for(int i = 0 ; i < count.length ; i++ ){\n \t\t \n \t\t //0-25 a-z が対応しているの。0=a 1=b 2=c\n \t\t //('a' + i)この部分が書き方\n \t\t //'a'は小文字のアルファベットに対応\n \t\t //もし'A'なら大文字のアルファベットがでてくる。\n \t\t char alpha = (char)('a' + i);\n \t\t \n \t\t System.out.println(alpha + \" \" + \":\" + \" \" + count[i]);\n \t\t\n \t }\n \t\n \n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] count = new int[26];",
"count",
"new int[26]",
"26",
"while(sc.hasNext()){\n \t\t\n \t\t String moji = sc.next();\n \t\n\t \t for(int i = 0; i < moji.length(); ++i){\n\t \t\t \n\t if(Character.isLowerCase(moji.charAt(i))){\n\t \n\t \t int num = moji.charAt(i) - 'a';\n\t \t count[num]++;\n\t \t \n\t }else if(Character.isUpperCase(moji.charAt(i))){\n\t \t \n\t \t int num = moji.charAt(i) - 'A';\n\t \t count[num]++;\n\t \t \n\t }\n\t }\n \t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n \t\t\n \t\t String moji = sc.next();\n \t\n\t \t for(int i = 0; i < moji.length(); ++i){\n\t \t\t \n\t if(Character.isLowerCase(moji.charAt(i))){\n\t \n\t \t int num = moji.charAt(i) - 'a';\n\t \t count[num]++;\n\t \t \n\t }else if(Character.isUpperCase(moji.charAt(i))){\n\t \t \n\t \t int num = moji.charAt(i) - 'A';\n\t \t count[num]++;\n\t \t \n\t }\n\t }\n \t}",
"String moji = sc.next();",
"moji",
"sc.next()",
"sc.next",
"sc",
"for(int i = 0; i < moji.length(); ++i){\n\t \t\t \n\t if(Character.isLowerCase(moji.charAt(i))){\n\t \n\t \t int num = moji.charAt(i) - 'a';\n\t \t count[num]++;\n\t \t \n\t }else if(Character.isUpperCase(moji.charAt(i))){\n\t \t \n\t \t int num = moji.charAt(i) - 'A';\n\t \t count[num]++;\n\t \t \n\t }\n\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < moji.length()",
"i",
"moji.length()",
"moji.length",
"moji",
"++i",
"++i",
"i",
"{\n\t \t\t \n\t if(Character.isLowerCase(moji.charAt(i))){\n\t \n\t \t int num = moji.charAt(i) - 'a';\n\t \t count[num]++;\n\t \t \n\t }else if(Character.isUpperCase(moji.charAt(i))){\n\t \t \n\t \t int num = moji.charAt(i) - 'A';\n\t \t count[num]++;\n\t \t \n\t }\n\t }",
"{\n\t \t\t \n\t if(Character.isLowerCase(moji.charAt(i))){\n\t \n\t \t int num = moji.charAt(i) - 'a';\n\t \t count[num]++;\n\t \t \n\t }else if(Character.isUpperCase(moji.charAt(i))){\n\t \t \n\t \t int num = moji.charAt(i) - 'A';\n\t \t count[num]++;\n\t \t \n\t }\n\t }",
"if(Character.isLowerCase(moji.charAt(i))){\n\t \n\t \t int num = moji.charAt(i) - 'a';\n\t \t count[num]++;\n\t \t \n\t }else if(Character.isUpperCase(moji.charAt(i))){\n\t \t \n\t \t int num = moji.charAt(i) - 'A';\n\t \t count[num]++;\n\t \t \n\t }",
"Character.isLowerCase(moji.charAt(i))",
"Character.isLowerCase",
"Character",
"moji.charAt(i)",
"moji.charAt",
"moji",
"i",
"{\n\t \n\t \t int num = moji.charAt(i) - 'a';\n\t \t count[num]++;\n\t \t \n\t }",
"int num = moji.charAt(i) - 'a';",
"num",
"moji.charAt(i) - 'a'",
"moji.charAt(i)",
"moji.charAt",
"moji",
"i",
"'a'",
"count[num]++",
"count[num]",
"count",
"num",
"if(Character.isUpperCase(moji.charAt(i))){\n\t \t \n\t \t int num = moji.charAt(i) - 'A';\n\t \t count[num]++;\n\t \t \n\t }",
"Character.isUpperCase(moji.charAt(i))",
"Character.isUpperCase",
"Character",
"moji.charAt(i)",
"moji.charAt",
"moji",
"i",
"{\n\t \t \n\t \t int num = moji.charAt(i) - 'A';\n\t \t count[num]++;\n\t \t \n\t }",
"int num = moji.charAt(i) - 'A';",
"num",
"moji.charAt(i) - 'A'",
"moji.charAt(i)",
"moji.charAt",
"moji",
"i",
"'A'",
"count[num]++",
"count[num]",
"count",
"num",
"for(int i = 0 ; i < count.length ; i++ ){\n \t\t \n \t\t //0-25 a-z が対応しているの。0=a 1=b 2=c\n \t\t //('a' + i)この部分が書き方\n \t\t //'a'は小文字のアルファベットに対応\n \t\t //もし'A'なら大文字のアルファベットがでてくる。\n \t\t char alpha = (char)('a' + i);\n \t\t \n \t\t System.out.println(alpha + \" \" + \":\" + \" \" + count[i]);\n \t\t\n \t }",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < count.length",
"i",
"count.length",
"count",
"count.length",
"i++",
"i++",
"i",
"{\n \t\t \n \t\t //0-25 a-z が対応しているの。0=a 1=b 2=c\n \t\t //('a' + i)この部分が書き方\n \t\t //'a'は小文字のアルファベットに対応\n \t\t //もし'A'なら大文字のアルファベットがでてくる。\n \t\t char alpha = (char)('a' + i);\n \t\t \n \t\t System.out.println(alpha + \" \" + \":\" + \" \" + count[i]);\n \t\t\n \t }",
"{\n \t\t \n \t\t //0-25 a-z が対応しているの。0=a 1=b 2=c\n \t\t //('a' + i)この部分が書き方\n \t\t //'a'は小文字のアルファベットに対応\n \t\t //もし'A'なら大文字のアルファベットがでてくる。\n \t\t char alpha = (char)('a' + i);\n \t\t \n \t\t System.out.println(alpha + \" \" + \":\" + \" \" + count[i]);\n \t\t\n \t }",
"char alpha = (char)('a' + i);",
"alpha",
"(char)('a' + i)",
"'a'",
"i",
"System.out.println(alpha + \" \" + \":\" + \" \" + count[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"alpha + \" \" + \":\" + \" \" + count[i]",
"\" \"",
"\":\"",
"alpha + \" \" + \":\" + \" \" + count[i]",
"alpha",
"\" \"",
"\":\"",
"\" \"",
"count[i]",
"count",
"i",
"String [] args",
"args"
]
| //8-C
import java.util.Scanner;
class Main {
public static void main(String [] args){
Scanner sc = new Scanner(System.in);
int[] count = new int[26];
while(sc.hasNext()){
String moji = sc.next();
for(int i = 0; i < moji.length(); ++i){
if(Character.isLowerCase(moji.charAt(i))){
int num = moji.charAt(i) - 'a';
count[num]++;
}else if(Character.isUpperCase(moji.charAt(i))){
int num = moji.charAt(i) - 'A';
count[num]++;
}
}
}
for(int i = 0 ; i < count.length ; i++ ){
//0-25 a-z が対応しているの。0=a 1=b 2=c
//('a' + i)この部分が書き方
//'a'は小文字のアルファベットに対応
//もし'A'なら大文字のアルファベットがでてくる。
char alpha = (char)('a' + i);
System.out.println(alpha + " " + ":" + " " + count[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
20,
17,
4,
18,
13,
13,
17,
41,
13,
0,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
18,
13,
17,
13,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
13,
30,
40,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
150,
8
],
[
150,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
23,
27
],
[
11,
28
],
[
28,
29
],
[
11,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
11,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
11,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
61,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
72,
82
],
[
82,
83
],
[
83,
84
],
[
72,
85
],
[
86,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
86,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
93,
101
],
[
101,
102
],
[
102,
103
],
[
93,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
106,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
11,
117
],
[
117,
118
],
[
118,
119
],
[
11,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
120,
125
],
[
125,
126
],
[
125,
127
],
[
120,
128
],
[
128,
129
],
[
129,
130
],
[
120,
131
],
[
132,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
133,
138
],
[
139,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
139,
144
],
[
144,
145
],
[
144,
146
],
[
9,
147
],
[
147,
148
],
[
0,
149
],
[
149,
150
],
[
149,
151
]
]
| [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int [] Alp = new int[26];\n int [] count = new int[26];\n Arrays.fill(count, 0);\n int k;\n Alp[0] = 'a';\n for(int i=1;i<26;i++){\n Alp[i] = Alp[0] + i;\n }\n while(sc.hasNext()){\n String sen = sc.next();\n sen = sen.toLowerCase();\n for(int i=0;i<sen.length();i++){\n k = sen.charAt(i);\n for(int j=0;j<26;j++){\n if(Alp[j] == k){\n count[j]++;\n }\n }\n }\n }\n sc.close();\n for(int i=0;i<26;i++){\n System.out.println((char)Alp[i] + \" : \" + count[i]);\n }\n }\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int [] Alp = new int[26];\n int [] count = new int[26];\n Arrays.fill(count, 0);\n int k;\n Alp[0] = 'a';\n for(int i=1;i<26;i++){\n Alp[i] = Alp[0] + i;\n }\n while(sc.hasNext()){\n String sen = sc.next();\n sen = sen.toLowerCase();\n for(int i=0;i<sen.length();i++){\n k = sen.charAt(i);\n for(int j=0;j<26;j++){\n if(Alp[j] == k){\n count[j]++;\n }\n }\n }\n }\n sc.close();\n for(int i=0;i<26;i++){\n System.out.println((char)Alp[i] + \" : \" + count[i]);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int [] Alp = new int[26];\n int [] count = new int[26];\n Arrays.fill(count, 0);\n int k;\n Alp[0] = 'a';\n for(int i=1;i<26;i++){\n Alp[i] = Alp[0] + i;\n }\n while(sc.hasNext()){\n String sen = sc.next();\n sen = sen.toLowerCase();\n for(int i=0;i<sen.length();i++){\n k = sen.charAt(i);\n for(int j=0;j<26;j++){\n if(Alp[j] == k){\n count[j]++;\n }\n }\n }\n }\n sc.close();\n for(int i=0;i<26;i++){\n System.out.println((char)Alp[i] + \" : \" + count[i]);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int [] Alp = new int[26];\n int [] count = new int[26];\n Arrays.fill(count, 0);\n int k;\n Alp[0] = 'a';\n for(int i=1;i<26;i++){\n Alp[i] = Alp[0] + i;\n }\n while(sc.hasNext()){\n String sen = sc.next();\n sen = sen.toLowerCase();\n for(int i=0;i<sen.length();i++){\n k = sen.charAt(i);\n for(int j=0;j<26;j++){\n if(Alp[j] == k){\n count[j]++;\n }\n }\n }\n }\n sc.close();\n for(int i=0;i<26;i++){\n System.out.println((char)Alp[i] + \" : \" + count[i]);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int [] Alp = new int[26];",
"Alp",
"new int[26]",
"26",
"int [] count = new int[26];",
"count",
"new int[26]",
"26",
"Arrays.fill(count, 0)",
"Arrays.fill",
"Arrays",
"count",
"0",
"int k;",
"k",
"Alp[0] = 'a'",
"Alp[0]",
"Alp",
"0",
"'a'",
"for(int i=1;i<26;i++){\n Alp[i] = Alp[0] + i;\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n Alp[i] = Alp[0] + i;\n }",
"{\n Alp[i] = Alp[0] + i;\n }",
"Alp[i] = Alp[0] + i",
"Alp[i]",
"Alp",
"i",
"Alp[0] + i",
"Alp[0]",
"Alp",
"0",
"i",
"while(sc.hasNext()){\n String sen = sc.next();\n sen = sen.toLowerCase();\n for(int i=0;i<sen.length();i++){\n k = sen.charAt(i);\n for(int j=0;j<26;j++){\n if(Alp[j] == k){\n count[j]++;\n }\n }\n }\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n String sen = sc.next();\n sen = sen.toLowerCase();\n for(int i=0;i<sen.length();i++){\n k = sen.charAt(i);\n for(int j=0;j<26;j++){\n if(Alp[j] == k){\n count[j]++;\n }\n }\n }\n }",
"String sen = sc.next();",
"sen",
"sc.next()",
"sc.next",
"sc",
"sen = sen.toLowerCase()",
"sen",
"sen.toLowerCase()",
"sen.toLowerCase",
"sen",
"for(int i=0;i<sen.length();i++){\n k = sen.charAt(i);\n for(int j=0;j<26;j++){\n if(Alp[j] == k){\n count[j]++;\n }\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<sen.length()",
"i",
"sen.length()",
"sen.length",
"sen",
"i++",
"i++",
"i",
"{\n k = sen.charAt(i);\n for(int j=0;j<26;j++){\n if(Alp[j] == k){\n count[j]++;\n }\n }\n }",
"{\n k = sen.charAt(i);\n for(int j=0;j<26;j++){\n if(Alp[j] == k){\n count[j]++;\n }\n }\n }",
"k = sen.charAt(i)",
"k",
"sen.charAt(i)",
"sen.charAt",
"sen",
"i",
"for(int j=0;j<26;j++){\n if(Alp[j] == k){\n count[j]++;\n }\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<26",
"j",
"26",
"j++",
"j++",
"j",
"{\n if(Alp[j] == k){\n count[j]++;\n }\n }",
"{\n if(Alp[j] == k){\n count[j]++;\n }\n }",
"if(Alp[j] == k){\n count[j]++;\n }",
"Alp[j] == k",
"Alp[j]",
"Alp",
"j",
"k",
"{\n count[j]++;\n }",
"count[j]++",
"count[j]",
"count",
"j",
"sc.close()",
"sc.close",
"sc",
"for(int i=0;i<26;i++){\n System.out.println((char)Alp[i] + \" : \" + count[i]);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n System.out.println((char)Alp[i] + \" : \" + count[i]);\n }",
"{\n System.out.println((char)Alp[i] + \" : \" + count[i]);\n }",
"System.out.println((char)Alp[i] + \" : \" + count[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)Alp[i] + \" : \" + count[i]",
"(char)Alp[i] + \" : \" + count[i]",
"(char)Alp[i]",
"Alp",
"i",
"\" : \"",
"count[i]",
"count",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int [] Alp = new int[26];\n int [] count = new int[26];\n Arrays.fill(count, 0);\n int k;\n Alp[0] = 'a';\n for(int i=1;i<26;i++){\n Alp[i] = Alp[0] + i;\n }\n while(sc.hasNext()){\n String sen = sc.next();\n sen = sen.toLowerCase();\n for(int i=0;i<sen.length();i++){\n k = sen.charAt(i);\n for(int j=0;j<26;j++){\n if(Alp[j] == k){\n count[j]++;\n }\n }\n }\n }\n sc.close();\n for(int i=0;i<26;i++){\n System.out.println((char)Alp[i] + \" : \" + count[i]);\n }\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int [] Alp = new int[26];\n int [] count = new int[26];\n Arrays.fill(count, 0);\n int k;\n Alp[0] = 'a';\n for(int i=1;i<26;i++){\n Alp[i] = Alp[0] + i;\n }\n while(sc.hasNext()){\n String sen = sc.next();\n sen = sen.toLowerCase();\n for(int i=0;i<sen.length();i++){\n k = sen.charAt(i);\n for(int j=0;j<26;j++){\n if(Alp[j] == k){\n count[j]++;\n }\n }\n }\n }\n sc.close();\n for(int i=0;i<26;i++){\n System.out.println((char)Alp[i] + \" : \" + count[i]);\n }\n }\n}",
"Main"
]
| import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int [] Alp = new int[26];
int [] count = new int[26];
Arrays.fill(count, 0);
int k;
Alp[0] = 'a';
for(int i=1;i<26;i++){
Alp[i] = Alp[0] + i;
}
while(sc.hasNext()){
String sen = sc.next();
sen = sen.toLowerCase();
for(int i=0;i<sen.length();i++){
k = sen.charAt(i);
for(int j=0;j<26;j++){
if(Alp[j] == k){
count[j]++;
}
}
}
}
sc.close();
for(int i=0;i<26;i++){
System.out.println((char)Alp[i] + " : " + count[i]);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
0,
13,
13,
14,
40,
4,
18,
13,
30,
3,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
4,
18,
18,
13,
13,
18,
13,
13,
30,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
17,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
124,
5
],
[
124,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
30,
32
],
[
24,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
33,
38
],
[
38,
39
],
[
8,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
8,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
51,
61
],
[
61,
62
],
[
62,
63
],
[
51,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
74,
75
],
[
75,
76
],
[
66,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
85,
87
],
[
79,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
8,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
93,
101
],
[
101,
102
],
[
102,
103
],
[
93,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
111,
115
],
[
115,
116
],
[
115,
117
],
[
111,
118
],
[
118,
119
],
[
118,
120
],
[
6,
121
],
[
121,
122
],
[
0,
123
],
[
123,
124
],
[
123,
125
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tString alphabet[] = new String[]{\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\t\tint [] count = new int[26];\n\t\tScanner sc = new Scanner(System.in);\n\t\tString inputValues = \"\";\n\t\twhile (true) {\n\t\t\tString tmp = sc.nextLine();\n\t\t\tinputValues += tmp;\n\t\t\tif (!sc.hasNext()) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tinputValues = inputValues.toLowerCase();\n\t\tString[] strAry = inputValues.split(\"\");\n\t\tfor (int i = 0; i < strAry.length; i++) {\n\t\t\tfor (int j = 0; j < 26; j++) {\n\t\t\t\tif (strAry[i].equals(alphabet[j])) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\tSystem.out.println(String.format(\"%s : %d\", alphabet[i], count[i]));\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\tString alphabet[] = new String[]{\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\t\tint [] count = new int[26];\n\t\tScanner sc = new Scanner(System.in);\n\t\tString inputValues = \"\";\n\t\twhile (true) {\n\t\t\tString tmp = sc.nextLine();\n\t\t\tinputValues += tmp;\n\t\t\tif (!sc.hasNext()) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tinputValues = inputValues.toLowerCase();\n\t\tString[] strAry = inputValues.split(\"\");\n\t\tfor (int i = 0; i < strAry.length; i++) {\n\t\t\tfor (int j = 0; j < 26; j++) {\n\t\t\t\tif (strAry[i].equals(alphabet[j])) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\tSystem.out.println(String.format(\"%s : %d\", alphabet[i], count[i]));\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tString alphabet[] = new String[]{\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\t\tint [] count = new int[26];\n\t\tScanner sc = new Scanner(System.in);\n\t\tString inputValues = \"\";\n\t\twhile (true) {\n\t\t\tString tmp = sc.nextLine();\n\t\t\tinputValues += tmp;\n\t\t\tif (!sc.hasNext()) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tinputValues = inputValues.toLowerCase();\n\t\tString[] strAry = inputValues.split(\"\");\n\t\tfor (int i = 0; i < strAry.length; i++) {\n\t\t\tfor (int j = 0; j < 26; j++) {\n\t\t\t\tif (strAry[i].equals(alphabet[j])) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\tSystem.out.println(String.format(\"%s : %d\", alphabet[i], count[i]));\n\t\t}\n\t}",
"main",
"{\n\t\tString alphabet[] = new String[]{\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\t\tint [] count = new int[26];\n\t\tScanner sc = new Scanner(System.in);\n\t\tString inputValues = \"\";\n\t\twhile (true) {\n\t\t\tString tmp = sc.nextLine();\n\t\t\tinputValues += tmp;\n\t\t\tif (!sc.hasNext()) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tinputValues = inputValues.toLowerCase();\n\t\tString[] strAry = inputValues.split(\"\");\n\t\tfor (int i = 0; i < strAry.length; i++) {\n\t\t\tfor (int j = 0; j < 26; j++) {\n\t\t\t\tif (strAry[i].equals(alphabet[j])) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\tSystem.out.println(String.format(\"%s : %d\", alphabet[i], count[i]));\n\t\t}\n\t}",
"String alphabet[] = new String[]{\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};",
"alphabet",
"new String[]{\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"}",
"int [] count = new int[26];",
"count",
"new int[26]",
"26",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String inputValues = \"\";",
"inputValues",
"\"\"",
"while (true) {\n\t\t\tString tmp = sc.nextLine();\n\t\t\tinputValues += tmp;\n\t\t\tif (!sc.hasNext()) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tString tmp = sc.nextLine();\n\t\t\tinputValues += tmp;\n\t\t\tif (!sc.hasNext()) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"String tmp = sc.nextLine();",
"tmp",
"sc.nextLine()",
"sc.nextLine",
"sc",
"inputValues += tmp",
"inputValues",
"tmp",
"if (!sc.hasNext()) {\n\t\t\t\tbreak;\n\t\t\t}",
"!sc.hasNext()",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"inputValues = inputValues.toLowerCase()",
"inputValues",
"inputValues.toLowerCase()",
"inputValues.toLowerCase",
"inputValues",
"String[] strAry = inputValues.split(\"\");",
"strAry",
"inputValues.split(\"\")",
"inputValues.split",
"inputValues",
"\"\"",
"for (int i = 0; i < strAry.length; i++) {\n\t\t\tfor (int j = 0; j < 26; j++) {\n\t\t\t\tif (strAry[i].equals(alphabet[j])) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < strAry.length",
"i",
"strAry.length",
"strAry",
"strAry.length",
"i++",
"i++",
"i",
"{\n\t\t\tfor (int j = 0; j < 26; j++) {\n\t\t\t\tif (strAry[i].equals(alphabet[j])) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor (int j = 0; j < 26; j++) {\n\t\t\t\tif (strAry[i].equals(alphabet[j])) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for (int j = 0; j < 26; j++) {\n\t\t\t\tif (strAry[i].equals(alphabet[j])) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < 26",
"j",
"26",
"j++",
"j++",
"j",
"{\n\t\t\t\tif (strAry[i].equals(alphabet[j])) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif (strAry[i].equals(alphabet[j])) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}",
"if (strAry[i].equals(alphabet[j])) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}",
"strAry[i].equals(alphabet[j])",
"strAry[i].equals",
"strAry[i]",
"strAry",
"i",
"alphabet[j]",
"alphabet",
"j",
"{\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}",
"count[j]++",
"count[j]",
"count",
"j",
"for (int i = 0; i < 26; i++) {\n\t\t\tSystem.out.println(String.format(\"%s : %d\", alphabet[i], count[i]));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(String.format(\"%s : %d\", alphabet[i], count[i]));\n\t\t}",
"{\n\t\t\tSystem.out.println(String.format(\"%s : %d\", alphabet[i], count[i]));\n\t\t}",
"System.out.println(String.format(\"%s : %d\", alphabet[i], count[i]))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%s : %d\", alphabet[i], count[i])",
"String.format",
"String",
"\"%s : %d\"",
"alphabet[i]",
"alphabet",
"i",
"count[i]",
"count",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tString alphabet[] = new String[]{\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\t\tint [] count = new int[26];\n\t\tScanner sc = new Scanner(System.in);\n\t\tString inputValues = \"\";\n\t\twhile (true) {\n\t\t\tString tmp = sc.nextLine();\n\t\t\tinputValues += tmp;\n\t\t\tif (!sc.hasNext()) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tinputValues = inputValues.toLowerCase();\n\t\tString[] strAry = inputValues.split(\"\");\n\t\tfor (int i = 0; i < strAry.length; i++) {\n\t\t\tfor (int j = 0; j < 26; j++) {\n\t\t\t\tif (strAry[i].equals(alphabet[j])) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\tSystem.out.println(String.format(\"%s : %d\", alphabet[i], count[i]));\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tString alphabet[] = new String[]{\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\t\tint [] count = new int[26];\n\t\tScanner sc = new Scanner(System.in);\n\t\tString inputValues = \"\";\n\t\twhile (true) {\n\t\t\tString tmp = sc.nextLine();\n\t\t\tinputValues += tmp;\n\t\t\tif (!sc.hasNext()) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tinputValues = inputValues.toLowerCase();\n\t\tString[] strAry = inputValues.split(\"\");\n\t\tfor (int i = 0; i < strAry.length; i++) {\n\t\t\tfor (int j = 0; j < 26; j++) {\n\t\t\t\tif (strAry[i].equals(alphabet[j])) {\n\t\t\t\t\tcount[j]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\tSystem.out.println(String.format(\"%s : %d\", alphabet[i], count[i]));\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
String alphabet[] = new String[]{"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"};
int [] count = new int[26];
Scanner sc = new Scanner(System.in);
String inputValues = "";
while (true) {
String tmp = sc.nextLine();
inputValues += tmp;
if (!sc.hasNext()) {
break;
}
}
inputValues = inputValues.toLowerCase();
String[] strAry = inputValues.split("");
for (int i = 0; i < strAry.length; i++) {
for (int j = 0; j < 26; j++) {
if (strAry[i].equals(alphabet[j])) {
count[j]++;
}
}
}
for (int i = 0; i < 26; i++) {
System.out.println(String.format("%s : %d", alphabet[i], count[i]));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
0,
13,
2,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
28,
13,
13,
30,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
13,
0,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
33,
36
],
[
33,
37
],
[
33,
38
],
[
33,
39
],
[
33,
40
],
[
33,
41
],
[
33,
42
],
[
33,
43
],
[
33,
44
],
[
33,
45
],
[
33,
46
],
[
33,
47
],
[
33,
48
],
[
33,
49
],
[
33,
50
],
[
33,
51
],
[
33,
52
],
[
33,
53
],
[
33,
54
],
[
33,
55
],
[
33,
56
],
[
33,
57
],
[
33,
58
],
[
33,
59
],
[
8,
60
],
[
60,
61
],
[
60,
62
],
[
60,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
68,
78
],
[
78,
79
],
[
79,
80
],
[
68,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
84,
89
],
[
83,
90
],
[
90,
91
],
[
90,
92
],
[
64,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
99,
99
],
[
99,
100
],
[
99,
101
],
[
99,
102
],
[
6,
103
],
[
103,
104
]
]
| [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner in = new Scanner(System.in);\n String s = new String();\n while(in.hasNext()) s=s+in.nextLine();\n s=s.toLowerCase();\n\t\tchar[] a={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};\n for(char c:a){\n \tint r=0;\n \tfor(int i=0;i<s.length();i++){\n \tif(s.charAt(i)==c)r+=1; \n \t}\n \tSystem.out.println(c+\" : \"+r);\n }\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner in = new Scanner(System.in);\n String s = new String();\n while(in.hasNext()) s=s+in.nextLine();\n s=s.toLowerCase();\n\t\tchar[] a={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};\n for(char c:a){\n \tint r=0;\n \tfor(int i=0;i<s.length();i++){\n \tif(s.charAt(i)==c)r+=1; \n \t}\n \tSystem.out.println(c+\" : \"+r);\n }\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tScanner in = new Scanner(System.in);\n String s = new String();\n while(in.hasNext()) s=s+in.nextLine();\n s=s.toLowerCase();\n\t\tchar[] a={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};\n for(char c:a){\n \tint r=0;\n \tfor(int i=0;i<s.length();i++){\n \tif(s.charAt(i)==c)r+=1; \n \t}\n \tSystem.out.println(c+\" : \"+r);\n }\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n String s = new String();\n while(in.hasNext()) s=s+in.nextLine();\n s=s.toLowerCase();\n\t\tchar[] a={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};\n for(char c:a){\n \tint r=0;\n \tfor(int i=0;i<s.length();i++){\n \tif(s.charAt(i)==c)r+=1; \n \t}\n \tSystem.out.println(c+\" : \"+r);\n }\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String s = new String();",
"s",
"new String()",
"while(in.hasNext()) s=s+in.nextLine();",
"in.hasNext()",
"in.hasNext",
"in",
"s=s+in.nextLine()",
"s",
"s+in.nextLine()",
"s",
"in.nextLine()",
"in.nextLine",
"in",
"s=s.toLowerCase()",
"s",
"s.toLowerCase()",
"s.toLowerCase",
"s",
"char[] a={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};",
"a",
"{'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'}",
"'a'",
"'b'",
"'c'",
"'d'",
"'e'",
"'f'",
"'g'",
"'h'",
"'i'",
"'j'",
"'k'",
"'l'",
"'m'",
"'n'",
"'o'",
"'p'",
"'q'",
"'r'",
"'s'",
"'t'",
"'u'",
"'v'",
"'w'",
"'x'",
"'y'",
"'z'",
"for(char c:a){\n \tint r=0;\n \tfor(int i=0;i<s.length();i++){\n \tif(s.charAt(i)==c)r+=1; \n \t}\n \tSystem.out.println(c+\" : \"+r);\n }",
"char c",
"a",
"{\n \tint r=0;\n \tfor(int i=0;i<s.length();i++){\n \tif(s.charAt(i)==c)r+=1; \n \t}\n \tSystem.out.println(c+\" : \"+r);\n }",
"{\n \tint r=0;\n \tfor(int i=0;i<s.length();i++){\n \tif(s.charAt(i)==c)r+=1; \n \t}\n \tSystem.out.println(c+\" : \"+r);\n }",
"int r=0;",
"r",
"0",
"for(int i=0;i<s.length();i++){\n \tif(s.charAt(i)==c)r+=1; \n \t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n \tif(s.charAt(i)==c)r+=1; \n \t}",
"{\n \tif(s.charAt(i)==c)r+=1; \n \t}",
"if(s.charAt(i)==c)r+=1;",
"s.charAt(i)==c",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"c",
"r+=1",
"r",
"1",
"System.out.println(c+\" : \"+r)",
"System.out.println",
"System.out",
"System",
"System.out",
"c+\" : \"+r",
"c+\" : \"+r",
"c",
"\" : \"",
"r",
"String[] args",
"args"
]
| import java.util.Scanner;
class Main {
public static void main(String[] args) throws Exception {
Scanner in = new Scanner(System.in);
String s = new String();
while(in.hasNext()) s=s+in.nextLine();
s=s.toLowerCase();
char[] a={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};
for(char c:a){
int r=0;
for(int i=0;i<s.length();i++){
if(s.charAt(i)==c)r+=1;
}
System.out.println(c+" : "+r);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
38,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
2,
17,
2,
4,
18,
13,
13,
17,
2,
2,
4,
18,
13,
13,
17,
17,
30,
40,
18,
13,
2,
4,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
2,
13,
17,
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,
13
],
[
13,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
33,
43
],
[
43,
44
],
[
44,
45
],
[
33,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
52,
57
],
[
49,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
59,
64
],
[
58,
65
],
[
48,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
70,
75
],
[
8,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
76,
84
],
[
84,
85
],
[
85,
86
],
[
76,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
89,
95
],
[
95,
96
],
[
95,
97
],
[
89,
98
],
[
98,
99
],
[
98,
100
],
[
6,
101
],
[
101,
102
]
]
| [
"import java.util.*;\n \nclass Main {\n public static void main(String args[]) {\n int[] ans = new int[26];\n try (Scanner sc = new Scanner(System.in)) {\n while (sc.hasNextLine()) {\n String S = sc.nextLine();\n S = S.toLowerCase();\n for (int i = 0; i < S.length(); i++) {\n if (0 <= S.charAt(i) - 'a' && S.charAt(i) - 'a' < 26) {\n ans[S.charAt(i) - 'a']++;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) {\n System.out.printf(\"%c : %d\\n\", i + 'a', ans[i]);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String args[]) {\n int[] ans = new int[26];\n try (Scanner sc = new Scanner(System.in)) {\n while (sc.hasNextLine()) {\n String S = sc.nextLine();\n S = S.toLowerCase();\n for (int i = 0; i < S.length(); i++) {\n if (0 <= S.charAt(i) - 'a' && S.charAt(i) - 'a' < 26) {\n ans[S.charAt(i) - 'a']++;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) {\n System.out.printf(\"%c : %d\\n\", i + 'a', ans[i]);\n }\n }\n}",
"Main",
"public static void main(String args[]) {\n int[] ans = new int[26];\n try (Scanner sc = new Scanner(System.in)) {\n while (sc.hasNextLine()) {\n String S = sc.nextLine();\n S = S.toLowerCase();\n for (int i = 0; i < S.length(); i++) {\n if (0 <= S.charAt(i) - 'a' && S.charAt(i) - 'a' < 26) {\n ans[S.charAt(i) - 'a']++;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) {\n System.out.printf(\"%c : %d\\n\", i + 'a', ans[i]);\n }\n }",
"main",
"{\n int[] ans = new int[26];\n try (Scanner sc = new Scanner(System.in)) {\n while (sc.hasNextLine()) {\n String S = sc.nextLine();\n S = S.toLowerCase();\n for (int i = 0; i < S.length(); i++) {\n if (0 <= S.charAt(i) - 'a' && S.charAt(i) - 'a' < 26) {\n ans[S.charAt(i) - 'a']++;\n }\n }\n }\n }\n for (int i = 0; i < 26; i++) {\n System.out.printf(\"%c : %d\\n\", i + 'a', ans[i]);\n }\n }",
"int[] ans = new int[26];",
"ans",
"new int[26]",
"26",
"try (Scanner sc = new Scanner(System.in)) {\n while (sc.hasNextLine()) {\n String S = sc.nextLine();\n S = S.toLowerCase();\n for (int i = 0; i < S.length(); i++) {\n if (0 <= S.charAt(i) - 'a' && S.charAt(i) - 'a' < 26) {\n ans[S.charAt(i) - 'a']++;\n }\n }\n }\n }",
"{\n while (sc.hasNextLine()) {\n String S = sc.nextLine();\n S = S.toLowerCase();\n for (int i = 0; i < S.length(); i++) {\n if (0 <= S.charAt(i) - 'a' && S.charAt(i) - 'a' < 26) {\n ans[S.charAt(i) - 'a']++;\n }\n }\n }\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"while (sc.hasNextLine()) {\n String S = sc.nextLine();\n S = S.toLowerCase();\n for (int i = 0; i < S.length(); i++) {\n if (0 <= S.charAt(i) - 'a' && S.charAt(i) - 'a' < 26) {\n ans[S.charAt(i) - 'a']++;\n }\n }\n }",
"sc.hasNextLine()",
"sc.hasNextLine",
"sc",
"{\n String S = sc.nextLine();\n S = S.toLowerCase();\n for (int i = 0; i < S.length(); i++) {\n if (0 <= S.charAt(i) - 'a' && S.charAt(i) - 'a' < 26) {\n ans[S.charAt(i) - 'a']++;\n }\n }\n }",
"String S = sc.nextLine();",
"S",
"sc.nextLine()",
"sc.nextLine",
"sc",
"S = S.toLowerCase()",
"S",
"S.toLowerCase()",
"S.toLowerCase",
"S",
"for (int i = 0; i < S.length(); i++) {\n if (0 <= S.charAt(i) - 'a' && S.charAt(i) - 'a' < 26) {\n ans[S.charAt(i) - 'a']++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < S.length()",
"i",
"S.length()",
"S.length",
"S",
"i++",
"i++",
"i",
"{\n if (0 <= S.charAt(i) - 'a' && S.charAt(i) - 'a' < 26) {\n ans[S.charAt(i) - 'a']++;\n }\n }",
"{\n if (0 <= S.charAt(i) - 'a' && S.charAt(i) - 'a' < 26) {\n ans[S.charAt(i) - 'a']++;\n }\n }",
"if (0 <= S.charAt(i) - 'a' && S.charAt(i) - 'a' < 26) {\n ans[S.charAt(i) - 'a']++;\n }",
"0 <= S.charAt(i) - 'a' && S.charAt(i) - 'a' < 26",
"0 <= S.charAt(i) - 'a'",
"0",
"S.charAt(i) - 'a'",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"'a'",
"S.charAt(i) - 'a' < 26",
"S.charAt(i) - 'a'",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"'a'",
"26",
"{\n ans[S.charAt(i) - 'a']++;\n }",
"ans[S.charAt(i) - 'a']++",
"ans[S.charAt(i) - 'a']",
"ans",
"S.charAt(i) - 'a'",
"S.charAt(i)",
"S.charAt",
"S",
"i",
"'a'",
"for (int i = 0; i < 26; i++) {\n System.out.printf(\"%c : %d\\n\", i + 'a', ans[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n System.out.printf(\"%c : %d\\n\", i + 'a', ans[i]);\n }",
"{\n System.out.printf(\"%c : %d\\n\", i + 'a', ans[i]);\n }",
"System.out.printf(\"%c : %d\\n\", i + 'a', ans[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%c : %d\\n\"",
"i + 'a'",
"i",
"'a'",
"ans[i]",
"ans",
"i",
"String args[]",
"args"
]
| import java.util.*;
class Main {
public static void main(String args[]) {
int[] ans = new int[26];
try (Scanner sc = new Scanner(System.in)) {
while (sc.hasNextLine()) {
String S = sc.nextLine();
S = S.toLowerCase();
for (int i = 0; i < S.length(); i++) {
if (0 <= S.charAt(i) - 'a' && S.charAt(i) - 'a' < 26) {
ans[S.charAt(i) - 'a']++;
}
}
}
}
for (int i = 0; i < 26; i++) {
System.out.printf("%c : %d\n", i + 'a', ans[i]);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
17,
18,
13,
13,
2,
18,
13,
13,
17,
0,
18,
13,
13,
2,
17,
17,
14,
2,
2,
17,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
13,
18,
13,
13,
2,
4,
18,
13,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
4,
18,
13,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
144,
5
],
[
144,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
6,
15
],
[
15,
16
],
[
144,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
19,
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
],
[
39,
42
],
[
39,
43
],
[
19,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
56,
66
],
[
66,
67
],
[
67,
68
],
[
56,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
72,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
71,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
70,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
91,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
90,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
105,
106
],
[
105,
107
],
[
102,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
112,
113
],
[
112,
114
],
[
108,
115
],
[
19,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
121,
122
],
[
121,
123
],
[
116,
124
],
[
124,
125
],
[
125,
126
],
[
116,
127
],
[
128,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
134,
138
],
[
134,
139
],
[
139,
140
],
[
140,
141
],
[
139,
142
],
[
0,
143
],
[
143,
144
],
[
143,
145
]
]
| [
"import java.util.*;\n \npublic class Main {\n \n public static void main(String[] args) {\n Main main = new Main();\n main.solv();\n }\n \n private void solv() {\n Scanner input = new Scanner(System.in);\n Map<Character, Integer> map = new HashMap<Character, Integer>();\n for (char c = 'a'; c <= 'z'; c++) {\n map.put(c, 0);\n }\n while (input.hasNext()) {\n char[] cs = input.nextLine().toCharArray();\n for (int i = 0; i < cs.length; i++) {\n if ('A' <= cs[i] && cs[i] <= 'Z') cs[i] -= 'A' - 'a';\n if ('a' <= cs[i] && cs[i] <= 'z') map.put(cs[i], map.get(cs[i]) + 1);\n }\n }\n for (char c = 'a'; c <= 'z'; c++) {\n System.out.println(String.format(\"%c : %d\", c, map.get(c)));\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n \n public static void main(String[] args) {\n Main main = new Main();\n main.solv();\n }\n \n private void solv() {\n Scanner input = new Scanner(System.in);\n Map<Character, Integer> map = new HashMap<Character, Integer>();\n for (char c = 'a'; c <= 'z'; c++) {\n map.put(c, 0);\n }\n while (input.hasNext()) {\n char[] cs = input.nextLine().toCharArray();\n for (int i = 0; i < cs.length; i++) {\n if ('A' <= cs[i] && cs[i] <= 'Z') cs[i] -= 'A' - 'a';\n if ('a' <= cs[i] && cs[i] <= 'z') map.put(cs[i], map.get(cs[i]) + 1);\n }\n }\n for (char c = 'a'; c <= 'z'; c++) {\n System.out.println(String.format(\"%c : %d\", c, map.get(c)));\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Main main = new Main();\n main.solv();\n }",
"main",
"{\n Main main = new Main();\n main.solv();\n }",
"Main main = new Main();",
"main",
"new Main()",
"main.solv()",
"main.solv",
"main",
"String[] args",
"args",
"private void solv() {\n Scanner input = new Scanner(System.in);\n Map<Character, Integer> map = new HashMap<Character, Integer>();\n for (char c = 'a'; c <= 'z'; c++) {\n map.put(c, 0);\n }\n while (input.hasNext()) {\n char[] cs = input.nextLine().toCharArray();\n for (int i = 0; i < cs.length; i++) {\n if ('A' <= cs[i] && cs[i] <= 'Z') cs[i] -= 'A' - 'a';\n if ('a' <= cs[i] && cs[i] <= 'z') map.put(cs[i], map.get(cs[i]) + 1);\n }\n }\n for (char c = 'a'; c <= 'z'; c++) {\n System.out.println(String.format(\"%c : %d\", c, map.get(c)));\n }\n }",
"solv",
"{\n Scanner input = new Scanner(System.in);\n Map<Character, Integer> map = new HashMap<Character, Integer>();\n for (char c = 'a'; c <= 'z'; c++) {\n map.put(c, 0);\n }\n while (input.hasNext()) {\n char[] cs = input.nextLine().toCharArray();\n for (int i = 0; i < cs.length; i++) {\n if ('A' <= cs[i] && cs[i] <= 'Z') cs[i] -= 'A' - 'a';\n if ('a' <= cs[i] && cs[i] <= 'z') map.put(cs[i], map.get(cs[i]) + 1);\n }\n }\n for (char c = 'a'; c <= 'z'; c++) {\n System.out.println(String.format(\"%c : %d\", c, map.get(c)));\n }\n }",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"Map<Character, Integer> map = new HashMap<Character, Integer>();",
"map",
"new HashMap<Character, Integer>()",
"for (char c = 'a'; c <= 'z'; c++) {\n map.put(c, 0);\n }",
"char c = 'a';",
"char c = 'a';",
"c",
"'a'",
"c <= 'z'",
"c",
"'z'",
"c++",
"c++",
"c",
"{\n map.put(c, 0);\n }",
"{\n map.put(c, 0);\n }",
"map.put(c, 0)",
"map.put",
"map",
"c",
"0",
"while (input.hasNext()) {\n char[] cs = input.nextLine().toCharArray();\n for (int i = 0; i < cs.length; i++) {\n if ('A' <= cs[i] && cs[i] <= 'Z') cs[i] -= 'A' - 'a';\n if ('a' <= cs[i] && cs[i] <= 'z') map.put(cs[i], map.get(cs[i]) + 1);\n }\n }",
"input.hasNext()",
"input.hasNext",
"input",
"{\n char[] cs = input.nextLine().toCharArray();\n for (int i = 0; i < cs.length; i++) {\n if ('A' <= cs[i] && cs[i] <= 'Z') cs[i] -= 'A' - 'a';\n if ('a' <= cs[i] && cs[i] <= 'z') map.put(cs[i], map.get(cs[i]) + 1);\n }\n }",
"char[] cs = input.nextLine().toCharArray();",
"cs",
"input.nextLine().toCharArray()",
"input.nextLine().toCharArray",
"input.nextLine()",
"input.nextLine",
"input",
"for (int i = 0; i < cs.length; i++) {\n if ('A' <= cs[i] && cs[i] <= 'Z') cs[i] -= 'A' - 'a';\n if ('a' <= cs[i] && cs[i] <= 'z') map.put(cs[i], map.get(cs[i]) + 1);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < cs.length",
"i",
"cs.length",
"cs",
"cs.length",
"i++",
"i++",
"i",
"{\n if ('A' <= cs[i] && cs[i] <= 'Z') cs[i] -= 'A' - 'a';\n if ('a' <= cs[i] && cs[i] <= 'z') map.put(cs[i], map.get(cs[i]) + 1);\n }",
"{\n if ('A' <= cs[i] && cs[i] <= 'Z') cs[i] -= 'A' - 'a';\n if ('a' <= cs[i] && cs[i] <= 'z') map.put(cs[i], map.get(cs[i]) + 1);\n }",
"if ('A' <= cs[i] && cs[i] <= 'Z') cs[i] -= 'A' - 'a';",
"'A' <= cs[i] && cs[i] <= 'Z'",
"'A' <= cs[i]",
"'A'",
"cs[i]",
"cs",
"i",
"cs[i] <= 'Z'",
"cs[i]",
"cs",
"i",
"'Z'",
"cs[i] -= 'A' - 'a'",
"cs[i]",
"cs",
"i",
"'A' - 'a'",
"'A'",
"'a'",
"if ('a' <= cs[i] && cs[i] <= 'z') map.put(cs[i], map.get(cs[i]) + 1);",
"'a' <= cs[i] && cs[i] <= 'z'",
"'a' <= cs[i]",
"'a'",
"cs[i]",
"cs",
"i",
"cs[i] <= 'z'",
"cs[i]",
"cs",
"i",
"'z'",
"map.put(cs[i], map.get(cs[i]) + 1)",
"map.put",
"map",
"cs[i]",
"cs",
"i",
"map.get(cs[i]) + 1",
"map.get(cs[i])",
"map.get",
"map",
"cs[i]",
"cs",
"i",
"1",
"for (char c = 'a'; c <= 'z'; c++) {\n System.out.println(String.format(\"%c : %d\", c, map.get(c)));\n }",
"char c = 'a';",
"char c = 'a';",
"c",
"'a'",
"c <= 'z'",
"c",
"'z'",
"c++",
"c++",
"c",
"{\n System.out.println(String.format(\"%c : %d\", c, map.get(c)));\n }",
"{\n System.out.println(String.format(\"%c : %d\", c, map.get(c)));\n }",
"System.out.println(String.format(\"%c : %d\", c, map.get(c)))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%c : %d\", c, map.get(c))",
"String.format",
"String",
"\"%c : %d\"",
"c",
"map.get(c)",
"map.get",
"map",
"c",
"public class Main {\n \n public static void main(String[] args) {\n Main main = new Main();\n main.solv();\n }\n \n private void solv() {\n Scanner input = new Scanner(System.in);\n Map<Character, Integer> map = new HashMap<Character, Integer>();\n for (char c = 'a'; c <= 'z'; c++) {\n map.put(c, 0);\n }\n while (input.hasNext()) {\n char[] cs = input.nextLine().toCharArray();\n for (int i = 0; i < cs.length; i++) {\n if ('A' <= cs[i] && cs[i] <= 'Z') cs[i] -= 'A' - 'a';\n if ('a' <= cs[i] && cs[i] <= 'z') map.put(cs[i], map.get(cs[i]) + 1);\n }\n }\n for (char c = 'a'; c <= 'z'; c++) {\n System.out.println(String.format(\"%c : %d\", c, map.get(c)));\n }\n }\n}",
"public class Main {\n \n public static void main(String[] args) {\n Main main = new Main();\n main.solv();\n }\n \n private void solv() {\n Scanner input = new Scanner(System.in);\n Map<Character, Integer> map = new HashMap<Character, Integer>();\n for (char c = 'a'; c <= 'z'; c++) {\n map.put(c, 0);\n }\n while (input.hasNext()) {\n char[] cs = input.nextLine().toCharArray();\n for (int i = 0; i < cs.length; i++) {\n if ('A' <= cs[i] && cs[i] <= 'Z') cs[i] -= 'A' - 'a';\n if ('a' <= cs[i] && cs[i] <= 'z') map.put(cs[i], map.get(cs[i]) + 1);\n }\n }\n for (char c = 'a'; c <= 'z'; c++) {\n System.out.println(String.format(\"%c : %d\", c, map.get(c)));\n }\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Main main = new Main();
main.solv();
}
private void solv() {
Scanner input = new Scanner(System.in);
Map<Character, Integer> map = new HashMap<Character, Integer>();
for (char c = 'a'; c <= 'z'; c++) {
map.put(c, 0);
}
while (input.hasNext()) {
char[] cs = input.nextLine().toCharArray();
for (int i = 0; i < cs.length; i++) {
if ('A' <= cs[i] && cs[i] <= 'Z') cs[i] -= 'A' - 'a';
if ('a' <= cs[i] && cs[i] <= 'z') map.put(cs[i], map.get(cs[i]) + 1);
}
}
for (char c = 'a'; c <= 'z'; c++) {
System.out.println(String.format("%c : %d", c, map.get(c)));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
41,
13,
20,
17,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
13,
30,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
2,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
143,
5
],
[
143,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
14,
17
],
[
14,
18
],
[
14,
19
],
[
14,
20
],
[
14,
21
],
[
14,
22
],
[
14,
23
],
[
14,
24
],
[
14,
25
],
[
14,
26
],
[
14,
27
],
[
14,
28
],
[
14,
29
],
[
14,
30
],
[
14,
31
],
[
14,
32
],
[
14,
33
],
[
14,
34
],
[
14,
35
],
[
14,
36
],
[
14,
37
],
[
14,
38
],
[
14,
39
],
[
14,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
8,
45
],
[
45,
46
],
[
45,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
52,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
58,
68
],
[
68,
69
],
[
69,
70
],
[
58,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
72,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
72,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
90,
91
],
[
90,
92
],
[
85,
93
],
[
93,
94
],
[
94,
95
],
[
85,
96
],
[
97,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
98,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
8,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
114,
115
],
[
114,
116
],
[
109,
117
],
[
117,
118
],
[
118,
119
],
[
109,
120
],
[
121,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
122,
127
],
[
127,
128
],
[
127,
129
],
[
121,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
130,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
137,
139
],
[
6,
140
],
[
140,
141
],
[
0,
142
],
[
142,
143
],
[
142,
144
]
]
| [
"/**\n * 与えられた文字列の小文字と大文字を入れ替えるプログラムを作成してください。\n */\n\n//スキャナつかうため\n\nimport java.util.Scanner;\n\npublic class Main {\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tchar[] iremono = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',\n\t\t\t\t'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v',\n\t\t\t\t'w', 'x', 'y', 'z' };\n\t\tint[] cou = new int[26];\n\t\tint j = 0;\n\n\n\t\twhile (sc.hasNext()) {\n\t\t\tString stralf = sc.nextLine();\n\n\t\t\tfor (int i = 0; i < stralf.length(); i++) {\n\t\t\t\tchar chalf = stralf.charAt(i);\n\t\t\t\tchalf = Character.toLowerCase(chalf);\n\t\t\t\tfor (j = 0; j < 26; j++) {\n\t\t\t\t\tif (iremono[j] == chalf) {\n\t\t\t\t\t\tcou[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int k = 0; k < 26; k++) {\n\t\t\tSystem.out.print(iremono[k]);\n\t\t\tSystem.out.println(\" : \" + cou[k]);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tchar[] iremono = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',\n\t\t\t\t'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v',\n\t\t\t\t'w', 'x', 'y', 'z' };\n\t\tint[] cou = new int[26];\n\t\tint j = 0;\n\n\n\t\twhile (sc.hasNext()) {\n\t\t\tString stralf = sc.nextLine();\n\n\t\t\tfor (int i = 0; i < stralf.length(); i++) {\n\t\t\t\tchar chalf = stralf.charAt(i);\n\t\t\t\tchalf = Character.toLowerCase(chalf);\n\t\t\t\tfor (j = 0; j < 26; j++) {\n\t\t\t\t\tif (iremono[j] == chalf) {\n\t\t\t\t\t\tcou[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int k = 0; k < 26; k++) {\n\t\t\tSystem.out.print(iremono[k]);\n\t\t\tSystem.out.println(\" : \" + cou[k]);\n\t\t}\n\t}\n}",
"Main",
"// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tchar[] iremono = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',\n\t\t\t\t'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v',\n\t\t\t\t'w', 'x', 'y', 'z' };\n\t\tint[] cou = new int[26];\n\t\tint j = 0;\n\n\n\t\twhile (sc.hasNext()) {\n\t\t\tString stralf = sc.nextLine();\n\n\t\t\tfor (int i = 0; i < stralf.length(); i++) {\n\t\t\t\tchar chalf = stralf.charAt(i);\n\t\t\t\tchalf = Character.toLowerCase(chalf);\n\t\t\t\tfor (j = 0; j < 26; j++) {\n\t\t\t\t\tif (iremono[j] == chalf) {\n\t\t\t\t\t\tcou[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int k = 0; k < 26; k++) {\n\t\t\tSystem.out.print(iremono[k]);\n\t\t\tSystem.out.println(\" : \" + cou[k]);\n\t\t}\n\t}",
"main",
"{\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tchar[] iremono = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',\n\t\t\t\t'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v',\n\t\t\t\t'w', 'x', 'y', 'z' };\n\t\tint[] cou = new int[26];\n\t\tint j = 0;\n\n\n\t\twhile (sc.hasNext()) {\n\t\t\tString stralf = sc.nextLine();\n\n\t\t\tfor (int i = 0; i < stralf.length(); i++) {\n\t\t\t\tchar chalf = stralf.charAt(i);\n\t\t\t\tchalf = Character.toLowerCase(chalf);\n\t\t\t\tfor (j = 0; j < 26; j++) {\n\t\t\t\t\tif (iremono[j] == chalf) {\n\t\t\t\t\t\tcou[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int k = 0; k < 26; k++) {\n\t\t\tSystem.out.print(iremono[k]);\n\t\t\tSystem.out.println(\" : \" + cou[k]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"char[] iremono = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',\n\t\t\t\t'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v',\n\t\t\t\t'w', 'x', 'y', 'z' };",
"iremono",
"{ 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',\n\t\t\t\t'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v',\n\t\t\t\t'w', 'x', 'y', 'z' }",
"'a'",
"'b'",
"'c'",
"'d'",
"'e'",
"'f'",
"'g'",
"'h'",
"'i'",
"'j'",
"'k'",
"'l'",
"'m'",
"'n'",
"'o'",
"'p'",
"'q'",
"'r'",
"'s'",
"'t'",
"'u'",
"'v'",
"'w'",
"'x'",
"'y'",
"'z'",
"int[] cou = new int[26];",
"cou",
"new int[26]",
"26",
"int j = 0;",
"j",
"0",
"while (sc.hasNext()) {\n\t\t\tString stralf = sc.nextLine();\n\n\t\t\tfor (int i = 0; i < stralf.length(); i++) {\n\t\t\t\tchar chalf = stralf.charAt(i);\n\t\t\t\tchalf = Character.toLowerCase(chalf);\n\t\t\t\tfor (j = 0; j < 26; j++) {\n\t\t\t\t\tif (iremono[j] == chalf) {\n\t\t\t\t\t\tcou[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tString stralf = sc.nextLine();\n\n\t\t\tfor (int i = 0; i < stralf.length(); i++) {\n\t\t\t\tchar chalf = stralf.charAt(i);\n\t\t\t\tchalf = Character.toLowerCase(chalf);\n\t\t\t\tfor (j = 0; j < 26; j++) {\n\t\t\t\t\tif (iremono[j] == chalf) {\n\t\t\t\t\t\tcou[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"String stralf = sc.nextLine();",
"stralf",
"sc.nextLine()",
"sc.nextLine",
"sc",
"for (int i = 0; i < stralf.length(); i++) {\n\t\t\t\tchar chalf = stralf.charAt(i);\n\t\t\t\tchalf = Character.toLowerCase(chalf);\n\t\t\t\tfor (j = 0; j < 26; j++) {\n\t\t\t\t\tif (iremono[j] == chalf) {\n\t\t\t\t\t\tcou[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < stralf.length()",
"i",
"stralf.length()",
"stralf.length",
"stralf",
"i++",
"i++",
"i",
"{\n\t\t\t\tchar chalf = stralf.charAt(i);\n\t\t\t\tchalf = Character.toLowerCase(chalf);\n\t\t\t\tfor (j = 0; j < 26; j++) {\n\t\t\t\t\tif (iremono[j] == chalf) {\n\t\t\t\t\t\tcou[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tchar chalf = stralf.charAt(i);\n\t\t\t\tchalf = Character.toLowerCase(chalf);\n\t\t\t\tfor (j = 0; j < 26; j++) {\n\t\t\t\t\tif (iremono[j] == chalf) {\n\t\t\t\t\t\tcou[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"char chalf = stralf.charAt(i);",
"chalf",
"stralf.charAt(i)",
"stralf.charAt",
"stralf",
"i",
"chalf = Character.toLowerCase(chalf)",
"chalf",
"Character.toLowerCase(chalf)",
"Character.toLowerCase",
"Character",
"chalf",
"for (j = 0; j < 26; j++) {\n\t\t\t\t\tif (iremono[j] == chalf) {\n\t\t\t\t\t\tcou[j]++;\n\t\t\t\t\t}\n\t\t\t\t}",
"j = 0;",
"j = 0",
"j",
"0",
"j < 26",
"j",
"26",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tif (iremono[j] == chalf) {\n\t\t\t\t\t\tcou[j]++;\n\t\t\t\t\t}\n\t\t\t\t}",
"{\n\t\t\t\t\tif (iremono[j] == chalf) {\n\t\t\t\t\t\tcou[j]++;\n\t\t\t\t\t}\n\t\t\t\t}",
"if (iremono[j] == chalf) {\n\t\t\t\t\t\tcou[j]++;\n\t\t\t\t\t}",
"iremono[j] == chalf",
"iremono[j]",
"iremono",
"j",
"chalf",
"{\n\t\t\t\t\t\tcou[j]++;\n\t\t\t\t\t}",
"cou[j]++",
"cou[j]",
"cou",
"j",
"for (int k = 0; k < 26; k++) {\n\t\t\tSystem.out.print(iremono[k]);\n\t\t\tSystem.out.println(\" : \" + cou[k]);\n\t\t}",
"int k = 0;",
"int k = 0;",
"k",
"0",
"k < 26",
"k",
"26",
"k++",
"k++",
"k",
"{\n\t\t\tSystem.out.print(iremono[k]);\n\t\t\tSystem.out.println(\" : \" + cou[k]);\n\t\t}",
"{\n\t\t\tSystem.out.print(iremono[k]);\n\t\t\tSystem.out.println(\" : \" + cou[k]);\n\t\t}",
"System.out.print(iremono[k])",
"System.out.print",
"System.out",
"System",
"System.out",
"iremono[k]",
"iremono",
"k",
"System.out.println(\" : \" + cou[k])",
"System.out.println",
"System.out",
"System",
"System.out",
"\" : \" + cou[k]",
"\" : \"",
"cou[k]",
"cou",
"k",
"String[] args",
"args",
"public class Main {\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tchar[] iremono = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',\n\t\t\t\t'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v',\n\t\t\t\t'w', 'x', 'y', 'z' };\n\t\tint[] cou = new int[26];\n\t\tint j = 0;\n\n\n\t\twhile (sc.hasNext()) {\n\t\t\tString stralf = sc.nextLine();\n\n\t\t\tfor (int i = 0; i < stralf.length(); i++) {\n\t\t\t\tchar chalf = stralf.charAt(i);\n\t\t\t\tchalf = Character.toLowerCase(chalf);\n\t\t\t\tfor (j = 0; j < 26; j++) {\n\t\t\t\t\tif (iremono[j] == chalf) {\n\t\t\t\t\t\tcou[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int k = 0; k < 26; k++) {\n\t\t\tSystem.out.print(iremono[k]);\n\t\t\tSystem.out.println(\" : \" + cou[k]);\n\t\t}\n\t}\n}",
"public class Main {\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tchar[] iremono = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',\n\t\t\t\t'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v',\n\t\t\t\t'w', 'x', 'y', 'z' };\n\t\tint[] cou = new int[26];\n\t\tint j = 0;\n\n\n\t\twhile (sc.hasNext()) {\n\t\t\tString stralf = sc.nextLine();\n\n\t\t\tfor (int i = 0; i < stralf.length(); i++) {\n\t\t\t\tchar chalf = stralf.charAt(i);\n\t\t\t\tchalf = Character.toLowerCase(chalf);\n\t\t\t\tfor (j = 0; j < 26; j++) {\n\t\t\t\t\tif (iremono[j] == chalf) {\n\t\t\t\t\t\tcou[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int k = 0; k < 26; k++) {\n\t\t\tSystem.out.print(iremono[k]);\n\t\t\tSystem.out.println(\" : \" + cou[k]);\n\t\t}\n\t}\n}",
"Main"
]
| /**
* 与えられた文字列の小文字と大文字を入れ替えるプログラムを作成してください。
*/
//スキャナつかうため
import java.util.Scanner;
public class Main {
// プログラムのエントリポイント
public static void main(String[] args) {
// 入力ストリームの生成
Scanner sc = new Scanner(System.in);
char[] iremono = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',
'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v',
'w', 'x', 'y', 'z' };
int[] cou = new int[26];
int j = 0;
while (sc.hasNext()) {
String stralf = sc.nextLine();
for (int i = 0; i < stralf.length(); i++) {
char chalf = stralf.charAt(i);
chalf = Character.toLowerCase(chalf);
for (j = 0; j < 26; j++) {
if (iremono[j] == chalf) {
cou[j]++;
}
}
}
}
for (int k = 0; k < 26; k++) {
System.out.print(iremono[k]);
System.out.println(" : " + cou[k]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
38,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
2,
17,
2,
4,
18,
13,
13,
17,
2,
2,
4,
18,
13,
13,
17,
17,
40,
18,
13,
2,
4,
18,
13,
13,
17,
14,
2,
2,
17,
2,
4,
18,
13,
13,
17,
2,
2,
4,
18,
13,
13,
17,
17,
40,
18,
13,
2,
4,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
2,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
125,
5
],
[
125,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
13
],
[
13,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
28,
38
],
[
38,
39
],
[
39,
40
],
[
28,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
47,
52
],
[
44,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
54,
59
],
[
53,
60
],
[
43,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
64,
69
],
[
43,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
74,
79
],
[
71,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
81,
86
],
[
80,
87
],
[
70,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
91,
96
],
[
14,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
102,
103
],
[
102,
104
],
[
97,
105
],
[
105,
106
],
[
106,
107
],
[
97,
108
],
[
109,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
110,
116
],
[
116,
117
],
[
116,
118
],
[
110,
119
],
[
119,
120
],
[
119,
121
],
[
6,
122
],
[
122,
123
],
[
0,
124
],
[
124,
125
],
[
124,
126
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint[] count=new int[26];\n\t\ttry (Scanner scan=new Scanner(System.in)){\n\t\twhile(scan.hasNextLine()) {\n\t\t\tString str=scan.nextLine();\n\t\t\tfor(int i=0;i<str.length();i++) {\n\t\t\t\tif(0<=str.charAt(i)-'a' && str.charAt(i)-'a'<26)\n\t\t\t\tcount[str.charAt(i)-'a']++;\n\t\t\t\telse if(0<=str.charAt(i)-'A' && str.charAt(i)-'A'<26)\n\t\t\t\tcount[str.charAt(i)-'A']++;\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.printf(\"%c : %d\\n\",i+'a',count[i]);\n\t\t}\n\t\t}\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint[] count=new int[26];\n\t\ttry (Scanner scan=new Scanner(System.in)){\n\t\twhile(scan.hasNextLine()) {\n\t\t\tString str=scan.nextLine();\n\t\t\tfor(int i=0;i<str.length();i++) {\n\t\t\t\tif(0<=str.charAt(i)-'a' && str.charAt(i)-'a'<26)\n\t\t\t\tcount[str.charAt(i)-'a']++;\n\t\t\t\telse if(0<=str.charAt(i)-'A' && str.charAt(i)-'A'<26)\n\t\t\t\tcount[str.charAt(i)-'A']++;\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.printf(\"%c : %d\\n\",i+'a',count[i]);\n\t\t}\n\t\t}\n}\n}",
"Main",
"public static void main(String[] args) {\n\t\tint[] count=new int[26];\n\t\ttry (Scanner scan=new Scanner(System.in)){\n\t\twhile(scan.hasNextLine()) {\n\t\t\tString str=scan.nextLine();\n\t\t\tfor(int i=0;i<str.length();i++) {\n\t\t\t\tif(0<=str.charAt(i)-'a' && str.charAt(i)-'a'<26)\n\t\t\t\tcount[str.charAt(i)-'a']++;\n\t\t\t\telse if(0<=str.charAt(i)-'A' && str.charAt(i)-'A'<26)\n\t\t\t\tcount[str.charAt(i)-'A']++;\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.printf(\"%c : %d\\n\",i+'a',count[i]);\n\t\t}\n\t\t}\n}",
"main",
"{\n\t\tint[] count=new int[26];\n\t\ttry (Scanner scan=new Scanner(System.in)){\n\t\twhile(scan.hasNextLine()) {\n\t\t\tString str=scan.nextLine();\n\t\t\tfor(int i=0;i<str.length();i++) {\n\t\t\t\tif(0<=str.charAt(i)-'a' && str.charAt(i)-'a'<26)\n\t\t\t\tcount[str.charAt(i)-'a']++;\n\t\t\t\telse if(0<=str.charAt(i)-'A' && str.charAt(i)-'A'<26)\n\t\t\t\tcount[str.charAt(i)-'A']++;\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.printf(\"%c : %d\\n\",i+'a',count[i]);\n\t\t}\n\t\t}\n}",
"int[] count=new int[26];",
"count",
"new int[26]",
"26",
"try (Scanner scan=new Scanner(System.in)){\n\t\twhile(scan.hasNextLine()) {\n\t\t\tString str=scan.nextLine();\n\t\t\tfor(int i=0;i<str.length();i++) {\n\t\t\t\tif(0<=str.charAt(i)-'a' && str.charAt(i)-'a'<26)\n\t\t\t\tcount[str.charAt(i)-'a']++;\n\t\t\t\telse if(0<=str.charAt(i)-'A' && str.charAt(i)-'A'<26)\n\t\t\t\tcount[str.charAt(i)-'A']++;\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.printf(\"%c : %d\\n\",i+'a',count[i]);\n\t\t}\n\t\t}",
"{\n\t\twhile(scan.hasNextLine()) {\n\t\t\tString str=scan.nextLine();\n\t\t\tfor(int i=0;i<str.length();i++) {\n\t\t\t\tif(0<=str.charAt(i)-'a' && str.charAt(i)-'a'<26)\n\t\t\t\tcount[str.charAt(i)-'a']++;\n\t\t\t\telse if(0<=str.charAt(i)-'A' && str.charAt(i)-'A'<26)\n\t\t\t\tcount[str.charAt(i)-'A']++;\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.printf(\"%c : %d\\n\",i+'a',count[i]);\n\t\t}\n\t\t}",
"Scanner scan=new Scanner(System.in)",
"Scanner scan=new Scanner(System.in)",
"new Scanner(System.in)",
"while(scan.hasNextLine()) {\n\t\t\tString str=scan.nextLine();\n\t\t\tfor(int i=0;i<str.length();i++) {\n\t\t\t\tif(0<=str.charAt(i)-'a' && str.charAt(i)-'a'<26)\n\t\t\t\tcount[str.charAt(i)-'a']++;\n\t\t\t\telse if(0<=str.charAt(i)-'A' && str.charAt(i)-'A'<26)\n\t\t\t\tcount[str.charAt(i)-'A']++;\n\t\t\t}\n\t\t}",
"scan.hasNextLine()",
"scan.hasNextLine",
"scan",
"{\n\t\t\tString str=scan.nextLine();\n\t\t\tfor(int i=0;i<str.length();i++) {\n\t\t\t\tif(0<=str.charAt(i)-'a' && str.charAt(i)-'a'<26)\n\t\t\t\tcount[str.charAt(i)-'a']++;\n\t\t\t\telse if(0<=str.charAt(i)-'A' && str.charAt(i)-'A'<26)\n\t\t\t\tcount[str.charAt(i)-'A']++;\n\t\t\t}\n\t\t}",
"String str=scan.nextLine();",
"str",
"scan.nextLine()",
"scan.nextLine",
"scan",
"for(int i=0;i<str.length();i++) {\n\t\t\t\tif(0<=str.charAt(i)-'a' && str.charAt(i)-'a'<26)\n\t\t\t\tcount[str.charAt(i)-'a']++;\n\t\t\t\telse if(0<=str.charAt(i)-'A' && str.charAt(i)-'A'<26)\n\t\t\t\tcount[str.charAt(i)-'A']++;\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\tif(0<=str.charAt(i)-'a' && str.charAt(i)-'a'<26)\n\t\t\t\tcount[str.charAt(i)-'a']++;\n\t\t\t\telse if(0<=str.charAt(i)-'A' && str.charAt(i)-'A'<26)\n\t\t\t\tcount[str.charAt(i)-'A']++;\n\t\t\t}",
"{\n\t\t\t\tif(0<=str.charAt(i)-'a' && str.charAt(i)-'a'<26)\n\t\t\t\tcount[str.charAt(i)-'a']++;\n\t\t\t\telse if(0<=str.charAt(i)-'A' && str.charAt(i)-'A'<26)\n\t\t\t\tcount[str.charAt(i)-'A']++;\n\t\t\t}",
"if(0<=str.charAt(i)-'a' && str.charAt(i)-'a'<26)\n\t\t\t\tcount[str.charAt(i)-'a']++;\n\t\t\t\telse if(0<=str.charAt(i)-'A' && str.charAt(i)-'A'<26)\n\t\t\t\tcount[str.charAt(i)-'A']++;",
"0<=str.charAt(i)-'a' && str.charAt(i)-'a'<26",
"0<=str.charAt(i)-'a'",
"0",
"str.charAt(i)-'a'",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"'a'",
"str.charAt(i)-'a'<26",
"str.charAt(i)-'a'",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"'a'",
"26",
"count[str.charAt(i)-'a']++",
"count[str.charAt(i)-'a']",
"count",
"str.charAt(i)-'a'",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"'a'",
"if(0<=str.charAt(i)-'A' && str.charAt(i)-'A'<26)\n\t\t\t\tcount[str.charAt(i)-'A']++;",
"0<=str.charAt(i)-'A' && str.charAt(i)-'A'<26",
"0<=str.charAt(i)-'A'",
"0",
"str.charAt(i)-'A'",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"'A'",
"str.charAt(i)-'A'<26",
"str.charAt(i)-'A'",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"'A'",
"26",
"count[str.charAt(i)-'A']++",
"count[str.charAt(i)-'A']",
"count",
"str.charAt(i)-'A'",
"str.charAt(i)",
"str.charAt",
"str",
"i",
"'A'",
"for(int i=0;i<26;i++) {\n\t\t\tSystem.out.printf(\"%c : %d\\n\",i+'a',count[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.printf(\"%c : %d\\n\",i+'a',count[i]);\n\t\t}",
"{\n\t\t\tSystem.out.printf(\"%c : %d\\n\",i+'a',count[i]);\n\t\t}",
"System.out.printf(\"%c : %d\\n\",i+'a',count[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%c : %d\\n\"",
"i+'a'",
"i",
"'a'",
"count[i]",
"count",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint[] count=new int[26];\n\t\ttry (Scanner scan=new Scanner(System.in)){\n\t\twhile(scan.hasNextLine()) {\n\t\t\tString str=scan.nextLine();\n\t\t\tfor(int i=0;i<str.length();i++) {\n\t\t\t\tif(0<=str.charAt(i)-'a' && str.charAt(i)-'a'<26)\n\t\t\t\tcount[str.charAt(i)-'a']++;\n\t\t\t\telse if(0<=str.charAt(i)-'A' && str.charAt(i)-'A'<26)\n\t\t\t\tcount[str.charAt(i)-'A']++;\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.printf(\"%c : %d\\n\",i+'a',count[i]);\n\t\t}\n\t\t}\n}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint[] count=new int[26];\n\t\ttry (Scanner scan=new Scanner(System.in)){\n\t\twhile(scan.hasNextLine()) {\n\t\t\tString str=scan.nextLine();\n\t\t\tfor(int i=0;i<str.length();i++) {\n\t\t\t\tif(0<=str.charAt(i)-'a' && str.charAt(i)-'a'<26)\n\t\t\t\tcount[str.charAt(i)-'a']++;\n\t\t\t\telse if(0<=str.charAt(i)-'A' && str.charAt(i)-'A'<26)\n\t\t\t\tcount[str.charAt(i)-'A']++;\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<26;i++) {\n\t\t\tSystem.out.printf(\"%c : %d\\n\",i+'a',count[i]);\n\t\t}\n\t\t}\n}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int[] count=new int[26];
try (Scanner scan=new Scanner(System.in)){
while(scan.hasNextLine()) {
String str=scan.nextLine();
for(int i=0;i<str.length();i++) {
if(0<=str.charAt(i)-'a' && str.charAt(i)-'a'<26)
count[str.charAt(i)-'a']++;
else if(0<=str.charAt(i)-'A' && str.charAt(i)-'A'<26)
count[str.charAt(i)-'A']++;
}
}
for(int i=0;i<26;i++) {
System.out.printf("%c : %d\n",i+'a',count[i]);
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
18,
13,
13,
2,
17,
13,
2,
18,
13,
13,
2,
17,
13,
30,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
118,
5
],
[
118,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
59,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
8,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
80,
90
],
[
90,
91
],
[
91,
92
],
[
80,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
94,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
106,
106
],
[
106,
107
],
[
106,
108
],
[
106,
109
],
[
109,
110
],
[
109,
111
],
[
8,
112
],
[
112,
113
],
[
113,
114
],
[
6,
115
],
[
115,
116
],
[
0,
117
],
[
117,
118
],
[
117,
119
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] sum = new int[26];\n\n\t\twhile(sc.hasNext()) {\n\t\t\tString line = sc.next();\n\n\t\t\tchar[] chars = line.toCharArray();\n\t\t\tfor(int i = 0;i < chars.length; i++) {\n\t\t\t\tfor(int j = 0;j < 26; j++) {\n\t\t\t\t\tif(chars[i] == 'a' + j || chars[i] == 'A' + j) {\n\t\t\t\t\t\tsum[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0;i < sum.length;i++) {\n\t\t\tint ab = 'a' + i;\n\n\t\t\tSystem.out.println((char)ab + \" : \" + sum[i]);\n\t\t}\n\t\tsc.close();\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] sum = new int[26];\n\n\t\twhile(sc.hasNext()) {\n\t\t\tString line = sc.next();\n\n\t\t\tchar[] chars = line.toCharArray();\n\t\t\tfor(int i = 0;i < chars.length; i++) {\n\t\t\t\tfor(int j = 0;j < 26; j++) {\n\t\t\t\t\tif(chars[i] == 'a' + j || chars[i] == 'A' + j) {\n\t\t\t\t\t\tsum[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0;i < sum.length;i++) {\n\t\t\tint ab = 'a' + i;\n\n\t\t\tSystem.out.println((char)ab + \" : \" + sum[i]);\n\t\t}\n\t\tsc.close();\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] sum = new int[26];\n\n\t\twhile(sc.hasNext()) {\n\t\t\tString line = sc.next();\n\n\t\t\tchar[] chars = line.toCharArray();\n\t\t\tfor(int i = 0;i < chars.length; i++) {\n\t\t\t\tfor(int j = 0;j < 26; j++) {\n\t\t\t\t\tif(chars[i] == 'a' + j || chars[i] == 'A' + j) {\n\t\t\t\t\t\tsum[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0;i < sum.length;i++) {\n\t\t\tint ab = 'a' + i;\n\n\t\t\tSystem.out.println((char)ab + \" : \" + sum[i]);\n\t\t}\n\t\tsc.close();\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] sum = new int[26];\n\n\t\twhile(sc.hasNext()) {\n\t\t\tString line = sc.next();\n\n\t\t\tchar[] chars = line.toCharArray();\n\t\t\tfor(int i = 0;i < chars.length; i++) {\n\t\t\t\tfor(int j = 0;j < 26; j++) {\n\t\t\t\t\tif(chars[i] == 'a' + j || chars[i] == 'A' + j) {\n\t\t\t\t\t\tsum[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0;i < sum.length;i++) {\n\t\t\tint ab = 'a' + i;\n\n\t\t\tSystem.out.println((char)ab + \" : \" + sum[i]);\n\t\t}\n\t\tsc.close();\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] sum = new int[26];",
"sum",
"new int[26]",
"26",
"while(sc.hasNext()) {\n\t\t\tString line = sc.next();\n\n\t\t\tchar[] chars = line.toCharArray();\n\t\t\tfor(int i = 0;i < chars.length; i++) {\n\t\t\t\tfor(int j = 0;j < 26; j++) {\n\t\t\t\t\tif(chars[i] == 'a' + j || chars[i] == 'A' + j) {\n\t\t\t\t\t\tsum[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tString line = sc.next();\n\n\t\t\tchar[] chars = line.toCharArray();\n\t\t\tfor(int i = 0;i < chars.length; i++) {\n\t\t\t\tfor(int j = 0;j < 26; j++) {\n\t\t\t\t\tif(chars[i] == 'a' + j || chars[i] == 'A' + j) {\n\t\t\t\t\t\tsum[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"String line = sc.next();",
"line",
"sc.next()",
"sc.next",
"sc",
"char[] chars = line.toCharArray();",
"chars",
"line.toCharArray()",
"line.toCharArray",
"line",
"for(int i = 0;i < chars.length; i++) {\n\t\t\t\tfor(int j = 0;j < 26; j++) {\n\t\t\t\t\tif(chars[i] == 'a' + j || chars[i] == 'A' + j) {\n\t\t\t\t\t\tsum[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < chars.length",
"i",
"chars.length",
"chars",
"chars.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor(int j = 0;j < 26; j++) {\n\t\t\t\t\tif(chars[i] == 'a' + j || chars[i] == 'A' + j) {\n\t\t\t\t\t\tsum[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tfor(int j = 0;j < 26; j++) {\n\t\t\t\t\tif(chars[i] == 'a' + j || chars[i] == 'A' + j) {\n\t\t\t\t\t\tsum[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"for(int j = 0;j < 26; j++) {\n\t\t\t\t\tif(chars[i] == 'a' + j || chars[i] == 'A' + j) {\n\t\t\t\t\t\tsum[j]++;\n\t\t\t\t\t}\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < 26",
"j",
"26",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tif(chars[i] == 'a' + j || chars[i] == 'A' + j) {\n\t\t\t\t\t\tsum[j]++;\n\t\t\t\t\t}\n\t\t\t\t}",
"{\n\t\t\t\t\tif(chars[i] == 'a' + j || chars[i] == 'A' + j) {\n\t\t\t\t\t\tsum[j]++;\n\t\t\t\t\t}\n\t\t\t\t}",
"if(chars[i] == 'a' + j || chars[i] == 'A' + j) {\n\t\t\t\t\t\tsum[j]++;\n\t\t\t\t\t}",
"chars[i] == 'a' + j || chars[i] == 'A' + j",
"chars[i] == 'a' + j",
"chars[i]",
"chars",
"i",
"'a' + j",
"'a'",
"j",
"chars[i] == 'A' + j",
"chars[i]",
"chars",
"i",
"'A' + j",
"'A'",
"j",
"{\n\t\t\t\t\t\tsum[j]++;\n\t\t\t\t\t}",
"sum[j]++",
"sum[j]",
"sum",
"j",
"for(int i = 0;i < sum.length;i++) {\n\t\t\tint ab = 'a' + i;\n\n\t\t\tSystem.out.println((char)ab + \" : \" + sum[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < sum.length",
"i",
"sum.length",
"sum",
"sum.length",
"i++",
"i++",
"i",
"{\n\t\t\tint ab = 'a' + i;\n\n\t\t\tSystem.out.println((char)ab + \" : \" + sum[i]);\n\t\t}",
"{\n\t\t\tint ab = 'a' + i;\n\n\t\t\tSystem.out.println((char)ab + \" : \" + sum[i]);\n\t\t}",
"int ab = 'a' + i;",
"ab",
"'a' + i",
"'a'",
"i",
"System.out.println((char)ab + \" : \" + sum[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)ab + \" : \" + sum[i]",
"(char)ab + \" : \" + sum[i]",
"(char)ab",
"\" : \"",
"sum[i]",
"sum",
"i",
"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\tint[] sum = new int[26];\n\n\t\twhile(sc.hasNext()) {\n\t\t\tString line = sc.next();\n\n\t\t\tchar[] chars = line.toCharArray();\n\t\t\tfor(int i = 0;i < chars.length; i++) {\n\t\t\t\tfor(int j = 0;j < 26; j++) {\n\t\t\t\t\tif(chars[i] == 'a' + j || chars[i] == 'A' + j) {\n\t\t\t\t\t\tsum[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0;i < sum.length;i++) {\n\t\t\tint ab = 'a' + i;\n\n\t\t\tSystem.out.println((char)ab + \" : \" + sum[i]);\n\t\t}\n\t\tsc.close();\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] sum = new int[26];\n\n\t\twhile(sc.hasNext()) {\n\t\t\tString line = sc.next();\n\n\t\t\tchar[] chars = line.toCharArray();\n\t\t\tfor(int i = 0;i < chars.length; i++) {\n\t\t\t\tfor(int j = 0;j < 26; j++) {\n\t\t\t\t\tif(chars[i] == 'a' + j || chars[i] == 'A' + j) {\n\t\t\t\t\t\tsum[j]++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0;i < sum.length;i++) {\n\t\t\tint ab = 'a' + i;\n\n\t\t\tSystem.out.println((char)ab + \" : \" + sum[i]);\n\t\t}\n\t\tsc.close();\n\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] sum = new int[26];
while(sc.hasNext()) {
String line = sc.next();
char[] chars = line.toCharArray();
for(int i = 0;i < chars.length; i++) {
for(int j = 0;j < 26; j++) {
if(chars[i] == 'a' + j || chars[i] == 'A' + j) {
sum[j]++;
}
}
}
}
for(int i = 0;i < sum.length;i++) {
int ab = 'a' + i;
System.out.println((char)ab + " : " + sum[i]);
}
sc.close();
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.