node_ids
listlengths
4
1.4k
edge_index
listlengths
1
2.22k
text
listlengths
4
1.4k
source
stringlengths
14
427k
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 4, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 4, 13, 2, 4,...
[ [ 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 ], ...
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\n\n/**\n * 0002:Digit Number\n * \n * @author MS14A\n * @version 2015/07/11\n */\npublic class Main {\n\n /**\n * 与えられた2つの整数 a と b の和の桁数を出力する。\n * \n * ...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; /** * 0002:Digit Number * * @author MS14A * @version 2015/07/11 */ public class Main { /** * 与えられた2つの整数 a と b の和の桁数を出力する。 * * @param args * @th...
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 41, 13, 41, 13, 17, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 2, 13, 13, 14, 2, 13, 17, 4, 18, 18, 13, 13, 13, 30,...
[ [ 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 ], ...
[ "import java.util.Scanner;\nimport java.lang.Math;\n\npublic class Main\n{\n public static void main(String[] args)\n {\n Scanner in=new Scanner(System.in);\n \n while(in.hasNext())\n {\n int a , b , len=1, l;\n \n a=in.nextInt();\n b=in.nextInt();\n \n l=a+b;\n \n if(l==0) System.out.p...
import java.util.Scanner; import java.lang.Math; public class Main { public static void main(String[] args) { Scanner in=new Scanner(System.in); while(in.hasNext()) { int a , b , len=1, l; a=in.nextInt(); b=in.nextInt(); l=a+b; if(l==0) System.out.println(len); e...
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 14, 2, 13, 17, 30, 3, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, ...
[ [ 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 ], ...
[ "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 // TODO ?????????????????????????????????????????????\n BufferedReader br = new BufferedReader(new InputStreamRead...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { // TODO ????????????????????????????????????????????? BufferedReader br = new BufferedReader(new InputStreamReader(System.in)...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 11, 1, 41, 13, 20, 4, 18, 13, 30, 4, 18, 18, 13, 13, 4, 18, 2, 17, 2, 4, 18, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 37, 5 ], [ 37, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 9, 14 ], ...
[ "import java.util.*;public class Main{public static void main(String[]a){for(Scanner s=new Scanner(System.in);s.hasNext();)System.out.println((\"\"+(s.nextInt()+s.nextInt())).length());}}", "import java.util.*;", "util.*", "java", "public class Main{public static void main(String[]a){for(Scanner s=new Scann...
import java.util.*;public class Main{public static void main(String[]a){for(Scanner s=new Scanner(System.in);s.hasNext();)System.out.println((""+(s.nextInt()+s.nextInt())).length());}}
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 4, 18, 13, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 2, 13, 13, 28, 13, 13, 30, 30, 4, 18, 18, 13,...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 62, 8 ], [ 62, 9 ], [ 9, 10 ], [ 62, 11 ], [ 11, 12 ], [ 62, 13 ], [ 13, 14 ],...
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main {\n private static int a, b;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n List<String> numst = new ArrayList<String>();\n while (stdIn.hasNextInt()) {\n a = stdIn.nextInt();\n b = stdIn.nextIn...
import java.util.*; import java.io.*; public class Main { private static int a, b; public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); List<String> numst = new ArrayList<String>(); while (stdIn.hasNextInt()) { a = stdIn.nextInt(); b = stdIn.nextInt(); nums...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 41, 13, 17, 11, 1, 4, 18, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 0, 18, 13, 13, 4, 18, 4, 18, 13, 13, 11,...
[ [ 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 ], [...
[ "\n//Digit Number\nimport java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n @SuppressWarnings(\"resource\")\n Scanner sc = new Scanner(System.in);\n \n int digit[] = new int[200];\n \n int i = 0;\n for(; sc.hasNextInt(); i++) {\n ...
//Digit Number import java.util.Scanner; class Main { public static void main(String[] args) { @SuppressWarnings("resource") Scanner sc = new Scanner(System.in); int digit[] = new int[200]; int i = 0; for(; sc.hasNextInt(); i++) { int a = sc.ne...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 4, 18, 13, 30, 14, 40, 4, 18, 4, 18, 13, 17, 30, 4, 18, 13, 17, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 4, 18, 13, 4, 18, 4, 18, ...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 68, 5 ], [ 68, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], ...
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder result = new StringBuilder(\"\");\n\n while(sc.hasNextInt()) {\n if (!result.toString().equals(\"\")) {\n result.app...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); StringBuilder result = new StringBuilder(""); while(sc.hasNextInt()) { if (!result.toString().equals("")) { result.append("\n"); ...
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 2, 17, 17, 12, 13, 30, 41, 13, 20, 11, 1, 4, 18, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 2, 13, 13, 4, 18, 18, 13, 13, 4, 18,...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 79, 11 ], [ 79, 12 ], [ 12, 13 ], [ 12, 14 ], ...
[ "\nimport java.util.*;\nimport static java.lang.Math.*;\nimport static java.util.Arrays.*;\n\npublic class Main {\n\n\tint INF = 1 << 28;\n\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(;sc.hasNext();) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tString str = String.valueO...
import java.util.*; import static java.lang.Math.*; import static java.util.Arrays.*; public class Main { int INF = 1 << 28; void run() { Scanner sc = new Scanner(System.in); for(;sc.hasNext();) { int a = sc.nextInt(); int b = sc.nextInt(); String str = String.valueOf(a+b); System.out.println(str....
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 2, 4, 18, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 42, 2, 2, 13, 17, 17, 30, 40, 13, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, ...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 56, 5 ], [ 56, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], ...
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int num = Integer.parseInt(sc.next()) + Integer.parseInt(sc.next());\n int ans = 1;\n\n while (num / 10 != ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (sc.hasNext()) { int num = Integer.parseInt(sc.next()) + Integer.parseInt(sc.next()); int ans = 1; while (num / 10 != 0) { ...
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 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,...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 85, 11 ], [ 85, 12 ], [ 12, 13 ], [ 12, 14 ], ...
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t\tString x = \"\";\n\t\ttry {\n\t\t\twhile ((x = in.readLine())...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String x = ""; try { while ((x = in.readLine()) != null) { String[] ab ...
[ 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, 12, 13, 30, 41, 13, 20, 4, 18, 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 ], ...
[ "import java.util.*;\npublic class Main {\n\n\tpublic void doIt(){\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 sum = a + b;\n\t\t\tint digit = Integer.toString(sum).length();\n\t\t\tSystem.out.println(digit);\n\t\t}\n\n\t}\...
import java.util.*; public class Main { public void doIt(){ Scanner sc = new Scanner(System.in); while(sc.hasNext()){ int a = sc.nextInt(); int b = sc.nextInt(); int sum = a + b; int digit = Integer.toString(sum).length(); System.out.println(digit); } } public static void main(String[] args) {...
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 30, 41, 13, 20, 41, 13, 20, 42, 4, 18, 13, 30, 4, 18, 13, 4, 18, 13, 2, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, ...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 73, 11 ], [ 73, 12 ], [ 12, 13 ], [ 12, 14 ], ...
[ "import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tList<Integer> lines = new ArrayList<>();\n\t\t\twhile(sc.hasNext()) {\n\t\t\t\tlines.add(Integer.valueOf(sc.nextI...
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner sc = new Scanner(System.in)) { List<Integer> lines = new ArrayList<>(); while(sc.hasNext()) { lines.add(Integer.valueOf(sc.nextInt() + sc.nextInt())); }...
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 20, 41, 13, 20, 0, 13, 4, 18, 13, 42, 2, 13, 17, 30, 41, 13, 20, 0, 13, 2, 4, 18, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 0, 13, 2, 4, 18, ...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 11, 14 ], ...
[ "import java.io.*;\nimport java.util.*;\nclass Main{\n public static void main(String[] args)throws IOException{\n\tString a;\n\tint b;\n\tInputStreamReader isr=new InputStreamReader(System.in);\n\tBufferedReader br =new BufferedReader(isr);\n\ta= br.readLine();\n\twhile(a!=null){\n\t StringTokenizer st = new...
import java.io.*; import java.util.*; class Main{ public static void main(String[] args)throws IOException{ String a; int b; InputStreamReader isr=new InputStreamReader(System.in); BufferedReader br =new BufferedReader(isr); a= br.readLine(); while(a!=null){ StringTokenizer st = new StringTokenizer(a); ...
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 4, 18, 13, 17, 41, 13, 20, 41, 13, 41, 13, 41, 13, 42, 2, 0, 13, 4, 18, 13, 17, 30, 14, ...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 105, 14 ], ...
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tPattern pattern = Pattern.compile(\"([0-9]+) *([0-9]+)\");\n\t\t\tBufferedReader bf = new Buffered...
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Main { public static void main(String[] args) { try { Pattern pattern = Pattern.compile("([0-9]+) *([0-9]+)"); BufferedReader bf = new BufferedReader(new InputStreamRea...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 38, 5, 13, 30, 3, 30, 41, 13, 2, 4, 18, 13, 4, 18, 13, 41, 13, 17, 42, 2, 13, 17, 30, 0, 13, 17, 40, 13, 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 ], [...
[ "import java.util.Scanner;\n\nclass Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(true)\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tint n = sc.nextInt() + sc.nextInt();\n\t\t\t\tint i = 1;\n\t\t\t\twhile (n >= 10)\n\t\t\t\t{\n\t\t\t\t\tn /= 10;\n\t\t\t\t\t...
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); while(true) { try { int n = sc.nextInt() + sc.nextInt(); int i = 1; while (n >= 10) { n /= 10; i++; } System.out.println(Integer.toString(i)); } ...
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 42, 2, 13, 17, 30, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 4, 18, 18, 13, ...
[ [ 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 ], ...
[ "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 r = new BufferedReader(new InputStreamReader(System.in),1);\n\t\tString input = r.readLine();\n\t\twhile (input !...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException{ BufferedReader r = new BufferedReader(new InputStreamReader(System.in),1); String input = r.readLine(); while (input != null){ String[] ...
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 38, 5, 13, 30, 4, 18, 13, 17, 30, 42, 2, 13, 17, 30, 0, 13, 4, 18, 4, 18, 13, 17, 4, 18, 18, 13, 13, 4, 18, 4, 18, 13, 2, ...
[ [ 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 ], ...
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str[] = new String[1];\n\t\ttry{\n\t\twhile...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str[] = new String[1]; try{ while(str !=null){ str = br...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 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,...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 63, 5 ], [ 63, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], ...
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n String[] array = sc.nextLine().split(\"[\\\\s]\");\n int n1 = Integer.parseInt(array[0]);\n int n2 = In...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (sc.hasNext()) { String[] array = sc.nextLine().split("[\\s]"); int n1 = Integer.parseInt(array[0]); int n2 = Integer.parseInt(arra...
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 20, 23, 13, 12, 13, 30, 4, 18, 20, 6, 13, 12, 13, 30, 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, 10,...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 55, 5 ], [ 55, 6 ], [ 6, 7 ], [ 6, 8 ], [ 55, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 9, 13 ], [ 13, 14 ], ...
[ "import java.util.*;\n\npublic class Main {\n Scanner in = new Scanner(System.in);\n public static void main(String[] args) {\n new Main();\n }\n\n public Main(){\n \tnew AOJ().doIt();\n }\n \n class AOJ{\n \tvoid doIt(){\n \t\twhile(in.hasNext()){\n \t\t\tint a = in.nextInt(...
import java.util.*; public class Main { Scanner in = new Scanner(System.in); public static void main(String[] args) { new Main(); } public Main(){ new AOJ().doIt(); } class AOJ{ void doIt(){ while(in.hasNext()){ int a = in.nextInt(); int b = in.nex...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 17, 0, 13, 20, 17, 0, 13, 20, 17, 0, 13, 20, 17, 42, 4, 18, 13, 30, 0, 18, 13, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 13, 14,...
[ [ 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 ], [ ...
[ "import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint s;\n\t\tint[] a, b, sum;\n\t\ts = 0;\n\t\t\n\t\ta = new int[200];\n\t\tb = new int[200];\n\t\tsum = new int[200];\n\t\t\n\t\twhile(scan.hasNext()){\n\t\t\t\n\t\t\ta[s] = scan.ne...
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); int s; int[] a, b, sum; s = 0; a = new int[200]; b = new int[200]; sum = new int[200]; while(scan.hasNext()){ a[s] = scan.nextInt(); b[s] = scan.nextInt(); if(a[s] =...
[ 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, 41, 13, 4, 18, 13, 2, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], ...
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\nclass Main{\n public static void main(String[] args) throws IOException {\n \n Scanner scan = new Scanner(System.in);\n while (scan.hasNext()){\n int v1 = ...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Scanner; class Main{ public static void main(String[] args) throws IOException { Scanner scan = new Scanner(System.in); while (scan.hasNext()){ int v1 = scan.nextInt();...
[ 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, 17, 30, 41, 13, 4, 18, 13, 42, 17, 30, 14, 2, 13, 17, 30, 3, 41, 13, 4, 18, 13, 17, 17, 41, 13, 4, 18, 13, 18, 1...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 88, 11 ], [ 88, 12 ], [ 12, 13 ], [ 12, 14 ], ...
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\t//0002\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString str = br.readLine()...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { //0002 public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try{ String str = br.readLine(); while(true){ if...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 2, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 13, 17, 4, 18, 18, 13, 13, 4, 18, 4, 18, 13, 13, 23, 13, 10, 6, ...
[ [ 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 ], ...
[ "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 String[] line = sc.nextLine().split(\" \");\n int sum = Integer.parseInt(line[0]) + Integer.parseInt(line[1]);\n ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in);; while(sc.hasNext()) { String[] line = sc.nextLine().split(" "); int sum = Integer.parseInt(line[0]) + Integer.parseInt(line[1]); System.ou...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 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...
[ [ 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 ], [...
[ "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 String ab = in.nextLine();\n String[] ls = ab.split(\" \",0);\n int[] ls2 = new int[2];\n for (int i = 0...
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); while(in.hasNext()) { String ab = in.nextLine(); String[] ls = ab.split(" ",0); int[] ls2 = new int[2]; for (int i = 0 ; i < 2; i++) {...
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 42, 2, 0, 13, 4, 18, 13, 17, 30, 41, 13, 4, 18, 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 ], ...
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tArrayList<Integ...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; class Main { public static void main(String[] args) { InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); ArrayList<Integer> output = new Arra...
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 20, 41, 13, 42, 4, 18, 13, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 4, 18, 18, ...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 63, 11 ], [ 63, 12 ], [ 12, 13 ], [ 12, 14 ], ...
[ "import java.util.*;\nimport java.util.Scanner ; \nimport java.math.BigInteger;\n\npublic class Main {\n public static void main(String[] args) {\n BigInteger a,b,r;\n Scanner sc = new Scanner(System.in);\n String s;\n while(sc.hasNextBigInteger()){\n a = sc.nextBigInteger(...
import java.util.*; import java.util.Scanner ; import java.math.BigInteger; public class Main { public static void main(String[] args) { BigInteger a,b,r; Scanner sc = new Scanner(System.in); String s; while(sc.hasNextBigInteger()){ a = sc.nextBigInteger(); ...
[ 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, 20, 17, 0, 18, 13, 17, 4, 18, 13, 18, 13, 17, 0, 18, 13, 17, 4, 18...
[ [ 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 ], ...
[ "import java.io.*;\nimport java.math.*;\nimport java.io.*;\n\nclass Main\n{\n\tpublic static void main(String[] arg)throws IOException\n\t{\n\t\tBufferedReader input = new BufferedReader (new InputStreamReader(System.in));\n\n\t\tString line;\n\t\twhile((line=input.readLine())!=null)\n\t\t{\n\t\t\tString[] str=line...
import java.io.*; import java.math.*; import java.io.*; class Main { public static void main(String[] arg)throws IOException { BufferedReader input = new BufferedReader (new InputStreamReader(System.in)); String line; while((line=input.readLine())!=null) { String[] str=line.split(" "); int num[]=new 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, 41, 13, 17, 42, 2, 13, 17, 30, 40, 13, 0, 13, 17, 4, 18, 18, 13, 13, 13, 12, 13, 30, 4, 18, 20, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [...
[ "import java.util.Scanner;\n\nclass Main {\n private void digitNumber() {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int sum = sc.nextInt() + sc.nextInt();\n int c = 0;\n while (sum != 0) {\n c++;\n sum /= 10;\n ...
import java.util.Scanner; class Main { private void digitNumber() { Scanner sc = new Scanner(System.in); while (sc.hasNext()) { int sum = sc.nextInt() + sc.nextInt(); int c = 0; while (sum != 0) { c++; sum /= 10; } ...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 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 ], [ 46, 5 ], [ 46, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], ...
[ "\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[]args){\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tint count = String.valueOf(a + b).length();\n\n\n\t\t\tSystem.out.println(count);...
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 count = String.valueOf(a + b).length(); System.out.println(count); } } }
[ 7, 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 ], [ 53, 2 ], [ 53, 3 ], [ 3, 4 ], [ 3, 5 ], [ 5, 6 ], [ 6, 7 ], [ 6, 8 ], [ 5, 9 ], [ 9, 10 ], [ 10, 11 ], [ 11, 12 ], [ 9, 13 ], [ 13, 14 ], ...
[ "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.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\t\tint sum = a + b;\n\n\t\t\tint c...
public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? java.util.Scanner sc = new java.util.Scanner(System.in); while ( sc.hasNext() ) { int a = sc.nextInt(); int b = sc.nextInt(); int sum = a + b; int count = 0; while (sum != 0) { ...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 13, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 29, 4, 18, 2, 17, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 53, 5 ], [ 53, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 10, 14 ],...
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)){\n\t\t\twhile(scanner.hasNext()){\n\t\t\t\tint result = digitNumber(scanner.nextInt(), scanner.nextInt());\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t}\n\t}\n\t\n\...
import java.util.Scanner; public class Main { public static void main(String[] args) { try(Scanner scanner = new Scanner(System.in)){ while(scanner.hasNext()){ int result = digitNumber(scanner.nextInt(), scanner.nextInt()); System.out.println(result); } } } public static int digitNumber(int a, 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, 41, 13, 17, 42, 2, 13, 4, 13, 13, 30, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 17, 11, 1, 41...
[ [ 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 ], [ 13, 14 ], ...
[ "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\t\n\t\twhile(sc.hasNext()){\n\t\t\tint num = sc.nextInt() + sc. nextInt();\n\t\t\tint d = 1;\n\t\t\twhile(num >= tene(d)){\n\t\t\t\td++;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.pr...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext()){ int num = sc.nextInt() + sc. nextInt(); int d = 1; while(num >= tene(d)){ d++; } System.out.println(d); } } private static int tene(int d...
[ 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 ], ...
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tint sum = a + b;\n\n\t\t\tString checkSumLen...
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 a = sc.nextInt(); int b = sc.nextInt(); int sum = a + b; String checkSumLength = String.valueOf(sum); System.ou...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 2, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 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 ], ...
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n String result = String.valueOf(a+b);\...
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(); String result = String.valueOf(a+b); Sy...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 30, 41, 13, 20, 4, 13, 13, 23, 13, 12, 13, 30, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 55, 5 ], [ 55, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 10, 14 ],...
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n while (in.hasNext()) {\n int a = in.nextInt(), b = in.ne...
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner in = new Scanner(System.in)) { solve(in); } } private static void solve(Scanner in) { while (in.hasNext()) { int a = in.nextInt(), b = in.nextInt(); ...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 41, 13, 41, 13, 20, 42, 4, 18, 13, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 2, 13, 13, 2, 13, 13, 2, 2, 13, 13, 2, 13, 13, 30, 4, 1...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 72, 5 ], [ 72, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], ...
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tfinal int lowerLimit = 0;\n\t\tfinal int upperLimit = 1000000;\n\t\tint num1, num2;\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(scan.hasNext()) {\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextI...
import java.util.Scanner; public class Main { public static void main(String[] args) { final int lowerLimit = 0; final int upperLimit = 1000000; int num1, num2; Scanner scan = new Scanner(System.in); while(scan.hasNext()) { num1 = scan.nextInt(); num2 = scan.nextInt(); if((num1 >= lowerLimit...
[ 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, 0, 13, 13, 41, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [...
[ "import java.util.*;\n\nclass Main{\n public static void main(String[] args){\n Scanner s = new Scanner(System.in);\n\nwhile(s.hasNext()){\n int a = s.nextInt();\n int b = s.nextInt();\n a += b;\n String c = String.valueOf(a);\n System.out.println(c.length());\n }\n }\n}", "import java.util.*;", "util.*", "...
import java.util.*; class Main{ public static void main(String[] args){ Scanner s = new Scanner(System.in); while(s.hasNext()){ int a = s.nextInt(); int b = s.nextInt(); a += b; String c = String.valueOf(a); System.out.println(c.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, 4, 18, 13, 2, 13, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [...
[ "import java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String args[]){\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(in.hasNext()){\n\t\t\tint a = in.nextInt();\n\t\t\tint b = in.nextInt();\n\t\t\tint c = (int)Math.log10(a+b) + 1;\n\t\t\tSystem.out.println(c);\n\t\t}\n\t}\n}", "import java.ut...
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner in = new Scanner(System.in); while(in.hasNext()){ int a = in.nextInt(); int b = in.nextInt(); int c = (int)Math.log10(a+b) + 1; System.out.println(c); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 14, 2, 13, 17, 4, 18, 13, 17, 41, 13, 4, 18, 13, 17, 41, 13, 41, 13, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 41...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 81, 5 ], [ 81, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], ...
[ "import java.io.*;\n\npublic class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString s=reader.readLine();\n\t\t\tif(s==null)System.exit(0);\n\t\t\tString[] t=s.split(\" \");\n\t\t\tint a...
import java.io.*; public class Main{ public static void main(String[] args)throws IOException{ BufferedReader reader=new BufferedReader(new InputStreamReader(System.in)); while(true){ String s=reader.readLine(); if(s==null)System.exit(0); String[] t=s.split(" "); int a,b; a=Integer.parseInt(t[0]); ...
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 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, 13, 13, 28, 13, 13, 30, 3...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 65, 5 ], [ 65, 6 ], [ 6, 7 ], [ 6, 8 ], [ 65, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ],...
[ "import java.util.*;\n\npublic class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\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...
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ List<Integer> list = new ArrayList<Integer>(); while(scan.hasNext()){ int a = scan.nextInt(); int b = scan.nextInt(); int c = a + b; String d = String.valueOf(c)...
[ 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, 0, 13, 17, 42, 2, 13, 17, 30, 0, 13, 17, 40, 13, 4, 18, ...
[ [ 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 ], [ ...
[ "import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint a,b,c,d;\n\twhile(sc.hasNextInt()){\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t c=a+b;\n\t d=0;\n\t while(c>0)\n\t\t{\n\t\t c/=10;\n\t\t d++;\n\t\t}\n\t Syste...
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a,b,c,d; while(sc.hasNextInt()){ a=sc.nextInt(); b=sc.nextInt(); c=a+b; d=0; while(c>0) { c/=10; d++; } System.out.println(d); } } }
[ 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, 0, 13, 4, 18, 13, 42, 2, 13, 17, 30, 41, 13, 20, 0, 13, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 1...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 88, 11 ], [ 88, 12 ], [ 12, 13 ], [ 12, 14 ], ...
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint a,b,w;\n\t\tString str;\n\t\tString[] s;\n\t\tstr=b...
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)); int a,b,w; String str; String[] s; str=br.readLine(); while(str...
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 42, 4, 18, 13, 30, 41, 13, 4, 18, 4, 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, 4, 13, ...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 76, 5 ], [ 76, 6 ], [ 6, 7 ], [ 6, 8 ], [ 76, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 13, 14 ],...
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\twhile (scanner.hasNext()) {\n\n\t\t\tString[] numSet = input().split(\" \");\n\n\t\t\tint a = Integer.parseInt(numSet[0]);\n\t\t\tint b = Integer.parseI...
import java.util.Scanner; public class Main { public static Scanner scanner = new Scanner(System.in); public static void main(String[] args) { while (scanner.hasNext()) { String[] numSet = input().split(" "); int a = Integer.parseInt(numSet[0]); int b = Integer.parseInt(numSet[1]); System.out.pri...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 17, 30, 41, 13, 20, 41, 13, 42, 2, 0, 13, 4, 18, 13, 17, 30, 41, 13, 4, 18, 13, 17, 41, 13, 2, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 13, 17, 4, 18, ...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 67, 5 ], [ 67, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 13, 14 ],...
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n try (Scanner scan = new Scanner(System.in)) {\n String inData;\n while ((inData = scan.nextLine()) != null) {\n String[] inDataList = inData.split(\" \");\n ...
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner scan = new Scanner(System.in)) { String inData; while ((inData = scan.nextLine()) != null) { String[] inDataList = inData.split(" "); int sum = Intege...
[ 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, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 2, 13, 13, 4...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 68, 8 ], [ 68, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], ...
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str;\n\t\twhile((str = br.readLine()) != null){\n\t\t\tString[] num = str.split(\" \",0);\n\t\t...
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 str; while((str = br.readLine()) != null){ String[] num = str.split(" ",0); int x = Integer.parseInt(num[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, 17, 42, 2, 13, 17, 30, 0, 13, 2, 13, 17, 40, 13, 4, 18, 18, 13, 13, 13, 4, 18,...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 59, 5 ], [ 59, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], ...
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String a[]){\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\n\t\t\tint b = scanner.nextInt();\n\t\t\tint c = scanner.nextInt();\n\t\t\tint s = b+c;\n\t\t\tint d = 0;\n\t\t\twhile(s!=0){\n\t\t\t\ts = s/10;\n...
import java.util.Scanner; public class Main { public static void main(String a[]){ Scanner scanner = new Scanner(System.in); while(scanner.hasNext()){ int b = scanner.nextInt(); int c = scanner.nextInt(); int s = b+c; int d = 0; while(s!=0){ s = s/10; d++; } System.out.println(d); ...
[ 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, 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, ...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 73, 8 ], [ 73, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], ...
[ "import java.util.StringTokenizer;\nimport java.io.*;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString input = br.readLine();\n\t\t\tStringTokenizer token;\n\t\t\twhile(input != ...
import java.util.StringTokenizer; import java.io.*; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try{ String input = br.readLine(); StringTokenizer token; while(input != null){ token = new Strin...
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 41, 13, 12, 13, 30, 42, 4, 13, 30, 4, 13, 23, 13, 12, 13, 30, 14, 40, 4, 18, 13, 29, 17, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 29, 17, 12, 13, 3...
[ [ 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 ], ...
[ "import java.util.*;\nimport static java.util.Arrays.*;\nimport static java.lang.Math.*;\npublic class Main {\n\n\tstatic Scanner sc = new Scanner(System.in);\n\t\n\tpublic static void main(String[] args) {\n\t\twhile (read()) {\n\t\t\tsolve();\n\t\t}\n\t}\n\t\n\tstatic int a, b;\n\tstatic boolean read() {\n\t\tif ...
import java.util.*; import static java.util.Arrays.*; import static java.lang.Math.*; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { while (read()) { solve(); } } static int a, b; static boolean read() { if (!sc.hasNextInt()) return false; a...
[ 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,...
[ [ 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 ], ...
[ "import java.io.*;\nimport java.util.*;\npublic class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n String t;\n while((t=buf.readLine())!=null){\n String str[]=t.split(\" \");\n ...
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws IOException{ BufferedReader buf=new BufferedReader(new InputStreamReader(System.in)); String t; while((t=buf.readLine())!=null){ String str[]=t.split(" "); int x=In...
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 20, 42, 4, 18, 13, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 4, 18, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, ...
[ [ 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 ], [ 11, 14 ], ...
[ "import java.io.IOException;\nimport java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException{\n\t\tint firstinput;\n\t\tint secondinput;\n\t\tint length;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tfirstinput = s...
import java.io.IOException; import java.util.Scanner; public class Main{ public static void main(String[] args) throws NumberFormatException, IOException{ int firstinput; int secondinput; int length; Scanner scan = new Scanner(System.in); while(scan.hasNext()){ firstinput = scan.nextInt(); secondinput...
[ 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, 4, 18...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 72, 5 ], [ 72, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], ...
[ "import java.util.*;\n \npublic class Main {\n public static void main(String args[] ) throws Exception {\n \t\n \t\n \t Scanner sc = new Scanner(System.in);\n \t int count = 0;\n \t \n while (sc.hasNext() && count<201){\n String s = sc.nextLine();\n String[] array ...
import java.util.*; public class Main { public static void main(String args[] ) throws Exception { Scanner sc = new Scanner(System.in); int count = 0; while (sc.hasNext() && count<201){ String s = sc.nextLine(); String[] array = s.split(" "); ...
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 42, 2, 0, 13, 4, 18, 13, 17, 30, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 17, ...
[ [ 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 ], ...
[ "\nimport 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 BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n String readStr;\n while ((readStr = r...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String readStr; while ((readStr = reader.readLine()...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 2, 17, 13, 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 ], ...
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (scan.hasNext()) {\n\t\t\t\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\t\n\t\t\tint c = a + b;\n\t\t\tString d = \"\" + c;\n\t\t\t\n\t\t\tSys...
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 c = a + b; String d = "" + c; System.out.println(d.length()); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 17, 42, 2, 0, 13, 4, 18, 13, 17, 30, 14, 40, 4, 18, 13, 30, 41, 13, 20, 0, 13, 2, 4, 18, 13, 4, 18, 13, 4, 18,...
[ [ 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 ], ...
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\nclass Main{\n public static void main(String[] a) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; class Main{ public static void main(String[] a) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str; int sum=0; while((s...
[ 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 ], [...
[ "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\tSystem.out.println(Integer.toString(sc.nextInt() + sc.nextInt()).length());\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "class Main{\n\tpubl...
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(sc.hasNext()){ System.out.println(Integer.toString(sc.nextInt() + sc.nextInt()).length()); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 42, 2, 2, 13, 13, 13, 30, 40, 13, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6...
[ [ 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 ], ...
[ "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\twhile (scanner.hasNext()) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint i = 0;\n\t\t\tint digit = 1;\n\t\t\twhile (a + b >= digit) {\...
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 i = 0; int digit = 1; while (a + b >= digit) { i++; digit *= 10; } Sy...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 20, 42, 4, 18, 13, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 2, 13, 13, 41, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, ...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 55, 5 ], [ 55, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], ...
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t//??????????????°\n\n\t\tint num1;\n\t\tint num2;\n\t\tint goukei;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(scan.hasNext()){\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\n\t\t\tgou...
import java.util.Scanner; public class Main { public static void main(String[] args) { //??????????????° int num1; int num2; int goukei; Scanner scan = new Scanner(System.in); while(scan.hasNext()){ num1 = scan.nextInt(); num2 = scan.nextInt(); goukei = num1 + num2; String keta = String....
[ 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, 11, 1, 1, 40, 13, 30, 30, 41, 13, 2, 13, 17, 14, 2, 13, 17, 3, 0, 13, 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 ], ...
[ "import java.util.Scanner;\npublic class Main {\n \n public static void main(String[] args) {\n \n Scanner sc=new Scanner(System.in);\n while(sc.hasNext()){ //??\\??????????????????????????? ???????????£???????????????\n \tint a=sc.nextInt();\n \tint b=sc.nextInt();\n\n ...
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; ...
[ 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, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, ...
[ [ 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 ], [...
[ "import java.util.Scanner;\nclass Main{\n\tpublic static void main(String args[]){\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile(scanner.hasNext()){\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint sum = a+b;\n\t\t\tif(sum<10){\n\t\t\t\tSystem.out.println(\"1\");\n\t\t\t}...
import java.util.Scanner; 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 sum = a+b; if(sum<10){ System.out.println("1"); } if(sum<100 && sum>9){ System.out.p...
[ 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, 4, 18, 13, 42, 2, 13, 17, 30, 41, 13, 4, 18, 13, 17, 17, 41, 13, 4, 18, 4, 18, 13, 2, 4, 18, 13, 18, 13, 17,...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 75, 8 ], [ 75, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], ...
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n String st = br.readLine();\n while(st!=null){\n String[]...
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)); try{ String st = br.readLine(); while(st!=null){ String[] s = st.split(...
[ 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, 4, 18, 4, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 4, 18, 13, 13, 23, 13, 10,...
[ [ 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 ], ...
[ "import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner stdin = new Scanner(System.in);\n\n\t\twhile(stdin.hasNext()) {\n\t\t\tint x = stdin.nextInt();\n\t\t\tint y = stdin.nextInt();\n\t\t\tint z = x + y;\n\t\t\tBigDecimal.valueOf...
import java.math.BigDecimal; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner stdin = new Scanner(System.in); while(stdin.hasNext()) { int x = stdin.nextInt(); int y = stdin.nextInt(); int z = x + y; BigDecimal.valueOf(z).precision(); System.out.prin...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 17, 41, 13, 20, 17, 11, 1, 41, 13, 17, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 17, 3, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 2, ...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 110, 5 ], [ 110, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], ...
[ "\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b,x,count =0;\n\t\tint []result = new int[200];\n\t\tfor(int i = 0;;i++){\n\t\t\tif(sc.hasNext() == false) break;\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\...
import java.util.Scanner; public class Main { public static void main(String args[]){ Scanner sc = new Scanner(System.in); int a,b,x,count =0; int []result = new int[200]; for(int i = 0;;i++){ if(sc.hasNext() == false) break; a = sc.nextInt(); b = sc.nextInt(); x = a + b; for(int j = 1;;j++){ ...
[ 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, 4, 18, 4, 18, 13, 2, 13, 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 ], [ 8, 14 ], [ ...
[ "import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint a,b,c;\n\twhile(sc.hasNextInt()){\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t c=String.valueOf(a+b).length();\n\t System.out.println(c);\n\t}\n }\n}", "import java.u...
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a,b,c; while(sc.hasNextInt()){ a=sc.nextInt(); b=sc.nextInt(); c=String.valueOf(a+b).length(); System.out.println(c); } } }
[ 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 ], ...
[ "import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint a=sc.nextInt();\n\t\t\tint b=sc.nextInt();\n\t\t\tint x=a+b;\n\t\t\tString s=String.valueOf(x);\n\t\t\tSystem.out.println(s.length());\n\t\t}\n\t}\n}"...
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 x=a+b; String s=String.valueOf(x); System.out.println(s.length()); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 17, 41, 13, 41, 13, 20, 17, 41, 13, 20, 42, 2, 13, 17, 30, 14, 2, 0, 13, 4, 18, 13, 17, 3, 0, 13, 17, 0, 13, 4, 18, 13, 17, 17, 0, 13,...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [...
[ "import java.io.*;\n\nclass Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tint a,b,sum,digits;\n\t\tint i=1;\n\t\tString str;\n\t\tString num[]=new String[2];\n\t\tBufferedReader in =new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(i<=200){\n\t\t\tif((str=in.readLine())==nul...
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ int a,b,sum,digits; int i=1; String str; String num[]=new String[2]; BufferedReader in =new BufferedReader(new InputStreamReader(System.in)); while(i<=200){ if((str=in.readLine())==null) break; digits=1; n...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 2, 13, 13, 4, 18, 18...
[ [ 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 ], [ 13, 14 ], ...
[ "import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()) {\n\t\t\tString s = sc.nextLine();\n\t\t\tString []n = s.split(\" \");\n\t\t\tint a = Integer.parseInt(n[0]);\n\t\t\tint b = Integer.parseInt(n[1]);\n\t\t\t...
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext()) { String s = sc.nextLine(); String []n = s.split(" "); int a = Integer.parseInt(n[0]); int b = Integer.parseInt(n[1]); String t = Integer.toString(a + b); ...
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 30, 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, ...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 58, 11 ], [ 58, 12 ], [ 12, 13 ], [ 12, 14 ], ...
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\ttry {\n\t\t\tint x,y;\n\t\t\twhile(scan.hasNext()){\n\t\t\t\tx=...
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in))); try { int x,y; while(scan.hasNext()){ x=scan.nextInt(); y=scan.next...
[ 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, 17, 14, 2, 2, 2, 13, 13, 17, 17, 40, 13, 14, 2, 2, 2, 13, 13, 17, 17, 40, 13, 14, 2, ...
[ [ 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 ], ...
[ "import java.util.*;\nimport java.io.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n\t int a=sc.nextInt();\n\t int b=sc.nextInt();\n\t int keta=1;\n\t if((a+b)/10>0)keta++;\n\t if((a+b)/100>0)keta++;\n\t if((a+b)/100...
import java.util.*; import java.io.*; 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 keta=1; if((a+b)/10>0)keta++; if((a+b)/100>0)keta++; if((a+b)/1000>0)keta++; if((a+b...
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 4, 18, 13, 2, 13, 13, 12, 13, 30, 4, 18, 20, 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 ],...
[ "import java.util.Scanner;\n \npublic class Main{\n Scanner sc = new Scanner(System.in);\n \n void run(){\n while(sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(String.valueOf(a+b).length());\n }\n }\n \n public ...
import java.util.Scanner; public class Main{ Scanner sc = new Scanner(System.in); void run(){ while(sc.hasNext()){ int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(String.valueOf(a+b).length()); } } public static void main(S...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 41, 13, 17, 41, 13, 17, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 2, 13, 13, 42, 2, 2, 13, 17, 17, 30, 0, 13, 17, 40, 13, 4, 18, 18, ...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 61, 5 ], [ 61, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], ...
[ "import java.util.Scanner;\n\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNextInt()){\n\t\t\tint a, b = 0;\n\t\t\tint di = 1;\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\ta = a+b;\n\t\t\twhile(a/10 != 0){\n\t\t\t\ta /= 10;\n\...
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(sc.hasNextInt()){ int a, b = 0; int di = 1; a = sc.nextInt(); b = sc.nextInt(); a = a+b; while(a/10 != 0){ a /= 10; di++; } System.out.println(di); } ...
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 42, 2, 0, 13, 4, 18, 13, 17, 30, 41, 13, 4, 18, 13, 17, 41, 13, 2, 17, 4, 18, 13, 2, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 13, 17,...
[ [ 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 ], ...
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main\n{\n\n\tpublic static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\twhile((str=br.readLine())!=null)\n\t\...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args)throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String str; while((str=br.readLine())!=null) { String[] buf=str.spli...
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 42, 2, 0, 13, 4, 18, 13, 17, 30, 0, 13, 20, 14, 2, 4, 18, 13, 17, 4, 18, 18, 13, 13, 17, 41, 13, 41, 13, 3...
[ [ 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 ], [ 122, 14 ], ...
[ "\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n\n\t\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t BufferedReader br = new BufferedReader(new InputStreamR...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1...
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 12, 13, 30, 42, 4, 13, 30, 4, 13, 23, 13, 12, 13, 30, 14, 40, 4, 18, 13, 29, 17, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 29, 17, 12, 13, 30, 4, 18, 18, 13, 13, 4, 18, 4, ...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 59, 5 ], [ 59, 6 ], [ 6, 7 ], [ 6, 8 ], [ 59, 9 ], [ 9, 10 ], [ 59, 11 ], [ 11, 12 ], [ 11, 13 ], [ 13, 14 ]...
[ "import java.util.Scanner;\n\n\npublic class Main {\n\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int sum;\n\n\tpublic static void main(String[] args) {\n\t\twhile(read()){\n\t\t\tsolve();\n\t\t}\n\t}\n\n\tpublic static Boolean read(){\n\t\tif(!sc.hasNextInt()) return false;\n\n\t\tsum = sc.nextInt();...
import java.util.Scanner; public class Main { static Scanner sc = new Scanner(System.in); static int sum; public static void main(String[] args) { while(read()){ solve(); } } public static Boolean read(){ if(!sc.hasNextInt()) return false; sum = sc.nextInt(); sum += sc.nextInt(); return true;...
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 42, 2, 0, 13, 4, 18, 13, 17, 30, 41, 13, 4, 18, 13, 17, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 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 ], ...
[ "import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\nclass Main{\n\tpublic static void main (String[] args) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\twhile((line = br.readLine()) != null){\n\t\t\tString[] strs = line.split(\" \...
import java.util.*; import java.lang.*; import java.io.*; class Main{ public static void main (String[] args) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line; while((line = br.readLine()) != null){ String[] strs = line.split(" ", 2); int num1 = Integ...
[ 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, 20, 17, 0, 13, 4, 18, 13, 17, 41, 13, 2, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18...
[ [ 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 ], ...
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tString str;\n\t\twhil...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] a) throws IOException { InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); String str; while ((str = br.readLine()...
[ 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, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 17, 41, 13, 41, 13, 20, 17, 38, 5, 13, 30, 4, 18...
[ [ 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 ], ...
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.lang.reflect.Array;\nimport java.util.ArrayList;\nimport java.util.Comparator;\n\nimport static java.util.Arrays.sort;\n\n\npublic class Main {\n public static void main(Strin...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.lang.reflect.Array; import java.util.ArrayList; import java.util.Comparator; import static java.util.Arrays.sort; public class Main { public static void main(String[] args) throws ...
[ 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, 41, 13, 2, 13, 13, 41, 1...
[ [ 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 ], ...
[ "import java.io.*;\nimport java.util.*;\n\nclass Main{\n public static void main(String[] a) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while((line = br.readLine()) != null){\n String[] check = line.split(\" \")...
import java.io.*; import java.util.*; class Main{ public static void main(String[] a) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line; while((line = br.readLine()) != null){ String[] check = line.split(" "); i...
[ 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, 41, 13, 2, 4, 18, 13, 2, 13, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [...
[ "import java.util.*;\n\nclass Main{\npublic static void main(String[] args){\nint a;\nint b;\nScanner sc=new Scanner(System.in);\nwhile(sc.hasNextInt()){\na=sc.nextInt();\nb=sc.nextInt();\nint d=(int)Math.log10(a+b)+1;\nSystem.out.println(d);\n}\n}\n}", "import java.util.*;", "util.*", "java", "class Main{\...
import java.util.*; class Main{ public static void main(String[] args){ int a; int b; Scanner sc=new Scanner(System.in); while(sc.hasNextInt()){ a=sc.nextInt(); b=sc.nextInt(); int d=(int)Math.log10(a+b)+1; System.out.println(d); } } }
[ 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, 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 ], [ 49, 8 ], [ 49, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], ...
[ "import java.util.Scanner;\nimport java.util.Arrays;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(sc.hasNextInt()){\n int x = sc.nextInt();\n int y = sc.nextInt();\n String z = String.valueOf(x + y);...
import java.util.Scanner; import java.util.Arrays; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(sc.hasNextInt()){ int x = sc.nextInt(); int y = sc.nextInt(); String z = String.valueOf(x + y); S...
[ 7, 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, 42, 2, 13, 17, 30, 41, 13, 4, 18, 13, 17, 41, 13, 2, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 13, 17, 4, 18, 18,...
[ [ 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 ], ...
[ "import java.io.*;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader( new InputStreamReader(System.in));\n\t\t\ttry {\n\t\t\t\tString str = br.readLine();\n\t\t\t\twhile(str != null) {\n\t\t\t\t\tString[] strSplit = str.split(\" \");\n\t\t\t\t\tint sum = I...
import java.io.*; public class Main{ public static void main(String[] args) { BufferedReader br = new BufferedReader( new InputStreamReader(System.in)); try { String str = br.readLine(); while(str != null) { String[] strSplit = str.split(" "); int sum = Integer.parseInt(strSplit[0]) + Integer.p...
[ 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, 41, 13, 4, 18, 2, 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 ], [ 8, 14 ], ...
[ "import java.util.Scanner;\n\npublic class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner cin = new Scanner(System.in);\n\t\t\n\t\tint a,b;\n\n\t\twhile(cin.hasNext())\n\t\t{\n\t\t\ta=cin.nextInt();\n\t\t\tb=cin.nextInt();\n\t\t\n\t\t\tString s = ((Integer)(a+b)).toString();\n\t\t\tSystem.out.p...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner cin = new Scanner(System.in); int a,b; while(cin.hasNext()) { a=cin.nextInt(); b=cin.nextInt(); String s = ((Integer)(a+b)).toString(); System.out.println(s.length()); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 11, 1, 41, 13, 4, 13, 2, 13, 17, 1, 0, 13, 4, 13, 30, 30, 41, 13, 2, 18, 13, 17, 18, 13, 17, 4, 18, 18, 13, 13, 4, 18, 4, 18, 13, 13, 23, ...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 111, 11 ], [ 111, 12 ], [ 12, 13 ], [ 12, 14 ],...
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tfor (int[] n = readInts(); n != null; n = readInts()) {\n\t\t\tint val = n[0] + n[1];\n\t\t\tSystem.out.println(Integer.toString(...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { for (int[] n = readInts(); n != null; n = readInts()) { int val = n[0] + n[1]; System.out.println(Integer.toString(val).length()); } }...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 2, 13, 13, 41, 13, 17, 0, 13, 17, 42...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 80, 5 ], [ 80, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], ...
[ "import java.util.Scanner;\n\npublic class Main {\n\n\t/**\n\t * ?????°??????????????????????????????????????????????????????????????????????????????????????????????????? ???????????????????????????????????´??° a ??¨ b\n\t * ??????????????????????????§??????????????????????????????????????\\????????????????????§???...
import java.util.Scanner; public class Main { /** * ?????°??????????????????????????????????????????????????????????????????????????????????????????????????? ???????????????????????????????????´??° a ??¨ b * ??????????????????????????§??????????????????????????????????????\????????????????????§??????????????????...
[ 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, 17, 41, 13, 41, 13, 17, 41, 13, 17, 42, 2, 2, 13, 17, 2, 0, 13, 4, 18, 13, 17, 30, 0, 13, 4, 18, 13, 17, 1...
[ [ 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 ], [ 95, 14 ], ...
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main\n{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ArrayList<Inte...
[ 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, 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 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [...
[ "import java.util.Scanner;\n\nclass Main {\n \n public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n\n\twhile(stdin.hasNextInt()){\n\t int i = stdin.nextInt() + stdin.nextInt();\n\t int count = 0;\n\t while(i != 0){\n\t\tcount++;\n\t\ti /= 10;\n\t }\n\t System.ou...
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner stdin = new Scanner(System.in); while(stdin.hasNextInt()){ int i = stdin.nextInt() + stdin.nextInt(); int count = 0; while(i != 0){ count++; i /= 10; } System.out.println(count); } } } ...
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 12, 13, 30, 41, 13, 17, 41, 13, 20, 42, 2, 0, 13, 4, 18, 13, 17, 30, 41, 13, 4, 13, 13, 41, 13, 4, 13, 13, 41, 13, 4, 13, 13, 4, 18, 18, 13, 13, 13, 1...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 149, 11 ], [ 149, 12 ], [ 12, 13 ], [ 12, 14 ],...
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n /** 入力される数値の数 */\n private static final int NUMBER_OF_INPUT = 2;\n\n /**\n * 空白区切りの2つの数字を受け取り、その2つの数字の合計値の桁数を出力する。\n *\n * @param args\n */\n public static void main...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { /** 入力される数値の数 */ private static final int NUMBER_OF_INPUT = 2; /** * 空白区切りの2つの数字を受け取り、その2つの数字の合計値の桁数を出力する。 * * @param args */ public static void main(String[] args) thr...
[ 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, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 4, 18, 18, 13, 13, 4, 13, 2, ...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 80, 5 ], [ 80, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], ...
[ "import java.util.Scanner;\npublic class Main {\n public static void main (String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint a, b;\n\tString[] input;\n\twhile (scan.hasNext()) {\n\t input = scan.nextLine().split(\" \");\n\t a = Integer.parseInt(input[0]);\n\t b = Integer.parseInt(input[1...
import java.util.Scanner; public class Main { public static void main (String[] args) { Scanner scan = new Scanner(System.in); int a, b; String[] input; while (scan.hasNext()) { input = scan.nextLine().split(" "); a = Integer.parseInt(input[0]); b = Integer.parseInt(input[1]); System.out.pri...
[ 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, 2, 4, 18, 13, 13, 17, 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 ], ...
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) { \n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n int sum = sc.nextInt() + sc.nextInt();\n System.out.println((int)Math.log10(sum)+1);\n }\n }\n}", "import java...
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext()){ int sum = sc.nextInt() + sc.nextInt(); System.out.println((int)Math.log10(sum)+1); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 4, 18, 18, 13, 13, 2, 4, 18, 13, 2, 4, 18, 13, 4, 18, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [...
[ "/* Volume0 0002 Digit Number */\nimport java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] args){\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\twhile( stdIn.hasNext()){\n\t\t\tSystem.out.println( (int)Math.log10(stdIn.nextInt()+stdIn.nextInt())+1 );\n\t\t}\n\n\t}\n}", "import java.util...
/* Volume0 0002 Digit Number */ import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); while( stdIn.hasNext()){ System.out.println( (int)Math.log10(stdIn.nextInt()+stdIn.nextInt())+1 ); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 42, 4, 18, 13, 30, 0, 13, 2, 4, 18, 13, 4, 18, 13, 41, 13, 17, 42, 2, 13, 17, 30, 0, 13, 17, 40, 13, 4, 18, 18, 13, 13, 13, 29, 12...
[ [ 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 ], ...
[ "\nimport java.util.*;\nimport java.lang.*;\nimport java.math.*;\n\nclass Main {\n\n\tScanner sc = new Scanner(System.in);\n\n\tvoid run() {\n\t\t\n\t\tint x;\n\t\t\n\t\twhile ( sc.hasNextInt() ) {\n\t\t\tx = sc.nextInt() + sc.nextInt();\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tint count = 0;\n\t\t\t\n\t\t\tdo{\n\t\t\t\tx /=...
import java.util.*; import java.lang.*; import java.math.*; class Main { Scanner sc = new Scanner(System.in); void run() { int x; while ( sc.hasNextInt() ) { x = sc.nextInt() + sc.nextInt(); int count = 0; do{ x /= 10; count++; } while ( x != 0); System.out...
[ 7, 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, 2, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 13, 17, 4, 18, 18, 13, 13, 4, 18, 4, 18, 13, ...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 59, 5 ], [ 59, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], ...
[ "import java.io.*;\n\npublic class Main{\n public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line=null;\n while((line=br.readLine())!=null){\n \tString[] array=line.split(\" \");\n \tint s...
import java.io.*; public class Main{ public static void main(String[] args) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line=null; while((line=br.readLine())!=null){ String[] array=line.split(" "); int sum=Integer.parseI...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 17, 42, 2, 13, 17, 30, 0, 13, 17, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [...
[ "import java.util.*;\nclass Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\twhile(sc.hasNextInt()){\n\t\t\tint temp=sc.nextInt();\n\t\t\ttemp+=sc.nextInt();\n\t\t\tint count=0;\n\t\t\t//System.err.println(temp);\n\t\t\twhile(temp>0){\n\t\t\t\ttemp/=10;\n\t\t\t\tcount++...
import java.util.*; class Main{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); while(sc.hasNextInt()){ int temp=sc.nextInt(); temp+=sc.nextInt(); int count=0; //System.err.println(temp); while(temp>0){ temp/=10; count++; } System.out.println(count); } ...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 38, 5, 13, 30, 30, 42, 2, 0, 13, 4, 18, 13, 17, 30, 41, 13, 4, 18, 13, 17, 41, 13, 2, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 13, 17, 4, 18, 18, 13, 13, 4, ...
[ [ 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 ], ...
[ "import java.io.*;\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 try{\n while((s=br.readLine())!=null){\n String[] str=s.split(\" \");\n ...
import java.io.*; public class Main { public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String s; try{ while((s=br.readLine())!=null){ String[] str=s.split(" "); int n=...
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 41, 13, 42, 2, 13, 17, 30, 0, 13, 4, 18, 13, 17, 0, 13, 4, 18, 13, 2, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 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 ], ...
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nclass Main{\n public static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString strArray[];\n\t\tStr...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main{ public static void main(String[] a) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); String strArray[]; String str; while (lin...
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 41, 13, 41, 13, 42, 4, 18, 13, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 2, 4...
[ [ 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 ], ...
[ "import java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\nimport java.util.Arrays;\nimport java.util.Collections;\n\nclass Main {\n public static void main (String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n ...
import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; import java.util.Arrays; import java.util.Collections; class Main { public static void main (String[] args) throws IOException { Scanner sc = new Scanner(System.in); StringBuilder ...
[ 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, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 20, 41, 13, 20, 12, 13, 30, 41, 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 ], ...
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.ArrayDeque;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.HashMap;\nimport java.util.Stack;\nimport java.util.Scann...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.Stack; import java.util.Scanner; import java...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 14, 2, 13, 17, 30, 38, 5, 13, 30, 30, 4, 18, 13, 30, 0, 13, 20, 42, 4, 18, 13, 30, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2,...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 91, 5 ], [ 91, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], ...
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = null;\n\n\t\ttry {\n\t\t\tsc = new Scanner(System.in);\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tint[] numList = new int[2];\n\t\t\t\tfor (int i = 0; i < 2; i++) {\n\t\t\t\t\tnumList[i] = sc.nextInt();\n\t...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = null; try { sc = new Scanner(System.in); while (sc.hasNext()) { int[] numList = new int[2]; for (int i = 0; i < 2; i++) { numList[i] = sc.nextInt(); } int numRank = ("" + (numList[0] + ...
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 42, 17, 30, 38, 5, 13, 30, 4, 18, 13, 17, 30, 41, 13, 20, 41, 13, 2, 4, 18, 13, 4, 18, 13, 4, 18, 13, 4, 18...
[ [ 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 ], ...
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\nclass Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String str...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; class Main { public static void main(String[] args) throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String str=br.readLine(...
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 17, 42, 2, 0, 13, 4, 18, 13, 17, 30, 41, 13, 4, 18, 13, 17, 14, 40, 2, 2, 4, 18, 13, 18, 13, 17, 17, 2, 4, 18, 13, 18, 13, 17, 17, 30,...
[ [ 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 ], ...
[ "import java.util.*;\nimport java.io.*;\n\nclass Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s;\n int num = 0;\n while((s=br.readLine())!=null){\n String[] str = s.spl...
import java.util.*; import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String s; int num = 0; while((s=br.readLine())!=null){ String[] str = s.split(" "); ...
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 17, 41, 13, 41, 13, 41, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 17, 4, 18, 13, 0, 18, 18, 13, 1...
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 155, 5 ], [ 155, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ],...
[ "import java.util.Scanner;\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\nint size=kb.nextInt();\nint a[][]=new int[size][3];\nint x,y,z;\nfor(int i=0;i<size;i++){\n\ta[i][0]=kb.nextInt();\n\ta[i][...
import java.util.Scanner; public class Main{ public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner kb=new Scanner(System.in); int size=kb.nextInt(); int a[][]=new int[size][3]; int x,y,z; for(int i=0;i<size;i++){ a[i][0]=kb.nextInt(); a[i][1]=kb.nextInt(); a[i][...