node_ids
sequencelengths
4
1.4k
edge_index
sequencelengths
1
2.22k
text
sequencelengths
4
1.4k
source
stringlengths
14
427k
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 4, 18, 18, 13, 13, 4, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 30, 34 ], [ 6, 35 ], [ 35, 36 ] ]
[ "import java.util.*;\n\nclass Main{\n public static void main(String args[]){\n \tScanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n class Inner{\n int inner(int x,int y){\n if(y == 0){\n return x;\n }else{\n return inner(y,x%y);\n }\n }\n }\n Inner in = new Inner();\n System.out.println(in.inner(x,y));\n }\n}\n", "import java.util.*;", "util.*", "java", "class Main{\n public static void main(String args[]){\n \tScanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n class Inner{\n int inner(int x,int y){\n if(y == 0){\n return x;\n }else{\n return inner(y,x%y);\n }\n }\n }\n Inner in = new Inner();\n System.out.println(in.inner(x,y));\n }\n}", "Main", "public static void main(String args[]){\n \tScanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n class Inner{\n int inner(int x,int y){\n if(y == 0){\n return x;\n }else{\n return inner(y,x%y);\n }\n }\n }\n Inner in = new Inner();\n System.out.println(in.inner(x,y));\n }", "main", "{\n \tScanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n class Inner{\n int inner(int x,int y){\n if(y == 0){\n return x;\n }else{\n return inner(y,x%y);\n }\n }\n }\n Inner in = new Inner();\n System.out.println(in.inner(x,y));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "Inner in = new Inner();", "in", "new Inner()", "System.out.println(in.inner(x,y))", "System.out.println", "System.out", "System", "System.out", "in.inner(x,y)", "in.inner", "in", "x", "y", "String args[]", "args" ]
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); class Inner{ int inner(int x,int y){ if(y == 0){ return x; }else{ return inner(y,x%y); } } } Inner in = new Inner(); System.out.println(in.inner(x,y)); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 4, 13, 18, 13, 17, 18, 13, 17, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 13, 17, 30, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 119, 11 ], [ 119, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 18, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 28, 33 ], [ 25, 34 ], [ 34, 35 ], [ 34, 36 ], [ 37, 38 ], [ 37, 39 ], [ 25, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 40, 50 ], [ 50, 51 ], [ 51, 52 ], [ 40, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 62, 63 ], [ 62, 64 ], [ 25, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 12, 81 ], [ 81, 82 ], [ 119, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 94, 95 ], [ 94, 96 ], [ 90, 97 ], [ 97, 98 ], [ 97, 99 ], [ 85, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 105, 106 ], [ 85, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 108, 111 ], [ 111, 112 ], [ 111, 113 ], [ 83, 114 ], [ 114, 115 ], [ 83, 116 ], [ 116, 117 ], [ 0, 118 ], [ 118, 119 ], [ 118, 120 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\n\npublic class Main{\n public static void main(String[] args){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n String[] arr = br.readLine().split(\"\\\\s\");\n int[] nums = new int[arr.length];\n \n for(int i=0; i<arr.length; i++){\n nums[i] = Integer.parseInt(arr[i]);\n }\n \n System.out.println(String.valueOf(calc(nums[0], nums[1])));\n \n }catch(IOException e) {\n e.printStackTrace();\n }\n }\n \n static int calc(int a, int b){\n if(a<b) {\n int tmp = a;\n a = b;\n b = tmp;\n }\n if(b==0){\n return a;\n }\n return calc(b, a%b);\n }\n}\n", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "public class Main{\n public static void main(String[] args){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n String[] arr = br.readLine().split(\"\\\\s\");\n int[] nums = new int[arr.length];\n \n for(int i=0; i<arr.length; i++){\n nums[i] = Integer.parseInt(arr[i]);\n }\n \n System.out.println(String.valueOf(calc(nums[0], nums[1])));\n \n }catch(IOException e) {\n e.printStackTrace();\n }\n }\n \n static int calc(int a, int b){\n if(a<b) {\n int tmp = a;\n a = b;\n b = tmp;\n }\n if(b==0){\n return a;\n }\n return calc(b, a%b);\n }\n}", "Main", "public static void main(String[] args){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n String[] arr = br.readLine().split(\"\\\\s\");\n int[] nums = new int[arr.length];\n \n for(int i=0; i<arr.length; i++){\n nums[i] = Integer.parseInt(arr[i]);\n }\n \n System.out.println(String.valueOf(calc(nums[0], nums[1])));\n \n }catch(IOException e) {\n e.printStackTrace();\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n String[] arr = br.readLine().split(\"\\\\s\");\n int[] nums = new int[arr.length];\n \n for(int i=0; i<arr.length; i++){\n nums[i] = Integer.parseInt(arr[i]);\n }\n \n System.out.println(String.valueOf(calc(nums[0], nums[1])));\n \n }catch(IOException e) {\n e.printStackTrace();\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "try {\n String[] arr = br.readLine().split(\"\\\\s\");\n int[] nums = new int[arr.length];\n \n for(int i=0; i<arr.length; i++){\n nums[i] = Integer.parseInt(arr[i]);\n }\n \n System.out.println(String.valueOf(calc(nums[0], nums[1])));\n \n }catch(IOException e) {\n e.printStackTrace();\n }", "catch(IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n String[] arr = br.readLine().split(\"\\\\s\");\n int[] nums = new int[arr.length];\n \n for(int i=0; i<arr.length; i++){\n nums[i] = Integer.parseInt(arr[i]);\n }\n \n System.out.println(String.valueOf(calc(nums[0], nums[1])));\n \n }", "String[] arr = br.readLine().split(\"\\\\s\");", "arr", "br.readLine().split(\"\\\\s\")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\"\\\\s\"", "int[] nums = new int[arr.length];", "nums", "new int[arr.length]", "arr.length", "arr", "arr.length", "for(int i=0; i<arr.length; i++){\n nums[i] = Integer.parseInt(arr[i]);\n }", "int i=0;", "int i=0;", "i", "0", "i<arr.length", "i", "arr.length", "arr", "arr.length", "i++", "i++", "i", "{\n nums[i] = Integer.parseInt(arr[i]);\n }", "{\n nums[i] = Integer.parseInt(arr[i]);\n }", "nums[i] = Integer.parseInt(arr[i])", "nums[i]", "nums", "i", "Integer.parseInt(arr[i])", "Integer.parseInt", "Integer", "arr[i]", "arr", "i", "System.out.println(String.valueOf(calc(nums[0], nums[1])))", "System.out.println", "System.out", "System", "System.out", "String.valueOf(calc(nums[0], nums[1]))", "String.valueOf", "String", "calc(nums[0], nums[1])", "calc", "nums[0]", "nums", "0", "nums[1]", "nums", "1", "String[] args", "args", "static int calc(int a, int b){\n if(a<b) {\n int tmp = a;\n a = b;\n b = tmp;\n }\n if(b==0){\n return a;\n }\n return calc(b, a%b);\n }", "calc", "{\n if(a<b) {\n int tmp = a;\n a = b;\n b = tmp;\n }\n if(b==0){\n return a;\n }\n return calc(b, a%b);\n }", "if(a<b) {\n int tmp = a;\n a = b;\n b = tmp;\n }", "a<b", "a", "b", "{\n int tmp = a;\n a = b;\n b = tmp;\n }", "int tmp = a;", "tmp", "a", "a = b", "a", "b", "b = tmp", "b", "tmp", "if(b==0){\n return a;\n }", "b==0", "b", "0", "{\n return a;\n }", "return a;", "a", "return calc(b, a%b);", "calc(b, a%b)", "calc", "b", "a%b", "a", "b", "int a", "a", "int b", "b", "public class Main{\n public static void main(String[] args){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n String[] arr = br.readLine().split(\"\\\\s\");\n int[] nums = new int[arr.length];\n \n for(int i=0; i<arr.length; i++){\n nums[i] = Integer.parseInt(arr[i]);\n }\n \n System.out.println(String.valueOf(calc(nums[0], nums[1])));\n \n }catch(IOException e) {\n e.printStackTrace();\n }\n }\n \n static int calc(int a, int b){\n if(a<b) {\n int tmp = a;\n a = b;\n b = tmp;\n }\n if(b==0){\n return a;\n }\n return calc(b, a%b);\n }\n}", "public class Main{\n public static void main(String[] args){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n String[] arr = br.readLine().split(\"\\\\s\");\n int[] nums = new int[arr.length];\n \n for(int i=0; i<arr.length; i++){\n nums[i] = Integer.parseInt(arr[i]);\n }\n \n System.out.println(String.valueOf(calc(nums[0], nums[1])));\n \n }catch(IOException e) {\n e.printStackTrace();\n }\n }\n \n static int calc(int a, int b){\n if(a<b) {\n int tmp = a;\n a = b;\n b = tmp;\n }\n if(b==0){\n return a;\n }\n return calc(b, a%b);\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main{ public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try { String[] arr = br.readLine().split("\\s"); int[] nums = new int[arr.length]; for(int i=0; i<arr.length; i++){ nums[i] = Integer.parseInt(arr[i]); } System.out.println(String.valueOf(calc(nums[0], nums[1]))); }catch(IOException e) { e.printStackTrace(); } } static int calc(int a, int b){ if(a<b) { int tmp = a; a = b; b = tmp; } if(b==0){ return a; } return calc(b, a%b); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 41, 13, 14, 2, 18, 13, 17, 18, 13, 17, 30, 4, 18, 18, 13, 13, 18, 13, 17, 29, 14, 2, 18, 13, 17, 18, 13, 17, 30, 0, 13, 18, 13, 17, 0, 13, 18, 13, 17, 30, 0, 13, 18, 13, 17, 0, 13, 18, 13, 17, 42, 17, 30, 41, 13, 2, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 29, 30, 0, 13, 13, 0, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 97, 5 ], [ 97, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 19, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 27, 36 ], [ 19, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 45, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 37, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 56, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 8, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 69, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 79, 86 ], [ 75, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 91, 92 ], [ 91, 93 ], [ 6, 94 ], [ 94, 95 ], [ 0, 96 ], [ 96, 97 ], [ 96, 98 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n int big, small;\n if (a[0] == a[1]) {\n System.out.println(a[0]);\n return;\n } else if (a[0] > a[1]) {\n big = a[0];\n small = a[1];\n } else {\n big = a[1];\n small = a[0];\n }\n\n while (true) {\n int x = big % small;\n if (x == 0) {\n System.out.println(small);\n return;\n } else {\n big = small;\n small = x;\n }\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n int big, small;\n if (a[0] == a[1]) {\n System.out.println(a[0]);\n return;\n } else if (a[0] > a[1]) {\n big = a[0];\n small = a[1];\n } else {\n big = a[1];\n small = a[0];\n }\n\n while (true) {\n int x = big % small;\n if (x == 0) {\n System.out.println(small);\n return;\n } else {\n big = small;\n small = x;\n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n int big, small;\n if (a[0] == a[1]) {\n System.out.println(a[0]);\n return;\n } else if (a[0] > a[1]) {\n big = a[0];\n small = a[1];\n } else {\n big = a[1];\n small = a[0];\n }\n\n while (true) {\n int x = big % small;\n if (x == 0) {\n System.out.println(small);\n return;\n } else {\n big = small;\n small = x;\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n int big, small;\n if (a[0] == a[1]) {\n System.out.println(a[0]);\n return;\n } else if (a[0] > a[1]) {\n big = a[0];\n small = a[1];\n } else {\n big = a[1];\n small = a[0];\n }\n\n while (true) {\n int x = big % small;\n if (x == 0) {\n System.out.println(small);\n return;\n } else {\n big = small;\n small = x;\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int[] a = new int[]{sc.nextInt(), sc.nextInt()};", "a", "new int[]{sc.nextInt(), sc.nextInt()}", "int big", "big", "small;", "small", "if (a[0] == a[1]) {\n System.out.println(a[0]);\n return;\n } else if (a[0] > a[1]) {\n big = a[0];\n small = a[1];\n } else {\n big = a[1];\n small = a[0];\n }", "a[0] == a[1]", "a[0]", "a", "0", "a[1]", "a", "1", "{\n System.out.println(a[0]);\n return;\n }", "System.out.println(a[0])", "System.out.println", "System.out", "System", "System.out", "a[0]", "a", "0", "return;", "if (a[0] > a[1]) {\n big = a[0];\n small = a[1];\n } else {\n big = a[1];\n small = a[0];\n }", "a[0] > a[1]", "a[0]", "a", "0", "a[1]", "a", "1", "{\n big = a[0];\n small = a[1];\n }", "big = a[0]", "big", "a[0]", "a", "0", "small = a[1]", "small", "a[1]", "a", "1", "{\n big = a[1];\n small = a[0];\n }", "big = a[1]", "big", "a[1]", "a", "1", "small = a[0]", "small", "a[0]", "a", "0", "while (true) {\n int x = big % small;\n if (x == 0) {\n System.out.println(small);\n return;\n } else {\n big = small;\n small = x;\n }\n }", "true", "{\n int x = big % small;\n if (x == 0) {\n System.out.println(small);\n return;\n } else {\n big = small;\n small = x;\n }\n }", "int x = big % small;", "x", "big % small", "big", "small", "if (x == 0) {\n System.out.println(small);\n return;\n } else {\n big = small;\n small = x;\n }", "x == 0", "x", "0", "{\n System.out.println(small);\n return;\n }", "System.out.println(small)", "System.out.println", "System.out", "System", "System.out", "small", "return;", "{\n big = small;\n small = x;\n }", "big = small", "big", "small", "small = x", "small", "x", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n int big, small;\n if (a[0] == a[1]) {\n System.out.println(a[0]);\n return;\n } else if (a[0] > a[1]) {\n big = a[0];\n small = a[1];\n } else {\n big = a[1];\n small = a[0];\n }\n\n while (true) {\n int x = big % small;\n if (x == 0) {\n System.out.println(small);\n return;\n } else {\n big = small;\n small = x;\n }\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n int big, small;\n if (a[0] == a[1]) {\n System.out.println(a[0]);\n return;\n } else if (a[0] > a[1]) {\n big = a[0];\n small = a[1];\n } else {\n big = a[1];\n small = a[0];\n }\n\n while (true) {\n int x = big % small;\n if (x == 0) {\n System.out.println(small);\n return;\n } else {\n big = small;\n small = x;\n }\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[] a = new int[]{sc.nextInt(), sc.nextInt()}; int big, small; if (a[0] == a[1]) { System.out.println(a[0]); return; } else if (a[0] > a[1]) { big = a[0]; small = a[1]; } else { big = a[1]; small = a[0]; } while (true) { int x = big % small; if (x == 0) { System.out.println(small); return; } else { big = small; small = x; } } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 17, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 13, 17, 30, 41, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 65, 5 ], [ 65, 6 ], [ 6, 7 ], [ 6, 8 ], [ 65, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 12, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 12, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 12, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 34, 36 ], [ 30, 37 ], [ 37, 38 ], [ 37, 39 ], [ 12, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 44, 50 ], [ 50, 51 ], [ 50, 52 ], [ 44, 53 ], [ 53, 54 ], [ 53, 55 ], [ 12, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 10, 62 ], [ 62, 63 ], [ 0, 64 ], [ 64, 65 ], [ 64, 66 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\t\n\tstatic int[] memo = new int[45];\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tint x = in.nextInt();\n\t\tint y = in.nextInt();\n\t\t\n\t\tif (y > x) {\n\t\t\tint tmp = y;\n\t\t\ty = x;\n\t\t\tx = tmp;\n\t\t}\n\t\t\n\t\twhile (y > 0) {\n\t\t\tint tmp = x%y;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\t\n\t\tSystem.out.println(x);\n\t}\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t\n\tstatic int[] memo = new int[45];\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tint x = in.nextInt();\n\t\tint y = in.nextInt();\n\t\t\n\t\tif (y > x) {\n\t\t\tint tmp = y;\n\t\t\ty = x;\n\t\t\tx = tmp;\n\t\t}\n\t\t\n\t\twhile (y > 0) {\n\t\t\tint tmp = x%y;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\t\n\t\tSystem.out.println(x);\n\t}\n}", "Main", "static int[] memo = new int[45];", "memo", "new int[45]", "45", "public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tint x = in.nextInt();\n\t\tint y = in.nextInt();\n\t\t\n\t\tif (y > x) {\n\t\t\tint tmp = y;\n\t\t\ty = x;\n\t\t\tx = tmp;\n\t\t}\n\t\t\n\t\twhile (y > 0) {\n\t\t\tint tmp = x%y;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\t\n\t\tSystem.out.println(x);\n\t}", "main", "{\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tint x = in.nextInt();\n\t\tint y = in.nextInt();\n\t\t\n\t\tif (y > x) {\n\t\t\tint tmp = y;\n\t\t\ty = x;\n\t\t\tx = tmp;\n\t\t}\n\t\t\n\t\twhile (y > 0) {\n\t\t\tint tmp = x%y;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\t\n\t\tSystem.out.println(x);\n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int x = in.nextInt();", "x", "in.nextInt()", "in.nextInt", "in", "int y = in.nextInt();", "y", "in.nextInt()", "in.nextInt", "in", "if (y > x) {\n\t\t\tint tmp = y;\n\t\t\ty = x;\n\t\t\tx = tmp;\n\t\t}", "y > x", "y", "x", "{\n\t\t\tint tmp = y;\n\t\t\ty = x;\n\t\t\tx = tmp;\n\t\t}", "int tmp = y;", "tmp", "y", "y = x", "y", "x", "x = tmp", "x", "tmp", "while (y > 0) {\n\t\t\tint tmp = x%y;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}", "y > 0", "y", "0", "{\n\t\t\tint tmp = x%y;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}", "int tmp = x%y;", "tmp", "x%y", "x", "y", "x = y", "x", "y", "y = tmp", "y", "tmp", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "String[] args", "args", "public class Main {\n\t\n\tstatic int[] memo = new int[45];\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tint x = in.nextInt();\n\t\tint y = in.nextInt();\n\t\t\n\t\tif (y > x) {\n\t\t\tint tmp = y;\n\t\t\ty = x;\n\t\t\tx = tmp;\n\t\t}\n\t\t\n\t\twhile (y > 0) {\n\t\t\tint tmp = x%y;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\t\n\t\tSystem.out.println(x);\n\t}\n}", "public class Main {\n\t\n\tstatic int[] memo = new int[45];\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\t\n\t\tint x = in.nextInt();\n\t\tint y = in.nextInt();\n\t\t\n\t\tif (y > x) {\n\t\t\tint tmp = y;\n\t\t\ty = x;\n\t\t\tx = tmp;\n\t\t}\n\t\t\n\t\twhile (y > 0) {\n\t\t\tint tmp = x%y;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\t\n\t\tSystem.out.println(x);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { static int[] memo = new int[45]; public static void main(String[] args) { Scanner in = new Scanner(System.in); int x = in.nextInt(); int y = in.nextInt(); if (y > x) { int tmp = y; y = x; x = tmp; } while (y > 0) { int tmp = x%y; x = y; y = tmp; } System.out.println(x); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 42, 2, 13, 17, 30, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 73, 5 ], [ 73, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 41, 43 ], [ 37, 44 ], [ 44, 45 ], [ 44, 46 ], [ 32, 47 ], [ 47, 48 ], [ 47, 49 ], [ 32, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 32, 55 ], [ 55, 56 ], [ 55, 57 ], [ 32, 58 ], [ 58, 59 ], [ 58, 60 ], [ 8, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 8, 67 ], [ 67, 68 ], [ 68, 69 ], [ 6, 70 ], [ 70, 71 ], [ 0, 72 ], [ 72, 73 ], [ 72, 74 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int xx = 0, yy = 0;\n\n while(y != 0){\n if(x <= y){\n int t = x;\n x = y;\n y = t;\n }\n\n xx = y;\n yy = x % y;\n\n x = xx;\n y = yy;\n }\n \n System.out.println(xx);\n\n sc.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int xx = 0, yy = 0;\n\n while(y != 0){\n if(x <= y){\n int t = x;\n x = y;\n y = t;\n }\n\n xx = y;\n yy = x % y;\n\n x = xx;\n y = yy;\n }\n \n System.out.println(xx);\n\n sc.close();\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int xx = 0, yy = 0;\n\n while(y != 0){\n if(x <= y){\n int t = x;\n x = y;\n y = t;\n }\n\n xx = y;\n yy = x % y;\n\n x = xx;\n y = yy;\n }\n \n System.out.println(xx);\n\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int xx = 0, yy = 0;\n\n while(y != 0){\n if(x <= y){\n int t = x;\n x = y;\n y = t;\n }\n\n xx = y;\n yy = x % y;\n\n x = xx;\n y = yy;\n }\n \n System.out.println(xx);\n\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "int xx = 0", "xx", "0", "yy = 0;", "yy", "0", "while(y != 0){\n if(x <= y){\n int t = x;\n x = y;\n y = t;\n }\n\n xx = y;\n yy = x % y;\n\n x = xx;\n y = yy;\n }", "y != 0", "y", "0", "{\n if(x <= y){\n int t = x;\n x = y;\n y = t;\n }\n\n xx = y;\n yy = x % y;\n\n x = xx;\n y = yy;\n }", "if(x <= y){\n int t = x;\n x = y;\n y = t;\n }", "x <= y", "x", "y", "{\n int t = x;\n x = y;\n y = t;\n }", "int t = x;", "t", "x", "x = y", "x", "y", "y = t", "y", "t", "xx = y", "xx", "y", "yy = x % y", "yy", "x % y", "x", "y", "x = xx", "x", "xx", "y = yy", "y", "yy", "System.out.println(xx)", "System.out.println", "System.out", "System", "System.out", "xx", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int xx = 0, yy = 0;\n\n while(y != 0){\n if(x <= y){\n int t = x;\n x = y;\n y = t;\n }\n\n xx = y;\n yy = x % y;\n\n x = xx;\n y = yy;\n }\n \n System.out.println(xx);\n\n sc.close();\n }\n}", "public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int xx = 0, yy = 0;\n\n while(y != 0){\n if(x <= y){\n int t = x;\n x = y;\n y = t;\n }\n\n xx = y;\n yy = x % y;\n\n x = xx;\n y = yy;\n }\n \n System.out.println(xx);\n\n sc.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int xx = 0, yy = 0; while(y != 0){ if(x <= y){ int t = x; x = y; y = t; } xx = y; yy = x % y; x = xx; y = yy; } System.out.println(xx); sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 29, 8, 2, 13, 17, 13, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 6, 31 ], [ 31, 32 ], [ 4, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 33, 48 ], [ 48, 49 ], [ 33, 50 ], [ 50, 51 ] ]
[ "import java.util.Scanner;\n \nclass Main { \n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n System.out.println(gcd(a, b));\n }\n \n public static int gcd(int x, int y) {\n return y == 0 ? x : gcd(y, x%y);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main { \n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n System.out.println(gcd(a, b));\n }\n \n public static int gcd(int x, int y) {\n return y == 0 ? x : gcd(y, x%y);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n System.out.println(gcd(a, b));\n }", "main", "{\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n System.out.println(gcd(a, b));\n }", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int a = in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "int b = in.nextInt();", "b", "in.nextInt()", "in.nextInt", "in", "System.out.println(gcd(a, b))", "System.out.println", "System.out", "System", "System.out", "gcd(a, b)", "gcd", "a", "b", "String[] args", "args", "public static int gcd(int x, int y) {\n return y == 0 ? x : gcd(y, x%y);\n }", "gcd", "{\n return y == 0 ? x : gcd(y, x%y);\n }", "return y == 0 ? x : gcd(y, x%y);", "y == 0 ? x : gcd(y, x%y)", "y == 0", "y", "0", "x", "gcd(y, x%y)", "gcd", "y", "x%y", "x", "y", "int x", "x", "int y", "y" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); System.out.println(gcd(a, b)); } public static int gcd(int x, int y) { return y == 0 ? x : gcd(y, x%y); } }
[ 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, 4, 18, 13, 30, 0, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 42, 2, 13, 17, 30, 14, 2, 13, 13, 30, 0, 13, 2, 13, 13, 0, 13, 13, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 94, 5 ], [ 94, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 16, 21 ], [ 12, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 12, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 31, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 31, 45 ], [ 45, 46 ], [ 45, 47 ], [ 31, 48 ], [ 48, 49 ], [ 48, 50 ], [ 31, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 60, 66 ], [ 66, 67 ], [ 66, 68 ], [ 56, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 69, 75 ], [ 75, 76 ], [ 75, 77 ], [ 31, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 80, 84 ], [ 31, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 6, 91 ], [ 91, 92 ], [ 0, 93 ], [ 93, 94 ], [ 93, 95 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = null;\n\n\t\ttry {\n\t\t\tsc = new Scanner(System.in);\n\n\t\t\t//2???????????¶??°???????????????\n\t\t\tint numX = sc.nextInt();\n\t\t\tint numY = sc.nextInt();\n\n\t\t\t//0??????????????§??????????±???????\n\t\t\tint output = 0;\n\t\t\tint checkNum = 0;\n\t\t\tdo {\n\t\t\t\t//??°????????????\n\t\t\t\tif (numX >= numY) {\n\t\t\t\t\tcheckNum = numX % numY;\n\t\t\t\t\tnumX = checkNum;\n\t\t\t\t}else{\n\t\t\t\t\tcheckNum = numY % numX;\n\t\t\t\t\tnumY = checkNum;\n\t\t\t\t}\n\t\t\t} while (checkNum != 0);\n\t\t\t//???????????????\n\t\t\toutput = Math.max(numX, numY);\n\t\t\tSystem.out.println(output);\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\tsc.close();\n\t\t\t}\n\t\t}\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = null;\n\n\t\ttry {\n\t\t\tsc = new Scanner(System.in);\n\n\t\t\t//2???????????¶??°???????????????\n\t\t\tint numX = sc.nextInt();\n\t\t\tint numY = sc.nextInt();\n\n\t\t\t//0??????????????§??????????±???????\n\t\t\tint output = 0;\n\t\t\tint checkNum = 0;\n\t\t\tdo {\n\t\t\t\t//??°????????????\n\t\t\t\tif (numX >= numY) {\n\t\t\t\t\tcheckNum = numX % numY;\n\t\t\t\t\tnumX = checkNum;\n\t\t\t\t}else{\n\t\t\t\t\tcheckNum = numY % numX;\n\t\t\t\t\tnumY = checkNum;\n\t\t\t\t}\n\t\t\t} while (checkNum != 0);\n\t\t\t//???????????????\n\t\t\toutput = Math.max(numX, numY);\n\t\t\tSystem.out.println(output);\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\tsc.close();\n\t\t\t}\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner sc = null;\n\n\t\ttry {\n\t\t\tsc = new Scanner(System.in);\n\n\t\t\t//2???????????¶??°???????????????\n\t\t\tint numX = sc.nextInt();\n\t\t\tint numY = sc.nextInt();\n\n\t\t\t//0??????????????§??????????±???????\n\t\t\tint output = 0;\n\t\t\tint checkNum = 0;\n\t\t\tdo {\n\t\t\t\t//??°????????????\n\t\t\t\tif (numX >= numY) {\n\t\t\t\t\tcheckNum = numX % numY;\n\t\t\t\t\tnumX = checkNum;\n\t\t\t\t}else{\n\t\t\t\t\tcheckNum = numY % numX;\n\t\t\t\t\tnumY = checkNum;\n\t\t\t\t}\n\t\t\t} while (checkNum != 0);\n\t\t\t//???????????????\n\t\t\toutput = Math.max(numX, numY);\n\t\t\tSystem.out.println(output);\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\tsc.close();\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\n\t\tScanner sc = null;\n\n\t\ttry {\n\t\t\tsc = new Scanner(System.in);\n\n\t\t\t//2???????????¶??°???????????????\n\t\t\tint numX = sc.nextInt();\n\t\t\tint numY = sc.nextInt();\n\n\t\t\t//0??????????????§??????????±???????\n\t\t\tint output = 0;\n\t\t\tint checkNum = 0;\n\t\t\tdo {\n\t\t\t\t//??°????????????\n\t\t\t\tif (numX >= numY) {\n\t\t\t\t\tcheckNum = numX % numY;\n\t\t\t\t\tnumX = checkNum;\n\t\t\t\t}else{\n\t\t\t\t\tcheckNum = numY % numX;\n\t\t\t\t\tnumY = checkNum;\n\t\t\t\t}\n\t\t\t} while (checkNum != 0);\n\t\t\t//???????????????\n\t\t\toutput = Math.max(numX, numY);\n\t\t\tSystem.out.println(output);\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\tsc.close();\n\t\t\t}\n\t\t}\n\t}", "Scanner sc = null;", "sc", "null", "try {\n\t\t\tsc = new Scanner(System.in);\n\n\t\t\t//2???????????¶??°???????????????\n\t\t\tint numX = sc.nextInt();\n\t\t\tint numY = sc.nextInt();\n\n\t\t\t//0??????????????§??????????±???????\n\t\t\tint output = 0;\n\t\t\tint checkNum = 0;\n\t\t\tdo {\n\t\t\t\t//??°????????????\n\t\t\t\tif (numX >= numY) {\n\t\t\t\t\tcheckNum = numX % numY;\n\t\t\t\t\tnumX = checkNum;\n\t\t\t\t}else{\n\t\t\t\t\tcheckNum = numY % numX;\n\t\t\t\t\tnumY = checkNum;\n\t\t\t\t}\n\t\t\t} while (checkNum != 0);\n\t\t\t//???????????????\n\t\t\toutput = Math.max(numX, numY);\n\t\t\tSystem.out.println(output);\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\tsc.close();\n\t\t\t}\n\t\t}", "catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t}", "Exception e", "{\n\t\t\tSystem.out.println(e);\n\t\t}", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "{\n\t\t\tif (sc != null) {\n\t\t\t\tsc.close();\n\t\t\t}\n\t\t}", "if (sc != null) {\n\t\t\t\tsc.close();\n\t\t\t}", "sc != null", "sc", "null", "{\n\t\t\t\tsc.close();\n\t\t\t}", "sc.close()", "sc.close", "sc", "{\n\t\t\tsc = new Scanner(System.in);\n\n\t\t\t//2???????????¶??°???????????????\n\t\t\tint numX = sc.nextInt();\n\t\t\tint numY = sc.nextInt();\n\n\t\t\t//0??????????????§??????????±???????\n\t\t\tint output = 0;\n\t\t\tint checkNum = 0;\n\t\t\tdo {\n\t\t\t\t//??°????????????\n\t\t\t\tif (numX >= numY) {\n\t\t\t\t\tcheckNum = numX % numY;\n\t\t\t\t\tnumX = checkNum;\n\t\t\t\t}else{\n\t\t\t\t\tcheckNum = numY % numX;\n\t\t\t\t\tnumY = checkNum;\n\t\t\t\t}\n\t\t\t} while (checkNum != 0);\n\t\t\t//???????????????\n\t\t\toutput = Math.max(numX, numY);\n\t\t\tSystem.out.println(output);\n\t\t}", "sc = new Scanner(System.in)", "sc", "new Scanner(System.in)", "int numX = sc.nextInt();", "numX", "sc.nextInt()", "sc.nextInt", "sc", "int numY = sc.nextInt();", "numY", "sc.nextInt()", "sc.nextInt", "sc", "int output = 0;", "output", "0", "int checkNum = 0;", "checkNum", "0", "do {\n\t\t\t\t//??°????????????\n\t\t\t\tif (numX >= numY) {\n\t\t\t\t\tcheckNum = numX % numY;\n\t\t\t\t\tnumX = checkNum;\n\t\t\t\t}else{\n\t\t\t\t\tcheckNum = numY % numX;\n\t\t\t\t\tnumY = checkNum;\n\t\t\t\t}\n\t\t\t} while (checkNum != 0);", "checkNum != 0", "checkNum", "0", "{\n\t\t\t\t//??°????????????\n\t\t\t\tif (numX >= numY) {\n\t\t\t\t\tcheckNum = numX % numY;\n\t\t\t\t\tnumX = checkNum;\n\t\t\t\t}else{\n\t\t\t\t\tcheckNum = numY % numX;\n\t\t\t\t\tnumY = checkNum;\n\t\t\t\t}\n\t\t\t}", "if (numX >= numY) {\n\t\t\t\t\tcheckNum = numX % numY;\n\t\t\t\t\tnumX = checkNum;\n\t\t\t\t}else{\n\t\t\t\t\tcheckNum = numY % numX;\n\t\t\t\t\tnumY = checkNum;\n\t\t\t\t}", "numX >= numY", "numX", "numY", "{\n\t\t\t\t\tcheckNum = numX % numY;\n\t\t\t\t\tnumX = checkNum;\n\t\t\t\t}", "checkNum = numX % numY", "checkNum", "numX % numY", "numX", "numY", "numX = checkNum", "numX", "checkNum", "{\n\t\t\t\t\tcheckNum = numY % numX;\n\t\t\t\t\tnumY = checkNum;\n\t\t\t\t}", "checkNum = numY % numX", "checkNum", "numY % numX", "numY", "numX", "numY = checkNum", "numY", "checkNum", "output = Math.max(numX, numY)", "output", "Math.max(numX, numY)", "Math.max", "Math", "numX", "numY", "System.out.println(output)", "System.out.println", "System.out", "System", "System.out", "output", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = null;\n\n\t\ttry {\n\t\t\tsc = new Scanner(System.in);\n\n\t\t\t//2???????????¶??°???????????????\n\t\t\tint numX = sc.nextInt();\n\t\t\tint numY = sc.nextInt();\n\n\t\t\t//0??????????????§??????????±???????\n\t\t\tint output = 0;\n\t\t\tint checkNum = 0;\n\t\t\tdo {\n\t\t\t\t//??°????????????\n\t\t\t\tif (numX >= numY) {\n\t\t\t\t\tcheckNum = numX % numY;\n\t\t\t\t\tnumX = checkNum;\n\t\t\t\t}else{\n\t\t\t\t\tcheckNum = numY % numX;\n\t\t\t\t\tnumY = checkNum;\n\t\t\t\t}\n\t\t\t} while (checkNum != 0);\n\t\t\t//???????????????\n\t\t\toutput = Math.max(numX, numY);\n\t\t\tSystem.out.println(output);\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\tsc.close();\n\t\t\t}\n\t\t}\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = null;\n\n\t\ttry {\n\t\t\tsc = new Scanner(System.in);\n\n\t\t\t//2???????????¶??°???????????????\n\t\t\tint numX = sc.nextInt();\n\t\t\tint numY = sc.nextInt();\n\n\t\t\t//0??????????????§??????????±???????\n\t\t\tint output = 0;\n\t\t\tint checkNum = 0;\n\t\t\tdo {\n\t\t\t\t//??°????????????\n\t\t\t\tif (numX >= numY) {\n\t\t\t\t\tcheckNum = numX % numY;\n\t\t\t\t\tnumX = checkNum;\n\t\t\t\t}else{\n\t\t\t\t\tcheckNum = numY % numX;\n\t\t\t\t\tnumY = checkNum;\n\t\t\t\t}\n\t\t\t} while (checkNum != 0);\n\t\t\t//???????????????\n\t\t\toutput = Math.max(numX, numY);\n\t\t\tSystem.out.println(output);\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\tsc.close();\n\t\t\t}\n\t\t}\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = null; try { sc = new Scanner(System.in); //2???????????¶??°??????????????? int numX = sc.nextInt(); int numY = sc.nextInt(); //0??????????????§??????????±??????? int output = 0; int checkNum = 0; do { //??°???????????? if (numX >= numY) { checkNum = numX % numY; numX = checkNum; }else{ checkNum = numY % numX; numY = checkNum; } } while (checkNum != 0); //??????????????? output = Math.max(numX, numY); System.out.println(output); }catch (Exception e) { System.out.println(e); } finally { if (sc != null) { sc.close(); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 8, 2, 13, 13, 13, 13, 41, 13, 8, 2, 13, 13, 13, 13, 42, 17, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 13, 3, 41, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 20, 17, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 40, 17, 37, 20, 14, 2, 13, 13, 30, 0, 13, 17, 38, 5, 13, 30, 37, 20, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 17, 29, 40, 17, 29, 18, 13, 40, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 30, 0, 13, 4, 13, 41, 13, 20, 42, 40, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 0, 13, 4, 13, 41, 13, 17, 14, 2, 13, 17, 30, 0, 13, 40, 17, 0, 13, 4, 13, 41, 13, 17, 42, 40, 4, 13, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 37, 20, 0, 13, 17, 0, 13, 2, 13, 17, 0, 13, 4, 13, 29, 2, 13, 13, 12, 13, 30, 14, 2, 13, 17, 29, 4, 18, 13, 13, 29, 2, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 23, 13, 6, 13, 12, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 298, 23 ], [ 298, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 26, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 26, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 42, 47 ], [ 26, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 50, 55 ], [ 26, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 59, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 65, 72 ], [ 58, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 58, 78 ], [ 78, 79 ], [ 78, 80 ], [ 58, 81 ], [ 81, 82 ], [ 81, 83 ], [ 24, 84 ], [ 84, 85 ], [ 298, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 86, 90 ], [ 90, 91 ], [ 90, 92 ], [ 86, 94 ], [ 94, 95 ], [ 86, 96 ], [ 96, 97 ], [ 86, 98 ], [ 98, 99 ], [ 86, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 100, 108 ], [ 108, 109 ], [ 86, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 113, 118 ], [ 118, 119 ], [ 112, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 124, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 132, 133 ], [ 128, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 137, 140 ], [ 124, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 141, 145 ], [ 145, 146 ], [ 146, 147 ], [ 112, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 86, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 158, 159 ], [ 155, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 167, 168 ], [ 155, 169 ], [ 169, 170 ], [ 169, 171 ], [ 155, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 172, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 178, 181 ], [ 177, 182 ], [ 182, 183 ], [ 182, 184 ], [ 184, 185 ], [ 155, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 86, 190 ], [ 190, 191 ], [ 190, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 196 ], [ 192, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 197, 201 ], [ 201, 202 ], [ 201, 203 ], [ 203, 204 ], [ 192, 205 ], [ 205, 206 ], [ 205, 207 ], [ 192, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 208, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 215, 216 ], [ 212, 217 ], [ 217, 218 ], [ 217, 219 ], [ 219, 220 ], [ 192, 221 ], [ 221, 222 ], [ 221, 223 ], [ 192, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 226, 228 ], [ 224, 229 ], [ 229, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 232, 234 ], [ 231, 235 ], [ 235, 236 ], [ 235, 237 ], [ 230, 238 ], [ 238, 239 ], [ 229, 240 ], [ 240, 241 ], [ 240, 242 ], [ 229, 243 ], [ 243, 244 ], [ 243, 245 ], [ 245, 246 ], [ 245, 247 ], [ 229, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 192, 252 ], [ 252, 253 ], [ 253, 254 ], [ 253, 255 ], [ 86, 256 ], [ 256, 257 ], [ 256, 258 ], [ 258, 259 ], [ 259, 260 ], [ 260, 261 ], [ 260, 262 ], [ 259, 263 ], [ 263, 264 ], [ 264, 265 ], [ 265, 266 ], [ 264, 267 ], [ 258, 268 ], [ 268, 269 ], [ 272, 270 ], [ 282, 271 ], [ 279, 272 ], [ 272, 273 ], [ 273, 274 ], [ 273, 275 ], [ 272, 276 ], [ 276, 277 ], [ 276, 278 ], [ 279, 279 ], [ 279, 280 ], [ 279, 281 ], [ 282, 282 ], [ 282, 283 ], [ 282, 284 ], [ 272, 285 ], [ 285, 286 ], [ 285, 287 ], [ 287, 288 ], [ 256, 289 ], [ 289, 290 ], [ 86, 291 ], [ 291, 292 ], [ 291, 293 ], [ 293, 294 ], [ 293, 295 ], [ 295, 296 ], [ 0, 297 ], [ 297, 298 ], [ 297, 299 ] ]
[ "import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Arrays;\nimport java.util.InputMismatchException;\nimport java.util.LinkedList;\nimport java.util.PriorityQueue;\n\n \npublic class Main {\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n \n int x = sc.nextInt();\n int y = sc.nextInt();\n int larger = x > y ? x : y;\n int smaller = x > y ? y : x;\n while(true){\n if(larger % smaller == 0){\n System.out.println(smaller);\n break;\n }\n int joyo = larger % smaller;\n larger = smaller;\n smaller = joyo;\n }\n }\n \n \n// LinkedList<Integer>[] setsu = new LinkedList[n];\n// for(int i = 0; i < n; i++){\n// setsu[i] = new LinkedList<Integer>();\n// } \n\n //ここからテンプレ\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n \n public int next() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n \n public String nextStr() {\n int c = next();\n while(isSpaceChar(c)){c = next();}\n StringBuffer str = new StringBuffer();\n do{\n str.append((char)c);\n c = next();\n }while(!isSpaceChar(c));\n return str.toString();\n }\n\n public int nextInt() {\n int c = next();\n while (isSpaceChar(c))\n c = next();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = next();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = next();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n \n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.InputMismatchException;", "InputMismatchException", "java.util", "import java.util.LinkedList;", "LinkedList", "java.util", "import java.util.PriorityQueue;", "PriorityQueue", "java.util", "public class Main {\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n \n int x = sc.nextInt();\n int y = sc.nextInt();\n int larger = x > y ? x : y;\n int smaller = x > y ? y : x;\n while(true){\n if(larger % smaller == 0){\n System.out.println(smaller);\n break;\n }\n int joyo = larger % smaller;\n larger = smaller;\n smaller = joyo;\n }\n }\n \n \n// LinkedList<Integer>[] setsu = new LinkedList[n];\n// for(int i = 0; i < n; i++){\n// setsu[i] = new LinkedList<Integer>();\n// } \n\n //ここからテンプレ\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n \n public int next() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n \n public String nextStr() {\n int c = next();\n while(isSpaceChar(c)){c = next();}\n StringBuffer str = new StringBuffer();\n do{\n str.append((char)c);\n c = next();\n }while(!isSpaceChar(c));\n return str.toString();\n }\n\n public int nextInt() {\n int c = next();\n while (isSpaceChar(c))\n c = next();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = next();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = next();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n \n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}", "Main", "public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n \n int x = sc.nextInt();\n int y = sc.nextInt();\n int larger = x > y ? x : y;\n int smaller = x > y ? y : x;\n while(true){\n if(larger % smaller == 0){\n System.out.println(smaller);\n break;\n }\n int joyo = larger % smaller;\n larger = smaller;\n smaller = joyo;\n }\n }", "main", "{\n InputReader sc = new InputReader(System.in);\n \n int x = sc.nextInt();\n int y = sc.nextInt();\n int larger = x > y ? x : y;\n int smaller = x > y ? y : x;\n while(true){\n if(larger % smaller == 0){\n System.out.println(smaller);\n break;\n }\n int joyo = larger % smaller;\n larger = smaller;\n smaller = joyo;\n }\n }", "InputReader sc = new InputReader(System.in);", "sc", "new InputReader(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "int larger = x > y ? x : y;", "larger", "x > y ? x : y", "x > y", "x", "y", "x", "y", "int smaller = x > y ? y : x;", "smaller", "x > y ? y : x", "x > y", "x", "y", "y", "x", "while(true){\n if(larger % smaller == 0){\n System.out.println(smaller);\n break;\n }\n int joyo = larger % smaller;\n larger = smaller;\n smaller = joyo;\n }", "true", "{\n if(larger % smaller == 0){\n System.out.println(smaller);\n break;\n }\n int joyo = larger % smaller;\n larger = smaller;\n smaller = joyo;\n }", "if(larger % smaller == 0){\n System.out.println(smaller);\n break;\n }", "larger % smaller == 0", "larger % smaller", "larger", "smaller", "0", "{\n System.out.println(smaller);\n break;\n }", "System.out.println(smaller)", "System.out.println", "System.out", "System", "System.out", "smaller", "break;", "int joyo = larger % smaller;", "joyo", "larger % smaller", "larger", "smaller", "larger = smaller", "larger", "smaller", "smaller = joyo", "smaller", "joyo", "String[] args", "args", " static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n \n public int next() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n \n public String nextStr() {\n int c = next();\n while(isSpaceChar(c)){c = next();}\n StringBuffer str = new StringBuffer();\n do{\n str.append((char)c);\n c = next();\n }while(!isSpaceChar(c));\n return str.toString();\n }\n\n public int nextInt() {\n int c = next();\n while (isSpaceChar(c))\n c = next();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = next();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = next();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n \n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }", "InputReader", "private InputStream stream;", "stream", "private byte[] buf = new byte[1024];", "buf", "new byte[1024]", "1024", "private int curChar;", "curChar", "private int numChars;", "numChars", "private SpaceCharFilter filter;", "filter", "public InputReader(InputStream stream) {\n this.stream = stream;\n }", "InputReader", "{\n this.stream = stream;\n }", "this.stream = stream", "this.stream", "this", "this.stream", "stream", "InputStream stream", "stream", "public int next() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }", "next", "{\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }", "if (numChars == -1)\n throw new InputMismatchException();", "numChars == -1", "numChars", "-1", "1", "throw new InputMismatchException();", "new InputMismatchException()", "if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }", "curChar >= numChars", "curChar", "numChars", "{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }", "curChar = 0", "curChar", "0", "try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }", "catch (IOException e) {\n throw new InputMismatchException();\n }", "IOException e", "{\n throw new InputMismatchException();\n }", "throw new InputMismatchException();", "new InputMismatchException()", "{\n numChars = stream.read(buf);\n }", "numChars = stream.read(buf)", "numChars", "stream.read(buf)", "stream.read", "stream", "buf", "if (numChars <= 0)\n return -1;", "numChars <= 0", "numChars", "0", "return -1;", "-1", "1", "return buf[curChar++];", "buf[curChar++]", "buf", "curChar++", "curChar", "public String nextStr() {\n int c = next();\n while(isSpaceChar(c)){c = next();}\n StringBuffer str = new StringBuffer();\n do{\n str.append((char)c);\n c = next();\n }while(!isSpaceChar(c));\n return str.toString();\n }", "nextStr", "{\n int c = next();\n while(isSpaceChar(c)){c = next();}\n StringBuffer str = new StringBuffer();\n do{\n str.append((char)c);\n c = next();\n }while(!isSpaceChar(c));\n return str.toString();\n }", "int c = next();", "c", "next()", "next", "while(isSpaceChar(c)){c = next();}", "isSpaceChar(c)", "isSpaceChar", "c", "{c = next();}", "c = next()", "c", "next()", "next", "StringBuffer str = new StringBuffer();", "str", "new StringBuffer()", "do{\n str.append((char)c);\n c = next();\n }while(!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n str.append((char)c);\n c = next();\n }", "str.append((char)c)", "str.append", "str", "(char)c", "c = next()", "c", "next()", "next", "return str.toString();", "str.toString()", "str.toString", "str", "public int nextInt() {\n int c = next();\n while (isSpaceChar(c))\n c = next();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = next();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = next();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "nextInt", "{\n int c = next();\n while (isSpaceChar(c))\n c = next();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = next();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = next();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "int c = next();", "c", "next()", "next", "while (isSpaceChar(c))\n c = next();", "isSpaceChar(c)", "isSpaceChar", "c", "c = next()", "c", "next()", "next", "int sgn = 1;", "sgn", "1", "if (c == '-') {\n sgn = -1;\n c = next();\n }", "c == '-'", "c", "'-'", "{\n sgn = -1;\n c = next();\n }", "sgn = -1", "sgn", "-1", "1", "c = next()", "c", "next()", "next", "int res = 0;", "res", "0", "do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = next();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = next();\n }", "if (c < '0' || c > '9')\n throw new InputMismatchException();", "c < '0' || c > '9'", "c < '0'", "c", "'0'", "c > '9'", "c", "'9'", "throw new InputMismatchException();", "new InputMismatchException()", "res *= 10", "res", "10", "res += c - '0'", "res", "c - '0'", "c", "'0'", "c = next()", "c", "next()", "next", "return res * sgn;", "res * sgn", "res", "sgn", "public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "isSpaceChar", "{\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "if (filter != null)\n return filter.isSpaceChar(c);", "filter != null", "filter", "null", "return filter.isSpaceChar(c);", "filter.isSpaceChar(c)", "filter.isSpaceChar", "filter", "c", "return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == '\\t'", "c == '\\r'", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == ' '", "c", "' '", "c == '\\n'", "c", "'\\n'", "c == '\\r'", "c", "'\\r'", "c == '\\t'", "c", "'\\t'", "c == -1", "c", "-1", "1", "int c", "c", "public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }", "SpaceCharFilter", "public boolean isSpaceChar(int ch);", "isSpaceChar", "int ch", "ch", "public class Main {\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n \n int x = sc.nextInt();\n int y = sc.nextInt();\n int larger = x > y ? x : y;\n int smaller = x > y ? y : x;\n while(true){\n if(larger % smaller == 0){\n System.out.println(smaller);\n break;\n }\n int joyo = larger % smaller;\n larger = smaller;\n smaller = joyo;\n }\n }\n \n \n// LinkedList<Integer>[] setsu = new LinkedList[n];\n// for(int i = 0; i < n; i++){\n// setsu[i] = new LinkedList<Integer>();\n// } \n\n //ここからテンプレ\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n \n public int next() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n \n public String nextStr() {\n int c = next();\n while(isSpaceChar(c)){c = next();}\n StringBuffer str = new StringBuffer();\n do{\n str.append((char)c);\n c = next();\n }while(!isSpaceChar(c));\n return str.toString();\n }\n\n public int nextInt() {\n int c = next();\n while (isSpaceChar(c))\n c = next();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = next();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = next();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n \n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n \n int x = sc.nextInt();\n int y = sc.nextInt();\n int larger = x > y ? x : y;\n int smaller = x > y ? y : x;\n while(true){\n if(larger % smaller == 0){\n System.out.println(smaller);\n break;\n }\n int joyo = larger % smaller;\n larger = smaller;\n smaller = joyo;\n }\n }\n \n \n// LinkedList<Integer>[] setsu = new LinkedList[n];\n// for(int i = 0; i < n; i++){\n// setsu[i] = new LinkedList<Integer>();\n// } \n\n //ここからテンプレ\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n \n public int next() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n \n public String nextStr() {\n int c = next();\n while(isSpaceChar(c)){c = next();}\n StringBuffer str = new StringBuffer();\n do{\n str.append((char)c);\n c = next();\n }while(!isSpaceChar(c));\n return str.toString();\n }\n\n public int nextInt() {\n int c = next();\n while (isSpaceChar(c))\n c = next();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = next();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = next();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n \n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}", "Main" ]
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.InputMismatchException; import java.util.LinkedList; import java.util.PriorityQueue; public class Main { public static void main(String[] args) { InputReader sc = new InputReader(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int larger = x > y ? x : y; int smaller = x > y ? y : x; while(true){ if(larger % smaller == 0){ System.out.println(smaller); break; } int joyo = larger % smaller; larger = smaller; smaller = joyo; } } // LinkedList<Integer>[] setsu = new LinkedList[n]; // for(int i = 0; i < n; i++){ // setsu[i] = new LinkedList<Integer>(); // } //ここからテンプレ static class InputReader { private InputStream stream; private byte[] buf = new byte[1024]; private int curChar; private int numChars; private SpaceCharFilter filter; public InputReader(InputStream stream) { this.stream = stream; } public int next() { if (numChars == -1) throw new InputMismatchException(); if (curChar >= numChars) { curChar = 0; try { numChars = stream.read(buf); } catch (IOException e) { throw new InputMismatchException(); } if (numChars <= 0) return -1; } return buf[curChar++]; } public String nextStr() { int c = next(); while(isSpaceChar(c)){c = next();} StringBuffer str = new StringBuffer(); do{ str.append((char)c); c = next(); }while(!isSpaceChar(c)); return str.toString(); } public int nextInt() { int c = next(); while (isSpaceChar(c)) c = next(); int sgn = 1; if (c == '-') { sgn = -1; c = next(); } int res = 0; do { if (c < '0' || c > '9') throw new InputMismatchException(); res *= 10; res += c - '0'; c = next(); } while (!isSpaceChar(c)); return res * sgn; } public boolean isSpaceChar(int c) { if (filter != null) return filter.isSpaceChar(c); return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1; } public interface SpaceCharFilter { public boolean isSpaceChar(int ch); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 42, 17, 30, 14, 2, 0, 13, 2, 13, 13, 17, 3, 0, 13, 13, 0, 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 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 32, 33 ], [ 32, 34 ], [ 28, 35 ], [ 35, 36 ], [ 35, 37 ], [ 8, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 42, 48 ], [ 41, 49 ], [ 40, 50 ], [ 50, 51 ], [ 50, 52 ], [ 40, 53 ], [ 53, 54 ], [ 53, 55 ], [ 8, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 6, 62 ], [ 62, 63 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint w;\n\t\tif(a<=b){\n\t\t\tw = a;\n\t\t\ta = b;\n\t\t\tb = w;\n\t\t}\n\t\twhile(true){\n\t\t\tif((w=a%b)==0) break;\n\t\t\ta = b;\n\t\t\tb = w;\n\t\t}\n\t\tSystem.out.println(b);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint w;\n\t\tif(a<=b){\n\t\t\tw = a;\n\t\t\ta = b;\n\t\t\tb = w;\n\t\t}\n\t\twhile(true){\n\t\t\tif((w=a%b)==0) break;\n\t\t\ta = b;\n\t\t\tb = w;\n\t\t}\n\t\tSystem.out.println(b);\n\t}\n\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint w;\n\t\tif(a<=b){\n\t\t\tw = a;\n\t\t\ta = b;\n\t\t\tb = w;\n\t\t}\n\t\twhile(true){\n\t\t\tif((w=a%b)==0) break;\n\t\t\ta = b;\n\t\t\tb = w;\n\t\t}\n\t\tSystem.out.println(b);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint w;\n\t\tif(a<=b){\n\t\t\tw = a;\n\t\t\ta = b;\n\t\t\tb = w;\n\t\t}\n\t\twhile(true){\n\t\t\tif((w=a%b)==0) break;\n\t\t\ta = b;\n\t\t\tb = w;\n\t\t}\n\t\tSystem.out.println(b);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int w;", "w", "if(a<=b){\n\t\t\tw = a;\n\t\t\ta = b;\n\t\t\tb = w;\n\t\t}", "a<=b", "a", "b", "{\n\t\t\tw = a;\n\t\t\ta = b;\n\t\t\tb = w;\n\t\t}", "w = a", "w", "a", "a = b", "a", "b", "b = w", "b", "w", "while(true){\n\t\t\tif((w=a%b)==0) break;\n\t\t\ta = b;\n\t\t\tb = w;\n\t\t}", "true", "{\n\t\t\tif((w=a%b)==0) break;\n\t\t\ta = b;\n\t\t\tb = w;\n\t\t}", "if((w=a%b)==0) break;", "(w=a%b)==0", "(w=a%b)", "w", "a%b", "a", "b", "0", "break;", "a = b", "a", "b", "b = w", "b", "w", "System.out.println(b)", "System.out.println", "System.out", "System", "System.out", "b", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int w; if(a<=b){ w = a; a = b; b = w; } while(true){ if((w=a%b)==0) break; a = b; b = w; } System.out.println(b); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 4, 13, 13, 13, 30, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 2, 13, 13, 17, 29, 13, 14, 2, 13, 13, 30, 29, 4, 13, 2, 13, 13, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 103, 11 ], [ 103, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 52, 55 ], [ 42, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 62, 65 ], [ 12, 66 ], [ 66, 67 ], [ 103, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 71, 77 ], [ 77, 78 ], [ 71, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 79, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 92, 95 ], [ 95, 96 ], [ 95, 97 ], [ 68, 98 ], [ 98, 99 ], [ 68, 100 ], [ 100, 101 ], [ 0, 102 ], [ 102, 103 ], [ 102, 104 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] strArray = br.readLine().split(\" \");\n\t\tint a = Integer.parseInt(strArray[0]);\n\t\tint b = Integer.parseInt(strArray[1]);\n\t\tif (a >= b) {\n\t\t\tSystem.out.println(getGCD(a, b));\n\t\t} else {\n\t\t\tSystem.out.println(getGCD(b, a));\n\t\t}\n\t}\n\n\tpublic static int getGCD(int a, int b) {\n\t\tif (a % b == 0) return b;\n\t\telse if (a < b) {\n\t\t\treturn getGCD(b % a, a);\n\t\t}\n\t\telse return getGCD(b, a % b);\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] strArray = br.readLine().split(\" \");\n\t\tint a = Integer.parseInt(strArray[0]);\n\t\tint b = Integer.parseInt(strArray[1]);\n\t\tif (a >= b) {\n\t\t\tSystem.out.println(getGCD(a, b));\n\t\t} else {\n\t\t\tSystem.out.println(getGCD(b, a));\n\t\t}\n\t}\n\n\tpublic static int getGCD(int a, int b) {\n\t\tif (a % b == 0) return b;\n\t\telse if (a < b) {\n\t\t\treturn getGCD(b % a, a);\n\t\t}\n\t\telse return getGCD(b, a % b);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] strArray = br.readLine().split(\" \");\n\t\tint a = Integer.parseInt(strArray[0]);\n\t\tint b = Integer.parseInt(strArray[1]);\n\t\tif (a >= b) {\n\t\t\tSystem.out.println(getGCD(a, b));\n\t\t} else {\n\t\t\tSystem.out.println(getGCD(b, a));\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] strArray = br.readLine().split(\" \");\n\t\tint a = Integer.parseInt(strArray[0]);\n\t\tint b = Integer.parseInt(strArray[1]);\n\t\tif (a >= b) {\n\t\t\tSystem.out.println(getGCD(a, b));\n\t\t} else {\n\t\t\tSystem.out.println(getGCD(b, a));\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] strArray = br.readLine().split(\" \");", "strArray", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int a = Integer.parseInt(strArray[0]);", "a", "Integer.parseInt(strArray[0])", "Integer.parseInt", "Integer", "strArray[0]", "strArray", "0", "int b = Integer.parseInt(strArray[1]);", "b", "Integer.parseInt(strArray[1])", "Integer.parseInt", "Integer", "strArray[1]", "strArray", "1", "if (a >= b) {\n\t\t\tSystem.out.println(getGCD(a, b));\n\t\t} else {\n\t\t\tSystem.out.println(getGCD(b, a));\n\t\t}", "a >= b", "a", "b", "{\n\t\t\tSystem.out.println(getGCD(a, b));\n\t\t}", "System.out.println(getGCD(a, b))", "System.out.println", "System.out", "System", "System.out", "getGCD(a, b)", "getGCD", "a", "b", "{\n\t\t\tSystem.out.println(getGCD(b, a));\n\t\t}", "System.out.println(getGCD(b, a))", "System.out.println", "System.out", "System", "System.out", "getGCD(b, a)", "getGCD", "b", "a", "String[] args", "args", "public static int getGCD(int a, int b) {\n\t\tif (a % b == 0) return b;\n\t\telse if (a < b) {\n\t\t\treturn getGCD(b % a, a);\n\t\t}\n\t\telse return getGCD(b, a % b);\n\t}", "getGCD", "{\n\t\tif (a % b == 0) return b;\n\t\telse if (a < b) {\n\t\t\treturn getGCD(b % a, a);\n\t\t}\n\t\telse return getGCD(b, a % b);\n\t}", "if (a % b == 0) return b;\n\t\telse if (a < b) {\n\t\t\treturn getGCD(b % a, a);\n\t\t}\n\t\telse return getGCD(b, a % b);", "a % b == 0", "a % b", "a", "b", "0", "return b;", "b", "if (a < b) {\n\t\t\treturn getGCD(b % a, a);\n\t\t}\n\t\telse return getGCD(b, a % b);", "a < b", "a", "b", "{\n\t\t\treturn getGCD(b % a, a);\n\t\t}", "return getGCD(b % a, a);", "getGCD(b % a, a)", "getGCD", "b % a", "b", "a", "a", "return getGCD(b, a % b);", "getGCD(b, a % b)", "getGCD", "b", "a % b", "a", "b", "int a", "a", "int b", "b", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] strArray = br.readLine().split(\" \");\n\t\tint a = Integer.parseInt(strArray[0]);\n\t\tint b = Integer.parseInt(strArray[1]);\n\t\tif (a >= b) {\n\t\t\tSystem.out.println(getGCD(a, b));\n\t\t} else {\n\t\t\tSystem.out.println(getGCD(b, a));\n\t\t}\n\t}\n\n\tpublic static int getGCD(int a, int b) {\n\t\tif (a % b == 0) return b;\n\t\telse if (a < b) {\n\t\t\treturn getGCD(b % a, a);\n\t\t}\n\t\telse return getGCD(b, a % b);\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] strArray = br.readLine().split(\" \");\n\t\tint a = Integer.parseInt(strArray[0]);\n\t\tint b = Integer.parseInt(strArray[1]);\n\t\tif (a >= b) {\n\t\t\tSystem.out.println(getGCD(a, b));\n\t\t} else {\n\t\t\tSystem.out.println(getGCD(b, a));\n\t\t}\n\t}\n\n\tpublic static int getGCD(int a, int b) {\n\t\tif (a % b == 0) return b;\n\t\telse if (a < b) {\n\t\t\treturn getGCD(b % a, a);\n\t\t}\n\t\telse return getGCD(b, a % b);\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] strArray = br.readLine().split(" "); int a = Integer.parseInt(strArray[0]); int b = Integer.parseInt(strArray[1]); if (a >= b) { System.out.println(getGCD(a, b)); } else { System.out.println(getGCD(b, a)); } } public static int getGCD(int a, int b) { if (a % b == 0) return b; else if (a < b) { return getGCD(b % a, a); } else return getGCD(b, a % b); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 17, 42, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 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, 17, 4, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 95, 8 ], [ 95, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 14, 18 ], [ 11, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 21, 24 ], [ 21, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 11, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 37, 38 ], [ 37, 39 ], [ 33, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 42, 44 ], [ 11, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 9, 51 ], [ 51, 52 ], [ 9, 53 ], [ 53, 54 ], [ 95, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 63, 68 ], [ 57, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 74, 75 ], [ 74, 76 ], [ 57, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 82, 83 ], [ 82, 84 ], [ 57, 85 ], [ 85, 86 ], [ 85, 87 ], [ 57, 88 ], [ 88, 89 ], [ 88, 90 ], [ 88, 91 ], [ 55, 92 ], [ 92, 93 ], [ 0, 94 ], [ 94, 95 ], [ 94, 96 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n static void gcd(int a, int b){\n int x = Math.max(a,b);\n int y = Math.min(a,b);\n int t = 0;\n while (y>0){\n t = x;\n x = y;\n y = t%y;\n }\n System.out.println(x);\n }\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] line = br.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[1]);\n int ans = 0;\n gcd(a,b);\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n static void gcd(int a, int b){\n int x = Math.max(a,b);\n int y = Math.min(a,b);\n int t = 0;\n while (y>0){\n t = x;\n x = y;\n y = t%y;\n }\n System.out.println(x);\n }\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] line = br.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[1]);\n int ans = 0;\n gcd(a,b);\n }\n}", "Main", "static void gcd(int a, int b){\n int x = Math.max(a,b);\n int y = Math.min(a,b);\n int t = 0;\n while (y>0){\n t = x;\n x = y;\n y = t%y;\n }\n System.out.println(x);\n }", "gcd", "{\n int x = Math.max(a,b);\n int y = Math.min(a,b);\n int t = 0;\n while (y>0){\n t = x;\n x = y;\n y = t%y;\n }\n System.out.println(x);\n }", "int x = Math.max(a,b);", "x", "Math.max(a,b)", "Math.max", "Math", "a", "b", "int y = Math.min(a,b);", "y", "Math.min(a,b)", "Math.min", "Math", "a", "b", "int t = 0;", "t", "0", "while (y>0){\n t = x;\n x = y;\n y = t%y;\n }", "y>0", "y", "0", "{\n t = x;\n x = y;\n y = t%y;\n }", "t = x", "t", "x", "x = y", "x", "y", "y = t%y", "y", "t%y", "t", "y", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "int a", "a", "int b", "b", "public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] line = br.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[1]);\n int ans = 0;\n gcd(a,b);\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] line = br.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[1]);\n int ans = 0;\n gcd(a,b);\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] line = br.readLine().split(\" \");", "line", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int a = Integer.parseInt(line[0]);", "a", "Integer.parseInt(line[0])", "Integer.parseInt", "Integer", "line[0]", "line", "0", "int b = Integer.parseInt(line[1]);", "b", "Integer.parseInt(line[1])", "Integer.parseInt", "Integer", "line[1]", "line", "1", "int ans = 0;", "ans", "0", "gcd(a,b)", "gcd", "a", "b", "String[] args", "args", "public class Main {\n static void gcd(int a, int b){\n int x = Math.max(a,b);\n int y = Math.min(a,b);\n int t = 0;\n while (y>0){\n t = x;\n x = y;\n y = t%y;\n }\n System.out.println(x);\n }\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] line = br.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[1]);\n int ans = 0;\n gcd(a,b);\n }\n}", "public class Main {\n static void gcd(int a, int b){\n int x = Math.max(a,b);\n int y = Math.min(a,b);\n int t = 0;\n while (y>0){\n t = x;\n x = y;\n y = t%y;\n }\n System.out.println(x);\n }\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] line = br.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[1]);\n int ans = 0;\n gcd(a,b);\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { static void gcd(int a, int b){ int x = Math.max(a,b); int y = Math.min(a,b); int t = 0; while (y>0){ t = x; x = y; y = t%y; } System.out.println(x); } public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] line = br.readLine().split(" "); int a = Integer.parseInt(line[0]); int b = Integer.parseInt(line[1]); int ans = 0; gcd(a,b); } }
[ 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, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 17, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 0, 13, 2, 13, 13, 17, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 103, 11 ], [ 103, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 21, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 21, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 34, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 34, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 51, 52 ], [ 51, 53 ], [ 34, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 59, 60 ], [ 59, 61 ], [ 34, 62 ], [ 62, 63 ], [ 62, 64 ], [ 34, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 73, 75 ], [ 69, 76 ], [ 76, 77 ], [ 76, 78 ], [ 34, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 83, 85 ], [ 80, 86 ], [ 79, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 91, 92 ], [ 91, 93 ], [ 34, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 12, 100 ], [ 100, 101 ], [ 0, 102 ], [ 102, 103 ], [ 102, 104 ] ]
[ "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\tx = in.readLine();\n\t\t\tString[] ab = x.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\t\t\t\n\t\t\tint tmp = 0;\n\t\t\tif (a > b) {\n\t\t\t\ttmp = b;\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}\n\t\t\t\n\t\t\twhile ((tmp = (b % a)) != 0) {\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}\n\t\t\tSystem.out.println(a);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t\tString x = \"\";\n\t\ttry {\n\t\t\tx = in.readLine();\n\t\t\tString[] ab = x.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\t\t\t\n\t\t\tint tmp = 0;\n\t\t\tif (a > b) {\n\t\t\t\ttmp = b;\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}\n\t\t\t\n\t\t\twhile ((tmp = (b % a)) != 0) {\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}\n\t\t\tSystem.out.println(a);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "Main", "public 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\tx = in.readLine();\n\t\t\tString[] ab = x.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\t\t\t\n\t\t\tint tmp = 0;\n\t\t\tif (a > b) {\n\t\t\t\ttmp = b;\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}\n\t\t\t\n\t\t\twhile ((tmp = (b % a)) != 0) {\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}\n\t\t\tSystem.out.println(a);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t\tString x = \"\";\n\t\ttry {\n\t\t\tx = in.readLine();\n\t\t\tString[] ab = x.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\t\t\t\n\t\t\tint tmp = 0;\n\t\t\tif (a > b) {\n\t\t\t\ttmp = b;\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}\n\t\t\t\n\t\t\twhile ((tmp = (b % a)) != 0) {\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}\n\t\t\tSystem.out.println(a);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "String x = \"\";", "x", "\"\"", "try {\n\t\t\tx = in.readLine();\n\t\t\tString[] ab = x.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\t\t\t\n\t\t\tint tmp = 0;\n\t\t\tif (a > b) {\n\t\t\t\ttmp = b;\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}\n\t\t\t\n\t\t\twhile ((tmp = (b % a)) != 0) {\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}\n\t\t\tSystem.out.println(a);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "NumberFormatException e", "{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "IOException e", "{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tx = in.readLine();\n\t\t\tString[] ab = x.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\t\t\t\n\t\t\tint tmp = 0;\n\t\t\tif (a > b) {\n\t\t\t\ttmp = b;\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}\n\t\t\t\n\t\t\twhile ((tmp = (b % a)) != 0) {\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}\n\t\t\tSystem.out.println(a);\n\t\t}", "x = in.readLine()", "x", "in.readLine()", "in.readLine", "in", "String[] ab = x.split(\" \");", "ab", "x.split(\" \")", "x.split", "x", "\" \"", "int a = Integer.parseInt(ab[0]);", "a", "Integer.parseInt(ab[0])", "Integer.parseInt", "Integer", "ab[0]", "ab", "0", "int b = Integer.parseInt(ab[1]);", "b", "Integer.parseInt(ab[1])", "Integer.parseInt", "Integer", "ab[1]", "ab", "1", "int tmp = 0;", "tmp", "0", "if (a > b) {\n\t\t\t\ttmp = b;\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}", "a > b", "a", "b", "{\n\t\t\t\ttmp = b;\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}", "tmp = b", "tmp", "b", "b = a", "b", "a", "a = tmp", "a", "tmp", "while ((tmp = (b % a)) != 0) {\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}", "(tmp = (b % a)) != 0", "(tmp = (b % a))", "tmp", "(b % a)", "b", "a", "0", "{\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}", "b = a", "b", "a", "a = tmp", "a", "tmp", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "String[] args", "args", "public 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\tx = in.readLine();\n\t\t\tString[] ab = x.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\t\t\t\n\t\t\tint tmp = 0;\n\t\t\tif (a > b) {\n\t\t\t\ttmp = b;\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}\n\t\t\t\n\t\t\twhile ((tmp = (b % a)) != 0) {\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}\n\t\t\tSystem.out.println(a);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "public 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\tx = in.readLine();\n\t\t\tString[] ab = x.split(\" \");\n\n\t\t\tint a = Integer.parseInt(ab[0]);\n\t\t\tint b = Integer.parseInt(ab[1]);\n\t\t\t\n\t\t\tint tmp = 0;\n\t\t\tif (a > b) {\n\t\t\t\ttmp = b;\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}\n\t\t\t\n\t\t\twhile ((tmp = (b % a)) != 0) {\n\t\t\t\tb = a;\n\t\t\t\ta = tmp;\n\t\t\t}\n\t\t\tSystem.out.println(a);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String x = ""; try { x = in.readLine(); String[] ab = x.split(" "); int a = Integer.parseInt(ab[0]); int b = Integer.parseInt(ab[1]); int tmp = 0; if (a > b) { tmp = b; b = a; a = tmp; } while ((tmp = (b % a)) != 0) { b = a; a = tmp; } System.out.println(a); } catch (NumberFormatException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 83, 11 ], [ 83, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 14, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 52, 54 ], [ 48, 55 ], [ 55, 56 ], [ 55, 57 ], [ 14, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 62, 68 ], [ 68, 69 ], [ 68, 70 ], [ 62, 71 ], [ 71, 72 ], [ 71, 73 ], [ 14, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 12, 80 ], [ 80, 81 ], [ 0, 82 ], [ 82, 83 ], [ 82, 84 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str[] = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(str[0]), y = Integer.parseInt(str[1]), rest;\n\n\t\tif (x < y) {\n\t\t\tint temp = x;\n\t\t\tx = y;\n\t\t\ty = temp;\n\t\t}\n\n\t\tdo {\n\t\t\trest = x % y;\n\t\t\tx = y;\n\t\t\ty = rest;\n\t\t} while (y != 0);\n\n\t\tSystem.out.println(x);\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str[] = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(str[0]), y = Integer.parseInt(str[1]), rest;\n\n\t\tif (x < y) {\n\t\t\tint temp = x;\n\t\t\tx = y;\n\t\t\ty = temp;\n\t\t}\n\n\t\tdo {\n\t\t\trest = x % y;\n\t\t\tx = y;\n\t\t\ty = rest;\n\t\t} while (y != 0);\n\n\t\tSystem.out.println(x);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str[] = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(str[0]), y = Integer.parseInt(str[1]), rest;\n\n\t\tif (x < y) {\n\t\t\tint temp = x;\n\t\t\tx = y;\n\t\t\ty = temp;\n\t\t}\n\n\t\tdo {\n\t\t\trest = x % y;\n\t\t\tx = y;\n\t\t\ty = rest;\n\t\t} while (y != 0);\n\n\t\tSystem.out.println(x);\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str[] = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(str[0]), y = Integer.parseInt(str[1]), rest;\n\n\t\tif (x < y) {\n\t\t\tint temp = x;\n\t\t\tx = y;\n\t\t\ty = temp;\n\t\t}\n\n\t\tdo {\n\t\t\trest = x % y;\n\t\t\tx = y;\n\t\t\ty = rest;\n\t\t} while (y != 0);\n\n\t\tSystem.out.println(x);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String str[] = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int x = Integer.parseInt(str[0])", "x", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "y = Integer.parseInt(str[1])", "y", "Integer.parseInt(str[1])", "Integer.parseInt", "Integer", "str[1]", "str", "1", "rest;", "rest", "if (x < y) {\n\t\t\tint temp = x;\n\t\t\tx = y;\n\t\t\ty = temp;\n\t\t}", "x < y", "x", "y", "{\n\t\t\tint temp = x;\n\t\t\tx = y;\n\t\t\ty = temp;\n\t\t}", "int temp = x;", "temp", "x", "x = y", "x", "y", "y = temp", "y", "temp", "do {\n\t\t\trest = x % y;\n\t\t\tx = y;\n\t\t\ty = rest;\n\t\t} while (y != 0);", "y != 0", "y", "0", "{\n\t\t\trest = x % y;\n\t\t\tx = y;\n\t\t\ty = rest;\n\t\t}", "rest = x % y", "rest", "x % y", "x", "y", "x = y", "x", "y", "y = rest", "y", "rest", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str[] = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(str[0]), y = Integer.parseInt(str[1]), rest;\n\n\t\tif (x < y) {\n\t\t\tint temp = x;\n\t\t\tx = y;\n\t\t\ty = temp;\n\t\t}\n\n\t\tdo {\n\t\t\trest = x % y;\n\t\t\tx = y;\n\t\t\ty = rest;\n\t\t} while (y != 0);\n\n\t\tSystem.out.println(x);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str[] = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(str[0]), y = Integer.parseInt(str[1]), rest;\n\n\t\tif (x < y) {\n\t\t\tint temp = x;\n\t\t\tx = y;\n\t\t\ty = temp;\n\t\t}\n\n\t\tdo {\n\t\t\trest = x % y;\n\t\t\tx = y;\n\t\t\ty = rest;\n\t\t} while (y != 0);\n\n\t\tSystem.out.println(x);\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str[] = br.readLine().split(" "); int x = Integer.parseInt(str[0]), y = Integer.parseInt(str[1]), rest; if (x < y) { int temp = x; x = y; y = temp; } do { rest = x % y; x = y; y = rest; } while (y != 0); System.out.println(x); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 8, 2, 13, 13, 13, 13, 41, 13, 8, 2, 13, 13, 13, 13, 42, 2, 13, 17, 30, 41, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 63, 5 ], [ 63, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 28 ], [ 24, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 32, 37 ], [ 8, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 42, 48 ], [ 48, 49 ], [ 48, 50 ], [ 42, 51 ], [ 51, 52 ], [ 51, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 6, 60 ], [ 60, 61 ], [ 0, 62 ], [ 62, 63 ], [ 62, 64 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int a = x > y ? x : y;\n int b = x > y ? y : x;\n while(b != 0){\n int c = a % b;\n a = b;\n b = c;\n }\n System.out.println(a);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int a = x > y ? x : y;\n int b = x > y ? y : x;\n while(b != 0){\n int c = a % b;\n a = b;\n b = c;\n }\n System.out.println(a);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int a = x > y ? x : y;\n int b = x > y ? y : x;\n while(b != 0){\n int c = a % b;\n a = b;\n b = c;\n }\n System.out.println(a);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int a = x > y ? x : y;\n int b = x > y ? y : x;\n while(b != 0){\n int c = a % b;\n a = b;\n b = c;\n }\n System.out.println(a);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "int a = x > y ? x : y;", "a", "x > y ? x : y", "x > y", "x", "y", "x", "y", "int b = x > y ? y : x;", "b", "x > y ? y : x", "x > y", "x", "y", "y", "x", "while(b != 0){\n int c = a % b;\n a = b;\n b = c;\n }", "b != 0", "b", "0", "{\n int c = a % b;\n a = b;\n b = c;\n }", "int c = a % b;", "c", "a % b", "a", "b", "a = b", "a", "b", "b = c", "b", "c", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int a = x > y ? x : y;\n int b = x > y ? y : x;\n while(b != 0){\n int c = a % b;\n a = b;\n b = c;\n }\n System.out.println(a);\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int a = x > y ? x : y;\n int b = x > y ? y : x;\n while(b != 0){\n int c = a % b;\n a = b;\n b = c;\n }\n System.out.println(a);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int a = x > y ? x : y; int b = x > y ? y : x; while(b != 0){ int c = a % b; a = b; b = c; } System.out.println(a); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 2, 13, 13, 17, 30, 0, 13, 13, 0, 13, 2, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 71, 5 ], [ 71, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 38, 40 ], [ 34, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 50, 59 ], [ 59, 60 ], [ 59, 61 ], [ 8, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 6, 68 ], [ 68, 69 ], [ 0, 70 ], [ 70, 71 ], [ 70, 72 ] ]
[ "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\tint a = Integer.parseInt(sc.next());\n\t\tint b = Integer.parseInt(sc.next());\n\t\tint temp;\n\n\t\t// a ?????§???????????????\n\t\tif(a<b) {\n\t\t\ttemp = a;\n\t\t\ta=b;\n\t\t\tb=temp;\n\t\t}\n\t\t\n\t\twhile((a%b)!=0){\n\t\t\ttemp = b;\n\t\t\tb=a%b;\n\t\t\ta=temp;\n\t\t}\n\t\tSystem.out.println(b);\n\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = Integer.parseInt(sc.next());\n\t\tint b = Integer.parseInt(sc.next());\n\t\tint temp;\n\n\t\t// a ?????§???????????????\n\t\tif(a<b) {\n\t\t\ttemp = a;\n\t\t\ta=b;\n\t\t\tb=temp;\n\t\t}\n\t\t\n\t\twhile((a%b)!=0){\n\t\t\ttemp = b;\n\t\t\tb=a%b;\n\t\t\ta=temp;\n\t\t}\n\t\tSystem.out.println(b);\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = Integer.parseInt(sc.next());\n\t\tint b = Integer.parseInt(sc.next());\n\t\tint temp;\n\n\t\t// a ?????§???????????????\n\t\tif(a<b) {\n\t\t\ttemp = a;\n\t\t\ta=b;\n\t\t\tb=temp;\n\t\t}\n\t\t\n\t\twhile((a%b)!=0){\n\t\t\ttemp = b;\n\t\t\tb=a%b;\n\t\t\ta=temp;\n\t\t}\n\t\tSystem.out.println(b);\n\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = Integer.parseInt(sc.next());\n\t\tint b = Integer.parseInt(sc.next());\n\t\tint temp;\n\n\t\t// a ?????§???????????????\n\t\tif(a<b) {\n\t\t\ttemp = a;\n\t\t\ta=b;\n\t\t\tb=temp;\n\t\t}\n\t\t\n\t\twhile((a%b)!=0){\n\t\t\ttemp = b;\n\t\t\tb=a%b;\n\t\t\ta=temp;\n\t\t}\n\t\tSystem.out.println(b);\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = Integer.parseInt(sc.next());", "a", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "int b = Integer.parseInt(sc.next());", "b", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "int temp;", "temp", "if(a<b) {\n\t\t\ttemp = a;\n\t\t\ta=b;\n\t\t\tb=temp;\n\t\t}", "a<b", "a", "b", "{\n\t\t\ttemp = a;\n\t\t\ta=b;\n\t\t\tb=temp;\n\t\t}", "temp = a", "temp", "a", "a=b", "a", "b", "b=temp", "b", "temp", "while((a%b)!=0){\n\t\t\ttemp = b;\n\t\t\tb=a%b;\n\t\t\ta=temp;\n\t\t}", "(a%b)!=0", "(a%b)", "a", "b", "0", "{\n\t\t\ttemp = b;\n\t\t\tb=a%b;\n\t\t\ta=temp;\n\t\t}", "temp = b", "temp", "b", "b=a%b", "b", "a%b", "a", "b", "a=temp", "a", "temp", "System.out.println(b)", "System.out.println", "System.out", "System", "System.out", "b", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = Integer.parseInt(sc.next());\n\t\tint b = Integer.parseInt(sc.next());\n\t\tint temp;\n\n\t\t// a ?????§???????????????\n\t\tif(a<b) {\n\t\t\ttemp = a;\n\t\t\ta=b;\n\t\t\tb=temp;\n\t\t}\n\t\t\n\t\twhile((a%b)!=0){\n\t\t\ttemp = b;\n\t\t\tb=a%b;\n\t\t\ta=temp;\n\t\t}\n\t\tSystem.out.println(b);\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = Integer.parseInt(sc.next());\n\t\tint b = Integer.parseInt(sc.next());\n\t\tint temp;\n\n\t\t// a ?????§???????????????\n\t\tif(a<b) {\n\t\t\ttemp = a;\n\t\t\ta=b;\n\t\t\tb=temp;\n\t\t}\n\t\t\n\t\twhile((a%b)!=0){\n\t\t\ttemp = b;\n\t\t\tb=a%b;\n\t\t\ta=temp;\n\t\t}\n\t\tSystem.out.println(b);\n\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = Integer.parseInt(sc.next()); int b = Integer.parseInt(sc.next()); int temp; // a ?????§??????????????? if(a<b) { temp = a; a=b; b=temp; } while((a%b)!=0){ temp = b; b=a%b; a=temp; } System.out.println(b); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 20, 4, 18, 18, 13, 13, 4, 18, 13, 13, 13, 23, 13, 6, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 30, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 79, 5 ], [ 79, 6 ], [ 6, 7 ], [ 6, 8 ], [ 79, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 27, 31 ], [ 11, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 34, 38 ], [ 11, 39 ], [ 39, 40 ], [ 39, 41 ], [ 11, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 47, 51 ], [ 9, 52 ], [ 52, 53 ], [ 0, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 64, 65 ], [ 59, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 68, 71 ], [ 71, 72 ], [ 71, 73 ], [ 56, 74 ], [ 74, 75 ], [ 56, 76 ], [ 76, 77 ], [ 0, 78 ], [ 78, 79 ], [ 78, 80 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static final int CONSTRAINT = 1000000000;\n \n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int maxNum = Math.max(x,y);\n int minNum = Math.min(x,y);\n \n GreatestCommonDivisor GCD = new GreatestCommonDivisor();\n System.out.println(GCD.getGCD(maxNum, minNum));\n }\n}\n\nclass GreatestCommonDivisor{\n // int GCD; //Greatest Common Divisor \n public int getGCD(int maxNum, int minNum){\n if(minNum == 0){\n return maxNum;\n }else{\n return getGCD(minNum, (maxNum % minNum));\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static final int CONSTRAINT = 1000000000;\n \n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int maxNum = Math.max(x,y);\n int minNum = Math.min(x,y);\n \n GreatestCommonDivisor GCD = new GreatestCommonDivisor();\n System.out.println(GCD.getGCD(maxNum, minNum));\n }\n}", "Main", "public static final int CONSTRAINT = 1000000000;", "CONSTRAINT", "1000000000", "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int maxNum = Math.max(x,y);\n int minNum = Math.min(x,y);\n \n GreatestCommonDivisor GCD = new GreatestCommonDivisor();\n System.out.println(GCD.getGCD(maxNum, minNum));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int maxNum = Math.max(x,y);\n int minNum = Math.min(x,y);\n \n GreatestCommonDivisor GCD = new GreatestCommonDivisor();\n System.out.println(GCD.getGCD(maxNum, minNum));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "int maxNum = Math.max(x,y);", "maxNum", "Math.max(x,y)", "Math.max", "Math", "x", "y", "int minNum = Math.min(x,y);", "minNum", "Math.min(x,y)", "Math.min", "Math", "x", "y", "GreatestCommonDivisor GCD = new GreatestCommonDivisor();", "GCD", "new GreatestCommonDivisor()", "System.out.println(GCD.getGCD(maxNum, minNum))", "System.out.println", "System.out", "System", "System.out", "GCD.getGCD(maxNum, minNum)", "GCD.getGCD", "GCD", "maxNum", "minNum", "String[] args", "args", "class GreatestCommonDivisor{\n // int GCD; //Greatest Common Divisor \n public int getGCD(int maxNum, int minNum){\n if(minNum == 0){\n return maxNum;\n }else{\n return getGCD(minNum, (maxNum % minNum));\n }\n }\n}", "GreatestCommonDivisor", "// int GCD; //Greatest Common Divisor \n public int getGCD(int maxNum, int minNum){\n if(minNum == 0){\n return maxNum;\n }else{\n return getGCD(minNum, (maxNum % minNum));\n }\n }", "getGCD", "{\n if(minNum == 0){\n return maxNum;\n }else{\n return getGCD(minNum, (maxNum % minNum));\n }\n }", "if(minNum == 0){\n return maxNum;\n }else{\n return getGCD(minNum, (maxNum % minNum));\n }", "minNum == 0", "minNum", "0", "{\n return maxNum;\n }", "return maxNum;", "maxNum", "{\n return getGCD(minNum, (maxNum % minNum));\n }", "return getGCD(minNum, (maxNum % minNum));", "getGCD(minNum, (maxNum % minNum))", "getGCD", "minNum", "(maxNum % minNum)", "maxNum", "minNum", "int maxNum", "maxNum", "int minNum", "minNum", "public class Main {\n public static final int CONSTRAINT = 1000000000;\n \n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int maxNum = Math.max(x,y);\n int minNum = Math.min(x,y);\n \n GreatestCommonDivisor GCD = new GreatestCommonDivisor();\n System.out.println(GCD.getGCD(maxNum, minNum));\n }\n}", "public class Main {\n public static final int CONSTRAINT = 1000000000;\n \n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int maxNum = Math.max(x,y);\n int minNum = Math.min(x,y);\n \n GreatestCommonDivisor GCD = new GreatestCommonDivisor();\n System.out.println(GCD.getGCD(maxNum, minNum));\n }\n}", "Main" ]
import java.util.*; public class Main { public static final int CONSTRAINT = 1000000000; public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int maxNum = Math.max(x,y); int minNum = Math.min(x,y); GreatestCommonDivisor GCD = new GreatestCommonDivisor(); System.out.println(GCD.getGCD(maxNum, minNum)); } } class GreatestCommonDivisor{ // int GCD; //Greatest Common Divisor public int getGCD(int maxNum, int minNum){ if(minNum == 0){ return maxNum; }else{ return getGCD(minNum, (maxNum % minNum)); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 14, 2, 13, 17, 29, 13, 14, 2, 13, 13, 30, 29, 4, 13, 13, 2, 13, 13, 30, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 9, 13 ], [ 13, 14 ], [ 8, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 15, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 21, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 30, 31 ], [ 30, 32 ], [ 21, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 35, 38 ], [ 38, 39 ], [ 38, 40 ], [ 6, 41 ], [ 41, 42 ], [ 6, 43 ], [ 43, 44 ], [ 0, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 49, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 49, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 68, 72 ], [ 47, 73 ], [ 73, 74 ] ]
[ "import java.util.Scanner;\n\nclass MathUtil {\n\tpublic static long gcd(long x, long y) {\n\t\tif(x == 0) return y;\n\t\tif(y == 0) return x;\n\t\tif(x >= y) {\n\t\t\treturn gcd(y, x % y);\n\t\t} else {\n\t\t\treturn gcd(x, y % x);\n\t\t}\n\t}\n}\n\nclass Main {\n\tpublic static void main(String args[]) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong x = in.nextInt();\n\t\tlong y = in.nextInt();\n\t\tSystem.out.println(MathUtil.gcd(x, y));\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class MathUtil {\n\tpublic static long gcd(long x, long y) {\n\t\tif(x == 0) return y;\n\t\tif(y == 0) return x;\n\t\tif(x >= y) {\n\t\t\treturn gcd(y, x % y);\n\t\t} else {\n\t\t\treturn gcd(x, y % x);\n\t\t}\n\t}\n}", "MathUtil", "public static long gcd(long x, long y) {\n\t\tif(x == 0) return y;\n\t\tif(y == 0) return x;\n\t\tif(x >= y) {\n\t\t\treturn gcd(y, x % y);\n\t\t} else {\n\t\t\treturn gcd(x, y % x);\n\t\t}\n\t}", "gcd", "{\n\t\tif(x == 0) return y;\n\t\tif(y == 0) return x;\n\t\tif(x >= y) {\n\t\t\treturn gcd(y, x % y);\n\t\t} else {\n\t\t\treturn gcd(x, y % x);\n\t\t}\n\t}", "if(x == 0) return y;", "x == 0", "x", "0", "return y;", "y", "if(y == 0) return x;", "y == 0", "y", "0", "return x;", "x", "if(x >= y) {\n\t\t\treturn gcd(y, x % y);\n\t\t} else {\n\t\t\treturn gcd(x, y % x);\n\t\t}", "x >= y", "x", "y", "{\n\t\t\treturn gcd(y, x % y);\n\t\t}", "return gcd(y, x % y);", "gcd(y, x % y)", "gcd", "y", "x % y", "x", "y", "{\n\t\t\treturn gcd(x, y % x);\n\t\t}", "return gcd(x, y % x);", "gcd(x, y % x)", "gcd", "x", "y % x", "y", "x", "long x", "x", "long y", "y", "class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong x = in.nextInt();\n\t\tlong y = in.nextInt();\n\t\tSystem.out.println(MathUtil.gcd(x, y));\n\t}\n}", "Main", "public static void main(String args[]) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong x = in.nextInt();\n\t\tlong y = in.nextInt();\n\t\tSystem.out.println(MathUtil.gcd(x, y));\n\t}", "main", "{\n\t\tScanner in = new Scanner(System.in);\n\t\tlong x = in.nextInt();\n\t\tlong y = in.nextInt();\n\t\tSystem.out.println(MathUtil.gcd(x, y));\n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "long x = in.nextInt();", "x", "in.nextInt()", "in.nextInt", "in", "long y = in.nextInt();", "y", "in.nextInt()", "in.nextInt", "in", "System.out.println(MathUtil.gcd(x, y))", "System.out.println", "System.out", "System", "System.out", "MathUtil.gcd(x, y)", "MathUtil.gcd", "MathUtil", "x", "y", "String args[]", "args" ]
import java.util.Scanner; class MathUtil { public static long gcd(long x, long y) { if(x == 0) return y; if(y == 0) return x; if(x >= y) { return gcd(y, x % y); } else { return gcd(x, y % x); } } } class Main { public static void main(String args[]) { Scanner in = new Scanner(System.in); long x = in.nextInt(); long y = in.nextInt(); System.out.println(MathUtil.gcd(x, y)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 42, 17, 30, 41, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 3, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 68, 5 ], [ 68, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 33, 35 ], [ 29, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 41, 47 ], [ 47, 48 ], [ 47, 49 ], [ 41, 50 ], [ 50, 51 ], [ 50, 52 ], [ 41, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 57, 64 ], [ 6, 65 ], [ 65, 66 ], [ 0, 67 ], [ 67, 68 ], [ 67, 69 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner num = new Scanner(System.in);\n int x = num.nextInt();\n int y = num.nextInt();\n int result = 0;\n\n if(x < y) {\n int t = x;\n x = y;\n y = t;\n }\n\n while(true) {\n int z = x % y;\n x = y;\n y = z;\n if(y == 0) {\n System.out.println(x);\n break;\n }\n }\n \n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner num = new Scanner(System.in);\n int x = num.nextInt();\n int y = num.nextInt();\n int result = 0;\n\n if(x < y) {\n int t = x;\n x = y;\n y = t;\n }\n\n while(true) {\n int z = x % y;\n x = y;\n y = z;\n if(y == 0) {\n System.out.println(x);\n break;\n }\n }\n \n }\n}", "Main", "public static void main(String[] args) {\n Scanner num = new Scanner(System.in);\n int x = num.nextInt();\n int y = num.nextInt();\n int result = 0;\n\n if(x < y) {\n int t = x;\n x = y;\n y = t;\n }\n\n while(true) {\n int z = x % y;\n x = y;\n y = z;\n if(y == 0) {\n System.out.println(x);\n break;\n }\n }\n \n }", "main", "{\n Scanner num = new Scanner(System.in);\n int x = num.nextInt();\n int y = num.nextInt();\n int result = 0;\n\n if(x < y) {\n int t = x;\n x = y;\n y = t;\n }\n\n while(true) {\n int z = x % y;\n x = y;\n y = z;\n if(y == 0) {\n System.out.println(x);\n break;\n }\n }\n \n }", "Scanner num = new Scanner(System.in);", "num", "new Scanner(System.in)", "int x = num.nextInt();", "x", "num.nextInt()", "num.nextInt", "num", "int y = num.nextInt();", "y", "num.nextInt()", "num.nextInt", "num", "int result = 0;", "result", "0", "if(x < y) {\n int t = x;\n x = y;\n y = t;\n }", "x < y", "x", "y", "{\n int t = x;\n x = y;\n y = t;\n }", "int t = x;", "t", "x", "x = y", "x", "y", "y = t", "y", "t", "while(true) {\n int z = x % y;\n x = y;\n y = z;\n if(y == 0) {\n System.out.println(x);\n break;\n }\n }", "true", "{\n int z = x % y;\n x = y;\n y = z;\n if(y == 0) {\n System.out.println(x);\n break;\n }\n }", "int z = x % y;", "z", "x % y", "x", "y", "x = y", "x", "y", "y = z", "y", "z", "if(y == 0) {\n System.out.println(x);\n break;\n }", "y == 0", "y", "0", "{\n System.out.println(x);\n break;\n }", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "break;", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner num = new Scanner(System.in);\n int x = num.nextInt();\n int y = num.nextInt();\n int result = 0;\n\n if(x < y) {\n int t = x;\n x = y;\n y = t;\n }\n\n while(true) {\n int z = x % y;\n x = y;\n y = z;\n if(y == 0) {\n System.out.println(x);\n break;\n }\n }\n \n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner num = new Scanner(System.in);\n int x = num.nextInt();\n int y = num.nextInt();\n int result = 0;\n\n if(x < y) {\n int t = x;\n x = y;\n y = t;\n }\n\n while(true) {\n int z = x % y;\n x = y;\n y = z;\n if(y == 0) {\n System.out.println(x);\n break;\n }\n }\n \n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner num = new Scanner(System.in); int x = num.nextInt(); int y = num.nextInt(); int result = 0; if(x < y) { int t = x; x = y; y = t; } while(true) { int z = x % y; x = y; y = z; if(y == 0) { System.out.println(x); break; } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 20, 4, 18, 13, 13, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 42, 2, 0, 13, 2, 13, 13, 17, 30, 0, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 6, 13, 41, 13, 18, 13, 13, 41, 13, 20, 17, 41, 13, 17, 41, 13, 17, 12, 13, 30, 14, 2, 13, 13, 30, 29, 17, 30, 0, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 17, 30, 29, 17, 29, 17, 12, 13, 30, 14, 4, 13, 30, 29, 18, 13, 40, 13, 30, 29, 40, 17, 12, 13, 30, 29, 2, 2, 17, 13, 2, 13, 17, 23, 13, 12, 13, 30, 42, 2, 4, 13, 40, 4, 13, 18, 13, 13, 30, 40, 13, 29, 4, 13, 12, 13, 30, 14, 40, 4, 13, 30, 37, 20, 41, 13, 20, 41, 13, 4, 13, 42, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 14, 40, 4, 13, 30, 37, 20, 41, 13, 17, 41, 13, 17, 41, 13, 4, 13, 14, 2, 13, 17, 30, 0, 13, 17, 0, 13, 4, 13, 14, 2, 2, 13, 17, 2, 17, 13, 30, 37, 20, 42, 17, 30, 14, 2, 2, 17, 13, 2, 13, 17, 30, 0, 13, 17, 0, 13, 2, 13, 17, 14, 2, 2, 13, 40, 17, 40, 4, 13, 13, 30, 29, 8, 13, 40, 13, 13, 30, 37, 20, 0, 13, 4, 13, 12, 13, 30, 41, 13, 4, 13, 14, 2, 2, 13, 18, 13, 13, 2, 13, 18, 13, 13, 30, 37, 20, 29, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 355, 17 ], [ 355, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 27, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 20, 34 ], [ 34, 35 ], [ 35, 36 ], [ 18, 37 ], [ 37, 38 ], [ 0, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 39, 43 ], [ 43, 44 ], [ 39, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 47, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 45, 58 ], [ 58, 59 ], [ 39, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 66, 67 ], [ 66, 68 ], [ 66, 69 ], [ 60, 70 ], [ 70, 71 ], [ 39, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 81, 83 ], [ 78, 84 ], [ 77, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 89, 90 ], [ 89, 91 ], [ 74, 92 ], [ 92, 93 ], [ 72, 94 ], [ 94, 95 ], [ 72, 96 ], [ 96, 97 ], [ 0, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 102, 104 ], [ 98, 105 ], [ 105, 106 ], [ 105, 107 ], [ 98, 109 ], [ 109, 110 ], [ 109, 111 ], [ 98, 112 ], [ 112, 113 ], [ 112, 114 ], [ 98, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 122, 123 ], [ 123, 124 ], [ 118, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 129, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 140, 141 ], [ 139, 142 ], [ 125, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 143, 147 ], [ 147, 148 ], [ 148, 149 ], [ 117, 150 ], [ 150, 151 ], [ 98, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 155, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 155, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 98, 168 ], [ 168, 169 ], [ 168, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 172, 176 ], [ 176, 177 ], [ 176, 178 ], [ 168, 179 ], [ 179, 180 ], [ 98, 181 ], [ 181, 182 ], [ 181, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 185, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 191, 192 ], [ 191, 193 ], [ 184, 194 ], [ 194, 195 ], [ 195, 196 ], [ 183, 197 ], [ 197, 198 ], [ 198, 199 ], [ 98, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 203, 207 ], [ 207, 208 ], [ 208, 209 ], [ 202, 210 ], [ 210, 211 ], [ 210, 212 ], [ 202, 213 ], [ 213, 214 ], [ 213, 215 ], [ 215, 216 ], [ 202, 217 ], [ 217, 218 ], [ 218, 219 ], [ 218, 220 ], [ 217, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 222, 225 ], [ 221, 226 ], [ 226, 227 ], [ 226, 228 ], [ 228, 229 ], [ 202, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 98, 234 ], [ 234, 235 ], [ 234, 236 ], [ 236, 237 ], [ 237, 238 ], [ 238, 239 ], [ 239, 240 ], [ 237, 241 ], [ 241, 242 ], [ 242, 243 ], [ 236, 244 ], [ 244, 245 ], [ 244, 246 ], [ 236, 247 ], [ 247, 248 ], [ 247, 249 ], [ 236, 250 ], [ 250, 251 ], [ 250, 252 ], [ 252, 253 ], [ 236, 254 ], [ 254, 255 ], [ 255, 256 ], [ 255, 257 ], [ 254, 258 ], [ 258, 259 ], [ 259, 260 ], [ 259, 261 ], [ 258, 262 ], [ 262, 263 ], [ 262, 264 ], [ 264, 265 ], [ 236, 266 ], [ 266, 267 ], [ 267, 268 ], [ 268, 269 ], [ 268, 270 ], [ 267, 271 ], [ 271, 272 ], [ 271, 273 ], [ 266, 274 ], [ 274, 275 ], [ 275, 276 ], [ 236, 277 ], [ 277, 278 ], [ 277, 279 ], [ 279, 280 ], [ 280, 281 ], [ 281, 282 ], [ 282, 283 ], [ 282, 284 ], [ 281, 285 ], [ 285, 286 ], [ 285, 287 ], [ 280, 288 ], [ 288, 289 ], [ 289, 290 ], [ 289, 291 ], [ 288, 292 ], [ 292, 293 ], [ 292, 294 ], [ 294, 295 ], [ 294, 296 ], [ 280, 297 ], [ 297, 298 ], [ 298, 299 ], [ 299, 300 ], [ 299, 301 ], [ 301, 302 ], [ 298, 303 ], [ 303, 304 ], [ 304, 305 ], [ 304, 306 ], [ 297, 307 ], [ 307, 308 ], [ 308, 309 ], [ 309, 310 ], [ 309, 311 ], [ 311, 312 ], [ 309, 313 ], [ 297, 314 ], [ 314, 315 ], [ 315, 316 ], [ 279, 317 ], [ 317, 318 ], [ 317, 319 ], [ 319, 320 ], [ 98, 321 ], [ 321, 322 ], [ 321, 323 ], [ 323, 324 ], [ 324, 325 ], [ 324, 326 ], [ 326, 327 ], [ 323, 328 ], [ 328, 329 ], [ 329, 330 ], [ 330, 331 ], [ 330, 332 ], [ 332, 333 ], [ 332, 334 ], [ 329, 335 ], [ 335, 336 ], [ 335, 337 ], [ 337, 338 ], [ 337, 339 ], [ 328, 340 ], [ 340, 341 ], [ 341, 342 ], [ 323, 343 ], [ 343, 344 ], [ 98, 345 ], [ 345, 346 ], [ 345, 347 ], [ 347, 348 ], [ 348, 349 ], [ 349, 350 ], [ 350, 351 ], [ 349, 352 ], [ 352, 353 ], [ 0, 354 ], [ 354, 355 ], [ 354, 356 ] ]
[ "\nimport java.text.DecimalFormat;\nimport java.util.stream.LongStream;\nimport java.util.stream.IntStream;\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n\n AOJ problem = new AOJ(sc);\n problem.solve(out);\n\n out.flush();\n }\n\n}\n\nclass AOJ {\n\n int x, y;\n\n AOJ(FastScanner sc) {\n x = sc.nextInt();\n y = sc.nextInt();\n }\n\n void solve(PrintWriter out) {\n out.println(gcd(x, y));\n }\n\n long gcd(long m, long n) {\n long rem;\n while ((rem = m % n) != 0) {\n m = n;\n n = rem;\n }\n return n;\n }\n}\n\n// https://qiita.com/p_shiki37/items/a0f6aac33bf60f5f65e4\nclass FastScanner {\n\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n}\n", "import java.text.DecimalFormat;", "DecimalFormat", "java.text", "import java.util.stream.LongStream;", "LongStream", "java.util.stream", "import java.util.stream.IntStream;", "IntStream", "java.util.stream", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n\n AOJ problem = new AOJ(sc);\n problem.solve(out);\n\n out.flush();\n }\n\n}", "Main", "public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n\n AOJ problem = new AOJ(sc);\n problem.solve(out);\n\n out.flush();\n }", "main", "{\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n\n AOJ problem = new AOJ(sc);\n problem.solve(out);\n\n out.flush();\n }", "FastScanner sc = new FastScanner();", "sc", "new FastScanner()", "PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "AOJ problem = new AOJ(sc);", "problem", "new AOJ(sc)", "problem.solve(out)", "problem.solve", "problem", "out", "out.flush()", "out.flush", "out", "String[] args", "args", "class AOJ {\n\n int x, y;\n\n AOJ(FastScanner sc) {\n x = sc.nextInt();\n y = sc.nextInt();\n }\n\n void solve(PrintWriter out) {\n out.println(gcd(x, y));\n }\n\n long gcd(long m, long n) {\n long rem;\n while ((rem = m % n) != 0) {\n m = n;\n n = rem;\n }\n return n;\n }\n}", "AOJ", "int x", "x", "y;", "y", "AOJ(FastScanner sc) {\n x = sc.nextInt();\n y = sc.nextInt();\n }", "AOJ", "{\n x = sc.nextInt();\n y = sc.nextInt();\n }", "x = sc.nextInt()", "x", "sc.nextInt()", "sc.nextInt", "sc", "y = sc.nextInt()", "y", "sc.nextInt()", "sc.nextInt", "sc", "FastScanner sc", "sc", "void solve(PrintWriter out) {\n out.println(gcd(x, y));\n }", "solve", "{\n out.println(gcd(x, y));\n }", "out.println(gcd(x, y))", "out.println", "out", "gcd(x, y)", "gcd", "x", "y", "PrintWriter out", "out", "long gcd(long m, long n) {\n long rem;\n while ((rem = m % n) != 0) {\n m = n;\n n = rem;\n }\n return n;\n }", "gcd", "{\n long rem;\n while ((rem = m % n) != 0) {\n m = n;\n n = rem;\n }\n return n;\n }", "long rem;", "rem", "while ((rem = m % n) != 0) {\n m = n;\n n = rem;\n }", "(rem = m % n) != 0", "(rem = m % n)", "rem", "m % n", "m", "n", "0", "{\n m = n;\n n = rem;\n }", "m = n", "m", "n", "n = rem", "n", "rem", "return n;", "n", "long m", "m", "long n", "n", "class FastScanner {\n\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n}", "FastScanner", "private final InputStream in = System.in;", "in", "System.in", "System", "System.in", "private final byte[] buffer = new byte[1024];", "buffer", "new byte[1024]", "1024", "private int ptr = 0;", "ptr", "0", "private int buflen = 0;", "buflen", "0", "private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }", "hasNextByte", "{\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }", "if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }", "ptr < buflen", "ptr", "buflen", "{\n return true;\n }", "return true;", "true", "{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }", "ptr = 0", "ptr", "0", "try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n buflen = in.read(buffer);\n }", "buflen = in.read(buffer)", "buflen", "in.read(buffer)", "in.read", "in", "buffer", "if (buflen <= 0) {\n return false;\n }", "buflen <= 0", "buflen", "0", "{\n return false;\n }", "return false;", "false", "return true;", "true", "private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }", "readByte", "{\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }", "if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }", "hasNextByte()", "hasNextByte", "{\n return buffer[ptr++];\n }", "return buffer[ptr++];", "buffer[ptr++]", "buffer", "ptr++", "ptr", "{\n return -1;\n }", "return -1;", "-1", "1", "private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }", "isPrintableChar", "{\n return 33 <= c && c <= 126;\n }", "return 33 <= c && c <= 126;", "33 <= c && c <= 126", "33 <= c", "33", "c", "c <= 126", "c", "126", "int c", "c", "public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }", "hasNext", "{\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }", "while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }", "hasNextByte() && !isPrintableChar(buffer[ptr])", "hasNextByte()", "hasNextByte", "!isPrintableChar(buffer[ptr])", "isPrintableChar(buffer[ptr])", "isPrintableChar", "buffer[ptr]", "buffer", "ptr", "{\n ptr++;\n }", "ptr++", "ptr", "return hasNextByte();", "hasNextByte()", "hasNextByte", "public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }", "next", "{\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }", "if (!hasNext()) {\n throw new NoSuchElementException();\n }", "!hasNext()", "hasNext()", "hasNext", "{\n throw new NoSuchElementException();\n }", "throw new NoSuchElementException();", "new NoSuchElementException()", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "int b = readByte();", "b", "readByte()", "readByte", "while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }", "isPrintableChar(b)", "isPrintableChar", "b", "{\n sb.appendCodePoint(b);\n b = readByte();\n }", "sb.appendCodePoint(b)", "sb.appendCodePoint", "sb", "b", "b = readByte()", "b", "readByte()", "readByte", "return sb.toString();", "sb.toString()", "sb.toString", "sb", "public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }", "nextLong", "{\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }", "if (!hasNext()) {\n throw new NoSuchElementException();\n }", "!hasNext()", "hasNext()", "hasNext", "{\n throw new NoSuchElementException();\n }", "throw new NoSuchElementException();", "new NoSuchElementException()", "long n = 0;", "n", "0", "boolean minus = false;", "minus", "false", "int b = readByte();", "b", "readByte()", "readByte", "if (b == '-') {\n minus = true;\n b = readByte();\n }", "b == '-'", "b", "'-'", "{\n minus = true;\n b = readByte();\n }", "minus = true", "minus", "true", "b = readByte()", "b", "readByte()", "readByte", "if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }", "b < '0' || '9' < b", "b < '0'", "b", "'0'", "'9' < b", "'9'", "b", "{\n throw new NumberFormatException();\n }", "throw new NumberFormatException();", "new NumberFormatException()", "while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }", "true", "{\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }", "if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }", "'0' <= b && b <= '9'", "'0' <= b", "'0'", "b", "b <= '9'", "b", "'9'", "{\n n *= 10;\n n += b - '0';\n }", "n *= 10", "n", "10", "n += b - '0'", "n", "b - '0'", "b", "'0'", "if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }", "b == -1 || !isPrintableChar(b)", "b == -1", "b", "-1", "1", "!isPrintableChar(b)", "isPrintableChar(b)", "isPrintableChar", "b", "{\n return minus ? -n : n;\n }", "return minus ? -n : n;", "minus ? -n : n", "minus", "-n", "n", "n", "{\n throw new NumberFormatException();\n }", "throw new NumberFormatException();", "new NumberFormatException()", "b = readByte()", "b", "readByte()", "readByte", "public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }", "nextInt", "{\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }", "long nl = nextLong();", "nl", "nextLong()", "nextLong", "if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }", "nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE", "nl < Integer.MIN_VALUE", "nl", "Integer.MIN_VALUE", "Integer", "Integer.MIN_VALUE", "nl > Integer.MAX_VALUE", "nl", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "{\n throw new NumberFormatException();\n }", "throw new NumberFormatException();", "new NumberFormatException()", "return (int) nl;", "(int) nl", "public double nextDouble() {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "public class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n\n AOJ problem = new AOJ(sc);\n problem.solve(out);\n\n out.flush();\n }\n\n}", "public class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n\n AOJ problem = new AOJ(sc);\n problem.solve(out);\n\n out.flush();\n }\n\n}", "Main" ]
import java.text.DecimalFormat; import java.util.stream.LongStream; import java.util.stream.IntStream; import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(); PrintWriter out = new PrintWriter(System.out); AOJ problem = new AOJ(sc); problem.solve(out); out.flush(); } } class AOJ { int x, y; AOJ(FastScanner sc) { x = sc.nextInt(); y = sc.nextInt(); } void solve(PrintWriter out) { out.println(gcd(x, y)); } long gcd(long m, long n) { long rem; while ((rem = m % n) != 0) { m = n; n = rem; } return n; } } // https://qiita.com/p_shiki37/items/a0f6aac33bf60f5f65e4 class FastScanner { private final InputStream in = System.in; private final byte[] buffer = new byte[1024]; private int ptr = 0; private int buflen = 0; private boolean hasNextByte() { if (ptr < buflen) { return true; } else { ptr = 0; try { buflen = in.read(buffer); } catch (IOException e) { e.printStackTrace(); } if (buflen <= 0) { return false; } } return true; } private int readByte() { if (hasNextByte()) { return buffer[ptr++]; } else { return -1; } } private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126; } public boolean hasNext() { while (hasNextByte() && !isPrintableChar(buffer[ptr])) { ptr++; } return hasNextByte(); } public String next() { if (!hasNext()) { throw new NoSuchElementException(); } StringBuilder sb = new StringBuilder(); int b = readByte(); while (isPrintableChar(b)) { sb.appendCodePoint(b); b = readByte(); } return sb.toString(); } public long nextLong() { if (!hasNext()) { throw new NoSuchElementException(); } long n = 0; boolean minus = false; int b = readByte(); if (b == '-') { minus = true; b = readByte(); } if (b < '0' || '9' < b) { throw new NumberFormatException(); } while (true) { if ('0' <= b && b <= '9') { n *= 10; n += b - '0'; } else if (b == -1 || !isPrintableChar(b)) { return minus ? -n : n; } else { throw new NumberFormatException(); } b = readByte(); } } public int nextInt() { long nl = nextLong(); if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) { throw new NumberFormatException(); } return (int) nl; } public double nextDouble() { return Double.parseDouble(next()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 13, 17, 30, 41, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 73, 5 ], [ 73, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 6, 31 ], [ 31, 32 ], [ 73, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 44, 46 ], [ 40, 47 ], [ 47, 48 ], [ 47, 49 ], [ 35, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 54, 60 ], [ 60, 61 ], [ 60, 62 ], [ 54, 63 ], [ 63, 64 ], [ 63, 65 ], [ 35, 66 ], [ 66, 67 ], [ 33, 68 ], [ 68, 69 ], [ 33, 70 ], [ 70, 71 ], [ 0, 72 ], [ 72, 73 ], [ 72, 74 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\n\t\tSystem.out.println(calc(x, y));\n\t}\n\n\tprivate static int calc(int x, int y) {\n\t\tif (x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\n\t\twhile (y > 0) {\n\t\t\tint r = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\n\t\treturn x;\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\n\t\tSystem.out.println(calc(x, y));\n\t}\n\n\tprivate static int calc(int x, int y) {\n\t\tif (x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\n\t\twhile (y > 0) {\n\t\t\tint r = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\n\t\treturn x;\n\t}\n}", "Main", "public static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\n\t\tSystem.out.println(calc(x, y));\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\n\t\tSystem.out.println(calc(x, y));\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println(calc(x, y))", "System.out.println", "System.out", "System", "System.out", "calc(x, y)", "calc", "x", "y", "String args[]", "args", "private static int calc(int x, int y) {\n\t\tif (x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\n\t\twhile (y > 0) {\n\t\t\tint r = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\n\t\treturn x;\n\t}", "calc", "{\n\t\tif (x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\n\t\twhile (y > 0) {\n\t\t\tint r = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\n\t\treturn x;\n\t}", "if (x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}", "x < y", "x", "y", "{\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}", "int tmp = x;", "tmp", "x", "x = y", "x", "y", "y = tmp", "y", "tmp", "while (y > 0) {\n\t\t\tint r = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}", "y > 0", "y", "0", "{\n\t\t\tint r = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}", "int r = x % y;", "r", "x % y", "x", "y", "x = y", "x", "y", "y = r", "y", "r", "return x;", "x", "int x", "x", "int y", "y", "public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\n\t\tSystem.out.println(calc(x, y));\n\t}\n\n\tprivate static int calc(int x, int y) {\n\t\tif (x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\n\t\twhile (y > 0) {\n\t\t\tint r = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\n\t\treturn x;\n\t}\n}", "public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\n\t\tSystem.out.println(calc(x, y));\n\t}\n\n\tprivate static int calc(int x, int y) {\n\t\tif (x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\n\t\twhile (y > 0) {\n\t\t\tint r = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\n\t\treturn x;\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); System.out.println(calc(x, y)); } private static int calc(int x, int y) { if (x < y) { int tmp = x; x = y; y = tmp; } while (y > 0) { int r = x % y; x = y; y = r; } return x; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 17, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 13, 13, 30, 4, 13, 13, 13, 30, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 2, 13, 13, 4, 13, 13, 13, 30, 4, 18, 18, 13, 13, 13, 29, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 79, 5 ], [ 79, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 34, 37 ], [ 29, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 39, 42 ], [ 6, 43 ], [ 43, 44 ], [ 79, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 56, 62 ], [ 62, 63 ], [ 62, 64 ], [ 62, 65 ], [ 48, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 66, 73 ], [ 45, 74 ], [ 74, 75 ], [ 45, 76 ], [ 76, 77 ], [ 0, 78 ], [ 78, 79 ], [ 78, 80 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a,b,gcd=2;\n\t\ta=scan.nextInt();\n\t\tb=scan.nextInt();\n\t\tif(a>=b){\n\t\t\tGCD(a,b);\n\t\t}\n\t\telse{\n\t\t\tGCD(b,a);\n\t\t}\n\t}\n\tpublic static void GCD(int a,int b){\n\t\tif(a>0 && b>0){\n\t\t\ta=a%b;\n\t\t\tGCD(b,a);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(a);\n\t\t\treturn;\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a,b,gcd=2;\n\t\ta=scan.nextInt();\n\t\tb=scan.nextInt();\n\t\tif(a>=b){\n\t\t\tGCD(a,b);\n\t\t}\n\t\telse{\n\t\t\tGCD(b,a);\n\t\t}\n\t}\n\tpublic static void GCD(int a,int b){\n\t\tif(a>0 && b>0){\n\t\t\ta=a%b;\n\t\t\tGCD(b,a);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(a);\n\t\t\treturn;\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a,b,gcd=2;\n\t\ta=scan.nextInt();\n\t\tb=scan.nextInt();\n\t\tif(a>=b){\n\t\t\tGCD(a,b);\n\t\t}\n\t\telse{\n\t\t\tGCD(b,a);\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a,b,gcd=2;\n\t\ta=scan.nextInt();\n\t\tb=scan.nextInt();\n\t\tif(a>=b){\n\t\t\tGCD(a,b);\n\t\t}\n\t\telse{\n\t\t\tGCD(b,a);\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int a", "a", "b", "b", "gcd=2;", "gcd", "2", "a=scan.nextInt()", "a", "scan.nextInt()", "scan.nextInt", "scan", "b=scan.nextInt()", "b", "scan.nextInt()", "scan.nextInt", "scan", "if(a>=b){\n\t\t\tGCD(a,b);\n\t\t}\n\t\telse{\n\t\t\tGCD(b,a);\n\t\t}", "a>=b", "a", "b", "{\n\t\t\tGCD(a,b);\n\t\t}", "GCD(a,b)", "GCD", "a", "b", "{\n\t\t\tGCD(b,a);\n\t\t}", "GCD(b,a)", "GCD", "b", "a", "String[] args", "args", "public static void GCD(int a,int b){\n\t\tif(a>0 && b>0){\n\t\t\ta=a%b;\n\t\t\tGCD(b,a);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(a);\n\t\t\treturn;\n\t\t}\n\t}", "GCD", "{\n\t\tif(a>0 && b>0){\n\t\t\ta=a%b;\n\t\t\tGCD(b,a);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(a);\n\t\t\treturn;\n\t\t}\n\t}", "if(a>0 && b>0){\n\t\t\ta=a%b;\n\t\t\tGCD(b,a);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(a);\n\t\t\treturn;\n\t\t}", "a>0 && b>0", "a>0", "a", "0", "b>0", "b", "0", "{\n\t\t\ta=a%b;\n\t\t\tGCD(b,a);\n\t\t}", "a=a%b", "a", "a%b", "a", "b", "GCD(b,a)", "GCD", "b", "a", "{\n\t\t\tSystem.out.println(a);\n\t\t\treturn;\n\t\t}", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "return;", "int a", "a", "int b", "b", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a,b,gcd=2;\n\t\ta=scan.nextInt();\n\t\tb=scan.nextInt();\n\t\tif(a>=b){\n\t\t\tGCD(a,b);\n\t\t}\n\t\telse{\n\t\t\tGCD(b,a);\n\t\t}\n\t}\n\tpublic static void GCD(int a,int b){\n\t\tif(a>0 && b>0){\n\t\t\ta=a%b;\n\t\t\tGCD(b,a);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(a);\n\t\t\treturn;\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a,b,gcd=2;\n\t\ta=scan.nextInt();\n\t\tb=scan.nextInt();\n\t\tif(a>=b){\n\t\t\tGCD(a,b);\n\t\t}\n\t\telse{\n\t\t\tGCD(b,a);\n\t\t}\n\t}\n\tpublic static void GCD(int a,int b){\n\t\tif(a>0 && b>0){\n\t\t\ta=a%b;\n\t\t\tGCD(b,a);\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(a);\n\t\t\treturn;\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a,b,gcd=2; a=scan.nextInt(); b=scan.nextInt(); if(a>=b){ GCD(a,b); } else{ GCD(b,a); } } public static void GCD(int a,int b){ if(a>0 && b>0){ a=a%b; GCD(b,a); } else { System.out.println(a); return; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 2, 13, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 2, 18, 13, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 18, 13, 13, 17, 4, 13, 18, 13, 2, 18, 13, 13, 17, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 116, 5 ], [ 116, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 24, 26 ], [ 24, 27 ], [ 6, 28 ], [ 28, 29 ], [ 116, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 33, 39 ], [ 39, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 30, 48 ], [ 48, 49 ], [ 30, 50 ], [ 50, 51 ], [ 116, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 55, 67 ], [ 67, 68 ], [ 68, 69 ], [ 55, 70 ], [ 71, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 54, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 52, 91 ], [ 91, 92 ], [ 116, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 93, 102 ], [ 102, 103 ], [ 116, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 104, 113 ], [ 113, 114 ], [ 0, 115 ], [ 115, 116 ], [ 115, 117 ] ]
[ "import java.util.*;\n \npublic class Main {\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n1= sc.nextInt();\n\t\tint n2=sc.nextInt();\n\t\tcout(gcd(n1,n2));\n\t}\n\t\n\tpublic static int gcd(int a,int b){\n\t\tif(a%b==0) return b;\n\t\telse return gcd(b,a%b);\n\t}\n\t\n\tpublic static void showary(int[] ary){\n\t\tfor(int i=0;i<ary.length-1;i++){\n\t\t\tSystem.out.print(ary[i]+\" \");\n\t\t}\n\t\tcout(ary[ary.length-1]);\n\t}\n\t\n\tpublic static void cout(String n){\n\t\tSystem.out.println(n);\n\t}\n\t\n\tpublic static void cout(int n){\n\t\tSystem.out.println(n);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n1= sc.nextInt();\n\t\tint n2=sc.nextInt();\n\t\tcout(gcd(n1,n2));\n\t}\n\t\n\tpublic static int gcd(int a,int b){\n\t\tif(a%b==0) return b;\n\t\telse return gcd(b,a%b);\n\t}\n\t\n\tpublic static void showary(int[] ary){\n\t\tfor(int i=0;i<ary.length-1;i++){\n\t\t\tSystem.out.print(ary[i]+\" \");\n\t\t}\n\t\tcout(ary[ary.length-1]);\n\t}\n\t\n\tpublic static void cout(String n){\n\t\tSystem.out.println(n);\n\t}\n\t\n\tpublic static void cout(int n){\n\t\tSystem.out.println(n);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n1= sc.nextInt();\n\t\tint n2=sc.nextInt();\n\t\tcout(gcd(n1,n2));\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n1= sc.nextInt();\n\t\tint n2=sc.nextInt();\n\t\tcout(gcd(n1,n2));\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n1= sc.nextInt();", "n1", "sc.nextInt()", "sc.nextInt", "sc", "int n2=sc.nextInt();", "n2", "sc.nextInt()", "sc.nextInt", "sc", "cout(gcd(n1,n2))", "cout", "gcd(n1,n2)", "gcd", "n1", "n2", "String[] args", "args", "public static int gcd(int a,int b){\n\t\tif(a%b==0) return b;\n\t\telse return gcd(b,a%b);\n\t}", "gcd", "{\n\t\tif(a%b==0) return b;\n\t\telse return gcd(b,a%b);\n\t}", "if(a%b==0) return b;\n\t\telse return gcd(b,a%b);", "a%b==0", "a%b", "a", "b", "0", "return b;", "b", "return gcd(b,a%b);", "gcd(b,a%b)", "gcd", "b", "a%b", "a", "b", "int a", "a", "int b", "b", "public static void showary(int[] ary){\n\t\tfor(int i=0;i<ary.length-1;i++){\n\t\t\tSystem.out.print(ary[i]+\" \");\n\t\t}\n\t\tcout(ary[ary.length-1]);\n\t}", "showary", "{\n\t\tfor(int i=0;i<ary.length-1;i++){\n\t\t\tSystem.out.print(ary[i]+\" \");\n\t\t}\n\t\tcout(ary[ary.length-1]);\n\t}", "for(int i=0;i<ary.length-1;i++){\n\t\t\tSystem.out.print(ary[i]+\" \");\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<ary.length-1", "i", "ary.length-1", "ary.length", "ary", "ary.length", "1", "i++", "i++", "i", "{\n\t\t\tSystem.out.print(ary[i]+\" \");\n\t\t}", "{\n\t\t\tSystem.out.print(ary[i]+\" \");\n\t\t}", "System.out.print(ary[i]+\" \")", "System.out.print", "System.out", "System", "System.out", "ary[i]+\" \"", "ary[i]", "ary", "i", "\" \"", "cout(ary[ary.length-1])", "cout", "ary[ary.length-1]", "ary", "ary.length-1", "ary.length", "ary", "ary.length", "1", "int[] ary", "ary", "public static void cout(String n){\n\t\tSystem.out.println(n);\n\t}", "cout", "{\n\t\tSystem.out.println(n);\n\t}", "System.out.println(n)", "System.out.println", "System.out", "System", "System.out", "n", "String n", "n", "public static void cout(int n){\n\t\tSystem.out.println(n);\n\t}", "cout", "{\n\t\tSystem.out.println(n);\n\t}", "System.out.println(n)", "System.out.println", "System.out", "System", "System.out", "n", "int n", "n", "public class Main {\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n1= sc.nextInt();\n\t\tint n2=sc.nextInt();\n\t\tcout(gcd(n1,n2));\n\t}\n\t\n\tpublic static int gcd(int a,int b){\n\t\tif(a%b==0) return b;\n\t\telse return gcd(b,a%b);\n\t}\n\t\n\tpublic static void showary(int[] ary){\n\t\tfor(int i=0;i<ary.length-1;i++){\n\t\t\tSystem.out.print(ary[i]+\" \");\n\t\t}\n\t\tcout(ary[ary.length-1]);\n\t}\n\t\n\tpublic static void cout(String n){\n\t\tSystem.out.println(n);\n\t}\n\t\n\tpublic static void cout(int n){\n\t\tSystem.out.println(n);\n\t}\n}", "public class Main {\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n1= sc.nextInt();\n\t\tint n2=sc.nextInt();\n\t\tcout(gcd(n1,n2));\n\t}\n\t\n\tpublic static int gcd(int a,int b){\n\t\tif(a%b==0) return b;\n\t\telse return gcd(b,a%b);\n\t}\n\t\n\tpublic static void showary(int[] ary){\n\t\tfor(int i=0;i<ary.length-1;i++){\n\t\t\tSystem.out.print(ary[i]+\" \");\n\t\t}\n\t\tcout(ary[ary.length-1]);\n\t}\n\t\n\tpublic static void cout(String n){\n\t\tSystem.out.println(n);\n\t}\n\t\n\tpublic static void cout(int n){\n\t\tSystem.out.println(n);\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n1= sc.nextInt(); int n2=sc.nextInt(); cout(gcd(n1,n2)); } public static int gcd(int a,int b){ if(a%b==0) return b; else return gcd(b,a%b); } public static void showary(int[] ary){ for(int i=0;i<ary.length-1;i++){ System.out.print(ary[i]+" "); } cout(ary[ary.length-1]); } public static void cout(String n){ System.out.println(n); } public static void cout(int n){ System.out.println(n); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 17, 14, 2, 13, 13, 30, 4, 13, 13, 13, 42, 2, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 87, 5 ], [ 87, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 6, 31 ], [ 31, 32 ], [ 87, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 44, 47 ], [ 35, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 52, 58 ], [ 58, 59 ], [ 58, 60 ], [ 52, 61 ], [ 61, 62 ], [ 61, 63 ], [ 35, 64 ], [ 64, 65 ], [ 33, 66 ], [ 66, 67 ], [ 33, 68 ], [ 68, 69 ], [ 87, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 76, 78 ], [ 72, 79 ], [ 79, 80 ], [ 79, 81 ], [ 70, 82 ], [ 82, 83 ], [ 70, 84 ], [ 84, 85 ], [ 0, 86 ], [ 86, 87 ], [ 86, 88 ] ]
[ "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\tint x=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\tSystem.out.println(gcd(x,y));\n\n\t}\n\n\tpublic static int gcd(int x,int y){\n\t\tint r=0;\n\t\tif(x<y){\n\t\t\tswap(x,y);\n\t\t}\n\t\twhile(y>0){\n\t\t\tr=x%y;\n\t\t\tx=y;\n\t\t\ty=r;\n\t\t}\n\t\treturn x;\n\t}\n\tpublic static void swap(int x,int y){\n\t\tint dummy=y;\n\t\ty=x;\n\t\tx=dummy;\n\t}\n\n\t}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\tSystem.out.println(gcd(x,y));\n\n\t}\n\n\tpublic static int gcd(int x,int y){\n\t\tint r=0;\n\t\tif(x<y){\n\t\t\tswap(x,y);\n\t\t}\n\t\twhile(y>0){\n\t\t\tr=x%y;\n\t\t\tx=y;\n\t\t\ty=r;\n\t\t}\n\t\treturn x;\n\t}\n\tpublic static void swap(int x,int y){\n\t\tint dummy=y;\n\t\ty=x;\n\t\tx=dummy;\n\t}\n\n\t}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\tSystem.out.println(gcd(x,y));\n\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\tSystem.out.println(gcd(x,y));\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x=sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y=sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println(gcd(x,y))", "System.out.println", "System.out", "System", "System.out", "gcd(x,y)", "gcd", "x", "y", "String[] args", "args", "public static int gcd(int x,int y){\n\t\tint r=0;\n\t\tif(x<y){\n\t\t\tswap(x,y);\n\t\t}\n\t\twhile(y>0){\n\t\t\tr=x%y;\n\t\t\tx=y;\n\t\t\ty=r;\n\t\t}\n\t\treturn x;\n\t}", "gcd", "{\n\t\tint r=0;\n\t\tif(x<y){\n\t\t\tswap(x,y);\n\t\t}\n\t\twhile(y>0){\n\t\t\tr=x%y;\n\t\t\tx=y;\n\t\t\ty=r;\n\t\t}\n\t\treturn x;\n\t}", "int r=0;", "r", "0", "if(x<y){\n\t\t\tswap(x,y);\n\t\t}", "x<y", "x", "y", "{\n\t\t\tswap(x,y);\n\t\t}", "swap(x,y)", "swap", "x", "y", "while(y>0){\n\t\t\tr=x%y;\n\t\t\tx=y;\n\t\t\ty=r;\n\t\t}", "y>0", "y", "0", "{\n\t\t\tr=x%y;\n\t\t\tx=y;\n\t\t\ty=r;\n\t\t}", "r=x%y", "r", "x%y", "x", "y", "x=y", "x", "y", "y=r", "y", "r", "return x;", "x", "int x", "x", "int y", "y", "public static void swap(int x,int y){\n\t\tint dummy=y;\n\t\ty=x;\n\t\tx=dummy;\n\t}", "swap", "{\n\t\tint dummy=y;\n\t\ty=x;\n\t\tx=dummy;\n\t}", "int dummy=y;", "dummy", "y", "y=x", "y", "x", "x=dummy", "x", "dummy", "int x", "x", "int y", "y", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\tSystem.out.println(gcd(x,y));\n\n\t}\n\n\tpublic static int gcd(int x,int y){\n\t\tint r=0;\n\t\tif(x<y){\n\t\t\tswap(x,y);\n\t\t}\n\t\twhile(y>0){\n\t\t\tr=x%y;\n\t\t\tx=y;\n\t\t\ty=r;\n\t\t}\n\t\treturn x;\n\t}\n\tpublic static void swap(int x,int y){\n\t\tint dummy=y;\n\t\ty=x;\n\t\tx=dummy;\n\t}\n\n\t}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\tSystem.out.println(gcd(x,y));\n\n\t}\n\n\tpublic static int gcd(int x,int y){\n\t\tint r=0;\n\t\tif(x<y){\n\t\t\tswap(x,y);\n\t\t}\n\t\twhile(y>0){\n\t\t\tr=x%y;\n\t\t\tx=y;\n\t\t\ty=r;\n\t\t}\n\t\treturn x;\n\t}\n\tpublic static void swap(int x,int y){\n\t\tint dummy=y;\n\t\ty=x;\n\t\tx=dummy;\n\t}\n\n\t}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x=sc.nextInt(); int y=sc.nextInt(); System.out.println(gcd(x,y)); } public static int gcd(int x,int y){ int r=0; if(x<y){ swap(x,y); } while(y>0){ r=x%y; x=y; y=r; } return x; } public static void swap(int x,int y){ int dummy=y; y=x; x=dummy; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 17, 41, 13, 17, 42, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 13, 17, 30, 3, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 24, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 31, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 39, 41 ], [ 8, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 44, 50 ], [ 50, 51 ], [ 50, 52 ], [ 44, 53 ], [ 53, 54 ], [ 53, 55 ], [ 44, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 8, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 6, 68 ], [ 68, 69 ] ]
[ "\nimport java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) throws Exception {\n\n\t\tScanner scanner = new Scanner(System.in);// ??\\?????????????????????\n\t\t\n\t\tint num01 = scanner.nextInt();\n\t\tint num02 = scanner.nextInt();\n\t\tint min = Math.min(num01, num02);\n\t\tint max = Math.max(num01, num02);\n\t\tint gcd = 1;// ?????§??¬?´???°???????´????????????°\n\t\tint surplus = 1;\n\t\t\n\t\twhile(true){\n\t\t\tsurplus = max % min;\n\t\t\tmax = min;\n\t\t\tmin = surplus;\n\t\t\tif(surplus == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(max);// ?????§??¬?´???°?????????\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tpublic static void main(String[] args) throws Exception {\n\n\t\tScanner scanner = new Scanner(System.in);// ??\\?????????????????????\n\t\t\n\t\tint num01 = scanner.nextInt();\n\t\tint num02 = scanner.nextInt();\n\t\tint min = Math.min(num01, num02);\n\t\tint max = Math.max(num01, num02);\n\t\tint gcd = 1;// ?????§??¬?´???°???????´????????????°\n\t\tint surplus = 1;\n\t\t\n\t\twhile(true){\n\t\t\tsurplus = max % min;\n\t\t\tmax = min;\n\t\t\tmin = surplus;\n\t\t\tif(surplus == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(max);// ?????§??¬?´???°?????????\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\n\t\tScanner scanner = new Scanner(System.in);// ??\\?????????????????????\n\t\t\n\t\tint num01 = scanner.nextInt();\n\t\tint num02 = scanner.nextInt();\n\t\tint min = Math.min(num01, num02);\n\t\tint max = Math.max(num01, num02);\n\t\tint gcd = 1;// ?????§??¬?´???°???????´????????????°\n\t\tint surplus = 1;\n\t\t\n\t\twhile(true){\n\t\t\tsurplus = max % min;\n\t\t\tmax = min;\n\t\t\tmin = surplus;\n\t\t\tif(surplus == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(max);// ?????§??¬?´???°?????????\n\t}", "main", "{\n\n\t\tScanner scanner = new Scanner(System.in);// ??\\?????????????????????\n\t\t\n\t\tint num01 = scanner.nextInt();\n\t\tint num02 = scanner.nextInt();\n\t\tint min = Math.min(num01, num02);\n\t\tint max = Math.max(num01, num02);\n\t\tint gcd = 1;// ?????§??¬?´???°???????´????????????°\n\t\tint surplus = 1;\n\t\t\n\t\twhile(true){\n\t\t\tsurplus = max % min;\n\t\t\tmax = min;\n\t\t\tmin = surplus;\n\t\t\tif(surplus == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(max);// ?????§??¬?´???°?????????\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int num01 = scanner.nextInt();", "num01", "scanner.nextInt()", "scanner.nextInt", "scanner", "int num02 = scanner.nextInt();", "num02", "scanner.nextInt()", "scanner.nextInt", "scanner", "int min = Math.min(num01, num02);", "min", "Math.min(num01, num02)", "Math.min", "Math", "num01", "num02", "int max = Math.max(num01, num02);", "max", "Math.max(num01, num02)", "Math.max", "Math", "num01", "num02", "int gcd = 1;", "gcd", "1", "int surplus = 1;", "surplus", "1", "while(true){\n\t\t\tsurplus = max % min;\n\t\t\tmax = min;\n\t\t\tmin = surplus;\n\t\t\tif(surplus == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tsurplus = max % min;\n\t\t\tmax = min;\n\t\t\tmin = surplus;\n\t\t\tif(surplus == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "surplus = max % min", "surplus", "max % min", "max", "min", "max = min", "max", "min", "min = surplus", "min", "surplus", "if(surplus == 0){\n\t\t\t\tbreak;\n\t\t\t}", "surplus == 0", "surplus", "0", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "System.out.println(max)", "System.out.println", "System.out", "System", "System.out", "max", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) throws Exception { Scanner scanner = new Scanner(System.in);// ??\????????????????????? int num01 = scanner.nextInt(); int num02 = scanner.nextInt(); int min = Math.min(num01, num02); int max = Math.max(num01, num02); int gcd = 1;// ?????§??¬?´???°???????´????????????° int surplus = 1; while(true){ surplus = max % min; max = min; min = surplus; if(surplus == 0){ break; } } System.out.println(max);// ?????§??¬?´???°????????? } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 17, 42, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 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 ], [ 14, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 11, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 11, 31 ], [ 31, 32 ], [ 32, 33 ], [ 9, 34 ], [ 34, 35 ], [ 65, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 50, 52 ], [ 46, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 38, 58 ], [ 58, 59 ], [ 36, 60 ], [ 60, 61 ], [ 36, 62 ], [ 62, 63 ], [ 0, 64 ], [ 64, 65 ], [ 64, 66 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tstatic Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\n\t\tSystem.out.println(gcd(x, y));\n\t\tsc.close();\n\n\t}\n\tprivate static int gcd(int x, int y) {\n\t\tint x_tmp = 0;\n\n\t\tdo {\n\t\t\tx_tmp = x;\n\n\t\t\tx = y;\n\t\t\ty = x_tmp % y;\n\n\t\t}while(y > 0);\n\n\t\treturn x;\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tstatic Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\n\t\tSystem.out.println(gcd(x, y));\n\t\tsc.close();\n\n\t}\n\tprivate static int gcd(int x, int y) {\n\t\tint x_tmp = 0;\n\n\t\tdo {\n\t\t\tx_tmp = x;\n\n\t\t\tx = y;\n\t\t\ty = x_tmp % y;\n\n\t\t}while(y > 0);\n\n\t\treturn x;\n\t}\n\n}", "Main", "static Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "public static void main(String[] args) {\n\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\n\t\tSystem.out.println(gcd(x, y));\n\t\tsc.close();\n\n\t}", "main", "{\n\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\n\t\tSystem.out.println(gcd(x, y));\n\t\tsc.close();\n\n\t}", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println(gcd(x, y))", "System.out.println", "System.out", "System", "System.out", "gcd(x, y)", "gcd", "x", "y", "sc.close()", "sc.close", "sc", "String[] args", "args", "private static int gcd(int x, int y) {\n\t\tint x_tmp = 0;\n\n\t\tdo {\n\t\t\tx_tmp = x;\n\n\t\t\tx = y;\n\t\t\ty = x_tmp % y;\n\n\t\t}while(y > 0);\n\n\t\treturn x;\n\t}", "gcd", "{\n\t\tint x_tmp = 0;\n\n\t\tdo {\n\t\t\tx_tmp = x;\n\n\t\t\tx = y;\n\t\t\ty = x_tmp % y;\n\n\t\t}while(y > 0);\n\n\t\treturn x;\n\t}", "int x_tmp = 0;", "x_tmp", "0", "do {\n\t\t\tx_tmp = x;\n\n\t\t\tx = y;\n\t\t\ty = x_tmp % y;\n\n\t\t}while(y > 0);", "y > 0", "y", "0", "{\n\t\t\tx_tmp = x;\n\n\t\t\tx = y;\n\t\t\ty = x_tmp % y;\n\n\t\t}", "x_tmp = x", "x_tmp", "x", "x = y", "x", "y", "y = x_tmp % y", "y", "x_tmp % y", "x_tmp", "y", "return x;", "x", "int x", "x", "int y", "y", "public class Main {\n\n\tstatic Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\n\t\tSystem.out.println(gcd(x, y));\n\t\tsc.close();\n\n\t}\n\tprivate static int gcd(int x, int y) {\n\t\tint x_tmp = 0;\n\n\t\tdo {\n\t\t\tx_tmp = x;\n\n\t\t\tx = y;\n\t\t\ty = x_tmp % y;\n\n\t\t}while(y > 0);\n\n\t\treturn x;\n\t}\n\n}", "public class Main {\n\n\tstatic Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\n\t\tSystem.out.println(gcd(x, y));\n\t\tsc.close();\n\n\t}\n\tprivate static int gcd(int x, int y) {\n\t\tint x_tmp = 0;\n\n\t\tdo {\n\t\t\tx_tmp = x;\n\n\t\t\tx = y;\n\t\t\ty = x_tmp % y;\n\n\t\t}while(y > 0);\n\n\t\treturn x;\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { int x = sc.nextInt(); int y = sc.nextInt(); System.out.println(gcd(x, y)); sc.close(); } private static int gcd(int x, int y) { int x_tmp = 0; do { x_tmp = x; x = y; y = x_tmp % y; }while(y > 0); return x; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 42, 17, 30, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 2, 13, 13, 17, 30, 41, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 30, 0, 13, 13, 4, 18, 18, 13, 13, 13, 3, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 36, 38 ], [ 32, 39 ], [ 39, 40 ], [ 39, 41 ], [ 27, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 42, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 48, 54 ], [ 54, 55 ], [ 54, 56 ], [ 48, 57 ], [ 57, 58 ], [ 57, 59 ], [ 42, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 60, 70 ], [ 6, 71 ], [ 71, 72 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n int ans = 0;\n\n while(true){\n if(x<y){\n int change = x;\n x = y;\n y = change;\n }\n\n if(x%y > 0){\n int change = x%y;\n x = y;\n y = change;\n }\n else{\n ans = y;\n System.out.println(ans);\n break;\n }\n\n }\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n int ans = 0;\n\n while(true){\n if(x<y){\n int change = x;\n x = y;\n y = change;\n }\n\n if(x%y > 0){\n int change = x%y;\n x = y;\n y = change;\n }\n else{\n ans = y;\n System.out.println(ans);\n break;\n }\n\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n int ans = 0;\n\n while(true){\n if(x<y){\n int change = x;\n x = y;\n y = change;\n }\n\n if(x%y > 0){\n int change = x%y;\n x = y;\n y = change;\n }\n else{\n ans = y;\n System.out.println(ans);\n break;\n }\n\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n int ans = 0;\n\n while(true){\n if(x<y){\n int change = x;\n x = y;\n y = change;\n }\n\n if(x%y > 0){\n int change = x%y;\n x = y;\n y = change;\n }\n else{\n ans = y;\n System.out.println(ans);\n break;\n }\n\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "int ans = 0;", "ans", "0", "while(true){\n if(x<y){\n int change = x;\n x = y;\n y = change;\n }\n\n if(x%y > 0){\n int change = x%y;\n x = y;\n y = change;\n }\n else{\n ans = y;\n System.out.println(ans);\n break;\n }\n\n }", "true", "{\n if(x<y){\n int change = x;\n x = y;\n y = change;\n }\n\n if(x%y > 0){\n int change = x%y;\n x = y;\n y = change;\n }\n else{\n ans = y;\n System.out.println(ans);\n break;\n }\n\n }", "if(x<y){\n int change = x;\n x = y;\n y = change;\n }", "x<y", "x", "y", "{\n int change = x;\n x = y;\n y = change;\n }", "int change = x;", "change", "x", "x = y", "x", "y", "y = change", "y", "change", "if(x%y > 0){\n int change = x%y;\n x = y;\n y = change;\n }\n else{\n ans = y;\n System.out.println(ans);\n break;\n }", "x%y > 0", "x%y", "x", "y", "0", "{\n int change = x%y;\n x = y;\n y = change;\n }", "int change = x%y;", "change", "x%y", "x", "y", "x = y", "x", "y", "y = change", "y", "change", "{\n ans = y;\n System.out.println(ans);\n break;\n }", "ans = y", "ans", "y", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "break;", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int ans = 0; while(true){ if(x<y){ int change = x; x = y; y = change; } if(x%y > 0){ int change = x%y; x = y; y = change; } else{ ans = y; System.out.println(ans); break; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 2, 13, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 14, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 41, 44 ], [ 6, 45 ], [ 45, 46 ], [ 4, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 58, 60 ], [ 54, 61 ], [ 61, 62 ], [ 61, 63 ], [ 49, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 64, 70 ], [ 70, 71 ], [ 64, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 73, 76 ], [ 76, 77 ], [ 76, 78 ], [ 47, 79 ], [ 79, 80 ], [ 47, 81 ], [ 81, 82 ] ]
[ "import java.io.*;\n\nclass Main {\n public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] input = br.readLine().split(\" \");\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[1]);\n\n System.out.println(GCD(a, b));\n }\n\n public static int GCD (int a, int b) {\n if (a < b) {\n int temp = a;\n a = b;\n b = temp;\n }\n if (a % b == 0) return b;\n else return GCD (b, a%b);\n }\n}", "import java.io.*;", "io.*", "java", "class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] input = br.readLine().split(\" \");\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[1]);\n\n System.out.println(GCD(a, b));\n }\n\n public static int GCD (int a, int b) {\n if (a < b) {\n int temp = a;\n a = b;\n b = temp;\n }\n if (a % b == 0) return b;\n else return GCD (b, a%b);\n }\n}", "Main", "public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] input = br.readLine().split(\" \");\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[1]);\n\n System.out.println(GCD(a, b));\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] input = br.readLine().split(\" \");\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[1]);\n\n System.out.println(GCD(a, b));\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] input = br.readLine().split(\" \");", "input", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int a = Integer.parseInt(input[0]);", "a", "Integer.parseInt(input[0])", "Integer.parseInt", "Integer", "input[0]", "input", "0", "int b = Integer.parseInt(input[1]);", "b", "Integer.parseInt(input[1])", "Integer.parseInt", "Integer", "input[1]", "input", "1", "System.out.println(GCD(a, b))", "System.out.println", "System.out", "System", "System.out", "GCD(a, b)", "GCD", "a", "b", "String[] args", "args", "public static int GCD (int a, int b) {\n if (a < b) {\n int temp = a;\n a = b;\n b = temp;\n }\n if (a % b == 0) return b;\n else return GCD (b, a%b);\n }", "GCD", "{\n if (a < b) {\n int temp = a;\n a = b;\n b = temp;\n }\n if (a % b == 0) return b;\n else return GCD (b, a%b);\n }", "if (a < b) {\n int temp = a;\n a = b;\n b = temp;\n }", "a < b", "a", "b", "{\n int temp = a;\n a = b;\n b = temp;\n }", "int temp = a;", "temp", "a", "a = b", "a", "b", "b = temp", "b", "temp", "if (a % b == 0) return b;\n else return GCD (b, a%b);", "a % b == 0", "a % b", "a", "b", "0", "return b;", "b", "return GCD (b, a%b);", "GCD (b, a%b)", "GCD", "b", "a%b", "a", "b", "int a", "a", "int b", "b" ]
import java.io.*; class Main { public static void main (String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] input = br.readLine().split(" "); int a = Integer.parseInt(input[0]); int b = Integer.parseInt(input[1]); System.out.println(GCD(a, b)); } public static int GCD (int a, int b) { if (a < b) { int temp = a; a = b; b = temp; } if (a % b == 0) return b; else return GCD (b, a%b); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 13, 17, 30, 41, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 73, 5 ], [ 73, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 9, 13 ], [ 13, 14 ], [ 14, 15 ], [ 14, 16 ], [ 13, 17 ], [ 17, 18 ], [ 17, 19 ], [ 13, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 30, 32 ], [ 27, 33 ], [ 33, 34 ], [ 33, 35 ], [ 27, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 6, 41 ], [ 41, 42 ], [ 6, 43 ], [ 43, 44 ], [ 73, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 47, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 47, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 66, 69 ], [ 45, 70 ], [ 70, 71 ], [ 0, 72 ], [ 72, 73 ], [ 72, 74 ] ]
[ "import java.util.*;\n\npublic class Main {\n\tstatic int gcd(int x, int y) {\n\t\tif(x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\twhile(y > 0) {\n\t\t\tint r = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\t\treturn x;\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tSystem.out.println(gcd(a, b));\n\t}\n}\n", "import java.util.*;", "util.*", "java", "public class Main {\n\tstatic int gcd(int x, int y) {\n\t\tif(x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\twhile(y > 0) {\n\t\t\tint r = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\t\treturn x;\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tSystem.out.println(gcd(a, b));\n\t}\n}", "Main", "static int gcd(int x, int y) {\n\t\tif(x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\twhile(y > 0) {\n\t\t\tint r = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\t\treturn x;\n\t}", "gcd", "{\n\t\tif(x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\twhile(y > 0) {\n\t\t\tint r = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\t\treturn x;\n\t}", "if(x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}", "x < y", "x", "y", "{\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}", "int tmp = x;", "tmp", "x", "x = y", "x", "y", "y = tmp", "y", "tmp", "while(y > 0) {\n\t\t\tint r = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}", "y > 0", "y", "0", "{\n\t\t\tint r = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}", "int r = x % y;", "r", "x % y", "x", "y", "x = y", "x", "y", "y = r", "y", "r", "return x;", "x", "int x", "x", "int y", "y", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tSystem.out.println(gcd(a, b));\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tSystem.out.println(gcd(a, b));\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println(gcd(a, b))", "System.out.println", "System.out", "System", "System.out", "gcd(a, b)", "gcd", "a", "b", "String[] args", "args", "public class Main {\n\tstatic int gcd(int x, int y) {\n\t\tif(x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\twhile(y > 0) {\n\t\t\tint r = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\t\treturn x;\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tSystem.out.println(gcd(a, b));\n\t}\n}", "public class Main {\n\tstatic int gcd(int x, int y) {\n\t\tif(x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\twhile(y > 0) {\n\t\t\tint r = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\t\treturn x;\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tSystem.out.println(gcd(a, b));\n\t}\n}", "Main" ]
import java.util.*; public class Main { static int gcd(int x, int y) { if(x < y) { int tmp = x; x = y; y = tmp; } while(y > 0) { int r = x % y; x = y; y = r; } return x; } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(gcd(a, b)); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 2, 13, 17, 30, 14, 2, 13, 13, 0, 13, 13, 0, 13, 13, 29, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 77, 11 ], [ 77, 12 ], [ 12, 13 ], [ 12, 14 ], [ 77, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 17, 23 ], [ 23, 24 ], [ 17, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 17, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 17, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 40, 43 ], [ 15, 44 ], [ 44, 45 ], [ 77, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 49, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 62, 64 ], [ 58, 65 ], [ 65, 66 ], [ 65, 67 ], [ 48, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 46, 72 ], [ 72, 73 ], [ 46, 74 ], [ 74, 75 ], [ 0, 76 ], [ 76, 77 ], [ 76, 78 ] ]
[ "import java.util.*;\nimport java.io.*;\nimport java.lang.*;\n\npublic class Main {\n static final int INF = 1000000000; \n \n public static void main(String[] args) throws Exception { \n Scanner input = new Scanner(System.in);\n int a, b;\n a = input.nextInt();\n b = input.nextInt();\n System.out.println(gcd(a, b));\n } \n \n static int gcd(int x, int y) {\n while (x > 0 && y > 0) {\n if (x > y) x %= y; else y %= x;\n }\n return x + y;\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "import java.lang.*;", "lang.*", "java", "public class Main {\n static final int INF = 1000000000; \n \n public static void main(String[] args) throws Exception { \n Scanner input = new Scanner(System.in);\n int a, b;\n a = input.nextInt();\n b = input.nextInt();\n System.out.println(gcd(a, b));\n } \n \n static int gcd(int x, int y) {\n while (x > 0 && y > 0) {\n if (x > y) x %= y; else y %= x;\n }\n return x + y;\n }\n}", "Main", "static final int INF = 1000000000;", "INF", "1000000000", "public static void main(String[] args) throws Exception { \n Scanner input = new Scanner(System.in);\n int a, b;\n a = input.nextInt();\n b = input.nextInt();\n System.out.println(gcd(a, b));\n }", "main", "{ \n Scanner input = new Scanner(System.in);\n int a, b;\n a = input.nextInt();\n b = input.nextInt();\n System.out.println(gcd(a, b));\n }", "Scanner input = new Scanner(System.in);", "input", "new Scanner(System.in)", "int a", "a", "b;", "b", "a = input.nextInt()", "a", "input.nextInt()", "input.nextInt", "input", "b = input.nextInt()", "b", "input.nextInt()", "input.nextInt", "input", "System.out.println(gcd(a, b))", "System.out.println", "System.out", "System", "System.out", "gcd(a, b)", "gcd", "a", "b", "String[] args", "args", "static int gcd(int x, int y) {\n while (x > 0 && y > 0) {\n if (x > y) x %= y; else y %= x;\n }\n return x + y;\n }", "gcd", "{\n while (x > 0 && y > 0) {\n if (x > y) x %= y; else y %= x;\n }\n return x + y;\n }", "while (x > 0 && y > 0) {\n if (x > y) x %= y; else y %= x;\n }", "x > 0 && y > 0", "x > 0", "x", "0", "y > 0", "y", "0", "{\n if (x > y) x %= y; else y %= x;\n }", "if (x > y) x %= y; else y %= x;", "x > y", "x", "y", "x %= y", "x", "y", "y %= x", "y", "x", "return x + y;", "x + y", "x", "y", "int x", "x", "int y", "y", "public class Main {\n static final int INF = 1000000000; \n \n public static void main(String[] args) throws Exception { \n Scanner input = new Scanner(System.in);\n int a, b;\n a = input.nextInt();\n b = input.nextInt();\n System.out.println(gcd(a, b));\n } \n \n static int gcd(int x, int y) {\n while (x > 0 && y > 0) {\n if (x > y) x %= y; else y %= x;\n }\n return x + y;\n }\n}", "public class Main {\n static final int INF = 1000000000; \n \n public static void main(String[] args) throws Exception { \n Scanner input = new Scanner(System.in);\n int a, b;\n a = input.nextInt();\n b = input.nextInt();\n System.out.println(gcd(a, b));\n } \n \n static int gcd(int x, int y) {\n while (x > 0 && y > 0) {\n if (x > y) x %= y; else y %= x;\n }\n return x + y;\n }\n}", "Main" ]
import java.util.*; import java.io.*; import java.lang.*; public class Main { static final int INF = 1000000000; public static void main(String[] args) throws Exception { Scanner input = new Scanner(System.in); int a, b; a = input.nextInt(); b = input.nextInt(); System.out.println(gcd(a, b)); } static int gcd(int x, int y) { while (x > 0 && y > 0) { if (x > y) x %= y; else y %= x; } return x + y; } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 8, 2, 13, 13, 13, 13, 8, 2, 13, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 4, 13, 13, 2, 13, 13, 30, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 66, 5 ], [ 66, 6 ], [ 6, 7 ], [ 6, 8 ], [ 66, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 11, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 29, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 35, 40 ], [ 9, 41 ], [ 41, 42 ], [ 66, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 52, 55 ], [ 55, 56 ], [ 55, 57 ], [ 46, 58 ], [ 58, 59 ], [ 59, 60 ], [ 43, 61 ], [ 61, 62 ], [ 43, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ] ]
[ "import java.util.*;\n\npublic class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int x = scn.nextInt(), y = scn.nextInt();\n System.out.println(euclid(x > y ? x : y, x < y ? x : y));\n }\n \n private static int euclid(int x, int y) {\n if(y > 0) {\n return euclid(y, x % y);\n } else {\n return x;\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int x = scn.nextInt(), y = scn.nextInt();\n System.out.println(euclid(x > y ? x : y, x < y ? x : y));\n }\n \n private static int euclid(int x, int y) {\n if(y > 0) {\n return euclid(y, x % y);\n } else {\n return x;\n }\n }\n}", "Main", "private static final Scanner scn = new Scanner(System.in);", "scn", "new Scanner(System.in)", "public static void main(String[] args) {\n int x = scn.nextInt(), y = scn.nextInt();\n System.out.println(euclid(x > y ? x : y, x < y ? x : y));\n }", "main", "{\n int x = scn.nextInt(), y = scn.nextInt();\n System.out.println(euclid(x > y ? x : y, x < y ? x : y));\n }", "int x = scn.nextInt()", "x", "scn.nextInt()", "scn.nextInt", "scn", "y = scn.nextInt();", "y", "scn.nextInt()", "scn.nextInt", "scn", "System.out.println(euclid(x > y ? x : y, x < y ? x : y))", "System.out.println", "System.out", "System", "System.out", "euclid(x > y ? x : y, x < y ? x : y)", "euclid", "x > y ? x : y", "x > y", "x", "y", "x", "y", "x < y ? x : y", "x < y", "x", "y", "x", "y", "String[] args", "args", "private static int euclid(int x, int y) {\n if(y > 0) {\n return euclid(y, x % y);\n } else {\n return x;\n }\n }", "euclid", "{\n if(y > 0) {\n return euclid(y, x % y);\n } else {\n return x;\n }\n }", "if(y > 0) {\n return euclid(y, x % y);\n } else {\n return x;\n }", "y > 0", "y", "0", "{\n return euclid(y, x % y);\n }", "return euclid(y, x % y);", "euclid(y, x % y)", "euclid", "y", "x % y", "x", "y", "{\n return x;\n }", "return x;", "x", "int x", "x", "int y", "y", "public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int x = scn.nextInt(), y = scn.nextInt();\n System.out.println(euclid(x > y ? x : y, x < y ? x : y));\n }\n \n private static int euclid(int x, int y) {\n if(y > 0) {\n return euclid(y, x % y);\n } else {\n return x;\n }\n }\n}", "public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int x = scn.nextInt(), y = scn.nextInt();\n System.out.println(euclid(x > y ? x : y, x < y ? x : y));\n }\n \n private static int euclid(int x, int y) {\n if(y > 0) {\n return euclid(y, x % y);\n } else {\n return x;\n }\n }\n}", "Main" ]
import java.util.*; public class Main { private static final Scanner scn = new Scanner(System.in); public static void main(String[] args) { int x = scn.nextInt(), y = scn.nextInt(); System.out.println(euclid(x > y ? x : y, x < y ? x : y)); } private static int euclid(int x, int y) { if(y > 0) { return euclid(y, x % y); } else { return x; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 30, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 29, 33 ], [ 27, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 34, 38 ], [ 6, 39 ], [ 39, 40 ], [ 4, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 44, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 53, 56 ], [ 56, 57 ], [ 56, 58 ], [ 41, 59 ], [ 59, 60 ], [ 41, 61 ], [ 61, 62 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint x = scanner.nextInt();\n\t\tint y = scanner.nextInt();\n\t\t\n\t\tSystem.out.println(koya(Math.max(x, y),Math.min(x, y)));\n\t}\n\t\n\tpublic static int koya(int a,int b){\n\t\t\n\t\tif(b == 0){\n\t\t\treturn a;\n\t\t}else{\n\t\t\treturn koya(b,a%b);\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint x = scanner.nextInt();\n\t\tint y = scanner.nextInt();\n\t\t\n\t\tSystem.out.println(koya(Math.max(x, y),Math.min(x, y)));\n\t}\n\t\n\tpublic static int koya(int a,int b){\n\t\t\n\t\tif(b == 0){\n\t\t\treturn a;\n\t\t}else{\n\t\t\treturn koya(b,a%b);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint x = scanner.nextInt();\n\t\tint y = scanner.nextInt();\n\t\t\n\t\tSystem.out.println(koya(Math.max(x, y),Math.min(x, y)));\n\t}", "main", "{\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint x = scanner.nextInt();\n\t\tint y = scanner.nextInt();\n\t\t\n\t\tSystem.out.println(koya(Math.max(x, y),Math.min(x, y)));\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int x = scanner.nextInt();", "x", "scanner.nextInt()", "scanner.nextInt", "scanner", "int y = scanner.nextInt();", "y", "scanner.nextInt()", "scanner.nextInt", "scanner", "System.out.println(koya(Math.max(x, y),Math.min(x, y)))", "System.out.println", "System.out", "System", "System.out", "koya(Math.max(x, y),Math.min(x, y))", "koya", "Math.max(x, y)", "Math.max", "Math", "x", "y", "Math.min(x, y)", "Math.min", "Math", "x", "y", "String[] args", "args", "public static int koya(int a,int b){\n\t\t\n\t\tif(b == 0){\n\t\t\treturn a;\n\t\t}else{\n\t\t\treturn koya(b,a%b);\n\t\t}\n\t}", "koya", "{\n\t\t\n\t\tif(b == 0){\n\t\t\treturn a;\n\t\t}else{\n\t\t\treturn koya(b,a%b);\n\t\t}\n\t}", "if(b == 0){\n\t\t\treturn a;\n\t\t}else{\n\t\t\treturn koya(b,a%b);\n\t\t}", "b == 0", "b", "0", "{\n\t\t\treturn a;\n\t\t}", "return a;", "a", "{\n\t\t\treturn koya(b,a%b);\n\t\t}", "return koya(b,a%b);", "koya(b,a%b)", "koya", "b", "a%b", "a", "b", "int a", "a", "int b", "b" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int x = scanner.nextInt(); int y = scanner.nextInt(); System.out.println(koya(Math.max(x, y),Math.min(x, y))); } public static int koya(int a,int b){ if(b == 0){ return a; }else{ return koya(b,a%b); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 14, 2, 2, 13, 13, 17, 30, 29, 13, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 29, 4, 13, 13, 13, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 30, 32 ], [ 30, 33 ], [ 14, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 12, 40 ], [ 40, 41 ], [ 10, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 44, 56 ], [ 56, 57 ], [ 56, 58 ], [ 44, 59 ], [ 59, 60 ], [ 59, 61 ], [ 44, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 44, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 68, 71 ], [ 42, 72 ], [ 72, 73 ], [ 42, 74 ], [ 74, 75 ] ]
[ "/* package whatever; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\nclass Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tlong x = scanner.nextInt();\n\t\tlong y = scanner.nextInt();\n\t\t\n\t\t/*\n\t\tlong a;\n\t\twhile (x % y != 0) {\n\t\t\ta = x;\n\t\t\tx = y;\n\t\t\ty = a % y;\n\t\t\t\n\t\t}\n\t\tSystem.out.println(y);\n\t\t*/\n\t\t\n\t\tlong result = getGcd(x, y);\n\t\t\n\t\tSystem.out.println(result);\n\t}\n\t\n\tstatic long getGcd(long x, long y) {\n\t\tlong a;\n\t\t//System.out.println(x + \",\" + y);\n\t\t// 終了条件\n\t\tif (x % y == 0) {\n\t\t\treturn y;\n\t\t}\n\t\t// 引数を再設定\n\t\ta = x;\n\t\tx = y;\n\t\ty = a % y;\n\t\t\n\t\t// 再実行\n\t\treturn getGcd(x, y);\n\t}\n}", "import java.util.*;", "util.*", "java", "import java.lang.*;", "lang.*", "java", "import java.io.*;", "io.*", "java", "class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tlong x = scanner.nextInt();\n\t\tlong y = scanner.nextInt();\n\t\t\n\t\t/*\n\t\tlong a;\n\t\twhile (x % y != 0) {\n\t\t\ta = x;\n\t\t\tx = y;\n\t\t\ty = a % y;\n\t\t\t\n\t\t}\n\t\tSystem.out.println(y);\n\t\t*/\n\t\t\n\t\tlong result = getGcd(x, y);\n\t\t\n\t\tSystem.out.println(result);\n\t}\n\t\n\tstatic long getGcd(long x, long y) {\n\t\tlong a;\n\t\t//System.out.println(x + \",\" + y);\n\t\t// 終了条件\n\t\tif (x % y == 0) {\n\t\t\treturn y;\n\t\t}\n\t\t// 引数を再設定\n\t\ta = x;\n\t\tx = y;\n\t\ty = a % y;\n\t\t\n\t\t// 再実行\n\t\treturn getGcd(x, y);\n\t}\n}", "Main", "public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tlong x = scanner.nextInt();\n\t\tlong y = scanner.nextInt();\n\t\t\n\t\t/*\n\t\tlong a;\n\t\twhile (x % y != 0) {\n\t\t\ta = x;\n\t\t\tx = y;\n\t\t\ty = a % y;\n\t\t\t\n\t\t}\n\t\tSystem.out.println(y);\n\t\t*/\n\t\t\n\t\tlong result = getGcd(x, y);\n\t\t\n\t\tSystem.out.println(result);\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tlong x = scanner.nextInt();\n\t\tlong y = scanner.nextInt();\n\t\t\n\t\t/*\n\t\tlong a;\n\t\twhile (x % y != 0) {\n\t\t\ta = x;\n\t\t\tx = y;\n\t\t\ty = a % y;\n\t\t\t\n\t\t}\n\t\tSystem.out.println(y);\n\t\t*/\n\t\t\n\t\tlong result = getGcd(x, y);\n\t\t\n\t\tSystem.out.println(result);\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "long x = scanner.nextInt();", "x", "scanner.nextInt()", "scanner.nextInt", "scanner", "long y = scanner.nextInt();", "y", "scanner.nextInt()", "scanner.nextInt", "scanner", "long result = getGcd(x, y);", "result", "getGcd(x, y)", "getGcd", "x", "y", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args", "static long getGcd(long x, long y) {\n\t\tlong a;\n\t\t//System.out.println(x + \",\" + y);\n\t\t// 終了条件\n\t\tif (x % y == 0) {\n\t\t\treturn y;\n\t\t}\n\t\t// 引数を再設定\n\t\ta = x;\n\t\tx = y;\n\t\ty = a % y;\n\t\t\n\t\t// 再実行\n\t\treturn getGcd(x, y);\n\t}", "getGcd", "{\n\t\tlong a;\n\t\t//System.out.println(x + \",\" + y);\n\t\t// 終了条件\n\t\tif (x % y == 0) {\n\t\t\treturn y;\n\t\t}\n\t\t// 引数を再設定\n\t\ta = x;\n\t\tx = y;\n\t\ty = a % y;\n\t\t\n\t\t// 再実行\n\t\treturn getGcd(x, y);\n\t}", "long a;", "a", "if (x % y == 0) {\n\t\t\treturn y;\n\t\t}", "x % y == 0", "x % y", "x", "y", "0", "{\n\t\t\treturn y;\n\t\t}", "return y;", "y", "a = x", "a", "x", "x = y", "x", "y", "y = a % y", "y", "a % y", "a", "y", "return getGcd(x, y);", "getGcd(x, y)", "getGcd", "x", "y", "long x", "x", "long y", "y" ]
/* package whatever; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Main { public static void main (String[] args) throws java.lang.Exception { Scanner scanner = new Scanner(System.in); long x = scanner.nextInt(); long y = scanner.nextInt(); /* long a; while (x % y != 0) { a = x; x = y; y = a % y; } System.out.println(y); */ long result = getGcd(x, y); System.out.println(result); } static long getGcd(long x, long y) { long a; //System.out.println(x + "," + y); // 終了条件 if (x % y == 0) { return y; } // 引数を再設定 a = x; x = y; y = a % y; // 再実行 return getGcd(x, y); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 29, 4, 13, 13, 13, 14, 2, 13, 17, 30, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 65, 5 ], [ 65, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 6, 31 ], [ 31, 32 ], [ 65, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 42, 45 ], [ 35, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 35, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 54, 57 ], [ 57, 58 ], [ 57, 59 ], [ 33, 60 ], [ 60, 61 ], [ 33, 62 ], [ 62, 63 ], [ 0, 64 ], [ 64, 65 ], [ 64, 66 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String... args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n System.out.println(gcd(a, b));\n }\n\n public static int gcd(int a, int b) {\n if (a < b) {\n return gcd(b, a);\n }\n if (b == 0) {\n return a;\n }\n return gcd(b, a % b);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String... args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n System.out.println(gcd(a, b));\n }\n\n public static int gcd(int a, int b) {\n if (a < b) {\n return gcd(b, a);\n }\n if (b == 0) {\n return a;\n }\n return gcd(b, a % b);\n }\n}", "Main", "public static void main(String... args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n System.out.println(gcd(a, b));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n System.out.println(gcd(a, b));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println(gcd(a, b))", "System.out.println", "System.out", "System", "System.out", "gcd(a, b)", "gcd", "a", "b", "String... args", "args", "public static int gcd(int a, int b) {\n if (a < b) {\n return gcd(b, a);\n }\n if (b == 0) {\n return a;\n }\n return gcd(b, a % b);\n }", "gcd", "{\n if (a < b) {\n return gcd(b, a);\n }\n if (b == 0) {\n return a;\n }\n return gcd(b, a % b);\n }", "if (a < b) {\n return gcd(b, a);\n }", "a < b", "a", "b", "{\n return gcd(b, a);\n }", "return gcd(b, a);", "gcd(b, a)", "gcd", "b", "a", "if (b == 0) {\n return a;\n }", "b == 0", "b", "0", "{\n return a;\n }", "return a;", "a", "return gcd(b, a % b);", "gcd(b, a % b)", "gcd", "b", "a % b", "a", "b", "int a", "a", "int b", "b", "public class Main {\n public static void main(String... args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n System.out.println(gcd(a, b));\n }\n\n public static int gcd(int a, int b) {\n if (a < b) {\n return gcd(b, a);\n }\n if (b == 0) {\n return a;\n }\n return gcd(b, a % b);\n }\n}", "public class Main {\n public static void main(String... args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n System.out.println(gcd(a, b));\n }\n\n public static int gcd(int a, int b) {\n if (a < b) {\n return gcd(b, a);\n }\n if (b == 0) {\n return a;\n }\n return gcd(b, a % b);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String... args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(gcd(a, b)); } public static int gcd(int a, int b) { if (a < b) { return gcd(b, a); } if (b == 0) { return a; } return gcd(b, a % b); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 18, 13, 17, 18, 13, 17, 23, 13, 12, 13, 30, 41, 13, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 95, 5 ], [ 95, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 16, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 23, 25 ], [ 16, 26 ], [ 26, 27 ], [ 27, 28 ], [ 16, 29 ], [ 30, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 35, 36 ], [ 36, 37 ], [ 8, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 48, 49 ], [ 48, 50 ], [ 6, 51 ], [ 51, 52 ], [ 95, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 66, 68 ], [ 62, 69 ], [ 69, 70 ], [ 69, 71 ], [ 55, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 76, 82 ], [ 82, 83 ], [ 82, 84 ], [ 76, 85 ], [ 85, 86 ], [ 85, 87 ], [ 55, 88 ], [ 88, 89 ], [ 53, 90 ], [ 90, 91 ], [ 53, 92 ], [ 92, 93 ], [ 0, 94 ], [ 94, 95 ], [ 94, 96 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int[] num = new int[2];\n\n for(int i = 0; i < num.length; i++){\n num[i] = sc.nextInt();\n }\n\n System.out.println(gcd(num[0],num[1]));\n }\n \n public static int gcd(int x, int y){\n int r;\n if(x < y){\n int tmp = x;\n x = y;\n y = tmp;\n }\n while(y > 0){\n r = x % y;\n x = y;\n y = r;\n }\n return x;\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int[] num = new int[2];\n\n for(int i = 0; i < num.length; i++){\n num[i] = sc.nextInt();\n }\n\n System.out.println(gcd(num[0],num[1]));\n }\n \n public static int gcd(int x, int y){\n int r;\n if(x < y){\n int tmp = x;\n x = y;\n y = tmp;\n }\n while(y > 0){\n r = x % y;\n x = y;\n y = r;\n }\n return x;\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int[] num = new int[2];\n\n for(int i = 0; i < num.length; i++){\n num[i] = sc.nextInt();\n }\n\n System.out.println(gcd(num[0],num[1]));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int[] num = new int[2];\n\n for(int i = 0; i < num.length; i++){\n num[i] = sc.nextInt();\n }\n\n System.out.println(gcd(num[0],num[1]));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int[] num = new int[2];", "num", "new int[2]", "2", "for(int i = 0; i < num.length; i++){\n num[i] = sc.nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < num.length", "i", "num.length", "num", "num.length", "i++", "i++", "i", "{\n num[i] = sc.nextInt();\n }", "{\n num[i] = sc.nextInt();\n }", "num[i] = sc.nextInt()", "num[i]", "num", "i", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println(gcd(num[0],num[1]))", "System.out.println", "System.out", "System", "System.out", "gcd(num[0],num[1])", "gcd", "num[0]", "num", "0", "num[1]", "num", "1", "String[] args", "args", "public static int gcd(int x, int y){\n int r;\n if(x < y){\n int tmp = x;\n x = y;\n y = tmp;\n }\n while(y > 0){\n r = x % y;\n x = y;\n y = r;\n }\n return x;\n }", "gcd", "{\n int r;\n if(x < y){\n int tmp = x;\n x = y;\n y = tmp;\n }\n while(y > 0){\n r = x % y;\n x = y;\n y = r;\n }\n return x;\n }", "int r;", "r", "if(x < y){\n int tmp = x;\n x = y;\n y = tmp;\n }", "x < y", "x", "y", "{\n int tmp = x;\n x = y;\n y = tmp;\n }", "int tmp = x;", "tmp", "x", "x = y", "x", "y", "y = tmp", "y", "tmp", "while(y > 0){\n r = x % y;\n x = y;\n y = r;\n }", "y > 0", "y", "0", "{\n r = x % y;\n x = y;\n y = r;\n }", "r = x % y", "r", "x % y", "x", "y", "x = y", "x", "y", "y = r", "y", "r", "return x;", "x", "int x", "x", "int y", "y", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int[] num = new int[2];\n\n for(int i = 0; i < num.length; i++){\n num[i] = sc.nextInt();\n }\n\n System.out.println(gcd(num[0],num[1]));\n }\n \n public static int gcd(int x, int y){\n int r;\n if(x < y){\n int tmp = x;\n x = y;\n y = tmp;\n }\n while(y > 0){\n r = x % y;\n x = y;\n y = r;\n }\n return x;\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int[] num = new int[2];\n\n for(int i = 0; i < num.length; i++){\n num[i] = sc.nextInt();\n }\n\n System.out.println(gcd(num[0],num[1]));\n }\n \n public static int gcd(int x, int y){\n int r;\n if(x < y){\n int tmp = x;\n x = y;\n y = tmp;\n }\n while(y > 0){\n r = x % y;\n x = y;\n y = r;\n }\n return x;\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int[] num = new int[2]; for(int i = 0; i < num.length; i++){ num[i] = sc.nextInt(); } System.out.println(gcd(num[0],num[1])); } public static int gcd(int x, int y){ int r; if(x < y){ int tmp = x; x = y; y = tmp; } while(y > 0){ r = x % y; x = y; y = r; } return x; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 2, 13, 13, 14, 2, 13, 17, 30, 29, 13, 11, 1, 41, 13, 13, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 29, 13, 29, 17, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 105, 5 ], [ 105, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 26, 28 ], [ 26, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 6, 36 ], [ 36, 37 ], [ 105, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 46, 50 ], [ 40, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 53, 57 ], [ 40, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 40, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 68, 69 ], [ 40, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 84, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 83, 95 ], [ 95, 96 ], [ 96, 97 ], [ 40, 98 ], [ 98, 99 ], [ 38, 100 ], [ 100, 101 ], [ 38, 102 ], [ 102, 103 ], [ 0, 104 ], [ 104, 105 ], [ 104, 106 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\n\t\tScanner sc = new Scanner(System.in);\n\t StringBuilder out;\n\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tint gcd = getGCD(a, b);\n\t\tSystem.out.println(gcd);\n\n\t}\n\n\n\tstatic int getGCD(int a, int b) {\n\n\t\tint gcd = 0;\n\t\tint x = Math.max(a, b);\n\t\tint y = Math.min(a, b);\n\t\tint rest = x % y;\n\n\t\tif(rest == 0) {\n\t\t\treturn y;\n\t\t}\n\n\t\tfor(int i = rest; i > 0; i--) {\n\n\t\t\tif(y % i == 0 && rest % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\n\t\treturn 0;\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\n\t\tScanner sc = new Scanner(System.in);\n\t StringBuilder out;\n\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tint gcd = getGCD(a, b);\n\t\tSystem.out.println(gcd);\n\n\t}\n\n\n\tstatic int getGCD(int a, int b) {\n\n\t\tint gcd = 0;\n\t\tint x = Math.max(a, b);\n\t\tint y = Math.min(a, b);\n\t\tint rest = x % y;\n\n\t\tif(rest == 0) {\n\t\t\treturn y;\n\t\t}\n\n\t\tfor(int i = rest; i > 0; i--) {\n\n\t\t\tif(y % i == 0 && rest % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\n\t\treturn 0;\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\n\t\tScanner sc = new Scanner(System.in);\n\t StringBuilder out;\n\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tint gcd = getGCD(a, b);\n\t\tSystem.out.println(gcd);\n\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\t StringBuilder out;\n\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tint gcd = getGCD(a, b);\n\t\tSystem.out.println(gcd);\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "StringBuilder out;", "out", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int gcd = getGCD(a, b);", "gcd", "getGCD(a, b)", "getGCD", "a", "b", "System.out.println(gcd)", "System.out.println", "System.out", "System", "System.out", "gcd", "String[] args", "args", "static int getGCD(int a, int b) {\n\n\t\tint gcd = 0;\n\t\tint x = Math.max(a, b);\n\t\tint y = Math.min(a, b);\n\t\tint rest = x % y;\n\n\t\tif(rest == 0) {\n\t\t\treturn y;\n\t\t}\n\n\t\tfor(int i = rest; i > 0; i--) {\n\n\t\t\tif(y % i == 0 && rest % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\n\t\treturn 0;\n\t}", "getGCD", "{\n\n\t\tint gcd = 0;\n\t\tint x = Math.max(a, b);\n\t\tint y = Math.min(a, b);\n\t\tint rest = x % y;\n\n\t\tif(rest == 0) {\n\t\t\treturn y;\n\t\t}\n\n\t\tfor(int i = rest; i > 0; i--) {\n\n\t\t\tif(y % i == 0 && rest % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\n\t\treturn 0;\n\t}", "int gcd = 0;", "gcd", "0", "int x = Math.max(a, b);", "x", "Math.max(a, b)", "Math.max", "Math", "a", "b", "int y = Math.min(a, b);", "y", "Math.min(a, b)", "Math.min", "Math", "a", "b", "int rest = x % y;", "rest", "x % y", "x", "y", "if(rest == 0) {\n\t\t\treturn y;\n\t\t}", "rest == 0", "rest", "0", "{\n\t\t\treturn y;\n\t\t}", "return y;", "y", "for(int i = rest; i > 0; i--) {\n\n\t\t\tif(y % i == 0 && rest % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}", "int i = rest;", "int i = rest;", "i", "rest", "i > 0", "i", "0", "i--", "i--", "i", "{\n\n\t\t\tif(y % i == 0 && rest % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}", "{\n\n\t\t\tif(y % i == 0 && rest % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}", "if(y % i == 0 && rest % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}", "y % i == 0 && rest % i == 0", "y % i == 0", "y % i", "y", "i", "0", "rest % i == 0", "rest % i", "rest", "i", "0", "{\n\t\t\t\treturn i;\n\t\t\t}", "return i;", "i", "return 0;", "0", "int a", "a", "int b", "b", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\n\t\tScanner sc = new Scanner(System.in);\n\t StringBuilder out;\n\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tint gcd = getGCD(a, b);\n\t\tSystem.out.println(gcd);\n\n\t}\n\n\n\tstatic int getGCD(int a, int b) {\n\n\t\tint gcd = 0;\n\t\tint x = Math.max(a, b);\n\t\tint y = Math.min(a, b);\n\t\tint rest = x % y;\n\n\t\tif(rest == 0) {\n\t\t\treturn y;\n\t\t}\n\n\t\tfor(int i = rest; i > 0; i--) {\n\n\t\t\tif(y % i == 0 && rest % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\n\t\treturn 0;\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\n\t\tScanner sc = new Scanner(System.in);\n\t StringBuilder out;\n\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\tint gcd = getGCD(a, b);\n\t\tSystem.out.println(gcd);\n\n\t}\n\n\n\tstatic int getGCD(int a, int b) {\n\n\t\tint gcd = 0;\n\t\tint x = Math.max(a, b);\n\t\tint y = Math.min(a, b);\n\t\tint rest = x % y;\n\n\t\tif(rest == 0) {\n\t\t\treturn y;\n\t\t}\n\n\t\tfor(int i = rest; i > 0; i--) {\n\n\t\t\tif(y % i == 0 && rest % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\n\t\treturn 0;\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); StringBuilder out; int a = sc.nextInt(); int b = sc.nextInt(); int gcd = getGCD(a, b); System.out.println(gcd); } static int getGCD(int a, int b) { int gcd = 0; int x = Math.max(a, b); int y = Math.min(a, b); int rest = x % y; if(rest == 0) { return y; } for(int i = rest; i > 0; i--) { if(y % i == 0 && rest % i == 0) { return i; } } return 0; } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 0, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 13, 13, 11, 1, 41, 13, 13, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 29, 13, 29, 40, 17, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 128, 8 ], [ 128, 9 ], [ 9, 10 ], [ 9, 11 ], [ 128, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 14, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 29, 32 ], [ 14, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 12, 39 ], [ 39, 40 ], [ 128, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 50, 57 ], [ 57, 58 ], [ 57, 59 ], [ 43, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 64, 70 ], [ 70, 71 ], [ 70, 72 ], [ 64, 73 ], [ 73, 74 ], [ 73, 75 ], [ 43, 76 ], [ 76, 77 ], [ 41, 78 ], [ 78, 79 ], [ 41, 80 ], [ 80, 81 ], [ 128, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 87, 91 ], [ 84, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 92, 100 ], [ 100, 101 ], [ 101, 102 ], [ 92, 103 ], [ 104, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 106, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 105, 117 ], [ 117, 118 ], [ 118, 119 ], [ 84, 120 ], [ 120, 121 ], [ 121, 122 ], [ 82, 123 ], [ 123, 124 ], [ 82, 125 ], [ 125, 126 ], [ 0, 127 ], [ 127, 128 ], [ 127, 129 ] ]
[ "import java.util.*;\nimport java.lang.Math.*;\n\npublic class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint gcd;\n\t\tgcd = gcd(x, y);\n\t\tSystem.out.println(gcd);\n\t}\n\n\tpublic static int gcd(int x, int y){\n\t\tint r;\n\t\tif(x < y){\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\twhile(y > 0){\n\t\t\tr = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\t\treturn x;\n\t}\n\n\tpublic static int gcdB(int x, int y){\n\t\tint n = Math.min(x, y);\n\t\tfor(int d = n; d > 0; d--){\n\t\t\tif((x % d == 0) && (y % d == 0)){\n\t\t\t\treturn d;\n\t\t\t}\n\t\t}\n\treturn -1;\n\t}\n}", "import java.util.*;", "util.*", "java", "import java.lang.Math.*;", "Math.*", "java.lang", "public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint gcd;\n\t\tgcd = gcd(x, y);\n\t\tSystem.out.println(gcd);\n\t}\n\n\tpublic static int gcd(int x, int y){\n\t\tint r;\n\t\tif(x < y){\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\twhile(y > 0){\n\t\t\tr = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\t\treturn x;\n\t}\n\n\tpublic static int gcdB(int x, int y){\n\t\tint n = Math.min(x, y);\n\t\tfor(int d = n; d > 0; d--){\n\t\t\tif((x % d == 0) && (y % d == 0)){\n\t\t\t\treturn d;\n\t\t\t}\n\t\t}\n\treturn -1;\n\t}\n}", "Main", "private static final Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "public static void main(String[] args){\n\t\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint gcd;\n\t\tgcd = gcd(x, y);\n\t\tSystem.out.println(gcd);\n\t}", "main", "{\n\t\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint gcd;\n\t\tgcd = gcd(x, y);\n\t\tSystem.out.println(gcd);\n\t}", "int x = scan.nextInt();", "x", "scan.nextInt()", "scan.nextInt", "scan", "int y = scan.nextInt();", "y", "scan.nextInt()", "scan.nextInt", "scan", "int gcd;", "gcd", "gcd = gcd(x, y)", "gcd", "gcd(x, y)", "gcd", "x", "y", "System.out.println(gcd)", "System.out.println", "System.out", "System", "System.out", "gcd", "String[] args", "args", "public static int gcd(int x, int y){\n\t\tint r;\n\t\tif(x < y){\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\twhile(y > 0){\n\t\t\tr = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\t\treturn x;\n\t}", "gcd", "{\n\t\tint r;\n\t\tif(x < y){\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\twhile(y > 0){\n\t\t\tr = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\t\treturn x;\n\t}", "int r;", "r", "if(x < y){\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}", "x < y", "x", "y", "{\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}", "int tmp = x;", "tmp", "x", "x = y", "x", "y", "y = tmp", "y", "tmp", "while(y > 0){\n\t\t\tr = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}", "y > 0", "y", "0", "{\n\t\t\tr = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}", "r = x % y", "r", "x % y", "x", "y", "x = y", "x", "y", "y = r", "y", "r", "return x;", "x", "int x", "x", "int y", "y", "public static int gcdB(int x, int y){\n\t\tint n = Math.min(x, y);\n\t\tfor(int d = n; d > 0; d--){\n\t\t\tif((x % d == 0) && (y % d == 0)){\n\t\t\t\treturn d;\n\t\t\t}\n\t\t}\n\treturn -1;\n\t}", "gcdB", "{\n\t\tint n = Math.min(x, y);\n\t\tfor(int d = n; d > 0; d--){\n\t\t\tif((x % d == 0) && (y % d == 0)){\n\t\t\t\treturn d;\n\t\t\t}\n\t\t}\n\treturn -1;\n\t}", "int n = Math.min(x, y);", "n", "Math.min(x, y)", "Math.min", "Math", "x", "y", "for(int d = n; d > 0; d--){\n\t\t\tif((x % d == 0) && (y % d == 0)){\n\t\t\t\treturn d;\n\t\t\t}\n\t\t}", "int d = n;", "int d = n;", "d", "n", "d > 0", "d", "0", "d--", "d--", "d", "{\n\t\t\tif((x % d == 0) && (y % d == 0)){\n\t\t\t\treturn d;\n\t\t\t}\n\t\t}", "{\n\t\t\tif((x % d == 0) && (y % d == 0)){\n\t\t\t\treturn d;\n\t\t\t}\n\t\t}", "if((x % d == 0) && (y % d == 0)){\n\t\t\t\treturn d;\n\t\t\t}", "(x % d == 0) && (y % d == 0)", "(x % d == 0)", "x % d", "x", "d", "0", "(y % d == 0)", "y % d", "y", "d", "0", "{\n\t\t\t\treturn d;\n\t\t\t}", "return d;", "d", "return -1;", "-1", "1", "int x", "x", "int y", "y", "public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint gcd;\n\t\tgcd = gcd(x, y);\n\t\tSystem.out.println(gcd);\n\t}\n\n\tpublic static int gcd(int x, int y){\n\t\tint r;\n\t\tif(x < y){\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\twhile(y > 0){\n\t\t\tr = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\t\treturn x;\n\t}\n\n\tpublic static int gcdB(int x, int y){\n\t\tint n = Math.min(x, y);\n\t\tfor(int d = n; d > 0; d--){\n\t\t\tif((x % d == 0) && (y % d == 0)){\n\t\t\t\treturn d;\n\t\t\t}\n\t\t}\n\treturn -1;\n\t}\n}", "public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint gcd;\n\t\tgcd = gcd(x, y);\n\t\tSystem.out.println(gcd);\n\t}\n\n\tpublic static int gcd(int x, int y){\n\t\tint r;\n\t\tif(x < y){\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\twhile(y > 0){\n\t\t\tr = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\t\treturn x;\n\t}\n\n\tpublic static int gcdB(int x, int y){\n\t\tint n = Math.min(x, y);\n\t\tfor(int d = n; d > 0; d--){\n\t\t\tif((x % d == 0) && (y % d == 0)){\n\t\t\t\treturn d;\n\t\t\t}\n\t\t}\n\treturn -1;\n\t}\n}", "Main" ]
import java.util.*; import java.lang.Math.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ int x = scan.nextInt(); int y = scan.nextInt(); int gcd; gcd = gcd(x, y); System.out.println(gcd); } public static int gcd(int x, int y){ int r; if(x < y){ int tmp = x; x = y; y = tmp; } while(y > 0){ r = x % y; x = y; y = r; } return x; } public static int gcdB(int x, int y){ int n = Math.min(x, y); for(int d = n; d > 0; d--){ if((x % d == 0) && (y % d == 0)){ return d; } } return -1; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 2, 13, 13, 17, 30, 29, 13, 30, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 86, 5 ], [ 86, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 14, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 41, 44 ], [ 6, 45 ], [ 45, 46 ], [ 86, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 58, 60 ], [ 54, 61 ], [ 61, 62 ], [ 61, 63 ], [ 49, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 64, 70 ], [ 70, 71 ], [ 71, 72 ], [ 64, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 75, 78 ], [ 78, 79 ], [ 78, 80 ], [ 47, 81 ], [ 81, 82 ], [ 47, 83 ], [ 83, 84 ], [ 0, 85 ], [ 85, 86 ], [ 85, 87 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tString[] line = s.nextLine().split(\" \");\n\t\tint v1 = Integer.parseInt(line[0]);\n\t\tint v2 = Integer.parseInt(line[1]);\n\t\tSystem.out.println(gcd(v1, v2));\n\t}\n\n\tpublic static int gcd(int v1, int v2) {\n\t\tif(v1<v2) {\n\t\t\tint tmp = v1;\n\t\t\tv1 = v2;\n\t\t\tv2 = tmp;\n\t\t}\n\n\t\tif(v1%v2 == 0) {\n\t\t\treturn v2;\n\t\t} else {\n\t\t\treturn gcd(v2, v1%v2);\n\t\t}\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tString[] line = s.nextLine().split(\" \");\n\t\tint v1 = Integer.parseInt(line[0]);\n\t\tint v2 = Integer.parseInt(line[1]);\n\t\tSystem.out.println(gcd(v1, v2));\n\t}\n\n\tpublic static int gcd(int v1, int v2) {\n\t\tif(v1<v2) {\n\t\t\tint tmp = v1;\n\t\t\tv1 = v2;\n\t\t\tv2 = tmp;\n\t\t}\n\n\t\tif(v1%v2 == 0) {\n\t\t\treturn v2;\n\t\t} else {\n\t\t\treturn gcd(v2, v1%v2);\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tString[] line = s.nextLine().split(\" \");\n\t\tint v1 = Integer.parseInt(line[0]);\n\t\tint v2 = Integer.parseInt(line[1]);\n\t\tSystem.out.println(gcd(v1, v2));\n\t}", "main", "{\n\t\tScanner s = new Scanner(System.in);\n\t\tString[] line = s.nextLine().split(\" \");\n\t\tint v1 = Integer.parseInt(line[0]);\n\t\tint v2 = Integer.parseInt(line[1]);\n\t\tSystem.out.println(gcd(v1, v2));\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "String[] line = s.nextLine().split(\" \");", "line", "s.nextLine().split(\" \")", "s.nextLine().split", "s.nextLine()", "s.nextLine", "s", "\" \"", "int v1 = Integer.parseInt(line[0]);", "v1", "Integer.parseInt(line[0])", "Integer.parseInt", "Integer", "line[0]", "line", "0", "int v2 = Integer.parseInt(line[1]);", "v2", "Integer.parseInt(line[1])", "Integer.parseInt", "Integer", "line[1]", "line", "1", "System.out.println(gcd(v1, v2))", "System.out.println", "System.out", "System", "System.out", "gcd(v1, v2)", "gcd", "v1", "v2", "String[] args", "args", "public static int gcd(int v1, int v2) {\n\t\tif(v1<v2) {\n\t\t\tint tmp = v1;\n\t\t\tv1 = v2;\n\t\t\tv2 = tmp;\n\t\t}\n\n\t\tif(v1%v2 == 0) {\n\t\t\treturn v2;\n\t\t} else {\n\t\t\treturn gcd(v2, v1%v2);\n\t\t}\n\t}", "gcd", "{\n\t\tif(v1<v2) {\n\t\t\tint tmp = v1;\n\t\t\tv1 = v2;\n\t\t\tv2 = tmp;\n\t\t}\n\n\t\tif(v1%v2 == 0) {\n\t\t\treturn v2;\n\t\t} else {\n\t\t\treturn gcd(v2, v1%v2);\n\t\t}\n\t}", "if(v1<v2) {\n\t\t\tint tmp = v1;\n\t\t\tv1 = v2;\n\t\t\tv2 = tmp;\n\t\t}", "v1<v2", "v1", "v2", "{\n\t\t\tint tmp = v1;\n\t\t\tv1 = v2;\n\t\t\tv2 = tmp;\n\t\t}", "int tmp = v1;", "tmp", "v1", "v1 = v2", "v1", "v2", "v2 = tmp", "v2", "tmp", "if(v1%v2 == 0) {\n\t\t\treturn v2;\n\t\t} else {\n\t\t\treturn gcd(v2, v1%v2);\n\t\t}", "v1%v2 == 0", "v1%v2", "v1", "v2", "0", "{\n\t\t\treturn v2;\n\t\t}", "return v2;", "v2", "{\n\t\t\treturn gcd(v2, v1%v2);\n\t\t}", "return gcd(v2, v1%v2);", "gcd(v2, v1%v2)", "gcd", "v2", "v1%v2", "v1", "v2", "int v1", "v1", "int v2", "v2", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tString[] line = s.nextLine().split(\" \");\n\t\tint v1 = Integer.parseInt(line[0]);\n\t\tint v2 = Integer.parseInt(line[1]);\n\t\tSystem.out.println(gcd(v1, v2));\n\t}\n\n\tpublic static int gcd(int v1, int v2) {\n\t\tif(v1<v2) {\n\t\t\tint tmp = v1;\n\t\t\tv1 = v2;\n\t\t\tv2 = tmp;\n\t\t}\n\n\t\tif(v1%v2 == 0) {\n\t\t\treturn v2;\n\t\t} else {\n\t\t\treturn gcd(v2, v1%v2);\n\t\t}\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tString[] line = s.nextLine().split(\" \");\n\t\tint v1 = Integer.parseInt(line[0]);\n\t\tint v2 = Integer.parseInt(line[1]);\n\t\tSystem.out.println(gcd(v1, v2));\n\t}\n\n\tpublic static int gcd(int v1, int v2) {\n\t\tif(v1<v2) {\n\t\t\tint tmp = v1;\n\t\t\tv1 = v2;\n\t\t\tv2 = tmp;\n\t\t}\n\n\t\tif(v1%v2 == 0) {\n\t\t\treturn v2;\n\t\t} else {\n\t\t\treturn gcd(v2, v1%v2);\n\t\t}\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); String[] line = s.nextLine().split(" "); int v1 = Integer.parseInt(line[0]); int v2 = Integer.parseInt(line[1]); System.out.println(gcd(v1, v2)); } public static int gcd(int v1, int v2) { if(v1<v2) { int tmp = v1; v1 = v2; v2 = tmp; } if(v1%v2 == 0) { return v2; } else { return gcd(v2, v1%v2); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 42, 2, 13, 17, 30, 41, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 47, 5 ], [ 47, 6 ], [ 6, 7 ], [ 6, 8 ], [ 47, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 11, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 26, 32 ], [ 32, 33 ], [ 32, 34 ], [ 26, 35 ], [ 35, 36 ], [ 35, 37 ], [ 11, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 9, 44 ], [ 44, 45 ], [ 0, 46 ], [ 46, 47 ], [ 46, 48 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n private static Scanner sc=new Scanner(System.in);\n public static void main(String[] args){\n int x=sc.nextInt();\n int y=sc.nextInt();\n while(y>0){\n int t=x%y;\n x=y;\n y=t;\n }\n System.out.println(x);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n private static Scanner sc=new Scanner(System.in);\n public static void main(String[] args){\n int x=sc.nextInt();\n int y=sc.nextInt();\n while(y>0){\n int t=x%y;\n x=y;\n y=t;\n }\n System.out.println(x);\n }\n}", "Main", "private static Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "public static void main(String[] args){\n int x=sc.nextInt();\n int y=sc.nextInt();\n while(y>0){\n int t=x%y;\n x=y;\n y=t;\n }\n System.out.println(x);\n }", "main", "{\n int x=sc.nextInt();\n int y=sc.nextInt();\n while(y>0){\n int t=x%y;\n x=y;\n y=t;\n }\n System.out.println(x);\n }", "int x=sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y=sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "while(y>0){\n int t=x%y;\n x=y;\n y=t;\n }", "y>0", "y", "0", "{\n int t=x%y;\n x=y;\n y=t;\n }", "int t=x%y;", "t", "x%y", "x", "y", "x=y", "x", "y", "y=t", "y", "t", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "String[] args", "args", "public class Main {\n private static Scanner sc=new Scanner(System.in);\n public static void main(String[] args){\n int x=sc.nextInt();\n int y=sc.nextInt();\n while(y>0){\n int t=x%y;\n x=y;\n y=t;\n }\n System.out.println(x);\n }\n}", "public class Main {\n private static Scanner sc=new Scanner(System.in);\n public static void main(String[] args){\n int x=sc.nextInt();\n int y=sc.nextInt();\n while(y>0){\n int t=x%y;\n x=y;\n y=t;\n }\n System.out.println(x);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { private static Scanner sc=new Scanner(System.in); public static void main(String[] args){ int x=sc.nextInt(); int y=sc.nextInt(); while(y>0){ int t=x%y; x=y; y=t; } System.out.println(x); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 42, 2, 2, 13, 13, 17, 30, 41, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 63, 5 ], [ 63, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 24, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 31, 35 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 36, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 42, 48 ], [ 48, 49 ], [ 48, 50 ], [ 42, 51 ], [ 51, 52 ], [ 51, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 6, 60 ], [ 60, 61 ], [ 0, 62 ], [ 62, 63 ], [ 62, 64 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint a=sc.nextInt();\n\t\tint b=sc.nextInt();\n\n\t\tint x=Math.max(a, b);\n\t\tint y=Math.min(a, b);\n\n\t\twhile (x%y!=0) {\n\t\t\tint z=x%y;\n\t\t\tx=y;\n\t\t\ty=z;\n\t\t}\n\t\tSystem.out.println(y);\n\t}\n\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint a=sc.nextInt();\n\t\tint b=sc.nextInt();\n\n\t\tint x=Math.max(a, b);\n\t\tint y=Math.min(a, b);\n\n\t\twhile (x%y!=0) {\n\t\t\tint z=x%y;\n\t\t\tx=y;\n\t\t\ty=z;\n\t\t}\n\t\tSystem.out.println(y);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint a=sc.nextInt();\n\t\tint b=sc.nextInt();\n\n\t\tint x=Math.max(a, b);\n\t\tint y=Math.min(a, b);\n\n\t\twhile (x%y!=0) {\n\t\t\tint z=x%y;\n\t\t\tx=y;\n\t\t\ty=z;\n\t\t}\n\t\tSystem.out.println(y);\n\t}", "main", "{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint a=sc.nextInt();\n\t\tint b=sc.nextInt();\n\n\t\tint x=Math.max(a, b);\n\t\tint y=Math.min(a, b);\n\n\t\twhile (x%y!=0) {\n\t\t\tint z=x%y;\n\t\t\tx=y;\n\t\t\ty=z;\n\t\t}\n\t\tSystem.out.println(y);\n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a=sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b=sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int x=Math.max(a, b);", "x", "Math.max(a, b)", "Math.max", "Math", "a", "b", "int y=Math.min(a, b);", "y", "Math.min(a, b)", "Math.min", "Math", "a", "b", "while (x%y!=0) {\n\t\t\tint z=x%y;\n\t\t\tx=y;\n\t\t\ty=z;\n\t\t}", "x%y!=0", "x%y", "x", "y", "0", "{\n\t\t\tint z=x%y;\n\t\t\tx=y;\n\t\t\ty=z;\n\t\t}", "int z=x%y;", "z", "x%y", "x", "y", "x=y", "x", "y", "y=z", "y", "z", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint a=sc.nextInt();\n\t\tint b=sc.nextInt();\n\n\t\tint x=Math.max(a, b);\n\t\tint y=Math.min(a, b);\n\n\t\twhile (x%y!=0) {\n\t\t\tint z=x%y;\n\t\t\tx=y;\n\t\t\ty=z;\n\t\t}\n\t\tSystem.out.println(y);\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint a=sc.nextInt();\n\t\tint b=sc.nextInt();\n\n\t\tint x=Math.max(a, b);\n\t\tint y=Math.min(a, b);\n\n\t\twhile (x%y!=0) {\n\t\t\tint z=x%y;\n\t\t\tx=y;\n\t\t\ty=z;\n\t\t}\n\t\tSystem.out.println(y);\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int a=sc.nextInt(); int b=sc.nextInt(); int x=Math.max(a, b); int y=Math.min(a, b); while (x%y!=0) { int z=x%y; x=y; y=z; } System.out.println(y); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 14, 2, 13, 13, 30, 0, 13, 13, 30, 14, 2, 13, 13, 30, 41, 13, 2, 13, 13, 0, 13, 4, 13, 13, 13, 30, 41, 13, 2, 13, 13, 0, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 13, 13, 11, 1, 41, 13, 13, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 29, 13, 29, 17, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 117, 5 ], [ 117, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 43, 45 ], [ 40, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 48, 51 ], [ 36, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 52, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 60, 63 ], [ 8, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 6, 70 ], [ 70, 71 ], [ 117, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 77, 81 ], [ 74, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 87, 88 ], [ 87, 89 ], [ 82, 90 ], [ 90, 91 ], [ 91, 92 ], [ 82, 93 ], [ 94, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 96, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 95, 107 ], [ 107, 108 ], [ 108, 109 ], [ 74, 110 ], [ 110, 111 ], [ 72, 112 ], [ 112, 113 ], [ 72, 114 ], [ 114, 115 ], [ 0, 116 ], [ 116, 117 ], [ 116, 118 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main (String [] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\t\n\t\t//2つの自然数入力\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tscan.close();\n\t\t\n\t\tint gcd;\n\t\t\n\t\t\n\t\tif ( x == y) {\n\t\t\tgcd = x;\n\t\t} else {\n\t\t\tif (x > y) {\n\t\t\t\tint n = x % y;\n\t\t\t\tgcd = Gcd(y,n);\n\t\t\t}else {\n\t\t\t\tint n = y % x;\n\t\t\t\t gcd = Gcd(x,n);\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(gcd);\n\t\t\n\t}\n\t\n\t//最大公約数を求める\n\tpublic static int Gcd(int x, int y) {\n\t\t\n\t\tint n = Math.min(x, y);\n\t\t\n\t\tfor (int i = n; i >= 1; i--) {\n\t\t\tif (x % i == 0 && y % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn 1;\n\t}\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main (String [] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\t\n\t\t//2つの自然数入力\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tscan.close();\n\t\t\n\t\tint gcd;\n\t\t\n\t\t\n\t\tif ( x == y) {\n\t\t\tgcd = x;\n\t\t} else {\n\t\t\tif (x > y) {\n\t\t\t\tint n = x % y;\n\t\t\t\tgcd = Gcd(y,n);\n\t\t\t}else {\n\t\t\t\tint n = y % x;\n\t\t\t\t gcd = Gcd(x,n);\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(gcd);\n\t\t\n\t}\n\t\n\t//最大公約数を求める\n\tpublic static int Gcd(int x, int y) {\n\t\t\n\t\tint n = Math.min(x, y);\n\t\t\n\t\tfor (int i = n; i >= 1; i--) {\n\t\t\tif (x % i == 0 && y % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn 1;\n\t}\n}", "Main", "public static void main (String [] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\t\n\t\t//2つの自然数入力\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tscan.close();\n\t\t\n\t\tint gcd;\n\t\t\n\t\t\n\t\tif ( x == y) {\n\t\t\tgcd = x;\n\t\t} else {\n\t\t\tif (x > y) {\n\t\t\t\tint n = x % y;\n\t\t\t\tgcd = Gcd(y,n);\n\t\t\t}else {\n\t\t\t\tint n = y % x;\n\t\t\t\t gcd = Gcd(x,n);\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(gcd);\n\t\t\n\t}", "main", "{\n\t\tScanner scan = new Scanner (System.in);\n\t\t\n\t\t//2つの自然数入力\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tscan.close();\n\t\t\n\t\tint gcd;\n\t\t\n\t\t\n\t\tif ( x == y) {\n\t\t\tgcd = x;\n\t\t} else {\n\t\t\tif (x > y) {\n\t\t\t\tint n = x % y;\n\t\t\t\tgcd = Gcd(y,n);\n\t\t\t}else {\n\t\t\t\tint n = y % x;\n\t\t\t\t gcd = Gcd(x,n);\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(gcd);\n\t\t\n\t}", "Scanner scan = new Scanner (System.in);", "scan", "new Scanner (System.in)", "int x = scan.nextInt();", "x", "scan.nextInt()", "scan.nextInt", "scan", "int y = scan.nextInt();", "y", "scan.nextInt()", "scan.nextInt", "scan", "scan.close()", "scan.close", "scan", "int gcd;", "gcd", "if ( x == y) {\n\t\t\tgcd = x;\n\t\t} else {\n\t\t\tif (x > y) {\n\t\t\t\tint n = x % y;\n\t\t\t\tgcd = Gcd(y,n);\n\t\t\t}else {\n\t\t\t\tint n = y % x;\n\t\t\t\t gcd = Gcd(x,n);\n\t\t\t}\n\t\t}", "x == y", "x", "y", "{\n\t\t\tgcd = x;\n\t\t}", "gcd = x", "gcd", "x", "{\n\t\t\tif (x > y) {\n\t\t\t\tint n = x % y;\n\t\t\t\tgcd = Gcd(y,n);\n\t\t\t}else {\n\t\t\t\tint n = y % x;\n\t\t\t\t gcd = Gcd(x,n);\n\t\t\t}\n\t\t}", "if (x > y) {\n\t\t\t\tint n = x % y;\n\t\t\t\tgcd = Gcd(y,n);\n\t\t\t}else {\n\t\t\t\tint n = y % x;\n\t\t\t\t gcd = Gcd(x,n);\n\t\t\t}", "x > y", "x", "y", "{\n\t\t\t\tint n = x % y;\n\t\t\t\tgcd = Gcd(y,n);\n\t\t\t}", "int n = x % y;", "n", "x % y", "x", "y", "gcd = Gcd(y,n)", "gcd", "Gcd(y,n)", "Gcd", "y", "n", "{\n\t\t\t\tint n = y % x;\n\t\t\t\t gcd = Gcd(x,n);\n\t\t\t}", "int n = y % x;", "n", "y % x", "y", "x", "gcd = Gcd(x,n)", "gcd", "Gcd(x,n)", "Gcd", "x", "n", "System.out.println(gcd)", "System.out.println", "System.out", "System", "System.out", "gcd", "String [] args", "args", "//最大公約数を求める\n\tpublic static int Gcd(int x, int y) {\n\t\t\n\t\tint n = Math.min(x, y);\n\t\t\n\t\tfor (int i = n; i >= 1; i--) {\n\t\t\tif (x % i == 0 && y % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn 1;\n\t}", "Gcd", "{\n\t\t\n\t\tint n = Math.min(x, y);\n\t\t\n\t\tfor (int i = n; i >= 1; i--) {\n\t\t\tif (x % i == 0 && y % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn 1;\n\t}", "int n = Math.min(x, y);", "n", "Math.min(x, y)", "Math.min", "Math", "x", "y", "for (int i = n; i >= 1; i--) {\n\t\t\tif (x % i == 0 && y % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}", "int i = n;", "int i = n;", "i", "n", "i >= 1", "i", "1", "i--", "i--", "i", "{\n\t\t\tif (x % i == 0 && y % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}", "{\n\t\t\tif (x % i == 0 && y % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}", "if (x % i == 0 && y % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}", "x % i == 0 && y % i == 0", "x % i == 0", "x % i", "x", "i", "0", "y % i == 0", "y % i", "y", "i", "0", "{\n\t\t\t\treturn i;\n\t\t\t}", "return i;", "i", "return 1;", "1", "int x", "x", "int y", "y", "public class Main {\n\tpublic static void main (String [] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\t\n\t\t//2つの自然数入力\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tscan.close();\n\t\t\n\t\tint gcd;\n\t\t\n\t\t\n\t\tif ( x == y) {\n\t\t\tgcd = x;\n\t\t} else {\n\t\t\tif (x > y) {\n\t\t\t\tint n = x % y;\n\t\t\t\tgcd = Gcd(y,n);\n\t\t\t}else {\n\t\t\t\tint n = y % x;\n\t\t\t\t gcd = Gcd(x,n);\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(gcd);\n\t\t\n\t}\n\t\n\t//最大公約数を求める\n\tpublic static int Gcd(int x, int y) {\n\t\t\n\t\tint n = Math.min(x, y);\n\t\t\n\t\tfor (int i = n; i >= 1; i--) {\n\t\t\tif (x % i == 0 && y % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn 1;\n\t}\n}", "public class Main {\n\tpublic static void main (String [] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\t\n\t\t//2つの自然数入力\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tscan.close();\n\t\t\n\t\tint gcd;\n\t\t\n\t\t\n\t\tif ( x == y) {\n\t\t\tgcd = x;\n\t\t} else {\n\t\t\tif (x > y) {\n\t\t\t\tint n = x % y;\n\t\t\t\tgcd = Gcd(y,n);\n\t\t\t}else {\n\t\t\t\tint n = y % x;\n\t\t\t\t gcd = Gcd(x,n);\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(gcd);\n\t\t\n\t}\n\t\n\t//最大公約数を求める\n\tpublic static int Gcd(int x, int y) {\n\t\t\n\t\tint n = Math.min(x, y);\n\t\t\n\t\tfor (int i = n; i >= 1; i--) {\n\t\t\tif (x % i == 0 && y % i == 0) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn 1;\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main (String [] args) { Scanner scan = new Scanner (System.in); //2つの自然数入力 int x = scan.nextInt(); int y = scan.nextInt(); scan.close(); int gcd; if ( x == y) { gcd = x; } else { if (x > y) { int n = x % y; gcd = Gcd(y,n); }else { int n = y % x; gcd = Gcd(x,n); } } System.out.println(gcd); } //最大公約数を求める public static int Gcd(int x, int y) { int n = Math.min(x, y); for (int i = n; i >= 1; i--) { if (x % i == 0 && y % i == 0) { return i; } } return 1; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 4, 18, 18, 13, 13, 4, 13, 4, 18, 13, 4, 18, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 29, 4, 13, 13, 13, 14, 2, 13, 17, 30, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 14, 16 ], [ 12, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 17, 22 ], [ 22, 23 ], [ 23, 24 ], [ 6, 25 ], [ 25, 26 ], [ 4, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 36, 39 ], [ 29, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 29, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 48, 51 ], [ 51, 52 ], [ 51, 53 ], [ 27, 54 ], [ 54, 55 ], [ 27, 56 ], [ 56, 57 ] ]
[ "import java.util.*;\n\nclass Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n System.out.println(calc(sc.nextInt(), sc.nextInt()));\n }\n public static int calc(int a, int b) {\n if (a < b) {\n return calc(b, a);\n }\n if (b == 0) {\n return a;\n }\n return calc(b, a % b);\n }\n}", "import java.util.*;", "util.*", "java", "class Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n System.out.println(calc(sc.nextInt(), sc.nextInt()));\n }\n public static int calc(int a, int b) {\n if (a < b) {\n return calc(b, a);\n }\n if (b == 0) {\n return a;\n }\n return calc(b, a % b);\n }\n}", "Main", "public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n System.out.println(calc(sc.nextInt(), sc.nextInt()));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n System.out.println(calc(sc.nextInt(), sc.nextInt()));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "System.out.println(calc(sc.nextInt(), sc.nextInt()))", "System.out.println", "System.out", "System", "System.out", "calc(sc.nextInt(), sc.nextInt())", "calc", "sc.nextInt()", "sc.nextInt", "sc", "sc.nextInt()", "sc.nextInt", "sc", "String args[]", "args", "public static int calc(int a, int b) {\n if (a < b) {\n return calc(b, a);\n }\n if (b == 0) {\n return a;\n }\n return calc(b, a % b);\n }", "calc", "{\n if (a < b) {\n return calc(b, a);\n }\n if (b == 0) {\n return a;\n }\n return calc(b, a % b);\n }", "if (a < b) {\n return calc(b, a);\n }", "a < b", "a", "b", "{\n return calc(b, a);\n }", "return calc(b, a);", "calc(b, a)", "calc", "b", "a", "if (b == 0) {\n return a;\n }", "b == 0", "b", "0", "{\n return a;\n }", "return a;", "a", "return calc(b, a % b);", "calc(b, a % b)", "calc", "b", "a % b", "a", "b", "int a", "a", "int b", "b" ]
import java.util.*; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); System.out.println(calc(sc.nextInt(), sc.nextInt())); } public static int calc(int a, int b) { if (a < b) { return calc(b, a); } if (b == 0) { return a; } return calc(b, a % b); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 13, 13, 4, 13, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 17, 14, 2, 13, 17, 30, 0, 13, 2, 13, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 73, 5 ], [ 73, 6 ], [ 6, 7 ], [ 6, 8 ], [ 73, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 11, 14 ], [ 14, 15 ], [ 11, 16 ], [ 16, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 11, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 32, 33 ], [ 32, 34 ], [ 32, 35 ], [ 28, 36 ], [ 36, 37 ], [ 36, 38 ], [ 36, 39 ], [ 9, 40 ], [ 40, 41 ], [ 73, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 52, 58 ], [ 58, 59 ], [ 58, 60 ], [ 58, 61 ], [ 48, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 42, 68 ], [ 68, 69 ], [ 42, 70 ], [ 70, 71 ], [ 0, 72 ], [ 72, 73 ], [ 72, 74 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tpublic static Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint i, j, k;\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif(x >= y) gcd(x, y);\n\t\telse gcd(y, x);\n\t}\n\t\n\tpublic static void gcd(int x, int y){\n\t\tint r = 0;\n\t\tif(y != 0){\n\t\t\tr = x % y;\n\t\t\tgcd(y, r);\n\t\t}\n\t\telse System.out.println(x);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint i, j, k;\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif(x >= y) gcd(x, y);\n\t\telse gcd(y, x);\n\t}\n\t\n\tpublic static void gcd(int x, int y){\n\t\tint r = 0;\n\t\tif(y != 0){\n\t\t\tr = x % y;\n\t\t\tgcd(y, r);\n\t\t}\n\t\telse System.out.println(x);\n\t}\n}", "Main", "public static Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "public static void main(String[] args) {\n\t\tint i, j, k;\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif(x >= y) gcd(x, y);\n\t\telse gcd(y, x);\n\t}", "main", "{\n\t\tint i, j, k;\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif(x >= y) gcd(x, y);\n\t\telse gcd(y, x);\n\t}", "int i", "i", "j", "j", "k;", "k", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "if(x >= y) gcd(x, y);\n\t\telse gcd(y, x);", "x >= y", "x", "y", "gcd(x, y)", "gcd", "x", "y", "gcd(y, x)", "gcd", "y", "x", "String[] args", "args", "public static void gcd(int x, int y){\n\t\tint r = 0;\n\t\tif(y != 0){\n\t\t\tr = x % y;\n\t\t\tgcd(y, r);\n\t\t}\n\t\telse System.out.println(x);\n\t}", "gcd", "{\n\t\tint r = 0;\n\t\tif(y != 0){\n\t\t\tr = x % y;\n\t\t\tgcd(y, r);\n\t\t}\n\t\telse System.out.println(x);\n\t}", "int r = 0;", "r", "0", "if(y != 0){\n\t\t\tr = x % y;\n\t\t\tgcd(y, r);\n\t\t}\n\t\telse System.out.println(x);", "y != 0", "y", "0", "{\n\t\t\tr = x % y;\n\t\t\tgcd(y, r);\n\t\t}", "r = x % y", "r", "x % y", "x", "y", "gcd(y, r)", "gcd", "y", "r", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "int x", "x", "int y", "y", "public class Main {\n\tpublic static Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint i, j, k;\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif(x >= y) gcd(x, y);\n\t\telse gcd(y, x);\n\t}\n\t\n\tpublic static void gcd(int x, int y){\n\t\tint r = 0;\n\t\tif(y != 0){\n\t\t\tr = x % y;\n\t\t\tgcd(y, r);\n\t\t}\n\t\telse System.out.println(x);\n\t}\n}", "public class Main {\n\tpublic static Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint i, j, k;\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif(x >= y) gcd(x, y);\n\t\telse gcd(y, x);\n\t}\n\t\n\tpublic static void gcd(int x, int y){\n\t\tint r = 0;\n\t\tif(y != 0){\n\t\t\tr = x % y;\n\t\t\tgcd(y, r);\n\t\t}\n\t\telse System.out.println(x);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static Scanner sc = new Scanner(System.in); public static void main(String[] args) { int i, j, k; int x = sc.nextInt(); int y = sc.nextInt(); if(x >= y) gcd(x, y); else gcd(y, x); } public static void gcd(int x, int y){ int r = 0; if(y != 0){ r = x % y; gcd(y, r); } else System.out.println(x); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 41, 13, 41, 13, 17, 12, 13, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 12, 13, 30, 14, 2, 13, 13, 30, 42, 2, 2, 13, 13, 17, 30, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 30, 42, 2, 2, 13, 13, 17, 30, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 12, 13, 30, 41, 13, 20, 4, 18, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 101, 5 ], [ 101, 6 ], [ 6, 7 ], [ 6, 8 ], [ 101, 9 ], [ 9, 10 ], [ 101, 11 ], [ 11, 12 ], [ 101, 13 ], [ 13, 14 ], [ 13, 15 ], [ 101, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 18, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 101, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 37, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 47, 49 ], [ 43, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 36, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 32, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 72, 73 ], [ 72, 74 ], [ 68, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 61, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 101, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 93, 94 ], [ 88, 95 ], [ 95, 96 ], [ 96, 97 ], [ 86, 98 ], [ 98, 99 ], [ 0, 100 ], [ 100, 101 ], [ 100, 102 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tScanner sc = new Scanner(System.in);\n\tint x,y;\t\n\tint keep=0;\n\t\n\tpublic void input() {\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t}\n\t\n\tpublic void conpute() {\n\t\tif(x > y) {\n\t\t\twhile(x%y != 0) {\n\t\t\t\tkeep = x;\n\t\t\t\tx = y;\n\t\t\t\ty = keep % y;\n\t\t\t}\n\t\t\tSystem.out.println(y);\n\t\t}else {\n\t\t\twhile(y%x != 0) {\n\t\t\t\tkeep = y;\n\t\t\t\ty = x;\n\t\t\t\tx = keep % y;\n\t\t\t}\n\t\t\tSystem.out.println(x);\n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain obj = new Main();\n\t\tobj.input();\n\t\tobj.conpute();\n\t}\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tScanner sc = new Scanner(System.in);\n\tint x,y;\t\n\tint keep=0;\n\t\n\tpublic void input() {\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t}\n\t\n\tpublic void conpute() {\n\t\tif(x > y) {\n\t\t\twhile(x%y != 0) {\n\t\t\t\tkeep = x;\n\t\t\t\tx = y;\n\t\t\t\ty = keep % y;\n\t\t\t}\n\t\t\tSystem.out.println(y);\n\t\t}else {\n\t\t\twhile(y%x != 0) {\n\t\t\t\tkeep = y;\n\t\t\t\ty = x;\n\t\t\t\tx = keep % y;\n\t\t\t}\n\t\t\tSystem.out.println(x);\n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain obj = new Main();\n\t\tobj.input();\n\t\tobj.conpute();\n\t}\n}", "Main", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x", "x", "y;", "y", "int keep=0;", "keep", "0", "public void input() {\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t}", "input", "{\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t}", "x = sc.nextInt()", "x", "sc.nextInt()", "sc.nextInt", "sc", "y = sc.nextInt()", "y", "sc.nextInt()", "sc.nextInt", "sc", "public void conpute() {\n\t\tif(x > y) {\n\t\t\twhile(x%y != 0) {\n\t\t\t\tkeep = x;\n\t\t\t\tx = y;\n\t\t\t\ty = keep % y;\n\t\t\t}\n\t\t\tSystem.out.println(y);\n\t\t}else {\n\t\t\twhile(y%x != 0) {\n\t\t\t\tkeep = y;\n\t\t\t\ty = x;\n\t\t\t\tx = keep % y;\n\t\t\t}\n\t\t\tSystem.out.println(x);\n\t\t}\n\t}", "conpute", "{\n\t\tif(x > y) {\n\t\t\twhile(x%y != 0) {\n\t\t\t\tkeep = x;\n\t\t\t\tx = y;\n\t\t\t\ty = keep % y;\n\t\t\t}\n\t\t\tSystem.out.println(y);\n\t\t}else {\n\t\t\twhile(y%x != 0) {\n\t\t\t\tkeep = y;\n\t\t\t\ty = x;\n\t\t\t\tx = keep % y;\n\t\t\t}\n\t\t\tSystem.out.println(x);\n\t\t}\n\t}", "if(x > y) {\n\t\t\twhile(x%y != 0) {\n\t\t\t\tkeep = x;\n\t\t\t\tx = y;\n\t\t\t\ty = keep % y;\n\t\t\t}\n\t\t\tSystem.out.println(y);\n\t\t}else {\n\t\t\twhile(y%x != 0) {\n\t\t\t\tkeep = y;\n\t\t\t\ty = x;\n\t\t\t\tx = keep % y;\n\t\t\t}\n\t\t\tSystem.out.println(x);\n\t\t}", "x > y", "x", "y", "{\n\t\t\twhile(x%y != 0) {\n\t\t\t\tkeep = x;\n\t\t\t\tx = y;\n\t\t\t\ty = keep % y;\n\t\t\t}\n\t\t\tSystem.out.println(y);\n\t\t}", "while(x%y != 0) {\n\t\t\t\tkeep = x;\n\t\t\t\tx = y;\n\t\t\t\ty = keep % y;\n\t\t\t}", "x%y != 0", "x%y", "x", "y", "0", "{\n\t\t\t\tkeep = x;\n\t\t\t\tx = y;\n\t\t\t\ty = keep % y;\n\t\t\t}", "keep = x", "keep", "x", "x = y", "x", "y", "y = keep % y", "y", "keep % y", "keep", "y", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "{\n\t\t\twhile(y%x != 0) {\n\t\t\t\tkeep = y;\n\t\t\t\ty = x;\n\t\t\t\tx = keep % y;\n\t\t\t}\n\t\t\tSystem.out.println(x);\n\t\t}", "while(y%x != 0) {\n\t\t\t\tkeep = y;\n\t\t\t\ty = x;\n\t\t\t\tx = keep % y;\n\t\t\t}", "y%x != 0", "y%x", "y", "x", "0", "{\n\t\t\t\tkeep = y;\n\t\t\t\ty = x;\n\t\t\t\tx = keep % y;\n\t\t\t}", "keep = y", "keep", "y", "y = x", "y", "x", "x = keep % y", "x", "keep % y", "keep", "y", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "public static void main(String[] args) {\n\t\tMain obj = new Main();\n\t\tobj.input();\n\t\tobj.conpute();\n\t}", "main", "{\n\t\tMain obj = new Main();\n\t\tobj.input();\n\t\tobj.conpute();\n\t}", "Main obj = new Main();", "obj", "new Main()", "obj.input()", "obj.input", "obj", "obj.conpute()", "obj.conpute", "obj", "String[] args", "args", "public class Main {\n\tScanner sc = new Scanner(System.in);\n\tint x,y;\t\n\tint keep=0;\n\t\n\tpublic void input() {\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t}\n\t\n\tpublic void conpute() {\n\t\tif(x > y) {\n\t\t\twhile(x%y != 0) {\n\t\t\t\tkeep = x;\n\t\t\t\tx = y;\n\t\t\t\ty = keep % y;\n\t\t\t}\n\t\t\tSystem.out.println(y);\n\t\t}else {\n\t\t\twhile(y%x != 0) {\n\t\t\t\tkeep = y;\n\t\t\t\ty = x;\n\t\t\t\tx = keep % y;\n\t\t\t}\n\t\t\tSystem.out.println(x);\n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain obj = new Main();\n\t\tobj.input();\n\t\tobj.conpute();\n\t}\n}", "public class Main {\n\tScanner sc = new Scanner(System.in);\n\tint x,y;\t\n\tint keep=0;\n\t\n\tpublic void input() {\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t}\n\t\n\tpublic void conpute() {\n\t\tif(x > y) {\n\t\t\twhile(x%y != 0) {\n\t\t\t\tkeep = x;\n\t\t\t\tx = y;\n\t\t\t\ty = keep % y;\n\t\t\t}\n\t\t\tSystem.out.println(y);\n\t\t}else {\n\t\t\twhile(y%x != 0) {\n\t\t\t\tkeep = y;\n\t\t\t\ty = x;\n\t\t\t\tx = keep % y;\n\t\t\t}\n\t\t\tSystem.out.println(x);\n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain obj = new Main();\n\t\tobj.input();\n\t\tobj.conpute();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { Scanner sc = new Scanner(System.in); int x,y; int keep=0; public void input() { x = sc.nextInt(); y = sc.nextInt(); } public void conpute() { if(x > y) { while(x%y != 0) { keep = x; x = y; y = keep % y; } System.out.println(y); }else { while(y%x != 0) { keep = y; y = x; x = keep % y; } System.out.println(x); } } public static void main(String[] args) { Main obj = new Main(); obj.input(); obj.conpute(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 42, 2, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 49, 5 ], [ 49, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 31, 33 ], [ 28, 34 ], [ 34, 35 ], [ 34, 36 ], [ 28, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 6, 46 ], [ 46, 47 ], [ 0, 48 ], [ 48, 49 ], [ 48, 50 ] ]
[ "import java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int x = scan.nextInt();\n int y = scan.nextInt();\n int r;\n while(x != 0){\n r = y%x;\n y = x;\n x = r;\n }\n System.out.println(y);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int x = scan.nextInt();\n int y = scan.nextInt();\n int r;\n while(x != 0){\n r = y%x;\n y = x;\n x = r;\n }\n System.out.println(y);\n }\n}", "Main", "public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int x = scan.nextInt();\n int y = scan.nextInt();\n int r;\n while(x != 0){\n r = y%x;\n y = x;\n x = r;\n }\n System.out.println(y);\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int x = scan.nextInt();\n int y = scan.nextInt();\n int r;\n while(x != 0){\n r = y%x;\n y = x;\n x = r;\n }\n System.out.println(y);\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int x = scan.nextInt();", "x", "scan.nextInt()", "scan.nextInt", "scan", "int y = scan.nextInt();", "y", "scan.nextInt()", "scan.nextInt", "scan", "int r;", "r", "while(x != 0){\n r = y%x;\n y = x;\n x = r;\n }", "x != 0", "x", "0", "{\n r = y%x;\n y = x;\n x = r;\n }", "r = y%x", "r", "y%x", "y", "x", "y = x", "y", "x", "x = r", "x", "r", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int x = scan.nextInt();\n int y = scan.nextInt();\n int r;\n while(x != 0){\n r = y%x;\n y = x;\n x = r;\n }\n System.out.println(y);\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int x = scan.nextInt();\n int y = scan.nextInt();\n int r;\n while(x != 0){\n r = y%x;\n y = x;\n x = r;\n }\n System.out.println(y);\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int x = scan.nextInt(); int y = scan.nextInt(); int r; while(x != 0){ r = y%x; y = x; x = r; } System.out.println(y); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 41, 13, 2, 13, 13, 42, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 86, 11 ], [ 86, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 50, 52 ], [ 46, 53 ], [ 53, 54 ], [ 53, 55 ], [ 14, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 14, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 69, 70 ], [ 69, 71 ], [ 65, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 14, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 12, 83 ], [ 83, 84 ], [ 0, 85 ], [ 85, 86 ], [ 85, 87 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString []input_array=input.readLine().split(\" \");\n\n\t\tint value_x=Integer.parseInt(input_array[0]);\n\n\t\tint value_y=Integer.parseInt(input_array[1]);\n\n\t\tif(value_x<value_y){\n\n\t\t\tint num=value_x;\n\n\t\t\tvalue_x=value_y;\n\n\t\t\tvalue_y=num;\n\t\t}\n\n\t\tint r=value_x%value_y;\n\n\t\twhile(r!=0){\n\n\t\t\tvalue_x=value_y;\n\n\t\t\tvalue_y=r;\n\n\t\t\tr=value_x%value_y;\n\n\t\t\t}\n\n\n\t\tSystem.out.println(value_y);\n\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString []input_array=input.readLine().split(\" \");\n\n\t\tint value_x=Integer.parseInt(input_array[0]);\n\n\t\tint value_y=Integer.parseInt(input_array[1]);\n\n\t\tif(value_x<value_y){\n\n\t\t\tint num=value_x;\n\n\t\t\tvalue_x=value_y;\n\n\t\t\tvalue_y=num;\n\t\t}\n\n\t\tint r=value_x%value_y;\n\n\t\twhile(r!=0){\n\n\t\t\tvalue_x=value_y;\n\n\t\t\tvalue_y=r;\n\n\t\t\tr=value_x%value_y;\n\n\t\t\t}\n\n\n\t\tSystem.out.println(value_y);\n\n\t}\n\n}", "Main", "public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString []input_array=input.readLine().split(\" \");\n\n\t\tint value_x=Integer.parseInt(input_array[0]);\n\n\t\tint value_y=Integer.parseInt(input_array[1]);\n\n\t\tif(value_x<value_y){\n\n\t\t\tint num=value_x;\n\n\t\t\tvalue_x=value_y;\n\n\t\t\tvalue_y=num;\n\t\t}\n\n\t\tint r=value_x%value_y;\n\n\t\twhile(r!=0){\n\n\t\t\tvalue_x=value_y;\n\n\t\t\tvalue_y=r;\n\n\t\t\tr=value_x%value_y;\n\n\t\t\t}\n\n\n\t\tSystem.out.println(value_y);\n\n\t}", "main", "{\n\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString []input_array=input.readLine().split(\" \");\n\n\t\tint value_x=Integer.parseInt(input_array[0]);\n\n\t\tint value_y=Integer.parseInt(input_array[1]);\n\n\t\tif(value_x<value_y){\n\n\t\t\tint num=value_x;\n\n\t\t\tvalue_x=value_y;\n\n\t\t\tvalue_y=num;\n\t\t}\n\n\t\tint r=value_x%value_y;\n\n\t\twhile(r!=0){\n\n\t\t\tvalue_x=value_y;\n\n\t\t\tvalue_y=r;\n\n\t\t\tr=value_x%value_y;\n\n\t\t\t}\n\n\n\t\tSystem.out.println(value_y);\n\n\t}", "BufferedReader input = new BufferedReader(new InputStreamReader(System.in));", "input", "new BufferedReader(new InputStreamReader(System.in))", "String []input_array=input.readLine().split(\" \");", "input_array", "input.readLine().split(\" \")", "input.readLine().split", "input.readLine()", "input.readLine", "input", "\" \"", "int value_x=Integer.parseInt(input_array[0]);", "value_x", "Integer.parseInt(input_array[0])", "Integer.parseInt", "Integer", "input_array[0]", "input_array", "0", "int value_y=Integer.parseInt(input_array[1]);", "value_y", "Integer.parseInt(input_array[1])", "Integer.parseInt", "Integer", "input_array[1]", "input_array", "1", "if(value_x<value_y){\n\n\t\t\tint num=value_x;\n\n\t\t\tvalue_x=value_y;\n\n\t\t\tvalue_y=num;\n\t\t}", "value_x<value_y", "value_x", "value_y", "{\n\n\t\t\tint num=value_x;\n\n\t\t\tvalue_x=value_y;\n\n\t\t\tvalue_y=num;\n\t\t}", "int num=value_x;", "num", "value_x", "value_x=value_y", "value_x", "value_y", "value_y=num", "value_y", "num", "int r=value_x%value_y;", "r", "value_x%value_y", "value_x", "value_y", "while(r!=0){\n\n\t\t\tvalue_x=value_y;\n\n\t\t\tvalue_y=r;\n\n\t\t\tr=value_x%value_y;\n\n\t\t\t}", "r!=0", "r", "0", "{\n\n\t\t\tvalue_x=value_y;\n\n\t\t\tvalue_y=r;\n\n\t\t\tr=value_x%value_y;\n\n\t\t\t}", "value_x=value_y", "value_x", "value_y", "value_y=r", "value_y", "r", "r=value_x%value_y", "r", "value_x%value_y", "value_x", "value_y", "System.out.println(value_y)", "System.out.println", "System.out", "System", "System.out", "value_y", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString []input_array=input.readLine().split(\" \");\n\n\t\tint value_x=Integer.parseInt(input_array[0]);\n\n\t\tint value_y=Integer.parseInt(input_array[1]);\n\n\t\tif(value_x<value_y){\n\n\t\t\tint num=value_x;\n\n\t\t\tvalue_x=value_y;\n\n\t\t\tvalue_y=num;\n\t\t}\n\n\t\tint r=value_x%value_y;\n\n\t\twhile(r!=0){\n\n\t\t\tvalue_x=value_y;\n\n\t\t\tvalue_y=r;\n\n\t\t\tr=value_x%value_y;\n\n\t\t\t}\n\n\n\t\tSystem.out.println(value_y);\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString []input_array=input.readLine().split(\" \");\n\n\t\tint value_x=Integer.parseInt(input_array[0]);\n\n\t\tint value_y=Integer.parseInt(input_array[1]);\n\n\t\tif(value_x<value_y){\n\n\t\t\tint num=value_x;\n\n\t\t\tvalue_x=value_y;\n\n\t\t\tvalue_y=num;\n\t\t}\n\n\t\tint r=value_x%value_y;\n\n\t\twhile(r!=0){\n\n\t\t\tvalue_x=value_y;\n\n\t\t\tvalue_y=r;\n\n\t\t\tr=value_x%value_y;\n\n\t\t\t}\n\n\n\t\tSystem.out.println(value_y);\n\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); String []input_array=input.readLine().split(" "); int value_x=Integer.parseInt(input_array[0]); int value_y=Integer.parseInt(input_array[1]); if(value_x<value_y){ int num=value_x; value_x=value_y; value_y=num; } int r=value_x%value_y; while(r!=0){ value_x=value_y; value_y=r; r=value_x%value_y; } System.out.println(value_y); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 13, 42, 2, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 13, 13, 4, 13, 13, 13, 4, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 69, 5 ], [ 69, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 12, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 19, 21 ], [ 16, 22 ], [ 22, 23 ], [ 22, 24 ], [ 16, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 6, 34 ], [ 34, 35 ], [ 6, 36 ], [ 36, 37 ], [ 69, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 40, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 40, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 58, 60 ], [ 58, 61 ], [ 54, 62 ], [ 62, 63 ], [ 62, 64 ], [ 62, 65 ], [ 38, 66 ], [ 66, 67 ], [ 0, 68 ], [ 68, 69 ], [ 68, 70 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tpublic static void calcu(int a,int b){\n\t\tint ans=a;\n\t\twhile(b!=0){\n\t\t\tans = a % b; \n\t\t\ta = b; \n\t\t\tb = ans; \n\t\t}\n\t\tSystem.out.println(a);\n\t}\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tif(a>b)\n\t\t\tcalcu(a,b);\n\t\telse\n\t\t\tcalcu(b,a);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void calcu(int a,int b){\n\t\tint ans=a;\n\t\twhile(b!=0){\n\t\t\tans = a % b; \n\t\t\ta = b; \n\t\t\tb = ans; \n\t\t}\n\t\tSystem.out.println(a);\n\t}\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tif(a>b)\n\t\t\tcalcu(a,b);\n\t\telse\n\t\t\tcalcu(b,a);\n\t}\n\n}", "Main", "public static void calcu(int a,int b){\n\t\tint ans=a;\n\t\twhile(b!=0){\n\t\t\tans = a % b; \n\t\t\ta = b; \n\t\t\tb = ans; \n\t\t}\n\t\tSystem.out.println(a);\n\t}", "calcu", "{\n\t\tint ans=a;\n\t\twhile(b!=0){\n\t\t\tans = a % b; \n\t\t\ta = b; \n\t\t\tb = ans; \n\t\t}\n\t\tSystem.out.println(a);\n\t}", "int ans=a;", "ans", "a", "while(b!=0){\n\t\t\tans = a % b; \n\t\t\ta = b; \n\t\t\tb = ans; \n\t\t}", "b!=0", "b", "0", "{\n\t\t\tans = a % b; \n\t\t\ta = b; \n\t\t\tb = ans; \n\t\t}", "ans = a % b", "ans", "a % b", "a", "b", "a = b", "a", "b", "b = ans", "b", "ans", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "int a", "a", "int b", "b", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tif(a>b)\n\t\t\tcalcu(a,b);\n\t\telse\n\t\t\tcalcu(b,a);\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tif(a>b)\n\t\t\tcalcu(a,b);\n\t\telse\n\t\t\tcalcu(b,a);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "int b = scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "if(a>b)\n\t\t\tcalcu(a,b);\n\t\telse\n\t\t\tcalcu(b,a);", "a>b", "a", "b", "calcu(a,b)", "calcu", "a", "b", "calcu(b,a)", "calcu", "b", "a", "String[] args", "args", "public class Main {\n\tpublic static void calcu(int a,int b){\n\t\tint ans=a;\n\t\twhile(b!=0){\n\t\t\tans = a % b; \n\t\t\ta = b; \n\t\t\tb = ans; \n\t\t}\n\t\tSystem.out.println(a);\n\t}\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tif(a>b)\n\t\t\tcalcu(a,b);\n\t\telse\n\t\t\tcalcu(b,a);\n\t}\n\n}", "public class Main {\n\tpublic static void calcu(int a,int b){\n\t\tint ans=a;\n\t\twhile(b!=0){\n\t\t\tans = a % b; \n\t\t\ta = b; \n\t\t\tb = ans; \n\t\t}\n\t\tSystem.out.println(a);\n\t}\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tif(a>b)\n\t\t\tcalcu(a,b);\n\t\telse\n\t\t\tcalcu(b,a);\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void calcu(int a,int b){ int ans=a; while(b!=0){ ans = a % b; a = b; b = ans; } System.out.println(a); } public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); if(a>b) calcu(a,b); else calcu(b,a); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 4, 18, 18, 13, 13, 4, 13, 18, 13, 17, 18, 13, 17, 23, 13, 12, 13, 30, 41, 13, 41, 13, 14, 2, 13, 13, 30, 29, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 30, 0, 13, 13, 0, 13, 13, 42, 17, 30, 41, 13, 2, 13, 13, 14, 2, 13, 17, 30, 29, 13, 30, 0, 13, 13, 0, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 89, 5 ], [ 89, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 15, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 6, 28 ], [ 28, 29 ], [ 89, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 35, 36 ], [ 32, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 37, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 52, 54 ], [ 44, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 59, 61 ], [ 32, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 64, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 75, 76 ], [ 70, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 81, 83 ], [ 30, 84 ], [ 84, 85 ], [ 30, 86 ], [ 86, 87 ], [ 0, 88 ], [ 88, 89 ], [ 88, 90 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n System.out.println(greatestCommonDivisor(a[0], a[1]));\n }\n\n private static int greatestCommonDivisor(int a, int b) {\n int big, small;\n if (a == b) {\n return a;\n } else if (a > b) {\n big = a;\n small = b;\n } else {\n big = b;\n small = a;\n }\n\n while (true) {\n int x = big % small;\n if (x == 0) {\n return small;\n } else {\n big = small;\n small = x;\n }\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n System.out.println(greatestCommonDivisor(a[0], a[1]));\n }\n\n private static int greatestCommonDivisor(int a, int b) {\n int big, small;\n if (a == b) {\n return a;\n } else if (a > b) {\n big = a;\n small = b;\n } else {\n big = b;\n small = a;\n }\n\n while (true) {\n int x = big % small;\n if (x == 0) {\n return small;\n } else {\n big = small;\n small = x;\n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n System.out.println(greatestCommonDivisor(a[0], a[1]));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n System.out.println(greatestCommonDivisor(a[0], a[1]));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int[] a = new int[]{sc.nextInt(), sc.nextInt()};", "a", "new int[]{sc.nextInt(), sc.nextInt()}", "System.out.println(greatestCommonDivisor(a[0], a[1]))", "System.out.println", "System.out", "System", "System.out", "greatestCommonDivisor(a[0], a[1])", "greatestCommonDivisor", "a[0]", "a", "0", "a[1]", "a", "1", "String[] args", "args", "private static int greatestCommonDivisor(int a, int b) {\n int big, small;\n if (a == b) {\n return a;\n } else if (a > b) {\n big = a;\n small = b;\n } else {\n big = b;\n small = a;\n }\n\n while (true) {\n int x = big % small;\n if (x == 0) {\n return small;\n } else {\n big = small;\n small = x;\n }\n }\n }", "greatestCommonDivisor", "{\n int big, small;\n if (a == b) {\n return a;\n } else if (a > b) {\n big = a;\n small = b;\n } else {\n big = b;\n small = a;\n }\n\n while (true) {\n int x = big % small;\n if (x == 0) {\n return small;\n } else {\n big = small;\n small = x;\n }\n }\n }", "int big", "big", "small;", "small", "if (a == b) {\n return a;\n } else if (a > b) {\n big = a;\n small = b;\n } else {\n big = b;\n small = a;\n }", "a == b", "a", "b", "{\n return a;\n }", "return a;", "a", "if (a > b) {\n big = a;\n small = b;\n } else {\n big = b;\n small = a;\n }", "a > b", "a", "b", "{\n big = a;\n small = b;\n }", "big = a", "big", "a", "small = b", "small", "b", "{\n big = b;\n small = a;\n }", "big = b", "big", "b", "small = a", "small", "a", "while (true) {\n int x = big % small;\n if (x == 0) {\n return small;\n } else {\n big = small;\n small = x;\n }\n }", "true", "{\n int x = big % small;\n if (x == 0) {\n return small;\n } else {\n big = small;\n small = x;\n }\n }", "int x = big % small;", "x", "big % small", "big", "small", "if (x == 0) {\n return small;\n } else {\n big = small;\n small = x;\n }", "x == 0", "x", "0", "{\n return small;\n }", "return small;", "small", "{\n big = small;\n small = x;\n }", "big = small", "big", "small", "small = x", "small", "x", "int a", "a", "int b", "b", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n System.out.println(greatestCommonDivisor(a[0], a[1]));\n }\n\n private static int greatestCommonDivisor(int a, int b) {\n int big, small;\n if (a == b) {\n return a;\n } else if (a > b) {\n big = a;\n small = b;\n } else {\n big = b;\n small = a;\n }\n\n while (true) {\n int x = big % small;\n if (x == 0) {\n return small;\n } else {\n big = small;\n small = x;\n }\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] a = new int[]{sc.nextInt(), sc.nextInt()};\n System.out.println(greatestCommonDivisor(a[0], a[1]));\n }\n\n private static int greatestCommonDivisor(int a, int b) {\n int big, small;\n if (a == b) {\n return a;\n } else if (a > b) {\n big = a;\n small = b;\n } else {\n big = b;\n small = a;\n }\n\n while (true) {\n int x = big % small;\n if (x == 0) {\n return small;\n } else {\n big = small;\n small = x;\n }\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[] a = new int[]{sc.nextInt(), sc.nextInt()}; System.out.println(greatestCommonDivisor(a[0], a[1])); } private static int greatestCommonDivisor(int a, int b) { int big, small; if (a == b) { return a; } else if (a > b) { big = a; small = b; } else { big = b; small = a; } while (true) { int x = big % small; if (x == 0) { return small; } else { big = small; small = x; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 4, 13, 18, 13, 17, 18, 13, 17, 23, 13, 12, 13, 30, 41, 13, 8, 2, 13, 13, 13, 13, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 29, 13, 14, 2, 13, 17, 30, 29, 17, 30, 14, 2, 13, 13, 30, 29, 4, 13, 13, 2, 13, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 13, 18 ], [ 9, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 19, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 25, 30 ], [ 19, 31 ], [ 31, 32 ], [ 31, 33 ], [ 19, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 55, 57 ], [ 19, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 6, 74 ], [ 74, 75 ], [ 4, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 81, 86 ], [ 78, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 88, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 87, 99 ], [ 99, 100 ], [ 100, 101 ], [ 87, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 106, 107 ], [ 107, 108 ], [ 102, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 116, 119 ], [ 119, 120 ], [ 119, 121 ], [ 109, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 123, 126 ], [ 126, 127 ], [ 126, 128 ], [ 76, 129 ], [ 129, 130 ], [ 76, 131 ], [ 131, 132 ] ]
[ "import java.io.*;\n\nclass Main\n{\n \n public static void main(String[] args)\n {\n try{\n \t// ??\\???????????????\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n // ????????°???????????????\n //int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n int[] array = new int[2];\n \n for(int i = 0; i < 2; i++){\n array[i] = Integer.parseInt(str[i]);\n }\n System.out.println(String.valueOf(getGraterValue(array[0],array[1])));\n \n }catch(Exception e){\n System.out.println(e);\n }\n }\n \n public static int getGraterValue(int a,int b){\n\t \n\t int greaterValue = a > b ? a : b;\n\t if(a % greaterValue == 0 && b % greaterValue == 0)\n\t {\n\t\t return greaterValue;\n\t }\n\t else if(greaterValue < 2){\n\t\t return 1;\n\t }\n\t else{\n\t\t if(greaterValue == a){\n\t\t\t // x > y\n\t\t\t //gcd(x, y) = gcd(y, x%y)\n\t\t\t return getGraterValue(b,a % b);\n\t\t }\n\t\t return getGraterValue(a,b % a);\n\t }\n }\n}", "import java.io.*;", "io.*", "java", "class Main\n{\n \n public static void main(String[] args)\n {\n try{\n \t// ??\\???????????????\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n // ????????°???????????????\n //int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n int[] array = new int[2];\n \n for(int i = 0; i < 2; i++){\n array[i] = Integer.parseInt(str[i]);\n }\n System.out.println(String.valueOf(getGraterValue(array[0],array[1])));\n \n }catch(Exception e){\n System.out.println(e);\n }\n }\n \n public static int getGraterValue(int a,int b){\n\t \n\t int greaterValue = a > b ? a : b;\n\t if(a % greaterValue == 0 && b % greaterValue == 0)\n\t {\n\t\t return greaterValue;\n\t }\n\t else if(greaterValue < 2){\n\t\t return 1;\n\t }\n\t else{\n\t\t if(greaterValue == a){\n\t\t\t // x > y\n\t\t\t //gcd(x, y) = gcd(y, x%y)\n\t\t\t return getGraterValue(b,a % b);\n\t\t }\n\t\t return getGraterValue(a,b % a);\n\t }\n }\n}", "Main", "public static void main(String[] args)\n {\n try{\n \t// ??\\???????????????\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n // ????????°???????????????\n //int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n int[] array = new int[2];\n \n for(int i = 0; i < 2; i++){\n array[i] = Integer.parseInt(str[i]);\n }\n System.out.println(String.valueOf(getGraterValue(array[0],array[1])));\n \n }catch(Exception e){\n System.out.println(e);\n }\n }", "main", "{\n try{\n \t// ??\\???????????????\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n // ????????°???????????????\n //int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n int[] array = new int[2];\n \n for(int i = 0; i < 2; i++){\n array[i] = Integer.parseInt(str[i]);\n }\n System.out.println(String.valueOf(getGraterValue(array[0],array[1])));\n \n }catch(Exception e){\n System.out.println(e);\n }\n }", "try{\n \t// ??\\???????????????\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n // ????????°???????????????\n //int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n int[] array = new int[2];\n \n for(int i = 0; i < 2; i++){\n array[i] = Integer.parseInt(str[i]);\n }\n System.out.println(String.valueOf(getGraterValue(array[0],array[1])));\n \n }catch(Exception e){\n System.out.println(e);\n }", "catch(Exception e){\n System.out.println(e);\n }", "Exception e", "{\n System.out.println(e);\n }", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "{\n \t// ??\\???????????????\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n // ????????°???????????????\n //int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n int[] array = new int[2];\n \n for(int i = 0; i < 2; i++){\n array[i] = Integer.parseInt(str[i]);\n }\n System.out.println(String.valueOf(getGraterValue(array[0],array[1])));\n \n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] str = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int[] array = new int[2];", "array", "new int[2]", "2", "for(int i = 0; i < 2; i++){\n array[i] = Integer.parseInt(str[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 2", "i", "2", "i++", "i++", "i", "{\n array[i] = Integer.parseInt(str[i]);\n }", "{\n array[i] = Integer.parseInt(str[i]);\n }", "array[i] = Integer.parseInt(str[i])", "array[i]", "array", "i", "Integer.parseInt(str[i])", "Integer.parseInt", "Integer", "str[i]", "str", "i", "System.out.println(String.valueOf(getGraterValue(array[0],array[1])))", "System.out.println", "System.out", "System", "System.out", "String.valueOf(getGraterValue(array[0],array[1]))", "String.valueOf", "String", "getGraterValue(array[0],array[1])", "getGraterValue", "array[0]", "array", "0", "array[1]", "array", "1", "String[] args", "args", "public static int getGraterValue(int a,int b){\n\t \n\t int greaterValue = a > b ? a : b;\n\t if(a % greaterValue == 0 && b % greaterValue == 0)\n\t {\n\t\t return greaterValue;\n\t }\n\t else if(greaterValue < 2){\n\t\t return 1;\n\t }\n\t else{\n\t\t if(greaterValue == a){\n\t\t\t // x > y\n\t\t\t //gcd(x, y) = gcd(y, x%y)\n\t\t\t return getGraterValue(b,a % b);\n\t\t }\n\t\t return getGraterValue(a,b % a);\n\t }\n }", "getGraterValue", "{\n\t \n\t int greaterValue = a > b ? a : b;\n\t if(a % greaterValue == 0 && b % greaterValue == 0)\n\t {\n\t\t return greaterValue;\n\t }\n\t else if(greaterValue < 2){\n\t\t return 1;\n\t }\n\t else{\n\t\t if(greaterValue == a){\n\t\t\t // x > y\n\t\t\t //gcd(x, y) = gcd(y, x%y)\n\t\t\t return getGraterValue(b,a % b);\n\t\t }\n\t\t return getGraterValue(a,b % a);\n\t }\n }", "int greaterValue = a > b ? a : b;", "greaterValue", "a > b ? a : b", "a > b", "a", "b", "a", "b", "if(a % greaterValue == 0 && b % greaterValue == 0)\n\t {\n\t\t return greaterValue;\n\t }\n\t else if(greaterValue < 2){\n\t\t return 1;\n\t }\n\t else{\n\t\t if(greaterValue == a){\n\t\t\t // x > y\n\t\t\t //gcd(x, y) = gcd(y, x%y)\n\t\t\t return getGraterValue(b,a % b);\n\t\t }\n\t\t return getGraterValue(a,b % a);\n\t }", "a % greaterValue == 0 && b % greaterValue == 0", "a % greaterValue == 0", "a % greaterValue", "a", "greaterValue", "0", "b % greaterValue == 0", "b % greaterValue", "b", "greaterValue", "0", "{\n\t\t return greaterValue;\n\t }", "return greaterValue;", "greaterValue", "if(greaterValue < 2){\n\t\t return 1;\n\t }\n\t else{\n\t\t if(greaterValue == a){\n\t\t\t // x > y\n\t\t\t //gcd(x, y) = gcd(y, x%y)\n\t\t\t return getGraterValue(b,a % b);\n\t\t }\n\t\t return getGraterValue(a,b % a);\n\t }", "greaterValue < 2", "greaterValue", "2", "{\n\t\t return 1;\n\t }", "return 1;", "1", "{\n\t\t if(greaterValue == a){\n\t\t\t // x > y\n\t\t\t //gcd(x, y) = gcd(y, x%y)\n\t\t\t return getGraterValue(b,a % b);\n\t\t }\n\t\t return getGraterValue(a,b % a);\n\t }", "if(greaterValue == a){\n\t\t\t // x > y\n\t\t\t //gcd(x, y) = gcd(y, x%y)\n\t\t\t return getGraterValue(b,a % b);\n\t\t }", "greaterValue == a", "greaterValue", "a", "{\n\t\t\t // x > y\n\t\t\t //gcd(x, y) = gcd(y, x%y)\n\t\t\t return getGraterValue(b,a % b);\n\t\t }", "return getGraterValue(b,a % b);", "getGraterValue(b,a % b)", "getGraterValue", "b", "a % b", "a", "b", "return getGraterValue(a,b % a);", "getGraterValue(a,b % a)", "getGraterValue", "a", "b % a", "b", "a", "int a", "a", "int b", "b" ]
import java.io.*; class Main { public static void main(String[] args) { try{ // ??\??????????????? BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); // ????????°??????????????? //int n = Integer.parseInt(br.readLine()); String[] str = br.readLine().split(" "); int[] array = new int[2]; for(int i = 0; i < 2; i++){ array[i] = Integer.parseInt(str[i]); } System.out.println(String.valueOf(getGraterValue(array[0],array[1]))); }catch(Exception e){ System.out.println(e); } } public static int getGraterValue(int a,int b){ int greaterValue = a > b ? a : b; if(a % greaterValue == 0 && b % greaterValue == 0) { return greaterValue; } else if(greaterValue < 2){ return 1; } else{ if(greaterValue == a){ // x > y //gcd(x, y) = gcd(y, x%y) return getGraterValue(b,a % b); } return getGraterValue(a,b % a); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 29, 8, 2, 13, 17, 4, 13, 13, 2, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 2, 2, 13, 13, 4, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 84, 20 ], [ 84, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 29, 30 ], [ 29, 31 ], [ 29, 32 ], [ 32, 33 ], [ 32, 34 ], [ 25, 35 ], [ 21, 36 ], [ 36, 37 ], [ 21, 38 ], [ 38, 39 ], [ 84, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 48, 50 ], [ 48, 51 ], [ 40, 52 ], [ 52, 53 ], [ 40, 54 ], [ 54, 55 ], [ 84, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 58, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 58, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 77, 79 ], [ 77, 80 ], [ 56, 81 ], [ 81, 82 ], [ 0, 83 ], [ 83, 84 ], [ 83, 85 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigInteger;\nimport java.sql.Array;\nimport java.util.*;\n\npublic class Main {\n\n static long gcd (long a, long b) {return b>0?gcd(b,a%b):a;}\n static long lcm (long a, long b) {return a*b/gcd(a,b);}\n\n public static void main(String[] args){\n\t// write your code here\n Scanner sc=new Scanner(System.in);\n long x=sc.nextLong(),y=sc.nextLong();\n System.out.println(gcd(x,y));\n }\n}\n", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.math.BigInteger;", "BigInteger", "java.math", "import java.sql.Array;", "Array", "java.sql", "import java.util.*;", "util.*", "java", "public class Main {\n\n static long gcd (long a, long b) {return b>0?gcd(b,a%b):a;}\n static long lcm (long a, long b) {return a*b/gcd(a,b);}\n\n public static void main(String[] args){\n\t// write your code here\n Scanner sc=new Scanner(System.in);\n long x=sc.nextLong(),y=sc.nextLong();\n System.out.println(gcd(x,y));\n }\n}", "Main", "static long gcd (long a, long b) {return b>0?gcd(b,a%b):a;}", "gcd", "{return b>0?gcd(b,a%b):a;}", "return b>0?gcd(b,a%b):a;", "b>0?gcd(b,a%b):a", "b>0", "b", "0", "gcd(b,a%b)", "gcd", "b", "a%b", "a", "b", "a", "long a", "a", "long b", "b", "static long lcm (long a, long b) {return a*b/gcd(a,b);}", "lcm", "{return a*b/gcd(a,b);}", "return a*b/gcd(a,b);", "a*b/gcd(a,b)", "a*b", "a", "b", "gcd(a,b)", "gcd", "a", "b", "long a", "a", "long b", "b", "public static void main(String[] args){\n\t// write your code here\n Scanner sc=new Scanner(System.in);\n long x=sc.nextLong(),y=sc.nextLong();\n System.out.println(gcd(x,y));\n }", "main", "{\n\t// write your code here\n Scanner sc=new Scanner(System.in);\n long x=sc.nextLong(),y=sc.nextLong();\n System.out.println(gcd(x,y));\n }", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "long x=sc.nextLong()", "x", "sc.nextLong()", "sc.nextLong", "sc", "y=sc.nextLong();", "y", "sc.nextLong()", "sc.nextLong", "sc", "System.out.println(gcd(x,y))", "System.out.println", "System.out", "System", "System.out", "gcd(x,y)", "gcd", "x", "y", "String[] args", "args", "public class Main {\n\n static long gcd (long a, long b) {return b>0?gcd(b,a%b):a;}\n static long lcm (long a, long b) {return a*b/gcd(a,b);}\n\n public static void main(String[] args){\n\t// write your code here\n Scanner sc=new Scanner(System.in);\n long x=sc.nextLong(),y=sc.nextLong();\n System.out.println(gcd(x,y));\n }\n}", "public class Main {\n\n static long gcd (long a, long b) {return b>0?gcd(b,a%b):a;}\n static long lcm (long a, long b) {return a*b/gcd(a,b);}\n\n public static void main(String[] args){\n\t// write your code here\n Scanner sc=new Scanner(System.in);\n long x=sc.nextLong(),y=sc.nextLong();\n System.out.println(gcd(x,y));\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigInteger; import java.sql.Array; import java.util.*; public class Main { static long gcd (long a, long b) {return b>0?gcd(b,a%b):a;} static long lcm (long a, long b) {return a*b/gcd(a,b);} public static void main(String[] args){ // write your code here Scanner sc=new Scanner(System.in); long x=sc.nextLong(),y=sc.nextLong(); System.out.println(gcd(x,y)); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 14, 2, 13, 13, 30, 4, 13, 13, 13, 30, 4, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 0, 13, 13, 30, 4, 13, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 96, 11 ], [ 96, 12 ], [ 12, 13 ], [ 96, 14 ], [ 14, 15 ], [ 96, 16 ], [ 16, 17 ], [ 96, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 26, 31 ], [ 20, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 37, 39 ], [ 20, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 20, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 53, 56 ], [ 48, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 58, 61 ], [ 20, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 18, 68 ], [ 68, 69 ], [ 96, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 72, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 78, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 87, 90 ], [ 70, 91 ], [ 91, 92 ], [ 70, 93 ], [ 93, 94 ], [ 0, 95 ], [ 95, 96 ], [ 95, 97 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\tpublic static int x;\n\tpublic static int y;\n\tpublic static int z;\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] strArr = br.readLine().split(\" \");\n\t\tx= Integer.parseInt(strArr[0]);\n\t\ty = Integer.parseInt(strArr[1]);\n\t\tif(x > y){\n\t\t\tsolve(x,y);\n\t\t}\n\t\telse{\n\t\t\tsolve(y,x);\n\t\t}\n\t\tSystem.out.println(z);\n\n\t}\n\n\tpublic static void solve(int big,int small){\n\t\tz = big % small;\n\t\tif (z == 0){\n\t\t\tz = small;\n\t\t}\n\t\telse{\n\t\t\tsolve(small,z);\n\t\t}\n\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main{\n\tpublic static int x;\n\tpublic static int y;\n\tpublic static int z;\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] strArr = br.readLine().split(\" \");\n\t\tx= Integer.parseInt(strArr[0]);\n\t\ty = Integer.parseInt(strArr[1]);\n\t\tif(x > y){\n\t\t\tsolve(x,y);\n\t\t}\n\t\telse{\n\t\t\tsolve(y,x);\n\t\t}\n\t\tSystem.out.println(z);\n\n\t}\n\n\tpublic static void solve(int big,int small){\n\t\tz = big % small;\n\t\tif (z == 0){\n\t\t\tz = small;\n\t\t}\n\t\telse{\n\t\t\tsolve(small,z);\n\t\t}\n\n\t}\n\n}", "Main", "public static int x;", "x", "public static int y;", "y", "public static int z;", "z", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] strArr = br.readLine().split(\" \");\n\t\tx= Integer.parseInt(strArr[0]);\n\t\ty = Integer.parseInt(strArr[1]);\n\t\tif(x > y){\n\t\t\tsolve(x,y);\n\t\t}\n\t\telse{\n\t\t\tsolve(y,x);\n\t\t}\n\t\tSystem.out.println(z);\n\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] strArr = br.readLine().split(\" \");\n\t\tx= Integer.parseInt(strArr[0]);\n\t\ty = Integer.parseInt(strArr[1]);\n\t\tif(x > y){\n\t\t\tsolve(x,y);\n\t\t}\n\t\telse{\n\t\t\tsolve(y,x);\n\t\t}\n\t\tSystem.out.println(z);\n\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] strArr = br.readLine().split(\" \");", "strArr", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "x= Integer.parseInt(strArr[0])", "x", "Integer.parseInt(strArr[0])", "Integer.parseInt", "Integer", "strArr[0]", "strArr", "0", "y = Integer.parseInt(strArr[1])", "y", "Integer.parseInt(strArr[1])", "Integer.parseInt", "Integer", "strArr[1]", "strArr", "1", "if(x > y){\n\t\t\tsolve(x,y);\n\t\t}\n\t\telse{\n\t\t\tsolve(y,x);\n\t\t}", "x > y", "x", "y", "{\n\t\t\tsolve(x,y);\n\t\t}", "solve(x,y)", "solve", "x", "y", "{\n\t\t\tsolve(y,x);\n\t\t}", "solve(y,x)", "solve", "y", "x", "System.out.println(z)", "System.out.println", "System.out", "System", "System.out", "z", "String[] args", "args", "public static void solve(int big,int small){\n\t\tz = big % small;\n\t\tif (z == 0){\n\t\t\tz = small;\n\t\t}\n\t\telse{\n\t\t\tsolve(small,z);\n\t\t}\n\n\t}", "solve", "{\n\t\tz = big % small;\n\t\tif (z == 0){\n\t\t\tz = small;\n\t\t}\n\t\telse{\n\t\t\tsolve(small,z);\n\t\t}\n\n\t}", "z = big % small", "z", "big % small", "big", "small", "if (z == 0){\n\t\t\tz = small;\n\t\t}\n\t\telse{\n\t\t\tsolve(small,z);\n\t\t}", "z == 0", "z", "0", "{\n\t\t\tz = small;\n\t\t}", "z = small", "z", "small", "{\n\t\t\tsolve(small,z);\n\t\t}", "solve(small,z)", "solve", "small", "z", "int big", "big", "int small", "small", "public class Main{\n\tpublic static int x;\n\tpublic static int y;\n\tpublic static int z;\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] strArr = br.readLine().split(\" \");\n\t\tx= Integer.parseInt(strArr[0]);\n\t\ty = Integer.parseInt(strArr[1]);\n\t\tif(x > y){\n\t\t\tsolve(x,y);\n\t\t}\n\t\telse{\n\t\t\tsolve(y,x);\n\t\t}\n\t\tSystem.out.println(z);\n\n\t}\n\n\tpublic static void solve(int big,int small){\n\t\tz = big % small;\n\t\tif (z == 0){\n\t\t\tz = small;\n\t\t}\n\t\telse{\n\t\t\tsolve(small,z);\n\t\t}\n\n\t}\n\n}", "public class Main{\n\tpublic static int x;\n\tpublic static int y;\n\tpublic static int z;\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] strArr = br.readLine().split(\" \");\n\t\tx= Integer.parseInt(strArr[0]);\n\t\ty = Integer.parseInt(strArr[1]);\n\t\tif(x > y){\n\t\t\tsolve(x,y);\n\t\t}\n\t\telse{\n\t\t\tsolve(y,x);\n\t\t}\n\t\tSystem.out.println(z);\n\n\t}\n\n\tpublic static void solve(int big,int small){\n\t\tz = big % small;\n\t\tif (z == 0){\n\t\t\tz = small;\n\t\t}\n\t\telse{\n\t\t\tsolve(small,z);\n\t\t}\n\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main{ public static int x; public static int y; public static int z; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] strArr = br.readLine().split(" "); x= Integer.parseInt(strArr[0]); y = Integer.parseInt(strArr[1]); if(x > y){ solve(x,y); } else{ solve(y,x); } System.out.println(z); } public static void solve(int big,int small){ z = big % small; if (z == 0){ z = small; } else{ solve(small,z); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 2, 13, 13, 17, 30, 3, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 67, 5 ], [ 67, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 30, 32 ], [ 25, 33 ], [ 33, 34 ], [ 34, 35 ], [ 25, 36 ], [ 37, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 38, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 50, 56 ], [ 56, 57 ], [ 8, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 6, 64 ], [ 64, 65 ], [ 0, 66 ], [ 66, 67 ], [ 66, 68 ] ]
[ "import java.util.Scanner;\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long y = sc.nextLong();\n long z = 1;\n for(int i = 1; i <= x; i++){\n if(x%i == 0){\n z = x/i;\n if(y%z == 0){\n break;\n }\n }\n }\n System.out.println(z);\n } \n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long y = sc.nextLong();\n long z = 1;\n for(int i = 1; i <= x; i++){\n if(x%i == 0){\n z = x/i;\n if(y%z == 0){\n break;\n }\n }\n }\n System.out.println(z);\n } \n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long y = sc.nextLong();\n long z = 1;\n for(int i = 1; i <= x; i++){\n if(x%i == 0){\n z = x/i;\n if(y%z == 0){\n break;\n }\n }\n }\n System.out.println(z);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long y = sc.nextLong();\n long z = 1;\n for(int i = 1; i <= x; i++){\n if(x%i == 0){\n z = x/i;\n if(y%z == 0){\n break;\n }\n }\n }\n System.out.println(z);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long x = sc.nextLong();", "x", "sc.nextLong()", "sc.nextLong", "sc", "long y = sc.nextLong();", "y", "sc.nextLong()", "sc.nextLong", "sc", "long z = 1;", "z", "1", "for(int i = 1; i <= x; i++){\n if(x%i == 0){\n z = x/i;\n if(y%z == 0){\n break;\n }\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= x", "i", "x", "i++", "i++", "i", "{\n if(x%i == 0){\n z = x/i;\n if(y%z == 0){\n break;\n }\n }\n }", "{\n if(x%i == 0){\n z = x/i;\n if(y%z == 0){\n break;\n }\n }\n }", "if(x%i == 0){\n z = x/i;\n if(y%z == 0){\n break;\n }\n }", "x%i == 0", "x%i", "x", "i", "0", "{\n z = x/i;\n if(y%z == 0){\n break;\n }\n }", "z = x/i", "z", "x/i", "x", "i", "if(y%z == 0){\n break;\n }", "y%z == 0", "y%z", "y", "z", "0", "{\n break;\n }", "break;", "System.out.println(z)", "System.out.println", "System.out", "System", "System.out", "z", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long y = sc.nextLong();\n long z = 1;\n for(int i = 1; i <= x; i++){\n if(x%i == 0){\n z = x/i;\n if(y%z == 0){\n break;\n }\n }\n }\n System.out.println(z);\n } \n}", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long y = sc.nextLong();\n long z = 1;\n for(int i = 1; i <= x; i++){\n if(x%i == 0){\n z = x/i;\n if(y%z == 0){\n break;\n }\n }\n }\n System.out.println(z);\n } \n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); long x = sc.nextLong(); long y = sc.nextLong(); long z = 1; for(int i = 1; i <= x; i++){ if(x%i == 0){ z = x/i; if(y%z == 0){ break; } } } System.out.println(z); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 42, 17, 30, 14, 2, 13, 13, 30, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 0, 13, 13, 3, 30, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 0, 13, 13, 3, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 74, 5 ], [ 74, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 35, 37 ], [ 32, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 28, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 8, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 8, 68 ], [ 68, 69 ], [ 69, 70 ], [ 6, 71 ], [ 71, 72 ], [ 0, 73 ], [ 73, 74 ], [ 73, 75 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n public static void main(String [] args){\n Scanner am = new Scanner(System.in);\n int x =am.nextInt();\n int y =am.nextInt();\n int c=1;\n while(true){\n if(x>y){\n x=x%y;\n if(x==0){\n c=y;\n break;\n }\n }\n else{\n y=y%x;\n if(y==0){\n c=x;\n break;\n }\n }\n \n }\n\n /*for(int a=1;a<=x && a<=y;a++){\n if(x%a==0 && y%a==0)c=a;\n }\n */\n System.out.println(c);\n am.close(); \n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String [] args){\n Scanner am = new Scanner(System.in);\n int x =am.nextInt();\n int y =am.nextInt();\n int c=1;\n while(true){\n if(x>y){\n x=x%y;\n if(x==0){\n c=y;\n break;\n }\n }\n else{\n y=y%x;\n if(y==0){\n c=x;\n break;\n }\n }\n \n }\n\n /*for(int a=1;a<=x && a<=y;a++){\n if(x%a==0 && y%a==0)c=a;\n }\n */\n System.out.println(c);\n am.close(); \n }\n}", "Main", "public static void main(String [] args){\n Scanner am = new Scanner(System.in);\n int x =am.nextInt();\n int y =am.nextInt();\n int c=1;\n while(true){\n if(x>y){\n x=x%y;\n if(x==0){\n c=y;\n break;\n }\n }\n else{\n y=y%x;\n if(y==0){\n c=x;\n break;\n }\n }\n \n }\n\n /*for(int a=1;a<=x && a<=y;a++){\n if(x%a==0 && y%a==0)c=a;\n }\n */\n System.out.println(c);\n am.close(); \n }", "main", "{\n Scanner am = new Scanner(System.in);\n int x =am.nextInt();\n int y =am.nextInt();\n int c=1;\n while(true){\n if(x>y){\n x=x%y;\n if(x==0){\n c=y;\n break;\n }\n }\n else{\n y=y%x;\n if(y==0){\n c=x;\n break;\n }\n }\n \n }\n\n /*for(int a=1;a<=x && a<=y;a++){\n if(x%a==0 && y%a==0)c=a;\n }\n */\n System.out.println(c);\n am.close(); \n }", "Scanner am = new Scanner(System.in);", "am", "new Scanner(System.in)", "int x =am.nextInt();", "x", "am.nextInt()", "am.nextInt", "am", "int y =am.nextInt();", "y", "am.nextInt()", "am.nextInt", "am", "int c=1;", "c", "1", "while(true){\n if(x>y){\n x=x%y;\n if(x==0){\n c=y;\n break;\n }\n }\n else{\n y=y%x;\n if(y==0){\n c=x;\n break;\n }\n }\n \n }", "true", "{\n if(x>y){\n x=x%y;\n if(x==0){\n c=y;\n break;\n }\n }\n else{\n y=y%x;\n if(y==0){\n c=x;\n break;\n }\n }\n \n }", "if(x>y){\n x=x%y;\n if(x==0){\n c=y;\n break;\n }\n }\n else{\n y=y%x;\n if(y==0){\n c=x;\n break;\n }\n }", "x>y", "x", "y", "{\n x=x%y;\n if(x==0){\n c=y;\n break;\n }\n }", "x=x%y", "x", "x%y", "x", "y", "if(x==0){\n c=y;\n break;\n }", "x==0", "x", "0", "{\n c=y;\n break;\n }", "c=y", "c", "y", "break;", "{\n y=y%x;\n if(y==0){\n c=x;\n break;\n }\n }", "y=y%x", "y", "y%x", "y", "x", "if(y==0){\n c=x;\n break;\n }", "y==0", "y", "0", "{\n c=x;\n break;\n }", "c=x", "c", "x", "break;", "System.out.println(c)", "System.out.println", "System.out", "System", "System.out", "c", "am.close()", "am.close", "am", "String [] args", "args", "public class Main{\n public static void main(String [] args){\n Scanner am = new Scanner(System.in);\n int x =am.nextInt();\n int y =am.nextInt();\n int c=1;\n while(true){\n if(x>y){\n x=x%y;\n if(x==0){\n c=y;\n break;\n }\n }\n else{\n y=y%x;\n if(y==0){\n c=x;\n break;\n }\n }\n \n }\n\n /*for(int a=1;a<=x && a<=y;a++){\n if(x%a==0 && y%a==0)c=a;\n }\n */\n System.out.println(c);\n am.close(); \n }\n}", "public class Main{\n public static void main(String [] args){\n Scanner am = new Scanner(System.in);\n int x =am.nextInt();\n int y =am.nextInt();\n int c=1;\n while(true){\n if(x>y){\n x=x%y;\n if(x==0){\n c=y;\n break;\n }\n }\n else{\n y=y%x;\n if(y==0){\n c=x;\n break;\n }\n }\n \n }\n\n /*for(int a=1;a<=x && a<=y;a++){\n if(x%a==0 && y%a==0)c=a;\n }\n */\n System.out.println(c);\n am.close(); \n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String [] args){ Scanner am = new Scanner(System.in); int x =am.nextInt(); int y =am.nextInt(); int c=1; while(true){ if(x>y){ x=x%y; if(x==0){ c=y; break; } } else{ y=y%x; if(y==0){ c=x; break; } } } /*for(int a=1;a<=x && a<=y;a++){ if(x%a==0 && y%a==0)c=a; } */ System.out.println(c); am.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 2, 13, 13, 17, 30, 29, 13, 30, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 58, 5 ], [ 58, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 6, 31 ], [ 31, 32 ], [ 58, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 36, 42 ], [ 42, 43 ], [ 43, 44 ], [ 36, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 33, 53 ], [ 53, 54 ], [ 33, 55 ], [ 55, 56 ], [ 0, 57 ], [ 57, 58 ], [ 57, 59 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint a = in.nextInt();\n\t\tint b = in.nextInt();\n\t\tSystem.out.println(gcd(a,b));\n\t}\n\t\n\tpublic static int gcd(int x, int y) {\n\t\tif (x % y == 0) {\n\t\t\treturn y;\n\t\t}\n\t\telse {\n\t\t\treturn gcd(y, x % y);\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint a = in.nextInt();\n\t\tint b = in.nextInt();\n\t\tSystem.out.println(gcd(a,b));\n\t}\n\t\n\tpublic static int gcd(int x, int y) {\n\t\tif (x % y == 0) {\n\t\t\treturn y;\n\t\t}\n\t\telse {\n\t\t\treturn gcd(y, x % y);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint a = in.nextInt();\n\t\tint b = in.nextInt();\n\t\tSystem.out.println(gcd(a,b));\n\t}", "main", "{\n\t\tScanner in = new Scanner(System.in);\n\t\tint a = in.nextInt();\n\t\tint b = in.nextInt();\n\t\tSystem.out.println(gcd(a,b));\n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int a = in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "int b = in.nextInt();", "b", "in.nextInt()", "in.nextInt", "in", "System.out.println(gcd(a,b))", "System.out.println", "System.out", "System", "System.out", "gcd(a,b)", "gcd", "a", "b", "String[] args", "args", "public static int gcd(int x, int y) {\n\t\tif (x % y == 0) {\n\t\t\treturn y;\n\t\t}\n\t\telse {\n\t\t\treturn gcd(y, x % y);\n\t\t}\n\t}", "gcd", "{\n\t\tif (x % y == 0) {\n\t\t\treturn y;\n\t\t}\n\t\telse {\n\t\t\treturn gcd(y, x % y);\n\t\t}\n\t}", "if (x % y == 0) {\n\t\t\treturn y;\n\t\t}\n\t\telse {\n\t\t\treturn gcd(y, x % y);\n\t\t}", "x % y == 0", "x % y", "x", "y", "0", "{\n\t\t\treturn y;\n\t\t}", "return y;", "y", "{\n\t\t\treturn gcd(y, x % y);\n\t\t}", "return gcd(y, x % y);", "gcd(y, x % y)", "gcd", "y", "x % y", "x", "y", "int x", "x", "int y", "y", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint a = in.nextInt();\n\t\tint b = in.nextInt();\n\t\tSystem.out.println(gcd(a,b));\n\t}\n\t\n\tpublic static int gcd(int x, int y) {\n\t\tif (x % y == 0) {\n\t\t\treturn y;\n\t\t}\n\t\telse {\n\t\t\treturn gcd(y, x % y);\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint a = in.nextInt();\n\t\tint b = in.nextInt();\n\t\tSystem.out.println(gcd(a,b));\n\t}\n\t\n\tpublic static int gcd(int x, int y) {\n\t\tif (x % y == 0) {\n\t\t\treturn y;\n\t\t}\n\t\telse {\n\t\t\treturn gcd(y, x % y);\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); System.out.println(gcd(a,b)); } public static int gcd(int x, int y) { if (x % y == 0) { return y; } else { return gcd(y, x % y); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 20, 4, 18, 18, 13, 13, 4, 18, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 27, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 18, 39 ], [ 39, 40 ] ]
[ "import java.math.BigInteger;\nimport java.util.ArrayList;\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.Scanner;\n\nclass Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan=new Scanner(System.in);\n\t\tBigInteger bi1=new BigInteger(scan.next());\n\t\tBigInteger bi2=new BigInteger(scan.next());\n\t\tSystem.out.println(bi1.gcd(bi2));\n\t}\n}", "import java.math.BigInteger;", "BigInteger", "java.math", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Map;", "Map", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan=new Scanner(System.in);\n\t\tBigInteger bi1=new BigInteger(scan.next());\n\t\tBigInteger bi2=new BigInteger(scan.next());\n\t\tSystem.out.println(bi1.gcd(bi2));\n\t}\n}", "Main", "public static void main(String[] args)\n\t{\n\t\tScanner scan=new Scanner(System.in);\n\t\tBigInteger bi1=new BigInteger(scan.next());\n\t\tBigInteger bi2=new BigInteger(scan.next());\n\t\tSystem.out.println(bi1.gcd(bi2));\n\t}", "main", "{\n\t\tScanner scan=new Scanner(System.in);\n\t\tBigInteger bi1=new BigInteger(scan.next());\n\t\tBigInteger bi2=new BigInteger(scan.next());\n\t\tSystem.out.println(bi1.gcd(bi2));\n\t}", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "BigInteger bi1=new BigInteger(scan.next());", "bi1", "new BigInteger(scan.next())", "BigInteger bi2=new BigInteger(scan.next());", "bi2", "new BigInteger(scan.next())", "System.out.println(bi1.gcd(bi2))", "System.out.println", "System.out", "System", "System.out", "bi1.gcd(bi2)", "bi1.gcd", "bi1", "bi2", "String[] args", "args" ]
import java.math.BigInteger; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scan=new Scanner(System.in); BigInteger bi1=new BigInteger(scan.next()); BigInteger bi2=new BigInteger(scan.next()); System.out.println(bi1.gcd(bi2)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 17, 42, 17, 30, 14, 2, 13, 17, 30, 3, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 13, 13, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 71, 5 ], [ 71, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 6, 31 ], [ 31, 32 ], [ 71, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 42, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 48, 54 ], [ 54, 55 ], [ 54, 56 ], [ 48, 57 ], [ 57, 58 ], [ 57, 59 ], [ 48, 60 ], [ 60, 61 ], [ 60, 62 ], [ 60, 63 ], [ 35, 64 ], [ 64, 65 ], [ 33, 66 ], [ 66, 67 ], [ 33, 68 ], [ 68, 69 ], [ 0, 70 ], [ 70, 71 ], [ 70, 72 ] ]
[ "import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint x=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\tSystem.out.println(gcd(x,y));\n\t}\n\tstatic int gcd(int a,int b){\n\t\tint t=0;\n\t\twhile(true){\n\t\t\tif(b==0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tt=a%b;\n\t\t\t\ta=b;\n\t\t\t\tb=t;\n\t\t\t\tgcd(a,b);\n\t\t\t}\n\t\t}\n\t\treturn a;\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint x=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\tSystem.out.println(gcd(x,y));\n\t}\n\tstatic int gcd(int a,int b){\n\t\tint t=0;\n\t\twhile(true){\n\t\t\tif(b==0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tt=a%b;\n\t\t\t\ta=b;\n\t\t\t\tb=t;\n\t\t\t\tgcd(a,b);\n\t\t\t}\n\t\t}\n\t\treturn a;\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint x=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\tSystem.out.println(gcd(x,y));\n\t}", "main", "{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint x=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\tSystem.out.println(gcd(x,y));\n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x=sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y=sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println(gcd(x,y))", "System.out.println", "System.out", "System", "System.out", "gcd(x,y)", "gcd", "x", "y", "String[] args", "args", "static int gcd(int a,int b){\n\t\tint t=0;\n\t\twhile(true){\n\t\t\tif(b==0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tt=a%b;\n\t\t\t\ta=b;\n\t\t\t\tb=t;\n\t\t\t\tgcd(a,b);\n\t\t\t}\n\t\t}\n\t\treturn a;\n\t}", "gcd", "{\n\t\tint t=0;\n\t\twhile(true){\n\t\t\tif(b==0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tt=a%b;\n\t\t\t\ta=b;\n\t\t\t\tb=t;\n\t\t\t\tgcd(a,b);\n\t\t\t}\n\t\t}\n\t\treturn a;\n\t}", "int t=0;", "t", "0", "while(true){\n\t\t\tif(b==0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tt=a%b;\n\t\t\t\ta=b;\n\t\t\t\tb=t;\n\t\t\t\tgcd(a,b);\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tif(b==0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tt=a%b;\n\t\t\t\ta=b;\n\t\t\t\tb=t;\n\t\t\t\tgcd(a,b);\n\t\t\t}\n\t\t}", "if(b==0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tt=a%b;\n\t\t\t\ta=b;\n\t\t\t\tb=t;\n\t\t\t\tgcd(a,b);\n\t\t\t}", "b==0", "b", "0", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "{\n\t\t\t\tt=a%b;\n\t\t\t\ta=b;\n\t\t\t\tb=t;\n\t\t\t\tgcd(a,b);\n\t\t\t}", "t=a%b", "t", "a%b", "a", "b", "a=b", "a", "b", "b=t", "b", "t", "gcd(a,b)", "gcd", "a", "b", "return a;", "a", "int a", "a", "int b", "b", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint x=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\tSystem.out.println(gcd(x,y));\n\t}\n\tstatic int gcd(int a,int b){\n\t\tint t=0;\n\t\twhile(true){\n\t\t\tif(b==0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tt=a%b;\n\t\t\t\ta=b;\n\t\t\t\tb=t;\n\t\t\t\tgcd(a,b);\n\t\t\t}\n\t\t}\n\t\treturn a;\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint x=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\tSystem.out.println(gcd(x,y));\n\t}\n\tstatic int gcd(int a,int b){\n\t\tint t=0;\n\t\twhile(true){\n\t\t\tif(b==0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tt=a%b;\n\t\t\t\ta=b;\n\t\t\t\tb=t;\n\t\t\t\tgcd(a,b);\n\t\t\t}\n\t\t}\n\t\treturn a;\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc=new Scanner(System.in); int x=sc.nextInt(); int y=sc.nextInt(); System.out.println(gcd(x,y)); } static int gcd(int a,int b){ int t=0; while(true){ if(b==0){ break; }else{ t=a%b; a=b; b=t; gcd(a,b); } } return a; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 41, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 30, 0, 13, 13, 0, 13, 13, 41, 13, 42, 2, 0, 13, 2, 13, 13, 17, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 90, 5 ], [ 90, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 8, 41 ], [ 41, 42 ], [ 8, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 51, 53 ], [ 43, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 58, 60 ], [ 8, 61 ], [ 61, 62 ], [ 8, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 64, 70 ], [ 63, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 75, 77 ], [ 8, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 8, 84 ], [ 84, 85 ], [ 85, 86 ], [ 6, 87 ], [ 87, 88 ], [ 0, 89 ], [ 89, 90 ], [ 89, 91 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] arg){\n Scanner sc = new Scanner(System.in);\n\n String line = sc.nextLine();\n String[] arr = line.split(\" \");\n\n // String型をint型に変換\n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n\n int x;\n int y;\n\n if(a > b){\n x = a;\n y = b;\n } else{\n x = b;\n y = a;\n }\n\n // ユークリッドの互除法\n int c;\n while((c = x % y) != 0){\n x = y;\n y = c;\n }\n\n System.out.println(y);\n sc.close();\n\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] arg){\n Scanner sc = new Scanner(System.in);\n\n String line = sc.nextLine();\n String[] arr = line.split(\" \");\n\n // String型をint型に変換\n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n\n int x;\n int y;\n\n if(a > b){\n x = a;\n y = b;\n } else{\n x = b;\n y = a;\n }\n\n // ユークリッドの互除法\n int c;\n while((c = x % y) != 0){\n x = y;\n y = c;\n }\n\n System.out.println(y);\n sc.close();\n\n }\n}", "Main", "public static void main(String[] arg){\n Scanner sc = new Scanner(System.in);\n\n String line = sc.nextLine();\n String[] arr = line.split(\" \");\n\n // String型をint型に変換\n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n\n int x;\n int y;\n\n if(a > b){\n x = a;\n y = b;\n } else{\n x = b;\n y = a;\n }\n\n // ユークリッドの互除法\n int c;\n while((c = x % y) != 0){\n x = y;\n y = c;\n }\n\n System.out.println(y);\n sc.close();\n\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n String line = sc.nextLine();\n String[] arr = line.split(\" \");\n\n // String型をint型に変換\n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n\n int x;\n int y;\n\n if(a > b){\n x = a;\n y = b;\n } else{\n x = b;\n y = a;\n }\n\n // ユークリッドの互除法\n int c;\n while((c = x % y) != 0){\n x = y;\n y = c;\n }\n\n System.out.println(y);\n sc.close();\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String line = sc.nextLine();", "line", "sc.nextLine()", "sc.nextLine", "sc", "String[] arr = line.split(\" \");", "arr", "line.split(\" \")", "line.split", "line", "\" \"", "int a = Integer.parseInt(arr[0]);", "a", "Integer.parseInt(arr[0])", "Integer.parseInt", "Integer", "arr[0]", "arr", "0", "int b = Integer.parseInt(arr[1]);", "b", "Integer.parseInt(arr[1])", "Integer.parseInt", "Integer", "arr[1]", "arr", "1", "int x;", "x", "int y;", "y", "if(a > b){\n x = a;\n y = b;\n } else{\n x = b;\n y = a;\n }", "a > b", "a", "b", "{\n x = a;\n y = b;\n }", "x = a", "x", "a", "y = b", "y", "b", "{\n x = b;\n y = a;\n }", "x = b", "x", "b", "y = a", "y", "a", "int c;", "c", "while((c = x % y) != 0){\n x = y;\n y = c;\n }", "(c = x % y) != 0", "(c = x % y)", "c", "x % y", "x", "y", "0", "{\n x = y;\n y = c;\n }", "x = y", "x", "y", "y = c", "y", "c", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "sc.close()", "sc.close", "sc", "String[] arg", "arg", "public class Main {\n public static void main(String[] arg){\n Scanner sc = new Scanner(System.in);\n\n String line = sc.nextLine();\n String[] arr = line.split(\" \");\n\n // String型をint型に変換\n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n\n int x;\n int y;\n\n if(a > b){\n x = a;\n y = b;\n } else{\n x = b;\n y = a;\n }\n\n // ユークリッドの互除法\n int c;\n while((c = x % y) != 0){\n x = y;\n y = c;\n }\n\n System.out.println(y);\n sc.close();\n\n }\n}", "public class Main {\n public static void main(String[] arg){\n Scanner sc = new Scanner(System.in);\n\n String line = sc.nextLine();\n String[] arr = line.split(\" \");\n\n // String型をint型に変換\n int a = Integer.parseInt(arr[0]);\n int b = Integer.parseInt(arr[1]);\n\n int x;\n int y;\n\n if(a > b){\n x = a;\n y = b;\n } else{\n x = b;\n y = a;\n }\n\n // ユークリッドの互除法\n int c;\n while((c = x % y) != 0){\n x = y;\n y = c;\n }\n\n System.out.println(y);\n sc.close();\n\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] arg){ Scanner sc = new Scanner(System.in); String line = sc.nextLine(); String[] arr = line.split(" "); // String型をint型に変換 int a = Integer.parseInt(arr[0]); int b = Integer.parseInt(arr[1]); int x; int y; if(a > b){ x = a; y = b; } else{ x = b; y = a; } // ユークリッドの互除法 int c; while((c = x % y) != 0){ x = y; y = c; } System.out.println(y); sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 2, 13, 13, 17, 30, 41, 13, 2, 13, 13, 0, 13, 13, 0, 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 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 30, 32 ], [ 26, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 36, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 42, 48 ], [ 48, 49 ], [ 48, 50 ], [ 42, 51 ], [ 51, 52 ], [ 51, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 6, 60 ], [ 60, 61 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n \n if(x < y){\n \tint tmp = x;\n \tx = y;\n \ty = tmp;\n }\n\n while(x % y != 0){\n \tint tmp = x % y;\n \tx = y;\n \ty = tmp;\n }\n\tSystem.out.println(y);\n \n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n \n if(x < y){\n \tint tmp = x;\n \tx = y;\n \ty = tmp;\n }\n\n while(x % y != 0){\n \tint tmp = x % y;\n \tx = y;\n \ty = tmp;\n }\n\tSystem.out.println(y);\n \n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n \n if(x < y){\n \tint tmp = x;\n \tx = y;\n \ty = tmp;\n }\n\n while(x % y != 0){\n \tint tmp = x % y;\n \tx = y;\n \ty = tmp;\n }\n\tSystem.out.println(y);\n \n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n \n if(x < y){\n \tint tmp = x;\n \tx = y;\n \ty = tmp;\n }\n\n while(x % y != 0){\n \tint tmp = x % y;\n \tx = y;\n \ty = tmp;\n }\n\tSystem.out.println(y);\n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "if(x < y){\n \tint tmp = x;\n \tx = y;\n \ty = tmp;\n }", "x < y", "x", "y", "{\n \tint tmp = x;\n \tx = y;\n \ty = tmp;\n }", "int tmp = x;", "tmp", "x", "x = y", "x", "y", "y = tmp", "y", "tmp", "while(x % y != 0){\n \tint tmp = x % y;\n \tx = y;\n \ty = tmp;\n }", "x % y != 0", "x % y", "x", "y", "0", "{\n \tint tmp = x % y;\n \tx = y;\n \ty = tmp;\n }", "int tmp = x % y;", "tmp", "x % y", "x", "y", "x = y", "x", "y", "y = tmp", "y", "tmp", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); if(x < y){ int tmp = x; x = y; y = tmp; } while(x % y != 0){ int tmp = x % y; x = y; y = tmp; } System.out.println(y); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 30, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 47, 50 ], [ 12, 51 ], [ 51, 52 ], [ 10, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 61, 62 ], [ 56, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 65, 68 ], [ 68, 69 ], [ 68, 70 ], [ 53, 71 ], [ 71, 72 ], [ 53, 73 ], [ 73, 74 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\n\nclass Main{\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] input = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(input[0]);\n\t\tint y = Integer.parseInt(input[1]);\n\n\t\tSystem.out.println(gcd(x, y));\n\n\t}\n\n\tpublic static int gcd(int a, int b){\n\n\t\tif(b == 0){\n\t\t\treturn a;\n\t\t}else{\n\t\t\treturn gcd(b, a % b);\n\t\t}\n\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "class Main{\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] input = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(input[0]);\n\t\tint y = Integer.parseInt(input[1]);\n\n\t\tSystem.out.println(gcd(x, y));\n\n\t}\n\n\tpublic static int gcd(int a, int b){\n\n\t\tif(b == 0){\n\t\t\treturn a;\n\t\t}else{\n\t\t\treturn gcd(b, a % b);\n\t\t}\n\n\t}\n\n}", "Main", "public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] input = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(input[0]);\n\t\tint y = Integer.parseInt(input[1]);\n\n\t\tSystem.out.println(gcd(x, y));\n\n\t}", "main", "{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] input = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(input[0]);\n\t\tint y = Integer.parseInt(input[1]);\n\n\t\tSystem.out.println(gcd(x, y));\n\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] input = br.readLine().split(\" \");", "input", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int x = Integer.parseInt(input[0]);", "x", "Integer.parseInt(input[0])", "Integer.parseInt", "Integer", "input[0]", "input", "0", "int y = Integer.parseInt(input[1]);", "y", "Integer.parseInt(input[1])", "Integer.parseInt", "Integer", "input[1]", "input", "1", "System.out.println(gcd(x, y))", "System.out.println", "System.out", "System", "System.out", "gcd(x, y)", "gcd", "x", "y", "String[] args", "args", "public static int gcd(int a, int b){\n\n\t\tif(b == 0){\n\t\t\treturn a;\n\t\t}else{\n\t\t\treturn gcd(b, a % b);\n\t\t}\n\n\t}", "gcd", "{\n\n\t\tif(b == 0){\n\t\t\treturn a;\n\t\t}else{\n\t\t\treturn gcd(b, a % b);\n\t\t}\n\n\t}", "if(b == 0){\n\t\t\treturn a;\n\t\t}else{\n\t\t\treturn gcd(b, a % b);\n\t\t}", "b == 0", "b", "0", "{\n\t\t\treturn a;\n\t\t}", "return a;", "a", "{\n\t\t\treturn gcd(b, a % b);\n\t\t}", "return gcd(b, a % b);", "gcd(b, a % b)", "gcd", "b", "a % b", "a", "b", "int a", "a", "int b", "b" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; class Main{ public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] input = br.readLine().split(" "); int x = Integer.parseInt(input[0]); int y = Integer.parseInt(input[1]); System.out.println(gcd(x, y)); } public static int gcd(int a, int b){ if(b == 0){ return a; }else{ return gcd(b, a % b); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 0, 13, 20, 17, 41, 13, 4, 18, 20, 17, 42, 4, 18, 13, 30, 0, 18, 13, 13, 4, 18, 13, 40, 13, 42, 2, 4, 18, 13, 18, 13, 17, 18, 13, 17, 17, 30, 41, 13, 41, 13, 0, 13, 4, 18, 13, 18, 13, 17, 18, 13, 17, 0, 13, 2, 4, 18, 13, 18, 13, 17, 18, 13, 17, 13, 0, 18, 13, 17, 13, 0, 18, 13, 17, 13, 4, 18, 18, 13, 13, 4, 18, 13, 18, 13, 17, 18, 13, 17, 29, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 11, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 11, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 39, 47 ], [ 47, 48 ], [ 11, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 54, 56 ], [ 51, 57 ], [ 57, 58 ], [ 57, 59 ], [ 50, 60 ], [ 49, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 71, 72 ], [ 71, 73 ], [ 68, 74 ], [ 74, 75 ], [ 74, 76 ], [ 61, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 83, 84 ], [ 83, 85 ], [ 80, 86 ], [ 86, 87 ], [ 86, 88 ], [ 79, 89 ], [ 61, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 61, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 11, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 108, 109 ], [ 108, 110 ], [ 105, 111 ], [ 111, 112 ], [ 111, 113 ], [ 11, 114 ], [ 9, 115 ], [ 115, 116 ] ]
[ "import java.io.*;\nimport java.util.*;\n\nclass Main{\n public static void main(String[] args) throws Exception{\n\tint i = 0;\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\tString str_A = br.readLine();\n\n\tint[] A;\n\tA = new int[2];\n\t\n\tScanner s = new Scanner(str_A).useDelimiter(\"\\\\s* \\\\s*\");\n\t\n\twhile(s.hasNext()){\n\t A[i] = s.nextInt();\n\t i++;\n\t}\n\t\n\twhile(Math.min(A[0],A[1]) != 0){\n\t int x,y;\n\t x = Math.min(A[0],A[1]);\n\t y = Math.max(A[0],A[1]) % x;\n\t A[0] = x;\n\t A[1] = y;\n\t}\n\tSystem.out.println(Math.max(A[0],A[1]));\n\treturn ;\n }\n}\n\n\t\n", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "class Main{\n public static void main(String[] args) throws Exception{\n\tint i = 0;\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\tString str_A = br.readLine();\n\n\tint[] A;\n\tA = new int[2];\n\t\n\tScanner s = new Scanner(str_A).useDelimiter(\"\\\\s* \\\\s*\");\n\t\n\twhile(s.hasNext()){\n\t A[i] = s.nextInt();\n\t i++;\n\t}\n\t\n\twhile(Math.min(A[0],A[1]) != 0){\n\t int x,y;\n\t x = Math.min(A[0],A[1]);\n\t y = Math.max(A[0],A[1]) % x;\n\t A[0] = x;\n\t A[1] = y;\n\t}\n\tSystem.out.println(Math.max(A[0],A[1]));\n\treturn ;\n }\n}", "Main", "public static void main(String[] args) throws Exception{\n\tint i = 0;\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\tString str_A = br.readLine();\n\n\tint[] A;\n\tA = new int[2];\n\t\n\tScanner s = new Scanner(str_A).useDelimiter(\"\\\\s* \\\\s*\");\n\t\n\twhile(s.hasNext()){\n\t A[i] = s.nextInt();\n\t i++;\n\t}\n\t\n\twhile(Math.min(A[0],A[1]) != 0){\n\t int x,y;\n\t x = Math.min(A[0],A[1]);\n\t y = Math.max(A[0],A[1]) % x;\n\t A[0] = x;\n\t A[1] = y;\n\t}\n\tSystem.out.println(Math.max(A[0],A[1]));\n\treturn ;\n }", "main", "{\n\tint i = 0;\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\tString str_A = br.readLine();\n\n\tint[] A;\n\tA = new int[2];\n\t\n\tScanner s = new Scanner(str_A).useDelimiter(\"\\\\s* \\\\s*\");\n\t\n\twhile(s.hasNext()){\n\t A[i] = s.nextInt();\n\t i++;\n\t}\n\t\n\twhile(Math.min(A[0],A[1]) != 0){\n\t int x,y;\n\t x = Math.min(A[0],A[1]);\n\t y = Math.max(A[0],A[1]) % x;\n\t A[0] = x;\n\t A[1] = y;\n\t}\n\tSystem.out.println(Math.max(A[0],A[1]));\n\treturn ;\n }", "int i = 0;", "i", "0", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String str_A = br.readLine();", "str_A", "br.readLine()", "br.readLine", "br", "int[] A;", "A", "A = new int[2]", "A", "new int[2]", "2", "Scanner s = new Scanner(str_A).useDelimiter(\"\\\\s* \\\\s*\");", "s", "new Scanner(str_A).useDelimiter(\"\\\\s* \\\\s*\")", "new Scanner(str_A).useDelimiter", "new Scanner(str_A)", "\"\\\\s* \\\\s*\"", "while(s.hasNext()){\n\t A[i] = s.nextInt();\n\t i++;\n\t}", "s.hasNext()", "s.hasNext", "s", "{\n\t A[i] = s.nextInt();\n\t i++;\n\t}", "A[i] = s.nextInt()", "A[i]", "A", "i", "s.nextInt()", "s.nextInt", "s", "i++", "i", "while(Math.min(A[0],A[1]) != 0){\n\t int x,y;\n\t x = Math.min(A[0],A[1]);\n\t y = Math.max(A[0],A[1]) % x;\n\t A[0] = x;\n\t A[1] = y;\n\t}", "Math.min(A[0],A[1]) != 0", "Math.min(A[0],A[1])", "Math.min", "Math", "A[0]", "A", "0", "A[1]", "A", "1", "0", "{\n\t int x,y;\n\t x = Math.min(A[0],A[1]);\n\t y = Math.max(A[0],A[1]) % x;\n\t A[0] = x;\n\t A[1] = y;\n\t}", "int x", "x", "y;", "y", "x = Math.min(A[0],A[1])", "x", "Math.min(A[0],A[1])", "Math.min", "Math", "A[0]", "A", "0", "A[1]", "A", "1", "y = Math.max(A[0],A[1]) % x", "y", "Math.max(A[0],A[1]) % x", "Math.max(A[0],A[1])", "Math.max", "Math", "A[0]", "A", "0", "A[1]", "A", "1", "x", "A[0] = x", "A[0]", "A", "0", "x", "A[1] = y", "A[1]", "A", "1", "y", "System.out.println(Math.max(A[0],A[1]))", "System.out.println", "System.out", "System", "System.out", "Math.max(A[0],A[1])", "Math.max", "Math", "A[0]", "A", "0", "A[1]", "A", "1", "return ;", "String[] args", "args" ]
import java.io.*; import java.util.*; class Main{ public static void main(String[] args) throws Exception{ int i = 0; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str_A = br.readLine(); int[] A; A = new int[2]; Scanner s = new Scanner(str_A).useDelimiter("\\s* \\s*"); while(s.hasNext()){ A[i] = s.nextInt(); i++; } while(Math.min(A[0],A[1]) != 0){ int x,y; x = Math.min(A[0],A[1]); y = Math.max(A[0],A[1]) % x; A[0] = x; A[1] = y; } System.out.println(Math.max(A[0],A[1])); return ; } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 2, 13, 13, 14, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 4, 13, 13, 13, 14, 2, 13, 17, 30, 0, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 72, 5 ], [ 72, 6 ], [ 6, 7 ], [ 72, 8 ], [ 8, 9 ], [ 8, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 10, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 10, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 10, 24 ], [ 24, 25 ], [ 24, 26 ], [ 24, 27 ], [ 10, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 8, 34 ], [ 34, 35 ], [ 72, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 38, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 52, 54 ], [ 48, 55 ], [ 55, 56 ], [ 55, 57 ], [ 55, 58 ], [ 38, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 36, 67 ], [ 67, 68 ], [ 36, 69 ], [ 69, 70 ], [ 0, 71 ], [ 71, 72 ], [ 71, 73 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static int Max;\n\n public static void main(String[] args)\n {\n Scanner scan =new Scanner(System.in);\n\t int x=scan.nextInt();\n int y=scan.nextInt();\n\n Common_Divisir(x,y);\n\n System.out.println(Max);\n }\n\n public static void Common_Divisir(int a, int b)\n {\n int c=a%b;\n if(c!=0){\n a=b;\n b=c;\n Common_Divisir(a,b);\n }\n if(c==0){\n Max=b;\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static int Max;\n\n public static void main(String[] args)\n {\n Scanner scan =new Scanner(System.in);\n\t int x=scan.nextInt();\n int y=scan.nextInt();\n\n Common_Divisir(x,y);\n\n System.out.println(Max);\n }\n\n public static void Common_Divisir(int a, int b)\n {\n int c=a%b;\n if(c!=0){\n a=b;\n b=c;\n Common_Divisir(a,b);\n }\n if(c==0){\n Max=b;\n }\n }\n}", "Main", "public static int Max;", "Max", "public static void main(String[] args)\n {\n Scanner scan =new Scanner(System.in);\n\t int x=scan.nextInt();\n int y=scan.nextInt();\n\n Common_Divisir(x,y);\n\n System.out.println(Max);\n }", "main", "{\n Scanner scan =new Scanner(System.in);\n\t int x=scan.nextInt();\n int y=scan.nextInt();\n\n Common_Divisir(x,y);\n\n System.out.println(Max);\n }", "Scanner scan =new Scanner(System.in);", "scan", "new Scanner(System.in)", "int x=scan.nextInt();", "x", "scan.nextInt()", "scan.nextInt", "scan", "int y=scan.nextInt();", "y", "scan.nextInt()", "scan.nextInt", "scan", "Common_Divisir(x,y)", "Common_Divisir", "x", "y", "System.out.println(Max)", "System.out.println", "System.out", "System", "System.out", "Max", "String[] args", "args", "public static void Common_Divisir(int a, int b)\n {\n int c=a%b;\n if(c!=0){\n a=b;\n b=c;\n Common_Divisir(a,b);\n }\n if(c==0){\n Max=b;\n }\n }", "Common_Divisir", "{\n int c=a%b;\n if(c!=0){\n a=b;\n b=c;\n Common_Divisir(a,b);\n }\n if(c==0){\n Max=b;\n }\n }", "int c=a%b;", "c", "a%b", "a", "b", "if(c!=0){\n a=b;\n b=c;\n Common_Divisir(a,b);\n }", "c!=0", "c", "0", "{\n a=b;\n b=c;\n Common_Divisir(a,b);\n }", "a=b", "a", "b", "b=c", "b", "c", "Common_Divisir(a,b)", "Common_Divisir", "a", "b", "if(c==0){\n Max=b;\n }", "c==0", "c", "0", "{\n Max=b;\n }", "Max=b", "Max", "b", "int a", "a", "int b", "b", "public class Main {\n\n public static int Max;\n\n public static void main(String[] args)\n {\n Scanner scan =new Scanner(System.in);\n\t int x=scan.nextInt();\n int y=scan.nextInt();\n\n Common_Divisir(x,y);\n\n System.out.println(Max);\n }\n\n public static void Common_Divisir(int a, int b)\n {\n int c=a%b;\n if(c!=0){\n a=b;\n b=c;\n Common_Divisir(a,b);\n }\n if(c==0){\n Max=b;\n }\n }\n}", "public class Main {\n\n public static int Max;\n\n public static void main(String[] args)\n {\n Scanner scan =new Scanner(System.in);\n\t int x=scan.nextInt();\n int y=scan.nextInt();\n\n Common_Divisir(x,y);\n\n System.out.println(Max);\n }\n\n public static void Common_Divisir(int a, int b)\n {\n int c=a%b;\n if(c!=0){\n a=b;\n b=c;\n Common_Divisir(a,b);\n }\n if(c==0){\n Max=b;\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static int Max; public static void main(String[] args) { Scanner scan =new Scanner(System.in); int x=scan.nextInt(); int y=scan.nextInt(); Common_Divisir(x,y); System.out.println(Max); } public static void Common_Divisir(int a, int b) { int c=a%b; if(c!=0){ a=b; b=c; Common_Divisir(a,b); } if(c==0){ Max=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, 42, 2, 2, 13, 17, 2, 13, 17, 30, 41, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 8, 2, 13, 17, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 61, 5 ], [ 61, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 12, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 16, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 16, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 39, 41 ], [ 35, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 16, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 52, 57 ], [ 6, 58 ], [ 58, 59 ], [ 0, 60 ], [ 60, 61 ], [ 60, 62 ] ]
[ "import java.util.Scanner;\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 x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\twhile(x != 0 && y != 0){\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t % x;\n\t\t\t}\n\t\t\tSystem.out.println((x == 0)?y:x);\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\twhile(x != 0 && y != 0){\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t % x;\n\t\t\t}\n\t\t\tSystem.out.println((x == 0)?y:x);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\twhile(x != 0 && y != 0){\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t % x;\n\t\t\t}\n\t\t\tSystem.out.println((x == 0)?y:x);\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\twhile(x != 0 && y != 0){\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t % x;\n\t\t\t}\n\t\t\tSystem.out.println((x == 0)?y:x);\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "while(scan.hasNext()){\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\twhile(x != 0 && y != 0){\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t % x;\n\t\t\t}\n\t\t\tSystem.out.println((x == 0)?y:x);\n\t\t}", "scan.hasNext()", "scan.hasNext", "scan", "{\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\twhile(x != 0 && y != 0){\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t % x;\n\t\t\t}\n\t\t\tSystem.out.println((x == 0)?y:x);\n\t\t}", "int x = scan.nextInt();", "x", "scan.nextInt()", "scan.nextInt", "scan", "int y = scan.nextInt();", "y", "scan.nextInt()", "scan.nextInt", "scan", "while(x != 0 && y != 0){\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t % x;\n\t\t\t}", "x != 0 && y != 0", "x != 0", "x", "0", "y != 0", "y", "0", "{\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t % x;\n\t\t\t}", "int t = y;", "t", "y", "y = x", "y", "x", "x = t % x", "x", "t % x", "t", "x", "System.out.println((x == 0)?y:x)", "System.out.println", "System.out", "System", "System.out", "(x == 0)?y:x", "(x == 0)", "x", "0", "y", "x", "String[] args", "args", "public 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 x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\twhile(x != 0 && y != 0){\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t % x;\n\t\t\t}\n\t\t\tSystem.out.println((x == 0)?y:x);\n\t\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(scan.hasNext()){\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\twhile(x != 0 && y != 0){\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t % x;\n\t\t\t}\n\t\t\tSystem.out.println((x == 0)?y:x);\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); while(scan.hasNext()){ int x = scan.nextInt(); int y = scan.nextInt(); while(x != 0 && y != 0){ int t = y; y = x; x = t % x; } System.out.println((x == 0)?y:x); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 30, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 6, 31 ], [ 31, 32 ], [ 4, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 41, 42 ], [ 36, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 45, 48 ], [ 48, 49 ], [ 48, 50 ], [ 33, 51 ], [ 51, 52 ], [ 33, 53 ], [ 53, 54 ] ]
[ "import java.util.*;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a = stdIn.nextInt();\n\t\tint b = stdIn.nextInt();\n\t\tSystem.out.println(euclid(a,b));\n\t}\n\n\tstatic int euclid(int a,int b){\n\t\tif (b == 0) {\n\t\t\treturn a;\n\t\t}else {\n\t\t\treturn euclid(b,a%b);\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a = stdIn.nextInt();\n\t\tint b = stdIn.nextInt();\n\t\tSystem.out.println(euclid(a,b));\n\t}\n\n\tstatic int euclid(int a,int b){\n\t\tif (b == 0) {\n\t\t\treturn a;\n\t\t}else {\n\t\t\treturn euclid(b,a%b);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a = stdIn.nextInt();\n\t\tint b = stdIn.nextInt();\n\t\tSystem.out.println(euclid(a,b));\n\t}", "main", "{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a = stdIn.nextInt();\n\t\tint b = stdIn.nextInt();\n\t\tSystem.out.println(euclid(a,b));\n\t}", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "int a = stdIn.nextInt();", "a", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int b = stdIn.nextInt();", "b", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "System.out.println(euclid(a,b))", "System.out.println", "System.out", "System", "System.out", "euclid(a,b)", "euclid", "a", "b", "String[] args", "args", "static int euclid(int a,int b){\n\t\tif (b == 0) {\n\t\t\treturn a;\n\t\t}else {\n\t\t\treturn euclid(b,a%b);\n\t\t}\n\t}", "euclid", "{\n\t\tif (b == 0) {\n\t\t\treturn a;\n\t\t}else {\n\t\t\treturn euclid(b,a%b);\n\t\t}\n\t}", "if (b == 0) {\n\t\t\treturn a;\n\t\t}else {\n\t\t\treturn euclid(b,a%b);\n\t\t}", "b == 0", "b", "0", "{\n\t\t\treturn a;\n\t\t}", "return a;", "a", "{\n\t\t\treturn euclid(b,a%b);\n\t\t}", "return euclid(b,a%b);", "euclid(b,a%b)", "euclid", "b", "a%b", "a", "b", "int a", "a", "int b", "b" ]
import java.util.*; class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int a = stdIn.nextInt(); int b = stdIn.nextInt(); System.out.println(euclid(a,b)); } static int euclid(int a,int b){ if (b == 0) { return a; }else { return euclid(b,a%b); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 14, 2, 13, 13, 29, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 2, 13, 13, 14, 2, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 82, 5 ], [ 82, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 9, 13 ], [ 13, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 17, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 24, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 8, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 6, 47 ], [ 47, 48 ], [ 6, 49 ], [ 49, 50 ], [ 82, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 53, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 53, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 69, 72 ], [ 53, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 51, 79 ], [ 79, 80 ], [ 0, 81 ], [ 81, 82 ], [ 81, 83 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\t\n\tpublic static int getGcd(int a, int b) {\n\t\tif (a == b)\n\t\t\treturn b;\n\t\tint bigger = Math.max(a, b);\n\t\tint smaller = Math.min(a, b);\n\t\tint modded = bigger % smaller;\n\t\tif (modded == 0)\n\t\t\treturn smaller;\n\t\treturn getGcd(smaller, bigger % smaller);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tint b = s.nextInt();\n\t\t\n\t\tint result = getGcd(a, b);\n\t\tSystem.out.println(result);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t\n\tpublic static int getGcd(int a, int b) {\n\t\tif (a == b)\n\t\t\treturn b;\n\t\tint bigger = Math.max(a, b);\n\t\tint smaller = Math.min(a, b);\n\t\tint modded = bigger % smaller;\n\t\tif (modded == 0)\n\t\t\treturn smaller;\n\t\treturn getGcd(smaller, bigger % smaller);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tint b = s.nextInt();\n\t\t\n\t\tint result = getGcd(a, b);\n\t\tSystem.out.println(result);\n\t}\n}", "Main", "public static int getGcd(int a, int b) {\n\t\tif (a == b)\n\t\t\treturn b;\n\t\tint bigger = Math.max(a, b);\n\t\tint smaller = Math.min(a, b);\n\t\tint modded = bigger % smaller;\n\t\tif (modded == 0)\n\t\t\treturn smaller;\n\t\treturn getGcd(smaller, bigger % smaller);\n\t}", "getGcd", "{\n\t\tif (a == b)\n\t\t\treturn b;\n\t\tint bigger = Math.max(a, b);\n\t\tint smaller = Math.min(a, b);\n\t\tint modded = bigger % smaller;\n\t\tif (modded == 0)\n\t\t\treturn smaller;\n\t\treturn getGcd(smaller, bigger % smaller);\n\t}", "if (a == b)\n\t\t\treturn b;", "a == b", "a", "b", "return b;", "b", "int bigger = Math.max(a, b);", "bigger", "Math.max(a, b)", "Math.max", "Math", "a", "b", "int smaller = Math.min(a, b);", "smaller", "Math.min(a, b)", "Math.min", "Math", "a", "b", "int modded = bigger % smaller;", "modded", "bigger % smaller", "bigger", "smaller", "if (modded == 0)\n\t\t\treturn smaller;", "modded == 0", "modded", "0", "return smaller;", "smaller", "return getGcd(smaller, bigger % smaller);", "getGcd(smaller, bigger % smaller)", "getGcd", "smaller", "bigger % smaller", "bigger", "smaller", "int a", "a", "int b", "b", "public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tint b = s.nextInt();\n\t\t\n\t\tint result = getGcd(a, b);\n\t\tSystem.out.println(result);\n\t}", "main", "{\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tint b = s.nextInt();\n\t\t\n\t\tint result = getGcd(a, b);\n\t\tSystem.out.println(result);\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int a = s.nextInt();", "a", "s.nextInt()", "s.nextInt", "s", "int b = s.nextInt();", "b", "s.nextInt()", "s.nextInt", "s", "int result = getGcd(a, b);", "result", "getGcd(a, b)", "getGcd", "a", "b", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args", "public class Main {\n\t\n\tpublic static int getGcd(int a, int b) {\n\t\tif (a == b)\n\t\t\treturn b;\n\t\tint bigger = Math.max(a, b);\n\t\tint smaller = Math.min(a, b);\n\t\tint modded = bigger % smaller;\n\t\tif (modded == 0)\n\t\t\treturn smaller;\n\t\treturn getGcd(smaller, bigger % smaller);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tint b = s.nextInt();\n\t\t\n\t\tint result = getGcd(a, b);\n\t\tSystem.out.println(result);\n\t}\n}", "public class Main {\n\t\n\tpublic static int getGcd(int a, int b) {\n\t\tif (a == b)\n\t\t\treturn b;\n\t\tint bigger = Math.max(a, b);\n\t\tint smaller = Math.min(a, b);\n\t\tint modded = bigger % smaller;\n\t\tif (modded == 0)\n\t\t\treturn smaller;\n\t\treturn getGcd(smaller, bigger % smaller);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tint b = s.nextInt();\n\t\t\n\t\tint result = getGcd(a, b);\n\t\tSystem.out.println(result);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static int getGcd(int a, int b) { if (a == b) return b; int bigger = Math.max(a, b); int smaller = Math.min(a, b); int modded = bigger % smaller; if (modded == 0) return smaller; return getGcd(smaller, bigger % smaller); } public static void main(String[] args) { Scanner s = new Scanner(System.in); int a = s.nextInt(); int b = s.nextInt(); int result = getGcd(a, b); System.out.println(result); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 41, 13, 2, 13, 13, 42, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 14, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 52, 54 ], [ 48, 55 ], [ 55, 56 ], [ 55, 57 ], [ 14, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 14, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 71, 72 ], [ 71, 73 ], [ 67, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 14, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 12, 85 ], [ 85, 86 ] ]
[ "\n\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main{\n public static void main(String args[]) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] string = br.readLine().split(\" \");\n\n int x = Integer.parseInt( string[0] );\n int y = Integer.parseInt( string[1] );\n\n int tmp;\n\n if(x < y){\n\n\t tmp = x;\n\t x = y;\n\t y = tmp;\n\n }\n\n int r = x % y;\n while(r!=0){\n x = y;\n y = r;\n\t r = x % y;\n }\n\n System.out.println(y);\n\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "class Main{\n public static void main(String args[]) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] string = br.readLine().split(\" \");\n\n int x = Integer.parseInt( string[0] );\n int y = Integer.parseInt( string[1] );\n\n int tmp;\n\n if(x < y){\n\n\t tmp = x;\n\t x = y;\n\t y = tmp;\n\n }\n\n int r = x % y;\n while(r!=0){\n x = y;\n y = r;\n\t r = x % y;\n }\n\n System.out.println(y);\n\n }\n}", "Main", "public static void main(String args[]) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] string = br.readLine().split(\" \");\n\n int x = Integer.parseInt( string[0] );\n int y = Integer.parseInt( string[1] );\n\n int tmp;\n\n if(x < y){\n\n\t tmp = x;\n\t x = y;\n\t y = tmp;\n\n }\n\n int r = x % y;\n while(r!=0){\n x = y;\n y = r;\n\t r = x % y;\n }\n\n System.out.println(y);\n\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] string = br.readLine().split(\" \");\n\n int x = Integer.parseInt( string[0] );\n int y = Integer.parseInt( string[1] );\n\n int tmp;\n\n if(x < y){\n\n\t tmp = x;\n\t x = y;\n\t y = tmp;\n\n }\n\n int r = x % y;\n while(r!=0){\n x = y;\n y = r;\n\t r = x % y;\n }\n\n System.out.println(y);\n\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] string = br.readLine().split(\" \");", "string", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int x = Integer.parseInt( string[0] );", "x", "Integer.parseInt( string[0] )", "Integer.parseInt", "Integer", "string[0]", "string", "0", "int y = Integer.parseInt( string[1] );", "y", "Integer.parseInt( string[1] )", "Integer.parseInt", "Integer", "string[1]", "string", "1", "int tmp;", "tmp", "if(x < y){\n\n\t tmp = x;\n\t x = y;\n\t y = tmp;\n\n }", "x < y", "x", "y", "{\n\n\t tmp = x;\n\t x = y;\n\t y = tmp;\n\n }", "tmp = x", "tmp", "x", "x = y", "x", "y", "y = tmp", "y", "tmp", "int r = x % y;", "r", "x % y", "x", "y", "while(r!=0){\n x = y;\n y = r;\n\t r = x % y;\n }", "r!=0", "r", "0", "{\n x = y;\n y = r;\n\t r = x % y;\n }", "x = y", "x", "y", "y = r", "y", "r", "r = x % y", "r", "x % y", "x", "y", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "String args[]", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main{ public static void main(String args[]) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] string = br.readLine().split(" "); int x = Integer.parseInt( string[0] ); int y = Integer.parseInt( string[1] ); int tmp; if(x < y){ tmp = x; x = y; y = tmp; } int r = x % y; while(r!=0){ x = y; y = r; r = x % y; } System.out.println(y); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 42, 2, 0, 13, 2, 13, 13, 17, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 65, 8 ], [ 65, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 17, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 28, 29 ], [ 28, 30 ], [ 11, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 11, 39 ], [ 39, 40 ], [ 11, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 42, 48 ], [ 41, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 53, 55 ], [ 11, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 9, 62 ], [ 62, 63 ], [ 0, 64 ], [ 64, 65 ], [ 64, 66 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] line = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(line[0]);\n\t\tint y = Integer.parseInt(line[1]);\n\t\tint r;\n\n\t\twhile( (r = x % y) != 0 ) {\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\n\t\tSystem.out.println(y);\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] line = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(line[0]);\n\t\tint y = Integer.parseInt(line[1]);\n\t\tint r;\n\n\t\twhile( (r = x % y) != 0 ) {\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\n\t\tSystem.out.println(y);\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] line = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(line[0]);\n\t\tint y = Integer.parseInt(line[1]);\n\t\tint r;\n\n\t\twhile( (r = x % y) != 0 ) {\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\n\t\tSystem.out.println(y);\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] line = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(line[0]);\n\t\tint y = Integer.parseInt(line[1]);\n\t\tint r;\n\n\t\twhile( (r = x % y) != 0 ) {\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\n\t\tSystem.out.println(y);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] line = br.readLine().split(\" \");", "line", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int x = Integer.parseInt(line[0]);", "x", "Integer.parseInt(line[0])", "Integer.parseInt", "Integer", "line[0]", "line", "0", "int y = Integer.parseInt(line[1]);", "y", "Integer.parseInt(line[1])", "Integer.parseInt", "Integer", "line[1]", "line", "1", "int r;", "r", "while( (r = x % y) != 0 ) {\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}", "(r = x % y) != 0", "(r = x % y)", "r", "x % y", "x", "y", "0", "{\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}", "x = y", "x", "y", "y = r", "y", "r", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] line = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(line[0]);\n\t\tint y = Integer.parseInt(line[1]);\n\t\tint r;\n\n\t\twhile( (r = x % y) != 0 ) {\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\n\t\tSystem.out.println(y);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] line = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(line[0]);\n\t\tint y = Integer.parseInt(line[1]);\n\t\tint r;\n\n\t\twhile( (r = x % y) != 0 ) {\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\n\t\tSystem.out.println(y);\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] line = br.readLine().split(" "); int x = Integer.parseInt(line[0]); int y = Integer.parseInt(line[1]); int r; while( (r = x % y) != 0 ) { x = y; y = r; } System.out.println(y); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 2, 13, 13, 30, 0, 13, 2, 13, 13, 0, 13, 2, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 29, 8, 2, 13, 17, 13, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 91, 8 ], [ 91, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 17, 22 ], [ 17, 23 ], [ 11, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 29, 30 ], [ 29, 31 ], [ 11, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 37, 39 ], [ 11, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 44, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 44, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 11, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 65, 68 ], [ 9, 69 ], [ 69, 70 ], [ 91, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 75, 80 ], [ 80, 81 ], [ 80, 82 ], [ 80, 83 ], [ 83, 84 ], [ 83, 85 ], [ 71, 86 ], [ 86, 87 ], [ 71, 88 ], [ 88, 89 ], [ 0, 90 ], [ 90, 91 ], [ 90, 92 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n \npublic class Main\n{\n\tpublic static void main (String[] args) throws Exception\n\t{\n\t\tBufferedReader stdReader =\n\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tString natural[] = stdReader.readLine().split(\" \",0);\n\t\tint x = Integer.parseInt(natural[0]);\n\t\tint y = Integer.parseInt(natural[1]);\n\t\tif (x < y) {\n\t\t\tx = x^y;\n\t\t\ty = x^y;\n\t\t\tx = x^y;\n\t\t}\n\t\tSystem.out.println(gcd(x, y));\n\t}\n\tprivate static int gcd(int x, int y) {\n\t\treturn y == 0? x: gcd(y, x % y);\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main\n{\n\tpublic static void main (String[] args) throws Exception\n\t{\n\t\tBufferedReader stdReader =\n\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tString natural[] = stdReader.readLine().split(\" \",0);\n\t\tint x = Integer.parseInt(natural[0]);\n\t\tint y = Integer.parseInt(natural[1]);\n\t\tif (x < y) {\n\t\t\tx = x^y;\n\t\t\ty = x^y;\n\t\t\tx = x^y;\n\t\t}\n\t\tSystem.out.println(gcd(x, y));\n\t}\n\tprivate static int gcd(int x, int y) {\n\t\treturn y == 0? x: gcd(y, x % y);\n\t}\n}", "Main", "public static void main (String[] args) throws Exception\n\t{\n\t\tBufferedReader stdReader =\n\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tString natural[] = stdReader.readLine().split(\" \",0);\n\t\tint x = Integer.parseInt(natural[0]);\n\t\tint y = Integer.parseInt(natural[1]);\n\t\tif (x < y) {\n\t\t\tx = x^y;\n\t\t\ty = x^y;\n\t\t\tx = x^y;\n\t\t}\n\t\tSystem.out.println(gcd(x, y));\n\t}", "main", "{\n\t\tBufferedReader stdReader =\n\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tString natural[] = stdReader.readLine().split(\" \",0);\n\t\tint x = Integer.parseInt(natural[0]);\n\t\tint y = Integer.parseInt(natural[1]);\n\t\tif (x < y) {\n\t\t\tx = x^y;\n\t\t\ty = x^y;\n\t\t\tx = x^y;\n\t\t}\n\t\tSystem.out.println(gcd(x, y));\n\t}", "BufferedReader stdReader =\n\t\tnew BufferedReader(new InputStreamReader(System.in));", "stdReader", "new BufferedReader(new InputStreamReader(System.in))", "String natural[] = stdReader.readLine().split(\" \",0);", "natural", "stdReader.readLine().split(\" \",0)", "stdReader.readLine().split", "stdReader.readLine()", "stdReader.readLine", "stdReader", "\" \"", "0", "int x = Integer.parseInt(natural[0]);", "x", "Integer.parseInt(natural[0])", "Integer.parseInt", "Integer", "natural[0]", "natural", "0", "int y = Integer.parseInt(natural[1]);", "y", "Integer.parseInt(natural[1])", "Integer.parseInt", "Integer", "natural[1]", "natural", "1", "if (x < y) {\n\t\t\tx = x^y;\n\t\t\ty = x^y;\n\t\t\tx = x^y;\n\t\t}", "x < y", "x", "y", "{\n\t\t\tx = x^y;\n\t\t\ty = x^y;\n\t\t\tx = x^y;\n\t\t}", "x = x^y", "x", "x^y", "x", "y", "y = x^y", "y", "x^y", "x", "y", "x = x^y", "x", "x^y", "x", "y", "System.out.println(gcd(x, y))", "System.out.println", "System.out", "System", "System.out", "gcd(x, y)", "gcd", "x", "y", "String[] args", "args", "private static int gcd(int x, int y) {\n\t\treturn y == 0? x: gcd(y, x % y);\n\t}", "gcd", "{\n\t\treturn y == 0? x: gcd(y, x % y);\n\t}", "return y == 0? x: gcd(y, x % y);", "y == 0? x: gcd(y, x % y)", "y == 0", "y", "0", "x", "gcd(y, x % y)", "gcd", "y", "x % y", "x", "y", "int x", "x", "int y", "y", "public class Main\n{\n\tpublic static void main (String[] args) throws Exception\n\t{\n\t\tBufferedReader stdReader =\n\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tString natural[] = stdReader.readLine().split(\" \",0);\n\t\tint x = Integer.parseInt(natural[0]);\n\t\tint y = Integer.parseInt(natural[1]);\n\t\tif (x < y) {\n\t\t\tx = x^y;\n\t\t\ty = x^y;\n\t\t\tx = x^y;\n\t\t}\n\t\tSystem.out.println(gcd(x, y));\n\t}\n\tprivate static int gcd(int x, int y) {\n\t\treturn y == 0? x: gcd(y, x % y);\n\t}\n}", "public class Main\n{\n\tpublic static void main (String[] args) throws Exception\n\t{\n\t\tBufferedReader stdReader =\n\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tString natural[] = stdReader.readLine().split(\" \",0);\n\t\tint x = Integer.parseInt(natural[0]);\n\t\tint y = Integer.parseInt(natural[1]);\n\t\tif (x < y) {\n\t\t\tx = x^y;\n\t\t\ty = x^y;\n\t\t\tx = x^y;\n\t\t}\n\t\tSystem.out.println(gcd(x, y));\n\t}\n\tprivate static int gcd(int x, int y) {\n\t\treturn y == 0? x: gcd(y, x % y);\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main (String[] args) throws Exception { BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in)); String natural[] = stdReader.readLine().split(" ",0); int x = Integer.parseInt(natural[0]); int y = Integer.parseInt(natural[1]); if (x < y) { x = x^y; y = x^y; x = x^y; } System.out.println(gcd(x, y)); } private static int gcd(int x, int y) { return y == 0? x: gcd(y, x % y); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 12, 13, 30, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 4, 18, 13, 13, 23, 13, 12, 13, 30, 4, 18, 20, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 97, 8 ], [ 97, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 11, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 11, 37 ], [ 37, 38 ], [ 38, 39 ], [ 97, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 51, 53 ], [ 47, 54 ], [ 54, 55 ], [ 54, 56 ], [ 42, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 57, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 64, 67 ], [ 67, 68 ], [ 67, 69 ], [ 40, 70 ], [ 70, 71 ], [ 40, 72 ], [ 72, 73 ], [ 97, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 74, 86 ], [ 86, 87 ], [ 97, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 88, 94 ], [ 94, 95 ], [ 0, 96 ], [ 96, 97 ], [ 96, 98 ] ]
[ "import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint ans = gcd(a, b);\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\tint gcd(int a, int b) {\n\t\tif(a < b) {\n\t\t\tint c = a;\n\t\t\ta = b;\n\t\t\tb = c;\n\t\t}\n\t\tif(b == 0) return a;\n\t\telse return gcd(b, a%b);\n\t}\n\n\tvoid debug(Object... o) {\n\t\tSystem.out.println(Arrays.deepToString(o));\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint ans = gcd(a, b);\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\tint gcd(int a, int b) {\n\t\tif(a < b) {\n\t\t\tint c = a;\n\t\t\ta = b;\n\t\t\tb = c;\n\t\t}\n\t\tif(b == 0) return a;\n\t\telse return gcd(b, a%b);\n\t}\n\n\tvoid debug(Object... o) {\n\t\tSystem.out.println(Arrays.deepToString(o));\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}", "Main", "void run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint ans = gcd(a, b);\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}", "run", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint ans = gcd(a, b);\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int ans = gcd(a, b);", "ans", "gcd(a, b)", "gcd", "a", "b", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "sc.close()", "sc.close", "sc", "int gcd(int a, int b) {\n\t\tif(a < b) {\n\t\t\tint c = a;\n\t\t\ta = b;\n\t\t\tb = c;\n\t\t}\n\t\tif(b == 0) return a;\n\t\telse return gcd(b, a%b);\n\t}", "gcd", "{\n\t\tif(a < b) {\n\t\t\tint c = a;\n\t\t\ta = b;\n\t\t\tb = c;\n\t\t}\n\t\tif(b == 0) return a;\n\t\telse return gcd(b, a%b);\n\t}", "if(a < b) {\n\t\t\tint c = a;\n\t\t\ta = b;\n\t\t\tb = c;\n\t\t}", "a < b", "a", "b", "{\n\t\t\tint c = a;\n\t\t\ta = b;\n\t\t\tb = c;\n\t\t}", "int c = a;", "c", "a", "a = b", "a", "b", "b = c", "b", "c", "if(b == 0) return a;\n\t\telse return gcd(b, a%b);", "b == 0", "b", "0", "return a;", "a", "return gcd(b, a%b);", "gcd(b, a%b)", "gcd", "b", "a%b", "a", "b", "int a", "a", "int b", "b", "void debug(Object... o) {\n\t\tSystem.out.println(Arrays.deepToString(o));\n\t}", "debug", "{\n\t\tSystem.out.println(Arrays.deepToString(o));\n\t}", "System.out.println(Arrays.deepToString(o))", "System.out.println", "System.out", "System", "System.out", "Arrays.deepToString(o)", "Arrays.deepToString", "Arrays", "o", "Object... o", "o", "public static void main(String[] args) {\n\t\tnew Main().run();\n\t}", "main", "{\n\t\tnew Main().run();\n\t}", "new Main().run()", "new Main().run", "new Main()", "String[] args", "args", "public class Main {\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint ans = gcd(a, b);\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\tint gcd(int a, int b) {\n\t\tif(a < b) {\n\t\t\tint c = a;\n\t\t\ta = b;\n\t\t\tb = c;\n\t\t}\n\t\tif(b == 0) return a;\n\t\telse return gcd(b, a%b);\n\t}\n\n\tvoid debug(Object... o) {\n\t\tSystem.out.println(Arrays.deepToString(o));\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}", "public class Main {\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint ans = gcd(a, b);\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\tint gcd(int a, int b) {\n\t\tif(a < b) {\n\t\t\tint c = a;\n\t\t\ta = b;\n\t\t\tb = c;\n\t\t}\n\t\tif(b == 0) return a;\n\t\telse return gcd(b, a%b);\n\t}\n\n\tvoid debug(Object... o) {\n\t\tSystem.out.println(Arrays.deepToString(o));\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { void run() { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int ans = gcd(a, b); System.out.println(ans); sc.close(); } int gcd(int a, int b) { if(a < b) { int c = a; a = b; b = c; } if(b == 0) return a; else return gcd(b, a%b); } void debug(Object... o) { System.out.println(Arrays.deepToString(o)); } public static void main(String[] args) { new Main().run(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 42, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 13, 17, 30, 3, 4, 18, 18, 13, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 57, 5 ], [ 57, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 32, 34 ], [ 29, 35 ], [ 35, 36 ], [ 35, 37 ], [ 29, 38 ], [ 38, 39 ], [ 38, 40 ], [ 29, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 47, 53 ], [ 6, 54 ], [ 54, 55 ], [ 0, 56 ], [ 56, 57 ], [ 56, 58 ] ]
[ "import java.util.Scanner;\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n boolean bl = true;\n int x = sc.nextInt();\n int y = sc.nextInt();\n int z;\n while(true) {\n z = x % y;\n x = y;\n y = z;\n if( y == 0){\n break;\n }\n }\n System.out.printf(\"%d%n\", x);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n boolean bl = true;\n int x = sc.nextInt();\n int y = sc.nextInt();\n int z;\n while(true) {\n z = x % y;\n x = y;\n y = z;\n if( y == 0){\n break;\n }\n }\n System.out.printf(\"%d%n\", x);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n boolean bl = true;\n int x = sc.nextInt();\n int y = sc.nextInt();\n int z;\n while(true) {\n z = x % y;\n x = y;\n y = z;\n if( y == 0){\n break;\n }\n }\n System.out.printf(\"%d%n\", x);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n boolean bl = true;\n int x = sc.nextInt();\n int y = sc.nextInt();\n int z;\n while(true) {\n z = x % y;\n x = y;\n y = z;\n if( y == 0){\n break;\n }\n }\n System.out.printf(\"%d%n\", x);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "boolean bl = true;", "bl", "true", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "int z;", "z", "while(true) {\n z = x % y;\n x = y;\n y = z;\n if( y == 0){\n break;\n }\n }", "true", "{\n z = x % y;\n x = y;\n y = z;\n if( y == 0){\n break;\n }\n }", "z = x % y", "z", "x % y", "x", "y", "x = y", "x", "y", "y = z", "y", "z", "if( y == 0){\n break;\n }", "y == 0", "y", "0", "{\n break;\n }", "break;", "System.out.printf(\"%d%n\", x)", "System.out.printf", "System.out", "System", "System.out", "\"%d%n\"", "x", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n boolean bl = true;\n int x = sc.nextInt();\n int y = sc.nextInt();\n int z;\n while(true) {\n z = x % y;\n x = y;\n y = z;\n if( y == 0){\n break;\n }\n }\n System.out.printf(\"%d%n\", x);\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n boolean bl = true;\n int x = sc.nextInt();\n int y = sc.nextInt();\n int z;\n while(true) {\n z = x % y;\n x = y;\n y = z;\n if( y == 0){\n break;\n }\n }\n System.out.printf(\"%d%n\", x);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); boolean bl = true; int x = sc.nextInt(); int y = sc.nextInt(); int z; while(true) { z = x % y; x = y; y = z; if( y == 0){ break; } } System.out.printf("%d%n", x); } }
[ 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, 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, 8, 2, 13, 13, 4, 13, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 29, 8, 2, 13, 17, 13, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 84, 14 ], [ 84, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 23, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 34, 36 ], [ 17, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 17, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 54, 57 ], [ 50, 58 ], [ 58, 59 ], [ 58, 60 ], [ 58, 61 ], [ 15, 62 ], [ 62, 63 ], [ 84, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 73, 76 ], [ 76, 77 ], [ 76, 78 ], [ 64, 79 ], [ 79, 80 ], [ 64, 81 ], [ 81, 82 ], [ 0, 83 ], [ 83, 84 ], [ 83, 85 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n/**\n *\n * @author Y\n */\npublic class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String[] s = br.readLine().split(\" \");\n int a = Integer.parseInt(s[0]);\n int b = Integer.parseInt(s[1]);\n \n System.out.println( (a>b) ? GCDivisor(a,b) : GCDivisor(b,a) );\n \n }\n \n static int GCDivisor(int x1, int x2){\n return x2 == 0 ? x1 : GCDivisor(x2, x1%x2);\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String[] s = br.readLine().split(\" \");\n int a = Integer.parseInt(s[0]);\n int b = Integer.parseInt(s[1]);\n \n System.out.println( (a>b) ? GCDivisor(a,b) : GCDivisor(b,a) );\n \n }\n \n static int GCDivisor(int x1, int x2){\n return x2 == 0 ? x1 : GCDivisor(x2, x1%x2);\n }\n}", "Main", "public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String[] s = br.readLine().split(\" \");\n int a = Integer.parseInt(s[0]);\n int b = Integer.parseInt(s[1]);\n \n System.out.println( (a>b) ? GCDivisor(a,b) : GCDivisor(b,a) );\n \n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String[] s = br.readLine().split(\" \");\n int a = Integer.parseInt(s[0]);\n int b = Integer.parseInt(s[1]);\n \n System.out.println( (a>b) ? GCDivisor(a,b) : GCDivisor(b,a) );\n \n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] s = br.readLine().split(\" \");", "s", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int a = Integer.parseInt(s[0]);", "a", "Integer.parseInt(s[0])", "Integer.parseInt", "Integer", "s[0]", "s", "0", "int b = Integer.parseInt(s[1]);", "b", "Integer.parseInt(s[1])", "Integer.parseInt", "Integer", "s[1]", "s", "1", "System.out.println( (a>b) ? GCDivisor(a,b) : GCDivisor(b,a) )", "System.out.println", "System.out", "System", "System.out", "(a>b) ? GCDivisor(a,b) : GCDivisor(b,a)", "(a>b)", "a", "b", "GCDivisor(a,b)", "GCDivisor", "a", "b", "GCDivisor(b,a)", "GCDivisor", "b", "a", "String[] args", "args", "static int GCDivisor(int x1, int x2){\n return x2 == 0 ? x1 : GCDivisor(x2, x1%x2);\n }", "GCDivisor", "{\n return x2 == 0 ? x1 : GCDivisor(x2, x1%x2);\n }", "return x2 == 0 ? x1 : GCDivisor(x2, x1%x2);", "x2 == 0 ? x1 : GCDivisor(x2, x1%x2)", "x2 == 0", "x2", "0", "x1", "GCDivisor(x2, x1%x2)", "GCDivisor", "x2", "x1%x2", "x1", "x2", "int x1", "x1", "int x2", "x2", "public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String[] s = br.readLine().split(\" \");\n int a = Integer.parseInt(s[0]);\n int b = Integer.parseInt(s[1]);\n \n System.out.println( (a>b) ? GCDivisor(a,b) : GCDivisor(b,a) );\n \n }\n \n static int GCDivisor(int x1, int x2){\n return x2 == 0 ? x1 : GCDivisor(x2, x1%x2);\n }\n}", "public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String[] s = br.readLine().split(\" \");\n int a = Integer.parseInt(s[0]);\n int b = Integer.parseInt(s[1]);\n \n System.out.println( (a>b) ? GCDivisor(a,b) : GCDivisor(b,a) );\n \n }\n \n static int GCDivisor(int x1, int x2){\n return x2 == 0 ? x1 : GCDivisor(x2, x1%x2);\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Scanner; /** * * @author Y */ public class Main { public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] s = br.readLine().split(" "); int a = Integer.parseInt(s[0]); int b = Integer.parseInt(s[1]); System.out.println( (a>b) ? GCDivisor(a,b) : GCDivisor(b,a) ); } static int GCDivisor(int x1, int x2){ return x2 == 0 ? x1 : GCDivisor(x2, x1%x2); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 14, 2, 13, 13, 30, 29, 4, 13, 13, 2, 13, 13, 30, 29, 17, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 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 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 24, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 31, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 38, 41 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 6, 48 ], [ 48, 49 ], [ 80, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 58, 59 ], [ 53, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 66, 69 ], [ 69, 70 ], [ 69, 71 ], [ 60, 72 ], [ 72, 73 ], [ 73, 74 ], [ 50, 75 ], [ 75, 76 ], [ 50, 77 ], [ 77, 78 ], [ 0, 79 ], [ 79, 80 ], [ 79, 81 ] ]
[ "import java.util.Scanner;\npublic class Main {\npublic static void main(String[] args){\nScanner input = new Scanner(System.in);\nint a = input.nextInt();\nint b = input.nextInt();\nint x = Math.max(a,b);\nint y = Math.min(a,b);\nint out = helper(x,y);\nSystem.out.println(out);\n}\n\npublic static int helper(int x, int y){\nif(y == 0){\nreturn x;\n} else if(x >= y){\nreturn helper(y, x%y);\n} else {\nreturn 1;\n}\n}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\npublic static void main(String[] args){\nScanner input = new Scanner(System.in);\nint a = input.nextInt();\nint b = input.nextInt();\nint x = Math.max(a,b);\nint y = Math.min(a,b);\nint out = helper(x,y);\nSystem.out.println(out);\n}\n\npublic static int helper(int x, int y){\nif(y == 0){\nreturn x;\n} else if(x >= y){\nreturn helper(y, x%y);\n} else {\nreturn 1;\n}\n}\n\n}", "Main", "public static void main(String[] args){\nScanner input = new Scanner(System.in);\nint a = input.nextInt();\nint b = input.nextInt();\nint x = Math.max(a,b);\nint y = Math.min(a,b);\nint out = helper(x,y);\nSystem.out.println(out);\n}", "main", "{\nScanner input = new Scanner(System.in);\nint a = input.nextInt();\nint b = input.nextInt();\nint x = Math.max(a,b);\nint y = Math.min(a,b);\nint out = helper(x,y);\nSystem.out.println(out);\n}", "Scanner input = new Scanner(System.in);", "input", "new Scanner(System.in)", "int a = input.nextInt();", "a", "input.nextInt()", "input.nextInt", "input", "int b = input.nextInt();", "b", "input.nextInt()", "input.nextInt", "input", "int x = Math.max(a,b);", "x", "Math.max(a,b)", "Math.max", "Math", "a", "b", "int y = Math.min(a,b);", "y", "Math.min(a,b)", "Math.min", "Math", "a", "b", "int out = helper(x,y);", "out", "helper(x,y)", "helper", "x", "y", "System.out.println(out)", "System.out.println", "System.out", "System", "System.out", "out", "String[] args", "args", "public static int helper(int x, int y){\nif(y == 0){\nreturn x;\n} else if(x >= y){\nreturn helper(y, x%y);\n} else {\nreturn 1;\n}\n}", "helper", "{\nif(y == 0){\nreturn x;\n} else if(x >= y){\nreturn helper(y, x%y);\n} else {\nreturn 1;\n}\n}", "if(y == 0){\nreturn x;\n} else if(x >= y){\nreturn helper(y, x%y);\n} else {\nreturn 1;\n}", "y == 0", "y", "0", "{\nreturn x;\n}", "return x;", "x", "if(x >= y){\nreturn helper(y, x%y);\n} else {\nreturn 1;\n}", "x >= y", "x", "y", "{\nreturn helper(y, x%y);\n}", "return helper(y, x%y);", "helper(y, x%y)", "helper", "y", "x%y", "x", "y", "{\nreturn 1;\n}", "return 1;", "1", "int x", "x", "int y", "y", "public class Main {\npublic static void main(String[] args){\nScanner input = new Scanner(System.in);\nint a = input.nextInt();\nint b = input.nextInt();\nint x = Math.max(a,b);\nint y = Math.min(a,b);\nint out = helper(x,y);\nSystem.out.println(out);\n}\n\npublic static int helper(int x, int y){\nif(y == 0){\nreturn x;\n} else if(x >= y){\nreturn helper(y, x%y);\n} else {\nreturn 1;\n}\n}\n\n}", "public class Main {\npublic static void main(String[] args){\nScanner input = new Scanner(System.in);\nint a = input.nextInt();\nint b = input.nextInt();\nint x = Math.max(a,b);\nint y = Math.min(a,b);\nint out = helper(x,y);\nSystem.out.println(out);\n}\n\npublic static int helper(int x, int y){\nif(y == 0){\nreturn x;\n} else if(x >= y){\nreturn helper(y, x%y);\n} else {\nreturn 1;\n}\n}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner input = new Scanner(System.in); int a = input.nextInt(); int b = input.nextInt(); int x = Math.max(a,b); int y = Math.min(a,b); int out = helper(x,y); System.out.println(out); } public static int helper(int x, int y){ if(y == 0){ return x; } else if(x >= y){ return helper(y, x%y); } else { return 1; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 13, 13, 30, 41, 13, 13, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 0, 13, 13, 3, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 73, 5 ], [ 73, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 33, 35 ], [ 29, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 43, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 43, 61 ], [ 61, 62 ], [ 61, 63 ], [ 8, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 6, 70 ], [ 70, 71 ], [ 0, 72 ], [ 72, 73 ], [ 72, 74 ] ]
[ "import java.util.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner input = new Scanner(System.in);\n\t\tint int1 = input.nextInt();\n\t\tint int2 = input.nextInt();\n\t\tint gcd = 1;\n\t\t\n\t\tif(int2 > int1) {\n\t\t\tint temp = int1;\n\t\t\tint1 = int2;\n\t\t\tint2 = temp;\n\t\t}\n\t\twhile(int1 >= int2) {\n\t\t\tint temp = int2;\n\t\t\tint2 = int1 % int2;\n\t\t\tif(int2 == 0) {\n\t\t\t\tgcd = temp;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint1 = temp;\n\t\t}\n\t\tSystem.out.println(gcd);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner input = new Scanner(System.in);\n\t\tint int1 = input.nextInt();\n\t\tint int2 = input.nextInt();\n\t\tint gcd = 1;\n\t\t\n\t\tif(int2 > int1) {\n\t\t\tint temp = int1;\n\t\t\tint1 = int2;\n\t\t\tint2 = temp;\n\t\t}\n\t\twhile(int1 >= int2) {\n\t\t\tint temp = int2;\n\t\t\tint2 = int1 % int2;\n\t\t\tif(int2 == 0) {\n\t\t\t\tgcd = temp;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint1 = temp;\n\t\t}\n\t\tSystem.out.println(gcd);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner input = new Scanner(System.in);\n\t\tint int1 = input.nextInt();\n\t\tint int2 = input.nextInt();\n\t\tint gcd = 1;\n\t\t\n\t\tif(int2 > int1) {\n\t\t\tint temp = int1;\n\t\t\tint1 = int2;\n\t\t\tint2 = temp;\n\t\t}\n\t\twhile(int1 >= int2) {\n\t\t\tint temp = int2;\n\t\t\tint2 = int1 % int2;\n\t\t\tif(int2 == 0) {\n\t\t\t\tgcd = temp;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint1 = temp;\n\t\t}\n\t\tSystem.out.println(gcd);\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\tScanner input = new Scanner(System.in);\n\t\tint int1 = input.nextInt();\n\t\tint int2 = input.nextInt();\n\t\tint gcd = 1;\n\t\t\n\t\tif(int2 > int1) {\n\t\t\tint temp = int1;\n\t\t\tint1 = int2;\n\t\t\tint2 = temp;\n\t\t}\n\t\twhile(int1 >= int2) {\n\t\t\tint temp = int2;\n\t\t\tint2 = int1 % int2;\n\t\t\tif(int2 == 0) {\n\t\t\t\tgcd = temp;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint1 = temp;\n\t\t}\n\t\tSystem.out.println(gcd);\n\t}", "Scanner input = new Scanner(System.in);", "input", "new Scanner(System.in)", "int int1 = input.nextInt();", "int1", "input.nextInt()", "input.nextInt", "input", "int int2 = input.nextInt();", "int2", "input.nextInt()", "input.nextInt", "input", "int gcd = 1;", "gcd", "1", "if(int2 > int1) {\n\t\t\tint temp = int1;\n\t\t\tint1 = int2;\n\t\t\tint2 = temp;\n\t\t}", "int2 > int1", "int2", "int1", "{\n\t\t\tint temp = int1;\n\t\t\tint1 = int2;\n\t\t\tint2 = temp;\n\t\t}", "int temp = int1;", "temp", "int1", "int1 = int2", "int1", "int2", "int2 = temp", "int2", "temp", "while(int1 >= int2) {\n\t\t\tint temp = int2;\n\t\t\tint2 = int1 % int2;\n\t\t\tif(int2 == 0) {\n\t\t\t\tgcd = temp;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint1 = temp;\n\t\t}", "int1 >= int2", "int1", "int2", "{\n\t\t\tint temp = int2;\n\t\t\tint2 = int1 % int2;\n\t\t\tif(int2 == 0) {\n\t\t\t\tgcd = temp;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint1 = temp;\n\t\t}", "int temp = int2;", "temp", "int2", "int2 = int1 % int2", "int2", "int1 % int2", "int1", "int2", "if(int2 == 0) {\n\t\t\t\tgcd = temp;\n\t\t\t\tbreak;\n\t\t\t}", "int2 == 0", "int2", "0", "{\n\t\t\t\tgcd = temp;\n\t\t\t\tbreak;\n\t\t\t}", "gcd = temp", "gcd", "temp", "break;", "int1 = temp", "int1", "temp", "System.out.println(gcd)", "System.out.println", "System.out", "System", "System.out", "gcd", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner input = new Scanner(System.in);\n\t\tint int1 = input.nextInt();\n\t\tint int2 = input.nextInt();\n\t\tint gcd = 1;\n\t\t\n\t\tif(int2 > int1) {\n\t\t\tint temp = int1;\n\t\t\tint1 = int2;\n\t\t\tint2 = temp;\n\t\t}\n\t\twhile(int1 >= int2) {\n\t\t\tint temp = int2;\n\t\t\tint2 = int1 % int2;\n\t\t\tif(int2 == 0) {\n\t\t\t\tgcd = temp;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint1 = temp;\n\t\t}\n\t\tSystem.out.println(gcd);\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner input = new Scanner(System.in);\n\t\tint int1 = input.nextInt();\n\t\tint int2 = input.nextInt();\n\t\tint gcd = 1;\n\t\t\n\t\tif(int2 > int1) {\n\t\t\tint temp = int1;\n\t\t\tint1 = int2;\n\t\t\tint2 = temp;\n\t\t}\n\t\twhile(int1 >= int2) {\n\t\t\tint temp = int2;\n\t\t\tint2 = int1 % int2;\n\t\t\tif(int2 == 0) {\n\t\t\t\tgcd = temp;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint1 = temp;\n\t\t}\n\t\tSystem.out.println(gcd);\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner input = new Scanner(System.in); int int1 = input.nextInt(); int int2 = input.nextInt(); int gcd = 1; if(int2 > int1) { int temp = int1; int1 = int2; int2 = temp; } while(int1 >= int2) { int temp = int2; int2 = int1 % int2; if(int2 == 0) { gcd = temp; break; } int1 = temp; } System.out.println(gcd); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 0, 13, 4, 18, 13, 4, 18, 13, 0, 13, 4, 18, 13, 4, 18, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 0, 13, 13, 30, 11, 1, 0, 13, 13, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 3, 14, 2, 13, 17, 30, 4, 18, 13, 4, 18, 13, 13, 30, 4, 18, 13, 4, 18, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 35, 36 ], [ 36, 37 ], [ 8, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 44, 45 ], [ 8, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 46, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 8, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 8, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 78, 86 ], [ 86, 87 ], [ 87, 88 ], [ 78, 89 ], [ 90, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 92, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 91, 103 ], [ 103, 104 ], [ 8, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 105, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 118, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 8, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 130, 131 ], [ 131, 132 ], [ 6, 133 ], [ 133, 134 ] ]
[ "import java.util.Scanner;\n\n/**\n * @author kawakami\n *\n */\nclass Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tStringBuilder sb = new StringBuilder();\n\t\tScanner as = new Scanner(System.in);\n\t\t\n\t\tint x,y,ama;\n\t\tint i = 0;\n\t\tint big = 0;\n\t\tint sma = 0;\n\t\t\n\t\tx = Integer.parseInt(as.next());\n\t\ty = Integer.parseInt(as.next());\n\t\t\n\t\tif(x > y){\n\t\t\t\n\t\t\tbig = x;\n\t\t\tsma = y;\n\t\n\t\t}\n\t\telse{\n\t\t\t\n\t\t\tbig = y;\n\t\t\tsma = x;\n\t\t\t\n\t\t}\n\t\t\n\t\tama = big % sma;\n\t\tif(ama == 0){\n\t\t\t\n\t\t\ti = sma;\n\t\t\t\n\t\t}\n\t\telse{\n\t\t\tfor(i=ama;i>=1;i--){\n\t\t\t\t\n\t\t\t\tif(ama % i == 0 && sma % i == 0){\n\t\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}\n\t\tif(i != 0){\n\t\t\t\n\t\t\tsb.append(String.valueOf(i));\n\t\t\n\t\t}\n\t\telse{\n\t\t\t\n\t\t\tsb.append(String.valueOf(1));\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(sb.toString());\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tStringBuilder sb = new StringBuilder();\n\t\tScanner as = new Scanner(System.in);\n\t\t\n\t\tint x,y,ama;\n\t\tint i = 0;\n\t\tint big = 0;\n\t\tint sma = 0;\n\t\t\n\t\tx = Integer.parseInt(as.next());\n\t\ty = Integer.parseInt(as.next());\n\t\t\n\t\tif(x > y){\n\t\t\t\n\t\t\tbig = x;\n\t\t\tsma = y;\n\t\n\t\t}\n\t\telse{\n\t\t\t\n\t\t\tbig = y;\n\t\t\tsma = x;\n\t\t\t\n\t\t}\n\t\t\n\t\tama = big % sma;\n\t\tif(ama == 0){\n\t\t\t\n\t\t\ti = sma;\n\t\t\t\n\t\t}\n\t\telse{\n\t\t\tfor(i=ama;i>=1;i--){\n\t\t\t\t\n\t\t\t\tif(ama % i == 0 && sma % i == 0){\n\t\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}\n\t\tif(i != 0){\n\t\t\t\n\t\t\tsb.append(String.valueOf(i));\n\t\t\n\t\t}\n\t\telse{\n\t\t\t\n\t\t\tsb.append(String.valueOf(1));\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(sb.toString());\n\t}\n\n}", "Main", "/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tStringBuilder sb = new StringBuilder();\n\t\tScanner as = new Scanner(System.in);\n\t\t\n\t\tint x,y,ama;\n\t\tint i = 0;\n\t\tint big = 0;\n\t\tint sma = 0;\n\t\t\n\t\tx = Integer.parseInt(as.next());\n\t\ty = Integer.parseInt(as.next());\n\t\t\n\t\tif(x > y){\n\t\t\t\n\t\t\tbig = x;\n\t\t\tsma = y;\n\t\n\t\t}\n\t\telse{\n\t\t\t\n\t\t\tbig = y;\n\t\t\tsma = x;\n\t\t\t\n\t\t}\n\t\t\n\t\tama = big % sma;\n\t\tif(ama == 0){\n\t\t\t\n\t\t\ti = sma;\n\t\t\t\n\t\t}\n\t\telse{\n\t\t\tfor(i=ama;i>=1;i--){\n\t\t\t\t\n\t\t\t\tif(ama % i == 0 && sma % i == 0){\n\t\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}\n\t\tif(i != 0){\n\t\t\t\n\t\t\tsb.append(String.valueOf(i));\n\t\t\n\t\t}\n\t\telse{\n\t\t\t\n\t\t\tsb.append(String.valueOf(1));\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(sb.toString());\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\tStringBuilder sb = new StringBuilder();\n\t\tScanner as = new Scanner(System.in);\n\t\t\n\t\tint x,y,ama;\n\t\tint i = 0;\n\t\tint big = 0;\n\t\tint sma = 0;\n\t\t\n\t\tx = Integer.parseInt(as.next());\n\t\ty = Integer.parseInt(as.next());\n\t\t\n\t\tif(x > y){\n\t\t\t\n\t\t\tbig = x;\n\t\t\tsma = y;\n\t\n\t\t}\n\t\telse{\n\t\t\t\n\t\t\tbig = y;\n\t\t\tsma = x;\n\t\t\t\n\t\t}\n\t\t\n\t\tama = big % sma;\n\t\tif(ama == 0){\n\t\t\t\n\t\t\ti = sma;\n\t\t\t\n\t\t}\n\t\telse{\n\t\t\tfor(i=ama;i>=1;i--){\n\t\t\t\t\n\t\t\t\tif(ama % i == 0 && sma % i == 0){\n\t\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}\n\t\tif(i != 0){\n\t\t\t\n\t\t\tsb.append(String.valueOf(i));\n\t\t\n\t\t}\n\t\telse{\n\t\t\t\n\t\t\tsb.append(String.valueOf(1));\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(sb.toString());\n\t}", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "Scanner as = new Scanner(System.in);", "as", "new Scanner(System.in)", "int x", "x", "y", "y", "ama;", "ama", "int i = 0;", "i", "0", "int big = 0;", "big", "0", "int sma = 0;", "sma", "0", "x = Integer.parseInt(as.next())", "x", "Integer.parseInt(as.next())", "Integer.parseInt", "Integer", "as.next()", "as.next", "as", "y = Integer.parseInt(as.next())", "y", "Integer.parseInt(as.next())", "Integer.parseInt", "Integer", "as.next()", "as.next", "as", "if(x > y){\n\t\t\t\n\t\t\tbig = x;\n\t\t\tsma = y;\n\t\n\t\t}\n\t\telse{\n\t\t\t\n\t\t\tbig = y;\n\t\t\tsma = x;\n\t\t\t\n\t\t}", "x > y", "x", "y", "{\n\t\t\t\n\t\t\tbig = x;\n\t\t\tsma = y;\n\t\n\t\t}", "big = x", "big", "x", "sma = y", "sma", "y", "{\n\t\t\t\n\t\t\tbig = y;\n\t\t\tsma = x;\n\t\t\t\n\t\t}", "big = y", "big", "y", "sma = x", "sma", "x", "ama = big % sma", "ama", "big % sma", "big", "sma", "if(ama == 0){\n\t\t\t\n\t\t\ti = sma;\n\t\t\t\n\t\t}\n\t\telse{\n\t\t\tfor(i=ama;i>=1;i--){\n\t\t\t\t\n\t\t\t\tif(ama % i == 0 && sma % i == 0){\n\t\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}", "ama == 0", "ama", "0", "{\n\t\t\t\n\t\t\ti = sma;\n\t\t\t\n\t\t}", "i = sma", "i", "sma", "{\n\t\t\tfor(i=ama;i>=1;i--){\n\t\t\t\t\n\t\t\t\tif(ama % i == 0 && sma % i == 0){\n\t\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t}", "for(i=ama;i>=1;i--){\n\t\t\t\t\n\t\t\t\tif(ama % i == 0 && sma % i == 0){\n\t\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}", "i=ama;", "i=ama", "i", "ama", "i>=1", "i", "1", "i--", "i--", "i", "{\n\t\t\t\t\n\t\t\t\tif(ama % i == 0 && sma % i == 0){\n\t\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}", "{\n\t\t\t\t\n\t\t\t\tif(ama % i == 0 && sma % i == 0){\n\t\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}", "if(ama % i == 0 && sma % i == 0){\n\t\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t}", "ama % i == 0 && sma % i == 0", "ama % i == 0", "ama % i", "ama", "i", "0", "sma % i == 0", "sma % i", "sma", "i", "0", "{\n\t\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t}", "break;", "if(i != 0){\n\t\t\t\n\t\t\tsb.append(String.valueOf(i));\n\t\t\n\t\t}\n\t\telse{\n\t\t\t\n\t\t\tsb.append(String.valueOf(1));\n\t\t\t\n\t\t}", "i != 0", "i", "0", "{\n\t\t\t\n\t\t\tsb.append(String.valueOf(i));\n\t\t\n\t\t}", "sb.append(String.valueOf(i))", "sb.append", "sb", "String.valueOf(i)", "String.valueOf", "String", "i", "{\n\t\t\t\n\t\t\tsb.append(String.valueOf(1));\n\t\t\t\n\t\t}", "sb.append(String.valueOf(1))", "sb.append", "sb", "String.valueOf(1)", "String.valueOf", "String", "1", "System.out.println(sb.toString())", "System.out.println", "System.out", "System", "System.out", "sb.toString()", "sb.toString", "sb", "String[] args", "args" ]
import java.util.Scanner; /** * @author kawakami * */ class Main { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub StringBuilder sb = new StringBuilder(); Scanner as = new Scanner(System.in); int x,y,ama; int i = 0; int big = 0; int sma = 0; x = Integer.parseInt(as.next()); y = Integer.parseInt(as.next()); if(x > y){ big = x; sma = y; } else{ big = y; sma = x; } ama = big % sma; if(ama == 0){ i = sma; } else{ for(i=ama;i>=1;i--){ if(ama % i == 0 && sma % i == 0){ break; } } } if(i != 0){ sb.append(String.valueOf(i)); } else{ sb.append(String.valueOf(1)); } System.out.println(sb.toString()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 13, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 42, 2, 17, 13, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 22, 25 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 6, 29 ], [ 29, 30 ], [ 4, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 43, 45 ], [ 40, 46 ], [ 46, 47 ], [ 46, 48 ], [ 40, 49 ], [ 49, 50 ], [ 49, 51 ], [ 33, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 31, 58 ], [ 58, 59 ], [ 31, 60 ], [ 60, 61 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong numbef = scanner.nextInt();//要素数\n\t\tlong numaft = scanner.nextInt();//要素数\n\t\t\n\t\tgcd_euclid(numbef, numaft);\n\t\t\n\t\tscanner.close();\n\t}\n\t\n\tpublic static void gcd_euclid(long numbef, long numaft) {\n\t\t long sub;\n\t\t while (0 != numaft) {\n\t\t \t//ユークリッドの互除法\n\t\t sub = numbef % numaft; \n\t\t \tnumbef = numaft; \n\t\t \tnumaft = sub;\n\t\t }\n\t\t System.out.println(numbef);\n\t\t}\n}\n\n", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong numbef = scanner.nextInt();//要素数\n\t\tlong numaft = scanner.nextInt();//要素数\n\t\t\n\t\tgcd_euclid(numbef, numaft);\n\t\t\n\t\tscanner.close();\n\t}\n\t\n\tpublic static void gcd_euclid(long numbef, long numaft) {\n\t\t long sub;\n\t\t while (0 != numaft) {\n\t\t \t//ユークリッドの互除法\n\t\t sub = numbef % numaft; \n\t\t \tnumbef = numaft; \n\t\t \tnumaft = sub;\n\t\t }\n\t\t System.out.println(numbef);\n\t\t}\n}", "Main", "public static void main(String args[]) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong numbef = scanner.nextInt();//要素数\n\t\tlong numaft = scanner.nextInt();//要素数\n\t\t\n\t\tgcd_euclid(numbef, numaft);\n\t\t\n\t\tscanner.close();\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong numbef = scanner.nextInt();//要素数\n\t\tlong numaft = scanner.nextInt();//要素数\n\t\t\n\t\tgcd_euclid(numbef, numaft);\n\t\t\n\t\tscanner.close();\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "long numbef = scanner.nextInt();", "numbef", "scanner.nextInt()", "scanner.nextInt", "scanner", "long numaft = scanner.nextInt();", "numaft", "scanner.nextInt()", "scanner.nextInt", "scanner", "gcd_euclid(numbef, numaft)", "gcd_euclid", "numbef", "numaft", "scanner.close()", "scanner.close", "scanner", "String args[]", "args", "public static void gcd_euclid(long numbef, long numaft) {\n\t\t long sub;\n\t\t while (0 != numaft) {\n\t\t \t//ユークリッドの互除法\n\t\t sub = numbef % numaft; \n\t\t \tnumbef = numaft; \n\t\t \tnumaft = sub;\n\t\t }\n\t\t System.out.println(numbef);\n\t\t}", "gcd_euclid", "{\n\t\t long sub;\n\t\t while (0 != numaft) {\n\t\t \t//ユークリッドの互除法\n\t\t sub = numbef % numaft; \n\t\t \tnumbef = numaft; \n\t\t \tnumaft = sub;\n\t\t }\n\t\t System.out.println(numbef);\n\t\t}", "long sub;", "sub", "while (0 != numaft) {\n\t\t \t//ユークリッドの互除法\n\t\t sub = numbef % numaft; \n\t\t \tnumbef = numaft; \n\t\t \tnumaft = sub;\n\t\t }", "0 != numaft", "0", "numaft", "{\n\t\t \t//ユークリッドの互除法\n\t\t sub = numbef % numaft; \n\t\t \tnumbef = numaft; \n\t\t \tnumaft = sub;\n\t\t }", "sub = numbef % numaft", "sub", "numbef % numaft", "numbef", "numaft", "numbef = numaft", "numbef", "numaft", "numaft = sub", "numaft", "sub", "System.out.println(numbef)", "System.out.println", "System.out", "System", "System.out", "numbef", "long numbef", "numbef", "long numaft", "numaft" ]
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner scanner = new Scanner(System.in); long numbef = scanner.nextInt();//要素数 long numaft = scanner.nextInt();//要素数 gcd_euclid(numbef, numaft); scanner.close(); } public static void gcd_euclid(long numbef, long numaft) { long sub; while (0 != numaft) { //ユークリッドの互除法 sub = numbef % numaft; numbef = numaft; numaft = sub; } System.out.println(numbef); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 2, 13, 13, 14, 2, 13, 17, 30, 29, 13, 30, 29, 4, 13, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 76, 5 ], [ 76, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 30, 32 ], [ 26, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 41, 44 ], [ 8, 45 ], [ 45, 46 ], [ 46, 47 ], [ 6, 48 ], [ 48, 49 ], [ 76, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 52, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 58, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 67, 70 ], [ 50, 71 ], [ 71, 72 ], [ 50, 73 ], [ 73, 74 ], [ 0, 75 ], [ 75, 76 ], [ 75, 77 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] atgs) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif (x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\tSystem.out.println(gcd(x, y));\n\t\tsc.close();\n\t}\n\n\tpublic static int gcd(int a, int b) {\n\t\tint v = a % b;\n\t\tif (v == 0) {\n\t\t\treturn b;\n\t\t} else {\n\t\t\treturn gcd(b, v);\n\t\t}\n\t}\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] atgs) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif (x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\tSystem.out.println(gcd(x, y));\n\t\tsc.close();\n\t}\n\n\tpublic static int gcd(int a, int b) {\n\t\tint v = a % b;\n\t\tif (v == 0) {\n\t\t\treturn b;\n\t\t} else {\n\t\t\treturn gcd(b, v);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] atgs) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif (x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\tSystem.out.println(gcd(x, y));\n\t\tsc.close();\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif (x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\tSystem.out.println(gcd(x, y));\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "if (x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}", "x < y", "x", "y", "{\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}", "int tmp = x;", "tmp", "x", "x = y", "x", "y", "y = tmp", "y", "tmp", "System.out.println(gcd(x, y))", "System.out.println", "System.out", "System", "System.out", "gcd(x, y)", "gcd", "x", "y", "sc.close()", "sc.close", "sc", "String[] atgs", "atgs", "public static int gcd(int a, int b) {\n\t\tint v = a % b;\n\t\tif (v == 0) {\n\t\t\treturn b;\n\t\t} else {\n\t\t\treturn gcd(b, v);\n\t\t}\n\t}", "gcd", "{\n\t\tint v = a % b;\n\t\tif (v == 0) {\n\t\t\treturn b;\n\t\t} else {\n\t\t\treturn gcd(b, v);\n\t\t}\n\t}", "int v = a % b;", "v", "a % b", "a", "b", "if (v == 0) {\n\t\t\treturn b;\n\t\t} else {\n\t\t\treturn gcd(b, v);\n\t\t}", "v == 0", "v", "0", "{\n\t\t\treturn b;\n\t\t}", "return b;", "b", "{\n\t\t\treturn gcd(b, v);\n\t\t}", "return gcd(b, v);", "gcd(b, v)", "gcd", "b", "v", "int a", "a", "int b", "b", "public class Main {\n\n\tpublic static void main(String[] atgs) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif (x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\tSystem.out.println(gcd(x, y));\n\t\tsc.close();\n\t}\n\n\tpublic static int gcd(int a, int b) {\n\t\tint v = a % b;\n\t\tif (v == 0) {\n\t\t\treturn b;\n\t\t} else {\n\t\t\treturn gcd(b, v);\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] atgs) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif (x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\tSystem.out.println(gcd(x, y));\n\t\tsc.close();\n\t}\n\n\tpublic static int gcd(int a, int b) {\n\t\tint v = a % b;\n\t\tif (v == 0) {\n\t\t\treturn b;\n\t\t} else {\n\t\t\treturn gcd(b, v);\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] atgs) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); if (x < y) { int tmp = x; x = y; y = tmp; } System.out.println(gcd(x, y)); sc.close(); } public static int gcd(int a, int b) { int v = a % b; if (v == 0) { return b; } else { return gcd(b, v); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 42, 2, 0, 13, 2, 13, 13, 17, 30, 0, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 60, 5 ], [ 60, 6 ], [ 6, 7 ], [ 6, 8 ], [ 60, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 11, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 9, 31 ], [ 31, 32 ], [ 60, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 42, 44 ], [ 39, 45 ], [ 38, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 50, 52 ], [ 35, 53 ], [ 53, 54 ], [ 33, 55 ], [ 55, 56 ], [ 33, 57 ], [ 57, 58 ], [ 0, 59 ], [ 59, 60 ], [ 59, 61 ] ]
[ "import java.util.*;\n\npublic class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tSystem.out.println(gcd(x,y));\n\t}\n\t//最大公約数gcdを求める\n\tstatic int gcd (int a, int b) {\n\t\tint temp;\n\t\twhile((temp = a%b)!=0) {\n\t\t\ta = b;\n\t\t\tb = temp;\n\t\t}\n\t\treturn b;\n\t}\n}\t\t\t\t", "import java.util.*;", "util.*", "java", "public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tSystem.out.println(gcd(x,y));\n\t}\n\t//最大公約数gcdを求める\n\tstatic int gcd (int a, int b) {\n\t\tint temp;\n\t\twhile((temp = a%b)!=0) {\n\t\t\ta = b;\n\t\t\tb = temp;\n\t\t}\n\t\treturn b;\n\t}\n}", "Main", "static Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "public static void main(String[] args) {\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tSystem.out.println(gcd(x,y));\n\t}", "main", "{\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tSystem.out.println(gcd(x,y));\n\t}", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println(gcd(x,y))", "System.out.println", "System.out", "System", "System.out", "gcd(x,y)", "gcd", "x", "y", "String[] args", "args", "//最大公約数gcdを求める\n\tstatic int gcd (int a, int b) {\n\t\tint temp;\n\t\twhile((temp = a%b)!=0) {\n\t\t\ta = b;\n\t\t\tb = temp;\n\t\t}\n\t\treturn b;\n\t}", "gcd", "{\n\t\tint temp;\n\t\twhile((temp = a%b)!=0) {\n\t\t\ta = b;\n\t\t\tb = temp;\n\t\t}\n\t\treturn b;\n\t}", "int temp;", "temp", "while((temp = a%b)!=0) {\n\t\t\ta = b;\n\t\t\tb = temp;\n\t\t}", "(temp = a%b)!=0", "(temp = a%b)", "temp", "a%b", "a", "b", "0", "{\n\t\t\ta = b;\n\t\t\tb = temp;\n\t\t}", "a = b", "a", "b", "b = temp", "b", "temp", "return b;", "b", "int a", "a", "int b", "b", "public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tSystem.out.println(gcd(x,y));\n\t}\n\t//最大公約数gcdを求める\n\tstatic int gcd (int a, int b) {\n\t\tint temp;\n\t\twhile((temp = a%b)!=0) {\n\t\t\ta = b;\n\t\t\tb = temp;\n\t\t}\n\t\treturn b;\n\t}\n}", "public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tSystem.out.println(gcd(x,y));\n\t}\n\t//最大公約数gcdを求める\n\tstatic int gcd (int a, int b) {\n\t\tint temp;\n\t\twhile((temp = a%b)!=0) {\n\t\t\ta = b;\n\t\t\tb = temp;\n\t\t}\n\t\treturn b;\n\t}\n}", "Main" ]
import java.util.*; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { int x = sc.nextInt(); int y = sc.nextInt(); System.out.println(gcd(x,y)); } //最大公約数gcdを求める static int gcd (int a, int b) { int temp; while((temp = a%b)!=0) { a = b; b = temp; } return b; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 41, 13, 2, 13, 13, 42, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 79, 5 ], [ 79, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 38, 40 ], [ 34, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 57, 59 ], [ 53, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 53, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 6, 76 ], [ 76, 77 ], [ 0, 78 ], [ 78, 79 ], [ 78, 80 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tint a = Integer.parseInt(std.next());\n\t\tint b = Integer.parseInt(std.next());\n\t\tint temp;\n\t\tif(a<b){temp=b; b=a; a=temp;}\n\n\t\tint m = a%b;\n\t\twhile(m!=0){\n\t\t\ttemp = a;\n\t\t\ta = b;\n\t\t\tb = temp%b;\n\t\t\tm = a%b;\n\t\t}\n\t\tSystem.out.println(b);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tint a = Integer.parseInt(std.next());\n\t\tint b = Integer.parseInt(std.next());\n\t\tint temp;\n\t\tif(a<b){temp=b; b=a; a=temp;}\n\n\t\tint m = a%b;\n\t\twhile(m!=0){\n\t\t\ttemp = a;\n\t\t\ta = b;\n\t\t\tb = temp%b;\n\t\t\tm = a%b;\n\t\t}\n\t\tSystem.out.println(b);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tint a = Integer.parseInt(std.next());\n\t\tint b = Integer.parseInt(std.next());\n\t\tint temp;\n\t\tif(a<b){temp=b; b=a; a=temp;}\n\n\t\tint m = a%b;\n\t\twhile(m!=0){\n\t\t\ttemp = a;\n\t\t\ta = b;\n\t\t\tb = temp%b;\n\t\t\tm = a%b;\n\t\t}\n\t\tSystem.out.println(b);\n\t}", "main", "{\n\t\tScanner std = new Scanner(System.in);\n\t\tint a = Integer.parseInt(std.next());\n\t\tint b = Integer.parseInt(std.next());\n\t\tint temp;\n\t\tif(a<b){temp=b; b=a; a=temp;}\n\n\t\tint m = a%b;\n\t\twhile(m!=0){\n\t\t\ttemp = a;\n\t\t\ta = b;\n\t\t\tb = temp%b;\n\t\t\tm = a%b;\n\t\t}\n\t\tSystem.out.println(b);\n\t}", "Scanner std = new Scanner(System.in);", "std", "new Scanner(System.in)", "int a = Integer.parseInt(std.next());", "a", "Integer.parseInt(std.next())", "Integer.parseInt", "Integer", "std.next()", "std.next", "std", "int b = Integer.parseInt(std.next());", "b", "Integer.parseInt(std.next())", "Integer.parseInt", "Integer", "std.next()", "std.next", "std", "int temp;", "temp", "if(a<b){temp=b; b=a; a=temp;}", "a<b", "a", "b", "{temp=b; b=a; a=temp;}", "temp=b", "temp", "b", "b=a", "b", "a", "a=temp", "a", "temp", "int m = a%b;", "m", "a%b", "a", "b", "while(m!=0){\n\t\t\ttemp = a;\n\t\t\ta = b;\n\t\t\tb = temp%b;\n\t\t\tm = a%b;\n\t\t}", "m!=0", "m", "0", "{\n\t\t\ttemp = a;\n\t\t\ta = b;\n\t\t\tb = temp%b;\n\t\t\tm = a%b;\n\t\t}", "temp = a", "temp", "a", "a = b", "a", "b", "b = temp%b", "b", "temp%b", "temp", "b", "m = a%b", "m", "a%b", "a", "b", "System.out.println(b)", "System.out.println", "System.out", "System", "System.out", "b", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tint a = Integer.parseInt(std.next());\n\t\tint b = Integer.parseInt(std.next());\n\t\tint temp;\n\t\tif(a<b){temp=b; b=a; a=temp;}\n\n\t\tint m = a%b;\n\t\twhile(m!=0){\n\t\t\ttemp = a;\n\t\t\ta = b;\n\t\t\tb = temp%b;\n\t\t\tm = a%b;\n\t\t}\n\t\tSystem.out.println(b);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tint a = Integer.parseInt(std.next());\n\t\tint b = Integer.parseInt(std.next());\n\t\tint temp;\n\t\tif(a<b){temp=b; b=a; a=temp;}\n\n\t\tint m = a%b;\n\t\twhile(m!=0){\n\t\t\ttemp = a;\n\t\t\ta = b;\n\t\t\tb = temp%b;\n\t\t\tm = a%b;\n\t\t}\n\t\tSystem.out.println(b);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner std = new Scanner(System.in); int a = Integer.parseInt(std.next()); int b = Integer.parseInt(std.next()); int temp; if(a<b){temp=b; b=a; a=temp;} int m = a%b; while(m!=0){ temp = a; a = b; b = temp%b; m = a%b; } System.out.println(b); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 42, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 0, 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 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 35, 36 ], [ 35, 37 ], [ 31, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 8, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 6, 49 ], [ 49, 50 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tint x = stdIn.nextInt();\n\t\tint y = stdIn.nextInt();\n\n\n\t\tint answer = x % y;\n\n\t\twhile (answer != 0) {\n\t\t\tx = y;\n\t\t\ty = answer;\n\t\t\tanswer = x % y;\n\t\t}\n\n\t\tSystem.out.println(y);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tint x = stdIn.nextInt();\n\t\tint y = stdIn.nextInt();\n\n\n\t\tint answer = x % y;\n\n\t\twhile (answer != 0) {\n\t\t\tx = y;\n\t\t\ty = answer;\n\t\t\tanswer = x % y;\n\t\t}\n\n\t\tSystem.out.println(y);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tint x = stdIn.nextInt();\n\t\tint y = stdIn.nextInt();\n\n\n\t\tint answer = x % y;\n\n\t\twhile (answer != 0) {\n\t\t\tx = y;\n\t\t\ty = answer;\n\t\t\tanswer = x % y;\n\t\t}\n\n\t\tSystem.out.println(y);\n\t}", "main", "{\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tint x = stdIn.nextInt();\n\t\tint y = stdIn.nextInt();\n\n\n\t\tint answer = x % y;\n\n\t\twhile (answer != 0) {\n\t\t\tx = y;\n\t\t\ty = answer;\n\t\t\tanswer = x % y;\n\t\t}\n\n\t\tSystem.out.println(y);\n\t}", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "int x = stdIn.nextInt();", "x", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int y = stdIn.nextInt();", "y", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int answer = x % y;", "answer", "x % y", "x", "y", "while (answer != 0) {\n\t\t\tx = y;\n\t\t\ty = answer;\n\t\t\tanswer = x % y;\n\t\t}", "answer != 0", "answer", "0", "{\n\t\t\tx = y;\n\t\t\ty = answer;\n\t\t\tanswer = x % y;\n\t\t}", "x = y", "x", "y", "y = answer", "y", "answer", "answer = x % y", "answer", "x % y", "x", "y", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int x = stdIn.nextInt(); int y = stdIn.nextInt(); int answer = x % y; while (answer != 0) { x = y; y = answer; answer = x % y; } System.out.println(y); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 41, 13, 17, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 0, 18, 13, 13, 13, 41, 13, 4, 18, 18, 13, 17, 17, 41, 13, 0, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 14, 2, 18, 13, 17, 18, 13, 17, 30, 41, 13, 18, 13, 17, 0, 18, 13, 17, 18, 13, 17, 0, 18, 13, 17, 13, 41, 13, 17, 41, 13, 18, 13, 17, 41, 13, 18, 13, 17, 42, 2, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 139, 5 ], [ 139, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 8, 19 ], [ 19, 20 ], [ 20, 21 ], [ 21, 22 ], [ 19, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 23, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 8, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 8, 42 ], [ 42, 43 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 47, 48 ], [ 47, 49 ], [ 8, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 50, 60 ], [ 60, 61 ], [ 61, 62 ], [ 50, 63 ], [ 64, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 72, 73 ], [ 72, 74 ], [ 8, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 80, 82 ], [ 75, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 86, 88 ], [ 83, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 93, 94 ], [ 93, 95 ], [ 83, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 8, 101 ], [ 101, 102 ], [ 101, 103 ], [ 8, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 106, 108 ], [ 8, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 111, 113 ], [ 8, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 114, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 121, 123 ], [ 118, 124 ], [ 124, 125 ], [ 124, 126 ], [ 118, 127 ], [ 127, 128 ], [ 127, 129 ], [ 8, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 130, 135 ], [ 6, 136 ], [ 136, 137 ], [ 0, 138 ], [ 138, 139 ], [ 138, 140 ] ]
[ "import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner in = new Scanner(System.in);\n\t\tString[] str = new String[2];\n\t\tint count = 0; \n\t\twhile(in.hasNext()) {\n\t\t\tString buf = in.nextLine();\n\t\t\tstr[count] = buf;\n\t\t}\n\t\t\n\t\tString[] split = str[0].split(\" \");\n\t\tint facter[];\n\t\tfacter = new int[split.length];\n\n\t\tfor ( int i = 0; i < split.length; i++) {\n\t\t\tfacter[i] = Integer.parseInt(split[i]);\n\t\t\t\n\t\t}\n\t\t//swap\n\t\tif ( facter[0] < facter[1]) {\n\t\t\tint temp = facter[0];\n\t\t\tfacter[0] = facter[1];\n\t\t\tfacter[1] = temp;\n\n\t\t}\n\t\t\n\t\tint r = 0; \n\t\tint x = facter[0];\n\t\tint y = facter[1];\n\t\t\n\t\twhile (y > 0) {\n\t\t\tr = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\t\tSystem.out.println(x);\n\t\t\n\t\t\n\t\t\n\t}\n\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner in = new Scanner(System.in);\n\t\tString[] str = new String[2];\n\t\tint count = 0; \n\t\twhile(in.hasNext()) {\n\t\t\tString buf = in.nextLine();\n\t\t\tstr[count] = buf;\n\t\t}\n\t\t\n\t\tString[] split = str[0].split(\" \");\n\t\tint facter[];\n\t\tfacter = new int[split.length];\n\n\t\tfor ( int i = 0; i < split.length; i++) {\n\t\t\tfacter[i] = Integer.parseInt(split[i]);\n\t\t\t\n\t\t}\n\t\t//swap\n\t\tif ( facter[0] < facter[1]) {\n\t\t\tint temp = facter[0];\n\t\t\tfacter[0] = facter[1];\n\t\t\tfacter[1] = temp;\n\n\t\t}\n\t\t\n\t\tint r = 0; \n\t\tint x = facter[0];\n\t\tint y = facter[1];\n\t\t\n\t\twhile (y > 0) {\n\t\t\tr = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\t\tSystem.out.println(x);\n\t\t\n\t\t\n\t\t\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t\n\t\tScanner in = new Scanner(System.in);\n\t\tString[] str = new String[2];\n\t\tint count = 0; \n\t\twhile(in.hasNext()) {\n\t\t\tString buf = in.nextLine();\n\t\t\tstr[count] = buf;\n\t\t}\n\t\t\n\t\tString[] split = str[0].split(\" \");\n\t\tint facter[];\n\t\tfacter = new int[split.length];\n\n\t\tfor ( int i = 0; i < split.length; i++) {\n\t\t\tfacter[i] = Integer.parseInt(split[i]);\n\t\t\t\n\t\t}\n\t\t//swap\n\t\tif ( facter[0] < facter[1]) {\n\t\t\tint temp = facter[0];\n\t\t\tfacter[0] = facter[1];\n\t\t\tfacter[1] = temp;\n\n\t\t}\n\t\t\n\t\tint r = 0; \n\t\tint x = facter[0];\n\t\tint y = facter[1];\n\t\t\n\t\twhile (y > 0) {\n\t\t\tr = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\t\tSystem.out.println(x);\n\t\t\n\t\t\n\t\t\n\t}", "main", "{\n\t\t\n\t\tScanner in = new Scanner(System.in);\n\t\tString[] str = new String[2];\n\t\tint count = 0; \n\t\twhile(in.hasNext()) {\n\t\t\tString buf = in.nextLine();\n\t\t\tstr[count] = buf;\n\t\t}\n\t\t\n\t\tString[] split = str[0].split(\" \");\n\t\tint facter[];\n\t\tfacter = new int[split.length];\n\n\t\tfor ( int i = 0; i < split.length; i++) {\n\t\t\tfacter[i] = Integer.parseInt(split[i]);\n\t\t\t\n\t\t}\n\t\t//swap\n\t\tif ( facter[0] < facter[1]) {\n\t\t\tint temp = facter[0];\n\t\t\tfacter[0] = facter[1];\n\t\t\tfacter[1] = temp;\n\n\t\t}\n\t\t\n\t\tint r = 0; \n\t\tint x = facter[0];\n\t\tint y = facter[1];\n\t\t\n\t\twhile (y > 0) {\n\t\t\tr = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\t\tSystem.out.println(x);\n\t\t\n\t\t\n\t\t\n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "String[] str = new String[2];", "str", "new String[2]", "2", "int count = 0;", "count", "0", "while(in.hasNext()) {\n\t\t\tString buf = in.nextLine();\n\t\t\tstr[count] = buf;\n\t\t}", "in.hasNext()", "in.hasNext", "in", "{\n\t\t\tString buf = in.nextLine();\n\t\t\tstr[count] = buf;\n\t\t}", "String buf = in.nextLine();", "buf", "in.nextLine()", "in.nextLine", "in", "str[count] = buf", "str[count]", "str", "count", "buf", "String[] split = str[0].split(\" \");", "split", "str[0].split(\" \")", "str[0].split", "str[0]", "str", "0", "\" \"", "int facter[];", "facter", "facter = new int[split.length]", "facter", "new int[split.length]", "split.length", "split", "split.length", "for ( int i = 0; i < split.length; i++) {\n\t\t\tfacter[i] = Integer.parseInt(split[i]);\n\t\t\t\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < split.length", "i", "split.length", "split", "split.length", "i++", "i++", "i", "{\n\t\t\tfacter[i] = Integer.parseInt(split[i]);\n\t\t\t\n\t\t}", "{\n\t\t\tfacter[i] = Integer.parseInt(split[i]);\n\t\t\t\n\t\t}", "facter[i] = Integer.parseInt(split[i])", "facter[i]", "facter", "i", "Integer.parseInt(split[i])", "Integer.parseInt", "Integer", "split[i]", "split", "i", "if ( facter[0] < facter[1]) {\n\t\t\tint temp = facter[0];\n\t\t\tfacter[0] = facter[1];\n\t\t\tfacter[1] = temp;\n\n\t\t}", "facter[0] < facter[1]", "facter[0]", "facter", "0", "facter[1]", "facter", "1", "{\n\t\t\tint temp = facter[0];\n\t\t\tfacter[0] = facter[1];\n\t\t\tfacter[1] = temp;\n\n\t\t}", "int temp = facter[0];", "temp", "facter[0]", "facter", "0", "facter[0] = facter[1]", "facter[0]", "facter", "0", "facter[1]", "facter", "1", "facter[1] = temp", "facter[1]", "facter", "1", "temp", "int r = 0;", "r", "0", "int x = facter[0];", "x", "facter[0]", "facter", "0", "int y = facter[1];", "y", "facter[1]", "facter", "1", "while (y > 0) {\n\t\t\tr = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}", "y > 0", "y", "0", "{\n\t\t\tr = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}", "r = x % y", "r", "x % y", "x", "y", "x = y", "x", "y", "y = r", "y", "r", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner in = new Scanner(System.in);\n\t\tString[] str = new String[2];\n\t\tint count = 0; \n\t\twhile(in.hasNext()) {\n\t\t\tString buf = in.nextLine();\n\t\t\tstr[count] = buf;\n\t\t}\n\t\t\n\t\tString[] split = str[0].split(\" \");\n\t\tint facter[];\n\t\tfacter = new int[split.length];\n\n\t\tfor ( int i = 0; i < split.length; i++) {\n\t\t\tfacter[i] = Integer.parseInt(split[i]);\n\t\t\t\n\t\t}\n\t\t//swap\n\t\tif ( facter[0] < facter[1]) {\n\t\t\tint temp = facter[0];\n\t\t\tfacter[0] = facter[1];\n\t\t\tfacter[1] = temp;\n\n\t\t}\n\t\t\n\t\tint r = 0; \n\t\tint x = facter[0];\n\t\tint y = facter[1];\n\t\t\n\t\twhile (y > 0) {\n\t\t\tr = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\t\tSystem.out.println(x);\n\t\t\n\t\t\n\t\t\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner in = new Scanner(System.in);\n\t\tString[] str = new String[2];\n\t\tint count = 0; \n\t\twhile(in.hasNext()) {\n\t\t\tString buf = in.nextLine();\n\t\t\tstr[count] = buf;\n\t\t}\n\t\t\n\t\tString[] split = str[0].split(\" \");\n\t\tint facter[];\n\t\tfacter = new int[split.length];\n\n\t\tfor ( int i = 0; i < split.length; i++) {\n\t\t\tfacter[i] = Integer.parseInt(split[i]);\n\t\t\t\n\t\t}\n\t\t//swap\n\t\tif ( facter[0] < facter[1]) {\n\t\t\tint temp = facter[0];\n\t\t\tfacter[0] = facter[1];\n\t\t\tfacter[1] = temp;\n\n\t\t}\n\t\t\n\t\tint r = 0; \n\t\tint x = facter[0];\n\t\tint y = facter[1];\n\t\t\n\t\twhile (y > 0) {\n\t\t\tr = x % y;\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t}\n\t\tSystem.out.println(x);\n\t\t\n\t\t\n\t\t\n\t}\n\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); String[] str = new String[2]; int count = 0; while(in.hasNext()) { String buf = in.nextLine(); str[count] = buf; } String[] split = str[0].split(" "); int facter[]; facter = new int[split.length]; for ( int i = 0; i < split.length; i++) { facter[i] = Integer.parseInt(split[i]); } //swap if ( facter[0] < facter[1]) { int temp = facter[0]; facter[0] = facter[1]; facter[1] = temp; } int r = 0; int x = facter[0]; int y = facter[1]; while (y > 0) { r = x % y; x = y; y = r; } System.out.println(x); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 14, 2, 13, 13, 29, 4, 13, 13, 13, 14, 2, 13, 13, 29, 4, 13, 13, 2, 13, 13, 29, 13, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 6, 31 ], [ 31, 32 ], [ 4, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 36, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 47, 50 ], [ 42, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 56, 59 ], [ 59, 60 ], [ 59, 61 ], [ 51, 62 ], [ 62, 63 ], [ 33, 64 ], [ 64, 65 ], [ 33, 66 ], [ 66, 67 ] ]
[ "import java.util.Scanner;\n\nclass Main { \n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n System.out.println(gcd(a, b));\n }\n \n public static int gcd(int x, int y) {\n if (y == 0) return x;\n else if (x < y) return gcd(y, x);\n else if (x > y) return gcd(y, x%y);\n else return x;\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main { \n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n System.out.println(gcd(a, b));\n }\n \n public static int gcd(int x, int y) {\n if (y == 0) return x;\n else if (x < y) return gcd(y, x);\n else if (x > y) return gcd(y, x%y);\n else return x;\n }\n}", "Main", "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n System.out.println(gcd(a, b));\n }", "main", "{\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n System.out.println(gcd(a, b));\n }", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int a = in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "int b = in.nextInt();", "b", "in.nextInt()", "in.nextInt", "in", "System.out.println(gcd(a, b))", "System.out.println", "System.out", "System", "System.out", "gcd(a, b)", "gcd", "a", "b", "String[] args", "args", "public static int gcd(int x, int y) {\n if (y == 0) return x;\n else if (x < y) return gcd(y, x);\n else if (x > y) return gcd(y, x%y);\n else return x;\n }", "gcd", "{\n if (y == 0) return x;\n else if (x < y) return gcd(y, x);\n else if (x > y) return gcd(y, x%y);\n else return x;\n }", "if (y == 0) return x;\n else if (x < y) return gcd(y, x);\n else if (x > y) return gcd(y, x%y);\n else return x;", "y == 0", "y", "0", "return x;", "x", "if (x < y) return gcd(y, x);\n else if (x > y) return gcd(y, x%y);\n else return x;", "x < y", "x", "y", "return gcd(y, x);", "gcd(y, x)", "gcd", "y", "x", "if (x > y) return gcd(y, x%y);\n else return x;", "x > y", "x", "y", "return gcd(y, x%y);", "gcd(y, x%y)", "gcd", "y", "x%y", "x", "y", "return x;", "x", "int x", "x", "int y", "y" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); System.out.println(gcd(a, b)); } public static int gcd(int x, int y) { if (y == 0) return x; else if (x < y) return gcd(y, x); else if (x > y) return gcd(y, x%y); else return x; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 29, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 13, 17, 30, 0, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 29, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 86, 5 ], [ 86, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 32, 39 ], [ 28, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 48, 50 ], [ 44, 51 ], [ 51, 52 ], [ 51, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 66, 73 ], [ 58, 74 ], [ 74, 75 ], [ 74, 76 ], [ 8, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 6, 83 ], [ 83, 84 ], [ 0, 85 ], [ 85, 86 ], [ 85, 87 ] ]
[ "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\tint n=Integer.valueOf(sc.next());\n\t\tint m=Integer.valueOf(sc.next());\n\t\tif(n==m){\n\t\t\tSystem.out.println(n);\n\t\t\treturn;\n\t\t}else if(n>m){\n\t\t\tint temp=m;\n\t\t\tm=n;\n\t\t\tn=temp;\n\t\t}\n\t\twhile(n!=0){\n\t\t\tm%=n;\n\t\t\tif(m==0){\n\t\t\t\tSystem.out.println(n);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tn%=m;\n\t\t}\n\t\tSystem.out.println(m);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=Integer.valueOf(sc.next());\n\t\tint m=Integer.valueOf(sc.next());\n\t\tif(n==m){\n\t\t\tSystem.out.println(n);\n\t\t\treturn;\n\t\t}else if(n>m){\n\t\t\tint temp=m;\n\t\t\tm=n;\n\t\t\tn=temp;\n\t\t}\n\t\twhile(n!=0){\n\t\t\tm%=n;\n\t\t\tif(m==0){\n\t\t\t\tSystem.out.println(n);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tn%=m;\n\t\t}\n\t\tSystem.out.println(m);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=Integer.valueOf(sc.next());\n\t\tint m=Integer.valueOf(sc.next());\n\t\tif(n==m){\n\t\t\tSystem.out.println(n);\n\t\t\treturn;\n\t\t}else if(n>m){\n\t\t\tint temp=m;\n\t\t\tm=n;\n\t\t\tn=temp;\n\t\t}\n\t\twhile(n!=0){\n\t\t\tm%=n;\n\t\t\tif(m==0){\n\t\t\t\tSystem.out.println(n);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tn%=m;\n\t\t}\n\t\tSystem.out.println(m);\n\t}", "main", "{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=Integer.valueOf(sc.next());\n\t\tint m=Integer.valueOf(sc.next());\n\t\tif(n==m){\n\t\t\tSystem.out.println(n);\n\t\t\treturn;\n\t\t}else if(n>m){\n\t\t\tint temp=m;\n\t\t\tm=n;\n\t\t\tn=temp;\n\t\t}\n\t\twhile(n!=0){\n\t\t\tm%=n;\n\t\t\tif(m==0){\n\t\t\t\tSystem.out.println(n);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tn%=m;\n\t\t}\n\t\tSystem.out.println(m);\n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n=Integer.valueOf(sc.next());", "n", "Integer.valueOf(sc.next())", "Integer.valueOf", "Integer", "sc.next()", "sc.next", "sc", "int m=Integer.valueOf(sc.next());", "m", "Integer.valueOf(sc.next())", "Integer.valueOf", "Integer", "sc.next()", "sc.next", "sc", "if(n==m){\n\t\t\tSystem.out.println(n);\n\t\t\treturn;\n\t\t}else if(n>m){\n\t\t\tint temp=m;\n\t\t\tm=n;\n\t\t\tn=temp;\n\t\t}", "n==m", "n", "m", "{\n\t\t\tSystem.out.println(n);\n\t\t\treturn;\n\t\t}", "System.out.println(n)", "System.out.println", "System.out", "System", "System.out", "n", "return;", "if(n>m){\n\t\t\tint temp=m;\n\t\t\tm=n;\n\t\t\tn=temp;\n\t\t}", "n>m", "n", "m", "{\n\t\t\tint temp=m;\n\t\t\tm=n;\n\t\t\tn=temp;\n\t\t}", "int temp=m;", "temp", "m", "m=n", "m", "n", "n=temp", "n", "temp", "while(n!=0){\n\t\t\tm%=n;\n\t\t\tif(m==0){\n\t\t\t\tSystem.out.println(n);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tn%=m;\n\t\t}", "n!=0", "n", "0", "{\n\t\t\tm%=n;\n\t\t\tif(m==0){\n\t\t\t\tSystem.out.println(n);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tn%=m;\n\t\t}", "m%=n", "m", "n", "if(m==0){\n\t\t\t\tSystem.out.println(n);\n\t\t\t\treturn;\n\t\t\t}", "m==0", "m", "0", "{\n\t\t\t\tSystem.out.println(n);\n\t\t\t\treturn;\n\t\t\t}", "System.out.println(n)", "System.out.println", "System.out", "System", "System.out", "n", "return;", "n%=m", "n", "m", "System.out.println(m)", "System.out.println", "System.out", "System", "System.out", "m", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=Integer.valueOf(sc.next());\n\t\tint m=Integer.valueOf(sc.next());\n\t\tif(n==m){\n\t\t\tSystem.out.println(n);\n\t\t\treturn;\n\t\t}else if(n>m){\n\t\t\tint temp=m;\n\t\t\tm=n;\n\t\t\tn=temp;\n\t\t}\n\t\twhile(n!=0){\n\t\t\tm%=n;\n\t\t\tif(m==0){\n\t\t\t\tSystem.out.println(n);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tn%=m;\n\t\t}\n\t\tSystem.out.println(m);\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=Integer.valueOf(sc.next());\n\t\tint m=Integer.valueOf(sc.next());\n\t\tif(n==m){\n\t\t\tSystem.out.println(n);\n\t\t\treturn;\n\t\t}else if(n>m){\n\t\t\tint temp=m;\n\t\t\tm=n;\n\t\t\tn=temp;\n\t\t}\n\t\twhile(n!=0){\n\t\t\tm%=n;\n\t\t\tif(m==0){\n\t\t\t\tSystem.out.println(n);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tn%=m;\n\t\t}\n\t\tSystem.out.println(m);\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=Integer.valueOf(sc.next()); int m=Integer.valueOf(sc.next()); if(n==m){ System.out.println(n); return; }else if(n>m){ int temp=m; m=n; n=temp; } while(n!=0){ m%=n; if(m==0){ System.out.println(n); return; } n%=m; } System.out.println(m); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 14, 2, 13, 13, 30, 42, 2, 2, 13, 13, 17, 30, 41, 13, 13, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 14, 2, 13, 13, 30, 42, 2, 2, 13, 13, 17, 30, 41, 13, 13, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 102, 5 ], [ 102, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 30, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 42, 44 ], [ 36, 45 ], [ 45, 46 ], [ 45, 47 ], [ 36, 48 ], [ 48, 49 ], [ 48, 50 ], [ 29, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 25, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 68, 77 ], [ 77, 78 ], [ 77, 79 ], [ 68, 80 ], [ 80, 81 ], [ 80, 82 ], [ 61, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 57, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 8, 96 ], [ 96, 97 ], [ 97, 98 ], [ 6, 99 ], [ 99, 100 ], [ 0, 101 ], [ 101, 102 ], [ 101, 103 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t int a = in.nextInt();\n\t int b = in.nextInt();\n\t int gsd = 1;\n\t if (a>b) {\n\t\t while (a%b !=0)\n\t\t {\n\t\t \tint aim = b;\n\t\t b=a%aim;\n\t\t a=aim;\n\t\t\t gsd=b;\n\t\t }\n\t\t System.out.println(gsd);\n\t }\n\t else if (a<b) {\n\t \twhile (b%a !=0) {\n\t \t\tint aim = a;\n\t \t a=b%aim;\n\t \t b=aim;\n\t\t\t gsd=a;\n\t \t}\n\t \tSystem.out.println(gsd);\n\t }\n\t else {\n\t \tSystem.out.println(a);\n\t }\n\t in.close();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t int a = in.nextInt();\n\t int b = in.nextInt();\n\t int gsd = 1;\n\t if (a>b) {\n\t\t while (a%b !=0)\n\t\t {\n\t\t \tint aim = b;\n\t\t b=a%aim;\n\t\t a=aim;\n\t\t\t gsd=b;\n\t\t }\n\t\t System.out.println(gsd);\n\t }\n\t else if (a<b) {\n\t \twhile (b%a !=0) {\n\t \t\tint aim = a;\n\t \t a=b%aim;\n\t \t b=aim;\n\t\t\t gsd=a;\n\t \t}\n\t \tSystem.out.println(gsd);\n\t }\n\t else {\n\t \tSystem.out.println(a);\n\t }\n\t in.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t int a = in.nextInt();\n\t int b = in.nextInt();\n\t int gsd = 1;\n\t if (a>b) {\n\t\t while (a%b !=0)\n\t\t {\n\t\t \tint aim = b;\n\t\t b=a%aim;\n\t\t a=aim;\n\t\t\t gsd=b;\n\t\t }\n\t\t System.out.println(gsd);\n\t }\n\t else if (a<b) {\n\t \twhile (b%a !=0) {\n\t \t\tint aim = a;\n\t \t a=b%aim;\n\t \t b=aim;\n\t\t\t gsd=a;\n\t \t}\n\t \tSystem.out.println(gsd);\n\t }\n\t else {\n\t \tSystem.out.println(a);\n\t }\n\t in.close();\n\t}", "main", "{\n\t\tScanner in = new Scanner(System.in);\n\t int a = in.nextInt();\n\t int b = in.nextInt();\n\t int gsd = 1;\n\t if (a>b) {\n\t\t while (a%b !=0)\n\t\t {\n\t\t \tint aim = b;\n\t\t b=a%aim;\n\t\t a=aim;\n\t\t\t gsd=b;\n\t\t }\n\t\t System.out.println(gsd);\n\t }\n\t else if (a<b) {\n\t \twhile (b%a !=0) {\n\t \t\tint aim = a;\n\t \t a=b%aim;\n\t \t b=aim;\n\t\t\t gsd=a;\n\t \t}\n\t \tSystem.out.println(gsd);\n\t }\n\t else {\n\t \tSystem.out.println(a);\n\t }\n\t in.close();\n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int a = in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "int b = in.nextInt();", "b", "in.nextInt()", "in.nextInt", "in", "int gsd = 1;", "gsd", "1", "if (a>b) {\n\t\t while (a%b !=0)\n\t\t {\n\t\t \tint aim = b;\n\t\t b=a%aim;\n\t\t a=aim;\n\t\t\t gsd=b;\n\t\t }\n\t\t System.out.println(gsd);\n\t }\n\t else if (a<b) {\n\t \twhile (b%a !=0) {\n\t \t\tint aim = a;\n\t \t a=b%aim;\n\t \t b=aim;\n\t\t\t gsd=a;\n\t \t}\n\t \tSystem.out.println(gsd);\n\t }\n\t else {\n\t \tSystem.out.println(a);\n\t }", "a>b", "a", "b", "{\n\t\t while (a%b !=0)\n\t\t {\n\t\t \tint aim = b;\n\t\t b=a%aim;\n\t\t a=aim;\n\t\t\t gsd=b;\n\t\t }\n\t\t System.out.println(gsd);\n\t }", "while (a%b !=0)\n\t\t {\n\t\t \tint aim = b;\n\t\t b=a%aim;\n\t\t a=aim;\n\t\t\t gsd=b;\n\t\t }", "a%b !=0", "a%b", "a", "b", "0", "{\n\t\t \tint aim = b;\n\t\t b=a%aim;\n\t\t a=aim;\n\t\t\t gsd=b;\n\t\t }", "int aim = b;", "aim", "b", "b=a%aim", "b", "a%aim", "a", "aim", "a=aim", "a", "aim", "gsd=b", "gsd", "b", "System.out.println(gsd)", "System.out.println", "System.out", "System", "System.out", "gsd", "if (a<b) {\n\t \twhile (b%a !=0) {\n\t \t\tint aim = a;\n\t \t a=b%aim;\n\t \t b=aim;\n\t\t\t gsd=a;\n\t \t}\n\t \tSystem.out.println(gsd);\n\t }\n\t else {\n\t \tSystem.out.println(a);\n\t }", "a<b", "a", "b", "{\n\t \twhile (b%a !=0) {\n\t \t\tint aim = a;\n\t \t a=b%aim;\n\t \t b=aim;\n\t\t\t gsd=a;\n\t \t}\n\t \tSystem.out.println(gsd);\n\t }", "while (b%a !=0) {\n\t \t\tint aim = a;\n\t \t a=b%aim;\n\t \t b=aim;\n\t\t\t gsd=a;\n\t \t}", "b%a !=0", "b%a", "b", "a", "0", "{\n\t \t\tint aim = a;\n\t \t a=b%aim;\n\t \t b=aim;\n\t\t\t gsd=a;\n\t \t}", "int aim = a;", "aim", "a", "a=b%aim", "a", "b%aim", "b", "aim", "b=aim", "b", "aim", "gsd=a", "gsd", "a", "System.out.println(gsd)", "System.out.println", "System.out", "System", "System.out", "gsd", "{\n\t \tSystem.out.println(a);\n\t }", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "in.close()", "in.close", "in", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t int a = in.nextInt();\n\t int b = in.nextInt();\n\t int gsd = 1;\n\t if (a>b) {\n\t\t while (a%b !=0)\n\t\t {\n\t\t \tint aim = b;\n\t\t b=a%aim;\n\t\t a=aim;\n\t\t\t gsd=b;\n\t\t }\n\t\t System.out.println(gsd);\n\t }\n\t else if (a<b) {\n\t \twhile (b%a !=0) {\n\t \t\tint aim = a;\n\t \t a=b%aim;\n\t \t b=aim;\n\t\t\t gsd=a;\n\t \t}\n\t \tSystem.out.println(gsd);\n\t }\n\t else {\n\t \tSystem.out.println(a);\n\t }\n\t in.close();\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t int a = in.nextInt();\n\t int b = in.nextInt();\n\t int gsd = 1;\n\t if (a>b) {\n\t\t while (a%b !=0)\n\t\t {\n\t\t \tint aim = b;\n\t\t b=a%aim;\n\t\t a=aim;\n\t\t\t gsd=b;\n\t\t }\n\t\t System.out.println(gsd);\n\t }\n\t else if (a<b) {\n\t \twhile (b%a !=0) {\n\t \t\tint aim = a;\n\t \t a=b%aim;\n\t \t b=aim;\n\t\t\t gsd=a;\n\t \t}\n\t \tSystem.out.println(gsd);\n\t }\n\t else {\n\t \tSystem.out.println(a);\n\t }\n\t in.close();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); int gsd = 1; if (a>b) { while (a%b !=0) { int aim = b; b=a%aim; a=aim; gsd=b; } System.out.println(gsd); } else if (a<b) { while (b%a !=0) { int aim = a; a=b%aim; b=aim; gsd=a; } System.out.println(gsd); } else { System.out.println(a); } in.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 29, 8, 2, 13, 17, 13, 4, 13, 13, 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 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 6, 31 ], [ 31, 32 ], [ 53, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 33, 48 ], [ 48, 49 ], [ 33, 50 ], [ 50, 51 ], [ 0, 52 ], [ 52, 53 ], [ 52, 54 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner input=new Scanner(System.in);\n\t\tint a=input.nextInt();\n\t\tint b=input.nextInt();\n\t\tSystem.out.println(gcd(a,b));\n\t}\n\t\n\tpublic static int gcd(int a,int b){\n\t\treturn b==0 ? a : gcd(b,a%b);\n\t}\n\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner input=new Scanner(System.in);\n\t\tint a=input.nextInt();\n\t\tint b=input.nextInt();\n\t\tSystem.out.println(gcd(a,b));\n\t}\n\t\n\tpublic static int gcd(int a,int b){\n\t\treturn b==0 ? a : gcd(b,a%b);\n\t}\n\n}", "Main", "public static void main(String[] args){\n\t\tScanner input=new Scanner(System.in);\n\t\tint a=input.nextInt();\n\t\tint b=input.nextInt();\n\t\tSystem.out.println(gcd(a,b));\n\t}", "main", "{\n\t\tScanner input=new Scanner(System.in);\n\t\tint a=input.nextInt();\n\t\tint b=input.nextInt();\n\t\tSystem.out.println(gcd(a,b));\n\t}", "Scanner input=new Scanner(System.in);", "input", "new Scanner(System.in)", "int a=input.nextInt();", "a", "input.nextInt()", "input.nextInt", "input", "int b=input.nextInt();", "b", "input.nextInt()", "input.nextInt", "input", "System.out.println(gcd(a,b))", "System.out.println", "System.out", "System", "System.out", "gcd(a,b)", "gcd", "a", "b", "String[] args", "args", "public static int gcd(int a,int b){\n\t\treturn b==0 ? a : gcd(b,a%b);\n\t}", "gcd", "{\n\t\treturn b==0 ? a : gcd(b,a%b);\n\t}", "return b==0 ? a : gcd(b,a%b);", "b==0 ? a : gcd(b,a%b)", "b==0", "b", "0", "a", "gcd(b,a%b)", "gcd", "b", "a%b", "a", "b", "int a", "a", "int b", "b", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner input=new Scanner(System.in);\n\t\tint a=input.nextInt();\n\t\tint b=input.nextInt();\n\t\tSystem.out.println(gcd(a,b));\n\t}\n\t\n\tpublic static int gcd(int a,int b){\n\t\treturn b==0 ? a : gcd(b,a%b);\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner input=new Scanner(System.in);\n\t\tint a=input.nextInt();\n\t\tint b=input.nextInt();\n\t\tSystem.out.println(gcd(a,b));\n\t}\n\t\n\tpublic static int gcd(int a,int b){\n\t\treturn b==0 ? a : gcd(b,a%b);\n\t}\n\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner input=new Scanner(System.in); int a=input.nextInt(); int b=input.nextInt(); System.out.println(gcd(a,b)); } public static int gcd(int a,int b){ return b==0 ? a : gcd(b,a%b); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 13, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 29, 4, 13, 2, 13, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 54, 5 ], [ 54, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 14, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 8, 28 ], [ 28, 29 ], [ 29, 30 ], [ 6, 31 ], [ 31, 32 ], [ 54, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 35, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 33, 49 ], [ 49, 50 ], [ 33, 51 ], [ 51, 52 ], [ 0, 53 ], [ 53, 54 ], [ 53, 55 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int z = gcd(sc.nextInt(), sc.nextInt());\n System.out.println(z);\n sc.close();\n }\n\n private static int gcd(int x, int y) {\n if (x == 0) return y;\n return gcd(y % x, x);\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int z = gcd(sc.nextInt(), sc.nextInt());\n System.out.println(z);\n sc.close();\n }\n\n private static int gcd(int x, int y) {\n if (x == 0) return y;\n return gcd(y % x, x);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int z = gcd(sc.nextInt(), sc.nextInt());\n System.out.println(z);\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int z = gcd(sc.nextInt(), sc.nextInt());\n System.out.println(z);\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int z = gcd(sc.nextInt(), sc.nextInt());", "z", "gcd(sc.nextInt(), sc.nextInt())", "gcd", "sc.nextInt()", "sc.nextInt", "sc", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println(z)", "System.out.println", "System.out", "System", "System.out", "z", "sc.close()", "sc.close", "sc", "String[] args", "args", "private static int gcd(int x, int y) {\n if (x == 0) return y;\n return gcd(y % x, x);\n }", "gcd", "{\n if (x == 0) return y;\n return gcd(y % x, x);\n }", "if (x == 0) return y;", "x == 0", "x", "0", "return y;", "y", "return gcd(y % x, x);", "gcd(y % x, x)", "gcd", "y % x", "y", "x", "x", "int x", "x", "int y", "y", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int z = gcd(sc.nextInt(), sc.nextInt());\n System.out.println(z);\n sc.close();\n }\n\n private static int gcd(int x, int y) {\n if (x == 0) return y;\n return gcd(y % x, x);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int z = gcd(sc.nextInt(), sc.nextInt());\n System.out.println(z);\n sc.close();\n }\n\n private static int gcd(int x, int y) {\n if (x == 0) return y;\n return gcd(y % x, x);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int z = gcd(sc.nextInt(), sc.nextInt()); System.out.println(z); sc.close(); } private static int gcd(int x, int y) { if (x == 0) return y; return gcd(y % x, x); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 42, 2, 13, 17, 30, 41, 13, 2, 13, 13, 0, 13, 13, 14, 2, 13, 17, 30, 0, 13, 13, 30, 29, 13, 29, 40, 17, 23, 13, 23, 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, 4, 18, 18, 13, 13, 4, 13, 13, 13, 29, 17, 23, 13, 12, 13, 30, 4, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 97, 5 ], [ 97, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 9, 13 ], [ 13, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 16, 18 ], [ 13, 19 ], [ 19, 20 ], [ 19, 21 ], [ 13, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 22, 30 ], [ 30, 31 ], [ 31, 32 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 6, 36 ], [ 36, 37 ], [ 6, 38 ], [ 38, 39 ], [ 97, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 53, 58 ], [ 50, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 64, 66 ], [ 50, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 72, 73 ], [ 72, 74 ], [ 50, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 80, 81 ], [ 80, 82 ], [ 80, 83 ], [ 42, 84 ], [ 84, 85 ], [ 40, 86 ], [ 86, 87 ], [ 97, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 88, 94 ], [ 94, 95 ], [ 0, 96 ], [ 96, 97 ], [ 96, 98 ] ]
[ "import java.util.Scanner;\n\n/**\n * Created by ??\\??? on 2016/12/2.\n */\npublic class Main {\n static int gcd(int a,int b)\n {\n while(b!=0)\n {\n int ans = a%b;\n a = b;\n if(ans!=0)\n {\n b = ans;\n }\n else\n {\n return a;\n }\n }\n return -1;\n }\n static int run(String[] args)\n {\n Scanner scan = new Scanner(System.in);\n while(scan.hasNext())\n {\n String[] lines = scan.nextLine().split(\" \");\n int a = Integer.parseInt(lines[0]);\n int b = Integer.parseInt(lines[1]);\n System.out.println(gcd(a,b));\n }\n return 0;\n }\n public static void main(String[] args)\n {\n run(args);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n static int gcd(int a,int b)\n {\n while(b!=0)\n {\n int ans = a%b;\n a = b;\n if(ans!=0)\n {\n b = ans;\n }\n else\n {\n return a;\n }\n }\n return -1;\n }\n static int run(String[] args)\n {\n Scanner scan = new Scanner(System.in);\n while(scan.hasNext())\n {\n String[] lines = scan.nextLine().split(\" \");\n int a = Integer.parseInt(lines[0]);\n int b = Integer.parseInt(lines[1]);\n System.out.println(gcd(a,b));\n }\n return 0;\n }\n public static void main(String[] args)\n {\n run(args);\n }\n}", "Main", "static int gcd(int a,int b)\n {\n while(b!=0)\n {\n int ans = a%b;\n a = b;\n if(ans!=0)\n {\n b = ans;\n }\n else\n {\n return a;\n }\n }\n return -1;\n }", "gcd", "{\n while(b!=0)\n {\n int ans = a%b;\n a = b;\n if(ans!=0)\n {\n b = ans;\n }\n else\n {\n return a;\n }\n }\n return -1;\n }", "while(b!=0)\n {\n int ans = a%b;\n a = b;\n if(ans!=0)\n {\n b = ans;\n }\n else\n {\n return a;\n }\n }", "b!=0", "b", "0", "{\n int ans = a%b;\n a = b;\n if(ans!=0)\n {\n b = ans;\n }\n else\n {\n return a;\n }\n }", "int ans = a%b;", "ans", "a%b", "a", "b", "a = b", "a", "b", "if(ans!=0)\n {\n b = ans;\n }\n else\n {\n return a;\n }", "ans!=0", "ans", "0", "{\n b = ans;\n }", "b = ans", "b", "ans", "{\n return a;\n }", "return a;", "a", "return -1;", "-1", "1", "int a", "a", "int b", "b", "static int run(String[] args)\n {\n Scanner scan = new Scanner(System.in);\n while(scan.hasNext())\n {\n String[] lines = scan.nextLine().split(\" \");\n int a = Integer.parseInt(lines[0]);\n int b = Integer.parseInt(lines[1]);\n System.out.println(gcd(a,b));\n }\n return 0;\n }", "run", "{\n Scanner scan = new Scanner(System.in);\n while(scan.hasNext())\n {\n String[] lines = scan.nextLine().split(\" \");\n int a = Integer.parseInt(lines[0]);\n int b = Integer.parseInt(lines[1]);\n System.out.println(gcd(a,b));\n }\n return 0;\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "while(scan.hasNext())\n {\n String[] lines = scan.nextLine().split(\" \");\n int a = Integer.parseInt(lines[0]);\n int b = Integer.parseInt(lines[1]);\n System.out.println(gcd(a,b));\n }", "scan.hasNext()", "scan.hasNext", "scan", "{\n String[] lines = scan.nextLine().split(\" \");\n int a = Integer.parseInt(lines[0]);\n int b = Integer.parseInt(lines[1]);\n System.out.println(gcd(a,b));\n }", "String[] lines = scan.nextLine().split(\" \");", "lines", "scan.nextLine().split(\" \")", "scan.nextLine().split", "scan.nextLine()", "scan.nextLine", "scan", "\" \"", "int a = Integer.parseInt(lines[0]);", "a", "Integer.parseInt(lines[0])", "Integer.parseInt", "Integer", "lines[0]", "lines", "0", "int b = Integer.parseInt(lines[1]);", "b", "Integer.parseInt(lines[1])", "Integer.parseInt", "Integer", "lines[1]", "lines", "1", "System.out.println(gcd(a,b))", "System.out.println", "System.out", "System", "System.out", "gcd(a,b)", "gcd", "a", "b", "return 0;", "0", "String[] args", "args", "public static void main(String[] args)\n {\n run(args);\n }", "main", "{\n run(args);\n }", "run(args)", "run", "args", "String[] args", "args", "public class Main {\n static int gcd(int a,int b)\n {\n while(b!=0)\n {\n int ans = a%b;\n a = b;\n if(ans!=0)\n {\n b = ans;\n }\n else\n {\n return a;\n }\n }\n return -1;\n }\n static int run(String[] args)\n {\n Scanner scan = new Scanner(System.in);\n while(scan.hasNext())\n {\n String[] lines = scan.nextLine().split(\" \");\n int a = Integer.parseInt(lines[0]);\n int b = Integer.parseInt(lines[1]);\n System.out.println(gcd(a,b));\n }\n return 0;\n }\n public static void main(String[] args)\n {\n run(args);\n }\n}", "public class Main {\n static int gcd(int a,int b)\n {\n while(b!=0)\n {\n int ans = a%b;\n a = b;\n if(ans!=0)\n {\n b = ans;\n }\n else\n {\n return a;\n }\n }\n return -1;\n }\n static int run(String[] args)\n {\n Scanner scan = new Scanner(System.in);\n while(scan.hasNext())\n {\n String[] lines = scan.nextLine().split(\" \");\n int a = Integer.parseInt(lines[0]);\n int b = Integer.parseInt(lines[1]);\n System.out.println(gcd(a,b));\n }\n return 0;\n }\n public static void main(String[] args)\n {\n run(args);\n }\n}", "Main" ]
import java.util.Scanner; /** * Created by ??\??? on 2016/12/2. */ public class Main { static int gcd(int a,int b) { while(b!=0) { int ans = a%b; a = b; if(ans!=0) { b = ans; } else { return a; } } return -1; } static int run(String[] args) { Scanner scan = new Scanner(System.in); while(scan.hasNext()) { String[] lines = scan.nextLine().split(" "); int a = Integer.parseInt(lines[0]); int b = Integer.parseInt(lines[1]); System.out.println(gcd(a,b)); } return 0; } public static void main(String[] args) { run(args); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 20, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 42, 2, 13, 17, 30, 41, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 54, 8 ], [ 54, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 11, 14 ], [ 14, 15 ], [ 11, 16 ], [ 16, 17 ], [ 16, 18 ], [ 11, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 11, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 11, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 37, 38 ], [ 37, 39 ], [ 33, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 42, 44 ], [ 11, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 9, 51 ], [ 51, 52 ], [ 0, 53 ], [ 53, 54 ], [ 53, 55 ] ]
[ "import java.util.*;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main (String args[]) {\n // input\n\n int a;\n int b;\n\n Scanner inp = new Scanner(System.in);\n\n a = inp.nextInt();\n\n b = inp.nextInt();\n\n while (b != 0) {\n int temp = a;\n a = b;\n b = temp%b;\n }\n\n System.out.println(a);\n }\n}", "import java.util.*;", "util.*", "java", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main (String args[]) {\n // input\n\n int a;\n int b;\n\n Scanner inp = new Scanner(System.in);\n\n a = inp.nextInt();\n\n b = inp.nextInt();\n\n while (b != 0) {\n int temp = a;\n a = b;\n b = temp%b;\n }\n\n System.out.println(a);\n }\n}", "Main", "public static void main (String args[]) {\n // input\n\n int a;\n int b;\n\n Scanner inp = new Scanner(System.in);\n\n a = inp.nextInt();\n\n b = inp.nextInt();\n\n while (b != 0) {\n int temp = a;\n a = b;\n b = temp%b;\n }\n\n System.out.println(a);\n }", "main", "{\n // input\n\n int a;\n int b;\n\n Scanner inp = new Scanner(System.in);\n\n a = inp.nextInt();\n\n b = inp.nextInt();\n\n while (b != 0) {\n int temp = a;\n a = b;\n b = temp%b;\n }\n\n System.out.println(a);\n }", "int a;", "a", "int b;", "b", "Scanner inp = new Scanner(System.in);", "inp", "new Scanner(System.in)", "a = inp.nextInt()", "a", "inp.nextInt()", "inp.nextInt", "inp", "b = inp.nextInt()", "b", "inp.nextInt()", "inp.nextInt", "inp", "while (b != 0) {\n int temp = a;\n a = b;\n b = temp%b;\n }", "b != 0", "b", "0", "{\n int temp = a;\n a = b;\n b = temp%b;\n }", "int temp = a;", "temp", "a", "a = b", "a", "b", "b = temp%b", "b", "temp%b", "temp", "b", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "String args[]", "args", "public class Main {\n public static void main (String args[]) {\n // input\n\n int a;\n int b;\n\n Scanner inp = new Scanner(System.in);\n\n a = inp.nextInt();\n\n b = inp.nextInt();\n\n while (b != 0) {\n int temp = a;\n a = b;\n b = temp%b;\n }\n\n System.out.println(a);\n }\n}", "public class Main {\n public static void main (String args[]) {\n // input\n\n int a;\n int b;\n\n Scanner inp = new Scanner(System.in);\n\n a = inp.nextInt();\n\n b = inp.nextInt();\n\n while (b != 0) {\n int temp = a;\n a = b;\n b = temp%b;\n }\n\n System.out.println(a);\n }\n}", "Main" ]
import java.util.*; import java.util.Scanner; public class Main { public static void main (String args[]) { // input int a; int b; Scanner inp = new Scanner(System.in); a = inp.nextInt(); b = inp.nextInt(); while (b != 0) { int temp = a; a = b; b = temp%b; } System.out.println(a); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 13, 0, 13, 13, 23, 13, 23, 13, 12, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 12, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 14, 2, 18, 13, 13, 18, 13, 13, 30, 4, 18, 13, 42, 2, 18, 13, 13, 17, 30, 4, 18, 13, 4, 18, 18, 13, 13, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 4, 8 ], [ 8, 9 ], [ 4, 10 ], [ 10, 11 ], [ 4, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 12, 21 ], [ 21, 22 ], [ 12, 23 ], [ 23, 24 ], [ 4, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 31, 33 ], [ 27, 34 ], [ 34, 35 ], [ 34, 36 ], [ 4, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 43, 45 ], [ 39, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 0, 51 ], [ 98, 52 ], [ 98, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 59, 61 ], [ 55, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 67, 69 ], [ 62, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 55, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 55, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 55, 92 ], [ 92, 93 ], [ 93, 94 ], [ 53, 95 ], [ 95, 96 ], [ 0, 97 ], [ 97, 98 ], [ 97, 99 ] ]
[ "import java.util.Scanner;\n\tclass Uc{\n\t\tint r,x,y;\n\t\tUc(int X,int Y){\n\t\t\tx=X;y=Y;\n\t\t}\n\t\tvoid swap(){\n\t\t\tr=x;x=y;y=r;\n\t\t}\n\t\tvoid gcd(){\n\t\t\tr=x;\n\t\t\tx=y;\n\t\t\ty=r%y;\n\t\t}\n\t}\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tUc u=new Uc(sc.nextInt(),sc.nextInt());;\n\t\tif(u.x<u.y) {\n\t\t\tu.swap();\n\t\t}\n\t\twhile(u.y>0) {\n\t\t\tu.gcd();\n\t\t}\n\t\tSystem.out.println(u.x);\n\t\tsc.close();\n\t}\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "class Uc{\n\t\tint r,x,y;\n\t\tUc(int X,int Y){\n\t\t\tx=X;y=Y;\n\t\t}\n\t\tvoid swap(){\n\t\t\tr=x;x=y;y=r;\n\t\t}\n\t\tvoid gcd(){\n\t\t\tr=x;\n\t\t\tx=y;\n\t\t\ty=r%y;\n\t\t}\n\t}", "Uc", "int r", "r", "x", "x", "y;", "y", "Uc(int X,int Y){\n\t\t\tx=X;y=Y;\n\t\t}", "Uc", "{\n\t\t\tx=X;y=Y;\n\t\t}", "x=X", "x", "X", "y=Y", "y", "Y", "int X", "X", "int Y", "Y", "void swap(){\n\t\t\tr=x;x=y;y=r;\n\t\t}", "swap", "{\n\t\t\tr=x;x=y;y=r;\n\t\t}", "r=x", "r", "x", "x=y", "x", "y", "y=r", "y", "r", "void gcd(){\n\t\t\tr=x;\n\t\t\tx=y;\n\t\t\ty=r%y;\n\t\t}", "gcd", "{\n\t\t\tr=x;\n\t\t\tx=y;\n\t\t\ty=r%y;\n\t\t}", "r=x", "r", "x", "x=y", "x", "y", "y=r%y", "y", "r%y", "r", "y", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tUc u=new Uc(sc.nextInt(),sc.nextInt());;\n\t\tif(u.x<u.y) {\n\t\t\tu.swap();\n\t\t}\n\t\twhile(u.y>0) {\n\t\t\tu.gcd();\n\t\t}\n\t\tSystem.out.println(u.x);\n\t\tsc.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tUc u=new Uc(sc.nextInt(),sc.nextInt());;\n\t\tif(u.x<u.y) {\n\t\t\tu.swap();\n\t\t}\n\t\twhile(u.y>0) {\n\t\t\tu.gcd();\n\t\t}\n\t\tSystem.out.println(u.x);\n\t\tsc.close();\n\t}", "main", "{\n\t\tScanner sc=new Scanner(System.in);\n\t\tUc u=new Uc(sc.nextInt(),sc.nextInt());;\n\t\tif(u.x<u.y) {\n\t\t\tu.swap();\n\t\t}\n\t\twhile(u.y>0) {\n\t\t\tu.gcd();\n\t\t}\n\t\tSystem.out.println(u.x);\n\t\tsc.close();\n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "Uc u=new Uc(sc.nextInt(),sc.nextInt());", "u", "new Uc(sc.nextInt(),sc.nextInt())", "if(u.x<u.y) {\n\t\t\tu.swap();\n\t\t}", "u.x<u.y", "u.x", "u", "u.x", "u.y", "u", "u.y", "{\n\t\t\tu.swap();\n\t\t}", "u.swap()", "u.swap", "u", "while(u.y>0) {\n\t\t\tu.gcd();\n\t\t}", "u.y>0", "u.y", "u", "u.y", "0", "{\n\t\t\tu.gcd();\n\t\t}", "u.gcd()", "u.gcd", "u", "System.out.println(u.x)", "System.out.println", "System.out", "System", "System.out", "u.x", "u", "u.x", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tUc u=new Uc(sc.nextInt(),sc.nextInt());;\n\t\tif(u.x<u.y) {\n\t\t\tu.swap();\n\t\t}\n\t\twhile(u.y>0) {\n\t\t\tu.gcd();\n\t\t}\n\t\tSystem.out.println(u.x);\n\t\tsc.close();\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tUc u=new Uc(sc.nextInt(),sc.nextInt());;\n\t\tif(u.x<u.y) {\n\t\t\tu.swap();\n\t\t}\n\t\twhile(u.y>0) {\n\t\t\tu.gcd();\n\t\t}\n\t\tSystem.out.println(u.x);\n\t\tsc.close();\n\t}\n}", "Main" ]
import java.util.Scanner; class Uc{ int r,x,y; Uc(int X,int Y){ x=X;y=Y; } void swap(){ r=x;x=y;y=r; } void gcd(){ r=x; x=y; y=r%y; } } public class Main{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); Uc u=new Uc(sc.nextInt(),sc.nextInt());; if(u.x<u.y) { u.swap(); } while(u.y>0) { u.gcd(); } System.out.println(u.x); sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 29, 8, 2, 13, 17, 13, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 73, 5 ], [ 73, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 10, 14 ], [ 10, 15 ], [ 15, 16 ], [ 15, 17 ], [ 15, 18 ], [ 18, 19 ], [ 18, 20 ], [ 6, 21 ], [ 21, 22 ], [ 6, 23 ], [ 23, 24 ], [ 73, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 31, 33 ], [ 27, 34 ], [ 34, 35 ], [ 34, 36 ], [ 27, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 27, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 27, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 49, 53 ], [ 27, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 56, 60 ], [ 27, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 66, 69 ], [ 25, 70 ], [ 70, 71 ], [ 0, 72 ], [ 72, 73 ], [ 72, 74 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\t\n\t// we can assume that a is always greater than b\n\t\n\tpublic static int gcd(int a, int b) {\n\t\treturn (b == 0)? a : gcd(b, a % b);\n\t}\n\tpublic static void main(String[] args) {\n\t\tScanner cin = new Scanner(System.in);\n\t\tint a = 0, b = 0;\n\t\t\n\t\ta = cin.nextInt();\n\t\tb = cin.nextInt();\n\t\t\n\t\tint c = Math.min(a,b);\n\t\ta = Math.max(a, b);\n\t\t\n\t\tSystem.out.println(gcd(a , c));\n\t\t\n\t\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t\n\t// we can assume that a is always greater than b\n\t\n\tpublic static int gcd(int a, int b) {\n\t\treturn (b == 0)? a : gcd(b, a % b);\n\t}\n\tpublic static void main(String[] args) {\n\t\tScanner cin = new Scanner(System.in);\n\t\tint a = 0, b = 0;\n\t\t\n\t\ta = cin.nextInt();\n\t\tb = cin.nextInt();\n\t\t\n\t\tint c = Math.min(a,b);\n\t\ta = Math.max(a, b);\n\t\t\n\t\tSystem.out.println(gcd(a , c));\n\t\t\n\t\n\t}\n}", "Main", "public static int gcd(int a, int b) {\n\t\treturn (b == 0)? a : gcd(b, a % b);\n\t}", "gcd", "{\n\t\treturn (b == 0)? a : gcd(b, a % b);\n\t}", "return (b == 0)? a : gcd(b, a % b);", "(b == 0)? a : gcd(b, a % b)", "(b == 0)", "b", "0", "a", "gcd(b, a % b)", "gcd", "b", "a % b", "a", "b", "int a", "a", "int b", "b", "public static void main(String[] args) {\n\t\tScanner cin = new Scanner(System.in);\n\t\tint a = 0, b = 0;\n\t\t\n\t\ta = cin.nextInt();\n\t\tb = cin.nextInt();\n\t\t\n\t\tint c = Math.min(a,b);\n\t\ta = Math.max(a, b);\n\t\t\n\t\tSystem.out.println(gcd(a , c));\n\t\t\n\t\n\t}", "main", "{\n\t\tScanner cin = new Scanner(System.in);\n\t\tint a = 0, b = 0;\n\t\t\n\t\ta = cin.nextInt();\n\t\tb = cin.nextInt();\n\t\t\n\t\tint c = Math.min(a,b);\n\t\ta = Math.max(a, b);\n\t\t\n\t\tSystem.out.println(gcd(a , c));\n\t\t\n\t\n\t}", "Scanner cin = new Scanner(System.in);", "cin", "new Scanner(System.in)", "int a = 0", "a", "0", "b = 0;", "b", "0", "a = cin.nextInt()", "a", "cin.nextInt()", "cin.nextInt", "cin", "b = cin.nextInt()", "b", "cin.nextInt()", "cin.nextInt", "cin", "int c = Math.min(a,b);", "c", "Math.min(a,b)", "Math.min", "Math", "a", "b", "a = Math.max(a, b)", "a", "Math.max(a, b)", "Math.max", "Math", "a", "b", "System.out.println(gcd(a , c))", "System.out.println", "System.out", "System", "System.out", "gcd(a , c)", "gcd", "a", "c", "String[] args", "args", "public class Main {\n\t\n\t// we can assume that a is always greater than b\n\t\n\tpublic static int gcd(int a, int b) {\n\t\treturn (b == 0)? a : gcd(b, a % b);\n\t}\n\tpublic static void main(String[] args) {\n\t\tScanner cin = new Scanner(System.in);\n\t\tint a = 0, b = 0;\n\t\t\n\t\ta = cin.nextInt();\n\t\tb = cin.nextInt();\n\t\t\n\t\tint c = Math.min(a,b);\n\t\ta = Math.max(a, b);\n\t\t\n\t\tSystem.out.println(gcd(a , c));\n\t\t\n\t\n\t}\n}", "public class Main {\n\t\n\t// we can assume that a is always greater than b\n\t\n\tpublic static int gcd(int a, int b) {\n\t\treturn (b == 0)? a : gcd(b, a % b);\n\t}\n\tpublic static void main(String[] args) {\n\t\tScanner cin = new Scanner(System.in);\n\t\tint a = 0, b = 0;\n\t\t\n\t\ta = cin.nextInt();\n\t\tb = cin.nextInt();\n\t\t\n\t\tint c = Math.min(a,b);\n\t\ta = Math.max(a, b);\n\t\t\n\t\tSystem.out.println(gcd(a , c));\n\t\t\n\t\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { // we can assume that a is always greater than b public static int gcd(int a, int b) { return (b == 0)? a : gcd(b, a % b); } public static void main(String[] args) { Scanner cin = new Scanner(System.in); int a = 0, b = 0; a = cin.nextInt(); b = cin.nextInt(); int c = Math.min(a,b); a = Math.max(a, b); System.out.println(gcd(a , c)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 4, 18, 18, 13, 13, 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, 42, 2, 13, 17, 30, 41, 13, 13, 0, 13, 2, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 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 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 16, 21 ], [ 12, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 25, 30 ], [ 22, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 22, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 22, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 51, 60 ], [ 60, 61 ], [ 60, 62 ], [ 22, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 6, 69 ], [ 69, 70 ], [ 0, 71 ], [ 71, 72 ], [ 71, 73 ] ]
[ "import java.io.*;\n\npublic class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n String[] nums = br.readLine().split(\" \");\n int x = Integer.parseInt(nums[0]);\n int y = Integer.parseInt(nums[1]);\n\n while(y != 0) {\n int tmp = y;\n y = x % y;\n x =tmp;\n }\n System.out.println(x);\n } catch (IOException e) {\n System.out.println(e);\n }\n }\n}", "import java.io.*;", "io.*", "java", "public class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n String[] nums = br.readLine().split(\" \");\n int x = Integer.parseInt(nums[0]);\n int y = Integer.parseInt(nums[1]);\n\n while(y != 0) {\n int tmp = y;\n y = x % y;\n x =tmp;\n }\n System.out.println(x);\n } catch (IOException e) {\n System.out.println(e);\n }\n }\n}", "Main", "public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n String[] nums = br.readLine().split(\" \");\n int x = Integer.parseInt(nums[0]);\n int y = Integer.parseInt(nums[1]);\n\n while(y != 0) {\n int tmp = y;\n y = x % y;\n x =tmp;\n }\n System.out.println(x);\n } catch (IOException e) {\n System.out.println(e);\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n String[] nums = br.readLine().split(\" \");\n int x = Integer.parseInt(nums[0]);\n int y = Integer.parseInt(nums[1]);\n\n while(y != 0) {\n int tmp = y;\n y = x % y;\n x =tmp;\n }\n System.out.println(x);\n } catch (IOException e) {\n System.out.println(e);\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "try {\n String[] nums = br.readLine().split(\" \");\n int x = Integer.parseInt(nums[0]);\n int y = Integer.parseInt(nums[1]);\n\n while(y != 0) {\n int tmp = y;\n y = x % y;\n x =tmp;\n }\n System.out.println(x);\n } catch (IOException e) {\n System.out.println(e);\n }", "catch (IOException e) {\n System.out.println(e);\n }", "IOException e", "{\n System.out.println(e);\n }", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "{\n String[] nums = br.readLine().split(\" \");\n int x = Integer.parseInt(nums[0]);\n int y = Integer.parseInt(nums[1]);\n\n while(y != 0) {\n int tmp = y;\n y = x % y;\n x =tmp;\n }\n System.out.println(x);\n }", "String[] nums = br.readLine().split(\" \");", "nums", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int x = Integer.parseInt(nums[0]);", "x", "Integer.parseInt(nums[0])", "Integer.parseInt", "Integer", "nums[0]", "nums", "0", "int y = Integer.parseInt(nums[1]);", "y", "Integer.parseInt(nums[1])", "Integer.parseInt", "Integer", "nums[1]", "nums", "1", "while(y != 0) {\n int tmp = y;\n y = x % y;\n x =tmp;\n }", "y != 0", "y", "0", "{\n int tmp = y;\n y = x % y;\n x =tmp;\n }", "int tmp = y;", "tmp", "y", "y = x % y", "y", "x % y", "x", "y", "x =tmp", "x", "tmp", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n String[] nums = br.readLine().split(\" \");\n int x = Integer.parseInt(nums[0]);\n int y = Integer.parseInt(nums[1]);\n\n while(y != 0) {\n int tmp = y;\n y = x % y;\n x =tmp;\n }\n System.out.println(x);\n } catch (IOException e) {\n System.out.println(e);\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n String[] nums = br.readLine().split(\" \");\n int x = Integer.parseInt(nums[0]);\n int y = Integer.parseInt(nums[1]);\n\n while(y != 0) {\n int tmp = y;\n y = x % y;\n x =tmp;\n }\n System.out.println(x);\n } catch (IOException e) {\n System.out.println(e);\n }\n }\n}", "Main" ]
import java.io.*; public class Main { public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try { String[] nums = br.readLine().split(" "); int x = Integer.parseInt(nums[0]); int y = Integer.parseInt(nums[1]); while(y != 0) { int tmp = y; y = x % y; x =tmp; } System.out.println(x); } catch (IOException e) { System.out.println(e); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 30, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 66, 5 ], [ 66, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 9, 13 ], [ 13, 14 ], [ 14, 15 ], [ 9, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 18, 21 ], [ 21, 22 ], [ 21, 23 ], [ 6, 24 ], [ 24, 25 ], [ 6, 26 ], [ 26, 27 ], [ 66, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 30, 36 ], [ 36, 37 ], [ 30, 38 ], [ 38, 39 ], [ 30, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 30, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 30, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 52, 55 ], [ 30, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 56, 62 ], [ 28, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\n public static int gcd(int a,int b){\n if(b == 0){\n return a;\n }else{\n return gcd(b ,a % b);\n }\n }\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int a ,b ,x;\n a = sc.nextInt();\n b = sc.nextInt();\n\n x = gcd(a ,b);\n\n System.out.printf(\"%d\\n\",x);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\n public static int gcd(int a,int b){\n if(b == 0){\n return a;\n }else{\n return gcd(b ,a % b);\n }\n }\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int a ,b ,x;\n a = sc.nextInt();\n b = sc.nextInt();\n\n x = gcd(a ,b);\n\n System.out.printf(\"%d\\n\",x);\n }\n}", "Main", "public static int gcd(int a,int b){\n if(b == 0){\n return a;\n }else{\n return gcd(b ,a % b);\n }\n }", "gcd", "{\n if(b == 0){\n return a;\n }else{\n return gcd(b ,a % b);\n }\n }", "if(b == 0){\n return a;\n }else{\n return gcd(b ,a % b);\n }", "b == 0", "b", "0", "{\n return a;\n }", "return a;", "a", "{\n return gcd(b ,a % b);\n }", "return gcd(b ,a % b);", "gcd(b ,a % b)", "gcd", "b", "a % b", "a", "b", "int a", "a", "int b", "b", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int a ,b ,x;\n a = sc.nextInt();\n b = sc.nextInt();\n\n x = gcd(a ,b);\n\n System.out.printf(\"%d\\n\",x);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n int a ,b ,x;\n a = sc.nextInt();\n b = sc.nextInt();\n\n x = gcd(a ,b);\n\n System.out.printf(\"%d\\n\",x);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a", "a", "b", "b", "x;", "x", "a = sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "b = sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "x = gcd(a ,b)", "x", "gcd(a ,b)", "gcd", "a", "b", "System.out.printf(\"%d\\n\",x)", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "x", "String[] args", "args", "public class Main{\n\n public static int gcd(int a,int b){\n if(b == 0){\n return a;\n }else{\n return gcd(b ,a % b);\n }\n }\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int a ,b ,x;\n a = sc.nextInt();\n b = sc.nextInt();\n\n x = gcd(a ,b);\n\n System.out.printf(\"%d\\n\",x);\n }\n}", "public class Main{\n\n public static int gcd(int a,int b){\n if(b == 0){\n return a;\n }else{\n return gcd(b ,a % b);\n }\n }\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int a ,b ,x;\n a = sc.nextInt();\n b = sc.nextInt();\n\n x = gcd(a ,b);\n\n System.out.printf(\"%d\\n\",x);\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static int gcd(int a,int b){ if(b == 0){ return a; }else{ return gcd(b ,a % b); } } public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a ,b ,x; a = sc.nextInt(); b = sc.nextInt(); x = gcd(a ,b); System.out.printf("%d\n",x); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 4, 18, 13, 2, 4, 13, 13, 13, 17, 4, 18, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 87, 17 ], [ 87, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 29, 34 ], [ 20, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 40, 42 ], [ 20, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 48, 50 ], [ 20, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 55, 58 ], [ 54, 59 ], [ 20, 60 ], [ 60, 61 ], [ 61, 62 ], [ 18, 63 ], [ 63, 64 ], [ 87, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 72, 73 ], [ 73, 74 ], [ 67, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 76, 79 ], [ 79, 80 ], [ 79, 81 ], [ 65, 82 ], [ 82, 83 ], [ 65, 84 ], [ 84, 85 ], [ 0, 86 ], [ 86, 87 ], [ 86, 88 ] ]
[ "import java.io.BufferedReader;\nimport java.io.BufferedWriter;\nimport java.io.InputStreamReader;\nimport java.io.OutputStreamWriter;\nimport java.io.IOException;\n\npublic class Main {\n\n public static void main(String args[]) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n String[] st = br.readLine().split(\" \");\n int a = Integer.parseInt(st[0]);\n int b = Integer.parseInt(st[1]);\n bw.append(gcd(a, b) + \"\\n\");\n bw.flush();\n }\n\n static int gcd(int a, int b) {\n if (b == 0) {\n return a;\n }\n return gcd(b, a % b);\n }\n\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.BufferedWriter;", "BufferedWriter", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.OutputStreamWriter;", "OutputStreamWriter", "java.io", "import java.io.IOException;", "IOException", "java.io", "public class Main {\n\n public static void main(String args[]) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n String[] st = br.readLine().split(\" \");\n int a = Integer.parseInt(st[0]);\n int b = Integer.parseInt(st[1]);\n bw.append(gcd(a, b) + \"\\n\");\n bw.flush();\n }\n\n static int gcd(int a, int b) {\n if (b == 0) {\n return a;\n }\n return gcd(b, a % b);\n }\n\n\n}", "Main", "public static void main(String args[]) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n String[] st = br.readLine().split(\" \");\n int a = Integer.parseInt(st[0]);\n int b = Integer.parseInt(st[1]);\n bw.append(gcd(a, b) + \"\\n\");\n bw.flush();\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n String[] st = br.readLine().split(\" \");\n int a = Integer.parseInt(st[0]);\n int b = Integer.parseInt(st[1]);\n bw.append(gcd(a, b) + \"\\n\");\n bw.flush();\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));", "bw", "new BufferedWriter(new OutputStreamWriter(System.out))", "String[] st = br.readLine().split(\" \");", "st", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int a = Integer.parseInt(st[0]);", "a", "Integer.parseInt(st[0])", "Integer.parseInt", "Integer", "st[0]", "st", "0", "int b = Integer.parseInt(st[1]);", "b", "Integer.parseInt(st[1])", "Integer.parseInt", "Integer", "st[1]", "st", "1", "bw.append(gcd(a, b) + \"\\n\")", "bw.append", "bw", "gcd(a, b) + \"\\n\"", "gcd(a, b)", "gcd", "a", "b", "\"\\n\"", "bw.flush()", "bw.flush", "bw", "String args[]", "args", "static int gcd(int a, int b) {\n if (b == 0) {\n return a;\n }\n return gcd(b, a % b);\n }", "gcd", "{\n if (b == 0) {\n return a;\n }\n return gcd(b, a % b);\n }", "if (b == 0) {\n return a;\n }", "b == 0", "b", "0", "{\n return a;\n }", "return a;", "a", "return gcd(b, a % b);", "gcd(b, a % b)", "gcd", "b", "a % b", "a", "b", "int a", "a", "int b", "b", "public class Main {\n\n public static void main(String args[]) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n String[] st = br.readLine().split(\" \");\n int a = Integer.parseInt(st[0]);\n int b = Integer.parseInt(st[1]);\n bw.append(gcd(a, b) + \"\\n\");\n bw.flush();\n }\n\n static int gcd(int a, int b) {\n if (b == 0) {\n return a;\n }\n return gcd(b, a % b);\n }\n\n\n}", "public class Main {\n\n public static void main(String args[]) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n String[] st = br.readLine().split(\" \");\n int a = Integer.parseInt(st[0]);\n int b = Integer.parseInt(st[1]);\n bw.append(gcd(a, b) + \"\\n\");\n bw.flush();\n }\n\n static int gcd(int a, int b) {\n if (b == 0) {\n return a;\n }\n return gcd(b, a % b);\n }\n\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.IOException; public class Main { public static void main(String args[]) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); String[] st = br.readLine().split(" "); int a = Integer.parseInt(st[0]); int b = Integer.parseInt(st[1]); bw.append(gcd(a, b) + "\n"); bw.flush(); } static int gcd(int a, int b) { if (b == 0) { return a; } return gcd(b, a % b); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 42, 2, 13, 17, 30, 41, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 47, 5 ], [ 47, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 30, 32 ], [ 26, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 35, 37 ], [ 8, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 6, 44 ], [ 44, 45 ], [ 0, 46 ], [ 46, 47 ], [ 46, 48 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main (String [] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint a = in.nextInt();\n\t\tint b = in.nextInt();\n\t\t\n\t\twhile (b > 0) {\n\t\t\tint temp = a;\n\t\t\ta = b;\n\t\t\tb = temp % b;\n\t\t}\n\t\t\n\t\tSystem.out.println(a);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main (String [] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint a = in.nextInt();\n\t\tint b = in.nextInt();\n\t\t\n\t\twhile (b > 0) {\n\t\t\tint temp = a;\n\t\t\ta = b;\n\t\t\tb = temp % b;\n\t\t}\n\t\t\n\t\tSystem.out.println(a);\n\t}\n}", "Main", "public static void main (String [] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint a = in.nextInt();\n\t\tint b = in.nextInt();\n\t\t\n\t\twhile (b > 0) {\n\t\t\tint temp = a;\n\t\t\ta = b;\n\t\t\tb = temp % b;\n\t\t}\n\t\t\n\t\tSystem.out.println(a);\n\t}", "main", "{\n\t\tScanner in = new Scanner(System.in);\n\t\tint a = in.nextInt();\n\t\tint b = in.nextInt();\n\t\t\n\t\twhile (b > 0) {\n\t\t\tint temp = a;\n\t\t\ta = b;\n\t\t\tb = temp % b;\n\t\t}\n\t\t\n\t\tSystem.out.println(a);\n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int a = in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "int b = in.nextInt();", "b", "in.nextInt()", "in.nextInt", "in", "while (b > 0) {\n\t\t\tint temp = a;\n\t\t\ta = b;\n\t\t\tb = temp % b;\n\t\t}", "b > 0", "b", "0", "{\n\t\t\tint temp = a;\n\t\t\ta = b;\n\t\t\tb = temp % b;\n\t\t}", "int temp = a;", "temp", "a", "a = b", "a", "b", "b = temp % b", "b", "temp % b", "temp", "b", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "String [] args", "args", "public class Main {\n\n\tpublic static void main (String [] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint a = in.nextInt();\n\t\tint b = in.nextInt();\n\t\t\n\t\twhile (b > 0) {\n\t\t\tint temp = a;\n\t\t\ta = b;\n\t\t\tb = temp % b;\n\t\t}\n\t\t\n\t\tSystem.out.println(a);\n\t}\n}", "public class Main {\n\n\tpublic static void main (String [] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint a = in.nextInt();\n\t\tint b = in.nextInt();\n\t\t\n\t\twhile (b > 0) {\n\t\t\tint temp = a;\n\t\t\ta = b;\n\t\t\tb = temp % b;\n\t\t}\n\t\t\n\t\tSystem.out.println(a);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main (String [] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); while (b > 0) { int temp = a; a = b; b = temp % b; } System.out.println(a); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 42, 17, 30, 14, 2, 13, 13, 30, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 3, 0, 13, 13, 0, 13, 13, 30, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 3, 0, 13, 13, 0, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 85, 5 ], [ 85, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 31, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 41, 48 ], [ 31, 49 ], [ 49, 50 ], [ 49, 51 ], [ 31, 52 ], [ 52, 53 ], [ 52, 54 ], [ 27, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 55, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 65, 72 ], [ 55, 73 ], [ 73, 74 ], [ 73, 75 ], [ 55, 76 ], [ 76, 77 ], [ 76, 78 ], [ 8, 79 ], [ 79, 80 ], [ 80, 81 ], [ 6, 82 ], [ 82, 83 ], [ 0, 84 ], [ 84, 85 ], [ 84, 86 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int r;\n while(true){\n if(x >= y){\n r = x % y;\n if(r == 0){\n System.out.println(y);\n break;\n }\n x = y;\n y = r;\n }else{\n r = y % x;\n if(r == 0){\n System.out.println(x);\n break;\n }\n y = x;\n x = r;\n }\n }\n sc.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int r;\n while(true){\n if(x >= y){\n r = x % y;\n if(r == 0){\n System.out.println(y);\n break;\n }\n x = y;\n y = r;\n }else{\n r = y % x;\n if(r == 0){\n System.out.println(x);\n break;\n }\n y = x;\n x = r;\n }\n }\n sc.close();\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int r;\n while(true){\n if(x >= y){\n r = x % y;\n if(r == 0){\n System.out.println(y);\n break;\n }\n x = y;\n y = r;\n }else{\n r = y % x;\n if(r == 0){\n System.out.println(x);\n break;\n }\n y = x;\n x = r;\n }\n }\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int r;\n while(true){\n if(x >= y){\n r = x % y;\n if(r == 0){\n System.out.println(y);\n break;\n }\n x = y;\n y = r;\n }else{\n r = y % x;\n if(r == 0){\n System.out.println(x);\n break;\n }\n y = x;\n x = r;\n }\n }\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "int r;", "r", "while(true){\n if(x >= y){\n r = x % y;\n if(r == 0){\n System.out.println(y);\n break;\n }\n x = y;\n y = r;\n }else{\n r = y % x;\n if(r == 0){\n System.out.println(x);\n break;\n }\n y = x;\n x = r;\n }\n }", "true", "{\n if(x >= y){\n r = x % y;\n if(r == 0){\n System.out.println(y);\n break;\n }\n x = y;\n y = r;\n }else{\n r = y % x;\n if(r == 0){\n System.out.println(x);\n break;\n }\n y = x;\n x = r;\n }\n }", "if(x >= y){\n r = x % y;\n if(r == 0){\n System.out.println(y);\n break;\n }\n x = y;\n y = r;\n }else{\n r = y % x;\n if(r == 0){\n System.out.println(x);\n break;\n }\n y = x;\n x = r;\n }", "x >= y", "x", "y", "{\n r = x % y;\n if(r == 0){\n System.out.println(y);\n break;\n }\n x = y;\n y = r;\n }", "r = x % y", "r", "x % y", "x", "y", "if(r == 0){\n System.out.println(y);\n break;\n }", "r == 0", "r", "0", "{\n System.out.println(y);\n break;\n }", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "break;", "x = y", "x", "y", "y = r", "y", "r", "{\n r = y % x;\n if(r == 0){\n System.out.println(x);\n break;\n }\n y = x;\n x = r;\n }", "r = y % x", "r", "y % x", "y", "x", "if(r == 0){\n System.out.println(x);\n break;\n }", "r == 0", "r", "0", "{\n System.out.println(x);\n break;\n }", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "break;", "y = x", "y", "x", "x = r", "x", "r", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int r;\n while(true){\n if(x >= y){\n r = x % y;\n if(r == 0){\n System.out.println(y);\n break;\n }\n x = y;\n y = r;\n }else{\n r = y % x;\n if(r == 0){\n System.out.println(x);\n break;\n }\n y = x;\n x = r;\n }\n }\n sc.close();\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int r;\n while(true){\n if(x >= y){\n r = x % y;\n if(r == 0){\n System.out.println(y);\n break;\n }\n x = y;\n y = r;\n }else{\n r = y % x;\n if(r == 0){\n System.out.println(x);\n break;\n }\n y = x;\n x = r;\n }\n }\n sc.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int r; while(true){ if(x >= y){ r = x % y; if(r == 0){ System.out.println(y); break; } x = y; y = r; }else{ r = y % x; if(r == 0){ System.out.println(x); break; } y = x; x = r; } } sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 6, 31 ], [ 31, 32 ], [ 4, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 35, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 33, 49 ], [ 49, 50 ], [ 33, 51 ], [ 51, 52 ] ]
[ "import java.util.*;\n \nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int i = sc.nextInt();\n int j = sc.nextInt();\n System.out.println(getGDC(i, j));\n }\n \n private static int getGDC(int i, int j) {\n if (j == 0) return i;\n return getGDC(j, i % j);\n }\n}", "import java.util.*;", "util.*", "java", "class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int i = sc.nextInt();\n int j = sc.nextInt();\n System.out.println(getGDC(i, j));\n }\n \n private static int getGDC(int i, int j) {\n if (j == 0) return i;\n return getGDC(j, i % j);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int i = sc.nextInt();\n int j = sc.nextInt();\n System.out.println(getGDC(i, j));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int i = sc.nextInt();\n int j = sc.nextInt();\n System.out.println(getGDC(i, j));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int i = sc.nextInt();", "i", "sc.nextInt()", "sc.nextInt", "sc", "int j = sc.nextInt();", "j", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println(getGDC(i, j))", "System.out.println", "System.out", "System", "System.out", "getGDC(i, j)", "getGDC", "i", "j", "String[] args", "args", "private static int getGDC(int i, int j) {\n if (j == 0) return i;\n return getGDC(j, i % j);\n }", "getGDC", "{\n if (j == 0) return i;\n return getGDC(j, i % j);\n }", "if (j == 0) return i;", "j == 0", "j", "0", "return i;", "i", "return getGDC(j, i % j);", "getGDC(j, i % j)", "getGDC", "j", "i % j", "i", "j", "int i", "i", "int j", "j" ]
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int i = sc.nextInt(); int j = sc.nextInt(); System.out.println(getGDC(i, j)); } private static int getGDC(int i, int j) { if (j == 0) return i; return getGDC(j, i % j); } }
[ 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, 4, 18, 4, 18, 13, 17, 4, 18, 18, 13, 13, 4, 18, 20, 20, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 17, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 26, 31 ], [ 17, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 15, 41 ], [ 41, 42 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigInteger;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tStringBuilder buider = new StringBuilder();\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString[] n = br.readLine().split(\" \");\n\n\t\tSystem.out.println(new BigInteger(n[0]).gcd(new BigInteger(n[1])));\n\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.math.BigInteger;", "BigInteger", "java.math", "class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tStringBuilder buider = new StringBuilder();\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString[] n = br.readLine().split(\" \");\n\n\t\tSystem.out.println(new BigInteger(n[0]).gcd(new BigInteger(n[1])));\n\n\t}\n\n}", "Main", "public static void main(String[] args) throws IOException {\n\n\t\tStringBuilder buider = new StringBuilder();\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString[] n = br.readLine().split(\" \");\n\n\t\tSystem.out.println(new BigInteger(n[0]).gcd(new BigInteger(n[1])));\n\n\t}", "main", "{\n\n\t\tStringBuilder buider = new StringBuilder();\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString[] n = br.readLine().split(\" \");\n\n\t\tSystem.out.println(new BigInteger(n[0]).gcd(new BigInteger(n[1])));\n\n\t}", "StringBuilder buider = new StringBuilder();", "buider", "new StringBuilder()", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] n = br.readLine().split(\" \");", "n", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "System.out.println(new BigInteger(n[0]).gcd(new BigInteger(n[1])))", "System.out.println", "System.out", "System", "System.out", "new BigInteger(n[0]).gcd(new BigInteger(n[1]))", "new BigInteger(n[0]).gcd", "new BigInteger(n[0])", "new BigInteger(n[1])", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigInteger; class Main { public static void main(String[] args) throws IOException { StringBuilder buider = new StringBuilder(); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] n = br.readLine().split(" "); System.out.println(new BigInteger(n[0]).gcd(new BigInteger(n[1]))); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 2, 13, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 13, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 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 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 6, 18 ], [ 18, 19 ], [ 6, 20 ], [ 20, 21 ], [ 80, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 25, 31 ], [ 31, 32 ], [ 25, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 34, 37 ], [ 37, 38 ], [ 37, 39 ], [ 22, 40 ], [ 40, 41 ], [ 22, 42 ], [ 42, 43 ], [ 80, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 46, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 46, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 64, 66 ], [ 64, 67 ], [ 46, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 73, 76 ], [ 44, 77 ], [ 77, 78 ], [ 0, 79 ], [ 79, 80 ], [ 79, 81 ] ]
[ "import java.util.*;\n\npublic class Main {\n\n static void swap(int a, int b) {\n int tmp = a;\n a = b;\n b = tmp;\n }\n\n static int gcd(int x, int y) {\n if(x % y == 0) return y;\n else return gcd(y, x % y);\n }\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(x < y) swap(x, y);\n System.out.println(gcd(x, y));\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n static void swap(int a, int b) {\n int tmp = a;\n a = b;\n b = tmp;\n }\n\n static int gcd(int x, int y) {\n if(x % y == 0) return y;\n else return gcd(y, x % y);\n }\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(x < y) swap(x, y);\n System.out.println(gcd(x, y));\n }\n}", "Main", "static void swap(int a, int b) {\n int tmp = a;\n a = b;\n b = tmp;\n }", "swap", "{\n int tmp = a;\n a = b;\n b = tmp;\n }", "int tmp = a;", "tmp", "a", "a = b", "a", "b", "b = tmp", "b", "tmp", "int a", "a", "int b", "b", "static int gcd(int x, int y) {\n if(x % y == 0) return y;\n else return gcd(y, x % y);\n }", "gcd", "{\n if(x % y == 0) return y;\n else return gcd(y, x % y);\n }", "if(x % y == 0) return y;\n else return gcd(y, x % y);", "x % y == 0", "x % y", "x", "y", "0", "return y;", "y", "return gcd(y, x % y);", "gcd(y, x % y)", "gcd", "y", "x % y", "x", "y", "int x", "x", "int y", "y", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(x < y) swap(x, y);\n System.out.println(gcd(x, y));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(x < y) swap(x, y);\n System.out.println(gcd(x, y));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "if(x < y) swap(x, y);", "x < y", "x", "y", "swap(x, y)", "swap", "x", "y", "System.out.println(gcd(x, y))", "System.out.println", "System.out", "System", "System.out", "gcd(x, y)", "gcd", "x", "y", "String[] args", "args", "public class Main {\n\n static void swap(int a, int b) {\n int tmp = a;\n a = b;\n b = tmp;\n }\n\n static int gcd(int x, int y) {\n if(x % y == 0) return y;\n else return gcd(y, x % y);\n }\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(x < y) swap(x, y);\n System.out.println(gcd(x, y));\n }\n}", "public class Main {\n\n static void swap(int a, int b) {\n int tmp = a;\n a = b;\n b = tmp;\n }\n\n static int gcd(int x, int y) {\n if(x % y == 0) return y;\n else return gcd(y, x % y);\n }\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(x < y) swap(x, y);\n System.out.println(gcd(x, y));\n }\n}", "Main" ]
import java.util.*; public class Main { static void swap(int a, int b) { int tmp = a; a = b; b = tmp; } static int gcd(int x, int y) { if(x % y == 0) return y; else return gcd(y, x % y); } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); if(x < y) swap(x, y); System.out.println(gcd(x, y)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 20, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 42, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 74, 5 ], [ 74, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 8, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 38, 40 ], [ 34, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 57, 59 ], [ 53, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 8, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 6, 71 ], [ 71, 72 ], [ 0, 73 ], [ 73, 74 ], [ 73, 75 ] ]
[ "import java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n\tint a,b,hz,rem;\n\tScanner scan =new Scanner(System.in);\n\ta=scan.nextInt();\n\tb=scan.nextInt();\n\tif(b>a){\n\t hz=a;\n\t a=b;\n\t b=hz;\n\t}\n\trem=a%b;\n while(rem!=0){\n\t a=b;\n\t b=rem;\n\t rem=a%b;\n\t}\n\tSystem.out.println(b);\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[] args){\n\tint a,b,hz,rem;\n\tScanner scan =new Scanner(System.in);\n\ta=scan.nextInt();\n\tb=scan.nextInt();\n\tif(b>a){\n\t hz=a;\n\t a=b;\n\t b=hz;\n\t}\n\trem=a%b;\n while(rem!=0){\n\t a=b;\n\t b=rem;\n\t rem=a%b;\n\t}\n\tSystem.out.println(b);\n }\n}", "Main", "public static void main(String[] args){\n\tint a,b,hz,rem;\n\tScanner scan =new Scanner(System.in);\n\ta=scan.nextInt();\n\tb=scan.nextInt();\n\tif(b>a){\n\t hz=a;\n\t a=b;\n\t b=hz;\n\t}\n\trem=a%b;\n while(rem!=0){\n\t a=b;\n\t b=rem;\n\t rem=a%b;\n\t}\n\tSystem.out.println(b);\n }", "main", "{\n\tint a,b,hz,rem;\n\tScanner scan =new Scanner(System.in);\n\ta=scan.nextInt();\n\tb=scan.nextInt();\n\tif(b>a){\n\t hz=a;\n\t a=b;\n\t b=hz;\n\t}\n\trem=a%b;\n while(rem!=0){\n\t a=b;\n\t b=rem;\n\t rem=a%b;\n\t}\n\tSystem.out.println(b);\n }", "int a", "a", "b", "b", "hz", "hz", "rem;", "rem", "Scanner scan =new Scanner(System.in);", "scan", "new Scanner(System.in)", "a=scan.nextInt()", "a", "scan.nextInt()", "scan.nextInt", "scan", "b=scan.nextInt()", "b", "scan.nextInt()", "scan.nextInt", "scan", "if(b>a){\n\t hz=a;\n\t a=b;\n\t b=hz;\n\t}", "b>a", "b", "a", "{\n\t hz=a;\n\t a=b;\n\t b=hz;\n\t}", "hz=a", "hz", "a", "a=b", "a", "b", "b=hz", "b", "hz", "rem=a%b", "rem", "a%b", "a", "b", "while(rem!=0){\n\t a=b;\n\t b=rem;\n\t rem=a%b;\n\t}", "rem!=0", "rem", "0", "{\n\t a=b;\n\t b=rem;\n\t rem=a%b;\n\t}", "a=b", "a", "b", "b=rem", "b", "rem", "rem=a%b", "rem", "a%b", "a", "b", "System.out.println(b)", "System.out.println", "System.out", "System", "System.out", "b", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n\tint a,b,hz,rem;\n\tScanner scan =new Scanner(System.in);\n\ta=scan.nextInt();\n\tb=scan.nextInt();\n\tif(b>a){\n\t hz=a;\n\t a=b;\n\t b=hz;\n\t}\n\trem=a%b;\n while(rem!=0){\n\t a=b;\n\t b=rem;\n\t rem=a%b;\n\t}\n\tSystem.out.println(b);\n }\n}", "public class Main{\n public static void main(String[] args){\n\tint a,b,hz,rem;\n\tScanner scan =new Scanner(System.in);\n\ta=scan.nextInt();\n\tb=scan.nextInt();\n\tif(b>a){\n\t hz=a;\n\t a=b;\n\t b=hz;\n\t}\n\trem=a%b;\n while(rem!=0){\n\t a=b;\n\t b=rem;\n\t rem=a%b;\n\t}\n\tSystem.out.println(b);\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ int a,b,hz,rem; Scanner scan =new Scanner(System.in); a=scan.nextInt(); b=scan.nextInt(); if(b>a){ hz=a; a=b; b=hz; } rem=a%b; while(rem!=0){ a=b; b=rem; rem=a%b; } System.out.println(b); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 4, 18, 20, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 23, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 4, 13, 13, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 14, 2, 2, 13, 17, 2, 13, 18, 13, 13, 30, 0, 13, 4, 18, 4, 18, 4, 18, 13, 17, 0, 13, 17, 29, 18, 13, 40, 13, 12, 13, 30, 29, 4, 13, 12, 13, 30, 0, 13, 17, 0, 13, 17, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 272, 17 ], [ 272, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 25, 26 ], [ 18, 27 ], [ 27, 28 ], [ 0, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 29, 33 ], [ 33, 34 ], [ 29, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 37, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 35, 48 ], [ 48, 49 ], [ 35, 50 ], [ 50, 51 ], [ 29, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 60, 61 ], [ 60, 62 ], [ 60, 63 ], [ 29, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 71, 72 ], [ 67, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 74, 77 ], [ 77, 78 ], [ 77, 79 ], [ 64, 80 ], [ 80, 81 ], [ 64, 82 ], [ 82, 83 ], [ 0, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 84, 88 ], [ 88, 89 ], [ 84, 90 ], [ 90, 91 ], [ 84, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 84, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 98, 104 ], [ 104, 105 ], [ 84, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 116, 118 ], [ 109, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 122, 129 ], [ 119, 130 ], [ 130, 131 ], [ 130, 132 ], [ 108, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 84, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 84, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 146, 150 ], [ 150, 151 ], [ 150, 152 ], [ 146, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 84, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 161, 164 ], [ 164, 165 ], [ 84, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 170, 173 ], [ 173, 174 ], [ 84, 175 ], [ 175, 176 ], [ 175, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 179, 182 ], [ 182, 183 ], [ 84, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 186, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 191, 196 ], [ 196, 197 ], [ 196, 198 ], [ 191, 199 ], [ 199, 200 ], [ 200, 201 ], [ 191, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 203, 207 ], [ 207, 208 ], [ 186, 209 ], [ 209, 210 ], [ 184, 211 ], [ 211, 212 ], [ 84, 213 ], [ 213, 214 ], [ 213, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 215, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 222, 224 ], [ 220, 225 ], [ 225, 226 ], [ 225, 227 ], [ 220, 228 ], [ 228, 229 ], [ 229, 230 ], [ 220, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 232, 236 ], [ 236, 237 ], [ 215, 238 ], [ 238, 239 ], [ 213, 240 ], [ 240, 241 ], [ 84, 242 ], [ 242, 243 ], [ 242, 244 ], [ 244, 245 ], [ 245, 246 ], [ 245, 247 ], [ 244, 249 ], [ 249, 250 ], [ 250, 251 ], [ 251, 252 ], [ 251, 253 ], [ 249, 254 ], [ 254, 255 ], [ 254, 256 ], [ 249, 257 ], [ 257, 258 ], [ 258, 259 ], [ 249, 260 ], [ 260, 261 ], [ 261, 262 ], [ 262, 263 ], [ 262, 264 ], [ 261, 265 ], [ 265, 266 ], [ 244, 267 ], [ 267, 268 ], [ 242, 269 ], [ 269, 270 ], [ 0, 271 ], [ 271, 272 ], [ 271, 273 ] ]
[ "import java.io.BufferedReader;\nimport java.io.FileInputStream;\nimport java.io.FileNotFoundException;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tContestScanner scan = new ContestScanner();\n\n\t\t(new Solve(scan.nextInt(), scan.nextInt())).solve();\n\t}\n}\nclass Solve {\n\tprivate final int x;\n\tprivate final int y;\n\n\tpublic Solve(final int x, final int y)\n\t{\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t}\n\n\tpublic void solve()\n\t{\n\t\tSystem.out.println(gcd(x,y));\n\t}\n\n\tpublic int gcd(final int a, final int b)\n\t{\n\t\tif(b == 0) return a;\n\t\telse return gcd(b, a % b);\n\t}\n}\nclass ContestScanner {\n\tBufferedReader reader;\n\tString[] line;\n\tint index;\n\tpublic ContestScanner() {\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t}\n\n\tpublic ContestScanner(String filename) throws FileNotFoundException {\n\t\treader = new BufferedReader(new InputStreamReader(new FileInputStream(filename)));\n\t}\n\n\tpublic String nextToken() throws IOException {\n\t\tif(line == null || index >= line.length)\n\t\t{\n\t\t\tline = reader.readLine().trim().split(\" \");\n\t\t\tindex = 0;\n\t\t}\n\n\t\treturn line[index++];\n\t}\n\n\tpublic String next() throws IOException {\n\t\treturn nextToken();\n\t}\n\n\tpublic String readLine() throws IOException {\n\t\tline = null;\n\t\tindex = 0;\n\n\t\treturn reader.readLine();\n\t}\n\n\tpublic int nextInt() throws IOException, NumberFormatException {\n\t\treturn Integer.parseInt(nextToken());\n\t}\n\n\tpublic long nextLong() throws IOException, NumberFormatException {\n\t\treturn Long.parseLong(nextToken());\n\t}\n\n\tpublic double nextDouble() throws IOException, NumberFormatException {\n\t\treturn Double.parseDouble(nextToken());\n\t}\n\n\tpublic int[] nextIntArray(int N) throws IOException, NumberFormatException {\n\t\tint[] result = new int[N];\n\n\t\tfor(int i=0; i < N; i++) result[i] = nextInt();\n\n\t\treturn result;\n\t}\n\n\tpublic long[] nextLongArray(int N) throws IOException, NumberFormatException {\n\t\tlong[] result = new long[N];\n\n\t\tfor(int i=0; i < N; i++) result[i] = nextLong();\n\n\t\treturn result;\n\t}\n\n\tpublic double[] nexDoubleArray(int N) throws IOException, NumberFormatException {\n\t\tdouble[] result = new double[N];\n\n\t\tfor(int i=0; i < N; i++) result[i] = nextDouble();\n\n\t\treturn result;\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.FileInputStream;", "FileInputStream", "java.io", "import java.io.FileNotFoundException;", "FileNotFoundException", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tContestScanner scan = new ContestScanner();\n\n\t\t(new Solve(scan.nextInt(), scan.nextInt())).solve();\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tContestScanner scan = new ContestScanner();\n\n\t\t(new Solve(scan.nextInt(), scan.nextInt())).solve();\n\t}", "main", "{\n\t\tContestScanner scan = new ContestScanner();\n\n\t\t(new Solve(scan.nextInt(), scan.nextInt())).solve();\n\t}", "ContestScanner scan = new ContestScanner();", "scan", "new ContestScanner()", "(new Solve(scan.nextInt(), scan.nextInt())).solve()", "(new Solve(scan.nextInt(), scan.nextInt())).solve", "(new Solve(scan.nextInt(), scan.nextInt()))", "String[] args", "args", "class Solve {\n\tprivate final int x;\n\tprivate final int y;\n\n\tpublic Solve(final int x, final int y)\n\t{\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t}\n\n\tpublic void solve()\n\t{\n\t\tSystem.out.println(gcd(x,y));\n\t}\n\n\tpublic int gcd(final int a, final int b)\n\t{\n\t\tif(b == 0) return a;\n\t\telse return gcd(b, a % b);\n\t}\n}", "Solve", "private final int x;", "x", "private final int y;", "y", "public Solve(final int x, final int y)\n\t{\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t}", "Solve", "{\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t}", "this.x = x", "this.x", "this", "this.x", "x", "this.y = y", "this.y", "this", "this.y", "y", "final int x", "x", "final int y", "y", "public void solve()\n\t{\n\t\tSystem.out.println(gcd(x,y));\n\t}", "solve", "{\n\t\tSystem.out.println(gcd(x,y));\n\t}", "System.out.println(gcd(x,y))", "System.out.println", "System.out", "System", "System.out", "gcd(x,y)", "gcd", "x", "y", "public int gcd(final int a, final int b)\n\t{\n\t\tif(b == 0) return a;\n\t\telse return gcd(b, a % b);\n\t}", "gcd", "{\n\t\tif(b == 0) return a;\n\t\telse return gcd(b, a % b);\n\t}", "if(b == 0) return a;\n\t\telse return gcd(b, a % b);", "b == 0", "b", "0", "return a;", "a", "return gcd(b, a % b);", "gcd(b, a % b)", "gcd", "b", "a % b", "a", "b", "final int a", "a", "final int b", "b", "class ContestScanner {\n\tBufferedReader reader;\n\tString[] line;\n\tint index;\n\tpublic ContestScanner() {\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t}\n\n\tpublic ContestScanner(String filename) throws FileNotFoundException {\n\t\treader = new BufferedReader(new InputStreamReader(new FileInputStream(filename)));\n\t}\n\n\tpublic String nextToken() throws IOException {\n\t\tif(line == null || index >= line.length)\n\t\t{\n\t\t\tline = reader.readLine().trim().split(\" \");\n\t\t\tindex = 0;\n\t\t}\n\n\t\treturn line[index++];\n\t}\n\n\tpublic String next() throws IOException {\n\t\treturn nextToken();\n\t}\n\n\tpublic String readLine() throws IOException {\n\t\tline = null;\n\t\tindex = 0;\n\n\t\treturn reader.readLine();\n\t}\n\n\tpublic int nextInt() throws IOException, NumberFormatException {\n\t\treturn Integer.parseInt(nextToken());\n\t}\n\n\tpublic long nextLong() throws IOException, NumberFormatException {\n\t\treturn Long.parseLong(nextToken());\n\t}\n\n\tpublic double nextDouble() throws IOException, NumberFormatException {\n\t\treturn Double.parseDouble(nextToken());\n\t}\n\n\tpublic int[] nextIntArray(int N) throws IOException, NumberFormatException {\n\t\tint[] result = new int[N];\n\n\t\tfor(int i=0; i < N; i++) result[i] = nextInt();\n\n\t\treturn result;\n\t}\n\n\tpublic long[] nextLongArray(int N) throws IOException, NumberFormatException {\n\t\tlong[] result = new long[N];\n\n\t\tfor(int i=0; i < N; i++) result[i] = nextLong();\n\n\t\treturn result;\n\t}\n\n\tpublic double[] nexDoubleArray(int N) throws IOException, NumberFormatException {\n\t\tdouble[] result = new double[N];\n\n\t\tfor(int i=0; i < N; i++) result[i] = nextDouble();\n\n\t\treturn result;\n\t}\n}", "ContestScanner", "BufferedReader reader;", "reader", "String[] line;", "line", "int index;", "index", "public ContestScanner() {\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t}", "ContestScanner", "{\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t}", "reader = new BufferedReader(new InputStreamReader(System.in))", "reader", "new BufferedReader(new InputStreamReader(System.in))", "public ContestScanner(String filename) throws FileNotFoundException {\n\t\treader = new BufferedReader(new InputStreamReader(new FileInputStream(filename)));\n\t}", "ContestScanner", "{\n\t\treader = new BufferedReader(new InputStreamReader(new FileInputStream(filename)));\n\t}", "reader = new BufferedReader(new InputStreamReader(new FileInputStream(filename)))", "reader", "new BufferedReader(new InputStreamReader(new FileInputStream(filename)))", "String filename", "filename", "public String nextToken() throws IOException {\n\t\tif(line == null || index >= line.length)\n\t\t{\n\t\t\tline = reader.readLine().trim().split(\" \");\n\t\t\tindex = 0;\n\t\t}\n\n\t\treturn line[index++];\n\t}", "nextToken", "{\n\t\tif(line == null || index >= line.length)\n\t\t{\n\t\t\tline = reader.readLine().trim().split(\" \");\n\t\t\tindex = 0;\n\t\t}\n\n\t\treturn line[index++];\n\t}", "if(line == null || index >= line.length)\n\t\t{\n\t\t\tline = reader.readLine().trim().split(\" \");\n\t\t\tindex = 0;\n\t\t}", "line == null || index >= line.length", "line == null", "line", "null", "index >= line.length", "index", "line.length", "line", "line.length", "{\n\t\t\tline = reader.readLine().trim().split(\" \");\n\t\t\tindex = 0;\n\t\t}", "line = reader.readLine().trim().split(\" \")", "line", "reader.readLine().trim().split(\" \")", "reader.readLine().trim().split", "reader.readLine().trim()", "reader.readLine().trim", "reader.readLine()", "reader.readLine", "reader", "\" \"", "index = 0", "index", "0", "return line[index++];", "line[index++]", "line", "index++", "index", "public String next() throws IOException {\n\t\treturn nextToken();\n\t}", "next", "{\n\t\treturn nextToken();\n\t}", "return nextToken();", "nextToken()", "nextToken", "public String readLine() throws IOException {\n\t\tline = null;\n\t\tindex = 0;\n\n\t\treturn reader.readLine();\n\t}", "readLine", "{\n\t\tline = null;\n\t\tindex = 0;\n\n\t\treturn reader.readLine();\n\t}", "line = null", "line", "null", "index = 0", "index", "0", "return reader.readLine();", "reader.readLine()", "reader.readLine", "reader", "public int nextInt() throws IOException, NumberFormatException {\n\t\treturn Integer.parseInt(nextToken());\n\t}", "nextInt", "{\n\t\treturn Integer.parseInt(nextToken());\n\t}", "return Integer.parseInt(nextToken());", "Integer.parseInt(nextToken())", "Integer.parseInt", "Integer", "nextToken()", "nextToken", "public long nextLong() throws IOException, NumberFormatException {\n\t\treturn Long.parseLong(nextToken());\n\t}", "nextLong", "{\n\t\treturn Long.parseLong(nextToken());\n\t}", "return Long.parseLong(nextToken());", "Long.parseLong(nextToken())", "Long.parseLong", "Long", "nextToken()", "nextToken", "public double nextDouble() throws IOException, NumberFormatException {\n\t\treturn Double.parseDouble(nextToken());\n\t}", "nextDouble", "{\n\t\treturn Double.parseDouble(nextToken());\n\t}", "return Double.parseDouble(nextToken());", "Double.parseDouble(nextToken())", "Double.parseDouble", "Double", "nextToken()", "nextToken", "public int[] nextIntArray(int N) throws IOException, NumberFormatException {\n\t\tint[] result = new int[N];\n\n\t\tfor(int i=0; i < N; i++) result[i] = nextInt();\n\n\t\treturn result;\n\t}", "nextIntArray", "{\n\t\tint[] result = new int[N];\n\n\t\tfor(int i=0; i < N; i++) result[i] = nextInt();\n\n\t\treturn result;\n\t}", "int[] result = new int[N];", "result", "new int[N]", "N", "for(int i=0; i < N; i++) result[i] = nextInt();", "int i=0;", "int i=0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "result[i] = nextInt();", "result[i] = nextInt()", "result[i]", "result", "i", "nextInt()", "nextInt", "return result;", "result", "int N", "N", "public long[] nextLongArray(int N) throws IOException, NumberFormatException {\n\t\tlong[] result = new long[N];\n\n\t\tfor(int i=0; i < N; i++) result[i] = nextLong();\n\n\t\treturn result;\n\t}", "nextLongArray", "{\n\t\tlong[] result = new long[N];\n\n\t\tfor(int i=0; i < N; i++) result[i] = nextLong();\n\n\t\treturn result;\n\t}", "long[] result = new long[N];", "result", "new long[N]", "N", "for(int i=0; i < N; i++) result[i] = nextLong();", "int i=0;", "int i=0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "result[i] = nextLong();", "result[i] = nextLong()", "result[i]", "result", "i", "nextLong()", "nextLong", "return result;", "result", "int N", "N", "public double[] nexDoubleArray(int N) throws IOException, NumberFormatException {\n\t\tdouble[] result = new double[N];\n\n\t\tfor(int i=0; i < N; i++) result[i] = nextDouble();\n\n\t\treturn result;\n\t}", "nexDoubleArray", "{\n\t\tdouble[] result = new double[N];\n\n\t\tfor(int i=0; i < N; i++) result[i] = nextDouble();\n\n\t\treturn result;\n\t}", "double[] result = new double[N];", "result", "new double[N]", "N", "for(int i=0; i < N; i++) result[i] = nextDouble();", "int i=0;", "int i=0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "result[i] = nextDouble();", "result[i] = nextDouble()", "result[i]", "result", "i", "nextDouble()", "nextDouble", "return result;", "result", "int N", "N", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tContestScanner scan = new ContestScanner();\n\n\t\t(new Solve(scan.nextInt(), scan.nextInt())).solve();\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tContestScanner scan = new ContestScanner();\n\n\t\t(new Solve(scan.nextInt(), scan.nextInt())).solve();\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { ContestScanner scan = new ContestScanner(); (new Solve(scan.nextInt(), scan.nextInt())).solve(); } } class Solve { private final int x; private final int y; public Solve(final int x, final int y) { this.x = x; this.y = y; } public void solve() { System.out.println(gcd(x,y)); } public int gcd(final int a, final int b) { if(b == 0) return a; else return gcd(b, a % b); } } class ContestScanner { BufferedReader reader; String[] line; int index; public ContestScanner() { reader = new BufferedReader(new InputStreamReader(System.in)); } public ContestScanner(String filename) throws FileNotFoundException { reader = new BufferedReader(new InputStreamReader(new FileInputStream(filename))); } public String nextToken() throws IOException { if(line == null || index >= line.length) { line = reader.readLine().trim().split(" "); index = 0; } return line[index++]; } public String next() throws IOException { return nextToken(); } public String readLine() throws IOException { line = null; index = 0; return reader.readLine(); } public int nextInt() throws IOException, NumberFormatException { return Integer.parseInt(nextToken()); } public long nextLong() throws IOException, NumberFormatException { return Long.parseLong(nextToken()); } public double nextDouble() throws IOException, NumberFormatException { return Double.parseDouble(nextToken()); } public int[] nextIntArray(int N) throws IOException, NumberFormatException { int[] result = new int[N]; for(int i=0; i < N; i++) result[i] = nextInt(); return result; } public long[] nextLongArray(int N) throws IOException, NumberFormatException { long[] result = new long[N]; for(int i=0; i < N; i++) result[i] = nextLong(); return result; } public double[] nexDoubleArray(int N) throws IOException, NumberFormatException { double[] result = new double[N]; for(int i=0; i < N; i++) result[i] = nextDouble(); return result; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 4, 13, 13, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 2, 13, 13, 14, 2, 13, 17, 30, 29, 4, 13, 13, 13, 30, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 92, 5 ], [ 92, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 30, 33 ], [ 29, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 39, 42 ], [ 25, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 43, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 60, 61 ], [ 60, 62 ], [ 60, 63 ], [ 6, 64 ], [ 64, 65 ], [ 92, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 68, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 80, 83 ], [ 74, 84 ], [ 84, 85 ], [ 85, 86 ], [ 66, 87 ], [ 87, 88 ], [ 66, 89 ], [ 89, 90 ], [ 0, 91 ], [ 91, 92 ], [ 91, 93 ] ]
[ "import java.util.*;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder bd = new StringBuilder();\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n if (a > b) {\n gcd(a, b);\n System.out.println(gcd(a, b));\n }\n else if (a == b) {\n System.out.println(a);\n }\n else {\n System.out.println(gcd(b, a));\n }\n\n\n\n }\n\n public static int gcd(int a, int b) {\n int r = a % b;\n //System.out.println(a);\n //System.out.println(b);\n //System.out.println(r);\n //System.out.println();\n if (r != 0) {\n return gcd(b, r);\n }\n else {\n return b;\n }\n }\n/*\n Dice d1 = new Dice();\n Dice d2 = new Dice();\n\n for (int i=0; i<6; i++) {\n d1.dice[i] = sc.nextInt();\n }\n for (int i=0; i<6; i++) {\n d2.dice[i] = sc.nextInt();\n }\n\n\n\n\n\n\n int[] d1 = new int[6];\n int[] d2 = new int[6];\n\n int a = 0;\n int b = 0;\n int c = 0;\n int d = 0;\n int e = 0;\n int f = 0;\n\n for (int i=0; i<6; i++) d1[i] = sc.nextInt();\n for (int i=0; i<6; i++) d2[i] = sc.nextInt();\n\n\n\n for (int i=0; i<6; i++) {\n if (d1[0] == d2[i]) a = i;\n else if (d1[1] == d2[i]) b = i;\n else if (d1[2] == d2[i]) c = i;\n else if (d1[3] == d2[i]) d = i;\n else if (d1[4] == d2[i]) e = i;\n else if (d1[5] == d2[i]) f = i;\n }\n\n if (a + f == 5) {\n if (Dice.Roll(a+1, b+1) == c+1 && Dice.Roll(a+1, c+1) == e+1) {\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }\n else {\n System.out.println(\"No\");\n }\n }\n}\n\nclass Dice {\n int[] dice = new int[6];\n\n public static int Roll(int a, int b) {\n switch (a) {\n case 1: {\n switch (b) {\n case 2: return 3;\n case 3: return 5;\n case 4: return 2;\n case 5: return 4;\n }\n }\n case 2: {\n switch (b) {\n case 1: return 4;\n case 3: return 1;\n case 4: return 6;\n case 6: return 3;\n }\n }\n case 3: {\n switch (b) {\n case 1: return 2;\n case 2: return 6;\n case 5: return 1;\n case 6: return 5;\n }\n }\n case 4: {\n switch (b) {\n case 1: return 5;\n case 2: return 1;\n case 5: return 6;\n case 6: return 2;\n }\n }\n case 5: {\n switch (b) {\n case 1: return 3;\n case 3: return 6;\n case 4: return 1;\n case 6: return 4;\n }\n }\n case 6: {\n switch (b) {\n case 2: return 4;\n case 3: return 2;\n case 4: return 5;\n case 5: return 3;\n }\n }\n }\n return 0;\n\n\n }\n\n */\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder bd = new StringBuilder();\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n if (a > b) {\n gcd(a, b);\n System.out.println(gcd(a, b));\n }\n else if (a == b) {\n System.out.println(a);\n }\n else {\n System.out.println(gcd(b, a));\n }\n\n\n\n }\n\n public static int gcd(int a, int b) {\n int r = a % b;\n //System.out.println(a);\n //System.out.println(b);\n //System.out.println(r);\n //System.out.println();\n if (r != 0) {\n return gcd(b, r);\n }\n else {\n return b;\n }\n }\n/*\n Dice d1 = new Dice();\n Dice d2 = new Dice();\n\n for (int i=0; i<6; i++) {\n d1.dice[i] = sc.nextInt();\n }\n for (int i=0; i<6; i++) {\n d2.dice[i] = sc.nextInt();\n }\n\n\n\n\n\n\n int[] d1 = new int[6];\n int[] d2 = new int[6];\n\n int a = 0;\n int b = 0;\n int c = 0;\n int d = 0;\n int e = 0;\n int f = 0;\n\n for (int i=0; i<6; i++) d1[i] = sc.nextInt();\n for (int i=0; i<6; i++) d2[i] = sc.nextInt();\n\n\n\n for (int i=0; i<6; i++) {\n if (d1[0] == d2[i]) a = i;\n else if (d1[1] == d2[i]) b = i;\n else if (d1[2] == d2[i]) c = i;\n else if (d1[3] == d2[i]) d = i;\n else if (d1[4] == d2[i]) e = i;\n else if (d1[5] == d2[i]) f = i;\n }\n\n if (a + f == 5) {\n if (Dice.Roll(a+1, b+1) == c+1 && Dice.Roll(a+1, c+1) == e+1) {\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }\n else {\n System.out.println(\"No\");\n }\n }\n}\n\nclass Dice {\n int[] dice = new int[6];\n\n public static int Roll(int a, int b) {\n switch (a) {\n case 1: {\n switch (b) {\n case 2: return 3;\n case 3: return 5;\n case 4: return 2;\n case 5: return 4;\n }\n }\n case 2: {\n switch (b) {\n case 1: return 4;\n case 3: return 1;\n case 4: return 6;\n case 6: return 3;\n }\n }\n case 3: {\n switch (b) {\n case 1: return 2;\n case 2: return 6;\n case 5: return 1;\n case 6: return 5;\n }\n }\n case 4: {\n switch (b) {\n case 1: return 5;\n case 2: return 1;\n case 5: return 6;\n case 6: return 2;\n }\n }\n case 5: {\n switch (b) {\n case 1: return 3;\n case 3: return 6;\n case 4: return 1;\n case 6: return 4;\n }\n }\n case 6: {\n switch (b) {\n case 2: return 4;\n case 3: return 2;\n case 4: return 5;\n case 5: return 3;\n }\n }\n }\n return 0;\n\n\n }\n\n */\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder bd = new StringBuilder();\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n if (a > b) {\n gcd(a, b);\n System.out.println(gcd(a, b));\n }\n else if (a == b) {\n System.out.println(a);\n }\n else {\n System.out.println(gcd(b, a));\n }\n\n\n\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n StringBuilder bd = new StringBuilder();\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n if (a > b) {\n gcd(a, b);\n System.out.println(gcd(a, b));\n }\n else if (a == b) {\n System.out.println(a);\n }\n else {\n System.out.println(gcd(b, a));\n }\n\n\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "StringBuilder bd = new StringBuilder();", "bd", "new StringBuilder()", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "if (a > b) {\n gcd(a, b);\n System.out.println(gcd(a, b));\n }\n else if (a == b) {\n System.out.println(a);\n }\n else {\n System.out.println(gcd(b, a));\n }", "a > b", "a", "b", "{\n gcd(a, b);\n System.out.println(gcd(a, b));\n }", "gcd(a, b)", "gcd", "a", "b", "System.out.println(gcd(a, b))", "System.out.println", "System.out", "System", "System.out", "gcd(a, b)", "gcd", "a", "b", "if (a == b) {\n System.out.println(a);\n }\n else {\n System.out.println(gcd(b, a));\n }", "a == b", "a", "b", "{\n System.out.println(a);\n }", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "{\n System.out.println(gcd(b, a));\n }", "System.out.println(gcd(b, a))", "System.out.println", "System.out", "System", "System.out", "gcd(b, a)", "gcd", "b", "a", "String[] args", "args", "public static int gcd(int a, int b) {\n int r = a % b;\n //System.out.println(a);\n //System.out.println(b);\n //System.out.println(r);\n //System.out.println();\n if (r != 0) {\n return gcd(b, r);\n }\n else {\n return b;\n }\n }", "gcd", "{\n int r = a % b;\n //System.out.println(a);\n //System.out.println(b);\n //System.out.println(r);\n //System.out.println();\n if (r != 0) {\n return gcd(b, r);\n }\n else {\n return b;\n }\n }", "int r = a % b;", "r", "a % b", "a", "b", "if (r != 0) {\n return gcd(b, r);\n }\n else {\n return b;\n }", "r != 0", "r", "0", "{\n return gcd(b, r);\n }", "return gcd(b, r);", "gcd(b, r)", "gcd", "b", "r", "{\n return b;\n }", "return b;", "b", "int a", "a", "int b", "b", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder bd = new StringBuilder();\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n if (a > b) {\n gcd(a, b);\n System.out.println(gcd(a, b));\n }\n else if (a == b) {\n System.out.println(a);\n }\n else {\n System.out.println(gcd(b, a));\n }\n\n\n\n }\n\n public static int gcd(int a, int b) {\n int r = a % b;\n //System.out.println(a);\n //System.out.println(b);\n //System.out.println(r);\n //System.out.println();\n if (r != 0) {\n return gcd(b, r);\n }\n else {\n return b;\n }\n }\n/*\n Dice d1 = new Dice();\n Dice d2 = new Dice();\n\n for (int i=0; i<6; i++) {\n d1.dice[i] = sc.nextInt();\n }\n for (int i=0; i<6; i++) {\n d2.dice[i] = sc.nextInt();\n }\n\n\n\n\n\n\n int[] d1 = new int[6];\n int[] d2 = new int[6];\n\n int a = 0;\n int b = 0;\n int c = 0;\n int d = 0;\n int e = 0;\n int f = 0;\n\n for (int i=0; i<6; i++) d1[i] = sc.nextInt();\n for (int i=0; i<6; i++) d2[i] = sc.nextInt();\n\n\n\n for (int i=0; i<6; i++) {\n if (d1[0] == d2[i]) a = i;\n else if (d1[1] == d2[i]) b = i;\n else if (d1[2] == d2[i]) c = i;\n else if (d1[3] == d2[i]) d = i;\n else if (d1[4] == d2[i]) e = i;\n else if (d1[5] == d2[i]) f = i;\n }\n\n if (a + f == 5) {\n if (Dice.Roll(a+1, b+1) == c+1 && Dice.Roll(a+1, c+1) == e+1) {\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }\n else {\n System.out.println(\"No\");\n }\n }\n}\n\nclass Dice {\n int[] dice = new int[6];\n\n public static int Roll(int a, int b) {\n switch (a) {\n case 1: {\n switch (b) {\n case 2: return 3;\n case 3: return 5;\n case 4: return 2;\n case 5: return 4;\n }\n }\n case 2: {\n switch (b) {\n case 1: return 4;\n case 3: return 1;\n case 4: return 6;\n case 6: return 3;\n }\n }\n case 3: {\n switch (b) {\n case 1: return 2;\n case 2: return 6;\n case 5: return 1;\n case 6: return 5;\n }\n }\n case 4: {\n switch (b) {\n case 1: return 5;\n case 2: return 1;\n case 5: return 6;\n case 6: return 2;\n }\n }\n case 5: {\n switch (b) {\n case 1: return 3;\n case 3: return 6;\n case 4: return 1;\n case 6: return 4;\n }\n }\n case 6: {\n switch (b) {\n case 2: return 4;\n case 3: return 2;\n case 4: return 5;\n case 5: return 3;\n }\n }\n }\n return 0;\n\n\n }\n\n */\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder bd = new StringBuilder();\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n if (a > b) {\n gcd(a, b);\n System.out.println(gcd(a, b));\n }\n else if (a == b) {\n System.out.println(a);\n }\n else {\n System.out.println(gcd(b, a));\n }\n\n\n\n }\n\n public static int gcd(int a, int b) {\n int r = a % b;\n //System.out.println(a);\n //System.out.println(b);\n //System.out.println(r);\n //System.out.println();\n if (r != 0) {\n return gcd(b, r);\n }\n else {\n return b;\n }\n }\n/*\n Dice d1 = new Dice();\n Dice d2 = new Dice();\n\n for (int i=0; i<6; i++) {\n d1.dice[i] = sc.nextInt();\n }\n for (int i=0; i<6; i++) {\n d2.dice[i] = sc.nextInt();\n }\n\n\n\n\n\n\n int[] d1 = new int[6];\n int[] d2 = new int[6];\n\n int a = 0;\n int b = 0;\n int c = 0;\n int d = 0;\n int e = 0;\n int f = 0;\n\n for (int i=0; i<6; i++) d1[i] = sc.nextInt();\n for (int i=0; i<6; i++) d2[i] = sc.nextInt();\n\n\n\n for (int i=0; i<6; i++) {\n if (d1[0] == d2[i]) a = i;\n else if (d1[1] == d2[i]) b = i;\n else if (d1[2] == d2[i]) c = i;\n else if (d1[3] == d2[i]) d = i;\n else if (d1[4] == d2[i]) e = i;\n else if (d1[5] == d2[i]) f = i;\n }\n\n if (a + f == 5) {\n if (Dice.Roll(a+1, b+1) == c+1 && Dice.Roll(a+1, c+1) == e+1) {\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }\n else {\n System.out.println(\"No\");\n }\n }\n}\n\nclass Dice {\n int[] dice = new int[6];\n\n public static int Roll(int a, int b) {\n switch (a) {\n case 1: {\n switch (b) {\n case 2: return 3;\n case 3: return 5;\n case 4: return 2;\n case 5: return 4;\n }\n }\n case 2: {\n switch (b) {\n case 1: return 4;\n case 3: return 1;\n case 4: return 6;\n case 6: return 3;\n }\n }\n case 3: {\n switch (b) {\n case 1: return 2;\n case 2: return 6;\n case 5: return 1;\n case 6: return 5;\n }\n }\n case 4: {\n switch (b) {\n case 1: return 5;\n case 2: return 1;\n case 5: return 6;\n case 6: return 2;\n }\n }\n case 5: {\n switch (b) {\n case 1: return 3;\n case 3: return 6;\n case 4: return 1;\n case 6: return 4;\n }\n }\n case 6: {\n switch (b) {\n case 2: return 4;\n case 3: return 2;\n case 4: return 5;\n case 5: return 3;\n }\n }\n }\n return 0;\n\n\n }\n\n */\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); StringBuilder bd = new StringBuilder(); int a = sc.nextInt(); int b = sc.nextInt(); if (a > b) { gcd(a, b); System.out.println(gcd(a, b)); } else if (a == b) { System.out.println(a); } else { System.out.println(gcd(b, a)); } } public static int gcd(int a, int b) { int r = a % b; //System.out.println(a); //System.out.println(b); //System.out.println(r); //System.out.println(); if (r != 0) { return gcd(b, r); } else { return b; } } /* Dice d1 = new Dice(); Dice d2 = new Dice(); for (int i=0; i<6; i++) { d1.dice[i] = sc.nextInt(); } for (int i=0; i<6; i++) { d2.dice[i] = sc.nextInt(); } int[] d1 = new int[6]; int[] d2 = new int[6]; int a = 0; int b = 0; int c = 0; int d = 0; int e = 0; int f = 0; for (int i=0; i<6; i++) d1[i] = sc.nextInt(); for (int i=0; i<6; i++) d2[i] = sc.nextInt(); for (int i=0; i<6; i++) { if (d1[0] == d2[i]) a = i; else if (d1[1] == d2[i]) b = i; else if (d1[2] == d2[i]) c = i; else if (d1[3] == d2[i]) d = i; else if (d1[4] == d2[i]) e = i; else if (d1[5] == d2[i]) f = i; } if (a + f == 5) { if (Dice.Roll(a+1, b+1) == c+1 && Dice.Roll(a+1, c+1) == e+1) { System.out.println("Yes"); } else { System.out.println("No"); } } else { System.out.println("No"); } } } class Dice { int[] dice = new int[6]; public static int Roll(int a, int b) { switch (a) { case 1: { switch (b) { case 2: return 3; case 3: return 5; case 4: return 2; case 5: return 4; } } case 2: { switch (b) { case 1: return 4; case 3: return 1; case 4: return 6; case 6: return 3; } } case 3: { switch (b) { case 1: return 2; case 2: return 6; case 5: return 1; case 6: return 5; } } case 4: { switch (b) { case 1: return 5; case 2: return 1; case 5: return 6; case 6: return 2; } } case 5: { switch (b) { case 1: return 3; case 3: return 6; case 4: return 1; case 6: return 4; } } case 6: { switch (b) { case 2: return 4; case 3: return 2; case 4: return 5; case 5: return 3; } } } return 0; } */ }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 13, 17, 30, 41, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 79, 5 ], [ 79, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 33, 36 ], [ 6, 37 ], [ 37, 38 ], [ 79, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 50, 52 ], [ 46, 53 ], [ 53, 54 ], [ 53, 55 ], [ 41, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 60, 66 ], [ 66, 67 ], [ 66, 68 ], [ 60, 69 ], [ 69, 70 ], [ 69, 71 ], [ 41, 72 ], [ 72, 73 ], [ 39, 74 ], [ 74, 75 ], [ 39, 76 ], [ 76, 77 ], [ 0, 78 ], [ 78, 79 ], [ 78, 80 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n \n System.out.println(gcd(x, y));\n }\n \n static int gcd(int x, int y){\n if(x < y){\n int tmp = x;\n x = y;\n y = tmp;\n }\n while(y > 0){\n int r = x % y;\n x = y;\n y = r;\n }\n return x;\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n \n System.out.println(gcd(x, y));\n }\n \n static int gcd(int x, int y){\n if(x < y){\n int tmp = x;\n x = y;\n y = tmp;\n }\n while(y > 0){\n int r = x % y;\n x = y;\n y = r;\n }\n return x;\n }\n}", "Main", "public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n \n System.out.println(gcd(x, y));\n }", "main", "{\n \n Scanner sc = new Scanner(System.in);\n \n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n \n System.out.println(gcd(x, y));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = Integer.parseInt(sc.next());", "x", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "int y = Integer.parseInt(sc.next());", "y", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "System.out.println(gcd(x, y))", "System.out.println", "System.out", "System", "System.out", "gcd(x, y)", "gcd", "x", "y", "String[] args", "args", "static int gcd(int x, int y){\n if(x < y){\n int tmp = x;\n x = y;\n y = tmp;\n }\n while(y > 0){\n int r = x % y;\n x = y;\n y = r;\n }\n return x;\n }", "gcd", "{\n if(x < y){\n int tmp = x;\n x = y;\n y = tmp;\n }\n while(y > 0){\n int r = x % y;\n x = y;\n y = r;\n }\n return x;\n }", "if(x < y){\n int tmp = x;\n x = y;\n y = tmp;\n }", "x < y", "x", "y", "{\n int tmp = x;\n x = y;\n y = tmp;\n }", "int tmp = x;", "tmp", "x", "x = y", "x", "y", "y = tmp", "y", "tmp", "while(y > 0){\n int r = x % y;\n x = y;\n y = r;\n }", "y > 0", "y", "0", "{\n int r = x % y;\n x = y;\n y = r;\n }", "int r = x % y;", "r", "x % y", "x", "y", "x = y", "x", "y", "y = r", "y", "r", "return x;", "x", "int x", "x", "int y", "y", "public class Main {\n\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n \n System.out.println(gcd(x, y));\n }\n \n static int gcd(int x, int y){\n if(x < y){\n int tmp = x;\n x = y;\n y = tmp;\n }\n while(y > 0){\n int r = x % y;\n x = y;\n y = r;\n }\n return x;\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n \n System.out.println(gcd(x, y));\n }\n \n static int gcd(int x, int y){\n if(x < y){\n int tmp = x;\n x = y;\n y = tmp;\n }\n while(y > 0){\n int r = x % y;\n x = y;\n y = r;\n }\n return x;\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = Integer.parseInt(sc.next()); int y = Integer.parseInt(sc.next()); System.out.println(gcd(x, y)); } static int gcd(int x, int y){ if(x < y){ int tmp = x; x = y; y = tmp; } while(y > 0){ int r = x % y; x = y; y = r; } return x; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 4, 13, 13, 2, 13, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 57, 5 ], [ 57, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 30, 32 ], [ 30, 33 ], [ 6, 34 ], [ 34, 35 ], [ 57, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 39, 50 ], [ 50, 51 ], [ 36, 52 ], [ 52, 53 ], [ 36, 54 ], [ 54, 55 ], [ 0, 56 ], [ 56, 57 ], [ 56, 58 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n in.close();\n System.out.println(Function(a, b));\n \n \n \n\t}\n\tpublic static int Function(int a, int b) {\n\t\tif(b != 0)\n\t\t\treturn Function(b, a % b);\n\t\telse\n\t\t\treturn a;\n\t}\n}\n\t", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\n\tpublic static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n in.close();\n System.out.println(Function(a, b));\n \n \n \n\t}\n\tpublic static int Function(int a, int b) {\n\t\tif(b != 0)\n\t\t\treturn Function(b, a % b);\n\t\telse\n\t\t\treturn a;\n\t}\n}", "Main", "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n in.close();\n System.out.println(Function(a, b));\n \n \n \n\t}", "main", "{\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n in.close();\n System.out.println(Function(a, b));\n \n \n \n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int a = in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "int b = in.nextInt();", "b", "in.nextInt()", "in.nextInt", "in", "in.close()", "in.close", "in", "System.out.println(Function(a, b))", "System.out.println", "System.out", "System", "System.out", "Function(a, b)", "Function", "a", "b", "String[] args", "args", "public static int Function(int a, int b) {\n\t\tif(b != 0)\n\t\t\treturn Function(b, a % b);\n\t\telse\n\t\t\treturn a;\n\t}", "Function", "{\n\t\tif(b != 0)\n\t\t\treturn Function(b, a % b);\n\t\telse\n\t\t\treturn a;\n\t}", "if(b != 0)\n\t\t\treturn Function(b, a % b);\n\t\telse\n\t\t\treturn a;", "b != 0", "b", "0", "return Function(b, a % b);", "Function(b, a % b)", "Function", "b", "a % b", "a", "b", "return a;", "a", "int a", "a", "int b", "b", "public class Main{\n\n\tpublic static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n in.close();\n System.out.println(Function(a, b));\n \n \n \n\t}\n\tpublic static int Function(int a, int b) {\n\t\tif(b != 0)\n\t\t\treturn Function(b, a % b);\n\t\telse\n\t\t\treturn a;\n\t}\n}", "public class Main{\n\n\tpublic static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int a = in.nextInt();\n int b = in.nextInt();\n in.close();\n System.out.println(Function(a, b));\n \n \n \n\t}\n\tpublic static int Function(int a, int b) {\n\t\tif(b != 0)\n\t\t\treturn Function(b, a % b);\n\t\telse\n\t\t\treturn a;\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); in.close(); System.out.println(Function(a, b)); } public static int Function(int a, int b) { if(b != 0) return Function(b, a % b); else return a; } }