node_ids
sequencelengths 4
1.4k
| edge_index
sequencelengths 1
2.22k
| text
sequencelengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
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,
2,
13,
17,
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
],
[
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
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
16,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
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 stdIn = new Scanner(System.in);\n\t\t\n\t\twhile(stdIn.hasNext()){\n\t\t\tint a = stdIn.nextInt();\n\t\t\tint b = stdIn.nextInt();\n\t\t\tint c = a + b;\n\t\t\tint count = 1;\n\t\t\n\t\t\twhile(c/10!=0){\n\t\t\t\tcount++;\n\t\t\t\tc = c/10;\n\t\t\t}\n\t\t\n\t\t\tSystem.out.println(count);\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 stdIn = new Scanner(System.in);\n\t\t\n\t\twhile(stdIn.hasNext()){\n\t\t\tint a = stdIn.nextInt();\n\t\t\tint b = stdIn.nextInt();\n\t\t\tint c = a + b;\n\t\t\tint count = 1;\n\t\t\n\t\t\twhile(c/10!=0){\n\t\t\t\tcount++;\n\t\t\t\tc = c/10;\n\t\t\t}\n\t\t\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\twhile(stdIn.hasNext()){\n\t\t\tint a = stdIn.nextInt();\n\t\t\tint b = stdIn.nextInt();\n\t\t\tint c = a + b;\n\t\t\tint count = 1;\n\t\t\n\t\t\twhile(c/10!=0){\n\t\t\t\tcount++;\n\t\t\t\tc = c/10;\n\t\t\t}\n\t\t\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\twhile(stdIn.hasNext()){\n\t\t\tint a = stdIn.nextInt();\n\t\t\tint b = stdIn.nextInt();\n\t\t\tint c = a + b;\n\t\t\tint count = 1;\n\t\t\n\t\t\twhile(c/10!=0){\n\t\t\t\tcount++;\n\t\t\t\tc = c/10;\n\t\t\t}\n\t\t\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"while(stdIn.hasNext()){\n\t\t\tint a = stdIn.nextInt();\n\t\t\tint b = stdIn.nextInt();\n\t\t\tint c = a + b;\n\t\t\tint count = 1;\n\t\t\n\t\t\twhile(c/10!=0){\n\t\t\t\tcount++;\n\t\t\t\tc = c/10;\n\t\t\t}\n\t\t\n\t\t\tSystem.out.println(count);\n\t\t}",
"stdIn.hasNext()",
"stdIn.hasNext",
"stdIn",
"{\n\t\t\tint a = stdIn.nextInt();\n\t\t\tint b = stdIn.nextInt();\n\t\t\tint c = a + b;\n\t\t\tint count = 1;\n\t\t\n\t\t\twhile(c/10!=0){\n\t\t\t\tcount++;\n\t\t\t\tc = c/10;\n\t\t\t}\n\t\t\n\t\t\tSystem.out.println(count);\n\t\t}",
"int a = stdIn.nextInt();",
"a",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int b = stdIn.nextInt();",
"b",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int c = a + b;",
"c",
"a + b",
"a",
"b",
"int count = 1;",
"count",
"1",
"while(c/10!=0){\n\t\t\t\tcount++;\n\t\t\t\tc = c/10;\n\t\t\t}",
"c/10!=0",
"c/10",
"c",
"10",
"0",
"{\n\t\t\t\tcount++;\n\t\t\t\tc = c/10;\n\t\t\t}",
"count++",
"count",
"c = c/10",
"c",
"c/10",
"c",
"10",
"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\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\twhile(stdIn.hasNext()){\n\t\t\tint a = stdIn.nextInt();\n\t\t\tint b = stdIn.nextInt();\n\t\t\tint c = a + b;\n\t\t\tint count = 1;\n\t\t\n\t\t\twhile(c/10!=0){\n\t\t\t\tcount++;\n\t\t\t\tc = c/10;\n\t\t\t}\n\t\t\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\twhile(stdIn.hasNext()){\n\t\t\tint a = stdIn.nextInt();\n\t\t\tint b = stdIn.nextInt();\n\t\t\tint c = a + b;\n\t\t\tint count = 1;\n\t\t\n\t\t\twhile(c/10!=0){\n\t\t\t\tcount++;\n\t\t\t\tc = c/10;\n\t\t\t}\n\t\t\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner stdIn = new Scanner(System.in);
while(stdIn.hasNext()){
int a = stdIn.nextInt();
int b = stdIn.nextInt();
int c = a + b;
int count = 1;
while(c/10!=0){
count++;
c = c/10;
}
System.out.println(count);
}
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
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
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
9,
13
],
[
13,
14
],
[
14,
15
],
[
13,
16
],
[
16,
17
],
[
13,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
13,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
13,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
13,
33
],
[
33,
34
],
[
33,
35
],
[
13,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
13,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
3,
54
],
[
54,
55
]
] | [
"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\t\n\t\twhile( sc.hasNext() )\n\t\t{\n\t\t\tint a,b;\n\t\t\t\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tint c = a+b;\n\t\t\t\n\t\t\tint d = 0;\n\t\t\twhile( c != 0 ){\n\t\t\t\td++;\n\t\t\t\tc = c/10;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println( d );\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\t\n\t\twhile( sc.hasNext() )\n\t\t{\n\t\t\tint a,b;\n\t\t\t\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tint c = a+b;\n\t\t\t\n\t\t\tint d = 0;\n\t\t\twhile( c != 0 ){\n\t\t\t\td++;\n\t\t\t\tc = c/10;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println( d );\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\t\n\t\twhile( sc.hasNext() )\n\t\t{\n\t\t\tint a,b;\n\t\t\t\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tint c = a+b;\n\t\t\t\n\t\t\tint d = 0;\n\t\t\twhile( c != 0 ){\n\t\t\t\td++;\n\t\t\t\tc = c/10;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println( d );\n\t\t}\n\t}",
"main",
"{\n\t\tjava.util.Scanner sc = new java.util.Scanner( System.in );\n\t\t\n\t\twhile( sc.hasNext() )\n\t\t{\n\t\t\tint a,b;\n\t\t\t\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tint c = a+b;\n\t\t\t\n\t\t\tint d = 0;\n\t\t\twhile( c != 0 ){\n\t\t\t\td++;\n\t\t\t\tc = c/10;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println( d );\n\t\t}\n\t}",
"java.util.Scanner sc = new java.util.Scanner( System.in );",
"sc",
"new java.util.Scanner( System.in )",
"while( sc.hasNext() )\n\t\t{\n\t\t\tint a,b;\n\t\t\t\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tint c = a+b;\n\t\t\t\n\t\t\tint d = 0;\n\t\t\twhile( c != 0 ){\n\t\t\t\td++;\n\t\t\t\tc = c/10;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println( d );\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tint a,b;\n\t\t\t\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tint c = a+b;\n\t\t\t\n\t\t\tint d = 0;\n\t\t\twhile( c != 0 ){\n\t\t\t\td++;\n\t\t\t\tc = c/10;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println( d );\n\t\t}",
"int a",
"a",
"b;",
"b",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int c = a+b;",
"c",
"a+b",
"a",
"b",
"int d = 0;",
"d",
"0",
"while( c != 0 ){\n\t\t\t\td++;\n\t\t\t\tc = c/10;\n\t\t\t}",
"c != 0",
"c",
"0",
"{\n\t\t\t\td++;\n\t\t\t\tc = c/10;\n\t\t\t}",
"d++",
"d",
"c = c/10",
"c",
"c/10",
"c",
"10",
"System.out.println( d )",
"System.out.println",
"System.out",
"System",
"System.out",
"d",
"String[] args",
"args"
] | class Main
{
public static void main( String[] args )
{
java.util.Scanner sc = new java.util.Scanner( System.in );
while( sc.hasNext() )
{
int a,b;
a = sc.nextInt();
b = sc.nextInt();
int c = a+b;
int d = 0;
while( c != 0 ){
d++;
c = c/10;
}
System.out.println( d );
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
4,
18,
13,
18,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
4,
18,
13,
17,
17,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
75,
11
],
[
75,
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
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
25,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
42,
47
],
[
25,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
53,
58
],
[
25,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
69,
71
],
[
12,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"import java.io.InputStreamReader;\nimport java.io.BufferedReader;\nimport java.io.IOException;\n \npublic class Main {\n public static void main(String args[] ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s=\"\";\n while(s != null) {\n s = br.readLine();\n if (s == null ){break;}\n int a = Integer.parseInt(s.split(\" \")[0]);\n int b = Integer.parseInt(s.split(\" \")[1]);\n System.out.println(String.valueOf(a + b).length());\n }\n }\n}",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"public class Main {\n public static void main(String args[] ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s=\"\";\n while(s != null) {\n s = br.readLine();\n if (s == null ){break;}\n int a = Integer.parseInt(s.split(\" \")[0]);\n int b = Integer.parseInt(s.split(\" \")[1]);\n System.out.println(String.valueOf(a + b).length());\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 while(s != null) {\n s = br.readLine();\n if (s == null ){break;}\n int a = Integer.parseInt(s.split(\" \")[0]);\n int b = Integer.parseInt(s.split(\" \")[1]);\n System.out.println(String.valueOf(a + b).length());\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s=\"\";\n while(s != null) {\n s = br.readLine();\n if (s == null ){break;}\n int a = Integer.parseInt(s.split(\" \")[0]);\n int b = Integer.parseInt(s.split(\" \")[1]);\n System.out.println(String.valueOf(a + b).length());\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String s=\"\";",
"s",
"\"\"",
"while(s != null) {\n s = br.readLine();\n if (s == null ){break;}\n int a = Integer.parseInt(s.split(\" \")[0]);\n int b = Integer.parseInt(s.split(\" \")[1]);\n System.out.println(String.valueOf(a + b).length());\n }",
"s != null",
"s",
"null",
"{\n s = br.readLine();\n if (s == null ){break;}\n int a = Integer.parseInt(s.split(\" \")[0]);\n int b = Integer.parseInt(s.split(\" \")[1]);\n System.out.println(String.valueOf(a + b).length());\n }",
"s = br.readLine()",
"s",
"br.readLine()",
"br.readLine",
"br",
"if (s == null ){break;}",
"s == null",
"s",
"null",
"{break;}",
"break;",
"int a = Integer.parseInt(s.split(\" \")[0]);",
"a",
"Integer.parseInt(s.split(\" \")[0])",
"Integer.parseInt",
"Integer",
"s.split(\" \")[0]",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"0",
"int b = Integer.parseInt(s.split(\" \")[1]);",
"b",
"Integer.parseInt(s.split(\" \")[1])",
"Integer.parseInt",
"Integer",
"s.split(\" \")[1]",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"1",
"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 public static void main(String args[] ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s=\"\";\n while(s != null) {\n s = br.readLine();\n if (s == null ){break;}\n int a = Integer.parseInt(s.split(\" \")[0]);\n int b = Integer.parseInt(s.split(\" \")[1]);\n System.out.println(String.valueOf(a + b).length());\n }\n }\n}",
"public class Main {\n public static void main(String args[] ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s=\"\";\n while(s != null) {\n s = br.readLine();\n if (s == null ){break;}\n int a = Integer.parseInt(s.split(\" \")[0]);\n int b = Integer.parseInt(s.split(\" \")[1]);\n System.out.println(String.valueOf(a + b).length());\n }\n }\n}",
"Main"
] | import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.io.IOException;
public class Main {
public static void main(String args[] ) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String s="";
while(s != null) {
s = br.readLine();
if (s == null ){break;}
int a = Integer.parseInt(s.split(" ")[0]);
int b = Integer.parseInt(s.split(" ")[1]);
System.out.println(String.valueOf(a + b).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,
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
],
[
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
],
[
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
],
[
39,
43
],
[
43,
44
],
[
16,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
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\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 ans = a + b;\n\t\t\tint i = 0;\n\t\t\twhile (ans != 0) {\n\t\t\t\tans /= 10;\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner 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 ans = a + b;\n\t\t\tint i = 0;\n\t\t\twhile (ans != 0) {\n\t\t\t\tans /= 10;\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\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 ans = a + b;\n\t\t\tint i = 0;\n\t\t\twhile (ans != 0) {\n\t\t\t\tans /= 10;\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t\t}\n\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 ans = a + b;\n\t\t\tint i = 0;\n\t\t\twhile (ans != 0) {\n\t\t\t\tans /= 10;\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t\t}\n\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 ans = a + b;\n\t\t\tint i = 0;\n\t\t\twhile (ans != 0) {\n\t\t\t\tans /= 10;\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tSystem.out.println(i);\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 ans = a + b;\n\t\t\tint i = 0;\n\t\t\twhile (ans != 0) {\n\t\t\t\tans /= 10;\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t\t}",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int b = scan.nextInt();",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int ans = a + b;",
"ans",
"a + b",
"a",
"b",
"int i = 0;",
"i",
"0",
"while (ans != 0) {\n\t\t\t\tans /= 10;\n\t\t\t\ti++;\n\t\t\t}",
"ans != 0",
"ans",
"0",
"{\n\t\t\t\tans /= 10;\n\t\t\t\ti++;\n\t\t\t}",
"ans /= 10",
"ans",
"10",
"i++",
"i",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\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 ans = a + b;\n\t\t\tint i = 0;\n\t\t\twhile (ans != 0) {\n\t\t\t\tans /= 10;\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\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 ans = a + b;\n\t\t\tint i = 0;\n\t\t\twhile (ans != 0) {\n\t\t\t\tans /= 10;\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tSystem.out.println(i);\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
while (scan.hasNext()) {
int a = scan.nextInt();
int b = scan.nextInt();
int ans = a + b;
int i = 0;
while (ans != 0) {
ans /= 10;
i++;
}
System.out.println(i);
}
}
} |
[
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
] | [
[
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
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
6,
40
],
[
40,
41
]
] | [
"import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(sc.hasNextInt()){\n\t int b=sc.nextInt();\n\t int c=sc.nextInt();\n\t System.out.println(String.valueOf(b+c).length()\n);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(sc.hasNextInt()){\n\t int b=sc.nextInt();\n\t int c=sc.nextInt();\n\t System.out.println(String.valueOf(b+c).length()\n);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(sc.hasNextInt()){\n\t int b=sc.nextInt();\n\t int c=sc.nextInt();\n\t System.out.println(String.valueOf(b+c).length()\n);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n while(sc.hasNextInt()){\n\t int b=sc.nextInt();\n\t int c=sc.nextInt();\n\t System.out.println(String.valueOf(b+c).length()\n);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNextInt()){\n\t int b=sc.nextInt();\n\t int c=sc.nextInt();\n\t System.out.println(String.valueOf(b+c).length()\n);\n }",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n\t int b=sc.nextInt();\n\t int c=sc.nextInt();\n\t System.out.println(String.valueOf(b+c).length()\n);\n }",
"int b=sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int c=sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(String.valueOf(b+c).length()\n)",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(b+c).length()",
"String.valueOf(b+c).length",
"String.valueOf(b+c)",
"String.valueOf",
"String",
"b+c",
"b",
"c",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
while(sc.hasNextInt()){
int b=sc.nextInt();
int c=sc.nextInt();
System.out.println(String.valueOf(b+c).length()
);
}
}
} |
[
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,
4,
18,
4,
18,
13,
2,
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
],
[
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
],
[
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
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
25,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
9,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\tint length;\n\t\twhile(sc.hasNext()){\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tlength = String.valueOf((a+b)).length();\n\t\t\tSystem.out.println(length);;\n\t\t}\n\t\t\n\t}\n\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\tint length;\n\t\twhile(sc.hasNext()){\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tlength = String.valueOf((a+b)).length();\n\t\t\tSystem.out.println(length);;\n\t\t}\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\tint length;\n\t\twhile(sc.hasNext()){\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tlength = String.valueOf((a+b)).length();\n\t\t\tSystem.out.println(length);;\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\tint length;\n\t\twhile(sc.hasNext()){\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tlength = String.valueOf((a+b)).length();\n\t\t\tSystem.out.println(length);;\n\t\t}\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a",
"a",
"b;",
"b",
"int length;",
"length",
"while(sc.hasNext()){\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tlength = String.valueOf((a+b)).length();\n\t\t\tSystem.out.println(length);;\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tlength = String.valueOf((a+b)).length();\n\t\t\tSystem.out.println(length);;\n\t\t}",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"length = String.valueOf((a+b)).length()",
"length",
"String.valueOf((a+b)).length()",
"String.valueOf((a+b)).length",
"String.valueOf((a+b))",
"String.valueOf",
"String",
"(a+b)",
"a",
"b",
"System.out.println(length)",
"System.out.println",
"System.out",
"System",
"System.out",
"length",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\tint length;\n\t\twhile(sc.hasNext()){\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tlength = String.valueOf((a+b)).length();\n\t\t\tSystem.out.println(length);;\n\t\t}\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\tint length;\n\t\twhile(sc.hasNext()){\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tlength = String.valueOf((a+b)).length();\n\t\t\tSystem.out.println(length);;\n\t\t}\n\t\t\n\t}\n\n}",
"Main"
] | import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException{
Scanner sc = new Scanner(System.in);
int a,b;
int length;
while(sc.hasNext()){
a = sc.nextInt();
b = sc.nextInt();
length = String.valueOf((a+b)).length();
System.out.println(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,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
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
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n \n \n \n while(input.hasNextInt()){\n int x1 =input.nextInt();\n int x2 =input.nextInt();\n int x3 = x1+x2;\n String s1 = String.valueOf(x3);\n System.out.println(s1.length());\n }}\n }",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n \n \n \n while(input.hasNextInt()){\n int x1 =input.nextInt();\n int x2 =input.nextInt();\n int x3 = x1+x2;\n String s1 = String.valueOf(x3);\n System.out.println(s1.length());\n }}\n }",
"Main",
"public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n \n \n \n while(input.hasNextInt()){\n int x1 =input.nextInt();\n int x2 =input.nextInt();\n int x3 = x1+x2;\n String s1 = String.valueOf(x3);\n System.out.println(s1.length());\n }}",
"main",
"{\n Scanner input = new Scanner(System.in);\n \n \n \n while(input.hasNextInt()){\n int x1 =input.nextInt();\n int x2 =input.nextInt();\n int x3 = x1+x2;\n String s1 = String.valueOf(x3);\n System.out.println(s1.length());\n }}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"while(input.hasNextInt()){\n int x1 =input.nextInt();\n int x2 =input.nextInt();\n int x3 = x1+x2;\n String s1 = String.valueOf(x3);\n System.out.println(s1.length());\n }",
"input.hasNextInt()",
"input.hasNextInt",
"input",
"{\n int x1 =input.nextInt();\n int x2 =input.nextInt();\n int x3 = x1+x2;\n String s1 = String.valueOf(x3);\n System.out.println(s1.length());\n }",
"int x1 =input.nextInt();",
"x1",
"input.nextInt()",
"input.nextInt",
"input",
"int x2 =input.nextInt();",
"x2",
"input.nextInt()",
"input.nextInt",
"input",
"int x3 = x1+x2;",
"x3",
"x1+x2",
"x1",
"x2",
"String s1 = String.valueOf(x3);",
"s1",
"String.valueOf(x3)",
"String.valueOf",
"String",
"x3",
"System.out.println(s1.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"s1.length()",
"s1.length",
"s1",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n \n \n \n while(input.hasNextInt()){\n int x1 =input.nextInt();\n int x2 =input.nextInt();\n int x3 = x1+x2;\n String s1 = String.valueOf(x3);\n System.out.println(s1.length());\n }}\n }",
"public class Main{\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n \n \n \n while(input.hasNextInt()){\n int x1 =input.nextInt();\n int x2 =input.nextInt();\n int x3 = x1+x2;\n String s1 = String.valueOf(x3);\n System.out.println(s1.length());\n }}\n }",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
while(input.hasNextInt()){
int x1 =input.nextInt();
int x2 =input.nextInt();
int x3 = x1+x2;
String s1 = String.valueOf(x3);
System.out.println(s1.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,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
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
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(scanner.hasNext()){\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint x =a + b;\n\t\t\tString y = Integer.toString(x);\n\t\t\tSystem.out.println(y.length());\n\t\t}\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(scanner.hasNext()){\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint x =a + b;\n\t\t\tString y = Integer.toString(x);\n\t\t\tSystem.out.println(y.length());\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(scanner.hasNext()){\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint x =a + b;\n\t\t\tString y = Integer.toString(x);\n\t\t\tSystem.out.println(y.length());\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(scanner.hasNext()){\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint x =a + b;\n\t\t\tString y = Integer.toString(x);\n\t\t\tSystem.out.println(y.length());\n\t\t}\n\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\tint x =a + b;\n\t\t\tString y = Integer.toString(x);\n\t\t\tSystem.out.println(y.length());\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\tint x =a + b;\n\t\t\tString y = Integer.toString(x);\n\t\t\tSystem.out.println(y.length());\n\t\t}",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int x =a + b;",
"x",
"a + b",
"a",
"b",
"String y = Integer.toString(x);",
"y",
"Integer.toString(x)",
"Integer.toString",
"Integer",
"x",
"System.out.println(y.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"y.length()",
"y.length",
"y",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(scanner.hasNext()){\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint x =a + b;\n\t\t\tString y = Integer.toString(x);\n\t\t\tSystem.out.println(y.length());\n\t\t}\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(scanner.hasNext()){\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint x =a + b;\n\t\t\tString y = Integer.toString(x);\n\t\t\tSystem.out.println(y.length());\n\t\t}\n\n\t}\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 a = scanner.nextInt();
int b = scanner.nextInt();
int x =a + b;
String y = Integer.toString(x);
System.out.println(y.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
4,
18,
13,
2,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
4,
18,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
40,
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
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
23,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
23,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
23,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
23,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
23,
70
],
[
70,
71
],
[
6,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint count =0;\n\t\t\n\t\twhile(sc.hasNext() && count < 201){\n\t\t\t\n\t\t\t\tString a = sc.nextLine();\n\t String[] array = a.split(\" \");\n\t\t\t\tint x = Integer.parseInt(array[0]);\n\t\t\t\tint y = Integer.parseInt(array[1]);\n\t\t\t\tint val = x+y;\n\t\t\t\tint valLen = String.valueOf( val ).length();\n\t\t\t\tSystem.out.println(valLen);\n\t\t\t\n\t\t\t\tcount++;\n\t\t\t\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint count =0;\n\t\t\n\t\twhile(sc.hasNext() && count < 201){\n\t\t\t\n\t\t\t\tString a = sc.nextLine();\n\t String[] array = a.split(\" \");\n\t\t\t\tint x = Integer.parseInt(array[0]);\n\t\t\t\tint y = Integer.parseInt(array[1]);\n\t\t\t\tint val = x+y;\n\t\t\t\tint valLen = String.valueOf( val ).length();\n\t\t\t\tSystem.out.println(valLen);\n\t\t\t\n\t\t\t\tcount++;\n\t\t\t\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint count =0;\n\t\t\n\t\twhile(sc.hasNext() && count < 201){\n\t\t\t\n\t\t\t\tString a = sc.nextLine();\n\t String[] array = a.split(\" \");\n\t\t\t\tint x = Integer.parseInt(array[0]);\n\t\t\t\tint y = Integer.parseInt(array[1]);\n\t\t\t\tint val = x+y;\n\t\t\t\tint valLen = String.valueOf( val ).length();\n\t\t\t\tSystem.out.println(valLen);\n\t\t\t\n\t\t\t\tcount++;\n\t\t\t\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint count =0;\n\t\t\n\t\twhile(sc.hasNext() && count < 201){\n\t\t\t\n\t\t\t\tString a = sc.nextLine();\n\t String[] array = a.split(\" \");\n\t\t\t\tint x = Integer.parseInt(array[0]);\n\t\t\t\tint y = Integer.parseInt(array[1]);\n\t\t\t\tint val = x+y;\n\t\t\t\tint valLen = String.valueOf( val ).length();\n\t\t\t\tSystem.out.println(valLen);\n\t\t\t\n\t\t\t\tcount++;\n\t\t\t\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int count =0;",
"count",
"0",
"while(sc.hasNext() && count < 201){\n\t\t\t\n\t\t\t\tString a = sc.nextLine();\n\t String[] array = a.split(\" \");\n\t\t\t\tint x = Integer.parseInt(array[0]);\n\t\t\t\tint y = Integer.parseInt(array[1]);\n\t\t\t\tint val = x+y;\n\t\t\t\tint valLen = String.valueOf( val ).length();\n\t\t\t\tSystem.out.println(valLen);\n\t\t\t\n\t\t\t\tcount++;\n\t\t\t\n\t\t}",
"sc.hasNext() && count < 201",
"sc.hasNext()",
"sc.hasNext",
"sc",
"count < 201",
"count",
"201",
"{\n\t\t\t\n\t\t\t\tString a = sc.nextLine();\n\t String[] array = a.split(\" \");\n\t\t\t\tint x = Integer.parseInt(array[0]);\n\t\t\t\tint y = Integer.parseInt(array[1]);\n\t\t\t\tint val = x+y;\n\t\t\t\tint valLen = String.valueOf( val ).length();\n\t\t\t\tSystem.out.println(valLen);\n\t\t\t\n\t\t\t\tcount++;\n\t\t\t\n\t\t}",
"String a = sc.nextLine();",
"a",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] array = a.split(\" \");",
"array",
"a.split(\" \")",
"a.split",
"a",
"\" \"",
"int x = Integer.parseInt(array[0]);",
"x",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"int y = Integer.parseInt(array[1]);",
"y",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"int val = x+y;",
"val",
"x+y",
"x",
"y",
"int valLen = String.valueOf( val ).length();",
"valLen",
"String.valueOf( val ).length()",
"String.valueOf( val ).length",
"String.valueOf( val )",
"String.valueOf",
"String",
"val",
"System.out.println(valLen)",
"System.out.println",
"System.out",
"System",
"System.out",
"valLen",
"count++",
"count",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint count =0;\n\t\t\n\t\twhile(sc.hasNext() && count < 201){\n\t\t\t\n\t\t\t\tString a = sc.nextLine();\n\t String[] array = a.split(\" \");\n\t\t\t\tint x = Integer.parseInt(array[0]);\n\t\t\t\tint y = Integer.parseInt(array[1]);\n\t\t\t\tint val = x+y;\n\t\t\t\tint valLen = String.valueOf( val ).length();\n\t\t\t\tSystem.out.println(valLen);\n\t\t\t\n\t\t\t\tcount++;\n\t\t\t\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint count =0;\n\t\t\n\t\twhile(sc.hasNext() && count < 201){\n\t\t\t\n\t\t\t\tString a = sc.nextLine();\n\t String[] array = a.split(\" \");\n\t\t\t\tint x = Integer.parseInt(array[0]);\n\t\t\t\tint y = Integer.parseInt(array[1]);\n\t\t\t\tint val = x+y;\n\t\t\t\tint valLen = String.valueOf( val ).length();\n\t\t\t\tSystem.out.println(valLen);\n\t\t\t\n\t\t\t\tcount++;\n\t\t\t\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int count =0;
while(sc.hasNext() && count < 201){
String a = sc.nextLine();
String[] array = a.split(" ");
int x = Integer.parseInt(array[0]);
int y = Integer.parseInt(array[1]);
int val = x+y;
int valLen = String.valueOf( val ).length();
System.out.println(valLen);
count++;
}
}
} |
[
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,
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
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
49,
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
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
16,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
9,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tstatic Scanner sc = new java.util.Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\twhile ( sc.hasNext() ){\n\t\t\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tint s = a + b ;\n\t\tString str = Integer.toString( s );\n\t\t\n\t\tSystem.out.println( str.length() );\n\t\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tstatic Scanner sc = new java.util.Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\twhile ( sc.hasNext() ){\n\t\t\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tint s = a + b ;\n\t\tString str = Integer.toString( s );\n\t\t\n\t\tSystem.out.println( str.length() );\n\t\n\t\t}\n\n\t}\n\n}",
"Main",
"static Scanner sc = new java.util.Scanner(System.in);",
"sc",
"new java.util.Scanner(System.in)",
"public static void main(String[] args) {\n\t\t\n\t\twhile ( sc.hasNext() ){\n\t\t\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tint s = a + b ;\n\t\tString str = Integer.toString( s );\n\t\t\n\t\tSystem.out.println( str.length() );\n\t\n\t\t}\n\n\t}",
"main",
"{\n\t\t\n\t\twhile ( sc.hasNext() ){\n\t\t\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tint s = a + b ;\n\t\tString str = Integer.toString( s );\n\t\t\n\t\tSystem.out.println( str.length() );\n\t\n\t\t}\n\n\t}",
"while ( sc.hasNext() ){\n\t\t\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tint s = a + b ;\n\t\tString str = Integer.toString( s );\n\t\t\n\t\tSystem.out.println( str.length() );\n\t\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tint s = a + b ;\n\t\tString str = Integer.toString( s );\n\t\t\n\t\tSystem.out.println( str.length() );\n\t\n\t\t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int s = a + b ;",
"s",
"a + b",
"a",
"b",
"String str = Integer.toString( s );",
"str",
"Integer.toString( s )",
"Integer.toString",
"Integer",
"s",
"System.out.println( str.length() )",
"System.out.println",
"System.out",
"System",
"System.out",
"str.length()",
"str.length",
"str",
"String[] args",
"args",
"public class Main {\n\tstatic Scanner sc = new java.util.Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\twhile ( sc.hasNext() ){\n\t\t\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tint s = a + b ;\n\t\tString str = Integer.toString( s );\n\t\t\n\t\tSystem.out.println( str.length() );\n\t\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\tstatic Scanner sc = new java.util.Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\twhile ( sc.hasNext() ){\n\t\t\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tint s = a + b ;\n\t\tString str = Integer.toString( s );\n\t\t\n\t\tSystem.out.println( str.length() );\n\t\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
static Scanner sc = new java.util.Scanner(System.in);
public static void main(String[] args) {
while ( sc.hasNext() ){
int a = sc.nextInt();
int b = sc.nextInt();
int s = a + b ;
String str = Integer.toString( s );
System.out.println( str.length() );
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
4,
18,
18,
13,
13,
4,
18,
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
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
6,
34
],
[
34,
35
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] a){\n Scanner s = new Scanner(System.in);\n\n while(s.hasNext()){\n System.out.println(String.valueOf(s.nextInt() + s.nextInt()).length());\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] a){\n Scanner s = new Scanner(System.in);\n\n while(s.hasNext()){\n System.out.println(String.valueOf(s.nextInt() + s.nextInt()).length());\n }\n }\n}",
"Main",
"public static void main(String[] a){\n Scanner s = new Scanner(System.in);\n\n while(s.hasNext()){\n System.out.println(String.valueOf(s.nextInt() + s.nextInt()).length());\n }\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n\n while(s.hasNext()){\n System.out.println(String.valueOf(s.nextInt() + s.nextInt()).length());\n }\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"while(s.hasNext()){\n System.out.println(String.valueOf(s.nextInt() + s.nextInt()).length());\n }",
"s.hasNext()",
"s.hasNext",
"s",
"{\n System.out.println(String.valueOf(s.nextInt() + s.nextInt()).length());\n }",
"System.out.println(String.valueOf(s.nextInt() + s.nextInt()).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(s.nextInt() + s.nextInt()).length()",
"String.valueOf(s.nextInt() + s.nextInt()).length",
"String.valueOf(s.nextInt() + s.nextInt())",
"String.valueOf",
"String",
"s.nextInt() + s.nextInt()",
"s.nextInt()",
"s.nextInt",
"s",
"s.nextInt()",
"s.nextInt",
"s",
"String[] a",
"a"
] | import java.util.Scanner;
class Main{
public static void main(String[] a){
Scanner s = new Scanner(System.in);
while(s.hasNext()){
System.out.println(String.valueOf(s.nextInt() + s.nextInt()).length());
}
}
} |
[
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,
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
] | [
[
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
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
47,
53
],
[
53,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
70,
71
],
[
65,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
76,
77
],
[
59,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
83,
88
],
[
59,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
33,
94
],
[
94,
95
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\nimport java.lang.*;\nimport java.lang.Exception;\nimport java.lang.Integer;\nimport java.lang.Math;\nimport java.lang.String;\nimport java.lang.System;\nimport java.util.StringTokenizer;\n\n\nclass Main {\n public static void main(String[] a) throws IOException {\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\n try {\n String s = r.readLine();\n StringTokenizer st;\n while(s != null) {\n st = new StringTokenizer(s);\n int sum = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n System.out.println((int)Math.log10(sum) + 1);\n s = r.readLine();\n }\n } catch (Exception e) {\n System.exit(0);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.lang.*;",
"lang.*",
"java",
"import java.lang.Exception;",
"Exception",
"java.lang",
"import java.lang.Integer;",
"Integer",
"java.lang",
"import java.lang.Math;",
"Math",
"java.lang",
"import java.lang.String;",
"String",
"java.lang",
"import java.lang.System;",
"System",
"java.lang",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"class Main {\n public static void main(String[] a) throws IOException {\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\n try {\n String s = r.readLine();\n StringTokenizer st;\n while(s != null) {\n st = new StringTokenizer(s);\n int sum = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n System.out.println((int)Math.log10(sum) + 1);\n s = r.readLine();\n }\n } catch (Exception e) {\n System.exit(0);\n }\n }\n}",
"Main",
"public static void main(String[] a) throws IOException {\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\n try {\n String s = r.readLine();\n StringTokenizer st;\n while(s != null) {\n st = new StringTokenizer(s);\n int sum = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n System.out.println((int)Math.log10(sum) + 1);\n s = r.readLine();\n }\n } catch (Exception e) {\n System.exit(0);\n }\n }",
"main",
"{\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\n try {\n String s = r.readLine();\n StringTokenizer st;\n while(s != null) {\n st = new StringTokenizer(s);\n int sum = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n System.out.println((int)Math.log10(sum) + 1);\n s = r.readLine();\n }\n } catch (Exception e) {\n System.exit(0);\n }\n }",
"BufferedReader r = new BufferedReader(new InputStreamReader(System.in));",
"r",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n String s = r.readLine();\n StringTokenizer st;\n while(s != null) {\n st = new StringTokenizer(s);\n int sum = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n System.out.println((int)Math.log10(sum) + 1);\n s = r.readLine();\n }\n } catch (Exception e) {\n System.exit(0);\n }",
"catch (Exception e) {\n System.exit(0);\n }",
"Exception e",
"{\n System.exit(0);\n }",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n String s = r.readLine();\n StringTokenizer st;\n while(s != null) {\n st = new StringTokenizer(s);\n int sum = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n System.out.println((int)Math.log10(sum) + 1);\n s = r.readLine();\n }\n }",
"String s = r.readLine();",
"s",
"r.readLine()",
"r.readLine",
"r",
"StringTokenizer st;",
"st",
"while(s != null) {\n st = new StringTokenizer(s);\n int sum = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n System.out.println((int)Math.log10(sum) + 1);\n s = r.readLine();\n }",
"s != null",
"s",
"null",
"{\n st = new StringTokenizer(s);\n int sum = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n System.out.println((int)Math.log10(sum) + 1);\n s = r.readLine();\n }",
"st = new StringTokenizer(s)",
"st",
"new StringTokenizer(s)",
"int sum = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());",
"sum",
"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(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 = r.readLine()",
"s",
"r.readLine()",
"r.readLine",
"r",
"String[] a",
"a"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.lang.*;
import java.lang.Exception;
import java.lang.Integer;
import java.lang.Math;
import java.lang.String;
import java.lang.System;
import java.util.StringTokenizer;
class Main {
public static void main(String[] a) throws IOException {
BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
try {
String s = r.readLine();
StringTokenizer st;
while(s != null) {
st = new StringTokenizer(s);
int sum = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());
System.out.println((int)Math.log10(sum) + 1);
s = r.readLine();
}
} catch (Exception e) {
System.exit(0);
}
}
} |
[
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,
17,
28,
13,
13,
30,
30,
38,
5,
13,
30,
0,
13,
17,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
81,
11
],
[
81,
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
],
[
27,
37
],
[
37,
38
],
[
37,
39
],
[
37,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
42,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
27,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
27,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
27,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
12,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\npublic class Main {\n\n public static void main( String[] args ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String n = br.readLine();\n while (n != null) {\n String[] sp = n.split(\" \");\n int result = 0;\n for (String str : sp) {\n try {\n result += Integer.parseInt(str);\n } catch (NumberFormatException ex) {\n result = 0;\n }\n }\n if (result == 0) {\n break;\n }\n System.out.println(String.valueOf(result).length());\n n = br.readLine();\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n public static void main( String[] args ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String n = br.readLine();\n while (n != null) {\n String[] sp = n.split(\" \");\n int result = 0;\n for (String str : sp) {\n try {\n result += Integer.parseInt(str);\n } catch (NumberFormatException ex) {\n result = 0;\n }\n }\n if (result == 0) {\n break;\n }\n System.out.println(String.valueOf(result).length());\n n = 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 n = br.readLine();\n while (n != null) {\n String[] sp = n.split(\" \");\n int result = 0;\n for (String str : sp) {\n try {\n result += Integer.parseInt(str);\n } catch (NumberFormatException ex) {\n result = 0;\n }\n }\n if (result == 0) {\n break;\n }\n System.out.println(String.valueOf(result).length());\n n = br.readLine();\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String n = br.readLine();\n while (n != null) {\n String[] sp = n.split(\" \");\n int result = 0;\n for (String str : sp) {\n try {\n result += Integer.parseInt(str);\n } catch (NumberFormatException ex) {\n result = 0;\n }\n }\n if (result == 0) {\n break;\n }\n System.out.println(String.valueOf(result).length());\n n = br.readLine();\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String n = br.readLine();",
"n",
"br.readLine()",
"br.readLine",
"br",
"while (n != null) {\n String[] sp = n.split(\" \");\n int result = 0;\n for (String str : sp) {\n try {\n result += Integer.parseInt(str);\n } catch (NumberFormatException ex) {\n result = 0;\n }\n }\n if (result == 0) {\n break;\n }\n System.out.println(String.valueOf(result).length());\n n = br.readLine();\n }",
"n != null",
"n",
"null",
"{\n String[] sp = n.split(\" \");\n int result = 0;\n for (String str : sp) {\n try {\n result += Integer.parseInt(str);\n } catch (NumberFormatException ex) {\n result = 0;\n }\n }\n if (result == 0) {\n break;\n }\n System.out.println(String.valueOf(result).length());\n n = br.readLine();\n }",
"String[] sp = n.split(\" \");",
"sp",
"n.split(\" \")",
"n.split",
"n",
"\" \"",
"int result = 0;",
"result",
"0",
"for (String str : sp) {\n try {\n result += Integer.parseInt(str);\n } catch (NumberFormatException ex) {\n result = 0;\n }\n }",
"String str",
"sp",
"{\n try {\n result += Integer.parseInt(str);\n } catch (NumberFormatException ex) {\n result = 0;\n }\n }",
"{\n try {\n result += Integer.parseInt(str);\n } catch (NumberFormatException ex) {\n result = 0;\n }\n }",
"try {\n result += Integer.parseInt(str);\n } catch (NumberFormatException ex) {\n result = 0;\n }",
"catch (NumberFormatException ex) {\n result = 0;\n }",
"NumberFormatException ex",
"{\n result = 0;\n }",
"result = 0",
"result",
"0",
"{\n result += Integer.parseInt(str);\n }",
"result += Integer.parseInt(str)",
"result",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"if (result == 0) {\n break;\n }",
"result == 0",
"result",
"0",
"{\n break;\n }",
"break;",
"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",
"n = br.readLine()",
"n",
"br.readLine()",
"br.readLine",
"br",
"String[] args",
"args",
"public class Main {\n\n public static void main( String[] args ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String n = br.readLine();\n while (n != null) {\n String[] sp = n.split(\" \");\n int result = 0;\n for (String str : sp) {\n try {\n result += Integer.parseInt(str);\n } catch (NumberFormatException ex) {\n result = 0;\n }\n }\n if (result == 0) {\n break;\n }\n System.out.println(String.valueOf(result).length());\n n = br.readLine();\n }\n }\n}",
"public class Main {\n\n public static void main( String[] args ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String n = br.readLine();\n while (n != null) {\n String[] sp = n.split(\" \");\n int result = 0;\n for (String str : sp) {\n try {\n result += Integer.parseInt(str);\n } catch (NumberFormatException ex) {\n result = 0;\n }\n }\n if (result == 0) {\n break;\n }\n System.out.println(String.valueOf(result).length());\n n = br.readLine();\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main( String[] args ) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String n = br.readLine();
while (n != null) {
String[] sp = n.split(" ");
int result = 0;
for (String str : sp) {
try {
result += Integer.parseInt(str);
} catch (NumberFormatException ex) {
result = 0;
}
}
if (result == 0) {
break;
}
System.out.println(String.valueOf(result).length());
n = br.readLine();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
4,
18,
13,
4,
18,
4,
18,
13,
17,
4,
18,
13,
2,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
41,
13,
4,
18,
13,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
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
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
39,
49
],
[
49,
50
],
[
49,
51
],
[
39,
52
],
[
52,
53
],
[
53,
54
],
[
39,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
6,
66
],
[
66,
67
]
] | [
"import java.util.*;\n\nclass Main{\n public static void main(String[] args){\n ArrayList<Integer> list = new ArrayList<Integer>();\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n list.add(String.format(\"%d\",Math.abs(sc.nextInt() + sc.nextInt())).length());\n }\n for(int i = 0,size = list.size();i < size;i++){\n System.out.println(list.get(i));\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n ArrayList<Integer> list = new ArrayList<Integer>();\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n list.add(String.format(\"%d\",Math.abs(sc.nextInt() + sc.nextInt())).length());\n }\n for(int i = 0,size = list.size();i < size;i++){\n System.out.println(list.get(i));\n }\n }\n}",
"Main",
"public static void main(String[] args){\n ArrayList<Integer> list = new ArrayList<Integer>();\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n list.add(String.format(\"%d\",Math.abs(sc.nextInt() + sc.nextInt())).length());\n }\n for(int i = 0,size = list.size();i < size;i++){\n System.out.println(list.get(i));\n }\n }",
"main",
"{\n ArrayList<Integer> list = new ArrayList<Integer>();\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n list.add(String.format(\"%d\",Math.abs(sc.nextInt() + sc.nextInt())).length());\n }\n for(int i = 0,size = list.size();i < size;i++){\n System.out.println(list.get(i));\n }\n }",
"ArrayList<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()){\n list.add(String.format(\"%d\",Math.abs(sc.nextInt() + sc.nextInt())).length());\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n list.add(String.format(\"%d\",Math.abs(sc.nextInt() + sc.nextInt())).length());\n }",
"list.add(String.format(\"%d\",Math.abs(sc.nextInt() + sc.nextInt())).length())",
"list.add",
"list",
"String.format(\"%d\",Math.abs(sc.nextInt() + sc.nextInt())).length()",
"String.format(\"%d\",Math.abs(sc.nextInt() + sc.nextInt())).length",
"String.format(\"%d\",Math.abs(sc.nextInt() + sc.nextInt()))",
"String.format",
"String",
"\"%d\"",
"Math.abs(sc.nextInt() + sc.nextInt())",
"Math.abs",
"Math",
"sc.nextInt() + sc.nextInt()",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i = 0,size = list.size();i < size;i++){\n System.out.println(list.get(i));\n }",
"int i = 0,size = list.size();",
"int i = 0",
"i",
"0",
"size = list.size();",
"size",
"list.size()",
"list.size",
"list",
"i < size",
"i",
"size",
"i++",
"i++",
"i",
"{\n System.out.println(list.get(i));\n }",
"{\n System.out.println(list.get(i));\n }",
"System.out.println(list.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(i)",
"list.get",
"list",
"i",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main(String[] args){
ArrayList<Integer> list = new ArrayList<Integer>();
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
list.add(String.format("%d",Math.abs(sc.nextInt() + sc.nextInt())).length());
}
for(int i = 0,size = list.size();i < size;i++){
System.out.println(list.get(i));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
13,
17,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
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
],
[
67,
5
],
[
67,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
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
],
[
27,
28
],
[
28,
29
],
[
25,
30
],
[
25,
31
],
[
22,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
22,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
22,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
22,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint a, b;\n\t\tString sum;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (scan.hasNext()) {\n\t\t\tString num[] = scan.nextLine().split(\" \", 0);\n\t\t\ta = Integer.parseInt(num[0]);\n\t\t\tb = Integer.parseInt(num[1]);\n\t\t\tsum = String.valueOf(a+b);\n\t\t\tSystem.out.println(sum.length());\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\tint a, b;\n\t\tString sum;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (scan.hasNext()) {\n\t\t\tString num[] = scan.nextLine().split(\" \", 0);\n\t\t\ta = Integer.parseInt(num[0]);\n\t\t\tb = Integer.parseInt(num[1]);\n\t\t\tsum = String.valueOf(a+b);\n\t\t\tSystem.out.println(sum.length());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tint a, b;\n\t\tString sum;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (scan.hasNext()) {\n\t\t\tString num[] = scan.nextLine().split(\" \", 0);\n\t\t\ta = Integer.parseInt(num[0]);\n\t\t\tb = Integer.parseInt(num[1]);\n\t\t\tsum = String.valueOf(a+b);\n\t\t\tSystem.out.println(sum.length());\n\t\t}\n\t}",
"main",
"{\n\t\tint a, b;\n\t\tString sum;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (scan.hasNext()) {\n\t\t\tString num[] = scan.nextLine().split(\" \", 0);\n\t\t\ta = Integer.parseInt(num[0]);\n\t\t\tb = Integer.parseInt(num[1]);\n\t\t\tsum = String.valueOf(a+b);\n\t\t\tSystem.out.println(sum.length());\n\t\t}\n\t}",
"int a",
"a",
"b;",
"b",
"String sum;",
"sum",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while (scan.hasNext()) {\n\t\t\tString num[] = scan.nextLine().split(\" \", 0);\n\t\t\ta = Integer.parseInt(num[0]);\n\t\t\tb = Integer.parseInt(num[1]);\n\t\t\tsum = String.valueOf(a+b);\n\t\t\tSystem.out.println(sum.length());\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\tString num[] = scan.nextLine().split(\" \", 0);\n\t\t\ta = Integer.parseInt(num[0]);\n\t\t\tb = Integer.parseInt(num[1]);\n\t\t\tsum = String.valueOf(a+b);\n\t\t\tSystem.out.println(sum.length());\n\t\t}",
"String num[] = scan.nextLine().split(\" \", 0);",
"num",
"scan.nextLine().split(\" \", 0)",
"scan.nextLine().split",
"scan.nextLine()",
"scan.nextLine",
"scan",
"\" \"",
"0",
"a = Integer.parseInt(num[0])",
"a",
"Integer.parseInt(num[0])",
"Integer.parseInt",
"Integer",
"num[0]",
"num",
"0",
"b = Integer.parseInt(num[1])",
"b",
"Integer.parseInt(num[1])",
"Integer.parseInt",
"Integer",
"num[1]",
"num",
"1",
"sum = String.valueOf(a+b)",
"sum",
"String.valueOf(a+b)",
"String.valueOf",
"String",
"a+b",
"a",
"b",
"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\tpublic static void main(String[] args) {\n\t\tint a, b;\n\t\tString sum;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (scan.hasNext()) {\n\t\t\tString num[] = scan.nextLine().split(\" \", 0);\n\t\t\ta = Integer.parseInt(num[0]);\n\t\t\tb = Integer.parseInt(num[1]);\n\t\t\tsum = String.valueOf(a+b);\n\t\t\tSystem.out.println(sum.length());\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint a, b;\n\t\tString sum;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (scan.hasNext()) {\n\t\t\tString num[] = scan.nextLine().split(\" \", 0);\n\t\t\ta = Integer.parseInt(num[0]);\n\t\t\tb = Integer.parseInt(num[1]);\n\t\t\tsum = String.valueOf(a+b);\n\t\t\tSystem.out.println(sum.length());\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int a, b;
String sum;
Scanner scan = new Scanner(System.in);
while (scan.hasNext()) {
String num[] = scan.nextLine().split(" ", 0);
a = Integer.parseInt(num[0]);
b = Integer.parseInt(num[1]);
sum = String.valueOf(a+b);
System.out.println(sum.length());
}
}
} |
[
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,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
4,
18,
13,
2,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
64,
5
],
[
64,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
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
],
[
28,
31
],
[
20,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
20,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
20,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
53,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] | [
"import java.util.*;\n/*\nMain class for AOJ where there is no input.\n*/\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n String[] arr;\n \n while(sc.hasNext()){\n str = sc.nextLine();\n arr = str.split(\" \");\n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n \n System.out.println((int)Math.log10(a+b)+1);\n }\n }//main\n}//class",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n String[] arr;\n \n while(sc.hasNext()){\n str = sc.nextLine();\n arr = str.split(\" \");\n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n \n System.out.println((int)Math.log10(a+b)+1);\n }\n }//main\n}//class",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n String[] arr;\n \n while(sc.hasNext()){\n str = sc.nextLine();\n arr = str.split(\" \");\n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n \n System.out.println((int)Math.log10(a+b)+1);\n }\n }//main",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String str;\n String[] arr;\n \n while(sc.hasNext()){\n str = sc.nextLine();\n arr = str.split(\" \");\n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n \n System.out.println((int)Math.log10(a+b)+1);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str;",
"str",
"String[] arr;",
"arr",
"while(sc.hasNext()){\n str = sc.nextLine();\n arr = str.split(\" \");\n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n \n System.out.println((int)Math.log10(a+b)+1);\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n str = sc.nextLine();\n arr = str.split(\" \");\n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n \n System.out.println((int)Math.log10(a+b)+1);\n }",
"str = sc.nextLine()",
"str",
"sc.nextLine()",
"sc.nextLine",
"sc",
"arr = str.split(\" \")",
"arr",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"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((int)Math.log10(a+b)+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)Math.log10(a+b)+1",
"(int)Math.log10(a+b)",
"Math.log10",
"Math",
"a+b",
"a",
"b",
"1",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n String[] arr;\n \n while(sc.hasNext()){\n str = sc.nextLine();\n arr = str.split(\" \");\n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n \n System.out.println((int)Math.log10(a+b)+1);\n }\n }//main\n}//class",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n String[] arr;\n \n while(sc.hasNext()){\n str = sc.nextLine();\n arr = str.split(\" \");\n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n \n System.out.println((int)Math.log10(a+b)+1);\n }\n }//main\n}//class",
"Main"
] | import java.util.*;
/*
Main class for AOJ where there is no input.
*/
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String str;
String[] arr;
while(sc.hasNext()){
str = sc.nextLine();
arr = str.split(" ");
int a = Integer.parseInt(arr[0]);
int b = Integer.parseInt(arr[1]);
System.out.println((int)Math.log10(a+b)+1);
}
}//main
}//class |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
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,
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
],
[
10,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
15,
46
],
[
46,
47
]
] | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\nclass Main {\n\tstatic List<Integer> list = new ArrayList<Integer>();\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\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.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tstatic List<Integer> list = new ArrayList<Integer>();\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\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",
"static List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\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}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\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",
"String[] args",
"args"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
class Main {
static List<Integer> list = new ArrayList<Integer>();
public static void main(String[] args) {
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,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
38,
5,
13,
30,
4,
18,
13,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
2,
2,
17,
13,
2,
13,
17,
2,
17,
13,
2,
13,
17,
30,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
92,
11
],
[
92,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
20,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
36,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
36,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
36,
59
],
[
59,
60
],
[
62,
61
],
[
69,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
66,
68
],
[
69,
69
],
[
69,
70
],
[
69,
71
],
[
62,
72
],
[
72,
73
],
[
72,
74
],
[
59,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
86,
87
],
[
86,
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\tpublic static void main(String[] args) {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\ttry {\n\t\t\twhile ((str = br.readLine()) != null) {\n\t\t\t\tString[] num = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\t\tint b = Integer.parseInt(num[1]);\n\t\t\t\tif (0 <= a && a <= 1000000 && 0 <= b && b <= 1000000) {\n\t\t\t\t\tSystem.out.println(Integer.toString(a + b).length());\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[] args) {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\ttry {\n\t\t\twhile ((str = br.readLine()) != null) {\n\t\t\t\tString[] num = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\t\tint b = Integer.parseInt(num[1]);\n\t\t\t\tif (0 <= a && a <= 1000000 && 0 <= b && b <= 1000000) {\n\t\t\t\t\tSystem.out.println(Integer.toString(a + b).length());\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[] args) {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\ttry {\n\t\t\twhile ((str = br.readLine()) != null) {\n\t\t\t\tString[] num = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\t\tint b = Integer.parseInt(num[1]);\n\t\t\t\tif (0 <= a && a <= 1000000 && 0 <= b && b <= 1000000) {\n\t\t\t\t\tSystem.out.println(Integer.toString(a + b).length());\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\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\ttry {\n\t\t\twhile ((str = br.readLine()) != null) {\n\t\t\t\tString[] num = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\t\tint b = Integer.parseInt(num[1]);\n\t\t\t\tif (0 <= a && a <= 1000000 && 0 <= b && b <= 1000000) {\n\t\t\t\t\tSystem.out.println(Integer.toString(a + b).length());\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 = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"try {\n\t\t\twhile ((str = br.readLine()) != null) {\n\t\t\t\tString[] num = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\t\tint b = Integer.parseInt(num[1]);\n\t\t\t\tif (0 <= a && a <= 1000000 && 0 <= b && b <= 1000000) {\n\t\t\t\t\tSystem.out.println(Integer.toString(a + b).length());\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\t\t\t\tString[] num = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\t\tint b = Integer.parseInt(num[1]);\n\t\t\t\tif (0 <= a && a <= 1000000 && 0 <= b && b <= 1000000) {\n\t\t\t\t\tSystem.out.println(Integer.toString(a + b).length());\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"while ((str = br.readLine()) != null) {\n\t\t\t\tString[] num = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\t\tint b = Integer.parseInt(num[1]);\n\t\t\t\tif (0 <= a && a <= 1000000 && 0 <= b && b <= 1000000) {\n\t\t\t\t\tSystem.out.println(Integer.toString(a + b).length());\n\t\t\t\t}\n\t\t\t}",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\t\tString[] num = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\t\tint b = Integer.parseInt(num[1]);\n\t\t\t\tif (0 <= a && a <= 1000000 && 0 <= b && b <= 1000000) {\n\t\t\t\t\tSystem.out.println(Integer.toString(a + b).length());\n\t\t\t\t}\n\t\t\t}",
"String[] num = str.split(\" \");",
"num",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int a = Integer.parseInt(num[0]);",
"a",
"Integer.parseInt(num[0])",
"Integer.parseInt",
"Integer",
"num[0]",
"num",
"0",
"int b = Integer.parseInt(num[1]);",
"b",
"Integer.parseInt(num[1])",
"Integer.parseInt",
"Integer",
"num[1]",
"num",
"1",
"if (0 <= a && a <= 1000000 && 0 <= b && b <= 1000000) {\n\t\t\t\t\tSystem.out.println(Integer.toString(a + b).length());\n\t\t\t\t}",
"0 <= a && a <= 1000000 && 0 <= b && b <= 1000000",
"0 <= b",
"0 <= a && a <= 1000000 && 0 <= b && b <= 1000000",
"0 <= a",
"0",
"a",
"a <= 1000000",
"a",
"1000000",
"0 <= b",
"0",
"b",
"b <= 1000000",
"b",
"1000000",
"{\n\t\t\t\t\tSystem.out.println(Integer.toString(a + b).length());\n\t\t\t\t}",
"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\tpublic static void main(String[] args) {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\ttry {\n\t\t\twhile ((str = br.readLine()) != null) {\n\t\t\t\tString[] num = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\t\tint b = Integer.parseInt(num[1]);\n\t\t\t\tif (0 <= a && a <= 1000000 && 0 <= b && b <= 1000000) {\n\t\t\t\t\tSystem.out.println(Integer.toString(a + b).length());\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[] args) {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\ttry {\n\t\t\twhile ((str = br.readLine()) != null) {\n\t\t\t\tString[] num = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\t\tint b = Integer.parseInt(num[1]);\n\t\t\t\tif (0 <= a && a <= 1000000 && 0 <= b && b <= 1000000) {\n\t\t\t\t\tSystem.out.println(Integer.toString(a + b).length());\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[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
try {
while ((str = br.readLine()) != null) {
String[] num = str.split(" ");
int a = Integer.parseInt(num[0]);
int b = Integer.parseInt(num[1]);
if (0 <= a && a <= 1000000 && 0 <= b && b <= 1000000) {
System.out.println(Integer.toString(a + b).length());
}
}
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
14,
2,
13,
17,
37,
20,
41,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
41,
13,
2,
17,
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
],
[
10,
11
],
[
10,
12
],
[
9,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
22,
27
],
[
19,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
19,
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
],
[
19,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
19,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
6,
62
],
[
62,
63
]
] | [
"import java.io.*;\nclass Main{\n public static void main(String[] args) {\n try{\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[] str = br.readLine().split(\"\\\\s\");\n if(str == null) throw new Exception();\n int a = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n String b = \"\" + a;\n System.out.println(b.length());\n }\n }catch(Exception e){}\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] args) {\n try{\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[] str = br.readLine().split(\"\\\\s\");\n if(str == null) throw new Exception();\n int a = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n String b = \"\" + a;\n System.out.println(b.length());\n }\n }catch(Exception e){}\n }\n}",
"Main",
"public static void main(String[] args) {\n try{\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[] str = br.readLine().split(\"\\\\s\");\n if(str == null) throw new Exception();\n int a = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n String b = \"\" + a;\n System.out.println(b.length());\n }\n }catch(Exception e){}\n }",
"main",
"{\n try{\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[] str = br.readLine().split(\"\\\\s\");\n if(str == null) throw new Exception();\n int a = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n String b = \"\" + a;\n System.out.println(b.length());\n }\n }catch(Exception e){}\n }",
"try{\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[] str = br.readLine().split(\"\\\\s\");\n if(str == null) throw new Exception();\n int a = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n String b = \"\" + a;\n System.out.println(b.length());\n }\n }catch(Exception e){}",
"catch(Exception e){}",
"Exception e",
"{}",
"{\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[] str = br.readLine().split(\"\\\\s\");\n if(str == null) throw new Exception();\n int a = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n String b = \"\" + a;\n System.out.println(b.length());\n }\n }",
"BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n String[] str = br.readLine().split(\"\\\\s\");\n if(str == null) throw new Exception();\n int a = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n String b = \"\" + a;\n System.out.println(b.length());\n }",
"true",
"{\n String[] str = br.readLine().split(\"\\\\s\");\n if(str == null) throw new Exception();\n int a = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);\n String b = \"\" + a;\n System.out.println(b.length());\n }",
"String[] str = br.readLine().split(\"\\\\s\");",
"str",
"br.readLine().split(\"\\\\s\")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\"\\\\s\"",
"if(str == null) throw new Exception();",
"str == null",
"str",
"null",
"throw new Exception();",
"new Exception()",
"int a = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);",
"a",
"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",
"String b = \"\" + a;",
"b",
"\"\" + a",
"\"\"",
"a",
"System.out.println(b.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"b.length()",
"b.length",
"b",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args) {
try{
BufferedReader br =
new BufferedReader(new InputStreamReader(System.in));
while(true){
String[] str = br.readLine().split("\\s");
if(str == null) throw new Exception();
int a = Integer.parseInt(str[0]) + Integer.parseInt(str[1]);
String b = "" + a;
System.out.println(b.length());
}
}catch(Exception e){}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
38,
5,
13,
30,
3,
30,
41,
13,
4,
18,
13,
17,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
41,
13,
2,
18,
13,
17,
18,
13,
17,
41,
13,
17,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
106,
8
],
[
106,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
12,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
39,
46
],
[
46,
47
],
[
46,
48
],
[
39,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
50,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
70,
72
],
[
39,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
79,
81
],
[
39,
82
],
[
82,
83
],
[
82,
84
],
[
39,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
89,
95
],
[
95,
96
],
[
39,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
9,
103
],
[
103,
104
],
[
0,
105
],
[
105,
106
],
[
105,
107
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\n//public class Problem0002_DigitNumber {\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tString line;\n\t\t\twhile((line = reader.readLine()) != null) {\n\t\t\t\ttry {\n\t\t\t\t\tString[] data = line.split(\" \");\n\t\t\t\t\tint[] numbers = new int[2];\n\t\t\t\t\tfor(int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnumbers[i] = Integer.parseInt(data[i]);\n\t\t\t\t\t}\n\t\t\t\t\tint sum = numbers[0] + numbers[1];\n\t\t\t\t\tint result = 0;\n\t\t\t\t\twhile(sum > 0) {\n\t\t\t\t\t\tsum = sum / 10;\n\t\t\t\t\t\tresult++;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(result);\n\t\t\t\t} catch(NumberFormatException e) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tString line;\n\t\t\twhile((line = reader.readLine()) != null) {\n\t\t\t\ttry {\n\t\t\t\t\tString[] data = line.split(\" \");\n\t\t\t\t\tint[] numbers = new int[2];\n\t\t\t\t\tfor(int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnumbers[i] = Integer.parseInt(data[i]);\n\t\t\t\t\t}\n\t\t\t\t\tint sum = numbers[0] + numbers[1];\n\t\t\t\t\tint result = 0;\n\t\t\t\t\twhile(sum > 0) {\n\t\t\t\t\t\tsum = sum / 10;\n\t\t\t\t\t\tresult++;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(result);\n\t\t\t\t} catch(NumberFormatException e) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tString line;\n\t\t\twhile((line = reader.readLine()) != null) {\n\t\t\t\ttry {\n\t\t\t\t\tString[] data = line.split(\" \");\n\t\t\t\t\tint[] numbers = new int[2];\n\t\t\t\t\tfor(int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnumbers[i] = Integer.parseInt(data[i]);\n\t\t\t\t\t}\n\t\t\t\t\tint sum = numbers[0] + numbers[1];\n\t\t\t\t\tint result = 0;\n\t\t\t\t\twhile(sum > 0) {\n\t\t\t\t\t\tsum = sum / 10;\n\t\t\t\t\t\tresult++;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(result);\n\t\t\t\t} catch(NumberFormatException e) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tString line;\n\t\t\twhile((line = reader.readLine()) != null) {\n\t\t\t\ttry {\n\t\t\t\t\tString[] data = line.split(\" \");\n\t\t\t\t\tint[] numbers = new int[2];\n\t\t\t\t\tfor(int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnumbers[i] = Integer.parseInt(data[i]);\n\t\t\t\t\t}\n\t\t\t\t\tint sum = numbers[0] + numbers[1];\n\t\t\t\t\tint result = 0;\n\t\t\t\t\twhile(sum > 0) {\n\t\t\t\t\t\tsum = sum / 10;\n\t\t\t\t\t\tresult++;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(result);\n\t\t\t\t} catch(NumberFormatException e) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"try {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tString line;\n\t\t\twhile((line = reader.readLine()) != null) {\n\t\t\t\ttry {\n\t\t\t\t\tString[] data = line.split(\" \");\n\t\t\t\t\tint[] numbers = new int[2];\n\t\t\t\t\tfor(int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnumbers[i] = Integer.parseInt(data[i]);\n\t\t\t\t\t}\n\t\t\t\t\tint sum = numbers[0] + numbers[1];\n\t\t\t\t\tint result = 0;\n\t\t\t\t\twhile(sum > 0) {\n\t\t\t\t\t\tsum = sum / 10;\n\t\t\t\t\t\tresult++;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(result);\n\t\t\t\t} catch(NumberFormatException e) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tString line;\n\t\t\twhile((line = reader.readLine()) != null) {\n\t\t\t\ttry {\n\t\t\t\t\tString[] data = line.split(\" \");\n\t\t\t\t\tint[] numbers = new int[2];\n\t\t\t\t\tfor(int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnumbers[i] = Integer.parseInt(data[i]);\n\t\t\t\t\t}\n\t\t\t\t\tint sum = numbers[0] + numbers[1];\n\t\t\t\t\tint result = 0;\n\t\t\t\t\twhile(sum > 0) {\n\t\t\t\t\t\tsum = sum / 10;\n\t\t\t\t\t\tresult++;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(result);\n\t\t\t\t} catch(NumberFormatException e) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"while((line = reader.readLine()) != null) {\n\t\t\t\ttry {\n\t\t\t\t\tString[] data = line.split(\" \");\n\t\t\t\t\tint[] numbers = new int[2];\n\t\t\t\t\tfor(int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnumbers[i] = Integer.parseInt(data[i]);\n\t\t\t\t\t}\n\t\t\t\t\tint sum = numbers[0] + numbers[1];\n\t\t\t\t\tint result = 0;\n\t\t\t\t\twhile(sum > 0) {\n\t\t\t\t\t\tsum = sum / 10;\n\t\t\t\t\t\tresult++;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(result);\n\t\t\t\t} catch(NumberFormatException e) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"(line = reader.readLine()) != null",
"(line = reader.readLine())",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"null",
"{\n\t\t\t\ttry {\n\t\t\t\t\tString[] data = line.split(\" \");\n\t\t\t\t\tint[] numbers = new int[2];\n\t\t\t\t\tfor(int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnumbers[i] = Integer.parseInt(data[i]);\n\t\t\t\t\t}\n\t\t\t\t\tint sum = numbers[0] + numbers[1];\n\t\t\t\t\tint result = 0;\n\t\t\t\t\twhile(sum > 0) {\n\t\t\t\t\t\tsum = sum / 10;\n\t\t\t\t\t\tresult++;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(result);\n\t\t\t\t} catch(NumberFormatException e) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"try {\n\t\t\t\t\tString[] data = line.split(\" \");\n\t\t\t\t\tint[] numbers = new int[2];\n\t\t\t\t\tfor(int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnumbers[i] = Integer.parseInt(data[i]);\n\t\t\t\t\t}\n\t\t\t\t\tint sum = numbers[0] + numbers[1];\n\t\t\t\t\tint result = 0;\n\t\t\t\t\twhile(sum > 0) {\n\t\t\t\t\t\tsum = sum / 10;\n\t\t\t\t\t\tresult++;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(result);\n\t\t\t\t} catch(NumberFormatException e) {\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"catch(NumberFormatException e) {\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"NumberFormatException e",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"{\n\t\t\t\t\tString[] data = line.split(\" \");\n\t\t\t\t\tint[] numbers = new int[2];\n\t\t\t\t\tfor(int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnumbers[i] = Integer.parseInt(data[i]);\n\t\t\t\t\t}\n\t\t\t\t\tint sum = numbers[0] + numbers[1];\n\t\t\t\t\tint result = 0;\n\t\t\t\t\twhile(sum > 0) {\n\t\t\t\t\t\tsum = sum / 10;\n\t\t\t\t\t\tresult++;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(result);\n\t\t\t\t}",
"String[] data = line.split(\" \");",
"data",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int[] numbers = new int[2];",
"numbers",
"new int[2]",
"2",
"for(int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnumbers[i] = Integer.parseInt(data[i]);\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\tnumbers[i] = Integer.parseInt(data[i]);\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tnumbers[i] = Integer.parseInt(data[i]);\n\t\t\t\t\t}",
"numbers[i] = Integer.parseInt(data[i])",
"numbers[i]",
"numbers",
"i",
"Integer.parseInt(data[i])",
"Integer.parseInt",
"Integer",
"data[i]",
"data",
"i",
"int sum = numbers[0] + numbers[1];",
"sum",
"numbers[0] + numbers[1]",
"numbers[0]",
"numbers",
"0",
"numbers[1]",
"numbers",
"1",
"int result = 0;",
"result",
"0",
"while(sum > 0) {\n\t\t\t\t\t\tsum = sum / 10;\n\t\t\t\t\t\tresult++;\n\t\t\t\t\t}",
"sum > 0",
"sum",
"0",
"{\n\t\t\t\t\t\tsum = sum / 10;\n\t\t\t\t\t\tresult++;\n\t\t\t\t\t}",
"sum = sum / 10",
"sum",
"sum / 10",
"sum",
"10",
"result++",
"result",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tString line;\n\t\t\twhile((line = reader.readLine()) != null) {\n\t\t\t\ttry {\n\t\t\t\t\tString[] data = line.split(\" \");\n\t\t\t\t\tint[] numbers = new int[2];\n\t\t\t\t\tfor(int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnumbers[i] = Integer.parseInt(data[i]);\n\t\t\t\t\t}\n\t\t\t\t\tint sum = numbers[0] + numbers[1];\n\t\t\t\t\tint result = 0;\n\t\t\t\t\twhile(sum > 0) {\n\t\t\t\t\t\tsum = sum / 10;\n\t\t\t\t\t\tresult++;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(result);\n\t\t\t\t} catch(NumberFormatException e) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tString line;\n\t\t\twhile((line = reader.readLine()) != null) {\n\t\t\t\ttry {\n\t\t\t\t\tString[] data = line.split(\" \");\n\t\t\t\t\tint[] numbers = new int[2];\n\t\t\t\t\tfor(int i = 0; i < 2; i++) {\n\t\t\t\t\t\tnumbers[i] = Integer.parseInt(data[i]);\n\t\t\t\t\t}\n\t\t\t\t\tint sum = numbers[0] + numbers[1];\n\t\t\t\t\tint result = 0;\n\t\t\t\t\twhile(sum > 0) {\n\t\t\t\t\t\tsum = sum / 10;\n\t\t\t\t\t\tresult++;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(result);\n\t\t\t\t} catch(NumberFormatException e) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
//public class Problem0002_DigitNumber {
public class Main {
public static void main(String[] args) {
try {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String line;
while((line = reader.readLine()) != null) {
try {
String[] data = line.split(" ");
int[] numbers = new int[2];
for(int i = 0; i < 2; i++) {
numbers[i] = Integer.parseInt(data[i]);
}
int sum = numbers[0] + numbers[1];
int result = 0;
while(sum > 0) {
sum = sum / 10;
result++;
}
System.out.println(result);
} catch(NumberFormatException e) {
break;
}
}
} catch(Exception 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,
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
],
[
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
],
[
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
],
[
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\tpublic static void main(String[]args) {\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\t\tint sum = a+b;\n\t\tint valLen = String.valueOf(sum).length();\n\t\tSystem.out.println(valLen);\n\t\t}\n\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\n\t\twhile(sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\tint sum = a+b;\n\t\tint valLen = String.valueOf(sum).length();\n\t\tSystem.out.println(valLen);\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.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\tint sum = a+b;\n\t\tint valLen = String.valueOf(sum).length();\n\t\tSystem.out.println(valLen);\n\t\t}\n\n\t}",
"main",
"{\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\t\tint sum = a+b;\n\t\tint valLen = String.valueOf(sum).length();\n\t\tSystem.out.println(valLen);\n\t\t}\n\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\t\tint sum = a+b;\n\t\tint valLen = String.valueOf(sum).length();\n\t\tSystem.out.println(valLen);\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\tint sum = a+b;\n\t\tint valLen = String.valueOf(sum).length();\n\t\tSystem.out.println(valLen);\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 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\tpublic static void main(String[]args) {\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\t\tint sum = a+b;\n\t\tint valLen = String.valueOf(sum).length();\n\t\tSystem.out.println(valLen);\n\t\t}\n\n\t}\n\n}",
"public class Main{\n\tpublic static void main(String[]args) {\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\t\tint sum = a+b;\n\t\tint valLen = String.valueOf(sum).length();\n\t\tSystem.out.println(valLen);\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.hasNext()) {
int a = sc.nextInt();
int b = sc.nextInt();
int sum = a+b;
int valLen = String.valueOf(sum).length();
System.out.println(valLen);
}
}
}
|
[
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,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
4,
18,
13,
18,
13,
17,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
74,
11
],
[
74,
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
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
28,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
28,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
60,
62
],
[
28,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
69,
70
],
[
12,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ツ篠ゥツ督ョツ青カツ青ャツつウツづェツつスツδソツッツドツ・ツスツタツブ\n\t\tBufferedReader d= new BufferedReader(new InputStreamReader(System.in));\n\t\tString temp;\n\t\twhile((temp\t=d.readLine())!= null){\n\t\t\tString array[]=temp.split(\" \");\n\n\t\t\tint a=Integer.valueOf(array[0]).intValue(),b=Integer.valueOf(array[1]).intValue();\n\t\t\tString sum =String.valueOf(a+b);\n\t\t\tSystem.out.println(sum.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",
"public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ツ篠ゥツ督ョツ青カツ青ャツつウツづェツつスツδソツッツドツ・ツスツタツブ\n\t\tBufferedReader d= new BufferedReader(new InputStreamReader(System.in));\n\t\tString temp;\n\t\twhile((temp\t=d.readLine())!= null){\n\t\t\tString array[]=temp.split(\" \");\n\n\t\t\tint a=Integer.valueOf(array[0]).intValue(),b=Integer.valueOf(array[1]).intValue();\n\t\t\tString sum =String.valueOf(a+b);\n\t\t\tSystem.out.println(sum.length());\n\t\t}\n\t}\n}",
"Main",
"/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ツ篠ゥツ督ョツ青カツ青ャツつウツづェツつスツδソツッツドツ・ツスツタツブ\n\t\tBufferedReader d= new BufferedReader(new InputStreamReader(System.in));\n\t\tString temp;\n\t\twhile((temp\t=d.readLine())!= null){\n\t\t\tString array[]=temp.split(\" \");\n\n\t\t\tint a=Integer.valueOf(array[0]).intValue(),b=Integer.valueOf(array[1]).intValue();\n\t\t\tString sum =String.valueOf(a+b);\n\t\t\tSystem.out.println(sum.length());\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ツ篠ゥツ督ョツ青カツ青ャツつウツづェツつスツδソツッツドツ・ツスツタツブ\n\t\tBufferedReader d= new BufferedReader(new InputStreamReader(System.in));\n\t\tString temp;\n\t\twhile((temp\t=d.readLine())!= null){\n\t\t\tString array[]=temp.split(\" \");\n\n\t\t\tint a=Integer.valueOf(array[0]).intValue(),b=Integer.valueOf(array[1]).intValue();\n\t\t\tString sum =String.valueOf(a+b);\n\t\t\tSystem.out.println(sum.length());\n\t\t}\n\t}",
"BufferedReader d= new BufferedReader(new InputStreamReader(System.in));",
"d",
"new BufferedReader(new InputStreamReader(System.in))",
"String temp;",
"temp",
"while((temp\t=d.readLine())!= null){\n\t\t\tString array[]=temp.split(\" \");\n\n\t\t\tint a=Integer.valueOf(array[0]).intValue(),b=Integer.valueOf(array[1]).intValue();\n\t\t\tString sum =String.valueOf(a+b);\n\t\t\tSystem.out.println(sum.length());\n\t\t}",
"(temp\t=d.readLine())!= null",
"(temp\t=d.readLine())",
"temp",
"d.readLine()",
"d.readLine",
"d",
"null",
"{\n\t\t\tString array[]=temp.split(\" \");\n\n\t\t\tint a=Integer.valueOf(array[0]).intValue(),b=Integer.valueOf(array[1]).intValue();\n\t\t\tString sum =String.valueOf(a+b);\n\t\t\tSystem.out.println(sum.length());\n\t\t}",
"String array[]=temp.split(\" \");",
"array",
"temp.split(\" \")",
"temp.split",
"temp",
"\" \"",
"int a=Integer.valueOf(array[0]).intValue()",
"a",
"Integer.valueOf(array[0]).intValue()",
"Integer.valueOf(array[0]).intValue",
"Integer.valueOf(array[0])",
"Integer.valueOf",
"Integer",
"array[0]",
"array",
"0",
"b=Integer.valueOf(array[1]).intValue();",
"b",
"Integer.valueOf(array[1]).intValue()",
"Integer.valueOf(array[1]).intValue",
"Integer.valueOf(array[1])",
"Integer.valueOf",
"Integer",
"array[1]",
"array",
"1",
"String sum =String.valueOf(a+b);",
"sum",
"String.valueOf(a+b)",
"String.valueOf",
"String",
"a+b",
"a",
"b",
"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\n\t/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ツ篠ゥツ督ョツ青カツ青ャツつウツづェツつスツδソツッツドツ・ツスツタツブ\n\t\tBufferedReader d= new BufferedReader(new InputStreamReader(System.in));\n\t\tString temp;\n\t\twhile((temp\t=d.readLine())!= null){\n\t\t\tString array[]=temp.split(\" \");\n\n\t\t\tint a=Integer.valueOf(array[0]).intValue(),b=Integer.valueOf(array[1]).intValue();\n\t\t\tString sum =String.valueOf(a+b);\n\t\t\tSystem.out.println(sum.length());\n\t\t}\n\t}\n}",
"public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ツ篠ゥツ督ョツ青カツ青ャツつウツづェツつスツδソツッツドツ・ツスツタツブ\n\t\tBufferedReader d= new BufferedReader(new InputStreamReader(System.in));\n\t\tString temp;\n\t\twhile((temp\t=d.readLine())!= null){\n\t\t\tString array[]=temp.split(\" \");\n\n\t\t\tint a=Integer.valueOf(array[0]).intValue(),b=Integer.valueOf(array[1]).intValue();\n\t\t\tString sum =String.valueOf(a+b);\n\t\t\tSystem.out.println(sum.length());\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
/**
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
// TODO ツ篠ゥツ督ョツ青カツ青ャツつウツづェツつスツδソツッツドツ・ツスツタツブ
BufferedReader d= new BufferedReader(new InputStreamReader(System.in));
String temp;
while((temp =d.readLine())!= null){
String array[]=temp.split(" ");
int a=Integer.valueOf(array[0]).intValue(),b=Integer.valueOf(array[1]).intValue();
String sum =String.valueOf(a+b);
System.out.println(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,
4,
18,
18,
13,
13,
4,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
29,
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
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
6,
43
],
[
43,
44
],
[
4,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
47,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
58,
64
],
[
64,
65
],
[
47,
66
],
[
66,
67
],
[
45,
68
],
[
68,
69
]
] | [
"import java.util.*;\n\nclass 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 n= sc.nextInt();\n\t\t\tint o= sc.nextInt();\n\t\t\tint wa = n+o;\n\t\t\tSystem.out.println(sum(wa));\n\t\t\t}\n\t\tsc.close();\n\n\n\n\t}\n\tstatic int sum(int n){\n\t\tint i=1;\n\t\tint t=10;\n\t\twhile(n>=t){\n\t\t\tt=t*10;\n\t\t\ti++;\n\t\t\t}\n\t\treturn i;\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint n= sc.nextInt();\n\t\t\tint o= sc.nextInt();\n\t\t\tint wa = n+o;\n\t\t\tSystem.out.println(sum(wa));\n\t\t\t}\n\t\tsc.close();\n\n\n\n\t}\n\tstatic int sum(int n){\n\t\tint i=1;\n\t\tint t=10;\n\t\twhile(n>=t){\n\t\t\tt=t*10;\n\t\t\ti++;\n\t\t\t}\n\t\treturn i;\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 n= sc.nextInt();\n\t\t\tint o= sc.nextInt();\n\t\t\tint wa = n+o;\n\t\t\tSystem.out.println(sum(wa));\n\t\t\t}\n\t\tsc.close();\n\n\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint n= sc.nextInt();\n\t\t\tint o= sc.nextInt();\n\t\t\tint wa = n+o;\n\t\t\tSystem.out.println(sum(wa));\n\t\t\t}\n\t\tsc.close();\n\n\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()){\n\t\t\tint n= sc.nextInt();\n\t\t\tint o= sc.nextInt();\n\t\t\tint wa = n+o;\n\t\t\tSystem.out.println(sum(wa));\n\t\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tint n= sc.nextInt();\n\t\t\tint o= sc.nextInt();\n\t\t\tint wa = n+o;\n\t\t\tSystem.out.println(sum(wa));\n\t\t\t}",
"int n= sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int o= sc.nextInt();",
"o",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int wa = n+o;",
"wa",
"n+o",
"n",
"o",
"System.out.println(sum(wa))",
"System.out.println",
"System.out",
"System",
"System.out",
"sum(wa)",
"sum",
"wa",
"sc.close()",
"sc.close",
"sc",
"String args[]",
"args",
"static int sum(int n){\n\t\tint i=1;\n\t\tint t=10;\n\t\twhile(n>=t){\n\t\t\tt=t*10;\n\t\t\ti++;\n\t\t\t}\n\t\treturn i;\n\t}",
"sum",
"{\n\t\tint i=1;\n\t\tint t=10;\n\t\twhile(n>=t){\n\t\t\tt=t*10;\n\t\t\ti++;\n\t\t\t}\n\t\treturn i;\n\t}",
"int i=1;",
"i",
"1",
"int t=10;",
"t",
"10",
"while(n>=t){\n\t\t\tt=t*10;\n\t\t\ti++;\n\t\t\t}",
"n>=t",
"n",
"t",
"{\n\t\t\tt=t*10;\n\t\t\ti++;\n\t\t\t}",
"t=t*10",
"t",
"t*10",
"t",
"10",
"i++",
"i",
"return i;",
"i",
"int n",
"n"
] | import java.util.*;
class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
int n= sc.nextInt();
int o= sc.nextInt();
int wa = n+o;
System.out.println(sum(wa));
}
sc.close();
}
static int sum(int n){
int i=1;
int t=10;
while(n>=t){
t=t*10;
i++;
}
return i;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
41,
13,
42,
17,
30,
38,
5,
13,
30,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
4,
18,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
4,
18,
13,
0,
13,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
0,
13,
2,
13,
17,
30,
30,
40,
13,
4,
18,
18,
13,
13,
13,
0,
13,
4,
18,
13,
14,
2,
13,
17,
3,
0,
13,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
11,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
38,
59
],
[
59,
60
],
[
59,
61
],
[
38,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
62,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
38,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
38,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
38,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
38,
96
],
[
96,
97
],
[
96,
98
],
[
9,
99
],
[
99,
100
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = r.readLine();\n\t\tStringTokenizer st = new StringTokenizer(s,\" \");\n\t\tint a,b;\n\t\twhile(true){\n\t\t\ttry {\n\t\t\t\ta = Integer.parseInt(st.nextToken().toString());\n\t\t\t\tb = Integer.parseInt(st.nextToken().toString());\n\t\t\t\ta+=b;\n\t\t\t\tfor(b=0;a!=0;a=a/10) {\n\t\t\t\t\tb++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(b);\n\t\t\t\ts = r.readLine();\n\t\t\t\tif (s==null) break;\n\t\t\t\tst = new StringTokenizer(s,\" \");\n\t\t\t} catch (NoSuchElementException e) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = r.readLine();\n\t\tStringTokenizer st = new StringTokenizer(s,\" \");\n\t\tint a,b;\n\t\twhile(true){\n\t\t\ttry {\n\t\t\t\ta = Integer.parseInt(st.nextToken().toString());\n\t\t\t\tb = Integer.parseInt(st.nextToken().toString());\n\t\t\t\ta+=b;\n\t\t\t\tfor(b=0;a!=0;a=a/10) {\n\t\t\t\t\tb++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(b);\n\t\t\t\ts = r.readLine();\n\t\t\t\tif (s==null) break;\n\t\t\t\tst = new StringTokenizer(s,\" \");\n\t\t\t} catch (NoSuchElementException e) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = r.readLine();\n\t\tStringTokenizer st = new StringTokenizer(s,\" \");\n\t\tint a,b;\n\t\twhile(true){\n\t\t\ttry {\n\t\t\t\ta = Integer.parseInt(st.nextToken().toString());\n\t\t\t\tb = Integer.parseInt(st.nextToken().toString());\n\t\t\t\ta+=b;\n\t\t\t\tfor(b=0;a!=0;a=a/10) {\n\t\t\t\t\tb++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(b);\n\t\t\t\ts = r.readLine();\n\t\t\t\tif (s==null) break;\n\t\t\t\tst = new StringTokenizer(s,\" \");\n\t\t\t} catch (NoSuchElementException e) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = r.readLine();\n\t\tStringTokenizer st = new StringTokenizer(s,\" \");\n\t\tint a,b;\n\t\twhile(true){\n\t\t\ttry {\n\t\t\t\ta = Integer.parseInt(st.nextToken().toString());\n\t\t\t\tb = Integer.parseInt(st.nextToken().toString());\n\t\t\t\ta+=b;\n\t\t\t\tfor(b=0;a!=0;a=a/10) {\n\t\t\t\t\tb++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(b);\n\t\t\t\ts = r.readLine();\n\t\t\t\tif (s==null) break;\n\t\t\t\tst = new StringTokenizer(s,\" \");\n\t\t\t} catch (NoSuchElementException e) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}",
"BufferedReader r = new BufferedReader(new InputStreamReader(System.in));",
"r",
"new BufferedReader(new InputStreamReader(System.in))",
"String s = r.readLine();",
"s",
"r.readLine()",
"r.readLine",
"r",
"StringTokenizer st = new StringTokenizer(s,\" \");",
"st",
"new StringTokenizer(s,\" \")",
"int a",
"a",
"b;",
"b",
"while(true){\n\t\t\ttry {\n\t\t\t\ta = Integer.parseInt(st.nextToken().toString());\n\t\t\t\tb = Integer.parseInt(st.nextToken().toString());\n\t\t\t\ta+=b;\n\t\t\t\tfor(b=0;a!=0;a=a/10) {\n\t\t\t\t\tb++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(b);\n\t\t\t\ts = r.readLine();\n\t\t\t\tif (s==null) break;\n\t\t\t\tst = new StringTokenizer(s,\" \");\n\t\t\t} catch (NoSuchElementException e) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\ttry {\n\t\t\t\ta = Integer.parseInt(st.nextToken().toString());\n\t\t\t\tb = Integer.parseInt(st.nextToken().toString());\n\t\t\t\ta+=b;\n\t\t\t\tfor(b=0;a!=0;a=a/10) {\n\t\t\t\t\tb++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(b);\n\t\t\t\ts = r.readLine();\n\t\t\t\tif (s==null) break;\n\t\t\t\tst = new StringTokenizer(s,\" \");\n\t\t\t} catch (NoSuchElementException e) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}",
"try {\n\t\t\t\ta = Integer.parseInt(st.nextToken().toString());\n\t\t\t\tb = Integer.parseInt(st.nextToken().toString());\n\t\t\t\ta+=b;\n\t\t\t\tfor(b=0;a!=0;a=a/10) {\n\t\t\t\t\tb++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(b);\n\t\t\t\ts = r.readLine();\n\t\t\t\tif (s==null) break;\n\t\t\t\tst = new StringTokenizer(s,\" \");\n\t\t\t} catch (NoSuchElementException e) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}",
"catch (NoSuchElementException e) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}",
"NoSuchElementException e",
"{\n\t\t\t\tSystem.exit(0);\n\t\t\t}",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n\t\t\t\ta = Integer.parseInt(st.nextToken().toString());\n\t\t\t\tb = Integer.parseInt(st.nextToken().toString());\n\t\t\t\ta+=b;\n\t\t\t\tfor(b=0;a!=0;a=a/10) {\n\t\t\t\t\tb++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(b);\n\t\t\t\ts = r.readLine();\n\t\t\t\tif (s==null) break;\n\t\t\t\tst = new StringTokenizer(s,\" \");\n\t\t\t}",
"a = Integer.parseInt(st.nextToken().toString())",
"a",
"Integer.parseInt(st.nextToken().toString())",
"Integer.parseInt",
"Integer",
"st.nextToken().toString()",
"st.nextToken().toString",
"st.nextToken()",
"st.nextToken",
"st",
"b = Integer.parseInt(st.nextToken().toString())",
"b",
"Integer.parseInt(st.nextToken().toString())",
"Integer.parseInt",
"Integer",
"st.nextToken().toString()",
"st.nextToken().toString",
"st.nextToken()",
"st.nextToken",
"st",
"a+=b",
"a",
"b",
"for(b=0;a!=0;a=a/10) {\n\t\t\t\t\tb++;\n\t\t\t\t}",
"b=0;",
"b=0",
"b",
"0",
"a!=0",
"a",
"0",
"a=a/10",
"a=a/10",
"a",
"a/10",
"a",
"10",
"{\n\t\t\t\t\tb++;\n\t\t\t\t}",
"{\n\t\t\t\t\tb++;\n\t\t\t\t}",
"b++",
"b",
"System.out.println(b)",
"System.out.println",
"System.out",
"System",
"System.out",
"b",
"s = r.readLine()",
"s",
"r.readLine()",
"r.readLine",
"r",
"if (s==null) break;",
"s==null",
"s",
"null",
"break;",
"st = new StringTokenizer(s,\" \")",
"st",
"new StringTokenizer(s,\" \")",
"String[] args",
"args"
] | import java.io.*;
import java.util.*;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
String s = r.readLine();
StringTokenizer st = new StringTokenizer(s," ");
int a,b;
while(true){
try {
a = Integer.parseInt(st.nextToken().toString());
b = Integer.parseInt(st.nextToken().toString());
a+=b;
for(b=0;a!=0;a=a/10) {
b++;
}
System.out.println(b);
s = r.readLine();
if (s==null) break;
st = new StringTokenizer(s," ");
} catch (NoSuchElementException e) {
System.exit(0);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
41,
13,
42,
2,
17,
0,
13,
4,
18,
13,
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
],
[
66,
8
],
[
66,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
12,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
33,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
50,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
60,
62
],
[
9,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] | [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str;\n\t\t\twhile (null != (str = in.readLine())) {\n\t\t\t\tString[] sar = str.split(\" \");\n\t\t\t\tSystem.out.println(String.valueOf(Integer.parseInt(sar[0]) + Integer.parseInt(sar[1])).length());\n\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str;\n\t\t\twhile (null != (str = in.readLine())) {\n\t\t\t\tString[] sar = str.split(\" \");\n\t\t\t\tSystem.out.println(String.valueOf(Integer.parseInt(sar[0]) + Integer.parseInt(sar[1])).length());\n\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str;\n\t\t\twhile (null != (str = in.readLine())) {\n\t\t\t\tString[] sar = str.split(\" \");\n\t\t\t\tSystem.out.println(String.valueOf(Integer.parseInt(sar[0]) + Integer.parseInt(sar[1])).length());\n\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\ttry {\n\t\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str;\n\t\t\twhile (null != (str = in.readLine())) {\n\t\t\t\tString[] sar = str.split(\" \");\n\t\t\t\tSystem.out.println(String.valueOf(Integer.parseInt(sar[0]) + Integer.parseInt(sar[1])).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\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str;\n\t\t\twhile (null != (str = in.readLine())) {\n\t\t\t\tString[] sar = str.split(\" \");\n\t\t\t\tSystem.out.println(String.valueOf(Integer.parseInt(sar[0]) + Integer.parseInt(sar[1])).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\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str;\n\t\t\twhile (null != (str = in.readLine())) {\n\t\t\t\tString[] sar = str.split(\" \");\n\t\t\t\tSystem.out.println(String.valueOf(Integer.parseInt(sar[0]) + Integer.parseInt(sar[1])).length());\n\n\t\t\t}\n\t\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"while (null != (str = in.readLine())) {\n\t\t\t\tString[] sar = str.split(\" \");\n\t\t\t\tSystem.out.println(String.valueOf(Integer.parseInt(sar[0]) + Integer.parseInt(sar[1])).length());\n\n\t\t\t}",
"null != (str = in.readLine())",
"null",
"(str = in.readLine())",
"str",
"in.readLine()",
"in.readLine",
"in",
"{\n\t\t\t\tString[] sar = str.split(\" \");\n\t\t\t\tSystem.out.println(String.valueOf(Integer.parseInt(sar[0]) + Integer.parseInt(sar[1])).length());\n\n\t\t\t}",
"String[] sar = str.split(\" \");",
"sar",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"System.out.println(String.valueOf(Integer.parseInt(sar[0]) + Integer.parseInt(sar[1])).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(Integer.parseInt(sar[0]) + Integer.parseInt(sar[1])).length()",
"String.valueOf(Integer.parseInt(sar[0]) + Integer.parseInt(sar[1])).length",
"String.valueOf(Integer.parseInt(sar[0]) + Integer.parseInt(sar[1]))",
"String.valueOf",
"String",
"Integer.parseInt(sar[0]) + Integer.parseInt(sar[1])",
"Integer.parseInt(sar[0])",
"Integer.parseInt",
"Integer",
"sar[0]",
"sar",
"0",
"Integer.parseInt(sar[1])",
"Integer.parseInt",
"Integer",
"sar[1]",
"sar",
"1",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str;\n\t\t\twhile (null != (str = in.readLine())) {\n\t\t\t\tString[] sar = str.split(\" \");\n\t\t\t\tSystem.out.println(String.valueOf(Integer.parseInt(sar[0]) + Integer.parseInt(sar[1])).length());\n\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str;\n\t\t\twhile (null != (str = in.readLine())) {\n\t\t\t\tString[] sar = str.split(\" \");\n\t\t\t\tSystem.out.println(String.valueOf(Integer.parseInt(sar[0]) + Integer.parseInt(sar[1])).length());\n\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
try {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String str;
while (null != (str = in.readLine())) {
String[] sar = str.split(" ");
System.out.println(String.valueOf(Integer.parseInt(sar[0]) + Integer.parseInt(sar[1])).length());
}
} catch (Exception e) {
e.printStackTrace();
}
}
} |
[
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,
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,
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
],
[
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
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
29,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
29,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
29,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
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\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = null;\n\n\t\twhile((str = br.readLine()) != null) {\n\t\t\tString[] num = str.split(\" \");\n\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\tint b = Integer.parseInt(num[1]);\n\n\t\t\tint digitnum = String.valueOf(a + b).length();\n\t\t\tSystem.out.println(digitnum);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = null;\n\n\t\twhile((str = br.readLine()) != null) {\n\t\t\tString[] num = str.split(\" \");\n\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\tint b = Integer.parseInt(num[1]);\n\n\t\t\tint digitnum = String.valueOf(a + b).length();\n\t\t\tSystem.out.println(digitnum);\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 = null;\n\n\t\twhile((str = br.readLine()) != null) {\n\t\t\tString[] num = str.split(\" \");\n\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\tint b = Integer.parseInt(num[1]);\n\n\t\t\tint digitnum = String.valueOf(a + b).length();\n\t\t\tSystem.out.println(digitnum);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = null;\n\n\t\twhile((str = br.readLine()) != null) {\n\t\t\tString[] num = str.split(\" \");\n\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\tint b = Integer.parseInt(num[1]);\n\n\t\t\tint digitnum = String.valueOf(a + b).length();\n\t\t\tSystem.out.println(digitnum);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = null;",
"str",
"null",
"while((str = br.readLine()) != null) {\n\t\t\tString[] num = str.split(\" \");\n\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\tint b = Integer.parseInt(num[1]);\n\n\t\t\tint digitnum = String.valueOf(a + b).length();\n\t\t\tSystem.out.println(digitnum);\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 a = Integer.parseInt(num[0]);\n\t\t\tint b = Integer.parseInt(num[1]);\n\n\t\t\tint digitnum = String.valueOf(a + b).length();\n\t\t\tSystem.out.println(digitnum);\n\t\t}",
"String[] num = str.split(\" \");",
"num",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int a = Integer.parseInt(num[0]);",
"a",
"Integer.parseInt(num[0])",
"Integer.parseInt",
"Integer",
"num[0]",
"num",
"0",
"int b = Integer.parseInt(num[1]);",
"b",
"Integer.parseInt(num[1])",
"Integer.parseInt",
"Integer",
"num[1]",
"num",
"1",
"int digitnum = String.valueOf(a + b).length();",
"digitnum",
"String.valueOf(a + b).length()",
"String.valueOf(a + b).length",
"String.valueOf(a + b)",
"String.valueOf",
"String",
"a + b",
"a",
"b",
"System.out.println(digitnum)",
"System.out.println",
"System.out",
"System",
"System.out",
"digitnum",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = null;\n\n\t\twhile((str = br.readLine()) != null) {\n\t\t\tString[] num = str.split(\" \");\n\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\tint b = Integer.parseInt(num[1]);\n\n\t\t\tint digitnum = String.valueOf(a + b).length();\n\t\t\tSystem.out.println(digitnum);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = null;\n\n\t\twhile((str = br.readLine()) != null) {\n\t\t\tString[] num = str.split(\" \");\n\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\tint b = Integer.parseInt(num[1]);\n\n\t\t\tint digitnum = String.valueOf(a + b).length();\n\t\t\tSystem.out.println(digitnum);\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 = null;
while((str = br.readLine()) != null) {
String[] num = str.split(" ");
int a = Integer.parseInt(num[0]);
int b = Integer.parseInt(num[1]);
int digitnum = String.valueOf(a + b).length();
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,
41,
13,
41,
13,
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,
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
],
[
14,
22
],
[
22,
23
],
[
14,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
36,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
36,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
36,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
64,
66
],
[
36,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
73,
74
],
[
12,
75
],
[
75,
76
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\tpublic static void main(String[] arg) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a, b;\n\t\tString line, str;\n\t\tString[] splitedLine;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tsplitedLine = line.split(\" \");\n\t\t\ta = Integer.parseInt(splitedLine[0]);\n\t\t\tb = Integer.parseInt(splitedLine[1]);\n\t\t\tstr = String.valueOf(a + b);\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",
"class Main {\n\tpublic static void main(String[] arg) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a, b;\n\t\tString line, str;\n\t\tString[] splitedLine;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tsplitedLine = line.split(\" \");\n\t\t\ta = Integer.parseInt(splitedLine[0]);\n\t\t\tb = Integer.parseInt(splitedLine[1]);\n\t\t\tstr = String.valueOf(a + b);\n\t\t\tSystem.out.println(str.length());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] arg) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a, b;\n\t\tString line, str;\n\t\tString[] splitedLine;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tsplitedLine = line.split(\" \");\n\t\t\ta = Integer.parseInt(splitedLine[0]);\n\t\t\tb = Integer.parseInt(splitedLine[1]);\n\t\t\tstr = String.valueOf(a + b);\n\t\t\tSystem.out.println(str.length());\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a, b;\n\t\tString line, str;\n\t\tString[] splitedLine;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tsplitedLine = line.split(\" \");\n\t\t\ta = Integer.parseInt(splitedLine[0]);\n\t\t\tb = Integer.parseInt(splitedLine[1]);\n\t\t\tstr = String.valueOf(a + b);\n\t\t\tSystem.out.println(str.length());\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int a",
"a",
"b;",
"b",
"String line",
"line",
"str;",
"str",
"String[] splitedLine;",
"splitedLine",
"while ((line = br.readLine()) != null) {\n\t\t\tsplitedLine = line.split(\" \");\n\t\t\ta = Integer.parseInt(splitedLine[0]);\n\t\t\tb = Integer.parseInt(splitedLine[1]);\n\t\t\tstr = String.valueOf(a + b);\n\t\t\tSystem.out.println(str.length());\n\t\t}",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tsplitedLine = line.split(\" \");\n\t\t\ta = Integer.parseInt(splitedLine[0]);\n\t\t\tb = Integer.parseInt(splitedLine[1]);\n\t\t\tstr = String.valueOf(a + b);\n\t\t\tSystem.out.println(str.length());\n\t\t}",
"splitedLine = line.split(\" \")",
"splitedLine",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"a = Integer.parseInt(splitedLine[0])",
"a",
"Integer.parseInt(splitedLine[0])",
"Integer.parseInt",
"Integer",
"splitedLine[0]",
"splitedLine",
"0",
"b = Integer.parseInt(splitedLine[1])",
"b",
"Integer.parseInt(splitedLine[1])",
"Integer.parseInt",
"Integer",
"splitedLine[1]",
"splitedLine",
"1",
"str = String.valueOf(a + b)",
"str",
"String.valueOf(a + b)",
"String.valueOf",
"String",
"a + b",
"a",
"b",
"System.out.println(str.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"str.length()",
"str.length",
"str",
"String[] arg",
"arg"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] arg) throws NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int a, b;
String line, str;
String[] splitedLine;
while ((line = br.readLine()) != null) {
splitedLine = line.split(" ");
a = Integer.parseInt(splitedLine[0]);
b = Integer.parseInt(splitedLine[1]);
str = String.valueOf(a + b);
System.out.println(str.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
17,
0,
13,
13,
42,
2,
13,
17,
30,
40,
13,
0,
13,
17,
29,
13,
23,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
6,
34
],
[
34,
35
],
[
4,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
38,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
38,
55
],
[
55,
56
],
[
36,
57
],
[
57,
58
],
[
36,
59
],
[
59,
60
]
] | [
"import java.util.*;\nclass Main{\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tMain app = new Main();\n\t\twhile(sc.hasNext()){\n\t\tSystem.out.println(app.length(sc.nextInt(),sc.nextInt()));\n\t\t}\n\t}\n\t\n\t\n\t\n\tint length(int a,int b){\n\t\tint ans = 1;\n\t\ta += b;\n\t\twhile(a >= 10){\n\t\t\t\tans ++;\n\t\t\t\ta /=10;\n\t\t}\n\t\treturn ans;\n\t}\n\t\n\t\n\t\n\t\n\t\n\t\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tMain app = new Main();\n\t\twhile(sc.hasNext()){\n\t\tSystem.out.println(app.length(sc.nextInt(),sc.nextInt()));\n\t\t}\n\t}\n\t\n\t\n\t\n\tint length(int a,int b){\n\t\tint ans = 1;\n\t\ta += b;\n\t\twhile(a >= 10){\n\t\t\t\tans ++;\n\t\t\t\ta /=10;\n\t\t}\n\t\treturn ans;\n\t}\n\t\n\t\n\t\n\t\n\t\n\t\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tMain app = new Main();\n\t\twhile(sc.hasNext()){\n\t\tSystem.out.println(app.length(sc.nextInt(),sc.nextInt()));\n\t\t}\n\t}",
"main",
"{\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tMain app = new Main();\n\t\twhile(sc.hasNext()){\n\t\tSystem.out.println(app.length(sc.nextInt(),sc.nextInt()));\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Main app = new Main();",
"app",
"new Main()",
"while(sc.hasNext()){\n\t\tSystem.out.println(app.length(sc.nextInt(),sc.nextInt()));\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\tSystem.out.println(app.length(sc.nextInt(),sc.nextInt()));\n\t\t}",
"System.out.println(app.length(sc.nextInt(),sc.nextInt()))",
"System.out.println",
"System.out",
"System",
"System.out",
"app.length(sc.nextInt(),sc.nextInt())",
"app.length",
"app",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String[] args",
"args",
"int length(int a,int b){\n\t\tint ans = 1;\n\t\ta += b;\n\t\twhile(a >= 10){\n\t\t\t\tans ++;\n\t\t\t\ta /=10;\n\t\t}\n\t\treturn ans;\n\t}",
"length",
"{\n\t\tint ans = 1;\n\t\ta += b;\n\t\twhile(a >= 10){\n\t\t\t\tans ++;\n\t\t\t\ta /=10;\n\t\t}\n\t\treturn ans;\n\t}",
"int ans = 1;",
"ans",
"1",
"a += b",
"a",
"b",
"while(a >= 10){\n\t\t\t\tans ++;\n\t\t\t\ta /=10;\n\t\t}",
"a >= 10",
"a",
"10",
"{\n\t\t\t\tans ++;\n\t\t\t\ta /=10;\n\t\t}",
"ans ++",
"ans",
"a /=10",
"a",
"10",
"return ans;",
"ans",
"int a",
"a",
"int b",
"b"
] | import java.util.*;
class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
Main app = new Main();
while(sc.hasNext()){
System.out.println(app.length(sc.nextInt(),sc.nextInt()));
}
}
int length(int a,int b){
int ans = 1;
a += b;
while(a >= 10){
ans ++;
a /=10;
}
return ans;
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
11,
1,
30,
30,
14,
40,
4,
18,
13,
3,
41,
13,
2,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
17,
4,
18,
13,
13,
12,
13,
30,
41,
13,
20,
4,
18,
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
],
[
12,
14
],
[
15,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
16,
21
],
[
15,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
15,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
54,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
42,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tScanner sc = new Scanner(System.in);\n\tvoid run(){\n\t\tfor(;;){\n\t\t\tif(!sc.hasNextInt()) break;\n\t\t\tint a = sc.nextInt() + sc.nextInt();\n\t\t\tSystem.out.println(1+(int)Math.log10(a));\n\t\t}\n\t\t\n\t}\n\tpublic static void main(String[] args){\n\t\tMain m = new Main();\n\t\tm.run();\n\t\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\tvoid run(){\n\t\tfor(;;){\n\t\t\tif(!sc.hasNextInt()) break;\n\t\t\tint a = sc.nextInt() + sc.nextInt();\n\t\t\tSystem.out.println(1+(int)Math.log10(a));\n\t\t}\n\t\t\n\t}\n\tpublic static void main(String[] args){\n\t\tMain m = new Main();\n\t\tm.run();\n\t\t\n\t}\n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"void run(){\n\t\tfor(;;){\n\t\t\tif(!sc.hasNextInt()) break;\n\t\t\tint a = sc.nextInt() + sc.nextInt();\n\t\t\tSystem.out.println(1+(int)Math.log10(a));\n\t\t}\n\t\t\n\t}",
"run",
"{\n\t\tfor(;;){\n\t\t\tif(!sc.hasNextInt()) break;\n\t\t\tint a = sc.nextInt() + sc.nextInt();\n\t\t\tSystem.out.println(1+(int)Math.log10(a));\n\t\t}\n\t\t\n\t}",
"for(;;){\n\t\t\tif(!sc.hasNextInt()) break;\n\t\t\tint a = sc.nextInt() + sc.nextInt();\n\t\t\tSystem.out.println(1+(int)Math.log10(a));\n\t\t}",
";",
"{\n\t\t\tif(!sc.hasNextInt()) break;\n\t\t\tint a = sc.nextInt() + sc.nextInt();\n\t\t\tSystem.out.println(1+(int)Math.log10(a));\n\t\t}",
"{\n\t\t\tif(!sc.hasNextInt()) break;\n\t\t\tint a = sc.nextInt() + sc.nextInt();\n\t\t\tSystem.out.println(1+(int)Math.log10(a));\n\t\t}",
"if(!sc.hasNextInt()) break;",
"!sc.hasNextInt()",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"break;",
"int a = sc.nextInt() + sc.nextInt();",
"a",
"sc.nextInt() + sc.nextInt()",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(1+(int)Math.log10(a))",
"System.out.println",
"System.out",
"System",
"System.out",
"1+(int)Math.log10(a)",
"1",
"(int)Math.log10(a)",
"Math.log10",
"Math",
"a",
"public static void main(String[] args){\n\t\tMain m = new Main();\n\t\tm.run();\n\t\t\n\t}",
"main",
"{\n\t\tMain m = new Main();\n\t\tm.run();\n\t\t\n\t}",
"Main m = new Main();",
"m",
"new Main()",
"m.run()",
"m.run",
"m",
"String[] args",
"args",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\tvoid run(){\n\t\tfor(;;){\n\t\t\tif(!sc.hasNextInt()) break;\n\t\t\tint a = sc.nextInt() + sc.nextInt();\n\t\t\tSystem.out.println(1+(int)Math.log10(a));\n\t\t}\n\t\t\n\t}\n\tpublic static void main(String[] args){\n\t\tMain m = new Main();\n\t\tm.run();\n\t\t\n\t}\n}",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\tvoid run(){\n\t\tfor(;;){\n\t\t\tif(!sc.hasNextInt()) break;\n\t\t\tint a = sc.nextInt() + sc.nextInt();\n\t\t\tSystem.out.println(1+(int)Math.log10(a));\n\t\t}\n\t\t\n\t}\n\tpublic static void main(String[] args){\n\t\tMain m = new Main();\n\t\tm.run();\n\t\t\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
Scanner sc = new Scanner(System.in);
void run(){
for(;;){
if(!sc.hasNextInt()) break;
int a = sc.nextInt() + sc.nextInt();
System.out.println(1+(int)Math.log10(a));
}
}
public static void main(String[] args){
Main m = new Main();
m.run();
}
} |
[
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,
4,
18,
18,
13,
13,
4,
18,
4,
18,
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
],
[
29,
31
],
[
16,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint c = a + b;\n\t\t\tSystem.out.println(Integer.toString(c).length());\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint c = a + b;\n\t\t\tSystem.out.println(Integer.toString(c).length());\n\t\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\t\t\tint c = a + b;\n\t\t\tSystem.out.println(Integer.toString(c).length());\n\t\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\t\t\tint c = a + b;\n\t\t\tSystem.out.println(Integer.toString(c).length());\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\t\t\tint c = a + b;\n\t\t\tSystem.out.println(Integer.toString(c).length());\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 c = a + b;\n\t\t\tSystem.out.println(Integer.toString(c).length());\n\t\t}",
"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",
"System.out.println(Integer.toString(c).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(c).length()",
"Integer.toString(c).length",
"Integer.toString(c)",
"Integer.toString",
"Integer",
"c",
"String[] args",
"args",
"public class Main {\n\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\t\t\tint c = a + b;\n\t\t\tSystem.out.println(Integer.toString(c).length());\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint c = a + b;\n\t\t\tSystem.out.println(Integer.toString(c).length());\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(sc.hasNext()) {
int a = sc.nextInt();
int b = sc.nextInt();
int c = a + b;
System.out.println(Integer.toString(c).length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
42,
4,
18,
13,
30,
0,
18,
13,
13,
2,
4,
18,
13,
4,
18,
13,
40,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
17,
42,
2,
18,
13,
13,
17,
30,
40,
13,
0,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
76,
5
],
[
76,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
23,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
37,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
49,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
6,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] sum = new int[200];\n\t\tint i=0;\n\t\twhile(sc.hasNext()){\n\t\t\tsum[i] = sc.nextInt() + sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tfor(int j=0;j<i;j++){\n\t\t\tint k=0;\n\t\t\twhile(sum[j]!=0){\n\t\t\t\tk++;\n\t\t\t\tsum[j] /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(k);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] sum = new int[200];\n\t\tint i=0;\n\t\twhile(sc.hasNext()){\n\t\t\tsum[i] = sc.nextInt() + sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tfor(int j=0;j<i;j++){\n\t\t\tint k=0;\n\t\t\twhile(sum[j]!=0){\n\t\t\t\tk++;\n\t\t\t\tsum[j] /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(k);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] sum = new int[200];\n\t\tint i=0;\n\t\twhile(sc.hasNext()){\n\t\t\tsum[i] = sc.nextInt() + sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tfor(int j=0;j<i;j++){\n\t\t\tint k=0;\n\t\t\twhile(sum[j]!=0){\n\t\t\t\tk++;\n\t\t\t\tsum[j] /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(k);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] sum = new int[200];\n\t\tint i=0;\n\t\twhile(sc.hasNext()){\n\t\t\tsum[i] = sc.nextInt() + sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tfor(int j=0;j<i;j++){\n\t\t\tint k=0;\n\t\t\twhile(sum[j]!=0){\n\t\t\t\tk++;\n\t\t\t\tsum[j] /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(k);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] sum = new int[200];",
"sum",
"new int[200]",
"200",
"int i=0;",
"i",
"0",
"while(sc.hasNext()){\n\t\t\tsum[i] = sc.nextInt() + sc.nextInt();\n\t\t\ti++;\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tsum[i] = sc.nextInt() + sc.nextInt();\n\t\t\ti++;\n\t\t}",
"sum[i] = sc.nextInt() + sc.nextInt()",
"sum[i]",
"sum",
"i",
"sc.nextInt() + sc.nextInt()",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"i++",
"i",
"for(int j=0;j<i;j++){\n\t\t\tint k=0;\n\t\t\twhile(sum[j]!=0){\n\t\t\t\tk++;\n\t\t\t\tsum[j] /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(k);\n\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<i",
"j",
"i",
"j++",
"j++",
"j",
"{\n\t\t\tint k=0;\n\t\t\twhile(sum[j]!=0){\n\t\t\t\tk++;\n\t\t\t\tsum[j] /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(k);\n\t\t}",
"{\n\t\t\tint k=0;\n\t\t\twhile(sum[j]!=0){\n\t\t\t\tk++;\n\t\t\t\tsum[j] /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(k);\n\t\t}",
"int k=0;",
"k",
"0",
"while(sum[j]!=0){\n\t\t\t\tk++;\n\t\t\t\tsum[j] /= 10;\n\t\t\t}",
"sum[j]!=0",
"sum[j]",
"sum",
"j",
"0",
"{\n\t\t\t\tk++;\n\t\t\t\tsum[j] /= 10;\n\t\t\t}",
"k++",
"k",
"sum[j] /= 10",
"sum[j]",
"sum",
"j",
"10",
"System.out.println(k)",
"System.out.println",
"System.out",
"System",
"System.out",
"k",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] sum = new int[200];\n\t\tint i=0;\n\t\twhile(sc.hasNext()){\n\t\t\tsum[i] = sc.nextInt() + sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tfor(int j=0;j<i;j++){\n\t\t\tint k=0;\n\t\t\twhile(sum[j]!=0){\n\t\t\t\tk++;\n\t\t\t\tsum[j] /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(k);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] sum = new int[200];\n\t\tint i=0;\n\t\twhile(sc.hasNext()){\n\t\t\tsum[i] = sc.nextInt() + sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tfor(int j=0;j<i;j++){\n\t\t\tint k=0;\n\t\t\twhile(sum[j]!=0){\n\t\t\t\tk++;\n\t\t\t\tsum[j] /= 10;\n\t\t\t}\n\t\t\tSystem.out.println(k);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] sum = new int[200];
int i=0;
while(sc.hasNext()){
sum[i] = sc.nextInt() + sc.nextInt();
i++;
}
for(int j=0;j<i;j++){
int k=0;
while(sum[j]!=0){
k++;
sum[j] /= 10;
}
System.out.println(k);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
0,
13,
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
],
[
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
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
25,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
15,
53
],
[
53,
54
]
] | [
"import java.io.*;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) throws IOException {\n\t \tScanner in = new Scanner(System.in);\n\t \t\n\t \twhile(in.hasNextInt()) {\n\t \t\tint a = in.nextInt();\n\t \t\tint b = in.nextInt();\n\t \t\ta += b;\n\t \t\tint numDigit = String.valueOf(a).length();\n\t \t\tSystem.out.println(numDigit);\n\t \t}\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) throws IOException {\n\t \tScanner in = new Scanner(System.in);\n\t \t\n\t \twhile(in.hasNextInt()) {\n\t \t\tint a = in.nextInt();\n\t \t\tint b = in.nextInt();\n\t \t\ta += b;\n\t \t\tint numDigit = String.valueOf(a).length();\n\t \t\tSystem.out.println(numDigit);\n\t \t}\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t \tScanner in = new Scanner(System.in);\n\t \t\n\t \twhile(in.hasNextInt()) {\n\t \t\tint a = in.nextInt();\n\t \t\tint b = in.nextInt();\n\t \t\ta += b;\n\t \t\tint numDigit = String.valueOf(a).length();\n\t \t\tSystem.out.println(numDigit);\n\t \t}\n }",
"main",
"{\n\t \tScanner in = new Scanner(System.in);\n\t \t\n\t \twhile(in.hasNextInt()) {\n\t \t\tint a = in.nextInt();\n\t \t\tint b = in.nextInt();\n\t \t\ta += b;\n\t \t\tint numDigit = String.valueOf(a).length();\n\t \t\tSystem.out.println(numDigit);\n\t \t}\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while(in.hasNextInt()) {\n\t \t\tint a = in.nextInt();\n\t \t\tint b = in.nextInt();\n\t \t\ta += b;\n\t \t\tint numDigit = String.valueOf(a).length();\n\t \t\tSystem.out.println(numDigit);\n\t \t}",
"in.hasNextInt()",
"in.hasNextInt",
"in",
"{\n\t \t\tint a = in.nextInt();\n\t \t\tint b = in.nextInt();\n\t \t\ta += b;\n\t \t\tint numDigit = String.valueOf(a).length();\n\t \t\tSystem.out.println(numDigit);\n\t \t}",
"int a = in.nextInt();",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"int b = in.nextInt();",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"a += b",
"a",
"b",
"int numDigit = String.valueOf(a).length();",
"numDigit",
"String.valueOf(a).length()",
"String.valueOf(a).length",
"String.valueOf(a)",
"String.valueOf",
"String",
"a",
"System.out.println(numDigit)",
"System.out.println",
"System.out",
"System",
"System.out",
"numDigit",
"String[] args",
"args"
] | import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
class Main {
public static void main(String[] args) throws IOException {
Scanner in = new Scanner(System.in);
while(in.hasNextInt()) {
int a = in.nextInt();
int b = in.nextInt();
a += b;
int numDigit = String.valueOf(a).length();
System.out.println(numDigit);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
0,
13,
2,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
2,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
19,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
6,
39
],
[
39,
40
]
] | [
"import java.util.Scanner;\n\nclass Main {\n public static void main (String args[]) {\n\tScanner scan = new Scanner(System.in);\n\tint sum = 0;\n\n\twhile (scan.hasNext()) {\n\t sum = scan.nextInt() + scan.nextInt();\n\t System.out.println((sum+\"\").length());\n\t}\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main (String args[]) {\n\tScanner scan = new Scanner(System.in);\n\tint sum = 0;\n\n\twhile (scan.hasNext()) {\n\t sum = scan.nextInt() + scan.nextInt();\n\t System.out.println((sum+\"\").length());\n\t}\n }\n}",
"Main",
"public static void main (String args[]) {\n\tScanner scan = new Scanner(System.in);\n\tint sum = 0;\n\n\twhile (scan.hasNext()) {\n\t sum = scan.nextInt() + scan.nextInt();\n\t System.out.println((sum+\"\").length());\n\t}\n }",
"main",
"{\n\tScanner scan = new Scanner(System.in);\n\tint sum = 0;\n\n\twhile (scan.hasNext()) {\n\t sum = scan.nextInt() + scan.nextInt();\n\t System.out.println((sum+\"\").length());\n\t}\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int sum = 0;",
"sum",
"0",
"while (scan.hasNext()) {\n\t sum = scan.nextInt() + scan.nextInt();\n\t System.out.println((sum+\"\").length());\n\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t sum = scan.nextInt() + scan.nextInt();\n\t System.out.println((sum+\"\").length());\n\t}",
"sum = scan.nextInt() + scan.nextInt()",
"sum",
"scan.nextInt() + scan.nextInt()",
"scan.nextInt()",
"scan.nextInt",
"scan",
"scan.nextInt()",
"scan.nextInt",
"scan",
"System.out.println((sum+\"\").length())",
"System.out.println",
"System.out",
"System",
"System.out",
"(sum+\"\").length()",
"(sum+\"\").length",
"(sum+\"\")",
"sum",
"\"\"",
"String args[]",
"args"
] | import java.util.Scanner;
class Main {
public static void main (String args[]) {
Scanner scan = new Scanner(System.in);
int sum = 0;
while (scan.hasNext()) {
sum = scan.nextInt() + scan.nextInt();
System.out.println((sum+"").length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
4,
18,
13,
30,
0,
13,
17,
41,
13,
2,
4,
18,
13,
4,
18,
13,
42,
2,
13,
17,
30,
40,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
18,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
18,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
6,
47
],
[
47,
48
]
] | [
"import java.util.Scanner;\n\nclass Main {\t\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint count;\n\t\t\n\t\twhile(scan.hasNextInt()){\n\t\t\tcount = 1;\n\t\t\tint addNum = scan.nextInt() + scan.nextInt();\n\t\t\twhile(addNum>=10){\n\t\t\t\tcount++;\n\t\t\t\taddNum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\t\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint count;\n\t\t\n\t\twhile(scan.hasNextInt()){\n\t\t\tcount = 1;\n\t\t\tint addNum = scan.nextInt() + scan.nextInt();\n\t\t\twhile(addNum>=10){\n\t\t\t\tcount++;\n\t\t\t\taddNum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint count;\n\t\t\n\t\twhile(scan.hasNextInt()){\n\t\t\tcount = 1;\n\t\t\tint addNum = scan.nextInt() + scan.nextInt();\n\t\t\twhile(addNum>=10){\n\t\t\t\tcount++;\n\t\t\t\taddNum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint count;\n\t\t\n\t\twhile(scan.hasNextInt()){\n\t\t\tcount = 1;\n\t\t\tint addNum = scan.nextInt() + scan.nextInt();\n\t\t\twhile(addNum>=10){\n\t\t\t\tcount++;\n\t\t\t\taddNum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int count;",
"count",
"while(scan.hasNextInt()){\n\t\t\tcount = 1;\n\t\t\tint addNum = scan.nextInt() + scan.nextInt();\n\t\t\twhile(addNum>=10){\n\t\t\t\tcount++;\n\t\t\t\taddNum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}",
"scan.hasNextInt()",
"scan.hasNextInt",
"scan",
"{\n\t\t\tcount = 1;\n\t\t\tint addNum = scan.nextInt() + scan.nextInt();\n\t\t\twhile(addNum>=10){\n\t\t\t\tcount++;\n\t\t\t\taddNum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}",
"count = 1",
"count",
"1",
"int addNum = scan.nextInt() + scan.nextInt();",
"addNum",
"scan.nextInt() + scan.nextInt()",
"scan.nextInt()",
"scan.nextInt",
"scan",
"scan.nextInt()",
"scan.nextInt",
"scan",
"while(addNum>=10){\n\t\t\t\tcount++;\n\t\t\t\taddNum/=10;\n\t\t\t}",
"addNum>=10",
"addNum",
"10",
"{\n\t\t\t\tcount++;\n\t\t\t\taddNum/=10;\n\t\t\t}",
"count++",
"count",
"addNum/=10",
"addNum",
"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 count;
while(scan.hasNextInt()){
count = 1;
int addNum = scan.nextInt() + scan.nextInt();
while(addNum>=10){
count++;
addNum/=10;
}
System.out.println(count);
}
}
} |
[
7,
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,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
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
],
[
72,
8
],
[
72,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
9,
32
],
[
32,
33
],
[
72,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
36,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
48,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
36,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
34,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] | [
"\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] argv) throws IOException {\n //*\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n String s = in.readLine();\n if (s == null) {\n break;\n }\n f(s);\n }\n //*/\n }\n\n public static void f(String s) {\n String[] sp = s.split(\" \");\n String ans = String.valueOf(Integer.parseInt(sp[0]) + Integer.parseInt(sp[1]));\n System.out.println(ans.length());\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] argv) throws IOException {\n //*\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n String s = in.readLine();\n if (s == null) {\n break;\n }\n f(s);\n }\n //*/\n }\n\n public static void f(String s) {\n String[] sp = s.split(\" \");\n String ans = String.valueOf(Integer.parseInt(sp[0]) + Integer.parseInt(sp[1]));\n System.out.println(ans.length());\n }\n}",
"Main",
"public static void main(String[] argv) throws IOException {\n //*\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n String s = in.readLine();\n if (s == null) {\n break;\n }\n f(s);\n }\n //*/\n }",
"main",
"{\n //*\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n String s = in.readLine();\n if (s == null) {\n break;\n }\n f(s);\n }\n //*/\n }",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true) {\n String s = in.readLine();\n if (s == null) {\n break;\n }\n f(s);\n }",
"true",
"{\n String s = in.readLine();\n if (s == null) {\n break;\n }\n f(s);\n }",
"String s = in.readLine();",
"s",
"in.readLine()",
"in.readLine",
"in",
"if (s == null) {\n break;\n }",
"s == null",
"s",
"null",
"{\n break;\n }",
"break;",
"f(s)",
"f",
"s",
"String[] argv",
"argv",
"public static void f(String s) {\n String[] sp = s.split(\" \");\n String ans = String.valueOf(Integer.parseInt(sp[0]) + Integer.parseInt(sp[1]));\n System.out.println(ans.length());\n }",
"f",
"{\n String[] sp = s.split(\" \");\n String ans = String.valueOf(Integer.parseInt(sp[0]) + Integer.parseInt(sp[1]));\n System.out.println(ans.length());\n }",
"String[] sp = s.split(\" \");",
"sp",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"String ans = String.valueOf(Integer.parseInt(sp[0]) + Integer.parseInt(sp[1]));",
"ans",
"String.valueOf(Integer.parseInt(sp[0]) + Integer.parseInt(sp[1]))",
"String.valueOf",
"String",
"Integer.parseInt(sp[0]) + Integer.parseInt(sp[1])",
"Integer.parseInt(sp[0])",
"Integer.parseInt",
"Integer",
"sp[0]",
"sp",
"0",
"Integer.parseInt(sp[1])",
"Integer.parseInt",
"Integer",
"sp[1]",
"sp",
"1",
"System.out.println(ans.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"ans.length()",
"ans.length",
"ans",
"String s",
"s",
"public class Main {\n\n public static void main(String[] argv) throws IOException {\n //*\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n String s = in.readLine();\n if (s == null) {\n break;\n }\n f(s);\n }\n //*/\n }\n\n public static void f(String s) {\n String[] sp = s.split(\" \");\n String ans = String.valueOf(Integer.parseInt(sp[0]) + Integer.parseInt(sp[1]));\n System.out.println(ans.length());\n }\n}",
"public class Main {\n\n public static void main(String[] argv) throws IOException {\n //*\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n String s = in.readLine();\n if (s == null) {\n break;\n }\n f(s);\n }\n //*/\n }\n\n public static void f(String s) {\n String[] sp = s.split(\" \");\n String ans = String.valueOf(Integer.parseInt(sp[0]) + Integer.parseInt(sp[1]));\n System.out.println(ans.length());\n }\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] argv) throws IOException {
//*
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
while(true) {
String s = in.readLine();
if (s == null) {
break;
}
f(s);
}
//*/
}
public static void f(String s) {
String[] sp = s.split(" ");
String ans = String.valueOf(Integer.parseInt(sp[0]) + Integer.parseInt(sp[1]));
System.out.println(ans.length());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
2,
13,
13,
13,
30,
0,
13,
2,
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
],
[
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
],
[
21,
24
],
[
24,
25
],
[
25,
26
],
[
18,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
18,
35
],
[
35,
36
],
[
35,
37
],
[
18,
38
],
[
38,
39
],
[
38,
40
],
[
18,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
47,
53
],
[
53,
54
],
[
18,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
6,
61
],
[
61,
62
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\t\t\twhile(sc.hasNextInt()){\n\t\t\t\tint a=Integer.parseInt(sc.next());\n\t\t\t\tint b=Integer.parseInt(sc.next());\n\t\t\t\tint digit = 1;\n\t\t\t\tint n=0;\n\t\t\t\twhile((a+b)>=digit){\n\t\t\t\t\tdigit=digit*10;\n\t\t\t\t\tn++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(n);\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\t\t\twhile(sc.hasNextInt()){\n\t\t\t\tint a=Integer.parseInt(sc.next());\n\t\t\t\tint b=Integer.parseInt(sc.next());\n\t\t\t\tint digit = 1;\n\t\t\t\tint n=0;\n\t\t\t\twhile((a+b)>=digit){\n\t\t\t\t\tdigit=digit*10;\n\t\t\t\t\tn++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(n);\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\t\t\twhile(sc.hasNextInt()){\n\t\t\t\tint a=Integer.parseInt(sc.next());\n\t\t\t\tint b=Integer.parseInt(sc.next());\n\t\t\t\tint digit = 1;\n\t\t\t\tint n=0;\n\t\t\t\twhile((a+b)>=digit){\n\t\t\t\t\tdigit=digit*10;\n\t\t\t\t\tn++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(n);\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\t\t\twhile(sc.hasNextInt()){\n\t\t\t\tint a=Integer.parseInt(sc.next());\n\t\t\t\tint b=Integer.parseInt(sc.next());\n\t\t\t\tint digit = 1;\n\t\t\t\tint n=0;\n\t\t\t\twhile((a+b)>=digit){\n\t\t\t\t\tdigit=digit*10;\n\t\t\t\t\tn++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(n);\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t}",
"try(Scanner sc = new Scanner(System.in)){\n\t\t\twhile(sc.hasNextInt()){\n\t\t\t\tint a=Integer.parseInt(sc.next());\n\t\t\t\tint b=Integer.parseInt(sc.next());\n\t\t\t\tint digit = 1;\n\t\t\t\tint n=0;\n\t\t\t\twhile((a+b)>=digit){\n\t\t\t\t\tdigit=digit*10;\n\t\t\t\t\tn++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(n);\n\t\t\t\t\n\t\t\t}\n\t\t}",
"{\n\t\t\twhile(sc.hasNextInt()){\n\t\t\t\tint a=Integer.parseInt(sc.next());\n\t\t\t\tint b=Integer.parseInt(sc.next());\n\t\t\t\tint digit = 1;\n\t\t\t\tint n=0;\n\t\t\t\twhile((a+b)>=digit){\n\t\t\t\t\tdigit=digit*10;\n\t\t\t\t\tn++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(n);\n\t\t\t\t\n\t\t\t}\n\t\t}",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"while(sc.hasNextInt()){\n\t\t\t\tint a=Integer.parseInt(sc.next());\n\t\t\t\tint b=Integer.parseInt(sc.next());\n\t\t\t\tint digit = 1;\n\t\t\t\tint n=0;\n\t\t\t\twhile((a+b)>=digit){\n\t\t\t\t\tdigit=digit*10;\n\t\t\t\t\tn++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(n);\n\t\t\t\t\n\t\t\t}",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n\t\t\t\tint a=Integer.parseInt(sc.next());\n\t\t\t\tint b=Integer.parseInt(sc.next());\n\t\t\t\tint digit = 1;\n\t\t\t\tint n=0;\n\t\t\t\twhile((a+b)>=digit){\n\t\t\t\t\tdigit=digit*10;\n\t\t\t\t\tn++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(n);\n\t\t\t\t\n\t\t\t}",
"int a=Integer.parseInt(sc.next());",
"a",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int b=Integer.parseInt(sc.next());",
"b",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int digit = 1;",
"digit",
"1",
"int n=0;",
"n",
"0",
"while((a+b)>=digit){\n\t\t\t\t\tdigit=digit*10;\n\t\t\t\t\tn++;\n\t\t\t\t}",
"(a+b)>=digit",
"(a+b)",
"a",
"b",
"digit",
"{\n\t\t\t\t\tdigit=digit*10;\n\t\t\t\t\tn++;\n\t\t\t\t}",
"digit=digit*10",
"digit",
"digit*10",
"digit",
"10",
"n++",
"n",
"System.out.println(n)",
"System.out.println",
"System.out",
"System",
"System.out",
"n",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args){
try(Scanner sc = new Scanner(System.in)){
while(sc.hasNextInt()){
int a=Integer.parseInt(sc.next());
int b=Integer.parseInt(sc.next());
int digit = 1;
int n=0;
while((a+b)>=digit){
digit=digit*10;
n++;
}
System.out.println(n);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
30,
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,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
2,
13,
13,
41,
13,
17,
11,
1,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
17,
29,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
100,
11
],
[
100,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
21,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
21,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
21,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
21,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
21,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
57,
60
],
[
21,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
12,
67
],
[
67,
68
],
[
100,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
71,
77
],
[
77,
78
],
[
77,
79
],
[
71,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
86,
87
],
[
80,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
71,
93
],
[
93,
94
],
[
69,
95
],
[
95,
96
],
[
69,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\t// main????????????\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(; ;){\n\t\t\tString oneline = br.readLine();\n\t\t\tif(oneline == null){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] line = oneline.split(\" \");\n\t\t\tint data1 = Integer.parseInt(line[0]);\n\t\t\tint data2 = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tint digit = digitChk(data1, data2);\n\t\t\t\n\t\t\tSystem.out.println(digit);\n\t\t}\n\t}\n\t\n\tprivate static int digitChk(int a, int b){\n\t\tint sum = a+b;\n\t\tint digit = 0;\t// digit\n\t\t\n\t\tfor(; sum>0; digit++){\n\t\t\tsum /= 10;\n\t\t}\n\t\t\n\t\treturn (digit);\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main{\n\t// main????????????\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(; ;){\n\t\t\tString oneline = br.readLine();\n\t\t\tif(oneline == null){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] line = oneline.split(\" \");\n\t\t\tint data1 = Integer.parseInt(line[0]);\n\t\t\tint data2 = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tint digit = digitChk(data1, data2);\n\t\t\t\n\t\t\tSystem.out.println(digit);\n\t\t}\n\t}\n\t\n\tprivate static int digitChk(int a, int b){\n\t\tint sum = a+b;\n\t\tint digit = 0;\t// digit\n\t\t\n\t\tfor(; sum>0; digit++){\n\t\t\tsum /= 10;\n\t\t}\n\t\t\n\t\treturn (digit);\n\t}\n\n}",
"Main",
"// main????????????\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(; ;){\n\t\t\tString oneline = br.readLine();\n\t\t\tif(oneline == null){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] line = oneline.split(\" \");\n\t\t\tint data1 = Integer.parseInt(line[0]);\n\t\t\tint data2 = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tint digit = digitChk(data1, data2);\n\t\t\t\n\t\t\tSystem.out.println(digit);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(; ;){\n\t\t\tString oneline = br.readLine();\n\t\t\tif(oneline == null){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] line = oneline.split(\" \");\n\t\t\tint data1 = Integer.parseInt(line[0]);\n\t\t\tint data2 = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tint digit = digitChk(data1, data2);\n\t\t\t\n\t\t\tSystem.out.println(digit);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"for(; ;){\n\t\t\tString oneline = br.readLine();\n\t\t\tif(oneline == null){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] line = oneline.split(\" \");\n\t\t\tint data1 = Integer.parseInt(line[0]);\n\t\t\tint data2 = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tint digit = digitChk(data1, data2);\n\t\t\t\n\t\t\tSystem.out.println(digit);\n\t\t}",
";",
"{\n\t\t\tString oneline = br.readLine();\n\t\t\tif(oneline == null){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] line = oneline.split(\" \");\n\t\t\tint data1 = Integer.parseInt(line[0]);\n\t\t\tint data2 = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tint digit = digitChk(data1, data2);\n\t\t\t\n\t\t\tSystem.out.println(digit);\n\t\t}",
"{\n\t\t\tString oneline = br.readLine();\n\t\t\tif(oneline == null){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] line = oneline.split(\" \");\n\t\t\tint data1 = Integer.parseInt(line[0]);\n\t\t\tint data2 = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tint digit = digitChk(data1, data2);\n\t\t\t\n\t\t\tSystem.out.println(digit);\n\t\t}",
"String oneline = br.readLine();",
"oneline",
"br.readLine()",
"br.readLine",
"br",
"if(oneline == null){\n\t\t\t\tbreak;\n\t\t\t}",
"oneline == null",
"oneline",
"null",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"String[] line = oneline.split(\" \");",
"line",
"oneline.split(\" \")",
"oneline.split",
"oneline",
"\" \"",
"int data1 = Integer.parseInt(line[0]);",
"data1",
"Integer.parseInt(line[0])",
"Integer.parseInt",
"Integer",
"line[0]",
"line",
"0",
"int data2 = Integer.parseInt(line[1]);",
"data2",
"Integer.parseInt(line[1])",
"Integer.parseInt",
"Integer",
"line[1]",
"line",
"1",
"int digit = digitChk(data1, data2);",
"digit",
"digitChk(data1, data2)",
"digitChk",
"data1",
"data2",
"System.out.println(digit)",
"System.out.println",
"System.out",
"System",
"System.out",
"digit",
"String[] args",
"args",
"private static int digitChk(int a, int b){\n\t\tint sum = a+b;\n\t\tint digit = 0;\t// digit\n\t\t\n\t\tfor(; sum>0; digit++){\n\t\t\tsum /= 10;\n\t\t}\n\t\t\n\t\treturn (digit);\n\t}",
"digitChk",
"{\n\t\tint sum = a+b;\n\t\tint digit = 0;\t// digit\n\t\t\n\t\tfor(; sum>0; digit++){\n\t\t\tsum /= 10;\n\t\t}\n\t\t\n\t\treturn (digit);\n\t}",
"int sum = a+b;",
"sum",
"a+b",
"a",
"b",
"int digit = 0;",
"digit",
"0",
"for(; sum>0; digit++){\n\t\t\tsum /= 10;\n\t\t}",
";",
"sum>0",
"sum",
"0",
"digit++",
"digit++",
"digit",
"{\n\t\t\tsum /= 10;\n\t\t}",
"{\n\t\t\tsum /= 10;\n\t\t}",
"sum /= 10",
"sum",
"10",
"return (digit);",
"(digit)",
"int a",
"a",
"int b",
"b",
"public class Main{\n\t// main????????????\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(; ;){\n\t\t\tString oneline = br.readLine();\n\t\t\tif(oneline == null){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] line = oneline.split(\" \");\n\t\t\tint data1 = Integer.parseInt(line[0]);\n\t\t\tint data2 = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tint digit = digitChk(data1, data2);\n\t\t\t\n\t\t\tSystem.out.println(digit);\n\t\t}\n\t}\n\t\n\tprivate static int digitChk(int a, int b){\n\t\tint sum = a+b;\n\t\tint digit = 0;\t// digit\n\t\t\n\t\tfor(; sum>0; digit++){\n\t\t\tsum /= 10;\n\t\t}\n\t\t\n\t\treturn (digit);\n\t}\n\n}",
"public class Main{\n\t// main????????????\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(; ;){\n\t\t\tString oneline = br.readLine();\n\t\t\tif(oneline == null){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] line = oneline.split(\" \");\n\t\t\tint data1 = Integer.parseInt(line[0]);\n\t\t\tint data2 = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tint digit = digitChk(data1, data2);\n\t\t\t\n\t\t\tSystem.out.println(digit);\n\t\t}\n\t}\n\t\n\tprivate static int digitChk(int a, int b){\n\t\tint sum = a+b;\n\t\tint digit = 0;\t// digit\n\t\t\n\t\tfor(; sum>0; digit++){\n\t\t\tsum /= 10;\n\t\t}\n\t\t\n\t\treturn (digit);\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
// main????????????
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
for(; ;){
String oneline = br.readLine();
if(oneline == null){
break;
}
String[] line = oneline.split(" ");
int data1 = Integer.parseInt(line[0]);
int data2 = Integer.parseInt(line[1]);
int digit = digitChk(data1, data2);
System.out.println(digit);
}
}
private static int digitChk(int a, int b){
int sum = a+b;
int digit = 0; // digit
for(; sum>0; digit++){
sum /= 10;
}
return (digit);
}
} |
[
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,
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,
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
],
[
24,
28
],
[
21,
29
],
[
29,
30
],
[
29,
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
],
[
21,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
21,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
6,
60
],
[
60,
61
]
] | [
"import java.io.*;\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 = br.readLine();\n\t\twhile (str != null) {\n\t\t\tString[] arrays = str.split(\"\\\\s\", 0);\n\t\t\tint num = Integer.parseInt(arrays[0]) + Integer.parseInt(arrays[1]);\n\t\t\tSystem.out.println(Integer.toString(num).length());\n\t\t\tstr = br.readLine();\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\twhile (str != null) {\n\t\t\tString[] arrays = str.split(\"\\\\s\", 0);\n\t\t\tint num = Integer.parseInt(arrays[0]) + Integer.parseInt(arrays[1]);\n\t\t\tSystem.out.println(Integer.toString(num).length());\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\twhile (str != null) {\n\t\t\tString[] arrays = str.split(\"\\\\s\", 0);\n\t\t\tint num = Integer.parseInt(arrays[0]) + Integer.parseInt(arrays[1]);\n\t\t\tSystem.out.println(Integer.toString(num).length());\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\twhile (str != null) {\n\t\t\tString[] arrays = str.split(\"\\\\s\", 0);\n\t\t\tint num = Integer.parseInt(arrays[0]) + Integer.parseInt(arrays[1]);\n\t\t\tSystem.out.println(Integer.toString(num).length());\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",
"while (str != null) {\n\t\t\tString[] arrays = str.split(\"\\\\s\", 0);\n\t\t\tint num = Integer.parseInt(arrays[0]) + Integer.parseInt(arrays[1]);\n\t\t\tSystem.out.println(Integer.toString(num).length());\n\t\t\tstr = br.readLine();\n\t\t}",
"str != null",
"str",
"null",
"{\n\t\t\tString[] arrays = str.split(\"\\\\s\", 0);\n\t\t\tint num = Integer.parseInt(arrays[0]) + Integer.parseInt(arrays[1]);\n\t\t\tSystem.out.println(Integer.toString(num).length());\n\t\t\tstr = br.readLine();\n\t\t}",
"String[] arrays = str.split(\"\\\\s\", 0);",
"arrays",
"str.split(\"\\\\s\", 0)",
"str.split",
"str",
"\"\\\\s\"",
"0",
"int num = Integer.parseInt(arrays[0]) + Integer.parseInt(arrays[1]);",
"num",
"Integer.parseInt(arrays[0]) + Integer.parseInt(arrays[1])",
"Integer.parseInt(arrays[0])",
"Integer.parseInt",
"Integer",
"arrays[0]",
"arrays",
"0",
"Integer.parseInt(arrays[1])",
"Integer.parseInt",
"Integer",
"arrays[1]",
"arrays",
"1",
"System.out.println(Integer.toString(num).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(num).length()",
"Integer.toString(num).length",
"Integer.toString(num)",
"Integer.toString",
"Integer",
"num",
"str = br.readLine()",
"str",
"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 str = br.readLine();
while (str != null) {
String[] arrays = str.split("\\s", 0);
int num = Integer.parseInt(arrays[0]) + Integer.parseInt(arrays[1]);
System.out.println(Integer.toString(num).length());
str = br.readLine();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
38,
5,
13,
30,
30,
42,
2,
17,
0,
13,
4,
18,
13,
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
] | [
[
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
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
33,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
50,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
60,
62
],
[
12,
63
],
[
63,
64
]
] | [
"import java.util.*;\nimport java.io.*;\nimport java.math.*;\n\nclass Main{\n public static void main(String[] args){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n try{\n while(null != (line = br.readLine()))\n {\n String[] strArr = line.split(\" \");\n System.out.println(String.valueOf(Integer.parseInt(strArr[0]) + Integer.parseInt(strArr[1])).length());\n }\n }\n catch(Exception e){\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"class Main{\n public static void main(String[] args){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n try{\n while(null != (line = br.readLine()))\n {\n String[] strArr = line.split(\" \");\n System.out.println(String.valueOf(Integer.parseInt(strArr[0]) + Integer.parseInt(strArr[1])).length());\n }\n }\n catch(Exception e){\n }\n }\n}",
"Main",
"public static void main(String[] args){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n try{\n while(null != (line = br.readLine()))\n {\n String[] strArr = line.split(\" \");\n System.out.println(String.valueOf(Integer.parseInt(strArr[0]) + Integer.parseInt(strArr[1])).length());\n }\n }\n catch(Exception e){\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n try{\n while(null != (line = br.readLine()))\n {\n String[] strArr = line.split(\" \");\n System.out.println(String.valueOf(Integer.parseInt(strArr[0]) + Integer.parseInt(strArr[1])).length());\n }\n }\n catch(Exception e){\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"try{\n while(null != (line = br.readLine()))\n {\n String[] strArr = line.split(\" \");\n System.out.println(String.valueOf(Integer.parseInt(strArr[0]) + Integer.parseInt(strArr[1])).length());\n }\n }\n catch(Exception e){\n }",
"catch(Exception e){\n }",
"Exception e",
"{\n }",
"{\n while(null != (line = br.readLine()))\n {\n String[] strArr = line.split(\" \");\n System.out.println(String.valueOf(Integer.parseInt(strArr[0]) + Integer.parseInt(strArr[1])).length());\n }\n }",
"while(null != (line = br.readLine()))\n {\n String[] strArr = line.split(\" \");\n System.out.println(String.valueOf(Integer.parseInt(strArr[0]) + Integer.parseInt(strArr[1])).length());\n }",
"null != (line = br.readLine())",
"null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"{\n String[] strArr = line.split(\" \");\n System.out.println(String.valueOf(Integer.parseInt(strArr[0]) + Integer.parseInt(strArr[1])).length());\n }",
"String[] strArr = line.split(\" \");",
"strArr",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"System.out.println(String.valueOf(Integer.parseInt(strArr[0]) + Integer.parseInt(strArr[1])).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(Integer.parseInt(strArr[0]) + Integer.parseInt(strArr[1])).length()",
"String.valueOf(Integer.parseInt(strArr[0]) + Integer.parseInt(strArr[1])).length",
"String.valueOf(Integer.parseInt(strArr[0]) + Integer.parseInt(strArr[1]))",
"String.valueOf",
"String",
"Integer.parseInt(strArr[0]) + Integer.parseInt(strArr[1])",
"Integer.parseInt(strArr[0])",
"Integer.parseInt",
"Integer",
"strArr[0]",
"strArr",
"0",
"Integer.parseInt(strArr[1])",
"Integer.parseInt",
"Integer",
"strArr[1]",
"strArr",
"1",
"String[] args",
"args"
] | import java.util.*;
import java.io.*;
import java.math.*;
class Main{
public static void main(String[] args){
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line;
try{
while(null != (line = br.readLine()))
{
String[] strArr = line.split(" ");
System.out.println(String.valueOf(Integer.parseInt(strArr[0]) + Integer.parseInt(strArr[1])).length());
}
}
catch(Exception e){
}
}
} |
[
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,
2,
4,
18,
13,
13,
17,
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
],
[
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
],
[
36,
37
],
[
35,
38
],
[
34,
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;\npublic class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n while (scan.hasNextInt()) {\n int a = scan.nextInt();\n int b = scan.nextInt();\n int sum = a+b;\n int length = (int) (Math.log10(sum) + 1);\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 scan = new Scanner(System.in);\n while (scan.hasNextInt()) {\n int a = scan.nextInt();\n int b = scan.nextInt();\n int sum = a+b;\n int length = (int) (Math.log10(sum) + 1);\n System.out.println(length);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n while (scan.hasNextInt()) {\n int a = scan.nextInt();\n int b = scan.nextInt();\n int sum = a+b;\n int length = (int) (Math.log10(sum) + 1);\n System.out.println(length);\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n while (scan.hasNextInt()) {\n int a = scan.nextInt();\n int b = scan.nextInt();\n int sum = a+b;\n int length = (int) (Math.log10(sum) + 1);\n System.out.println(length);\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while (scan.hasNextInt()) {\n int a = scan.nextInt();\n int b = scan.nextInt();\n int sum = a+b;\n int length = (int) (Math.log10(sum) + 1);\n System.out.println(length);\n }",
"scan.hasNextInt()",
"scan.hasNextInt",
"scan",
"{\n int a = scan.nextInt();\n int b = scan.nextInt();\n int sum = a+b;\n int length = (int) (Math.log10(sum) + 1);\n System.out.println(length);\n }",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int b = scan.nextInt();",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int sum = a+b;",
"sum",
"a+b",
"a",
"b",
"int length = (int) (Math.log10(sum) + 1);",
"length",
"(int) (Math.log10(sum) + 1)",
"Math.log10(sum)",
"Math.log10",
"Math",
"sum",
"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){\n Scanner scan = new Scanner(System.in);\n while (scan.hasNextInt()) {\n int a = scan.nextInt();\n int b = scan.nextInt();\n int sum = a+b;\n int length = (int) (Math.log10(sum) + 1);\n System.out.println(length);\n }\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n while (scan.hasNextInt()) {\n int a = scan.nextInt();\n int b = scan.nextInt();\n int sum = a+b;\n int length = (int) (Math.log10(sum) + 1);\n System.out.println(length);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
while (scan.hasNextInt()) {
int a = scan.nextInt();
int b = scan.nextInt();
int sum = a+b;
int length = (int) (Math.log10(sum) + 1);
System.out.println(length);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
30,
4,
18,
13,
30,
41,
13,
20,
41,
13,
42,
2,
2,
0,
13,
4,
18,
13,
17,
2,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
14,
2,
2,
17,
4,
18,
13,
18,
13,
17,
2,
4,
18,
13,
18,
13,
17,
17,
30,
41,
13,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
13,
4,
18,
4,
18,
13,
13,
30,
3,
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
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
44,
48
],
[
35,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
49,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
57,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
70,
72
],
[
66,
73
],
[
56,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
81,
83
],
[
77,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
87,
88
],
[
87,
89
],
[
74,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
56,
99
],
[
99,
100
],
[
29,
101
],
[
101,
102
],
[
101,
103
],
[
101,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
18,
112
],
[
112,
113
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tString s;\n\n\t\t\twhile ((s = br.readLine()) != null && list.size() <= 200) {\n\n\t\t\t\tString[] num = s.split(\" \");\n\t\t\t\tif (0 <= Integer.parseInt(num[0])\n\t\t\t\t\t\t&& Integer.parseInt(num[1]) <= 1000000) {\n\t\t\t\t\tint sum = Integer.parseInt(num[0])\n\t\t\t\t\t\t\t+ Integer.parseInt(num[1]);\n\t\t\t\t\tlist.add(Integer.toString(sum).length());\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int keta : list) {\n\t\t\t\tSystem.out.println(keta);\n\t\t\t}\n\n\t\t} finally {\n\t\t\tbr.close();\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",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tString s;\n\n\t\t\twhile ((s = br.readLine()) != null && list.size() <= 200) {\n\n\t\t\t\tString[] num = s.split(\" \");\n\t\t\t\tif (0 <= Integer.parseInt(num[0])\n\t\t\t\t\t\t&& Integer.parseInt(num[1]) <= 1000000) {\n\t\t\t\t\tint sum = Integer.parseInt(num[0])\n\t\t\t\t\t\t\t+ Integer.parseInt(num[1]);\n\t\t\t\t\tlist.add(Integer.toString(sum).length());\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int keta : list) {\n\t\t\t\tSystem.out.println(keta);\n\t\t\t}\n\n\t\t} finally {\n\t\t\tbr.close();\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tString s;\n\n\t\t\twhile ((s = br.readLine()) != null && list.size() <= 200) {\n\n\t\t\t\tString[] num = s.split(\" \");\n\t\t\t\tif (0 <= Integer.parseInt(num[0])\n\t\t\t\t\t\t&& Integer.parseInt(num[1]) <= 1000000) {\n\t\t\t\t\tint sum = Integer.parseInt(num[0])\n\t\t\t\t\t\t\t+ Integer.parseInt(num[1]);\n\t\t\t\t\tlist.add(Integer.toString(sum).length());\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int keta : list) {\n\t\t\t\tSystem.out.println(keta);\n\t\t\t}\n\n\t\t} finally {\n\t\t\tbr.close();\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tString s;\n\n\t\t\twhile ((s = br.readLine()) != null && list.size() <= 200) {\n\n\t\t\t\tString[] num = s.split(\" \");\n\t\t\t\tif (0 <= Integer.parseInt(num[0])\n\t\t\t\t\t\t&& Integer.parseInt(num[1]) <= 1000000) {\n\t\t\t\t\tint sum = Integer.parseInt(num[0])\n\t\t\t\t\t\t\t+ Integer.parseInt(num[1]);\n\t\t\t\t\tlist.add(Integer.toString(sum).length());\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int keta : list) {\n\t\t\t\tSystem.out.println(keta);\n\t\t\t}\n\n\t\t} finally {\n\t\t\tbr.close();\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\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tString s;\n\n\t\t\twhile ((s = br.readLine()) != null && list.size() <= 200) {\n\n\t\t\t\tString[] num = s.split(\" \");\n\t\t\t\tif (0 <= Integer.parseInt(num[0])\n\t\t\t\t\t\t&& Integer.parseInt(num[1]) <= 1000000) {\n\t\t\t\t\tint sum = Integer.parseInt(num[0])\n\t\t\t\t\t\t\t+ Integer.parseInt(num[1]);\n\t\t\t\t\tlist.add(Integer.toString(sum).length());\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int keta : list) {\n\t\t\t\tSystem.out.println(keta);\n\t\t\t}\n\n\t\t} finally {\n\t\t\tbr.close();\n\t\t}",
"{\n\t\t\tbr.close();\n\t\t}",
"br.close()",
"br.close",
"br",
"{\n\t\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tString s;\n\n\t\t\twhile ((s = br.readLine()) != null && list.size() <= 200) {\n\n\t\t\t\tString[] num = s.split(\" \");\n\t\t\t\tif (0 <= Integer.parseInt(num[0])\n\t\t\t\t\t\t&& Integer.parseInt(num[1]) <= 1000000) {\n\t\t\t\t\tint sum = Integer.parseInt(num[0])\n\t\t\t\t\t\t\t+ Integer.parseInt(num[1]);\n\t\t\t\t\tlist.add(Integer.toString(sum).length());\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int keta : list) {\n\t\t\t\tSystem.out.println(keta);\n\t\t\t}\n\n\t\t}",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"String s;",
"s",
"while ((s = br.readLine()) != null && list.size() <= 200) {\n\n\t\t\t\tString[] num = s.split(\" \");\n\t\t\t\tif (0 <= Integer.parseInt(num[0])\n\t\t\t\t\t\t&& Integer.parseInt(num[1]) <= 1000000) {\n\t\t\t\t\tint sum = Integer.parseInt(num[0])\n\t\t\t\t\t\t\t+ Integer.parseInt(num[1]);\n\t\t\t\t\tlist.add(Integer.toString(sum).length());\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"(s = br.readLine()) != null && list.size() <= 200",
"(s = br.readLine()) != null",
"(s = br.readLine())",
"s",
"br.readLine()",
"br.readLine",
"br",
"null",
"list.size() <= 200",
"list.size()",
"list.size",
"list",
"200",
"{\n\n\t\t\t\tString[] num = s.split(\" \");\n\t\t\t\tif (0 <= Integer.parseInt(num[0])\n\t\t\t\t\t\t&& Integer.parseInt(num[1]) <= 1000000) {\n\t\t\t\t\tint sum = Integer.parseInt(num[0])\n\t\t\t\t\t\t\t+ Integer.parseInt(num[1]);\n\t\t\t\t\tlist.add(Integer.toString(sum).length());\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"String[] num = s.split(\" \");",
"num",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"if (0 <= Integer.parseInt(num[0])\n\t\t\t\t\t\t&& Integer.parseInt(num[1]) <= 1000000) {\n\t\t\t\t\tint sum = Integer.parseInt(num[0])\n\t\t\t\t\t\t\t+ Integer.parseInt(num[1]);\n\t\t\t\t\tlist.add(Integer.toString(sum).length());\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"0 <= Integer.parseInt(num[0])\n\t\t\t\t\t\t&& Integer.parseInt(num[1]) <= 1000000",
"0 <= Integer.parseInt(num[0])",
"0",
"Integer.parseInt(num[0])",
"Integer.parseInt",
"Integer",
"num[0]",
"num",
"0",
"Integer.parseInt(num[1]) <= 1000000",
"Integer.parseInt(num[1])",
"Integer.parseInt",
"Integer",
"num[1]",
"num",
"1",
"1000000",
"{\n\t\t\t\t\tint sum = Integer.parseInt(num[0])\n\t\t\t\t\t\t\t+ Integer.parseInt(num[1]);\n\t\t\t\t\tlist.add(Integer.toString(sum).length());\n\t\t\t\t}",
"int sum = Integer.parseInt(num[0])\n\t\t\t\t\t\t\t+ Integer.parseInt(num[1]);",
"sum",
"Integer.parseInt(num[0])\n\t\t\t\t\t\t\t+ 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",
"list.add(Integer.toString(sum).length())",
"list.add",
"list",
"Integer.toString(sum).length()",
"Integer.toString(sum).length",
"Integer.toString(sum)",
"Integer.toString",
"Integer",
"sum",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"for (int keta : list) {\n\t\t\t\tSystem.out.println(keta);\n\t\t\t}",
"int keta",
"list",
"{\n\t\t\t\tSystem.out.println(keta);\n\t\t\t}",
"{\n\t\t\t\tSystem.out.println(keta);\n\t\t\t}",
"System.out.println(keta)",
"System.out.println",
"System.out",
"System",
"System.out",
"keta",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try {
List<Integer> list = new ArrayList<Integer>();
String s;
while ((s = br.readLine()) != null && list.size() <= 200) {
String[] num = s.split(" ");
if (0 <= Integer.parseInt(num[0])
&& Integer.parseInt(num[1]) <= 1000000) {
int sum = Integer.parseInt(num[0])
+ Integer.parseInt(num[1]);
list.add(Integer.toString(sum).length());
}else {
break;
}
}
for (int keta : list) {
System.out.println(keta);
}
} finally {
br.close();
}
}
} |
[
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,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
4,
18,
13,
2,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
64,
8
],
[
64,
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
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
25,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
25,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
53,
60
],
[
9,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] | [
"import java.io.*;\nimport java.util.*;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString s;\n\t\twhile ((s = br.readLine()) != null) {\n\t\t\tString[] lc = s.split(\" \");\n\t\t\tint a = Integer.parseInt(lc[0]);\n\t\t\tint b = Integer.parseInt(lc[1]);\n\t\t\t\n\t\t\tSystem.out.println((int)Math.log10(a+b)+1);\n\t\t}\n\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString s;\n\t\twhile ((s = br.readLine()) != null) {\n\t\t\tString[] lc = s.split(\" \");\n\t\t\tint a = Integer.parseInt(lc[0]);\n\t\t\tint b = Integer.parseInt(lc[1]);\n\t\t\t\n\t\t\tSystem.out.println((int)Math.log10(a+b)+1);\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString s;\n\t\twhile ((s = br.readLine()) != null) {\n\t\t\tString[] lc = s.split(\" \");\n\t\t\tint a = Integer.parseInt(lc[0]);\n\t\t\tint b = Integer.parseInt(lc[1]);\n\t\t\t\n\t\t\tSystem.out.println((int)Math.log10(a+b)+1);\n\t\t}\n\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString s;\n\t\twhile ((s = br.readLine()) != null) {\n\t\t\tString[] lc = s.split(\" \");\n\t\t\tint a = Integer.parseInt(lc[0]);\n\t\t\tint b = Integer.parseInt(lc[1]);\n\t\t\t\n\t\t\tSystem.out.println((int)Math.log10(a+b)+1);\n\t\t}\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String s;",
"s",
"while ((s = br.readLine()) != null) {\n\t\t\tString[] lc = s.split(\" \");\n\t\t\tint a = Integer.parseInt(lc[0]);\n\t\t\tint b = Integer.parseInt(lc[1]);\n\t\t\t\n\t\t\tSystem.out.println((int)Math.log10(a+b)+1);\n\t\t}",
"(s = br.readLine()) != null",
"(s = br.readLine())",
"s",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tString[] lc = s.split(\" \");\n\t\t\tint a = Integer.parseInt(lc[0]);\n\t\t\tint b = Integer.parseInt(lc[1]);\n\t\t\t\n\t\t\tSystem.out.println((int)Math.log10(a+b)+1);\n\t\t}",
"String[] lc = s.split(\" \");",
"lc",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"int a = Integer.parseInt(lc[0]);",
"a",
"Integer.parseInt(lc[0])",
"Integer.parseInt",
"Integer",
"lc[0]",
"lc",
"0",
"int b = Integer.parseInt(lc[1]);",
"b",
"Integer.parseInt(lc[1])",
"Integer.parseInt",
"Integer",
"lc[1]",
"lc",
"1",
"System.out.println((int)Math.log10(a+b)+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)Math.log10(a+b)+1",
"(int)Math.log10(a+b)",
"Math.log10",
"Math",
"a+b",
"a",
"b",
"1",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString s;\n\t\twhile ((s = br.readLine()) != null) {\n\t\t\tString[] lc = s.split(\" \");\n\t\t\tint a = Integer.parseInt(lc[0]);\n\t\t\tint b = Integer.parseInt(lc[1]);\n\t\t\t\n\t\t\tSystem.out.println((int)Math.log10(a+b)+1);\n\t\t}\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString s;\n\t\twhile ((s = br.readLine()) != null) {\n\t\t\tString[] lc = s.split(\" \");\n\t\t\tint a = Integer.parseInt(lc[0]);\n\t\t\tint b = Integer.parseInt(lc[1]);\n\t\t\t\n\t\t\tSystem.out.println((int)Math.log10(a+b)+1);\n\t\t}\n\n\t}\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String s;
while ((s = br.readLine()) != null) {
String[] lc = s.split(" ");
int a = Integer.parseInt(lc[0]);
int b = Integer.parseInt(lc[1]);
System.out.println((int)Math.log10(a+b)+1);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
42,
4,
18,
13,
30,
0,
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,
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
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
21,
26
],
[
18,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
29,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
18,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
6,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tString[] data;\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\n\t\twhile(scanner.hasNext()) {\n\t\t\tdata = scanner.nextLine().split(\" \");\n\t\t\tint dataInt = Integer.parseInt(data[0]) + Integer.parseInt(data[1]);\n\t\t\tSystem.out.println(String.valueOf(dataInt).length());\n\t\t}\n\t\t\n\t\tscanner.close();\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tString[] data;\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\n\t\twhile(scanner.hasNext()) {\n\t\t\tdata = scanner.nextLine().split(\" \");\n\t\t\tint dataInt = Integer.parseInt(data[0]) + Integer.parseInt(data[1]);\n\t\t\tSystem.out.println(String.valueOf(dataInt).length());\n\t\t}\n\t\t\n\t\tscanner.close();\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tString[] data;\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\n\t\twhile(scanner.hasNext()) {\n\t\t\tdata = scanner.nextLine().split(\" \");\n\t\t\tint dataInt = Integer.parseInt(data[0]) + Integer.parseInt(data[1]);\n\t\t\tSystem.out.println(String.valueOf(dataInt).length());\n\t\t}\n\t\t\n\t\tscanner.close();\n\t\t\n\t}",
"main",
"{\n\t\t\n\t\tString[] data;\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\n\t\twhile(scanner.hasNext()) {\n\t\t\tdata = scanner.nextLine().split(\" \");\n\t\t\tint dataInt = Integer.parseInt(data[0]) + Integer.parseInt(data[1]);\n\t\t\tSystem.out.println(String.valueOf(dataInt).length());\n\t\t}\n\t\t\n\t\tscanner.close();\n\t\t\n\t}",
"String[] data;",
"data",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while(scanner.hasNext()) {\n\t\t\tdata = scanner.nextLine().split(\" \");\n\t\t\tint dataInt = Integer.parseInt(data[0]) + Integer.parseInt(data[1]);\n\t\t\tSystem.out.println(String.valueOf(dataInt).length());\n\t\t}",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n\t\t\tdata = scanner.nextLine().split(\" \");\n\t\t\tint dataInt = Integer.parseInt(data[0]) + Integer.parseInt(data[1]);\n\t\t\tSystem.out.println(String.valueOf(dataInt).length());\n\t\t}",
"data = scanner.nextLine().split(\" \")",
"data",
"scanner.nextLine().split(\" \")",
"scanner.nextLine().split",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"\" \"",
"int dataInt = Integer.parseInt(data[0]) + Integer.parseInt(data[1]);",
"dataInt",
"Integer.parseInt(data[0]) + Integer.parseInt(data[1])",
"Integer.parseInt(data[0])",
"Integer.parseInt",
"Integer",
"data[0]",
"data",
"0",
"Integer.parseInt(data[1])",
"Integer.parseInt",
"Integer",
"data[1]",
"data",
"1",
"System.out.println(String.valueOf(dataInt).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(dataInt).length()",
"String.valueOf(dataInt).length",
"String.valueOf(dataInt)",
"String.valueOf",
"String",
"dataInt",
"scanner.close()",
"scanner.close",
"scanner",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tString[] data;\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\n\t\twhile(scanner.hasNext()) {\n\t\t\tdata = scanner.nextLine().split(\" \");\n\t\t\tint dataInt = Integer.parseInt(data[0]) + Integer.parseInt(data[1]);\n\t\t\tSystem.out.println(String.valueOf(dataInt).length());\n\t\t}\n\t\t\n\t\tscanner.close();\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tString[] data;\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\n\t\twhile(scanner.hasNext()) {\n\t\t\tdata = scanner.nextLine().split(\" \");\n\t\t\tint dataInt = Integer.parseInt(data[0]) + Integer.parseInt(data[1]);\n\t\t\tSystem.out.println(String.valueOf(dataInt).length());\n\t\t}\n\t\t\n\t\tscanner.close();\n\t\t\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
String[] data;
Scanner scanner = new Scanner(System.in);
while(scanner.hasNext()) {
data = scanner.nextLine().split(" ");
int dataInt = Integer.parseInt(data[0]) + Integer.parseInt(data[1]);
System.out.println(String.valueOf(dataInt).length());
}
scanner.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
42,
4,
18,
13,
30,
0,
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,
2,
17,
4,
18,
4,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
21,
26
],
[
18,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
29,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
18,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
6,
55
],
[
55,
56
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n String[] data;\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n data = sc.nextLine().split(\" \");\n int digit = Integer.parseInt(data[0]) + Integer.parseInt(data[1]);\n System.out.println(\"\" + Integer.toString(digit).length());\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n String[] data;\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n data = sc.nextLine().split(\" \");\n int digit = Integer.parseInt(data[0]) + Integer.parseInt(data[1]);\n System.out.println(\"\" + Integer.toString(digit).length());\n }\n }\n}",
"Main",
"public static void main(String[] args){\n String[] data;\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n data = sc.nextLine().split(\" \");\n int digit = Integer.parseInt(data[0]) + Integer.parseInt(data[1]);\n System.out.println(\"\" + Integer.toString(digit).length());\n }\n }",
"main",
"{\n String[] data;\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n data = sc.nextLine().split(\" \");\n int digit = Integer.parseInt(data[0]) + Integer.parseInt(data[1]);\n System.out.println(\"\" + Integer.toString(digit).length());\n }\n }",
"String[] data;",
"data",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()){\n data = sc.nextLine().split(\" \");\n int digit = Integer.parseInt(data[0]) + Integer.parseInt(data[1]);\n System.out.println(\"\" + Integer.toString(digit).length());\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n data = sc.nextLine().split(\" \");\n int digit = Integer.parseInt(data[0]) + Integer.parseInt(data[1]);\n System.out.println(\"\" + Integer.toString(digit).length());\n }",
"data = sc.nextLine().split(\" \")",
"data",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"int digit = Integer.parseInt(data[0]) + Integer.parseInt(data[1]);",
"digit",
"Integer.parseInt(data[0]) + Integer.parseInt(data[1])",
"Integer.parseInt(data[0])",
"Integer.parseInt",
"Integer",
"data[0]",
"data",
"0",
"Integer.parseInt(data[1])",
"Integer.parseInt",
"Integer",
"data[1]",
"data",
"1",
"System.out.println(\"\" + Integer.toString(digit).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\" + Integer.toString(digit).length()",
"\"\"",
"Integer.toString(digit).length()",
"Integer.toString(digit).length",
"Integer.toString(digit)",
"Integer.toString",
"Integer",
"digit",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
String[] data;
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
data = sc.nextLine().split(" ");
int digit = Integer.parseInt(data[0]) + Integer.parseInt(data[1]);
System.out.println("" + Integer.toString(digit).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,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
50,
5
],
[
50,
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
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] | [
"import java.util.Scanner;\n \npublic class Main {\n public static void main(String[] args){\n int a,b;\n Scanner scanner = new Scanner(System.in);\n while(scanner.hasNext()){\n a = scanner.nextInt();\n b = scanner.nextInt();\n System.out.println((String.valueOf(a+b).length()));\n }\n scanner.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args){\n int a,b;\n Scanner scanner = new Scanner(System.in);\n while(scanner.hasNext()){\n a = scanner.nextInt();\n b = scanner.nextInt();\n System.out.println((String.valueOf(a+b).length()));\n }\n scanner.close();\n }\n}",
"Main",
"public static void main(String[] args){\n int a,b;\n Scanner scanner = new Scanner(System.in);\n while(scanner.hasNext()){\n a = scanner.nextInt();\n b = scanner.nextInt();\n System.out.println((String.valueOf(a+b).length()));\n }\n scanner.close();\n }",
"main",
"{\n int a,b;\n Scanner scanner = new Scanner(System.in);\n while(scanner.hasNext()){\n a = scanner.nextInt();\n b = scanner.nextInt();\n System.out.println((String.valueOf(a+b).length()));\n }\n scanner.close();\n }",
"int a",
"a",
"b;",
"b",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while(scanner.hasNext()){\n a = scanner.nextInt();\n b = scanner.nextInt();\n System.out.println((String.valueOf(a+b).length()));\n }",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n a = scanner.nextInt();\n b = scanner.nextInt();\n System.out.println((String.valueOf(a+b).length()));\n }",
"a = scanner.nextInt()",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"b = scanner.nextInt()",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"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",
"scanner.close()",
"scanner.close",
"scanner",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n int a,b;\n Scanner scanner = new Scanner(System.in);\n while(scanner.hasNext()){\n a = scanner.nextInt();\n b = scanner.nextInt();\n System.out.println((String.valueOf(a+b).length()));\n }\n scanner.close();\n }\n}",
"public class Main {\n public static void main(String[] args){\n int a,b;\n Scanner scanner = new Scanner(System.in);\n while(scanner.hasNext()){\n a = scanner.nextInt();\n b = scanner.nextInt();\n System.out.println((String.valueOf(a+b).length()));\n }\n scanner.close();\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
int a,b;
Scanner scanner = new Scanner(System.in);
while(scanner.hasNext()){
a = scanner.nextInt();
b = scanner.nextInt();
System.out.println((String.valueOf(a+b).length()));
}
scanner.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
17,
42,
2,
2,
13,
17,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
0,
18,
13,
13,
4,
13,
2,
13,
13,
40,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
2,
13,
13,
17,
1,
0,
13,
2,
13,
17,
30,
30,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
136,
14
],
[
136,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
28
],
[
28,
29
],
[
28,
30
],
[
17,
32
],
[
32,
33
],
[
32,
34
],
[
17,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
40,
46
],
[
35,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
50,
54
],
[
47,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
60,
62
],
[
47,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
68,
69
],
[
68,
70
],
[
47,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
47,
80
],
[
80,
81
],
[
17,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
90,
91
],
[
91,
92
],
[
82,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
100,
101
],
[
100,
102
],
[
15,
103
],
[
103,
104
],
[
136,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
111,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
124,
126
],
[
111,
127
],
[
128,
128
],
[
128,
129
],
[
129,
130
],
[
107,
131
],
[
131,
132
],
[
105,
133
],
[
133,
134
],
[
0,
135
],
[
135,
136
],
[
135,
137
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\npublic class Main {\n\n public static void main(String[] a) throws IOException{\n\n \tString strLine =\"\";\n \tBufferedReader stdReader =\n new BufferedReader(new InputStreamReader(System.in));\n\n \tString[] inputStr = new String[2];\n \tInteger[] keta = new Integer[200];\n\n \tint i = 0;\n\n \twhile ( i < 200 && ((strLine = stdReader.readLine()) != null) ){\n \t\tinputStr = strLine.split(\" \",0);\n \t\tint temp1 = Integer.parseInt(inputStr[0]);\n \t\tint temp2 = Integer.parseInt(inputStr[1]);\n\n \t\tketa[i] = caulKeta(temp1 + temp2);\n\n \t\ti++;\n\t \t}\n\n \tfor(int c = 0; c < i; c++){\n \t\tSystem.out.println(keta[c]);\n \t}\n\n\n }\n\npublic static int caulKeta(int suuji){\n\n\tint keta = 1;\n\n\tfor(int i = 10; suuji/i !=0; i =i*10 ){\n\n\t\tketa ++;\n\t}\n\n\treturn 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.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\n public static void main(String[] a) throws IOException{\n\n \tString strLine =\"\";\n \tBufferedReader stdReader =\n new BufferedReader(new InputStreamReader(System.in));\n\n \tString[] inputStr = new String[2];\n \tInteger[] keta = new Integer[200];\n\n \tint i = 0;\n\n \twhile ( i < 200 && ((strLine = stdReader.readLine()) != null) ){\n \t\tinputStr = strLine.split(\" \",0);\n \t\tint temp1 = Integer.parseInt(inputStr[0]);\n \t\tint temp2 = Integer.parseInt(inputStr[1]);\n\n \t\tketa[i] = caulKeta(temp1 + temp2);\n\n \t\ti++;\n\t \t}\n\n \tfor(int c = 0; c < i; c++){\n \t\tSystem.out.println(keta[c]);\n \t}\n\n\n }\n\npublic static int caulKeta(int suuji){\n\n\tint keta = 1;\n\n\tfor(int i = 10; suuji/i !=0; i =i*10 ){\n\n\t\tketa ++;\n\t}\n\n\treturn keta;\n}\n\n}",
"Main",
"public static void main(String[] a) throws IOException{\n\n \tString strLine =\"\";\n \tBufferedReader stdReader =\n new BufferedReader(new InputStreamReader(System.in));\n\n \tString[] inputStr = new String[2];\n \tInteger[] keta = new Integer[200];\n\n \tint i = 0;\n\n \twhile ( i < 200 && ((strLine = stdReader.readLine()) != null) ){\n \t\tinputStr = strLine.split(\" \",0);\n \t\tint temp1 = Integer.parseInt(inputStr[0]);\n \t\tint temp2 = Integer.parseInt(inputStr[1]);\n\n \t\tketa[i] = caulKeta(temp1 + temp2);\n\n \t\ti++;\n\t \t}\n\n \tfor(int c = 0; c < i; c++){\n \t\tSystem.out.println(keta[c]);\n \t}\n\n\n }",
"main",
"{\n\n \tString strLine =\"\";\n \tBufferedReader stdReader =\n new BufferedReader(new InputStreamReader(System.in));\n\n \tString[] inputStr = new String[2];\n \tInteger[] keta = new Integer[200];\n\n \tint i = 0;\n\n \twhile ( i < 200 && ((strLine = stdReader.readLine()) != null) ){\n \t\tinputStr = strLine.split(\" \",0);\n \t\tint temp1 = Integer.parseInt(inputStr[0]);\n \t\tint temp2 = Integer.parseInt(inputStr[1]);\n\n \t\tketa[i] = caulKeta(temp1 + temp2);\n\n \t\ti++;\n\t \t}\n\n \tfor(int c = 0; c < i; c++){\n \t\tSystem.out.println(keta[c]);\n \t}\n\n\n }",
"String strLine =\"\";",
"strLine",
"\"\"",
"BufferedReader stdReader =\n new BufferedReader(new InputStreamReader(System.in));",
"stdReader",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] inputStr = new String[2];",
"inputStr",
"new String[2]",
"2",
"Integer[] keta = new Integer[200];",
"keta",
"new Integer[200]",
"200",
"int i = 0;",
"i",
"0",
"while ( i < 200 && ((strLine = stdReader.readLine()) != null) ){\n \t\tinputStr = strLine.split(\" \",0);\n \t\tint temp1 = Integer.parseInt(inputStr[0]);\n \t\tint temp2 = Integer.parseInt(inputStr[1]);\n\n \t\tketa[i] = caulKeta(temp1 + temp2);\n\n \t\ti++;\n\t \t}",
"i < 200 && ((strLine = stdReader.readLine()) != null)",
"i < 200",
"i",
"200",
"((strLine = stdReader.readLine()) != null)",
"(strLine = stdReader.readLine())",
"strLine",
"stdReader.readLine()",
"stdReader.readLine",
"stdReader",
"null",
"{\n \t\tinputStr = strLine.split(\" \",0);\n \t\tint temp1 = Integer.parseInt(inputStr[0]);\n \t\tint temp2 = Integer.parseInt(inputStr[1]);\n\n \t\tketa[i] = caulKeta(temp1 + temp2);\n\n \t\ti++;\n\t \t}",
"inputStr = strLine.split(\" \",0)",
"inputStr",
"strLine.split(\" \",0)",
"strLine.split",
"strLine",
"\" \"",
"0",
"int temp1 = Integer.parseInt(inputStr[0]);",
"temp1",
"Integer.parseInt(inputStr[0])",
"Integer.parseInt",
"Integer",
"inputStr[0]",
"inputStr",
"0",
"int temp2 = Integer.parseInt(inputStr[1]);",
"temp2",
"Integer.parseInt(inputStr[1])",
"Integer.parseInt",
"Integer",
"inputStr[1]",
"inputStr",
"1",
"keta[i] = caulKeta(temp1 + temp2)",
"keta[i]",
"keta",
"i",
"caulKeta(temp1 + temp2)",
"caulKeta",
"temp1 + temp2",
"temp1",
"temp2",
"i++",
"i",
"for(int c = 0; c < i; c++){\n \t\tSystem.out.println(keta[c]);\n \t}",
"int c = 0;",
"int c = 0;",
"c",
"0",
"c < i",
"c",
"i",
"c++",
"c++",
"c",
"{\n \t\tSystem.out.println(keta[c]);\n \t}",
"{\n \t\tSystem.out.println(keta[c]);\n \t}",
"System.out.println(keta[c])",
"System.out.println",
"System.out",
"System",
"System.out",
"keta[c]",
"keta",
"c",
"String[] a",
"a",
"public static int caulKeta(int suuji){\n\n\tint keta = 1;\n\n\tfor(int i = 10; suuji/i !=0; i =i*10 ){\n\n\t\tketa ++;\n\t}\n\n\treturn keta;\n}",
"caulKeta",
"{\n\n\tint keta = 1;\n\n\tfor(int i = 10; suuji/i !=0; i =i*10 ){\n\n\t\tketa ++;\n\t}\n\n\treturn keta;\n}",
"int keta = 1;",
"keta",
"1",
"for(int i = 10; suuji/i !=0; i =i*10 ){\n\n\t\tketa ++;\n\t}",
"int i = 10;",
"int i = 10;",
"i",
"10",
"suuji/i !=0",
"suuji/i",
"suuji",
"i",
"0",
"i =i*10",
"i =i*10",
"i",
"i*10",
"i",
"10",
"{\n\n\t\tketa ++;\n\t}",
"{\n\n\t\tketa ++;\n\t}",
"keta ++",
"keta",
"return keta;",
"keta",
"int suuji",
"suuji",
"public class Main {\n\n public static void main(String[] a) throws IOException{\n\n \tString strLine =\"\";\n \tBufferedReader stdReader =\n new BufferedReader(new InputStreamReader(System.in));\n\n \tString[] inputStr = new String[2];\n \tInteger[] keta = new Integer[200];\n\n \tint i = 0;\n\n \twhile ( i < 200 && ((strLine = stdReader.readLine()) != null) ){\n \t\tinputStr = strLine.split(\" \",0);\n \t\tint temp1 = Integer.parseInt(inputStr[0]);\n \t\tint temp2 = Integer.parseInt(inputStr[1]);\n\n \t\tketa[i] = caulKeta(temp1 + temp2);\n\n \t\ti++;\n\t \t}\n\n \tfor(int c = 0; c < i; c++){\n \t\tSystem.out.println(keta[c]);\n \t}\n\n\n }\n\npublic static int caulKeta(int suuji){\n\n\tint keta = 1;\n\n\tfor(int i = 10; suuji/i !=0; i =i*10 ){\n\n\t\tketa ++;\n\t}\n\n\treturn keta;\n}\n\n}",
"public class Main {\n\n public static void main(String[] a) throws IOException{\n\n \tString strLine =\"\";\n \tBufferedReader stdReader =\n new BufferedReader(new InputStreamReader(System.in));\n\n \tString[] inputStr = new String[2];\n \tInteger[] keta = new Integer[200];\n\n \tint i = 0;\n\n \twhile ( i < 200 && ((strLine = stdReader.readLine()) != null) ){\n \t\tinputStr = strLine.split(\" \",0);\n \t\tint temp1 = Integer.parseInt(inputStr[0]);\n \t\tint temp2 = Integer.parseInt(inputStr[1]);\n\n \t\tketa[i] = caulKeta(temp1 + temp2);\n\n \t\ti++;\n\t \t}\n\n \tfor(int c = 0; c < i; c++){\n \t\tSystem.out.println(keta[c]);\n \t}\n\n\n }\n\npublic static int caulKeta(int suuji){\n\n\tint keta = 1;\n\n\tfor(int i = 10; suuji/i !=0; i =i*10 ){\n\n\t\tketa ++;\n\t}\n\n\treturn keta;\n}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
public static void main(String[] a) throws IOException{
String strLine ="";
BufferedReader stdReader =
new BufferedReader(new InputStreamReader(System.in));
String[] inputStr = new String[2];
Integer[] keta = new Integer[200];
int i = 0;
while ( i < 200 && ((strLine = stdReader.readLine()) != null) ){
inputStr = strLine.split(" ",0);
int temp1 = Integer.parseInt(inputStr[0]);
int temp2 = Integer.parseInt(inputStr[1]);
keta[i] = caulKeta(temp1 + temp2);
i++;
}
for(int c = 0; c < i; c++){
System.out.println(keta[c]);
}
}
public static int caulKeta(int suuji){
int keta = 1;
for(int i = 10; suuji/i !=0; i =i*10 ){
keta ++;
}
return keta;
}
} |
[
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,
40,
13,
0,
13,
17,
4,
18,
18,
13,
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
],
[
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
],
[
16,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] | [
"import java.util.*;\n\npublic class Main {\n\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 c = a + b;\n\n\t\t\tint l = 0;\n\n\t\t\twhile (c != 0) {\n\t\t\t\t++l;\n\t\t\t\tc /= 10;\n\t\t\t}\n\n\t\t\tSystem.out.println(l);\n\t\t}\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\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 c = a + b;\n\n\t\t\tint l = 0;\n\n\t\t\twhile (c != 0) {\n\t\t\t\t++l;\n\t\t\t\tc /= 10;\n\t\t\t}\n\n\t\t\tSystem.out.println(l);\n\t\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 c = a + b;\n\n\t\t\tint l = 0;\n\n\t\t\twhile (c != 0) {\n\t\t\t\t++l;\n\t\t\t\tc /= 10;\n\t\t\t}\n\n\t\t\tSystem.out.println(l);\n\t\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 c = a + b;\n\n\t\t\tint l = 0;\n\n\t\t\twhile (c != 0) {\n\t\t\t\t++l;\n\t\t\t\tc /= 10;\n\t\t\t}\n\n\t\t\tSystem.out.println(l);\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 c = a + b;\n\n\t\t\tint l = 0;\n\n\t\t\twhile (c != 0) {\n\t\t\t\t++l;\n\t\t\t\tc /= 10;\n\t\t\t}\n\n\t\t\tSystem.out.println(l);\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 c = a + b;\n\n\t\t\tint l = 0;\n\n\t\t\twhile (c != 0) {\n\t\t\t\t++l;\n\t\t\t\tc /= 10;\n\t\t\t}\n\n\t\t\tSystem.out.println(l);\n\t\t}",
"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 l = 0;",
"l",
"0",
"while (c != 0) {\n\t\t\t\t++l;\n\t\t\t\tc /= 10;\n\t\t\t}",
"c != 0",
"c",
"0",
"{\n\t\t\t\t++l;\n\t\t\t\tc /= 10;\n\t\t\t}",
"++l",
"l",
"c /= 10",
"c",
"10",
"System.out.println(l)",
"System.out.println",
"System.out",
"System",
"System.out",
"l",
"String[] args",
"args",
"public class Main {\n\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 c = a + b;\n\n\t\t\tint l = 0;\n\n\t\t\twhile (c != 0) {\n\t\t\t\t++l;\n\t\t\t\tc /= 10;\n\t\t\t}\n\n\t\t\tSystem.out.println(l);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint c = a + b;\n\n\t\t\tint l = 0;\n\n\t\t\twhile (c != 0) {\n\t\t\t\t++l;\n\t\t\t\tc /= 10;\n\t\t\t}\n\n\t\t\tSystem.out.println(l);\n\t\t}\n\t}\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 a = sc.nextInt();
int b = sc.nextInt();
int c = a + b;
int l = 0;
while (c != 0) {
++l;
c /= 10;
}
System.out.println(l);
}
}
} |
[
7,
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,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
74,
8
],
[
74,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
28,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
45,
46
],
[
35,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
53,
54
],
[
35,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
65,
67
],
[
23,
68
],
[
68,
69
],
[
69,
70
],
[
9,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] | [
"import java.io.*;\nimport java.util.*;\npublic class Main{\n public static void main(String args[]){\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n try{\n String str=null;\n while((str=br.readLine())!=null){\n StringTokenizer st=new StringTokenizer(str);\n int i=Integer.parseInt(st.nextToken());\n int j=Integer.parseInt(st.nextToken());\n System.out.println(String.valueOf(i+j).length());\n }\n br.close();\n }catch(Exception ex){\n System.exit(0);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String args[]){\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n try{\n String str=null;\n while((str=br.readLine())!=null){\n StringTokenizer st=new StringTokenizer(str);\n int i=Integer.parseInt(st.nextToken());\n int j=Integer.parseInt(st.nextToken());\n System.out.println(String.valueOf(i+j).length());\n }\n br.close();\n }catch(Exception ex){\n System.exit(0);\n }\n }\n}",
"Main",
"public static void main(String args[]){\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n try{\n String str=null;\n while((str=br.readLine())!=null){\n StringTokenizer st=new StringTokenizer(str);\n int i=Integer.parseInt(st.nextToken());\n int j=Integer.parseInt(st.nextToken());\n System.out.println(String.valueOf(i+j).length());\n }\n br.close();\n }catch(Exception ex){\n System.exit(0);\n }\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n try{\n String str=null;\n while((str=br.readLine())!=null){\n StringTokenizer st=new StringTokenizer(str);\n int i=Integer.parseInt(st.nextToken());\n int j=Integer.parseInt(st.nextToken());\n System.out.println(String.valueOf(i+j).length());\n }\n br.close();\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 String str=null;\n while((str=br.readLine())!=null){\n StringTokenizer st=new StringTokenizer(str);\n int i=Integer.parseInt(st.nextToken());\n int j=Integer.parseInt(st.nextToken());\n System.out.println(String.valueOf(i+j).length());\n }\n br.close();\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 String str=null;\n while((str=br.readLine())!=null){\n StringTokenizer st=new StringTokenizer(str);\n int i=Integer.parseInt(st.nextToken());\n int j=Integer.parseInt(st.nextToken());\n System.out.println(String.valueOf(i+j).length());\n }\n br.close();\n }",
"String str=null;",
"str",
"null",
"while((str=br.readLine())!=null){\n StringTokenizer st=new StringTokenizer(str);\n int i=Integer.parseInt(st.nextToken());\n int j=Integer.parseInt(st.nextToken());\n System.out.println(String.valueOf(i+j).length());\n }",
"(str=br.readLine())!=null",
"(str=br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n StringTokenizer st=new StringTokenizer(str);\n int i=Integer.parseInt(st.nextToken());\n int j=Integer.parseInt(st.nextToken());\n System.out.println(String.valueOf(i+j).length());\n }",
"StringTokenizer st=new StringTokenizer(str);",
"st",
"new StringTokenizer(str)",
"int i=Integer.parseInt(st.nextToken());",
"i",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int j=Integer.parseInt(st.nextToken());",
"j",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"System.out.println(String.valueOf(i+j).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(i+j).length()",
"String.valueOf(i+j).length",
"String.valueOf(i+j)",
"String.valueOf",
"String",
"i+j",
"i",
"j",
"br.close()",
"br.close",
"br",
"String args[]",
"args",
"public class Main{\n public static void main(String args[]){\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n try{\n String str=null;\n while((str=br.readLine())!=null){\n StringTokenizer st=new StringTokenizer(str);\n int i=Integer.parseInt(st.nextToken());\n int j=Integer.parseInt(st.nextToken());\n System.out.println(String.valueOf(i+j).length());\n }\n br.close();\n }catch(Exception ex){\n System.exit(0);\n }\n }\n}",
"public class Main{\n public static void main(String args[]){\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n try{\n String str=null;\n while((str=br.readLine())!=null){\n StringTokenizer st=new StringTokenizer(str);\n int i=Integer.parseInt(st.nextToken());\n int j=Integer.parseInt(st.nextToken());\n System.out.println(String.valueOf(i+j).length());\n }\n br.close();\n }catch(Exception ex){\n System.exit(0);\n }\n }\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main{
public static void main(String args[]){
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
try{
String str=null;
while((str=br.readLine())!=null){
StringTokenizer st=new StringTokenizer(str);
int i=Integer.parseInt(st.nextToken());
int j=Integer.parseInt(st.nextToken());
System.out.println(String.valueOf(i+j).length());
}
br.close();
}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,
2,
4,
18,
13,
4,
18,
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
],
[
40,
5
],
[
40,
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
],
[
6,
37
],
[
37,
38
],
[
0,
39
],
[
39,
40
],
[
39,
41
]
] | [
"import java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n while(s.hasNext()){\n int a = s.nextInt()+s.nextInt();\n System.out.println(Integer.toString(a).length()); \n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n while(s.hasNext()){\n int a = s.nextInt()+s.nextInt();\n System.out.println(Integer.toString(a).length()); \n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n while(s.hasNext()){\n int a = s.nextInt()+s.nextInt();\n System.out.println(Integer.toString(a).length()); \n }\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n while(s.hasNext()){\n int a = s.nextInt()+s.nextInt();\n System.out.println(Integer.toString(a).length()); \n }\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"while(s.hasNext()){\n int a = s.nextInt()+s.nextInt();\n System.out.println(Integer.toString(a).length()); \n }",
"s.hasNext()",
"s.hasNext",
"s",
"{\n int a = s.nextInt()+s.nextInt();\n System.out.println(Integer.toString(a).length()); \n }",
"int a = s.nextInt()+s.nextInt();",
"a",
"s.nextInt()+s.nextInt()",
"s.nextInt()",
"s.nextInt",
"s",
"s.nextInt()",
"s.nextInt",
"s",
"System.out.println(Integer.toString(a).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(a).length()",
"Integer.toString(a).length",
"Integer.toString(a)",
"Integer.toString",
"Integer",
"a",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n while(s.hasNext()){\n int a = s.nextInt()+s.nextInt();\n System.out.println(Integer.toString(a).length()); \n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n while(s.hasNext()){\n int a = s.nextInt()+s.nextInt();\n System.out.println(Integer.toString(a).length()); \n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
while(s.hasNext()){
int a = s.nextInt()+s.nextInt();
System.out.println(Integer.toString(a).length());
}
}
} |
[
7,
15,
13,
17,
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,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
63,
8
],
[
63,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
22,
27
],
[
19,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
19,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
19,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
19,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
9,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] | [
"import java.io.*;\nimport java.util.*;\npublic class Main {\n\n\tpublic static void main(String []args){\n\n\t\tScanner sc=new Scanner(System.in);\n\n\t\twhile(sc.hasNext()){\n\t\t\tString[] line=sc.nextLine().split(\" \");\n\n\t\t\tint a=Integer.parseInt(line[0]);\n\t\t\tint b=Integer.parseInt(line[1]);\n\n\t\t\tint sum=a+b;\n\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String []args){\n\n\t\tScanner sc=new Scanner(System.in);\n\n\t\twhile(sc.hasNext()){\n\t\t\tString[] line=sc.nextLine().split(\" \");\n\n\t\t\tint a=Integer.parseInt(line[0]);\n\t\t\tint b=Integer.parseInt(line[1]);\n\n\t\t\tint sum=a+b;\n\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String []args){\n\n\t\tScanner sc=new Scanner(System.in);\n\n\t\twhile(sc.hasNext()){\n\t\t\tString[] line=sc.nextLine().split(\" \");\n\n\t\t\tint a=Integer.parseInt(line[0]);\n\t\t\tint b=Integer.parseInt(line[1]);\n\n\t\t\tint sum=a+b;\n\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tScanner sc=new Scanner(System.in);\n\n\t\twhile(sc.hasNext()){\n\t\t\tString[] line=sc.nextLine().split(\" \");\n\n\t\t\tint a=Integer.parseInt(line[0]);\n\t\t\tint b=Integer.parseInt(line[1]);\n\n\t\t\tint sum=a+b;\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.hasNext()){\n\t\t\tString[] line=sc.nextLine().split(\" \");\n\n\t\t\tint a=Integer.parseInt(line[0]);\n\t\t\tint b=Integer.parseInt(line[1]);\n\n\t\t\tint sum=a+b;\n\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tString[] line=sc.nextLine().split(\" \");\n\n\t\t\tint a=Integer.parseInt(line[0]);\n\t\t\tint b=Integer.parseInt(line[1]);\n\n\t\t\tint sum=a+b;\n\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}",
"String[] line=sc.nextLine().split(\" \");",
"line",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"int a=Integer.parseInt(line[0]);",
"a",
"Integer.parseInt(line[0])",
"Integer.parseInt",
"Integer",
"line[0]",
"line",
"0",
"int b=Integer.parseInt(line[1]);",
"b",
"Integer.parseInt(line[1])",
"Integer.parseInt",
"Integer",
"line[1]",
"line",
"1",
"int sum=a+b;",
"sum",
"a+b",
"a",
"b",
"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\n\t\tScanner sc=new Scanner(System.in);\n\n\t\twhile(sc.hasNext()){\n\t\t\tString[] line=sc.nextLine().split(\" \");\n\n\t\t\tint a=Integer.parseInt(line[0]);\n\t\t\tint b=Integer.parseInt(line[1]);\n\n\t\t\tint sum=a+b;\n\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String []args){\n\n\t\tScanner sc=new Scanner(System.in);\n\n\t\twhile(sc.hasNext()){\n\t\t\tString[] line=sc.nextLine().split(\" \");\n\n\t\t\tint a=Integer.parseInt(line[0]);\n\t\t\tint b=Integer.parseInt(line[1]);\n\n\t\t\tint sum=a+b;\n\n\t\t\tSystem.out.println(String.valueOf(sum).length());\n\t\t}\n\n\t}\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main {
public static void main(String []args){
Scanner sc=new Scanner(System.in);
while(sc.hasNext()){
String[] line=sc.nextLine().split(" ");
int a=Integer.parseInt(line[0]);
int b=Integer.parseInt(line[1]);
int sum=a+b;
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,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
2,
13,
13,
41,
13,
4,
18,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
64,
5
],
[
64,
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
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
16,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
16,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
16,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
16,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
8,
58
],
[
58,
59
],
[
59,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t//?????????????????????\n\t Scanner scan = new Scanner(System.in);\n\n while(scan.hasNext()) {\n \t String num1 = scan.next();\n\t \tint int1 = Integer.parseInt(num1);\n\n\t String num2 = scan.next();\n\t int int2 = Integer.parseInt(num2);\n\n\t int kei = int1 + int2;\n\t int keilen = String.valueOf(kei).length();\n\t System.out.println(keilen);\n }\n\t scan.close();\n\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t//?????????????????????\n\t Scanner scan = new Scanner(System.in);\n\n while(scan.hasNext()) {\n \t String num1 = scan.next();\n\t \tint int1 = Integer.parseInt(num1);\n\n\t String num2 = scan.next();\n\t int int2 = Integer.parseInt(num2);\n\n\t int kei = int1 + int2;\n\t int keilen = String.valueOf(kei).length();\n\t System.out.println(keilen);\n }\n\t scan.close();\n\n}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t//?????????????????????\n\t Scanner scan = new Scanner(System.in);\n\n while(scan.hasNext()) {\n \t String num1 = scan.next();\n\t \tint int1 = Integer.parseInt(num1);\n\n\t String num2 = scan.next();\n\t int int2 = Integer.parseInt(num2);\n\n\t int kei = int1 + int2;\n\t int keilen = String.valueOf(kei).length();\n\t System.out.println(keilen);\n }\n\t scan.close();\n\n}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\t//?????????????????????\n\t Scanner scan = new Scanner(System.in);\n\n while(scan.hasNext()) {\n \t String num1 = scan.next();\n\t \tint int1 = Integer.parseInt(num1);\n\n\t String num2 = scan.next();\n\t int int2 = Integer.parseInt(num2);\n\n\t int kei = int1 + int2;\n\t int keilen = String.valueOf(kei).length();\n\t System.out.println(keilen);\n }\n\t scan.close();\n\n}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(scan.hasNext()) {\n \t String num1 = scan.next();\n\t \tint int1 = Integer.parseInt(num1);\n\n\t String num2 = scan.next();\n\t int int2 = Integer.parseInt(num2);\n\n\t int kei = int1 + int2;\n\t int keilen = String.valueOf(kei).length();\n\t System.out.println(keilen);\n }",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n \t String num1 = scan.next();\n\t \tint int1 = Integer.parseInt(num1);\n\n\t String num2 = scan.next();\n\t int int2 = Integer.parseInt(num2);\n\n\t int kei = int1 + int2;\n\t int keilen = String.valueOf(kei).length();\n\t System.out.println(keilen);\n }",
"String num1 = scan.next();",
"num1",
"scan.next()",
"scan.next",
"scan",
"int int1 = Integer.parseInt(num1);",
"int1",
"Integer.parseInt(num1)",
"Integer.parseInt",
"Integer",
"num1",
"String num2 = scan.next();",
"num2",
"scan.next()",
"scan.next",
"scan",
"int int2 = Integer.parseInt(num2);",
"int2",
"Integer.parseInt(num2)",
"Integer.parseInt",
"Integer",
"num2",
"int kei = int1 + int2;",
"kei",
"int1 + int2",
"int1",
"int2",
"int keilen = String.valueOf(kei).length();",
"keilen",
"String.valueOf(kei).length()",
"String.valueOf(kei).length",
"String.valueOf(kei)",
"String.valueOf",
"String",
"kei",
"System.out.println(keilen)",
"System.out.println",
"System.out",
"System",
"System.out",
"keilen",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t//?????????????????????\n\t Scanner scan = new Scanner(System.in);\n\n while(scan.hasNext()) {\n \t String num1 = scan.next();\n\t \tint int1 = Integer.parseInt(num1);\n\n\t String num2 = scan.next();\n\t int int2 = Integer.parseInt(num2);\n\n\t int kei = int1 + int2;\n\t int keilen = String.valueOf(kei).length();\n\t System.out.println(keilen);\n }\n\t scan.close();\n\n}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t//?????????????????????\n\t Scanner scan = new Scanner(System.in);\n\n while(scan.hasNext()) {\n \t String num1 = scan.next();\n\t \tint int1 = Integer.parseInt(num1);\n\n\t String num2 = scan.next();\n\t int int2 = Integer.parseInt(num2);\n\n\t int kei = int1 + int2;\n\t int keilen = String.valueOf(kei).length();\n\t System.out.println(keilen);\n }\n\t scan.close();\n\n}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
//?????????????????????
Scanner scan = new Scanner(System.in);
while(scan.hasNext()) {
String num1 = scan.next();
int int1 = Integer.parseInt(num1);
String num2 = scan.next();
int int2 = Integer.parseInt(num2);
int kei = int1 + int2;
int keilen = String.valueOf(kei).length();
System.out.println(keilen);
}
scan.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,
41,
13,
2,
13,
13,
41,
13,
2,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
48,
5
],
[
48,
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
],
[
34,
36
],
[
16,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
43,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] | [
"import java.util.Scanner;\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ab = a + b;\n\n String st = ab +\"\";\n System.out.println(st.length());\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ab = a + b;\n\n String st = ab +\"\";\n System.out.println(st.length());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ab = a + b;\n\n String st = ab +\"\";\n System.out.println(st.length());\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ab = a + b;\n\n String st = ab +\"\";\n System.out.println(st.length());\n }\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 ab = a + b;\n\n String st = ab +\"\";\n System.out.println(st.length());\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ab = a + b;\n\n String st = ab +\"\";\n System.out.println(st.length());\n }",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int ab = a + b;",
"ab",
"a + b",
"a",
"b",
"String st = ab +\"\";",
"st",
"ab +\"\"",
"ab",
"\"\"",
"System.out.println(st.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"st.length()",
"st.length",
"st",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ab = a + b;\n\n String st = ab +\"\";\n System.out.println(st.length());\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ab = a + b;\n\n String st = ab +\"\";\n System.out.println(st.length());\n }\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 ab = a + b;
String st = ab +"";
System.out.println(st.length());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
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,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
0,
13,
2,
13,
17,
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
],
[
87,
11
],
[
87,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
18,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
33,
38
],
[
30,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
41,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
30,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
12,
62
],
[
62,
63
],
[
87,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
66,
82
],
[
82,
83
],
[
64,
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 public static void main(String[] args) {\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n try {\n while (input.ready()) {\n String[] dataset = input.readLine().split(\" \");\n int sum = Integer.valueOf(dataset[0]) + Integer.valueOf(dataset[1]);\n System.out.println(countDigitNumber(sum));\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n public static int countDigitNumber(int number) {\n int digitNumber = 1;\n while (number >= 10) {\n digitNumber++;\n number = number / 10;\n }\n return digitNumber;\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) {\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n try {\n while (input.ready()) {\n String[] dataset = input.readLine().split(\" \");\n int sum = Integer.valueOf(dataset[0]) + Integer.valueOf(dataset[1]);\n System.out.println(countDigitNumber(sum));\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n public static int countDigitNumber(int number) {\n int digitNumber = 1;\n while (number >= 10) {\n digitNumber++;\n number = number / 10;\n }\n return digitNumber;\n }\n}",
"Main",
"public static void main(String[] args) {\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n try {\n while (input.ready()) {\n String[] dataset = input.readLine().split(\" \");\n int sum = Integer.valueOf(dataset[0]) + Integer.valueOf(dataset[1]);\n System.out.println(countDigitNumber(sum));\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"main",
"{\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n try {\n while (input.ready()) {\n String[] dataset = input.readLine().split(\" \");\n int sum = Integer.valueOf(dataset[0]) + Integer.valueOf(dataset[1]);\n System.out.println(countDigitNumber(sum));\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"BufferedReader input = new BufferedReader(new InputStreamReader(System.in));",
"input",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n while (input.ready()) {\n String[] dataset = input.readLine().split(\" \");\n int sum = Integer.valueOf(dataset[0]) + Integer.valueOf(dataset[1]);\n System.out.println(countDigitNumber(sum));\n }\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n while (input.ready()) {\n String[] dataset = input.readLine().split(\" \");\n int sum = Integer.valueOf(dataset[0]) + Integer.valueOf(dataset[1]);\n System.out.println(countDigitNumber(sum));\n }\n }",
"while (input.ready()) {\n String[] dataset = input.readLine().split(\" \");\n int sum = Integer.valueOf(dataset[0]) + Integer.valueOf(dataset[1]);\n System.out.println(countDigitNumber(sum));\n }",
"input.ready()",
"input.ready",
"input",
"{\n String[] dataset = input.readLine().split(\" \");\n int sum = Integer.valueOf(dataset[0]) + Integer.valueOf(dataset[1]);\n System.out.println(countDigitNumber(sum));\n }",
"String[] dataset = input.readLine().split(\" \");",
"dataset",
"input.readLine().split(\" \")",
"input.readLine().split",
"input.readLine()",
"input.readLine",
"input",
"\" \"",
"int sum = Integer.valueOf(dataset[0]) + Integer.valueOf(dataset[1]);",
"sum",
"Integer.valueOf(dataset[0]) + Integer.valueOf(dataset[1])",
"Integer.valueOf(dataset[0])",
"Integer.valueOf",
"Integer",
"dataset[0]",
"dataset",
"0",
"Integer.valueOf(dataset[1])",
"Integer.valueOf",
"Integer",
"dataset[1]",
"dataset",
"1",
"System.out.println(countDigitNumber(sum))",
"System.out.println",
"System.out",
"System",
"System.out",
"countDigitNumber(sum)",
"countDigitNumber",
"sum",
"String[] args",
"args",
"public static int countDigitNumber(int number) {\n int digitNumber = 1;\n while (number >= 10) {\n digitNumber++;\n number = number / 10;\n }\n return digitNumber;\n }",
"countDigitNumber",
"{\n int digitNumber = 1;\n while (number >= 10) {\n digitNumber++;\n number = number / 10;\n }\n return digitNumber;\n }",
"int digitNumber = 1;",
"digitNumber",
"1",
"while (number >= 10) {\n digitNumber++;\n number = number / 10;\n }",
"number >= 10",
"number",
"10",
"{\n digitNumber++;\n number = number / 10;\n }",
"digitNumber++",
"digitNumber",
"number = number / 10",
"number",
"number / 10",
"number",
"10",
"return digitNumber;",
"digitNumber",
"int number",
"number",
"public class Main {\n public static void main(String[] args) {\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n try {\n while (input.ready()) {\n String[] dataset = input.readLine().split(\" \");\n int sum = Integer.valueOf(dataset[0]) + Integer.valueOf(dataset[1]);\n System.out.println(countDigitNumber(sum));\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n public static int countDigitNumber(int number) {\n int digitNumber = 1;\n while (number >= 10) {\n digitNumber++;\n number = number / 10;\n }\n return digitNumber;\n }\n}",
"public class Main {\n public static void main(String[] args) {\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n try {\n while (input.ready()) {\n String[] dataset = input.readLine().split(\" \");\n int sum = Integer.valueOf(dataset[0]) + Integer.valueOf(dataset[1]);\n System.out.println(countDigitNumber(sum));\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n public static int countDigitNumber(int number) {\n int digitNumber = 1;\n while (number >= 10) {\n digitNumber++;\n number = number / 10;\n }\n return digitNumber;\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
try {
while (input.ready()) {
String[] dataset = input.readLine().split(" ");
int sum = Integer.valueOf(dataset[0]) + Integer.valueOf(dataset[1]);
System.out.println(countDigitNumber(sum));
}
} catch (IOException e) {
e.printStackTrace();
}
}
public static int countDigitNumber(int number) {
int digitNumber = 1;
while (number >= 10) {
digitNumber++;
number = number / 10;
}
return digitNumber;
}
} |
[
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,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
39,
5
],
[
39,
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
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
] | [
"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 Integer sum = sc.nextInt() + sc.nextInt();\n System.out.println(sum.toString().length());\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n Integer sum = sc.nextInt() + sc.nextInt();\n System.out.println(sum.toString().length());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n Integer sum = sc.nextInt() + sc.nextInt();\n System.out.println(sum.toString().length());\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n Integer sum = sc.nextInt() + sc.nextInt();\n System.out.println(sum.toString().length());\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()) {\n Integer sum = sc.nextInt() + sc.nextInt();\n System.out.println(sum.toString().length());\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n Integer sum = sc.nextInt() + sc.nextInt();\n System.out.println(sum.toString().length());\n }",
"Integer sum = sc.nextInt() + sc.nextInt();",
"sum",
"sc.nextInt() + sc.nextInt()",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(sum.toString().length())",
"System.out.println",
"System.out",
"System",
"System.out",
"sum.toString().length()",
"sum.toString().length",
"sum.toString()",
"sum.toString",
"sum",
"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 Integer sum = sc.nextInt() + sc.nextInt();\n System.out.println(sum.toString().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 Integer sum = sc.nextInt() + sc.nextInt();\n System.out.println(sum.toString().length());\n }\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()) {
Integer sum = sc.nextInt() + sc.nextInt();
System.out.println(sum.toString().length());
}
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
11,
1,
4,
18,
13,
30,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
23,
13,
12,
13,
30,
4,
18,
20,
18,
13,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
13,
17,
17,
29,
13,
0,
13,
2,
13,
17,
29,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
106,
2
],
[
106,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
5,
11
],
[
11,
12
],
[
5,
13
],
[
13,
14
],
[
5,
15
],
[
15,
16
],
[
5,
17
],
[
17,
18
],
[
5,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
19,
24
],
[
25,
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
],
[
40,
41
],
[
40,
42
],
[
25,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
5,
49
],
[
49,
50
],
[
50,
51
],
[
3,
52
],
[
52,
53
],
[
3,
54
],
[
54,
55
],
[
106,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
59,
65
],
[
65,
66
],
[
65,
67
],
[
56,
68
],
[
68,
69
],
[
106,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
75,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
88,
94
],
[
94,
95
],
[
87,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
98,
100
],
[
72,
101
],
[
101,
102
],
[
70,
103
],
[
103,
104
],
[
0,
105
],
[
105,
106
],
[
105,
107
]
] | [
"public class Main{\n public void run(java.io.InputStream in,java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n\n int a, b, i, j, dig;\n for(;sc.hasNextInt();){\n/*Input*/\n a = sc.nextInt();\n b = sc.nextInt();\n\n/*answer*/\n dig = caldig(a + b);\n System.out.println(dig);\n }\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in,System.out);\n }\n\n private static int caldig(int n){\n int i;\n for(i = 1;i < 10;i++){\n if(n / 10 == 0)return i;\n n = n / 10;\n }\n return 0;\n }\n}",
"public class Main{\n public void run(java.io.InputStream in,java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n\n int a, b, i, j, dig;\n for(;sc.hasNextInt();){\n/*Input*/\n a = sc.nextInt();\n b = sc.nextInt();\n\n/*answer*/\n dig = caldig(a + b);\n System.out.println(dig);\n }\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in,System.out);\n }\n\n private static int caldig(int n){\n int i;\n for(i = 1;i < 10;i++){\n if(n / 10 == 0)return i;\n n = n / 10;\n }\n return 0;\n }\n}",
"Main",
"public void run(java.io.InputStream in,java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n\n int a, b, i, j, dig;\n for(;sc.hasNextInt();){\n/*Input*/\n a = sc.nextInt();\n b = sc.nextInt();\n\n/*answer*/\n dig = caldig(a + b);\n System.out.println(dig);\n }\n sc.close();\n }",
"run",
"{\n java.util.Scanner sc = new java.util.Scanner(in);\n\n int a, b, i, j, dig;\n for(;sc.hasNextInt();){\n/*Input*/\n a = sc.nextInt();\n b = sc.nextInt();\n\n/*answer*/\n dig = caldig(a + b);\n System.out.println(dig);\n }\n sc.close();\n }",
"java.util.Scanner sc = new java.util.Scanner(in);",
"sc",
"new java.util.Scanner(in)",
"int a",
"a",
"b",
"b",
"i",
"i",
"j",
"j",
"dig;",
"dig",
"for(;sc.hasNextInt();){\n/*Input*/\n a = sc.nextInt();\n b = sc.nextInt();\n\n/*answer*/\n dig = caldig(a + b);\n System.out.println(dig);\n }",
";",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n/*Input*/\n a = sc.nextInt();\n b = sc.nextInt();\n\n/*answer*/\n dig = caldig(a + b);\n System.out.println(dig);\n }",
"{\n/*Input*/\n a = sc.nextInt();\n b = sc.nextInt();\n\n/*answer*/\n dig = caldig(a + b);\n System.out.println(dig);\n }",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"dig = caldig(a + b)",
"dig",
"caldig(a + b)",
"caldig",
"a + b",
"a",
"b",
"System.out.println(dig)",
"System.out.println",
"System.out",
"System",
"System.out",
"dig",
"sc.close()",
"sc.close",
"sc",
"java.io.InputStream in",
"in",
"java.io.PrintStream out",
"out",
"public static void main(String[] args){\n (new Main()).run(System.in,System.out);\n }",
"main",
"{\n (new Main()).run(System.in,System.out);\n }",
"(new Main()).run(System.in,System.out)",
"(new Main()).run",
"(new Main())",
"System.in",
"System",
"System.in",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"private static int caldig(int n){\n int i;\n for(i = 1;i < 10;i++){\n if(n / 10 == 0)return i;\n n = n / 10;\n }\n return 0;\n }",
"caldig",
"{\n int i;\n for(i = 1;i < 10;i++){\n if(n / 10 == 0)return i;\n n = n / 10;\n }\n return 0;\n }",
"int i;",
"i",
"for(i = 1;i < 10;i++){\n if(n / 10 == 0)return i;\n n = n / 10;\n }",
"i = 1;",
"i = 1",
"i",
"1",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n if(n / 10 == 0)return i;\n n = n / 10;\n }",
"{\n if(n / 10 == 0)return i;\n n = n / 10;\n }",
"if(n / 10 == 0)return i;",
"n / 10 == 0",
"n / 10",
"n",
"10",
"0",
"return i;",
"i",
"n = n / 10",
"n",
"n / 10",
"n",
"10",
"return 0;",
"0",
"int n",
"n",
"public class Main{\n public void run(java.io.InputStream in,java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n\n int a, b, i, j, dig;\n for(;sc.hasNextInt();){\n/*Input*/\n a = sc.nextInt();\n b = sc.nextInt();\n\n/*answer*/\n dig = caldig(a + b);\n System.out.println(dig);\n }\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in,System.out);\n }\n\n private static int caldig(int n){\n int i;\n for(i = 1;i < 10;i++){\n if(n / 10 == 0)return i;\n n = n / 10;\n }\n return 0;\n }\n}",
"public class Main{\n public void run(java.io.InputStream in,java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n\n int a, b, i, j, dig;\n for(;sc.hasNextInt();){\n/*Input*/\n a = sc.nextInt();\n b = sc.nextInt();\n\n/*answer*/\n dig = caldig(a + b);\n System.out.println(dig);\n }\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in,System.out);\n }\n\n private static int caldig(int n){\n int i;\n for(i = 1;i < 10;i++){\n if(n / 10 == 0)return i;\n n = n / 10;\n }\n return 0;\n }\n}",
"Main"
] | public class Main{
public void run(java.io.InputStream in,java.io.PrintStream out){
java.util.Scanner sc = new java.util.Scanner(in);
int a, b, i, j, dig;
for(;sc.hasNextInt();){
/*Input*/
a = sc.nextInt();
b = sc.nextInt();
/*answer*/
dig = caldig(a + b);
System.out.println(dig);
}
sc.close();
}
public static void main(String[] args){
(new Main()).run(System.in,System.out);
}
private static int caldig(int n){
int i;
for(i = 1;i < 10;i++){
if(n / 10 == 0)return i;
n = n / 10;
}
return 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,
41,
13,
2,
13,
13,
41,
13,
2,
4,
18,
13,
13,
17,
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
],
[
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
],
[
36,
37
],
[
35,
38
],
[
34,
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.*;\npublic class Main {\n public static void main (String[] args) {\n Scanner inp = new Scanner (System.in);\n while(inp.hasNext()){\n int num_1 = inp.nextInt();\n int num_2 = inp.nextInt();\n int sum = num_1+num_2;\n int digit = (int)(Math.log10(sum)+1);;\n System.out.println(digit);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main (String[] args) {\n Scanner inp = new Scanner (System.in);\n while(inp.hasNext()){\n int num_1 = inp.nextInt();\n int num_2 = inp.nextInt();\n int sum = num_1+num_2;\n int digit = (int)(Math.log10(sum)+1);;\n System.out.println(digit);\n }\n }\n}",
"Main",
"public static void main (String[] args) {\n Scanner inp = new Scanner (System.in);\n while(inp.hasNext()){\n int num_1 = inp.nextInt();\n int num_2 = inp.nextInt();\n int sum = num_1+num_2;\n int digit = (int)(Math.log10(sum)+1);;\n System.out.println(digit);\n }\n }",
"main",
"{\n Scanner inp = new Scanner (System.in);\n while(inp.hasNext()){\n int num_1 = inp.nextInt();\n int num_2 = inp.nextInt();\n int sum = num_1+num_2;\n int digit = (int)(Math.log10(sum)+1);;\n System.out.println(digit);\n }\n }",
"Scanner inp = new Scanner (System.in);",
"inp",
"new Scanner (System.in)",
"while(inp.hasNext()){\n int num_1 = inp.nextInt();\n int num_2 = inp.nextInt();\n int sum = num_1+num_2;\n int digit = (int)(Math.log10(sum)+1);;\n System.out.println(digit);\n }",
"inp.hasNext()",
"inp.hasNext",
"inp",
"{\n int num_1 = inp.nextInt();\n int num_2 = inp.nextInt();\n int sum = num_1+num_2;\n int digit = (int)(Math.log10(sum)+1);;\n System.out.println(digit);\n }",
"int num_1 = inp.nextInt();",
"num_1",
"inp.nextInt()",
"inp.nextInt",
"inp",
"int num_2 = inp.nextInt();",
"num_2",
"inp.nextInt()",
"inp.nextInt",
"inp",
"int sum = num_1+num_2;",
"sum",
"num_1+num_2",
"num_1",
"num_2",
"int digit = (int)(Math.log10(sum)+1);",
"digit",
"(int)(Math.log10(sum)+1)",
"Math.log10(sum)",
"Math.log10",
"Math",
"sum",
"1",
"System.out.println(digit)",
"System.out.println",
"System.out",
"System",
"System.out",
"digit",
"String[] args",
"args",
"public class Main {\n public static void main (String[] args) {\n Scanner inp = new Scanner (System.in);\n while(inp.hasNext()){\n int num_1 = inp.nextInt();\n int num_2 = inp.nextInt();\n int sum = num_1+num_2;\n int digit = (int)(Math.log10(sum)+1);;\n System.out.println(digit);\n }\n }\n}",
"public class Main {\n public static void main (String[] args) {\n Scanner inp = new Scanner (System.in);\n while(inp.hasNext()){\n int num_1 = inp.nextInt();\n int num_2 = inp.nextInt();\n int sum = num_1+num_2;\n int digit = (int)(Math.log10(sum)+1);;\n System.out.println(digit);\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main (String[] args) {
Scanner inp = new Scanner (System.in);
while(inp.hasNext()){
int num_1 = inp.nextInt();
int num_2 = inp.nextInt();
int sum = num_1+num_2;
int digit = (int)(Math.log10(sum)+1);;
System.out.println(digit);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
29,
30,
41,
13,
20,
41,
13,
17,
42,
40,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
13,
2,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
13,
29,
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
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
12,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
30,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
30,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
55,
57
],
[
30,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
9,
68
],
[
68,
69
],
[
7,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
72,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
70,
83
],
[
83,
84
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString input =\"\";\n\t\t\tdo{\n\t\t\t\tinput = br.readLine();\n\t\t\t\tString[] inputs = input.split(\" \");\n\t\t\t\tint num1 = Integer.parseInt(inputs[0]);\n\t\t\t\tint num2 = Integer.parseInt(inputs[1]);\n\t\t\t\tSystem.out.println(getDigit(num1 + num2));\n\t\t\t}while(!input.equals(\"\"));\n\t\t}\n\t\tcatch(Exception e){\n\t\t\treturn;\n\t\t}\n\t}\n\t\n\tprivate static int getDigit(int num){\n\t\tString numStr = Integer.toString(num);\n\t\treturn numStr.length();\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString input =\"\";\n\t\t\tdo{\n\t\t\t\tinput = br.readLine();\n\t\t\t\tString[] inputs = input.split(\" \");\n\t\t\t\tint num1 = Integer.parseInt(inputs[0]);\n\t\t\t\tint num2 = Integer.parseInt(inputs[1]);\n\t\t\t\tSystem.out.println(getDigit(num1 + num2));\n\t\t\t}while(!input.equals(\"\"));\n\t\t}\n\t\tcatch(Exception e){\n\t\t\treturn;\n\t\t}\n\t}\n\t\n\tprivate static int getDigit(int num){\n\t\tString numStr = Integer.toString(num);\n\t\treturn numStr.length();\n\t}\n\n}",
"Main",
"/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\ttry{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString input =\"\";\n\t\t\tdo{\n\t\t\t\tinput = br.readLine();\n\t\t\t\tString[] inputs = input.split(\" \");\n\t\t\t\tint num1 = Integer.parseInt(inputs[0]);\n\t\t\t\tint num2 = Integer.parseInt(inputs[1]);\n\t\t\t\tSystem.out.println(getDigit(num1 + num2));\n\t\t\t}while(!input.equals(\"\"));\n\t\t}\n\t\tcatch(Exception e){\n\t\t\treturn;\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\ttry{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString input =\"\";\n\t\t\tdo{\n\t\t\t\tinput = br.readLine();\n\t\t\t\tString[] inputs = input.split(\" \");\n\t\t\t\tint num1 = Integer.parseInt(inputs[0]);\n\t\t\t\tint num2 = Integer.parseInt(inputs[1]);\n\t\t\t\tSystem.out.println(getDigit(num1 + num2));\n\t\t\t}while(!input.equals(\"\"));\n\t\t}\n\t\tcatch(Exception e){\n\t\t\treturn;\n\t\t}\n\t}",
"try{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString input =\"\";\n\t\t\tdo{\n\t\t\t\tinput = br.readLine();\n\t\t\t\tString[] inputs = input.split(\" \");\n\t\t\t\tint num1 = Integer.parseInt(inputs[0]);\n\t\t\t\tint num2 = Integer.parseInt(inputs[1]);\n\t\t\t\tSystem.out.println(getDigit(num1 + num2));\n\t\t\t}while(!input.equals(\"\"));\n\t\t}\n\t\tcatch(Exception e){\n\t\t\treturn;\n\t\t}",
"catch(Exception e){\n\t\t\treturn;\n\t\t}",
"Exception e",
"{\n\t\t\treturn;\n\t\t}",
"return;",
"{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString input =\"\";\n\t\t\tdo{\n\t\t\t\tinput = br.readLine();\n\t\t\t\tString[] inputs = input.split(\" \");\n\t\t\t\tint num1 = Integer.parseInt(inputs[0]);\n\t\t\t\tint num2 = Integer.parseInt(inputs[1]);\n\t\t\t\tSystem.out.println(getDigit(num1 + num2));\n\t\t\t}while(!input.equals(\"\"));\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String input =\"\";",
"input",
"\"\"",
"do{\n\t\t\t\tinput = br.readLine();\n\t\t\t\tString[] inputs = input.split(\" \");\n\t\t\t\tint num1 = Integer.parseInt(inputs[0]);\n\t\t\t\tint num2 = Integer.parseInt(inputs[1]);\n\t\t\t\tSystem.out.println(getDigit(num1 + num2));\n\t\t\t}while(!input.equals(\"\"));",
"!input.equals(\"\")",
"input.equals(\"\")",
"input.equals",
"input",
"\"\"",
"{\n\t\t\t\tinput = br.readLine();\n\t\t\t\tString[] inputs = input.split(\" \");\n\t\t\t\tint num1 = Integer.parseInt(inputs[0]);\n\t\t\t\tint num2 = Integer.parseInt(inputs[1]);\n\t\t\t\tSystem.out.println(getDigit(num1 + num2));\n\t\t\t}",
"input = br.readLine()",
"input",
"br.readLine()",
"br.readLine",
"br",
"String[] inputs = input.split(\" \");",
"inputs",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"int num1 = Integer.parseInt(inputs[0]);",
"num1",
"Integer.parseInt(inputs[0])",
"Integer.parseInt",
"Integer",
"inputs[0]",
"inputs",
"0",
"int num2 = Integer.parseInt(inputs[1]);",
"num2",
"Integer.parseInt(inputs[1])",
"Integer.parseInt",
"Integer",
"inputs[1]",
"inputs",
"1",
"System.out.println(getDigit(num1 + num2))",
"System.out.println",
"System.out",
"System",
"System.out",
"getDigit(num1 + num2)",
"getDigit",
"num1 + num2",
"num1",
"num2",
"String[] args",
"args",
"private static int getDigit(int num){\n\t\tString numStr = Integer.toString(num);\n\t\treturn numStr.length();\n\t}",
"getDigit",
"{\n\t\tString numStr = Integer.toString(num);\n\t\treturn numStr.length();\n\t}",
"String numStr = Integer.toString(num);",
"numStr",
"Integer.toString(num)",
"Integer.toString",
"Integer",
"num",
"return numStr.length();",
"numStr.length()",
"numStr.length",
"numStr",
"int num",
"num"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
class Main {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
try{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String input ="";
do{
input = br.readLine();
String[] inputs = input.split(" ");
int num1 = Integer.parseInt(inputs[0]);
int num2 = Integer.parseInt(inputs[1]);
System.out.println(getDigit(num1 + num2));
}while(!input.equals(""));
}
catch(Exception e){
return;
}
}
private static int getDigit(int num){
String numStr = Integer.toString(num);
return numStr.length();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
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
] | [
[
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
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
20,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
39,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
57,
58
],
[
39,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
64,
66
],
[
39,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
73,
74
],
[
9,
75
],
[
75,
76
]
] | [
"import java.io.*;\nimport java.util.StringTokenizer;\n\nclass Main {\n\tpublic static void main(String args[]) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tString buf;\n\n\t\ttry {\n\t\t\twhile ((buf = br.readLine())!=null) {\n\t\t\t\tStringTokenizer st = new StringTokenizer(buf);\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\tString s = Integer.toString(a+b);\n\t\t\t\tSystem.out.println(s.length());\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Exception!\");\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"class Main {\n\tpublic static void main(String args[]) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tString buf;\n\n\t\ttry {\n\t\t\twhile ((buf = br.readLine())!=null) {\n\t\t\t\tStringTokenizer st = new StringTokenizer(buf);\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\tString s = Integer.toString(a+b);\n\t\t\t\tSystem.out.println(s.length());\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Exception!\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tString buf;\n\n\t\ttry {\n\t\t\twhile ((buf = br.readLine())!=null) {\n\t\t\t\tStringTokenizer st = new StringTokenizer(buf);\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\tString s = Integer.toString(a+b);\n\t\t\t\tSystem.out.println(s.length());\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Exception!\");\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tString buf;\n\n\t\ttry {\n\t\t\twhile ((buf = br.readLine())!=null) {\n\t\t\t\tStringTokenizer st = new StringTokenizer(buf);\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\tString s = Integer.toString(a+b);\n\t\t\t\tSystem.out.println(s.length());\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Exception!\");\n\t\t}\n\t}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"String buf;",
"buf",
"try {\n\t\t\twhile ((buf = br.readLine())!=null) {\n\t\t\t\tStringTokenizer st = new StringTokenizer(buf);\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\tString s = Integer.toString(a+b);\n\t\t\t\tSystem.out.println(s.length());\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Exception!\");\n\t\t}",
"catch (Exception e) {\n\t\t\tSystem.out.println(\"Exception!\");\n\t\t}",
"Exception e",
"{\n\t\t\tSystem.out.println(\"Exception!\");\n\t\t}",
"System.out.println(\"Exception!\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Exception!\"",
"{\n\t\t\twhile ((buf = br.readLine())!=null) {\n\t\t\t\tStringTokenizer st = new StringTokenizer(buf);\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\tString s = Integer.toString(a+b);\n\t\t\t\tSystem.out.println(s.length());\n\t\t\t}\n\t\t}",
"while ((buf = br.readLine())!=null) {\n\t\t\t\tStringTokenizer st = new StringTokenizer(buf);\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\tString s = Integer.toString(a+b);\n\t\t\t\tSystem.out.println(s.length());\n\t\t\t}",
"(buf = br.readLine())!=null",
"(buf = br.readLine())",
"buf",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\t\tStringTokenizer st = new StringTokenizer(buf);\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\tString s = Integer.toString(a+b);\n\t\t\t\tSystem.out.println(s.length());\n\t\t\t}",
"StringTokenizer st = new StringTokenizer(buf);",
"st",
"new StringTokenizer(buf)",
"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",
"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 args[]",
"args"
] | import java.io.*;
import java.util.StringTokenizer;
class Main {
public static void main(String args[]) {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf;
try {
while ((buf = br.readLine())!=null) {
StringTokenizer st = new StringTokenizer(buf);
int a = Integer.parseInt(st.nextToken());
int b = Integer.parseInt(st.nextToken());
String s = Integer.toString(a+b);
System.out.println(s.length());
}
} catch (Exception e) {
System.out.println("Exception!");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
17,
30,
41,
13,
20,
4,
13,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
42,
2,
2,
0,
13,
4,
18,
13,
17,
40,
4,
18,
17,
13,
30,
41,
13,
4,
18,
13,
17,
41,
13,
2,
4,
13,
18,
13,
17,
4,
13,
18,
13,
17,
4,
18,
13,
4,
18,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
111,
14
],
[
111,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
15,
21
],
[
21,
22
],
[
111,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
111,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
44,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
41,
58
],
[
58,
59
],
[
111,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
67,
73
],
[
66,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
65,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
79,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
88,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
96,
98
],
[
79,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
60,
108
],
[
108,
109
],
[
0,
110
],
[
110,
111
],
[
110,
112
]
] | [
"import static java.lang.System.out;\nimport static java.lang.Integer.parseInt;\nimport java.io.File;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n new Main().digit();\n }\n\n public void digit() {\n try (Scanner scan = new Scanner(System.in)) {\n scanDigit(scan);\n } catch (Exception e) {\n System.exit(0);\n }\n }\n\n public void digit(String inDataPath) {\n try (Scanner scan = new Scanner(new File(inDataPath))) {\n scanDigit(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n public void scanDigit(Scanner scan) throws Exception {\n String inData;\n while ((inData = scan.nextLine()) != null || !\"\".equals(inData)) {\n String[] inDataList = inData.split(\" \");\n int sum = parseInt(inDataList[0]) + parseInt(inDataList[1]);\n out.println(String.valueOf(sum).length());\n }\n }\n}",
"import static java.lang.System.out;",
"import static java.lang.System.out;",
"import static java.lang.System.out;",
"import static java.lang.Integer.parseInt;",
"import static java.lang.Integer.parseInt;",
"import static java.lang.Integer.parseInt;",
"import java.io.File;",
"File",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n new Main().digit();\n }\n\n public void digit() {\n try (Scanner scan = new Scanner(System.in)) {\n scanDigit(scan);\n } catch (Exception e) {\n System.exit(0);\n }\n }\n\n public void digit(String inDataPath) {\n try (Scanner scan = new Scanner(new File(inDataPath))) {\n scanDigit(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n public void scanDigit(Scanner scan) throws Exception {\n String inData;\n while ((inData = scan.nextLine()) != null || !\"\".equals(inData)) {\n String[] inDataList = inData.split(\" \");\n int sum = parseInt(inDataList[0]) + parseInt(inDataList[1]);\n out.println(String.valueOf(sum).length());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n new Main().digit();\n }",
"main",
"{\n new Main().digit();\n }",
"new Main().digit()",
"new Main().digit",
"new Main()",
"String[] args",
"args",
"public void digit() {\n try (Scanner scan = new Scanner(System.in)) {\n scanDigit(scan);\n } catch (Exception e) {\n System.exit(0);\n }\n }",
"digit",
"{\n try (Scanner scan = new Scanner(System.in)) {\n scanDigit(scan);\n } catch (Exception e) {\n System.exit(0);\n }\n }",
"try (Scanner scan = new Scanner(System.in)) {\n scanDigit(scan);\n } catch (Exception e) {\n System.exit(0);\n }",
"catch (Exception e) {\n System.exit(0);\n }",
"Exception e",
"{\n System.exit(0);\n }",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n scanDigit(scan);\n }",
"Scanner scan = new Scanner(System.in)",
"Scanner scan = new Scanner(System.in)",
"new Scanner(System.in)",
"scanDigit(scan)",
"scanDigit",
"scan",
"public void digit(String inDataPath) {\n try (Scanner scan = new Scanner(new File(inDataPath))) {\n scanDigit(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"digit",
"{\n try (Scanner scan = new Scanner(new File(inDataPath))) {\n scanDigit(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"try (Scanner scan = new Scanner(new File(inDataPath))) {\n scanDigit(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }",
"catch (Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n scanDigit(scan);\n }",
"Scanner scan = new Scanner(new File(inDataPath))",
"Scanner scan = new Scanner(new File(inDataPath))",
"new Scanner(new File(inDataPath))",
"scanDigit(scan)",
"scanDigit",
"scan",
"String inDataPath",
"inDataPath",
"public void scanDigit(Scanner scan) throws Exception {\n String inData;\n while ((inData = scan.nextLine()) != null || !\"\".equals(inData)) {\n String[] inDataList = inData.split(\" \");\n int sum = parseInt(inDataList[0]) + parseInt(inDataList[1]);\n out.println(String.valueOf(sum).length());\n }\n }",
"scanDigit",
"{\n String inData;\n while ((inData = scan.nextLine()) != null || !\"\".equals(inData)) {\n String[] inDataList = inData.split(\" \");\n int sum = parseInt(inDataList[0]) + parseInt(inDataList[1]);\n out.println(String.valueOf(sum).length());\n }\n }",
"String inData;",
"inData",
"while ((inData = scan.nextLine()) != null || !\"\".equals(inData)) {\n String[] inDataList = inData.split(\" \");\n int sum = parseInt(inDataList[0]) + parseInt(inDataList[1]);\n out.println(String.valueOf(sum).length());\n }",
"(inData = scan.nextLine()) != null || !\"\".equals(inData)",
"(inData = scan.nextLine()) != null",
"(inData = scan.nextLine())",
"inData",
"scan.nextLine()",
"scan.nextLine",
"scan",
"null",
"!\"\".equals(inData)",
"\"\".equals(inData)",
"\"\".equals",
"\"\"",
"inData",
"{\n String[] inDataList = inData.split(\" \");\n int sum = parseInt(inDataList[0]) + parseInt(inDataList[1]);\n out.println(String.valueOf(sum).length());\n }",
"String[] inDataList = inData.split(\" \");",
"inDataList",
"inData.split(\" \")",
"inData.split",
"inData",
"\" \"",
"int sum = parseInt(inDataList[0]) + parseInt(inDataList[1]);",
"sum",
"parseInt(inDataList[0]) + parseInt(inDataList[1])",
"parseInt(inDataList[0])",
"parseInt",
"inDataList[0]",
"inDataList",
"0",
"parseInt(inDataList[1])",
"parseInt",
"inDataList[1]",
"inDataList",
"1",
"out.println(String.valueOf(sum).length())",
"out.println",
"out",
"String.valueOf(sum).length()",
"String.valueOf(sum).length",
"String.valueOf(sum)",
"String.valueOf",
"String",
"sum",
"Scanner scan",
"scan",
"public class Main {\n\n public static void main(String[] args) {\n new Main().digit();\n }\n\n public void digit() {\n try (Scanner scan = new Scanner(System.in)) {\n scanDigit(scan);\n } catch (Exception e) {\n System.exit(0);\n }\n }\n\n public void digit(String inDataPath) {\n try (Scanner scan = new Scanner(new File(inDataPath))) {\n scanDigit(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n public void scanDigit(Scanner scan) throws Exception {\n String inData;\n while ((inData = scan.nextLine()) != null || !\"\".equals(inData)) {\n String[] inDataList = inData.split(\" \");\n int sum = parseInt(inDataList[0]) + parseInt(inDataList[1]);\n out.println(String.valueOf(sum).length());\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n new Main().digit();\n }\n\n public void digit() {\n try (Scanner scan = new Scanner(System.in)) {\n scanDigit(scan);\n } catch (Exception e) {\n System.exit(0);\n }\n }\n\n public void digit(String inDataPath) {\n try (Scanner scan = new Scanner(new File(inDataPath))) {\n scanDigit(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n public void scanDigit(Scanner scan) throws Exception {\n String inData;\n while ((inData = scan.nextLine()) != null || !\"\".equals(inData)) {\n String[] inDataList = inData.split(\" \");\n int sum = parseInt(inDataList[0]) + parseInt(inDataList[1]);\n out.println(String.valueOf(sum).length());\n }\n }\n}",
"Main"
] | import static java.lang.System.out;
import static java.lang.Integer.parseInt;
import java.io.File;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
new Main().digit();
}
public void digit() {
try (Scanner scan = new Scanner(System.in)) {
scanDigit(scan);
} catch (Exception e) {
System.exit(0);
}
}
public void digit(String inDataPath) {
try (Scanner scan = new Scanner(new File(inDataPath))) {
scanDigit(scan);
} catch (Exception e) {
e.printStackTrace();
}
}
public void scanDigit(Scanner scan) throws Exception {
String inData;
while ((inData = scan.nextLine()) != null || !"".equals(inData)) {
String[] inDataList = inData.split(" ");
int sum = parseInt(inDataList[0]) + parseInt(inDataList[1]);
out.println(String.valueOf(sum).length());
}
}
} |
[
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,
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,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
64,
5
],
[
64,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
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
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
22,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
22,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
22,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] | [
"import java.io.*;\n\npublic class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n\n while((str = br.readLine()) != null){\n String[] str2 = str.split(\" \");\n int a = Integer.parseInt(str2[0]);\n int b = Integer.parseInt(str2[1]);\n\n int digits = Integer.toString(a + b).length();\n System.out.println(digits);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n\n while((str = br.readLine()) != null){\n String[] str2 = str.split(\" \");\n int a = Integer.parseInt(str2[0]);\n int b = Integer.parseInt(str2[1]);\n\n int digits = Integer.toString(a + b).length();\n System.out.println(digits);\n }\n }\n}",
"Main",
"public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n\n while((str = br.readLine()) != null){\n String[] str2 = str.split(\" \");\n int a = Integer.parseInt(str2[0]);\n int b = Integer.parseInt(str2[1]);\n\n int digits = Integer.toString(a + b).length();\n System.out.println(digits);\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n\n while((str = br.readLine()) != null){\n String[] str2 = str.split(\" \");\n int a = Integer.parseInt(str2[0]);\n int b = Integer.parseInt(str2[1]);\n\n int digits = Integer.toString(a + b).length();\n System.out.println(digits);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"while((str = br.readLine()) != null){\n String[] str2 = str.split(\" \");\n int a = Integer.parseInt(str2[0]);\n int b = Integer.parseInt(str2[1]);\n\n int digits = Integer.toString(a + b).length();\n System.out.println(digits);\n }",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n String[] str2 = str.split(\" \");\n int a = Integer.parseInt(str2[0]);\n int b = Integer.parseInt(str2[1]);\n\n int digits = Integer.toString(a + b).length();\n System.out.println(digits);\n }",
"String[] str2 = str.split(\" \");",
"str2",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int a = Integer.parseInt(str2[0]);",
"a",
"Integer.parseInt(str2[0])",
"Integer.parseInt",
"Integer",
"str2[0]",
"str2",
"0",
"int b = Integer.parseInt(str2[1]);",
"b",
"Integer.parseInt(str2[1])",
"Integer.parseInt",
"Integer",
"str2[1]",
"str2",
"1",
"int digits = Integer.toString(a + b).length();",
"digits",
"Integer.toString(a + b).length()",
"Integer.toString(a + b).length",
"Integer.toString(a + b)",
"Integer.toString",
"Integer",
"a + b",
"a",
"b",
"System.out.println(digits)",
"System.out.println",
"System.out",
"System",
"System.out",
"digits",
"String[]args",
"args",
"public class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n\n while((str = br.readLine()) != null){\n String[] str2 = str.split(\" \");\n int a = Integer.parseInt(str2[0]);\n int b = Integer.parseInt(str2[1]);\n\n int digits = Integer.toString(a + b).length();\n System.out.println(digits);\n }\n }\n}",
"public class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n\n while((str = br.readLine()) != null){\n String[] str2 = str.split(\" \");\n int a = Integer.parseInt(str2[0]);\n int b = Integer.parseInt(str2[1]);\n\n int digits = Integer.toString(a + b).length();\n System.out.println(digits);\n }\n }\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[]args)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
while((str = br.readLine()) != null){
String[] str2 = str.split(" ");
int a = Integer.parseInt(str2[0]);
int b = Integer.parseInt(str2[1]);
int digits = Integer.toString(a + b).length();
System.out.println(digits);
}
}
} |
[
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,
0,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
2,
13,
17,
17,
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
],
[
60,
5
],
[
60,
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
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
20,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
6,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n int x,i;\n Scanner sc = new Scanner(System.in);\n while(sc.hasNextInt()) {\n x = sc.nextInt();\n x +=sc.nextInt();\n for (i = 1; x / 10 > 0; i++) {\n x = x / 10;\n }\n System.out.println(i);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args){\n int x,i;\n Scanner sc = new Scanner(System.in);\n while(sc.hasNextInt()) {\n x = sc.nextInt();\n x +=sc.nextInt();\n for (i = 1; x / 10 > 0; i++) {\n x = x / 10;\n }\n System.out.println(i);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n int x,i;\n Scanner sc = new Scanner(System.in);\n while(sc.hasNextInt()) {\n x = sc.nextInt();\n x +=sc.nextInt();\n for (i = 1; x / 10 > 0; i++) {\n x = x / 10;\n }\n System.out.println(i);\n }\n }",
"main",
"{\n int x,i;\n Scanner sc = new Scanner(System.in);\n while(sc.hasNextInt()) {\n x = sc.nextInt();\n x +=sc.nextInt();\n for (i = 1; x / 10 > 0; i++) {\n x = x / 10;\n }\n System.out.println(i);\n }\n }",
"int x",
"x",
"i;",
"i",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNextInt()) {\n x = sc.nextInt();\n x +=sc.nextInt();\n for (i = 1; x / 10 > 0; i++) {\n x = x / 10;\n }\n System.out.println(i);\n }",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n x = sc.nextInt();\n x +=sc.nextInt();\n for (i = 1; x / 10 > 0; i++) {\n x = x / 10;\n }\n System.out.println(i);\n }",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"x +=sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (i = 1; x / 10 > 0; i++) {\n x = x / 10;\n }",
"i = 1;",
"i = 1",
"i",
"1",
"x / 10 > 0",
"x / 10",
"x",
"10",
"0",
"i++",
"i++",
"i",
"{\n x = x / 10;\n }",
"{\n x = x / 10;\n }",
"x = x / 10",
"x",
"x / 10",
"x",
"10",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n int x,i;\n Scanner sc = new Scanner(System.in);\n while(sc.hasNextInt()) {\n x = sc.nextInt();\n x +=sc.nextInt();\n for (i = 1; x / 10 > 0; i++) {\n x = x / 10;\n }\n System.out.println(i);\n }\n }\n}",
"public class Main {\n public static void main(String[] args){\n int x,i;\n Scanner sc = new Scanner(System.in);\n while(sc.hasNextInt()) {\n x = sc.nextInt();\n x +=sc.nextInt();\n for (i = 1; x / 10 > 0; i++) {\n x = x / 10;\n }\n System.out.println(i);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
int x,i;
Scanner sc = new Scanner(System.in);
while(sc.hasNextInt()) {
x = sc.nextInt();
x +=sc.nextInt();
for (i = 1; x / 10 > 0; i++) {
x = x / 10;
}
System.out.println(i);
}
}
} |
[
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,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
40,
5
],
[
40,
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
],
[
6,
37
],
[
37,
38
],
[
0,
39
],
[
39,
40
],
[
39,
41
]
] | [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n\tScanner s = new Scanner(System.in);\n\twhile(s.hasNext()) {\n\t int sum = s.nextInt() + s.nextInt();\n\t System.out.println(String.valueOf(sum).length());\n\t}\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n\tScanner s = new Scanner(System.in);\n\twhile(s.hasNext()) {\n\t int sum = s.nextInt() + s.nextInt();\n\t System.out.println(String.valueOf(sum).length());\n\t}\n }\n}",
"Main",
"public static void main(String[] args) {\n\tScanner s = new Scanner(System.in);\n\twhile(s.hasNext()) {\n\t int sum = s.nextInt() + s.nextInt();\n\t System.out.println(String.valueOf(sum).length());\n\t}\n }",
"main",
"{\n\tScanner s = new Scanner(System.in);\n\twhile(s.hasNext()) {\n\t int sum = s.nextInt() + s.nextInt();\n\t System.out.println(String.valueOf(sum).length());\n\t}\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"while(s.hasNext()) {\n\t int sum = s.nextInt() + s.nextInt();\n\t System.out.println(String.valueOf(sum).length());\n\t}",
"s.hasNext()",
"s.hasNext",
"s",
"{\n\t int sum = s.nextInt() + s.nextInt();\n\t System.out.println(String.valueOf(sum).length());\n\t}",
"int sum = s.nextInt() + s.nextInt();",
"sum",
"s.nextInt() + s.nextInt()",
"s.nextInt()",
"s.nextInt",
"s",
"s.nextInt()",
"s.nextInt",
"s",
"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 public static void main(String[] args) {\n\tScanner s = new Scanner(System.in);\n\twhile(s.hasNext()) {\n\t int sum = s.nextInt() + s.nextInt();\n\t System.out.println(String.valueOf(sum).length());\n\t}\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\tScanner s = new Scanner(System.in);\n\twhile(s.hasNext()) {\n\t int sum = s.nextInt() + s.nextInt();\n\t System.out.println(String.valueOf(sum).length());\n\t}\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
while(s.hasNext()) {
int sum = s.nextInt() + s.nextInt();
System.out.println(String.valueOf(sum).length());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
14,
2,
4,
18,
13,
17,
3,
41,
13,
4,
18,
13,
17,
4,
18,
13,
20,
17,
38,
5,
13,
30,
3,
30,
0,
18,
4,
18,
13,
13,
17,
4,
18,
13,
18,
13,
17,
0,
18,
4,
18,
13,
13,
17,
4,
18,
13,
18,
13,
17,
40,
13,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
2,
18,
4,
18,
13,
13,
17,
18,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
2,
4,
18,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
140,
14
],
[
140,
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
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
39,
43
],
[
38,
44
],
[
37,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
37,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
37,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
63,
68
],
[
62,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
72,
74
],
[
61,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
76,
81
],
[
75,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
85,
87
],
[
37,
88
],
[
88,
89
],
[
37,
90
],
[
90,
91
],
[
90,
92
],
[
17,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
93,
103
],
[
103,
104
],
[
104,
105
],
[
93,
106
],
[
107,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
111,
116
],
[
110,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
117,
122
],
[
107,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
123,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
128,
133
],
[
17,
134
],
[
134,
135
],
[
135,
136
],
[
15,
137
],
[
137,
138
],
[
0,
139
],
[
139,
140
],
[
139,
141
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<int[]> dataList = new ArrayList<int[]>();\n\t\tString str;\n\t\tint j=0;\n\t\twhile ((str = br.readLine()) != null) {\n\t\t\tif(str.length()==0)break;\n\t\t\tString[] strBuf = str.split(\" \");\n\t\t\tdataList.add(new int[2]);\n\t\t\ttry {\n\t\t\t\t((int[]) dataList.get(j))[0] = Integer.parseInt(strBuf[0]);\n\t\t\t\t((int[]) dataList.get(j))[1] = Integer.parseInt(strBuf[1]);\n\t\t\t} catch (NumberFormatException nfex) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tj++;\n\t\t\tstr = null;\n\t\t}\n\n\t\tfor (int i = 0; i < dataList.size(); i++) {\n\t\t\tint sum = ((int[]) dataList.get(i))[0]\n\t\t\t\t\t+ ((int[]) dataList.get(i))[1];\n\t\t\tSystem.out.println((int) (Math.log10(sum) + 1));\n\t\t}\n\t\tbr.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",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<int[]> dataList = new ArrayList<int[]>();\n\t\tString str;\n\t\tint j=0;\n\t\twhile ((str = br.readLine()) != null) {\n\t\t\tif(str.length()==0)break;\n\t\t\tString[] strBuf = str.split(\" \");\n\t\t\tdataList.add(new int[2]);\n\t\t\ttry {\n\t\t\t\t((int[]) dataList.get(j))[0] = Integer.parseInt(strBuf[0]);\n\t\t\t\t((int[]) dataList.get(j))[1] = Integer.parseInt(strBuf[1]);\n\t\t\t} catch (NumberFormatException nfex) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tj++;\n\t\t\tstr = null;\n\t\t}\n\n\t\tfor (int i = 0; i < dataList.size(); i++) {\n\t\t\tint sum = ((int[]) dataList.get(i))[0]\n\t\t\t\t\t+ ((int[]) dataList.get(i))[1];\n\t\t\tSystem.out.println((int) (Math.log10(sum) + 1));\n\t\t}\n\t\tbr.close();\n\t}\n\n}",
"Main",
"public static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<int[]> dataList = new ArrayList<int[]>();\n\t\tString str;\n\t\tint j=0;\n\t\twhile ((str = br.readLine()) != null) {\n\t\t\tif(str.length()==0)break;\n\t\t\tString[] strBuf = str.split(\" \");\n\t\t\tdataList.add(new int[2]);\n\t\t\ttry {\n\t\t\t\t((int[]) dataList.get(j))[0] = Integer.parseInt(strBuf[0]);\n\t\t\t\t((int[]) dataList.get(j))[1] = Integer.parseInt(strBuf[1]);\n\t\t\t} catch (NumberFormatException nfex) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tj++;\n\t\t\tstr = null;\n\t\t}\n\n\t\tfor (int i = 0; i < dataList.size(); i++) {\n\t\t\tint sum = ((int[]) dataList.get(i))[0]\n\t\t\t\t\t+ ((int[]) dataList.get(i))[1];\n\t\t\tSystem.out.println((int) (Math.log10(sum) + 1));\n\t\t}\n\t\tbr.close();\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<int[]> dataList = new ArrayList<int[]>();\n\t\tString str;\n\t\tint j=0;\n\t\twhile ((str = br.readLine()) != null) {\n\t\t\tif(str.length()==0)break;\n\t\t\tString[] strBuf = str.split(\" \");\n\t\t\tdataList.add(new int[2]);\n\t\t\ttry {\n\t\t\t\t((int[]) dataList.get(j))[0] = Integer.parseInt(strBuf[0]);\n\t\t\t\t((int[]) dataList.get(j))[1] = Integer.parseInt(strBuf[1]);\n\t\t\t} catch (NumberFormatException nfex) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tj++;\n\t\t\tstr = null;\n\t\t}\n\n\t\tfor (int i = 0; i < dataList.size(); i++) {\n\t\t\tint sum = ((int[]) dataList.get(i))[0]\n\t\t\t\t\t+ ((int[]) dataList.get(i))[1];\n\t\t\tSystem.out.println((int) (Math.log10(sum) + 1));\n\t\t}\n\t\tbr.close();\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"ArrayList<int[]> dataList = new ArrayList<int[]>();",
"dataList",
"new ArrayList<int[]>()",
"String str;",
"str",
"int j=0;",
"j",
"0",
"while ((str = br.readLine()) != null) {\n\t\t\tif(str.length()==0)break;\n\t\t\tString[] strBuf = str.split(\" \");\n\t\t\tdataList.add(new int[2]);\n\t\t\ttry {\n\t\t\t\t((int[]) dataList.get(j))[0] = Integer.parseInt(strBuf[0]);\n\t\t\t\t((int[]) dataList.get(j))[1] = Integer.parseInt(strBuf[1]);\n\t\t\t} catch (NumberFormatException nfex) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tj++;\n\t\t\tstr = null;\n\t\t}",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tif(str.length()==0)break;\n\t\t\tString[] strBuf = str.split(\" \");\n\t\t\tdataList.add(new int[2]);\n\t\t\ttry {\n\t\t\t\t((int[]) dataList.get(j))[0] = Integer.parseInt(strBuf[0]);\n\t\t\t\t((int[]) dataList.get(j))[1] = Integer.parseInt(strBuf[1]);\n\t\t\t} catch (NumberFormatException nfex) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tj++;\n\t\t\tstr = null;\n\t\t}",
"if(str.length()==0)break;",
"str.length()==0",
"str.length()",
"str.length",
"str",
"0",
"break;",
"String[] strBuf = str.split(\" \");",
"strBuf",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"dataList.add(new int[2])",
"dataList.add",
"dataList",
"new int[2]",
"2",
"try {\n\t\t\t\t((int[]) dataList.get(j))[0] = Integer.parseInt(strBuf[0]);\n\t\t\t\t((int[]) dataList.get(j))[1] = Integer.parseInt(strBuf[1]);\n\t\t\t} catch (NumberFormatException nfex) {\n\t\t\t\tbreak;\n\t\t\t}",
"catch (NumberFormatException nfex) {\n\t\t\t\tbreak;\n\t\t\t}",
"NumberFormatException nfex",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\t((int[]) dataList.get(j))[0] = Integer.parseInt(strBuf[0]);\n\t\t\t\t((int[]) dataList.get(j))[1] = Integer.parseInt(strBuf[1]);\n\t\t\t}",
"((int[]) dataList.get(j))[0] = Integer.parseInt(strBuf[0])",
"((int[]) dataList.get(j))[0]",
"((int[]) dataList.get(j))",
"dataList.get",
"dataList",
"j",
"0",
"Integer.parseInt(strBuf[0])",
"Integer.parseInt",
"Integer",
"strBuf[0]",
"strBuf",
"0",
"((int[]) dataList.get(j))[1] = Integer.parseInt(strBuf[1])",
"((int[]) dataList.get(j))[1]",
"((int[]) dataList.get(j))",
"dataList.get",
"dataList",
"j",
"1",
"Integer.parseInt(strBuf[1])",
"Integer.parseInt",
"Integer",
"strBuf[1]",
"strBuf",
"1",
"j++",
"j",
"str = null",
"str",
"null",
"for (int i = 0; i < dataList.size(); i++) {\n\t\t\tint sum = ((int[]) dataList.get(i))[0]\n\t\t\t\t\t+ ((int[]) dataList.get(i))[1];\n\t\t\tSystem.out.println((int) (Math.log10(sum) + 1));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < dataList.size()",
"i",
"dataList.size()",
"dataList.size",
"dataList",
"i++",
"i++",
"i",
"{\n\t\t\tint sum = ((int[]) dataList.get(i))[0]\n\t\t\t\t\t+ ((int[]) dataList.get(i))[1];\n\t\t\tSystem.out.println((int) (Math.log10(sum) + 1));\n\t\t}",
"{\n\t\t\tint sum = ((int[]) dataList.get(i))[0]\n\t\t\t\t\t+ ((int[]) dataList.get(i))[1];\n\t\t\tSystem.out.println((int) (Math.log10(sum) + 1));\n\t\t}",
"int sum = ((int[]) dataList.get(i))[0]\n\t\t\t\t\t+ ((int[]) dataList.get(i))[1];",
"sum",
"((int[]) dataList.get(i))[0]\n\t\t\t\t\t+ ((int[]) dataList.get(i))[1]",
"((int[]) dataList.get(i))[0]",
"((int[]) dataList.get(i))",
"dataList.get",
"dataList",
"i",
"0",
"((int[]) dataList.get(i))[1]",
"((int[]) dataList.get(i))",
"dataList.get",
"dataList",
"i",
"1",
"System.out.println((int) (Math.log10(sum) + 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"(int) (Math.log10(sum) + 1)",
"Math.log10(sum)",
"Math.log10",
"Math",
"sum",
"1",
"br.close()",
"br.close",
"br",
"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));\n\t\tArrayList<int[]> dataList = new ArrayList<int[]>();\n\t\tString str;\n\t\tint j=0;\n\t\twhile ((str = br.readLine()) != null) {\n\t\t\tif(str.length()==0)break;\n\t\t\tString[] strBuf = str.split(\" \");\n\t\t\tdataList.add(new int[2]);\n\t\t\ttry {\n\t\t\t\t((int[]) dataList.get(j))[0] = Integer.parseInt(strBuf[0]);\n\t\t\t\t((int[]) dataList.get(j))[1] = Integer.parseInt(strBuf[1]);\n\t\t\t} catch (NumberFormatException nfex) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tj++;\n\t\t\tstr = null;\n\t\t}\n\n\t\tfor (int i = 0; i < dataList.size(); i++) {\n\t\t\tint sum = ((int[]) dataList.get(i))[0]\n\t\t\t\t\t+ ((int[]) dataList.get(i))[1];\n\t\t\tSystem.out.println((int) (Math.log10(sum) + 1));\n\t\t}\n\t\tbr.close();\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<int[]> dataList = new ArrayList<int[]>();\n\t\tString str;\n\t\tint j=0;\n\t\twhile ((str = br.readLine()) != null) {\n\t\t\tif(str.length()==0)break;\n\t\t\tString[] strBuf = str.split(\" \");\n\t\t\tdataList.add(new int[2]);\n\t\t\ttry {\n\t\t\t\t((int[]) dataList.get(j))[0] = Integer.parseInt(strBuf[0]);\n\t\t\t\t((int[]) dataList.get(j))[1] = Integer.parseInt(strBuf[1]);\n\t\t\t} catch (NumberFormatException nfex) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tj++;\n\t\t\tstr = null;\n\t\t}\n\n\t\tfor (int i = 0; i < dataList.size(); i++) {\n\t\t\tint sum = ((int[]) dataList.get(i))[0]\n\t\t\t\t\t+ ((int[]) dataList.get(i))[1];\n\t\t\tSystem.out.println((int) (Math.log10(sum) + 1));\n\t\t}\n\t\tbr.close();\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main {
public static void main(String[] a) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
ArrayList<int[]> dataList = new ArrayList<int[]>();
String str;
int j=0;
while ((str = br.readLine()) != null) {
if(str.length()==0)break;
String[] strBuf = str.split(" ");
dataList.add(new int[2]);
try {
((int[]) dataList.get(j))[0] = Integer.parseInt(strBuf[0]);
((int[]) dataList.get(j))[1] = Integer.parseInt(strBuf[1]);
} catch (NumberFormatException nfex) {
break;
}
j++;
str = null;
}
for (int i = 0; i < dataList.size(); i++) {
int sum = ((int[]) dataList.get(i))[0]
+ ((int[]) dataList.get(i))[1];
System.out.println((int) (Math.log10(sum) + 1));
}
br.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,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
75,
11
],
[
75,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
28,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
28,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
28,
53
],
[
53,
54
],
[
53,
55
],
[
28,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
28,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
12,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\n\npublic class Main\n{\n\tpublic static void main(String[] args) throws Exception\n\t{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\twhile ((line = in.readLine()) != null)\n\t\t{\n\t\t\tStringTokenizer st = new StringTokenizer(line);\n\t\t\tint a = Integer.parseInt(st.nextToken()), b = Integer.parseInt(st.nextToken());\n\t\t\tint c = a+b;\n\t\t\tint cnt = 0;\n\t\t\twhile (c > 0)\n\t\t\t{\n\t\t\t\tcnt++;\n\t\t\t\tc/=10;\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main\n{\n\tpublic static void main(String[] args) throws Exception\n\t{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\twhile ((line = in.readLine()) != null)\n\t\t{\n\t\t\tStringTokenizer st = new StringTokenizer(line);\n\t\t\tint a = Integer.parseInt(st.nextToken()), b = Integer.parseInt(st.nextToken());\n\t\t\tint c = a+b;\n\t\t\tint cnt = 0;\n\t\t\twhile (c > 0)\n\t\t\t{\n\t\t\t\tcnt++;\n\t\t\t\tc/=10;\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception\n\t{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\twhile ((line = in.readLine()) != null)\n\t\t{\n\t\t\tStringTokenizer st = new StringTokenizer(line);\n\t\t\tint a = Integer.parseInt(st.nextToken()), b = Integer.parseInt(st.nextToken());\n\t\t\tint c = a+b;\n\t\t\tint cnt = 0;\n\t\t\twhile (c > 0)\n\t\t\t{\n\t\t\t\tcnt++;\n\t\t\t\tc/=10;\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\twhile ((line = in.readLine()) != null)\n\t\t{\n\t\t\tStringTokenizer st = new StringTokenizer(line);\n\t\t\tint a = Integer.parseInt(st.nextToken()), b = Integer.parseInt(st.nextToken());\n\t\t\tint c = a+b;\n\t\t\tint cnt = 0;\n\t\t\twhile (c > 0)\n\t\t\t{\n\t\t\t\tcnt++;\n\t\t\t\tc/=10;\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}\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\t\t{\n\t\t\tStringTokenizer st = new StringTokenizer(line);\n\t\t\tint a = Integer.parseInt(st.nextToken()), b = Integer.parseInt(st.nextToken());\n\t\t\tint c = a+b;\n\t\t\tint cnt = 0;\n\t\t\twhile (c > 0)\n\t\t\t{\n\t\t\t\tcnt++;\n\t\t\t\tc/=10;\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}",
"(line = in.readLine()) != null",
"(line = in.readLine())",
"line",
"in.readLine()",
"in.readLine",
"in",
"null",
"{\n\t\t\tStringTokenizer st = new StringTokenizer(line);\n\t\t\tint a = Integer.parseInt(st.nextToken()), b = Integer.parseInt(st.nextToken());\n\t\t\tint c = a+b;\n\t\t\tint cnt = 0;\n\t\t\twhile (c > 0)\n\t\t\t{\n\t\t\t\tcnt++;\n\t\t\t\tc/=10;\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}",
"StringTokenizer st = new StringTokenizer(line);",
"st",
"new StringTokenizer(line)",
"int a = Integer.parseInt(st.nextToken())",
"a",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"b = Integer.parseInt(st.nextToken());",
"b",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int c = a+b;",
"c",
"a+b",
"a",
"b",
"int cnt = 0;",
"cnt",
"0",
"while (c > 0)\n\t\t\t{\n\t\t\t\tcnt++;\n\t\t\t\tc/=10;\n\t\t\t}",
"c > 0",
"c",
"0",
"{\n\t\t\t\tcnt++;\n\t\t\t\tc/=10;\n\t\t\t}",
"cnt++",
"cnt",
"c/=10",
"c",
"10",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args) throws Exception\n\t{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\twhile ((line = in.readLine()) != null)\n\t\t{\n\t\t\tStringTokenizer st = new StringTokenizer(line);\n\t\t\tint a = Integer.parseInt(st.nextToken()), b = Integer.parseInt(st.nextToken());\n\t\t\tint c = a+b;\n\t\t\tint cnt = 0;\n\t\t\twhile (c > 0)\n\t\t\t{\n\t\t\t\tcnt++;\n\t\t\t\tc/=10;\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args) throws Exception\n\t{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\twhile ((line = in.readLine()) != null)\n\t\t{\n\t\t\tStringTokenizer st = new StringTokenizer(line);\n\t\t\tint a = Integer.parseInt(st.nextToken()), b = Integer.parseInt(st.nextToken());\n\t\t\tint c = a+b;\n\t\t\tint cnt = 0;\n\t\t\twhile (c > 0)\n\t\t\t{\n\t\t\t\tcnt++;\n\t\t\t\tc/=10;\n\t\t\t}\n\t\t\tSystem.out.println(cnt);\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main
{
public static void main(String[] args) throws Exception
{
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String line;
while ((line = in.readLine()) != null)
{
StringTokenizer st = new StringTokenizer(line);
int a = Integer.parseInt(st.nextToken()), b = Integer.parseInt(st.nextToken());
int c = a+b;
int cnt = 0;
while (c > 0)
{
cnt++;
c/=10;
}
System.out.println(cnt);
}
}
} |
[
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,
14,
4,
18,
13,
30,
0,
13,
4,
18,
13,
30,
3,
0,
13,
2,
13,
13,
42,
2,
13,
17,
30,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
0,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
31,
41
],
[
41,
42
],
[
25,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
25,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
25,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
25,
64
],
[
64,
65
],
[
64,
66
],
[
6,
67
],
[
67,
68
]
] | [
"import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint a, b, sum;\n\t\tint digit = 1;\n\t\twhile(in.hasNextInt()){\n\t\t\ta = in.nextInt();\n\t\t\tif(in.hasNextInt()){\n\t\t\t\tb = in.nextInt();\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsum = a+b;\n\t\t\twhile(sum>=10){\n\t\t\t\tsum /= 10;\n\t\t\t\tdigit++;\n\t\t\t}\n\t\t\tSystem.out.println(digit);\n\t\t\tdigit = 1;\n\t\t}\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint a, b, sum;\n\t\tint digit = 1;\n\t\twhile(in.hasNextInt()){\n\t\t\ta = in.nextInt();\n\t\t\tif(in.hasNextInt()){\n\t\t\t\tb = in.nextInt();\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsum = a+b;\n\t\t\twhile(sum>=10){\n\t\t\t\tsum /= 10;\n\t\t\t\tdigit++;\n\t\t\t}\n\t\t\tSystem.out.println(digit);\n\t\t\tdigit = 1;\n\t\t}\n }\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint a, b, sum;\n\t\tint digit = 1;\n\t\twhile(in.hasNextInt()){\n\t\t\ta = in.nextInt();\n\t\t\tif(in.hasNextInt()){\n\t\t\t\tb = in.nextInt();\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsum = a+b;\n\t\t\twhile(sum>=10){\n\t\t\t\tsum /= 10;\n\t\t\t\tdigit++;\n\t\t\t}\n\t\t\tSystem.out.println(digit);\n\t\t\tdigit = 1;\n\t\t}\n }",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tint a, b, sum;\n\t\tint digit = 1;\n\t\twhile(in.hasNextInt()){\n\t\t\ta = in.nextInt();\n\t\t\tif(in.hasNextInt()){\n\t\t\t\tb = in.nextInt();\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsum = a+b;\n\t\t\twhile(sum>=10){\n\t\t\t\tsum /= 10;\n\t\t\t\tdigit++;\n\t\t\t}\n\t\t\tSystem.out.println(digit);\n\t\t\tdigit = 1;\n\t\t}\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int a",
"a",
"b",
"b",
"sum;",
"sum",
"int digit = 1;",
"digit",
"1",
"while(in.hasNextInt()){\n\t\t\ta = in.nextInt();\n\t\t\tif(in.hasNextInt()){\n\t\t\t\tb = in.nextInt();\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsum = a+b;\n\t\t\twhile(sum>=10){\n\t\t\t\tsum /= 10;\n\t\t\t\tdigit++;\n\t\t\t}\n\t\t\tSystem.out.println(digit);\n\t\t\tdigit = 1;\n\t\t}",
"in.hasNextInt()",
"in.hasNextInt",
"in",
"{\n\t\t\ta = in.nextInt();\n\t\t\tif(in.hasNextInt()){\n\t\t\t\tb = in.nextInt();\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsum = a+b;\n\t\t\twhile(sum>=10){\n\t\t\t\tsum /= 10;\n\t\t\t\tdigit++;\n\t\t\t}\n\t\t\tSystem.out.println(digit);\n\t\t\tdigit = 1;\n\t\t}",
"a = in.nextInt()",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"if(in.hasNextInt()){\n\t\t\t\tb = in.nextInt();\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}",
"in.hasNextInt()",
"in.hasNextInt",
"in",
"{\n\t\t\t\tb = in.nextInt();\n\t\t\t}",
"b = in.nextInt()",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"sum = a+b",
"sum",
"a+b",
"a",
"b",
"while(sum>=10){\n\t\t\t\tsum /= 10;\n\t\t\t\tdigit++;\n\t\t\t}",
"sum>=10",
"sum",
"10",
"{\n\t\t\t\tsum /= 10;\n\t\t\t\tdigit++;\n\t\t\t}",
"sum /= 10",
"sum",
"10",
"digit++",
"digit",
"System.out.println(digit)",
"System.out.println",
"System.out",
"System",
"System.out",
"digit",
"digit = 1",
"digit",
"1",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner in = new Scanner(System.in);
int a, b, sum;
int digit = 1;
while(in.hasNextInt()){
a = in.nextInt();
if(in.hasNextInt()){
b = in.nextInt();
}else{
break;
}
sum = a+b;
while(sum>=10){
sum /= 10;
digit++;
}
System.out.println(digit);
digit = 1;
}
}
} |
[
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,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
0,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
80,
11
],
[
80,
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
],
[
28,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
28,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
28,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
28,
59
],
[
59,
60
],
[
59,
61
],
[
28,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
62,
68
],
[
68,
69
],
[
69,
70
],
[
28,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\t\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tString[] numbers = line.split(\" \");\n\t\t\tint sum = 0;\n int a = Integer.parseInt(numbers[0]);\n int b = Integer.parseInt(numbers[1]);\n sum = a + b;\n \n int ans = 1;\n while((sum /= 10) > 0){\n \tans++;\n }\n System.out.println(ans);\n }\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main{\n\n\tpublic static void main (String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\t\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tString[] numbers = line.split(\" \");\n\t\t\tint sum = 0;\n int a = Integer.parseInt(numbers[0]);\n int b = Integer.parseInt(numbers[1]);\n sum = a + b;\n \n int ans = 1;\n while((sum /= 10) > 0){\n \tans++;\n }\n System.out.println(ans);\n }\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 line;\n\t\t\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tString[] numbers = line.split(\" \");\n\t\t\tint sum = 0;\n int a = Integer.parseInt(numbers[0]);\n int b = Integer.parseInt(numbers[1]);\n sum = a + b;\n \n int ans = 1;\n while((sum /= 10) > 0){\n \tans++;\n }\n System.out.println(ans);\n }\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\t\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tString[] numbers = line.split(\" \");\n\t\t\tint sum = 0;\n int a = Integer.parseInt(numbers[0]);\n int b = Integer.parseInt(numbers[1]);\n sum = a + b;\n \n int ans = 1;\n while((sum /= 10) > 0){\n \tans++;\n }\n System.out.println(ans);\n }\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[] numbers = line.split(\" \");\n\t\t\tint sum = 0;\n int a = Integer.parseInt(numbers[0]);\n int b = Integer.parseInt(numbers[1]);\n sum = a + b;\n \n int ans = 1;\n while((sum /= 10) > 0){\n \tans++;\n }\n System.out.println(ans);\n }",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tString[] numbers = line.split(\" \");\n\t\t\tint sum = 0;\n int a = Integer.parseInt(numbers[0]);\n int b = Integer.parseInt(numbers[1]);\n sum = a + b;\n \n int ans = 1;\n while((sum /= 10) > 0){\n \tans++;\n }\n System.out.println(ans);\n }",
"String[] numbers = line.split(\" \");",
"numbers",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int sum = 0;",
"sum",
"0",
"int a = Integer.parseInt(numbers[0]);",
"a",
"Integer.parseInt(numbers[0])",
"Integer.parseInt",
"Integer",
"numbers[0]",
"numbers",
"0",
"int b = Integer.parseInt(numbers[1]);",
"b",
"Integer.parseInt(numbers[1])",
"Integer.parseInt",
"Integer",
"numbers[1]",
"numbers",
"1",
"sum = a + b",
"sum",
"a + b",
"a",
"b",
"int ans = 1;",
"ans",
"1",
"while((sum /= 10) > 0){\n \tans++;\n }",
"(sum /= 10) > 0",
"(sum /= 10)",
"sum",
"10",
"0",
"{\n \tans++;\n }",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main (String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\t\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tString[] numbers = line.split(\" \");\n\t\t\tint sum = 0;\n int a = Integer.parseInt(numbers[0]);\n int b = Integer.parseInt(numbers[1]);\n sum = a + b;\n \n int ans = 1;\n while((sum /= 10) > 0){\n \tans++;\n }\n System.out.println(ans);\n }\n\t}\n}",
"public class Main{\n\n\tpublic static void main (String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\t\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tString[] numbers = line.split(\" \");\n\t\t\tint sum = 0;\n int a = Integer.parseInt(numbers[0]);\n int b = Integer.parseInt(numbers[1]);\n sum = a + b;\n \n int ans = 1;\n while((sum /= 10) > 0){\n \tans++;\n }\n System.out.println(ans);\n }\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
public static void main (String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line;
while ((line = br.readLine()) != null) {
String[] numbers = line.split(" ");
int sum = 0;
int a = Integer.parseInt(numbers[0]);
int b = Integer.parseInt(numbers[1]);
sum = a + b;
int ans = 1;
while((sum /= 10) > 0){
ans++;
}
System.out.println(ans);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
38,
5,
13,
30,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
78,
11
],
[
78,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
14,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
40,
45
],
[
37,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
37,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
37,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
72,
74
],
[
12,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] top3 = new int[3];\n String line;\n try {\n while((line = br.readLine()) != null){\n String[] numbers = line.trim().split(\" \");\n int a = Integer.parseInt(numbers[0]);\n int b = Integer.parseInt(numbers[1]);\n System.out.println(Integer.toString(a+b).length());\n }\n } catch (IOException e) {\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] top3 = new int[3];\n String line;\n try {\n while((line = br.readLine()) != null){\n String[] numbers = line.trim().split(\" \");\n int a = Integer.parseInt(numbers[0]);\n int b = Integer.parseInt(numbers[1]);\n System.out.println(Integer.toString(a+b).length());\n }\n } catch (IOException e) {\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] top3 = new int[3];\n String line;\n try {\n while((line = br.readLine()) != null){\n String[] numbers = line.trim().split(\" \");\n int a = Integer.parseInt(numbers[0]);\n int b = Integer.parseInt(numbers[1]);\n System.out.println(Integer.toString(a+b).length());\n }\n } catch (IOException e) {\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] top3 = new int[3];\n String line;\n try {\n while((line = br.readLine()) != null){\n String[] numbers = line.trim().split(\" \");\n int a = Integer.parseInt(numbers[0]);\n int b = Integer.parseInt(numbers[1]);\n System.out.println(Integer.toString(a+b).length());\n }\n } catch (IOException e) {\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] top3 = new int[3];",
"top3",
"new int[3]",
"3",
"String line;",
"line",
"try {\n while((line = br.readLine()) != null){\n String[] numbers = line.trim().split(\" \");\n int a = Integer.parseInt(numbers[0]);\n int b = Integer.parseInt(numbers[1]);\n System.out.println(Integer.toString(a+b).length());\n }\n } catch (IOException e) {\n }",
"catch (IOException e) {\n }",
"IOException e",
"{\n }",
"{\n while((line = br.readLine()) != null){\n String[] numbers = line.trim().split(\" \");\n int a = Integer.parseInt(numbers[0]);\n int b = Integer.parseInt(numbers[1]);\n System.out.println(Integer.toString(a+b).length());\n }\n }",
"while((line = br.readLine()) != null){\n String[] numbers = line.trim().split(\" \");\n int a = Integer.parseInt(numbers[0]);\n int b = Integer.parseInt(numbers[1]);\n System.out.println(Integer.toString(a+b).length());\n }",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n String[] numbers = line.trim().split(\" \");\n int a = Integer.parseInt(numbers[0]);\n int b = Integer.parseInt(numbers[1]);\n System.out.println(Integer.toString(a+b).length());\n }",
"String[] numbers = line.trim().split(\" \");",
"numbers",
"line.trim().split(\" \")",
"line.trim().split",
"line.trim()",
"line.trim",
"line",
"\" \"",
"int a = Integer.parseInt(numbers[0]);",
"a",
"Integer.parseInt(numbers[0])",
"Integer.parseInt",
"Integer",
"numbers[0]",
"numbers",
"0",
"int b = Integer.parseInt(numbers[1]);",
"b",
"Integer.parseInt(numbers[1])",
"Integer.parseInt",
"Integer",
"numbers[1]",
"numbers",
"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",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] top3 = new int[3];\n String line;\n try {\n while((line = br.readLine()) != null){\n String[] numbers = line.trim().split(\" \");\n int a = Integer.parseInt(numbers[0]);\n int b = Integer.parseInt(numbers[1]);\n System.out.println(Integer.toString(a+b).length());\n }\n } catch (IOException e) {\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] top3 = new int[3];\n String line;\n try {\n while((line = br.readLine()) != null){\n String[] numbers = line.trim().split(\" \");\n int a = Integer.parseInt(numbers[0]);\n int b = Integer.parseInt(numbers[1]);\n System.out.println(Integer.toString(a+b).length());\n }\n } catch (IOException e) {\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int[] top3 = new int[3];
String line;
try {
while((line = br.readLine()) != null){
String[] numbers = line.trim().split(" ");
int a = Integer.parseInt(numbers[0]);
int b = Integer.parseInt(numbers[1]);
System.out.println(Integer.toString(a+b).length());
}
} catch (IOException e) {
}
}
} |
[
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,
17,
41,
13,
4,
13,
18,
13,
17,
41,
13,
4,
13,
18,
13,
17,
14,
2,
2,
2,
2,
17,
13,
2,
13,
17,
2,
17,
13,
2,
13,
17,
30,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
83,
8
],
[
83,
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
],
[
28,
32
],
[
25,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
25,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
25,
47
],
[
47,
48
],
[
50,
49
],
[
57,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
57,
57
],
[
57,
58
],
[
57,
59
],
[
50,
60
],
[
60,
61
],
[
60,
62
],
[
47,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
63,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
9,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.io.*;\nimport static java.lang.Integer.parseInt;\n\npublic class Main {\n \n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String str;\n while((str = br.readLine())!=null){\n String[] num = str.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0<=x&&x<=1000000&&0<=y&&y<=1000000){\n int z = x+y;\n System.out.println(Integer.toString(z).length());\n }\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import static java.lang.Integer.parseInt;",
"import static java.lang.Integer.parseInt;",
"import static java.lang.Integer.parseInt;",
"public class Main {\n \n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String str;\n while((str = br.readLine())!=null){\n String[] num = str.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0<=x&&x<=1000000&&0<=y&&y<=1000000){\n int z = x+y;\n System.out.println(Integer.toString(z).length());\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 str;\n while((str = br.readLine())!=null){\n String[] num = str.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0<=x&&x<=1000000&&0<=y&&y<=1000000){\n int z = x+y;\n System.out.println(Integer.toString(z).length());\n }\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String str;\n while((str = br.readLine())!=null){\n String[] num = str.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0<=x&&x<=1000000&&0<=y&&y<=1000000){\n int z = x+y;\n System.out.println(Integer.toString(z).length());\n }\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"while((str = br.readLine())!=null){\n String[] num = str.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0<=x&&x<=1000000&&0<=y&&y<=1000000){\n int z = x+y;\n System.out.println(Integer.toString(z).length());\n }\n }",
"(str = br.readLine())!=null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n String[] num = str.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0<=x&&x<=1000000&&0<=y&&y<=1000000){\n int z = x+y;\n System.out.println(Integer.toString(z).length());\n }\n }",
"String[] num = str.split(\" \",0);",
"num",
"str.split(\" \",0)",
"str.split",
"str",
"\" \"",
"0",
"int x = parseInt(num[0]);",
"x",
"parseInt(num[0])",
"parseInt",
"num[0]",
"num",
"0",
"int y = parseInt(num[1]);",
"y",
"parseInt(num[1])",
"parseInt",
"num[1]",
"num",
"1",
"if(0<=x&&x<=1000000&&0<=y&&y<=1000000){\n int z = x+y;\n System.out.println(Integer.toString(z).length());\n }",
"0<=x&&x<=1000000&&0<=y&&y<=1000000",
"0<=y",
"0<=x&&x<=1000000&&0<=y&&y<=1000000",
"0<=x",
"0",
"x",
"x<=1000000",
"x",
"1000000",
"0<=y",
"0",
"y",
"y<=1000000",
"y",
"1000000",
"{\n int z = x+y;\n System.out.println(Integer.toString(z).length());\n }",
"int z = x+y;",
"z",
"x+y",
"x",
"y",
"System.out.println(Integer.toString(z).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(z).length()",
"Integer.toString(z).length",
"Integer.toString(z)",
"Integer.toString",
"Integer",
"z",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String str;\n while((str = br.readLine())!=null){\n String[] num = str.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0<=x&&x<=1000000&&0<=y&&y<=1000000){\n int z = x+y;\n System.out.println(Integer.toString(z).length());\n }\n }\n }\n}",
"public class Main {\n \n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String str;\n while((str = br.readLine())!=null){\n String[] num = str.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0<=x&&x<=1000000&&0<=y&&y<=1000000){\n int z = x+y;\n System.out.println(Integer.toString(z).length());\n }\n }\n }\n}",
"Main"
] | import java.io.*;
import static java.lang.Integer.parseInt;
public 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 = parseInt(num[0]);
int y = parseInt(num[1]);
if(0<=x&&x<=1000000&&0<=y&&y<=1000000){
int z = x+y;
System.out.println(Integer.toString(z).length());
}
}
}
} |
[
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,
18,
4,
18,
13,
2,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
50,
5
],
[
50,
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
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint f_num,s_num;\n\t\twhile(sc.hasNextInt()){\n\t\t\tf_num = sc.nextInt();\n\t\t\ts_num =sc.nextInt();\n\t\t\tSystem.out.println(String.valueOf(f_num + s_num).length());\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\tint f_num,s_num;\n\t\twhile(sc.hasNextInt()){\n\t\t\tf_num = sc.nextInt();\n\t\t\ts_num =sc.nextInt();\n\t\t\tSystem.out.println(String.valueOf(f_num + s_num).length());\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\tint f_num,s_num;\n\t\twhile(sc.hasNextInt()){\n\t\t\tf_num = sc.nextInt();\n\t\t\ts_num =sc.nextInt();\n\t\t\tSystem.out.println(String.valueOf(f_num + s_num).length());\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint f_num,s_num;\n\t\twhile(sc.hasNextInt()){\n\t\t\tf_num = sc.nextInt();\n\t\t\ts_num =sc.nextInt();\n\t\t\tSystem.out.println(String.valueOf(f_num + s_num).length());\n\t\t}\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int f_num",
"f_num",
"s_num;",
"s_num",
"while(sc.hasNextInt()){\n\t\t\tf_num = sc.nextInt();\n\t\t\ts_num =sc.nextInt();\n\t\t\tSystem.out.println(String.valueOf(f_num + s_num).length());\n\t\t}",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n\t\t\tf_num = sc.nextInt();\n\t\t\ts_num =sc.nextInt();\n\t\t\tSystem.out.println(String.valueOf(f_num + s_num).length());\n\t\t}",
"f_num = sc.nextInt()",
"f_num",
"sc.nextInt()",
"sc.nextInt",
"sc",
"s_num =sc.nextInt()",
"s_num",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(String.valueOf(f_num + s_num).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(f_num + s_num).length()",
"String.valueOf(f_num + s_num).length",
"String.valueOf(f_num + s_num)",
"String.valueOf",
"String",
"f_num + s_num",
"f_num",
"s_num",
"sc.close()",
"sc.close",
"sc",
"String args[]",
"args",
"public class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint f_num,s_num;\n\t\twhile(sc.hasNextInt()){\n\t\t\tf_num = sc.nextInt();\n\t\t\ts_num =sc.nextInt();\n\t\t\tSystem.out.println(String.valueOf(f_num + s_num).length());\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\tint f_num,s_num;\n\t\twhile(sc.hasNextInt()){\n\t\t\tf_num = sc.nextInt();\n\t\t\ts_num =sc.nextInt();\n\t\t\tSystem.out.println(String.valueOf(f_num + s_num).length());\n\t\t}\n\t\tsc.close();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int f_num,s_num;
while(sc.hasNextInt()){
f_num = sc.nextInt();
s_num =sc.nextInt();
System.out.println(String.valueOf(f_num + s_num).length());
}
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
20,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
4,
18,
13,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
117,
11
],
[
117,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
117,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
27,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
38,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
20,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
50,
60
],
[
60,
61
],
[
61,
62
],
[
50,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
67,
73
],
[
64,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
79,
80
],
[
79,
81
],
[
64,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
87,
88
],
[
87,
89
],
[
64,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
64,
95
],
[
95,
96
],
[
95,
97
],
[
64,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
105,
107
],
[
102,
108
],
[
108,
109
],
[
64,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
0,
116
],
[
116,
117
],
[
116,
118
]
] | [
"import java.io.*;\nimport java.util.List;\nimport java.util.ArrayList;\n\npublic class Main{\n\tpublic static void main(String args[]){\n\t\tnew Main();\n\t}\n\n\tpublic Main(){\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tList<String> lines = new ArrayList<String>();\n\t\ttry{\n\t\t\tString line;\n\t\t\twhile((line = in.readLine()) != null){\n\t\t\t\tlines.add(line);\n\t\t\t}\n\t\t}catch(IOException err){\n\t\t\terr.printStackTrace();\n\t\t}\n\n\t\tfor(int i=0; i<lines.size(); i++){\n\t\t\tString[] nums = lines.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(nums[0]);\n\t\t\tint b = Integer.parseInt(nums[1]);\n\t\t\tint num = a + b;\n\n\t\t\tint digit = 0;\n\t\t\twhile(num != 0){\n\t\t\t\tnum = num / 10;\n\t\t\t\tdigit++;\n\t\t\t}\n\n\t\t\tSystem.out.println(digit);\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.List;",
"List",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main{\n\tpublic static void main(String args[]){\n\t\tnew Main();\n\t}\n\n\tpublic Main(){\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tList<String> lines = new ArrayList<String>();\n\t\ttry{\n\t\t\tString line;\n\t\t\twhile((line = in.readLine()) != null){\n\t\t\t\tlines.add(line);\n\t\t\t}\n\t\t}catch(IOException err){\n\t\t\terr.printStackTrace();\n\t\t}\n\n\t\tfor(int i=0; i<lines.size(); i++){\n\t\t\tString[] nums = lines.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(nums[0]);\n\t\t\tint b = Integer.parseInt(nums[1]);\n\t\t\tint num = a + b;\n\n\t\t\tint digit = 0;\n\t\t\twhile(num != 0){\n\t\t\t\tnum = num / 10;\n\t\t\t\tdigit++;\n\t\t\t}\n\n\t\t\tSystem.out.println(digit);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tnew Main();\n\t}",
"main",
"{\n\t\tnew Main();\n\t}",
"new Main()",
"String args[]",
"args",
"public Main(){\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tList<String> lines = new ArrayList<String>();\n\t\ttry{\n\t\t\tString line;\n\t\t\twhile((line = in.readLine()) != null){\n\t\t\t\tlines.add(line);\n\t\t\t}\n\t\t}catch(IOException err){\n\t\t\terr.printStackTrace();\n\t\t}\n\n\t\tfor(int i=0; i<lines.size(); i++){\n\t\t\tString[] nums = lines.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(nums[0]);\n\t\t\tint b = Integer.parseInt(nums[1]);\n\t\t\tint num = a + b;\n\n\t\t\tint digit = 0;\n\t\t\twhile(num != 0){\n\t\t\t\tnum = num / 10;\n\t\t\t\tdigit++;\n\t\t\t}\n\n\t\t\tSystem.out.println(digit);\n\t\t}\n\t}",
"Main",
"{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tList<String> lines = new ArrayList<String>();\n\t\ttry{\n\t\t\tString line;\n\t\t\twhile((line = in.readLine()) != null){\n\t\t\t\tlines.add(line);\n\t\t\t}\n\t\t}catch(IOException err){\n\t\t\terr.printStackTrace();\n\t\t}\n\n\t\tfor(int i=0; i<lines.size(); i++){\n\t\t\tString[] nums = lines.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(nums[0]);\n\t\t\tint b = Integer.parseInt(nums[1]);\n\t\t\tint num = a + b;\n\n\t\t\tint digit = 0;\n\t\t\twhile(num != 0){\n\t\t\t\tnum = num / 10;\n\t\t\t\tdigit++;\n\t\t\t}\n\n\t\t\tSystem.out.println(digit);\n\t\t}\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"List<String> lines = new ArrayList<String>();",
"lines",
"new ArrayList<String>()",
"try{\n\t\t\tString line;\n\t\t\twhile((line = in.readLine()) != null){\n\t\t\t\tlines.add(line);\n\t\t\t}\n\t\t}catch(IOException err){\n\t\t\terr.printStackTrace();\n\t\t}",
"catch(IOException err){\n\t\t\terr.printStackTrace();\n\t\t}",
"IOException err",
"{\n\t\t\terr.printStackTrace();\n\t\t}",
"err.printStackTrace()",
"err.printStackTrace",
"err",
"{\n\t\t\tString line;\n\t\t\twhile((line = in.readLine()) != null){\n\t\t\t\tlines.add(line);\n\t\t\t}\n\t\t}",
"String line;",
"line",
"while((line = in.readLine()) != null){\n\t\t\t\tlines.add(line);\n\t\t\t}",
"(line = in.readLine()) != null",
"(line = in.readLine())",
"line",
"in.readLine()",
"in.readLine",
"in",
"null",
"{\n\t\t\t\tlines.add(line);\n\t\t\t}",
"lines.add(line)",
"lines.add",
"lines",
"line",
"for(int i=0; i<lines.size(); i++){\n\t\t\tString[] nums = lines.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(nums[0]);\n\t\t\tint b = Integer.parseInt(nums[1]);\n\t\t\tint num = a + b;\n\n\t\t\tint digit = 0;\n\t\t\twhile(num != 0){\n\t\t\t\tnum = num / 10;\n\t\t\t\tdigit++;\n\t\t\t}\n\n\t\t\tSystem.out.println(digit);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<lines.size()",
"i",
"lines.size()",
"lines.size",
"lines",
"i++",
"i++",
"i",
"{\n\t\t\tString[] nums = lines.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(nums[0]);\n\t\t\tint b = Integer.parseInt(nums[1]);\n\t\t\tint num = a + b;\n\n\t\t\tint digit = 0;\n\t\t\twhile(num != 0){\n\t\t\t\tnum = num / 10;\n\t\t\t\tdigit++;\n\t\t\t}\n\n\t\t\tSystem.out.println(digit);\n\t\t}",
"{\n\t\t\tString[] nums = lines.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(nums[0]);\n\t\t\tint b = Integer.parseInt(nums[1]);\n\t\t\tint num = a + b;\n\n\t\t\tint digit = 0;\n\t\t\twhile(num != 0){\n\t\t\t\tnum = num / 10;\n\t\t\t\tdigit++;\n\t\t\t}\n\n\t\t\tSystem.out.println(digit);\n\t\t}",
"String[] nums = lines.get(i).split(\" \");",
"nums",
"lines.get(i).split(\" \")",
"lines.get(i).split",
"lines.get(i)",
"lines.get",
"lines",
"i",
"\" \"",
"int a = Integer.parseInt(nums[0]);",
"a",
"Integer.parseInt(nums[0])",
"Integer.parseInt",
"Integer",
"nums[0]",
"nums",
"0",
"int b = Integer.parseInt(nums[1]);",
"b",
"Integer.parseInt(nums[1])",
"Integer.parseInt",
"Integer",
"nums[1]",
"nums",
"1",
"int num = a + b;",
"num",
"a + b",
"a",
"b",
"int digit = 0;",
"digit",
"0",
"while(num != 0){\n\t\t\t\tnum = num / 10;\n\t\t\t\tdigit++;\n\t\t\t}",
"num != 0",
"num",
"0",
"{\n\t\t\t\tnum = num / 10;\n\t\t\t\tdigit++;\n\t\t\t}",
"num = num / 10",
"num",
"num / 10",
"num",
"10",
"digit++",
"digit",
"System.out.println(digit)",
"System.out.println",
"System.out",
"System",
"System.out",
"digit",
"public class Main{\n\tpublic static void main(String args[]){\n\t\tnew Main();\n\t}\n\n\tpublic Main(){\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tList<String> lines = new ArrayList<String>();\n\t\ttry{\n\t\t\tString line;\n\t\t\twhile((line = in.readLine()) != null){\n\t\t\t\tlines.add(line);\n\t\t\t}\n\t\t}catch(IOException err){\n\t\t\terr.printStackTrace();\n\t\t}\n\n\t\tfor(int i=0; i<lines.size(); i++){\n\t\t\tString[] nums = lines.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(nums[0]);\n\t\t\tint b = Integer.parseInt(nums[1]);\n\t\t\tint num = a + b;\n\n\t\t\tint digit = 0;\n\t\t\twhile(num != 0){\n\t\t\t\tnum = num / 10;\n\t\t\t\tdigit++;\n\t\t\t}\n\n\t\t\tSystem.out.println(digit);\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String args[]){\n\t\tnew Main();\n\t}\n\n\tpublic Main(){\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tList<String> lines = new ArrayList<String>();\n\t\ttry{\n\t\t\tString line;\n\t\t\twhile((line = in.readLine()) != null){\n\t\t\t\tlines.add(line);\n\t\t\t}\n\t\t}catch(IOException err){\n\t\t\terr.printStackTrace();\n\t\t}\n\n\t\tfor(int i=0; i<lines.size(); i++){\n\t\t\tString[] nums = lines.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(nums[0]);\n\t\t\tint b = Integer.parseInt(nums[1]);\n\t\t\tint num = a + b;\n\n\t\t\tint digit = 0;\n\t\t\twhile(num != 0){\n\t\t\t\tnum = num / 10;\n\t\t\t\tdigit++;\n\t\t\t}\n\n\t\t\tSystem.out.println(digit);\n\t\t}\n\t}\n}",
"Main"
] | import java.io.*;
import java.util.List;
import java.util.ArrayList;
public class Main{
public static void main(String args[]){
new Main();
}
public Main(){
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
List<String> lines = new ArrayList<String>();
try{
String line;
while((line = in.readLine()) != null){
lines.add(line);
}
}catch(IOException err){
err.printStackTrace();
}
for(int i=0; i<lines.size(); i++){
String[] nums = lines.get(i).split(" ");
int a = Integer.parseInt(nums[0]);
int b = Integer.parseInt(nums[1]);
int num = a + b;
int digit = 0;
while(num != 0){
num = num / 10;
digit++;
}
System.out.println(digit);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
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
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
22,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
45,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
56,
57
],
[
39,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
63,
68
],
[
39,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
12,
74
],
[
74,
75
]
] | [
"import java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\nclass Main\n{\n\tpublic static void main(String[] args){\n\t\tjava.io.BufferedReader br = new java.io.BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\tStringTokenizer st;\n\n\t\ttry{\n\t\t\tline = br.readLine();\n\t\t\twhile(line != null){\n\t\t\t\tst = new StringTokenizer(line);\n\t\t\t\tint s = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n\t\t\t\tSystem.out.println((int)Math.log10(s) + 1);\n\t\t\t\tline = br.readLine();\n\t\t\t}\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"class Main\n{\n\tpublic static void main(String[] args){\n\t\tjava.io.BufferedReader br = new java.io.BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\tStringTokenizer st;\n\n\t\ttry{\n\t\t\tline = br.readLine();\n\t\t\twhile(line != null){\n\t\t\t\tst = new StringTokenizer(line);\n\t\t\t\tint s = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n\t\t\t\tSystem.out.println((int)Math.log10(s) + 1);\n\t\t\t\tline = br.readLine();\n\t\t\t}\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tjava.io.BufferedReader br = new java.io.BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\tStringTokenizer st;\n\n\t\ttry{\n\t\t\tline = br.readLine();\n\t\t\twhile(line != null){\n\t\t\t\tst = new StringTokenizer(line);\n\t\t\t\tint s = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n\t\t\t\tSystem.out.println((int)Math.log10(s) + 1);\n\t\t\t\tline = br.readLine();\n\t\t\t}\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tjava.io.BufferedReader br = new java.io.BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\tStringTokenizer st;\n\n\t\ttry{\n\t\t\tline = br.readLine();\n\t\t\twhile(line != null){\n\t\t\t\tst = new StringTokenizer(line);\n\t\t\t\tint s = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n\t\t\t\tSystem.out.println((int)Math.log10(s) + 1);\n\t\t\t\tline = br.readLine();\n\t\t\t}\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"java.io.BufferedReader br = new java.io.BufferedReader(new InputStreamReader(System.in));",
"br",
"new java.io.BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"StringTokenizer st;",
"st",
"try{\n\t\t\tline = br.readLine();\n\t\t\twhile(line != null){\n\t\t\t\tst = new StringTokenizer(line);\n\t\t\t\tint s = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n\t\t\t\tSystem.out.println((int)Math.log10(s) + 1);\n\t\t\t\tline = br.readLine();\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\tline = br.readLine();\n\t\t\twhile(line != null){\n\t\t\t\tst = new StringTokenizer(line);\n\t\t\t\tint s = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n\t\t\t\tSystem.out.println((int)Math.log10(s) + 1);\n\t\t\t\tline = br.readLine();\n\t\t\t}\n\t\t}",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"while(line != null){\n\t\t\t\tst = new StringTokenizer(line);\n\t\t\t\tint s = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n\t\t\t\tSystem.out.println((int)Math.log10(s) + 1);\n\t\t\t\tline = br.readLine();\n\t\t\t}",
"line != null",
"line",
"null",
"{\n\t\t\t\tst = new StringTokenizer(line);\n\t\t\t\tint s = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());\n\t\t\t\tSystem.out.println((int)Math.log10(s) + 1);\n\t\t\t\tline = br.readLine();\n\t\t\t}",
"st = new StringTokenizer(line)",
"st",
"new StringTokenizer(line)",
"int s = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());",
"s",
"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(s) + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)Math.log10(s) + 1",
"(int)Math.log10(s)",
"Math.log10",
"Math",
"s",
"1",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"String[] args",
"args"
] | import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
class Main
{
public static void main(String[] args){
java.io.BufferedReader br = new java.io.BufferedReader(new InputStreamReader(System.in));
String line;
StringTokenizer st;
try{
line = br.readLine();
while(line != null){
st = new StringTokenizer(line);
int s = Integer.parseInt(st.nextToken()) + Integer.parseInt(st.nextToken());
System.out.println((int)Math.log10(s) + 1);
line = br.readLine();
}
}catch(IOException e){
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
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,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
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
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
29,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
29,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
29,
57
],
[
57,
58
],
[
57,
59
],
[
29,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
67,
69
],
[
29,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
12,
76
],
[
76,
77
]
] | [
"import java.util.*;\nimport java.io.*;\nimport java.math.*;\n \n\nclass Main\n{\n\tpublic static void main(String args[])throws IOException\n\t{\n\t\tBufferedReader d=new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString line=\"\";\n\t\twhile((line=d.readLine())!=null)\n\t\t{\n\t\t\tString[] str = line.split(\" \");\n\t\t\tint a=Integer.parseInt(str[0]);\n\t\t\tint b=Integer.parseInt(str[1]);\n\t\t\tint sum=a+b;\n\t\t\tint count=1;\n\n\t\t\twhile(sum>=10)\n\t\t\t{\n\t\t\t\tcount++;\n\t\t\t\tsum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"class Main\n{\n\tpublic static void main(String args[])throws IOException\n\t{\n\t\tBufferedReader d=new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString line=\"\";\n\t\twhile((line=d.readLine())!=null)\n\t\t{\n\t\t\tString[] str = line.split(\" \");\n\t\t\tint a=Integer.parseInt(str[0]);\n\t\t\tint b=Integer.parseInt(str[1]);\n\t\t\tint sum=a+b;\n\t\t\tint count=1;\n\n\t\t\twhile(sum>=10)\n\t\t\t{\n\t\t\t\tcount++;\n\t\t\t\tsum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[])throws IOException\n\t{\n\t\tBufferedReader d=new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString line=\"\";\n\t\twhile((line=d.readLine())!=null)\n\t\t{\n\t\t\tString[] str = line.split(\" \");\n\t\t\tint a=Integer.parseInt(str[0]);\n\t\t\tint b=Integer.parseInt(str[1]);\n\t\t\tint sum=a+b;\n\t\t\tint count=1;\n\n\t\t\twhile(sum>=10)\n\t\t\t{\n\t\t\t\tcount++;\n\t\t\t\tsum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader d=new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString line=\"\";\n\t\twhile((line=d.readLine())!=null)\n\t\t{\n\t\t\tString[] str = line.split(\" \");\n\t\t\tint a=Integer.parseInt(str[0]);\n\t\t\tint b=Integer.parseInt(str[1]);\n\t\t\tint sum=a+b;\n\t\t\tint count=1;\n\n\t\t\twhile(sum>=10)\n\t\t\t{\n\t\t\t\tcount++;\n\t\t\t\tsum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}",
"BufferedReader d=new BufferedReader(new InputStreamReader(System.in));",
"d",
"new BufferedReader(new InputStreamReader(System.in))",
"String line=\"\";",
"line",
"\"\"",
"while((line=d.readLine())!=null)\n\t\t{\n\t\t\tString[] str = line.split(\" \");\n\t\t\tint a=Integer.parseInt(str[0]);\n\t\t\tint b=Integer.parseInt(str[1]);\n\t\t\tint sum=a+b;\n\t\t\tint count=1;\n\n\t\t\twhile(sum>=10)\n\t\t\t{\n\t\t\t\tcount++;\n\t\t\t\tsum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}",
"(line=d.readLine())!=null",
"(line=d.readLine())",
"line",
"d.readLine()",
"d.readLine",
"d",
"null",
"{\n\t\t\tString[] str = line.split(\" \");\n\t\t\tint a=Integer.parseInt(str[0]);\n\t\t\tint b=Integer.parseInt(str[1]);\n\t\t\tint sum=a+b;\n\t\t\tint count=1;\n\n\t\t\twhile(sum>=10)\n\t\t\t{\n\t\t\t\tcount++;\n\t\t\t\tsum/=10;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}",
"String[] str = line.split(\" \");",
"str",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int a=Integer.parseInt(str[0]);",
"a",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"int b=Integer.parseInt(str[1]);",
"b",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"int sum=a+b;",
"sum",
"a+b",
"a",
"b",
"int count=1;",
"count",
"1",
"while(sum>=10)\n\t\t\t{\n\t\t\t\tcount++;\n\t\t\t\tsum/=10;\n\t\t\t}",
"sum>=10",
"sum",
"10",
"{\n\t\t\t\tcount++;\n\t\t\t\tsum/=10;\n\t\t\t}",
"count++",
"count",
"sum/=10",
"sum",
"10",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String args[]",
"args"
] | import java.util.*;
import java.io.*;
import java.math.*;
class Main
{
public static void main(String args[])throws IOException
{
BufferedReader d=new BufferedReader(new InputStreamReader(System.in));
String line="";
while((line=d.readLine())!=null)
{
String[] str = line.split(" ");
int a=Integer.parseInt(str[0]);
int b=Integer.parseInt(str[1]);
int sum=a+b;
int count=1;
while(sum>=10)
{
count++;
sum/=10;
}
System.out.println(count);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
41,
13,
20,
17,
41,
13,
20,
17,
0,
18,
13,
17,
4,
18,
13,
41,
13,
17,
42,
2,
18,
13,
13,
17,
30,
40,
13,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
18,
13,
13,
17,
17,
0,
18,
13,
17,
4,
18,
13,
18,
13,
17,
0,
18,
13,
17,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
2,
18,
13,
17,
18,
13,
17,
4,
18,
18,
13,
13,
2,
13,
17,
14,
2,
2,
18,
13,
17,
18,
13,
17,
17,
30,
3,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
139,
5
],
[
139,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
12,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
22,
29
],
[
29,
30
],
[
29,
31
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
22,
40
],
[
40,
41
],
[
40,
42
],
[
22,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
22,
59
],
[
59,
60
],
[
60,
61
],
[
22,
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
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
77,
83
],
[
74,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
91,
92
],
[
91,
93
],
[
74,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
101,
102
],
[
101,
103
],
[
74,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
113,
114
],
[
113,
115
],
[
74,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
121,
122
],
[
121,
123
],
[
74,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
130,
132
],
[
125,
133
],
[
124,
134
],
[
134,
135
],
[
6,
136
],
[
136,
137
],
[
0,
138
],
[
138,
139
],
[
138,
140
]
] | [
"import java.io.*;\n\npublic class Main{\n public static void main(String[] args){\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t\n \ttry{\n \t\tint keta;\n\t \tdouble num[] = new double[2];\n \t \tString str[] = new String[200];\n\n \t\tstr[0] = br.readLine();\n \t\tint i = 0;\n \t\twhile(str[i] != null){\n \t\t\ti++;\n \t\t\tstr[i] = br.readLine();\n\t \t}\n\t \tbr.close();\n\n \t\tfor (int j=0;j<i;j++){\n\t \t\tString str2[] = str[j].split(\" \",0);\n\t \t\tnum[0] = Double.parseDouble(str2[0]);\n\t \t\tnum[1] = Double.parseDouble(str2[1]);\n\n\t \t\tketa = (int)Math.log10(num[0]+num[1]);\n \t\t\tSystem.out.println(keta+1);\n\n \t\t\tif(num[0]+num[1]==0){\n \t\t\t\tbreak;\n \t\t\t}\n \t\t}\n \t\t}catch(IOException e){\n \t\t\tSystem.out.println(\"fail.\");\n \t \t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[] args){\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t\n \ttry{\n \t\tint keta;\n\t \tdouble num[] = new double[2];\n \t \tString str[] = new String[200];\n\n \t\tstr[0] = br.readLine();\n \t\tint i = 0;\n \t\twhile(str[i] != null){\n \t\t\ti++;\n \t\t\tstr[i] = br.readLine();\n\t \t}\n\t \tbr.close();\n\n \t\tfor (int j=0;j<i;j++){\n\t \t\tString str2[] = str[j].split(\" \",0);\n\t \t\tnum[0] = Double.parseDouble(str2[0]);\n\t \t\tnum[1] = Double.parseDouble(str2[1]);\n\n\t \t\tketa = (int)Math.log10(num[0]+num[1]);\n \t\t\tSystem.out.println(keta+1);\n\n \t\t\tif(num[0]+num[1]==0){\n \t\t\t\tbreak;\n \t\t\t}\n \t\t}\n \t\t}catch(IOException e){\n \t\t\tSystem.out.println(\"fail.\");\n \t \t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t\n \ttry{\n \t\tint keta;\n\t \tdouble num[] = new double[2];\n \t \tString str[] = new String[200];\n\n \t\tstr[0] = br.readLine();\n \t\tint i = 0;\n \t\twhile(str[i] != null){\n \t\t\ti++;\n \t\t\tstr[i] = br.readLine();\n\t \t}\n\t \tbr.close();\n\n \t\tfor (int j=0;j<i;j++){\n\t \t\tString str2[] = str[j].split(\" \",0);\n\t \t\tnum[0] = Double.parseDouble(str2[0]);\n\t \t\tnum[1] = Double.parseDouble(str2[1]);\n\n\t \t\tketa = (int)Math.log10(num[0]+num[1]);\n \t\t\tSystem.out.println(keta+1);\n\n \t\t\tif(num[0]+num[1]==0){\n \t\t\t\tbreak;\n \t\t\t}\n \t\t}\n \t\t}catch(IOException e){\n \t\t\tSystem.out.println(\"fail.\");\n \t \t}\n\t}",
"main",
"{\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t\n \ttry{\n \t\tint keta;\n\t \tdouble num[] = new double[2];\n \t \tString str[] = new String[200];\n\n \t\tstr[0] = br.readLine();\n \t\tint i = 0;\n \t\twhile(str[i] != null){\n \t\t\ti++;\n \t\t\tstr[i] = br.readLine();\n\t \t}\n\t \tbr.close();\n\n \t\tfor (int j=0;j<i;j++){\n\t \t\tString str2[] = str[j].split(\" \",0);\n\t \t\tnum[0] = Double.parseDouble(str2[0]);\n\t \t\tnum[1] = Double.parseDouble(str2[1]);\n\n\t \t\tketa = (int)Math.log10(num[0]+num[1]);\n \t\t\tSystem.out.println(keta+1);\n\n \t\t\tif(num[0]+num[1]==0){\n \t\t\t\tbreak;\n \t\t\t}\n \t\t}\n \t\t}catch(IOException e){\n \t\t\tSystem.out.println(\"fail.\");\n \t \t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"try{\n \t\tint keta;\n\t \tdouble num[] = new double[2];\n \t \tString str[] = new String[200];\n\n \t\tstr[0] = br.readLine();\n \t\tint i = 0;\n \t\twhile(str[i] != null){\n \t\t\ti++;\n \t\t\tstr[i] = br.readLine();\n\t \t}\n\t \tbr.close();\n\n \t\tfor (int j=0;j<i;j++){\n\t \t\tString str2[] = str[j].split(\" \",0);\n\t \t\tnum[0] = Double.parseDouble(str2[0]);\n\t \t\tnum[1] = Double.parseDouble(str2[1]);\n\n\t \t\tketa = (int)Math.log10(num[0]+num[1]);\n \t\t\tSystem.out.println(keta+1);\n\n \t\t\tif(num[0]+num[1]==0){\n \t\t\t\tbreak;\n \t\t\t}\n \t\t}\n \t\t}catch(IOException e){\n \t\t\tSystem.out.println(\"fail.\");\n \t \t}",
"catch(IOException e){\n \t\t\tSystem.out.println(\"fail.\");\n \t \t}",
"IOException e",
"{\n \t\t\tSystem.out.println(\"fail.\");\n \t \t}",
"System.out.println(\"fail.\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"fail.\"",
"{\n \t\tint keta;\n\t \tdouble num[] = new double[2];\n \t \tString str[] = new String[200];\n\n \t\tstr[0] = br.readLine();\n \t\tint i = 0;\n \t\twhile(str[i] != null){\n \t\t\ti++;\n \t\t\tstr[i] = br.readLine();\n\t \t}\n\t \tbr.close();\n\n \t\tfor (int j=0;j<i;j++){\n\t \t\tString str2[] = str[j].split(\" \",0);\n\t \t\tnum[0] = Double.parseDouble(str2[0]);\n\t \t\tnum[1] = Double.parseDouble(str2[1]);\n\n\t \t\tketa = (int)Math.log10(num[0]+num[1]);\n \t\t\tSystem.out.println(keta+1);\n\n \t\t\tif(num[0]+num[1]==0){\n \t\t\t\tbreak;\n \t\t\t}\n \t\t}\n \t\t}",
"int keta;",
"keta",
"double num[] = new double[2];",
"num",
"new double[2]",
"2",
"String str[] = new String[200];",
"str",
"new String[200]",
"200",
"str[0] = br.readLine()",
"str[0]",
"str",
"0",
"br.readLine()",
"br.readLine",
"br",
"int i = 0;",
"i",
"0",
"while(str[i] != null){\n \t\t\ti++;\n \t\t\tstr[i] = br.readLine();\n\t \t}",
"str[i] != null",
"str[i]",
"str",
"i",
"null",
"{\n \t\t\ti++;\n \t\t\tstr[i] = br.readLine();\n\t \t}",
"i++",
"i",
"str[i] = br.readLine()",
"str[i]",
"str",
"i",
"br.readLine()",
"br.readLine",
"br",
"br.close()",
"br.close",
"br",
"for (int j=0;j<i;j++){\n\t \t\tString str2[] = str[j].split(\" \",0);\n\t \t\tnum[0] = Double.parseDouble(str2[0]);\n\t \t\tnum[1] = Double.parseDouble(str2[1]);\n\n\t \t\tketa = (int)Math.log10(num[0]+num[1]);\n \t\t\tSystem.out.println(keta+1);\n\n \t\t\tif(num[0]+num[1]==0){\n \t\t\t\tbreak;\n \t\t\t}\n \t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<i",
"j",
"i",
"j++",
"j++",
"j",
"{\n\t \t\tString str2[] = str[j].split(\" \",0);\n\t \t\tnum[0] = Double.parseDouble(str2[0]);\n\t \t\tnum[1] = Double.parseDouble(str2[1]);\n\n\t \t\tketa = (int)Math.log10(num[0]+num[1]);\n \t\t\tSystem.out.println(keta+1);\n\n \t\t\tif(num[0]+num[1]==0){\n \t\t\t\tbreak;\n \t\t\t}\n \t\t}",
"{\n\t \t\tString str2[] = str[j].split(\" \",0);\n\t \t\tnum[0] = Double.parseDouble(str2[0]);\n\t \t\tnum[1] = Double.parseDouble(str2[1]);\n\n\t \t\tketa = (int)Math.log10(num[0]+num[1]);\n \t\t\tSystem.out.println(keta+1);\n\n \t\t\tif(num[0]+num[1]==0){\n \t\t\t\tbreak;\n \t\t\t}\n \t\t}",
"String str2[] = str[j].split(\" \",0);",
"str2",
"str[j].split(\" \",0)",
"str[j].split",
"str[j]",
"str",
"j",
"\" \"",
"0",
"num[0] = Double.parseDouble(str2[0])",
"num[0]",
"num",
"0",
"Double.parseDouble(str2[0])",
"Double.parseDouble",
"Double",
"str2[0]",
"str2",
"0",
"num[1] = Double.parseDouble(str2[1])",
"num[1]",
"num",
"1",
"Double.parseDouble(str2[1])",
"Double.parseDouble",
"Double",
"str2[1]",
"str2",
"1",
"keta = (int)Math.log10(num[0]+num[1])",
"keta",
"(int)Math.log10(num[0]+num[1])",
"Math.log10",
"Math",
"num[0]+num[1]",
"num[0]",
"num",
"0",
"num[1]",
"num",
"1",
"System.out.println(keta+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"keta+1",
"keta",
"1",
"if(num[0]+num[1]==0){\n \t\t\t\tbreak;\n \t\t\t}",
"num[0]+num[1]==0",
"num[0]+num[1]",
"num[0]",
"num",
"0",
"num[1]",
"num",
"1",
"0",
"{\n \t\t\t\tbreak;\n \t\t\t}",
"break;",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t\n \ttry{\n \t\tint keta;\n\t \tdouble num[] = new double[2];\n \t \tString str[] = new String[200];\n\n \t\tstr[0] = br.readLine();\n \t\tint i = 0;\n \t\twhile(str[i] != null){\n \t\t\ti++;\n \t\t\tstr[i] = br.readLine();\n\t \t}\n\t \tbr.close();\n\n \t\tfor (int j=0;j<i;j++){\n\t \t\tString str2[] = str[j].split(\" \",0);\n\t \t\tnum[0] = Double.parseDouble(str2[0]);\n\t \t\tnum[1] = Double.parseDouble(str2[1]);\n\n\t \t\tketa = (int)Math.log10(num[0]+num[1]);\n \t\t\tSystem.out.println(keta+1);\n\n \t\t\tif(num[0]+num[1]==0){\n \t\t\t\tbreak;\n \t\t\t}\n \t\t}\n \t\t}catch(IOException e){\n \t\t\tSystem.out.println(\"fail.\");\n \t \t}\n\t}\n}",
"public class Main{\n public static void main(String[] args){\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t\n \ttry{\n \t\tint keta;\n\t \tdouble num[] = new double[2];\n \t \tString str[] = new String[200];\n\n \t\tstr[0] = br.readLine();\n \t\tint i = 0;\n \t\twhile(str[i] != null){\n \t\t\ti++;\n \t\t\tstr[i] = br.readLine();\n\t \t}\n\t \tbr.close();\n\n \t\tfor (int j=0;j<i;j++){\n\t \t\tString str2[] = str[j].split(\" \",0);\n\t \t\tnum[0] = Double.parseDouble(str2[0]);\n\t \t\tnum[1] = Double.parseDouble(str2[1]);\n\n\t \t\tketa = (int)Math.log10(num[0]+num[1]);\n \t\t\tSystem.out.println(keta+1);\n\n \t\t\tif(num[0]+num[1]==0){\n \t\t\t\tbreak;\n \t\t\t}\n \t\t}\n \t\t}catch(IOException e){\n \t\t\tSystem.out.println(\"fail.\");\n \t \t}\n\t}\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[] args){
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try{
int keta;
double num[] = new double[2];
String str[] = new String[200];
str[0] = br.readLine();
int i = 0;
while(str[i] != null){
i++;
str[i] = br.readLine();
}
br.close();
for (int j=0;j<i;j++){
String str2[] = str[j].split(" ",0);
num[0] = Double.parseDouble(str2[0]);
num[1] = Double.parseDouble(str2[1]);
keta = (int)Math.log10(num[0]+num[1]);
System.out.println(keta+1);
if(num[0]+num[1]==0){
break;
}
}
}catch(IOException e){
System.out.println("fail.");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
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
],
[
16,
19
],
[
19,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
16,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
16,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
16,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
45,
46
],
[
6,
47
],
[
47,
48
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n int a, b;\n a = in.nextInt();\n b = in.nextInt();\n String ret = Integer.toString(a+b);\n System.out.println(ret.length());\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n int a, b;\n a = in.nextInt();\n b = in.nextInt();\n String ret = Integer.toString(a+b);\n System.out.println(ret.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, b;\n a = in.nextInt();\n b = in.nextInt();\n String ret = Integer.toString(a+b);\n System.out.println(ret.length());\n }\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n int a, b;\n a = in.nextInt();\n b = in.nextInt();\n String ret = Integer.toString(a+b);\n System.out.println(ret.length());\n }\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while(in.hasNext()){\n int a, b;\n a = in.nextInt();\n b = in.nextInt();\n String ret = Integer.toString(a+b);\n System.out.println(ret.length());\n }",
"in.hasNext()",
"in.hasNext",
"in",
"{\n int a, b;\n a = in.nextInt();\n b = in.nextInt();\n String ret = Integer.toString(a+b);\n System.out.println(ret.length());\n }",
"int a",
"a",
"b;",
"b",
"a = in.nextInt()",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"b = in.nextInt()",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"String ret = Integer.toString(a+b);",
"ret",
"Integer.toString(a+b)",
"Integer.toString",
"Integer",
"a+b",
"a",
"b",
"System.out.println(ret.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"ret.length()",
"ret.length",
"ret",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner in = new Scanner(System.in);
while(in.hasNext()){
int a, b;
a = in.nextInt();
b = in.nextInt();
String ret = Integer.toString(a+b);
System.out.println(ret.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
42,
4,
18,
13,
30,
4,
18,
18,
13,
13,
4,
18,
2,
2,
4,
18,
13,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
6
],
[
6,
7
],
[
6,
8
],
[
36,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
24,
32
],
[
9,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
] | [
"import java.util.*;\n\npublic class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n while(scn.hasNextInt()) {\n System.out.println(\n (scn.nextInt() + scn.nextInt() + \"\").length()\n );\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n while(scn.hasNextInt()) {\n System.out.println(\n (scn.nextInt() + scn.nextInt() + \"\").length()\n );\n }\n }\n}",
"Main",
"private static final Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"public static void main(String[] args) {\n while(scn.hasNextInt()) {\n System.out.println(\n (scn.nextInt() + scn.nextInt() + \"\").length()\n );\n }\n }",
"main",
"{\n while(scn.hasNextInt()) {\n System.out.println(\n (scn.nextInt() + scn.nextInt() + \"\").length()\n );\n }\n }",
"while(scn.hasNextInt()) {\n System.out.println(\n (scn.nextInt() + scn.nextInt() + \"\").length()\n );\n }",
"scn.hasNextInt()",
"scn.hasNextInt",
"scn",
"{\n System.out.println(\n (scn.nextInt() + scn.nextInt() + \"\").length()\n );\n }",
"System.out.println(\n (scn.nextInt() + scn.nextInt() + \"\").length()\n )",
"System.out.println",
"System.out",
"System",
"System.out",
"(scn.nextInt() + scn.nextInt() + \"\").length()",
"(scn.nextInt() + scn.nextInt() + \"\").length",
"(scn.nextInt() + scn.nextInt() + \"\")",
"scn.nextInt() + scn.nextInt() + \"\"",
"scn.nextInt()",
"scn.nextInt",
"scn",
"scn.nextInt()",
"scn.nextInt",
"scn",
"\"\"",
"String[] args",
"args",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n while(scn.hasNextInt()) {\n System.out.println(\n (scn.nextInt() + scn.nextInt() + \"\").length()\n );\n }\n }\n}",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n while(scn.hasNextInt()) {\n System.out.println(\n (scn.nextInt() + scn.nextInt() + \"\").length()\n );\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
private static final Scanner scn = new Scanner(System.in);
public static void main(String[] args) {
while(scn.hasNextInt()) {
System.out.println(
(scn.nextInt() + scn.nextInt() + "").length()
);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
42,
4,
18,
13,
30,
0,
13,
20,
17,
41,
13,
4,
18,
4,
18,
13,
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,
4,
18,
13,
2,
18,
13,
17,
18,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
34,
39
],
[
27,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
27,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
27,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
12,
77
],
[
77,
78
]
] | [
"/* package whatever; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\nclass Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint i = 0;\n\t\tint arr[];\n\t\twhile( sc.hasNext() ){\n\t\t\tarr = new int[2];\n\t\t\t\n \t\tString line[] = sc.nextLine().split(\" \");\n\t\t\tarr[0] = Integer.parseInt(line[0]);\n\t\t\tarr[1] = Integer.parseInt(line[1]);\n\t\t\t\n \t\tSystem.out.println(String.valueOf(arr[0]+arr[1]).length());\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint i = 0;\n\t\tint arr[];\n\t\twhile( sc.hasNext() ){\n\t\t\tarr = new int[2];\n\t\t\t\n \t\tString line[] = sc.nextLine().split(\" \");\n\t\t\tarr[0] = Integer.parseInt(line[0]);\n\t\t\tarr[1] = Integer.parseInt(line[1]);\n\t\t\t\n \t\tSystem.out.println(String.valueOf(arr[0]+arr[1]).length());\n\t\t}\n\t}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint i = 0;\n\t\tint arr[];\n\t\twhile( sc.hasNext() ){\n\t\t\tarr = new int[2];\n\t\t\t\n \t\tString line[] = sc.nextLine().split(\" \");\n\t\t\tarr[0] = Integer.parseInt(line[0]);\n\t\t\tarr[1] = Integer.parseInt(line[1]);\n\t\t\t\n \t\tSystem.out.println(String.valueOf(arr[0]+arr[1]).length());\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint i = 0;\n\t\tint arr[];\n\t\twhile( sc.hasNext() ){\n\t\t\tarr = new int[2];\n\t\t\t\n \t\tString line[] = sc.nextLine().split(\" \");\n\t\t\tarr[0] = Integer.parseInt(line[0]);\n\t\t\tarr[1] = Integer.parseInt(line[1]);\n\t\t\t\n \t\tSystem.out.println(String.valueOf(arr[0]+arr[1]).length());\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = 0;",
"i",
"0",
"int arr[];",
"arr",
"while( sc.hasNext() ){\n\t\t\tarr = new int[2];\n\t\t\t\n \t\tString line[] = sc.nextLine().split(\" \");\n\t\t\tarr[0] = Integer.parseInt(line[0]);\n\t\t\tarr[1] = Integer.parseInt(line[1]);\n\t\t\t\n \t\tSystem.out.println(String.valueOf(arr[0]+arr[1]).length());\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tarr = new int[2];\n\t\t\t\n \t\tString line[] = sc.nextLine().split(\" \");\n\t\t\tarr[0] = Integer.parseInt(line[0]);\n\t\t\tarr[1] = Integer.parseInt(line[1]);\n\t\t\t\n \t\tSystem.out.println(String.valueOf(arr[0]+arr[1]).length());\n\t\t}",
"arr = new int[2]",
"arr",
"new int[2]",
"2",
"String line[] = sc.nextLine().split(\" \");",
"line",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"arr[0] = Integer.parseInt(line[0])",
"arr[0]",
"arr",
"0",
"Integer.parseInt(line[0])",
"Integer.parseInt",
"Integer",
"line[0]",
"line",
"0",
"arr[1] = Integer.parseInt(line[1])",
"arr[1]",
"arr",
"1",
"Integer.parseInt(line[1])",
"Integer.parseInt",
"Integer",
"line[1]",
"line",
"1",
"System.out.println(String.valueOf(arr[0]+arr[1]).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(arr[0]+arr[1]).length()",
"String.valueOf(arr[0]+arr[1]).length",
"String.valueOf(arr[0]+arr[1])",
"String.valueOf",
"String",
"arr[0]+arr[1]",
"arr[0]",
"arr",
"0",
"arr[1]",
"arr",
"1",
"String[] args",
"args"
] | /* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Main
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner sc = new Scanner(System.in);
int i = 0;
int arr[];
while( sc.hasNext() ){
arr = new int[2];
String line[] = sc.nextLine().split(" ");
arr[0] = Integer.parseInt(line[0]);
arr[1] = Integer.parseInt(line[1]);
System.out.println(String.valueOf(arr[0]+arr[1]).length());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
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,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
4,
18,
13,
4,
18,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
77,
11
],
[
77,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
31,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
31,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
31,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
64,
66
],
[
54,
67
],
[
14,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
12,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
] | [
"\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 NumberFormatException,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tString s;\n\t\twhile(( s = reader.readLine())!=null){\n\t\t\tString[] line = s.split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[1]);\n\t\t\tbuilder.append(String.valueOf(a+b).length()).append('\\n');\n\t\t\t\n\t\t}\n\t\tSystem.out.print(builder);\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,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tString s;\n\t\twhile(( s = reader.readLine())!=null){\n\t\t\tString[] line = s.split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[1]);\n\t\t\tbuilder.append(String.valueOf(a+b).length()).append('\\n');\n\t\t\t\n\t\t}\n\t\tSystem.out.print(builder);\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tString s;\n\t\twhile(( s = reader.readLine())!=null){\n\t\t\tString[] line = s.split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[1]);\n\t\t\tbuilder.append(String.valueOf(a+b).length()).append('\\n');\n\t\t\t\n\t\t}\n\t\tSystem.out.print(builder);\n\t\t\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tString s;\n\t\twhile(( s = reader.readLine())!=null){\n\t\t\tString[] line = s.split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[1]);\n\t\t\tbuilder.append(String.valueOf(a+b).length()).append('\\n');\n\t\t\t\n\t\t}\n\t\tSystem.out.print(builder);\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))",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"String s;",
"s",
"while(( s = reader.readLine())!=null){\n\t\t\tString[] line = s.split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[1]);\n\t\t\tbuilder.append(String.valueOf(a+b).length()).append('\\n');\n\t\t\t\n\t\t}",
"( s = reader.readLine())!=null",
"( s = reader.readLine())",
"s",
"reader.readLine()",
"reader.readLine",
"reader",
"null",
"{\n\t\t\tString[] line = s.split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[1]);\n\t\t\tbuilder.append(String.valueOf(a+b).length()).append('\\n');\n\t\t\t\n\t\t}",
"String[] line = s.split(\" \");",
"line",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"int a = Integer.parseInt(line[0]);",
"a",
"Integer.parseInt(line[0])",
"Integer.parseInt",
"Integer",
"line[0]",
"line",
"0",
"int b = Integer.parseInt(line[1]);",
"b",
"Integer.parseInt(line[1])",
"Integer.parseInt",
"Integer",
"line[1]",
"line",
"1",
"builder.append(String.valueOf(a+b).length()).append('\\n')",
"builder.append(String.valueOf(a+b).length()).append",
"builder.append(String.valueOf(a+b).length())",
"builder.append",
"builder",
"String.valueOf(a+b).length()",
"String.valueOf(a+b).length",
"String.valueOf(a+b)",
"String.valueOf",
"String",
"a+b",
"a",
"b",
"'\\n'",
"System.out.print(builder)",
"System.out.print",
"System.out",
"System",
"System.out",
"builder",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tString s;\n\t\twhile(( s = reader.readLine())!=null){\n\t\t\tString[] line = s.split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[1]);\n\t\t\tbuilder.append(String.valueOf(a+b).length()).append('\\n');\n\t\t\t\n\t\t}\n\t\tSystem.out.print(builder);\n\t\t\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tString s;\n\t\twhile(( s = reader.readLine())!=null){\n\t\t\tString[] line = s.split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[1]);\n\t\t\tbuilder.append(String.valueOf(a+b).length()).append('\\n');\n\t\t\t\n\t\t}\n\t\tSystem.out.print(builder);\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 reader = new BufferedReader(new InputStreamReader(
System.in));
StringBuilder builder = new StringBuilder();
String s;
while(( s = reader.readLine())!=null){
String[] line = s.split(" ");
int a = Integer.parseInt(line[0]);
int b = Integer.parseInt(line[1]);
builder.append(String.valueOf(a+b).length()).append('\n');
}
System.out.print(builder);
}
} |
[
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,
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
],
[
6,
49
],
[
49,
50
]
] | [
"import java.util.Scanner;\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint c = a + b;\n\t\t\tString d = String.valueOf(c);\n\t\t\tint len = d.length();\n\t\t\tSystem.out.println(len);\n\t\t}\n\t}\n} ",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint c = a + b;\n\t\t\tString d = String.valueOf(c);\n\t\t\tint len = d.length();\n\t\t\tSystem.out.println(len);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint c = a + b;\n\t\t\tString d = String.valueOf(c);\n\t\t\tint len = d.length();\n\t\t\tSystem.out.println(len);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint c = a + b;\n\t\t\tString d = String.valueOf(c);\n\t\t\tint len = d.length();\n\t\t\tSystem.out.println(len);\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 c = a + b;\n\t\t\tString d = String.valueOf(c);\n\t\t\tint len = d.length();\n\t\t\tSystem.out.println(len);\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 c = a + b;\n\t\t\tString d = String.valueOf(c);\n\t\t\tint len = d.length();\n\t\t\tSystem.out.println(len);\n\t\t}",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int b = scan.nextInt();",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int c = a + b;",
"c",
"a + b",
"a",
"b",
"String d = String.valueOf(c);",
"d",
"String.valueOf(c)",
"String.valueOf",
"String",
"c",
"int len = d.length();",
"len",
"d.length()",
"d.length",
"d",
"System.out.println(len)",
"System.out.println",
"System.out",
"System",
"System.out",
"len",
"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 a = scan.nextInt();
int b = scan.nextInt();
int c = a + b;
String d = String.valueOf(c);
int len = d.length();
System.out.println(len);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
11,
1,
4,
18,
13,
30,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
13,
2,
4,
18,
13,
2,
13,
13,
17,
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
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
16,
21
],
[
22,
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
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
41,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] | [
"import java.util.*;\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\tfor(;scanner.hasNextInt();){\n\t\t\ta=scanner.nextInt();b=scanner.nextInt();\n\t\t\tSystem.out.println((int)Math.floor(Math.log10(a+b)+1));\n\t\t}\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"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\tfor(;scanner.hasNextInt();){\n\t\t\ta=scanner.nextInt();b=scanner.nextInt();\n\t\t\tSystem.out.println((int)Math.floor(Math.log10(a+b)+1));\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner=new Scanner(System.in);\n\t\tint a,b;\n\t\tfor(;scanner.hasNextInt();){\n\t\t\ta=scanner.nextInt();b=scanner.nextInt();\n\t\t\tSystem.out.println((int)Math.floor(Math.log10(a+b)+1));\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner=new Scanner(System.in);\n\t\tint a,b;\n\t\tfor(;scanner.hasNextInt();){\n\t\t\ta=scanner.nextInt();b=scanner.nextInt();\n\t\t\tSystem.out.println((int)Math.floor(Math.log10(a+b)+1));\n\t\t}\n\t}",
"Scanner scanner=new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int a",
"a",
"b;",
"b",
"for(;scanner.hasNextInt();){\n\t\t\ta=scanner.nextInt();b=scanner.nextInt();\n\t\t\tSystem.out.println((int)Math.floor(Math.log10(a+b)+1));\n\t\t}",
";",
"scanner.hasNextInt()",
"scanner.hasNextInt",
"scanner",
"{\n\t\t\ta=scanner.nextInt();b=scanner.nextInt();\n\t\t\tSystem.out.println((int)Math.floor(Math.log10(a+b)+1));\n\t\t}",
"{\n\t\t\ta=scanner.nextInt();b=scanner.nextInt();\n\t\t\tSystem.out.println((int)Math.floor(Math.log10(a+b)+1));\n\t\t}",
"a=scanner.nextInt()",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"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)",
"Math.floor",
"Math",
"Math.log10(a+b)+1",
"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\tfor(;scanner.hasNextInt();){\n\t\t\ta=scanner.nextInt();b=scanner.nextInt();\n\t\t\tSystem.out.println((int)Math.floor(Math.log10(a+b)+1));\n\t\t}\n\t}\n\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\tfor(;scanner.hasNextInt();){\n\t\t\ta=scanner.nextInt();b=scanner.nextInt();\n\t\t\tSystem.out.println((int)Math.floor(Math.log10(a+b)+1));\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scanner=new Scanner(System.in);
int a,b;
for(;scanner.hasNextInt();){
a=scanner.nextInt();b=scanner.nextInt();
System.out.println((int)Math.floor(Math.log10(a+b)+1));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
42,
2,
2,
0,
13,
4,
18,
13,
17,
2,
13,
17,
30,
41,
13,
4,
18,
13,
17,
17,
41,
13,
4,
13,
18,
13,
17,
41,
13,
4,
13,
18,
13,
17,
14,
2,
2,
2,
2,
17,
13,
2,
13,
17,
2,
17,
13,
2,
13,
17,
30,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
92,
8
],
[
92,
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
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
21,
29
],
[
29,
30
],
[
29,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
35,
39
],
[
32,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
32,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
32,
54
],
[
54,
55
],
[
57,
56
],
[
64,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
64,
64
],
[
64,
65
],
[
64,
66
],
[
57,
67
],
[
67,
68
],
[
67,
69
],
[
54,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
70,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
32,
87
],
[
87,
88
],
[
9,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"import java.io.*;\nimport static java.lang.Integer.parseInt;\n\npublic class Main {\n \n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String str;\n int i = 0;\n while((str = br.readLine())!=null&&i<200){\n String[] num = str.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0<=x&&x<=1000000&&0<=y&&y<=1000000){\n int z = x+y;\n System.out.println(Integer.toString(z).length());\n }\n i++;\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import static java.lang.Integer.parseInt;",
"import static java.lang.Integer.parseInt;",
"import static java.lang.Integer.parseInt;",
"public class Main {\n \n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String str;\n int i = 0;\n while((str = br.readLine())!=null&&i<200){\n String[] num = str.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0<=x&&x<=1000000&&0<=y&&y<=1000000){\n int z = x+y;\n System.out.println(Integer.toString(z).length());\n }\n i++;\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String str;\n int i = 0;\n while((str = br.readLine())!=null&&i<200){\n String[] num = str.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0<=x&&x<=1000000&&0<=y&&y<=1000000){\n int z = x+y;\n System.out.println(Integer.toString(z).length());\n }\n i++;\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String str;\n int i = 0;\n while((str = br.readLine())!=null&&i<200){\n String[] num = str.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0<=x&&x<=1000000&&0<=y&&y<=1000000){\n int z = x+y;\n System.out.println(Integer.toString(z).length());\n }\n i++;\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"int i = 0;",
"i",
"0",
"while((str = br.readLine())!=null&&i<200){\n String[] num = str.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0<=x&&x<=1000000&&0<=y&&y<=1000000){\n int z = x+y;\n System.out.println(Integer.toString(z).length());\n }\n i++;\n }",
"(str = br.readLine())!=null&&i<200",
"(str = br.readLine())!=null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"i<200",
"i",
"200",
"{\n String[] num = str.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0<=x&&x<=1000000&&0<=y&&y<=1000000){\n int z = x+y;\n System.out.println(Integer.toString(z).length());\n }\n i++;\n }",
"String[] num = str.split(\" \",0);",
"num",
"str.split(\" \",0)",
"str.split",
"str",
"\" \"",
"0",
"int x = parseInt(num[0]);",
"x",
"parseInt(num[0])",
"parseInt",
"num[0]",
"num",
"0",
"int y = parseInt(num[1]);",
"y",
"parseInt(num[1])",
"parseInt",
"num[1]",
"num",
"1",
"if(0<=x&&x<=1000000&&0<=y&&y<=1000000){\n int z = x+y;\n System.out.println(Integer.toString(z).length());\n }",
"0<=x&&x<=1000000&&0<=y&&y<=1000000",
"0<=y",
"0<=x&&x<=1000000&&0<=y&&y<=1000000",
"0<=x",
"0",
"x",
"x<=1000000",
"x",
"1000000",
"0<=y",
"0",
"y",
"y<=1000000",
"y",
"1000000",
"{\n int z = x+y;\n System.out.println(Integer.toString(z).length());\n }",
"int z = x+y;",
"z",
"x+y",
"x",
"y",
"System.out.println(Integer.toString(z).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(z).length()",
"Integer.toString(z).length",
"Integer.toString(z)",
"Integer.toString",
"Integer",
"z",
"i++",
"i",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String str;\n int i = 0;\n while((str = br.readLine())!=null&&i<200){\n String[] num = str.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0<=x&&x<=1000000&&0<=y&&y<=1000000){\n int z = x+y;\n System.out.println(Integer.toString(z).length());\n }\n i++;\n }\n }\n}",
"public class Main {\n \n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String str;\n int i = 0;\n while((str = br.readLine())!=null&&i<200){\n String[] num = str.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0<=x&&x<=1000000&&0<=y&&y<=1000000){\n int z = x+y;\n System.out.println(Integer.toString(z).length());\n }\n i++;\n }\n }\n}",
"Main"
] | import java.io.*;
import static java.lang.Integer.parseInt;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
int i = 0;
while((str = br.readLine())!=null&&i<200){
String[] num = str.split(" ",0);
int x = parseInt(num[0]);
int y = parseInt(num[1]);
if(0<=x&&x<=1000000&&0<=y&&y<=1000000){
int z = x+y;
System.out.println(Integer.toString(z).length());
}
i++;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
42,
2,
2,
0,
13,
4,
18,
13,
17,
2,
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,
41,
13,
17,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
79,
8
],
[
79,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
13,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
28,
32
],
[
19,
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
],
[
55,
57
],
[
33,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
62,
68
],
[
68,
69
],
[
33,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
9,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null&&line.length()!=0) {\n \tString[] str=line.split(\" \");\n \tint sum=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n \tint i=0;\n \twhile(sum>0){\n \t\tsum=sum/10;\n \t\ti++;\n \t}\n \tSystem.out.println(i);\n }\n }\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main{\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null&&line.length()!=0) {\n \tString[] str=line.split(\" \");\n \tint sum=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n \tint i=0;\n \twhile(sum>0){\n \t\tsum=sum/10;\n \t\ti++;\n \t}\n \tSystem.out.println(i);\n }\n }\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null&&line.length()!=0) {\n \tString[] str=line.split(\" \");\n \tint sum=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n \tint i=0;\n \twhile(sum>0){\n \t\tsum=sum/10;\n \t\ti++;\n \t}\n \tSystem.out.println(i);\n }\n }\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null&&line.length()!=0) {\n \tString[] str=line.split(\" \");\n \tint sum=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n \tint i=0;\n \twhile(sum>0){\n \t\tsum=sum/10;\n \t\ti++;\n \t}\n \tSystem.out.println(i);\n }\n }\n\t}",
"try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null&&line.length()!=0) {\n \tString[] str=line.split(\" \");\n \tint sum=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n \tint i=0;\n \twhile(sum>0){\n \t\tsum=sum/10;\n \t\ti++;\n \t}\n \tSystem.out.println(i);\n }\n }",
"{\n String line;\n while ((line = br.readLine()) != null&&line.length()!=0) {\n \tString[] str=line.split(\" \");\n \tint sum=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n \tint i=0;\n \twhile(sum>0){\n \t\tsum=sum/10;\n \t\ti++;\n \t}\n \tSystem.out.println(i);\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;",
"line",
"while ((line = br.readLine()) != null&&line.length()!=0) {\n \tString[] str=line.split(\" \");\n \tint sum=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n \tint i=0;\n \twhile(sum>0){\n \t\tsum=sum/10;\n \t\ti++;\n \t}\n \tSystem.out.println(i);\n }",
"(line = br.readLine()) != null&&line.length()!=0",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"line.length()!=0",
"line.length()",
"line.length",
"line",
"0",
"{\n \tString[] str=line.split(\" \");\n \tint sum=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n \tint i=0;\n \twhile(sum>0){\n \t\tsum=sum/10;\n \t\ti++;\n \t}\n \tSystem.out.println(i);\n }",
"String[] str=line.split(\" \");",
"str",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int sum=Integer.parseInt(str[0])+Integer.parseInt(str[1]);",
"sum",
"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 i=0;",
"i",
"0",
"while(sum>0){\n \t\tsum=sum/10;\n \t\ti++;\n \t}",
"sum>0",
"sum",
"0",
"{\n \t\tsum=sum/10;\n \t\ti++;\n \t}",
"sum=sum/10",
"sum",
"sum/10",
"sum",
"10",
"i++",
"i",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null&&line.length()!=0) {\n \tString[] str=line.split(\" \");\n \tint sum=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n \tint i=0;\n \twhile(sum>0){\n \t\tsum=sum/10;\n \t\ti++;\n \t}\n \tSystem.out.println(i);\n }\n }\n\t}\n}",
"public class Main{\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null&&line.length()!=0) {\n \tString[] str=line.split(\" \");\n \tint sum=Integer.parseInt(str[0])+Integer.parseInt(str[1]);\n \tint i=0;\n \twhile(sum>0){\n \t\tsum=sum/10;\n \t\ti++;\n \t}\n \tSystem.out.println(i);\n }\n }\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args) throws Exception {
// TODO ?????????????????????????????????????????????
try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
String line;
while ((line = br.readLine()) != null&&line.length()!=0) {
String[] str=line.split(" ");
int sum=Integer.parseInt(str[0])+Integer.parseInt(str[1]);
int i=0;
while(sum>0){
sum=sum/10;
i++;
}
System.out.println(i);
}
}
}
} |
[
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,
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
],
[
67,
5
],
[
67,
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
],
[
24,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
24,
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
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
24,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] a) {\n\t\tScanner s=new Scanner(System.in);\n\t\tint x,y,z,i;\n\t\twhile(s.hasNext()){\n\t\t\tx=s.nextInt();\n\t\t\ty=s.nextInt();\n\t\tz=x+y;\n\t\tfor(i=1;10<=z;i++){\n\t\t\tz=z/10;\n\t\t}\n\t\tSystem.out.println(i);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] a) {\n\t\tScanner s=new Scanner(System.in);\n\t\tint x,y,z,i;\n\t\twhile(s.hasNext()){\n\t\t\tx=s.nextInt();\n\t\t\ty=s.nextInt();\n\t\tz=x+y;\n\t\tfor(i=1;10<=z;i++){\n\t\t\tz=z/10;\n\t\t}\n\t\tSystem.out.println(i);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] a) {\n\t\tScanner s=new Scanner(System.in);\n\t\tint x,y,z,i;\n\t\twhile(s.hasNext()){\n\t\t\tx=s.nextInt();\n\t\t\ty=s.nextInt();\n\t\tz=x+y;\n\t\tfor(i=1;10<=z;i++){\n\t\t\tz=z/10;\n\t\t}\n\t\tSystem.out.println(i);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner s=new Scanner(System.in);\n\t\tint x,y,z,i;\n\t\twhile(s.hasNext()){\n\t\t\tx=s.nextInt();\n\t\t\ty=s.nextInt();\n\t\tz=x+y;\n\t\tfor(i=1;10<=z;i++){\n\t\t\tz=z/10;\n\t\t}\n\t\tSystem.out.println(i);\n\t\t}\n\t}",
"Scanner s=new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int x",
"x",
"y",
"y",
"z",
"z",
"i;",
"i",
"while(s.hasNext()){\n\t\t\tx=s.nextInt();\n\t\t\ty=s.nextInt();\n\t\tz=x+y;\n\t\tfor(i=1;10<=z;i++){\n\t\t\tz=z/10;\n\t\t}\n\t\tSystem.out.println(i);\n\t\t}",
"s.hasNext()",
"s.hasNext",
"s",
"{\n\t\t\tx=s.nextInt();\n\t\t\ty=s.nextInt();\n\t\tz=x+y;\n\t\tfor(i=1;10<=z;i++){\n\t\t\tz=z/10;\n\t\t}\n\t\tSystem.out.println(i);\n\t\t}",
"x=s.nextInt()",
"x",
"s.nextInt()",
"s.nextInt",
"s",
"y=s.nextInt()",
"y",
"s.nextInt()",
"s.nextInt",
"s",
"z=x+y",
"z",
"x+y",
"x",
"y",
"for(i=1;10<=z;i++){\n\t\t\tz=z/10;\n\t\t}",
"i=1;",
"i=1",
"i",
"1",
"10<=z",
"10",
"z",
"i++",
"i++",
"i",
"{\n\t\t\tz=z/10;\n\t\t}",
"{\n\t\t\tz=z/10;\n\t\t}",
"z=z/10",
"z",
"z/10",
"z",
"10",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] a",
"a",
"public class Main {\n\tpublic static void main(String[] a) {\n\t\tScanner s=new Scanner(System.in);\n\t\tint x,y,z,i;\n\t\twhile(s.hasNext()){\n\t\t\tx=s.nextInt();\n\t\t\ty=s.nextInt();\n\t\tz=x+y;\n\t\tfor(i=1;10<=z;i++){\n\t\t\tz=z/10;\n\t\t}\n\t\tSystem.out.println(i);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] a) {\n\t\tScanner s=new Scanner(System.in);\n\t\tint x,y,z,i;\n\t\twhile(s.hasNext()){\n\t\t\tx=s.nextInt();\n\t\t\ty=s.nextInt();\n\t\tz=x+y;\n\t\tfor(i=1;10<=z;i++){\n\t\t\tz=z/10;\n\t\t}\n\t\tSystem.out.println(i);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] a) {
Scanner s=new Scanner(System.in);
int x,y,z,i;
while(s.hasNext()){
x=s.nextInt();
y=s.nextInt();
z=x+y;
for(i=1;10<=z;i++){
z=z/10;
}
System.out.println(i);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
4,
18,
13,
17,
41,
13,
17,
12,
13,
30,
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,
2,
13,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
4,
13,
18,
13,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
29,
17,
29,
17,
23,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
4,
18,
13,
13,
30,
0,
13,
17,
41,
13,
4,
18,
13,
13,
28,
13,
13,
30,
30,
14,
2,
13,
13,
30,
4,
18,
13,
13,
3,
14,
2,
2,
13,
13,
17,
3,
29,
4,
18,
13,
2,
4,
18,
13,
17,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
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
],
[
309,
11
],
[
309,
12
],
[
12,
13
],
[
12,
14
],
[
309,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
309,
21
],
[
21,
22
],
[
21,
23
],
[
309,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
37,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
37,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
37,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
37,
65
],
[
65,
66
],
[
65,
67
],
[
37,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
37,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
309,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
87,
95
],
[
95,
96
],
[
96,
97
],
[
87,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
105,
106
],
[
105,
107
],
[
99,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
111,
113
],
[
108,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
86,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
120,
125
],
[
84,
126
],
[
126,
127
],
[
84,
128
],
[
128,
129
],
[
309,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
133,
138
],
[
138,
139
],
[
138,
140
],
[
133,
141
],
[
141,
142
],
[
142,
143
],
[
133,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
147,
149
],
[
145,
150
],
[
130,
151
],
[
151,
152
],
[
130,
153
],
[
153,
154
],
[
130,
155
],
[
155,
156
],
[
309,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
161,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
309,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
173,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
309,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
309,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
191,
196
],
[
196,
197
],
[
196,
198
],
[
191,
199
],
[
199,
200
],
[
200,
201
],
[
191,
202
],
[
203,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
209
],
[
204,
210
],
[
210,
211
],
[
190,
212
],
[
212,
213
],
[
188,
214
],
[
214,
215
],
[
309,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
218,
222
],
[
222,
223
],
[
223,
224
],
[
222,
225
],
[
218,
226
],
[
226,
227
],
[
226,
228
],
[
218,
229
],
[
229,
230
],
[
229,
231
],
[
218,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
233,
237
],
[
232,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
245,
246
],
[
244,
247
],
[
238,
248
],
[
248,
249
],
[
248,
250
],
[
248,
251
],
[
252,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
253,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
258,
261
],
[
257,
262
],
[
252,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
264,
268
],
[
263,
269
],
[
218,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
271,
274
],
[
274,
275
],
[
275,
276
],
[
276,
277
],
[
274,
278
],
[
216,
279
],
[
279,
280
],
[
309,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
284,
289
],
[
291,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
290,
294
],
[
291,
295
],
[
281,
296
],
[
296,
297
],
[
281,
298
],
[
298,
299
],
[
309,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
300,
306
],
[
306,
307
],
[
0,
308
],
[
308,
309
],
[
308,
310
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.*;\n\npublic class Main {\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final String LINE_SPR = System.getProperty(\"line.separator\");\n final int BIG_MOD = 1000000007;\n\n void run() throws Exception {\n String line;\n while((line = br.readLine()) != null) {\n String[] nums = line.split(\" \");\n int a = Integer.parseInt(nums[0]);\n int b = Integer.parseInt(nums[1]);\n int sum = a + b;\n int c = 0;\n while(sum > 0) {\n sum /= 10;\n c++;\n }\n System.out.println(c);\n }\n }\n\n\n /*\n * Templates\n */\n void dumpObjArr(Object[] arr, int n) {\n for(int i = 0; i < n; i++) {\n System.out.print(arr[i]);\n if(i < n - 1)\n System.out.print(\" \");\n }\n System.out.println(\"\");\n }\n\n void dumpObjArr2(Object[][] arr, int m, int n) {\n for(int j = 0; j < m; j++) \n dumpObjArr(arr[j], n);\n }\n\n int ni() throws Exception {\n return Integer.parseInt(br.readLine().trim());\n }\n\n long nl() throws Exception {\n return Long.parseLong(br.readLine().trim());\n }\n\n String ns() throws Exception {\n return br.readLine();\n }\n\n boolean isPrime(int n) {\n for(int i=2;i<n;i++) {\n if(n%i==0)\n return false;\n }\n return true;\n }\n\n int getPrime(int n) {\n List<Integer> primes = new ArrayList<Integer>();\n primes.add(2);\n int count = 1;\n\n int x = 1;\n while(primes.size() < n) {\n x+=2;\n int m = (int)Math.sqrt(x);\n for(int p : primes) {\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }\n }\n\n return primes.get(primes.size() - 1);\n }\n\n void gcjPrint(String str, int t) {\n System.out.println(\"Case #\" + t + \": \" + str);\n }\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final String LINE_SPR = System.getProperty(\"line.separator\");\n final int BIG_MOD = 1000000007;\n\n void run() throws Exception {\n String line;\n while((line = br.readLine()) != null) {\n String[] nums = line.split(\" \");\n int a = Integer.parseInt(nums[0]);\n int b = Integer.parseInt(nums[1]);\n int sum = a + b;\n int c = 0;\n while(sum > 0) {\n sum /= 10;\n c++;\n }\n System.out.println(c);\n }\n }\n\n\n /*\n * Templates\n */\n void dumpObjArr(Object[] arr, int n) {\n for(int i = 0; i < n; i++) {\n System.out.print(arr[i]);\n if(i < n - 1)\n System.out.print(\" \");\n }\n System.out.println(\"\");\n }\n\n void dumpObjArr2(Object[][] arr, int m, int n) {\n for(int j = 0; j < m; j++) \n dumpObjArr(arr[j], n);\n }\n\n int ni() throws Exception {\n return Integer.parseInt(br.readLine().trim());\n }\n\n long nl() throws Exception {\n return Long.parseLong(br.readLine().trim());\n }\n\n String ns() throws Exception {\n return br.readLine();\n }\n\n boolean isPrime(int n) {\n for(int i=2;i<n;i++) {\n if(n%i==0)\n return false;\n }\n return true;\n }\n\n int getPrime(int n) {\n List<Integer> primes = new ArrayList<Integer>();\n primes.add(2);\n int count = 1;\n\n int x = 1;\n while(primes.size() < n) {\n x+=2;\n int m = (int)Math.sqrt(x);\n for(int p : primes) {\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }\n }\n\n return primes.get(primes.size() - 1);\n }\n\n void gcjPrint(String str, int t) {\n System.out.println(\"Case #\" + t + \": \" + str);\n }\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n}",
"Main",
"final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"final String LINE_SPR = System.getProperty(\"line.separator\");",
"LINE_SPR",
"System.getProperty(\"line.separator\")",
"System.getProperty",
"System",
"\"line.separator\"",
"final int BIG_MOD = 1000000007;",
"BIG_MOD",
"1000000007",
"void run() throws Exception {\n String line;\n while((line = br.readLine()) != null) {\n String[] nums = line.split(\" \");\n int a = Integer.parseInt(nums[0]);\n int b = Integer.parseInt(nums[1]);\n int sum = a + b;\n int c = 0;\n while(sum > 0) {\n sum /= 10;\n c++;\n }\n System.out.println(c);\n }\n }",
"run",
"{\n String line;\n while((line = br.readLine()) != null) {\n String[] nums = line.split(\" \");\n int a = Integer.parseInt(nums[0]);\n int b = Integer.parseInt(nums[1]);\n int sum = a + b;\n int c = 0;\n while(sum > 0) {\n sum /= 10;\n c++;\n }\n System.out.println(c);\n }\n }",
"String line;",
"line",
"while((line = br.readLine()) != null) {\n String[] nums = line.split(\" \");\n int a = Integer.parseInt(nums[0]);\n int b = Integer.parseInt(nums[1]);\n int sum = a + b;\n int c = 0;\n while(sum > 0) {\n sum /= 10;\n c++;\n }\n System.out.println(c);\n }",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n String[] nums = line.split(\" \");\n int a = Integer.parseInt(nums[0]);\n int b = Integer.parseInt(nums[1]);\n int sum = a + b;\n int c = 0;\n while(sum > 0) {\n sum /= 10;\n c++;\n }\n System.out.println(c);\n }",
"String[] nums = line.split(\" \");",
"nums",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int a = Integer.parseInt(nums[0]);",
"a",
"Integer.parseInt(nums[0])",
"Integer.parseInt",
"Integer",
"nums[0]",
"nums",
"0",
"int b = Integer.parseInt(nums[1]);",
"b",
"Integer.parseInt(nums[1])",
"Integer.parseInt",
"Integer",
"nums[1]",
"nums",
"1",
"int sum = a + b;",
"sum",
"a + b",
"a",
"b",
"int c = 0;",
"c",
"0",
"while(sum > 0) {\n sum /= 10;\n c++;\n }",
"sum > 0",
"sum",
"0",
"{\n sum /= 10;\n c++;\n }",
"sum /= 10",
"sum",
"10",
"c++",
"c",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"/*\n * Templates\n */\n void dumpObjArr(Object[] arr, int n) {\n for(int i = 0; i < n; i++) {\n System.out.print(arr[i]);\n if(i < n - 1)\n System.out.print(\" \");\n }\n System.out.println(\"\");\n }",
"dumpObjArr",
"{\n for(int i = 0; i < n; i++) {\n System.out.print(arr[i]);\n if(i < n - 1)\n System.out.print(\" \");\n }\n System.out.println(\"\");\n }",
"for(int i = 0; i < n; i++) {\n System.out.print(arr[i]);\n if(i < n - 1)\n System.out.print(\" \");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n System.out.print(arr[i]);\n if(i < n - 1)\n System.out.print(\" \");\n }",
"{\n System.out.print(arr[i]);\n if(i < n - 1)\n System.out.print(\" \");\n }",
"System.out.print(arr[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"arr[i]",
"arr",
"i",
"if(i < n - 1)\n System.out.print(\" \");",
"i < n - 1",
"i",
"n - 1",
"n",
"1",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"Object[] arr",
"arr",
"int n",
"n",
"void dumpObjArr2(Object[][] arr, int m, int n) {\n for(int j = 0; j < m; j++) \n dumpObjArr(arr[j], n);\n }",
"dumpObjArr2",
"{\n for(int j = 0; j < m; j++) \n dumpObjArr(arr[j], n);\n }",
"for(int j = 0; j < m; j++) \n dumpObjArr(arr[j], n);",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < m",
"j",
"m",
"j++",
"j++",
"j",
"dumpObjArr(arr[j], n);",
"dumpObjArr(arr[j], n)",
"dumpObjArr",
"arr[j]",
"arr",
"j",
"n",
"Object[][] arr",
"arr",
"int m",
"m",
"int n",
"n",
"int ni() throws Exception {\n return Integer.parseInt(br.readLine().trim());\n }",
"ni",
"{\n return Integer.parseInt(br.readLine().trim());\n }",
"return Integer.parseInt(br.readLine().trim());",
"Integer.parseInt(br.readLine().trim())",
"Integer.parseInt",
"Integer",
"br.readLine().trim()",
"br.readLine().trim",
"br.readLine()",
"br.readLine",
"br",
"long nl() throws Exception {\n return Long.parseLong(br.readLine().trim());\n }",
"nl",
"{\n return Long.parseLong(br.readLine().trim());\n }",
"return Long.parseLong(br.readLine().trim());",
"Long.parseLong(br.readLine().trim())",
"Long.parseLong",
"Long",
"br.readLine().trim()",
"br.readLine().trim",
"br.readLine()",
"br.readLine",
"br",
"String ns() throws Exception {\n return br.readLine();\n }",
"ns",
"{\n return br.readLine();\n }",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"boolean isPrime(int n) {\n for(int i=2;i<n;i++) {\n if(n%i==0)\n return false;\n }\n return true;\n }",
"isPrime",
"{\n for(int i=2;i<n;i++) {\n if(n%i==0)\n return false;\n }\n return true;\n }",
"for(int i=2;i<n;i++) {\n if(n%i==0)\n return false;\n }",
"int i=2;",
"int i=2;",
"i",
"2",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n if(n%i==0)\n return false;\n }",
"{\n if(n%i==0)\n return false;\n }",
"if(n%i==0)\n return false;",
"n%i==0",
"n%i",
"n",
"i",
"0",
"return false;",
"false",
"return true;",
"true",
"int n",
"n",
"int getPrime(int n) {\n List<Integer> primes = new ArrayList<Integer>();\n primes.add(2);\n int count = 1;\n\n int x = 1;\n while(primes.size() < n) {\n x+=2;\n int m = (int)Math.sqrt(x);\n for(int p : primes) {\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }\n }\n\n return primes.get(primes.size() - 1);\n }",
"getPrime",
"{\n List<Integer> primes = new ArrayList<Integer>();\n primes.add(2);\n int count = 1;\n\n int x = 1;\n while(primes.size() < n) {\n x+=2;\n int m = (int)Math.sqrt(x);\n for(int p : primes) {\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }\n }\n\n return primes.get(primes.size() - 1);\n }",
"List<Integer> primes = new ArrayList<Integer>();",
"primes",
"new ArrayList<Integer>()",
"primes.add(2)",
"primes.add",
"primes",
"2",
"int count = 1;",
"count",
"1",
"int x = 1;",
"x",
"1",
"while(primes.size() < n) {\n x+=2;\n int m = (int)Math.sqrt(x);\n for(int p : primes) {\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }\n }",
"primes.size() < n",
"primes.size()",
"primes.size",
"primes",
"n",
"{\n x+=2;\n int m = (int)Math.sqrt(x);\n for(int p : primes) {\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }\n }",
"x+=2",
"x",
"2",
"int m = (int)Math.sqrt(x);",
"m",
"(int)Math.sqrt(x)",
"Math.sqrt",
"Math",
"x",
"for(int p : primes) {\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }",
"int p",
"primes",
"{\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }",
"{\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }",
"if(p > m) {\n primes.add(x);\n break;\n }",
"p > m",
"p",
"m",
"{\n primes.add(x);\n break;\n }",
"primes.add(x)",
"primes.add",
"primes",
"x",
"break;",
"if(x % p == 0) \n break;",
"x % p == 0",
"x % p",
"x",
"p",
"0",
"break;",
"return primes.get(primes.size() - 1);",
"primes.get(primes.size() - 1)",
"primes.get",
"primes",
"primes.size() - 1",
"primes.size()",
"primes.size",
"primes",
"1",
"int n",
"n",
"void gcjPrint(String str, int t) {\n System.out.println(\"Case #\" + t + \": \" + str);\n }",
"gcjPrint",
"{\n System.out.println(\"Case #\" + t + \": \" + str);\n }",
"System.out.println(\"Case #\" + t + \": \" + str)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case #\" + t + \": \" + str",
"\": \"",
"\"Case #\" + t + \": \" + str",
"\"Case #\"",
"t",
"\": \"",
"str",
"String str",
"str",
"int t",
"t",
"public static void main(String[] args) throws Exception {\n new Main().run();\n }",
"main",
"{\n new Main().run();\n }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public class Main {\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final String LINE_SPR = System.getProperty(\"line.separator\");\n final int BIG_MOD = 1000000007;\n\n void run() throws Exception {\n String line;\n while((line = br.readLine()) != null) {\n String[] nums = line.split(\" \");\n int a = Integer.parseInt(nums[0]);\n int b = Integer.parseInt(nums[1]);\n int sum = a + b;\n int c = 0;\n while(sum > 0) {\n sum /= 10;\n c++;\n }\n System.out.println(c);\n }\n }\n\n\n /*\n * Templates\n */\n void dumpObjArr(Object[] arr, int n) {\n for(int i = 0; i < n; i++) {\n System.out.print(arr[i]);\n if(i < n - 1)\n System.out.print(\" \");\n }\n System.out.println(\"\");\n }\n\n void dumpObjArr2(Object[][] arr, int m, int n) {\n for(int j = 0; j < m; j++) \n dumpObjArr(arr[j], n);\n }\n\n int ni() throws Exception {\n return Integer.parseInt(br.readLine().trim());\n }\n\n long nl() throws Exception {\n return Long.parseLong(br.readLine().trim());\n }\n\n String ns() throws Exception {\n return br.readLine();\n }\n\n boolean isPrime(int n) {\n for(int i=2;i<n;i++) {\n if(n%i==0)\n return false;\n }\n return true;\n }\n\n int getPrime(int n) {\n List<Integer> primes = new ArrayList<Integer>();\n primes.add(2);\n int count = 1;\n\n int x = 1;\n while(primes.size() < n) {\n x+=2;\n int m = (int)Math.sqrt(x);\n for(int p : primes) {\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }\n }\n\n return primes.get(primes.size() - 1);\n }\n\n void gcjPrint(String str, int t) {\n System.out.println(\"Case #\" + t + \": \" + str);\n }\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n}",
"public class Main {\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final String LINE_SPR = System.getProperty(\"line.separator\");\n final int BIG_MOD = 1000000007;\n\n void run() throws Exception {\n String line;\n while((line = br.readLine()) != null) {\n String[] nums = line.split(\" \");\n int a = Integer.parseInt(nums[0]);\n int b = Integer.parseInt(nums[1]);\n int sum = a + b;\n int c = 0;\n while(sum > 0) {\n sum /= 10;\n c++;\n }\n System.out.println(c);\n }\n }\n\n\n /*\n * Templates\n */\n void dumpObjArr(Object[] arr, int n) {\n for(int i = 0; i < n; i++) {\n System.out.print(arr[i]);\n if(i < n - 1)\n System.out.print(\" \");\n }\n System.out.println(\"\");\n }\n\n void dumpObjArr2(Object[][] arr, int m, int n) {\n for(int j = 0; j < m; j++) \n dumpObjArr(arr[j], n);\n }\n\n int ni() throws Exception {\n return Integer.parseInt(br.readLine().trim());\n }\n\n long nl() throws Exception {\n return Long.parseLong(br.readLine().trim());\n }\n\n String ns() throws Exception {\n return br.readLine();\n }\n\n boolean isPrime(int n) {\n for(int i=2;i<n;i++) {\n if(n%i==0)\n return false;\n }\n return true;\n }\n\n int getPrime(int n) {\n List<Integer> primes = new ArrayList<Integer>();\n primes.add(2);\n int count = 1;\n\n int x = 1;\n while(primes.size() < n) {\n x+=2;\n int m = (int)Math.sqrt(x);\n for(int p : primes) {\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }\n }\n\n return primes.get(primes.size() - 1);\n }\n\n void gcjPrint(String str, int t) {\n System.out.println(\"Case #\" + t + \": \" + str);\n }\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
public class Main {
final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
final String LINE_SPR = System.getProperty("line.separator");
final int BIG_MOD = 1000000007;
void run() throws Exception {
String line;
while((line = br.readLine()) != null) {
String[] nums = line.split(" ");
int a = Integer.parseInt(nums[0]);
int b = Integer.parseInt(nums[1]);
int sum = a + b;
int c = 0;
while(sum > 0) {
sum /= 10;
c++;
}
System.out.println(c);
}
}
/*
* Templates
*/
void dumpObjArr(Object[] arr, int n) {
for(int i = 0; i < n; i++) {
System.out.print(arr[i]);
if(i < n - 1)
System.out.print(" ");
}
System.out.println("");
}
void dumpObjArr2(Object[][] arr, int m, int n) {
for(int j = 0; j < m; j++)
dumpObjArr(arr[j], n);
}
int ni() throws Exception {
return Integer.parseInt(br.readLine().trim());
}
long nl() throws Exception {
return Long.parseLong(br.readLine().trim());
}
String ns() throws Exception {
return br.readLine();
}
boolean isPrime(int n) {
for(int i=2;i<n;i++) {
if(n%i==0)
return false;
}
return true;
}
int getPrime(int n) {
List<Integer> primes = new ArrayList<Integer>();
primes.add(2);
int count = 1;
int x = 1;
while(primes.size() < n) {
x+=2;
int m = (int)Math.sqrt(x);
for(int p : primes) {
if(p > m) {
primes.add(x);
break;
}
if(x % p == 0)
break;
}
}
return primes.get(primes.size() - 1);
}
void gcjPrint(String str, int t) {
System.out.println("Case #" + t + ": " + str);
}
public static void main(String[] args) throws Exception {
new Main().run();
}
} |
[
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,
0,
13,
2,
13,
17,
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
],
[
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
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"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\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\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\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\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\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\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",
"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\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\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);
i= i+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,
41,
13,
17,
41,
13,
2,
13,
13,
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
],
[
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
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
16,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
16,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
16,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\twhile (stdIn.hasNextInt()) {\n\t\t\tint n = stdIn.nextInt();\n\t\t\tint i = stdIn.nextInt();\n\t\t\tint cou = 0;\n\t\t\tint ni=n+i;\n\t\t\twhile(ni>0){\n\t\t\t\tni/=10;\n\t\t\t\tcou++;\n\t\t\t}\n\t\t\tSystem.out.println(cou);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\twhile (stdIn.hasNextInt()) {\n\t\t\tint n = stdIn.nextInt();\n\t\t\tint i = stdIn.nextInt();\n\t\t\tint cou = 0;\n\t\t\tint ni=n+i;\n\t\t\twhile(ni>0){\n\t\t\t\tni/=10;\n\t\t\t\tcou++;\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\tScanner stdIn = new Scanner(System.in);\n\t\twhile (stdIn.hasNextInt()) {\n\t\t\tint n = stdIn.nextInt();\n\t\t\tint i = stdIn.nextInt();\n\t\t\tint cou = 0;\n\t\t\tint ni=n+i;\n\t\t\twhile(ni>0){\n\t\t\t\tni/=10;\n\t\t\t\tcou++;\n\t\t\t}\n\t\t\tSystem.out.println(cou);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\twhile (stdIn.hasNextInt()) {\n\t\t\tint n = stdIn.nextInt();\n\t\t\tint i = stdIn.nextInt();\n\t\t\tint cou = 0;\n\t\t\tint ni=n+i;\n\t\t\twhile(ni>0){\n\t\t\t\tni/=10;\n\t\t\t\tcou++;\n\t\t\t}\n\t\t\tSystem.out.println(cou);\n\t\t}\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"while (stdIn.hasNextInt()) {\n\t\t\tint n = stdIn.nextInt();\n\t\t\tint i = stdIn.nextInt();\n\t\t\tint cou = 0;\n\t\t\tint ni=n+i;\n\t\t\twhile(ni>0){\n\t\t\t\tni/=10;\n\t\t\t\tcou++;\n\t\t\t}\n\t\t\tSystem.out.println(cou);\n\t\t}",
"stdIn.hasNextInt()",
"stdIn.hasNextInt",
"stdIn",
"{\n\t\t\tint n = stdIn.nextInt();\n\t\t\tint i = stdIn.nextInt();\n\t\t\tint cou = 0;\n\t\t\tint ni=n+i;\n\t\t\twhile(ni>0){\n\t\t\t\tni/=10;\n\t\t\t\tcou++;\n\t\t\t}\n\t\t\tSystem.out.println(cou);\n\t\t}",
"int n = stdIn.nextInt();",
"n",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int i = stdIn.nextInt();",
"i",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int cou = 0;",
"cou",
"0",
"int ni=n+i;",
"ni",
"n+i",
"n",
"i",
"while(ni>0){\n\t\t\t\tni/=10;\n\t\t\t\tcou++;\n\t\t\t}",
"ni>0",
"ni",
"0",
"{\n\t\t\t\tni/=10;\n\t\t\t\tcou++;\n\t\t\t}",
"ni/=10",
"ni",
"10",
"cou++",
"cou",
"System.out.println(cou)",
"System.out.println",
"System.out",
"System",
"System.out",
"cou",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\twhile (stdIn.hasNextInt()) {\n\t\t\tint n = stdIn.nextInt();\n\t\t\tint i = stdIn.nextInt();\n\t\t\tint cou = 0;\n\t\t\tint ni=n+i;\n\t\t\twhile(ni>0){\n\t\t\t\tni/=10;\n\t\t\t\tcou++;\n\t\t\t}\n\t\t\tSystem.out.println(cou);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\twhile (stdIn.hasNextInt()) {\n\t\t\tint n = stdIn.nextInt();\n\t\t\tint i = stdIn.nextInt();\n\t\t\tint cou = 0;\n\t\t\tint ni=n+i;\n\t\t\twhile(ni>0){\n\t\t\t\tni/=10;\n\t\t\t\tcou++;\n\t\t\t}\n\t\t\tSystem.out.println(cou);\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
while (stdIn.hasNextInt()) {
int n = stdIn.nextInt();
int i = stdIn.nextInt();
int cou = 0;
int ni=n+i;
while(ni>0){
ni/=10;
cou++;
}
System.out.println(cou);
}
}
} |
[
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,
2,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
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
],
[
33,
35
],
[
6,
36
],
[
36,
37
]
] | [
"import java.util.Scanner;\n\n//Digit Number\nclass Main {\n\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()+sc.nextInt();\n\t\t\tSystem.out.println((a+\"\").length());\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a=sc.nextInt()+sc.nextInt();\n\t\t\tSystem.out.println((a+\"\").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.hasNext()){\n\t\t\tint a=sc.nextInt()+sc.nextInt();\n\t\t\tSystem.out.println((a+\"\").length());\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a=sc.nextInt()+sc.nextInt();\n\t\t\tSystem.out.println((a+\"\").length());\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()+sc.nextInt();\n\t\t\tSystem.out.println((a+\"\").length());\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tint a=sc.nextInt()+sc.nextInt();\n\t\t\tSystem.out.println((a+\"\").length());\n\t\t}",
"int a=sc.nextInt()+sc.nextInt();",
"a",
"sc.nextInt()+sc.nextInt()",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println((a+\"\").length())",
"System.out.println",
"System.out",
"System",
"System.out",
"(a+\"\").length()",
"(a+\"\").length",
"(a+\"\")",
"a",
"\"\"",
"String[] args",
"args"
] | import java.util.Scanner;
//Digit Number
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
int a=sc.nextInt()+sc.nextInt();
System.out.println((a+"").length());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
19,
35
],
[
35,
36
],
[
35,
37
],
[
19,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
19,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
9,
54
],
[
54,
55
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n while (sc.hasNextInt()) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n int val = a+b;\n int cnt = 0;\n while(val > 0) {\n cnt++;\n val /= 10;\n }\n System.out.println(cnt);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n while (sc.hasNextInt()) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n int val = a+b;\n int cnt = 0;\n while(val > 0) {\n cnt++;\n val /= 10;\n }\n System.out.println(cnt);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n while (sc.hasNextInt()) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n int val = a+b;\n int cnt = 0;\n while(val > 0) {\n cnt++;\n val /= 10;\n }\n System.out.println(cnt);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n while (sc.hasNextInt()) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n int val = a+b;\n int cnt = 0;\n while(val > 0) {\n cnt++;\n val /= 10;\n }\n System.out.println(cnt);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNextInt()) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n int val = a+b;\n int cnt = 0;\n while(val > 0) {\n cnt++;\n val /= 10;\n }\n System.out.println(cnt);\n }",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n int a = sc.nextInt();\n int b = sc.nextInt();\n int val = a+b;\n int cnt = 0;\n while(val > 0) {\n cnt++;\n val /= 10;\n }\n System.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 val = a+b;",
"val",
"a+b",
"a",
"b",
"int cnt = 0;",
"cnt",
"0",
"while(val > 0) {\n cnt++;\n val /= 10;\n }",
"val > 0",
"val",
"0",
"{\n cnt++;\n val /= 10;\n }",
"cnt++",
"cnt",
"val /= 10",
"val",
"10",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"String[] args",
"args"
] | import java.io.*;
import java.util.*;
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();
int val = a+b;
int cnt = 0;
while(val > 0) {
cnt++;
val /= 10;
}
System.out.println(cnt);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
17,
41,
13,
20,
42,
4,
18,
13,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
2,
18,
13,
13,
18,
13,
13,
40,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
27,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
62,
64
],
[
27,
65
],
[
65,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
6,
70
],
[
70,
71
]
] | [
"import java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] a){\n\t\tint num1[] = new int[200];\n\t\tint num2[] = new int[200];\n\t\tint i = 0;\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\n\t\t\tnum1[i] = Integer.parseInt(scanner.next());\n\t\t\tnum2[i] = Integer.parseInt(scanner.next());\n\t\t\tSystem.out.println(String.valueOf(num1[i] + num2[i]).length());\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tscanner.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String[] a){\n\t\tint num1[] = new int[200];\n\t\tint num2[] = new int[200];\n\t\tint i = 0;\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\n\t\t\tnum1[i] = Integer.parseInt(scanner.next());\n\t\t\tnum2[i] = Integer.parseInt(scanner.next());\n\t\t\tSystem.out.println(String.valueOf(num1[i] + num2[i]).length());\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tscanner.close();\n\t}\n}",
"Main",
"public static void main(String[] a){\n\t\tint num1[] = new int[200];\n\t\tint num2[] = new int[200];\n\t\tint i = 0;\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\n\t\t\tnum1[i] = Integer.parseInt(scanner.next());\n\t\t\tnum2[i] = Integer.parseInt(scanner.next());\n\t\t\tSystem.out.println(String.valueOf(num1[i] + num2[i]).length());\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tscanner.close();\n\t}",
"main",
"{\n\t\tint num1[] = new int[200];\n\t\tint num2[] = new int[200];\n\t\tint i = 0;\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\n\t\t\tnum1[i] = Integer.parseInt(scanner.next());\n\t\t\tnum2[i] = Integer.parseInt(scanner.next());\n\t\t\tSystem.out.println(String.valueOf(num1[i] + num2[i]).length());\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tscanner.close();\n\t}",
"int num1[] = new int[200];",
"num1",
"new int[200]",
"200",
"int num2[] = new int[200];",
"num2",
"new int[200]",
"200",
"int i = 0;",
"i",
"0",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while(scanner.hasNext()){\n\t\t\tnum1[i] = Integer.parseInt(scanner.next());\n\t\t\tnum2[i] = Integer.parseInt(scanner.next());\n\t\t\tSystem.out.println(String.valueOf(num1[i] + num2[i]).length());\n\t\t\ti++;\n\t\t}",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n\t\t\tnum1[i] = Integer.parseInt(scanner.next());\n\t\t\tnum2[i] = Integer.parseInt(scanner.next());\n\t\t\tSystem.out.println(String.valueOf(num1[i] + num2[i]).length());\n\t\t\ti++;\n\t\t}",
"num1[i] = Integer.parseInt(scanner.next())",
"num1[i]",
"num1",
"i",
"Integer.parseInt(scanner.next())",
"Integer.parseInt",
"Integer",
"scanner.next()",
"scanner.next",
"scanner",
"num2[i] = Integer.parseInt(scanner.next())",
"num2[i]",
"num2",
"i",
"Integer.parseInt(scanner.next())",
"Integer.parseInt",
"Integer",
"scanner.next()",
"scanner.next",
"scanner",
"System.out.println(String.valueOf(num1[i] + num2[i]).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(num1[i] + num2[i]).length()",
"String.valueOf(num1[i] + num2[i]).length",
"String.valueOf(num1[i] + num2[i])",
"String.valueOf",
"String",
"num1[i] + num2[i]",
"num1[i]",
"num1",
"i",
"num2[i]",
"num2",
"i",
"i++",
"i",
"scanner.close()",
"scanner.close",
"scanner",
"String[] a",
"a"
] | import java.util.Scanner;
class Main{
public static void main(String[] a){
int num1[] = new int[200];
int num2[] = new int[200];
int i = 0;
Scanner scanner = new Scanner(System.in);
while(scanner.hasNext()){
num1[i] = Integer.parseInt(scanner.next());
num2[i] = Integer.parseInt(scanner.next());
System.out.println(String.valueOf(num1[i] + num2[i]).length());
i++;
}
scanner.close();
}
}
|
[
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,
41,
13,
17,
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
],
[
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
],
[
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
],
[
22,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
45,
51
],
[
51,
52
],
[
22,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
12,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] | [
"/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choose Tools | Templates\n * and open the template in the editor.\n */\n//package aojdigitnumber;\n\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\n/**\n *\n * @author in2\n */\npublic class Main {\n\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) {\n // TODO code application logic here\n \n Scanner sc = new Scanner(System.in);\n while( sc.hasNext() ){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = a + b;\n int count = 0;\n while(c!=0){\n c = c/10;\n count++;\n }\n System.out.println(count);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) {\n // TODO code application logic here\n \n Scanner sc = new Scanner(System.in);\n while( sc.hasNext() ){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = a + b;\n int count = 0;\n while(c!=0){\n c = c/10;\n count++;\n }\n System.out.println(count);\n }\n }\n}",
"Main",
"/**\n * @param args the command line arguments\n */\n public static void main(String[] args) {\n // TODO code application logic here\n \n Scanner sc = new Scanner(System.in);\n while( sc.hasNext() ){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = a + b;\n int count = 0;\n while(c!=0){\n c = c/10;\n count++;\n }\n System.out.println(count);\n }\n }",
"main",
"{\n // TODO code application logic here\n \n Scanner sc = new Scanner(System.in);\n while( sc.hasNext() ){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = a + b;\n int count = 0;\n while(c!=0){\n c = c/10;\n count++;\n }\n System.out.println(count);\n }\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 c = a + b;\n int count = 0;\n while(c!=0){\n c = c/10;\n count++;\n }\n System.out.println(count);\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = a + b;\n int count = 0;\n while(c!=0){\n c = c/10;\n count++;\n }\n System.out.println(count);\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 count = 0;",
"count",
"0",
"while(c!=0){\n c = c/10;\n count++;\n }",
"c!=0",
"c",
"0",
"{\n c = c/10;\n count++;\n }",
"c = c/10",
"c",
"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\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) {\n // TODO code application logic here\n \n Scanner sc = new Scanner(System.in);\n while( sc.hasNext() ){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = a + b;\n int count = 0;\n while(c!=0){\n c = c/10;\n count++;\n }\n System.out.println(count);\n }\n }\n}",
"public class Main {\n\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) {\n // TODO code application logic here\n \n Scanner sc = new Scanner(System.in);\n while( sc.hasNext() ){\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = a + b;\n int count = 0;\n while(c!=0){\n c = c/10;\n count++;\n }\n System.out.println(count);\n }\n }\n}",
"Main"
] | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
//package aojdigitnumber;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;
/**
*
* @author in2
*/
public class Main {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
Scanner sc = new Scanner(System.in);
while( sc.hasNext() ){
int a = sc.nextInt();
int b = sc.nextInt();
int c = a + b;
int count = 0;
while(c!=0){
c = c/10;
count++;
}
System.out.println(count);
}
}
} |
[
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,
4,
18,
13,
17,
41,
13,
20,
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,
13,
2,
18,
13,
17,
18,
13,
17,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
2,
13,
17,
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
],
[
94,
11
],
[
94,
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
],
[
27,
28
],
[
28,
29
],
[
25,
30
],
[
22,
31
],
[
31,
32
],
[
31,
33
],
[
22,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
22,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
22,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
66,
68
],
[
12,
69
],
[
69,
70
],
[
94,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
77,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
73,
89
],
[
89,
90
],
[
71,
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\n public static void main(String[] args) throws IOException {\n\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n while (input.ready()) {\n String numStr[] = input.readLine().split(\" \");\n int num[] = new int[2];\n num[0] = Integer.parseInt(numStr[0]);\n num[1] = Integer.parseInt(numStr[1]);\n\n System.out.println(getDigitNumber(num[0] + num[1]));\n\n ;\n }\n }\n\n public static int getDigitNumber(int num) {\n\n int digit = 1;\n while (num / 10 >= 1) {\n num /= 10;\n digit++;\n }\n return digit;\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 BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n while (input.ready()) {\n String numStr[] = input.readLine().split(\" \");\n int num[] = new int[2];\n num[0] = Integer.parseInt(numStr[0]);\n num[1] = Integer.parseInt(numStr[1]);\n\n System.out.println(getDigitNumber(num[0] + num[1]));\n\n ;\n }\n }\n\n public static int getDigitNumber(int num) {\n\n int digit = 1;\n while (num / 10 >= 1) {\n num /= 10;\n digit++;\n }\n return digit;\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n while (input.ready()) {\n String numStr[] = input.readLine().split(\" \");\n int num[] = new int[2];\n num[0] = Integer.parseInt(numStr[0]);\n num[1] = Integer.parseInt(numStr[1]);\n\n System.out.println(getDigitNumber(num[0] + num[1]));\n\n ;\n }\n }",
"main",
"{\n\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n while (input.ready()) {\n String numStr[] = input.readLine().split(\" \");\n int num[] = new int[2];\n num[0] = Integer.parseInt(numStr[0]);\n num[1] = Integer.parseInt(numStr[1]);\n\n System.out.println(getDigitNumber(num[0] + num[1]));\n\n ;\n }\n }",
"BufferedReader input = new BufferedReader(new InputStreamReader(System.in));",
"input",
"new BufferedReader(new InputStreamReader(System.in))",
"while (input.ready()) {\n String numStr[] = input.readLine().split(\" \");\n int num[] = new int[2];\n num[0] = Integer.parseInt(numStr[0]);\n num[1] = Integer.parseInt(numStr[1]);\n\n System.out.println(getDigitNumber(num[0] + num[1]));\n\n ;\n }",
"input.ready()",
"input.ready",
"input",
"{\n String numStr[] = input.readLine().split(\" \");\n int num[] = new int[2];\n num[0] = Integer.parseInt(numStr[0]);\n num[1] = Integer.parseInt(numStr[1]);\n\n System.out.println(getDigitNumber(num[0] + num[1]));\n\n ;\n }",
"String numStr[] = input.readLine().split(\" \");",
"numStr",
"input.readLine().split(\" \")",
"input.readLine().split",
"input.readLine()",
"input.readLine",
"input",
"\" \"",
"int num[] = new int[2];",
"num",
"new int[2]",
"2",
"num[0] = Integer.parseInt(numStr[0])",
"num[0]",
"num",
"0",
"Integer.parseInt(numStr[0])",
"Integer.parseInt",
"Integer",
"numStr[0]",
"numStr",
"0",
"num[1] = Integer.parseInt(numStr[1])",
"num[1]",
"num",
"1",
"Integer.parseInt(numStr[1])",
"Integer.parseInt",
"Integer",
"numStr[1]",
"numStr",
"1",
"System.out.println(getDigitNumber(num[0] + num[1]))",
"System.out.println",
"System.out",
"System",
"System.out",
"getDigitNumber(num[0] + num[1])",
"getDigitNumber",
"num[0] + num[1]",
"num[0]",
"num",
"0",
"num[1]",
"num",
"1",
"String[] args",
"args",
"public static int getDigitNumber(int num) {\n\n int digit = 1;\n while (num / 10 >= 1) {\n num /= 10;\n digit++;\n }\n return digit;\n }",
"getDigitNumber",
"{\n\n int digit = 1;\n while (num / 10 >= 1) {\n num /= 10;\n digit++;\n }\n return digit;\n }",
"int digit = 1;",
"digit",
"1",
"while (num / 10 >= 1) {\n num /= 10;\n digit++;\n }",
"num / 10 >= 1",
"num / 10",
"num",
"10",
"1",
"{\n num /= 10;\n digit++;\n }",
"num /= 10",
"num",
"10",
"digit++",
"digit",
"return digit;",
"digit",
"int num",
"num",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n while (input.ready()) {\n String numStr[] = input.readLine().split(\" \");\n int num[] = new int[2];\n num[0] = Integer.parseInt(numStr[0]);\n num[1] = Integer.parseInt(numStr[1]);\n\n System.out.println(getDigitNumber(num[0] + num[1]));\n\n ;\n }\n }\n\n public static int getDigitNumber(int num) {\n\n int digit = 1;\n while (num / 10 >= 1) {\n num /= 10;\n digit++;\n }\n return digit;\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n while (input.ready()) {\n String numStr[] = input.readLine().split(\" \");\n int num[] = new int[2];\n num[0] = Integer.parseInt(numStr[0]);\n num[1] = Integer.parseInt(numStr[1]);\n\n System.out.println(getDigitNumber(num[0] + num[1]));\n\n ;\n }\n }\n\n public static int getDigitNumber(int num) {\n\n int digit = 1;\n while (num / 10 >= 1) {\n num /= 10;\n digit++;\n }\n return digit;\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 input = new BufferedReader(new InputStreamReader(System.in));
while (input.ready()) {
String numStr[] = input.readLine().split(" ");
int num[] = new int[2];
num[0] = Integer.parseInt(numStr[0]);
num[1] = Integer.parseInt(numStr[1]);
System.out.println(getDigitNumber(num[0] + num[1]));
;
}
}
public static int getDigitNumber(int num) {
int digit = 1;
while (num / 10 >= 1) {
num /= 10;
digit++;
}
return digit;
}
} |
[
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,
17,
30,
40,
13,
0,
13,
17,
14,
2,
13,
17,
3,
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
],
[
29,
30
],
[
29,
31
],
[
16,
32
],
[
32,
33
],
[
32,
34
],
[
16,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
37,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
16,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
6,
54
],
[
54,
55
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\twhile(sc.hasNext()){\n\t int a=sc.nextInt();\n\t int b=sc.nextInt();\n\t int sum=a+b;\n\t int count=0;\n\t while(true){\n\t\tcount++;\n\t\tsum/=10;\n\t\tif(sum==0) break;\n\t }\n\t System.out.println(count);\n\t}\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\twhile(sc.hasNext()){\n\t int a=sc.nextInt();\n\t int b=sc.nextInt();\n\t int sum=a+b;\n\t int count=0;\n\t while(true){\n\t\tcount++;\n\t\tsum/=10;\n\t\tif(sum==0) break;\n\t }\n\t System.out.println(count);\n\t}\n }\n}",
"Main",
"public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\twhile(sc.hasNext()){\n\t int a=sc.nextInt();\n\t int b=sc.nextInt();\n\t int sum=a+b;\n\t int count=0;\n\t while(true){\n\t\tcount++;\n\t\tsum/=10;\n\t\tif(sum==0) break;\n\t }\n\t System.out.println(count);\n\t}\n }",
"main",
"{\n\tfinal Scanner sc=new Scanner(System.in);\n\twhile(sc.hasNext()){\n\t int a=sc.nextInt();\n\t int b=sc.nextInt();\n\t int sum=a+b;\n\t int count=0;\n\t while(true){\n\t\tcount++;\n\t\tsum/=10;\n\t\tif(sum==0) break;\n\t }\n\t System.out.println(count);\n\t}\n }",
"final Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()){\n\t int a=sc.nextInt();\n\t int b=sc.nextInt();\n\t int sum=a+b;\n\t int count=0;\n\t while(true){\n\t\tcount++;\n\t\tsum/=10;\n\t\tif(sum==0) break;\n\t }\n\t System.out.println(count);\n\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t int a=sc.nextInt();\n\t int b=sc.nextInt();\n\t int sum=a+b;\n\t int count=0;\n\t while(true){\n\t\tcount++;\n\t\tsum/=10;\n\t\tif(sum==0) break;\n\t }\n\t System.out.println(count);\n\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 count=0;",
"count",
"0",
"while(true){\n\t\tcount++;\n\t\tsum/=10;\n\t\tif(sum==0) break;\n\t }",
"true",
"{\n\t\tcount++;\n\t\tsum/=10;\n\t\tif(sum==0) break;\n\t }",
"count++",
"count",
"sum/=10",
"sum",
"10",
"if(sum==0) break;",
"sum==0",
"sum",
"0",
"break;",
"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){
final Scanner sc=new Scanner(System.in);
while(sc.hasNext()){
int a=sc.nextInt();
int b=sc.nextInt();
int sum=a+b;
int count=0;
while(true){
count++;
sum/=10;
if(sum==0) break;
}
System.out.println(count);
}
}
} |
[
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,
41,
13,
17,
42,
17,
30,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
13,
3,
40,
13,
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
],
[
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
],
[
38,
40
],
[
22,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
53,
60
],
[
43,
61
],
[
61,
62
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] | [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n \n int a,b,total;\n while(scan.hasNextInt()){\n a= scan.nextInt();\n b= scan.nextInt();\n total = a+b;\n int i=1;\n while(true){\n total = total /10;\n if (total == 0){\n System.out.println(i);\n break;\n }\n i++;\n }\n }\n \n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n \n int a,b,total;\n while(scan.hasNextInt()){\n a= scan.nextInt();\n b= scan.nextInt();\n total = a+b;\n int i=1;\n while(true){\n total = total /10;\n if (total == 0){\n System.out.println(i);\n break;\n }\n i++;\n }\n }\n \n \n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n \n int a,b,total;\n while(scan.hasNextInt()){\n a= scan.nextInt();\n b= scan.nextInt();\n total = a+b;\n int i=1;\n while(true){\n total = total /10;\n if (total == 0){\n System.out.println(i);\n break;\n }\n i++;\n }\n }\n \n \n }",
"main",
"{\n\n Scanner scan = new Scanner(System.in);\n \n int a,b,total;\n while(scan.hasNextInt()){\n a= scan.nextInt();\n b= scan.nextInt();\n total = a+b;\n int i=1;\n while(true){\n total = total /10;\n if (total == 0){\n System.out.println(i);\n break;\n }\n i++;\n }\n }\n \n \n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a",
"a",
"b",
"b",
"total;",
"total",
"while(scan.hasNextInt()){\n a= scan.nextInt();\n b= scan.nextInt();\n total = a+b;\n int i=1;\n while(true){\n total = total /10;\n if (total == 0){\n System.out.println(i);\n break;\n }\n i++;\n }\n }",
"scan.hasNextInt()",
"scan.hasNextInt",
"scan",
"{\n a= scan.nextInt();\n b= scan.nextInt();\n total = a+b;\n int i=1;\n while(true){\n total = total /10;\n if (total == 0){\n System.out.println(i);\n break;\n }\n i++;\n }\n }",
"a= scan.nextInt()",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"b= scan.nextInt()",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"total = a+b",
"total",
"a+b",
"a",
"b",
"int i=1;",
"i",
"1",
"while(true){\n total = total /10;\n if (total == 0){\n System.out.println(i);\n break;\n }\n i++;\n }",
"true",
"{\n total = total /10;\n if (total == 0){\n System.out.println(i);\n break;\n }\n i++;\n }",
"total = total /10",
"total",
"total /10",
"total",
"10",
"if (total == 0){\n System.out.println(i);\n break;\n }",
"total == 0",
"total",
"0",
"{\n System.out.println(i);\n break;\n }",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"break;",
"i++",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n \n int a,b,total;\n while(scan.hasNextInt()){\n a= scan.nextInt();\n b= scan.nextInt();\n total = a+b;\n int i=1;\n while(true){\n total = total /10;\n if (total == 0){\n System.out.println(i);\n break;\n }\n i++;\n }\n }\n \n \n }\n}",
"public class Main {\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n \n int a,b,total;\n while(scan.hasNextInt()){\n a= scan.nextInt();\n b= scan.nextInt();\n total = a+b;\n int i=1;\n while(true){\n total = total /10;\n if (total == 0){\n System.out.println(i);\n break;\n }\n i++;\n }\n }\n \n \n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a,b,total;
while(scan.hasNextInt()){
a= scan.nextInt();
b= scan.nextInt();
total = a+b;
int i=1;
while(true){
total = total /10;
if (total == 0){
System.out.println(i);
break;
}
i++;
}
}
}
} |
[
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,
12,
13,
30,
4,
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
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
4,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
40,
45
],
[
45,
46
]
] | [
"import java.util.Scanner;\n\nclass Main {\n private static void solve() {\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(String.valueOf(a + b).length());\n }\n }\n\n public static void main(String... args) {\n solve();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n private static void solve() {\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(String.valueOf(a + b).length());\n }\n }\n\n public static void main(String... args) {\n solve();\n }\n}",
"Main",
"private static void solve() {\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(String.valueOf(a + b).length());\n }\n }",
"solve",
"{\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(String.valueOf(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(String.valueOf(a + b).length());\n }",
"scanner.hasNextInt()",
"scanner.hasNextInt",
"scanner",
"{\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n System.out.println(String.valueOf(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(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",
"public static void main(String... args) {\n solve();\n }",
"main",
"{\n solve();\n }",
"solve()",
"solve",
"String... args",
"args"
] | import java.util.Scanner;
class Main {
private static void solve() {
Scanner scanner = new Scanner(System.in);
while (scanner.hasNextInt()) {
int a = scanner.nextInt();
int b = scanner.nextInt();
System.out.println(String.valueOf(a + b).length());
}
}
public static void main(String... args) {
solve();
}
} |
[
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,
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
],
[
57,
5
],
[
57,
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
],
[
39,
43
],
[
43,
44
],
[
16,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint x = a + b;\n\t\t\tint d = 0;\n\t\t\t\n\t\t\twhile(x != 0){\n\t\t\t\tx /= 10;\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t}\n\t\t\n\t\tsc.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner 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 x = a + b;\n\t\t\tint d = 0;\n\t\t\t\n\t\t\twhile(x != 0){\n\t\t\t\tx /= 10;\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t}\n\t\t\n\t\tsc.close();\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\t\t\tint x = a + b;\n\t\t\tint d = 0;\n\t\t\t\n\t\t\twhile(x != 0){\n\t\t\t\tx /= 10;\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t}\n\t\t\n\t\tsc.close();\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\t\t\tint x = a + b;\n\t\t\tint d = 0;\n\t\t\t\n\t\t\twhile(x != 0){\n\t\t\t\tx /= 10;\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t}\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 a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint x = a + b;\n\t\t\tint d = 0;\n\t\t\t\n\t\t\twhile(x != 0){\n\t\t\t\tx /= 10;\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\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 x = a + b;\n\t\t\tint d = 0;\n\t\t\t\n\t\t\twhile(x != 0){\n\t\t\t\tx /= 10;\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = a + b;",
"x",
"a + b",
"a",
"b",
"int d = 0;",
"d",
"0",
"while(x != 0){\n\t\t\t\tx /= 10;\n\t\t\t\td++;\n\t\t\t}",
"x != 0",
"x",
"0",
"{\n\t\t\t\tx /= 10;\n\t\t\t\td++;\n\t\t\t}",
"x /= 10",
"x",
"10",
"d++",
"d",
"System.out.println(d)",
"System.out.println",
"System.out",
"System",
"System.out",
"d",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint x = a + b;\n\t\t\tint d = 0;\n\t\t\t\n\t\t\twhile(x != 0){\n\t\t\t\tx /= 10;\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t}\n\t\t\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint x = a + b;\n\t\t\tint d = 0;\n\t\t\t\n\t\t\twhile(x != 0){\n\t\t\t\tx /= 10;\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t}\n\t\t\n\t\tsc.close();\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 x = a + b;
int d = 0;
while(x != 0){
x /= 10;
d++;
}
System.out.println(d);
}
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
4,
18,
13,
17,
41,
13,
2,
4,
18,
13,
4,
18,
13,
17,
13,
4,
18,
13,
4,
18,
13,
2,
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
],
[
65,
5
],
[
65,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
37,
41
],
[
33,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
14,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
6,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] | [
"import java.io.*;\npublic class Main {\npublic static void main(String args[]) throws IOException {\nBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\nwhile(true){\nString s = r.readLine();\nif(s == null) break;\nint i = s.indexOf(\" \");\nint sum = Integer.valueOf(s.substring(0, i)) + Integer.valueOf(s.substring(i+1));\nSystem.out.println(Integer.toString(sum).length());\n}\n}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\npublic static void main(String args[]) throws IOException {\nBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\nwhile(true){\nString s = r.readLine();\nif(s == null) break;\nint i = s.indexOf(\" \");\nint sum = Integer.valueOf(s.substring(0, i)) + Integer.valueOf(s.substring(i+1));\nSystem.out.println(Integer.toString(sum).length());\n}\n}\n}",
"Main",
"public static void main(String args[]) throws IOException {\nBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\nwhile(true){\nString s = r.readLine();\nif(s == null) break;\nint i = s.indexOf(\" \");\nint sum = Integer.valueOf(s.substring(0, i)) + Integer.valueOf(s.substring(i+1));\nSystem.out.println(Integer.toString(sum).length());\n}\n}",
"main",
"{\nBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\nwhile(true){\nString s = r.readLine();\nif(s == null) break;\nint i = s.indexOf(\" \");\nint sum = Integer.valueOf(s.substring(0, i)) + Integer.valueOf(s.substring(i+1));\nSystem.out.println(Integer.toString(sum).length());\n}\n}",
"BufferedReader r = new BufferedReader(new InputStreamReader(System.in));",
"r",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\nString s = r.readLine();\nif(s == null) break;\nint i = s.indexOf(\" \");\nint sum = Integer.valueOf(s.substring(0, i)) + Integer.valueOf(s.substring(i+1));\nSystem.out.println(Integer.toString(sum).length());\n}",
"true",
"{\nString s = r.readLine();\nif(s == null) break;\nint i = s.indexOf(\" \");\nint sum = Integer.valueOf(s.substring(0, i)) + Integer.valueOf(s.substring(i+1));\nSystem.out.println(Integer.toString(sum).length());\n}",
"String s = r.readLine();",
"s",
"r.readLine()",
"r.readLine",
"r",
"if(s == null) break;",
"s == null",
"s",
"null",
"break;",
"int i = s.indexOf(\" \");",
"i",
"s.indexOf(\" \")",
"s.indexOf",
"s",
"\" \"",
"int sum = Integer.valueOf(s.substring(0, i)) + Integer.valueOf(s.substring(i+1));",
"sum",
"Integer.valueOf(s.substring(0, i)) + Integer.valueOf(s.substring(i+1))",
"Integer.valueOf(s.substring(0, i))",
"Integer.valueOf",
"Integer",
"s.substring(0, i)",
"s.substring",
"s",
"0",
"i",
"Integer.valueOf(s.substring(i+1))",
"Integer.valueOf",
"Integer",
"s.substring(i+1)",
"s.substring",
"s",
"i+1",
"i",
"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",
"public class Main {\npublic static void main(String args[]) throws IOException {\nBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\nwhile(true){\nString s = r.readLine();\nif(s == null) break;\nint i = s.indexOf(\" \");\nint sum = Integer.valueOf(s.substring(0, i)) + Integer.valueOf(s.substring(i+1));\nSystem.out.println(Integer.toString(sum).length());\n}\n}\n}",
"public class Main {\npublic static void main(String args[]) throws IOException {\nBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\nwhile(true){\nString s = r.readLine();\nif(s == null) break;\nint i = s.indexOf(\" \");\nint sum = Integer.valueOf(s.substring(0, i)) + Integer.valueOf(s.substring(i+1));\nSystem.out.println(Integer.toString(sum).length());\n}\n}\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
while(true){
String s = r.readLine();
if(s == null) break;
int i = s.indexOf(" ");
int sum = Integer.valueOf(s.substring(0, i)) + Integer.valueOf(s.substring(i+1));
System.out.println(Integer.toString(sum).length());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
4,
18,
13,
17,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
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,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
67,
8
],
[
67,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
27,
43
],
[
43,
44
],
[
43,
45
],
[
27,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
50,
56
],
[
56,
57
],
[
27,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
9,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"import java.io.*;\nimport java.util.*;\npublic class Main\n{\n public static void main(String args[]) throws Exception\n {\n Scanner cin=new Scanner(System.in);\n int a,b;\n cin.useDelimiter(\"\\n| \");\n while(cin.hasNext()){\n\t a = cin.nextInt();\n\t b = cin.nextInt();\n\t int sum = a+b;\n\t int count = 0;\n\t while (sum>0){\n\t\t sum = sum/10;\n\t\t count++;\n\t }\n\t \n\t System.out.println(count);\n\t \n \t\n }\n \n \n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n public static void main(String args[]) throws Exception\n {\n Scanner cin=new Scanner(System.in);\n int a,b;\n cin.useDelimiter(\"\\n| \");\n while(cin.hasNext()){\n\t a = cin.nextInt();\n\t b = cin.nextInt();\n\t int sum = a+b;\n\t int count = 0;\n\t while (sum>0){\n\t\t sum = sum/10;\n\t\t count++;\n\t }\n\t \n\t System.out.println(count);\n\t \n \t\n }\n \n \n }\n}",
"Main",
"public static void main(String args[]) throws Exception\n {\n Scanner cin=new Scanner(System.in);\n int a,b;\n cin.useDelimiter(\"\\n| \");\n while(cin.hasNext()){\n\t a = cin.nextInt();\n\t b = cin.nextInt();\n\t int sum = a+b;\n\t int count = 0;\n\t while (sum>0){\n\t\t sum = sum/10;\n\t\t count++;\n\t }\n\t \n\t System.out.println(count);\n\t \n \t\n }\n \n \n }",
"main",
"{\n Scanner cin=new Scanner(System.in);\n int a,b;\n cin.useDelimiter(\"\\n| \");\n while(cin.hasNext()){\n\t a = cin.nextInt();\n\t b = cin.nextInt();\n\t int sum = a+b;\n\t int count = 0;\n\t while (sum>0){\n\t\t sum = sum/10;\n\t\t count++;\n\t }\n\t \n\t System.out.println(count);\n\t \n \t\n }\n \n \n }",
"Scanner cin=new Scanner(System.in);",
"cin",
"new Scanner(System.in)",
"int a",
"a",
"b;",
"b",
"cin.useDelimiter(\"\\n| \")",
"cin.useDelimiter",
"cin",
"\"\\n| \"",
"while(cin.hasNext()){\n\t a = cin.nextInt();\n\t b = cin.nextInt();\n\t int sum = a+b;\n\t int count = 0;\n\t while (sum>0){\n\t\t sum = sum/10;\n\t\t count++;\n\t }\n\t \n\t System.out.println(count);\n\t \n \t\n }",
"cin.hasNext()",
"cin.hasNext",
"cin",
"{\n\t a = cin.nextInt();\n\t b = cin.nextInt();\n\t int sum = a+b;\n\t int count = 0;\n\t while (sum>0){\n\t\t sum = sum/10;\n\t\t count++;\n\t }\n\t \n\t System.out.println(count);\n\t \n \t\n }",
"a = cin.nextInt()",
"a",
"cin.nextInt()",
"cin.nextInt",
"cin",
"b = cin.nextInt()",
"b",
"cin.nextInt()",
"cin.nextInt",
"cin",
"int sum = a+b;",
"sum",
"a+b",
"a",
"b",
"int count = 0;",
"count",
"0",
"while (sum>0){\n\t\t sum = sum/10;\n\t\t count++;\n\t }",
"sum>0",
"sum",
"0",
"{\n\t\t sum = sum/10;\n\t\t count++;\n\t }",
"sum = sum/10",
"sum",
"sum/10",
"sum",
"10",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String args[]",
"args",
"public class Main\n{\n public static void main(String args[]) throws Exception\n {\n Scanner cin=new Scanner(System.in);\n int a,b;\n cin.useDelimiter(\"\\n| \");\n while(cin.hasNext()){\n\t a = cin.nextInt();\n\t b = cin.nextInt();\n\t int sum = a+b;\n\t int count = 0;\n\t while (sum>0){\n\t\t sum = sum/10;\n\t\t count++;\n\t }\n\t \n\t System.out.println(count);\n\t \n \t\n }\n \n \n }\n}",
"public class Main\n{\n public static void main(String args[]) throws Exception\n {\n Scanner cin=new Scanner(System.in);\n int a,b;\n cin.useDelimiter(\"\\n| \");\n while(cin.hasNext()){\n\t a = cin.nextInt();\n\t b = cin.nextInt();\n\t int sum = a+b;\n\t int count = 0;\n\t while (sum>0){\n\t\t sum = sum/10;\n\t\t count++;\n\t }\n\t \n\t System.out.println(count);\n\t \n \t\n }\n \n \n }\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main
{
public static void main(String args[]) throws Exception
{
Scanner cin=new Scanner(System.in);
int a,b;
cin.useDelimiter("\n| ");
while(cin.hasNext()){
a = cin.nextInt();
b = cin.nextInt();
int sum = a+b;
int count = 0;
while (sum>0){
sum = sum/10;
count++;
}
System.out.println(count);
}
}
} |
[
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,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
2,
4,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
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
],
[
44,
47
],
[
43,
48
],
[
6,
49
],
[
49,
50
]
] | [
"import java.util.Scanner;\nclass Main{\n public static void main(String[] a){\n \tint fa = 0;\n \tint fb = 0;\n \tScanner scan = new Scanner(System.in);\n \twhile (scan.hasNext()){\n \tfa = scan.nextInt();\n \tfb = scan.nextInt();\n \tint sum = fa + fb;\n \t System.out.println((int) Math.log10(sum) + 1);\n \t}\n }\n }",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] a){\n \tint fa = 0;\n \tint fb = 0;\n \tScanner scan = new Scanner(System.in);\n \twhile (scan.hasNext()){\n \tfa = scan.nextInt();\n \tfb = scan.nextInt();\n \tint sum = fa + fb;\n \t System.out.println((int) Math.log10(sum) + 1);\n \t}\n }\n }",
"Main",
"public static void main(String[] a){\n \tint fa = 0;\n \tint fb = 0;\n \tScanner scan = new Scanner(System.in);\n \twhile (scan.hasNext()){\n \tfa = scan.nextInt();\n \tfb = scan.nextInt();\n \tint sum = fa + fb;\n \t System.out.println((int) Math.log10(sum) + 1);\n \t}\n }",
"main",
"{\n \tint fa = 0;\n \tint fb = 0;\n \tScanner scan = new Scanner(System.in);\n \twhile (scan.hasNext()){\n \tfa = scan.nextInt();\n \tfb = scan.nextInt();\n \tint sum = fa + fb;\n \t System.out.println((int) Math.log10(sum) + 1);\n \t}\n }",
"int fa = 0;",
"fa",
"0",
"int fb = 0;",
"fb",
"0",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while (scan.hasNext()){\n \tfa = scan.nextInt();\n \tfb = scan.nextInt();\n \tint sum = fa + fb;\n \t System.out.println((int) Math.log10(sum) + 1);\n \t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n \tfa = scan.nextInt();\n \tfb = scan.nextInt();\n \tint sum = fa + fb;\n \t System.out.println((int) Math.log10(sum) + 1);\n \t}",
"fa = scan.nextInt()",
"fa",
"scan.nextInt()",
"scan.nextInt",
"scan",
"fb = scan.nextInt()",
"fb",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int sum = fa + fb;",
"sum",
"fa + fb",
"fa",
"fb",
"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",
"String[] a",
"a"
] | import java.util.Scanner;
class Main{
public static void main(String[] a){
int fa = 0;
int fb = 0;
Scanner scan = new Scanner(System.in);
while (scan.hasNext()){
fa = scan.nextInt();
fb = scan.nextInt();
int sum = fa + fb;
System.out.println((int) Math.log10(sum) + 1);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
30,
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
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
13,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
27,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
39,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
33,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
57,
62
],
[
33,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.util.StringTokenizer;\n \n/*\n * To change this template, choose Tools | Templates\n * and open the template in the editor.\n */\n \n/**\n *\n * @author wijebandara\n */\npublic class Main {\n public static void main(String[] args) {\n java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(System.in));\n {\n try {\n String s =in.readLine();\n StringTokenizer st;\n while(s!=null)\n {\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 =in.readLine();\n }\n } catch (Exception ex) {\n System.exit(0);\n }\n \n \n }\n }\n}",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String[] args) {\n java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(System.in));\n {\n try {\n String s =in.readLine();\n StringTokenizer st;\n while(s!=null)\n {\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 =in.readLine();\n }\n } catch (Exception ex) {\n System.exit(0);\n }\n \n \n }\n }\n}",
"Main",
"public static void main(String[] args) {\n java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(System.in));\n {\n try {\n String s =in.readLine();\n StringTokenizer st;\n while(s!=null)\n {\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 =in.readLine();\n }\n } catch (Exception ex) {\n System.exit(0);\n }\n \n \n }\n }",
"main",
"{\n java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(System.in));\n {\n try {\n String s =in.readLine();\n StringTokenizer st;\n while(s!=null)\n {\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 =in.readLine();\n }\n } catch (Exception ex) {\n System.exit(0);\n }\n \n \n }\n }",
"java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(System.in));",
"in",
"new java.io.BufferedReader(new java.io.InputStreamReader(System.in))",
"{\n try {\n String s =in.readLine();\n StringTokenizer st;\n while(s!=null)\n {\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 =in.readLine();\n }\n } catch (Exception ex) {\n System.exit(0);\n }\n \n \n }",
"try {\n String s =in.readLine();\n StringTokenizer st;\n while(s!=null)\n {\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 =in.readLine();\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 String s =in.readLine();\n StringTokenizer st;\n while(s!=null)\n {\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 =in.readLine();\n }\n }",
"String s =in.readLine();",
"s",
"in.readLine()",
"in.readLine",
"in",
"StringTokenizer st;",
"st",
"while(s!=null)\n {\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 =in.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 =in.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 =in.readLine()",
"s",
"in.readLine()",
"in.readLine",
"in",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(System.in));\n {\n try {\n String s =in.readLine();\n StringTokenizer st;\n while(s!=null)\n {\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 =in.readLine();\n }\n } catch (Exception ex) {\n System.exit(0);\n }\n \n \n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(System.in));\n {\n try {\n String s =in.readLine();\n StringTokenizer st;\n while(s!=null)\n {\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 =in.readLine();\n }\n } catch (Exception ex) {\n System.exit(0);\n }\n \n \n }\n }\n}",
"Main"
] | import java.util.StringTokenizer;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author wijebandara
*/
public class Main {
public static void main(String[] args) {
java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(System.in));
{
try {
String s =in.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 =in.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,
41,
13,
2,
13,
13,
41,
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
],
[
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
],
[
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
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()){\n\n\t\t\tint num1 = sc.nextInt();\n\t\t\tint num2 = sc.nextInt();\n\n\t\t\tint total = num1 + num2;\n\t\t\tString str = Integer.toString(total);\n\n\t\t\tSystem.out.println(str.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\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()){\n\n\t\t\tint num1 = sc.nextInt();\n\t\t\tint num2 = sc.nextInt();\n\n\t\t\tint total = num1 + num2;\n\t\t\tString str = Integer.toString(total);\n\n\t\t\tSystem.out.println(str.length());\n\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()){\n\n\t\t\tint num1 = sc.nextInt();\n\t\t\tint num2 = sc.nextInt();\n\n\t\t\tint total = num1 + num2;\n\t\t\tString str = Integer.toString(total);\n\n\t\t\tSystem.out.println(str.length());\n\n\t\t}\n\t}",
"main",
"{\n\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()){\n\n\t\t\tint num1 = sc.nextInt();\n\t\t\tint num2 = sc.nextInt();\n\n\t\t\tint total = num1 + num2;\n\t\t\tString str = Integer.toString(total);\n\n\t\t\tSystem.out.println(str.length());\n\n\t\t}\n\t}",
"@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()){\n\n\t\t\tint num1 = sc.nextInt();\n\t\t\tint num2 = sc.nextInt();\n\n\t\t\tint total = num1 + num2;\n\t\t\tString str = Integer.toString(total);\n\n\t\t\tSystem.out.println(str.length());\n\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\n\t\t\tint num1 = sc.nextInt();\n\t\t\tint num2 = sc.nextInt();\n\n\t\t\tint total = num1 + num2;\n\t\t\tString str = Integer.toString(total);\n\n\t\t\tSystem.out.println(str.length());\n\n\t\t}",
"int num1 = sc.nextInt();",
"num1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int num2 = sc.nextInt();",
"num2",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int total = num1 + num2;",
"total",
"num1 + num2",
"num1",
"num2",
"String str = Integer.toString(total);",
"str",
"Integer.toString(total)",
"Integer.toString",
"Integer",
"total",
"System.out.println(str.length())",
"System.out.println",
"System.out",
"System",
"System.out",
"str.length()",
"str.length",
"str",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()){\n\n\t\t\tint num1 = sc.nextInt();\n\t\t\tint num2 = sc.nextInt();\n\n\t\t\tint total = num1 + num2;\n\t\t\tString str = Integer.toString(total);\n\n\t\t\tSystem.out.println(str.length());\n\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()){\n\n\t\t\tint num1 = sc.nextInt();\n\t\t\tint num2 = sc.nextInt();\n\n\t\t\tint total = num1 + num2;\n\t\t\tString str = Integer.toString(total);\n\n\t\t\tSystem.out.println(str.length());\n\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
@SuppressWarnings("resource")
Scanner sc = new Scanner(System.in);
while (sc.hasNext()){
int num1 = sc.nextInt();
int num2 = sc.nextInt();
int total = num1 + num2;
String str = Integer.toString(total);
System.out.println(str.length());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
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,
0,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
40,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
8,
21
],
[
21,
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
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
56,
57
],
[
30,
58
],
[
58,
59
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
69,
70
],
[
60,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
6,
82
],
[
82,
83
]
] | [
"import java.util.*;\n \nclass Main {\n public static void main(String[] args) {\n \t\n \tScanner sc = new Scanner(System.in);\n \tArrayList<Integer> digitList = new ArrayList<>(); \n \t\n \tint a, b;\n \tint digit;\n \tString strDigit;\n \tint cnt = 0;\n \twhile(sc.hasNext()) {\n \t\ta = sc.nextInt();\n \t\tb = sc.nextInt();\n \t\tdigit = a + b;\n \t\tstrDigit = String.valueOf(digit);\n \t\tdigitList.add(strDigit.length());\n \t\tcnt++;\n \t}\n \tfor(int i = 0; i < cnt; i++) {\n \t\tSystem.out.println(digitList.get(i));\n \t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) {\n \t\n \tScanner sc = new Scanner(System.in);\n \tArrayList<Integer> digitList = new ArrayList<>(); \n \t\n \tint a, b;\n \tint digit;\n \tString strDigit;\n \tint cnt = 0;\n \twhile(sc.hasNext()) {\n \t\ta = sc.nextInt();\n \t\tb = sc.nextInt();\n \t\tdigit = a + b;\n \t\tstrDigit = String.valueOf(digit);\n \t\tdigitList.add(strDigit.length());\n \t\tcnt++;\n \t}\n \tfor(int i = 0; i < cnt; i++) {\n \t\tSystem.out.println(digitList.get(i));\n \t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n \t\n \tScanner sc = new Scanner(System.in);\n \tArrayList<Integer> digitList = new ArrayList<>(); \n \t\n \tint a, b;\n \tint digit;\n \tString strDigit;\n \tint cnt = 0;\n \twhile(sc.hasNext()) {\n \t\ta = sc.nextInt();\n \t\tb = sc.nextInt();\n \t\tdigit = a + b;\n \t\tstrDigit = String.valueOf(digit);\n \t\tdigitList.add(strDigit.length());\n \t\tcnt++;\n \t}\n \tfor(int i = 0; i < cnt; i++) {\n \t\tSystem.out.println(digitList.get(i));\n \t}\n\t}",
"main",
"{\n \t\n \tScanner sc = new Scanner(System.in);\n \tArrayList<Integer> digitList = new ArrayList<>(); \n \t\n \tint a, b;\n \tint digit;\n \tString strDigit;\n \tint cnt = 0;\n \twhile(sc.hasNext()) {\n \t\ta = sc.nextInt();\n \t\tb = sc.nextInt();\n \t\tdigit = a + b;\n \t\tstrDigit = String.valueOf(digit);\n \t\tdigitList.add(strDigit.length());\n \t\tcnt++;\n \t}\n \tfor(int i = 0; i < cnt; i++) {\n \t\tSystem.out.println(digitList.get(i));\n \t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> digitList = new ArrayList<>();",
"digitList",
"new ArrayList<>()",
"int a",
"a",
"b;",
"b",
"int digit;",
"digit",
"String strDigit;",
"strDigit",
"int cnt = 0;",
"cnt",
"0",
"while(sc.hasNext()) {\n \t\ta = sc.nextInt();\n \t\tb = sc.nextInt();\n \t\tdigit = a + b;\n \t\tstrDigit = String.valueOf(digit);\n \t\tdigitList.add(strDigit.length());\n \t\tcnt++;\n \t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n \t\ta = sc.nextInt();\n \t\tb = sc.nextInt();\n \t\tdigit = a + b;\n \t\tstrDigit = String.valueOf(digit);\n \t\tdigitList.add(strDigit.length());\n \t\tcnt++;\n \t}",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"digit = a + b",
"digit",
"a + b",
"a",
"b",
"strDigit = String.valueOf(digit)",
"strDigit",
"String.valueOf(digit)",
"String.valueOf",
"String",
"digit",
"digitList.add(strDigit.length())",
"digitList.add",
"digitList",
"strDigit.length()",
"strDigit.length",
"strDigit",
"cnt++",
"cnt",
"for(int i = 0; i < cnt; i++) {\n \t\tSystem.out.println(digitList.get(i));\n \t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < cnt",
"i",
"cnt",
"i++",
"i++",
"i",
"{\n \t\tSystem.out.println(digitList.get(i));\n \t}",
"{\n \t\tSystem.out.println(digitList.get(i));\n \t}",
"System.out.println(digitList.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"digitList.get(i)",
"digitList.get",
"digitList",
"i",
"String[] args",
"args"
] | import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<Integer> digitList = new ArrayList<>();
int a, b;
int digit;
String strDigit;
int cnt = 0;
while(sc.hasNext()) {
a = sc.nextInt();
b = sc.nextInt();
digit = a + b;
strDigit = String.valueOf(digit);
digitList.add(strDigit.length());
cnt++;
}
for(int i = 0; i < cnt; i++) {
System.out.println(digitList.get(i));
}
}
} |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.