node_ids
sequencelengths 4
1.4k
| edge_index
sequencelengths 1
2.22k
| text
sequencelengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
13,
13,
4,
18,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
4,
13,
41,
13,
4,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
13,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
41,
13,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
148,
29
],
[
148,
30
],
[
30,
31
],
[
148,
32
],
[
32,
33
],
[
148,
34
],
[
34,
35
],
[
148,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
46,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
67,
69
],
[
38,
70
],
[
70,
71
],
[
71,
72
],
[
148,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
76,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
83,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
83,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
83,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
108,
109
],
[
108,
110
],
[
148,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
118,
119
],
[
148,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
123,
132
],
[
132,
133
],
[
132,
134
],
[
122,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
148,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
139,
145
],
[
145,
146
],
[
0,
147
],
[
147,
148
],
[
147,
149
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Scanner;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w;\n\t\n\tMain() {\n//\t\treadData();\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (sc.hasNext()){\n\t\t\tint m = sc.nextInt();\n\t\t\tint n = sc.nextInt();\n\t\t\tSystem.out.println(Integer.toString(m+n).length());\n\t\t}\n\t\tsc.close();\n\t}\n\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tint m = nextInt();\n\t\t\tint n = nextInt();\n\t\t\tSystem.out.println(Integer.toString(m+n).length());\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\t\n\tprivate String next() throws IOException {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\treturn st.nextToken();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w;\n\t\n\tMain() {\n//\t\treadData();\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (sc.hasNext()){\n\t\t\tint m = sc.nextInt();\n\t\t\tint n = sc.nextInt();\n\t\t\tSystem.out.println(Integer.toString(m+n).length());\n\t\t}\n\t\tsc.close();\n\t}\n\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tint m = nextInt();\n\t\t\tint n = nextInt();\n\t\t\tSystem.out.println(Integer.toString(m+n).length());\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\t\n\tprivate String next() throws IOException {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\treturn st.nextToken();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}\n\n}",
"Main",
"private StringTokenizer st;",
"st",
"private BufferedReader bf;",
"bf",
"private int w;",
"w",
"Main() {\n//\t\treadData();\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (sc.hasNext()){\n\t\t\tint m = sc.nextInt();\n\t\t\tint n = sc.nextInt();\n\t\t\tSystem.out.println(Integer.toString(m+n).length());\n\t\t}\n\t\tsc.close();\n\t}",
"Main",
"{\n//\t\treadData();\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (sc.hasNext()){\n\t\t\tint m = sc.nextInt();\n\t\t\tint n = sc.nextInt();\n\t\t\tSystem.out.println(Integer.toString(m+n).length());\n\t\t}\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()){\n\t\t\tint m = sc.nextInt();\n\t\t\tint n = sc.nextInt();\n\t\t\tSystem.out.println(Integer.toString(m+n).length());\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tint m = sc.nextInt();\n\t\t\tint n = sc.nextInt();\n\t\t\tSystem.out.println(Integer.toString(m+n).length());\n\t\t}",
"int m = sc.nextInt();",
"m",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(Integer.toString(m+n).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(m+n).length()",
"Integer.toString(m+n).length",
"Integer.toString(m+n)",
"Integer.toString",
"Integer",
"m+n",
"m",
"n",
"sc.close()",
"sc.close",
"sc",
"private void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tint m = nextInt();\n\t\t\tint n = nextInt();\n\t\t\tSystem.out.println(Integer.toString(m+n).length());\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"readData",
"{\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tint m = nextInt();\n\t\t\tint n = nextInt();\n\t\t\tSystem.out.println(Integer.toString(m+n).length());\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"try {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tint m = nextInt();\n\t\t\tint n = nextInt();\n\t\t\tSystem.out.println(Integer.toString(m+n).length());\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\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\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tint m = nextInt();\n\t\t\tint n = nextInt();\n\t\t\tSystem.out.println(Integer.toString(m+n).length());\n\n\t\t\t\n\t\t}",
"bf = new BufferedReader(new InputStreamReader(System.in))",
"bf",
"new BufferedReader(new InputStreamReader(System.in))",
"st = new StringTokenizer(bf.readLine())",
"st",
"new StringTokenizer(bf.readLine())",
"int m = nextInt();",
"m",
"nextInt()",
"nextInt",
"int n = nextInt();",
"n",
"nextInt()",
"nextInt",
"System.out.println(Integer.toString(m+n).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(m+n).length()",
"Integer.toString(m+n).length",
"Integer.toString(m+n)",
"Integer.toString",
"Integer",
"m+n",
"m",
"n",
"private int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}",
"nextInt",
"{\n\t\treturn Integer.parseInt(next());\n\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"private String next() throws IOException {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\treturn st.nextToken();\n\t}",
"next",
"{\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\treturn st.nextToken();\n\t}",
"if (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(bf.readLine())",
"st",
"new StringTokenizer(bf.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}",
"Main m = new Main();",
"m",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w;\n\t\n\tMain() {\n//\t\treadData();\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (sc.hasNext()){\n\t\t\tint m = sc.nextInt();\n\t\t\tint n = sc.nextInt();\n\t\t\tSystem.out.println(Integer.toString(m+n).length());\n\t\t}\n\t\tsc.close();\n\t}\n\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tint m = nextInt();\n\t\t\tint n = nextInt();\n\t\t\tSystem.out.println(Integer.toString(m+n).length());\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\t\n\tprivate String next() throws IOException {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\treturn st.nextToken();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}\n\n}",
"public class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w;\n\t\n\tMain() {\n//\t\treadData();\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (sc.hasNext()){\n\t\t\tint m = sc.nextInt();\n\t\t\tint n = sc.nextInt();\n\t\t\tSystem.out.println(Integer.toString(m+n).length());\n\t\t}\n\t\tsc.close();\n\t}\n\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tint m = nextInt();\n\t\t\tint n = nextInt();\n\t\t\tSystem.out.println(Integer.toString(m+n).length());\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\t\n\tprivate String next() throws IOException {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\treturn st.nextToken();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
import java.util.StringTokenizer;
public class Main {
private StringTokenizer st;
private BufferedReader bf;
private int w;
Main() {
// readData();
Scanner sc = new Scanner(System.in);
while (sc.hasNext()){
int m = sc.nextInt();
int n = sc.nextInt();
System.out.println(Integer.toString(m+n).length());
}
sc.close();
}
private void readData() {
try {
bf = new BufferedReader(new InputStreamReader(System.in));
st = new StringTokenizer(bf.readLine());
int m = nextInt();
int n = nextInt();
System.out.println(Integer.toString(m+n).length());
} catch (Exception e) {
e.printStackTrace();
}
}
private int nextInt() throws IOException {
return Integer.parseInt(next());
}
private String next() throws IOException {
if (st == null || !st.hasMoreTokens())
st = new StringTokenizer(bf.readLine());
return st.nextToken();
}
public static void main(String[] args) {
// TODO Auto-generated method stub
Main m = new Main();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
2,
13,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
63,
5
],
[
63,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
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
],
[
38,
40
],
[
25,
41
],
[
41,
42
],
[
41,
43
],
[
25,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
25,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] | [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t \n\tScanner sc= new Scanner (System.in);\n\tint a=0;\n\tint b=0;\n\tint c=0;\n\twhile (sc.hasNext()) {\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tc = a + b;\n\t\tint\tcount = 0;\n\t\tdo {\n\t\t\tc /= 10;\n\t\t\tcount++;\n\t\t} while(c != 0);\n\t\tSystem.out.println(count);\n\t}\t\n\t\t\n\t \n\t\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t \n\tScanner sc= new Scanner (System.in);\n\tint a=0;\n\tint b=0;\n\tint c=0;\n\twhile (sc.hasNext()) {\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tc = a + b;\n\t\tint\tcount = 0;\n\t\tdo {\n\t\t\tc /= 10;\n\t\t\tcount++;\n\t\t} while(c != 0);\n\t\tSystem.out.println(count);\n\t}\t\n\t\t\n\t \n\t\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\t \n\tScanner sc= new Scanner (System.in);\n\tint a=0;\n\tint b=0;\n\tint c=0;\n\twhile (sc.hasNext()) {\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tc = a + b;\n\t\tint\tcount = 0;\n\t\tdo {\n\t\t\tc /= 10;\n\t\t\tcount++;\n\t\t} while(c != 0);\n\t\tSystem.out.println(count);\n\t}\t\n\t\t\n\t \n\t\n\t}",
"main",
"{\n\t \n\tScanner sc= new Scanner (System.in);\n\tint a=0;\n\tint b=0;\n\tint c=0;\n\twhile (sc.hasNext()) {\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tc = a + b;\n\t\tint\tcount = 0;\n\t\tdo {\n\t\t\tc /= 10;\n\t\t\tcount++;\n\t\t} while(c != 0);\n\t\tSystem.out.println(count);\n\t}\t\n\t\t\n\t \n\t\n\t}",
"Scanner sc= new Scanner (System.in);",
"sc",
"new Scanner (System.in)",
"int a=0;",
"a",
"0",
"int b=0;",
"b",
"0",
"int c=0;",
"c",
"0",
"while (sc.hasNext()) {\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tc = a + b;\n\t\tint\tcount = 0;\n\t\tdo {\n\t\t\tc /= 10;\n\t\t\tcount++;\n\t\t} while(c != 0);\n\t\tSystem.out.println(count);\n\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tc = a + b;\n\t\tint\tcount = 0;\n\t\tdo {\n\t\t\tc /= 10;\n\t\t\tcount++;\n\t\t} while(c != 0);\n\t\tSystem.out.println(count);\n\t}",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"c = a + b",
"c",
"a + b",
"a",
"b",
"int\tcount = 0;",
"count",
"0",
"do {\n\t\t\tc /= 10;\n\t\t\tcount++;\n\t\t} while(c != 0);",
"c != 0",
"c",
"0",
"{\n\t\t\tc /= 10;\n\t\t\tcount++;\n\t\t}",
"c /= 10",
"c",
"10",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t \n\tScanner sc= new Scanner (System.in);\n\tint a=0;\n\tint b=0;\n\tint c=0;\n\twhile (sc.hasNext()) {\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tc = a + b;\n\t\tint\tcount = 0;\n\t\tdo {\n\t\t\tc /= 10;\n\t\t\tcount++;\n\t\t} while(c != 0);\n\t\tSystem.out.println(count);\n\t}\t\n\t\t\n\t \n\t\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t \n\tScanner sc= new Scanner (System.in);\n\tint a=0;\n\tint b=0;\n\tint c=0;\n\twhile (sc.hasNext()) {\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tc = a + b;\n\t\tint\tcount = 0;\n\t\tdo {\n\t\t\tc /= 10;\n\t\t\tcount++;\n\t\t} while(c != 0);\n\t\tSystem.out.println(count);\n\t}\t\n\t\t\n\t \n\t\n\t}\n\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc= new Scanner (System.in);
int a=0;
int b=0;
int c=0;
while (sc.hasNext()) {
a = sc.nextInt();
b = sc.nextInt();
c = a + b;
int count = 0;
do {
c /= 10;
count++;
} while(c != 0);
System.out.println(count);
}
}
} |
[
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,
17,
30,
41,
13,
4,
18,
13,
41,
13,
42,
2,
13,
17,
30,
0,
13,
20,
41,
13,
2,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
4,
18,
13,
13,
17,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
79,
14
],
[
79,
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
],
[
25,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
52,
53
],
[
47,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
58,
59
],
[
41,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
65,
70
],
[
41,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
15,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n \npublic class Main {\n \n public static void main(String[] args) throws IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n try {\n \n String s = br.readLine();\n StringTokenizer st;\n \n while (s != null) {\n st = new StringTokenizer(s);\n int p =Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken()) ;\n \n System.out.println((int)Math.log10(p)+1);\n s =br.readLine();\n }\n \n } catch (Exception ex) {\n System.exit(0);\n }\n }\n \n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n try {\n \n String s = br.readLine();\n StringTokenizer st;\n \n while (s != null) {\n st = new StringTokenizer(s);\n int p =Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken()) ;\n \n System.out.println((int)Math.log10(p)+1);\n s =br.readLine();\n }\n \n } catch (Exception ex) {\n System.exit(0);\n }\n }\n \n}",
"Main",
"public static void main(String[] args) throws IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n try {\n \n String s = br.readLine();\n StringTokenizer st;\n \n while (s != null) {\n st = new StringTokenizer(s);\n int p =Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken()) ;\n \n System.out.println((int)Math.log10(p)+1);\n s =br.readLine();\n }\n \n } catch (Exception ex) {\n System.exit(0);\n }\n }",
"main",
"{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n try {\n \n String s = br.readLine();\n StringTokenizer st;\n \n while (s != null) {\n st = new StringTokenizer(s);\n int p =Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken()) ;\n \n System.out.println((int)Math.log10(p)+1);\n s =br.readLine();\n }\n \n } catch (Exception ex) {\n System.exit(0);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n \n String s = br.readLine();\n StringTokenizer st;\n \n while (s != null) {\n st = new StringTokenizer(s);\n int p =Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken()) ;\n \n System.out.println((int)Math.log10(p)+1);\n s =br.readLine();\n }\n \n } catch (Exception ex) {\n System.exit(0);\n }",
"catch (Exception ex) {\n System.exit(0);\n }",
"Exception ex",
"{\n System.exit(0);\n }",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n \n String s = br.readLine();\n StringTokenizer st;\n \n while (s != null) {\n st = new StringTokenizer(s);\n int p =Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken()) ;\n \n System.out.println((int)Math.log10(p)+1);\n s =br.readLine();\n }\n \n }",
"String s = br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"StringTokenizer st;",
"st",
"while (s != null) {\n st = new StringTokenizer(s);\n int p =Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken()) ;\n \n System.out.println((int)Math.log10(p)+1);\n s =br.readLine();\n }",
"s != null",
"s",
"null",
"{\n st = new StringTokenizer(s);\n int p =Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken()) ;\n \n System.out.println((int)Math.log10(p)+1);\n s =br.readLine();\n }",
"st = new StringTokenizer(s)",
"st",
"new StringTokenizer(s)",
"int p =Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken()) ;",
"p",
"Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken())",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"System.out.println((int)Math.log10(p)+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)Math.log10(p)+1",
"(int)Math.log10(p)",
"Math.log10",
"Math",
"p",
"1",
"s =br.readLine()",
"s",
"br.readLine()",
"br.readLine",
"br",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n try {\n \n String s = br.readLine();\n StringTokenizer st;\n \n while (s != null) {\n st = new StringTokenizer(s);\n int p =Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken()) ;\n \n System.out.println((int)Math.log10(p)+1);\n s =br.readLine();\n }\n \n } catch (Exception ex) {\n System.exit(0);\n }\n }\n \n}",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n try {\n \n String s = br.readLine();\n StringTokenizer st;\n \n while (s != null) {\n st = new StringTokenizer(s);\n int p =Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken()) ;\n \n System.out.println((int)Math.log10(p)+1);\n s =br.readLine();\n }\n \n } catch (Exception ex) {\n System.exit(0);\n }\n }\n \n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try {
String s = br.readLine();
StringTokenizer st;
while (s != null) {
st = new StringTokenizer(s);
int p =Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken()) ;
System.out.println((int)Math.log10(p)+1);
s =br.readLine();
}
} catch (Exception ex) {
System.exit(0);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] | [
"import java.util.Scanner;\n\npublic class Main\n{\n public static void main(String... args)\n {\n final Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n final int a = scanner.nextInt();\n final int b = scanner.nextInt();\n System.out.println(Integer.toString(a + b).length());\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n public static void main(String... args)\n {\n final Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n final int a = scanner.nextInt();\n final int b = scanner.nextInt();\n System.out.println(Integer.toString(a + b).length());\n }\n }\n}",
"Main",
"public static void main(String... args)\n {\n final Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n final int a = scanner.nextInt();\n final int b = scanner.nextInt();\n System.out.println(Integer.toString(a + b).length());\n }\n }",
"main",
"{\n final Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n final int a = scanner.nextInt();\n final int b = scanner.nextInt();\n System.out.println(Integer.toString(a + b).length());\n }\n }",
"final Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while (scanner.hasNext()) {\n final int a = scanner.nextInt();\n final int b = scanner.nextInt();\n System.out.println(Integer.toString(a + b).length());\n }",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n final int a = scanner.nextInt();\n final int b = scanner.nextInt();\n System.out.println(Integer.toString(a + b).length());\n }",
"final int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"final int b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"System.out.println(Integer.toString(a + b).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(a + b).length()",
"Integer.toString(a + b).length",
"Integer.toString(a + b)",
"Integer.toString",
"Integer",
"a + b",
"a",
"b",
"String... args",
"args",
"public class Main\n{\n public static void main(String... args)\n {\n final Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n final int a = scanner.nextInt();\n final int b = scanner.nextInt();\n System.out.println(Integer.toString(a + b).length());\n }\n }\n}",
"public class Main\n{\n public static void main(String... args)\n {\n final Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n final int a = scanner.nextInt();\n final int b = scanner.nextInt();\n System.out.println(Integer.toString(a + b).length());\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main
{
public static void main(String... args)
{
final Scanner scanner = new Scanner(System.in);
while (scanner.hasNext()) {
final int a = scanner.nextInt();
final int b = scanner.nextInt();
System.out.println(Integer.toString(a + b).length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
42,
4,
18,
13,
30,
0,
13,
2,
4,
18,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
0,
13,
17,
30,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
20,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
30,
44
],
[
20,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
6,
51
],
[
51,
52
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int tmp,count;\n while(scan.hasNext()){\n tmp=scan.nextInt()+scan.nextInt();\n for(count = 1;tmp>=10;count++,tmp/=10);\n System.out.println(count);\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 tmp,count;\n while(scan.hasNext()){\n tmp=scan.nextInt()+scan.nextInt();\n for(count = 1;tmp>=10;count++,tmp/=10);\n System.out.println(count);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int tmp,count;\n while(scan.hasNext()){\n tmp=scan.nextInt()+scan.nextInt();\n for(count = 1;tmp>=10;count++,tmp/=10);\n System.out.println(count);\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int tmp,count;\n while(scan.hasNext()){\n tmp=scan.nextInt()+scan.nextInt();\n for(count = 1;tmp>=10;count++,tmp/=10);\n System.out.println(count);\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int tmp",
"tmp",
"count;",
"count",
"while(scan.hasNext()){\n tmp=scan.nextInt()+scan.nextInt();\n for(count = 1;tmp>=10;count++,tmp/=10);\n System.out.println(count);\n }",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n tmp=scan.nextInt()+scan.nextInt();\n for(count = 1;tmp>=10;count++,tmp/=10);\n System.out.println(count);\n }",
"tmp=scan.nextInt()+scan.nextInt()",
"tmp",
"scan.nextInt()+scan.nextInt()",
"scan.nextInt()",
"scan.nextInt",
"scan",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(count = 1;tmp>=10;count++,tmp/=10);",
"count = 1;",
"count = 1",
"count",
"1",
"tmp>=10",
"tmp",
"10",
"count++,tmp/=10",
"count++",
"count",
"tmp/=10",
"tmp",
"10",
";",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int tmp,count;
while(scan.hasNext()){
tmp=scan.nextInt()+scan.nextInt();
for(count = 1;tmp>=10;count++,tmp/=10);
System.out.println(count);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
3,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
70,
5
],
[
70,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
22,
27
],
[
27,
28
],
[
16,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
16,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
16,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
16,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
16,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] | [
"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\twhile (sc.hasNextLine()) {\n\t\t\tString string = sc.nextLine();\n\t\t\tif (string.equals(\"\")) {\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t\tString[] a = string.split(\" \");\n\t\t\tint p = Integer.parseInt(a[0]);\n\t\t\tint q = Integer.parseInt(a[1]);\n\n\t\t\tint sum = p + q;\n\n\t\t\tSystem.out.println(String.valueOf(sum).length());\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\twhile (sc.hasNextLine()) {\n\t\t\tString string = sc.nextLine();\n\t\t\tif (string.equals(\"\")) {\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t\tString[] a = string.split(\" \");\n\t\t\tint p = Integer.parseInt(a[0]);\n\t\t\tint q = Integer.parseInt(a[1]);\n\n\t\t\tint sum = p + q;\n\n\t\t\tSystem.out.println(String.valueOf(sum).length());\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\twhile (sc.hasNextLine()) {\n\t\t\tString string = sc.nextLine();\n\t\t\tif (string.equals(\"\")) {\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t\tString[] a = string.split(\" \");\n\t\t\tint p = Integer.parseInt(a[0]);\n\t\t\tint q = Integer.parseInt(a[1]);\n\n\t\t\tint sum = p + q;\n\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNextLine()) {\n\t\t\tString string = sc.nextLine();\n\t\t\tif (string.equals(\"\")) {\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t\tString[] a = string.split(\" \");\n\t\t\tint p = Integer.parseInt(a[0]);\n\t\t\tint q = Integer.parseInt(a[1]);\n\n\t\t\tint sum = p + q;\n\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNextLine()) {\n\t\t\tString string = sc.nextLine();\n\t\t\tif (string.equals(\"\")) {\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t\tString[] a = string.split(\" \");\n\t\t\tint p = Integer.parseInt(a[0]);\n\t\t\tint q = Integer.parseInt(a[1]);\n\n\t\t\tint sum = p + q;\n\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}",
"sc.hasNextLine()",
"sc.hasNextLine",
"sc",
"{\n\t\t\tString string = sc.nextLine();\n\t\t\tif (string.equals(\"\")) {\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t\tString[] a = string.split(\" \");\n\t\t\tint p = Integer.parseInt(a[0]);\n\t\t\tint q = Integer.parseInt(a[1]);\n\n\t\t\tint sum = p + q;\n\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}",
"String string = sc.nextLine();",
"string",
"sc.nextLine()",
"sc.nextLine",
"sc",
"if (string.equals(\"\")) {\n\t\t\t\tbreak;\n\n\t\t\t}",
"string.equals(\"\")",
"string.equals",
"string",
"\"\"",
"{\n\t\t\t\tbreak;\n\n\t\t\t}",
"break;",
"String[] a = string.split(\" \");",
"a",
"string.split(\" \")",
"string.split",
"string",
"\" \"",
"int p = Integer.parseInt(a[0]);",
"p",
"Integer.parseInt(a[0])",
"Integer.parseInt",
"Integer",
"a[0]",
"a",
"0",
"int q = Integer.parseInt(a[1]);",
"q",
"Integer.parseInt(a[1])",
"Integer.parseInt",
"Integer",
"a[1]",
"a",
"1",
"int sum = p + q;",
"sum",
"p + q",
"p",
"q",
"System.out.println(String.valueOf(sum).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(sum).length()",
"String.valueOf(sum).length",
"String.valueOf(sum)",
"String.valueOf",
"String",
"sum",
"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\twhile (sc.hasNextLine()) {\n\t\t\tString string = sc.nextLine();\n\t\t\tif (string.equals(\"\")) {\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t\tString[] a = string.split(\" \");\n\t\t\tint p = Integer.parseInt(a[0]);\n\t\t\tint q = Integer.parseInt(a[1]);\n\n\t\t\tint sum = p + q;\n\n\t\t\tSystem.out.println(String.valueOf(sum).length());\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\twhile (sc.hasNextLine()) {\n\t\t\tString string = sc.nextLine();\n\t\t\tif (string.equals(\"\")) {\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t\tString[] a = string.split(\" \");\n\t\t\tint p = Integer.parseInt(a[0]);\n\t\t\tint q = Integer.parseInt(a[1]);\n\n\t\t\tint sum = p + q;\n\n\t\t\tSystem.out.println(String.valueOf(sum).length());\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);
while (sc.hasNextLine()) {
String string = sc.nextLine();
if (string.equals("")) {
break;
}
String[] a = string.split(" ");
int p = Integer.parseInt(a[0]);
int q = Integer.parseInt(a[1]);
int sum = p + q;
System.out.println(String.valueOf(sum).length());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
40,
17,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
13,
13,
14,
2,
13,
13,
30,
29,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
13,
38,
5,
13,
30,
37,
20,
30,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
4,
18,
13,
17,
30,
29,
13,
41,
13,
4,
18,
13,
17,
0,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
29,
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
],
[
10,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
24,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
16,
47
],
[
47,
48
],
[
10,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
61,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
72,
76
],
[
67,
77
],
[
77,
78
],
[
78,
79
],
[
61,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
61,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
92,
93
],
[
92,
94
],
[
88,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
98,
99
],
[
98,
100
],
[
51,
101
],
[
101,
102
],
[
49,
103
],
[
103,
104
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\tprivate static final int NO_DATA = -1;\n\n\tpublic static void main(String[] args) {\n\n\t\t// ストリームを作成する\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\n\t\twhile (true) {\n\t\t\t// 入力値を受け取り、合計を数値にして返す\n\t\t\tint sum = getSum(reader);\n\t\t\t// 入力がない場合は終了\n\t\t\tif (sum == NO_DATA) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t// 桁数を出力する\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\t}\n\n\t/**\n\t * ストリームから1行読み込んで、2つの数値を合計して返す。 値が取得できなかった場合は-1を返す。\n\t *\n\t * @param reader\n\t * 入力ストリーム\n\t * @return 数値の合計\n\t */\n\tprivate static int getSum(BufferedReader reader) {\n\t\tint result = NO_DATA;\n\t\ttry {\n\t\t\tString line = reader.readLine();\n\t\t\tif (line == null || line.length() == 0) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tString[] numArray = line.split(\" \");\n\t\t\tresult = Integer.parseInt(numArray[0])\n\t\t\t\t\t+ Integer.parseInt(numArray[1]);\n\t\t} catch (IOException e) {\n\t\t\tthrow new RuntimeException();\n\t\t}\n\t\treturn result;\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\n\tprivate static final int NO_DATA = -1;\n\n\tpublic static void main(String[] args) {\n\n\t\t// ストリームを作成する\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\n\t\twhile (true) {\n\t\t\t// 入力値を受け取り、合計を数値にして返す\n\t\t\tint sum = getSum(reader);\n\t\t\t// 入力がない場合は終了\n\t\t\tif (sum == NO_DATA) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t// 桁数を出力する\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\t}\n\n\t/**\n\t * ストリームから1行読み込んで、2つの数値を合計して返す。 値が取得できなかった場合は-1を返す。\n\t *\n\t * @param reader\n\t * 入力ストリーム\n\t * @return 数値の合計\n\t */\n\tprivate static int getSum(BufferedReader reader) {\n\t\tint result = NO_DATA;\n\t\ttry {\n\t\t\tString line = reader.readLine();\n\t\t\tif (line == null || line.length() == 0) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tString[] numArray = line.split(\" \");\n\t\t\tresult = Integer.parseInt(numArray[0])\n\t\t\t\t\t+ Integer.parseInt(numArray[1]);\n\t\t} catch (IOException e) {\n\t\t\tthrow new RuntimeException();\n\t\t}\n\t\treturn result;\n\t}\n}",
"Main",
"private static final int NO_DATA = -1;",
"NO_DATA",
"-1",
"1",
"public static void main(String[] args) {\n\n\t\t// ストリームを作成する\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\n\t\twhile (true) {\n\t\t\t// 入力値を受け取り、合計を数値にして返す\n\t\t\tint sum = getSum(reader);\n\t\t\t// 入力がない場合は終了\n\t\t\tif (sum == NO_DATA) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t// 桁数を出力する\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\t}",
"main",
"{\n\n\t\t// ストリームを作成する\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\n\t\twhile (true) {\n\t\t\t// 入力値を受け取り、合計を数値にして返す\n\t\t\tint sum = getSum(reader);\n\t\t\t// 入力がない場合は終了\n\t\t\tif (sum == NO_DATA) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t// 桁数を出力する\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));",
"reader",
"new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))",
"while (true) {\n\t\t\t// 入力値を受け取り、合計を数値にして返す\n\t\t\tint sum = getSum(reader);\n\t\t\t// 入力がない場合は終了\n\t\t\tif (sum == NO_DATA) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t// 桁数を出力する\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}",
"true",
"{\n\t\t\t// 入力値を受け取り、合計を数値にして返す\n\t\t\tint sum = getSum(reader);\n\t\t\t// 入力がない場合は終了\n\t\t\tif (sum == NO_DATA) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t// 桁数を出力する\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}",
"int sum = getSum(reader);",
"sum",
"getSum(reader)",
"getSum",
"reader",
"if (sum == NO_DATA) {\n\t\t\t\treturn;\n\t\t\t}",
"sum == NO_DATA",
"sum",
"NO_DATA",
"{\n\t\t\t\treturn;\n\t\t\t}",
"return;",
"System.out.println(String.valueOf(sum).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(sum).length()",
"String.valueOf(sum).length",
"String.valueOf(sum)",
"String.valueOf",
"String",
"sum",
"String[] args",
"args",
"/**\n\t * ストリームから1行読み込んで、2つの数値を合計して返す。 値が取得できなかった場合は-1を返す。\n\t *\n\t * @param reader\n\t * 入力ストリーム\n\t * @return 数値の合計\n\t */\n\tprivate static int getSum(BufferedReader reader) {\n\t\tint result = NO_DATA;\n\t\ttry {\n\t\t\tString line = reader.readLine();\n\t\t\tif (line == null || line.length() == 0) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tString[] numArray = line.split(\" \");\n\t\t\tresult = Integer.parseInt(numArray[0])\n\t\t\t\t\t+ Integer.parseInt(numArray[1]);\n\t\t} catch (IOException e) {\n\t\t\tthrow new RuntimeException();\n\t\t}\n\t\treturn result;\n\t}",
"getSum",
"{\n\t\tint result = NO_DATA;\n\t\ttry {\n\t\t\tString line = reader.readLine();\n\t\t\tif (line == null || line.length() == 0) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tString[] numArray = line.split(\" \");\n\t\t\tresult = Integer.parseInt(numArray[0])\n\t\t\t\t\t+ Integer.parseInt(numArray[1]);\n\t\t} catch (IOException e) {\n\t\t\tthrow new RuntimeException();\n\t\t}\n\t\treturn result;\n\t}",
"int result = NO_DATA;",
"result",
"NO_DATA",
"try {\n\t\t\tString line = reader.readLine();\n\t\t\tif (line == null || line.length() == 0) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tString[] numArray = line.split(\" \");\n\t\t\tresult = Integer.parseInt(numArray[0])\n\t\t\t\t\t+ Integer.parseInt(numArray[1]);\n\t\t} catch (IOException e) {\n\t\t\tthrow new RuntimeException();\n\t\t}",
"catch (IOException e) {\n\t\t\tthrow new RuntimeException();\n\t\t}",
"IOException e",
"{\n\t\t\tthrow new RuntimeException();\n\t\t}",
"throw new RuntimeException();",
"new RuntimeException()",
"{\n\t\t\tString line = reader.readLine();\n\t\t\tif (line == null || line.length() == 0) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tString[] numArray = line.split(\" \");\n\t\t\tresult = Integer.parseInt(numArray[0])\n\t\t\t\t\t+ Integer.parseInt(numArray[1]);\n\t\t}",
"String line = reader.readLine();",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"if (line == null || line.length() == 0) {\n\t\t\t\treturn result;\n\t\t\t}",
"line == null || line.length() == 0",
"line == null",
"line",
"null",
"line.length() == 0",
"line.length()",
"line.length",
"line",
"0",
"{\n\t\t\t\treturn result;\n\t\t\t}",
"return result;",
"result",
"String[] numArray = line.split(\" \");",
"numArray",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"result = Integer.parseInt(numArray[0])\n\t\t\t\t\t+ Integer.parseInt(numArray[1])",
"result",
"Integer.parseInt(numArray[0])\n\t\t\t\t\t+ Integer.parseInt(numArray[1])",
"Integer.parseInt(numArray[0])",
"Integer.parseInt",
"Integer",
"numArray[0]",
"numArray",
"0",
"Integer.parseInt(numArray[1])",
"Integer.parseInt",
"Integer",
"numArray[1]",
"numArray",
"1",
"return result;",
"result",
"BufferedReader reader",
"reader"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
private static final int NO_DATA = -1;
public static void main(String[] args) {
// ストリームを作成する
BufferedReader reader = new BufferedReader(new InputStreamReader(
System.in));
while (true) {
// 入力値を受け取り、合計を数値にして返す
int sum = getSum(reader);
// 入力がない場合は終了
if (sum == NO_DATA) {
return;
}
// 桁数を出力する
System.out.println(String.valueOf(sum).length());
}
}
/**
* ストリームから1行読み込んで、2つの数値を合計して返す。 値が取得できなかった場合は-1を返す。
*
* @param reader
* 入力ストリーム
* @return 数値の合計
*/
private static int getSum(BufferedReader reader) {
int result = NO_DATA;
try {
String line = reader.readLine();
if (line == null || line.length() == 0) {
return result;
}
String[] numArray = line.split(" ");
result = Integer.parseInt(numArray[0])
+ Integer.parseInt(numArray[1]);
} catch (IOException e) {
throw new RuntimeException();
}
return result;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
13,
23,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
2,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
54,
14
],
[
54,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
15,
20
],
[
20,
21
],
[
54,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] | [
"import java.util.List;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[]args){\n\t\tDigitNum();\n\t}\n\t\n\tpublic static void DigitNum(){\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\twhile(scan.hasNext()){\n\t\t\tint sum = scan.nextInt()+scan.nextInt();\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\t}\n}",
"import java.util.List;",
"List",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[]args){\n\t\tDigitNum();\n\t}\n\t\n\tpublic static void DigitNum(){\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\twhile(scan.hasNext()){\n\t\t\tint sum = scan.nextInt()+scan.nextInt();\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[]args){\n\t\tDigitNum();\n\t}",
"main",
"{\n\t\tDigitNum();\n\t}",
"DigitNum()",
"DigitNum",
"String[]args",
"args",
"public static void DigitNum(){\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\twhile(scan.hasNext()){\n\t\t\tint sum = scan.nextInt()+scan.nextInt();\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\t}",
"DigitNum",
"{\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\twhile(scan.hasNext()){\n\t\t\tint sum = scan.nextInt()+scan.nextInt();\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(scan.hasNext()){\n\t\t\tint sum = scan.nextInt()+scan.nextInt();\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\tint sum = scan.nextInt()+scan.nextInt();\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}",
"int sum = scan.nextInt()+scan.nextInt();",
"sum",
"scan.nextInt()+scan.nextInt()",
"scan.nextInt()",
"scan.nextInt",
"scan",
"scan.nextInt()",
"scan.nextInt",
"scan",
"System.out.println(String.valueOf(sum).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(sum).length()",
"String.valueOf(sum).length",
"String.valueOf(sum)",
"String.valueOf",
"String",
"sum",
"public class Main {\n\tpublic static void main(String[]args){\n\t\tDigitNum();\n\t}\n\t\n\tpublic static void DigitNum(){\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\twhile(scan.hasNext()){\n\t\t\tint sum = scan.nextInt()+scan.nextInt();\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[]args){\n\t\tDigitNum();\n\t}\n\t\n\tpublic static void DigitNum(){\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\twhile(scan.hasNext()){\n\t\t\tint sum = scan.nextInt()+scan.nextInt();\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\t}\n}",
"Main"
] | import java.util.List;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
public class Main {
public static void main(String[]args){
DigitNum();
}
public static void DigitNum(){
Scanner scan = new Scanner(System.in);
while(scan.hasNext()){
int sum = scan.nextInt()+scan.nextInt();
System.out.println(String.valueOf(sum).length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
41,
13,
12,
13,
30,
42,
4,
13,
30,
4,
13,
23,
13,
12,
13,
30,
14,
40,
4,
18,
13,
29,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
29,
17,
12,
13,
30,
41,
13,
4,
18,
4,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
66,
5
],
[
66,
6
],
[
6,
7
],
[
6,
8
],
[
66,
9
],
[
9,
10
],
[
66,
11
],
[
11,
12
],
[
66,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
16,
19
],
[
19,
20
],
[
20,
21
],
[
13,
22
],
[
22,
23
],
[
66,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
27,
32
],
[
32,
33
],
[
26,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
26,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
26,
44
],
[
44,
45
],
[
66,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
48,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] | [
"import java.util.*;\npublic class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int a, b;\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO ツ篠ゥツ督ョツ青カツ青ャツつウツづェツつスツδソツッツドツ・ツスツタツブ\n\t\twhile(read()){\n\t\t\tslove();\n\t\t}\n\t}\n\tstatic boolean read(){\n\t\tif(!sc.hasNext())\n\t\t\treturn false;\n\t\ta = sc.nextInt(); b = sc.nextInt();\n\t\t\n\t\treturn true;\n\t}\n\tstatic void slove(){\n\t\tint ans = Integer.toString(a+b).length();\n\t\tSystem.out.println(ans);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int a, b;\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO ツ篠ゥツ督ョツ青カツ青ャツつウツづェツつスツδソツッツドツ・ツスツタツブ\n\t\twhile(read()){\n\t\t\tslove();\n\t\t}\n\t}\n\tstatic boolean read(){\n\t\tif(!sc.hasNext())\n\t\t\treturn false;\n\t\ta = sc.nextInt(); b = sc.nextInt();\n\t\t\n\t\treturn true;\n\t}\n\tstatic void slove(){\n\t\tint ans = Integer.toString(a+b).length();\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"static int a",
"a",
"b;",
"b",
"/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO ツ篠ゥツ督ョツ青カツ青ャツつウツづェツつスツδソツッツドツ・ツスツタツブ\n\t\twhile(read()){\n\t\t\tslove();\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ツ篠ゥツ督ョツ青カツ青ャツつウツづェツつスツδソツッツドツ・ツスツタツブ\n\t\twhile(read()){\n\t\t\tslove();\n\t\t}\n\t}",
"while(read()){\n\t\t\tslove();\n\t\t}",
"read()",
"read",
"{\n\t\t\tslove();\n\t\t}",
"slove()",
"slove",
"String[] args",
"args",
"static boolean read(){\n\t\tif(!sc.hasNext())\n\t\t\treturn false;\n\t\ta = sc.nextInt(); b = sc.nextInt();\n\t\t\n\t\treturn true;\n\t}",
"read",
"{\n\t\tif(!sc.hasNext())\n\t\t\treturn false;\n\t\ta = sc.nextInt(); b = sc.nextInt();\n\t\t\n\t\treturn true;\n\t}",
"if(!sc.hasNext())\n\t\t\treturn false;",
"!sc.hasNext()",
"sc.hasNext()",
"sc.hasNext",
"sc",
"return false;",
"false",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return true;",
"true",
"static void slove(){\n\t\tint ans = Integer.toString(a+b).length();\n\t\tSystem.out.println(ans);\n\t}",
"slove",
"{\n\t\tint ans = Integer.toString(a+b).length();\n\t\tSystem.out.println(ans);\n\t}",
"int ans = Integer.toString(a+b).length();",
"ans",
"Integer.toString(a+b).length()",
"Integer.toString(a+b).length",
"Integer.toString(a+b)",
"Integer.toString",
"Integer",
"a+b",
"a",
"b",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int a, b;\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO ツ篠ゥツ督ョツ青カツ青ャツつウツづェツつスツδソツッツドツ・ツスツタツブ\n\t\twhile(read()){\n\t\t\tslove();\n\t\t}\n\t}\n\tstatic boolean read(){\n\t\tif(!sc.hasNext())\n\t\t\treturn false;\n\t\ta = sc.nextInt(); b = sc.nextInt();\n\t\t\n\t\treturn true;\n\t}\n\tstatic void slove(){\n\t\tint ans = Integer.toString(a+b).length();\n\t\tSystem.out.println(ans);\n\t}\n}",
"public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int a, b;\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO ツ篠ゥツ督ョツ青カツ青ャツつウツづェツつスツδソツッツドツ・ツスツタツブ\n\t\twhile(read()){\n\t\t\tslove();\n\t\t}\n\t}\n\tstatic boolean read(){\n\t\tif(!sc.hasNext())\n\t\t\treturn false;\n\t\ta = sc.nextInt(); b = sc.nextInt();\n\t\t\n\t\treturn true;\n\t}\n\tstatic void slove(){\n\t\tint ans = Integer.toString(a+b).length();\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
static Scanner sc = new Scanner(System.in);
static int a, b;
/**
* @param args
*/
public static void main(String[] args) {
// TODO ツ篠ゥツ督ョツ青カツ青ャツつウツづェツつスツδソツッツドツ・ツスツタツブ
while(read()){
slove();
}
}
static boolean read(){
if(!sc.hasNext())
return false;
a = sc.nextInt(); b = sc.nextInt();
return true;
}
static void slove(){
int ans = Integer.toString(a+b).length();
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
4,
18,
13,
2,
13,
13,
29,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
58,
5
],
[
58,
6
],
[
6,
7
],
[
6,
8
],
[
58,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
9,
36
],
[
36,
37
],
[
58,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
40,
51
],
[
51,
52
],
[
38,
53
],
[
53,
54
],
[
38,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tstatic Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\t\n\t\t\tSystem.out.println( digit(a, b) );\n\t\t}\n\n\t}\n\tprivate static int digit(int a, int b) {\n\t\tint dg = Integer.toString(a + b).length();\n\t\treturn dg;\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tstatic Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\t\n\t\t\tSystem.out.println( digit(a, b) );\n\t\t}\n\n\t}\n\tprivate static int digit(int a, int b) {\n\t\tint dg = Integer.toString(a + b).length();\n\t\treturn dg;\n\t}\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\t\n\t\t\tSystem.out.println( digit(a, b) );\n\t\t}\n\n\t}",
"main",
"{\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\t\n\t\t\tSystem.out.println( digit(a, b) );\n\t\t}\n\n\t}",
"while (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\t\n\t\t\tSystem.out.println( digit(a, b) );\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\t\n\t\t\tSystem.out.println( digit(a, b) );\n\t\t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println( digit(a, b) )",
"System.out.println",
"System.out",
"System",
"System.out",
"digit(a, b)",
"digit",
"a",
"b",
"String[] args",
"args",
"private static int digit(int a, int b) {\n\t\tint dg = Integer.toString(a + b).length();\n\t\treturn dg;\n\t}",
"digit",
"{\n\t\tint dg = Integer.toString(a + b).length();\n\t\treturn dg;\n\t}",
"int dg = Integer.toString(a + b).length();",
"dg",
"Integer.toString(a + b).length()",
"Integer.toString(a + b).length",
"Integer.toString(a + b)",
"Integer.toString",
"Integer",
"a + b",
"a",
"b",
"return dg;",
"dg",
"int a",
"a",
"int b",
"b",
"public class Main {\n\n\tstatic Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\t\n\t\t\tSystem.out.println( digit(a, b) );\n\t\t}\n\n\t}\n\tprivate static int digit(int a, int b) {\n\t\tint dg = Integer.toString(a + b).length();\n\t\treturn dg;\n\t}\n}",
"public class Main {\n\n\tstatic Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\t\n\t\t\tSystem.out.println( digit(a, b) );\n\t\t}\n\n\t}\n\tprivate static int digit(int a, int b) {\n\t\tint dg = Integer.toString(a + b).length();\n\t\treturn dg;\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
while (sc.hasNext()) {
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println( digit(a, b) );
}
}
private static int digit(int a, int b) {
int dg = Integer.toString(a + b).length();
return dg;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
20,
42,
17,
30,
14,
2,
2,
0,
13,
4,
18,
13,
17,
4,
18,
13,
3,
0,
13,
4,
18,
13,
17,
0,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
13,
4,
18,
4,
18,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
92,
11
],
[
92,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
16,
24
],
[
24,
25
],
[
16,
26
],
[
26,
27
],
[
16,
28
],
[
28,
29
],
[
28,
30
],
[
16,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
36,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
34,
46
],
[
33,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
33,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
55,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
65,
67
],
[
33,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
33,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
79,
80
],
[
80,
81
],
[
74,
82
],
[
16,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
12,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n \n try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n String line;\n String[] digit;\n int sum;\n String buf;\n StringBuilder result = new StringBuilder();\n while(true) {\n\n if( (line = br.readLine()) == null || line.isEmpty() ) break;\n\n digit = line.split(\" \");\n sum = Integer.parseInt( digit[0] ) + Integer.parseInt( digit[1] );\n buf = String.valueOf(sum);\n result.append(buf.length()).append(\"\\n\");\n }\n\n System.out.print(result);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n \n try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n String line;\n String[] digit;\n int sum;\n String buf;\n StringBuilder result = new StringBuilder();\n while(true) {\n\n if( (line = br.readLine()) == null || line.isEmpty() ) break;\n\n digit = line.split(\" \");\n sum = Integer.parseInt( digit[0] ) + Integer.parseInt( digit[1] );\n buf = String.valueOf(sum);\n result.append(buf.length()).append(\"\\n\");\n }\n\n System.out.print(result);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n \n try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n String line;\n String[] digit;\n int sum;\n String buf;\n StringBuilder result = new StringBuilder();\n while(true) {\n\n if( (line = br.readLine()) == null || line.isEmpty() ) break;\n\n digit = line.split(\" \");\n sum = Integer.parseInt( digit[0] ) + Integer.parseInt( digit[1] );\n buf = String.valueOf(sum);\n result.append(buf.length()).append(\"\\n\");\n }\n\n System.out.print(result);\n }\n }",
"main",
"{\n \n try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n String line;\n String[] digit;\n int sum;\n String buf;\n StringBuilder result = new StringBuilder();\n while(true) {\n\n if( (line = br.readLine()) == null || line.isEmpty() ) break;\n\n digit = line.split(\" \");\n sum = Integer.parseInt( digit[0] ) + Integer.parseInt( digit[1] );\n buf = String.valueOf(sum);\n result.append(buf.length()).append(\"\\n\");\n }\n\n System.out.print(result);\n }\n }",
"try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n String line;\n String[] digit;\n int sum;\n String buf;\n StringBuilder result = new StringBuilder();\n while(true) {\n\n if( (line = br.readLine()) == null || line.isEmpty() ) break;\n\n digit = line.split(\" \");\n sum = Integer.parseInt( digit[0] ) + Integer.parseInt( digit[1] );\n buf = String.valueOf(sum);\n result.append(buf.length()).append(\"\\n\");\n }\n\n System.out.print(result);\n }",
"{\n\n String line;\n String[] digit;\n int sum;\n String buf;\n StringBuilder result = new StringBuilder();\n while(true) {\n\n if( (line = br.readLine()) == null || line.isEmpty() ) break;\n\n digit = line.split(\" \");\n sum = Integer.parseInt( digit[0] ) + Integer.parseInt( digit[1] );\n buf = String.valueOf(sum);\n result.append(buf.length()).append(\"\\n\");\n }\n\n System.out.print(result);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"String[] digit;",
"digit",
"int sum;",
"sum",
"String buf;",
"buf",
"StringBuilder result = new StringBuilder();",
"result",
"new StringBuilder()",
"while(true) {\n\n if( (line = br.readLine()) == null || line.isEmpty() ) break;\n\n digit = line.split(\" \");\n sum = Integer.parseInt( digit[0] ) + Integer.parseInt( digit[1] );\n buf = String.valueOf(sum);\n result.append(buf.length()).append(\"\\n\");\n }",
"true",
"{\n\n if( (line = br.readLine()) == null || line.isEmpty() ) break;\n\n digit = line.split(\" \");\n sum = Integer.parseInt( digit[0] ) + Integer.parseInt( digit[1] );\n buf = String.valueOf(sum);\n result.append(buf.length()).append(\"\\n\");\n }",
"if( (line = br.readLine()) == null || line.isEmpty() ) break;",
"(line = br.readLine()) == null || line.isEmpty()",
"(line = br.readLine()) == null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"line.isEmpty()",
"line.isEmpty",
"line",
"break;",
"digit = line.split(\" \")",
"digit",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"sum = Integer.parseInt( digit[0] ) + Integer.parseInt( digit[1] )",
"sum",
"Integer.parseInt( digit[0] ) + Integer.parseInt( digit[1] )",
"Integer.parseInt( digit[0] )",
"Integer.parseInt",
"Integer",
"digit[0]",
"digit",
"0",
"Integer.parseInt( digit[1] )",
"Integer.parseInt",
"Integer",
"digit[1]",
"digit",
"1",
"buf = String.valueOf(sum)",
"buf",
"String.valueOf(sum)",
"String.valueOf",
"String",
"sum",
"result.append(buf.length()).append(\"\\n\")",
"result.append(buf.length()).append",
"result.append(buf.length())",
"result.append",
"result",
"buf.length()",
"buf.length",
"buf",
"\"\\n\"",
"System.out.print(result)",
"System.out.print",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n \n try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n String line;\n String[] digit;\n int sum;\n String buf;\n StringBuilder result = new StringBuilder();\n while(true) {\n\n if( (line = br.readLine()) == null || line.isEmpty() ) break;\n\n digit = line.split(\" \");\n sum = Integer.parseInt( digit[0] ) + Integer.parseInt( digit[1] );\n buf = String.valueOf(sum);\n result.append(buf.length()).append(\"\\n\");\n }\n\n System.out.print(result);\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n \n try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n String line;\n String[] digit;\n int sum;\n String buf;\n StringBuilder result = new StringBuilder();\n while(true) {\n\n if( (line = br.readLine()) == null || line.isEmpty() ) break;\n\n digit = line.split(\" \");\n sum = Integer.parseInt( digit[0] ) + Integer.parseInt( digit[1] );\n buf = String.valueOf(sum);\n result.append(buf.length()).append(\"\\n\");\n }\n\n System.out.print(result);\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
String line;
String[] digit;
int sum;
String buf;
StringBuilder result = new StringBuilder();
while(true) {
if( (line = br.readLine()) == null || line.isEmpty() ) break;
digit = line.split(" ");
sum = Integer.parseInt( digit[0] ) + Integer.parseInt( digit[1] );
buf = String.valueOf(sum);
result.append(buf.length()).append("\n");
}
System.out.print(result);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
17,
4,
18,
13,
2,
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
],
[
67,
11
],
[
67,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
28,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
28,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
28,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
12,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"import java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.BufferedReader;\n\npublic class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String line;\n\n while( (line = br.readLine()) != null){\n String[] s = line.split(\" \");\n int a = Integer.parseInt(s[0]);\n int b = Integer.parseInt(s[1]);\n System.out.println(1+(int)Math.log10(a+b));\n }\n\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String line;\n\n while( (line = br.readLine()) != null){\n String[] s = line.split(\" \");\n int a = Integer.parseInt(s[0]);\n int b = Integer.parseInt(s[1]);\n System.out.println(1+(int)Math.log10(a+b));\n }\n\n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String line;\n\n while( (line = br.readLine()) != null){\n String[] s = line.split(\" \");\n int a = Integer.parseInt(s[0]);\n int b = Integer.parseInt(s[1]);\n System.out.println(1+(int)Math.log10(a+b));\n }\n\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String line;\n\n while( (line = br.readLine()) != null){\n String[] s = line.split(\" \");\n int a = Integer.parseInt(s[0]);\n int b = Integer.parseInt(s[1]);\n System.out.println(1+(int)Math.log10(a+b));\n }\n\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"while( (line = br.readLine()) != null){\n String[] s = line.split(\" \");\n int a = Integer.parseInt(s[0]);\n int b = Integer.parseInt(s[1]);\n System.out.println(1+(int)Math.log10(a+b));\n }",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n String[] s = line.split(\" \");\n int a = Integer.parseInt(s[0]);\n int b = Integer.parseInt(s[1]);\n System.out.println(1+(int)Math.log10(a+b));\n }",
"String[] s = line.split(\" \");",
"s",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int a = Integer.parseInt(s[0]);",
"a",
"Integer.parseInt(s[0])",
"Integer.parseInt",
"Integer",
"s[0]",
"s",
"0",
"int b = Integer.parseInt(s[1]);",
"b",
"Integer.parseInt(s[1])",
"Integer.parseInt",
"Integer",
"s[1]",
"s",
"1",
"System.out.println(1+(int)Math.log10(a+b))",
"System.out.println",
"System.out",
"System",
"System.out",
"1+(int)Math.log10(a+b)",
"1",
"(int)Math.log10(a+b)",
"Math.log10",
"Math",
"a+b",
"a",
"b",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String line;\n\n while( (line = br.readLine()) != null){\n String[] s = line.split(\" \");\n int a = Integer.parseInt(s[0]);\n int b = Integer.parseInt(s[1]);\n System.out.println(1+(int)Math.log10(a+b));\n }\n\n }\n}",
"public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String line;\n\n while( (line = br.readLine()) != null){\n String[] s = line.split(\" \");\n int a = Integer.parseInt(s[0]);\n int b = Integer.parseInt(s[1]);\n System.out.println(1+(int)Math.log10(a+b));\n }\n\n }\n}",
"Main"
] | import java.io.IOException;
import java.io.InputStreamReader;
import java.io.BufferedReader;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line;
while( (line = br.readLine()) != null){
String[] s = line.split(" ");
int a = Integer.parseInt(s[0]);
int b = Integer.parseInt(s[1]);
System.out.println(1+(int)Math.log10(a+b));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
2,
17,
2,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
42,
5
],
[
42,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n int a = in.nextInt();\n int b = in.nextInt();\n System.out.println((\"\" + (a+b)).length());\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n int a = in.nextInt();\n int b = in.nextInt();\n System.out.println((\"\" + (a+b)).length());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n int a = in.nextInt();\n int b = in.nextInt();\n System.out.println((\"\" + (a+b)).length());\n }\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n int a = in.nextInt();\n int b = in.nextInt();\n System.out.println((\"\" + (a+b)).length());\n }\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while(in.hasNext()){\n int a = in.nextInt();\n int b = in.nextInt();\n System.out.println((\"\" + (a+b)).length());\n }",
"in.hasNext()",
"in.hasNext",
"in",
"{\n int a = in.nextInt();\n int b = in.nextInt();\n System.out.println((\"\" + (a+b)).length());\n }",
"int a = in.nextInt();",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"int b = in.nextInt();",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"System.out.println((\"\" + (a+b)).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"(\"\" + (a+b)).length()",
"(\"\" + (a+b)).length",
"(\"\" + (a+b))",
"\"\"",
"(a+b)",
"a",
"b",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n int a = in.nextInt();\n int b = in.nextInt();\n System.out.println((\"\" + (a+b)).length());\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n int a = in.nextInt();\n int b = in.nextInt();\n System.out.println((\"\" + (a+b)).length());\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
while(in.hasNext()){
int a = in.nextInt();
int b = in.nextInt();
System.out.println(("" + (a+b)).length());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
0,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
71,
11
],
[
71,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
27,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
36,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
27,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
27,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
14,
65
],
[
65,
66
],
[
66,
67
],
[
12,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\t/**\n\t * AOJ002 Digit Number\n\t *\n\t * @param args\n\t * @throws IOException\n\t * ??\\?????¨??????\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader bufferedReader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\n\t\tString strInput = bufferedReader.readLine();\n\t\twhile (strInput != null) {\n\t\t\tString[] strDigit = strInput.split(\"\\\\s\");\n\n\t\t\tint sum = Integer.parseInt(strDigit[0])\n\t\t\t\t\t+ Integer.parseInt(strDigit[1]);\n\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t\tstrInput = bufferedReader.readLine();\n\t\t}\n\n\t\tbufferedReader.close();\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\t/**\n\t * AOJ002 Digit Number\n\t *\n\t * @param args\n\t * @throws IOException\n\t * ??\\?????¨??????\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader bufferedReader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\n\t\tString strInput = bufferedReader.readLine();\n\t\twhile (strInput != null) {\n\t\t\tString[] strDigit = strInput.split(\"\\\\s\");\n\n\t\t\tint sum = Integer.parseInt(strDigit[0])\n\t\t\t\t\t+ Integer.parseInt(strDigit[1]);\n\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t\tstrInput = bufferedReader.readLine();\n\t\t}\n\n\t\tbufferedReader.close();\n\t}\n\n}",
"Main",
"/**\n\t * AOJ002 Digit Number\n\t *\n\t * @param args\n\t * @throws IOException\n\t * ??\\?????¨??????\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader bufferedReader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\n\t\tString strInput = bufferedReader.readLine();\n\t\twhile (strInput != null) {\n\t\t\tString[] strDigit = strInput.split(\"\\\\s\");\n\n\t\t\tint sum = Integer.parseInt(strDigit[0])\n\t\t\t\t\t+ Integer.parseInt(strDigit[1]);\n\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t\tstrInput = bufferedReader.readLine();\n\t\t}\n\n\t\tbufferedReader.close();\n\t}",
"main",
"{\n\n\t\tBufferedReader bufferedReader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\n\t\tString strInput = bufferedReader.readLine();\n\t\twhile (strInput != null) {\n\t\t\tString[] strDigit = strInput.split(\"\\\\s\");\n\n\t\t\tint sum = Integer.parseInt(strDigit[0])\n\t\t\t\t\t+ Integer.parseInt(strDigit[1]);\n\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t\tstrInput = bufferedReader.readLine();\n\t\t}\n\n\t\tbufferedReader.close();\n\t}",
"BufferedReader bufferedReader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));",
"bufferedReader",
"new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))",
"String strInput = bufferedReader.readLine();",
"strInput",
"bufferedReader.readLine()",
"bufferedReader.readLine",
"bufferedReader",
"while (strInput != null) {\n\t\t\tString[] strDigit = strInput.split(\"\\\\s\");\n\n\t\t\tint sum = Integer.parseInt(strDigit[0])\n\t\t\t\t\t+ Integer.parseInt(strDigit[1]);\n\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t\tstrInput = bufferedReader.readLine();\n\t\t}",
"strInput != null",
"strInput",
"null",
"{\n\t\t\tString[] strDigit = strInput.split(\"\\\\s\");\n\n\t\t\tint sum = Integer.parseInt(strDigit[0])\n\t\t\t\t\t+ Integer.parseInt(strDigit[1]);\n\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t\tstrInput = bufferedReader.readLine();\n\t\t}",
"String[] strDigit = strInput.split(\"\\\\s\");",
"strDigit",
"strInput.split(\"\\\\s\")",
"strInput.split",
"strInput",
"\"\\\\s\"",
"int sum = Integer.parseInt(strDigit[0])\n\t\t\t\t\t+ Integer.parseInt(strDigit[1]);",
"sum",
"Integer.parseInt(strDigit[0])\n\t\t\t\t\t+ Integer.parseInt(strDigit[1])",
"Integer.parseInt(strDigit[0])",
"Integer.parseInt",
"Integer",
"strDigit[0]",
"strDigit",
"0",
"Integer.parseInt(strDigit[1])",
"Integer.parseInt",
"Integer",
"strDigit[1]",
"strDigit",
"1",
"System.out.println(Integer.toString(sum).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(sum).length()",
"Integer.toString(sum).length",
"Integer.toString(sum)",
"Integer.toString",
"Integer",
"sum",
"strInput = bufferedReader.readLine()",
"strInput",
"bufferedReader.readLine()",
"bufferedReader.readLine",
"bufferedReader",
"bufferedReader.close()",
"bufferedReader.close",
"bufferedReader",
"String[] args",
"args",
"public class Main {\n\n\t/**\n\t * AOJ002 Digit Number\n\t *\n\t * @param args\n\t * @throws IOException\n\t * ??\\?????¨??????\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader bufferedReader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\n\t\tString strInput = bufferedReader.readLine();\n\t\twhile (strInput != null) {\n\t\t\tString[] strDigit = strInput.split(\"\\\\s\");\n\n\t\t\tint sum = Integer.parseInt(strDigit[0])\n\t\t\t\t\t+ Integer.parseInt(strDigit[1]);\n\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t\tstrInput = bufferedReader.readLine();\n\t\t}\n\n\t\tbufferedReader.close();\n\t}\n\n}",
"public class Main {\n\n\t/**\n\t * AOJ002 Digit Number\n\t *\n\t * @param args\n\t * @throws IOException\n\t * ??\\?????¨??????\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader bufferedReader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\n\t\tString strInput = bufferedReader.readLine();\n\t\twhile (strInput != null) {\n\t\t\tString[] strDigit = strInput.split(\"\\\\s\");\n\n\t\t\tint sum = Integer.parseInt(strDigit[0])\n\t\t\t\t\t+ Integer.parseInt(strDigit[1]);\n\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t\tstrInput = bufferedReader.readLine();\n\t\t}\n\n\t\tbufferedReader.close();\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
/**
* AOJ002 Digit Number
*
* @param args
* @throws IOException
* ??\?????¨??????
*/
public static void main(String[] args) throws IOException {
BufferedReader bufferedReader = new BufferedReader(
new InputStreamReader(System.in));
String strInput = bufferedReader.readLine();
while (strInput != null) {
String[] strDigit = strInput.split("\\s");
int sum = Integer.parseInt(strDigit[0])
+ Integer.parseInt(strDigit[1]);
System.out.println(Integer.toString(sum).length());
strInput = bufferedReader.readLine();
}
bufferedReader.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
28,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
28,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
28,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
28,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
12,
67
],
[
67,
68
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = in.readLine()) != null) { \n\n\t\t\tString[] ab = line.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\n\t\t\t String out =Integer.toString(a+b);\n\t\t\t System.out.println(out.length());\n\t\t\t\n\t\t}\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = in.readLine()) != null) { \n\n\t\t\tString[] ab = line.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\n\t\t\t String out =Integer.toString(a+b);\n\t\t\t System.out.println(out.length());\n\t\t\t\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = in.readLine()) != null) { \n\n\t\t\tString[] ab = line.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\n\t\t\t String out =Integer.toString(a+b);\n\t\t\t System.out.println(out.length());\n\t\t\t\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = in.readLine()) != null) { \n\n\t\t\tString[] ab = line.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\n\t\t\t String out =Integer.toString(a+b);\n\t\t\t System.out.println(out.length());\n\t\t\t\n\t\t}\n\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"while ((line = in.readLine()) != null) { \n\n\t\t\tString[] ab = line.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\n\t\t\t String out =Integer.toString(a+b);\n\t\t\t System.out.println(out.length());\n\t\t\t\n\t\t}",
"(line = in.readLine()) != null",
"(line = in.readLine())",
"line",
"in.readLine()",
"in.readLine",
"in",
"null",
"{ \n\n\t\t\tString[] ab = line.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\n\t\t\t String out =Integer.toString(a+b);\n\t\t\t System.out.println(out.length());\n\t\t\t\n\t\t}",
"String[] ab = line.split(\" \");",
"ab",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int a = Integer.parseInt(ab[0]);",
"a",
"Integer.parseInt(ab[0])",
"Integer.parseInt",
"Integer",
"ab[0]",
"ab",
"0",
"int b = Integer.parseInt(ab[1]);",
"b",
"Integer.parseInt(ab[1])",
"Integer.parseInt",
"Integer",
"ab[1]",
"ab",
"1",
"String out =Integer.toString(a+b);",
"out",
"Integer.toString(a+b)",
"Integer.toString",
"Integer",
"a+b",
"a",
"b",
"System.out.println(out.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"out.length()",
"out.length",
"out",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String line;
while ((line = in.readLine()) != null) {
String[] ab = line.split(" ");
int a = Integer.parseInt(ab[0]);
int b = Integer.parseInt(ab[1]);
String out =Integer.toString(a+b);
System.out.println(out.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
20,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
4,
18,
13,
4,
18,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
73,
5
],
[
73,
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,
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
],
[
41,
42
],
[
41,
43
],
[
25,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
50,
57
],
[
57,
58
],
[
58,
59
],
[
50,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
6,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
] | [
"import java.util.*;\npublic class Main{\n public static void main(String[] args){\n\tScanner scan = new Scanner(System.in);\n\tint n,m;\n\n\tString str;\n\n\tList<Integer> list = new LinkedList<Integer>();\n\n\twhile(scan.hasNext()){\n\t n = scan.nextInt();\n\t m = scan.nextInt();\n\t str = String.valueOf(n+m);\n \t list.add(str.length());\n \t}\n\n\tfor(Iterator<Integer> it = list.iterator(); it.hasNext();){\n\t System.out.println(it.next());\n\t}\n }\n }",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n\tScanner scan = new Scanner(System.in);\n\tint n,m;\n\n\tString str;\n\n\tList<Integer> list = new LinkedList<Integer>();\n\n\twhile(scan.hasNext()){\n\t n = scan.nextInt();\n\t m = scan.nextInt();\n\t str = String.valueOf(n+m);\n \t list.add(str.length());\n \t}\n\n\tfor(Iterator<Integer> it = list.iterator(); it.hasNext();){\n\t System.out.println(it.next());\n\t}\n }\n }",
"Main",
"public static void main(String[] args){\n\tScanner scan = new Scanner(System.in);\n\tint n,m;\n\n\tString str;\n\n\tList<Integer> list = new LinkedList<Integer>();\n\n\twhile(scan.hasNext()){\n\t n = scan.nextInt();\n\t m = scan.nextInt();\n\t str = String.valueOf(n+m);\n \t list.add(str.length());\n \t}\n\n\tfor(Iterator<Integer> it = list.iterator(); it.hasNext();){\n\t System.out.println(it.next());\n\t}\n }",
"main",
"{\n\tScanner scan = new Scanner(System.in);\n\tint n,m;\n\n\tString str;\n\n\tList<Integer> list = new LinkedList<Integer>();\n\n\twhile(scan.hasNext()){\n\t n = scan.nextInt();\n\t m = scan.nextInt();\n\t str = String.valueOf(n+m);\n \t list.add(str.length());\n \t}\n\n\tfor(Iterator<Integer> it = list.iterator(); it.hasNext();){\n\t System.out.println(it.next());\n\t}\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n",
"n",
"m;",
"m",
"String str;",
"str",
"List<Integer> list = new LinkedList<Integer>();",
"list",
"new LinkedList<Integer>()",
"while(scan.hasNext()){\n\t n = scan.nextInt();\n\t m = scan.nextInt();\n\t str = String.valueOf(n+m);\n \t list.add(str.length());\n \t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t n = scan.nextInt();\n\t m = scan.nextInt();\n\t str = String.valueOf(n+m);\n \t list.add(str.length());\n \t}",
"n = scan.nextInt()",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"m = scan.nextInt()",
"m",
"scan.nextInt()",
"scan.nextInt",
"scan",
"str = String.valueOf(n+m)",
"str",
"String.valueOf(n+m)",
"String.valueOf",
"String",
"n+m",
"n",
"m",
"list.add(str.length())",
"list.add",
"list",
"str.length()",
"str.length",
"str",
"for(Iterator<Integer> it = list.iterator(); it.hasNext();){\n\t System.out.println(it.next());\n\t}",
"Iterator<Integer> it = list.iterator();",
"Iterator<Integer> it = list.iterator();",
"it",
"list.iterator()",
"list.iterator",
"list",
"it.hasNext()",
"it.hasNext",
"it",
"{\n\t System.out.println(it.next());\n\t}",
"{\n\t System.out.println(it.next());\n\t}",
"System.out.println(it.next())",
"System.out.println",
"System.out",
"System",
"System.out",
"it.next()",
"it.next",
"it",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n\tScanner scan = new Scanner(System.in);\n\tint n,m;\n\n\tString str;\n\n\tList<Integer> list = new LinkedList<Integer>();\n\n\twhile(scan.hasNext()){\n\t n = scan.nextInt();\n\t m = scan.nextInt();\n\t str = String.valueOf(n+m);\n \t list.add(str.length());\n \t}\n\n\tfor(Iterator<Integer> it = list.iterator(); it.hasNext();){\n\t System.out.println(it.next());\n\t}\n }\n }",
"public class Main{\n public static void main(String[] args){\n\tScanner scan = new Scanner(System.in);\n\tint n,m;\n\n\tString str;\n\n\tList<Integer> list = new LinkedList<Integer>();\n\n\twhile(scan.hasNext()){\n\t n = scan.nextInt();\n\t m = scan.nextInt();\n\t str = String.valueOf(n+m);\n \t list.add(str.length());\n \t}\n\n\tfor(Iterator<Integer> it = list.iterator(); it.hasNext();){\n\t System.out.println(it.next());\n\t}\n }\n }",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int n,m;
String str;
List<Integer> list = new LinkedList<Integer>();
while(scan.hasNext()){
n = scan.nextInt();
m = scan.nextInt();
str = String.valueOf(n+m);
list.add(str.length());
}
for(Iterator<Integer> it = list.iterator(); it.hasNext();){
System.out.println(it.next());
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
13,
23,
13,
12,
13,
30,
0,
13,
13,
41,
13,
17,
42,
2,
2,
13,
17,
17,
30,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
4,
8
],
[
8,
9
],
[
4,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
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
],
[
10,
33
],
[
33,
34
],
[
4,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
37,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
37,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static int a, b;\n\tpublic static void main(String[] args) {\n\t\tScanner cin = new Scanner(System.in);\n\t\twhile(cin.hasNextInt()){\n\t\t\ta = cin.nextInt();\n\t\t\tb = cin.nextInt();\n\t\t\tsolve();\n\t\t}\n\t}\n\t\n\tpublic static void solve() {\n\t\ta += b;\n\t\tint ans = 1;\n\t\twhile(a / 10 > 0){\n\t\t\ta /= 10;\n\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static int a, b;\n\tpublic static void main(String[] args) {\n\t\tScanner cin = new Scanner(System.in);\n\t\twhile(cin.hasNextInt()){\n\t\t\ta = cin.nextInt();\n\t\t\tb = cin.nextInt();\n\t\t\tsolve();\n\t\t}\n\t}\n\t\n\tpublic static void solve() {\n\t\ta += b;\n\t\tint ans = 1;\n\t\twhile(a / 10 > 0){\n\t\t\ta /= 10;\n\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"public static int a",
"a",
"b;",
"b",
"public static void main(String[] args) {\n\t\tScanner cin = new Scanner(System.in);\n\t\twhile(cin.hasNextInt()){\n\t\t\ta = cin.nextInt();\n\t\t\tb = cin.nextInt();\n\t\t\tsolve();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner cin = new Scanner(System.in);\n\t\twhile(cin.hasNextInt()){\n\t\t\ta = cin.nextInt();\n\t\t\tb = cin.nextInt();\n\t\t\tsolve();\n\t\t}\n\t}",
"Scanner cin = new Scanner(System.in);",
"cin",
"new Scanner(System.in)",
"while(cin.hasNextInt()){\n\t\t\ta = cin.nextInt();\n\t\t\tb = cin.nextInt();\n\t\t\tsolve();\n\t\t}",
"cin.hasNextInt()",
"cin.hasNextInt",
"cin",
"{\n\t\t\ta = cin.nextInt();\n\t\t\tb = cin.nextInt();\n\t\t\tsolve();\n\t\t}",
"a = cin.nextInt()",
"a",
"cin.nextInt()",
"cin.nextInt",
"cin",
"b = cin.nextInt()",
"b",
"cin.nextInt()",
"cin.nextInt",
"cin",
"solve()",
"solve",
"String[] args",
"args",
"public static void solve() {\n\t\ta += b;\n\t\tint ans = 1;\n\t\twhile(a / 10 > 0){\n\t\t\ta /= 10;\n\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"solve",
"{\n\t\ta += b;\n\t\tint ans = 1;\n\t\twhile(a / 10 > 0){\n\t\t\ta /= 10;\n\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"a += b",
"a",
"b",
"int ans = 1;",
"ans",
"1",
"while(a / 10 > 0){\n\t\t\ta /= 10;\n\t\t\tans++;\n\t\t}",
"a / 10 > 0",
"a / 10",
"a",
"10",
"0",
"{\n\t\t\ta /= 10;\n\t\t\tans++;\n\t\t}",
"a /= 10",
"a",
"10",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans"
] | import java.util.Scanner;
class Main {
public static int a, b;
public static void main(String[] args) {
Scanner cin = new Scanner(System.in);
while(cin.hasNextInt()){
a = cin.nextInt();
b = cin.nextInt();
solve();
}
}
public static void solve() {
a += b;
int ans = 1;
while(a / 10 > 0){
a /= 10;
ans++;
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
20,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
17,
42,
17,
30,
0,
13,
17,
40,
13,
14,
2,
13,
17,
30,
3,
4,
18,
13,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
201,
23
],
[
201,
24
],
[
24,
25
],
[
201,
26
],
[
26,
27
],
[
201,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
30,
37
],
[
37,
38
],
[
37,
39
],
[
30,
40
],
[
40,
41
],
[
41,
42
],
[
30,
43
],
[
43,
44
],
[
44,
45
],
[
28,
46
],
[
46,
47
],
[
201,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
60,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
60,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
60,
76
],
[
76,
77
],
[
76,
78
],
[
60,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
81,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
60,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
201,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
97,
101
],
[
101,
102
],
[
97,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
103,
109
],
[
109,
110
],
[
97,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
114,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
113,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
128,
131
],
[
131,
132
],
[
132,
133
],
[
97,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
137,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
136,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
151,
154
],
[
154,
155
],
[
155,
156
],
[
97,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
161,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
160,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
159,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
97,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
181,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
180,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
179,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
194,
197
],
[
197,
198
],
[
198,
199
],
[
0,
200
],
[
200,
201
],
[
200,
202
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\nimport java.util.StringTokenizer;\n\npublic class Main {\n static InputReader in;\n static PrintWriter out;\n \n static class Solution {\n void solve() throws IOException {\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sum = a + b;\n int cnt = 0;\n \n while (true) {\n sum /= 10;\n cnt++;\n if (sum == 0) {\n break;\n }\n }\n \n out.println(cnt);\n }\n// End solve()\n }\n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n \n static class Solution {\n void solve() throws IOException {\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sum = a + b;\n int cnt = 0;\n \n while (true) {\n sum /= 10;\n cnt++;\n if (sum == 0) {\n break;\n }\n }\n \n out.println(cnt);\n }\n// End solve()\n }\n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}",
"Main",
"static InputReader in;",
"in",
"static PrintWriter out;",
"out",
"public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}",
"main",
"{\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}",
"in = new InputReader(System.in)",
"in",
"new InputReader(System.in)",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"Solution solver = new Solution();",
"solver",
"new Solution()",
"solver.solve()",
"solver.solve",
"solver",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Solution {\n void solve() throws IOException {\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sum = a + b;\n int cnt = 0;\n \n while (true) {\n sum /= 10;\n cnt++;\n if (sum == 0) {\n break;\n }\n }\n \n out.println(cnt);\n }\n// End solve()\n }\n// End Solution\n}",
"Solution",
"void solve() throws IOException {\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sum = a + b;\n int cnt = 0;\n \n while (true) {\n sum /= 10;\n cnt++;\n if (sum == 0) {\n break;\n }\n }\n \n out.println(cnt);\n }\n// End solve()\n }",
"solve",
"{\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sum = a + b;\n int cnt = 0;\n \n while (true) {\n sum /= 10;\n cnt++;\n if (sum == 0) {\n break;\n }\n }\n \n out.println(cnt);\n }\n// End solve()\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sum = a + b;\n int cnt = 0;\n \n while (true) {\n sum /= 10;\n cnt++;\n if (sum == 0) {\n break;\n }\n }\n \n out.println(cnt);\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sum = a + b;\n int cnt = 0;\n \n while (true) {\n sum /= 10;\n cnt++;\n if (sum == 0) {\n break;\n }\n }\n \n out.println(cnt);\n }",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int sum = a + b;",
"sum",
"a + b",
"a",
"b",
"int cnt = 0;",
"cnt",
"0",
"while (true) {\n sum /= 10;\n cnt++;\n if (sum == 0) {\n break;\n }\n }",
"true",
"{\n sum /= 10;\n cnt++;\n if (sum == 0) {\n break;\n }\n }",
"sum /= 10",
"sum",
"10",
"cnt++",
"cnt",
"if (sum == 0) {\n break;\n }",
"sum == 0",
"sum",
"0",
"{\n break;\n }",
"break;",
"out.println(cnt)",
"out.println",
"out",
"cnt",
"static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }",
"InputReader",
"public BufferedReader br;",
"br",
"public StringTokenizer st;",
"st",
"public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }",
"InputReader",
"{\n br = new BufferedReader(new InputStreamReader(stream));\n }",
"br = new BufferedReader(new InputStreamReader(stream))",
"br",
"new BufferedReader(new InputStreamReader(stream))",
"InputStream stream",
"stream",
"public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }",
"nextInt",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Integer.parseInt(st.nextToken());",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }",
"nextLong",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Long.parseLong(st.nextToken());",
"Long.parseLong(st.nextToken())",
"Long.parseLong",
"Long",
"st.nextToken()",
"st.nextToken",
"st",
"public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }",
"nextDouble",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Double.parseDouble(st.nextToken());",
"Double.parseDouble(st.nextToken())",
"Double.parseDouble",
"Double",
"st.nextToken()",
"st.nextToken",
"st",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n \n static class Solution {\n void solve() throws IOException {\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sum = a + b;\n int cnt = 0;\n \n while (true) {\n sum /= 10;\n cnt++;\n if (sum == 0) {\n break;\n }\n }\n \n out.println(cnt);\n }\n// End solve()\n }\n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n \n static class Solution {\n void solve() throws IOException {\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int sum = a + b;\n int cnt = 0;\n \n while (true) {\n sum /= 10;\n cnt++;\n if (sum == 0) {\n break;\n }\n }\n \n out.println(cnt);\n }\n// End solve()\n }\n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.Scanner;
import java.util.StringTokenizer;
public class Main {
static InputReader in;
static PrintWriter out;
static class Solution {
void solve() throws IOException {
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
int a = sc.nextInt();
int b = sc.nextInt();
int sum = a + b;
int cnt = 0;
while (true) {
sum /= 10;
cnt++;
if (sum == 0) {
break;
}
}
out.println(cnt);
}
// End solve()
}
// End Solution
}
public static void main(String[] args) throws IOException {
in = new InputReader(System.in);
out = new PrintWriter(System.out);
Solution solver = new Solution();
solver.solve();
out.close();
}
static class InputReader {
public BufferedReader br;
public StringTokenizer st;
public InputReader(InputStream stream) {
br = new BufferedReader(new InputStreamReader(stream));
}
public int nextInt() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Integer.parseInt(st.nextToken());
}
public long nextLong() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Long.parseLong(st.nextToken());
}
public String next() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return st.nextToken();
}
public double nextDouble() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Double.parseDouble(st.nextToken());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
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
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
32,
34
],
[
16,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
6,
43
],
[
43,
44
]
] | [
"import java.util.Scanner;\n\nclass Main\n{\n public static void main(String[] agrs)\n {\n Scanner input = new Scanner(System.in);\n while(input.hasNext())\n {\n int a = input.nextInt();\n int b = input.nextInt();\n String s = Integer.toString(a + b);\n System.out.println(s.length());\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main\n{\n public static void main(String[] agrs)\n {\n Scanner input = new Scanner(System.in);\n while(input.hasNext())\n {\n int a = input.nextInt();\n int b = input.nextInt();\n String s = Integer.toString(a + b);\n System.out.println(s.length());\n }\n }\n}",
"Main",
"public static void main(String[] agrs)\n {\n Scanner input = new Scanner(System.in);\n while(input.hasNext())\n {\n int a = input.nextInt();\n int b = input.nextInt();\n String s = Integer.toString(a + b);\n System.out.println(s.length());\n }\n }",
"main",
"{\n Scanner input = new Scanner(System.in);\n while(input.hasNext())\n {\n int a = input.nextInt();\n int b = input.nextInt();\n String s = Integer.toString(a + b);\n System.out.println(s.length());\n }\n }",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"while(input.hasNext())\n {\n int a = input.nextInt();\n int b = input.nextInt();\n String s = Integer.toString(a + b);\n System.out.println(s.length());\n }",
"input.hasNext()",
"input.hasNext",
"input",
"{\n int a = input.nextInt();\n int b = input.nextInt();\n String s = Integer.toString(a + b);\n System.out.println(s.length());\n }",
"int a = input.nextInt();",
"a",
"input.nextInt()",
"input.nextInt",
"input",
"int b = input.nextInt();",
"b",
"input.nextInt()",
"input.nextInt",
"input",
"String s = Integer.toString(a + b);",
"s",
"Integer.toString(a + b)",
"Integer.toString",
"Integer",
"a + b",
"a",
"b",
"System.out.println(s.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"s.length()",
"s.length",
"s",
"String[] agrs",
"agrs"
] | import java.util.Scanner;
class Main
{
public static void main(String[] agrs)
{
Scanner input = new Scanner(System.in);
while(input.hasNext())
{
int a = input.nextInt();
int b = input.nextInt();
String s = Integer.toString(a + b);
System.out.println(s.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
19,
24
],
[
16,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
27,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
16,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] | [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNextLine()) {\n\t\t\tString[] array = (sc.nextLine().split(\" \"));\n\t\t\tint result = Integer.parseInt(array[0]) + Integer.parseInt(array[1]);\n\t\t\tSystem.out.println(String.valueOf(result).length());\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNextLine()) {\n\t\t\tString[] array = (sc.nextLine().split(\" \"));\n\t\t\tint result = Integer.parseInt(array[0]) + Integer.parseInt(array[1]);\n\t\t\tSystem.out.println(String.valueOf(result).length());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNextLine()) {\n\t\t\tString[] array = (sc.nextLine().split(\" \"));\n\t\t\tint result = Integer.parseInt(array[0]) + Integer.parseInt(array[1]);\n\t\t\tSystem.out.println(String.valueOf(result).length());\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNextLine()) {\n\t\t\tString[] array = (sc.nextLine().split(\" \"));\n\t\t\tint result = Integer.parseInt(array[0]) + Integer.parseInt(array[1]);\n\t\t\tSystem.out.println(String.valueOf(result).length());\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNextLine()) {\n\t\t\tString[] array = (sc.nextLine().split(\" \"));\n\t\t\tint result = Integer.parseInt(array[0]) + Integer.parseInt(array[1]);\n\t\t\tSystem.out.println(String.valueOf(result).length());\n\t\t}",
"sc.hasNextLine()",
"sc.hasNextLine",
"sc",
"{\n\t\t\tString[] array = (sc.nextLine().split(\" \"));\n\t\t\tint result = Integer.parseInt(array[0]) + Integer.parseInt(array[1]);\n\t\t\tSystem.out.println(String.valueOf(result).length());\n\t\t}",
"String[] array = (sc.nextLine().split(\" \"));",
"array",
"(sc.nextLine().split(\" \"))",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"int result = Integer.parseInt(array[0]) + Integer.parseInt(array[1]);",
"result",
"Integer.parseInt(array[0]) + Integer.parseInt(array[1])",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"System.out.println(String.valueOf(result).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(result).length()",
"String.valueOf(result).length",
"String.valueOf(result)",
"String.valueOf",
"String",
"result",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNextLine()) {\n\t\t\tString[] array = (sc.nextLine().split(\" \"));\n\t\t\tint result = Integer.parseInt(array[0]) + Integer.parseInt(array[1]);\n\t\t\tSystem.out.println(String.valueOf(result).length());\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNextLine()) {\n\t\t\tString[] array = (sc.nextLine().split(\" \"));\n\t\t\tint result = Integer.parseInt(array[0]) + Integer.parseInt(array[1]);\n\t\t\tSystem.out.println(String.valueOf(result).length());\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (sc.hasNextLine()) {
String[] array = (sc.nextLine().split(" "));
int result = Integer.parseInt(array[0]) + Integer.parseInt(array[1]);
System.out.println(String.valueOf(result).length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
56,
5
],
[
56,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
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
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
20,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
51,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint a,b;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile ((scan.hasNext())) {\n\n\t\t\ta = Integer.parseInt(scan.next());\n\t\t\tb = Integer.parseInt(scan.next());\n\n\t\t\tString length = String.valueOf(a + b);\n\n\t\t\tSystem.out.println(length.length());\n\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\n\t\tint a,b;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile ((scan.hasNext())) {\n\n\t\t\ta = Integer.parseInt(scan.next());\n\t\t\tb = Integer.parseInt(scan.next());\n\n\t\t\tString length = String.valueOf(a + b);\n\n\t\t\tSystem.out.println(length.length());\n\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tint a,b;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile ((scan.hasNext())) {\n\n\t\t\ta = Integer.parseInt(scan.next());\n\t\t\tb = Integer.parseInt(scan.next());\n\n\t\t\tString length = String.valueOf(a + b);\n\n\t\t\tSystem.out.println(length.length());\n\n\t\t}\n\t}",
"main",
"{\n\n\t\tint a,b;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile ((scan.hasNext())) {\n\n\t\t\ta = Integer.parseInt(scan.next());\n\t\t\tb = Integer.parseInt(scan.next());\n\n\t\t\tString length = String.valueOf(a + b);\n\n\t\t\tSystem.out.println(length.length());\n\n\t\t}\n\t}",
"int a",
"a",
"b;",
"b",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while ((scan.hasNext())) {\n\n\t\t\ta = Integer.parseInt(scan.next());\n\t\t\tb = Integer.parseInt(scan.next());\n\n\t\t\tString length = String.valueOf(a + b);\n\n\t\t\tSystem.out.println(length.length());\n\n\t\t}",
"(scan.hasNext())",
"scan.hasNext",
"scan",
"{\n\n\t\t\ta = Integer.parseInt(scan.next());\n\t\t\tb = Integer.parseInt(scan.next());\n\n\t\t\tString length = String.valueOf(a + b);\n\n\t\t\tSystem.out.println(length.length());\n\n\t\t}",
"a = Integer.parseInt(scan.next())",
"a",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"b = Integer.parseInt(scan.next())",
"b",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"String length = String.valueOf(a + b);",
"length",
"String.valueOf(a + b)",
"String.valueOf",
"String",
"a + b",
"a",
"b",
"System.out.println(length.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"length.length()",
"length.length",
"length",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint a,b;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile ((scan.hasNext())) {\n\n\t\t\ta = Integer.parseInt(scan.next());\n\t\t\tb = Integer.parseInt(scan.next());\n\n\t\t\tString length = String.valueOf(a + b);\n\n\t\t\tSystem.out.println(length.length());\n\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint a,b;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile ((scan.hasNext())) {\n\n\t\t\ta = Integer.parseInt(scan.next());\n\t\t\tb = Integer.parseInt(scan.next());\n\n\t\t\tString length = String.valueOf(a + b);\n\n\t\t\tSystem.out.println(length.length());\n\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int a,b;
Scanner scan = new Scanner(System.in);
while ((scan.hasNext())) {
a = Integer.parseInt(scan.next());
b = Integer.parseInt(scan.next());
String length = String.valueOf(a + b);
System.out.println(length.length());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
20,
0,
13,
2,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
73,
14
],
[
73,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
43,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
54,
55
],
[
37,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
37,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
15,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);\n\t\tString str = \"\";\n\t\tStringTokenizer st;\n\t\tint num = 0;\n\t\twhile ((str = br.readLine()) != null) {\n\t\t\tst = new StringTokenizer(str, \" \");\n\t\t\tnum = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n\t\t\tstr = String.valueOf(num);\n\t\t\tSystem.out.println(str.length());\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);\n\t\tString str = \"\";\n\t\tStringTokenizer st;\n\t\tint num = 0;\n\t\twhile ((str = br.readLine()) != null) {\n\t\t\tst = new StringTokenizer(str, \" \");\n\t\t\tnum = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n\t\t\tstr = String.valueOf(num);\n\t\t\tSystem.out.println(str.length());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);\n\t\tString str = \"\";\n\t\tStringTokenizer st;\n\t\tint num = 0;\n\t\twhile ((str = br.readLine()) != null) {\n\t\t\tst = new StringTokenizer(str, \" \");\n\t\t\tnum = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n\t\t\tstr = String.valueOf(num);\n\t\t\tSystem.out.println(str.length());\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);\n\t\tString str = \"\";\n\t\tStringTokenizer st;\n\t\tint num = 0;\n\t\twhile ((str = br.readLine()) != null) {\n\t\t\tst = new StringTokenizer(str, \" \");\n\t\t\tnum = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n\t\t\tstr = String.valueOf(num);\n\t\t\tSystem.out.println(str.length());\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);",
"br",
"new BufferedReader(new InputStreamReader(System.in), 1)",
"String str = \"\";",
"str",
"\"\"",
"StringTokenizer st;",
"st",
"int num = 0;",
"num",
"0",
"while ((str = br.readLine()) != null) {\n\t\t\tst = new StringTokenizer(str, \" \");\n\t\t\tnum = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n\t\t\tstr = String.valueOf(num);\n\t\t\tSystem.out.println(str.length());\n\t\t}",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tst = new StringTokenizer(str, \" \");\n\t\t\tnum = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n\t\t\tstr = String.valueOf(num);\n\t\t\tSystem.out.println(str.length());\n\t\t}",
"st = new StringTokenizer(str, \" \")",
"st",
"new StringTokenizer(str, \" \")",
"num = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken())",
"num",
"Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken())",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"str = String.valueOf(num)",
"str",
"String.valueOf(num)",
"String.valueOf",
"String",
"num",
"System.out.println(str.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"str.length()",
"str.length",
"str",
"String[] a",
"a",
"public class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);\n\t\tString str = \"\";\n\t\tStringTokenizer st;\n\t\tint num = 0;\n\t\twhile ((str = br.readLine()) != null) {\n\t\t\tst = new StringTokenizer(str, \" \");\n\t\t\tnum = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n\t\t\tstr = String.valueOf(num);\n\t\t\tSystem.out.println(str.length());\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);\n\t\tString str = \"\";\n\t\tStringTokenizer st;\n\t\tint num = 0;\n\t\twhile ((str = br.readLine()) != null) {\n\t\t\tst = new StringTokenizer(str, \" \");\n\t\t\tnum = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n\t\t\tstr = String.valueOf(num);\n\t\t\tSystem.out.println(str.length());\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] a) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);
String str = "";
StringTokenizer st;
int num = 0;
while ((str = br.readLine()) != null) {
st = new StringTokenizer(str, " ");
num = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());
str = String.valueOf(num);
System.out.println(str.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
40,
13,
14,
2,
13,
17,
3,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
17,
42,
2,
0,
13,
17,
17,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
66,
5
],
[
66,
6
],
[
6,
7
],
[
6,
8
],
[
66,
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
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
22,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
22,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
22,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
22,
45
],
[
45,
46
],
[
45,
47
],
[
22,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
48,
54
],
[
54,
55
],
[
55,
56
],
[
22,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
9,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n\tprivate static int N = 200;\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint cnt = 0;\n\n\t\twhile (sc.hasNextInt()) {\n\t\t\tcnt++;\n\t\t\tif (cnt > 200)\n\t\t\t\tbreak;\n\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint sum = a + b;\n\t\t\tint count = 1;\n\n\t\t\twhile ((sum /= 10) != 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tprivate static int N = 200;\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint cnt = 0;\n\n\t\twhile (sc.hasNextInt()) {\n\t\t\tcnt++;\n\t\t\tif (cnt > 200)\n\t\t\t\tbreak;\n\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint sum = a + b;\n\t\t\tint count = 1;\n\n\t\t\twhile ((sum /= 10) != 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n\n}",
"Main",
"private static int N = 200;",
"N",
"200",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint cnt = 0;\n\n\t\twhile (sc.hasNextInt()) {\n\t\t\tcnt++;\n\t\t\tif (cnt > 200)\n\t\t\t\tbreak;\n\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint sum = a + b;\n\t\t\tint count = 1;\n\n\t\t\twhile ((sum /= 10) != 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint cnt = 0;\n\n\t\twhile (sc.hasNextInt()) {\n\t\t\tcnt++;\n\t\t\tif (cnt > 200)\n\t\t\t\tbreak;\n\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint sum = a + b;\n\t\t\tint count = 1;\n\n\t\t\twhile ((sum /= 10) != 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int cnt = 0;",
"cnt",
"0",
"while (sc.hasNextInt()) {\n\t\t\tcnt++;\n\t\t\tif (cnt > 200)\n\t\t\t\tbreak;\n\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint sum = a + b;\n\t\t\tint count = 1;\n\n\t\t\twhile ((sum /= 10) != 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\t\t}",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n\t\t\tcnt++;\n\t\t\tif (cnt > 200)\n\t\t\t\tbreak;\n\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint sum = a + b;\n\t\t\tint count = 1;\n\n\t\t\twhile ((sum /= 10) != 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\t\t}",
"cnt++",
"cnt",
"if (cnt > 200)\n\t\t\t\tbreak;",
"cnt > 200",
"cnt",
"200",
"break;",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int sum = a + b;",
"sum",
"a + b",
"a",
"b",
"int count = 1;",
"count",
"1",
"while ((sum /= 10) != 0) {\n\t\t\t\tcount++;\n\t\t\t}",
"(sum /= 10) != 0",
"(sum /= 10)",
"sum",
"10",
"0",
"{\n\t\t\t\tcount++;\n\t\t\t}",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n\tprivate static int N = 200;\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint cnt = 0;\n\n\t\twhile (sc.hasNextInt()) {\n\t\t\tcnt++;\n\t\t\tif (cnt > 200)\n\t\t\t\tbreak;\n\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint sum = a + b;\n\t\t\tint count = 1;\n\n\t\t\twhile ((sum /= 10) != 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tprivate static int N = 200;\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint cnt = 0;\n\n\t\twhile (sc.hasNextInt()) {\n\t\t\tcnt++;\n\t\t\tif (cnt > 200)\n\t\t\t\tbreak;\n\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint sum = a + b;\n\t\t\tint count = 1;\n\n\t\t\twhile ((sum /= 10) != 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
private static int N = 200;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int cnt = 0;
while (sc.hasNextInt()) {
cnt++;
if (cnt > 200)
break;
int a = sc.nextInt();
int b = sc.nextInt();
int sum = a + b;
int count = 1;
while ((sum /= 10) != 0) {
count++;
}
System.out.println(count);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
4,
18,
13,
4,
18,
13,
2,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
32,
42
],
[
6,
43
],
[
43,
44
]
] | [
"import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while(scanner.hasNextInt()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println( (int)Math.floor( Math.log10(a+b) ) + 1 );\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 while(scanner.hasNextInt()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println( (int)Math.floor( Math.log10(a+b) ) + 1 );\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while(scanner.hasNextInt()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println( (int)Math.floor( Math.log10(a+b) ) + 1 );\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n while(scanner.hasNextInt()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println( (int)Math.floor( Math.log10(a+b) ) + 1 );\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while(scanner.hasNextInt()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println( (int)Math.floor( Math.log10(a+b) ) + 1 );\n }",
"scanner.hasNextInt()",
"scanner.hasNextInt",
"scanner",
"{\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println( (int)Math.floor( Math.log10(a+b) ) + 1 );\n }",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"System.out.println( (int)Math.floor( Math.log10(a+b) ) + 1 )",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)Math.floor( Math.log10(a+b) ) + 1",
"(int)Math.floor( Math.log10(a+b) )",
"Math.floor",
"Math",
"Math.log10(a+b)",
"Math.log10",
"Math",
"a+b",
"a",
"b",
"1",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
while(scanner.hasNextInt()) {
int a = scanner.nextInt();
int b = scanner.nextInt();
System.out.println( (int)Math.floor( Math.log10(a+b) ) + 1 );
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
2,
13,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
14,
2,
2,
13,
13,
17,
30,
29,
13,
40,
13,
0,
13,
17,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
74,
5
],
[
74,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
6,
36
],
[
36,
37
],
[
74,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
40,
46
],
[
46,
47
],
[
46,
48
],
[
40,
49
],
[
49,
50
],
[
49,
51
],
[
40,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
54,
64
],
[
64,
65
],
[
54,
66
],
[
66,
67
],
[
66,
68
],
[
38,
69
],
[
69,
70
],
[
38,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\t/**\n\t * Digit Number\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\twhile (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\n\t\t\tSystem.out.println(calcNumberDigit(a, b));\n\t\t}\n\t}\n\n\tprivate static int calcNumberDigit(int a, int b) {\n\t\tint target = a + b;\n\t\tint result = 1;\n\t\tint divide = 10;\n\n\t\twhile (true) {\n\t\t\tif (target / divide < 1) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tresult++;\n\t\t\tdivide *= 10;\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\t/**\n\t * Digit Number\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\twhile (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\n\t\t\tSystem.out.println(calcNumberDigit(a, b));\n\t\t}\n\t}\n\n\tprivate static int calcNumberDigit(int a, int b) {\n\t\tint target = a + b;\n\t\tint result = 1;\n\t\tint divide = 10;\n\n\t\twhile (true) {\n\t\t\tif (target / divide < 1) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tresult++;\n\t\t\tdivide *= 10;\n\t\t}\n\t}\n}",
"Main",
"/**\n\t * Digit Number\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\twhile (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\n\t\t\tSystem.out.println(calcNumberDigit(a, b));\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\twhile (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\n\t\t\tSystem.out.println(calcNumberDigit(a, b));\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\n\t\t\tSystem.out.println(calcNumberDigit(a, b));\n\t\t}",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\n\t\t\tSystem.out.println(calcNumberDigit(a, b));\n\t\t}",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"System.out.println(calcNumberDigit(a, b))",
"System.out.println",
"System.out",
"System",
"System.out",
"calcNumberDigit(a, b)",
"calcNumberDigit",
"a",
"b",
"String[] args",
"args",
"private static int calcNumberDigit(int a, int b) {\n\t\tint target = a + b;\n\t\tint result = 1;\n\t\tint divide = 10;\n\n\t\twhile (true) {\n\t\t\tif (target / divide < 1) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tresult++;\n\t\t\tdivide *= 10;\n\t\t}\n\t}",
"calcNumberDigit",
"{\n\t\tint target = a + b;\n\t\tint result = 1;\n\t\tint divide = 10;\n\n\t\twhile (true) {\n\t\t\tif (target / divide < 1) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tresult++;\n\t\t\tdivide *= 10;\n\t\t}\n\t}",
"int target = a + b;",
"target",
"a + b",
"a",
"b",
"int result = 1;",
"result",
"1",
"int divide = 10;",
"divide",
"10",
"while (true) {\n\t\t\tif (target / divide < 1) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tresult++;\n\t\t\tdivide *= 10;\n\t\t}",
"true",
"{\n\t\t\tif (target / divide < 1) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tresult++;\n\t\t\tdivide *= 10;\n\t\t}",
"if (target / divide < 1) {\n\t\t\t\treturn result;\n\t\t\t}",
"target / divide < 1",
"target / divide",
"target",
"divide",
"1",
"{\n\t\t\t\treturn result;\n\t\t\t}",
"return result;",
"result",
"result++",
"result",
"divide *= 10",
"divide",
"10",
"int a",
"a",
"int b",
"b",
"public class Main {\n\n\t/**\n\t * Digit Number\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\twhile (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\n\t\t\tSystem.out.println(calcNumberDigit(a, b));\n\t\t}\n\t}\n\n\tprivate static int calcNumberDigit(int a, int b) {\n\t\tint target = a + b;\n\t\tint result = 1;\n\t\tint divide = 10;\n\n\t\twhile (true) {\n\t\t\tif (target / divide < 1) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tresult++;\n\t\t\tdivide *= 10;\n\t\t}\n\t}\n}",
"public class Main {\n\n\t/**\n\t * Digit Number\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\twhile (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\n\t\t\tSystem.out.println(calcNumberDigit(a, b));\n\t\t}\n\t}\n\n\tprivate static int calcNumberDigit(int a, int b) {\n\t\tint target = a + b;\n\t\tint result = 1;\n\t\tint divide = 10;\n\n\t\twhile (true) {\n\t\t\tif (target / divide < 1) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tresult++;\n\t\t\tdivide *= 10;\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
/**
* Digit Number
* @param args
*/
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
while (scanner.hasNext()) {
int a = scanner.nextInt();
int b = scanner.nextInt();
System.out.println(calcNumberDigit(a, b));
}
}
private static int calcNumberDigit(int a, int b) {
int target = a + b;
int result = 1;
int divide = 10;
while (true) {
if (target / divide < 1) {
return result;
}
result++;
divide *= 10;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
17,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
87,
11
],
[
87,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
20,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
20,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
20,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
20,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
20,
59
],
[
59,
60
],
[
59,
61
],
[
20,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
62,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
20,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
12,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString tmpStr = br.readLine();\n\t\t\tif(tmpStr == null){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tString[] tmpArray = tmpStr.split(\" \");\n\t\t\t//int num1;\n\n\t\t\tint num1 = Integer.parseInt(tmpArray[0]);\n\t\t\tint num2 = Integer.parseInt(tmpArray[1]);\n\n\t\t\tint sum = num1 + num2;\n\n\t\t\tint keta = 0;\n\t\t\tfor (keta = 0; sum > 0 ; keta++ ){\n\t\t\t\tsum /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(keta);\n\t\t}\n\n\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString tmpStr = br.readLine();\n\t\t\tif(tmpStr == null){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tString[] tmpArray = tmpStr.split(\" \");\n\t\t\t//int num1;\n\n\t\t\tint num1 = Integer.parseInt(tmpArray[0]);\n\t\t\tint num2 = Integer.parseInt(tmpArray[1]);\n\n\t\t\tint sum = num1 + num2;\n\n\t\t\tint keta = 0;\n\t\t\tfor (keta = 0; sum > 0 ; keta++ ){\n\t\t\t\tsum /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(keta);\n\t\t}\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString tmpStr = br.readLine();\n\t\t\tif(tmpStr == null){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tString[] tmpArray = tmpStr.split(\" \");\n\t\t\t//int num1;\n\n\t\t\tint num1 = Integer.parseInt(tmpArray[0]);\n\t\t\tint num2 = Integer.parseInt(tmpArray[1]);\n\n\t\t\tint sum = num1 + num2;\n\n\t\t\tint keta = 0;\n\t\t\tfor (keta = 0; sum > 0 ; keta++ ){\n\t\t\t\tsum /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(keta);\n\t\t}\n\n\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString tmpStr = br.readLine();\n\t\t\tif(tmpStr == null){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tString[] tmpArray = tmpStr.split(\" \");\n\t\t\t//int num1;\n\n\t\t\tint num1 = Integer.parseInt(tmpArray[0]);\n\t\t\tint num2 = Integer.parseInt(tmpArray[1]);\n\n\t\t\tint sum = num1 + num2;\n\n\t\t\tint keta = 0;\n\t\t\tfor (keta = 0; sum > 0 ; keta++ ){\n\t\t\t\tsum /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(keta);\n\t\t}\n\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t\t\tString tmpStr = br.readLine();\n\t\t\tif(tmpStr == null){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tString[] tmpArray = tmpStr.split(\" \");\n\t\t\t//int num1;\n\n\t\t\tint num1 = Integer.parseInt(tmpArray[0]);\n\t\t\tint num2 = Integer.parseInt(tmpArray[1]);\n\n\t\t\tint sum = num1 + num2;\n\n\t\t\tint keta = 0;\n\t\t\tfor (keta = 0; sum > 0 ; keta++ ){\n\t\t\t\tsum /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(keta);\n\t\t}",
"true",
"{\n\t\t\tString tmpStr = br.readLine();\n\t\t\tif(tmpStr == null){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tString[] tmpArray = tmpStr.split(\" \");\n\t\t\t//int num1;\n\n\t\t\tint num1 = Integer.parseInt(tmpArray[0]);\n\t\t\tint num2 = Integer.parseInt(tmpArray[1]);\n\n\t\t\tint sum = num1 + num2;\n\n\t\t\tint keta = 0;\n\t\t\tfor (keta = 0; sum > 0 ; keta++ ){\n\t\t\t\tsum /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(keta);\n\t\t}",
"String tmpStr = br.readLine();",
"tmpStr",
"br.readLine()",
"br.readLine",
"br",
"if(tmpStr == null){\n\t\t\t\tbreak;\n\t\t\t}",
"tmpStr == null",
"tmpStr",
"null",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"String[] tmpArray = tmpStr.split(\" \");",
"tmpArray",
"tmpStr.split(\" \")",
"tmpStr.split",
"tmpStr",
"\" \"",
"int num1 = Integer.parseInt(tmpArray[0]);",
"num1",
"Integer.parseInt(tmpArray[0])",
"Integer.parseInt",
"Integer",
"tmpArray[0]",
"tmpArray",
"0",
"int num2 = Integer.parseInt(tmpArray[1]);",
"num2",
"Integer.parseInt(tmpArray[1])",
"Integer.parseInt",
"Integer",
"tmpArray[1]",
"tmpArray",
"1",
"int sum = num1 + num2;",
"sum",
"num1 + num2",
"num1",
"num2",
"int keta = 0;",
"keta",
"0",
"for (keta = 0; sum > 0 ; keta++ ){\n\t\t\t\tsum /= 10;\n\t\t\t}",
"keta = 0;",
"keta = 0",
"keta",
"0",
"sum > 0",
"sum",
"0",
"keta++",
"keta++",
"keta",
"{\n\t\t\t\tsum /= 10;\n\t\t\t}",
"{\n\t\t\t\tsum /= 10;\n\t\t\t}",
"sum /= 10",
"sum",
"10",
"System.out.println(keta)",
"System.out.println",
"System.out",
"System",
"System.out",
"keta",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString tmpStr = br.readLine();\n\t\t\tif(tmpStr == null){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tString[] tmpArray = tmpStr.split(\" \");\n\t\t\t//int num1;\n\n\t\t\tint num1 = Integer.parseInt(tmpArray[0]);\n\t\t\tint num2 = Integer.parseInt(tmpArray[1]);\n\n\t\t\tint sum = num1 + num2;\n\n\t\t\tint keta = 0;\n\t\t\tfor (keta = 0; sum > 0 ; keta++ ){\n\t\t\t\tsum /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(keta);\n\t\t}\n\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString tmpStr = br.readLine();\n\t\t\tif(tmpStr == null){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tString[] tmpArray = tmpStr.split(\" \");\n\t\t\t//int num1;\n\n\t\t\tint num1 = Integer.parseInt(tmpArray[0]);\n\t\t\tint num2 = Integer.parseInt(tmpArray[1]);\n\n\t\t\tint sum = num1 + num2;\n\n\t\t\tint keta = 0;\n\t\t\tfor (keta = 0; sum > 0 ; keta++ ){\n\t\t\t\tsum /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(keta);\n\t\t}\n\n\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
// TODO ?????????????????????????????????????????????
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String tmpStr = br.readLine();
if(tmpStr == null){
break;
}
String[] tmpArray = tmpStr.split(" ");
//int num1;
int num1 = Integer.parseInt(tmpArray[0]);
int num2 = Integer.parseInt(tmpArray[1]);
int sum = num1 + num2;
int keta = 0;
for (keta = 0; sum > 0 ; keta++ ){
sum /= 10;
}
System.out.println(keta);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
13,
17,
4,
18,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
30,
29,
2,
17,
4,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
94,
5
],
[
94,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
22,
27
],
[
19,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
31,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
8,
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
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
6,
70
],
[
70,
71
],
[
94,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
80,
81
],
[
75,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
72,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
] | [
"import java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> dataset = new ArrayList<Integer>();\n\t\twhile(sc.hasNextLine())\n\t\t{\n\t\t\tString[] splitted = sc.nextLine().split(\"\\\\s+\");\n\t\t\tdataset.add(Integer.parseInt(splitted[0]) + Integer.parseInt(splitted[1]));\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < dataset.size(); ++i)\n\t\t{\n\t\t\tSystem.out.println(DigitOf(dataset.get(i)));\n\t\t}\n\t\n\t}\n\t\n\tpublic static int DigitOf(Integer num)\n\t{\n\t\tif(num < 10)\n\t\t{\n\t\t\treturn 1;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn 1 + DigitOf(num/10);\n\t\t}\n\t}\n} ",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> dataset = new ArrayList<Integer>();\n\t\twhile(sc.hasNextLine())\n\t\t{\n\t\t\tString[] splitted = sc.nextLine().split(\"\\\\s+\");\n\t\t\tdataset.add(Integer.parseInt(splitted[0]) + Integer.parseInt(splitted[1]));\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < dataset.size(); ++i)\n\t\t{\n\t\t\tSystem.out.println(DigitOf(dataset.get(i)));\n\t\t}\n\t\n\t}\n\t\n\tpublic static int DigitOf(Integer num)\n\t{\n\t\tif(num < 10)\n\t\t{\n\t\t\treturn 1;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn 1 + DigitOf(num/10);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> dataset = new ArrayList<Integer>();\n\t\twhile(sc.hasNextLine())\n\t\t{\n\t\t\tString[] splitted = sc.nextLine().split(\"\\\\s+\");\n\t\t\tdataset.add(Integer.parseInt(splitted[0]) + Integer.parseInt(splitted[1]));\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < dataset.size(); ++i)\n\t\t{\n\t\t\tSystem.out.println(DigitOf(dataset.get(i)));\n\t\t}\n\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> dataset = new ArrayList<Integer>();\n\t\twhile(sc.hasNextLine())\n\t\t{\n\t\t\tString[] splitted = sc.nextLine().split(\"\\\\s+\");\n\t\t\tdataset.add(Integer.parseInt(splitted[0]) + Integer.parseInt(splitted[1]));\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < dataset.size(); ++i)\n\t\t{\n\t\t\tSystem.out.println(DigitOf(dataset.get(i)));\n\t\t}\n\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"List<Integer> dataset = new ArrayList<Integer>();",
"dataset",
"new ArrayList<Integer>()",
"while(sc.hasNextLine())\n\t\t{\n\t\t\tString[] splitted = sc.nextLine().split(\"\\\\s+\");\n\t\t\tdataset.add(Integer.parseInt(splitted[0]) + Integer.parseInt(splitted[1]));\n\t\t}",
"sc.hasNextLine()",
"sc.hasNextLine",
"sc",
"{\n\t\t\tString[] splitted = sc.nextLine().split(\"\\\\s+\");\n\t\t\tdataset.add(Integer.parseInt(splitted[0]) + Integer.parseInt(splitted[1]));\n\t\t}",
"String[] splitted = sc.nextLine().split(\"\\\\s+\");",
"splitted",
"sc.nextLine().split(\"\\\\s+\")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\"\\\\s+\"",
"dataset.add(Integer.parseInt(splitted[0]) + Integer.parseInt(splitted[1]))",
"dataset.add",
"dataset",
"Integer.parseInt(splitted[0]) + Integer.parseInt(splitted[1])",
"Integer.parseInt(splitted[0])",
"Integer.parseInt",
"Integer",
"splitted[0]",
"splitted",
"0",
"Integer.parseInt(splitted[1])",
"Integer.parseInt",
"Integer",
"splitted[1]",
"splitted",
"1",
"for(int i = 0; i < dataset.size(); ++i)\n\t\t{\n\t\t\tSystem.out.println(DigitOf(dataset.get(i)));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < dataset.size()",
"i",
"dataset.size()",
"dataset.size",
"dataset",
"++i",
"++i",
"i",
"{\n\t\t\tSystem.out.println(DigitOf(dataset.get(i)));\n\t\t}",
"{\n\t\t\tSystem.out.println(DigitOf(dataset.get(i)));\n\t\t}",
"System.out.println(DigitOf(dataset.get(i)))",
"System.out.println",
"System.out",
"System",
"System.out",
"DigitOf(dataset.get(i))",
"DigitOf",
"dataset.get(i)",
"dataset.get",
"dataset",
"i",
"String[] args",
"args",
"public static int DigitOf(Integer num)\n\t{\n\t\tif(num < 10)\n\t\t{\n\t\t\treturn 1;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn 1 + DigitOf(num/10);\n\t\t}\n\t}",
"DigitOf",
"{\n\t\tif(num < 10)\n\t\t{\n\t\t\treturn 1;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn 1 + DigitOf(num/10);\n\t\t}\n\t}",
"if(num < 10)\n\t\t{\n\t\t\treturn 1;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn 1 + DigitOf(num/10);\n\t\t}",
"num < 10",
"num",
"10",
"{\n\t\t\treturn 1;\n\t\t}",
"return 1;",
"1",
"{\n\t\t\treturn 1 + DigitOf(num/10);\n\t\t}",
"return 1 + DigitOf(num/10);",
"1 + DigitOf(num/10)",
"1",
"DigitOf(num/10)",
"DigitOf",
"num/10",
"num",
"10",
"Integer num",
"num",
"public class Main {\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> dataset = new ArrayList<Integer>();\n\t\twhile(sc.hasNextLine())\n\t\t{\n\t\t\tString[] splitted = sc.nextLine().split(\"\\\\s+\");\n\t\t\tdataset.add(Integer.parseInt(splitted[0]) + Integer.parseInt(splitted[1]));\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < dataset.size(); ++i)\n\t\t{\n\t\t\tSystem.out.println(DigitOf(dataset.get(i)));\n\t\t}\n\t\n\t}\n\t\n\tpublic static int DigitOf(Integer num)\n\t{\n\t\tif(num < 10)\n\t\t{\n\t\t\treturn 1;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn 1 + DigitOf(num/10);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> dataset = new ArrayList<Integer>();\n\t\twhile(sc.hasNextLine())\n\t\t{\n\t\t\tString[] splitted = sc.nextLine().split(\"\\\\s+\");\n\t\t\tdataset.add(Integer.parseInt(splitted[0]) + Integer.parseInt(splitted[1]));\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < dataset.size(); ++i)\n\t\t{\n\t\t\tSystem.out.println(DigitOf(dataset.get(i)));\n\t\t}\n\t\n\t}\n\t\n\tpublic static int DigitOf(Integer num)\n\t{\n\t\tif(num < 10)\n\t\t{\n\t\t\treturn 1;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn 1 + DigitOf(num/10);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
List<Integer> dataset = new ArrayList<Integer>();
while(sc.hasNextLine())
{
String[] splitted = sc.nextLine().split("\\s+");
dataset.add(Integer.parseInt(splitted[0]) + Integer.parseInt(splitted[1]));
}
for(int i = 0; i < dataset.size(); ++i)
{
System.out.println(DigitOf(dataset.get(i)));
}
}
public static int DigitOf(Integer num)
{
if(num < 10)
{
return 1;
}
else
{
return 1 + DigitOf(num/10);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
41,
13,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
2,
13,
17,
30,
3,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
4,
18,
13,
2,
4,
18,
4,
18,
13,
2,
13,
13,
17,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
113,
11
],
[
113,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
14,
32
],
[
32,
33
],
[
14,
34
],
[
34,
35
],
[
14,
36
],
[
36,
37
],
[
36,
38
],
[
14,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
53,
62
],
[
62,
63
],
[
52,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
52,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
75,
77
],
[
52,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
83,
84
],
[
83,
85
],
[
52,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
95,
96
],
[
95,
97
],
[
89,
98
],
[
52,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
14,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
12,
110
],
[
110,
111
],
[
0,
112
],
[
112,
113
],
[
112,
114
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n final String SPACE = \" \";\n final String EMPTY = \"\";\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n String str = br.readLine();\n int a;\n int b;\n String[] temp = new String[2];\n for (int i = 0; i < 200; i++) {\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }\n\n System.out.print(sb);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n final String SPACE = \" \";\n final String EMPTY = \"\";\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n String str = br.readLine();\n int a;\n int b;\n String[] temp = new String[2];\n for (int i = 0; i < 200; i++) {\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }\n\n System.out.print(sb);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n final String SPACE = \" \";\n final String EMPTY = \"\";\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n String str = br.readLine();\n int a;\n int b;\n String[] temp = new String[2];\n for (int i = 0; i < 200; i++) {\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }\n\n System.out.print(sb);\n }",
"main",
"{\n final String SPACE = \" \";\n final String EMPTY = \"\";\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n String str = br.readLine();\n int a;\n int b;\n String[] temp = new String[2];\n for (int i = 0; i < 200; i++) {\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }\n\n System.out.print(sb);\n }",
"final String SPACE = \" \";",
"SPACE",
"\" \"",
"final String EMPTY = \"\";",
"EMPTY",
"\"\"",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"int a;",
"a",
"int b;",
"b",
"String[] temp = new String[2];",
"temp",
"new String[2]",
"2",
"for (int i = 0; i < 200; i++) {\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 200",
"i",
"200",
"i++",
"i++",
"i",
"{\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }",
"{\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }",
"if (EMPTY.equals(str) || str == null) {\n break;\n }",
"EMPTY.equals(str) || str == null",
"EMPTY.equals(str)",
"EMPTY.equals",
"EMPTY",
"str",
"str == null",
"str",
"null",
"{\n break;\n }",
"break;",
"temp = str.split(SPACE)",
"temp",
"str.split(SPACE)",
"str.split",
"str",
"SPACE",
"a = Integer.parseInt(temp[0])",
"a",
"Integer.parseInt(temp[0])",
"Integer.parseInt",
"Integer",
"temp[0]",
"temp",
"0",
"b = Integer.parseInt(temp[1])",
"b",
"Integer.parseInt(temp[1])",
"Integer.parseInt",
"Integer",
"temp[1]",
"temp",
"1",
"sb.append(String.valueOf(a + b).length() + \"\\r\\n\")",
"sb.append",
"sb",
"String.valueOf(a + b).length() + \"\\r\\n\"",
"String.valueOf(a + b).length()",
"String.valueOf(a + b).length",
"String.valueOf(a + b)",
"String.valueOf",
"String",
"a + b",
"a",
"b",
"\"\\r\\n\"",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n final String SPACE = \" \";\n final String EMPTY = \"\";\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n String str = br.readLine();\n int a;\n int b;\n String[] temp = new String[2];\n for (int i = 0; i < 200; i++) {\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }\n\n System.out.print(sb);\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n final String SPACE = \" \";\n final String EMPTY = \"\";\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n String str = br.readLine();\n int a;\n int b;\n String[] temp = new String[2];\n for (int i = 0; i < 200; i++) {\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }\n\n System.out.print(sb);\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
final String SPACE = " ";
final String EMPTY = "";
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
String str = br.readLine();
int a;
int b;
String[] temp = new String[2];
for (int i = 0; i < 200; i++) {
// 最終行であれば抜ける
if (EMPTY.equals(str) || str == null) {
break;
}
temp = str.split(SPACE);
a = Integer.parseInt(temp[0]);
b = Integer.parseInt(temp[1]);
sb.append(String.valueOf(a + b).length() + "\r\n");
str = br.readLine();
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
56,
5
],
[
56,
6
],
[
6,
7
],
[
6,
8
],
[
56,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
16,
32
],
[
32,
33
],
[
32,
34
],
[
16,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
16,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
9,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] | [
"import java.util.*;\npublic class Main{\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args){\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = a+b;\n int m = 1;\n //System.out.println(c);\n while(c >= 10){\n m++;\n c = c/10;\n //System.out.println(c);\n }\n System.out.println(m);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args){\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = a+b;\n int m = 1;\n //System.out.println(c);\n while(c >= 10){\n m++;\n c = c/10;\n //System.out.println(c);\n }\n System.out.println(m);\n }\n }\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args){\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = a+b;\n int m = 1;\n //System.out.println(c);\n while(c >= 10){\n m++;\n c = c/10;\n //System.out.println(c);\n }\n System.out.println(m);\n }\n }",
"main",
"{\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = a+b;\n int m = 1;\n //System.out.println(c);\n while(c >= 10){\n m++;\n c = c/10;\n //System.out.println(c);\n }\n System.out.println(m);\n }\n }",
"while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = a+b;\n int m = 1;\n //System.out.println(c);\n while(c >= 10){\n m++;\n c = c/10;\n //System.out.println(c);\n }\n System.out.println(m);\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = a+b;\n int m = 1;\n //System.out.println(c);\n while(c >= 10){\n m++;\n c = c/10;\n //System.out.println(c);\n }\n System.out.println(m);\n }",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int c = a+b;",
"c",
"a+b",
"a",
"b",
"int m = 1;",
"m",
"1",
"while(c >= 10){\n m++;\n c = c/10;\n //System.out.println(c);\n }",
"c >= 10",
"c",
"10",
"{\n m++;\n c = c/10;\n //System.out.println(c);\n }",
"m++",
"m",
"c = c/10",
"c",
"c/10",
"c",
"10",
"System.out.println(m)",
"System.out.println",
"System.out",
"System",
"System.out",
"m",
"String[] args",
"args",
"public class Main{\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args){\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = a+b;\n int m = 1;\n //System.out.println(c);\n while(c >= 10){\n m++;\n c = c/10;\n //System.out.println(c);\n }\n System.out.println(m);\n }\n }\n}",
"public class Main{\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args){\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = a+b;\n int m = 1;\n //System.out.println(c);\n while(c >= 10){\n m++;\n c = c/10;\n //System.out.println(c);\n }\n System.out.println(m);\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main{
static Scanner sc = new Scanner(System.in);
public static void main(String[] args){
while(sc.hasNext()){
int a = sc.nextInt();
int b = sc.nextInt();
int c = a+b;
int m = 1;
//System.out.println(c);
while(c >= 10){
m++;
c = c/10;
//System.out.println(c);
}
System.out.println(m);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
20,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
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
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] arg) {\n\t\tint a = 0, b = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (scan.hasNext()) {\n\t\t\ta = scan.nextInt();\n\t\t\tb = scan.nextInt();\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] arg) {\n\t\tint a = 0, b = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (scan.hasNext()) {\n\t\t\ta = scan.nextInt();\n\t\t\tb = scan.nextInt();\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] arg) {\n\t\tint a = 0, b = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (scan.hasNext()) {\n\t\t\ta = scan.nextInt();\n\t\t\tb = scan.nextInt();\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\t\t}\n\t}",
"main",
"{\n\t\tint a = 0, b = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (scan.hasNext()) {\n\t\t\ta = scan.nextInt();\n\t\t\tb = scan.nextInt();\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\t\t}\n\t}",
"int a = 0",
"a",
"0",
"b = 0;",
"b",
"0",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while (scan.hasNext()) {\n\t\t\ta = scan.nextInt();\n\t\t\tb = scan.nextInt();\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\ta = scan.nextInt();\n\t\t\tb = scan.nextInt();\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\t\t}",
"a = scan.nextInt()",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"b = scan.nextInt()",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"System.out.println(String.valueOf(a + b).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(a + b).length()",
"String.valueOf(a + b).length",
"String.valueOf(a + b)",
"String.valueOf",
"String",
"a + b",
"a",
"b",
"String[] arg",
"arg",
"public class Main {\n\tpublic static void main(String[] arg) {\n\t\tint a = 0, b = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (scan.hasNext()) {\n\t\t\ta = scan.nextInt();\n\t\t\tb = scan.nextInt();\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] arg) {\n\t\tint a = 0, b = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (scan.hasNext()) {\n\t\t\ta = scan.nextInt();\n\t\t\tb = scan.nextInt();\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] arg) {
int a = 0, b = 0;
Scanner scan = new Scanner(System.in);
while (scan.hasNext()) {
a = scan.nextInt();
b = scan.nextInt();
System.out.println(String.valueOf(a + b).length());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
20,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
80,
11
],
[
80,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
14,
19
],
[
19,
20
],
[
14,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
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
],
[
37,
40
],
[
37,
41
],
[
34,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
34,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
55,
57
],
[
34,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
34,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
34,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
75,
76
],
[
12,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//?????°?¨????\n\t\tString line, output;\n\t\tint num1, num2;\n\n\t\t//????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile ((line =br.readLine()) != null) {\n\t\t\t//??????\n\t\t\tString[] numString = line.split(\" \", 0);\n\t\t\t//??????\n\t\t\tnum1 = Integer.parseInt(numString[0]);\n\t\t\tnum2 = Integer.parseInt(numString[1]);\n\t\t\t//?¨????\n\t\t\tnum1 = num1 + num2;\n\t\t\t//??????\n\t\t\toutput = String.valueOf(num1);\n\t\t\tSystem.out.println(output.length());\n\t\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//?????°?¨????\n\t\tString line, output;\n\t\tint num1, num2;\n\n\t\t//????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile ((line =br.readLine()) != null) {\n\t\t\t//??????\n\t\t\tString[] numString = line.split(\" \", 0);\n\t\t\t//??????\n\t\t\tnum1 = Integer.parseInt(numString[0]);\n\t\t\tnum2 = Integer.parseInt(numString[1]);\n\t\t\t//?¨????\n\t\t\tnum1 = num1 + num2;\n\t\t\t//??????\n\t\t\toutput = String.valueOf(num1);\n\t\t\tSystem.out.println(output.length());\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t//?????°?¨????\n\t\tString line, output;\n\t\tint num1, num2;\n\n\t\t//????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile ((line =br.readLine()) != null) {\n\t\t\t//??????\n\t\t\tString[] numString = line.split(\" \", 0);\n\t\t\t//??????\n\t\t\tnum1 = Integer.parseInt(numString[0]);\n\t\t\tnum2 = Integer.parseInt(numString[1]);\n\t\t\t//?¨????\n\t\t\tnum1 = num1 + num2;\n\t\t\t//??????\n\t\t\toutput = String.valueOf(num1);\n\t\t\tSystem.out.println(output.length());\n\t\t}\n\t}",
"main",
"{\n\t\t//?????°?¨????\n\t\tString line, output;\n\t\tint num1, num2;\n\n\t\t//????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile ((line =br.readLine()) != null) {\n\t\t\t//??????\n\t\t\tString[] numString = line.split(\" \", 0);\n\t\t\t//??????\n\t\t\tnum1 = Integer.parseInt(numString[0]);\n\t\t\tnum2 = Integer.parseInt(numString[1]);\n\t\t\t//?¨????\n\t\t\tnum1 = num1 + num2;\n\t\t\t//??????\n\t\t\toutput = String.valueOf(num1);\n\t\t\tSystem.out.println(output.length());\n\t\t}\n\t}",
"String line",
"line",
"output;",
"output",
"int num1",
"num1",
"num2;",
"num2",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while ((line =br.readLine()) != null) {\n\t\t\t//??????\n\t\t\tString[] numString = line.split(\" \", 0);\n\t\t\t//??????\n\t\t\tnum1 = Integer.parseInt(numString[0]);\n\t\t\tnum2 = Integer.parseInt(numString[1]);\n\t\t\t//?¨????\n\t\t\tnum1 = num1 + num2;\n\t\t\t//??????\n\t\t\toutput = String.valueOf(num1);\n\t\t\tSystem.out.println(output.length());\n\t\t}",
"(line =br.readLine()) != null",
"(line =br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\t//??????\n\t\t\tString[] numString = line.split(\" \", 0);\n\t\t\t//??????\n\t\t\tnum1 = Integer.parseInt(numString[0]);\n\t\t\tnum2 = Integer.parseInt(numString[1]);\n\t\t\t//?¨????\n\t\t\tnum1 = num1 + num2;\n\t\t\t//??????\n\t\t\toutput = String.valueOf(num1);\n\t\t\tSystem.out.println(output.length());\n\t\t}",
"String[] numString = line.split(\" \", 0);",
"numString",
"line.split(\" \", 0)",
"line.split",
"line",
"\" \"",
"0",
"num1 = Integer.parseInt(numString[0])",
"num1",
"Integer.parseInt(numString[0])",
"Integer.parseInt",
"Integer",
"numString[0]",
"numString",
"0",
"num2 = Integer.parseInt(numString[1])",
"num2",
"Integer.parseInt(numString[1])",
"Integer.parseInt",
"Integer",
"numString[1]",
"numString",
"1",
"num1 = num1 + num2",
"num1",
"num1 + num2",
"num1",
"num2",
"output = String.valueOf(num1)",
"output",
"String.valueOf(num1)",
"String.valueOf",
"String",
"num1",
"System.out.println(output.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"output.length()",
"output.length",
"output",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//?????°?¨????\n\t\tString line, output;\n\t\tint num1, num2;\n\n\t\t//????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile ((line =br.readLine()) != null) {\n\t\t\t//??????\n\t\t\tString[] numString = line.split(\" \", 0);\n\t\t\t//??????\n\t\t\tnum1 = Integer.parseInt(numString[0]);\n\t\t\tnum2 = Integer.parseInt(numString[1]);\n\t\t\t//?¨????\n\t\t\tnum1 = num1 + num2;\n\t\t\t//??????\n\t\t\toutput = String.valueOf(num1);\n\t\t\tSystem.out.println(output.length());\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//?????°?¨????\n\t\tString line, output;\n\t\tint num1, num2;\n\n\t\t//????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile ((line =br.readLine()) != null) {\n\t\t\t//??????\n\t\t\tString[] numString = line.split(\" \", 0);\n\t\t\t//??????\n\t\t\tnum1 = Integer.parseInt(numString[0]);\n\t\t\tnum2 = Integer.parseInt(numString[1]);\n\t\t\t//?¨????\n\t\t\tnum1 = num1 + num2;\n\t\t\t//??????\n\t\t\toutput = String.valueOf(num1);\n\t\t\tSystem.out.println(output.length());\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
//?????°?¨????
String line, output;
int num1, num2;
//????????????
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while ((line =br.readLine()) != null) {
//??????
String[] numString = line.split(" ", 0);
//??????
num1 = Integer.parseInt(numString[0]);
num2 = Integer.parseInt(numString[1]);
//?¨????
num1 = num1 + num2;
//??????
output = String.valueOf(num1);
System.out.println(output.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
17,
30,
41,
13,
20,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
17,
17,
41,
13,
2,
17,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
13,
16
],
[
9,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
33,
37
],
[
30,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
42,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
30,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
61,
62
],
[
30,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.io.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line = br.readLine();\n do{\n \tString[] in = line.split(\" \", 0);\n \tString data = \"\" + (Integer.parseInt(in[0]) + Integer.parseInt(in[1]));\n \tSystem.out.println(data.length());\n \tline = br.readLine();\n }while(line != null);\n \t\n\n\n }catch (Exception e) {\n\t\t\t// TODO: handle exception\n \tSystem.exit(0);\n\t\t}\n\t\t\n\t}\n\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line = br.readLine();\n do{\n \tString[] in = line.split(\" \", 0);\n \tString data = \"\" + (Integer.parseInt(in[0]) + Integer.parseInt(in[1]));\n \tSystem.out.println(data.length());\n \tline = br.readLine();\n }while(line != null);\n \t\n\n\n }catch (Exception e) {\n\t\t\t// TODO: handle exception\n \tSystem.exit(0);\n\t\t}\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line = br.readLine();\n do{\n \tString[] in = line.split(\" \", 0);\n \tString data = \"\" + (Integer.parseInt(in[0]) + Integer.parseInt(in[1]));\n \tSystem.out.println(data.length());\n \tline = br.readLine();\n }while(line != null);\n \t\n\n\n }catch (Exception e) {\n\t\t\t// TODO: handle exception\n \tSystem.exit(0);\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line = br.readLine();\n do{\n \tString[] in = line.split(\" \", 0);\n \tString data = \"\" + (Integer.parseInt(in[0]) + Integer.parseInt(in[1]));\n \tSystem.out.println(data.length());\n \tline = br.readLine();\n }while(line != null);\n \t\n\n\n }catch (Exception e) {\n\t\t\t// TODO: handle exception\n \tSystem.exit(0);\n\t\t}\n\t\t\n\t}",
"try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line = br.readLine();\n do{\n \tString[] in = line.split(\" \", 0);\n \tString data = \"\" + (Integer.parseInt(in[0]) + Integer.parseInt(in[1]));\n \tSystem.out.println(data.length());\n \tline = br.readLine();\n }while(line != null);\n \t\n\n\n }catch (Exception e) {\n\t\t\t// TODO: handle exception\n \tSystem.exit(0);\n\t\t}",
"catch (Exception e) {\n\t\t\t// TODO: handle exception\n \tSystem.exit(0);\n\t\t}",
"Exception e",
"{\n\t\t\t// TODO: handle exception\n \tSystem.exit(0);\n\t\t}",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n String line = br.readLine();\n do{\n \tString[] in = line.split(\" \", 0);\n \tString data = \"\" + (Integer.parseInt(in[0]) + Integer.parseInt(in[1]));\n \tSystem.out.println(data.length());\n \tline = br.readLine();\n }while(line != null);\n \t\n\n\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"do{\n \tString[] in = line.split(\" \", 0);\n \tString data = \"\" + (Integer.parseInt(in[0]) + Integer.parseInt(in[1]));\n \tSystem.out.println(data.length());\n \tline = br.readLine();\n }while(line != null);",
"line != null",
"line",
"null",
"{\n \tString[] in = line.split(\" \", 0);\n \tString data = \"\" + (Integer.parseInt(in[0]) + Integer.parseInt(in[1]));\n \tSystem.out.println(data.length());\n \tline = br.readLine();\n }",
"String[] in = line.split(\" \", 0);",
"in",
"line.split(\" \", 0)",
"line.split",
"line",
"\" \"",
"0",
"String data = \"\" + (Integer.parseInt(in[0]) + Integer.parseInt(in[1]));",
"data",
"\"\" + (Integer.parseInt(in[0]) + Integer.parseInt(in[1]))",
"\"\"",
"(Integer.parseInt(in[0]) + Integer.parseInt(in[1]))",
"Integer.parseInt(in[0])",
"Integer.parseInt",
"Integer",
"in[0]",
"in",
"0",
"Integer.parseInt(in[1])",
"Integer.parseInt",
"Integer",
"in[1]",
"in",
"1",
"System.out.println(data.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"data.length()",
"data.length",
"data",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line = br.readLine();\n do{\n \tString[] in = line.split(\" \", 0);\n \tString data = \"\" + (Integer.parseInt(in[0]) + Integer.parseInt(in[1]));\n \tSystem.out.println(data.length());\n \tline = br.readLine();\n }while(line != null);\n \t\n\n\n }catch (Exception e) {\n\t\t\t// TODO: handle exception\n \tSystem.exit(0);\n\t\t}\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line = br.readLine();\n do{\n \tString[] in = line.split(\" \", 0);\n \tString data = \"\" + (Integer.parseInt(in[0]) + Integer.parseInt(in[1]));\n \tSystem.out.println(data.length());\n \tline = br.readLine();\n }while(line != null);\n \t\n\n\n }catch (Exception e) {\n\t\t\t// TODO: handle exception\n \tSystem.exit(0);\n\t\t}\n\t\t\n\t}\n\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
String line = br.readLine();
do{
String[] in = line.split(" ", 0);
String data = "" + (Integer.parseInt(in[0]) + Integer.parseInt(in[1]));
System.out.println(data.length());
line = br.readLine();
}while(line != null);
}catch (Exception e) {
// TODO: handle exception
System.exit(0);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
48,
8
],
[
48,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
25,
32
],
[
32,
33
],
[
32,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
9,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while( (line = br.readLine()) != null) {\n String[] line2 = line.split(\" \");\n Integer i = new Integer(Integer.parseInt(line2[0]) + Integer.parseInt(line2[1]));\n System.out.println(i.toString().length());\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while( (line = br.readLine()) != null) {\n String[] line2 = line.split(\" \");\n Integer i = new Integer(Integer.parseInt(line2[0]) + Integer.parseInt(line2[1]));\n System.out.println(i.toString().length());\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while( (line = br.readLine()) != null) {\n String[] line2 = line.split(\" \");\n Integer i = new Integer(Integer.parseInt(line2[0]) + Integer.parseInt(line2[1]));\n System.out.println(i.toString().length());\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while( (line = br.readLine()) != null) {\n String[] line2 = line.split(\" \");\n Integer i = new Integer(Integer.parseInt(line2[0]) + Integer.parseInt(line2[1]));\n System.out.println(i.toString().length());\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"while( (line = br.readLine()) != null) {\n String[] line2 = line.split(\" \");\n Integer i = new Integer(Integer.parseInt(line2[0]) + Integer.parseInt(line2[1]));\n System.out.println(i.toString().length());\n }",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n String[] line2 = line.split(\" \");\n Integer i = new Integer(Integer.parseInt(line2[0]) + Integer.parseInt(line2[1]));\n System.out.println(i.toString().length());\n }",
"String[] line2 = line.split(\" \");",
"line2",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"Integer i = new Integer(Integer.parseInt(line2[0]) + Integer.parseInt(line2[1]));",
"i",
"new Integer(Integer.parseInt(line2[0]) + Integer.parseInt(line2[1]))",
"System.out.println(i.toString().length())",
"System.out.println",
"System.out",
"System",
"System.out",
"i.toString().length()",
"i.toString().length",
"i.toString()",
"i.toString",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while( (line = br.readLine()) != null) {\n String[] line2 = line.split(\" \");\n Integer i = new Integer(Integer.parseInt(line2[0]) + Integer.parseInt(line2[1]));\n System.out.println(i.toString().length());\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while( (line = br.readLine()) != null) {\n String[] line2 = line.split(\" \");\n Integer i = new Integer(Integer.parseInt(line2[0]) + Integer.parseInt(line2[1]));\n System.out.println(i.toString().length());\n }\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));
String line;
while( (line = br.readLine()) != null) {
String[] line2 = line.split(" ");
Integer i = new Integer(Integer.parseInt(line2[0]) + Integer.parseInt(line2[1]));
System.out.println(i.toString().length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
0,
13,
13,
42,
2,
13,
17,
30,
40,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
58,
5
],
[
58,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
16,
30
],
[
30,
31
],
[
30,
32
],
[
16,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
16,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
58,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
49,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint ans = 0;\n\t\t\ta += b;\n\t\t\twhile (a > 0) {\n\t\t\t\tans++;\n\t\t\t\ta /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint ans = 0;\n\t\t\ta += b;\n\t\t\twhile (a > 0) {\n\t\t\t\tans++;\n\t\t\t\ta /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"Main",
"void run() {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint ans = 0;\n\t\t\ta += b;\n\t\t\twhile (a > 0) {\n\t\t\t\tans++;\n\t\t\t\ta /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}",
"run",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint ans = 0;\n\t\t\ta += b;\n\t\t\twhile (a > 0) {\n\t\t\t\tans++;\n\t\t\t\ta /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint ans = 0;\n\t\t\ta += b;\n\t\t\twhile (a > 0) {\n\t\t\t\tans++;\n\t\t\t\ta /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint ans = 0;\n\t\t\ta += b;\n\t\t\twhile (a > 0) {\n\t\t\t\tans++;\n\t\t\t\ta /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int ans = 0;",
"ans",
"0",
"a += b",
"a",
"b",
"while (a > 0) {\n\t\t\t\tans++;\n\t\t\t\ta /= 10;\n\t\t\t}",
"a > 0",
"a",
"0",
"{\n\t\t\t\tans++;\n\t\t\t\ta /= 10;\n\t\t\t}",
"ans++",
"ans",
"a /= 10",
"a",
"10",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"public static void main(String[] args) {\n\t\tnew Main().run();\n\t}",
"main",
"{\n\t\tnew Main().run();\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint ans = 0;\n\t\t\ta += b;\n\t\t\twhile (a > 0) {\n\t\t\t\tans++;\n\t\t\t\ta /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"public class Main {\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint ans = 0;\n\t\t\ta += b;\n\t\t\twhile (a > 0) {\n\t\t\t\tans++;\n\t\t\t\ta /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
void run() {
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
int a = sc.nextInt();
int b = sc.nextInt();
int ans = 0;
a += b;
while (a > 0) {
ans++;
a /= 10;
}
System.out.println(ans);
}
}
public static void main(String[] args) {
new Main().run();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
17,
42,
17,
30,
40,
13,
14,
2,
4,
18,
13,
17,
13,
2,
13,
13,
30,
3,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
23,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
23,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
23,
57
],
[
57,
58
],
[
57,
59
],
[
23,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
67,
71
],
[
66,
72
],
[
72,
73
],
[
72,
74
],
[
65,
75
],
[
75,
76
],
[
23,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
15,
83
],
[
83,
84
]
] | [
"\n//Digit Number\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\n\t\t\tString tmp = in.readLine();\n\t\t\tif (tmp == null) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] ab = tmp.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\n\t\t\t// String out =Integer.toString(a+b);\n\t\t\t// System.out.println(out.length());\n\t\t\t//\n\n\t\t\tint i = 0;\n\t\t\twhile (true) {\n\t\t\t\ti++;\n\t\t\t\tif (Math.pow(10, i) > a + b) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\n\t\t}\n\n\t\t// Scanner scan = new Scanner(System.in);\n\t\t//\n\t\t// while(scan.hasNext()){\n\t\t//\n\t\t// String[] ab = scan.next().split(\" \");\n\t\t//\n\t\t// int a = Integer.parseInt(ab[0]);\n\t\t// int b = Integer.parseInt(ab[1]);\n\t\t//\n\t\t//// String out =Integer.toString(a+b);\n\t\t//// System.out.println(out.length());\n\t\t////\n\t\t//\n\t\t// int i=0;\n\t\t// while(true){\n\t\t// i++;\n\t\t// if(Math.pow(10, i)>a+b){\n\t\t// break;\n\t\t// }\n\t\t// }\n\t\t// System.out.println(i);\n\t\t//\n\t\t// }\n\t\t// scan.close();\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\n\t\t\tString tmp = in.readLine();\n\t\t\tif (tmp == null) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] ab = tmp.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\n\t\t\t// String out =Integer.toString(a+b);\n\t\t\t// System.out.println(out.length());\n\t\t\t//\n\n\t\t\tint i = 0;\n\t\t\twhile (true) {\n\t\t\t\ti++;\n\t\t\t\tif (Math.pow(10, i) > a + b) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\n\t\t}\n\n\t\t// Scanner scan = new Scanner(System.in);\n\t\t//\n\t\t// while(scan.hasNext()){\n\t\t//\n\t\t// String[] ab = scan.next().split(\" \");\n\t\t//\n\t\t// int a = Integer.parseInt(ab[0]);\n\t\t// int b = Integer.parseInt(ab[1]);\n\t\t//\n\t\t//// String out =Integer.toString(a+b);\n\t\t//// System.out.println(out.length());\n\t\t////\n\t\t//\n\t\t// int i=0;\n\t\t// while(true){\n\t\t// i++;\n\t\t// if(Math.pow(10, i)>a+b){\n\t\t// break;\n\t\t// }\n\t\t// }\n\t\t// System.out.println(i);\n\t\t//\n\t\t// }\n\t\t// scan.close();\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\n\t\t\tString tmp = in.readLine();\n\t\t\tif (tmp == null) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] ab = tmp.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\n\t\t\t// String out =Integer.toString(a+b);\n\t\t\t// System.out.println(out.length());\n\t\t\t//\n\n\t\t\tint i = 0;\n\t\t\twhile (true) {\n\t\t\t\ti++;\n\t\t\t\tif (Math.pow(10, i) > a + b) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\n\t\t}\n\n\t\t// Scanner scan = new Scanner(System.in);\n\t\t//\n\t\t// while(scan.hasNext()){\n\t\t//\n\t\t// String[] ab = scan.next().split(\" \");\n\t\t//\n\t\t// int a = Integer.parseInt(ab[0]);\n\t\t// int b = Integer.parseInt(ab[1]);\n\t\t//\n\t\t//// String out =Integer.toString(a+b);\n\t\t//// System.out.println(out.length());\n\t\t////\n\t\t//\n\t\t// int i=0;\n\t\t// while(true){\n\t\t// i++;\n\t\t// if(Math.pow(10, i)>a+b){\n\t\t// break;\n\t\t// }\n\t\t// }\n\t\t// System.out.println(i);\n\t\t//\n\t\t// }\n\t\t// scan.close();\n\t}",
"main",
"{\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\n\t\t\tString tmp = in.readLine();\n\t\t\tif (tmp == null) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] ab = tmp.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\n\t\t\t// String out =Integer.toString(a+b);\n\t\t\t// System.out.println(out.length());\n\t\t\t//\n\n\t\t\tint i = 0;\n\t\t\twhile (true) {\n\t\t\t\ti++;\n\t\t\t\tif (Math.pow(10, i) > a + b) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\n\t\t}\n\n\t\t// Scanner scan = new Scanner(System.in);\n\t\t//\n\t\t// while(scan.hasNext()){\n\t\t//\n\t\t// String[] ab = scan.next().split(\" \");\n\t\t//\n\t\t// int a = Integer.parseInt(ab[0]);\n\t\t// int b = Integer.parseInt(ab[1]);\n\t\t//\n\t\t//// String out =Integer.toString(a+b);\n\t\t//// System.out.println(out.length());\n\t\t////\n\t\t//\n\t\t// int i=0;\n\t\t// while(true){\n\t\t// i++;\n\t\t// if(Math.pow(10, i)>a+b){\n\t\t// break;\n\t\t// }\n\t\t// }\n\t\t// System.out.println(i);\n\t\t//\n\t\t// }\n\t\t// scan.close();\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"while (true) {\n\n\t\t\tString tmp = in.readLine();\n\t\t\tif (tmp == null) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] ab = tmp.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\n\t\t\t// String out =Integer.toString(a+b);\n\t\t\t// System.out.println(out.length());\n\t\t\t//\n\n\t\t\tint i = 0;\n\t\t\twhile (true) {\n\t\t\t\ti++;\n\t\t\t\tif (Math.pow(10, i) > a + b) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\n\t\t}",
"true",
"{\n\n\t\t\tString tmp = in.readLine();\n\t\t\tif (tmp == null) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] ab = tmp.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\n\t\t\t// String out =Integer.toString(a+b);\n\t\t\t// System.out.println(out.length());\n\t\t\t//\n\n\t\t\tint i = 0;\n\t\t\twhile (true) {\n\t\t\t\ti++;\n\t\t\t\tif (Math.pow(10, i) > a + b) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\n\t\t}",
"String tmp = in.readLine();",
"tmp",
"in.readLine()",
"in.readLine",
"in",
"if (tmp == null) {\n\t\t\t\tbreak;\n\t\t\t}",
"tmp == null",
"tmp",
"null",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"String[] ab = tmp.split(\" \");",
"ab",
"tmp.split(\" \")",
"tmp.split",
"tmp",
"\" \"",
"int a = Integer.parseInt(ab[0]);",
"a",
"Integer.parseInt(ab[0])",
"Integer.parseInt",
"Integer",
"ab[0]",
"ab",
"0",
"int b = Integer.parseInt(ab[1]);",
"b",
"Integer.parseInt(ab[1])",
"Integer.parseInt",
"Integer",
"ab[1]",
"ab",
"1",
"int i = 0;",
"i",
"0",
"while (true) {\n\t\t\t\ti++;\n\t\t\t\tif (Math.pow(10, i) > a + b) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"true",
"{\n\t\t\t\ti++;\n\t\t\t\tif (Math.pow(10, i) > a + b) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"i++",
"i",
"if (Math.pow(10, i) > a + b) {\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"Math.pow(10, i) > a + b",
"Math.pow(10, i)",
"Math.pow",
"Math",
"10",
"i",
"a + b",
"a",
"b",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args"
] |
//Digit Number
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
while (true) {
String tmp = in.readLine();
if (tmp == null) {
break;
}
String[] ab = tmp.split(" ");
int a = Integer.parseInt(ab[0]);
int b = Integer.parseInt(ab[1]);
// String out =Integer.toString(a+b);
// System.out.println(out.length());
//
int i = 0;
while (true) {
i++;
if (Math.pow(10, i) > a + b) {
break;
}
}
System.out.println(i);
}
// Scanner scan = new Scanner(System.in);
//
// while(scan.hasNext()){
//
// String[] ab = scan.next().split(" ");
//
// int a = Integer.parseInt(ab[0]);
// int b = Integer.parseInt(ab[1]);
//
//// String out =Integer.toString(a+b);
//// System.out.println(out.length());
////
//
// int i=0;
// while(true){
// i++;
// if(Math.pow(10, i)>a+b){
// break;
// }
// }
// System.out.println(i);
//
// }
// scan.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
61,
5
],
[
61,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
25,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
34,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
25,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
6,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] | [
"import java.io.*;\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tString str;\n\t\twhile((str=br.readLine())!=null){\n\t\t\tString[] num=str.split(\" \");\n\t\t\tint sum=Integer.parseInt(num[0])+Integer.parseInt(num[1]);\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\t}\n\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tString str;\n\t\twhile((str=br.readLine())!=null){\n\t\t\tString[] num=str.split(\" \");\n\t\t\tint sum=Integer.parseInt(num[0])+Integer.parseInt(num[1]);\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tString str;\n\t\twhile((str=br.readLine())!=null){\n\t\t\tString[] num=str.split(\" \");\n\t\t\tint sum=Integer.parseInt(num[0])+Integer.parseInt(num[1]);\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tString str;\n\t\twhile((str=br.readLine())!=null){\n\t\t\tString[] num=str.split(\" \");\n\t\t\tint sum=Integer.parseInt(num[0])+Integer.parseInt(num[1]);\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\t}",
"InputStreamReader is = new InputStreamReader(System.in);",
"is",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(is);",
"br",
"new BufferedReader(is)",
"String str;",
"str",
"while((str=br.readLine())!=null){\n\t\t\tString[] num=str.split(\" \");\n\t\t\tint sum=Integer.parseInt(num[0])+Integer.parseInt(num[1]);\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}",
"(str=br.readLine())!=null",
"(str=br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tString[] num=str.split(\" \");\n\t\t\tint sum=Integer.parseInt(num[0])+Integer.parseInt(num[1]);\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}",
"String[] num=str.split(\" \");",
"num",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int sum=Integer.parseInt(num[0])+Integer.parseInt(num[1]);",
"sum",
"Integer.parseInt(num[0])+Integer.parseInt(num[1])",
"Integer.parseInt(num[0])",
"Integer.parseInt",
"Integer",
"num[0]",
"num",
"0",
"Integer.parseInt(num[1])",
"Integer.parseInt",
"Integer",
"num[1]",
"num",
"1",
"System.out.println(String.valueOf(sum).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(sum).length()",
"String.valueOf(sum).length",
"String.valueOf(sum)",
"String.valueOf",
"String",
"sum",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tString str;\n\t\twhile((str=br.readLine())!=null){\n\t\t\tString[] num=str.split(\" \");\n\t\t\tint sum=Integer.parseInt(num[0])+Integer.parseInt(num[1]);\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\t}\n\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tString str;\n\t\twhile((str=br.readLine())!=null){\n\t\t\tString[] num=str.split(\" \");\n\t\t\tint sum=Integer.parseInt(num[0])+Integer.parseInt(num[1]);\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[] args) throws IOException{
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(is);
String str;
while((str=br.readLine())!=null){
String[] num=str.split(" ");
int sum=Integer.parseInt(num[0])+Integer.parseInt(num[1]);
System.out.println(String.valueOf(sum).length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
20,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
2,
13,
13,
42,
2,
0,
13,
17,
17,
30,
40,
13,
4,
18,
18,
13,
13,
13,
0,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
82,
5
],
[
82,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
33,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
33,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
33,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
33,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
61,
67
],
[
67,
68
],
[
68,
69
],
[
33,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
33,
76
],
[
76,
77
],
[
76,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] | [
"import java.io.*;\n\npublic class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tString str,dataSet[];\n\t\tint i,j,total,count = 1;\n\t\tBufferedReader input =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\twhile((str = input.readLine()) != null){\n\t\t\tdataSet = str.split(\" \");\n\t\t\ti = Integer.parseInt(dataSet[0]);\n\t\t\tj = Integer.parseInt(dataSet[1]);\n\t\t\ttotal = i+j;\n\t\t\twhile((total /= 10) >= 1){\n\t\t\t\tcount++;\n\t\t\t\t//System.out.println(\"total = \" + total);\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t\tcount = 1;\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tString str,dataSet[];\n\t\tint i,j,total,count = 1;\n\t\tBufferedReader input =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\twhile((str = input.readLine()) != null){\n\t\t\tdataSet = str.split(\" \");\n\t\t\ti = Integer.parseInt(dataSet[0]);\n\t\t\tj = Integer.parseInt(dataSet[1]);\n\t\t\ttotal = i+j;\n\t\t\twhile((total /= 10) >= 1){\n\t\t\t\tcount++;\n\t\t\t\t//System.out.println(\"total = \" + total);\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t\tcount = 1;\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]) throws IOException{\n\t\tString str,dataSet[];\n\t\tint i,j,total,count = 1;\n\t\tBufferedReader input =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\twhile((str = input.readLine()) != null){\n\t\t\tdataSet = str.split(\" \");\n\t\t\ti = Integer.parseInt(dataSet[0]);\n\t\t\tj = Integer.parseInt(dataSet[1]);\n\t\t\ttotal = i+j;\n\t\t\twhile((total /= 10) >= 1){\n\t\t\t\tcount++;\n\t\t\t\t//System.out.println(\"total = \" + total);\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t\tcount = 1;\n\t\t}\n\t}",
"main",
"{\n\t\tString str,dataSet[];\n\t\tint i,j,total,count = 1;\n\t\tBufferedReader input =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\twhile((str = input.readLine()) != null){\n\t\t\tdataSet = str.split(\" \");\n\t\t\ti = Integer.parseInt(dataSet[0]);\n\t\t\tj = Integer.parseInt(dataSet[1]);\n\t\t\ttotal = i+j;\n\t\t\twhile((total /= 10) >= 1){\n\t\t\t\tcount++;\n\t\t\t\t//System.out.println(\"total = \" + total);\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t\tcount = 1;\n\t\t}\n\t}",
"String str",
"str",
"dataSet[];",
"dataSet",
"int i",
"i",
"j",
"j",
"total",
"total",
"count = 1;",
"count",
"1",
"BufferedReader input =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));",
"input",
"new BufferedReader(new InputStreamReader(System.in))",
"while((str = input.readLine()) != null){\n\t\t\tdataSet = str.split(\" \");\n\t\t\ti = Integer.parseInt(dataSet[0]);\n\t\t\tj = Integer.parseInt(dataSet[1]);\n\t\t\ttotal = i+j;\n\t\t\twhile((total /= 10) >= 1){\n\t\t\t\tcount++;\n\t\t\t\t//System.out.println(\"total = \" + total);\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t\tcount = 1;\n\t\t}",
"(str = input.readLine()) != null",
"(str = input.readLine())",
"str",
"input.readLine()",
"input.readLine",
"input",
"null",
"{\n\t\t\tdataSet = str.split(\" \");\n\t\t\ti = Integer.parseInt(dataSet[0]);\n\t\t\tj = Integer.parseInt(dataSet[1]);\n\t\t\ttotal = i+j;\n\t\t\twhile((total /= 10) >= 1){\n\t\t\t\tcount++;\n\t\t\t\t//System.out.println(\"total = \" + total);\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t\tcount = 1;\n\t\t}",
"dataSet = str.split(\" \")",
"dataSet",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"i = Integer.parseInt(dataSet[0])",
"i",
"Integer.parseInt(dataSet[0])",
"Integer.parseInt",
"Integer",
"dataSet[0]",
"dataSet",
"0",
"j = Integer.parseInt(dataSet[1])",
"j",
"Integer.parseInt(dataSet[1])",
"Integer.parseInt",
"Integer",
"dataSet[1]",
"dataSet",
"1",
"total = i+j",
"total",
"i+j",
"i",
"j",
"while((total /= 10) >= 1){\n\t\t\t\tcount++;\n\t\t\t\t//System.out.println(\"total = \" + total);\n\t\t\t}",
"(total /= 10) >= 1",
"(total /= 10)",
"total",
"10",
"1",
"{\n\t\t\t\tcount++;\n\t\t\t\t//System.out.println(\"total = \" + total);\n\t\t\t}",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"count = 1",
"count",
"1",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tString str,dataSet[];\n\t\tint i,j,total,count = 1;\n\t\tBufferedReader input =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\twhile((str = input.readLine()) != null){\n\t\t\tdataSet = str.split(\" \");\n\t\t\ti = Integer.parseInt(dataSet[0]);\n\t\t\tj = Integer.parseInt(dataSet[1]);\n\t\t\ttotal = i+j;\n\t\t\twhile((total /= 10) >= 1){\n\t\t\t\tcount++;\n\t\t\t\t//System.out.println(\"total = \" + total);\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t\tcount = 1;\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tString str,dataSet[];\n\t\tint i,j,total,count = 1;\n\t\tBufferedReader input =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\twhile((str = input.readLine()) != null){\n\t\t\tdataSet = str.split(\" \");\n\t\t\ti = Integer.parseInt(dataSet[0]);\n\t\t\tj = Integer.parseInt(dataSet[1]);\n\t\t\ttotal = i+j;\n\t\t\twhile((total /= 10) >= 1){\n\t\t\t\tcount++;\n\t\t\t\t//System.out.println(\"total = \" + total);\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t\tcount = 1;\n\t\t}\n\t}\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String args[]) throws IOException{
String str,dataSet[];
int i,j,total,count = 1;
BufferedReader input =
new BufferedReader(new InputStreamReader(System.in));
while((str = input.readLine()) != null){
dataSet = str.split(" ");
i = Integer.parseInt(dataSet[0]);
j = Integer.parseInt(dataSet[1]);
total = i+j;
while((total /= 10) >= 1){
count++;
//System.out.println("total = " + total);
}
System.out.println(count);
count = 1;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
2,
17,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
11,
1,
30,
30,
14,
40,
4,
18,
13,
3,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
13,
2,
17,
4,
13,
4,
13,
2,
2,
13,
13,
17,
4,
18,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
104,
20
],
[
104,
21
],
[
21,
22
],
[
104,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
104,
28
],
[
28,
29
],
[
28,
30
],
[
104,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
41,
46
],
[
40,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
40,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
40,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
66,
66
],
[
66,
67
],
[
66,
68
],
[
66,
69
],
[
33,
70
],
[
70,
71
],
[
71,
72
],
[
104,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
73,
82
],
[
82,
83
],
[
104,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
84,
93
],
[
93,
94
],
[
104,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
95,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
]
] | [
"import java.util.*;\nimport java.lang.*;\nimport java.math.*;\nimport java.io.*;\n\nimport static java.lang.Math.*;\nimport static java.util.Arrays.*;\n\npublic class Main{\n\n\tScanner sc;\n\n\tstatic final int INF=1<<28;\n\tstatic final double EPS=1e-9;\n\n\tvoid run(){\n\t\tsc=new Scanner(System.in);\n\t\tfor(;;){\n\t\t\tif(!sc.hasNext())\n\t\t\t\tbreak;\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tprintln(\"\"+(int)ceil(log10(a+b+1)));\n\t\t}\n\t\tsc.close();\n\t}\n\n\tvoid print(String s){\n\t\tSystem.out.print(s);\n\t}\n\n\tvoid println(String s){\n\t\tSystem.out.println(s);\n\t}\n\n\tpublic static void main(String[] args){\n\t\tnew Main().run();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.util.Arrays.*;",
"import static java.util.Arrays.*;",
"import static java.util.Arrays.*;",
"public class Main{\n\n\tScanner sc;\n\n\tstatic final int INF=1<<28;\n\tstatic final double EPS=1e-9;\n\n\tvoid run(){\n\t\tsc=new Scanner(System.in);\n\t\tfor(;;){\n\t\t\tif(!sc.hasNext())\n\t\t\t\tbreak;\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tprintln(\"\"+(int)ceil(log10(a+b+1)));\n\t\t}\n\t\tsc.close();\n\t}\n\n\tvoid print(String s){\n\t\tSystem.out.print(s);\n\t}\n\n\tvoid println(String s){\n\t\tSystem.out.println(s);\n\t}\n\n\tpublic static void main(String[] args){\n\t\tnew Main().run();\n\t}\n}",
"Main",
"Scanner sc;",
"sc",
"static final int INF=1<<28;",
"INF",
"1<<28",
"1",
"28",
"static final double EPS=1e-9;",
"EPS",
"1e-9",
"void run(){\n\t\tsc=new Scanner(System.in);\n\t\tfor(;;){\n\t\t\tif(!sc.hasNext())\n\t\t\t\tbreak;\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tprintln(\"\"+(int)ceil(log10(a+b+1)));\n\t\t}\n\t\tsc.close();\n\t}",
"run",
"{\n\t\tsc=new Scanner(System.in);\n\t\tfor(;;){\n\t\t\tif(!sc.hasNext())\n\t\t\t\tbreak;\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tprintln(\"\"+(int)ceil(log10(a+b+1)));\n\t\t}\n\t\tsc.close();\n\t}",
"sc=new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"for(;;){\n\t\t\tif(!sc.hasNext())\n\t\t\t\tbreak;\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tprintln(\"\"+(int)ceil(log10(a+b+1)));\n\t\t}",
";",
"{\n\t\t\tif(!sc.hasNext())\n\t\t\t\tbreak;\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tprintln(\"\"+(int)ceil(log10(a+b+1)));\n\t\t}",
"{\n\t\t\tif(!sc.hasNext())\n\t\t\t\tbreak;\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tprintln(\"\"+(int)ceil(log10(a+b+1)));\n\t\t}",
"if(!sc.hasNext())\n\t\t\t\tbreak;",
"!sc.hasNext()",
"sc.hasNext()",
"sc.hasNext",
"sc",
"break;",
"int a=sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b=sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"println(\"\"+(int)ceil(log10(a+b+1)))",
"println",
"\"\"+(int)ceil(log10(a+b+1))",
"\"\"",
"(int)ceil(log10(a+b+1))",
"ceil",
"log10(a+b+1)",
"log10",
"a+b+1",
"a+b+1",
"a",
"b",
"1",
"sc.close()",
"sc.close",
"sc",
"void print(String s){\n\t\tSystem.out.print(s);\n\t}",
"print",
"{\n\t\tSystem.out.print(s);\n\t}",
"System.out.print(s)",
"System.out.print",
"System.out",
"System",
"System.out",
"s",
"String s",
"s",
"void println(String s){\n\t\tSystem.out.println(s);\n\t}",
"println",
"{\n\t\tSystem.out.println(s);\n\t}",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String s",
"s",
"public static void main(String[] args){\n\t\tnew Main().run();\n\t}",
"main",
"{\n\t\tnew Main().run();\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public class Main{\n\n\tScanner sc;\n\n\tstatic final int INF=1<<28;\n\tstatic final double EPS=1e-9;\n\n\tvoid run(){\n\t\tsc=new Scanner(System.in);\n\t\tfor(;;){\n\t\t\tif(!sc.hasNext())\n\t\t\t\tbreak;\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tprintln(\"\"+(int)ceil(log10(a+b+1)));\n\t\t}\n\t\tsc.close();\n\t}\n\n\tvoid print(String s){\n\t\tSystem.out.print(s);\n\t}\n\n\tvoid println(String s){\n\t\tSystem.out.println(s);\n\t}\n\n\tpublic static void main(String[] args){\n\t\tnew Main().run();\n\t}\n}",
"public class Main{\n\n\tScanner sc;\n\n\tstatic final int INF=1<<28;\n\tstatic final double EPS=1e-9;\n\n\tvoid run(){\n\t\tsc=new Scanner(System.in);\n\t\tfor(;;){\n\t\t\tif(!sc.hasNext())\n\t\t\t\tbreak;\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tprintln(\"\"+(int)ceil(log10(a+b+1)));\n\t\t}\n\t\tsc.close();\n\t}\n\n\tvoid print(String s){\n\t\tSystem.out.print(s);\n\t}\n\n\tvoid println(String s){\n\t\tSystem.out.println(s);\n\t}\n\n\tpublic static void main(String[] args){\n\t\tnew Main().run();\n\t}\n}",
"Main"
] | import java.util.*;
import java.lang.*;
import java.math.*;
import java.io.*;
import static java.lang.Math.*;
import static java.util.Arrays.*;
public class Main{
Scanner sc;
static final int INF=1<<28;
static final double EPS=1e-9;
void run(){
sc=new Scanner(System.in);
for(;;){
if(!sc.hasNext())
break;
int a=sc.nextInt();
int b=sc.nextInt();
println(""+(int)ceil(log10(a+b+1)));
}
sc.close();
}
void print(String s){
System.out.print(s);
}
void println(String s){
System.out.println(s);
}
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,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
13,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
31,
35
],
[
28,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
28,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
28,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
71,
73
],
[
14,
74
],
[
74,
75
],
[
75,
76
],
[
12,
77
],
[
77,
78
]
] | [
"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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\n\t\twhile((str = br.readLine()) != null) {\n\t\t\tString num[] = str.split(\" \", 0);\n\t\t\tint x = Integer.parseInt(num[0]);\n\t\t\tint y = Integer.parseInt(num[1]);\n\n\t\t\tif(x <= 1000000 && y <= 1000000 ) {\n\t\t\t\tSystem.out.println(String.valueOf(x+y).length());\n\t\t\t}\n\t\t}\n\n\t\tbr.close();\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\n\t\twhile((str = br.readLine()) != null) {\n\t\t\tString num[] = str.split(\" \", 0);\n\t\t\tint x = Integer.parseInt(num[0]);\n\t\t\tint y = Integer.parseInt(num[1]);\n\n\t\t\tif(x <= 1000000 && y <= 1000000 ) {\n\t\t\t\tSystem.out.println(String.valueOf(x+y).length());\n\t\t\t}\n\t\t}\n\n\t\tbr.close();\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\n\t\twhile((str = br.readLine()) != null) {\n\t\t\tString num[] = str.split(\" \", 0);\n\t\t\tint x = Integer.parseInt(num[0]);\n\t\t\tint y = Integer.parseInt(num[1]);\n\n\t\t\tif(x <= 1000000 && y <= 1000000 ) {\n\t\t\t\tSystem.out.println(String.valueOf(x+y).length());\n\t\t\t}\n\t\t}\n\n\t\tbr.close();\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\n\t\twhile((str = br.readLine()) != null) {\n\t\t\tString num[] = str.split(\" \", 0);\n\t\t\tint x = Integer.parseInt(num[0]);\n\t\t\tint y = Integer.parseInt(num[1]);\n\n\t\t\tif(x <= 1000000 && y <= 1000000 ) {\n\t\t\t\tSystem.out.println(String.valueOf(x+y).length());\n\t\t\t}\n\t\t}\n\n\t\tbr.close();\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"while((str = br.readLine()) != null) {\n\t\t\tString num[] = str.split(\" \", 0);\n\t\t\tint x = Integer.parseInt(num[0]);\n\t\t\tint y = Integer.parseInt(num[1]);\n\n\t\t\tif(x <= 1000000 && y <= 1000000 ) {\n\t\t\t\tSystem.out.println(String.valueOf(x+y).length());\n\t\t\t}\n\t\t}",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tString num[] = str.split(\" \", 0);\n\t\t\tint x = Integer.parseInt(num[0]);\n\t\t\tint y = Integer.parseInt(num[1]);\n\n\t\t\tif(x <= 1000000 && y <= 1000000 ) {\n\t\t\t\tSystem.out.println(String.valueOf(x+y).length());\n\t\t\t}\n\t\t}",
"String num[] = str.split(\" \", 0);",
"num",
"str.split(\" \", 0)",
"str.split",
"str",
"\" \"",
"0",
"int x = Integer.parseInt(num[0]);",
"x",
"Integer.parseInt(num[0])",
"Integer.parseInt",
"Integer",
"num[0]",
"num",
"0",
"int y = Integer.parseInt(num[1]);",
"y",
"Integer.parseInt(num[1])",
"Integer.parseInt",
"Integer",
"num[1]",
"num",
"1",
"if(x <= 1000000 && y <= 1000000 ) {\n\t\t\t\tSystem.out.println(String.valueOf(x+y).length());\n\t\t\t}",
"x <= 1000000 && y <= 1000000",
"x <= 1000000",
"x",
"1000000",
"y <= 1000000",
"y",
"1000000",
"{\n\t\t\t\tSystem.out.println(String.valueOf(x+y).length());\n\t\t\t}",
"System.out.println(String.valueOf(x+y).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(x+y).length()",
"String.valueOf(x+y).length",
"String.valueOf(x+y)",
"String.valueOf",
"String",
"x+y",
"x",
"y",
"br.close()",
"br.close",
"br",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
while((str = br.readLine()) != null) {
String num[] = str.split(" ", 0);
int x = Integer.parseInt(num[0]);
int y = Integer.parseInt(num[1]);
if(x <= 1000000 && y <= 1000000 ) {
System.out.println(String.valueOf(x+y).length());
}
}
br.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
2,
13,
13,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
65,
11
],
[
65,
12
],
[
12,
13
],
[
65,
14
],
[
14,
15
],
[
65,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
22,
24
],
[
18,
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
],
[
29,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
18,
49
],
[
49,
50
],
[
49,
51
],
[
49,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
16,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] | [
"import java.util.Scanner;\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class Main {\n private static int a, b;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n List<String> num_st = new ArrayList<String>();\n while (stdIn.hasNextInt()) {\n a = stdIn.nextInt();\n b = stdIn.nextInt();\n num_st.add(String.valueOf(a+b));\n }\n for (String sum: num_st) {\n System.out.println(sum.length());\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n private static int a, b;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n List<String> num_st = new ArrayList<String>();\n while (stdIn.hasNextInt()) {\n a = stdIn.nextInt();\n b = stdIn.nextInt();\n num_st.add(String.valueOf(a+b));\n }\n for (String sum: num_st) {\n System.out.println(sum.length());\n }\n }\n}",
"Main",
"private static int a",
"a",
"b;",
"b",
"public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n List<String> num_st = new ArrayList<String>();\n while (stdIn.hasNextInt()) {\n a = stdIn.nextInt();\n b = stdIn.nextInt();\n num_st.add(String.valueOf(a+b));\n }\n for (String sum: num_st) {\n System.out.println(sum.length());\n }\n }",
"main",
"{\n Scanner stdIn = new Scanner(System.in);\n List<String> num_st = new ArrayList<String>();\n while (stdIn.hasNextInt()) {\n a = stdIn.nextInt();\n b = stdIn.nextInt();\n num_st.add(String.valueOf(a+b));\n }\n for (String sum: num_st) {\n System.out.println(sum.length());\n }\n }",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"List<String> num_st = new ArrayList<String>();",
"num_st",
"new ArrayList<String>()",
"while (stdIn.hasNextInt()) {\n a = stdIn.nextInt();\n b = stdIn.nextInt();\n num_st.add(String.valueOf(a+b));\n }",
"stdIn.hasNextInt()",
"stdIn.hasNextInt",
"stdIn",
"{\n a = stdIn.nextInt();\n b = stdIn.nextInt();\n num_st.add(String.valueOf(a+b));\n }",
"a = stdIn.nextInt()",
"a",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"b = stdIn.nextInt()",
"b",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"num_st.add(String.valueOf(a+b))",
"num_st.add",
"num_st",
"String.valueOf(a+b)",
"String.valueOf",
"String",
"a+b",
"a",
"b",
"for (String sum: num_st) {\n System.out.println(sum.length());\n }",
"String sum",
"num_st",
"{\n System.out.println(sum.length());\n }",
"{\n System.out.println(sum.length());\n }",
"System.out.println(sum.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"sum.length()",
"sum.length",
"sum",
"String[] args",
"args",
"public class Main {\n private static int a, b;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n List<String> num_st = new ArrayList<String>();\n while (stdIn.hasNextInt()) {\n a = stdIn.nextInt();\n b = stdIn.nextInt();\n num_st.add(String.valueOf(a+b));\n }\n for (String sum: num_st) {\n System.out.println(sum.length());\n }\n }\n}",
"public class Main {\n private static int a, b;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n List<String> num_st = new ArrayList<String>();\n while (stdIn.hasNextInt()) {\n a = stdIn.nextInt();\n b = stdIn.nextInt();\n num_st.add(String.valueOf(a+b));\n }\n for (String sum: num_st) {\n System.out.println(sum.length());\n }\n }\n}",
"Main"
] | import java.util.Scanner;
import java.util.ArrayList;
import java.util.List;
public class Main {
private static int a, b;
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
List<String> num_st = new ArrayList<String>();
while (stdIn.hasNextInt()) {
a = stdIn.nextInt();
b = stdIn.nextInt();
num_st.add(String.valueOf(a+b));
}
for (String sum: num_st) {
System.out.println(sum.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
41,
13,
20,
0,
13,
17,
42,
4,
18,
13,
30,
0,
18,
13,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
0,
13,
2,
18,
13,
13,
18,
13,
13,
0,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
40,
13,
0,
18,
13,
13,
13,
40,
13,
0,
13,
17,
42,
2,
13,
13,
30,
4,
18,
18,
13,
13,
18,
13,
13,
40,
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
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
8,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
37,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
37,
61
],
[
61,
62
],
[
61,
63
],
[
37,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
68,
74
],
[
74,
75
],
[
37,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
37,
81
],
[
81,
82
],
[
8,
83
],
[
83,
84
],
[
83,
85
],
[
8,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
96,
97
],
[
96,
98
],
[
90,
99
],
[
99,
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 int i,j;\n \tint[] a = new int[1000000];\n \tint[] b = new int[1000000];\n \tint[] k = new int[1000000];\n \tint c; \n Scanner scan = new Scanner(System.in);\n \n i = 0;\n while(scan.hasNextInt()){\n \ta[i] = scan.nextInt();\n \tb[i] = scan.nextInt();\n \tc = a[i]+b[i];\n \tj = 0;\n \twhile(c > 0){\n \tc= c/10;\n \tj++;\n \t}\n \tk[i] = j;\n \ti++;\n }\n \n \n j = 0;\n while(j < i){\n \tSystem.out.println(k[j]);\n \tj++;\n \t\t}\n \t\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n int i,j;\n \tint[] a = new int[1000000];\n \tint[] b = new int[1000000];\n \tint[] k = new int[1000000];\n \tint c; \n Scanner scan = new Scanner(System.in);\n \n i = 0;\n while(scan.hasNextInt()){\n \ta[i] = scan.nextInt();\n \tb[i] = scan.nextInt();\n \tc = a[i]+b[i];\n \tj = 0;\n \twhile(c > 0){\n \tc= c/10;\n \tj++;\n \t}\n \tk[i] = j;\n \ti++;\n }\n \n \n j = 0;\n while(j < i){\n \tSystem.out.println(k[j]);\n \tj++;\n \t\t}\n \t\t}\n}",
"Main",
"public static void main(String[] args){\n int i,j;\n \tint[] a = new int[1000000];\n \tint[] b = new int[1000000];\n \tint[] k = new int[1000000];\n \tint c; \n Scanner scan = new Scanner(System.in);\n \n i = 0;\n while(scan.hasNextInt()){\n \ta[i] = scan.nextInt();\n \tb[i] = scan.nextInt();\n \tc = a[i]+b[i];\n \tj = 0;\n \twhile(c > 0){\n \tc= c/10;\n \tj++;\n \t}\n \tk[i] = j;\n \ti++;\n }\n \n \n j = 0;\n while(j < i){\n \tSystem.out.println(k[j]);\n \tj++;\n \t\t}\n \t\t}",
"main",
"{\n int i,j;\n \tint[] a = new int[1000000];\n \tint[] b = new int[1000000];\n \tint[] k = new int[1000000];\n \tint c; \n Scanner scan = new Scanner(System.in);\n \n i = 0;\n while(scan.hasNextInt()){\n \ta[i] = scan.nextInt();\n \tb[i] = scan.nextInt();\n \tc = a[i]+b[i];\n \tj = 0;\n \twhile(c > 0){\n \tc= c/10;\n \tj++;\n \t}\n \tk[i] = j;\n \ti++;\n }\n \n \n j = 0;\n while(j < i){\n \tSystem.out.println(k[j]);\n \tj++;\n \t\t}\n \t\t}",
"int i",
"i",
"j;",
"j",
"int[] a = new int[1000000];",
"a",
"new int[1000000]",
"1000000",
"int[] b = new int[1000000];",
"b",
"new int[1000000]",
"1000000",
"int[] k = new int[1000000];",
"k",
"new int[1000000]",
"1000000",
"int c;",
"c",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"i = 0",
"i",
"0",
"while(scan.hasNextInt()){\n \ta[i] = scan.nextInt();\n \tb[i] = scan.nextInt();\n \tc = a[i]+b[i];\n \tj = 0;\n \twhile(c > 0){\n \tc= c/10;\n \tj++;\n \t}\n \tk[i] = j;\n \ti++;\n }",
"scan.hasNextInt()",
"scan.hasNextInt",
"scan",
"{\n \ta[i] = scan.nextInt();\n \tb[i] = scan.nextInt();\n \tc = a[i]+b[i];\n \tj = 0;\n \twhile(c > 0){\n \tc= c/10;\n \tj++;\n \t}\n \tk[i] = j;\n \ti++;\n }",
"a[i] = scan.nextInt()",
"a[i]",
"a",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"b[i] = scan.nextInt()",
"b[i]",
"b",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"c = a[i]+b[i]",
"c",
"a[i]+b[i]",
"a[i]",
"a",
"i",
"b[i]",
"b",
"i",
"j = 0",
"j",
"0",
"while(c > 0){\n \tc= c/10;\n \tj++;\n \t}",
"c > 0",
"c",
"0",
"{\n \tc= c/10;\n \tj++;\n \t}",
"c= c/10",
"c",
"c/10",
"c",
"10",
"j++",
"j",
"k[i] = j",
"k[i]",
"k",
"i",
"j",
"i++",
"i",
"j = 0",
"j",
"0",
"while(j < i){\n \tSystem.out.println(k[j]);\n \tj++;\n \t\t}",
"j < i",
"j",
"i",
"{\n \tSystem.out.println(k[j]);\n \tj++;\n \t\t}",
"System.out.println(k[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"k[j]",
"k",
"j",
"j++",
"j",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n int i,j;\n \tint[] a = new int[1000000];\n \tint[] b = new int[1000000];\n \tint[] k = new int[1000000];\n \tint c; \n Scanner scan = new Scanner(System.in);\n \n i = 0;\n while(scan.hasNextInt()){\n \ta[i] = scan.nextInt();\n \tb[i] = scan.nextInt();\n \tc = a[i]+b[i];\n \tj = 0;\n \twhile(c > 0){\n \tc= c/10;\n \tj++;\n \t}\n \tk[i] = j;\n \ti++;\n }\n \n \n j = 0;\n while(j < i){\n \tSystem.out.println(k[j]);\n \tj++;\n \t\t}\n \t\t}\n}",
"public class Main{\n public static void main(String[] args){\n int i,j;\n \tint[] a = new int[1000000];\n \tint[] b = new int[1000000];\n \tint[] k = new int[1000000];\n \tint c; \n Scanner scan = new Scanner(System.in);\n \n i = 0;\n while(scan.hasNextInt()){\n \ta[i] = scan.nextInt();\n \tb[i] = scan.nextInt();\n \tc = a[i]+b[i];\n \tj = 0;\n \twhile(c > 0){\n \tc= c/10;\n \tj++;\n \t}\n \tk[i] = j;\n \ti++;\n }\n \n \n j = 0;\n while(j < i){\n \tSystem.out.println(k[j]);\n \tj++;\n \t\t}\n \t\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
int i,j;
int[] a = new int[1000000];
int[] b = new int[1000000];
int[] k = new int[1000000];
int c;
Scanner scan = new Scanner(System.in);
i = 0;
while(scan.hasNextInt()){
a[i] = scan.nextInt();
b[i] = scan.nextInt();
c = a[i]+b[i];
j = 0;
while(c > 0){
c= c/10;
j++;
}
k[i] = j;
i++;
}
j = 0;
while(j < i){
System.out.println(k[j]);
j++;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
0,
13,
20,
41,
13,
20,
17,
41,
13,
38,
5,
13,
30,
4,
18,
13,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
2,
13,
2,
13,
17,
41,
13,
2,
4,
18,
13,
2,
18,
13,
17,
18,
13,
17,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
116,
11
],
[
116,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
17,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
14,
24
],
[
24,
25
],
[
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
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
42,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
49,
61
],
[
61,
62
],
[
62,
63
],
[
49,
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
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
65,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
103,
105
],
[
95,
106
],
[
65,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
12,
113
],
[
113,
114
],
[
0,
115
],
[
115,
116
],
[
115,
117
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] a) {\n\t\tBufferedReader br;\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] num = new int[2];\n\t\tString str;\n\t\ttry {\n\t\t\twhile ((str = br.readLine()) != null) {\n\n\t\t\t\tString[] array = str.split(\" \");\n\t\t\t\tfor (int h = 0; h < array.length / 2; h++) {\n\t\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnum[i] = Integer.parseInt(array[i + h * 2]);\n\t\t\t\t\t}\n\t\t\t\t\tint answer = (int) Math.log10(num[0] + num[1]) + 1;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] a) {\n\t\tBufferedReader br;\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] num = new int[2];\n\t\tString str;\n\t\ttry {\n\t\t\twhile ((str = br.readLine()) != null) {\n\n\t\t\t\tString[] array = str.split(\" \");\n\t\t\t\tfor (int h = 0; h < array.length / 2; h++) {\n\t\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnum[i] = Integer.parseInt(array[i + h * 2]);\n\t\t\t\t\t}\n\t\t\t\t\tint answer = (int) Math.log10(num[0] + num[1]) + 1;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] a) {\n\t\tBufferedReader br;\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] num = new int[2];\n\t\tString str;\n\t\ttry {\n\t\t\twhile ((str = br.readLine()) != null) {\n\n\t\t\t\tString[] array = str.split(\" \");\n\t\t\t\tfor (int h = 0; h < array.length / 2; h++) {\n\t\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnum[i] = Integer.parseInt(array[i + h * 2]);\n\t\t\t\t\t}\n\t\t\t\t\tint answer = (int) Math.log10(num[0] + num[1]) + 1;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"main",
"{\n\t\tBufferedReader br;\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] num = new int[2];\n\t\tString str;\n\t\ttry {\n\t\t\twhile ((str = br.readLine()) != null) {\n\n\t\t\t\tString[] array = str.split(\" \");\n\t\t\t\tfor (int h = 0; h < array.length / 2; h++) {\n\t\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnum[i] = Integer.parseInt(array[i + h * 2]);\n\t\t\t\t\t}\n\t\t\t\t\tint answer = (int) Math.log10(num[0] + num[1]) + 1;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"BufferedReader br;",
"br",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] num = new int[2];",
"num",
"new int[2]",
"2",
"String str;",
"str",
"try {\n\t\t\twhile ((str = br.readLine()) != null) {\n\n\t\t\t\tString[] array = str.split(\" \");\n\t\t\t\tfor (int h = 0; h < array.length / 2; h++) {\n\t\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnum[i] = Integer.parseInt(array[i + h * 2]);\n\t\t\t\t\t}\n\t\t\t\t\tint answer = (int) Math.log10(num[0] + num[1]) + 1;\n\t\t\t\t\tSystem.out.println(answer);\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 ((str = br.readLine()) != null) {\n\n\t\t\t\tString[] array = str.split(\" \");\n\t\t\t\tfor (int h = 0; h < array.length / 2; h++) {\n\t\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnum[i] = Integer.parseInt(array[i + h * 2]);\n\t\t\t\t\t}\n\t\t\t\t\tint answer = (int) Math.log10(num[0] + num[1]) + 1;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"while ((str = br.readLine()) != null) {\n\n\t\t\t\tString[] array = str.split(\" \");\n\t\t\t\tfor (int h = 0; h < array.length / 2; h++) {\n\t\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnum[i] = Integer.parseInt(array[i + h * 2]);\n\t\t\t\t\t}\n\t\t\t\t\tint answer = (int) Math.log10(num[0] + num[1]) + 1;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t}\n\t\t\t}",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\n\t\t\t\tString[] array = str.split(\" \");\n\t\t\t\tfor (int h = 0; h < array.length / 2; h++) {\n\t\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnum[i] = Integer.parseInt(array[i + h * 2]);\n\t\t\t\t\t}\n\t\t\t\t\tint answer = (int) Math.log10(num[0] + num[1]) + 1;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t}\n\t\t\t}",
"String[] array = str.split(\" \");",
"array",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"for (int h = 0; h < array.length / 2; h++) {\n\t\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnum[i] = Integer.parseInt(array[i + h * 2]);\n\t\t\t\t\t}\n\t\t\t\t\tint answer = (int) Math.log10(num[0] + num[1]) + 1;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t}",
"int h = 0;",
"int h = 0;",
"h",
"0",
"h < array.length / 2",
"h",
"array.length / 2",
"array.length",
"array",
"array.length",
"2",
"h++",
"h++",
"h",
"{\n\t\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnum[i] = Integer.parseInt(array[i + h * 2]);\n\t\t\t\t\t}\n\t\t\t\t\tint answer = (int) Math.log10(num[0] + num[1]) + 1;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t}",
"{\n\t\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnum[i] = Integer.parseInt(array[i + h * 2]);\n\t\t\t\t\t}\n\t\t\t\t\tint answer = (int) Math.log10(num[0] + num[1]) + 1;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t}",
"for (int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnum[i] = Integer.parseInt(array[i + h * 2]);\n\t\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 2",
"i",
"2",
"i++",
"i++",
"i",
"{\n\t\t\t\t\t\tnum[i] = Integer.parseInt(array[i + h * 2]);\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tnum[i] = Integer.parseInt(array[i + h * 2]);\n\t\t\t\t\t}",
"num[i] = Integer.parseInt(array[i + h * 2])",
"num[i]",
"num",
"i",
"Integer.parseInt(array[i + h * 2])",
"Integer.parseInt",
"Integer",
"array[i + h * 2]",
"array",
"i + h * 2",
"i",
"h * 2",
"h",
"2",
"int answer = (int) Math.log10(num[0] + num[1]) + 1;",
"answer",
"(int) Math.log10(num[0] + num[1]) + 1",
"(int) Math.log10(num[0] + num[1])",
"Math.log10",
"Math",
"num[0] + num[1]",
"num[0]",
"num",
"0",
"num[1]",
"num",
"1",
"1",
"System.out.println(answer)",
"System.out.println",
"System.out",
"System",
"System.out",
"answer",
"String[] a",
"a",
"public class Main {\n\tpublic static void main(String[] a) {\n\t\tBufferedReader br;\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] num = new int[2];\n\t\tString str;\n\t\ttry {\n\t\t\twhile ((str = br.readLine()) != null) {\n\n\t\t\t\tString[] array = str.split(\" \");\n\t\t\t\tfor (int h = 0; h < array.length / 2; h++) {\n\t\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnum[i] = Integer.parseInt(array[i + h * 2]);\n\t\t\t\t\t}\n\t\t\t\t\tint answer = (int) Math.log10(num[0] + num[1]) + 1;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] a) {\n\t\tBufferedReader br;\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] num = new int[2];\n\t\tString str;\n\t\ttry {\n\t\t\twhile ((str = br.readLine()) != null) {\n\n\t\t\t\tString[] array = str.split(\" \");\n\t\t\t\tfor (int h = 0; h < array.length / 2; h++) {\n\t\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnum[i] = Integer.parseInt(array[i + h * 2]);\n\t\t\t\t\t}\n\t\t\t\t\tint answer = (int) Math.log10(num[0] + num[1]) + 1;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] a) {
BufferedReader br;
br = new BufferedReader(new InputStreamReader(System.in));
int[] num = new int[2];
String str;
try {
while ((str = br.readLine()) != null) {
String[] array = str.split(" ");
for (int h = 0; h < array.length / 2; h++) {
for (int i = 0; i < 2; i++) {
num[i] = Integer.parseInt(array[i + h * 2]);
}
int answer = (int) Math.log10(num[0] + num[1]) + 1;
System.out.println(answer);
}
}
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
2,
13,
13,
0,
13,
4,
18,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
75,
5
],
[
75,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
32,
36
],
[
24,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
24,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
24,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
24,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
24,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
6,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n\tScanner s = new Scanner(System.in);\n\tint a , b , sum , valLen;\n\n\twhile(s.hasNext()){\n\t\tString line = s.nextLine();\n\t\tString[] array = line.split(\" \",0);\n\t\ta = Integer.parseInt(array[0]);\n\t\tb = Integer.parseInt(array[1]);\n\t\tsum = a + b;\n\t\tvalLen = String.valueOf( sum ).length();\n\t\tSystem.out.println(valLen);\n\t}\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args){\n\tScanner s = new Scanner(System.in);\n\tint a , b , sum , valLen;\n\n\twhile(s.hasNext()){\n\t\tString line = s.nextLine();\n\t\tString[] array = line.split(\" \",0);\n\t\ta = Integer.parseInt(array[0]);\n\t\tb = Integer.parseInt(array[1]);\n\t\tsum = a + b;\n\t\tvalLen = String.valueOf( sum ).length();\n\t\tSystem.out.println(valLen);\n\t}\n }\n}",
"Main",
"public static void main(String[] args){\n\tScanner s = new Scanner(System.in);\n\tint a , b , sum , valLen;\n\n\twhile(s.hasNext()){\n\t\tString line = s.nextLine();\n\t\tString[] array = line.split(\" \",0);\n\t\ta = Integer.parseInt(array[0]);\n\t\tb = Integer.parseInt(array[1]);\n\t\tsum = a + b;\n\t\tvalLen = String.valueOf( sum ).length();\n\t\tSystem.out.println(valLen);\n\t}\n }",
"main",
"{\n\tScanner s = new Scanner(System.in);\n\tint a , b , sum , valLen;\n\n\twhile(s.hasNext()){\n\t\tString line = s.nextLine();\n\t\tString[] array = line.split(\" \",0);\n\t\ta = Integer.parseInt(array[0]);\n\t\tb = Integer.parseInt(array[1]);\n\t\tsum = a + b;\n\t\tvalLen = String.valueOf( sum ).length();\n\t\tSystem.out.println(valLen);\n\t}\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int a",
"a",
"b",
"b",
"sum",
"sum",
"valLen;",
"valLen",
"while(s.hasNext()){\n\t\tString line = s.nextLine();\n\t\tString[] array = line.split(\" \",0);\n\t\ta = Integer.parseInt(array[0]);\n\t\tb = Integer.parseInt(array[1]);\n\t\tsum = a + b;\n\t\tvalLen = String.valueOf( sum ).length();\n\t\tSystem.out.println(valLen);\n\t}",
"s.hasNext()",
"s.hasNext",
"s",
"{\n\t\tString line = s.nextLine();\n\t\tString[] array = line.split(\" \",0);\n\t\ta = Integer.parseInt(array[0]);\n\t\tb = Integer.parseInt(array[1]);\n\t\tsum = a + b;\n\t\tvalLen = String.valueOf( sum ).length();\n\t\tSystem.out.println(valLen);\n\t}",
"String line = s.nextLine();",
"line",
"s.nextLine()",
"s.nextLine",
"s",
"String[] array = line.split(\" \",0);",
"array",
"line.split(\" \",0)",
"line.split",
"line",
"\" \"",
"0",
"a = Integer.parseInt(array[0])",
"a",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"b = Integer.parseInt(array[1])",
"b",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"sum = a + b",
"sum",
"a + b",
"a",
"b",
"valLen = String.valueOf( sum ).length()",
"valLen",
"String.valueOf( sum ).length()",
"String.valueOf( sum ).length",
"String.valueOf( sum )",
"String.valueOf",
"String",
"sum",
"System.out.println(valLen)",
"System.out.println",
"System.out",
"System",
"System.out",
"valLen",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n\tScanner s = new Scanner(System.in);\n\tint a , b , sum , valLen;\n\n\twhile(s.hasNext()){\n\t\tString line = s.nextLine();\n\t\tString[] array = line.split(\" \",0);\n\t\ta = Integer.parseInt(array[0]);\n\t\tb = Integer.parseInt(array[1]);\n\t\tsum = a + b;\n\t\tvalLen = String.valueOf( sum ).length();\n\t\tSystem.out.println(valLen);\n\t}\n }\n}",
"public class Main {\n public static void main(String[] args){\n\tScanner s = new Scanner(System.in);\n\tint a , b , sum , valLen;\n\n\twhile(s.hasNext()){\n\t\tString line = s.nextLine();\n\t\tString[] array = line.split(\" \",0);\n\t\ta = Integer.parseInt(array[0]);\n\t\tb = Integer.parseInt(array[1]);\n\t\tsum = a + b;\n\t\tvalLen = String.valueOf( sum ).length();\n\t\tSystem.out.println(valLen);\n\t}\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner s = new Scanner(System.in);
int a , b , sum , valLen;
while(s.hasNext()){
String line = s.nextLine();
String[] array = line.split(" ",0);
a = Integer.parseInt(array[0]);
b = Integer.parseInt(array[1]);
sum = a + b;
valLen = String.valueOf( sum ).length();
System.out.println(valLen);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
18,
13,
13,
41,
13,
4,
18,
20,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
15,
21
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
22,
29
],
[
29,
30
],
[
29,
31
],
[
22,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
32,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
22,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
22,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
66,
67
],
[
6,
68
],
[
68,
69
]
] | [
"import java.io.*;\nclass Main{\n public static void main (String[] args) throws IOException{\n\n\tBufferedReader br=\n\t new BufferedReader(new InputStreamReader(System.in));\n\tString buf;\n\twhile((buf=br.readLine())!= null){\n\t String[] buf2=buf.split(\" \");\n\t int data2=0;\n\t for(int i=0;i!=buf2.length;i++){\n\t\tdata2+=Integer.parseInt(buf2[i]);\n\t }\n\t String ans=(new Integer(data2)).toString();\n\t System.out.println(ans.length());\n\t}\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main (String[] args) throws IOException{\n\n\tBufferedReader br=\n\t new BufferedReader(new InputStreamReader(System.in));\n\tString buf;\n\twhile((buf=br.readLine())!= null){\n\t String[] buf2=buf.split(\" \");\n\t int data2=0;\n\t for(int i=0;i!=buf2.length;i++){\n\t\tdata2+=Integer.parseInt(buf2[i]);\n\t }\n\t String ans=(new Integer(data2)).toString();\n\t System.out.println(ans.length());\n\t}\n }\n}",
"Main",
"public static void main (String[] args) throws IOException{\n\n\tBufferedReader br=\n\t new BufferedReader(new InputStreamReader(System.in));\n\tString buf;\n\twhile((buf=br.readLine())!= null){\n\t String[] buf2=buf.split(\" \");\n\t int data2=0;\n\t for(int i=0;i!=buf2.length;i++){\n\t\tdata2+=Integer.parseInt(buf2[i]);\n\t }\n\t String ans=(new Integer(data2)).toString();\n\t System.out.println(ans.length());\n\t}\n }",
"main",
"{\n\n\tBufferedReader br=\n\t new BufferedReader(new InputStreamReader(System.in));\n\tString buf;\n\twhile((buf=br.readLine())!= null){\n\t String[] buf2=buf.split(\" \");\n\t int data2=0;\n\t for(int i=0;i!=buf2.length;i++){\n\t\tdata2+=Integer.parseInt(buf2[i]);\n\t }\n\t String ans=(new Integer(data2)).toString();\n\t System.out.println(ans.length());\n\t}\n }",
"BufferedReader br=\n\t new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String buf;",
"buf",
"while((buf=br.readLine())!= null){\n\t String[] buf2=buf.split(\" \");\n\t int data2=0;\n\t for(int i=0;i!=buf2.length;i++){\n\t\tdata2+=Integer.parseInt(buf2[i]);\n\t }\n\t String ans=(new Integer(data2)).toString();\n\t System.out.println(ans.length());\n\t}",
"(buf=br.readLine())!= null",
"(buf=br.readLine())",
"buf",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t String[] buf2=buf.split(\" \");\n\t int data2=0;\n\t for(int i=0;i!=buf2.length;i++){\n\t\tdata2+=Integer.parseInt(buf2[i]);\n\t }\n\t String ans=(new Integer(data2)).toString();\n\t System.out.println(ans.length());\n\t}",
"String[] buf2=buf.split(\" \");",
"buf2",
"buf.split(\" \")",
"buf.split",
"buf",
"\" \"",
"int data2=0;",
"data2",
"0",
"for(int i=0;i!=buf2.length;i++){\n\t\tdata2+=Integer.parseInt(buf2[i]);\n\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i!=buf2.length",
"i",
"buf2.length",
"buf2",
"buf2.length",
"i++",
"i++",
"i",
"{\n\t\tdata2+=Integer.parseInt(buf2[i]);\n\t }",
"{\n\t\tdata2+=Integer.parseInt(buf2[i]);\n\t }",
"data2+=Integer.parseInt(buf2[i])",
"data2",
"Integer.parseInt(buf2[i])",
"Integer.parseInt",
"Integer",
"buf2[i]",
"buf2",
"i",
"String ans=(new Integer(data2)).toString();",
"ans",
"(new Integer(data2)).toString()",
"(new Integer(data2)).toString",
"(new Integer(data2))",
"System.out.println(ans.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"ans.length()",
"ans.length",
"ans",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main (String[] args) throws IOException{
BufferedReader br=
new BufferedReader(new InputStreamReader(System.in));
String buf;
while((buf=br.readLine())!= null){
String[] buf2=buf.split(" ");
int data2=0;
for(int i=0;i!=buf2.length;i++){
data2+=Integer.parseInt(buf2[i]);
}
String ans=(new Integer(data2)).toString();
System.out.println(ans.length());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
4,
18,
17,
13,
3,
41,
13,
4,
18,
13,
18,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
4,
18,
13,
17,
17,
14,
2,
13,
17,
3,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
40,
2,
2,
2,
13,
17,
2,
13,
17,
2,
2,
13,
17,
2,
13,
17,
3,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
13,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
114,
11
],
[
114,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
32,
41
],
[
26,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
47,
52
],
[
26,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
58,
63
],
[
26,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
26,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
26,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
85,
87
],
[
80,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
78,
95
],
[
26,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
106,
107
],
[
106,
108
],
[
26,
109
],
[
109,
110
],
[
12,
111
],
[
111,
112
],
[
0,
113
],
[
113,
114
],
[
113,
115
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint dataNum = 0;\n\t\twhile (true) {\n\t\t\tString input = br.readLine();\n\t\t\tif (input == null || \"\".equals(input)) break;\n\n\t\t\tint a = Integer.parseInt(input.split(\" \")[0]);\n\t\t\tint b = Integer.parseInt(input.split(\" \")[1]);\n\n\t\t\tif (dataNum > 200) break;\n\t\t\tif ((a == 0) && (b == 0)) break;\n\t\t\tif (!((a >= 0 && a <= 1000000) && (b >= 0 && b <= 1000000))) break;\n\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\t\t\tdataNum++;\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint dataNum = 0;\n\t\twhile (true) {\n\t\t\tString input = br.readLine();\n\t\t\tif (input == null || \"\".equals(input)) break;\n\n\t\t\tint a = Integer.parseInt(input.split(\" \")[0]);\n\t\t\tint b = Integer.parseInt(input.split(\" \")[1]);\n\n\t\t\tif (dataNum > 200) break;\n\t\t\tif ((a == 0) && (b == 0)) break;\n\t\t\tif (!((a >= 0 && a <= 1000000) && (b >= 0 && b <= 1000000))) break;\n\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\t\t\tdataNum++;\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint dataNum = 0;\n\t\twhile (true) {\n\t\t\tString input = br.readLine();\n\t\t\tif (input == null || \"\".equals(input)) break;\n\n\t\t\tint a = Integer.parseInt(input.split(\" \")[0]);\n\t\t\tint b = Integer.parseInt(input.split(\" \")[1]);\n\n\t\t\tif (dataNum > 200) break;\n\t\t\tif ((a == 0) && (b == 0)) break;\n\t\t\tif (!((a >= 0 && a <= 1000000) && (b >= 0 && b <= 1000000))) break;\n\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\t\t\tdataNum++;\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint dataNum = 0;\n\t\twhile (true) {\n\t\t\tString input = br.readLine();\n\t\t\tif (input == null || \"\".equals(input)) break;\n\n\t\t\tint a = Integer.parseInt(input.split(\" \")[0]);\n\t\t\tint b = Integer.parseInt(input.split(\" \")[1]);\n\n\t\t\tif (dataNum > 200) break;\n\t\t\tif ((a == 0) && (b == 0)) break;\n\t\t\tif (!((a >= 0 && a <= 1000000) && (b >= 0 && b <= 1000000))) break;\n\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\t\t\tdataNum++;\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int dataNum = 0;",
"dataNum",
"0",
"while (true) {\n\t\t\tString input = br.readLine();\n\t\t\tif (input == null || \"\".equals(input)) break;\n\n\t\t\tint a = Integer.parseInt(input.split(\" \")[0]);\n\t\t\tint b = Integer.parseInt(input.split(\" \")[1]);\n\n\t\t\tif (dataNum > 200) break;\n\t\t\tif ((a == 0) && (b == 0)) break;\n\t\t\tif (!((a >= 0 && a <= 1000000) && (b >= 0 && b <= 1000000))) break;\n\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\t\t\tdataNum++;\n\t\t}",
"true",
"{\n\t\t\tString input = br.readLine();\n\t\t\tif (input == null || \"\".equals(input)) break;\n\n\t\t\tint a = Integer.parseInt(input.split(\" \")[0]);\n\t\t\tint b = Integer.parseInt(input.split(\" \")[1]);\n\n\t\t\tif (dataNum > 200) break;\n\t\t\tif ((a == 0) && (b == 0)) break;\n\t\t\tif (!((a >= 0 && a <= 1000000) && (b >= 0 && b <= 1000000))) break;\n\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\t\t\tdataNum++;\n\t\t}",
"String input = br.readLine();",
"input",
"br.readLine()",
"br.readLine",
"br",
"if (input == null || \"\".equals(input)) break;",
"input == null || \"\".equals(input)",
"input == null",
"input",
"null",
"\"\".equals(input)",
"\"\".equals",
"\"\"",
"input",
"break;",
"int a = Integer.parseInt(input.split(\" \")[0]);",
"a",
"Integer.parseInt(input.split(\" \")[0])",
"Integer.parseInt",
"Integer",
"input.split(\" \")[0]",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"0",
"int b = Integer.parseInt(input.split(\" \")[1]);",
"b",
"Integer.parseInt(input.split(\" \")[1])",
"Integer.parseInt",
"Integer",
"input.split(\" \")[1]",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"1",
"if (dataNum > 200) break;",
"dataNum > 200",
"dataNum",
"200",
"break;",
"if ((a == 0) && (b == 0)) break;",
"(a == 0) && (b == 0)",
"(a == 0)",
"a",
"0",
"(b == 0)",
"b",
"0",
"break;",
"if (!((a >= 0 && a <= 1000000) && (b >= 0 && b <= 1000000))) break;",
"!((a >= 0 && a <= 1000000) && (b >= 0 && b <= 1000000))",
"((a >= 0 && a <= 1000000) && (b >= 0 && b <= 1000000))",
"(a >= 0 && a <= 1000000)",
"a >= 0",
"a",
"0",
"a <= 1000000",
"a",
"1000000",
"(b >= 0 && b <= 1000000)",
"b >= 0",
"b",
"0",
"b <= 1000000",
"b",
"1000000",
"break;",
"System.out.println(String.valueOf(a + b).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(a + b).length()",
"String.valueOf(a + b).length",
"String.valueOf(a + b)",
"String.valueOf",
"String",
"a + b",
"a",
"b",
"dataNum++",
"dataNum",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint dataNum = 0;\n\t\twhile (true) {\n\t\t\tString input = br.readLine();\n\t\t\tif (input == null || \"\".equals(input)) break;\n\n\t\t\tint a = Integer.parseInt(input.split(\" \")[0]);\n\t\t\tint b = Integer.parseInt(input.split(\" \")[1]);\n\n\t\t\tif (dataNum > 200) break;\n\t\t\tif ((a == 0) && (b == 0)) break;\n\t\t\tif (!((a >= 0 && a <= 1000000) && (b >= 0 && b <= 1000000))) break;\n\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\t\t\tdataNum++;\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint dataNum = 0;\n\t\twhile (true) {\n\t\t\tString input = br.readLine();\n\t\t\tif (input == null || \"\".equals(input)) break;\n\n\t\t\tint a = Integer.parseInt(input.split(\" \")[0]);\n\t\t\tint b = Integer.parseInt(input.split(\" \")[1]);\n\n\t\t\tif (dataNum > 200) break;\n\t\t\tif ((a == 0) && (b == 0)) break;\n\t\t\tif (!((a >= 0 && a <= 1000000) && (b >= 0 && b <= 1000000))) break;\n\n\t\t\tSystem.out.println(String.valueOf(a + b).length());\n\t\t\tdataNum++;\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 NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
int dataNum = 0;
while (true) {
String input = br.readLine();
if (input == null || "".equals(input)) break;
int a = Integer.parseInt(input.split(" ")[0]);
int b = Integer.parseInt(input.split(" ")[1]);
if (dataNum > 200) break;
if ((a == 0) && (b == 0)) break;
if (!((a >= 0 && a <= 1000000) && (b >= 0 && b <= 1000000))) break;
System.out.println(String.valueOf(a + b).length());
dataNum++;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
20,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
20,
14,
40,
4,
18,
13,
3,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
4,
18,
13,
2,
13,
13,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
26,
33
],
[
33,
34
],
[
33,
35
],
[
26,
36
],
[
36,
37
],
[
36,
38
],
[
26,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
40,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
51,
56
],
[
47,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
63,
64
],
[
47,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
71,
72
],
[
47,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
81,
83
],
[
26,
84
],
[
84,
85
],
[
84,
86
],
[
84,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
24,
95
],
[
95,
96
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\nimport java.util.StringTokenizer;\n\nclass Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tString line = null;\n\t\tList<Integer> results = new ArrayList<Integer>();\n\t\t\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tStringTokenizer st = new StringTokenizer(line);\n\t\t\tif (!st.hasMoreTokens()) break;\n\t\t\t\n\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\n\t\t\tresults.add(Integer.toString(a + b).length());\n\t\t}\n\t\t\n\t\tfor (int x : results) {\n\t\t\tSystem.out.println(x);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"class Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tString line = null;\n\t\tList<Integer> results = new ArrayList<Integer>();\n\t\t\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tStringTokenizer st = new StringTokenizer(line);\n\t\t\tif (!st.hasMoreTokens()) break;\n\t\t\t\n\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\n\t\t\tresults.add(Integer.toString(a + b).length());\n\t\t}\n\t\t\n\t\tfor (int x : results) {\n\t\t\tSystem.out.println(x);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tString line = null;\n\t\tList<Integer> results = new ArrayList<Integer>();\n\t\t\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tStringTokenizer st = new StringTokenizer(line);\n\t\t\tif (!st.hasMoreTokens()) break;\n\t\t\t\n\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\n\t\t\tresults.add(Integer.toString(a + b).length());\n\t\t}\n\t\t\n\t\tfor (int x : results) {\n\t\t\tSystem.out.println(x);\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tString line = null;\n\t\tList<Integer> results = new ArrayList<Integer>();\n\t\t\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tStringTokenizer st = new StringTokenizer(line);\n\t\t\tif (!st.hasMoreTokens()) break;\n\t\t\t\n\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\n\t\t\tresults.add(Integer.toString(a + b).length());\n\t\t}\n\t\t\n\t\tfor (int x : results) {\n\t\t\tSystem.out.println(x);\n\t\t}\n\t}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"String line = null;",
"line",
"null",
"List<Integer> results = new ArrayList<Integer>();",
"results",
"new ArrayList<Integer>()",
"while ((line = br.readLine()) != null) {\n\t\t\tStringTokenizer st = new StringTokenizer(line);\n\t\t\tif (!st.hasMoreTokens()) break;\n\t\t\t\n\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\n\t\t\tresults.add(Integer.toString(a + b).length());\n\t\t}",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tStringTokenizer st = new StringTokenizer(line);\n\t\t\tif (!st.hasMoreTokens()) break;\n\t\t\t\n\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\n\t\t\tresults.add(Integer.toString(a + b).length());\n\t\t}",
"StringTokenizer st = new StringTokenizer(line);",
"st",
"new StringTokenizer(line)",
"if (!st.hasMoreTokens()) break;",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"break;",
"int a = Integer.parseInt(st.nextToken());",
"a",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int b = Integer.parseInt(st.nextToken());",
"b",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"results.add(Integer.toString(a + b).length())",
"results.add",
"results",
"Integer.toString(a + b).length()",
"Integer.toString(a + b).length",
"Integer.toString(a + b)",
"Integer.toString",
"Integer",
"a + b",
"a",
"b",
"for (int x : results) {\n\t\t\tSystem.out.println(x);\n\t\t}",
"int x",
"results",
"{\n\t\t\tSystem.out.println(x);\n\t\t}",
"{\n\t\t\tSystem.out.println(x);\n\t\t}",
"System.out.println(x)",
"System.out.println",
"System.out",
"System",
"System.out",
"x",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
import java.util.StringTokenizer;
class Main {
public static void main(String[] args) throws NumberFormatException, IOException {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String line = null;
List<Integer> results = new ArrayList<Integer>();
while ((line = br.readLine()) != null) {
StringTokenizer st = new StringTokenizer(line);
if (!st.hasMoreTokens()) break;
int a = Integer.parseInt(st.nextToken());
int b = Integer.parseInt(st.nextToken());
results.add(Integer.toString(a + b).length());
}
for (int x : results) {
System.out.println(x);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
13,
23,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
4,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
0,
13,
4,
18,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
88,
11
],
[
88,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
12,
17
],
[
17,
18
],
[
88,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
25,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
45,
49
],
[
42,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
55,
57
],
[
42,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
42,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
73,
74
],
[
73,
75
],
[
42,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
42,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tprint();\n\t}\n\n\tprivate static void print() {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString str = br.readLine();\n\t\t\twhile (str != null) {\n\n\t\t\t\tString[] nums = str.split(\" \", 0);\n\n\t\t\t\tint x = Integer.parseInt(nums[0]);\n\t\t\t\tint y = Integer.parseInt(nums[1]);\n\n\t\t\t\tint keta = Integer.toString(x+y).length();\n\n\t\t\t\tSystem.out.println(keta);\n\t\t\t\tstr = br.readLine();\n\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tprint();\n\t}\n\n\tprivate static void print() {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString str = br.readLine();\n\t\t\twhile (str != null) {\n\n\t\t\t\tString[] nums = str.split(\" \", 0);\n\n\t\t\t\tint x = Integer.parseInt(nums[0]);\n\t\t\t\tint y = Integer.parseInt(nums[1]);\n\n\t\t\t\tint keta = Integer.toString(x+y).length();\n\n\t\t\t\tSystem.out.println(keta);\n\t\t\t\tstr = br.readLine();\n\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tprint();\n\t}",
"main",
"{\n\t\tprint();\n\t}",
"print()",
"print",
"String[] args",
"args",
"private static void print() {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString str = br.readLine();\n\t\t\twhile (str != null) {\n\n\t\t\t\tString[] nums = str.split(\" \", 0);\n\n\t\t\t\tint x = Integer.parseInt(nums[0]);\n\t\t\t\tint y = Integer.parseInt(nums[1]);\n\n\t\t\t\tint keta = Integer.toString(x+y).length();\n\n\t\t\t\tSystem.out.println(keta);\n\t\t\t\tstr = br.readLine();\n\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"print",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString str = br.readLine();\n\t\t\twhile (str != null) {\n\n\t\t\t\tString[] nums = str.split(\" \", 0);\n\n\t\t\t\tint x = Integer.parseInt(nums[0]);\n\t\t\t\tint y = Integer.parseInt(nums[1]);\n\n\t\t\t\tint keta = Integer.toString(x+y).length();\n\n\t\t\t\tSystem.out.println(keta);\n\t\t\t\tstr = br.readLine();\n\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n\t\t\tString str = br.readLine();\n\t\t\twhile (str != null) {\n\n\t\t\t\tString[] nums = str.split(\" \", 0);\n\n\t\t\t\tint x = Integer.parseInt(nums[0]);\n\t\t\t\tint y = Integer.parseInt(nums[1]);\n\n\t\t\t\tint keta = Integer.toString(x+y).length();\n\n\t\t\t\tSystem.out.println(keta);\n\t\t\t\tstr = br.readLine();\n\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\tString str = br.readLine();\n\t\t\twhile (str != null) {\n\n\t\t\t\tString[] nums = str.split(\" \", 0);\n\n\t\t\t\tint x = Integer.parseInt(nums[0]);\n\t\t\t\tint y = Integer.parseInt(nums[1]);\n\n\t\t\t\tint keta = Integer.toString(x+y).length();\n\n\t\t\t\tSystem.out.println(keta);\n\t\t\t\tstr = br.readLine();\n\n\t\t\t}\n\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"while (str != null) {\n\n\t\t\t\tString[] nums = str.split(\" \", 0);\n\n\t\t\t\tint x = Integer.parseInt(nums[0]);\n\t\t\t\tint y = Integer.parseInt(nums[1]);\n\n\t\t\t\tint keta = Integer.toString(x+y).length();\n\n\t\t\t\tSystem.out.println(keta);\n\t\t\t\tstr = br.readLine();\n\n\t\t\t}",
"str != null",
"str",
"null",
"{\n\n\t\t\t\tString[] nums = str.split(\" \", 0);\n\n\t\t\t\tint x = Integer.parseInt(nums[0]);\n\t\t\t\tint y = Integer.parseInt(nums[1]);\n\n\t\t\t\tint keta = Integer.toString(x+y).length();\n\n\t\t\t\tSystem.out.println(keta);\n\t\t\t\tstr = br.readLine();\n\n\t\t\t}",
"String[] nums = str.split(\" \", 0);",
"nums",
"str.split(\" \", 0)",
"str.split",
"str",
"\" \"",
"0",
"int x = Integer.parseInt(nums[0]);",
"x",
"Integer.parseInt(nums[0])",
"Integer.parseInt",
"Integer",
"nums[0]",
"nums",
"0",
"int y = Integer.parseInt(nums[1]);",
"y",
"Integer.parseInt(nums[1])",
"Integer.parseInt",
"Integer",
"nums[1]",
"nums",
"1",
"int keta = Integer.toString(x+y).length();",
"keta",
"Integer.toString(x+y).length()",
"Integer.toString(x+y).length",
"Integer.toString(x+y)",
"Integer.toString",
"Integer",
"x+y",
"x",
"y",
"System.out.println(keta)",
"System.out.println",
"System.out",
"System",
"System.out",
"keta",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tprint();\n\t}\n\n\tprivate static void print() {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString str = br.readLine();\n\t\t\twhile (str != null) {\n\n\t\t\t\tString[] nums = str.split(\" \", 0);\n\n\t\t\t\tint x = Integer.parseInt(nums[0]);\n\t\t\t\tint y = Integer.parseInt(nums[1]);\n\n\t\t\t\tint keta = Integer.toString(x+y).length();\n\n\t\t\t\tSystem.out.println(keta);\n\t\t\t\tstr = br.readLine();\n\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tprint();\n\t}\n\n\tprivate static void print() {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString str = br.readLine();\n\t\t\twhile (str != null) {\n\n\t\t\t\tString[] nums = str.split(\" \", 0);\n\n\t\t\t\tint x = Integer.parseInt(nums[0]);\n\t\t\t\tint y = Integer.parseInt(nums[1]);\n\n\t\t\t\tint keta = Integer.toString(x+y).length();\n\n\t\t\t\tSystem.out.println(keta);\n\t\t\t\tstr = br.readLine();\n\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
print();
}
private static void print() {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try {
String str = br.readLine();
while (str != null) {
String[] nums = str.split(" ", 0);
int x = Integer.parseInt(nums[0]);
int y = Integer.parseInt(nums[1]);
int keta = Integer.toString(x+y).length();
System.out.println(keta);
str = br.readLine();
}
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
41,
13,
2,
2,
13,
13,
13,
14,
2,
13,
17,
30,
3,
30,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
16,
30
],
[
30,
31
],
[
30,
32
],
[
16,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
16,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
6,
61
],
[
61,
62
]
] | [
"import java.util.Scanner;\n\nclass Main {\n public static void main( String args[] ) {\n Scanner scan = new Scanner( System.in );\n\n while( scan.hasNext() ) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n int z = 1;\n int out = 0;\n while( true ) {\n int r = ( x + y ) / z;\n if( r == 0 ) {\n break;\n } else {\n z *= 10;\n out++;\n }\n }\n System.out.println(out);\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\n while( scan.hasNext() ) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n int z = 1;\n int out = 0;\n while( true ) {\n int r = ( x + y ) / z;\n if( r == 0 ) {\n break;\n } else {\n z *= 10;\n out++;\n }\n }\n System.out.println(out);\n }\n }\n}",
"Main",
"public static void main( String args[] ) {\n Scanner scan = new Scanner( System.in );\n\n while( scan.hasNext() ) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n int z = 1;\n int out = 0;\n while( true ) {\n int r = ( x + y ) / z;\n if( r == 0 ) {\n break;\n } else {\n z *= 10;\n out++;\n }\n }\n System.out.println(out);\n }\n }",
"main",
"{\n Scanner scan = new Scanner( System.in );\n\n while( scan.hasNext() ) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n int z = 1;\n int out = 0;\n while( true ) {\n int r = ( x + y ) / z;\n if( r == 0 ) {\n break;\n } else {\n z *= 10;\n out++;\n }\n }\n System.out.println(out);\n }\n }",
"Scanner scan = new Scanner( System.in );",
"scan",
"new Scanner( System.in )",
"while( scan.hasNext() ) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n int z = 1;\n int out = 0;\n while( true ) {\n int r = ( x + y ) / z;\n if( r == 0 ) {\n break;\n } else {\n z *= 10;\n out++;\n }\n }\n System.out.println(out);\n }",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n int x = scan.nextInt();\n int y = scan.nextInt();\n int z = 1;\n int out = 0;\n while( true ) {\n int r = ( x + y ) / z;\n if( r == 0 ) {\n break;\n } else {\n z *= 10;\n out++;\n }\n }\n System.out.println(out);\n }",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int y = scan.nextInt();",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int z = 1;",
"z",
"1",
"int out = 0;",
"out",
"0",
"while( true ) {\n int r = ( x + y ) / z;\n if( r == 0 ) {\n break;\n } else {\n z *= 10;\n out++;\n }\n }",
"true",
"{\n int r = ( x + y ) / z;\n if( r == 0 ) {\n break;\n } else {\n z *= 10;\n out++;\n }\n }",
"int r = ( x + y ) / z;",
"r",
"( x + y ) / z",
"( x + y )",
"x",
"y",
"z",
"if( r == 0 ) {\n break;\n } else {\n z *= 10;\n out++;\n }",
"r == 0",
"r",
"0",
"{\n break;\n }",
"break;",
"{\n z *= 10;\n out++;\n }",
"z *= 10",
"z",
"10",
"out++",
"out",
"System.out.println(out)",
"System.out.println",
"System.out",
"System",
"System.out",
"out",
"String args[]",
"args"
] | import java.util.Scanner;
class Main {
public static void main( String args[] ) {
Scanner scan = new Scanner( System.in );
while( scan.hasNext() ) {
int x = scan.nextInt();
int y = scan.nextInt();
int z = 1;
int out = 0;
while( true ) {
int r = ( x + y ) / z;
if( r == 0 ) {
break;
} else {
z *= 10;
out++;
}
}
System.out.println(out);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
17,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
2,
13,
13,
11,
1,
0,
13,
17,
2,
17,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
68,
5
],
[
68,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
18,
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
],
[
38,
40
],
[
25,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
41,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
25,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a,b,i,c=0;\n\t\twhile (stdIn.hasNext()) {\n\t\t\ta = stdIn.nextInt();\n\t\t\tb = stdIn.nextInt();\n\t\t\tc=a+b;\n\t\t\tfor(i=0;0<c;i++){\n\t\t\t\tc=c/10;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a,b,i,c=0;\n\t\twhile (stdIn.hasNext()) {\n\t\t\ta = stdIn.nextInt();\n\t\t\tb = stdIn.nextInt();\n\t\t\tc=a+b;\n\t\t\tfor(i=0;0<c;i++){\n\t\t\t\tc=c/10;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a,b,i,c=0;\n\t\twhile (stdIn.hasNext()) {\n\t\t\ta = stdIn.nextInt();\n\t\t\tb = stdIn.nextInt();\n\t\t\tc=a+b;\n\t\t\tfor(i=0;0<c;i++){\n\t\t\t\tc=c/10;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t}\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a,b,i,c=0;\n\t\twhile (stdIn.hasNext()) {\n\t\t\ta = stdIn.nextInt();\n\t\t\tb = stdIn.nextInt();\n\t\t\tc=a+b;\n\t\t\tfor(i=0;0<c;i++){\n\t\t\t\tc=c/10;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t}\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int a",
"a",
"b",
"b",
"i",
"i",
"c=0;",
"c",
"0",
"while (stdIn.hasNext()) {\n\t\t\ta = stdIn.nextInt();\n\t\t\tb = stdIn.nextInt();\n\t\t\tc=a+b;\n\t\t\tfor(i=0;0<c;i++){\n\t\t\t\tc=c/10;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t}",
"stdIn.hasNext()",
"stdIn.hasNext",
"stdIn",
"{\n\t\t\ta = stdIn.nextInt();\n\t\t\tb = stdIn.nextInt();\n\t\t\tc=a+b;\n\t\t\tfor(i=0;0<c;i++){\n\t\t\t\tc=c/10;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t}",
"a = stdIn.nextInt()",
"a",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"b = stdIn.nextInt()",
"b",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"c=a+b",
"c",
"a+b",
"a",
"b",
"for(i=0;0<c;i++){\n\t\t\t\tc=c/10;\n\t\t\t}",
"i=0;",
"i=0",
"i",
"0",
"0<c",
"0",
"c",
"i++",
"i++",
"i",
"{\n\t\t\t\tc=c/10;\n\t\t\t}",
"{\n\t\t\t\tc=c/10;\n\t\t\t}",
"c=c/10",
"c",
"c/10",
"c",
"10",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a,b,i,c=0;\n\t\twhile (stdIn.hasNext()) {\n\t\t\ta = stdIn.nextInt();\n\t\t\tb = stdIn.nextInt();\n\t\t\tc=a+b;\n\t\t\tfor(i=0;0<c;i++){\n\t\t\t\tc=c/10;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a,b,i,c=0;\n\t\twhile (stdIn.hasNext()) {\n\t\t\ta = stdIn.nextInt();\n\t\t\tb = stdIn.nextInt();\n\t\t\tc=a+b;\n\t\t\tfor(i=0;0<c;i++){\n\t\t\t\tc=c/10;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
int a,b,i,c=0;
while (stdIn.hasNext()) {
a = stdIn.nextInt();
b = stdIn.nextInt();
c=a+b;
for(i=0;0<c;i++){
c=c/10;
}
System.out.println(i);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
4,
18,
13,
2,
13,
13,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
61,
11
],
[
61,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
14,
47
],
[
47,
48
],
[
47,
49
],
[
47,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
12,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tList<Integer> list = new ArrayList<Integer>();\n\n\t\twhile (stdIn.hasNext())\n\t\t{\n\t\t\tint a = stdIn.nextInt();\n\t\t\tint b = stdIn.nextInt();\n\n\t\t\tlist.add(String.valueOf((a + b)).length());\n\t\t}\n\n\t\tfor (int value : list)\n\t\t{\n\t\t\tSystem.out.println(value);\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tList<Integer> list = new ArrayList<Integer>();\n\n\t\twhile (stdIn.hasNext())\n\t\t{\n\t\t\tint a = stdIn.nextInt();\n\t\t\tint b = stdIn.nextInt();\n\n\t\t\tlist.add(String.valueOf((a + b)).length());\n\t\t}\n\n\t\tfor (int value : list)\n\t\t{\n\t\t\tSystem.out.println(value);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tList<Integer> list = new ArrayList<Integer>();\n\n\t\twhile (stdIn.hasNext())\n\t\t{\n\t\t\tint a = stdIn.nextInt();\n\t\t\tint b = stdIn.nextInt();\n\n\t\t\tlist.add(String.valueOf((a + b)).length());\n\t\t}\n\n\t\tfor (int value : list)\n\t\t{\n\t\t\tSystem.out.println(value);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tList<Integer> list = new ArrayList<Integer>();\n\n\t\twhile (stdIn.hasNext())\n\t\t{\n\t\t\tint a = stdIn.nextInt();\n\t\t\tint b = stdIn.nextInt();\n\n\t\t\tlist.add(String.valueOf((a + b)).length());\n\t\t}\n\n\t\tfor (int value : list)\n\t\t{\n\t\t\tSystem.out.println(value);\n\t\t}\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"while (stdIn.hasNext())\n\t\t{\n\t\t\tint a = stdIn.nextInt();\n\t\t\tint b = stdIn.nextInt();\n\n\t\t\tlist.add(String.valueOf((a + b)).length());\n\t\t}",
"stdIn.hasNext()",
"stdIn.hasNext",
"stdIn",
"{\n\t\t\tint a = stdIn.nextInt();\n\t\t\tint b = stdIn.nextInt();\n\n\t\t\tlist.add(String.valueOf((a + b)).length());\n\t\t}",
"int a = stdIn.nextInt();",
"a",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int b = stdIn.nextInt();",
"b",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"list.add(String.valueOf((a + b)).length())",
"list.add",
"list",
"String.valueOf((a + b)).length()",
"String.valueOf((a + b)).length",
"String.valueOf((a + b))",
"String.valueOf",
"String",
"(a + b)",
"a",
"b",
"for (int value : list)\n\t\t{\n\t\t\tSystem.out.println(value);\n\t\t}",
"int value",
"list",
"{\n\t\t\tSystem.out.println(value);\n\t\t}",
"{\n\t\t\tSystem.out.println(value);\n\t\t}",
"System.out.println(value)",
"System.out.println",
"System.out",
"System",
"System.out",
"value",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tList<Integer> list = new ArrayList<Integer>();\n\n\t\twhile (stdIn.hasNext())\n\t\t{\n\t\t\tint a = stdIn.nextInt();\n\t\t\tint b = stdIn.nextInt();\n\n\t\t\tlist.add(String.valueOf((a + b)).length());\n\t\t}\n\n\t\tfor (int value : list)\n\t\t{\n\t\t\tSystem.out.println(value);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tList<Integer> list = new ArrayList<Integer>();\n\n\t\twhile (stdIn.hasNext())\n\t\t{\n\t\t\tint a = stdIn.nextInt();\n\t\t\tint b = stdIn.nextInt();\n\n\t\t\tlist.add(String.valueOf((a + b)).length());\n\t\t}\n\n\t\tfor (int value : list)\n\t\t{\n\t\t\tSystem.out.println(value);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args)
{
Scanner stdIn = new Scanner(System.in);
List<Integer> list = new ArrayList<Integer>();
while (stdIn.hasNext())
{
int a = stdIn.nextInt();
int b = stdIn.nextInt();
list.add(String.valueOf((a + b)).length());
}
for (int value : list)
{
System.out.println(value);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
29,
17,
29,
2,
4,
13,
2,
13,
17,
17,
23,
13,
12,
13,
30,
38,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
72,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
12,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
24,
30
],
[
9,
31
],
[
31,
32
],
[
72,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
45,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
45,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
45,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
33,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] | [
"import java.util.Scanner;\n\n\npublic class Main{\n\tstatic int turn=0;\n\tstatic int dfs(int sum) {\n\t\tif(0<=sum && sum<=9) {\n\t\t\treturn 1;\n\t\t}\n\t\treturn dfs(sum/10)+1;\n\t}\n public static void main(String[] args) {\n \ttry (Scanner sc = new Scanner(System.in)) {\n \t\twhile(sc.hasNext()) {\n \t\t\tint a=sc.nextInt();\n \t\t\tint b=sc.nextInt();\n \t\t\tint sum=a+b;\n \t\t\tSystem.out.println(dfs(sum));\n \t\t}\n \t}\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tstatic int turn=0;\n\tstatic int dfs(int sum) {\n\t\tif(0<=sum && sum<=9) {\n\t\t\treturn 1;\n\t\t}\n\t\treturn dfs(sum/10)+1;\n\t}\n public static void main(String[] args) {\n \ttry (Scanner sc = new Scanner(System.in)) {\n \t\twhile(sc.hasNext()) {\n \t\t\tint a=sc.nextInt();\n \t\t\tint b=sc.nextInt();\n \t\t\tint sum=a+b;\n \t\t\tSystem.out.println(dfs(sum));\n \t\t}\n \t}\n }\n}",
"Main",
"static int turn=0;",
"turn",
"0",
"static int dfs(int sum) {\n\t\tif(0<=sum && sum<=9) {\n\t\t\treturn 1;\n\t\t}\n\t\treturn dfs(sum/10)+1;\n\t}",
"dfs",
"{\n\t\tif(0<=sum && sum<=9) {\n\t\t\treturn 1;\n\t\t}\n\t\treturn dfs(sum/10)+1;\n\t}",
"if(0<=sum && sum<=9) {\n\t\t\treturn 1;\n\t\t}",
"0<=sum && sum<=9",
"0<=sum",
"0",
"sum",
"sum<=9",
"sum",
"9",
"{\n\t\t\treturn 1;\n\t\t}",
"return 1;",
"1",
"return dfs(sum/10)+1;",
"dfs(sum/10)+1",
"dfs(sum/10)",
"dfs",
"sum/10",
"sum",
"10",
"1",
"int sum",
"sum",
"public static void main(String[] args) {\n \ttry (Scanner sc = new Scanner(System.in)) {\n \t\twhile(sc.hasNext()) {\n \t\t\tint a=sc.nextInt();\n \t\t\tint b=sc.nextInt();\n \t\t\tint sum=a+b;\n \t\t\tSystem.out.println(dfs(sum));\n \t\t}\n \t}\n }",
"main",
"{\n \ttry (Scanner sc = new Scanner(System.in)) {\n \t\twhile(sc.hasNext()) {\n \t\t\tint a=sc.nextInt();\n \t\t\tint b=sc.nextInt();\n \t\t\tint sum=a+b;\n \t\t\tSystem.out.println(dfs(sum));\n \t\t}\n \t}\n }",
"try (Scanner sc = new Scanner(System.in)) {\n \t\twhile(sc.hasNext()) {\n \t\t\tint a=sc.nextInt();\n \t\t\tint b=sc.nextInt();\n \t\t\tint sum=a+b;\n \t\t\tSystem.out.println(dfs(sum));\n \t\t}\n \t}",
"{\n \t\twhile(sc.hasNext()) {\n \t\t\tint a=sc.nextInt();\n \t\t\tint b=sc.nextInt();\n \t\t\tint sum=a+b;\n \t\t\tSystem.out.println(dfs(sum));\n \t\t}\n \t}",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"while(sc.hasNext()) {\n \t\t\tint a=sc.nextInt();\n \t\t\tint b=sc.nextInt();\n \t\t\tint sum=a+b;\n \t\t\tSystem.out.println(dfs(sum));\n \t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n \t\t\tint a=sc.nextInt();\n \t\t\tint b=sc.nextInt();\n \t\t\tint sum=a+b;\n \t\t\tSystem.out.println(dfs(sum));\n \t\t}",
"int a=sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b=sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int sum=a+b;",
"sum",
"a+b",
"a",
"b",
"System.out.println(dfs(sum))",
"System.out.println",
"System.out",
"System",
"System.out",
"dfs(sum)",
"dfs",
"sum",
"String[] args",
"args",
"public class Main{\n\tstatic int turn=0;\n\tstatic int dfs(int sum) {\n\t\tif(0<=sum && sum<=9) {\n\t\t\treturn 1;\n\t\t}\n\t\treturn dfs(sum/10)+1;\n\t}\n public static void main(String[] args) {\n \ttry (Scanner sc = new Scanner(System.in)) {\n \t\twhile(sc.hasNext()) {\n \t\t\tint a=sc.nextInt();\n \t\t\tint b=sc.nextInt();\n \t\t\tint sum=a+b;\n \t\t\tSystem.out.println(dfs(sum));\n \t\t}\n \t}\n }\n}",
"public class Main{\n\tstatic int turn=0;\n\tstatic int dfs(int sum) {\n\t\tif(0<=sum && sum<=9) {\n\t\t\treturn 1;\n\t\t}\n\t\treturn dfs(sum/10)+1;\n\t}\n public static void main(String[] args) {\n \ttry (Scanner sc = new Scanner(System.in)) {\n \t\twhile(sc.hasNext()) {\n \t\t\tint a=sc.nextInt();\n \t\t\tint b=sc.nextInt();\n \t\t\tint sum=a+b;\n \t\t\tSystem.out.println(dfs(sum));\n \t\t}\n \t}\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
static int turn=0;
static int dfs(int sum) {
if(0<=sum && sum<=9) {
return 1;
}
return dfs(sum/10)+1;
}
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in)) {
while(sc.hasNext()) {
int a=sc.nextInt();
int b=sc.nextInt();
int sum=a+b;
System.out.println(dfs(sum));
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
13,
13,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
71,
11
],
[
71,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
27,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
27,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
27,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
60,
62
],
[
27,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
12,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n \twhile(line!=null){\n \t\tString[] lines = line.split(\" \");\n \t\tint a = Integer.parseInt(lines[0]);\n \t\tint b = Integer.parseInt(lines[1]);\n \t\tSystem.out.println(Integer.toString(a+b).length());\n \t\tline = br.readLine();\n \t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n \twhile(line!=null){\n \t\tString[] lines = line.split(\" \");\n \t\tint a = Integer.parseInt(lines[0]);\n \t\tint b = Integer.parseInt(lines[1]);\n \t\tSystem.out.println(Integer.toString(a+b).length());\n \t\tline = br.readLine();\n \t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n \twhile(line!=null){\n \t\tString[] lines = line.split(\" \");\n \t\tint a = Integer.parseInt(lines[0]);\n \t\tint b = Integer.parseInt(lines[1]);\n \t\tSystem.out.println(Integer.toString(a+b).length());\n \t\tline = br.readLine();\n \t}\n\t}",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n \twhile(line!=null){\n \t\tString[] lines = line.split(\" \");\n \t\tint a = Integer.parseInt(lines[0]);\n \t\tint b = Integer.parseInt(lines[1]);\n \t\tSystem.out.println(Integer.toString(a+b).length());\n \t\tline = br.readLine();\n \t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"while(line!=null){\n \t\tString[] lines = line.split(\" \");\n \t\tint a = Integer.parseInt(lines[0]);\n \t\tint b = Integer.parseInt(lines[1]);\n \t\tSystem.out.println(Integer.toString(a+b).length());\n \t\tline = br.readLine();\n \t}",
"line!=null",
"line",
"null",
"{\n \t\tString[] lines = line.split(\" \");\n \t\tint a = Integer.parseInt(lines[0]);\n \t\tint b = Integer.parseInt(lines[1]);\n \t\tSystem.out.println(Integer.toString(a+b).length());\n \t\tline = br.readLine();\n \t}",
"String[] lines = line.split(\" \");",
"lines",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int a = Integer.parseInt(lines[0]);",
"a",
"Integer.parseInt(lines[0])",
"Integer.parseInt",
"Integer",
"lines[0]",
"lines",
"0",
"int b = Integer.parseInt(lines[1]);",
"b",
"Integer.parseInt(lines[1])",
"Integer.parseInt",
"Integer",
"lines[1]",
"lines",
"1",
"System.out.println(Integer.toString(a+b).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(a+b).length()",
"Integer.toString(a+b).length",
"Integer.toString(a+b)",
"Integer.toString",
"Integer",
"a+b",
"a",
"b",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n \twhile(line!=null){\n \t\tString[] lines = line.split(\" \");\n \t\tint a = Integer.parseInt(lines[0]);\n \t\tint b = Integer.parseInt(lines[1]);\n \t\tSystem.out.println(Integer.toString(a+b).length());\n \t\tline = br.readLine();\n \t}\n\t}\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n \twhile(line!=null){\n \t\tString[] lines = line.split(\" \");\n \t\tint a = Integer.parseInt(lines[0]);\n \t\tint b = Integer.parseInt(lines[1]);\n \t\tSystem.out.println(Integer.toString(a+b).length());\n \t\tline = br.readLine();\n \t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
while(line!=null){
String[] lines = line.split(" ");
int a = Integer.parseInt(lines[0]);
int b = Integer.parseInt(lines[1]);
System.out.println(Integer.toString(a+b).length());
line = br.readLine();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
4,
18,
13,
30,
30,
41,
13,
2,
4,
18,
13,
4,
18,
13,
41,
13,
17,
11,
1,
2,
13,
17,
1,
0,
13,
17,
40,
13,
30,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
12,
17
],
[
18,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
18,
28
],
[
28,
29
],
[
28,
30
],
[
18,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
31,
42
],
[
18,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] | [
"import java.util.Scanner;\n\npublic class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor(;scanner.hasNext();)\n\t\t{\n\t\t\tint c = scanner.nextInt() + scanner.nextInt();\n\t\t\tint s = 0;\n\t\t\tfor(; c>0; c/=10, s++);\n\t\t\t\n\t\t\tSystem.out.println(s+\"\");\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor(;scanner.hasNext();)\n\t\t{\n\t\t\tint c = scanner.nextInt() + scanner.nextInt();\n\t\t\tint s = 0;\n\t\t\tfor(; c>0; c/=10, s++);\n\t\t\t\n\t\t\tSystem.out.println(s+\"\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor(;scanner.hasNext();)\n\t\t{\n\t\t\tint c = scanner.nextInt() + scanner.nextInt();\n\t\t\tint s = 0;\n\t\t\tfor(; c>0; c/=10, s++);\n\t\t\t\n\t\t\tSystem.out.println(s+\"\");\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor(;scanner.hasNext();)\n\t\t{\n\t\t\tint c = scanner.nextInt() + scanner.nextInt();\n\t\t\tint s = 0;\n\t\t\tfor(; c>0; c/=10, s++);\n\t\t\t\n\t\t\tSystem.out.println(s+\"\");\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"for(;scanner.hasNext();)\n\t\t{\n\t\t\tint c = scanner.nextInt() + scanner.nextInt();\n\t\t\tint s = 0;\n\t\t\tfor(; c>0; c/=10, s++);\n\t\t\t\n\t\t\tSystem.out.println(s+\"\");\n\t\t}",
";",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n\t\t\tint c = scanner.nextInt() + scanner.nextInt();\n\t\t\tint s = 0;\n\t\t\tfor(; c>0; c/=10, s++);\n\t\t\t\n\t\t\tSystem.out.println(s+\"\");\n\t\t}",
"{\n\t\t\tint c = scanner.nextInt() + scanner.nextInt();\n\t\t\tint s = 0;\n\t\t\tfor(; c>0; c/=10, s++);\n\t\t\t\n\t\t\tSystem.out.println(s+\"\");\n\t\t}",
"int c = scanner.nextInt() + scanner.nextInt();",
"c",
"scanner.nextInt() + scanner.nextInt()",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int s = 0;",
"s",
"0",
"for(; c>0; c/=10, s++);",
";",
"c>0",
"c",
"0",
"c/=10, s++",
"c/=10",
"c",
"10",
"s++",
"s",
";",
"System.out.println(s+\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"s+\"\"",
"s",
"\"\"",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor(;scanner.hasNext();)\n\t\t{\n\t\t\tint c = scanner.nextInt() + scanner.nextInt();\n\t\t\tint s = 0;\n\t\t\tfor(; c>0; c/=10, s++);\n\t\t\t\n\t\t\tSystem.out.println(s+\"\");\n\t\t}\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor(;scanner.hasNext();)\n\t\t{\n\t\t\tint c = scanner.nextInt() + scanner.nextInt();\n\t\t\tint s = 0;\n\t\t\tfor(; c>0; c/=10, s++);\n\t\t\t\n\t\t\tSystem.out.println(s+\"\");\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner scanner = new Scanner(System.in);
for(;scanner.hasNext();)
{
int c = scanner.nextInt() + scanner.nextInt();
int s = 0;
for(; c>0; c/=10, s++);
System.out.println(s+"");
}
}
} |
[
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,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
2,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
40,
13,
29,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
70,
5
],
[
70,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
6,
40
],
[
40,
41
],
[
70,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
44,
52
],
[
52,
53
],
[
52,
54
],
[
44,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
44,
65
],
[
65,
66
],
[
42,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int sum = 0;\n while (scanner.hasNextInt()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println(getDigit(a + b));\n }\n }\n\n static int getDigit(int value) {\n if (value == 0) { return 1; }\n\n int digit = 0;\n\n while (value > 0) {\n value /= 10;\n digit++;\n }\n\n return digit;\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int sum = 0;\n while (scanner.hasNextInt()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println(getDigit(a + b));\n }\n }\n\n static int getDigit(int value) {\n if (value == 0) { return 1; }\n\n int digit = 0;\n\n while (value > 0) {\n value /= 10;\n digit++;\n }\n\n return digit;\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int sum = 0;\n while (scanner.hasNextInt()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println(getDigit(a + b));\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n int sum = 0;\n while (scanner.hasNextInt()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println(getDigit(a + b));\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int sum = 0;",
"sum",
"0",
"while (scanner.hasNextInt()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println(getDigit(a + b));\n }",
"scanner.hasNextInt()",
"scanner.hasNextInt",
"scanner",
"{\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println(getDigit(a + b));\n }",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"System.out.println(getDigit(a + b))",
"System.out.println",
"System.out",
"System",
"System.out",
"getDigit(a + b)",
"getDigit",
"a + b",
"a",
"b",
"String[] args",
"args",
"static int getDigit(int value) {\n if (value == 0) { return 1; }\n\n int digit = 0;\n\n while (value > 0) {\n value /= 10;\n digit++;\n }\n\n return digit;\n }",
"getDigit",
"{\n if (value == 0) { return 1; }\n\n int digit = 0;\n\n while (value > 0) {\n value /= 10;\n digit++;\n }\n\n return digit;\n }",
"if (value == 0) { return 1; }",
"value == 0",
"value",
"0",
"{ return 1; }",
"return 1;",
"1",
"int digit = 0;",
"digit",
"0",
"while (value > 0) {\n value /= 10;\n digit++;\n }",
"value > 0",
"value",
"0",
"{\n value /= 10;\n digit++;\n }",
"value /= 10",
"value",
"10",
"digit++",
"digit",
"return digit;",
"digit",
"int value",
"value",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int sum = 0;\n while (scanner.hasNextInt()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println(getDigit(a + b));\n }\n }\n\n static int getDigit(int value) {\n if (value == 0) { return 1; }\n\n int digit = 0;\n\n while (value > 0) {\n value /= 10;\n digit++;\n }\n\n return digit;\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int sum = 0;\n while (scanner.hasNextInt()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println(getDigit(a + b));\n }\n }\n\n static int getDigit(int value) {\n if (value == 0) { return 1; }\n\n int digit = 0;\n\n while (value > 0) {\n value /= 10;\n digit++;\n }\n\n return digit;\n }\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int sum = 0;
while (scanner.hasNextInt()) {
int a = scanner.nextInt();
int b = scanner.nextInt();
System.out.println(getDigit(a + b));
}
}
static int getDigit(int value) {
if (value == 0) { return 1; }
int digit = 0;
while (value > 0) {
value /= 10;
digit++;
}
return digit;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
30,
29,
2,
17,
4,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
98,
20
],
[
98,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
38,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
38,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
38,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
38,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
21,
74
],
[
74,
75
],
[
98,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
84,
85
],
[
79,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
76,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.ArrayList;\n \npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String input = \"\";\n \n while((input = br.readLine()) != null){\n String[] arr = input.split(\" \");\n \n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n \n int inputAngka = a + b;\n \n System.out.println(count(inputAngka));\n }\n \n }\n \n public static int count(int a) {\n if (a < 10) {\n return 1;\n } else {\n return 1 + count(a / 10);\n }\n }\n \n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String input = \"\";\n \n while((input = br.readLine()) != null){\n String[] arr = input.split(\" \");\n \n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n \n int inputAngka = a + b;\n \n System.out.println(count(inputAngka));\n }\n \n }\n \n public static int count(int a) {\n if (a < 10) {\n return 1;\n } else {\n return 1 + count(a / 10);\n }\n }\n \n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String input = \"\";\n \n while((input = br.readLine()) != null){\n String[] arr = input.split(\" \");\n \n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n \n int inputAngka = a + b;\n \n System.out.println(count(inputAngka));\n }\n \n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String input = \"\";\n \n while((input = br.readLine()) != null){\n String[] arr = input.split(\" \");\n \n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n \n int inputAngka = a + b;\n \n System.out.println(count(inputAngka));\n }\n \n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String input = \"\";",
"input",
"\"\"",
"while((input = br.readLine()) != null){\n String[] arr = input.split(\" \");\n \n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n \n int inputAngka = a + b;\n \n System.out.println(count(inputAngka));\n }",
"(input = br.readLine()) != null",
"(input = br.readLine())",
"input",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n String[] arr = input.split(\" \");\n \n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n \n int inputAngka = a + b;\n \n System.out.println(count(inputAngka));\n }",
"String[] arr = input.split(\" \");",
"arr",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"int a = Integer.parseInt(arr[0]);",
"a",
"Integer.parseInt(arr[0])",
"Integer.parseInt",
"Integer",
"arr[0]",
"arr",
"0",
"int b = Integer.parseInt(arr[1]);",
"b",
"Integer.parseInt(arr[1])",
"Integer.parseInt",
"Integer",
"arr[1]",
"arr",
"1",
"int inputAngka = a + b;",
"inputAngka",
"a + b",
"a",
"b",
"System.out.println(count(inputAngka))",
"System.out.println",
"System.out",
"System",
"System.out",
"count(inputAngka)",
"count",
"inputAngka",
"String[] args",
"args",
"public static int count(int a) {\n if (a < 10) {\n return 1;\n } else {\n return 1 + count(a / 10);\n }\n }",
"count",
"{\n if (a < 10) {\n return 1;\n } else {\n return 1 + count(a / 10);\n }\n }",
"if (a < 10) {\n return 1;\n } else {\n return 1 + count(a / 10);\n }",
"a < 10",
"a",
"10",
"{\n return 1;\n }",
"return 1;",
"1",
"{\n return 1 + count(a / 10);\n }",
"return 1 + count(a / 10);",
"1 + count(a / 10)",
"1",
"count(a / 10)",
"count",
"a / 10",
"a",
"10",
"int a",
"a",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String input = \"\";\n \n while((input = br.readLine()) != null){\n String[] arr = input.split(\" \");\n \n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n \n int inputAngka = a + b;\n \n System.out.println(count(inputAngka));\n }\n \n }\n \n public static int count(int a) {\n if (a < 10) {\n return 1;\n } else {\n return 1 + count(a / 10);\n }\n }\n \n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String input = \"\";\n \n while((input = br.readLine()) != null){\n String[] arr = input.split(\" \");\n \n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n \n int inputAngka = a + b;\n \n System.out.println(count(inputAngka));\n }\n \n }\n \n public static int count(int a) {\n if (a < 10) {\n return 1;\n } else {\n return 1 + count(a / 10);\n }\n }\n \n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Collections;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String input = "";
while((input = br.readLine()) != null){
String[] arr = input.split(" ");
int a = Integer.parseInt(arr[0]);
int b = Integer.parseInt(arr[1]);
int inputAngka = a + b;
System.out.println(count(inputAngka));
}
}
public static int count(int a) {
if (a < 10) {
return 1;
} else {
return 1 + count(a / 10);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
20,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
55,
8
],
[
55,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
11,
22
],
[
22,
23
],
[
11,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
9,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\n//public class Main {\n//\n//\tpublic static void main(String[] args) {\n//\t\t// TODO ?????????????????????????????????????????????\n//\t\tScanner s = new Scanner(System.in);\n//\t\tint a,b;\n//\t\tArrayList<String> str = new ArrayList<String>();\n//\t\tString[] result;\n//\t\t\n//\t\tfor(int i = 0;i <3;i++)\n//\t\t{\n//\t\t\tstr.add(s.nextLine());\n//\n//\t\t}\n//\t\t\n//\t\tfor(int i = 0;i<3;i++)\n//\t\t{\n//\t\t\tresult = str.get(i).split(\" \");\n//\t\t\ta = Integer.parseInt(result[0]);\n//\t\t\tb = Integer.parseInt(result[1]);\n//\t\t\tSystem.out.println(String.valueOf(a+b).length());\n//\t\t}\n//\t}\n//}\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner s = new Scanner(System.in);\n\t\tint a,b;\n\t\tArrayList<String> str = new ArrayList<String>();\n\t\tString[] result;\n\t\t\n\t\twhile(s.hasNext())\n\t\t{\n\n\t\t\t\n\t\t\ta = s.nextInt();\n\t\t\tb = s.nextInt();\n\t\t\tSystem.out.println(String.valueOf(a+b).length());\n\t\t\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner s = new Scanner(System.in);\n\t\tint a,b;\n\t\tArrayList<String> str = new ArrayList<String>();\n\t\tString[] result;\n\t\t\n\t\twhile(s.hasNext())\n\t\t{\n\n\t\t\t\n\t\t\ta = s.nextInt();\n\t\t\tb = s.nextInt();\n\t\t\tSystem.out.println(String.valueOf(a+b).length());\n\t\t\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner s = new Scanner(System.in);\n\t\tint a,b;\n\t\tArrayList<String> str = new ArrayList<String>();\n\t\tString[] result;\n\t\t\n\t\twhile(s.hasNext())\n\t\t{\n\n\t\t\t\n\t\t\ta = s.nextInt();\n\t\t\tb = s.nextInt();\n\t\t\tSystem.out.println(String.valueOf(a+b).length());\n\t\t\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner s = new Scanner(System.in);\n\t\tint a,b;\n\t\tArrayList<String> str = new ArrayList<String>();\n\t\tString[] result;\n\t\t\n\t\twhile(s.hasNext())\n\t\t{\n\n\t\t\t\n\t\t\ta = s.nextInt();\n\t\t\tb = s.nextInt();\n\t\t\tSystem.out.println(String.valueOf(a+b).length());\n\t\t\n\t\t}\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int a",
"a",
"b;",
"b",
"ArrayList<String> str = new ArrayList<String>();",
"str",
"new ArrayList<String>()",
"String[] result;",
"result",
"while(s.hasNext())\n\t\t{\n\n\t\t\t\n\t\t\ta = s.nextInt();\n\t\t\tb = s.nextInt();\n\t\t\tSystem.out.println(String.valueOf(a+b).length());\n\t\t\n\t\t}",
"s.hasNext()",
"s.hasNext",
"s",
"{\n\n\t\t\t\n\t\t\ta = s.nextInt();\n\t\t\tb = s.nextInt();\n\t\t\tSystem.out.println(String.valueOf(a+b).length());\n\t\t\n\t\t}",
"a = s.nextInt()",
"a",
"s.nextInt()",
"s.nextInt",
"s",
"b = s.nextInt()",
"b",
"s.nextInt()",
"s.nextInt",
"s",
"System.out.println(String.valueOf(a+b).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(a+b).length()",
"String.valueOf(a+b).length",
"String.valueOf(a+b)",
"String.valueOf",
"String",
"a+b",
"a",
"b",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner s = new Scanner(System.in);\n\t\tint a,b;\n\t\tArrayList<String> str = new ArrayList<String>();\n\t\tString[] result;\n\t\t\n\t\twhile(s.hasNext())\n\t\t{\n\n\t\t\t\n\t\t\ta = s.nextInt();\n\t\t\tb = s.nextInt();\n\t\t\tSystem.out.println(String.valueOf(a+b).length());\n\t\t\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner s = new Scanner(System.in);\n\t\tint a,b;\n\t\tArrayList<String> str = new ArrayList<String>();\n\t\tString[] result;\n\t\t\n\t\twhile(s.hasNext())\n\t\t{\n\n\t\t\t\n\t\t\ta = s.nextInt();\n\t\t\tb = s.nextInt();\n\t\t\tSystem.out.println(String.valueOf(a+b).length());\n\t\t\n\t\t}\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
//public class Main {
//
// public static void main(String[] args) {
// // TODO ?????????????????????????????????????????????
// Scanner s = new Scanner(System.in);
// int a,b;
// ArrayList<String> str = new ArrayList<String>();
// String[] result;
//
// for(int i = 0;i <3;i++)
// {
// str.add(s.nextLine());
//
// }
//
// for(int i = 0;i<3;i++)
// {
// result = str.get(i).split(" ");
// a = Integer.parseInt(result[0]);
// b = Integer.parseInt(result[1]);
// System.out.println(String.valueOf(a+b).length());
// }
// }
//}
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner s = new Scanner(System.in);
int a,b;
ArrayList<String> str = new ArrayList<String>();
String[] result;
while(s.hasNext())
{
a = s.nextInt();
b = s.nextInt();
System.out.println(String.valueOf(a+b).length());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
38,
5,
13,
30,
3,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
4,
18,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
61,
8
],
[
61,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
18,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
26,
31
],
[
23,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
39,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
23,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
9,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n try{\n String[] line = br.readLine().split(\" \");\n int length = String.valueOf(Integer.parseInt(line[0]) + Integer.parseInt(line[1])).length(); \n System.out.println(length);\n }catch(NullPointerException e) {\n break;\n }\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n try{\n String[] line = br.readLine().split(\" \");\n int length = String.valueOf(Integer.parseInt(line[0]) + Integer.parseInt(line[1])).length(); \n System.out.println(length);\n }catch(NullPointerException e) {\n break;\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n try{\n String[] line = br.readLine().split(\" \");\n int length = String.valueOf(Integer.parseInt(line[0]) + Integer.parseInt(line[1])).length(); \n System.out.println(length);\n }catch(NullPointerException e) {\n break;\n }\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n try{\n String[] line = br.readLine().split(\" \");\n int length = String.valueOf(Integer.parseInt(line[0]) + Integer.parseInt(line[1])).length(); \n System.out.println(length);\n }catch(NullPointerException e) {\n break;\n }\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true) {\n try{\n String[] line = br.readLine().split(\" \");\n int length = String.valueOf(Integer.parseInt(line[0]) + Integer.parseInt(line[1])).length(); \n System.out.println(length);\n }catch(NullPointerException e) {\n break;\n }\n }",
"true",
"{\n try{\n String[] line = br.readLine().split(\" \");\n int length = String.valueOf(Integer.parseInt(line[0]) + Integer.parseInt(line[1])).length(); \n System.out.println(length);\n }catch(NullPointerException e) {\n break;\n }\n }",
"try{\n String[] line = br.readLine().split(\" \");\n int length = String.valueOf(Integer.parseInt(line[0]) + Integer.parseInt(line[1])).length(); \n System.out.println(length);\n }catch(NullPointerException e) {\n break;\n }",
"catch(NullPointerException e) {\n break;\n }",
"NullPointerException e",
"{\n break;\n }",
"break;",
"{\n String[] line = br.readLine().split(\" \");\n int length = String.valueOf(Integer.parseInt(line[0]) + Integer.parseInt(line[1])).length(); \n System.out.println(length);\n }",
"String[] line = br.readLine().split(\" \");",
"line",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int length = String.valueOf(Integer.parseInt(line[0]) + Integer.parseInt(line[1])).length();",
"length",
"String.valueOf(Integer.parseInt(line[0]) + Integer.parseInt(line[1])).length()",
"String.valueOf(Integer.parseInt(line[0]) + Integer.parseInt(line[1])).length",
"String.valueOf(Integer.parseInt(line[0]) + Integer.parseInt(line[1]))",
"String.valueOf",
"String",
"Integer.parseInt(line[0]) + Integer.parseInt(line[1])",
"Integer.parseInt(line[0])",
"Integer.parseInt",
"Integer",
"line[0]",
"line",
"0",
"Integer.parseInt(line[1])",
"Integer.parseInt",
"Integer",
"line[1]",
"line",
"1",
"System.out.println(length)",
"System.out.println",
"System.out",
"System",
"System.out",
"length",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n try{\n String[] line = br.readLine().split(\" \");\n int length = String.valueOf(Integer.parseInt(line[0]) + Integer.parseInt(line[1])).length(); \n System.out.println(length);\n }catch(NullPointerException e) {\n break;\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n try{\n String[] line = br.readLine().split(\" \");\n int length = String.valueOf(Integer.parseInt(line[0]) + Integer.parseInt(line[1])).length(); \n System.out.println(length);\n }catch(NullPointerException e) {\n break;\n }\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true) {
try{
String[] line = br.readLine().split(" ");
int length = String.valueOf(Integer.parseInt(line[0]) + Integer.parseInt(line[1])).length();
System.out.println(length);
}catch(NullPointerException e) {
break;
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
38,
5,
13,
30,
30,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
2,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
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
],
[
79,
11
],
[
79,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
14,
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
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
12,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"\nimport java.util.ArrayList;\nimport java.util.NoSuchElementException;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> result = new ArrayList<Integer>();\n\t\t\n\t\ttry{\n\t\t\twhile(sc.hasNextInt()){\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tint b = sc.nextInt();\n\t\t\t\tresult.add(a + b);\n\t\t\t}\n\t\t}catch(NoSuchElementException e){\n\t\t\t//üͪIíÁ½ç½à¹¸ÉðÌubNÖ\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < result.size(); i++){\n\t\t\tSystem.out.println(String.valueOf(result.get(i)).length());\n\t\t}\n\t\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> result = new ArrayList<Integer>();\n\t\t\n\t\ttry{\n\t\t\twhile(sc.hasNextInt()){\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tint b = sc.nextInt();\n\t\t\t\tresult.add(a + b);\n\t\t\t}\n\t\t}catch(NoSuchElementException e){\n\t\t\t//üͪIíÁ½ç½à¹¸ÉðÌubNÖ\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < result.size(); i++){\n\t\t\tSystem.out.println(String.valueOf(result.get(i)).length());\n\t\t}\n\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> result = new ArrayList<Integer>();\n\t\t\n\t\ttry{\n\t\t\twhile(sc.hasNextInt()){\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tint b = sc.nextInt();\n\t\t\t\tresult.add(a + b);\n\t\t\t}\n\t\t}catch(NoSuchElementException e){\n\t\t\t//üͪIíÁ½ç½à¹¸ÉðÌubNÖ\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < result.size(); i++){\n\t\t\tSystem.out.println(String.valueOf(result.get(i)).length());\n\t\t}\n\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> result = new ArrayList<Integer>();\n\t\t\n\t\ttry{\n\t\t\twhile(sc.hasNextInt()){\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tint b = sc.nextInt();\n\t\t\t\tresult.add(a + b);\n\t\t\t}\n\t\t}catch(NoSuchElementException e){\n\t\t\t//üͪIíÁ½ç½à¹¸ÉðÌubNÖ\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < result.size(); i++){\n\t\t\tSystem.out.println(String.valueOf(result.get(i)).length());\n\t\t}\n\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> result = new ArrayList<Integer>();",
"result",
"new ArrayList<Integer>()",
"try{\n\t\t\twhile(sc.hasNextInt()){\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tint b = sc.nextInt();\n\t\t\t\tresult.add(a + b);\n\t\t\t}\n\t\t}catch(NoSuchElementException e){\n\t\t\t//üͪIíÁ½ç½à¹¸ÉðÌubNÖ\n\t\t}",
"catch(NoSuchElementException e){\n\t\t\t//üͪIíÁ½ç½à¹¸ÉðÌubNÖ\n\t\t}",
"NoSuchElementException e",
"{\n\t\t\t//üͪIíÁ½ç½à¹¸ÉðÌubNÖ\n\t\t}",
"{\n\t\t\twhile(sc.hasNextInt()){\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tint b = sc.nextInt();\n\t\t\t\tresult.add(a + b);\n\t\t\t}\n\t\t}",
"while(sc.hasNextInt()){\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tint b = sc.nextInt();\n\t\t\t\tresult.add(a + b);\n\t\t\t}",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tint b = sc.nextInt();\n\t\t\t\tresult.add(a + b);\n\t\t\t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"result.add(a + b)",
"result.add",
"result",
"a + b",
"a",
"b",
"for(int i = 0; i < result.size(); i++){\n\t\t\tSystem.out.println(String.valueOf(result.get(i)).length());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < result.size()",
"i",
"result.size()",
"result.size",
"result",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(String.valueOf(result.get(i)).length());\n\t\t}",
"{\n\t\t\tSystem.out.println(String.valueOf(result.get(i)).length());\n\t\t}",
"System.out.println(String.valueOf(result.get(i)).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(result.get(i)).length()",
"String.valueOf(result.get(i)).length",
"String.valueOf(result.get(i))",
"String.valueOf",
"String",
"result.get(i)",
"result.get",
"result",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> result = new ArrayList<Integer>();\n\t\t\n\t\ttry{\n\t\t\twhile(sc.hasNextInt()){\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tint b = sc.nextInt();\n\t\t\t\tresult.add(a + b);\n\t\t\t}\n\t\t}catch(NoSuchElementException e){\n\t\t\t//üͪIíÁ½ç½à¹¸ÉðÌubNÖ\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < result.size(); i++){\n\t\t\tSystem.out.println(String.valueOf(result.get(i)).length());\n\t\t}\n\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> result = new ArrayList<Integer>();\n\t\t\n\t\ttry{\n\t\t\twhile(sc.hasNextInt()){\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tint b = sc.nextInt();\n\t\t\t\tresult.add(a + b);\n\t\t\t}\n\t\t}catch(NoSuchElementException e){\n\t\t\t//üͪIíÁ½ç½à¹¸ÉðÌubNÖ\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < result.size(); i++){\n\t\t\tSystem.out.println(String.valueOf(result.get(i)).length());\n\t\t}\n\t\n\t}\n}",
"Main"
] |
import java.util.ArrayList;
import java.util.NoSuchElementException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<Integer> result = new ArrayList<Integer>();
try{
while(sc.hasNextInt()){
int a = sc.nextInt();
int b = sc.nextInt();
result.add(a + b);
}
}catch(NoSuchElementException e){
//üͪIíÁ½ç½à¹¸ÉðÌubNÖ
}
for(int i = 0; i < result.size(); i++){
System.out.println(String.valueOf(result.get(i)).length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while ( scanner.hasNextInt() ) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println( Integer.toString( a + b ).length() );\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while ( scanner.hasNextInt() ) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println( Integer.toString( a + b ).length() );\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while ( scanner.hasNextInt() ) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println( Integer.toString( a + b ).length() );\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n while ( scanner.hasNextInt() ) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println( Integer.toString( a + b ).length() );\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while ( scanner.hasNextInt() ) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println( Integer.toString( a + b ).length() );\n }",
"scanner.hasNextInt()",
"scanner.hasNextInt",
"scanner",
"{\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println( Integer.toString( a + b ).length() );\n }",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"System.out.println( Integer.toString( a + b ).length() )",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString( a + b ).length()",
"Integer.toString( a + b ).length",
"Integer.toString( a + b )",
"Integer.toString",
"Integer",
"a + b",
"a",
"b",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while ( scanner.hasNextInt() ) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println( Integer.toString( a + b ).length() );\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while ( scanner.hasNextInt() ) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println( Integer.toString( a + b ).length() );\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
while ( scanner.hasNextInt() ) {
int a = scanner.nextInt();
int b = scanner.nextInt();
System.out.println( Integer.toString( a + b ).length() );
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
23,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
23,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
23,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
23,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
71,
72
],
[
15,
73
],
[
73,
74
]
] | [
"\n//Digit Number\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\n\t\t\tString tmp = in.readLine();\n\t\t\tif (tmp == null) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] ab = tmp.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\n\t\t\t String out =Integer.toString(a+b);\n\t\t\t System.out.println(out.length());\n\t\t\t\n\n\n\t\t}\n\n\t\t// Scanner scan = new Scanner(System.in);\n\t\t//\n\t\t// while(scan.hasNext()){\n\t\t//\n\t\t// String[] ab = scan.next().split(\" \");\n\t\t//\n\t\t// int a = Integer.parseInt(ab[0]);\n\t\t// int b = Integer.parseInt(ab[1]);\n\t\t//\n\t\t//// String out =Integer.toString(a+b);\n\t\t//// System.out.println(out.length());\n\t\t////\n\t\t//\n\t\t// int i=0;\n\t\t// while(true){\n\t\t// i++;\n\t\t// if(Math.pow(10, i)>a+b){\n\t\t// break;\n\t\t// }\n\t\t// }\n\t\t// System.out.println(i);\n\t\t//\n\t\t// }\n\t\t// scan.close();\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\n\t\t\tString tmp = in.readLine();\n\t\t\tif (tmp == null) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] ab = tmp.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\n\t\t\t String out =Integer.toString(a+b);\n\t\t\t System.out.println(out.length());\n\t\t\t\n\n\n\t\t}\n\n\t\t// Scanner scan = new Scanner(System.in);\n\t\t//\n\t\t// while(scan.hasNext()){\n\t\t//\n\t\t// String[] ab = scan.next().split(\" \");\n\t\t//\n\t\t// int a = Integer.parseInt(ab[0]);\n\t\t// int b = Integer.parseInt(ab[1]);\n\t\t//\n\t\t//// String out =Integer.toString(a+b);\n\t\t//// System.out.println(out.length());\n\t\t////\n\t\t//\n\t\t// int i=0;\n\t\t// while(true){\n\t\t// i++;\n\t\t// if(Math.pow(10, i)>a+b){\n\t\t// break;\n\t\t// }\n\t\t// }\n\t\t// System.out.println(i);\n\t\t//\n\t\t// }\n\t\t// scan.close();\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\n\t\t\tString tmp = in.readLine();\n\t\t\tif (tmp == null) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] ab = tmp.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\n\t\t\t String out =Integer.toString(a+b);\n\t\t\t System.out.println(out.length());\n\t\t\t\n\n\n\t\t}\n\n\t\t// Scanner scan = new Scanner(System.in);\n\t\t//\n\t\t// while(scan.hasNext()){\n\t\t//\n\t\t// String[] ab = scan.next().split(\" \");\n\t\t//\n\t\t// int a = Integer.parseInt(ab[0]);\n\t\t// int b = Integer.parseInt(ab[1]);\n\t\t//\n\t\t//// String out =Integer.toString(a+b);\n\t\t//// System.out.println(out.length());\n\t\t////\n\t\t//\n\t\t// int i=0;\n\t\t// while(true){\n\t\t// i++;\n\t\t// if(Math.pow(10, i)>a+b){\n\t\t// break;\n\t\t// }\n\t\t// }\n\t\t// System.out.println(i);\n\t\t//\n\t\t// }\n\t\t// scan.close();\n\t}",
"main",
"{\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\n\t\t\tString tmp = in.readLine();\n\t\t\tif (tmp == null) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] ab = tmp.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\n\t\t\t String out =Integer.toString(a+b);\n\t\t\t System.out.println(out.length());\n\t\t\t\n\n\n\t\t}\n\n\t\t// Scanner scan = new Scanner(System.in);\n\t\t//\n\t\t// while(scan.hasNext()){\n\t\t//\n\t\t// String[] ab = scan.next().split(\" \");\n\t\t//\n\t\t// int a = Integer.parseInt(ab[0]);\n\t\t// int b = Integer.parseInt(ab[1]);\n\t\t//\n\t\t//// String out =Integer.toString(a+b);\n\t\t//// System.out.println(out.length());\n\t\t////\n\t\t//\n\t\t// int i=0;\n\t\t// while(true){\n\t\t// i++;\n\t\t// if(Math.pow(10, i)>a+b){\n\t\t// break;\n\t\t// }\n\t\t// }\n\t\t// System.out.println(i);\n\t\t//\n\t\t// }\n\t\t// scan.close();\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"while (true) {\n\n\t\t\tString tmp = in.readLine();\n\t\t\tif (tmp == null) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] ab = tmp.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\n\t\t\t String out =Integer.toString(a+b);\n\t\t\t System.out.println(out.length());\n\t\t\t\n\n\n\t\t}",
"true",
"{\n\n\t\t\tString tmp = in.readLine();\n\t\t\tif (tmp == null) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] ab = tmp.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\n\t\t\t String out =Integer.toString(a+b);\n\t\t\t System.out.println(out.length());\n\t\t\t\n\n\n\t\t}",
"String tmp = in.readLine();",
"tmp",
"in.readLine()",
"in.readLine",
"in",
"if (tmp == null) {\n\t\t\t\tbreak;\n\t\t\t}",
"tmp == null",
"tmp",
"null",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"String[] ab = tmp.split(\" \");",
"ab",
"tmp.split(\" \")",
"tmp.split",
"tmp",
"\" \"",
"int a = Integer.parseInt(ab[0]);",
"a",
"Integer.parseInt(ab[0])",
"Integer.parseInt",
"Integer",
"ab[0]",
"ab",
"0",
"int b = Integer.parseInt(ab[1]);",
"b",
"Integer.parseInt(ab[1])",
"Integer.parseInt",
"Integer",
"ab[1]",
"ab",
"1",
"String out =Integer.toString(a+b);",
"out",
"Integer.toString(a+b)",
"Integer.toString",
"Integer",
"a+b",
"a",
"b",
"System.out.println(out.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"out.length()",
"out.length",
"out",
"String[] args",
"args"
] |
//Digit Number
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
while (true) {
String tmp = in.readLine();
if (tmp == null) {
break;
}
String[] ab = tmp.split(" ");
int a = Integer.parseInt(ab[0]);
int b = Integer.parseInt(ab[1]);
String out =Integer.toString(a+b);
System.out.println(out.length());
}
// Scanner scan = new Scanner(System.in);
//
// while(scan.hasNext()){
//
// String[] ab = scan.next().split(" ");
//
// int a = Integer.parseInt(ab[0]);
// int b = Integer.parseInt(ab[1]);
//
//// String out =Integer.toString(a+b);
//// System.out.println(out.length());
////
//
// int i=0;
// while(true){
// i++;
// if(Math.pow(10, i)>a+b){
// break;
// }
// }
// System.out.println(i);
//
// }
// scan.close();
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
18,
13,
13,
12,
13,
30,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
29,
2,
13,
17,
23,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
4,
18,
13,
4,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
8,
10
],
[
8,
11
],
[
8,
12
],
[
8,
13
],
[
8,
14
],
[
8,
15
],
[
8,
16
],
[
8,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
4,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
24,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
34,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
21,
44
],
[
44,
45
],
[
4,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
59,
66
],
[
66,
67
],
[
66,
68
],
[
59,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
70,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
77,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
90,
91
],
[
90,
92
],
[
86,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
96,
97
],
[
96,
98
],
[
77,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
104,
105
],
[
104,
106
],
[
99,
107
],
[
59,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
46,
114
],
[
114,
115
]
] | [
"/* Volume2 */\nimport java.io.*;\n\nclass Main\n{\n final static int[] sizeTable = { 9, 99, 999, 9999, 99999, 999999, 9999999, 99999999, 999999999, Integer.MAX_VALUE };\n\n public static int stringSize(int x){\n for(int i=0; ; i++){\n if(x <= sizeTable[i]) return i+1;\n }\n }\n\n public static void main(String[] args)\n {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n String str = \"\";\n\n while((str = br.readLine()) != null){\n String[] input = str.split(\" \");\n int sum = Integer.parseInt(input[0]) + Integer.parseInt(input[1]);\n sb.append(stringSize(sum)).append(\"\\n\");\n }\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n final static int[] sizeTable = { 9, 99, 999, 9999, 99999, 999999, 9999999, 99999999, 999999999, Integer.MAX_VALUE };\n\n public static int stringSize(int x){\n for(int i=0; ; i++){\n if(x <= sizeTable[i]) return i+1;\n }\n }\n\n public static void main(String[] args)\n {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n String str = \"\";\n\n while((str = br.readLine()) != null){\n String[] input = str.split(\" \");\n int sum = Integer.parseInt(input[0]) + Integer.parseInt(input[1]);\n sb.append(stringSize(sum)).append(\"\\n\");\n }\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }\n }\n}",
"Main",
"final static int[] sizeTable = { 9, 99, 999, 9999, 99999, 999999, 9999999, 99999999, 999999999, Integer.MAX_VALUE };",
"sizeTable",
"{ 9, 99, 999, 9999, 99999, 999999, 9999999, 99999999, 999999999, Integer.MAX_VALUE }",
"9",
"99",
"999",
"9999",
"99999",
"999999",
"9999999",
"99999999",
"999999999",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"public static int stringSize(int x){\n for(int i=0; ; i++){\n if(x <= sizeTable[i]) return i+1;\n }\n }",
"stringSize",
"{\n for(int i=0; ; i++){\n if(x <= sizeTable[i]) return i+1;\n }\n }",
"for(int i=0; ; i++){\n if(x <= sizeTable[i]) return i+1;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i++",
"i++",
"i",
"{\n if(x <= sizeTable[i]) return i+1;\n }",
"{\n if(x <= sizeTable[i]) return i+1;\n }",
"if(x <= sizeTable[i]) return i+1;",
"x <= sizeTable[i]",
"x",
"sizeTable[i]",
"sizeTable",
"i",
"return i+1;",
"i+1",
"i",
"1",
"int x",
"x",
"public static void main(String[] args)\n {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n String str = \"\";\n\n while((str = br.readLine()) != null){\n String[] input = str.split(\" \");\n int sum = Integer.parseInt(input[0]) + Integer.parseInt(input[1]);\n sb.append(stringSize(sum)).append(\"\\n\");\n }\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }\n }",
"main",
"{\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n String str = \"\";\n\n while((str = br.readLine()) != null){\n String[] input = str.split(\" \");\n int sum = Integer.parseInt(input[0]) + Integer.parseInt(input[1]);\n sb.append(stringSize(sum)).append(\"\\n\");\n }\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }\n }",
"try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n String str = \"\";\n\n while((str = br.readLine()) != null){\n String[] input = str.split(\" \");\n int sum = Integer.parseInt(input[0]) + Integer.parseInt(input[1]);\n sb.append(stringSize(sum)).append(\"\\n\");\n }\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }",
"catch(Exception e){\n System.out.println(e);\n }",
"Exception e",
"{\n System.out.println(e);\n }",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n String str = \"\";\n\n while((str = br.readLine()) != null){\n String[] input = str.split(\" \");\n int sum = Integer.parseInt(input[0]) + Integer.parseInt(input[1]);\n sb.append(stringSize(sum)).append(\"\\n\");\n }\n System.out.print(sb);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"String str = \"\";",
"str",
"\"\"",
"while((str = br.readLine()) != null){\n String[] input = str.split(\" \");\n int sum = Integer.parseInt(input[0]) + Integer.parseInt(input[1]);\n sb.append(stringSize(sum)).append(\"\\n\");\n }",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n String[] input = str.split(\" \");\n int sum = Integer.parseInt(input[0]) + Integer.parseInt(input[1]);\n sb.append(stringSize(sum)).append(\"\\n\");\n }",
"String[] input = str.split(\" \");",
"input",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int sum = Integer.parseInt(input[0]) + Integer.parseInt(input[1]);",
"sum",
"Integer.parseInt(input[0]) + Integer.parseInt(input[1])",
"Integer.parseInt(input[0])",
"Integer.parseInt",
"Integer",
"input[0]",
"input",
"0",
"Integer.parseInt(input[1])",
"Integer.parseInt",
"Integer",
"input[1]",
"input",
"1",
"sb.append(stringSize(sum)).append(\"\\n\")",
"sb.append(stringSize(sum)).append",
"sb.append(stringSize(sum))",
"sb.append",
"sb",
"stringSize(sum)",
"stringSize",
"sum",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args"
] | /* Volume2 */
import java.io.*;
class Main
{
final static int[] sizeTable = { 9, 99, 999, 9999, 99999, 999999, 9999999, 99999999, 999999999, Integer.MAX_VALUE };
public static int stringSize(int x){
for(int i=0; ; i++){
if(x <= sizeTable[i]) return i+1;
}
}
public static void main(String[] args)
{
try{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
String str = "";
while((str = br.readLine()) != null){
String[] input = str.split(" ");
int sum = Integer.parseInt(input[0]) + Integer.parseInt(input[1]);
sb.append(stringSize(sum)).append("\n");
}
System.out.print(sb);
}catch(Exception e){
System.out.println(e);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
20,
0,
13,
2,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
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
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
43,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
54,
55
],
[
37,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
37,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
15,
70
],
[
70,
71
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\nclass Main {\n public static void main(String[] a) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = \"\";\n StringTokenizer st;\n int add = 0;\n while ((str = br.readLine()) != null) {\n st = new StringTokenizer(str, \" \");\n add = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n int keta = Integer.toString(add).length();\n\t System.out.println(keta);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"class Main {\n public static void main(String[] a) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = \"\";\n StringTokenizer st;\n int add = 0;\n while ((str = br.readLine()) != null) {\n st = new StringTokenizer(str, \" \");\n add = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n int keta = Integer.toString(add).length();\n\t System.out.println(keta);\n }\n }\n}",
"Main",
"public static void main(String[] a) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = \"\";\n StringTokenizer st;\n int add = 0;\n while ((str = br.readLine()) != null) {\n st = new StringTokenizer(str, \" \");\n add = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n int keta = Integer.toString(add).length();\n\t System.out.println(keta);\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = \"\";\n StringTokenizer st;\n int add = 0;\n while ((str = br.readLine()) != null) {\n st = new StringTokenizer(str, \" \");\n add = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n int keta = Integer.toString(add).length();\n\t System.out.println(keta);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = \"\";",
"str",
"\"\"",
"StringTokenizer st;",
"st",
"int add = 0;",
"add",
"0",
"while ((str = br.readLine()) != null) {\n st = new StringTokenizer(str, \" \");\n add = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n int keta = Integer.toString(add).length();\n\t System.out.println(keta);\n }",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n st = new StringTokenizer(str, \" \");\n add = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n int keta = Integer.toString(add).length();\n\t System.out.println(keta);\n }",
"st = new StringTokenizer(str, \" \")",
"st",
"new StringTokenizer(str, \" \")",
"add = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken())",
"add",
"Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken())",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int keta = Integer.toString(add).length();",
"keta",
"Integer.toString(add).length()",
"Integer.toString(add).length",
"Integer.toString(add)",
"Integer.toString",
"Integer",
"add",
"System.out.println(keta)",
"System.out.println",
"System.out",
"System",
"System.out",
"keta",
"String[] a",
"a"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
class Main {
public static void main(String[] a) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = "";
StringTokenizer st;
int add = 0;
while ((str = br.readLine()) != null) {
st = new StringTokenizer(str, " ");
add = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());
int keta = Integer.toString(add).length();
System.out.println(keta);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
20,
38,
5,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
41,
13,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
2,
13,
17,
30,
3,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
4,
18,
13,
2,
4,
18,
4,
18,
13,
2,
13,
13,
17,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
127,
11
],
[
127,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
14,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
27,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
40,
46
],
[
46,
47
],
[
40,
48
],
[
48,
49
],
[
40,
50
],
[
50,
51
],
[
50,
52
],
[
40,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
54,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
67,
76
],
[
76,
77
],
[
66,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
66,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
89,
90
],
[
89,
91
],
[
66,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
97,
98
],
[
97,
99
],
[
66,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
109,
110
],
[
109,
111
],
[
103,
112
],
[
66,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
14,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
118,
123
],
[
12,
124
],
[
124,
125
],
[
0,
126
],
[
126,
127
],
[
126,
128
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n final String SPACE = \" \";\n final String EMPTY = \"\";\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n try {\n String str = br.readLine();\n int a;\n int b;\n String[] temp = new String[2];\n for (int i = 0; i < 200; i++) {\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }\n } catch (IOException e) {\n // NOP\n } finally {\n if (br != null) {\n br.close();\n }\n }\n\n System.out.print(sb);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n final String SPACE = \" \";\n final String EMPTY = \"\";\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n try {\n String str = br.readLine();\n int a;\n int b;\n String[] temp = new String[2];\n for (int i = 0; i < 200; i++) {\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }\n } catch (IOException e) {\n // NOP\n } finally {\n if (br != null) {\n br.close();\n }\n }\n\n System.out.print(sb);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n final String SPACE = \" \";\n final String EMPTY = \"\";\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n try {\n String str = br.readLine();\n int a;\n int b;\n String[] temp = new String[2];\n for (int i = 0; i < 200; i++) {\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }\n } catch (IOException e) {\n // NOP\n } finally {\n if (br != null) {\n br.close();\n }\n }\n\n System.out.print(sb);\n }",
"main",
"{\n final String SPACE = \" \";\n final String EMPTY = \"\";\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n try {\n String str = br.readLine();\n int a;\n int b;\n String[] temp = new String[2];\n for (int i = 0; i < 200; i++) {\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }\n } catch (IOException e) {\n // NOP\n } finally {\n if (br != null) {\n br.close();\n }\n }\n\n System.out.print(sb);\n }",
"final String SPACE = \" \";",
"SPACE",
"\" \"",
"final String EMPTY = \"\";",
"EMPTY",
"\"\"",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"try {\n String str = br.readLine();\n int a;\n int b;\n String[] temp = new String[2];\n for (int i = 0; i < 200; i++) {\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }\n } catch (IOException e) {\n // NOP\n } finally {\n if (br != null) {\n br.close();\n }\n }",
"catch (IOException e) {\n // NOP\n }",
"IOException e",
"{\n // NOP\n }",
"{\n if (br != null) {\n br.close();\n }\n }",
"if (br != null) {\n br.close();\n }",
"br != null",
"br",
"null",
"{\n br.close();\n }",
"br.close()",
"br.close",
"br",
"{\n String str = br.readLine();\n int a;\n int b;\n String[] temp = new String[2];\n for (int i = 0; i < 200; i++) {\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }\n }",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"int a;",
"a",
"int b;",
"b",
"String[] temp = new String[2];",
"temp",
"new String[2]",
"2",
"for (int i = 0; i < 200; i++) {\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 200",
"i",
"200",
"i++",
"i++",
"i",
"{\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }",
"{\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }",
"if (EMPTY.equals(str) || str == null) {\n break;\n }",
"EMPTY.equals(str) || str == null",
"EMPTY.equals(str)",
"EMPTY.equals",
"EMPTY",
"str",
"str == null",
"str",
"null",
"{\n break;\n }",
"break;",
"temp = str.split(SPACE)",
"temp",
"str.split(SPACE)",
"str.split",
"str",
"SPACE",
"a = Integer.parseInt(temp[0])",
"a",
"Integer.parseInt(temp[0])",
"Integer.parseInt",
"Integer",
"temp[0]",
"temp",
"0",
"b = Integer.parseInt(temp[1])",
"b",
"Integer.parseInt(temp[1])",
"Integer.parseInt",
"Integer",
"temp[1]",
"temp",
"1",
"sb.append(String.valueOf(a + b).length() + \"\\r\\n\")",
"sb.append",
"sb",
"String.valueOf(a + b).length() + \"\\r\\n\"",
"String.valueOf(a + b).length()",
"String.valueOf(a + b).length",
"String.valueOf(a + b)",
"String.valueOf",
"String",
"a + b",
"a",
"b",
"\"\\r\\n\"",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n final String SPACE = \" \";\n final String EMPTY = \"\";\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n try {\n String str = br.readLine();\n int a;\n int b;\n String[] temp = new String[2];\n for (int i = 0; i < 200; i++) {\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }\n } catch (IOException e) {\n // NOP\n } finally {\n if (br != null) {\n br.close();\n }\n }\n\n System.out.print(sb);\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n final String SPACE = \" \";\n final String EMPTY = \"\";\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n try {\n String str = br.readLine();\n int a;\n int b;\n String[] temp = new String[2];\n for (int i = 0; i < 200; i++) {\n // 最終行であれば抜ける\n if (EMPTY.equals(str) || str == null) {\n break;\n }\n\n temp = str.split(SPACE);\n a = Integer.parseInt(temp[0]);\n b = Integer.parseInt(temp[1]);\n sb.append(String.valueOf(a + b).length() + \"\\r\\n\");\n\n str = br.readLine();\n }\n } catch (IOException e) {\n // NOP\n } finally {\n if (br != null) {\n br.close();\n }\n }\n\n System.out.print(sb);\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
final String SPACE = " ";
final String EMPTY = "";
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
try {
String str = br.readLine();
int a;
int b;
String[] temp = new String[2];
for (int i = 0; i < 200; i++) {
// 最終行であれば抜ける
if (EMPTY.equals(str) || str == null) {
break;
}
temp = str.split(SPACE);
a = Integer.parseInt(temp[0]);
b = Integer.parseInt(temp[1]);
sb.append(String.valueOf(a + b).length() + "\r\n");
str = br.readLine();
}
} catch (IOException e) {
// NOP
} finally {
if (br != null) {
br.close();
}
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
4,
18,
13,
2,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
29,
36
],
[
16,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n\n while (in.hasNext()) {\n int a = in.nextInt();\n int b = in.nextInt();\n int k = (int)Math.log10( (double)(a+b) )+1;\n System.out.println(k);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n\n while (in.hasNext()) {\n int a = in.nextInt();\n int b = in.nextInt();\n int k = (int)Math.log10( (double)(a+b) )+1;\n System.out.println(k);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n\n while (in.hasNext()) {\n int a = in.nextInt();\n int b = in.nextInt();\n int k = (int)Math.log10( (double)(a+b) )+1;\n System.out.println(k);\n }\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n\n while (in.hasNext()) {\n int a = in.nextInt();\n int b = in.nextInt();\n int k = (int)Math.log10( (double)(a+b) )+1;\n System.out.println(k);\n }\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while (in.hasNext()) {\n int a = in.nextInt();\n int b = in.nextInt();\n int k = (int)Math.log10( (double)(a+b) )+1;\n System.out.println(k);\n }",
"in.hasNext()",
"in.hasNext",
"in",
"{\n int a = in.nextInt();\n int b = in.nextInt();\n int k = (int)Math.log10( (double)(a+b) )+1;\n System.out.println(k);\n }",
"int a = in.nextInt();",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"int b = in.nextInt();",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"int k = (int)Math.log10( (double)(a+b) )+1;",
"k",
"(int)Math.log10( (double)(a+b) )+1",
"(int)Math.log10( (double)(a+b) )",
"Math.log10",
"Math",
"(double)(a+b)",
"a",
"b",
"1",
"System.out.println(k)",
"System.out.println",
"System.out",
"System",
"System.out",
"k",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n\n while (in.hasNext()) {\n int a = in.nextInt();\n int b = in.nextInt();\n int k = (int)Math.log10( (double)(a+b) )+1;\n System.out.println(k);\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n\n while (in.hasNext()) {\n int a = in.nextInt();\n int b = in.nextInt();\n int k = (int)Math.log10( (double)(a+b) )+1;\n System.out.println(k);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
while (in.hasNext()) {
int a = in.nextInt();
int b = in.nextInt();
int k = (int)Math.log10( (double)(a+b) )+1;
System.out.println(k);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
41,
13,
17,
14,
2,
13,
17,
0,
13,
2,
4,
18,
13,
17,
4,
18,
13,
17,
0,
13,
2,
4,
18,
13,
2,
13,
17,
4,
18,
13,
2,
2,
13,
17,
17,
41,
13,
0,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
29,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
42,
4,
18,
13,
30,
38,
5,
13,
30,
3,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
41,
13,
20,
0,
13,
4,
13,
13,
4,
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
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
15,
27
],
[
27,
28
],
[
28,
29
],
[
15,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
41,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
31,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
52,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
31,
67
],
[
67,
68
],
[
31,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
31,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
78,
79
],
[
79,
80
],
[
11,
81
],
[
81,
82
],
[
9,
83
],
[
83,
84
],
[
7,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
88,
98
],
[
98,
99
],
[
99,
100
],
[
88,
101
],
[
102,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
85,
112
],
[
112,
113
],
[
7,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
120,
122
],
[
116,
123
],
[
123,
124
],
[
116,
125
],
[
125,
126
],
[
116,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
127,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
132,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
137,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
137,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
150,
153
],
[
137,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
156,
159
],
[
137,
160
],
[
160,
161
],
[
161,
162
],
[
160,
163
],
[
137,
164
],
[
164,
165
],
[
165,
166
],
[
164,
167
],
[
116,
168
],
[
168,
169
],
[
168,
170
],
[
116,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
173,
175
],
[
116,
176
],
[
176,
177
],
[
176,
178
],
[
114,
179
],
[
179,
180
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main{\n\tprivate static ArrayList<Integer> sum_dig(ArrayList<Integer> a){\n\t\tArrayList<Integer> b = new ArrayList<Integer>();\n\t\tfor(int i = 0;i<a.size()/2;i++){\n\t\t\tint sum = 0;\n\t\t\tif(i == 0) sum = a.get(0)+a.get(1);\n\t\t\tsum = a.get(i*2)+a.get(i*2+1);\n\t\t\tString sums;\n\t\t\tsums = String.valueOf(sum);\n\t\t\tb.add(sums.length());\n\t\t\t}\n\t\treturn b;\n\t}\n\tprivate static void print_dig(ArrayList<Integer> a){\n\t\tfor(int i = 0;i<a.size();i++){\n\t\t\tSystem.out.println(a.get(i));\n\t\t}\n\t}\n\t\tpublic static void main(String args[]) throws IOException{\n\t\t\tArrayList<Integer> dig = new ArrayList<Integer>();\n\t\t\tScanner scan = new Scanner(System.in);\n\n\t\t\tint n1,n2;\n\t\t\twhile(scan.hasNext()){\n\t\t\t\ttry{\n\t\t\t\tString str1 = scan.next();\n\t\t\t\tString str2 = scan.next();\n\t\t\t\t\n\t\t\t\tn1 = Integer.parseInt(str1);\n\t\t\t\tn2 = Integer.parseInt(str2);\n\t\t\t\tdig.add(n1);\n\t\t\t\tdig.add(n2);\n\t\t\t}\n\t\t\tcatch(NumberFormatException e){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\tArrayList<Integer> res = new ArrayList<Integer>();\n\t\t\tres = sum_dig(dig);\n\t\t\tprint_dig(res);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tprivate static ArrayList<Integer> sum_dig(ArrayList<Integer> a){\n\t\tArrayList<Integer> b = new ArrayList<Integer>();\n\t\tfor(int i = 0;i<a.size()/2;i++){\n\t\t\tint sum = 0;\n\t\t\tif(i == 0) sum = a.get(0)+a.get(1);\n\t\t\tsum = a.get(i*2)+a.get(i*2+1);\n\t\t\tString sums;\n\t\t\tsums = String.valueOf(sum);\n\t\t\tb.add(sums.length());\n\t\t\t}\n\t\treturn b;\n\t}\n\tprivate static void print_dig(ArrayList<Integer> a){\n\t\tfor(int i = 0;i<a.size();i++){\n\t\t\tSystem.out.println(a.get(i));\n\t\t}\n\t}\n\t\tpublic static void main(String args[]) throws IOException{\n\t\t\tArrayList<Integer> dig = new ArrayList<Integer>();\n\t\t\tScanner scan = new Scanner(System.in);\n\n\t\t\tint n1,n2;\n\t\t\twhile(scan.hasNext()){\n\t\t\t\ttry{\n\t\t\t\tString str1 = scan.next();\n\t\t\t\tString str2 = scan.next();\n\t\t\t\t\n\t\t\t\tn1 = Integer.parseInt(str1);\n\t\t\t\tn2 = Integer.parseInt(str2);\n\t\t\t\tdig.add(n1);\n\t\t\t\tdig.add(n2);\n\t\t\t}\n\t\t\tcatch(NumberFormatException e){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\tArrayList<Integer> res = new ArrayList<Integer>();\n\t\t\tres = sum_dig(dig);\n\t\t\tprint_dig(res);\n\t}\n}",
"Main",
"private static ArrayList<Integer> sum_dig(ArrayList<Integer> a){\n\t\tArrayList<Integer> b = new ArrayList<Integer>();\n\t\tfor(int i = 0;i<a.size()/2;i++){\n\t\t\tint sum = 0;\n\t\t\tif(i == 0) sum = a.get(0)+a.get(1);\n\t\t\tsum = a.get(i*2)+a.get(i*2+1);\n\t\t\tString sums;\n\t\t\tsums = String.valueOf(sum);\n\t\t\tb.add(sums.length());\n\t\t\t}\n\t\treturn b;\n\t}",
"sum_dig",
"{\n\t\tArrayList<Integer> b = new ArrayList<Integer>();\n\t\tfor(int i = 0;i<a.size()/2;i++){\n\t\t\tint sum = 0;\n\t\t\tif(i == 0) sum = a.get(0)+a.get(1);\n\t\t\tsum = a.get(i*2)+a.get(i*2+1);\n\t\t\tString sums;\n\t\t\tsums = String.valueOf(sum);\n\t\t\tb.add(sums.length());\n\t\t\t}\n\t\treturn b;\n\t}",
"ArrayList<Integer> b = new ArrayList<Integer>();",
"b",
"new ArrayList<Integer>()",
"for(int i = 0;i<a.size()/2;i++){\n\t\t\tint sum = 0;\n\t\t\tif(i == 0) sum = a.get(0)+a.get(1);\n\t\t\tsum = a.get(i*2)+a.get(i*2+1);\n\t\t\tString sums;\n\t\t\tsums = String.valueOf(sum);\n\t\t\tb.add(sums.length());\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<a.size()/2",
"i",
"a.size()/2",
"a.size()",
"a.size",
"a",
"2",
"i++",
"i++",
"i",
"{\n\t\t\tint sum = 0;\n\t\t\tif(i == 0) sum = a.get(0)+a.get(1);\n\t\t\tsum = a.get(i*2)+a.get(i*2+1);\n\t\t\tString sums;\n\t\t\tsums = String.valueOf(sum);\n\t\t\tb.add(sums.length());\n\t\t\t}",
"{\n\t\t\tint sum = 0;\n\t\t\tif(i == 0) sum = a.get(0)+a.get(1);\n\t\t\tsum = a.get(i*2)+a.get(i*2+1);\n\t\t\tString sums;\n\t\t\tsums = String.valueOf(sum);\n\t\t\tb.add(sums.length());\n\t\t\t}",
"int sum = 0;",
"sum",
"0",
"if(i == 0) sum = a.get(0)+a.get(1);",
"i == 0",
"i",
"0",
"sum = a.get(0)+a.get(1)",
"sum",
"a.get(0)+a.get(1)",
"a.get(0)",
"a.get",
"a",
"0",
"a.get(1)",
"a.get",
"a",
"1",
"sum = a.get(i*2)+a.get(i*2+1)",
"sum",
"a.get(i*2)+a.get(i*2+1)",
"a.get(i*2)",
"a.get",
"a",
"i*2",
"i",
"2",
"a.get(i*2+1)",
"a.get",
"a",
"i*2+1",
"i*2",
"i",
"2",
"1",
"String sums;",
"sums",
"sums = String.valueOf(sum)",
"sums",
"String.valueOf(sum)",
"String.valueOf",
"String",
"sum",
"b.add(sums.length())",
"b.add",
"b",
"sums.length()",
"sums.length",
"sums",
"return b;",
"b",
"ArrayList<Integer> a",
"a",
"private static void print_dig(ArrayList<Integer> a){\n\t\tfor(int i = 0;i<a.size();i++){\n\t\t\tSystem.out.println(a.get(i));\n\t\t}\n\t}",
"print_dig",
"{\n\t\tfor(int i = 0;i<a.size();i++){\n\t\t\tSystem.out.println(a.get(i));\n\t\t}\n\t}",
"for(int i = 0;i<a.size();i++){\n\t\t\tSystem.out.println(a.get(i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<a.size()",
"i",
"a.size()",
"a.size",
"a",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(a.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(a.get(i));\n\t\t}",
"System.out.println(a.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"a.get(i)",
"a.get",
"a",
"i",
"ArrayList<Integer> a",
"a",
"public static void main(String args[]) throws IOException{\n\t\t\tArrayList<Integer> dig = new ArrayList<Integer>();\n\t\t\tScanner scan = new Scanner(System.in);\n\n\t\t\tint n1,n2;\n\t\t\twhile(scan.hasNext()){\n\t\t\t\ttry{\n\t\t\t\tString str1 = scan.next();\n\t\t\t\tString str2 = scan.next();\n\t\t\t\t\n\t\t\t\tn1 = Integer.parseInt(str1);\n\t\t\t\tn2 = Integer.parseInt(str2);\n\t\t\t\tdig.add(n1);\n\t\t\t\tdig.add(n2);\n\t\t\t}\n\t\t\tcatch(NumberFormatException e){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\tArrayList<Integer> res = new ArrayList<Integer>();\n\t\t\tres = sum_dig(dig);\n\t\t\tprint_dig(res);\n\t}",
"main",
"{\n\t\t\tArrayList<Integer> dig = new ArrayList<Integer>();\n\t\t\tScanner scan = new Scanner(System.in);\n\n\t\t\tint n1,n2;\n\t\t\twhile(scan.hasNext()){\n\t\t\t\ttry{\n\t\t\t\tString str1 = scan.next();\n\t\t\t\tString str2 = scan.next();\n\t\t\t\t\n\t\t\t\tn1 = Integer.parseInt(str1);\n\t\t\t\tn2 = Integer.parseInt(str2);\n\t\t\t\tdig.add(n1);\n\t\t\t\tdig.add(n2);\n\t\t\t}\n\t\t\tcatch(NumberFormatException e){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\tArrayList<Integer> res = new ArrayList<Integer>();\n\t\t\tres = sum_dig(dig);\n\t\t\tprint_dig(res);\n\t}",
"ArrayList<Integer> dig = new ArrayList<Integer>();",
"dig",
"new ArrayList<Integer>()",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n1",
"n1",
"n2;",
"n2",
"while(scan.hasNext()){\n\t\t\t\ttry{\n\t\t\t\tString str1 = scan.next();\n\t\t\t\tString str2 = scan.next();\n\t\t\t\t\n\t\t\t\tn1 = Integer.parseInt(str1);\n\t\t\t\tn2 = Integer.parseInt(str2);\n\t\t\t\tdig.add(n1);\n\t\t\t\tdig.add(n2);\n\t\t\t}\n\t\t\tcatch(NumberFormatException e){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\t\ttry{\n\t\t\t\tString str1 = scan.next();\n\t\t\t\tString str2 = scan.next();\n\t\t\t\t\n\t\t\t\tn1 = Integer.parseInt(str1);\n\t\t\t\tn2 = Integer.parseInt(str2);\n\t\t\t\tdig.add(n1);\n\t\t\t\tdig.add(n2);\n\t\t\t}\n\t\t\tcatch(NumberFormatException e){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"try{\n\t\t\t\tString str1 = scan.next();\n\t\t\t\tString str2 = scan.next();\n\t\t\t\t\n\t\t\t\tn1 = Integer.parseInt(str1);\n\t\t\t\tn2 = Integer.parseInt(str2);\n\t\t\t\tdig.add(n1);\n\t\t\t\tdig.add(n2);\n\t\t\t}\n\t\t\tcatch(NumberFormatException e){\n\t\t\t\tbreak;\n\t\t\t}",
"catch(NumberFormatException e){\n\t\t\t\tbreak;\n\t\t\t}",
"NumberFormatException e",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tString str1 = scan.next();\n\t\t\t\tString str2 = scan.next();\n\t\t\t\t\n\t\t\t\tn1 = Integer.parseInt(str1);\n\t\t\t\tn2 = Integer.parseInt(str2);\n\t\t\t\tdig.add(n1);\n\t\t\t\tdig.add(n2);\n\t\t\t}",
"String str1 = scan.next();",
"str1",
"scan.next()",
"scan.next",
"scan",
"String str2 = scan.next();",
"str2",
"scan.next()",
"scan.next",
"scan",
"n1 = Integer.parseInt(str1)",
"n1",
"Integer.parseInt(str1)",
"Integer.parseInt",
"Integer",
"str1",
"n2 = Integer.parseInt(str2)",
"n2",
"Integer.parseInt(str2)",
"Integer.parseInt",
"Integer",
"str2",
"dig.add(n1)",
"dig.add",
"dig",
"n1",
"dig.add(n2)",
"dig.add",
"dig",
"n2",
"ArrayList<Integer> res = new ArrayList<Integer>();",
"res",
"new ArrayList<Integer>()",
"res = sum_dig(dig)",
"res",
"sum_dig(dig)",
"sum_dig",
"dig",
"print_dig(res)",
"print_dig",
"res",
"String args[]",
"args"
] | import java.io.*;
import java.util.*;
class Main{
private static ArrayList<Integer> sum_dig(ArrayList<Integer> a){
ArrayList<Integer> b = new ArrayList<Integer>();
for(int i = 0;i<a.size()/2;i++){
int sum = 0;
if(i == 0) sum = a.get(0)+a.get(1);
sum = a.get(i*2)+a.get(i*2+1);
String sums;
sums = String.valueOf(sum);
b.add(sums.length());
}
return b;
}
private static void print_dig(ArrayList<Integer> a){
for(int i = 0;i<a.size();i++){
System.out.println(a.get(i));
}
}
public static void main(String args[]) throws IOException{
ArrayList<Integer> dig = new ArrayList<Integer>();
Scanner scan = new Scanner(System.in);
int n1,n2;
while(scan.hasNext()){
try{
String str1 = scan.next();
String str2 = scan.next();
n1 = Integer.parseInt(str1);
n2 = Integer.parseInt(str2);
dig.add(n1);
dig.add(n2);
}
catch(NumberFormatException e){
break;
}
}
ArrayList<Integer> res = new ArrayList<Integer>();
res = sum_dig(dig);
print_dig(res);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
2,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
19,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
16,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
16,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n int result = Integer.parseInt(scanner.next()) + Integer.parseInt(scanner.next());\n int length = String.valueOf(result).length();\n System.out.println(length);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n int result = Integer.parseInt(scanner.next()) + Integer.parseInt(scanner.next());\n int length = String.valueOf(result).length();\n System.out.println(length);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n int result = Integer.parseInt(scanner.next()) + Integer.parseInt(scanner.next());\n int length = String.valueOf(result).length();\n System.out.println(length);\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n int result = Integer.parseInt(scanner.next()) + Integer.parseInt(scanner.next());\n int length = String.valueOf(result).length();\n System.out.println(length);\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while (scanner.hasNext()) {\n int result = Integer.parseInt(scanner.next()) + Integer.parseInt(scanner.next());\n int length = String.valueOf(result).length();\n System.out.println(length);\n }",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n int result = Integer.parseInt(scanner.next()) + Integer.parseInt(scanner.next());\n int length = String.valueOf(result).length();\n System.out.println(length);\n }",
"int result = Integer.parseInt(scanner.next()) + Integer.parseInt(scanner.next());",
"result",
"Integer.parseInt(scanner.next()) + Integer.parseInt(scanner.next())",
"Integer.parseInt(scanner.next())",
"Integer.parseInt",
"Integer",
"scanner.next()",
"scanner.next",
"scanner",
"Integer.parseInt(scanner.next())",
"Integer.parseInt",
"Integer",
"scanner.next()",
"scanner.next",
"scanner",
"int length = String.valueOf(result).length();",
"length",
"String.valueOf(result).length()",
"String.valueOf(result).length",
"String.valueOf(result)",
"String.valueOf",
"String",
"result",
"System.out.println(length)",
"System.out.println",
"System.out",
"System",
"System.out",
"length",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n int result = Integer.parseInt(scanner.next()) + Integer.parseInt(scanner.next());\n int length = String.valueOf(result).length();\n System.out.println(length);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n int result = Integer.parseInt(scanner.next()) + Integer.parseInt(scanner.next());\n int length = String.valueOf(result).length();\n System.out.println(length);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
while (scanner.hasNext()) {
int result = Integer.parseInt(scanner.next()) + Integer.parseInt(scanner.next());
int length = String.valueOf(result).length();
System.out.println(length);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
62,
11
],
[
62,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
29,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
46,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
12,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\t/**\n\t * 引数で与えられた2つの数値を足し、計算後の桁数を出力する。\n\t *\n\t * @param args\n\t * 利用しない\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 入力値を受け取る\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = null;\n\t\twhile ((line = br.readLine()) != null) {\n\n\t\t\t// 引数を足した後の桁数を出力する\n\t\t\tString[] number = line.split(\" \");\n\t\t\tSystem.out.println(String\n\t\t\t\t\t.valueOf(\n\t\t\t\t\t\t\t(Integer.parseInt(number[0]) + Integer\n\t\t\t\t\t\t\t\t\t.parseInt(number[1]))).length());\n\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\t/**\n\t * 引数で与えられた2つの数値を足し、計算後の桁数を出力する。\n\t *\n\t * @param args\n\t * 利用しない\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 入力値を受け取る\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = null;\n\t\twhile ((line = br.readLine()) != null) {\n\n\t\t\t// 引数を足した後の桁数を出力する\n\t\t\tString[] number = line.split(\" \");\n\t\t\tSystem.out.println(String\n\t\t\t\t\t.valueOf(\n\t\t\t\t\t\t\t(Integer.parseInt(number[0]) + Integer\n\t\t\t\t\t\t\t\t\t.parseInt(number[1]))).length());\n\n\t\t}\n\t}\n}",
"Main",
"/**\n\t * 引数で与えられた2つの数値を足し、計算後の桁数を出力する。\n\t *\n\t * @param args\n\t * 利用しない\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 入力値を受け取る\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = null;\n\t\twhile ((line = br.readLine()) != null) {\n\n\t\t\t// 引数を足した後の桁数を出力する\n\t\t\tString[] number = line.split(\" \");\n\t\t\tSystem.out.println(String\n\t\t\t\t\t.valueOf(\n\t\t\t\t\t\t\t(Integer.parseInt(number[0]) + Integer\n\t\t\t\t\t\t\t\t\t.parseInt(number[1]))).length());\n\n\t\t}\n\t}",
"main",
"{\n\n\t\t// 入力値を受け取る\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = null;\n\t\twhile ((line = br.readLine()) != null) {\n\n\t\t\t// 引数を足した後の桁数を出力する\n\t\t\tString[] number = line.split(\" \");\n\t\t\tSystem.out.println(String\n\t\t\t\t\t.valueOf(\n\t\t\t\t\t\t\t(Integer.parseInt(number[0]) + Integer\n\t\t\t\t\t\t\t\t\t.parseInt(number[1]))).length());\n\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = null;",
"line",
"null",
"while ((line = br.readLine()) != null) {\n\n\t\t\t// 引数を足した後の桁数を出力する\n\t\t\tString[] number = line.split(\" \");\n\t\t\tSystem.out.println(String\n\t\t\t\t\t.valueOf(\n\t\t\t\t\t\t\t(Integer.parseInt(number[0]) + Integer\n\t\t\t\t\t\t\t\t\t.parseInt(number[1]))).length());\n\n\t\t}",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\n\t\t\t// 引数を足した後の桁数を出力する\n\t\t\tString[] number = line.split(\" \");\n\t\t\tSystem.out.println(String\n\t\t\t\t\t.valueOf(\n\t\t\t\t\t\t\t(Integer.parseInt(number[0]) + Integer\n\t\t\t\t\t\t\t\t\t.parseInt(number[1]))).length());\n\n\t\t}",
"String[] number = line.split(\" \");",
"number",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"System.out.println(String\n\t\t\t\t\t.valueOf(\n\t\t\t\t\t\t\t(Integer.parseInt(number[0]) + Integer\n\t\t\t\t\t\t\t\t\t.parseInt(number[1]))).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String\n\t\t\t\t\t.valueOf(\n\t\t\t\t\t\t\t(Integer.parseInt(number[0]) + Integer\n\t\t\t\t\t\t\t\t\t.parseInt(number[1]))).length()",
"String\n\t\t\t\t\t.valueOf(\n\t\t\t\t\t\t\t(Integer.parseInt(number[0]) + Integer\n\t\t\t\t\t\t\t\t\t.parseInt(number[1]))).length",
"String\n\t\t\t\t\t.valueOf(\n\t\t\t\t\t\t\t(Integer.parseInt(number[0]) + Integer\n\t\t\t\t\t\t\t\t\t.parseInt(number[1])))",
"String\n\t\t\t\t\t.valueOf",
"String",
"(Integer.parseInt(number[0]) + Integer\n\t\t\t\t\t\t\t\t\t.parseInt(number[1]))",
"Integer.parseInt(number[0])",
"Integer.parseInt",
"Integer",
"number[0]",
"number",
"0",
"Integer\n\t\t\t\t\t\t\t\t\t.parseInt(number[1])",
"Integer\n\t\t\t\t\t\t\t\t\t.parseInt",
"Integer",
"number[1]",
"number",
"1",
"String[] args",
"args",
"public class Main {\n\n\t/**\n\t * 引数で与えられた2つの数値を足し、計算後の桁数を出力する。\n\t *\n\t * @param args\n\t * 利用しない\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 入力値を受け取る\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = null;\n\t\twhile ((line = br.readLine()) != null) {\n\n\t\t\t// 引数を足した後の桁数を出力する\n\t\t\tString[] number = line.split(\" \");\n\t\t\tSystem.out.println(String\n\t\t\t\t\t.valueOf(\n\t\t\t\t\t\t\t(Integer.parseInt(number[0]) + Integer\n\t\t\t\t\t\t\t\t\t.parseInt(number[1]))).length());\n\n\t\t}\n\t}\n}",
"public class Main {\n\n\t/**\n\t * 引数で与えられた2つの数値を足し、計算後の桁数を出力する。\n\t *\n\t * @param args\n\t * 利用しない\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 入力値を受け取る\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = null;\n\t\twhile ((line = br.readLine()) != null) {\n\n\t\t\t// 引数を足した後の桁数を出力する\n\t\t\tString[] number = line.split(\" \");\n\t\t\tSystem.out.println(String\n\t\t\t\t\t.valueOf(\n\t\t\t\t\t\t\t(Integer.parseInt(number[0]) + Integer\n\t\t\t\t\t\t\t\t\t.parseInt(number[1]))).length());\n\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
/**
* 引数で与えられた2つの数値を足し、計算後の桁数を出力する。
*
* @param args
* 利用しない
* @throws IOException
*/
public static void main(String[] args) throws IOException {
// 入力値を受け取る
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = null;
while ((line = br.readLine()) != null) {
// 引数を足した後の桁数を出力する
String[] number = line.split(" ");
System.out.println(String
.valueOf(
(Integer.parseInt(number[0]) + Integer
.parseInt(number[1]))).length());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
4,
18,
4,
18,
13,
13,
4,
18,
13,
13,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
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
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
22,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
22,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
11,
50
],
[
50,
51
],
[
50,
52
],
[
50,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
9,
61
],
[
61,
62
]
] | [
"\nimport java.util.Scanner;\nimport java.util.ArrayList;\nclass Main\n{\n\tpublic static void main(String[] av)\n\t{\n\t\tScanner sc = new Scanner( System.in );\n\t\tArrayList<Integer> al = new ArrayList<Integer>();\n\n\t\twhile( sc.hasNextInt() )\n\t\t{\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\t\t\tint digit = String.valueOf(sum).length();\t\n\t\t\tal.add( digit );\n\t\t}\n\t\tfor ( Integer num : al )\n\t\t{\n\t\t\tSystem.out.println(num );\n\t\t}\n\t}\n}\n\t\t",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"class Main\n{\n\tpublic static void main(String[] av)\n\t{\n\t\tScanner sc = new Scanner( System.in );\n\t\tArrayList<Integer> al = new ArrayList<Integer>();\n\n\t\twhile( sc.hasNextInt() )\n\t\t{\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\t\t\tint digit = String.valueOf(sum).length();\t\n\t\t\tal.add( digit );\n\t\t}\n\t\tfor ( Integer num : al )\n\t\t{\n\t\t\tSystem.out.println(num );\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] av)\n\t{\n\t\tScanner sc = new Scanner( System.in );\n\t\tArrayList<Integer> al = new ArrayList<Integer>();\n\n\t\twhile( sc.hasNextInt() )\n\t\t{\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\t\t\tint digit = String.valueOf(sum).length();\t\n\t\t\tal.add( digit );\n\t\t}\n\t\tfor ( Integer num : al )\n\t\t{\n\t\t\tSystem.out.println(num );\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner( System.in );\n\t\tArrayList<Integer> al = new ArrayList<Integer>();\n\n\t\twhile( sc.hasNextInt() )\n\t\t{\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\t\t\tint digit = String.valueOf(sum).length();\t\n\t\t\tal.add( digit );\n\t\t}\n\t\tfor ( Integer num : al )\n\t\t{\n\t\t\tSystem.out.println(num );\n\t\t}\n\t}",
"Scanner sc = new Scanner( System.in );",
"sc",
"new Scanner( System.in )",
"ArrayList<Integer> al = new ArrayList<Integer>();",
"al",
"new ArrayList<Integer>()",
"while( sc.hasNextInt() )\n\t\t{\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\t\t\tint digit = String.valueOf(sum).length();\t\n\t\t\tal.add( digit );\n\t\t}",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint sum = a + b;\n\t\t\tint digit = String.valueOf(sum).length();\t\n\t\t\tal.add( digit );\n\t\t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int sum = a + b;",
"sum",
"a + b",
"a",
"b",
"int digit = String.valueOf(sum).length();",
"digit",
"String.valueOf(sum).length()",
"String.valueOf(sum).length",
"String.valueOf(sum)",
"String.valueOf",
"String",
"sum",
"al.add( digit )",
"al.add",
"al",
"digit",
"for ( Integer num : al )\n\t\t{\n\t\t\tSystem.out.println(num );\n\t\t}",
"Integer num",
"al",
"{\n\t\t\tSystem.out.println(num );\n\t\t}",
"{\n\t\t\tSystem.out.println(num );\n\t\t}",
"System.out.println(num )",
"System.out.println",
"System.out",
"System",
"System.out",
"num",
"String[] av",
"av"
] |
import java.util.Scanner;
import java.util.ArrayList;
class Main
{
public static void main(String[] av)
{
Scanner sc = new Scanner( System.in );
ArrayList<Integer> al = new ArrayList<Integer>();
while( sc.hasNextInt() )
{
int a = sc.nextInt();
int b = sc.nextInt();
int sum = a + b;
int digit = String.valueOf(sum).length();
al.add( digit );
}
for ( Integer num : al )
{
System.out.println(num );
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
4,
18,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
51,
5
],
[
51,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
18,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
18,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] | [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n try (Scanner sc = new Scanner(System.in)){\n while(sc.hasNextInt()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ans = a + b;\n int ansLen = String.valueOf(ans).length();\n System.out.println(ansLen);\n }\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n try (Scanner sc = new Scanner(System.in)){\n while(sc.hasNextInt()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ans = a + b;\n int ansLen = String.valueOf(ans).length();\n System.out.println(ansLen);\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n try (Scanner sc = new Scanner(System.in)){\n while(sc.hasNextInt()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ans = a + b;\n int ansLen = String.valueOf(ans).length();\n System.out.println(ansLen);\n }\n }\n }",
"main",
"{\n try (Scanner sc = new Scanner(System.in)){\n while(sc.hasNextInt()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ans = a + b;\n int ansLen = String.valueOf(ans).length();\n System.out.println(ansLen);\n }\n }\n }",
"try (Scanner sc = new Scanner(System.in)){\n while(sc.hasNextInt()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ans = a + b;\n int ansLen = String.valueOf(ans).length();\n System.out.println(ansLen);\n }\n }",
"{\n while(sc.hasNextInt()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ans = a + b;\n int ansLen = String.valueOf(ans).length();\n System.out.println(ansLen);\n }\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"while(sc.hasNextInt()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ans = a + b;\n int ansLen = String.valueOf(ans).length();\n System.out.println(ansLen);\n }",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ans = a + b;\n int ansLen = String.valueOf(ans).length();\n System.out.println(ansLen);\n }",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int ans = a + b;",
"ans",
"a + b",
"a",
"b",
"int ansLen = String.valueOf(ans).length();",
"ansLen",
"String.valueOf(ans).length()",
"String.valueOf(ans).length",
"String.valueOf(ans)",
"String.valueOf",
"String",
"ans",
"System.out.println(ansLen)",
"System.out.println",
"System.out",
"System",
"System.out",
"ansLen",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n try (Scanner sc = new Scanner(System.in)){\n while(sc.hasNextInt()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ans = a + b;\n int ansLen = String.valueOf(ans).length();\n System.out.println(ansLen);\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n try (Scanner sc = new Scanner(System.in)){\n while(sc.hasNextInt()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ans = a + b;\n int ansLen = String.valueOf(ans).length();\n System.out.println(ansLen);\n }\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
try (Scanner sc = new Scanner(System.in)){
while(sc.hasNextInt()){
int a = sc.nextInt();
int b = sc.nextInt();
int ans = a + b;
int ansLen = String.valueOf(ans).length();
System.out.println(ansLen);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
2,
17,
13,
4,
18,
18,
13,
13,
17,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
73,
5
],
[
73,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
15,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
15,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
15,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
15,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
15,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
15,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
15,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
15,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
58,
64
],
[
64,
65
],
[
65,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
6,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
] | [
"\nimport java.io.*;\n\npublic class Main {\n\n\t//ツ 0002\n\tpublic static void main(String[] args) throws IOException {\n\t\t\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tfor(;;) {\n\t\t\n\t\t\tString s = reader.readLine();\n\t\t\tif (s == null)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tString[] sp = s.split(\" \");\n\t\t\tint a = Integer.parseInt(sp[0]);\n\t\t\tint b = Integer.parseInt(sp[1]);\n\t\t\tint c = a+b;\n\t\t\tString ans = \"\" + c;\n\t\t\tSystem.out.printf(\"%s\\n\", ans.length());\n\t\t}\n\t\treader.close();\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\t//ツ 0002\n\tpublic static void main(String[] args) throws IOException {\n\t\t\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tfor(;;) {\n\t\t\n\t\t\tString s = reader.readLine();\n\t\t\tif (s == null)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tString[] sp = s.split(\" \");\n\t\t\tint a = Integer.parseInt(sp[0]);\n\t\t\tint b = Integer.parseInt(sp[1]);\n\t\t\tint c = a+b;\n\t\t\tString ans = \"\" + c;\n\t\t\tSystem.out.printf(\"%s\\n\", ans.length());\n\t\t}\n\t\treader.close();\n\t}\n}",
"Main",
"//ツ 0002\n\tpublic static void main(String[] args) throws IOException {\n\t\t\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tfor(;;) {\n\t\t\n\t\t\tString s = reader.readLine();\n\t\t\tif (s == null)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tString[] sp = s.split(\" \");\n\t\t\tint a = Integer.parseInt(sp[0]);\n\t\t\tint b = Integer.parseInt(sp[1]);\n\t\t\tint c = a+b;\n\t\t\tString ans = \"\" + c;\n\t\t\tSystem.out.printf(\"%s\\n\", ans.length());\n\t\t}\n\t\treader.close();\n\t}",
"main",
"{\n\t\t\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tfor(;;) {\n\t\t\n\t\t\tString s = reader.readLine();\n\t\t\tif (s == null)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tString[] sp = s.split(\" \");\n\t\t\tint a = Integer.parseInt(sp[0]);\n\t\t\tint b = Integer.parseInt(sp[1]);\n\t\t\tint c = a+b;\n\t\t\tString ans = \"\" + c;\n\t\t\tSystem.out.printf(\"%s\\n\", ans.length());\n\t\t}\n\t\treader.close();\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"for(;;) {\n\t\t\n\t\t\tString s = reader.readLine();\n\t\t\tif (s == null)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tString[] sp = s.split(\" \");\n\t\t\tint a = Integer.parseInt(sp[0]);\n\t\t\tint b = Integer.parseInt(sp[1]);\n\t\t\tint c = a+b;\n\t\t\tString ans = \"\" + c;\n\t\t\tSystem.out.printf(\"%s\\n\", ans.length());\n\t\t}",
";",
"{\n\t\t\n\t\t\tString s = reader.readLine();\n\t\t\tif (s == null)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tString[] sp = s.split(\" \");\n\t\t\tint a = Integer.parseInt(sp[0]);\n\t\t\tint b = Integer.parseInt(sp[1]);\n\t\t\tint c = a+b;\n\t\t\tString ans = \"\" + c;\n\t\t\tSystem.out.printf(\"%s\\n\", ans.length());\n\t\t}",
"{\n\t\t\n\t\t\tString s = reader.readLine();\n\t\t\tif (s == null)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tString[] sp = s.split(\" \");\n\t\t\tint a = Integer.parseInt(sp[0]);\n\t\t\tint b = Integer.parseInt(sp[1]);\n\t\t\tint c = a+b;\n\t\t\tString ans = \"\" + c;\n\t\t\tSystem.out.printf(\"%s\\n\", ans.length());\n\t\t}",
"String s = reader.readLine();",
"s",
"reader.readLine()",
"reader.readLine",
"reader",
"if (s == null)\n\t\t\t\tbreak;",
"s == null",
"s",
"null",
"break;",
"String[] sp = s.split(\" \");",
"sp",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"int a = Integer.parseInt(sp[0]);",
"a",
"Integer.parseInt(sp[0])",
"Integer.parseInt",
"Integer",
"sp[0]",
"sp",
"0",
"int b = Integer.parseInt(sp[1]);",
"b",
"Integer.parseInt(sp[1])",
"Integer.parseInt",
"Integer",
"sp[1]",
"sp",
"1",
"int c = a+b;",
"c",
"a+b",
"a",
"b",
"String ans = \"\" + c;",
"ans",
"\"\" + c",
"\"\"",
"c",
"System.out.printf(\"%s\\n\", ans.length())",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%s\\n\"",
"ans.length()",
"ans.length",
"ans",
"reader.close()",
"reader.close",
"reader",
"String[] args",
"args",
"public class Main {\n\n\t//ツ 0002\n\tpublic static void main(String[] args) throws IOException {\n\t\t\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tfor(;;) {\n\t\t\n\t\t\tString s = reader.readLine();\n\t\t\tif (s == null)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tString[] sp = s.split(\" \");\n\t\t\tint a = Integer.parseInt(sp[0]);\n\t\t\tint b = Integer.parseInt(sp[1]);\n\t\t\tint c = a+b;\n\t\t\tString ans = \"\" + c;\n\t\t\tSystem.out.printf(\"%s\\n\", ans.length());\n\t\t}\n\t\treader.close();\n\t}\n}",
"public class Main {\n\n\t//ツ 0002\n\tpublic static void main(String[] args) throws IOException {\n\t\t\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tfor(;;) {\n\t\t\n\t\t\tString s = reader.readLine();\n\t\t\tif (s == null)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tString[] sp = s.split(\" \");\n\t\t\tint a = Integer.parseInt(sp[0]);\n\t\t\tint b = Integer.parseInt(sp[1]);\n\t\t\tint c = a+b;\n\t\t\tString ans = \"\" + c;\n\t\t\tSystem.out.printf(\"%s\\n\", ans.length());\n\t\t}\n\t\treader.close();\n\t}\n}",
"Main"
] |
import java.io.*;
public class Main {
//ツ 0002
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
for(;;) {
String s = reader.readLine();
if (s == null)
break;
String[] sp = s.split(" ");
int a = Integer.parseInt(sp[0]);
int b = Integer.parseInt(sp[1]);
int c = a+b;
String ans = "" + c;
System.out.printf("%s\n", ans.length());
}
reader.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
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
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
28,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
37,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
28,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
12,
61
],
[
61,
62
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n public static void main(String[] args) throws IOException {\n BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n String str;\n while ((str = buf.readLine()) != null) {\n String[] nums = str.split(\" \");\n int sum = Integer.parseInt(nums[0]) + Integer.parseInt(nums[1]);\n System.out.println(Integer.toString(sum).length());\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n String str;\n while ((str = buf.readLine()) != null) {\n String[] nums = str.split(\" \");\n int sum = Integer.parseInt(nums[0]) + Integer.parseInt(nums[1]);\n System.out.println(Integer.toString(sum).length());\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n String str;\n while ((str = buf.readLine()) != null) {\n String[] nums = str.split(\" \");\n int sum = Integer.parseInt(nums[0]) + Integer.parseInt(nums[1]);\n System.out.println(Integer.toString(sum).length());\n }\n }",
"main",
"{\n BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n String str;\n while ((str = buf.readLine()) != null) {\n String[] nums = str.split(\" \");\n int sum = Integer.parseInt(nums[0]) + Integer.parseInt(nums[1]);\n System.out.println(Integer.toString(sum).length());\n }\n }",
"BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));",
"buf",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"while ((str = buf.readLine()) != null) {\n String[] nums = str.split(\" \");\n int sum = Integer.parseInt(nums[0]) + Integer.parseInt(nums[1]);\n System.out.println(Integer.toString(sum).length());\n }",
"(str = buf.readLine()) != null",
"(str = buf.readLine())",
"str",
"buf.readLine()",
"buf.readLine",
"buf",
"null",
"{\n String[] nums = str.split(\" \");\n int sum = Integer.parseInt(nums[0]) + Integer.parseInt(nums[1]);\n System.out.println(Integer.toString(sum).length());\n }",
"String[] nums = str.split(\" \");",
"nums",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int sum = Integer.parseInt(nums[0]) + Integer.parseInt(nums[1]);",
"sum",
"Integer.parseInt(nums[0]) + Integer.parseInt(nums[1])",
"Integer.parseInt(nums[0])",
"Integer.parseInt",
"Integer",
"nums[0]",
"nums",
"0",
"Integer.parseInt(nums[1])",
"Integer.parseInt",
"Integer",
"nums[1]",
"nums",
"1",
"System.out.println(Integer.toString(sum).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(sum).length()",
"Integer.toString(sum).length",
"Integer.toString(sum)",
"Integer.toString",
"Integer",
"sum",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
String str;
while ((str = buf.readLine()) != null) {
String[] nums = str.split(" ");
int sum = Integer.parseInt(nums[0]) + Integer.parseInt(nums[1]);
System.out.println(Integer.toString(sum).length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
65,
5
],
[
65,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
16,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
16,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
38,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
6,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint s = a + b;\n\t\t\tString S = String.valueOf(s);\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tSystem.out.println(\"0\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(S.length());\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint s = a + b;\n\t\t\tString S = String.valueOf(s);\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tSystem.out.println(\"0\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(S.length());\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws java.io.IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint s = a + b;\n\t\t\tString S = String.valueOf(s);\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tSystem.out.println(\"0\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(S.length());\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint s = a + b;\n\t\t\tString S = String.valueOf(s);\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tSystem.out.println(\"0\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(S.length());\n\t\t\t}\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint s = a + b;\n\t\t\tString S = String.valueOf(s);\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tSystem.out.println(\"0\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(S.length());\n\t\t\t}\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint s = a + b;\n\t\t\tString S = String.valueOf(s);\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tSystem.out.println(\"0\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(S.length());\n\t\t\t}\n\t\t}",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int b = scan.nextInt();",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int s = a + b;",
"s",
"a + b",
"a",
"b",
"String S = String.valueOf(s);",
"S",
"String.valueOf(s)",
"String.valueOf",
"String",
"s",
"if(a == 0 && b == 0){\n\t\t\t\tSystem.out.println(\"0\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(S.length());\n\t\t\t}",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n\t\t\t\tSystem.out.println(\"0\");\n\t\t\t}",
"System.out.println(\"0\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"0\"",
"{\n\t\t\t\tSystem.out.println(S.length());\n\t\t\t}",
"System.out.println(S.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"S.length()",
"S.length",
"S",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint s = a + b;\n\t\t\tString S = String.valueOf(s);\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tSystem.out.println(\"0\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(S.length());\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint s = a + b;\n\t\t\tString S = String.valueOf(s);\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tSystem.out.println(\"0\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(S.length());\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) throws java.io.IOException {
Scanner scan = new Scanner(System.in);
while(scan.hasNext()){
int a = scan.nextInt();
int b = scan.nextInt();
int s = a + b;
String S = String.valueOf(s);
if(a == 0 && b == 0){
System.out.println("0");
}else{
System.out.println(S.length());
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
17,
38,
5,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
14,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
14,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
14,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
14,
61
],
[
61,
62
],
[
61,
63
],
[
14,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
14,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
6,
80
],
[
80,
81
]
] | [
"import java.io.*;\n\nclass Main{\n\tpublic static void main(String args[]){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString input=\"\";\n\t\t\ttry{\n\t\t\t\tinput = reader.readLine();\n\t\t\t}catch(IOException e){\n\t\t\t\t\n\t\t\t}\n\t\t\tif(input==null){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tString array[] = input.split(\" \");\n\t\t\tint a = Integer.parseInt(array[0]);\n\t\t\tint b = Integer.parseInt(array[1]);\n\t\t\tint num = a+b;\n\t\t\tint cou=0;\n\t\t\twhile(num>0){\n\t\t\t\tnum/=10;\n\t\t\t\tcou++;\t\n\t\t\t}\n\t\t\tSystem.out.println(cou);\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String args[]){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString input=\"\";\n\t\t\ttry{\n\t\t\t\tinput = reader.readLine();\n\t\t\t}catch(IOException e){\n\t\t\t\t\n\t\t\t}\n\t\t\tif(input==null){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tString array[] = input.split(\" \");\n\t\t\tint a = Integer.parseInt(array[0]);\n\t\t\tint b = Integer.parseInt(array[1]);\n\t\t\tint num = a+b;\n\t\t\tint cou=0;\n\t\t\twhile(num>0){\n\t\t\t\tnum/=10;\n\t\t\t\tcou++;\t\n\t\t\t}\n\t\t\tSystem.out.println(cou);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString input=\"\";\n\t\t\ttry{\n\t\t\t\tinput = reader.readLine();\n\t\t\t}catch(IOException e){\n\t\t\t\t\n\t\t\t}\n\t\t\tif(input==null){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tString array[] = input.split(\" \");\n\t\t\tint a = Integer.parseInt(array[0]);\n\t\t\tint b = Integer.parseInt(array[1]);\n\t\t\tint num = a+b;\n\t\t\tint cou=0;\n\t\t\twhile(num>0){\n\t\t\t\tnum/=10;\n\t\t\t\tcou++;\t\n\t\t\t}\n\t\t\tSystem.out.println(cou);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString input=\"\";\n\t\t\ttry{\n\t\t\t\tinput = reader.readLine();\n\t\t\t}catch(IOException e){\n\t\t\t\t\n\t\t\t}\n\t\t\tif(input==null){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tString array[] = input.split(\" \");\n\t\t\tint a = Integer.parseInt(array[0]);\n\t\t\tint b = Integer.parseInt(array[1]);\n\t\t\tint num = a+b;\n\t\t\tint cou=0;\n\t\t\twhile(num>0){\n\t\t\t\tnum/=10;\n\t\t\t\tcou++;\t\n\t\t\t}\n\t\t\tSystem.out.println(cou);\n\t\t}\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t\t\tString input=\"\";\n\t\t\ttry{\n\t\t\t\tinput = reader.readLine();\n\t\t\t}catch(IOException e){\n\t\t\t\t\n\t\t\t}\n\t\t\tif(input==null){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tString array[] = input.split(\" \");\n\t\t\tint a = Integer.parseInt(array[0]);\n\t\t\tint b = Integer.parseInt(array[1]);\n\t\t\tint num = a+b;\n\t\t\tint cou=0;\n\t\t\twhile(num>0){\n\t\t\t\tnum/=10;\n\t\t\t\tcou++;\t\n\t\t\t}\n\t\t\tSystem.out.println(cou);\n\t\t}",
"true",
"{\n\t\t\tString input=\"\";\n\t\t\ttry{\n\t\t\t\tinput = reader.readLine();\n\t\t\t}catch(IOException e){\n\t\t\t\t\n\t\t\t}\n\t\t\tif(input==null){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tString array[] = input.split(\" \");\n\t\t\tint a = Integer.parseInt(array[0]);\n\t\t\tint b = Integer.parseInt(array[1]);\n\t\t\tint num = a+b;\n\t\t\tint cou=0;\n\t\t\twhile(num>0){\n\t\t\t\tnum/=10;\n\t\t\t\tcou++;\t\n\t\t\t}\n\t\t\tSystem.out.println(cou);\n\t\t}",
"String input=\"\";",
"input",
"\"\"",
"try{\n\t\t\t\tinput = reader.readLine();\n\t\t\t}catch(IOException e){\n\t\t\t\t\n\t\t\t}",
"catch(IOException e){\n\t\t\t\t\n\t\t\t}",
"IOException e",
"{\n\t\t\t\t\n\t\t\t}",
"{\n\t\t\t\tinput = reader.readLine();\n\t\t\t}",
"input = reader.readLine()",
"input",
"reader.readLine()",
"reader.readLine",
"reader",
"if(input==null){\n\t\t\t\tbreak;\n\t\t\t}",
"input==null",
"input",
"null",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"String array[] = input.split(\" \");",
"array",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"int a = Integer.parseInt(array[0]);",
"a",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"int b = Integer.parseInt(array[1]);",
"b",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"int num = a+b;",
"num",
"a+b",
"a",
"b",
"int cou=0;",
"cou",
"0",
"while(num>0){\n\t\t\t\tnum/=10;\n\t\t\t\tcou++;\t\n\t\t\t}",
"num>0",
"num",
"0",
"{\n\t\t\t\tnum/=10;\n\t\t\t\tcou++;\t\n\t\t\t}",
"num/=10",
"num",
"10",
"cou++",
"cou",
"System.out.println(cou)",
"System.out.println",
"System.out",
"System",
"System.out",
"cou",
"String args[]",
"args"
] | import java.io.*;
class Main{
public static void main(String args[]){
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
while(true){
String input="";
try{
input = reader.readLine();
}catch(IOException e){
}
if(input==null){
break;
}
String array[] = input.split(" ");
int a = Integer.parseInt(array[0]);
int b = Integer.parseInt(array[1]);
int num = a+b;
int cou=0;
while(num>0){
num/=10;
cou++;
}
System.out.println(cou);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
17,
41,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
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
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
33,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
42,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
33,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
12,
66
],
[
66,
67
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main{\n public static void main(String[] a)throws IOException{\n \tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \t\tString str = null;\n \t\tString[] strList = new String[2];\n\n \t\twhile((str = in.readLine()) != null){ \n strList = str.split(\" \");\n\n int sum = Integer.parseInt(strList[0])+Integer.parseInt(strList[1]);\n\n System.out.println(String.valueOf(sum).length());\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 public static void main(String[] a)throws IOException{\n \tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \t\tString str = null;\n \t\tString[] strList = new String[2];\n\n \t\twhile((str = in.readLine()) != null){ \n strList = str.split(\" \");\n\n int sum = Integer.parseInt(strList[0])+Integer.parseInt(strList[1]);\n\n System.out.println(String.valueOf(sum).length());\n\t }\n }\n}",
"Main",
"public static void main(String[] a)throws IOException{\n \tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \t\tString str = null;\n \t\tString[] strList = new String[2];\n\n \t\twhile((str = in.readLine()) != null){ \n strList = str.split(\" \");\n\n int sum = Integer.parseInt(strList[0])+Integer.parseInt(strList[1]);\n\n System.out.println(String.valueOf(sum).length());\n\t }\n }",
"main",
"{\n \tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \t\tString str = null;\n \t\tString[] strList = new String[2];\n\n \t\twhile((str = in.readLine()) != null){ \n strList = str.split(\" \");\n\n int sum = Integer.parseInt(strList[0])+Integer.parseInt(strList[1]);\n\n System.out.println(String.valueOf(sum).length());\n\t }\n }",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = null;",
"str",
"null",
"String[] strList = new String[2];",
"strList",
"new String[2]",
"2",
"while((str = in.readLine()) != null){ \n strList = str.split(\" \");\n\n int sum = Integer.parseInt(strList[0])+Integer.parseInt(strList[1]);\n\n System.out.println(String.valueOf(sum).length());\n\t }",
"(str = in.readLine()) != null",
"(str = in.readLine())",
"str",
"in.readLine()",
"in.readLine",
"in",
"null",
"{ \n strList = str.split(\" \");\n\n int sum = Integer.parseInt(strList[0])+Integer.parseInt(strList[1]);\n\n System.out.println(String.valueOf(sum).length());\n\t }",
"strList = str.split(\" \")",
"strList",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int sum = Integer.parseInt(strList[0])+Integer.parseInt(strList[1]);",
"sum",
"Integer.parseInt(strList[0])+Integer.parseInt(strList[1])",
"Integer.parseInt(strList[0])",
"Integer.parseInt",
"Integer",
"strList[0]",
"strList",
"0",
"Integer.parseInt(strList[1])",
"Integer.parseInt",
"Integer",
"strList[1]",
"strList",
"1",
"System.out.println(String.valueOf(sum).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(sum).length()",
"String.valueOf(sum).length",
"String.valueOf(sum)",
"String.valueOf",
"String",
"sum",
"String[] a",
"a"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
public static void main(String[] a)throws IOException{
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String str = null;
String[] strList = new String[2];
while((str = in.readLine()) != null){
strList = str.split(" ");
int sum = Integer.parseInt(strList[0])+Integer.parseInt(strList[1]);
System.out.println(String.valueOf(sum).length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
16,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
16,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
16,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
6,
52
],
[
52,
53
]
] | [
"import java.util.Scanner;\n\nclass Main{\n\n\n\n public static void main(String[] a){\n\n\n Scanner sc = new Scanner(System.in);\n\n while(sc.hasNext()) {\n\n\n\t \tint z = sc.nextInt();\n\t \tint y = sc.nextInt();\n\n\t \tint ans = z + y;\n\t \tString ansSt = String.valueOf(ans);\n\t \tint ansK = ansSt.length();\n\t \tSystem.out.println(ansK);\n\n }\n\n sc.close();\n\n\n }\n\n\n\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\n\n\n public static void main(String[] a){\n\n\n Scanner sc = new Scanner(System.in);\n\n while(sc.hasNext()) {\n\n\n\t \tint z = sc.nextInt();\n\t \tint y = sc.nextInt();\n\n\t \tint ans = z + y;\n\t \tString ansSt = String.valueOf(ans);\n\t \tint ansK = ansSt.length();\n\t \tSystem.out.println(ansK);\n\n }\n\n sc.close();\n\n\n }\n\n\n\n\n}",
"Main",
"public static void main(String[] a){\n\n\n Scanner sc = new Scanner(System.in);\n\n while(sc.hasNext()) {\n\n\n\t \tint z = sc.nextInt();\n\t \tint y = sc.nextInt();\n\n\t \tint ans = z + y;\n\t \tString ansSt = String.valueOf(ans);\n\t \tint ansK = ansSt.length();\n\t \tSystem.out.println(ansK);\n\n }\n\n sc.close();\n\n\n }",
"main",
"{\n\n\n Scanner sc = new Scanner(System.in);\n\n while(sc.hasNext()) {\n\n\n\t \tint z = sc.nextInt();\n\t \tint y = sc.nextInt();\n\n\t \tint ans = z + y;\n\t \tString ansSt = String.valueOf(ans);\n\t \tint ansK = ansSt.length();\n\t \tSystem.out.println(ansK);\n\n }\n\n sc.close();\n\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()) {\n\n\n\t \tint z = sc.nextInt();\n\t \tint y = sc.nextInt();\n\n\t \tint ans = z + y;\n\t \tString ansSt = String.valueOf(ans);\n\t \tint ansK = ansSt.length();\n\t \tSystem.out.println(ansK);\n\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\n\n\t \tint z = sc.nextInt();\n\t \tint y = sc.nextInt();\n\n\t \tint ans = z + y;\n\t \tString ansSt = String.valueOf(ans);\n\t \tint ansK = ansSt.length();\n\t \tSystem.out.println(ansK);\n\n }",
"int z = sc.nextInt();",
"z",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y = sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int ans = z + y;",
"ans",
"z + y",
"z",
"y",
"String ansSt = String.valueOf(ans);",
"ansSt",
"String.valueOf(ans)",
"String.valueOf",
"String",
"ans",
"int ansK = ansSt.length();",
"ansK",
"ansSt.length()",
"ansSt.length",
"ansSt",
"System.out.println(ansK)",
"System.out.println",
"System.out",
"System",
"System.out",
"ansK",
"sc.close()",
"sc.close",
"sc",
"String[] a",
"a"
] | import java.util.Scanner;
class Main{
public static void main(String[] a){
Scanner sc = new Scanner(System.in);
while(sc.hasNext()) {
int z = sc.nextInt();
int y = sc.nextInt();
int ans = z + y;
String ansSt = String.valueOf(ans);
int ansK = ansSt.length();
System.out.println(ansK);
}
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
14,
2,
2,
2,
2,
4,
18,
13,
18,
13,
17,
17,
2,
4,
18,
13,
18,
13,
17,
17,
2,
4,
18,
13,
18,
13,
17,
17,
2,
4,
18,
13,
18,
13,
17,
17,
30,
9,
0,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
28,
35
],
[
35,
36
],
[
38,
37
],
[
55,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
39,
46
],
[
38,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
47,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
55,
62
],
[
38,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
67,
69
],
[
63,
70
],
[
35,
71
],
[
71,
72
],
[
28,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
79,
80
],
[
79,
81
],
[
75,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
85,
87
],
[
28,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
28,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
9,
102
],
[
102,
103
]
] | [
"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 = 0;\n while((s=br.readLine())!=null){\n String[] str = s.split(\" \");\n if(Integer.parseInt(str[0])<0 || Integer.parseInt(str[0])>1000000 ||\n Integer.parseInt(str[1])<0 || Integer.parseInt(str[1])>1000000){\n \n continue;\n }\n num = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n //System.out.println(str[0]+\"\\t\"+str[1] + \"\\t\"+num);\n int a = String.valueOf(num).length();\n System.out.println(a);\n }\n \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 = 0;\n while((s=br.readLine())!=null){\n String[] str = s.split(\" \");\n if(Integer.parseInt(str[0])<0 || Integer.parseInt(str[0])>1000000 ||\n Integer.parseInt(str[1])<0 || Integer.parseInt(str[1])>1000000){\n \n continue;\n }\n num = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n //System.out.println(str[0]+\"\\t\"+str[1] + \"\\t\"+num);\n int a = String.valueOf(num).length();\n System.out.println(a);\n }\n \n \n }\n}",
"Main",
"public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s;\n int num = 0;\n while((s=br.readLine())!=null){\n String[] str = s.split(\" \");\n if(Integer.parseInt(str[0])<0 || Integer.parseInt(str[0])>1000000 ||\n Integer.parseInt(str[1])<0 || Integer.parseInt(str[1])>1000000){\n \n continue;\n }\n num = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n //System.out.println(str[0]+\"\\t\"+str[1] + \"\\t\"+num);\n int a = String.valueOf(num).length();\n System.out.println(a);\n }\n \n \n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s;\n int num = 0;\n while((s=br.readLine())!=null){\n String[] str = s.split(\" \");\n if(Integer.parseInt(str[0])<0 || Integer.parseInt(str[0])>1000000 ||\n Integer.parseInt(str[1])<0 || Integer.parseInt(str[1])>1000000){\n \n continue;\n }\n num = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n //System.out.println(str[0]+\"\\t\"+str[1] + \"\\t\"+num);\n int a = String.valueOf(num).length();\n System.out.println(a);\n }\n \n \n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String s;",
"s",
"int num = 0;",
"num",
"0",
"while((s=br.readLine())!=null){\n String[] str = s.split(\" \");\n if(Integer.parseInt(str[0])<0 || Integer.parseInt(str[0])>1000000 ||\n Integer.parseInt(str[1])<0 || Integer.parseInt(str[1])>1000000){\n \n continue;\n }\n num = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n //System.out.println(str[0]+\"\\t\"+str[1] + \"\\t\"+num);\n int a = String.valueOf(num).length();\n System.out.println(a);\n }",
"(s=br.readLine())!=null",
"(s=br.readLine())",
"s",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n String[] str = s.split(\" \");\n if(Integer.parseInt(str[0])<0 || Integer.parseInt(str[0])>1000000 ||\n Integer.parseInt(str[1])<0 || Integer.parseInt(str[1])>1000000){\n \n continue;\n }\n num = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n //System.out.println(str[0]+\"\\t\"+str[1] + \"\\t\"+num);\n int a = String.valueOf(num).length();\n System.out.println(a);\n }",
"String[] str = s.split(\" \");",
"str",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"if(Integer.parseInt(str[0])<0 || Integer.parseInt(str[0])>1000000 ||\n Integer.parseInt(str[1])<0 || Integer.parseInt(str[1])>1000000){\n \n continue;\n }",
"Integer.parseInt(str[0])<0 || Integer.parseInt(str[0])>1000000 ||\n Integer.parseInt(str[1])<0 || Integer.parseInt(str[1])>1000000",
"Integer.parseInt(str[1])<0",
"Integer.parseInt(str[0])<0 || Integer.parseInt(str[0])>1000000 ||\n Integer.parseInt(str[1])<0 || Integer.parseInt(str[1])>1000000",
"Integer.parseInt(str[0])<0",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"0",
"Integer.parseInt(str[0])>1000000",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"1000000",
"Integer.parseInt(str[1])<0",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"0",
"Integer.parseInt(str[1])>1000000",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"1000000",
"{\n \n continue;\n }",
"continue;",
"num = Integer.parseInt(str[0]) + Integer.parseInt(str[1])",
"num",
"Integer.parseInt(str[0]) + Integer.parseInt(str[1])",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"int a = String.valueOf(num).length();",
"a",
"String.valueOf(num).length()",
"String.valueOf(num).length",
"String.valueOf(num)",
"String.valueOf",
"String",
"num",
"System.out.println(a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a",
"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 = 0;
while((s=br.readLine())!=null){
String[] str = s.split(" ");
if(Integer.parseInt(str[0])<0 || Integer.parseInt(str[0])>1000000 ||
Integer.parseInt(str[1])<0 || Integer.parseInt(str[1])>1000000){
continue;
}
num = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);
//System.out.println(str[0]+"\t"+str[1] + "\t"+num);
int a = String.valueOf(num).length();
System.out.println(a);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
58,
5
],
[
58,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
16,
32
],
[
32,
33
],
[
32,
34
],
[
16,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
39,
45
],
[
45,
46
],
[
16,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
6,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint n = a + b;\n\t\t\tint cnt = 1;\n\t\t\twhile (n != 0) {\n\t\t\t\tn = n / 10;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\tSystem.out.println(cnt - 1);\n\n\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint n = a + b;\n\t\t\tint cnt = 1;\n\t\t\twhile (n != 0) {\n\t\t\t\tn = n / 10;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\tSystem.out.println(cnt - 1);\n\n\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint n = a + b;\n\t\t\tint cnt = 1;\n\t\t\twhile (n != 0) {\n\t\t\t\tn = n / 10;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\tSystem.out.println(cnt - 1);\n\n\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint n = a + b;\n\t\t\tint cnt = 1;\n\t\t\twhile (n != 0) {\n\t\t\t\tn = n / 10;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\tSystem.out.println(cnt - 1);\n\n\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()){\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint n = a + b;\n\t\t\tint cnt = 1;\n\t\t\twhile (n != 0) {\n\t\t\t\tn = n / 10;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\tSystem.out.println(cnt - 1);\n\n\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint n = a + b;\n\t\t\tint cnt = 1;\n\t\t\twhile (n != 0) {\n\t\t\t\tn = n / 10;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\tSystem.out.println(cnt - 1);\n\n\t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int n = a + b;",
"n",
"a + b",
"a",
"b",
"int cnt = 1;",
"cnt",
"1",
"while (n != 0) {\n\t\t\t\tn = n / 10;\n\t\t\t\tcnt++;\n\t\t\t}",
"n != 0",
"n",
"0",
"{\n\t\t\t\tn = n / 10;\n\t\t\t\tcnt++;\n\t\t\t}",
"n = n / 10",
"n",
"n / 10",
"n",
"10",
"cnt++",
"cnt",
"System.out.println(cnt - 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt - 1",
"cnt",
"1",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint n = a + b;\n\t\t\tint cnt = 1;\n\t\t\twhile (n != 0) {\n\t\t\t\tn = n / 10;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\tSystem.out.println(cnt - 1);\n\n\t}\n\t}\n\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint n = a + b;\n\t\t\tint cnt = 1;\n\t\t\twhile (n != 0) {\n\t\t\t\tn = n / 10;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\tSystem.out.println(cnt - 1);\n\n\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);
while(sc.hasNext()){
int a = sc.nextInt();
int b = sc.nextInt();
int n = a + b;
int cnt = 1;
while (n != 0) {
n = n / 10;
cnt++;
}
System.out.println(cnt - 1);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
0,
13,
4,
18,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
55,
11
],
[
55,
12
],
[
12,
13
],
[
12,
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
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
22,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
22,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
12,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.util.Arrays;\nimport java.util.Comparator;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[] ) throws Exception {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\t\n\t\t\tint a = scanner.nextInt();//??????????????°??????????????????\n\t\t\tint b = scanner.nextInt();//????????????????????????????????°??????????????????\n\t\t\tint ans = a+b;\n\t\t\tans = String.valueOf( ans ).length();\n\t\t\tSystem.out.println(ans);\n\t\t}\n }\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Comparator;",
"Comparator",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String args[] ) throws Exception {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\t\n\t\t\tint a = scanner.nextInt();//??????????????°??????????????????\n\t\t\tint b = scanner.nextInt();//????????????????????????????????°??????????????????\n\t\t\tint ans = a+b;\n\t\t\tans = String.valueOf( ans ).length();\n\t\t\tSystem.out.println(ans);\n\t\t}\n }\n}",
"Main",
"public static void main(String args[] ) throws Exception {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\t\n\t\t\tint a = scanner.nextInt();//??????????????°??????????????????\n\t\t\tint b = scanner.nextInt();//????????????????????????????????°??????????????????\n\t\t\tint ans = a+b;\n\t\t\tans = String.valueOf( ans ).length();\n\t\t\tSystem.out.println(ans);\n\t\t}\n }",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\t\n\t\t\tint a = scanner.nextInt();//??????????????°??????????????????\n\t\t\tint b = scanner.nextInt();//????????????????????????????????°??????????????????\n\t\t\tint ans = a+b;\n\t\t\tans = String.valueOf( ans ).length();\n\t\t\tSystem.out.println(ans);\n\t\t}\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while(scanner.hasNext()){\t\n\t\t\tint a = scanner.nextInt();//??????????????°??????????????????\n\t\t\tint b = scanner.nextInt();//????????????????????????????????°??????????????????\n\t\t\tint ans = a+b;\n\t\t\tans = String.valueOf( ans ).length();\n\t\t\tSystem.out.println(ans);\n\t\t}",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\t\n\t\t\tint a = scanner.nextInt();//??????????????°??????????????????\n\t\t\tint b = scanner.nextInt();//????????????????????????????????°??????????????????\n\t\t\tint ans = a+b;\n\t\t\tans = String.valueOf( ans ).length();\n\t\t\tSystem.out.println(ans);\n\t\t}",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int ans = a+b;",
"ans",
"a+b",
"a",
"b",
"ans = String.valueOf( ans ).length()",
"ans",
"String.valueOf( ans ).length()",
"String.valueOf( ans ).length",
"String.valueOf( ans )",
"String.valueOf",
"String",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[] ) throws Exception {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\t\n\t\t\tint a = scanner.nextInt();//??????????????°??????????????????\n\t\t\tint b = scanner.nextInt();//????????????????????????????????°??????????????????\n\t\t\tint ans = a+b;\n\t\t\tans = String.valueOf( ans ).length();\n\t\t\tSystem.out.println(ans);\n\t\t}\n }\n}",
"public class Main {\n\tpublic static void main(String args[] ) throws Exception {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\t\n\t\t\tint a = scanner.nextInt();//??????????????°??????????????????\n\t\t\tint b = scanner.nextInt();//????????????????????????????????°??????????????????\n\t\t\tint ans = a+b;\n\t\t\tans = String.valueOf( ans ).length();\n\t\t\tSystem.out.println(ans);\n\t\t}\n }\n}",
"Main"
] | import java.util.Arrays;
import java.util.Comparator;
import java.util.Scanner;
public class Main {
public static void main(String args[] ) throws Exception {
Scanner scanner = new Scanner(System.in);
while(scanner.hasNext()){
int a = scanner.nextInt();//??????????????°??????????????????
int b = scanner.nextInt();//????????????????????????????????°??????????????????
int ans = a+b;
ans = String.valueOf( ans ).length();
System.out.println(ans);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
38,
5,
13,
30,
30,
41,
13,
20,
11,
1,
41,
13,
40,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
4,
18,
13,
17,
30,
0,
18,
13,
2,
13,
17,
17,
3,
0,
18,
13,
2,
13,
17,
4,
13,
2,
4,
18,
13,
18,
4,
18,
13,
17,
17,
17,
4,
18,
13,
18,
4,
18,
13,
17,
17,
17,
11,
1,
41,
13,
40,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
30,
3,
23,
13,
12,
13,
30,
41,
13,
17,
42,
17,
30,
14,
2,
13,
17,
30,
40,
13,
0,
13,
17,
30,
29,
2,
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,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
30,
32
],
[
24,
33
],
[
33,
34
],
[
34,
35
],
[
24,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
43,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
53,
59
],
[
52,
60
],
[
37,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
61,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
74,
78
],
[
73,
79
],
[
69,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
84,
88
],
[
83,
89
],
[
11,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
90,
96
],
[
96,
97
],
[
96,
98
],
[
90,
99
],
[
99,
100
],
[
100,
101
],
[
90,
102
],
[
103,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
108,
110
],
[
105,
111
],
[
104,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
120,
122
],
[
104,
123
],
[
123,
124
],
[
9,
125
],
[
125,
126
],
[
7,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
136,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
143,
144
],
[
143,
145
],
[
136,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
127,
151
],
[
151,
152
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\nclass Main{\n public static void main(String[] x){\n\t\tbyte[] k = new byte[200];\n\t\ttry{\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\tfor(byte i=-127;i<73;i++){\n\t\t\t\tString s = sc.nextLine();\n\t\t\t\tif(s==null||s.equals(\"\")){\n\t\t\t\t\tk[i+127]=0;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tk[i+127] = dig(Integer.parseInt((s.split(\" \",0))[0])+Integer.parseInt((s.split(\" \",0))[1]));\n\t\t\t}\n\t\t}catch(Exception e){}\n\t\tfor(byte i=-127;i<73;i++){\n\t\t\tif(k[i+127]>0){System.out.println(k[i+127]);}\n\t\t\telse{break;}\n\t\t}\n }\n\tpublic static byte dig(int a){\n\t\tbyte d = 0;\n\t\twhile(true){\n\t\t\tif(a>=10){\n\t\t\t\td++;\n\t\t\t\ta/=10;\n\t\t\t}\n\t\t\telse{return (byte)((int)d+1);}\n\t\t}\n\t}\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] x){\n\t\tbyte[] k = new byte[200];\n\t\ttry{\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\tfor(byte i=-127;i<73;i++){\n\t\t\t\tString s = sc.nextLine();\n\t\t\t\tif(s==null||s.equals(\"\")){\n\t\t\t\t\tk[i+127]=0;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tk[i+127] = dig(Integer.parseInt((s.split(\" \",0))[0])+Integer.parseInt((s.split(\" \",0))[1]));\n\t\t\t}\n\t\t}catch(Exception e){}\n\t\tfor(byte i=-127;i<73;i++){\n\t\t\tif(k[i+127]>0){System.out.println(k[i+127]);}\n\t\t\telse{break;}\n\t\t}\n }\n\tpublic static byte dig(int a){\n\t\tbyte d = 0;\n\t\twhile(true){\n\t\t\tif(a>=10){\n\t\t\t\td++;\n\t\t\t\ta/=10;\n\t\t\t}\n\t\t\telse{return (byte)((int)d+1);}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] x){\n\t\tbyte[] k = new byte[200];\n\t\ttry{\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\tfor(byte i=-127;i<73;i++){\n\t\t\t\tString s = sc.nextLine();\n\t\t\t\tif(s==null||s.equals(\"\")){\n\t\t\t\t\tk[i+127]=0;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tk[i+127] = dig(Integer.parseInt((s.split(\" \",0))[0])+Integer.parseInt((s.split(\" \",0))[1]));\n\t\t\t}\n\t\t}catch(Exception e){}\n\t\tfor(byte i=-127;i<73;i++){\n\t\t\tif(k[i+127]>0){System.out.println(k[i+127]);}\n\t\t\telse{break;}\n\t\t}\n }",
"main",
"{\n\t\tbyte[] k = new byte[200];\n\t\ttry{\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\tfor(byte i=-127;i<73;i++){\n\t\t\t\tString s = sc.nextLine();\n\t\t\t\tif(s==null||s.equals(\"\")){\n\t\t\t\t\tk[i+127]=0;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tk[i+127] = dig(Integer.parseInt((s.split(\" \",0))[0])+Integer.parseInt((s.split(\" \",0))[1]));\n\t\t\t}\n\t\t}catch(Exception e){}\n\t\tfor(byte i=-127;i<73;i++){\n\t\t\tif(k[i+127]>0){System.out.println(k[i+127]);}\n\t\t\telse{break;}\n\t\t}\n }",
"byte[] k = new byte[200];",
"k",
"new byte[200]",
"200",
"try{\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\tfor(byte i=-127;i<73;i++){\n\t\t\t\tString s = sc.nextLine();\n\t\t\t\tif(s==null||s.equals(\"\")){\n\t\t\t\t\tk[i+127]=0;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tk[i+127] = dig(Integer.parseInt((s.split(\" \",0))[0])+Integer.parseInt((s.split(\" \",0))[1]));\n\t\t\t}\n\t\t}catch(Exception e){}",
"catch(Exception e){}",
"Exception e",
"{}",
"{\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\tfor(byte i=-127;i<73;i++){\n\t\t\t\tString s = sc.nextLine();\n\t\t\t\tif(s==null||s.equals(\"\")){\n\t\t\t\t\tk[i+127]=0;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tk[i+127] = dig(Integer.parseInt((s.split(\" \",0))[0])+Integer.parseInt((s.split(\" \",0))[1]));\n\t\t\t}\n\t\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(byte i=-127;i<73;i++){\n\t\t\t\tString s = sc.nextLine();\n\t\t\t\tif(s==null||s.equals(\"\")){\n\t\t\t\t\tk[i+127]=0;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tk[i+127] = dig(Integer.parseInt((s.split(\" \",0))[0])+Integer.parseInt((s.split(\" \",0))[1]));\n\t\t\t}",
"byte i=-127;",
"byte i=-127;",
"i",
"-127",
"127",
"i<73",
"i",
"73",
"i++",
"i++",
"i",
"{\n\t\t\t\tString s = sc.nextLine();\n\t\t\t\tif(s==null||s.equals(\"\")){\n\t\t\t\t\tk[i+127]=0;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tk[i+127] = dig(Integer.parseInt((s.split(\" \",0))[0])+Integer.parseInt((s.split(\" \",0))[1]));\n\t\t\t}",
"{\n\t\t\t\tString s = sc.nextLine();\n\t\t\t\tif(s==null||s.equals(\"\")){\n\t\t\t\t\tk[i+127]=0;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tk[i+127] = dig(Integer.parseInt((s.split(\" \",0))[0])+Integer.parseInt((s.split(\" \",0))[1]));\n\t\t\t}",
"String s = sc.nextLine();",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"if(s==null||s.equals(\"\")){\n\t\t\t\t\tk[i+127]=0;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"s==null||s.equals(\"\")",
"s==null",
"s",
"null",
"s.equals(\"\")",
"s.equals",
"s",
"\"\"",
"{\n\t\t\t\t\tk[i+127]=0;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"k[i+127]=0",
"k[i+127]",
"k",
"i+127",
"i",
"127",
"0",
"break;",
"k[i+127] = dig(Integer.parseInt((s.split(\" \",0))[0])+Integer.parseInt((s.split(\" \",0))[1]))",
"k[i+127]",
"k",
"i+127",
"i",
"127",
"dig(Integer.parseInt((s.split(\" \",0))[0])+Integer.parseInt((s.split(\" \",0))[1]))",
"dig",
"Integer.parseInt((s.split(\" \",0))[0])+Integer.parseInt((s.split(\" \",0))[1])",
"Integer.parseInt((s.split(\" \",0))[0])",
"Integer.parseInt",
"Integer",
"(s.split(\" \",0))[0]",
"(s.split(\" \",0))",
"s.split",
"s",
"\" \"",
"0",
"0",
"Integer.parseInt((s.split(\" \",0))[1])",
"Integer.parseInt",
"Integer",
"(s.split(\" \",0))[1]",
"(s.split(\" \",0))",
"s.split",
"s",
"\" \"",
"0",
"1",
"for(byte i=-127;i<73;i++){\n\t\t\tif(k[i+127]>0){System.out.println(k[i+127]);}\n\t\t\telse{break;}\n\t\t}",
"byte i=-127;",
"byte i=-127;",
"i",
"-127",
"127",
"i<73",
"i",
"73",
"i++",
"i++",
"i",
"{\n\t\t\tif(k[i+127]>0){System.out.println(k[i+127]);}\n\t\t\telse{break;}\n\t\t}",
"{\n\t\t\tif(k[i+127]>0){System.out.println(k[i+127]);}\n\t\t\telse{break;}\n\t\t}",
"if(k[i+127]>0){System.out.println(k[i+127]);}\n\t\t\telse{break;}",
"k[i+127]>0",
"k[i+127]",
"k",
"i+127",
"i",
"127",
"0",
"{System.out.println(k[i+127]);}",
"System.out.println(k[i+127])",
"System.out.println",
"System.out",
"System",
"System.out",
"k[i+127]",
"k",
"i+127",
"i",
"127",
"{break;}",
"break;",
"String[] x",
"x",
"public static byte dig(int a){\n\t\tbyte d = 0;\n\t\twhile(true){\n\t\t\tif(a>=10){\n\t\t\t\td++;\n\t\t\t\ta/=10;\n\t\t\t}\n\t\t\telse{return (byte)((int)d+1);}\n\t\t}\n\t}",
"dig",
"{\n\t\tbyte d = 0;\n\t\twhile(true){\n\t\t\tif(a>=10){\n\t\t\t\td++;\n\t\t\t\ta/=10;\n\t\t\t}\n\t\t\telse{return (byte)((int)d+1);}\n\t\t}\n\t}",
"byte d = 0;",
"d",
"0",
"while(true){\n\t\t\tif(a>=10){\n\t\t\t\td++;\n\t\t\t\ta/=10;\n\t\t\t}\n\t\t\telse{return (byte)((int)d+1);}\n\t\t}",
"true",
"{\n\t\t\tif(a>=10){\n\t\t\t\td++;\n\t\t\t\ta/=10;\n\t\t\t}\n\t\t\telse{return (byte)((int)d+1);}\n\t\t}",
"if(a>=10){\n\t\t\t\td++;\n\t\t\t\ta/=10;\n\t\t\t}\n\t\t\telse{return (byte)((int)d+1);}",
"a>=10",
"a",
"10",
"{\n\t\t\t\td++;\n\t\t\t\ta/=10;\n\t\t\t}",
"d++",
"d",
"a/=10",
"a",
"10",
"{return (byte)((int)d+1);}",
"return (byte)((int)d+1);",
"(byte)((int)d+1)",
"(int)d",
"1",
"int a",
"a"
] | import java.util.Arrays;
import java.util.Scanner;
class Main{
public static void main(String[] x){
byte[] k = new byte[200];
try{
Scanner sc = new Scanner(System.in);
for(byte i=-127;i<73;i++){
String s = sc.nextLine();
if(s==null||s.equals("")){
k[i+127]=0;
break;
}
k[i+127] = dig(Integer.parseInt((s.split(" ",0))[0])+Integer.parseInt((s.split(" ",0))[1]));
}
}catch(Exception e){}
for(byte i=-127;i<73;i++){
if(k[i+127]>0){System.out.println(k[i+127]);}
else{break;}
}
}
public static byte dig(int a){
byte d = 0;
while(true){
if(a>=10){
d++;
a/=10;
}
else{return (byte)((int)d+1);}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
40,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
2,
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
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
6,
24
],
[
24,
25
],
[
4,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
36,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
26,
57
],
[
57,
58
]
] | [
"import java.util.*;\n\nclass Main {\n\tpublic static int digitNumber(int number) {\n\t\tint count = 0;\n\t\twhile (number != 0) {\n\t\t\tnumber /= 10;\n\t\t\tcount++;\n\t\t}\n\t\treturn count;\n\t}\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tSystem.out.println(digitNumber(a + b));\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\tpublic static int digitNumber(int number) {\n\t\tint count = 0;\n\t\twhile (number != 0) {\n\t\t\tnumber /= 10;\n\t\t\tcount++;\n\t\t}\n\t\treturn count;\n\t}\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tSystem.out.println(digitNumber(a + b));\n\t\t}\n\t}\n}",
"Main",
"public static int digitNumber(int number) {\n\t\tint count = 0;\n\t\twhile (number != 0) {\n\t\t\tnumber /= 10;\n\t\t\tcount++;\n\t\t}\n\t\treturn count;\n\t}",
"digitNumber",
"{\n\t\tint count = 0;\n\t\twhile (number != 0) {\n\t\t\tnumber /= 10;\n\t\t\tcount++;\n\t\t}\n\t\treturn count;\n\t}",
"int count = 0;",
"count",
"0",
"while (number != 0) {\n\t\t\tnumber /= 10;\n\t\t\tcount++;\n\t\t}",
"number != 0",
"number",
"0",
"{\n\t\t\tnumber /= 10;\n\t\t\tcount++;\n\t\t}",
"number /= 10",
"number",
"10",
"count++",
"count",
"return count;",
"count",
"int number",
"number",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tSystem.out.println(digitNumber(a + b));\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tSystem.out.println(digitNumber(a + b));\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tSystem.out.println(digitNumber(a + b));\n\t\t}",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tSystem.out.println(digitNumber(a + b));\n\t\t}",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"System.out.println(digitNumber(a + b))",
"System.out.println",
"System.out",
"System",
"System.out",
"digitNumber(a + b)",
"digitNumber",
"a + b",
"a",
"b",
"String[] args",
"args"
] | import java.util.*;
class Main {
public static int digitNumber(int number) {
int count = 0;
while (number != 0) {
number /= 10;
count++;
}
return count;
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
while (scanner.hasNext()) {
int a = scanner.nextInt();
int b = scanner.nextInt();
System.out.println(digitNumber(a + b));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
52,
5
],
[
52,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
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
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
22,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint a,b,sum;\n\t\t\n\t\twhile (sc.hasNextInt()) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tsum = a + b;\n\t\t\t\n\t\t\tSystem.out.println(Integer.toString(sum).length());\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\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint a,b,sum;\n\t\t\n\t\twhile (sc.hasNextInt()) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tsum = a + b;\n\t\t\t\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint a,b,sum;\n\t\t\n\t\twhile (sc.hasNextInt()) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tsum = a + b;\n\t\t\t\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint a,b,sum;\n\t\t\n\t\twhile (sc.hasNextInt()) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tsum = a + b;\n\t\t\t\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a",
"a",
"b",
"b",
"sum;",
"sum",
"while (sc.hasNextInt()) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tsum = a + b;\n\t\t\t\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t}",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tsum = a + b;\n\t\t\t\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t}",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sum = a + b",
"sum",
"a + b",
"a",
"b",
"System.out.println(Integer.toString(sum).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(sum).length()",
"Integer.toString(sum).length",
"Integer.toString(sum)",
"Integer.toString",
"Integer",
"sum",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint a,b,sum;\n\t\t\n\t\twhile (sc.hasNextInt()) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tsum = a + b;\n\t\t\t\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint a,b,sum;\n\t\t\n\t\twhile (sc.hasNextInt()) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tsum = a + b;\n\t\t\t\n\t\t\tSystem.out.println(Integer.toString(sum).length());\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc = new Scanner(System.in);
int a,b,sum;
while (sc.hasNextInt()) {
a = sc.nextInt();
b = sc.nextInt();
sum = a + b;
System.out.println(Integer.toString(sum).length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
0,
13,
20,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
2,
13,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
13,
14,
2,
13,
17,
30,
3,
0,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
77,
5
],
[
77,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
30,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
30,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
30,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
30,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
30,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
6,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t//??????????????°\n\t\tScanner sc;\t\t//??\\???\n\t\tint a=0;\n\t\tint b=0;\n\t\tint kotae=0;\n\t\tint i=0;\n\n\t\tsc = new Scanner(System.in);\n\n\t\twhile(sc.hasNext()){\n\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tkotae = a + b;\n\n\t\t\tString skotae = String.valueOf(kotae);\n\t\t\tint keta = skotae.length();\n\n\t\t\tSystem.out.println(keta);\n\n\t\t\tif(i >= 200){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti= i+1;\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;\t\t//??\\???\n\t\tint a=0;\n\t\tint b=0;\n\t\tint kotae=0;\n\t\tint i=0;\n\n\t\tsc = new Scanner(System.in);\n\n\t\twhile(sc.hasNext()){\n\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tkotae = a + b;\n\n\t\t\tString skotae = String.valueOf(kotae);\n\t\t\tint keta = skotae.length();\n\n\t\t\tSystem.out.println(keta);\n\n\t\t\tif(i >= 200){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti= i+1;\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t//??????????????°\n\t\tScanner sc;\t\t//??\\???\n\t\tint a=0;\n\t\tint b=0;\n\t\tint kotae=0;\n\t\tint i=0;\n\n\t\tsc = new Scanner(System.in);\n\n\t\twhile(sc.hasNext()){\n\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tkotae = a + b;\n\n\t\t\tString skotae = String.valueOf(kotae);\n\t\t\tint keta = skotae.length();\n\n\t\t\tSystem.out.println(keta);\n\n\t\t\tif(i >= 200){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti= i+1;\n\t\t}\n\t}",
"main",
"{\n\t\t//??????????????°\n\t\tScanner sc;\t\t//??\\???\n\t\tint a=0;\n\t\tint b=0;\n\t\tint kotae=0;\n\t\tint i=0;\n\n\t\tsc = new Scanner(System.in);\n\n\t\twhile(sc.hasNext()){\n\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tkotae = a + b;\n\n\t\t\tString skotae = String.valueOf(kotae);\n\t\t\tint keta = skotae.length();\n\n\t\t\tSystem.out.println(keta);\n\n\t\t\tif(i >= 200){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti= i+1;\n\t\t}\n\t}",
"Scanner sc;",
"sc",
"int a=0;",
"a",
"0",
"int b=0;",
"b",
"0",
"int kotae=0;",
"kotae",
"0",
"int i=0;",
"i",
"0",
"sc = new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()){\n\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tkotae = a + b;\n\n\t\t\tString skotae = String.valueOf(kotae);\n\t\t\tint keta = skotae.length();\n\n\t\t\tSystem.out.println(keta);\n\n\t\t\tif(i >= 200){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti= i+1;\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tkotae = a + b;\n\n\t\t\tString skotae = String.valueOf(kotae);\n\t\t\tint keta = skotae.length();\n\n\t\t\tSystem.out.println(keta);\n\n\t\t\tif(i >= 200){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti= i+1;\n\t\t}",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"kotae = a + b",
"kotae",
"a + b",
"a",
"b",
"String skotae = String.valueOf(kotae);",
"skotae",
"String.valueOf(kotae)",
"String.valueOf",
"String",
"kotae",
"int keta = skotae.length();",
"keta",
"skotae.length()",
"skotae.length",
"skotae",
"System.out.println(keta)",
"System.out.println",
"System.out",
"System",
"System.out",
"keta",
"if(i >= 200){\n\t\t\t\tbreak;\n\t\t\t}",
"i >= 200",
"i",
"200",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"i= i+1",
"i",
"i+1",
"i",
"1",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t//??????????????°\n\t\tScanner sc;\t\t//??\\???\n\t\tint a=0;\n\t\tint b=0;\n\t\tint kotae=0;\n\t\tint i=0;\n\n\t\tsc = new Scanner(System.in);\n\n\t\twhile(sc.hasNext()){\n\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tkotae = a + b;\n\n\t\t\tString skotae = String.valueOf(kotae);\n\t\t\tint keta = skotae.length();\n\n\t\t\tSystem.out.println(keta);\n\n\t\t\tif(i >= 200){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti= i+1;\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t//??????????????°\n\t\tScanner sc;\t\t//??\\???\n\t\tint a=0;\n\t\tint b=0;\n\t\tint kotae=0;\n\t\tint i=0;\n\n\t\tsc = new Scanner(System.in);\n\n\t\twhile(sc.hasNext()){\n\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tkotae = a + b;\n\n\t\t\tString skotae = String.valueOf(kotae);\n\t\t\tint keta = skotae.length();\n\n\t\t\tSystem.out.println(keta);\n\n\t\t\tif(i >= 200){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti= i+1;\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
//??????????????°
Scanner sc; //??\???
int a=0;
int b=0;
int kotae=0;
int i=0;
sc = new Scanner(System.in);
while(sc.hasNext()){
a = sc.nextInt();
b = sc.nextInt();
kotae = a + b;
String skotae = String.valueOf(kotae);
int keta = skotae.length();
System.out.println(keta);
if(i >= 200){
break;
}
i= i+1;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
38,
5,
13,
30,
4,
18,
13,
17,
30,
41,
13,
20,
41,
13,
20,
0,
13,
4,
18,
13,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
0,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
11,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
26,
28
],
[
22,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
22,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
38,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
38,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
38,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
38,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
38,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
78,
79
],
[
38,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
9,
85
],
[
85,
86
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nclass Main{\n public static void main(String args[]){\n\tString str;\n\ttry{\n\t InputStreamReader is = new InputStreamReader(System.in);\n\t BufferedReader br = new BufferedReader(is);\n\t str = br.readLine();\n\t while(str !=null){\n\t String[] strary = str.split(\" \");\n\t int n1 = Integer.parseInt(strary[0]);\n\t int n2 = Integer.parseInt(strary[1]);\n\t int sum = n1 + n2;\n\t String s = Integer.toString(sum);\n\t System.out.println((s.length()));\n\t str = br.readLine();\n\t }\n\t}\n\tcatch(Exception e){\n\t System.exit(0);\n\t}\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main{\n public static void main(String args[]){\n\tString str;\n\ttry{\n\t InputStreamReader is = new InputStreamReader(System.in);\n\t BufferedReader br = new BufferedReader(is);\n\t str = br.readLine();\n\t while(str !=null){\n\t String[] strary = str.split(\" \");\n\t int n1 = Integer.parseInt(strary[0]);\n\t int n2 = Integer.parseInt(strary[1]);\n\t int sum = n1 + n2;\n\t String s = Integer.toString(sum);\n\t System.out.println((s.length()));\n\t str = br.readLine();\n\t }\n\t}\n\tcatch(Exception e){\n\t System.exit(0);\n\t}\n }\n}",
"Main",
"public static void main(String args[]){\n\tString str;\n\ttry{\n\t InputStreamReader is = new InputStreamReader(System.in);\n\t BufferedReader br = new BufferedReader(is);\n\t str = br.readLine();\n\t while(str !=null){\n\t String[] strary = str.split(\" \");\n\t int n1 = Integer.parseInt(strary[0]);\n\t int n2 = Integer.parseInt(strary[1]);\n\t int sum = n1 + n2;\n\t String s = Integer.toString(sum);\n\t System.out.println((s.length()));\n\t str = br.readLine();\n\t }\n\t}\n\tcatch(Exception e){\n\t System.exit(0);\n\t}\n }",
"main",
"{\n\tString str;\n\ttry{\n\t InputStreamReader is = new InputStreamReader(System.in);\n\t BufferedReader br = new BufferedReader(is);\n\t str = br.readLine();\n\t while(str !=null){\n\t String[] strary = str.split(\" \");\n\t int n1 = Integer.parseInt(strary[0]);\n\t int n2 = Integer.parseInt(strary[1]);\n\t int sum = n1 + n2;\n\t String s = Integer.toString(sum);\n\t System.out.println((s.length()));\n\t str = br.readLine();\n\t }\n\t}\n\tcatch(Exception e){\n\t System.exit(0);\n\t}\n }",
"String str;",
"str",
"try{\n\t InputStreamReader is = new InputStreamReader(System.in);\n\t BufferedReader br = new BufferedReader(is);\n\t str = br.readLine();\n\t while(str !=null){\n\t String[] strary = str.split(\" \");\n\t int n1 = Integer.parseInt(strary[0]);\n\t int n2 = Integer.parseInt(strary[1]);\n\t int sum = n1 + n2;\n\t String s = Integer.toString(sum);\n\t System.out.println((s.length()));\n\t str = br.readLine();\n\t }\n\t}\n\tcatch(Exception e){\n\t System.exit(0);\n\t}",
"catch(Exception e){\n\t System.exit(0);\n\t}",
"Exception e",
"{\n\t System.exit(0);\n\t}",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n\t InputStreamReader is = new InputStreamReader(System.in);\n\t BufferedReader br = new BufferedReader(is);\n\t str = br.readLine();\n\t while(str !=null){\n\t String[] strary = str.split(\" \");\n\t int n1 = Integer.parseInt(strary[0]);\n\t int n2 = Integer.parseInt(strary[1]);\n\t int sum = n1 + n2;\n\t String s = Integer.toString(sum);\n\t System.out.println((s.length()));\n\t str = br.readLine();\n\t }\n\t}",
"InputStreamReader is = new InputStreamReader(System.in);",
"is",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(is);",
"br",
"new BufferedReader(is)",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"while(str !=null){\n\t String[] strary = str.split(\" \");\n\t int n1 = Integer.parseInt(strary[0]);\n\t int n2 = Integer.parseInt(strary[1]);\n\t int sum = n1 + n2;\n\t String s = Integer.toString(sum);\n\t System.out.println((s.length()));\n\t str = br.readLine();\n\t }",
"str !=null",
"str",
"null",
"{\n\t String[] strary = str.split(\" \");\n\t int n1 = Integer.parseInt(strary[0]);\n\t int n2 = Integer.parseInt(strary[1]);\n\t int sum = n1 + n2;\n\t String s = Integer.toString(sum);\n\t System.out.println((s.length()));\n\t str = br.readLine();\n\t }",
"String[] strary = str.split(\" \");",
"strary",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int n1 = Integer.parseInt(strary[0]);",
"n1",
"Integer.parseInt(strary[0])",
"Integer.parseInt",
"Integer",
"strary[0]",
"strary",
"0",
"int n2 = Integer.parseInt(strary[1]);",
"n2",
"Integer.parseInt(strary[1])",
"Integer.parseInt",
"Integer",
"strary[1]",
"strary",
"1",
"int sum = n1 + n2;",
"sum",
"n1 + n2",
"n1",
"n2",
"String s = Integer.toString(sum);",
"s",
"Integer.toString(sum)",
"Integer.toString",
"Integer",
"sum",
"System.out.println((s.length()))",
"System.out.println",
"System.out",
"System",
"System.out",
"(s.length())",
"s.length",
"s",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"String args[]",
"args"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
class Main{
public static void main(String args[]){
String str;
try{
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(is);
str = br.readLine();
while(str !=null){
String[] strary = str.split(" ");
int n1 = Integer.parseInt(strary[0]);
int n2 = Integer.parseInt(strary[1]);
int sum = n1 + n2;
String s = Integer.toString(sum);
System.out.println((s.length()));
str = br.readLine();
}
}
catch(Exception e){
System.exit(0);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
20,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
2,
13,
13,
0,
13,
17,
11,
1,
2,
13,
17,
1,
0,
13,
2,
13,
17,
30,
30,
0,
13,
2,
13,
17,
4,
18,
13,
13,
11,
1,
41,
13,
4,
18,
13,
4,
18,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
104,
14
],
[
104,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
17,
25
],
[
25,
26
],
[
17,
27
],
[
27,
28
],
[
27,
29
],
[
17,
30
],
[
30,
31
],
[
30,
32
],
[
17,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
37,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
37,
53
],
[
53,
54
],
[
53,
55
],
[
37,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
56,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
37,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
17,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
78,
85
],
[
85,
86
],
[
86,
87
],
[
78,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
95,
96
],
[
96,
97
],
[
17,
98
],
[
98,
99
],
[
99,
100
],
[
15,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
]
] | [
"import java.util.Scanner;\nimport java.util.ArrayList;\nimport java.util.Iterator;\nimport java.util.List;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a;\n int b;\n int sum;\n int digits = 0;\n List<Integer> list = new ArrayList<>();\n \n while(sc.hasNext()) {\n \ta = sc.nextInt();\n \tb = sc.nextInt();\n \tsum = a + b;\n \tdigits = 0;\n \t//System.out.println(sum);\n \tfor(;sum>=1;sum=sum/10) {\n \tdigits = digits+1;\n }\n //System.out.println(digits);\n \tlist.add(digits);\n }\n \n for(Iterator it = list.iterator(); it.hasNext();) {\n System.out.println(it.next());\n }\n\n sc.close();\n }\n} ",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Iterator;",
"Iterator",
"java.util",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a;\n int b;\n int sum;\n int digits = 0;\n List<Integer> list = new ArrayList<>();\n \n while(sc.hasNext()) {\n \ta = sc.nextInt();\n \tb = sc.nextInt();\n \tsum = a + b;\n \tdigits = 0;\n \t//System.out.println(sum);\n \tfor(;sum>=1;sum=sum/10) {\n \tdigits = digits+1;\n }\n //System.out.println(digits);\n \tlist.add(digits);\n }\n \n for(Iterator it = list.iterator(); it.hasNext();) {\n System.out.println(it.next());\n }\n\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a;\n int b;\n int sum;\n int digits = 0;\n List<Integer> list = new ArrayList<>();\n \n while(sc.hasNext()) {\n \ta = sc.nextInt();\n \tb = sc.nextInt();\n \tsum = a + b;\n \tdigits = 0;\n \t//System.out.println(sum);\n \tfor(;sum>=1;sum=sum/10) {\n \tdigits = digits+1;\n }\n //System.out.println(digits);\n \tlist.add(digits);\n }\n \n for(Iterator it = list.iterator(); it.hasNext();) {\n System.out.println(it.next());\n }\n\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int a;\n int b;\n int sum;\n int digits = 0;\n List<Integer> list = new ArrayList<>();\n \n while(sc.hasNext()) {\n \ta = sc.nextInt();\n \tb = sc.nextInt();\n \tsum = a + b;\n \tdigits = 0;\n \t//System.out.println(sum);\n \tfor(;sum>=1;sum=sum/10) {\n \tdigits = digits+1;\n }\n //System.out.println(digits);\n \tlist.add(digits);\n }\n \n for(Iterator it = list.iterator(); it.hasNext();) {\n System.out.println(it.next());\n }\n\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a;",
"a",
"int b;",
"b",
"int sum;",
"sum",
"int digits = 0;",
"digits",
"0",
"List<Integer> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"while(sc.hasNext()) {\n \ta = sc.nextInt();\n \tb = sc.nextInt();\n \tsum = a + b;\n \tdigits = 0;\n \t//System.out.println(sum);\n \tfor(;sum>=1;sum=sum/10) {\n \tdigits = digits+1;\n }\n //System.out.println(digits);\n \tlist.add(digits);\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n \ta = sc.nextInt();\n \tb = sc.nextInt();\n \tsum = a + b;\n \tdigits = 0;\n \t//System.out.println(sum);\n \tfor(;sum>=1;sum=sum/10) {\n \tdigits = digits+1;\n }\n //System.out.println(digits);\n \tlist.add(digits);\n }",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sum = a + b",
"sum",
"a + b",
"a",
"b",
"digits = 0",
"digits",
"0",
"for(;sum>=1;sum=sum/10) {\n \tdigits = digits+1;\n }",
";",
"sum>=1",
"sum",
"1",
"sum=sum/10",
"sum=sum/10",
"sum",
"sum/10",
"sum",
"10",
"{\n \tdigits = digits+1;\n }",
"{\n \tdigits = digits+1;\n }",
"digits = digits+1",
"digits",
"digits+1",
"digits",
"1",
"list.add(digits)",
"list.add",
"list",
"digits",
"for(Iterator it = list.iterator(); it.hasNext();) {\n System.out.println(it.next());\n }",
"Iterator it = list.iterator();",
"Iterator it = list.iterator();",
"it",
"list.iterator()",
"list.iterator",
"list",
"it.hasNext()",
"it.hasNext",
"it",
"{\n System.out.println(it.next());\n }",
"{\n System.out.println(it.next());\n }",
"System.out.println(it.next())",
"System.out.println",
"System.out",
"System",
"System.out",
"it.next()",
"it.next",
"it",
"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 a;\n int b;\n int sum;\n int digits = 0;\n List<Integer> list = new ArrayList<>();\n \n while(sc.hasNext()) {\n \ta = sc.nextInt();\n \tb = sc.nextInt();\n \tsum = a + b;\n \tdigits = 0;\n \t//System.out.println(sum);\n \tfor(;sum>=1;sum=sum/10) {\n \tdigits = digits+1;\n }\n //System.out.println(digits);\n \tlist.add(digits);\n }\n \n for(Iterator it = list.iterator(); it.hasNext();) {\n System.out.println(it.next());\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 a;\n int b;\n int sum;\n int digits = 0;\n List<Integer> list = new ArrayList<>();\n \n while(sc.hasNext()) {\n \ta = sc.nextInt();\n \tb = sc.nextInt();\n \tsum = a + b;\n \tdigits = 0;\n \t//System.out.println(sum);\n \tfor(;sum>=1;sum=sum/10) {\n \tdigits = digits+1;\n }\n //System.out.println(digits);\n \tlist.add(digits);\n }\n \n for(Iterator it = list.iterator(); it.hasNext();) {\n System.out.println(it.next());\n }\n\n sc.close();\n }\n}",
"Main"
] | import java.util.Scanner;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a;
int b;
int sum;
int digits = 0;
List<Integer> list = new ArrayList<>();
while(sc.hasNext()) {
a = sc.nextInt();
b = sc.nextInt();
sum = a + b;
digits = 0;
//System.out.println(sum);
for(;sum>=1;sum=sum/10) {
digits = digits+1;
}
//System.out.println(digits);
list.add(digits);
}
for(Iterator it = list.iterator(); it.hasNext();) {
System.out.println(it.next());
}
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
11,
1,
41,
13,
20,
4,
18,
13,
30,
4,
18,
18,
13,
13,
2,
17,
4,
18,
13,
2,
4,
18,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
9,
14
],
[
14,
15
],
[
15,
16
],
[
9,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
6,
35
],
[
35,
36
]
] | [
"import java.util.*;class Main{public static void main(String[]g){for(Scanner S=new Scanner(System.in);S.hasNext();)System.out.println(1+(int)Math.log10(S.nextInt()+S.nextInt()));}}",
"import java.util.*;",
"util.*",
"java",
"class Main{public static void main(String[]g){for(Scanner S=new Scanner(System.in);S.hasNext();)System.out.println(1+(int)Math.log10(S.nextInt()+S.nextInt()));}}",
"Main",
"public static void main(String[]g){for(Scanner S=new Scanner(System.in);S.hasNext();)System.out.println(1+(int)Math.log10(S.nextInt()+S.nextInt()));}",
"main",
"{for(Scanner S=new Scanner(System.in);S.hasNext();)System.out.println(1+(int)Math.log10(S.nextInt()+S.nextInt()));}",
"for(Scanner S=new Scanner(System.in);S.hasNext();)System.out.println(1+(int)Math.log10(S.nextInt()+S.nextInt()));",
"Scanner S=new Scanner(System.in);",
"Scanner S=new Scanner(System.in);",
"S",
"new Scanner(System.in)",
"S.hasNext()",
"S.hasNext",
"S",
"System.out.println(1+(int)Math.log10(S.nextInt()+S.nextInt()));",
"System.out.println(1+(int)Math.log10(S.nextInt()+S.nextInt()))",
"System.out.println",
"System.out",
"System",
"System.out",
"1+(int)Math.log10(S.nextInt()+S.nextInt())",
"1",
"(int)Math.log10(S.nextInt()+S.nextInt())",
"Math.log10",
"Math",
"S.nextInt()+S.nextInt()",
"S.nextInt()",
"S.nextInt",
"S",
"S.nextInt()",
"S.nextInt",
"S",
"String[]g",
"g"
] | import java.util.*;class Main{public static void main(String[]g){for(Scanner S=new Scanner(System.in);S.hasNext();)System.out.println(1+(int)Math.log10(S.nextInt()+S.nextInt()));}}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
42,
2,
2,
13,
17,
17,
30,
40,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
56,
5
],
[
56,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
16,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
16,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
16,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
16,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] | [
"import java.util.Scanner;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint Dig = 1;\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint kei = a+b;\n\t\t\twhile(kei/10 != 0){\n\t\t\t\tDig ++;\n\t\t\t\tkei /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(Dig);\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\twhile(sc.hasNext()){\n\t\t\tint Dig = 1;\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint kei = a+b;\n\t\t\twhile(kei/10 != 0){\n\t\t\t\tDig ++;\n\t\t\t\tkei /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(Dig);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint Dig = 1;\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint kei = a+b;\n\t\t\twhile(kei/10 != 0){\n\t\t\t\tDig ++;\n\t\t\t\tkei /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(Dig);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint Dig = 1;\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint kei = a+b;\n\t\t\twhile(kei/10 != 0){\n\t\t\t\tDig ++;\n\t\t\t\tkei /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(Dig);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()){\n\t\t\tint Dig = 1;\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint kei = a+b;\n\t\t\twhile(kei/10 != 0){\n\t\t\t\tDig ++;\n\t\t\t\tkei /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(Dig);\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tint Dig = 1;\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint kei = a+b;\n\t\t\twhile(kei/10 != 0){\n\t\t\t\tDig ++;\n\t\t\t\tkei /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(Dig);\n\t\t}",
"int Dig = 1;",
"Dig",
"1",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int kei = a+b;",
"kei",
"a+b",
"a",
"b",
"while(kei/10 != 0){\n\t\t\t\tDig ++;\n\t\t\t\tkei /= 10;\n\t\t\t}",
"kei/10 != 0",
"kei/10",
"kei",
"10",
"0",
"{\n\t\t\t\tDig ++;\n\t\t\t\tkei /= 10;\n\t\t\t}",
"Dig ++",
"Dig",
"kei /= 10",
"kei",
"10",
"System.out.println(Dig)",
"System.out.println",
"System.out",
"System",
"System.out",
"Dig",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint Dig = 1;\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint kei = a+b;\n\t\t\twhile(kei/10 != 0){\n\t\t\t\tDig ++;\n\t\t\t\tkei /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(Dig);\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint Dig = 1;\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint kei = a+b;\n\t\t\twhile(kei/10 != 0){\n\t\t\t\tDig ++;\n\t\t\t\tkei /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(Dig);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
int Dig = 1;
int a = sc.nextInt();
int b = sc.nextInt();
int kei = a+b;
while(kei/10 != 0){
Dig ++;
kei /= 10;
}
System.out.println(Dig);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
2,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
16,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()) {\n int sum=sc.nextInt()+sc.nextInt();\n System.out.println(String.valueOf(sum).length());\n }\n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()) {\n int sum=sc.nextInt()+sc.nextInt();\n System.out.println(String.valueOf(sum).length());\n }\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()) {\n int sum=sc.nextInt()+sc.nextInt();\n System.out.println(String.valueOf(sum).length());\n }\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()) {\n int sum=sc.nextInt()+sc.nextInt();\n System.out.println(String.valueOf(sum).length());\n }\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()) {\n int sum=sc.nextInt()+sc.nextInt();\n System.out.println(String.valueOf(sum).length());\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n int sum=sc.nextInt()+sc.nextInt();\n System.out.println(String.valueOf(sum).length());\n }",
"int sum=sc.nextInt()+sc.nextInt();",
"sum",
"sc.nextInt()+sc.nextInt()",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(String.valueOf(sum).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(sum).length()",
"String.valueOf(sum).length",
"String.valueOf(sum)",
"String.valueOf",
"String",
"sum",
"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 while(sc.hasNext()) {\n int sum=sc.nextInt()+sc.nextInt();\n System.out.println(String.valueOf(sum).length());\n }\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()) {\n int sum=sc.nextInt()+sc.nextInt();\n System.out.println(String.valueOf(sum).length());\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);
while(sc.hasNext()) {
int sum=sc.nextInt()+sc.nextInt();
System.out.println(String.valueOf(sum).length());
}
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
4,
18,
13,
4,
18,
13,
2,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
66,
5
],
[
66,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
31,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
52,
62
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a, b;\n\t\t\n\t\twhile(scanner.hasNext()) {\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tSystem.out.println(1);\n\t\t\t} else {\n\t\t\t\tSystem.out.println((int)Math.floor(Math.log10(a + b)) + 1);\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a, b;\n\t\t\n\t\twhile(scanner.hasNext()) {\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tSystem.out.println(1);\n\t\t\t} else {\n\t\t\t\tSystem.out.println((int)Math.floor(Math.log10(a + b)) + 1);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a, b;\n\t\t\n\t\twhile(scanner.hasNext()) {\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tSystem.out.println(1);\n\t\t\t} else {\n\t\t\t\tSystem.out.println((int)Math.floor(Math.log10(a + b)) + 1);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a, b;\n\t\t\n\t\twhile(scanner.hasNext()) {\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tSystem.out.println(1);\n\t\t\t} else {\n\t\t\t\tSystem.out.println((int)Math.floor(Math.log10(a + b)) + 1);\n\t\t\t}\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int a",
"a",
"b;",
"b",
"while(scanner.hasNext()) {\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tSystem.out.println(1);\n\t\t\t} else {\n\t\t\t\tSystem.out.println((int)Math.floor(Math.log10(a + b)) + 1);\n\t\t\t}\n\t\t}",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tSystem.out.println(1);\n\t\t\t} else {\n\t\t\t\tSystem.out.println((int)Math.floor(Math.log10(a + b)) + 1);\n\t\t\t}\n\t\t}",
"a = scanner.nextInt()",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"b = scanner.nextInt()",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (a == 0 && b == 0) {\n\t\t\t\tSystem.out.println(1);\n\t\t\t} else {\n\t\t\t\tSystem.out.println((int)Math.floor(Math.log10(a + b)) + 1);\n\t\t\t}",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n\t\t\t\tSystem.out.println(1);\n\t\t\t}",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"{\n\t\t\t\tSystem.out.println((int)Math.floor(Math.log10(a + b)) + 1);\n\t\t\t}",
"System.out.println((int)Math.floor(Math.log10(a + b)) + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)Math.floor(Math.log10(a + b)) + 1",
"(int)Math.floor(Math.log10(a + b))",
"Math.floor",
"Math",
"Math.log10(a + b)",
"Math.log10",
"Math",
"a + b",
"a",
"b",
"1",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a, b;\n\t\t\n\t\twhile(scanner.hasNext()) {\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tSystem.out.println(1);\n\t\t\t} else {\n\t\t\t\tSystem.out.println((int)Math.floor(Math.log10(a + b)) + 1);\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a, b;\n\t\t\n\t\twhile(scanner.hasNext()) {\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tSystem.out.println(1);\n\t\t\t} else {\n\t\t\t\tSystem.out.println((int)Math.floor(Math.log10(a + b)) + 1);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a, b;
while(scanner.hasNext()) {
a = scanner.nextInt();
b = scanner.nextInt();
if (a == 0 && b == 0) {
System.out.println(1);
} else {
System.out.println((int)Math.floor(Math.log10(a + b)) + 1);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] | [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int l = sc.nextInt();\n int r = sc.nextInt();\n System.out.println(Integer.toString(l+r).length());\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 while (sc.hasNext()) {\n int l = sc.nextInt();\n int r = sc.nextInt();\n System.out.println(Integer.toString(l+r).length());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int l = sc.nextInt();\n int r = sc.nextInt();\n System.out.println(Integer.toString(l+r).length());\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int l = sc.nextInt();\n int r = sc.nextInt();\n System.out.println(Integer.toString(l+r).length());\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()) {\n int l = sc.nextInt();\n int r = sc.nextInt();\n System.out.println(Integer.toString(l+r).length());\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n int l = sc.nextInt();\n int r = sc.nextInt();\n System.out.println(Integer.toString(l+r).length());\n }",
"int l = sc.nextInt();",
"l",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int r = sc.nextInt();",
"r",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(Integer.toString(l+r).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(l+r).length()",
"Integer.toString(l+r).length",
"Integer.toString(l+r)",
"Integer.toString",
"Integer",
"l+r",
"l",
"r",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int l = sc.nextInt();\n int r = sc.nextInt();\n System.out.println(Integer.toString(l+r).length());\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int l = sc.nextInt();\n int r = sc.nextInt();\n System.out.println(Integer.toString(l+r).length());\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
int l = sc.nextInt();
int r = sc.nextInt();
System.out.println(Integer.toString(l+r).length());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
13,
2,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
40,
13,
29,
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
],
[
84,
11
],
[
84,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
28,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
28,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
28,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
12,
61
],
[
61,
62
],
[
84,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
65,
79
],
[
79,
80
],
[
63,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"\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\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString line;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tString[] arr = line.split(\" \");\n\t\t\tint a = Integer.parseInt(arr[0]);\n\t\t\tint b = Integer.parseInt(arr[1]);\n\t\t\t\n\t\t\tSystem.out.println(f(a + b));\n\t\t}\n\t}\n\t\n\tpublic static int f(int sum) {\n\t\tint i = 0;\n\t\twhile (sum != 0) {\n\t\t\tsum /= 10;\n\t\t\ti++;\n\t\t}\n\t\t\n\t\treturn i;\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main{\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString line;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tString[] arr = line.split(\" \");\n\t\t\tint a = Integer.parseInt(arr[0]);\n\t\t\tint b = Integer.parseInt(arr[1]);\n\t\t\t\n\t\t\tSystem.out.println(f(a + b));\n\t\t}\n\t}\n\t\n\tpublic static int f(int sum) {\n\t\tint i = 0;\n\t\twhile (sum != 0) {\n\t\t\tsum /= 10;\n\t\t\ti++;\n\t\t}\n\t\t\n\t\treturn i;\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString line;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tString[] arr = line.split(\" \");\n\t\t\tint a = Integer.parseInt(arr[0]);\n\t\t\tint b = Integer.parseInt(arr[1]);\n\t\t\t\n\t\t\tSystem.out.println(f(a + b));\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString line;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tString[] arr = line.split(\" \");\n\t\t\tint a = Integer.parseInt(arr[0]);\n\t\t\tint b = Integer.parseInt(arr[1]);\n\t\t\t\n\t\t\tSystem.out.println(f(a + b));\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"while ((line = br.readLine()) != null) {\n\t\t\tString[] arr = line.split(\" \");\n\t\t\tint a = Integer.parseInt(arr[0]);\n\t\t\tint b = Integer.parseInt(arr[1]);\n\t\t\t\n\t\t\tSystem.out.println(f(a + b));\n\t\t}",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tString[] arr = line.split(\" \");\n\t\t\tint a = Integer.parseInt(arr[0]);\n\t\t\tint b = Integer.parseInt(arr[1]);\n\t\t\t\n\t\t\tSystem.out.println(f(a + b));\n\t\t}",
"String[] arr = line.split(\" \");",
"arr",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int a = Integer.parseInt(arr[0]);",
"a",
"Integer.parseInt(arr[0])",
"Integer.parseInt",
"Integer",
"arr[0]",
"arr",
"0",
"int b = Integer.parseInt(arr[1]);",
"b",
"Integer.parseInt(arr[1])",
"Integer.parseInt",
"Integer",
"arr[1]",
"arr",
"1",
"System.out.println(f(a + b))",
"System.out.println",
"System.out",
"System",
"System.out",
"f(a + b)",
"f",
"a + b",
"a",
"b",
"String[] args",
"args",
"public static int f(int sum) {\n\t\tint i = 0;\n\t\twhile (sum != 0) {\n\t\t\tsum /= 10;\n\t\t\ti++;\n\t\t}\n\t\t\n\t\treturn i;\n\t}",
"f",
"{\n\t\tint i = 0;\n\t\twhile (sum != 0) {\n\t\t\tsum /= 10;\n\t\t\ti++;\n\t\t}\n\t\t\n\t\treturn i;\n\t}",
"int i = 0;",
"i",
"0",
"while (sum != 0) {\n\t\t\tsum /= 10;\n\t\t\ti++;\n\t\t}",
"sum != 0",
"sum",
"0",
"{\n\t\t\tsum /= 10;\n\t\t\ti++;\n\t\t}",
"sum /= 10",
"sum",
"10",
"i++",
"i",
"return i;",
"i",
"int sum",
"sum",
"public class Main{\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString line;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tString[] arr = line.split(\" \");\n\t\t\tint a = Integer.parseInt(arr[0]);\n\t\t\tint b = Integer.parseInt(arr[1]);\n\t\t\t\n\t\t\tSystem.out.println(f(a + b));\n\t\t}\n\t}\n\t\n\tpublic static int f(int sum) {\n\t\tint i = 0;\n\t\twhile (sum != 0) {\n\t\t\tsum /= 10;\n\t\t\ti++;\n\t\t}\n\t\t\n\t\treturn i;\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString line;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tString[] arr = line.split(\" \");\n\t\t\tint a = Integer.parseInt(arr[0]);\n\t\t\tint b = Integer.parseInt(arr[1]);\n\t\t\t\n\t\t\tSystem.out.println(f(a + b));\n\t\t}\n\t}\n\t\n\tpublic static int f(int sum) {\n\t\tint i = 0;\n\t\twhile (sum != 0) {\n\t\t\tsum /= 10;\n\t\t\ti++;\n\t\t}\n\t\t\n\t\treturn i;\n\t}\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args) throws IOException {
// TODO Auto-generated method stub
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line;
while ((line = br.readLine()) != null) {
String[] arr = line.split(" ");
int a = Integer.parseInt(arr[0]);
int b = Integer.parseInt(arr[1]);
System.out.println(f(a + b));
}
}
public static int f(int sum) {
int i = 0;
while (sum != 0) {
sum /= 10;
i++;
}
return i;
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
4,
18,
13,
13,
17,
0,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
21,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
30,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
21,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
48,
53
],
[
21,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
6,
59
],
[
59,
60
]
] | [
"import java.io.*;\nclass Main {\n public static void main(String... args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n while(s != null) {\n String[] arr = s.split(\" \");\n int sum = Integer.parseInt(arr[0]) + Integer.parseInt(arr[1]);\n System.out.println((int)Math.log10(sum)+1);\n s = br.readLine();\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n public static void main(String... args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n while(s != null) {\n String[] arr = s.split(\" \");\n int sum = Integer.parseInt(arr[0]) + Integer.parseInt(arr[1]);\n System.out.println((int)Math.log10(sum)+1);\n s = br.readLine();\n }\n }\n}",
"Main",
"public static void main(String... args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n while(s != null) {\n String[] arr = s.split(\" \");\n int sum = Integer.parseInt(arr[0]) + Integer.parseInt(arr[1]);\n System.out.println((int)Math.log10(sum)+1);\n s = br.readLine();\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n while(s != null) {\n String[] arr = s.split(\" \");\n int sum = Integer.parseInt(arr[0]) + Integer.parseInt(arr[1]);\n System.out.println((int)Math.log10(sum)+1);\n s = br.readLine();\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String s = br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"while(s != null) {\n String[] arr = s.split(\" \");\n int sum = Integer.parseInt(arr[0]) + Integer.parseInt(arr[1]);\n System.out.println((int)Math.log10(sum)+1);\n s = br.readLine();\n }",
"s != null",
"s",
"null",
"{\n String[] arr = s.split(\" \");\n int sum = Integer.parseInt(arr[0]) + Integer.parseInt(arr[1]);\n System.out.println((int)Math.log10(sum)+1);\n s = br.readLine();\n }",
"String[] arr = s.split(\" \");",
"arr",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"int sum = Integer.parseInt(arr[0]) + Integer.parseInt(arr[1]);",
"sum",
"Integer.parseInt(arr[0]) + Integer.parseInt(arr[1])",
"Integer.parseInt(arr[0])",
"Integer.parseInt",
"Integer",
"arr[0]",
"arr",
"0",
"Integer.parseInt(arr[1])",
"Integer.parseInt",
"Integer",
"arr[1]",
"arr",
"1",
"System.out.println((int)Math.log10(sum)+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)Math.log10(sum)+1",
"(int)Math.log10(sum)",
"Math.log10",
"Math",
"sum",
"1",
"s = br.readLine()",
"s",
"br.readLine()",
"br.readLine",
"br",
"String... args",
"args"
] | import java.io.*;
class Main {
public static void main(String... args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String s = br.readLine();
while(s != null) {
String[] arr = s.split(" ");
int sum = Integer.parseInt(arr[0]) + Integer.parseInt(arr[1]);
System.out.println((int)Math.log10(sum)+1);
s = br.readLine();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
4,
18,
13,
17,
4,
18,
13,
17,
41,
13,
4,
18,
13,
2,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
41,
13,
17,
0,
13,
2,
13,
13,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
90,
5
],
[
90,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
17,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
17,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
43,
48
],
[
17,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
17,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
17,
61
],
[
61,
62
],
[
61,
63
],
[
17,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
17,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
73,
79
],
[
79,
80
],
[
17,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
6,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
] | [
"import java.io.*;\npublic class Main {\n\n\tpublic static void main(String[] args)throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br =new BufferedReader(is);\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tif(str == null)\n\t\t\t\tbreak;\n\t\t\tString str1 = str.substring(0, str.indexOf(\" \"));\n\t\t\tString str2 = str.substring(str.indexOf(\" \")+1);\n\t\t\tint n1 = Integer.parseInt(str1);\n\t\t\tint n2 = Integer.parseInt(str2);\n\t\t\tint count1=0;\n\t\t\tn1 = n1 + n2;\n\t\t\twhile(n1 > 0){\n\t\t\t\tn1 = n1/10;\n\t\t\t\tcount1++;\n\t\t\t}\n\t\t\tSystem.out.println(count1);\n\t\t}\n\t}\n\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args)throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br =new BufferedReader(is);\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tif(str == null)\n\t\t\t\tbreak;\n\t\t\tString str1 = str.substring(0, str.indexOf(\" \"));\n\t\t\tString str2 = str.substring(str.indexOf(\" \")+1);\n\t\t\tint n1 = Integer.parseInt(str1);\n\t\t\tint n2 = Integer.parseInt(str2);\n\t\t\tint count1=0;\n\t\t\tn1 = n1 + n2;\n\t\t\twhile(n1 > 0){\n\t\t\t\tn1 = n1/10;\n\t\t\t\tcount1++;\n\t\t\t}\n\t\t\tSystem.out.println(count1);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args)throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br =new BufferedReader(is);\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tif(str == null)\n\t\t\t\tbreak;\n\t\t\tString str1 = str.substring(0, str.indexOf(\" \"));\n\t\t\tString str2 = str.substring(str.indexOf(\" \")+1);\n\t\t\tint n1 = Integer.parseInt(str1);\n\t\t\tint n2 = Integer.parseInt(str2);\n\t\t\tint count1=0;\n\t\t\tn1 = n1 + n2;\n\t\t\twhile(n1 > 0){\n\t\t\t\tn1 = n1/10;\n\t\t\t\tcount1++;\n\t\t\t}\n\t\t\tSystem.out.println(count1);\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br =new BufferedReader(is);\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tif(str == null)\n\t\t\t\tbreak;\n\t\t\tString str1 = str.substring(0, str.indexOf(\" \"));\n\t\t\tString str2 = str.substring(str.indexOf(\" \")+1);\n\t\t\tint n1 = Integer.parseInt(str1);\n\t\t\tint n2 = Integer.parseInt(str2);\n\t\t\tint count1=0;\n\t\t\tn1 = n1 + n2;\n\t\t\twhile(n1 > 0){\n\t\t\t\tn1 = n1/10;\n\t\t\t\tcount1++;\n\t\t\t}\n\t\t\tSystem.out.println(count1);\n\t\t}\n\t}",
"InputStreamReader is = new InputStreamReader(System.in);",
"is",
"new InputStreamReader(System.in)",
"BufferedReader br =new BufferedReader(is);",
"br",
"new BufferedReader(is)",
"while(true){\n\t\t\tString str = br.readLine();\n\t\t\tif(str == null)\n\t\t\t\tbreak;\n\t\t\tString str1 = str.substring(0, str.indexOf(\" \"));\n\t\t\tString str2 = str.substring(str.indexOf(\" \")+1);\n\t\t\tint n1 = Integer.parseInt(str1);\n\t\t\tint n2 = Integer.parseInt(str2);\n\t\t\tint count1=0;\n\t\t\tn1 = n1 + n2;\n\t\t\twhile(n1 > 0){\n\t\t\t\tn1 = n1/10;\n\t\t\t\tcount1++;\n\t\t\t}\n\t\t\tSystem.out.println(count1);\n\t\t}",
"true",
"{\n\t\t\tString str = br.readLine();\n\t\t\tif(str == null)\n\t\t\t\tbreak;\n\t\t\tString str1 = str.substring(0, str.indexOf(\" \"));\n\t\t\tString str2 = str.substring(str.indexOf(\" \")+1);\n\t\t\tint n1 = Integer.parseInt(str1);\n\t\t\tint n2 = Integer.parseInt(str2);\n\t\t\tint count1=0;\n\t\t\tn1 = n1 + n2;\n\t\t\twhile(n1 > 0){\n\t\t\t\tn1 = n1/10;\n\t\t\t\tcount1++;\n\t\t\t}\n\t\t\tSystem.out.println(count1);\n\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"if(str == null)\n\t\t\t\tbreak;",
"str == null",
"str",
"null",
"break;",
"String str1 = str.substring(0, str.indexOf(\" \"));",
"str1",
"str.substring(0, str.indexOf(\" \"))",
"str.substring",
"str",
"0",
"str.indexOf(\" \")",
"str.indexOf",
"str",
"\" \"",
"String str2 = str.substring(str.indexOf(\" \")+1);",
"str2",
"str.substring(str.indexOf(\" \")+1)",
"str.substring",
"str",
"str.indexOf(\" \")+1",
"str.indexOf(\" \")",
"str.indexOf",
"str",
"\" \"",
"1",
"int n1 = Integer.parseInt(str1);",
"n1",
"Integer.parseInt(str1)",
"Integer.parseInt",
"Integer",
"str1",
"int n2 = Integer.parseInt(str2);",
"n2",
"Integer.parseInt(str2)",
"Integer.parseInt",
"Integer",
"str2",
"int count1=0;",
"count1",
"0",
"n1 = n1 + n2",
"n1",
"n1 + n2",
"n1",
"n2",
"while(n1 > 0){\n\t\t\t\tn1 = n1/10;\n\t\t\t\tcount1++;\n\t\t\t}",
"n1 > 0",
"n1",
"0",
"{\n\t\t\t\tn1 = n1/10;\n\t\t\t\tcount1++;\n\t\t\t}",
"n1 = n1/10",
"n1",
"n1/10",
"n1",
"10",
"count1++",
"count1",
"System.out.println(count1)",
"System.out.println",
"System.out",
"System",
"System.out",
"count1",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args)throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br =new BufferedReader(is);\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tif(str == null)\n\t\t\t\tbreak;\n\t\t\tString str1 = str.substring(0, str.indexOf(\" \"));\n\t\t\tString str2 = str.substring(str.indexOf(\" \")+1);\n\t\t\tint n1 = Integer.parseInt(str1);\n\t\t\tint n2 = Integer.parseInt(str2);\n\t\t\tint count1=0;\n\t\t\tn1 = n1 + n2;\n\t\t\twhile(n1 > 0){\n\t\t\t\tn1 = n1/10;\n\t\t\t\tcount1++;\n\t\t\t}\n\t\t\tSystem.out.println(count1);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args)throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br =new BufferedReader(is);\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tif(str == null)\n\t\t\t\tbreak;\n\t\t\tString str1 = str.substring(0, str.indexOf(\" \"));\n\t\t\tString str2 = str.substring(str.indexOf(\" \")+1);\n\t\t\tint n1 = Integer.parseInt(str1);\n\t\t\tint n2 = Integer.parseInt(str2);\n\t\t\tint count1=0;\n\t\t\tn1 = n1 + n2;\n\t\t\twhile(n1 > 0){\n\t\t\t\tn1 = n1/10;\n\t\t\t\tcount1++;\n\t\t\t}\n\t\t\tSystem.out.println(count1);\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args)throws IOException {
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br =new BufferedReader(is);
while(true){
String str = br.readLine();
if(str == null)
break;
String str1 = str.substring(0, str.indexOf(" "));
String str2 = str.substring(str.indexOf(" ")+1);
int n1 = Integer.parseInt(str1);
int n2 = Integer.parseInt(str2);
int count1=0;
n1 = n1 + n2;
while(n1 > 0){
n1 = n1/10;
count1++;
}
System.out.println(count1);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
2,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
29,
2,
4,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
59,
5
],
[
59,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
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
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
6,
44
],
[
44,
45
],
[
59,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
50,
55
],
[
46,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"\nimport java.util.Scanner;\n\n\npublic class Main{\n\t\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b;\n\t\twhile(sc.hasNextInt()) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tSystem.out.println(numOfDigit(a+b));\n\t\t}\n\t\tsc.close();\n\t}\n\t\n\tstatic int numOfDigit(int n) {\n\t\treturn (int) Math.log10(n) + 1;\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\t\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b;\n\t\twhile(sc.hasNextInt()) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tSystem.out.println(numOfDigit(a+b));\n\t\t}\n\t\tsc.close();\n\t}\n\t\n\tstatic int numOfDigit(int n) {\n\t\treturn (int) Math.log10(n) + 1;\n\t}\n}",
"Main",
"public static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b;\n\t\twhile(sc.hasNextInt()) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tSystem.out.println(numOfDigit(a+b));\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b;\n\t\twhile(sc.hasNextInt()) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tSystem.out.println(numOfDigit(a+b));\n\t\t}\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a",
"a",
"b;",
"b",
"while(sc.hasNextInt()) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tSystem.out.println(numOfDigit(a+b));\n\t\t}",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tSystem.out.println(numOfDigit(a+b));\n\t\t}",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(numOfDigit(a+b))",
"System.out.println",
"System.out",
"System",
"System.out",
"numOfDigit(a+b)",
"numOfDigit",
"a+b",
"a",
"b",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"static int numOfDigit(int n) {\n\t\treturn (int) Math.log10(n) + 1;\n\t}",
"numOfDigit",
"{\n\t\treturn (int) Math.log10(n) + 1;\n\t}",
"return (int) Math.log10(n) + 1;",
"(int) Math.log10(n) + 1",
"(int) Math.log10(n)",
"Math.log10",
"Math",
"n",
"1",
"int n",
"n",
"public class Main{\n\t\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b;\n\t\twhile(sc.hasNextInt()) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tSystem.out.println(numOfDigit(a+b));\n\t\t}\n\t\tsc.close();\n\t}\n\t\n\tstatic int numOfDigit(int n) {\n\t\treturn (int) Math.log10(n) + 1;\n\t}\n}",
"public class Main{\n\t\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b;\n\t\twhile(sc.hasNextInt()) {\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tSystem.out.println(numOfDigit(a+b));\n\t\t}\n\t\tsc.close();\n\t}\n\t\n\tstatic int numOfDigit(int n) {\n\t\treturn (int) Math.log10(n) + 1;\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a, b;
while(sc.hasNextInt()) {
a = sc.nextInt();
b = sc.nextInt();
System.out.println(numOfDigit(a+b));
}
sc.close();
}
static int numOfDigit(int n) {
return (int) Math.log10(n) + 1;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
13,
0,
13,
17,
42,
2,
13,
17,
30,
40,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
61,
8
],
[
61,
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
],
[
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
],
[
25,
39
],
[
39,
40
],
[
39,
41
],
[
25,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
25,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
9,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] | [
"import java.util.Scanner;\nimport java.util.Arrays;\npublic class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n int a, b, count;\n while( input.hasNext() )\n {\n a = input.nextInt();\n b = input.nextInt();\n a += b;\n count = 0;\n while( a > 0 )\n {\n count ++;\n a /= 10;\n }\n System.out.println( count );\n }\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n int a, b, count;\n while( input.hasNext() )\n {\n a = input.nextInt();\n b = input.nextInt();\n a += b;\n count = 0;\n while( a > 0 )\n {\n count ++;\n a /= 10;\n }\n System.out.println( count );\n }\n\t}\n}",
"Main",
"public static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n int a, b, count;\n while( input.hasNext() )\n {\n a = input.nextInt();\n b = input.nextInt();\n a += b;\n count = 0;\n while( a > 0 )\n {\n count ++;\n a /= 10;\n }\n System.out.println( count );\n }\n\t}",
"main",
"{\n\t\tScanner input = new Scanner(System.in);\n int a, b, count;\n while( input.hasNext() )\n {\n a = input.nextInt();\n b = input.nextInt();\n a += b;\n count = 0;\n while( a > 0 )\n {\n count ++;\n a /= 10;\n }\n System.out.println( count );\n }\n\t}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"int a",
"a",
"b",
"b",
"count;",
"count",
"while( input.hasNext() )\n {\n a = input.nextInt();\n b = input.nextInt();\n a += b;\n count = 0;\n while( a > 0 )\n {\n count ++;\n a /= 10;\n }\n System.out.println( count );\n }",
"input.hasNext()",
"input.hasNext",
"input",
"{\n a = input.nextInt();\n b = input.nextInt();\n a += b;\n count = 0;\n while( a > 0 )\n {\n count ++;\n a /= 10;\n }\n System.out.println( count );\n }",
"a = input.nextInt()",
"a",
"input.nextInt()",
"input.nextInt",
"input",
"b = input.nextInt()",
"b",
"input.nextInt()",
"input.nextInt",
"input",
"a += b",
"a",
"b",
"count = 0",
"count",
"0",
"while( a > 0 )\n {\n count ++;\n a /= 10;\n }",
"a > 0",
"a",
"0",
"{\n count ++;\n a /= 10;\n }",
"count ++",
"count",
"a /= 10",
"a",
"10",
"System.out.println( count )",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String args[]",
"args",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n int a, b, count;\n while( input.hasNext() )\n {\n a = input.nextInt();\n b = input.nextInt();\n a += b;\n count = 0;\n while( a > 0 )\n {\n count ++;\n a /= 10;\n }\n System.out.println( count );\n }\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n int a, b, count;\n while( input.hasNext() )\n {\n a = input.nextInt();\n b = input.nextInt();\n a += b;\n count = 0;\n while( a > 0 )\n {\n count ++;\n a /= 10;\n }\n System.out.println( count );\n }\n\t}\n}",
"Main"
] | import java.util.Scanner;
import java.util.Arrays;
public class Main
{
public static void main(String args[])
{
Scanner input = new Scanner(System.in);
int a, b, count;
while( input.hasNext() )
{
a = input.nextInt();
b = input.nextInt();
a += b;
count = 0;
while( a > 0 )
{
count ++;
a /= 10;
}
System.out.println( count );
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
54,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
19,
24
],
[
16,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
27,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
16,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
9,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\twhile(sc.hasNext()) {\n\t\t\tString[] numbers = sc.nextLine().split(\" \");\n\n\t\t\tInteger ans = Integer.parseInt(numbers[0]) + Integer.parseInt(numbers[1]);\n\t\t\tSystem.out.println(String.valueOf(ans).length());\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\twhile(sc.hasNext()) {\n\t\t\tString[] numbers = sc.nextLine().split(\" \");\n\n\t\t\tInteger ans = Integer.parseInt(numbers[0]) + Integer.parseInt(numbers[1]);\n\t\t\tSystem.out.println(String.valueOf(ans).length());\n\t\t}\n\n\t}\n\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\t\twhile(sc.hasNext()) {\n\t\t\tString[] numbers = sc.nextLine().split(\" \");\n\n\t\t\tInteger ans = Integer.parseInt(numbers[0]) + Integer.parseInt(numbers[1]);\n\t\t\tSystem.out.println(String.valueOf(ans).length());\n\t\t}\n\n\t}",
"main",
"{\n\t\twhile(sc.hasNext()) {\n\t\t\tString[] numbers = sc.nextLine().split(\" \");\n\n\t\t\tInteger ans = Integer.parseInt(numbers[0]) + Integer.parseInt(numbers[1]);\n\t\t\tSystem.out.println(String.valueOf(ans).length());\n\t\t}\n\n\t}",
"while(sc.hasNext()) {\n\t\t\tString[] numbers = sc.nextLine().split(\" \");\n\n\t\t\tInteger ans = Integer.parseInt(numbers[0]) + Integer.parseInt(numbers[1]);\n\t\t\tSystem.out.println(String.valueOf(ans).length());\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tString[] numbers = sc.nextLine().split(\" \");\n\n\t\t\tInteger ans = Integer.parseInt(numbers[0]) + Integer.parseInt(numbers[1]);\n\t\t\tSystem.out.println(String.valueOf(ans).length());\n\t\t}",
"String[] numbers = sc.nextLine().split(\" \");",
"numbers",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"Integer ans = Integer.parseInt(numbers[0]) + Integer.parseInt(numbers[1]);",
"ans",
"Integer.parseInt(numbers[0]) + Integer.parseInt(numbers[1])",
"Integer.parseInt(numbers[0])",
"Integer.parseInt",
"Integer",
"numbers[0]",
"numbers",
"0",
"Integer.parseInt(numbers[1])",
"Integer.parseInt",
"Integer",
"numbers[1]",
"numbers",
"1",
"System.out.println(String.valueOf(ans).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(ans).length()",
"String.valueOf(ans).length",
"String.valueOf(ans)",
"String.valueOf",
"String",
"ans",
"String[] args",
"args",
"public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\twhile(sc.hasNext()) {\n\t\t\tString[] numbers = sc.nextLine().split(\" \");\n\n\t\t\tInteger ans = Integer.parseInt(numbers[0]) + Integer.parseInt(numbers[1]);\n\t\t\tSystem.out.println(String.valueOf(ans).length());\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\twhile(sc.hasNext()) {\n\t\t\tString[] numbers = sc.nextLine().split(\" \");\n\n\t\t\tInteger ans = Integer.parseInt(numbers[0]) + Integer.parseInt(numbers[1]);\n\t\t\tSystem.out.println(String.valueOf(ans).length());\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
while(sc.hasNext()) {
String[] numbers = sc.nextLine().split(" ");
Integer ans = Integer.parseInt(numbers[0]) + Integer.parseInt(numbers[1]);
System.out.println(String.valueOf(ans).length());
}
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
42,
4,
18,
13,
30,
0,
13,
2,
4,
18,
13,
4,
18,
13,
0,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
5,
11
],
[
11,
12
],
[
11,
13
],
[
5,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
18,
28
],
[
28,
29
],
[
28,
30
],
[
18,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
18,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
3,
47
],
[
47,
48
]
] | [
"class Main\n{\n\tpublic static void main( String[] args )\n\t{\n\t\tjava.util.Scanner sc = new java.util.Scanner( System.in );\n\t\tint sum;\n\t\tint digitNum = 0;\n\t\t\n\t\twhile( sc.hasNext() )\n\t\t{\n\t\t\tsum = sc.nextInt() + sc.nextInt();\n\t\t\t\n\t\t\tdigitNum = 0;\n\t\t\twhile( sum > 0 )\n\t\t\t{\n\t\t\t\tsum /= 10;\n\t\t\t\tdigitNum++;\n\t\t\t}\n\t\t\tSystem.out.println( digitNum );\n\t\t}\n\t}\n}",
"class Main\n{\n\tpublic static void main( String[] args )\n\t{\n\t\tjava.util.Scanner sc = new java.util.Scanner( System.in );\n\t\tint sum;\n\t\tint digitNum = 0;\n\t\t\n\t\twhile( sc.hasNext() )\n\t\t{\n\t\t\tsum = sc.nextInt() + sc.nextInt();\n\t\t\t\n\t\t\tdigitNum = 0;\n\t\t\twhile( sum > 0 )\n\t\t\t{\n\t\t\t\tsum /= 10;\n\t\t\t\tdigitNum++;\n\t\t\t}\n\t\t\tSystem.out.println( digitNum );\n\t\t}\n\t}\n}",
"Main",
"public static void main( String[] args )\n\t{\n\t\tjava.util.Scanner sc = new java.util.Scanner( System.in );\n\t\tint sum;\n\t\tint digitNum = 0;\n\t\t\n\t\twhile( sc.hasNext() )\n\t\t{\n\t\t\tsum = sc.nextInt() + sc.nextInt();\n\t\t\t\n\t\t\tdigitNum = 0;\n\t\t\twhile( sum > 0 )\n\t\t\t{\n\t\t\t\tsum /= 10;\n\t\t\t\tdigitNum++;\n\t\t\t}\n\t\t\tSystem.out.println( digitNum );\n\t\t}\n\t}",
"main",
"{\n\t\tjava.util.Scanner sc = new java.util.Scanner( System.in );\n\t\tint sum;\n\t\tint digitNum = 0;\n\t\t\n\t\twhile( sc.hasNext() )\n\t\t{\n\t\t\tsum = sc.nextInt() + sc.nextInt();\n\t\t\t\n\t\t\tdigitNum = 0;\n\t\t\twhile( sum > 0 )\n\t\t\t{\n\t\t\t\tsum /= 10;\n\t\t\t\tdigitNum++;\n\t\t\t}\n\t\t\tSystem.out.println( digitNum );\n\t\t}\n\t}",
"java.util.Scanner sc = new java.util.Scanner( System.in );",
"sc",
"new java.util.Scanner( System.in )",
"int sum;",
"sum",
"int digitNum = 0;",
"digitNum",
"0",
"while( sc.hasNext() )\n\t\t{\n\t\t\tsum = sc.nextInt() + sc.nextInt();\n\t\t\t\n\t\t\tdigitNum = 0;\n\t\t\twhile( sum > 0 )\n\t\t\t{\n\t\t\t\tsum /= 10;\n\t\t\t\tdigitNum++;\n\t\t\t}\n\t\t\tSystem.out.println( digitNum );\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tsum = sc.nextInt() + sc.nextInt();\n\t\t\t\n\t\t\tdigitNum = 0;\n\t\t\twhile( sum > 0 )\n\t\t\t{\n\t\t\t\tsum /= 10;\n\t\t\t\tdigitNum++;\n\t\t\t}\n\t\t\tSystem.out.println( digitNum );\n\t\t}",
"sum = sc.nextInt() + sc.nextInt()",
"sum",
"sc.nextInt() + sc.nextInt()",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"digitNum = 0",
"digitNum",
"0",
"while( sum > 0 )\n\t\t\t{\n\t\t\t\tsum /= 10;\n\t\t\t\tdigitNum++;\n\t\t\t}",
"sum > 0",
"sum",
"0",
"{\n\t\t\t\tsum /= 10;\n\t\t\t\tdigitNum++;\n\t\t\t}",
"sum /= 10",
"sum",
"10",
"digitNum++",
"digitNum",
"System.out.println( digitNum )",
"System.out.println",
"System.out",
"System",
"System.out",
"digitNum",
"String[] args",
"args"
] | class Main
{
public static void main( String[] args )
{
java.util.Scanner sc = new java.util.Scanner( System.in );
int sum;
int digitNum = 0;
while( sc.hasNext() )
{
sum = sc.nextInt() + sc.nextInt();
digitNum = 0;
while( sum > 0 )
{
sum /= 10;
digitNum++;
}
System.out.println( digitNum );
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
4,
13,
13,
0,
13,
4,
13,
13,
4,
18,
18,
13,
13,
4,
13,
2,
13,
13,
23,
13,
12,
13,
30,
41,
13,
41,
13,
0,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
4,
18,
13,
17,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
41,
13,
0,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
4,
18,
13,
2,
13,
17,
29,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
40,
13,
29,
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
],
[
14,
20
],
[
20,
21
],
[
14,
22
],
[
22,
23
],
[
14,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
32,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
12,
53
],
[
53,
54
],
[
133,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
57,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
73,
77
],
[
57,
78
],
[
78,
79
],
[
55,
80
],
[
80,
81
],
[
133,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
87,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
84,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
103,
104
],
[
103,
105
],
[
84,
106
],
[
106,
107
],
[
82,
108
],
[
108,
109
],
[
133,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
112,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
123,
125
],
[
120,
126
],
[
126,
127
],
[
112,
128
],
[
128,
129
],
[
110,
130
],
[
130,
131
],
[
0,
132
],
[
132,
133
],
[
132,
134
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint a,b;\n\t\twhile((str=in.readLine())!=null){\n\t\t\ta=getA(str);\n\t\t\tb=getB(str);\n\t\t\tSystem.out.println(countDigit(a+b));\n\t\t}\n\t\t\n\t}\n\t\n\tpublic static int getA(String str){\n\t\tint index,num;\n\t\tindex = str.indexOf(\" \");\n\t\tnum=Integer.parseInt(str.substring(0,index));\n\t\treturn num;\n\t}\n\t\n\tpublic static int getB(String str){\n\t\tint index,num;\n\t\tindex = str.indexOf(\" \");\n\t\tnum=Integer.parseInt(str.substring(index+1));\n\t\treturn num;\n\t}\n\t\n\tpublic static int countDigit(int num){\n\t\tint dig=1;\n\t\twhile(num>=10){\n\t\t\tnum=num/10;\n\t\t\tdig++;\n\t\t}\t\t\n\t\treturn dig;\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint a,b;\n\t\twhile((str=in.readLine())!=null){\n\t\t\ta=getA(str);\n\t\t\tb=getB(str);\n\t\t\tSystem.out.println(countDigit(a+b));\n\t\t}\n\t\t\n\t}\n\t\n\tpublic static int getA(String str){\n\t\tint index,num;\n\t\tindex = str.indexOf(\" \");\n\t\tnum=Integer.parseInt(str.substring(0,index));\n\t\treturn num;\n\t}\n\t\n\tpublic static int getB(String str){\n\t\tint index,num;\n\t\tindex = str.indexOf(\" \");\n\t\tnum=Integer.parseInt(str.substring(index+1));\n\t\treturn num;\n\t}\n\t\n\tpublic static int countDigit(int num){\n\t\tint dig=1;\n\t\twhile(num>=10){\n\t\t\tnum=num/10;\n\t\t\tdig++;\n\t\t}\t\t\n\t\treturn dig;\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint a,b;\n\t\twhile((str=in.readLine())!=null){\n\t\t\ta=getA(str);\n\t\t\tb=getB(str);\n\t\t\tSystem.out.println(countDigit(a+b));\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint a,b;\n\t\twhile((str=in.readLine())!=null){\n\t\t\ta=getA(str);\n\t\t\tb=getB(str);\n\t\t\tSystem.out.println(countDigit(a+b));\n\t\t}\n\t\t\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"int a",
"a",
"b;",
"b",
"while((str=in.readLine())!=null){\n\t\t\ta=getA(str);\n\t\t\tb=getB(str);\n\t\t\tSystem.out.println(countDigit(a+b));\n\t\t}",
"(str=in.readLine())!=null",
"(str=in.readLine())",
"str",
"in.readLine()",
"in.readLine",
"in",
"null",
"{\n\t\t\ta=getA(str);\n\t\t\tb=getB(str);\n\t\t\tSystem.out.println(countDigit(a+b));\n\t\t}",
"a=getA(str)",
"a",
"getA(str)",
"getA",
"str",
"b=getB(str)",
"b",
"getB(str)",
"getB",
"str",
"System.out.println(countDigit(a+b))",
"System.out.println",
"System.out",
"System",
"System.out",
"countDigit(a+b)",
"countDigit",
"a+b",
"a",
"b",
"String[] args",
"args",
"public static int getA(String str){\n\t\tint index,num;\n\t\tindex = str.indexOf(\" \");\n\t\tnum=Integer.parseInt(str.substring(0,index));\n\t\treturn num;\n\t}",
"getA",
"{\n\t\tint index,num;\n\t\tindex = str.indexOf(\" \");\n\t\tnum=Integer.parseInt(str.substring(0,index));\n\t\treturn num;\n\t}",
"int index",
"index",
"num;",
"num",
"index = str.indexOf(\" \")",
"index",
"str.indexOf(\" \")",
"str.indexOf",
"str",
"\" \"",
"num=Integer.parseInt(str.substring(0,index))",
"num",
"Integer.parseInt(str.substring(0,index))",
"Integer.parseInt",
"Integer",
"str.substring(0,index)",
"str.substring",
"str",
"0",
"index",
"return num;",
"num",
"String str",
"str",
"public static int getB(String str){\n\t\tint index,num;\n\t\tindex = str.indexOf(\" \");\n\t\tnum=Integer.parseInt(str.substring(index+1));\n\t\treturn num;\n\t}",
"getB",
"{\n\t\tint index,num;\n\t\tindex = str.indexOf(\" \");\n\t\tnum=Integer.parseInt(str.substring(index+1));\n\t\treturn num;\n\t}",
"int index",
"index",
"num;",
"num",
"index = str.indexOf(\" \")",
"index",
"str.indexOf(\" \")",
"str.indexOf",
"str",
"\" \"",
"num=Integer.parseInt(str.substring(index+1))",
"num",
"Integer.parseInt(str.substring(index+1))",
"Integer.parseInt",
"Integer",
"str.substring(index+1)",
"str.substring",
"str",
"index+1",
"index",
"1",
"return num;",
"num",
"String str",
"str",
"public static int countDigit(int num){\n\t\tint dig=1;\n\t\twhile(num>=10){\n\t\t\tnum=num/10;\n\t\t\tdig++;\n\t\t}\t\t\n\t\treturn dig;\n\t}",
"countDigit",
"{\n\t\tint dig=1;\n\t\twhile(num>=10){\n\t\t\tnum=num/10;\n\t\t\tdig++;\n\t\t}\t\t\n\t\treturn dig;\n\t}",
"int dig=1;",
"dig",
"1",
"while(num>=10){\n\t\t\tnum=num/10;\n\t\t\tdig++;\n\t\t}",
"num>=10",
"num",
"10",
"{\n\t\t\tnum=num/10;\n\t\t\tdig++;\n\t\t}",
"num=num/10",
"num",
"num/10",
"num",
"10",
"dig++",
"dig",
"return dig;",
"dig",
"int num",
"num",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint a,b;\n\t\twhile((str=in.readLine())!=null){\n\t\t\ta=getA(str);\n\t\t\tb=getB(str);\n\t\t\tSystem.out.println(countDigit(a+b));\n\t\t}\n\t\t\n\t}\n\t\n\tpublic static int getA(String str){\n\t\tint index,num;\n\t\tindex = str.indexOf(\" \");\n\t\tnum=Integer.parseInt(str.substring(0,index));\n\t\treturn num;\n\t}\n\t\n\tpublic static int getB(String str){\n\t\tint index,num;\n\t\tindex = str.indexOf(\" \");\n\t\tnum=Integer.parseInt(str.substring(index+1));\n\t\treturn num;\n\t}\n\t\n\tpublic static int countDigit(int num){\n\t\tint dig=1;\n\t\twhile(num>=10){\n\t\t\tnum=num/10;\n\t\t\tdig++;\n\t\t}\t\t\n\t\treturn dig;\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint a,b;\n\t\twhile((str=in.readLine())!=null){\n\t\t\ta=getA(str);\n\t\t\tb=getB(str);\n\t\t\tSystem.out.println(countDigit(a+b));\n\t\t}\n\t\t\n\t}\n\t\n\tpublic static int getA(String str){\n\t\tint index,num;\n\t\tindex = str.indexOf(\" \");\n\t\tnum=Integer.parseInt(str.substring(0,index));\n\t\treturn num;\n\t}\n\t\n\tpublic static int getB(String str){\n\t\tint index,num;\n\t\tindex = str.indexOf(\" \");\n\t\tnum=Integer.parseInt(str.substring(index+1));\n\t\treturn num;\n\t}\n\t\n\tpublic static int countDigit(int num){\n\t\tint dig=1;\n\t\twhile(num>=10){\n\t\t\tnum=num/10;\n\t\t\tdig++;\n\t\t}\t\t\n\t\treturn dig;\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String str;
int a,b;
while((str=in.readLine())!=null){
a=getA(str);
b=getB(str);
System.out.println(countDigit(a+b));
}
}
public static int getA(String str){
int index,num;
index = str.indexOf(" ");
num=Integer.parseInt(str.substring(0,index));
return num;
}
public static int getB(String str){
int index,num;
index = str.indexOf(" ");
num=Integer.parseInt(str.substring(index+1));
return num;
}
public static int countDigit(int num){
int dig=1;
while(num>=10){
num=num/10;
dig++;
}
return dig;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
17,
41,
13,
20,
17,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
17,
17,
0,
18,
13,
17,
4,
18,
13,
18,
13,
17,
0,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
2,
2,
18,
13,
17,
18,
13,
17,
17,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
94,
11
],
[
94,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
14,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
38,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
35,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
60,
62
],
[
35,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
82,
84
],
[
78,
85
],
[
35,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
12,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString[] datasetstr = new String[2];\n\t\tint[] datasetint = new int[2];\n\t\twhile (str != null) {\n\t\t\tdatasetstr = str.split(\" \", 2);\n\t\t\tdatasetint[0] = Integer.parseInt(datasetstr[0]);\n\t\t\tdatasetint[1] = Integer.parseInt(datasetstr[1]);\n\t\t\tSystem.out.println(Math.round(Math.ceil(Math.log10(datasetint[0]\n\t\t\t\t\t+ datasetint[1] + 1))));\n\t\t\tstr = br.readLine();\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\tString str = br.readLine();\n\t\tString[] datasetstr = new String[2];\n\t\tint[] datasetint = new int[2];\n\t\twhile (str != null) {\n\t\t\tdatasetstr = str.split(\" \", 2);\n\t\t\tdatasetint[0] = Integer.parseInt(datasetstr[0]);\n\t\t\tdatasetint[1] = Integer.parseInt(datasetstr[1]);\n\t\t\tSystem.out.println(Math.round(Math.ceil(Math.log10(datasetint[0]\n\t\t\t\t\t+ datasetint[1] + 1))));\n\t\t\tstr = br.readLine();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString[] datasetstr = new String[2];\n\t\tint[] datasetint = new int[2];\n\t\twhile (str != null) {\n\t\t\tdatasetstr = str.split(\" \", 2);\n\t\t\tdatasetint[0] = Integer.parseInt(datasetstr[0]);\n\t\t\tdatasetint[1] = Integer.parseInt(datasetstr[1]);\n\t\t\tSystem.out.println(Math.round(Math.ceil(Math.log10(datasetint[0]\n\t\t\t\t\t+ datasetint[1] + 1))));\n\t\t\tstr = br.readLine();\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString[] datasetstr = new String[2];\n\t\tint[] datasetint = new int[2];\n\t\twhile (str != null) {\n\t\t\tdatasetstr = str.split(\" \", 2);\n\t\t\tdatasetint[0] = Integer.parseInt(datasetstr[0]);\n\t\t\tdatasetint[1] = Integer.parseInt(datasetstr[1]);\n\t\t\tSystem.out.println(Math.round(Math.ceil(Math.log10(datasetint[0]\n\t\t\t\t\t+ datasetint[1] + 1))));\n\t\t\tstr = br.readLine();\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] datasetstr = new String[2];",
"datasetstr",
"new String[2]",
"2",
"int[] datasetint = new int[2];",
"datasetint",
"new int[2]",
"2",
"while (str != null) {\n\t\t\tdatasetstr = str.split(\" \", 2);\n\t\t\tdatasetint[0] = Integer.parseInt(datasetstr[0]);\n\t\t\tdatasetint[1] = Integer.parseInt(datasetstr[1]);\n\t\t\tSystem.out.println(Math.round(Math.ceil(Math.log10(datasetint[0]\n\t\t\t\t\t+ datasetint[1] + 1))));\n\t\t\tstr = br.readLine();\n\t\t}",
"str != null",
"str",
"null",
"{\n\t\t\tdatasetstr = str.split(\" \", 2);\n\t\t\tdatasetint[0] = Integer.parseInt(datasetstr[0]);\n\t\t\tdatasetint[1] = Integer.parseInt(datasetstr[1]);\n\t\t\tSystem.out.println(Math.round(Math.ceil(Math.log10(datasetint[0]\n\t\t\t\t\t+ datasetint[1] + 1))));\n\t\t\tstr = br.readLine();\n\t\t}",
"datasetstr = str.split(\" \", 2)",
"datasetstr",
"str.split(\" \", 2)",
"str.split",
"str",
"\" \"",
"2",
"datasetint[0] = Integer.parseInt(datasetstr[0])",
"datasetint[0]",
"datasetint",
"0",
"Integer.parseInt(datasetstr[0])",
"Integer.parseInt",
"Integer",
"datasetstr[0]",
"datasetstr",
"0",
"datasetint[1] = Integer.parseInt(datasetstr[1])",
"datasetint[1]",
"datasetint",
"1",
"Integer.parseInt(datasetstr[1])",
"Integer.parseInt",
"Integer",
"datasetstr[1]",
"datasetstr",
"1",
"System.out.println(Math.round(Math.ceil(Math.log10(datasetint[0]\n\t\t\t\t\t+ datasetint[1] + 1))))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.round(Math.ceil(Math.log10(datasetint[0]\n\t\t\t\t\t+ datasetint[1] + 1)))",
"Math.round",
"Math",
"Math.ceil(Math.log10(datasetint[0]\n\t\t\t\t\t+ datasetint[1] + 1))",
"Math.ceil",
"Math",
"Math.log10(datasetint[0]\n\t\t\t\t\t+ datasetint[1] + 1)",
"Math.log10",
"Math",
"datasetint[0]\n\t\t\t\t\t+ datasetint[1] + 1",
"datasetint[0]\n\t\t\t\t\t+ datasetint[1] + 1",
"datasetint[0]",
"datasetint",
"0",
"datasetint[1]",
"datasetint",
"1",
"1",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString[] datasetstr = new String[2];\n\t\tint[] datasetint = new int[2];\n\t\twhile (str != null) {\n\t\t\tdatasetstr = str.split(\" \", 2);\n\t\t\tdatasetint[0] = Integer.parseInt(datasetstr[0]);\n\t\t\tdatasetint[1] = Integer.parseInt(datasetstr[1]);\n\t\t\tSystem.out.println(Math.round(Math.ceil(Math.log10(datasetint[0]\n\t\t\t\t\t+ datasetint[1] + 1))));\n\t\t\tstr = br.readLine();\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\tString str = br.readLine();\n\t\tString[] datasetstr = new String[2];\n\t\tint[] datasetint = new int[2];\n\t\twhile (str != null) {\n\t\t\tdatasetstr = str.split(\" \", 2);\n\t\t\tdatasetint[0] = Integer.parseInt(datasetstr[0]);\n\t\t\tdatasetint[1] = Integer.parseInt(datasetstr[1]);\n\t\t\tSystem.out.println(Math.round(Math.ceil(Math.log10(datasetint[0]\n\t\t\t\t\t+ datasetint[1] + 1))));\n\t\t\tstr = br.readLine();\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String[] datasetstr = new String[2];
int[] datasetint = new int[2];
while (str != null) {
datasetstr = str.split(" ", 2);
datasetint[0] = Integer.parseInt(datasetstr[0]);
datasetint[1] = Integer.parseInt(datasetstr[1]);
System.out.println(Math.round(Math.ceil(Math.log10(datasetint[0]
+ datasetint[1] + 1))));
str = br.readLine();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
59,
5
],
[
59,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
16,
32
],
[
32,
33
],
[
32,
34
],
[
16,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
39,
45
],
[
45,
46
],
[
16,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
6,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"import java.util.Scanner;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\twhile(sc.hasNextInt()){\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tdouble c=a+b;\n\t\t\tint cnt=0;\n\t\t\twhile(c>=1){\n\t\t\t\tc=c/10;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}\n\t\tsc.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\twhile(sc.hasNextInt()){\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tdouble c=a+b;\n\t\t\tint cnt=0;\n\t\t\twhile(c>=1){\n\t\t\t\tc=c/10;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\twhile(sc.hasNextInt()){\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tdouble c=a+b;\n\t\t\tint cnt=0;\n\t\t\twhile(c>=1){\n\t\t\t\tc=c/10;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\twhile(sc.hasNextInt()){\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tdouble c=a+b;\n\t\t\tint cnt=0;\n\t\t\twhile(c>=1){\n\t\t\t\tc=c/10;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}\n\t\tsc.close();\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNextInt()){\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tdouble c=a+b;\n\t\t\tint cnt=0;\n\t\t\twhile(c>=1){\n\t\t\t\tc=c/10;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tdouble c=a+b;\n\t\t\tint cnt=0;\n\t\t\twhile(c>=1){\n\t\t\t\tc=c/10;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}",
"int a=sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b=sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"double c=a+b;",
"c",
"a+b",
"a",
"b",
"int cnt=0;",
"cnt",
"0",
"while(c>=1){\n\t\t\t\tc=c/10;\n\t\t\t\tcnt++;\n\t\t\t}",
"c>=1",
"c",
"1",
"{\n\t\t\t\tc=c/10;\n\t\t\t\tcnt++;\n\t\t\t}",
"c=c/10",
"c",
"c/10",
"c",
"10",
"cnt++",
"cnt",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"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\twhile(sc.hasNextInt()){\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tdouble c=a+b;\n\t\t\tint cnt=0;\n\t\t\twhile(c>=1){\n\t\t\t\tc=c/10;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}\n\t\tsc.close();\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\twhile(sc.hasNextInt()){\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tdouble c=a+b;\n\t\t\tint cnt=0;\n\t\t\twhile(c>=1){\n\t\t\t\tc=c/10;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\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);
while(sc.hasNextInt()){
int a=sc.nextInt();
int b=sc.nextInt();
double c=a+b;
int cnt=0;
while(c>=1){
c=c/10;
cnt++;
}
System.out.println(cnt);
}
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
16,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
38,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n String s = sc.nextLine();\n String[] req = s.split(\" \");\n System.out.println(String.valueOf(Integer.parseInt(req[0]) + Integer.parseInt(req[1])).length());\n }\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n String s = sc.nextLine();\n String[] req = s.split(\" \");\n System.out.println(String.valueOf(Integer.parseInt(req[0]) + Integer.parseInt(req[1])).length());\n }\n\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n String s = sc.nextLine();\n String[] req = s.split(\" \");\n System.out.println(String.valueOf(Integer.parseInt(req[0]) + Integer.parseInt(req[1])).length());\n }\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n String s = sc.nextLine();\n String[] req = s.split(\" \");\n System.out.println(String.valueOf(Integer.parseInt(req[0]) + Integer.parseInt(req[1])).length());\n }\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()) {\n String s = sc.nextLine();\n String[] req = s.split(\" \");\n System.out.println(String.valueOf(Integer.parseInt(req[0]) + Integer.parseInt(req[1])).length());\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n String s = sc.nextLine();\n String[] req = s.split(\" \");\n System.out.println(String.valueOf(Integer.parseInt(req[0]) + Integer.parseInt(req[1])).length());\n }",
"String s = sc.nextLine();",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] req = s.split(\" \");",
"req",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"System.out.println(String.valueOf(Integer.parseInt(req[0]) + Integer.parseInt(req[1])).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(Integer.parseInt(req[0]) + Integer.parseInt(req[1])).length()",
"String.valueOf(Integer.parseInt(req[0]) + Integer.parseInt(req[1])).length",
"String.valueOf(Integer.parseInt(req[0]) + Integer.parseInt(req[1]))",
"String.valueOf",
"String",
"Integer.parseInt(req[0]) + Integer.parseInt(req[1])",
"Integer.parseInt(req[0])",
"Integer.parseInt",
"Integer",
"req[0]",
"req",
"0",
"Integer.parseInt(req[1])",
"Integer.parseInt",
"Integer",
"req[1]",
"req",
"1",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n String s = sc.nextLine();\n String[] req = s.split(\" \");\n System.out.println(String.valueOf(Integer.parseInt(req[0]) + Integer.parseInt(req[1])).length());\n }\n\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n String s = sc.nextLine();\n String[] req = s.split(\" \");\n System.out.println(String.valueOf(Integer.parseInt(req[0]) + Integer.parseInt(req[1])).length());\n }\n\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
String s = sc.nextLine();
String[] req = s.split(" ");
System.out.println(String.valueOf(Integer.parseInt(req[0]) + Integer.parseInt(req[1])).length());
}
}
} |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.