node_ids
listlengths
4
1.4k
edge_index
listlengths
1
2.22k
text
listlengths
4
1.4k
source
stringlengths
14
427k
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 11, 1, 41, 13, 13, 2, 13, 13, 1, 0, 13, 2, 13, 13, 30, 30, 14, 2, 2, 13, 13, 2, 13, 13, 30, 0, 13, 17, 3, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 91, 5 ], [ 91, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 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 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 40, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 40, 54 ], [ 55, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 56, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 56, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 70, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 6, 88 ], [ 88, 89 ], [ 0, 90 ], [ 90, 91 ], [ 90, 92 ] ]
[ "import java.util.Scanner;\n\tpublic class Main{\n\t\tpublic static void main(String args[]) {\n\t\t\tScanner scan=new Scanner(System.in) ;\n\t\t\tint K=scan.nextInt();\n\t\t\tint A=scan.nextInt();\n\t\t\tint B=scan.nextInt();\n\t\t\tint num=0;\n\t\t\tint i=A/K;\n\t\t\tint j=i*K;\n\t\t\tfor(int k=j;k<=B;k=k+K) {\n\t\t\t\tif(k>=A&&k<=B) {\n\t\t\t\t\tnum=1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse {}\n\t\t\t}\n\t\tif(num==0) {\t\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t\telse {System.out.println(\"OK\");\n\t\t}\n\t\t}\n\t}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\t\tpublic static void main(String args[]) {\n\t\t\tScanner scan=new Scanner(System.in) ;\n\t\t\tint K=scan.nextInt();\n\t\t\tint A=scan.nextInt();\n\t\t\tint B=scan.nextInt();\n\t\t\tint num=0;\n\t\t\tint i=A/K;\n\t\t\tint j=i*K;\n\t\t\tfor(int k=j;k<=B;k=k+K) {\n\t\t\t\tif(k>=A&&k<=B) {\n\t\t\t\t\tnum=1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse {}\n\t\t\t}\n\t\tif(num==0) {\t\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t\telse {System.out.println(\"OK\");\n\t\t}\n\t\t}\n\t}", "Main", "public static void main(String args[]) {\n\t\t\tScanner scan=new Scanner(System.in) ;\n\t\t\tint K=scan.nextInt();\n\t\t\tint A=scan.nextInt();\n\t\t\tint B=scan.nextInt();\n\t\t\tint num=0;\n\t\t\tint i=A/K;\n\t\t\tint j=i*K;\n\t\t\tfor(int k=j;k<=B;k=k+K) {\n\t\t\t\tif(k>=A&&k<=B) {\n\t\t\t\t\tnum=1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse {}\n\t\t\t}\n\t\tif(num==0) {\t\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t\telse {System.out.println(\"OK\");\n\t\t}\n\t\t}", "main", "{\n\t\t\tScanner scan=new Scanner(System.in) ;\n\t\t\tint K=scan.nextInt();\n\t\t\tint A=scan.nextInt();\n\t\t\tint B=scan.nextInt();\n\t\t\tint num=0;\n\t\t\tint i=A/K;\n\t\t\tint j=i*K;\n\t\t\tfor(int k=j;k<=B;k=k+K) {\n\t\t\t\tif(k>=A&&k<=B) {\n\t\t\t\t\tnum=1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse {}\n\t\t\t}\n\t\tif(num==0) {\t\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t\telse {System.out.println(\"OK\");\n\t\t}\n\t\t}", "Scanner scan=new Scanner(System.in) ;", "scan", "new Scanner(System.in)", "int K=scan.nextInt();", "K", "scan.nextInt()", "scan.nextInt", "scan", "int A=scan.nextInt();", "A", "scan.nextInt()", "scan.nextInt", "scan", "int B=scan.nextInt();", "B", "scan.nextInt()", "scan.nextInt", "scan", "int num=0;", "num", "0", "int i=A/K;", "i", "A/K", "A", "K", "int j=i*K;", "j", "i*K", "i", "K", "for(int k=j;k<=B;k=k+K) {\n\t\t\t\tif(k>=A&&k<=B) {\n\t\t\t\t\tnum=1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse {}\n\t\t\t}", "int k=j;", "int k=j;", "k", "j", "k<=B", "k", "B", "k=k+K", "k=k+K", "k", "k+K", "k", "K", "{\n\t\t\t\tif(k>=A&&k<=B) {\n\t\t\t\t\tnum=1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse {}\n\t\t\t}", "{\n\t\t\t\tif(k>=A&&k<=B) {\n\t\t\t\t\tnum=1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse {}\n\t\t\t}", "if(k>=A&&k<=B) {\n\t\t\t\t\tnum=1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse {}", "k>=A&&k<=B", "k>=A", "k", "A", "k<=B", "k", "B", "{\n\t\t\t\t\tnum=1;\n\t\t\t\t\tbreak;\n\t\t\t\t}", "num=1", "num", "1", "break;", "{}", "if(num==0) {\t\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t\telse {System.out.println(\"OK\");\n\t\t}", "num==0", "num", "0", "{\t\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "{System.out.println(\"OK\");\n\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "String args[]", "args", "public class Main{\n\t\tpublic static void main(String args[]) {\n\t\t\tScanner scan=new Scanner(System.in) ;\n\t\t\tint K=scan.nextInt();\n\t\t\tint A=scan.nextInt();\n\t\t\tint B=scan.nextInt();\n\t\t\tint num=0;\n\t\t\tint i=A/K;\n\t\t\tint j=i*K;\n\t\t\tfor(int k=j;k<=B;k=k+K) {\n\t\t\t\tif(k>=A&&k<=B) {\n\t\t\t\t\tnum=1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse {}\n\t\t\t}\n\t\tif(num==0) {\t\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t\telse {System.out.println(\"OK\");\n\t\t}\n\t\t}\n\t}", "public class Main{\n\t\tpublic static void main(String args[]) {\n\t\t\tScanner scan=new Scanner(System.in) ;\n\t\t\tint K=scan.nextInt();\n\t\t\tint A=scan.nextInt();\n\t\t\tint B=scan.nextInt();\n\t\t\tint num=0;\n\t\t\tint i=A/K;\n\t\t\tint j=i*K;\n\t\t\tfor(int k=j;k<=B;k=k+K) {\n\t\t\t\tif(k>=A&&k<=B) {\n\t\t\t\t\tnum=1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse {}\n\t\t\t}\n\t\tif(num==0) {\t\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t\telse {System.out.println(\"OK\");\n\t\t}\n\t\t}\n\t}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String args[]) { Scanner scan=new Scanner(System.in) ; int K=scan.nextInt(); int A=scan.nextInt(); int B=scan.nextInt(); int num=0; int i=A/K; int j=i*K; for(int k=j;k<=B;k=k+K) { if(k>=A&&k<=B) { num=1; break; } else {} } if(num==0) { System.out.println("NG"); } else {System.out.println("OK"); } } }
[ 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, 14, 2, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 2, 2, 2, 13, 13, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 66, 5 ], [ 66, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 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 ], [ 8, 27 ], [ 27, 28 ], [ 29, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 29, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 29, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 45, 47 ], [ 40, 48 ], [ 27, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 27, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 6, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n Scanner scn= new Scanner(System.in);\n int k = scn.nextInt();\n int a=scn.nextInt();\n int b=scn.nextInt();\n if(a%k==0 || b%k==0 || (b/k-a/k)>0){\n \t System.out.println(\"OK\");\n \t \n }else{\n \t System.out.println(\"NG\");\n }\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\t// TODO Auto-generated method stub\n Scanner scn= new Scanner(System.in);\n int k = scn.nextInt();\n int a=scn.nextInt();\n int b=scn.nextInt();\n if(a%k==0 || b%k==0 || (b/k-a/k)>0){\n \t System.out.println(\"OK\");\n \t \n }else{\n \t System.out.println(\"NG\");\n }\n \n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n Scanner scn= new Scanner(System.in);\n int k = scn.nextInt();\n int a=scn.nextInt();\n int b=scn.nextInt();\n if(a%k==0 || b%k==0 || (b/k-a/k)>0){\n \t System.out.println(\"OK\");\n \t \n }else{\n \t System.out.println(\"NG\");\n }\n \n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n Scanner scn= new Scanner(System.in);\n int k = scn.nextInt();\n int a=scn.nextInt();\n int b=scn.nextInt();\n if(a%k==0 || b%k==0 || (b/k-a/k)>0){\n \t System.out.println(\"OK\");\n \t \n }else{\n \t System.out.println(\"NG\");\n }\n \n\t}", "Scanner scn= new Scanner(System.in);", "scn", "new Scanner(System.in)", "int k = scn.nextInt();", "k", "scn.nextInt()", "scn.nextInt", "scn", "int a=scn.nextInt();", "a", "scn.nextInt()", "scn.nextInt", "scn", "int b=scn.nextInt();", "b", "scn.nextInt()", "scn.nextInt", "scn", "if(a%k==0 || b%k==0 || (b/k-a/k)>0){\n \t System.out.println(\"OK\");\n \t \n }else{\n \t System.out.println(\"NG\");\n }", "a%k==0 || b%k==0 || (b/k-a/k)>0", "a%k==0 || b%k==0 || (b/k-a/k)>0", "a%k==0", "a%k", "a", "k", "0", "b%k==0", "b%k", "b", "k", "0", "(b/k-a/k)>0", "(b/k-a/k)", "b/k", "b", "k", "a/k", "a", "k", "0", "{\n \t System.out.println(\"OK\");\n \t \n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n \t System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n Scanner scn= new Scanner(System.in);\n int k = scn.nextInt();\n int a=scn.nextInt();\n int b=scn.nextInt();\n if(a%k==0 || b%k==0 || (b/k-a/k)>0){\n \t System.out.println(\"OK\");\n \t \n }else{\n \t System.out.println(\"NG\");\n }\n \n\t}\n\n}", "public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n Scanner scn= new Scanner(System.in);\n int k = scn.nextInt();\n int a=scn.nextInt();\n int b=scn.nextInt();\n if(a%k==0 || b%k==0 || (b/k-a/k)>0){\n \t System.out.println(\"OK\");\n \t \n }else{\n \t System.out.println(\"NG\");\n }\n \n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { // TODO Auto-generated method stub Scanner scn= new Scanner(System.in); int k = scn.nextInt(); int a=scn.nextInt(); int b=scn.nextInt(); if(a%k==0 || b%k==0 || (b/k-a/k)>0){ System.out.println("OK"); }else{ System.out.println("NG"); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 20, 12, 13, 30, 12, 13, 30, 12, 13, 30, 0, 13, 4, 18, 13, 41, 13, 20, 17, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 42, 17, 30, 0, 13, 17, 0, 13, 2, 13, 13, 14, 2, 2, 13, 18, 13, 17, 2, 13, 18, 13, 17, 30, 4, 18, 18, 13, 13, 17, 3, 14, 2, 13, 18, 13, 17, 30, 30, 4, 18, 18, 13, 13, 17, 3, 12, 13, 30, 41, 13, 20, 4, 18, 13, 4, 18, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 171, 5 ], [ 171, 6 ], [ 6, 7 ], [ 171, 8 ], [ 8, 9 ], [ 171, 10 ], [ 10, 11 ], [ 171, 12 ], [ 12, 13 ], [ 171, 14 ], [ 14, 15 ], [ 171, 16 ], [ 16, 17 ], [ 171, 18 ], [ 18, 19 ], [ 171, 20 ], [ 20, 21 ], [ 171, 22 ], [ 22, 23 ], [ 171, 24 ], [ 24, 25 ], [ 171, 26 ], [ 26, 27 ], [ 171, 28 ], [ 28, 29 ], [ 171, 30 ], [ 30, 31 ], [ 171, 32 ], [ 32, 33 ], [ 171, 34 ], [ 34, 35 ], [ 171, 36 ], [ 36, 37 ], [ 171, 38 ], [ 38, 39 ], [ 171, 40 ], [ 40, 41 ], [ 171, 42 ], [ 42, 43 ], [ 171, 44 ], [ 44, 45 ], [ 171, 46 ], [ 46, 47 ], [ 171, 48 ], [ 48, 49 ], [ 171, 50 ], [ 50, 51 ], [ 171, 52 ], [ 52, 53 ], [ 171, 54 ], [ 54, 55 ], [ 171, 56 ], [ 56, 57 ], [ 171, 58 ], [ 58, 59 ], [ 171, 60 ], [ 60, 61 ], [ 171, 62 ], [ 62, 63 ], [ 171, 64 ], [ 64, 65 ], [ 171, 66 ], [ 66, 67 ], [ 66, 68 ], [ 171, 69 ], [ 69, 70 ], [ 69, 71 ], [ 171, 72 ], [ 72, 73 ], [ 72, 74 ], [ 171, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 77, 83 ], [ 83, 84 ], [ 83, 85 ], [ 77, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 92, 93 ], [ 92, 94 ], [ 87, 95 ], [ 95, 96 ], [ 96, 97 ], [ 87, 98 ], [ 99, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 105, 106 ], [ 77, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 109, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 115, 117 ], [ 109, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 122, 124 ], [ 119, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 127, 129 ], [ 118, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 131, 136 ], [ 130, 137 ], [ 118, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 141, 143 ], [ 138, 144 ], [ 138, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 146, 151 ], [ 145, 152 ], [ 171, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 159, 160 ], [ 160, 161 ], [ 155, 162 ], [ 162, 163 ], [ 163, 164 ], [ 155, 165 ], [ 165, 166 ], [ 166, 167 ], [ 153, 168 ], [ 168, 169 ], [ 0, 170 ], [ 170, 171 ], [ 170, 172 ] ]
[ "import java.util.Scanner;\n//int[] date=new int[2];\npublic class Main {\nint i,o,sum,h,s,e,u,ty,yu,ui,n,num,qw;\ndouble m,t,r,j,k,f,d,g,w;\nstatic double l;\nString b,c,z,x,v,a,q;\nScanner scan =new Scanner(System.in);\n//入力\n\tpublic void input() {\t\n\t\n\t}\n\t//演算\n\tpublic void compute() {\n\t\n\t\t}\n//出力\n\tpublic void output() {\nh=scan.nextInt();\nint[] date=new int[2];\nfor(o=0;o<2;o++) {\n\tdate[o]=scan.nextInt();\n}\nwhile(true) {\n\te+=1;\n\to=h*e;\n\tif(o>=date[0]&&o<=date[1]) {\n\t\tSystem.out.println(\"OK\");\n\t\tbreak;\n\t}else if(o<date[0]){\n\t\t\n\t}else {\n\t\tSystem.out.println(\"NG\");\n\t\tbreak;\n\t}\n\n}\n\t\t}\n\tpublic static void main(String [ ] args) {\n\t\tMain p = new Main ();\n\t\tp.input();\n\t\tp.compute();\n\t\tp.output();\n\t\t}\n\t}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\nint i,o,sum,h,s,e,u,ty,yu,ui,n,num,qw;\ndouble m,t,r,j,k,f,d,g,w;\nstatic double l;\nString b,c,z,x,v,a,q;\nScanner scan =new Scanner(System.in);\n//入力\n\tpublic void input() {\t\n\t\n\t}\n\t//演算\n\tpublic void compute() {\n\t\n\t\t}\n//出力\n\tpublic void output() {\nh=scan.nextInt();\nint[] date=new int[2];\nfor(o=0;o<2;o++) {\n\tdate[o]=scan.nextInt();\n}\nwhile(true) {\n\te+=1;\n\to=h*e;\n\tif(o>=date[0]&&o<=date[1]) {\n\t\tSystem.out.println(\"OK\");\n\t\tbreak;\n\t}else if(o<date[0]){\n\t\t\n\t}else {\n\t\tSystem.out.println(\"NG\");\n\t\tbreak;\n\t}\n\n}\n\t\t}\n\tpublic static void main(String [ ] args) {\n\t\tMain p = new Main ();\n\t\tp.input();\n\t\tp.compute();\n\t\tp.output();\n\t\t}\n\t}", "Main", "int i", "i", "o", "o", "sum", "sum", "h", "h", "s", "s", "e", "e", "u", "u", "ty", "ty", "yu", "yu", "ui", "ui", "n", "n", "num", "num", "qw;", "qw", "double m", "m", "t", "t", "r", "r", "j", "j", "k", "k", "f", "f", "d", "d", "g", "g", "w;", "w", "static double l;", "l", "String b", "b", "c", "c", "z", "z", "x", "x", "v", "v", "a", "a", "q;", "q", "Scanner scan =new Scanner(System.in);", "scan", "new Scanner(System.in)", "//入力\n\tpublic void input() {\t\n\t\n\t}", "input", "{\t\n\t\n\t}", "//演算\n\tpublic void compute() {\n\t\n\t\t}", "compute", "{\n\t\n\t\t}", "//出力\n\tpublic void output() {\nh=scan.nextInt();\nint[] date=new int[2];\nfor(o=0;o<2;o++) {\n\tdate[o]=scan.nextInt();\n}\nwhile(true) {\n\te+=1;\n\to=h*e;\n\tif(o>=date[0]&&o<=date[1]) {\n\t\tSystem.out.println(\"OK\");\n\t\tbreak;\n\t}else if(o<date[0]){\n\t\t\n\t}else {\n\t\tSystem.out.println(\"NG\");\n\t\tbreak;\n\t}\n\n}\n\t\t}", "output", "{\nh=scan.nextInt();\nint[] date=new int[2];\nfor(o=0;o<2;o++) {\n\tdate[o]=scan.nextInt();\n}\nwhile(true) {\n\te+=1;\n\to=h*e;\n\tif(o>=date[0]&&o<=date[1]) {\n\t\tSystem.out.println(\"OK\");\n\t\tbreak;\n\t}else if(o<date[0]){\n\t\t\n\t}else {\n\t\tSystem.out.println(\"NG\");\n\t\tbreak;\n\t}\n\n}\n\t\t}", "h=scan.nextInt()", "h", "scan.nextInt()", "scan.nextInt", "scan", "int[] date=new int[2];", "date", "new int[2]", "2", "for(o=0;o<2;o++) {\n\tdate[o]=scan.nextInt();\n}", "o=0;", "o=0", "o", "0", "o<2", "o", "2", "o++", "o++", "o", "{\n\tdate[o]=scan.nextInt();\n}", "{\n\tdate[o]=scan.nextInt();\n}", "date[o]=scan.nextInt()", "date[o]", "date", "o", "scan.nextInt()", "scan.nextInt", "scan", "while(true) {\n\te+=1;\n\to=h*e;\n\tif(o>=date[0]&&o<=date[1]) {\n\t\tSystem.out.println(\"OK\");\n\t\tbreak;\n\t}else if(o<date[0]){\n\t\t\n\t}else {\n\t\tSystem.out.println(\"NG\");\n\t\tbreak;\n\t}\n\n}", "true", "{\n\te+=1;\n\to=h*e;\n\tif(o>=date[0]&&o<=date[1]) {\n\t\tSystem.out.println(\"OK\");\n\t\tbreak;\n\t}else if(o<date[0]){\n\t\t\n\t}else {\n\t\tSystem.out.println(\"NG\");\n\t\tbreak;\n\t}\n\n}", "e+=1", "e", "1", "o=h*e", "o", "h*e", "h", "e", "if(o>=date[0]&&o<=date[1]) {\n\t\tSystem.out.println(\"OK\");\n\t\tbreak;\n\t}else if(o<date[0]){\n\t\t\n\t}else {\n\t\tSystem.out.println(\"NG\");\n\t\tbreak;\n\t}", "o>=date[0]&&o<=date[1]", "o>=date[0]", "o", "date[0]", "date", "0", "o<=date[1]", "o", "date[1]", "date", "1", "{\n\t\tSystem.out.println(\"OK\");\n\t\tbreak;\n\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "break;", "if(o<date[0]){\n\t\t\n\t}else {\n\t\tSystem.out.println(\"NG\");\n\t\tbreak;\n\t}", "o<date[0]", "o", "date[0]", "date", "0", "{\n\t\t\n\t}", "{\n\t\tSystem.out.println(\"NG\");\n\t\tbreak;\n\t}", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "break;", "public static void main(String [ ] args) {\n\t\tMain p = new Main ();\n\t\tp.input();\n\t\tp.compute();\n\t\tp.output();\n\t\t}", "main", "{\n\t\tMain p = new Main ();\n\t\tp.input();\n\t\tp.compute();\n\t\tp.output();\n\t\t}", "Main p = new Main ();", "p", "new Main ()", "p.input()", "p.input", "p", "p.compute()", "p.compute", "p", "p.output()", "p.output", "p", "String [ ] args", "args", "public class Main {\nint i,o,sum,h,s,e,u,ty,yu,ui,n,num,qw;\ndouble m,t,r,j,k,f,d,g,w;\nstatic double l;\nString b,c,z,x,v,a,q;\nScanner scan =new Scanner(System.in);\n//入力\n\tpublic void input() {\t\n\t\n\t}\n\t//演算\n\tpublic void compute() {\n\t\n\t\t}\n//出力\n\tpublic void output() {\nh=scan.nextInt();\nint[] date=new int[2];\nfor(o=0;o<2;o++) {\n\tdate[o]=scan.nextInt();\n}\nwhile(true) {\n\te+=1;\n\to=h*e;\n\tif(o>=date[0]&&o<=date[1]) {\n\t\tSystem.out.println(\"OK\");\n\t\tbreak;\n\t}else if(o<date[0]){\n\t\t\n\t}else {\n\t\tSystem.out.println(\"NG\");\n\t\tbreak;\n\t}\n\n}\n\t\t}\n\tpublic static void main(String [ ] args) {\n\t\tMain p = new Main ();\n\t\tp.input();\n\t\tp.compute();\n\t\tp.output();\n\t\t}\n\t}", "public class Main {\nint i,o,sum,h,s,e,u,ty,yu,ui,n,num,qw;\ndouble m,t,r,j,k,f,d,g,w;\nstatic double l;\nString b,c,z,x,v,a,q;\nScanner scan =new Scanner(System.in);\n//入力\n\tpublic void input() {\t\n\t\n\t}\n\t//演算\n\tpublic void compute() {\n\t\n\t\t}\n//出力\n\tpublic void output() {\nh=scan.nextInt();\nint[] date=new int[2];\nfor(o=0;o<2;o++) {\n\tdate[o]=scan.nextInt();\n}\nwhile(true) {\n\te+=1;\n\to=h*e;\n\tif(o>=date[0]&&o<=date[1]) {\n\t\tSystem.out.println(\"OK\");\n\t\tbreak;\n\t}else if(o<date[0]){\n\t\t\n\t}else {\n\t\tSystem.out.println(\"NG\");\n\t\tbreak;\n\t}\n\n}\n\t\t}\n\tpublic static void main(String [ ] args) {\n\t\tMain p = new Main ();\n\t\tp.input();\n\t\tp.compute();\n\t\tp.output();\n\t\t}\n\t}", "Main" ]
import java.util.Scanner; //int[] date=new int[2]; public class Main { int i,o,sum,h,s,e,u,ty,yu,ui,n,num,qw; double m,t,r,j,k,f,d,g,w; static double l; String b,c,z,x,v,a,q; Scanner scan =new Scanner(System.in); //入力 public void input() { } //演算 public void compute() { } //出力 public void output() { h=scan.nextInt(); int[] date=new int[2]; for(o=0;o<2;o++) { date[o]=scan.nextInt(); } while(true) { e+=1; o=h*e; if(o>=date[0]&&o<=date[1]) { System.out.println("OK"); break; }else if(o<date[0]){ }else { System.out.println("NG"); break; } } } public static void main(String [ ] args) { Main p = new Main (); p.input(); p.compute(); p.output(); } }
[ 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, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 66, 5 ], [ 66, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 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 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 40, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 46, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 6, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ] ]
[ "\nimport java.util.Scanner;\npublic class Main {\n\t@SuppressWarnings(\"resource\")\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong K=sc.nextLong();\n\t\tlong A=sc.nextLong();\n\t\tlong B=sc.nextLong();\n\t\tfor(int i=(int) A;i<=B;i++) {\n\t\t\tif(i%K==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\n\t\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t@SuppressWarnings(\"resource\")\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong K=sc.nextLong();\n\t\tlong A=sc.nextLong();\n\t\tlong B=sc.nextLong();\n\t\tfor(int i=(int) A;i<=B;i++) {\n\t\t\tif(i%K==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\n\t\t}\n}", "Main", "@SuppressWarnings(\"resource\")\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong K=sc.nextLong();\n\t\tlong A=sc.nextLong();\n\t\tlong B=sc.nextLong();\n\t\tfor(int i=(int) A;i<=B;i++) {\n\t\t\tif(i%K==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\n\t\t}", "main", "{\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong K=sc.nextLong();\n\t\tlong A=sc.nextLong();\n\t\tlong B=sc.nextLong();\n\t\tfor(int i=(int) A;i<=B;i++) {\n\t\t\tif(i%K==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\n\t\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "long K=sc.nextLong();", "K", "sc.nextLong()", "sc.nextLong", "sc", "long A=sc.nextLong();", "A", "sc.nextLong()", "sc.nextLong", "sc", "long B=sc.nextLong();", "B", "sc.nextLong()", "sc.nextLong", "sc", "for(int i=(int) A;i<=B;i++) {\n\t\t\tif(i%K==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}", "int i=(int) A;", "int i=(int) A;", "i", "(int) A", "i<=B", "i", "B", "i++", "i++", "i", "{\n\t\t\tif(i%K==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}", "{\n\t\t\tif(i%K==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}", "if(i%K==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "i%K==0", "i%K", "i", "K", "0", "{\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "System.exit(0)", "System.exit", "System", "0", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main {\n\t@SuppressWarnings(\"resource\")\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong K=sc.nextLong();\n\t\tlong A=sc.nextLong();\n\t\tlong B=sc.nextLong();\n\t\tfor(int i=(int) A;i<=B;i++) {\n\t\t\tif(i%K==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\n\t\t}\n}", "public class Main {\n\t@SuppressWarnings(\"resource\")\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong K=sc.nextLong();\n\t\tlong A=sc.nextLong();\n\t\tlong B=sc.nextLong();\n\t\tfor(int i=(int) A;i<=B;i++) {\n\t\t\tif(i%K==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\n\t\t}\n}", "Main" ]
import java.util.Scanner; public class Main { @SuppressWarnings("resource") public static void main(String[] args) { Scanner sc=new Scanner(System.in); long K=sc.nextLong(); long A=sc.nextLong(); long B=sc.nextLong(); for(int i=(int) A;i<=B;i++) { if(i%K==0) { System.out.println("OK"); System.exit(0); } } System.out.println("NG"); } }
[ 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, 41, 13, 17, 4, 18, 13, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 3, 30, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 46, 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;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint K = scanner.nextInt();\n\t\tint from = scanner.nextInt();\n\t\tint to = scanner.nextInt();\n\t\tString result = \"NG\";\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tfor (int i = from; i <= to; i++) {\n\t\t\t\n\t\t\tif (i % K == 0) {\n\t\t\t\tresult = \"OK\";\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t}\n\n\t\t}\n\t\t\n\t\tSystem.out.println(result);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint K = scanner.nextInt();\n\t\tint from = scanner.nextInt();\n\t\tint to = scanner.nextInt();\n\t\tString result = \"NG\";\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tfor (int i = from; i <= to; i++) {\n\t\t\t\n\t\t\tif (i % K == 0) {\n\t\t\t\tresult = \"OK\";\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t}\n\n\t\t}\n\t\t\n\t\tSystem.out.println(result);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint K = scanner.nextInt();\n\t\tint from = scanner.nextInt();\n\t\tint to = scanner.nextInt();\n\t\tString result = \"NG\";\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tfor (int i = from; i <= to; i++) {\n\t\t\t\n\t\t\tif (i % K == 0) {\n\t\t\t\tresult = \"OK\";\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t}\n\n\t\t}\n\t\t\n\t\tSystem.out.println(result);\n\t}", "main", "{\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint K = scanner.nextInt();\n\t\tint from = scanner.nextInt();\n\t\tint to = scanner.nextInt();\n\t\tString result = \"NG\";\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tfor (int i = from; i <= to; i++) {\n\t\t\t\n\t\t\tif (i % K == 0) {\n\t\t\t\tresult = \"OK\";\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t}\n\n\t\t}\n\t\t\n\t\tSystem.out.println(result);\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int K = scanner.nextInt();", "K", "scanner.nextInt()", "scanner.nextInt", "scanner", "int from = scanner.nextInt();", "from", "scanner.nextInt()", "scanner.nextInt", "scanner", "int to = scanner.nextInt();", "to", "scanner.nextInt()", "scanner.nextInt", "scanner", "String result = \"NG\";", "result", "\"NG\"", "scanner.close()", "scanner.close", "scanner", "for (int i = from; i <= to; i++) {\n\t\t\t\n\t\t\tif (i % K == 0) {\n\t\t\t\tresult = \"OK\";\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t}\n\n\t\t}", "int i = from;", "int i = from;", "i", "from", "i <= to", "i", "to", "i++", "i++", "i", "{\n\t\t\t\n\t\t\tif (i % K == 0) {\n\t\t\t\tresult = \"OK\";\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t}\n\n\t\t}", "{\n\t\t\t\n\t\t\tif (i % K == 0) {\n\t\t\t\tresult = \"OK\";\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t}\n\n\t\t}", "if (i % K == 0) {\n\t\t\t\tresult = \"OK\";\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t}", "i % K == 0", "i % K", "i", "K", "0", "{\n\t\t\t\tresult = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}", "result = \"OK\"", "result", "\"OK\"", "break;", "{\n\t\t\t}", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint K = scanner.nextInt();\n\t\tint from = scanner.nextInt();\n\t\tint to = scanner.nextInt();\n\t\tString result = \"NG\";\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tfor (int i = from; i <= to; i++) {\n\t\t\t\n\t\t\tif (i % K == 0) {\n\t\t\t\tresult = \"OK\";\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t}\n\n\t\t}\n\t\t\n\t\tSystem.out.println(result);\n\t}\n\n}", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint K = scanner.nextInt();\n\t\tint from = scanner.nextInt();\n\t\tint to = scanner.nextInt();\n\t\tString result = \"NG\";\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tfor (int i = from; i <= to; i++) {\n\t\t\t\n\t\t\tif (i % K == 0) {\n\t\t\t\tresult = \"OK\";\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t}\n\n\t\t}\n\t\t\n\t\tSystem.out.println(result);\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int K = scanner.nextInt(); int from = scanner.nextInt(); int to = scanner.nextInt(); String result = "NG"; scanner.close(); for (int i = from; i <= to; i++) { if (i % K == 0) { result = "OK"; break; } else { } } System.out.println(result); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 4, 18, 13, 17, 13, 13, 4, 18, 13, 23, 13, 6, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 11, 1, 41, 13, 13, 2, 13, 13, 1, 0, 13, 13, 30, 30, 14, 2, 2, 13, 13, 2, 13, 13, 30, 4, 18, 13, 17, 29, 4, 18, 13, 17, 23, 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 ], [ 110, 17 ], [ 110, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 23, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 20, 34 ], [ 34, 35 ], [ 34, 36 ], [ 20, 37 ], [ 37, 38 ], [ 37, 39 ], [ 20, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 40, 44 ], [ 40, 45 ], [ 20, 46 ], [ 46, 47 ], [ 47, 48 ], [ 18, 49 ], [ 49, 50 ], [ 110, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 55, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 55, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 55, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 76, 77 ], [ 76, 78 ], [ 71, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 71, 83 ], [ 84, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 90, 91 ], [ 90, 92 ], [ 85, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 93, 98 ], [ 55, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 53, 103 ], [ 103, 104 ], [ 53, 105 ], [ 105, 106 ], [ 53, 107 ], [ 107, 108 ], [ 0, 109 ], [ 109, 110 ], [ 109, 111 ] ]
[ "import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n abc165_a solver = new abc165_a();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class abc165_a {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n int K = in.nextInt();\n int A = in.nextInt();\n int B = in.nextInt();\n\n for (int i = K; i <= B; i += K) {\n if ((A <= i) && (i <= B)) {\n out.println(\"OK\");\n return;\n }\n }\n out.println(\"NG\");\n }\n\n }\n}\n", "import java.io.OutputStream;", "OutputStream", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n abc165_a solver = new abc165_a();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class abc165_a {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n int K = in.nextInt();\n int A = in.nextInt();\n int B = in.nextInt();\n\n for (int i = K; i <= B; i += K) {\n if ((A <= i) && (i <= B)) {\n out.println(\"OK\");\n return;\n }\n }\n out.println(\"NG\");\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n abc165_a solver = new abc165_a();\n solver.solve(1, in, out);\n out.close();\n }", "main", "{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n abc165_a solver = new abc165_a();\n solver.solve(1, in, out);\n out.close();\n }", "InputStream inputStream = System.in;", "inputStream", "System.in", "System", "System.in", "OutputStream outputStream = System.out;", "outputStream", "System.out", "System", "System.out", "Scanner in = new Scanner(inputStream);", "in", "new Scanner(inputStream)", "PrintWriter out = new PrintWriter(outputStream);", "out", "new PrintWriter(outputStream)", "abc165_a solver = new abc165_a();", "solver", "new abc165_a()", "solver.solve(1, in, out)", "solver.solve", "solver", "1", "in", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class abc165_a {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n int K = in.nextInt();\n int A = in.nextInt();\n int B = in.nextInt();\n\n for (int i = K; i <= B; i += K) {\n if ((A <= i) && (i <= B)) {\n out.println(\"OK\");\n return;\n }\n }\n out.println(\"NG\");\n }\n\n }", "abc165_a", "public void solve(int testNumber, Scanner in, PrintWriter out) {\n int K = in.nextInt();\n int A = in.nextInt();\n int B = in.nextInt();\n\n for (int i = K; i <= B; i += K) {\n if ((A <= i) && (i <= B)) {\n out.println(\"OK\");\n return;\n }\n }\n out.println(\"NG\");\n }", "solve", "{\n int K = in.nextInt();\n int A = in.nextInt();\n int B = in.nextInt();\n\n for (int i = K; i <= B; i += K) {\n if ((A <= i) && (i <= B)) {\n out.println(\"OK\");\n return;\n }\n }\n out.println(\"NG\");\n }", "int K = in.nextInt();", "K", "in.nextInt()", "in.nextInt", "in", "int A = in.nextInt();", "A", "in.nextInt()", "in.nextInt", "in", "int B = in.nextInt();", "B", "in.nextInt()", "in.nextInt", "in", "for (int i = K; i <= B; i += K) {\n if ((A <= i) && (i <= B)) {\n out.println(\"OK\");\n return;\n }\n }", "int i = K;", "int i = K;", "i", "K", "i <= B", "i", "B", "i += K", "i += K", "i", "K", "{\n if ((A <= i) && (i <= B)) {\n out.println(\"OK\");\n return;\n }\n }", "{\n if ((A <= i) && (i <= B)) {\n out.println(\"OK\");\n return;\n }\n }", "if ((A <= i) && (i <= B)) {\n out.println(\"OK\");\n return;\n }", "(A <= i) && (i <= B)", "(A <= i)", "A", "i", "(i <= B)", "i", "B", "{\n out.println(\"OK\");\n return;\n }", "out.println(\"OK\")", "out.println", "out", "\"OK\"", "return;", "out.println(\"NG\")", "out.println", "out", "\"NG\"", "int testNumber", "testNumber", "Scanner in", "in", "PrintWriter out", "out", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n abc165_a solver = new abc165_a();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class abc165_a {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n int K = in.nextInt();\n int A = in.nextInt();\n int B = in.nextInt();\n\n for (int i = K; i <= B; i += K) {\n if ((A <= i) && (i <= B)) {\n out.println(\"OK\");\n return;\n }\n }\n out.println(\"NG\");\n }\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n abc165_a solver = new abc165_a();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class abc165_a {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n int K = in.nextInt();\n int A = in.nextInt();\n int B = in.nextInt();\n\n for (int i = K; i <= B; i += K) {\n if ((A <= i) && (i <= B)) {\n out.println(\"OK\");\n return;\n }\n }\n out.println(\"NG\");\n }\n\n }\n}", "Main" ]
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Scanner; /** * Built using CHelper plug-in * Actual solution is at the top */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; Scanner in = new Scanner(inputStream); PrintWriter out = new PrintWriter(outputStream); abc165_a solver = new abc165_a(); solver.solve(1, in, out); out.close(); } static class abc165_a { public void solve(int testNumber, Scanner in, PrintWriter out) { int K = in.nextInt(); int A = in.nextInt(); int B = in.nextInt(); for (int i = K; i <= B; i += K) { if ((A <= i) && (i <= B)) { out.println("OK"); return; } } out.println("NG"); } } }
[ 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, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 2, 13, 13, 14, 2, 2, 13, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 3, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 3, 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 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 42, 44 ], [ 39, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 50, 52 ], [ 45, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 53, 60 ], [ 45, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 65, 72 ], [ 6, 73 ], [ 73, 74 ], [ 0, 75 ], [ 75, 76 ], [ 75, 77 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt(); \n int A = sc.nextInt();\n int B = sc.nextInt();\n for(int i = 1; i <= 1000; i++){\n int ans = K * i;\n if(ans >= A && ans <= B){\n System.out.println(\"OK\");\n break;\n }else if(ans >= B){\n System.out.println(\"NG\");\n break;\n }\n } \n }\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 K = sc.nextInt(); \n int A = sc.nextInt();\n int B = sc.nextInt();\n for(int i = 1; i <= 1000; i++){\n int ans = K * i;\n if(ans >= A && ans <= B){\n System.out.println(\"OK\");\n break;\n }else if(ans >= B){\n System.out.println(\"NG\");\n break;\n }\n } \n }\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt(); \n int A = sc.nextInt();\n int B = sc.nextInt();\n for(int i = 1; i <= 1000; i++){\n int ans = K * i;\n if(ans >= A && ans <= B){\n System.out.println(\"OK\");\n break;\n }else if(ans >= B){\n System.out.println(\"NG\");\n break;\n }\n } \n }", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt(); \n int A = sc.nextInt();\n int B = sc.nextInt();\n for(int i = 1; i <= 1000; i++){\n int ans = K * i;\n if(ans >= A && ans <= B){\n System.out.println(\"OK\");\n break;\n }else if(ans >= B){\n System.out.println(\"NG\");\n break;\n }\n } \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 1; i <= 1000; i++){\n int ans = K * i;\n if(ans >= A && ans <= B){\n System.out.println(\"OK\");\n break;\n }else if(ans >= B){\n System.out.println(\"NG\");\n break;\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= 1000", "i", "1000", "i++", "i++", "i", "{\n int ans = K * i;\n if(ans >= A && ans <= B){\n System.out.println(\"OK\");\n break;\n }else if(ans >= B){\n System.out.println(\"NG\");\n break;\n }\n }", "{\n int ans = K * i;\n if(ans >= A && ans <= B){\n System.out.println(\"OK\");\n break;\n }else if(ans >= B){\n System.out.println(\"NG\");\n break;\n }\n }", "int ans = K * i;", "ans", "K * i", "K", "i", "if(ans >= A && ans <= B){\n System.out.println(\"OK\");\n break;\n }else if(ans >= B){\n System.out.println(\"NG\");\n break;\n }", "ans >= A && ans <= B", "ans >= A", "ans", "A", "ans <= B", "ans", "B", "{\n System.out.println(\"OK\");\n break;\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "break;", "if(ans >= B){\n System.out.println(\"NG\");\n break;\n }", "ans >= B", "ans", "B", "{\n System.out.println(\"NG\");\n break;\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "break;", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt(); \n int A = sc.nextInt();\n int B = sc.nextInt();\n for(int i = 1; i <= 1000; i++){\n int ans = K * i;\n if(ans >= A && ans <= B){\n System.out.println(\"OK\");\n break;\n }else if(ans >= B){\n System.out.println(\"NG\");\n break;\n }\n } \n }\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt(); \n int A = sc.nextInt();\n int B = sc.nextInt();\n for(int i = 1; i <= 1000; i++){\n int ans = K * i;\n if(ans >= A && ans <= B){\n System.out.println(\"OK\");\n break;\n }else if(ans >= B){\n System.out.println(\"NG\");\n break;\n }\n } \n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); for(int i = 1; i <= 1000; i++){ int ans = K * i; if(ans >= A && ans <= B){ System.out.println("OK"); break; }else if(ans >= B){ System.out.println("NG"); break; } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 17, 12, 13, 30, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 12, 13, 30, 0, 13, 20, 41, 13, 4, 18, 13, 17, 14, 2, 13, 17, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 20, 41, 13, 17, 42, 13, 30, 4, 13, 38, 5, 13, 30, 37, 20, 30, 4, 18, 13, 17, 14, 2, 4, 18, 13, 17, 30, 4, 18, 13, 4, 18, 18, 13, 13, 17, 30, 0, 13, 17, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 20, 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, 29, 4, 18, 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, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 251, 8 ], [ 251, 9 ], [ 9, 10 ], [ 251, 11 ], [ 11, 12 ], [ 11, 13 ], [ 251, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 16, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 16, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 16, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 42, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 48, 55 ], [ 16, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 251, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 64, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 79, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 64, 89 ], [ 89, 90 ], [ 89, 91 ], [ 64, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 101, 102 ], [ 97, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 103, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 109, 113 ], [ 108, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 114, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 108, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 62, 128 ], [ 128, 129 ], [ 251, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 133, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 147, 148 ], [ 143, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 132, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 251, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 161, 164 ], [ 164, 165 ], [ 251, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 170, 173 ], [ 173, 174 ], [ 251, 175 ], [ 175, 176 ], [ 175, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 179, 182 ], [ 182, 183 ], [ 251, 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 ], [ 251, 213 ], [ 213, 214 ], [ 213, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 251, 221 ], [ 221, 222 ], [ 221, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 223, 228 ], [ 228, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 228, 233 ], [ 233, 234 ], [ 233, 235 ], [ 228, 236 ], [ 236, 237 ], [ 237, 238 ], [ 228, 239 ], [ 239, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 240, 244 ], [ 244, 245 ], [ 223, 246 ], [ 246, 247 ], [ 221, 248 ], [ 248, 249 ], [ 0, 250 ], [ 250, 251 ], [ 250, 252 ] ]
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tint K = ni();\n\t\tint A = ni();\n\t\tint B = ni();\n\t\tfor(int i = A; i <= B; i++) {\n\t\t\tif(i%K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tint K = ni();\n\t\tint A = ni();\n\t\tint B = ni();\n\t\tfor(int i = A; i <= B; i++) {\n\t\t\tif(i%K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}", "Main", "//Switch input source (stdin/file)\n\tprivate static BufferedReader br;", "br", "//Input read utility\n\tprivate static StringTokenizer tokenizer = null;", "tokenizer", "null", "private static void solve(){\n\t\t//Implement solution here.\n\t\tint K = ni();\n\t\tint A = ni();\n\t\tint B = ni();\n\t\tfor(int i = A; i <= B; i++) {\n\t\t\tif(i%K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t}", "solve", "{\n\t\t//Implement solution here.\n\t\tint K = ni();\n\t\tint A = ni();\n\t\tint B = ni();\n\t\tfor(int i = A; i <= B; i++) {\n\t\t\tif(i%K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t}", "int K = ni();", "K", "ni()", "ni", "int A = ni();", "A", "ni()", "ni", "int B = ni();", "B", "ni()", "ni", "for(int i = A; i <= B; i++) {\n\t\t\tif(i%K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}", "int i = A;", "int i = A;", "i", "A", "i <= B", "i", "B", "i++", "i++", "i", "{\n\t\t\tif(i%K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}", "{\n\t\t\tif(i%K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}", "if(i%K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}", "i%K == 0", "i%K", "i", "K", "0", "{\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "return;", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "public static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}", "main", "{\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "String debugDataPath = System.getenv(\"DD_PATH\");", "debugDataPath", "System.getenv(\"DD_PATH\")", "System.getenv", "System", "\"DD_PATH\"", "if(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}", "debugDataPath != null", "debugDataPath", "null", "{\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}", "try{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}", "catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}", "Exception e", "{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}", "br = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))))", "br", "new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))))", "boolean hasNext = true;", "hasNext", "true", "while(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}", "hasNext", "{\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}", "solve()", "solve", "try{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}", "catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}", "Exception e", "{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}", "br.mark(1)", "br.mark", "br", "1", "if(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}", "br.read() > 0", "br.read()", "br.read", "br", "0", "{\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t}", "br.reset()", "br.reset", "br", "System.out.println(\"---\")", "System.out.println", "System.out", "System", "System.out", "\"---\"", "{\n\t\t\t\t\thasNext = false;\n\t\t\t\t}", "hasNext = false", "hasNext", "false", "String[] args", "args", "public static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}", "next", "{\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}", "while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}", "try {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}", "catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}", "Exception e", "{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t}", "tokenizer = new StringTokenizer(br.readLine())", "tokenizer", "new StringTokenizer(br.readLine())", "return tokenizer.nextToken();", "tokenizer.nextToken()", "tokenizer.nextToken", "tokenizer", "//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}", "ni", "{\n\t\treturn Integer.parseInt(next());\n\t}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}", "nl", "{\n\t\treturn Long.parseLong(next());\n\t}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}", "nd", "{\n\t\treturn Double.parseDouble(next());\n\t}", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}", "na", "{\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}", "int[] a = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = ni();", "a[i] = ni()", "a[i]", "a", "i", "ni()", "ni", "return a;", "a", "int n", "n", "//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}", "ns", "{\n\t\treturn next().toCharArray();\n\t}", "return next().toCharArray();", "next().toCharArray()", "next().toCharArray", "next()", "next", "//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}", "nal", "{\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}", "long[] a = new long[n];", "a", "new long[n]", "n", "for (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = nl();", "a[i] = nl()", "a[i]", "a", "i", "nl()", "nl", "return a;", "a", "int n", "n", "public class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tint K = ni();\n\t\tint A = ni();\n\t\tint B = ni();\n\t\tfor(int i = A; i <= B; i++) {\n\t\t\tif(i%K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}", "public class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tint K = ni();\n\t\tint A = ni();\n\t\tint B = ni();\n\t\tfor(int i = A; i <= B; i++) {\n\t\t\tif(i%K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { private static void solve(){ //Implement solution here. int K = ni(); int A = ni(); int B = ni(); for(int i = A; i <= B; i++) { if(i%K == 0) { System.out.println("OK"); return; } } System.out.println("NG"); } //Switch input source (stdin/file) private static BufferedReader br; public static void main(String[] args){ br = new BufferedReader(new InputStreamReader(System.in)); String debugDataPath = System.getenv("DD_PATH"); if(debugDataPath != null){ try{ br = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath)))); }catch(Exception e){ throw new RuntimeException(e); } } boolean hasNext = true; while(hasNext){ solve(); try{ br.mark(1); if(br.read() > 0){ br.reset(); System.out.println("---"); } else { hasNext = false; } }catch(Exception e){ throw new RuntimeException(e); } } } //Input read utility private static StringTokenizer tokenizer = null; public static String next() { while (tokenizer == null || !tokenizer.hasMoreTokens()) { try { tokenizer = new StringTokenizer(br.readLine()); } catch (Exception e) { throw new RuntimeException(e); } } return tokenizer.nextToken(); } //Get next single int private static int ni() { return Integer.parseInt(next()); } //Get next single long private static long nl() { return Long.parseLong(next()); } //Get next single double private static double nd() { return Double.parseDouble(next()); } //Get next int array from one line private static int[] na(int n) { int[] a = new int[n]; for (int i = 0; i < n; i++) a[i] = ni(); return a; } //Get next char array from one line private static char[] ns() { return next().toCharArray(); } //Get next long array from one line private static long[] nal(int n) { long[] a = new long[n]; for (int i = 0; i < n; i++) a[i] = nl(); return a; } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 41, 13, 41, 13, 2, 17, 17, 41, 13, 17, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 20, 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, 41, 13, 17, 42, 2, 40, 13, 17, 30, 4, 13, 4, 18, 13, 23, 13, 12, 13, 30, 29, 2, 2, 2, 2, 13, 13, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 4, 18, 13, 17, 3, 14, 2, 13, 17, 30, 4, 18, 13, 17, 6, 13, 12, 13, 30, 29, 2, 4, 18, 13, 4, 18, 13, 23, 13, 23, 13, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 180, 8 ], [ 180, 9 ], [ 9, 10 ], [ 9, 11 ], [ 180, 12 ], [ 12, 13 ], [ 12, 14 ], [ 180, 15 ], [ 15, 16 ], [ 180, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 19, 21 ], [ 180, 22 ], [ 22, 23 ], [ 22, 24 ], [ 180, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 28, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 38, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 27, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 180, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 59, 60 ], [ 180, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 68, 69 ], [ 180, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 76, 81 ], [ 81, 82 ], [ 82, 83 ], [ 72, 84 ], [ 84, 85 ], [ 85, 86 ], [ 70, 87 ], [ 87, 88 ], [ 180, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 94, 100 ], [ 93, 101 ], [ 89, 102 ], [ 102, 103 ], [ 89, 104 ], [ 104, 105 ], [ 180, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 108, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 108, 121 ], [ 121, 122 ], [ 121, 123 ], [ 108, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 129, 130 ], [ 129, 131 ], [ 124, 132 ], [ 132, 133 ], [ 133, 134 ], [ 124, 135 ], [ 136, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 138, 142 ], [ 137, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 143, 147 ], [ 147, 148 ], [ 148, 149 ], [ 147, 150 ], [ 143, 151 ], [ 108, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 152, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 157, 160 ], [ 180, 161 ], [ 161, 162 ], [ 161, 163 ], [ 163, 164 ], [ 163, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 167, 171 ], [ 171, 172 ], [ 172, 173 ], [ 163, 174 ], [ 174, 175 ], [ 163, 176 ], [ 176, 177 ], [ 161, 178 ], [ 0, 179 ], [ 179, 180 ], [ 179, 181 ] ]
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main {\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);\n static PrintWriter out = new PrintWriter(System.out);\n static StringTokenizer t;\n\n static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }\n\n static int ni() {\n return Integer.parseInt(sn());\n }\n\n static long nlo() {\n return Long.parseLong(sn());\n }\n\n public static void main(String args[]) {\n int t = 1;//ni();\n while (t-- > 0) {\n solve();\n }\n out.close();\n }\n\n static long mod = (long) 1e9 + 7;\n\n static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n static int maxn = 100005;\n\n static class sort implements Comparator<String> {\n public int compare(String a, String b) {\n return a.length() - b.length();\n }\n }\n\n static void solve() {\n int k = ni();\n int a = ni();\n int b = ni();\n int f = 0;\n for (int i = a; i <= b; i++) {\n if (i % k == 0) {\n f = 1;\n out.println(\"OK\");\n break;\n }\n }\n if (f == 0) {\n out.println(\"NG\");\n }\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);\n static PrintWriter out = new PrintWriter(System.out);\n static StringTokenizer t;\n\n static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }\n\n static int ni() {\n return Integer.parseInt(sn());\n }\n\n static long nlo() {\n return Long.parseLong(sn());\n }\n\n public static void main(String args[]) {\n int t = 1;//ni();\n while (t-- > 0) {\n solve();\n }\n out.close();\n }\n\n static long mod = (long) 1e9 + 7;\n\n static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n static int maxn = 100005;\n\n static class sort implements Comparator<String> {\n public int compare(String a, String b) {\n return a.length() - b.length();\n }\n }\n\n static void solve() {\n int k = ni();\n int a = ni();\n int b = ni();\n int f = 0;\n for (int i = a; i <= b; i++) {\n if (i % k == 0) {\n f = 1;\n out.println(\"OK\");\n break;\n }\n }\n if (f == 0) {\n out.println(\"NG\");\n }\n }\n}", "Main", "static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);", "br", "new BufferedReader(new InputStreamReader(System.in), 32768)", "static PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "static StringTokenizer t;", "t", "static long mod = (long) 1e9 + 7;", "mod", "(long) 1e9 + 7", "(long) 1e9", "7", "static int maxn = 100005;", "maxn", "100005", "static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }", "sn", "{\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }", "while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }", "t == null || !t.hasMoreTokens()", "t == null", "t", "null", "!t.hasMoreTokens()", "t.hasMoreTokens()", "t.hasMoreTokens", "t", "{\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }", "try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }", "catch (IOException e) {\n throw new RuntimeException();\n }", "IOException e", "{\n throw new RuntimeException();\n }", "throw new RuntimeException();", "new RuntimeException()", "{\n t = new StringTokenizer(br.readLine());\n }", "t = new StringTokenizer(br.readLine())", "t", "new StringTokenizer(br.readLine())", "return t.nextToken();", "t.nextToken()", "t.nextToken", "t", "static int ni() {\n return Integer.parseInt(sn());\n }", "ni", "{\n return Integer.parseInt(sn());\n }", "return Integer.parseInt(sn());", "Integer.parseInt(sn())", "Integer.parseInt", "Integer", "sn()", "sn", "static long nlo() {\n return Long.parseLong(sn());\n }", "nlo", "{\n return Long.parseLong(sn());\n }", "return Long.parseLong(sn());", "Long.parseLong(sn())", "Long.parseLong", "Long", "sn()", "sn", "public static void main(String args[]) {\n int t = 1;//ni();\n while (t-- > 0) {\n solve();\n }\n out.close();\n }", "main", "{\n int t = 1;//ni();\n while (t-- > 0) {\n solve();\n }\n out.close();\n }", "int t = 1;", "t", "1", "while (t-- > 0) {\n solve();\n }", "t-- > 0", "t--", "t", "0", "{\n solve();\n }", "solve()", "solve", "out.close()", "out.close", "out", "String args[]", "args", "static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }", "pro", "{\n return (a % mod * b % mod) % mod;\n }", "return (a % mod * b % mod) % mod;", "(a % mod * b % mod) % mod", "(a % mod * b % mod)", "a % mod * b", "a % mod", "a", "mod", "b", "mod", "mod", "long a", "a", "long b", "b", "static void solve() {\n int k = ni();\n int a = ni();\n int b = ni();\n int f = 0;\n for (int i = a; i <= b; i++) {\n if (i % k == 0) {\n f = 1;\n out.println(\"OK\");\n break;\n }\n }\n if (f == 0) {\n out.println(\"NG\");\n }\n }", "solve", "{\n int k = ni();\n int a = ni();\n int b = ni();\n int f = 0;\n for (int i = a; i <= b; i++) {\n if (i % k == 0) {\n f = 1;\n out.println(\"OK\");\n break;\n }\n }\n if (f == 0) {\n out.println(\"NG\");\n }\n }", "int k = ni();", "k", "ni()", "ni", "int a = ni();", "a", "ni()", "ni", "int b = ni();", "b", "ni()", "ni", "int f = 0;", "f", "0", "for (int i = a; i <= b; i++) {\n if (i % k == 0) {\n f = 1;\n out.println(\"OK\");\n break;\n }\n }", "int i = a;", "int i = a;", "i", "a", "i <= b", "i", "b", "i++", "i++", "i", "{\n if (i % k == 0) {\n f = 1;\n out.println(\"OK\");\n break;\n }\n }", "{\n if (i % k == 0) {\n f = 1;\n out.println(\"OK\");\n break;\n }\n }", "if (i % k == 0) {\n f = 1;\n out.println(\"OK\");\n break;\n }", "i % k == 0", "i % k", "i", "k", "0", "{\n f = 1;\n out.println(\"OK\");\n break;\n }", "f = 1", "f", "1", "out.println(\"OK\")", "out.println", "out", "\"OK\"", "break;", "if (f == 0) {\n out.println(\"NG\");\n }", "f == 0", "f", "0", "{\n out.println(\"NG\");\n }", "out.println(\"NG\")", "out.println", "out", "\"NG\"", "static class sort implements Comparator<String> {\n public int compare(String a, String b) {\n return a.length() - b.length();\n }\n }", "sort", "public int compare(String a, String b) {\n return a.length() - b.length();\n }", "compare", "{\n return a.length() - b.length();\n }", "return a.length() - b.length();", "a.length() - b.length()", "a.length()", "a.length", "a", "b.length()", "b.length", "b", "String a", "a", "String b", "b", "Comparator", "public class Main {\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);\n static PrintWriter out = new PrintWriter(System.out);\n static StringTokenizer t;\n\n static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }\n\n static int ni() {\n return Integer.parseInt(sn());\n }\n\n static long nlo() {\n return Long.parseLong(sn());\n }\n\n public static void main(String args[]) {\n int t = 1;//ni();\n while (t-- > 0) {\n solve();\n }\n out.close();\n }\n\n static long mod = (long) 1e9 + 7;\n\n static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n static int maxn = 100005;\n\n static class sort implements Comparator<String> {\n public int compare(String a, String b) {\n return a.length() - b.length();\n }\n }\n\n static void solve() {\n int k = ni();\n int a = ni();\n int b = ni();\n int f = 0;\n for (int i = a; i <= b; i++) {\n if (i % k == 0) {\n f = 1;\n out.println(\"OK\");\n break;\n }\n }\n if (f == 0) {\n out.println(\"NG\");\n }\n }\n}", "public class Main {\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);\n static PrintWriter out = new PrintWriter(System.out);\n static StringTokenizer t;\n\n static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }\n\n static int ni() {\n return Integer.parseInt(sn());\n }\n\n static long nlo() {\n return Long.parseLong(sn());\n }\n\n public static void main(String args[]) {\n int t = 1;//ni();\n while (t-- > 0) {\n solve();\n }\n out.close();\n }\n\n static long mod = (long) 1e9 + 7;\n\n static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n static int maxn = 100005;\n\n static class sort implements Comparator<String> {\n public int compare(String a, String b) {\n return a.length() - b.length();\n }\n }\n\n static void solve() {\n int k = ni();\n int a = ni();\n int b = ni();\n int f = 0;\n for (int i = a; i <= b; i++) {\n if (i % k == 0) {\n f = 1;\n out.println(\"OK\");\n break;\n }\n }\n if (f == 0) {\n out.println(\"NG\");\n }\n }\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768); static PrintWriter out = new PrintWriter(System.out); static StringTokenizer t; static String sn() { while (t == null || !t.hasMoreTokens()) { try { t = new StringTokenizer(br.readLine()); } catch (IOException e) { throw new RuntimeException(); } } return t.nextToken(); } static int ni() { return Integer.parseInt(sn()); } static long nlo() { return Long.parseLong(sn()); } public static void main(String args[]) { int t = 1;//ni(); while (t-- > 0) { solve(); } out.close(); } static long mod = (long) 1e9 + 7; static long pro(long a, long b) { return (a % mod * b % mod) % mod; } static int maxn = 100005; static class sort implements Comparator<String> { public int compare(String a, String b) { return a.length() - b.length(); } } static void solve() { int k = ni(); int a = ni(); int b = ni(); int f = 0; for (int i = a; i <= b; i++) { if (i % k == 0) { f = 1; out.println("OK"); break; } } if (f == 0) { out.println("NG"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 17, 12, 13, 30, 0, 13, 20, 41, 13, 4, 13, 41, 13, 18, 13, 17, 41, 13, 4, 13, 41, 13, 18, 13, 17, 41, 13, 18, 13, 17, 4, 13, 8, 2, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 2, 2, 13, 13, 2, 13, 13, 17, 17, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 13, 18, 13, 13, 30, 29, 13, 29, 40, 17, 23, 13, 23, 13, 12, 13, 30, 41, 13, 4, 13, 13, 4, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 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, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 29, 20, 30, 29, 4, 18, 4, 18, 13, 17, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 29, 17, 30, 41, 13, 4, 13, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 29, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 29, 17, 30, 41, 13, 4, 13, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 29, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 29, 17, 30, 41, 13, 4, 13, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 29, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 12, 13, 30, 14, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 14, 13, 4, 18, 18, 13, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 410, 14 ], [ 410, 15 ], [ 15, 16 ], [ 410, 17 ], [ 17, 18 ], [ 17, 19 ], [ 410, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 22, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 32, 34 ], [ 22, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 22, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 22, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 22, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 53, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 52, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 68, 70 ], [ 51, 71 ], [ 51, 72 ], [ 20, 73 ], [ 73, 74 ], [ 410, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 85, 87 ], [ 78, 88 ], [ 88, 89 ], [ 89, 90 ], [ 78, 91 ], [ 92, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 97, 98 ], [ 97, 99 ], [ 93, 100 ], [ 100, 101 ], [ 101, 102 ], [ 77, 103 ], [ 103, 104 ], [ 104, 105 ], [ 75, 106 ], [ 106, 107 ], [ 75, 108 ], [ 108, 109 ], [ 410, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 115, 117 ], [ 112, 118 ], [ 118, 119 ], [ 119, 120 ], [ 118, 121 ], [ 112, 122 ], [ 122, 123 ], [ 110, 124 ], [ 124, 125 ], [ 410, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 132, 133 ], [ 132, 134 ], [ 128, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 135, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 142, 144 ], [ 135, 145 ], [ 145, 146 ], [ 146, 147 ], [ 135, 148 ], [ 149, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 154, 155 ], [ 154, 156 ], [ 128, 157 ], [ 157, 158 ], [ 126, 159 ], [ 159, 160 ], [ 410, 161 ], [ 161, 162 ], [ 161, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 167, 168 ], [ 168, 169 ], [ 163, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 170, 175 ], [ 175, 176 ], [ 175, 177 ], [ 177, 178 ], [ 177, 179 ], [ 170, 180 ], [ 180, 181 ], [ 181, 182 ], [ 170, 183 ], [ 184, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 185, 189 ], [ 189, 190 ], [ 190, 191 ], [ 189, 192 ], [ 163, 193 ], [ 193, 194 ], [ 161, 195 ], [ 195, 196 ], [ 410, 197 ], [ 197, 198 ], [ 197, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 201, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 203, 207 ], [ 207, 208 ], [ 200, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 211, 216 ], [ 410, 217 ], [ 217, 218 ], [ 217, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 223, 227 ], [ 227, 228 ], [ 220, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 232, 233 ], [ 229, 234 ], [ 234, 235 ], [ 234, 236 ], [ 237, 238 ], [ 237, 239 ], [ 229, 240 ], [ 240, 241 ], [ 241, 242 ], [ 242, 243 ], [ 242, 244 ], [ 240, 245 ], [ 245, 246 ], [ 245, 247 ], [ 247, 248 ], [ 247, 249 ], [ 240, 250 ], [ 250, 251 ], [ 251, 252 ], [ 240, 253 ], [ 254, 254 ], [ 254, 255 ], [ 255, 256 ], [ 256, 257 ], [ 256, 258 ], [ 255, 259 ], [ 259, 260 ], [ 260, 261 ], [ 259, 262 ], [ 262, 263 ], [ 262, 264 ], [ 229, 265 ], [ 265, 266 ], [ 410, 267 ], [ 267, 268 ], [ 267, 269 ], [ 269, 270 ], [ 270, 271 ], [ 271, 272 ], [ 271, 273 ], [ 273, 274 ], [ 274, 275 ], [ 275, 276 ], [ 273, 277 ], [ 277, 278 ], [ 270, 279 ], [ 279, 280 ], [ 280, 281 ], [ 280, 282 ], [ 282, 283 ], [ 279, 284 ], [ 284, 285 ], [ 284, 286 ], [ 287, 288 ], [ 287, 289 ], [ 279, 290 ], [ 290, 291 ], [ 291, 292 ], [ 292, 293 ], [ 292, 294 ], [ 290, 295 ], [ 295, 296 ], [ 295, 297 ], [ 297, 298 ], [ 297, 299 ], [ 290, 300 ], [ 300, 301 ], [ 301, 302 ], [ 290, 303 ], [ 304, 304 ], [ 304, 305 ], [ 305, 306 ], [ 306, 307 ], [ 306, 308 ], [ 305, 309 ], [ 309, 310 ], [ 310, 311 ], [ 309, 312 ], [ 312, 313 ], [ 312, 314 ], [ 279, 315 ], [ 315, 316 ], [ 410, 317 ], [ 317, 318 ], [ 317, 319 ], [ 319, 320 ], [ 320, 321 ], [ 321, 322 ], [ 321, 323 ], [ 323, 324 ], [ 324, 325 ], [ 325, 326 ], [ 323, 327 ], [ 327, 328 ], [ 320, 329 ], [ 329, 330 ], [ 330, 331 ], [ 330, 332 ], [ 332, 333 ], [ 329, 334 ], [ 334, 335 ], [ 334, 336 ], [ 337, 338 ], [ 337, 339 ], [ 329, 340 ], [ 340, 341 ], [ 341, 342 ], [ 342, 343 ], [ 342, 344 ], [ 340, 345 ], [ 345, 346 ], [ 345, 347 ], [ 347, 348 ], [ 347, 349 ], [ 340, 350 ], [ 350, 351 ], [ 351, 352 ], [ 340, 353 ], [ 354, 354 ], [ 354, 355 ], [ 355, 356 ], [ 356, 357 ], [ 356, 358 ], [ 355, 359 ], [ 359, 360 ], [ 360, 361 ], [ 359, 362 ], [ 362, 363 ], [ 362, 364 ], [ 329, 365 ], [ 365, 366 ], [ 410, 367 ], [ 367, 368 ], [ 367, 369 ], [ 369, 370 ], [ 370, 371 ], [ 371, 372 ], [ 372, 373 ], [ 372, 374 ], [ 370, 375 ], [ 367, 376 ], [ 376, 377 ], [ 410, 378 ], [ 378, 379 ], [ 378, 380 ], [ 380, 381 ], [ 381, 382 ], [ 382, 383 ], [ 383, 384 ], [ 383, 385 ], [ 410, 386 ], [ 386, 387 ], [ 386, 388 ], [ 388, 389 ], [ 389, 390 ], [ 389, 391 ], [ 391, 392 ], [ 392, 393 ], [ 393, 394 ], [ 393, 395 ], [ 391, 396 ], [ 386, 397 ], [ 397, 398 ], [ 410, 399 ], [ 399, 400 ], [ 399, 401 ], [ 401, 402 ], [ 402, 403 ], [ 402, 404 ], [ 404, 405 ], [ 405, 406 ], [ 406, 407 ], [ 406, 408 ], [ 0, 409 ], [ 409, 410 ], [ 409, 411 ] ]
[ "\n\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Arrays;\n\npublic class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint[] NM = readLineInt();\n\t\tint N = NM[0];\n\t\tint[] a = readLineInt();\n\t\tint M = a[0];\n\t\tint K = a[1];\n\t\t\n\t\tprint((M%N==0||K%N==0)||(M/N!=K/N)?\"OK\":\"NG\");\n\t\t//String[] s = readLine();\n\t\t//print(num);\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "public class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint[] NM = readLineInt();\n\t\tint N = NM[0];\n\t\tint[] a = readLineInt();\n\t\tint M = a[0];\n\t\tint K = a[1];\n\t\t\n\t\tprint((M%N==0||K%N==0)||(M/N!=K/N)?\"OK\":\"NG\");\n\t\t//String[] s = readLine();\n\t\t//print(num);\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}", "Main", "static BufferedReader reader;", "reader", "final static boolean MODE_DEBUG = false;", "MODE_DEBUG", "false", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint[] NM = readLineInt();\n\t\tint N = NM[0];\n\t\tint[] a = readLineInt();\n\t\tint M = a[0];\n\t\tint K = a[1];\n\t\t\n\t\tprint((M%N==0||K%N==0)||(M/N!=K/N)?\"OK\":\"NG\");\n\t\t//String[] s = readLine();\n\t\t//print(num);\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint[] NM = readLineInt();\n\t\tint N = NM[0];\n\t\tint[] a = readLineInt();\n\t\tint M = a[0];\n\t\tint K = a[1];\n\t\t\n\t\tprint((M%N==0||K%N==0)||(M/N!=K/N)?\"OK\":\"NG\");\n\t\t//String[] s = readLine();\n\t\t//print(num);\n\t}", "reader = new BufferedReader(new InputStreamReader(System.in))", "reader", "new BufferedReader(new InputStreamReader(System.in))", "int[] NM = readLineInt();", "NM", "readLineInt()", "readLineInt", "int N = NM[0];", "N", "NM[0]", "NM", "0", "int[] a = readLineInt();", "a", "readLineInt()", "readLineInt", "int M = a[0];", "M", "a[0]", "a", "0", "int K = a[1];", "K", "a[1]", "a", "1", "print((M%N==0||K%N==0)||(M/N!=K/N)?\"OK\":\"NG\")", "print", "(M%N==0||K%N==0)||(M/N!=K/N)?\"OK\":\"NG\"", "(M%N==0||K%N==0)||(M/N!=K/N)", "(M%N==0||K%N==0)", "M%N==0", "M%N", "M", "N", "0", "K%N==0", "K%N", "K", "N", "0", "(M/N!=K/N)", "M/N", "M", "N", "K/N", "K", "N", "\"OK\"", "\"NG\"", "String[] args", "args", "private static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}", "arraySearch", "{\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}", "for(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<heystack.length", "i", "heystack.length", "heystack", "heystack.length", "i++", "i++", "i", "{\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}", "{\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}", "if(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}", "needle.equals(heystack[i])", "needle.equals", "needle", "heystack[i]", "heystack", "i", "{\n\t\t\t\treturn i;\n\t\t\t}", "return i;", "i", "return -1;", "-1", "1", "T needle", "needle", "T[] heystack", "heystack", "private static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}", "sort", "{\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}", "int[] copy = array_copy(base);", "copy", "array_copy(base)", "array_copy", "base", "Arrays.sort(copy)", "Arrays.sort", "Arrays", "copy", "return copy;", "copy", "int[] base", "base", "private static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}", "array_copy", "{\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}", "int[] copy = new int[base.length];", "copy", "new int[base.length]", "base.length", "base", "base.length", "for(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<base.length", "i", "base.length", "base", "base.length", "i++", "i++", "i", "{\n\t\t\tcopy[i] = base[i];\n\t\t}", "{\n\t\t\tcopy[i] = base[i];\n\t\t}", "copy[i] = base[i]", "copy[i]", "copy", "i", "base[i]", "base", "i", "return copy;", "copy", "int[] base", "base", "private static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}", "asArray", "{\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}", "int[] intlist = new int[ints.size()];", "intlist", "new int[ints.size()]", "ints.size()", "ints.size", "ints", "for(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<intlist.length", "i", "intlist.length", "intlist", "intlist.length", "i++", "i++", "i", "{\n\t\t\tintlist[i] = ints.get(i);\n\t\t}", "{\n\t\t\tintlist[i] = ints.get(i);\n\t\t}", "intlist[i] = ints.get(i)", "intlist[i]", "intlist", "i", "ints.get(i)", "ints.get", "ints", "i", "return intlist;", "intlist", "ArrayList<Integer> ints", "ints", "private static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}", "readLine", "{\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}", "try{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}", "catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}", "Exception e", "{\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "return new String[]{e.getMessage()};", "new String[]{e.getMessage()}", "{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}", "return reader.readLine().split(\" \");", "reader.readLine().split(\" \")", "reader.readLine().split", "reader.readLine()", "reader.readLine", "reader", "\" \"", "private static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}", "readLineInt", "{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}", "try{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}", "catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}", "Exception e", "{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "return null;", "null", "{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}", "String[] s = readLine();", "s", "readLine()", "readLine", "int[] ints = new int[s.length];", "ints", "new int[s.length]", "s.length", "s", "s.length", "for(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<ints.length", "i", "ints.length", "ints", "ints.length", "i++", "i++", "i", "{\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}", "{\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}", "ints[i] = Integer.parseInt(s[i])", "ints[i]", "ints", "i", "Integer.parseInt(s[i])", "Integer.parseInt", "Integer", "s[i]", "s", "i", "return ints;", "ints", "private static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}", "readLineByte", "{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}", "try{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}", "catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}", "Exception e", "{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "return null;", "null", "{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}", "String[] s = readLine();", "s", "readLine()", "readLine", "byte[] bytes = new byte[s.length];", "bytes", "new byte[s.length]", "s.length", "s", "s.length", "for(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<bytes.length", "i", "bytes.length", "bytes", "bytes.length", "i++", "i++", "i", "{\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}", "{\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}", "bytes[i] = Byte.parseByte(s[i])", "bytes[i]", "bytes", "i", "Byte.parseByte(s[i])", "Byte.parseByte", "Byte", "s[i]", "s", "i", "return bytes;", "bytes", "private static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}", "readLineChar", "{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}", "try{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}", "catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}", "Exception e", "{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "return null;", "null", "{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}", "String[] s = readLine();", "s", "readLine()", "readLine", "char[] chars = new char[s.length];", "chars", "new char[s.length]", "s.length", "s", "s.length", "for(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<chars.length", "i", "chars.length", "chars", "chars.length", "i++", "i++", "i", "{\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}", "{\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}", "chars[i] = (char)Integer.parseInt(s[i])", "chars[i]", "chars", "i", "(char)Integer.parseInt(s[i])", "Integer.parseInt", "Integer", "s[i]", "s", "i", "return chars;", "chars", "private static void print(Object o){\n\t\tSystem.out.println(o);\n\t}", "print", "{\n\t\tSystem.out.println(o);\n\t}", "System.out.println(o)", "System.out.println", "System.out", "System", "System.out", "o", "Object o", "o", "private static void print(){\n\t\tSystem.out.println();\n\t}", "print", "{\n\t\tSystem.out.println();\n\t}", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "private static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}", "printd", "{\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}", "if(MODE_DEBUG)System.err.println(o);", "MODE_DEBUG", "System.err.println(o)", "System.err.println", "System.err", "System", "System.err", "o", "Object o", "o", "private static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}", "printd", "{\n\t\tif(MODE_DEBUG)System.err.println();\n\t}", "if(MODE_DEBUG)System.err.println();", "MODE_DEBUG", "System.err.println()", "System.err.println", "System.err", "System", "System.err", "public class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint[] NM = readLineInt();\n\t\tint N = NM[0];\n\t\tint[] a = readLineInt();\n\t\tint M = a[0];\n\t\tint K = a[1];\n\t\t\n\t\tprint((M%N==0||K%N==0)||(M/N!=K/N)?\"OK\":\"NG\");\n\t\t//String[] s = readLine();\n\t\t//print(num);\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}", "public class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint[] NM = readLineInt();\n\t\tint N = NM[0];\n\t\tint[] a = readLineInt();\n\t\tint M = a[0];\n\t\tint K = a[1];\n\t\t\n\t\tprint((M%N==0||K%N==0)||(M/N!=K/N)?\"OK\":\"NG\");\n\t\t//String[] s = readLine();\n\t\t//print(num);\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; public class Main { static BufferedReader reader; final static boolean MODE_DEBUG = false; //static field here public static void main(String[] args) { // TODO Auto-generated method stub reader = new BufferedReader(new InputStreamReader(System.in)); //code here int[] NM = readLineInt(); int N = NM[0]; int[] a = readLineInt(); int M = a[0]; int K = a[1]; print((M%N==0||K%N==0)||(M/N!=K/N)?"OK":"NG"); //String[] s = readLine(); //print(num); } //functions here //note that all methods should be STATIC private static <T> int arraySearch(T needle, T[] heystack) { for(int i=0;i<heystack.length;i++) { if(needle.equals(heystack[i])) { return i; } } return -1; } private static int[] sort(int[] base) { int[] copy = array_copy(base); Arrays.sort(copy); return copy; } private static int[] array_copy(int[] base) { int[] copy = new int[base.length]; for(int i=0;i<base.length;i++) { copy[i] = base[i]; } return copy; } private static int[] asArray(ArrayList<Integer> ints) { int[] intlist = new int[ints.size()]; for(int i=0;i<intlist.length;i++) { intlist[i] = ints.get(i); } return intlist; } private static String[] readLine(){ try{ return reader.readLine().split(" "); }catch(Exception e){ e.printStackTrace(); return new String[]{e.getMessage()}; } } private static int[] readLineInt(){ try{ String[] s = readLine(); int[] ints = new int[s.length]; for(int i=0;i<ints.length;i++) { ints[i] = Integer.parseInt(s[i]); } return ints; }catch(Exception e){ e.printStackTrace(); return null; } } private static byte[] readLineByte(){ try{ String[] s = readLine(); byte[] bytes = new byte[s.length]; for(int i=0;i<bytes.length;i++) { bytes[i] = Byte.parseByte(s[i]); } return bytes; }catch(Exception e){ e.printStackTrace(); return null; } } private static char[] readLineChar(){ try{ String[] s = readLine(); char[] chars = new char[s.length]; for(int i=0;i<chars.length;i++) { chars[i] = (char)Integer.parseInt(s[i]); } return chars; }catch(Exception e){ e.printStackTrace(); return null; } } private static void print(Object o){ System.out.println(o); } private static void print(){ System.out.println(); } private static void printd(Object o){ if(MODE_DEBUG)System.err.println(o); } private static void printd(){ if(MODE_DEBUG)System.err.println(); } }
[ 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, 41, 13, 2, 2, 13, 13, 13, 4, 18, 18, 13, 13, 8, 2, 13, 13, 17, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 8, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 39, 44 ], [ 6, 45 ], [ 45, 46 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n int x = b/k*k;\n System.out.println(x>=a?\"OK\":\"NG\");\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 k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n int x = b/k*k;\n System.out.println(x>=a?\"OK\":\"NG\");\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n int x = b/k*k;\n System.out.println(x>=a?\"OK\":\"NG\");\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n int x = b/k*k;\n System.out.println(x>=a?\"OK\":\"NG\");\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int x = b/k*k;", "x", "b/k*k", "b/k", "b", "k", "k", "System.out.println(x>=a?\"OK\":\"NG\")", "System.out.println", "System.out", "System", "System.out", "x>=a?\"OK\":\"NG\"", "x>=a", "x", "a", "\"OK\"", "\"NG\"", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); int x = b/k*k; System.out.println(x>=a?"OK":"NG"); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 2, 13, 13, 14, 2, 2, 13, 13, 2, 13, 13, 30, 4, 13, 17, 29, 4, 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, 12, 13, 30, 4, 18, 18, 13, 13, 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, 29, 18, 13, 40, 13, 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, 40, 13, 29, 4, 13, 12, 13, 30, 14, 40, 4, 13, 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, 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, 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 ], [ 352, 8 ], [ 352, 9 ], [ 9, 10 ], [ 352, 11 ], [ 11, 12 ], [ 11, 13 ], [ 13, 14 ], [ 14, 15 ], [ 14, 16 ], [ 13, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 13, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 13, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 13, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 55, 57 ], [ 50, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 13, 63 ], [ 63, 64 ], [ 63, 65 ], [ 11, 66 ], [ 66, 67 ], [ 352, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 68, 77 ], [ 77, 78 ], [ 352, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 79, 88 ], [ 88, 89 ], [ 352, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 90, 99 ], [ 99, 100 ], [ 0, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 105, 107 ], [ 101, 108 ], [ 108, 109 ], [ 108, 110 ], [ 101, 112 ], [ 112, 113 ], [ 112, 114 ], [ 101, 115 ], [ 115, 116 ], [ 115, 117 ], [ 101, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 125, 126 ], [ 126, 127 ], [ 121, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 132, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 142, 145 ], [ 128, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 146, 150 ], [ 150, 151 ], [ 151, 152 ], [ 120, 153 ], [ 153, 154 ], [ 101, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 158, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 164, 165 ], [ 158, 166 ], [ 166, 167 ], [ 167, 168 ], [ 101, 169 ], [ 169, 170 ], [ 169, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 173, 177 ], [ 177, 178 ], [ 177, 179 ], [ 169, 180 ], [ 180, 181 ], [ 101, 182 ], [ 182, 183 ], [ 182, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 186, 189 ], [ 189, 190 ], [ 190, 191 ], [ 190, 192 ], [ 192, 193 ], [ 192, 194 ], [ 185, 195 ], [ 195, 196 ], [ 184, 197 ], [ 197, 198 ], [ 198, 199 ], [ 101, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 203, 207 ], [ 207, 208 ], [ 202, 209 ], [ 209, 210 ], [ 209, 211 ], [ 202, 212 ], [ 212, 213 ], [ 212, 214 ], [ 214, 215 ], [ 202, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 216, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 221, 224 ], [ 220, 225 ], [ 225, 226 ], [ 225, 227 ], [ 227, 228 ], [ 202, 229 ], [ 229, 230 ], [ 230, 231 ], [ 231, 232 ], [ 101, 233 ], [ 233, 234 ], [ 233, 235 ], [ 235, 236 ], [ 236, 237 ], [ 237, 238 ], [ 238, 239 ], [ 236, 240 ], [ 240, 241 ], [ 235, 242 ], [ 242, 243 ], [ 242, 244 ], [ 235, 245 ], [ 245, 246 ], [ 245, 247 ], [ 235, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 235, 252 ], [ 252, 253 ], [ 253, 254 ], [ 253, 255 ], [ 252, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 256, 260 ], [ 260, 261 ], [ 260, 262 ], [ 262, 263 ], [ 235, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 266, 268 ], [ 265, 269 ], [ 269, 270 ], [ 269, 271 ], [ 264, 272 ], [ 272, 273 ], [ 273, 274 ], [ 235, 275 ], [ 275, 276 ], [ 275, 277 ], [ 277, 278 ], [ 278, 279 ], [ 279, 280 ], [ 280, 281 ], [ 280, 282 ], [ 279, 283 ], [ 283, 284 ], [ 283, 285 ], [ 278, 286 ], [ 286, 287 ], [ 287, 288 ], [ 287, 289 ], [ 286, 290 ], [ 290, 291 ], [ 290, 292 ], [ 292, 293 ], [ 292, 294 ], [ 278, 295 ], [ 295, 296 ], [ 296, 297 ], [ 297, 298 ], [ 297, 299 ], [ 299, 300 ], [ 296, 301 ], [ 301, 302 ], [ 302, 303 ], [ 302, 304 ], [ 295, 305 ], [ 305, 306 ], [ 306, 307 ], [ 307, 308 ], [ 307, 309 ], [ 309, 310 ], [ 307, 311 ], [ 295, 312 ], [ 312, 313 ], [ 313, 314 ], [ 277, 315 ], [ 315, 316 ], [ 315, 317 ], [ 317, 318 ], [ 101, 319 ], [ 319, 320 ], [ 319, 321 ], [ 321, 322 ], [ 322, 323 ], [ 322, 324 ], [ 324, 325 ], [ 321, 326 ], [ 326, 327 ], [ 327, 328 ], [ 328, 329 ], [ 328, 330 ], [ 330, 331 ], [ 330, 332 ], [ 327, 333 ], [ 333, 334 ], [ 333, 335 ], [ 335, 336 ], [ 335, 337 ], [ 326, 338 ], [ 338, 339 ], [ 321, 340 ], [ 340, 341 ], [ 101, 342 ], [ 342, 343 ], [ 342, 344 ], [ 344, 345 ], [ 345, 346 ], [ 346, 347 ], [ 347, 348 ], [ 346, 349 ], [ 349, 350 ], [ 0, 351 ], [ 351, 352 ], [ 351, 353 ] ]
[ "//master\nimport java.io.*;\nimport java.util.*;\npublic class Main {\n static int[][] memo;\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n int n = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n for(int i = 1; i<=1000; i++) {\n int k = i*n;\n if(k>=b && k<=c) {\n p(\"OK\");\n return;\n }\n }\n p(\"NG\");\n}\n\n public static <T> void p(T message) {\n System.out.println(message);\n }\n\n public static <T> void pe(T message) {\n System.err.println(message);\n }\n\n public static <T> void pp(T message) {\n System.out.print(message);\n }\n \n}\nclass FastScanner {\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 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 private 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 return hasNextByte();\n }\n \n public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\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 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 return (int) nl;\n }\n \n public double nextDouble() {\n return Double.parseDouble(next());\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n static int[][] memo;\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n int n = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n for(int i = 1; i<=1000; i++) {\n int k = i*n;\n if(k>=b && k<=c) {\n p(\"OK\");\n return;\n }\n }\n p(\"NG\");\n}\n\n public static <T> void p(T message) {\n System.out.println(message);\n }\n\n public static <T> void pe(T message) {\n System.err.println(message);\n }\n\n public static <T> void pp(T message) {\n System.out.print(message);\n }\n \n}", "Main", "static int[][] memo;", "memo", "public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n int n = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n for(int i = 1; i<=1000; i++) {\n int k = i*n;\n if(k>=b && k<=c) {\n p(\"OK\");\n return;\n }\n }\n p(\"NG\");\n}", "main", "{\n FastScanner sc = new FastScanner();\n int n = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n for(int i = 1; i<=1000; i++) {\n int k = i*n;\n if(k>=b && k<=c) {\n p(\"OK\");\n return;\n }\n }\n p(\"NG\");\n}", "FastScanner sc = new FastScanner();", "sc", "new FastScanner()", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 1; i<=1000; i++) {\n int k = i*n;\n if(k>=b && k<=c) {\n p(\"OK\");\n return;\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i<=1000", "i", "1000", "i++", "i++", "i", "{\n int k = i*n;\n if(k>=b && k<=c) {\n p(\"OK\");\n return;\n }\n }", "{\n int k = i*n;\n if(k>=b && k<=c) {\n p(\"OK\");\n return;\n }\n }", "int k = i*n;", "k", "i*n", "i", "n", "if(k>=b && k<=c) {\n p(\"OK\");\n return;\n }", "k>=b && k<=c", "k>=b", "k", "b", "k<=c", "k", "c", "{\n p(\"OK\");\n return;\n }", "p(\"OK\")", "p", "\"OK\"", "return;", "p(\"NG\")", "p", "\"NG\"", "String[] args", "args", "public static <T> void p(T message) {\n System.out.println(message);\n }", "p", "{\n System.out.println(message);\n }", "System.out.println(message)", "System.out.println", "System.out", "System", "System.out", "message", "T message", "message", "public static <T> void pe(T message) {\n System.err.println(message);\n }", "pe", "{\n System.err.println(message);\n }", "System.err.println(message)", "System.err.println", "System.err", "System", "System.err", "message", "T message", "message", "public static <T> void pp(T message) {\n System.out.print(message);\n }", "pp", "{\n System.out.print(message);\n }", "System.out.print(message)", "System.out.print", "System.out", "System", "System.out", "message", "T message", "message", "class FastScanner {\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 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 private 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 return hasNextByte();\n }\n \n public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\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 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 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 }", "readByte", "{\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }", "if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;", "hasNextByte()", "hasNextByte", "return buffer[ptr++];", "buffer[ptr++]", "buffer", "ptr++", "ptr", "return -1;", "-1", "1", "private 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 return hasNextByte();\n }", "hasNext", "{\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }", "while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;", "hasNextByte() && !isPrintableChar(buffer[ptr])", "hasNextByte()", "hasNextByte", "!isPrintableChar(buffer[ptr])", "isPrintableChar(buffer[ptr])", "isPrintableChar", "buffer[ptr]", "buffer", "ptr", "ptr++", "ptr", "return hasNextByte();", "hasNextByte()", "hasNextByte", "public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\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 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();", "!hasNext()", "hasNext()", "hasNext", "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 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 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();", "!hasNext()", "hasNext()", "hasNext", "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 return (int) nl;\n }", "nextInt", "{\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }", "long nl = nextLong();", "nl", "nextLong()", "nextLong", "if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();", "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", "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 static int[][] memo;\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n int n = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n for(int i = 1; i<=1000; i++) {\n int k = i*n;\n if(k>=b && k<=c) {\n p(\"OK\");\n return;\n }\n }\n p(\"NG\");\n}\n\n public static <T> void p(T message) {\n System.out.println(message);\n }\n\n public static <T> void pe(T message) {\n System.err.println(message);\n }\n\n public static <T> void pp(T message) {\n System.out.print(message);\n }\n \n}", "public class Main {\n static int[][] memo;\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n int n = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n for(int i = 1; i<=1000; i++) {\n int k = i*n;\n if(k>=b && k<=c) {\n p(\"OK\");\n return;\n }\n }\n p(\"NG\");\n}\n\n public static <T> void p(T message) {\n System.out.println(message);\n }\n\n public static <T> void pe(T message) {\n System.err.println(message);\n }\n\n public static <T> void pp(T message) {\n System.out.print(message);\n }\n \n}", "Main" ]
//master import java.io.*; import java.util.*; public class Main { static int[][] memo; public static void main(String[] args) { FastScanner sc = new FastScanner(); int n = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); for(int i = 1; i<=1000; i++) { int k = i*n; if(k>=b && k<=c) { p("OK"); return; } } p("NG"); } public static <T> void p(T message) { System.out.println(message); } public static <T> void pe(T message) { System.err.println(message); } public static <T> void pp(T message) { System.out.print(message); } } 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 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, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 20, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 2, 13, 13, 0, 13, 2, 13, 13, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 102, 5 ], [ 102, 6 ], [ 6, 7 ], [ 102, 8 ], [ 8, 9 ], [ 102, 10 ], [ 10, 11 ], [ 102, 12 ], [ 12, 13 ], [ 102, 14 ], [ 14, 15 ], [ 102, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 18, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 18, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 18, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 18, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 18, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 18, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 47, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 58, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 58, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 75, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 75, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 16, 99 ], [ 99, 100 ], [ 0, 101 ], [ 101, 102 ], [ 101, 103 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tstatic int K;\n\tstatic int A;\n\tstatic int B;\n\tstatic int a;\n\tstatic int b;\n\tpublic static void main(String[]args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tK=sc.nextInt();\n\t\tA=sc.nextInt();\n\t\tB=sc.nextInt();\n\t\ta=A/K;\n\t\tb=B/K;\n\t\tif(a!=b) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a==b&&A%K==0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a==b&&B%K==0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tstatic int K;\n\tstatic int A;\n\tstatic int B;\n\tstatic int a;\n\tstatic int b;\n\tpublic static void main(String[]args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tK=sc.nextInt();\n\t\tA=sc.nextInt();\n\t\tB=sc.nextInt();\n\t\ta=A/K;\n\t\tb=B/K;\n\t\tif(a!=b) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a==b&&A%K==0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a==b&&B%K==0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}\n}", "Main", "static int K;", "K", "static int A;", "A", "static int B;", "B", "static int a;", "a", "static int b;", "b", "public static void main(String[]args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tK=sc.nextInt();\n\t\tA=sc.nextInt();\n\t\tB=sc.nextInt();\n\t\ta=A/K;\n\t\tb=B/K;\n\t\tif(a!=b) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a==b&&A%K==0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a==b&&B%K==0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}", "main", "{\n\t\tScanner sc=new Scanner(System.in);\n\t\tK=sc.nextInt();\n\t\tA=sc.nextInt();\n\t\tB=sc.nextInt();\n\t\ta=A/K;\n\t\tb=B/K;\n\t\tif(a!=b) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a==b&&A%K==0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a==b&&B%K==0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "K=sc.nextInt()", "K", "sc.nextInt()", "sc.nextInt", "sc", "A=sc.nextInt()", "A", "sc.nextInt()", "sc.nextInt", "sc", "B=sc.nextInt()", "B", "sc.nextInt()", "sc.nextInt", "sc", "a=A/K", "a", "A/K", "A", "K", "b=B/K", "b", "B/K", "B", "K", "if(a!=b) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a==b&&A%K==0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a==b&&B%K==0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "a!=b", "a", "b", "{\n\t\t\tSystem.out.println(\"OK\");\n\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "if(a==b&&A%K==0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a==b&&B%K==0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "a==b&&A%K==0", "a==b", "a", "b", "A%K==0", "A%K", "A", "K", "0", "{\n\t\t\tSystem.out.println(\"OK\");\n\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "if(a==b&&B%K==0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "a==b&&B%K==0", "a==b", "a", "b", "B%K==0", "B%K", "B", "K", "0", "{\n\t\t\tSystem.out.println(\"OK\");\n\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[]args", "args", "public class Main {\n\tstatic int K;\n\tstatic int A;\n\tstatic int B;\n\tstatic int a;\n\tstatic int b;\n\tpublic static void main(String[]args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tK=sc.nextInt();\n\t\tA=sc.nextInt();\n\t\tB=sc.nextInt();\n\t\ta=A/K;\n\t\tb=B/K;\n\t\tif(a!=b) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a==b&&A%K==0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a==b&&B%K==0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}\n}", "public class Main {\n\tstatic int K;\n\tstatic int A;\n\tstatic int B;\n\tstatic int a;\n\tstatic int b;\n\tpublic static void main(String[]args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tK=sc.nextInt();\n\t\tA=sc.nextInt();\n\t\tB=sc.nextInt();\n\t\ta=A/K;\n\t\tb=B/K;\n\t\tif(a!=b) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a==b&&A%K==0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a==b&&B%K==0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { static int K; static int A; static int B; static int a; static int b; public static void main(String[]args) { Scanner sc=new Scanner(System.in); K=sc.nextInt(); A=sc.nextInt(); B=sc.nextInt(); a=A/K; b=B/K; if(a!=b) { System.out.println("OK"); } else if(a==b&&A%K==0) { System.out.println("OK"); } else if(a==b&&B%K==0) { System.out.println("OK"); } else { System.out.println("NG"); } } }
[ 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, 11, 1, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 60, 5 ], [ 60, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 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 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 33, 34 ], [ 27, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 37, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 43, 50 ], [ 8, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 6, 57 ], [ 57, 58 ], [ 0, 59 ], [ 59, 60 ], [ 59, 61 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner scn = new Scanner(System.in);\n int k=scn.nextInt();\n int a=scn.nextInt();\n int b=scn.nextInt();\n for(;a<=b;a++){\n if(a%k==0){\n System.out.printf(\"OK\\n\");\n return;\n }\n }\n System.out.printf(\"NG\\n\");\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner scn = new Scanner(System.in);\n int k=scn.nextInt();\n int a=scn.nextInt();\n int b=scn.nextInt();\n for(;a<=b;a++){\n if(a%k==0){\n System.out.printf(\"OK\\n\");\n return;\n }\n }\n System.out.printf(\"NG\\n\");\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner scn = new Scanner(System.in);\n int k=scn.nextInt();\n int a=scn.nextInt();\n int b=scn.nextInt();\n for(;a<=b;a++){\n if(a%k==0){\n System.out.printf(\"OK\\n\");\n return;\n }\n }\n System.out.printf(\"NG\\n\");\n }", "main", "{\n Scanner scn = new Scanner(System.in);\n int k=scn.nextInt();\n int a=scn.nextInt();\n int b=scn.nextInt();\n for(;a<=b;a++){\n if(a%k==0){\n System.out.printf(\"OK\\n\");\n return;\n }\n }\n System.out.printf(\"NG\\n\");\n }", "Scanner scn = new Scanner(System.in);", "scn", "new Scanner(System.in)", "int k=scn.nextInt();", "k", "scn.nextInt()", "scn.nextInt", "scn", "int a=scn.nextInt();", "a", "scn.nextInt()", "scn.nextInt", "scn", "int b=scn.nextInt();", "b", "scn.nextInt()", "scn.nextInt", "scn", "for(;a<=b;a++){\n if(a%k==0){\n System.out.printf(\"OK\\n\");\n return;\n }\n }", ";", "a<=b", "a", "b", "a++", "a++", "a", "{\n if(a%k==0){\n System.out.printf(\"OK\\n\");\n return;\n }\n }", "{\n if(a%k==0){\n System.out.printf(\"OK\\n\");\n return;\n }\n }", "if(a%k==0){\n System.out.printf(\"OK\\n\");\n return;\n }", "a%k==0", "a%k", "a", "k", "0", "{\n System.out.printf(\"OK\\n\");\n return;\n }", "System.out.printf(\"OK\\n\")", "System.out.printf", "System.out", "System", "System.out", "\"OK\\n\"", "return;", "System.out.printf(\"NG\\n\")", "System.out.printf", "System.out", "System", "System.out", "\"NG\\n\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner scn = new Scanner(System.in);\n int k=scn.nextInt();\n int a=scn.nextInt();\n int b=scn.nextInt();\n for(;a<=b;a++){\n if(a%k==0){\n System.out.printf(\"OK\\n\");\n return;\n }\n }\n System.out.printf(\"NG\\n\");\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner scn = new Scanner(System.in);\n int k=scn.nextInt();\n int a=scn.nextInt();\n int b=scn.nextInt();\n for(;a<=b;a++){\n if(a%k==0){\n System.out.printf(\"OK\\n\");\n return;\n }\n }\n System.out.printf(\"NG\\n\");\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner scn = new Scanner(System.in); int k=scn.nextInt(); int a=scn.nextInt(); int b=scn.nextInt(); for(;a<=b;a++){ if(a%k==0){ System.out.printf("OK\n"); return; } } System.out.printf("NG\n"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 17, 41, 13, 20, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 3, 4, 18, 18, 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 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 36, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 49, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 8, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 6, 66 ], [ 66, 67 ], [ 0, 68 ], [ 68, 69 ], [ 68, 70 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint k;\n\t\tint a, b;\n\t\tString message = \"NG\";\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tk = scan.nextInt();\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\n\t\tfor(int i = a; i <= b; i++) {\n\t\t\tif(i % k == 0) {\n\t\t\t\tmessage = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(message);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tint k;\n\t\tint a, b;\n\t\tString message = \"NG\";\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tk = scan.nextInt();\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\n\t\tfor(int i = a; i <= b; i++) {\n\t\t\tif(i % k == 0) {\n\t\t\t\tmessage = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(message);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tint k;\n\t\tint a, b;\n\t\tString message = \"NG\";\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tk = scan.nextInt();\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\n\t\tfor(int i = a; i <= b; i++) {\n\t\t\tif(i % k == 0) {\n\t\t\t\tmessage = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(message);\n\t}", "main", "{\n\t\tint k;\n\t\tint a, b;\n\t\tString message = \"NG\";\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tk = scan.nextInt();\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\n\t\tfor(int i = a; i <= b; i++) {\n\t\t\tif(i % k == 0) {\n\t\t\t\tmessage = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(message);\n\t}", "int k;", "k", "int a", "a", "b;", "b", "String message = \"NG\";", "message", "\"NG\"", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "k = scan.nextInt()", "k", "scan.nextInt()", "scan.nextInt", "scan", "a = scan.nextInt()", "a", "scan.nextInt()", "scan.nextInt", "scan", "b = scan.nextInt()", "b", "scan.nextInt()", "scan.nextInt", "scan", "for(int i = a; i <= b; i++) {\n\t\t\tif(i % k == 0) {\n\t\t\t\tmessage = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "int i = a;", "int i = a;", "i", "a", "i <= b", "i", "b", "i++", "i++", "i", "{\n\t\t\tif(i % k == 0) {\n\t\t\t\tmessage = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "{\n\t\t\tif(i % k == 0) {\n\t\t\t\tmessage = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "if(i % k == 0) {\n\t\t\t\tmessage = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}", "i % k == 0", "i % k", "i", "k", "0", "{\n\t\t\t\tmessage = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}", "message = \"OK\"", "message", "\"OK\"", "break;", "System.out.println(message)", "System.out.println", "System.out", "System", "System.out", "message", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tint k;\n\t\tint a, b;\n\t\tString message = \"NG\";\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tk = scan.nextInt();\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\n\t\tfor(int i = a; i <= b; i++) {\n\t\t\tif(i % k == 0) {\n\t\t\t\tmessage = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(message);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tint k;\n\t\tint a, b;\n\t\tString message = \"NG\";\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tk = scan.nextInt();\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\n\t\tfor(int i = a; i <= b; i++) {\n\t\t\tif(i % k == 0) {\n\t\t\t\tmessage = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(message);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { int k; int a, b; String message = "NG"; Scanner scan = new Scanner(System.in); k = scan.nextInt(); a = scan.nextInt(); b = scan.nextInt(); for(int i = a; i <= b; i++) { if(i % k == 0) { message = "OK"; break; } } System.out.println(message); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 3, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 74, 14 ], [ 74, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 17, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 17, 36 ], [ 36, 37 ], [ 36, 38 ], [ 17, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 39, 49 ], [ 49, 50 ], [ 50, 51 ], [ 39, 52 ], [ 53, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 54, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 17, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 15, 71 ], [ 71, 72 ], [ 0, 73 ], [ 73, 74 ], [ 73, 75 ] ]
[ "import java.lang.reflect.Array;\nimport java.util.*;\nimport java.io.*;\nimport java.lang.*;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n String ans = \"NG\";\n for (int i = a;i<b+1;i++){\n if (i%k == 0){\n ans = \"OK\";\n break;\n }\n }\n System.out.println(ans);\n\n }\n}", "import java.lang.reflect.Array;", "Array", "java.lang.reflect", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "import java.lang.*;", "lang.*", "java", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n String ans = \"NG\";\n for (int i = a;i<b+1;i++){\n if (i%k == 0){\n ans = \"OK\";\n break;\n }\n }\n System.out.println(ans);\n\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n String ans = \"NG\";\n for (int i = a;i<b+1;i++){\n if (i%k == 0){\n ans = \"OK\";\n break;\n }\n }\n System.out.println(ans);\n\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n String ans = \"NG\";\n for (int i = a;i<b+1;i++){\n if (i%k == 0){\n ans = \"OK\";\n break;\n }\n }\n System.out.println(ans);\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "String ans = \"NG\";", "ans", "\"NG\"", "for (int i = a;i<b+1;i++){\n if (i%k == 0){\n ans = \"OK\";\n break;\n }\n }", "int i = a;", "int i = a;", "i", "a", "i<b+1", "i", "b+1", "b", "1", "i++", "i++", "i", "{\n if (i%k == 0){\n ans = \"OK\";\n break;\n }\n }", "{\n if (i%k == 0){\n ans = \"OK\";\n break;\n }\n }", "if (i%k == 0){\n ans = \"OK\";\n break;\n }", "i%k == 0", "i%k", "i", "k", "0", "{\n ans = \"OK\";\n break;\n }", "ans = \"OK\"", "ans", "\"OK\"", "break;", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n String ans = \"NG\";\n for (int i = a;i<b+1;i++){\n if (i%k == 0){\n ans = \"OK\";\n break;\n }\n }\n System.out.println(ans);\n\n }\n}", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n String ans = \"NG\";\n for (int i = a;i<b+1;i++){\n if (i%k == 0){\n ans = \"OK\";\n break;\n }\n }\n System.out.println(ans);\n\n }\n}", "Main" ]
import java.lang.reflect.Array; import java.util.*; import java.io.*; import java.lang.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); String ans = "NG"; for (int i = a;i<b+1;i++){ if (i%k == 0){ ans = "OK"; break; } } System.out.println(ans); } }
[ 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, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 13, 2, 13, 13, 2, 2, 13, 13, 13, 30, 4, 18, 18, 13, 13, 17, 3, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 40, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 52, 59 ], [ 39, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 6, 71 ], [ 71, 72 ], [ 0, 73 ], [ 73, 74 ], [ 73, 75 ] ]
[ "import java.util.*;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n for (int i = 0; i < 1001; i++) {\n if (a <= k*i && k*i <= b) {\n System.out.println(\"OK\");\n break;\n }\n if (i == 1000) {\n System.out.println(\"NG\");\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 int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n for (int i = 0; i < 1001; i++) {\n if (a <= k*i && k*i <= b) {\n System.out.println(\"OK\");\n break;\n }\n if (i == 1000) {\n System.out.println(\"NG\");\n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n for (int i = 0; i < 1001; i++) {\n if (a <= k*i && k*i <= b) {\n System.out.println(\"OK\");\n break;\n }\n if (i == 1000) {\n System.out.println(\"NG\");\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n for (int i = 0; i < 1001; i++) {\n if (a <= k*i && k*i <= b) {\n System.out.println(\"OK\");\n break;\n }\n if (i == 1000) {\n System.out.println(\"NG\");\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < 1001; i++) {\n if (a <= k*i && k*i <= b) {\n System.out.println(\"OK\");\n break;\n }\n if (i == 1000) {\n System.out.println(\"NG\");\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 1001", "i", "1001", "i++", "i++", "i", "{\n if (a <= k*i && k*i <= b) {\n System.out.println(\"OK\");\n break;\n }\n if (i == 1000) {\n System.out.println(\"NG\");\n }\n }", "{\n if (a <= k*i && k*i <= b) {\n System.out.println(\"OK\");\n break;\n }\n if (i == 1000) {\n System.out.println(\"NG\");\n }\n }", "if (a <= k*i && k*i <= b) {\n System.out.println(\"OK\");\n break;\n }", "a <= k*i && k*i <= b", "a <= k*i", "a", "k*i", "k", "i", "k*i <= b", "k*i", "k", "i", "b", "{\n System.out.println(\"OK\");\n break;\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "break;", "if (i == 1000) {\n System.out.println(\"NG\");\n }", "i == 1000", "i", "1000", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n for (int i = 0; i < 1001; i++) {\n if (a <= k*i && k*i <= b) {\n System.out.println(\"OK\");\n break;\n }\n if (i == 1000) {\n System.out.println(\"NG\");\n }\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n for (int i = 0; i < 1001; i++) {\n if (a <= k*i && k*i <= b) {\n System.out.println(\"OK\");\n break;\n }\n if (i == 1000) {\n System.out.println(\"NG\");\n }\n }\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); for (int i = 0; i < 1001; i++) { if (a <= k*i && k*i <= b) { System.out.println("OK"); break; } if (i == 1000) { System.out.println("NG"); } } } }
[ 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, 41, 13, 2, 2, 13, 13, 13, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 55, 5 ], [ 55, 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 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 8, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 34, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 6, 52 ], [ 52, 53 ], [ 0, 54 ], [ 54, 55 ], [ 54, 56 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint K = scan.nextInt();\n\t\tint A = scan.nextInt();\n\t\tint B = scan.nextInt();\n\n\t\tint max = (B / K) * K;\n\n\t\tif (max >= A){\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else{\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint K = scan.nextInt();\n\t\tint A = scan.nextInt();\n\t\tint B = scan.nextInt();\n\n\t\tint max = (B / K) * K;\n\n\t\tif (max >= A){\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else{\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\n\t}\n\n}", "Main", "public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint K = scan.nextInt();\n\t\tint A = scan.nextInt();\n\t\tint B = scan.nextInt();\n\n\t\tint max = (B / K) * K;\n\n\t\tif (max >= A){\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else{\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint K = scan.nextInt();\n\t\tint A = scan.nextInt();\n\t\tint B = scan.nextInt();\n\n\t\tint max = (B / K) * K;\n\n\t\tif (max >= A){\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else{\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int K = scan.nextInt();", "K", "scan.nextInt()", "scan.nextInt", "scan", "int A = scan.nextInt();", "A", "scan.nextInt()", "scan.nextInt", "scan", "int B = scan.nextInt();", "B", "scan.nextInt()", "scan.nextInt", "scan", "int max = (B / K) * K;", "max", "(B / K) * K", "(B / K)", "B", "K", "K", "if (max >= A){\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else{\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "max >= A", "max", "A", "{\n\t\t\tSystem.out.println(\"OK\");\n\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint K = scan.nextInt();\n\t\tint A = scan.nextInt();\n\t\tint B = scan.nextInt();\n\n\t\tint max = (B / K) * K;\n\n\t\tif (max >= A){\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else{\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint K = scan.nextInt();\n\t\tint A = scan.nextInt();\n\t\tint B = scan.nextInt();\n\n\t\tint max = (B / K) * K;\n\n\t\tif (max >= A){\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else{\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); int K = scan.nextInt(); int A = scan.nextInt(); int B = scan.nextInt(); int max = (B / K) * K; if (max >= A){ System.out.println("OK"); }else{ System.out.println("NG"); } } }
[ 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, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 13, 0, 13, 2, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 30, 40 ], [ 40, 41 ], [ 41, 42 ], [ 30, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 45, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 8, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 56, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 6, 72 ], [ 72, 73 ] ]
[ "import java.util.Scanner;\n\n\nclass Main{\n public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n //数値の入力\n int K = stdIn.nextInt(); //倍数\n int A = stdIn.nextInt();\n int B = stdIn.nextInt();\n \n //計算\n int num = 0;\n \n for (int i = 0; i <= (B / K); i++){\n if( i * K >= A)\n num = num +1;\n }\n \n if(num > 0)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n //数値の入力\n int K = stdIn.nextInt(); //倍数\n int A = stdIn.nextInt();\n int B = stdIn.nextInt();\n \n //計算\n int num = 0;\n \n for (int i = 0; i <= (B / K); i++){\n if( i * K >= A)\n num = num +1;\n }\n \n if(num > 0)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\n }\n}", "Main", "public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n //数値の入力\n int K = stdIn.nextInt(); //倍数\n int A = stdIn.nextInt();\n int B = stdIn.nextInt();\n \n //計算\n int num = 0;\n \n for (int i = 0; i <= (B / K); i++){\n if( i * K >= A)\n num = num +1;\n }\n \n if(num > 0)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\n }", "main", "{\n Scanner stdIn = new Scanner(System.in);\n //数値の入力\n int K = stdIn.nextInt(); //倍数\n int A = stdIn.nextInt();\n int B = stdIn.nextInt();\n \n //計算\n int num = 0;\n \n for (int i = 0; i <= (B / K); i++){\n if( i * K >= A)\n num = num +1;\n }\n \n if(num > 0)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\n }", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "int K = stdIn.nextInt();", "K", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int A = stdIn.nextInt();", "A", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int B = stdIn.nextInt();", "B", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int num = 0;", "num", "0", "for (int i = 0; i <= (B / K); i++){\n if( i * K >= A)\n num = num +1;\n }", "int i = 0;", "int i = 0;", "i", "0", "i <= (B / K)", "i", "(B / K)", "B", "K", "i++", "i++", "i", "{\n if( i * K >= A)\n num = num +1;\n }", "{\n if( i * K >= A)\n num = num +1;\n }", "if( i * K >= A)\n num = num +1;", "i * K >= A", "i * K", "i", "K", "A", "num = num +1", "num", "num +1", "num", "1", "if(num > 0)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");", "num > 0", "num", "0", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); //数値の入力 int K = stdIn.nextInt(); //倍数 int A = stdIn.nextInt(); int B = stdIn.nextInt(); //計算 int num = 0; for (int i = 0; i <= (B / K); i++){ if( i * K >= A) num = num +1; } if(num > 0) System.out.println("OK"); else System.out.println("NG"); } }
[ 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, 41, 13, 17, 41, 13, 17, 42, 13, 30, 0, 13, 13, 14, 2, 2, 13, 13, 2, 13, 13, 30, 0, 13, 17, 3, 14, 2, 13, 13, 30, 0, 13, 17, 3, 14, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 44, 46 ], [ 39, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 35, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 8, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 61, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 8, 77 ], [ 77, 78 ], [ 78, 79 ], [ 6, 80 ], [ 80, 81 ] ]
[ "import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n int count = 0;\n\n boolean flg = true;\n\n while(flg) {\n count += k;\n\n if(a <= count && count <= b) {\n flg = true;\n break;\n }\n\n if(count > b) {\n flg = false;\n break;\n }\n }\n\n if(flg) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n\n sc.close();\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 k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n int count = 0;\n\n boolean flg = true;\n\n while(flg) {\n count += k;\n\n if(a <= count && count <= b) {\n flg = true;\n break;\n }\n\n if(count > b) {\n flg = false;\n break;\n }\n }\n\n if(flg) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n\n sc.close();\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n int count = 0;\n\n boolean flg = true;\n\n while(flg) {\n count += k;\n\n if(a <= count && count <= b) {\n flg = true;\n break;\n }\n\n if(count > b) {\n flg = false;\n break;\n }\n }\n\n if(flg) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n\n int count = 0;\n\n boolean flg = true;\n\n while(flg) {\n count += k;\n\n if(a <= count && count <= b) {\n flg = true;\n break;\n }\n\n if(count > b) {\n flg = false;\n break;\n }\n }\n\n if(flg) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int count = 0;", "count", "0", "boolean flg = true;", "flg", "true", "while(flg) {\n count += k;\n\n if(a <= count && count <= b) {\n flg = true;\n break;\n }\n\n if(count > b) {\n flg = false;\n break;\n }\n }", "flg", "{\n count += k;\n\n if(a <= count && count <= b) {\n flg = true;\n break;\n }\n\n if(count > b) {\n flg = false;\n break;\n }\n }", "count += k", "count", "k", "if(a <= count && count <= b) {\n flg = true;\n break;\n }", "a <= count && count <= b", "a <= count", "a", "count", "count <= b", "count", "b", "{\n flg = true;\n break;\n }", "flg = true", "flg", "true", "break;", "if(count > b) {\n flg = false;\n break;\n }", "count > b", "count", "b", "{\n flg = false;\n break;\n }", "flg = false", "flg", "false", "break;", "if(flg) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }", "flg", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "sc.close()", "sc.close", "sc", "String[] args", "args" ]
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); int count = 0; boolean flg = true; while(flg) { count += k; if(a <= count && count <= b) { flg = true; break; } if(count > b) { flg = false; break; } } if(flg) { System.out.println("OK"); } else { System.out.println("NG"); } sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 2, 17, 17, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 3, 14, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 2, 13, 13, 2, 17, 17, 41, 13, 13, 0, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 2, 13, 13, 2, 17, 17, 11, 1, 41, 13, 17, 2, 13, 2, 13, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 2, 13, 13, 2, 17, 17, 29, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 0, 13, 2, 17, 17, 29, 2, 13, 2, 17, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 194, 5 ], [ 194, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 8, 10 ], [ 194, 11 ], [ 11, 12 ], [ 11, 13 ], [ 13, 14 ], [ 14, 15 ], [ 14, 16 ], [ 13, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 13, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 13, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 13, 32 ], [ 32, 33 ], [ 32, 34 ], [ 13, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 42, 44 ], [ 35, 45 ], [ 45, 46 ], [ 46, 47 ], [ 35, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 50, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 13, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 61, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 11, 77 ], [ 77, 78 ], [ 194, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 81, 88 ], [ 88, 89 ], [ 88, 90 ], [ 81, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 91, 99 ], [ 99, 100 ], [ 100, 101 ], [ 91, 102 ], [ 103, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 110, 111 ], [ 110, 112 ], [ 81, 113 ], [ 113, 114 ], [ 113, 115 ], [ 81, 116 ], [ 116, 117 ], [ 116, 118 ], [ 81, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 124, 125 ], [ 124, 126 ], [ 119, 127 ], [ 127, 128 ], [ 128, 129 ], [ 119, 130 ], [ 131, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 138, 139 ], [ 138, 140 ], [ 81, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 150, 152 ], [ 141, 153 ], [ 153, 154 ], [ 154, 155 ], [ 141, 156 ], [ 157, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 164, 165 ], [ 164, 166 ], [ 81, 167 ], [ 167, 168 ], [ 79, 169 ], [ 169, 170 ], [ 79, 171 ], [ 171, 172 ], [ 194, 173 ], [ 173, 174 ], [ 173, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 176, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 182, 184 ], [ 175, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 188, 189 ], [ 188, 190 ], [ 173, 191 ], [ 191, 192 ], [ 0, 193 ], [ 193, 194 ], [ 193, 195 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tstatic long bignum = 1000000000+7;\n\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint k = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tboolean flag = false;\n\n\t\tfor(int i=a;i<b+1;i++) {\n\t\t\tif(i%k==0) {\n\t\t\t\tflag=true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif(flag) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\n\t}\n\n\tstatic long divn(int target, int times) {//10_9+7のあまり累乗版\n\t\tint sqtimes = (int)Math.sqrt(times);\n\t\tlong ans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\tlong holder = ans;\n\t\tans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}\n\t\tfor(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\treturn ans;\n\t}\n\n\tstatic long div(long a) {//10_9+7のあまり\n\t\tif(a<0)a+=1000000000+7;\n\t\treturn a%(1000000000+7);\n\t}\n\n}\n/*\nclass City{\n\tint order;\n\tint prefecture;\n\tint year;\n\tint number;\n\tCity(int order,int prefecture, int year){\n\t\tthis.order = order;\n\t\tthis.prefecture = prefecture;\n\t\tthis.year = year;\n\t}\n}\n*/", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tstatic long bignum = 1000000000+7;\n\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint k = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tboolean flag = false;\n\n\t\tfor(int i=a;i<b+1;i++) {\n\t\t\tif(i%k==0) {\n\t\t\t\tflag=true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif(flag) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\n\t}\n\n\tstatic long divn(int target, int times) {//10_9+7のあまり累乗版\n\t\tint sqtimes = (int)Math.sqrt(times);\n\t\tlong ans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\tlong holder = ans;\n\t\tans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}\n\t\tfor(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\treturn ans;\n\t}\n\n\tstatic long div(long a) {//10_9+7のあまり\n\t\tif(a<0)a+=1000000000+7;\n\t\treturn a%(1000000000+7);\n\t}\n\n}", "Main", "static long bignum = 1000000000+7;", "bignum", "1000000000+7", "1000000000", "7", "public static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint k = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tboolean flag = false;\n\n\t\tfor(int i=a;i<b+1;i++) {\n\t\t\tif(i%k==0) {\n\t\t\t\tflag=true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif(flag) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint k = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tboolean flag = false;\n\n\t\tfor(int i=a;i<b+1;i++) {\n\t\t\tif(i%k==0) {\n\t\t\t\tflag=true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif(flag) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "boolean flag = false;", "flag", "false", "for(int i=a;i<b+1;i++) {\n\t\t\tif(i%k==0) {\n\t\t\t\tflag=true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "int i=a;", "int i=a;", "i", "a", "i<b+1", "i", "b+1", "b", "1", "i++", "i++", "i", "{\n\t\t\tif(i%k==0) {\n\t\t\t\tflag=true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "{\n\t\t\tif(i%k==0) {\n\t\t\t\tflag=true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "if(i%k==0) {\n\t\t\t\tflag=true;\n\t\t\t\tbreak;\n\t\t\t}", "i%k==0", "i%k", "i", "k", "0", "{\n\t\t\t\tflag=true;\n\t\t\t\tbreak;\n\t\t\t}", "flag=true", "flag", "true", "break;", "if(flag) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "flag", "{\n\t\t\tSystem.out.println(\"OK\");\n\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "static long divn(int target, int times) {//10_9+7のあまり累乗版\n\t\tint sqtimes = (int)Math.sqrt(times);\n\t\tlong ans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\tlong holder = ans;\n\t\tans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}\n\t\tfor(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\treturn ans;\n\t}", "divn", "{//10_9+7のあまり累乗版\n\t\tint sqtimes = (int)Math.sqrt(times);\n\t\tlong ans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\tlong holder = ans;\n\t\tans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}\n\t\tfor(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\treturn ans;\n\t}", "int sqtimes = (int)Math.sqrt(times);", "sqtimes", "(int)Math.sqrt(times)", "Math.sqrt", "Math", "times", "long ans = 1;", "ans", "1", "for(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}", "int i =0;", "int i =0;", "i", "0", "i<sqtimes", "i", "sqtimes", "i++", "i++", "i", "{\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}", "{\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}", "ans = (ans * target)%(1000000000+7)", "ans", "(ans * target)%(1000000000+7)", "(ans * target)", "ans", "target", "(1000000000+7)", "1000000000", "7", "long holder = ans;", "holder", "ans", "ans = 1", "ans", "1", "for(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}", "int i =0;", "int i =0;", "i", "0", "i<sqtimes", "i", "sqtimes", "i++", "i++", "i", "{\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}", "{\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}", "ans = (ans*holder)%(1000000000+7)", "ans", "(ans*holder)%(1000000000+7)", "(ans*holder)", "ans", "holder", "(1000000000+7)", "1000000000", "7", "for(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<times - sqtimes*sqtimes", "i", "times - sqtimes*sqtimes", "times", "sqtimes*sqtimes", "sqtimes", "sqtimes", "i++", "i++", "i", "{\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}", "{\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}", "ans = (ans * target)%(1000000000+7)", "ans", "(ans * target)%(1000000000+7)", "(ans * target)", "ans", "target", "(1000000000+7)", "1000000000", "7", "return ans;", "ans", "int target", "target", "int times", "times", "static long div(long a) {//10_9+7のあまり\n\t\tif(a<0)a+=1000000000+7;\n\t\treturn a%(1000000000+7);\n\t}", "div", "{//10_9+7のあまり\n\t\tif(a<0)a+=1000000000+7;\n\t\treturn a%(1000000000+7);\n\t}", "if(a<0)a+=1000000000+7;", "a<0", "a", "0", "a+=1000000000+7", "a", "1000000000+7", "1000000000", "7", "return a%(1000000000+7);", "a%(1000000000+7)", "a", "(1000000000+7)", "1000000000", "7", "long a", "a", "public class Main {\n\n\tstatic long bignum = 1000000000+7;\n\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint k = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tboolean flag = false;\n\n\t\tfor(int i=a;i<b+1;i++) {\n\t\t\tif(i%k==0) {\n\t\t\t\tflag=true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif(flag) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\n\t}\n\n\tstatic long divn(int target, int times) {//10_9+7のあまり累乗版\n\t\tint sqtimes = (int)Math.sqrt(times);\n\t\tlong ans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\tlong holder = ans;\n\t\tans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}\n\t\tfor(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\treturn ans;\n\t}\n\n\tstatic long div(long a) {//10_9+7のあまり\n\t\tif(a<0)a+=1000000000+7;\n\t\treturn a%(1000000000+7);\n\t}\n\n}", "public class Main {\n\n\tstatic long bignum = 1000000000+7;\n\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint k = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tboolean flag = false;\n\n\t\tfor(int i=a;i<b+1;i++) {\n\t\t\tif(i%k==0) {\n\t\t\t\tflag=true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif(flag) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\n\t}\n\n\tstatic long divn(int target, int times) {//10_9+7のあまり累乗版\n\t\tint sqtimes = (int)Math.sqrt(times);\n\t\tlong ans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\tlong holder = ans;\n\t\tans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}\n\t\tfor(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\treturn ans;\n\t}\n\n\tstatic long div(long a) {//10_9+7のあまり\n\t\tif(a<0)a+=1000000000+7;\n\t\treturn a%(1000000000+7);\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { static long bignum = 1000000000+7; public static void main(String[] args){ Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); boolean flag = false; for(int i=a;i<b+1;i++) { if(i%k==0) { flag=true; break; } } if(flag) { System.out.println("OK"); }else { System.out.println("NG"); } } static long divn(int target, int times) {//10_9+7のあまり累乗版 int sqtimes = (int)Math.sqrt(times); long ans = 1; for(int i =0;i<sqtimes;i++) { ans = (ans * target)%(1000000000+7); } long holder = ans; ans = 1; for(int i =0;i<sqtimes;i++) { ans = (ans*holder)%(1000000000+7); } for(int i=0;i<times - sqtimes*sqtimes;i++) { ans = (ans * target)%(1000000000+7); } return ans; } static long div(long a) {//10_9+7のあまり if(a<0)a+=1000000000+7; return a%(1000000000+7); } } /* class City{ int order; int prefecture; int year; int number; City(int order,int prefecture, int year){ this.order = order; this.prefecture = prefecture; this.year = year; } } */
[ 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, 18, 13, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 3, 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 ], [ 66, 8 ], [ 66, 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 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 11, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 11, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 9, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ] ]
[ "import java.util.*;\nimport java.math.BigDecimal;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n String ans = \"NG\";\n \n for(int i=a; i<=b; i++){\n if(i%k == 0){\n ans = \"OK\";\n break;\n }\n }\n \n System.out.println(ans);\n }\n}", "import java.util.*;", "util.*", "java", "import java.math.BigDecimal;", "BigDecimal", "java.math", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n String ans = \"NG\";\n \n for(int i=a; i<=b; i++){\n if(i%k == 0){\n ans = \"OK\";\n break;\n }\n }\n \n System.out.println(ans);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n String ans = \"NG\";\n \n for(int i=a; i<=b; i++){\n if(i%k == 0){\n ans = \"OK\";\n break;\n }\n }\n \n System.out.println(ans);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n String ans = \"NG\";\n \n for(int i=a; i<=b; i++){\n if(i%k == 0){\n ans = \"OK\";\n break;\n }\n }\n \n System.out.println(ans);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "String ans = \"NG\";", "ans", "\"NG\"", "for(int i=a; i<=b; i++){\n if(i%k == 0){\n ans = \"OK\";\n break;\n }\n }", "int i=a;", "int i=a;", "i", "a", "i<=b", "i", "b", "i++", "i++", "i", "{\n if(i%k == 0){\n ans = \"OK\";\n break;\n }\n }", "{\n if(i%k == 0){\n ans = \"OK\";\n break;\n }\n }", "if(i%k == 0){\n ans = \"OK\";\n break;\n }", "i%k == 0", "i%k", "i", "k", "0", "{\n ans = \"OK\";\n break;\n }", "ans = \"OK\"", "ans", "\"OK\"", "break;", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n String ans = \"NG\";\n \n for(int i=a; i<=b; i++){\n if(i%k == 0){\n ans = \"OK\";\n break;\n }\n }\n \n System.out.println(ans);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n String ans = \"NG\";\n \n for(int i=a; i<=b; i++){\n if(i%k == 0){\n ans = \"OK\";\n break;\n }\n }\n \n System.out.println(ans);\n }\n}", "Main" ]
import java.util.*; import java.math.BigDecimal; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); String ans = "NG"; for(int i=a; i<=b; i++){ if(i%k == 0){ ans = "OK"; break; } } System.out.println(ans); } }
[ 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, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 2, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 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 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 8, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 55, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 8, 73 ], [ 73, 74 ], [ 74, 75 ], [ 6, 76 ], [ 76, 77 ], [ 0, 78 ], [ 78, 79 ], [ 78, 80 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int K = scan.nextInt();\n int A = scan.nextInt();\n int B = scan.nextInt();\n \tint cnt = 0;\n for(int i=A; i<=B; i++){\n\t\tif(i%K == 0){\n\t\t\tcnt = cnt+1;\n\t\t\t}\n\t\t}\n if (cnt >= 1 ) {\n System.out.println(\"OK\");\n }\n else {\n System.out.println(\"NG\");\n }\n scan.close();\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 K = scan.nextInt();\n int A = scan.nextInt();\n int B = scan.nextInt();\n \tint cnt = 0;\n for(int i=A; i<=B; i++){\n\t\tif(i%K == 0){\n\t\t\tcnt = cnt+1;\n\t\t\t}\n\t\t}\n if (cnt >= 1 ) {\n System.out.println(\"OK\");\n }\n else {\n System.out.println(\"NG\");\n }\n scan.close();\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int K = scan.nextInt();\n int A = scan.nextInt();\n int B = scan.nextInt();\n \tint cnt = 0;\n for(int i=A; i<=B; i++){\n\t\tif(i%K == 0){\n\t\t\tcnt = cnt+1;\n\t\t\t}\n\t\t}\n if (cnt >= 1 ) {\n System.out.println(\"OK\");\n }\n else {\n System.out.println(\"NG\");\n }\n scan.close();\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int K = scan.nextInt();\n int A = scan.nextInt();\n int B = scan.nextInt();\n \tint cnt = 0;\n for(int i=A; i<=B; i++){\n\t\tif(i%K == 0){\n\t\t\tcnt = cnt+1;\n\t\t\t}\n\t\t}\n if (cnt >= 1 ) {\n System.out.println(\"OK\");\n }\n else {\n System.out.println(\"NG\");\n }\n scan.close();\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int K = scan.nextInt();", "K", "scan.nextInt()", "scan.nextInt", "scan", "int A = scan.nextInt();", "A", "scan.nextInt()", "scan.nextInt", "scan", "int B = scan.nextInt();", "B", "scan.nextInt()", "scan.nextInt", "scan", "int cnt = 0;", "cnt", "0", "for(int i=A; i<=B; i++){\n\t\tif(i%K == 0){\n\t\t\tcnt = cnt+1;\n\t\t\t}\n\t\t}", "int i=A;", "int i=A;", "i", "A", "i<=B", "i", "B", "i++", "i++", "i", "{\n\t\tif(i%K == 0){\n\t\t\tcnt = cnt+1;\n\t\t\t}\n\t\t}", "{\n\t\tif(i%K == 0){\n\t\t\tcnt = cnt+1;\n\t\t\t}\n\t\t}", "if(i%K == 0){\n\t\t\tcnt = cnt+1;\n\t\t\t}", "i%K == 0", "i%K", "i", "K", "0", "{\n\t\t\tcnt = cnt+1;\n\t\t\t}", "cnt = cnt+1", "cnt", "cnt+1", "cnt", "1", "if (cnt >= 1 ) {\n System.out.println(\"OK\");\n }\n else {\n System.out.println(\"NG\");\n }", "cnt >= 1", "cnt", "1", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int K = scan.nextInt();\n int A = scan.nextInt();\n int B = scan.nextInt();\n \tint cnt = 0;\n for(int i=A; i<=B; i++){\n\t\tif(i%K == 0){\n\t\t\tcnt = cnt+1;\n\t\t\t}\n\t\t}\n if (cnt >= 1 ) {\n System.out.println(\"OK\");\n }\n else {\n System.out.println(\"NG\");\n }\n scan.close();\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int K = scan.nextInt();\n int A = scan.nextInt();\n int B = scan.nextInt();\n \tint cnt = 0;\n for(int i=A; i<=B; i++){\n\t\tif(i%K == 0){\n\t\t\tcnt = cnt+1;\n\t\t\t}\n\t\t}\n if (cnt >= 1 ) {\n System.out.println(\"OK\");\n }\n else {\n System.out.println(\"NG\");\n }\n scan.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int K = scan.nextInt(); int A = scan.nextInt(); int B = scan.nextInt(); int cnt = 0; for(int i=A; i<=B; i++){ if(i%K == 0){ cnt = cnt+1; } } if (cnt >= 1 ) { System.out.println("OK"); } else { System.out.println("NG"); } scan.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 41, 13, 41, 13, 2, 17, 17, 12, 13, 30, 0, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 2, 13, 13, 13, 14, 2, 13, 13, 0, 13, 13, 4, 18, 13, 8, 2, 13, 13, 17, 17, 4, 18, 13, 23, 13, 6, 13, 41, 13, 2, 17, 17, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 4, 18, 13, 13, 29, 36, 23, 13, 12, 13, 30, 4, 18, 13, 4, 18, 13, 13, 13, 29, 36, 23, 13, 23, 13, 12, 13, 30, 28, 13, 13, 30, 30, 4, 18, 4, 18, 13, 13, 17, 4, 18, 13, 17, 29, 36, 23, 13, 12, 13, 30, 4, 18, 4, 18, 13, 13, 17, 29, 36, 23, 13, 12, 13, 30, 41, 13, 20, 4, 18, 13, 4, 18, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 6, 13, 41, 13, 18, 13, 13, 41, 13, 20, 17, 41, 13, 17, 41, 13, 17, 12, 13, 30, 12, 13, 30, 41, 13, 20, 0, 13, 20, 23, 13, 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, 29, 18, 13, 40, 13, 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, 40, 13, 29, 4, 13, 12, 13, 30, 14, 40, 4, 13, 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, 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, 2, 13, 40, 17, 40, 4, 13, 13, 2, 13, 17, 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, 37, 20, 29, 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, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 20, 29, 13, 23, 13, 12, 13, 30, 0, 13, 4, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 13, 41, 13, 4, 13, 4, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 580, 8 ], [ 580, 9 ], [ 9, 10 ], [ 9, 11 ], [ 580, 12 ], [ 12, 13 ], [ 580, 14 ], [ 14, 15 ], [ 580, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 18, 20 ], [ 580, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 23, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 23, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 23, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 23, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 53, 55 ], [ 23, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 59, 64 ], [ 23, 65 ], [ 65, 66 ], [ 66, 67 ], [ 21, 68 ], [ 68, 69 ], [ 580, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 70, 77 ], [ 77, 78 ], [ 70, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 70, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 87, 92 ], [ 92, 93 ], [ 85, 94 ], [ 94, 95 ], [ 70, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 102, 106 ], [ 98, 107 ], [ 107, 108 ], [ 96, 109 ], [ 109, 110 ], [ 96, 111 ], [ 111, 112 ], [ 70, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 116, 119 ], [ 120, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 123, 126 ], [ 121, 127 ], [ 115, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 115, 132 ], [ 132, 133 ], [ 113, 134 ], [ 134, 135 ], [ 70, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 141, 144 ], [ 139, 145 ], [ 138, 146 ], [ 146, 147 ], [ 136, 148 ], [ 148, 149 ], [ 70, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 152, 156 ], [ 156, 157 ], [ 157, 158 ], [ 156, 159 ], [ 159, 160 ], [ 160, 161 ], [ 152, 162 ], [ 162, 163 ], [ 163, 164 ], [ 150, 165 ], [ 165, 166 ], [ 70, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 170, 175 ], [ 580, 176 ], [ 176, 177 ], [ 176, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 180, 182 ], [ 176, 183 ], [ 183, 184 ], [ 183, 185 ], [ 176, 187 ], [ 187, 188 ], [ 187, 189 ], [ 176, 190 ], [ 190, 191 ], [ 190, 192 ], [ 176, 193 ], [ 193, 194 ], [ 193, 195 ], [ 176, 196 ], [ 196, 197 ], [ 196, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 202 ], [ 202, 203 ], [ 202, 204 ], [ 196, 205 ], [ 205, 206 ], [ 176, 207 ], [ 207, 208 ], [ 207, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 210, 214 ], [ 214, 215 ], [ 215, 216 ], [ 210, 217 ], [ 217, 218 ], [ 218, 219 ], [ 218, 220 ], [ 217, 221 ], [ 221, 222 ], [ 222, 223 ], [ 222, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 221, 228 ], [ 228, 229 ], [ 229, 230 ], [ 229, 231 ], [ 231, 232 ], [ 232, 233 ], [ 231, 234 ], [ 217, 235 ], [ 235, 236 ], [ 236, 237 ], [ 236, 238 ], [ 235, 239 ], [ 239, 240 ], [ 240, 241 ], [ 209, 242 ], [ 242, 243 ], [ 176, 244 ], [ 244, 245 ], [ 244, 246 ], [ 246, 247 ], [ 247, 248 ], [ 248, 249 ], [ 247, 250 ], [ 250, 251 ], [ 251, 252 ], [ 251, 253 ], [ 253, 254 ], [ 247, 255 ], [ 255, 256 ], [ 256, 257 ], [ 176, 258 ], [ 258, 259 ], [ 258, 260 ], [ 260, 261 ], [ 261, 262 ], [ 262, 263 ], [ 263, 264 ], [ 263, 265 ], [ 262, 266 ], [ 266, 267 ], [ 266, 268 ], [ 258, 269 ], [ 269, 270 ], [ 176, 271 ], [ 271, 272 ], [ 271, 273 ], [ 273, 274 ], [ 274, 275 ], [ 275, 276 ], [ 276, 277 ], [ 275, 278 ], [ 278, 279 ], [ 279, 280 ], [ 279, 281 ], [ 281, 282 ], [ 281, 283 ], [ 274, 284 ], [ 284, 285 ], [ 273, 286 ], [ 286, 287 ], [ 287, 288 ], [ 176, 289 ], [ 289, 290 ], [ 289, 291 ], [ 291, 292 ], [ 292, 293 ], [ 293, 294 ], [ 294, 295 ], [ 292, 296 ], [ 296, 297 ], [ 291, 298 ], [ 298, 299 ], [ 298, 300 ], [ 291, 301 ], [ 301, 302 ], [ 301, 303 ], [ 303, 304 ], [ 291, 305 ], [ 305, 306 ], [ 306, 307 ], [ 306, 308 ], [ 305, 309 ], [ 309, 310 ], [ 310, 311 ], [ 311, 312 ], [ 310, 313 ], [ 309, 314 ], [ 314, 315 ], [ 314, 316 ], [ 316, 317 ], [ 291, 318 ], [ 318, 319 ], [ 319, 320 ], [ 320, 321 ], [ 176, 322 ], [ 322, 323 ], [ 322, 324 ], [ 324, 325 ], [ 325, 326 ], [ 326, 327 ], [ 327, 328 ], [ 325, 329 ], [ 329, 330 ], [ 324, 331 ], [ 331, 332 ], [ 331, 333 ], [ 324, 334 ], [ 334, 335 ], [ 334, 336 ], [ 324, 337 ], [ 337, 338 ], [ 337, 339 ], [ 339, 340 ], [ 324, 341 ], [ 341, 342 ], [ 342, 343 ], [ 342, 344 ], [ 341, 345 ], [ 345, 346 ], [ 346, 347 ], [ 346, 348 ], [ 345, 349 ], [ 349, 350 ], [ 349, 351 ], [ 351, 352 ], [ 324, 353 ], [ 353, 354 ], [ 354, 355 ], [ 355, 356 ], [ 355, 357 ], [ 354, 358 ], [ 358, 359 ], [ 358, 360 ], [ 353, 361 ], [ 361, 362 ], [ 362, 363 ], [ 324, 364 ], [ 364, 365 ], [ 364, 366 ], [ 366, 367 ], [ 367, 368 ], [ 368, 369 ], [ 369, 370 ], [ 369, 371 ], [ 368, 372 ], [ 372, 373 ], [ 372, 374 ], [ 367, 375 ], [ 375, 376 ], [ 376, 377 ], [ 376, 378 ], [ 375, 379 ], [ 379, 380 ], [ 379, 381 ], [ 381, 382 ], [ 381, 383 ], [ 367, 384 ], [ 384, 385 ], [ 386, 386 ], [ 386, 387 ], [ 387, 388 ], [ 387, 389 ], [ 389, 390 ], [ 386, 391 ], [ 391, 392 ], [ 392, 393 ], [ 392, 394 ], [ 386, 395 ], [ 395, 396 ], [ 395, 397 ], [ 384, 398 ], [ 398, 399 ], [ 399, 400 ], [ 400, 401 ], [ 400, 402 ], [ 402, 403 ], [ 400, 404 ], [ 384, 405 ], [ 405, 406 ], [ 406, 407 ], [ 366, 408 ], [ 408, 409 ], [ 408, 410 ], [ 410, 411 ], [ 176, 412 ], [ 412, 413 ], [ 412, 414 ], [ 414, 415 ], [ 415, 416 ], [ 415, 417 ], [ 417, 418 ], [ 414, 419 ], [ 419, 420 ], [ 420, 421 ], [ 421, 422 ], [ 421, 423 ], [ 423, 424 ], [ 423, 425 ], [ 420, 426 ], [ 426, 427 ], [ 426, 428 ], [ 428, 429 ], [ 428, 430 ], [ 419, 431 ], [ 431, 432 ], [ 414, 433 ], [ 433, 434 ], [ 176, 435 ], [ 435, 436 ], [ 435, 437 ], [ 437, 438 ], [ 438, 439 ], [ 439, 440 ], [ 440, 441 ], [ 439, 442 ], [ 442, 443 ], [ 176, 444 ], [ 444, 445 ], [ 444, 446 ], [ 446, 447 ], [ 447, 448 ], [ 447, 449 ], [ 446, 451 ], [ 451, 452 ], [ 452, 453 ], [ 453, 454 ], [ 453, 455 ], [ 451, 456 ], [ 456, 457 ], [ 456, 458 ], [ 451, 459 ], [ 459, 460 ], [ 460, 461 ], [ 451, 462 ], [ 462, 463 ], [ 463, 464 ], [ 464, 465 ], [ 464, 466 ], [ 463, 467 ], [ 467, 468 ], [ 446, 469 ], [ 469, 470 ], [ 444, 471 ], [ 471, 472 ], [ 176, 473 ], [ 473, 474 ], [ 473, 475 ], [ 475, 476 ], [ 476, 477 ], [ 476, 478 ], [ 475, 480 ], [ 480, 481 ], [ 481, 482 ], [ 482, 483 ], [ 482, 484 ], [ 480, 485 ], [ 485, 486 ], [ 485, 487 ], [ 480, 488 ], [ 488, 489 ], [ 489, 490 ], [ 480, 491 ], [ 491, 492 ], [ 492, 493 ], [ 493, 494 ], [ 493, 495 ], [ 492, 496 ], [ 496, 497 ], [ 475, 498 ], [ 498, 499 ], [ 473, 500 ], [ 500, 501 ], [ 176, 502 ], [ 502, 503 ], [ 502, 504 ], [ 504, 505 ], [ 505, 506 ], [ 505, 507 ], [ 508, 509 ], [ 508, 510 ], [ 504, 511 ], [ 511, 512 ], [ 512, 513 ], [ 513, 514 ], [ 513, 515 ], [ 511, 516 ], [ 516, 517 ], [ 516, 518 ], [ 511, 519 ], [ 519, 520 ], [ 520, 521 ], [ 511, 522 ], [ 522, 523 ], [ 523, 524 ], [ 524, 525 ], [ 524, 526 ], [ 523, 527 ], [ 504, 528 ], [ 528, 529 ], [ 502, 530 ], [ 530, 531 ], [ 176, 532 ], [ 532, 533 ], [ 532, 534 ], [ 534, 535 ], [ 535, 536 ], [ 535, 537 ], [ 537, 538 ], [ 537, 539 ], [ 534, 540 ], [ 540, 541 ], [ 541, 542 ], [ 542, 543 ], [ 542, 544 ], [ 540, 545 ], [ 545, 546 ], [ 545, 547 ], [ 540, 548 ], [ 548, 549 ], [ 549, 550 ], [ 540, 551 ], [ 552, 552 ], [ 552, 553 ], [ 553, 554 ], [ 553, 555 ], [ 555, 556 ], [ 552, 557 ], [ 557, 558 ], [ 557, 559 ], [ 559, 560 ], [ 552, 561 ], [ 561, 562 ], [ 562, 563 ], [ 563, 564 ], [ 563, 565 ], [ 561, 566 ], [ 552, 567 ], [ 567, 568 ], [ 568, 569 ], [ 569, 570 ], [ 569, 571 ], [ 567, 572 ], [ 534, 573 ], [ 573, 574 ], [ 532, 575 ], [ 575, 576 ], [ 532, 577 ], [ 577, 578 ], [ 0, 579 ], [ 579, 580 ], [ 579, 581 ] ]
[ "/*\n Author: Anthony Ngene\n Created: 08/08/2020 - 05:53\n*/\n\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n // You miss 100% of the shots you don't take. - Wayne Gretzky\npublic static void main(String[] args) throws IOException {\n in = new FastScanner();\n\n int n = in.intNext(), a = in.intNext(), b = in.intNext();\n int div = (a / n) * n;\n if (div < a) div += n;\n out.println((div <= b) ? \"OK\" : \"NG\");\n\n out.close();\n}\n\n\n\nprivate static final FastWriter out = new FastWriter();\nprivate static FastScanner in;\nstatic ArrayList<Integer>[] adj;\nprivate static long e97 = (long)1e9 + 7;\nstatic class FastWriter {\n private static final int IO_BUFFERS = 128 * 1024;\n private final StringBuilder out;\n public FastWriter() {\n out = new StringBuilder(IO_BUFFERS);\n }\n public FastWriter p(Object object) {\n out.append(object);\n return this;\n }\n public FastWriter p(String format, Object... args) {\n out.append(String.format(format, args));\n return this;\n }\n public FastWriter pp(Object... args) {\n for (Object ob : args) {\n out.append(ob).append(\" \");\n }\n out.append(\"\\n\");\n return this;\n }\n public FastWriter println(Object object) {\n out.append(object).append(\"\\n\");\n return this;\n }\n public void toFile(String fileName) throws IOException {\n BufferedWriter writer = new BufferedWriter(new FileWriter(fileName));\n writer.write(out.toString());\n writer.close();\n }\n public void close() throws IOException {\n System.out.print(out);\n }\n}\nstatic class FastScanner {\n private InputStream sin = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n public FastScanner(){}\n public FastScanner(String filename) throws FileNotFoundException {\n File file = new File(filename);\n sin = new FileInputStream(file);\n }\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = sin.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\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 public long longNext() {\n if (!hasNext()) throw new NoSuchElementException();\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) || b == ':'){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n public int intNext() {\n long nl = longNext();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n public double doubleNext() { return Double.parseDouble(next());}\n public long[] nextLongArray(final int n){\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = longNext();\n return a;\n }\n public int[] nextIntArray(final int n){\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = intNext();\n return a;\n }\n public ArrayList<Integer>[] getAdj(int n) {\n ArrayList<Integer>[] adj = new ArrayList[n + 1];\n for (int i = 1; i <= n; i++) adj[i] = new ArrayList<>();\n return adj;\n }\n\n public ArrayList<Integer>[] adjacencyList(int n, int m) throws IOException {\n adj = getAdj(n);\n for (int i = 0; i < m; i++) {\n int a = intNext(), b = intNext();\n adj[a].add(b);\n adj[b].add(a);\n }\n return adj;\n }\n}\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n // You miss 100% of the shots you don't take. - Wayne Gretzky\npublic static void main(String[] args) throws IOException {\n in = new FastScanner();\n\n int n = in.intNext(), a = in.intNext(), b = in.intNext();\n int div = (a / n) * n;\n if (div < a) div += n;\n out.println((div <= b) ? \"OK\" : \"NG\");\n\n out.close();\n}\n\n\n\nprivate static final FastWriter out = new FastWriter();\nprivate static FastScanner in;\nstatic ArrayList<Integer>[] adj;\nprivate static long e97 = (long)1e9 + 7;\nstatic class FastWriter {\n private static final int IO_BUFFERS = 128 * 1024;\n private final StringBuilder out;\n public FastWriter() {\n out = new StringBuilder(IO_BUFFERS);\n }\n public FastWriter p(Object object) {\n out.append(object);\n return this;\n }\n public FastWriter p(String format, Object... args) {\n out.append(String.format(format, args));\n return this;\n }\n public FastWriter pp(Object... args) {\n for (Object ob : args) {\n out.append(ob).append(\" \");\n }\n out.append(\"\\n\");\n return this;\n }\n public FastWriter println(Object object) {\n out.append(object).append(\"\\n\");\n return this;\n }\n public void toFile(String fileName) throws IOException {\n BufferedWriter writer = new BufferedWriter(new FileWriter(fileName));\n writer.write(out.toString());\n writer.close();\n }\n public void close() throws IOException {\n System.out.print(out);\n }\n}\nstatic class FastScanner {\n private InputStream sin = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n public FastScanner(){}\n public FastScanner(String filename) throws FileNotFoundException {\n File file = new File(filename);\n sin = new FileInputStream(file);\n }\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = sin.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\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 public long longNext() {\n if (!hasNext()) throw new NoSuchElementException();\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) || b == ':'){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n public int intNext() {\n long nl = longNext();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n public double doubleNext() { return Double.parseDouble(next());}\n public long[] nextLongArray(final int n){\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = longNext();\n return a;\n }\n public int[] nextIntArray(final int n){\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = intNext();\n return a;\n }\n public ArrayList<Integer>[] getAdj(int n) {\n ArrayList<Integer>[] adj = new ArrayList[n + 1];\n for (int i = 1; i <= n; i++) adj[i] = new ArrayList<>();\n return adj;\n }\n\n public ArrayList<Integer>[] adjacencyList(int n, int m) throws IOException {\n adj = getAdj(n);\n for (int i = 0; i < m; i++) {\n int a = intNext(), b = intNext();\n adj[a].add(b);\n adj[b].add(a);\n }\n return adj;\n }\n}\n}", "Main", "private static final FastWriter out = new FastWriter();", "out", "new FastWriter()", "private static FastScanner in;", "in", "static ArrayList<Integer>[] adj;", "adj", "private static long e97 = (long)1e9 + 7;", "e97", "(long)1e9 + 7", "(long)1e9", "7", "// You miss 100% of the shots you don't take. - Wayne Gretzky\npublic static void main(String[] args) throws IOException {\n in = new FastScanner();\n\n int n = in.intNext(), a = in.intNext(), b = in.intNext();\n int div = (a / n) * n;\n if (div < a) div += n;\n out.println((div <= b) ? \"OK\" : \"NG\");\n\n out.close();\n}", "main", "{\n in = new FastScanner();\n\n int n = in.intNext(), a = in.intNext(), b = in.intNext();\n int div = (a / n) * n;\n if (div < a) div += n;\n out.println((div <= b) ? \"OK\" : \"NG\");\n\n out.close();\n}", "in = new FastScanner()", "in", "new FastScanner()", "int n = in.intNext()", "n", "in.intNext()", "in.intNext", "in", "a = in.intNext()", "a", "in.intNext()", "in.intNext", "in", "b = in.intNext();", "b", "in.intNext()", "in.intNext", "in", "int div = (a / n) * n;", "div", "(a / n) * n", "(a / n)", "a", "n", "n", "if (div < a) div += n;", "div < a", "div", "a", "div += n", "div", "n", "out.println((div <= b) ? \"OK\" : \"NG\")", "out.println", "out", "(div <= b) ? \"OK\" : \"NG\"", "(div <= b)", "div", "b", "\"OK\"", "\"NG\"", "out.close()", "out.close", "out", "String[] args", "args", "static class FastWriter {\n private static final int IO_BUFFERS = 128 * 1024;\n private final StringBuilder out;\n public FastWriter() {\n out = new StringBuilder(IO_BUFFERS);\n }\n public FastWriter p(Object object) {\n out.append(object);\n return this;\n }\n public FastWriter p(String format, Object... args) {\n out.append(String.format(format, args));\n return this;\n }\n public FastWriter pp(Object... args) {\n for (Object ob : args) {\n out.append(ob).append(\" \");\n }\n out.append(\"\\n\");\n return this;\n }\n public FastWriter println(Object object) {\n out.append(object).append(\"\\n\");\n return this;\n }\n public void toFile(String fileName) throws IOException {\n BufferedWriter writer = new BufferedWriter(new FileWriter(fileName));\n writer.write(out.toString());\n writer.close();\n }\n public void close() throws IOException {\n System.out.print(out);\n }\n}", "FastWriter", "private static final int IO_BUFFERS = 128 * 1024;", "IO_BUFFERS", "128 * 1024", "128", "1024", "private final StringBuilder out;", "out", "public FastWriter() {\n out = new StringBuilder(IO_BUFFERS);\n }", "FastWriter", "{\n out = new StringBuilder(IO_BUFFERS);\n }", "out = new StringBuilder(IO_BUFFERS)", "out", "new StringBuilder(IO_BUFFERS)", "public FastWriter p(Object object) {\n out.append(object);\n return this;\n }", "p", "{\n out.append(object);\n return this;\n }", "out.append(object)", "out.append", "out", "object", "return this;", "this", "Object object", "object", "public FastWriter p(String format, Object... args) {\n out.append(String.format(format, args));\n return this;\n }", "p", "{\n out.append(String.format(format, args));\n return this;\n }", "out.append(String.format(format, args))", "out.append", "out", "String.format(format, args)", "String.format", "String", "format", "args", "return this;", "this", "String format", "format", "Object... args", "args", "public FastWriter pp(Object... args) {\n for (Object ob : args) {\n out.append(ob).append(\" \");\n }\n out.append(\"\\n\");\n return this;\n }", "pp", "{\n for (Object ob : args) {\n out.append(ob).append(\" \");\n }\n out.append(\"\\n\");\n return this;\n }", "for (Object ob : args) {\n out.append(ob).append(\" \");\n }", "Object ob", "args", "{\n out.append(ob).append(\" \");\n }", "{\n out.append(ob).append(\" \");\n }", "out.append(ob).append(\" \")", "out.append(ob).append", "out.append(ob)", "out.append", "out", "ob", "\" \"", "out.append(\"\\n\")", "out.append", "out", "\"\\n\"", "return this;", "this", "Object... args", "args", "public FastWriter println(Object object) {\n out.append(object).append(\"\\n\");\n return this;\n }", "println", "{\n out.append(object).append(\"\\n\");\n return this;\n }", "out.append(object).append(\"\\n\")", "out.append(object).append", "out.append(object)", "out.append", "out", "object", "\"\\n\"", "return this;", "this", "Object object", "object", "public void toFile(String fileName) throws IOException {\n BufferedWriter writer = new BufferedWriter(new FileWriter(fileName));\n writer.write(out.toString());\n writer.close();\n }", "toFile", "{\n BufferedWriter writer = new BufferedWriter(new FileWriter(fileName));\n writer.write(out.toString());\n writer.close();\n }", "BufferedWriter writer = new BufferedWriter(new FileWriter(fileName));", "writer", "new BufferedWriter(new FileWriter(fileName))", "writer.write(out.toString())", "writer.write", "writer", "out.toString()", "out.toString", "out", "writer.close()", "writer.close", "writer", "String fileName", "fileName", "public void close() throws IOException {\n System.out.print(out);\n }", "close", "{\n System.out.print(out);\n }", "System.out.print(out)", "System.out.print", "System.out", "System", "System.out", "out", "static class FastScanner {\n private InputStream sin = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n public FastScanner(){}\n public FastScanner(String filename) throws FileNotFoundException {\n File file = new File(filename);\n sin = new FileInputStream(file);\n }\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = sin.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\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 public long longNext() {\n if (!hasNext()) throw new NoSuchElementException();\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) || b == ':'){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n public int intNext() {\n long nl = longNext();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n public double doubleNext() { return Double.parseDouble(next());}\n public long[] nextLongArray(final int n){\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = longNext();\n return a;\n }\n public int[] nextIntArray(final int n){\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = intNext();\n return a;\n }\n public ArrayList<Integer>[] getAdj(int n) {\n ArrayList<Integer>[] adj = new ArrayList[n + 1];\n for (int i = 1; i <= n; i++) adj[i] = new ArrayList<>();\n return adj;\n }\n\n public ArrayList<Integer>[] adjacencyList(int n, int m) throws IOException {\n adj = getAdj(n);\n for (int i = 0; i < m; i++) {\n int a = intNext(), b = intNext();\n adj[a].add(b);\n adj[b].add(a);\n }\n return adj;\n }\n}", "FastScanner", "private InputStream sin = System.in;", "sin", "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", "public FastScanner(){}", "FastScanner", "{}", "public FastScanner(String filename) throws FileNotFoundException {\n File file = new File(filename);\n sin = new FileInputStream(file);\n }", "FastScanner", "{\n File file = new File(filename);\n sin = new FileInputStream(file);\n }", "File file = new File(filename);", "file", "new File(filename)", "sin = new FileInputStream(file)", "sin", "new FileInputStream(file)", "String filename", "filename", "private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = sin.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 = sin.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 = sin.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 = sin.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 = sin.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 = sin.read(buffer);\n }", "buflen = sin.read(buffer)", "buflen", "sin.read(buffer)", "sin.read", "sin", "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() { if (hasNextByte()) return buffer[ptr++]; else return -1;}", "readByte", "{ if (hasNextByte()) return buffer[ptr++]; else return -1;}", "if (hasNextByte()) return buffer[ptr++]; else return -1;", "hasNextByte()", "hasNextByte", "return buffer[ptr++];", "buffer[ptr++]", "buffer", "ptr++", "ptr", "return -1;", "-1", "1", "private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}", "isPrintableChar", "{ return 33 <= c && c <= 126;}", "return 33 <= c && c <= 126;", "33 <= c && c <= 126", "33 <= c", "33", "c", "c <= 126", "c", "126", "int c", "c", "public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}", "hasNext", "{ while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}", "while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;", "hasNextByte() && !isPrintableChar(buffer[ptr])", "hasNextByte()", "hasNextByte", "!isPrintableChar(buffer[ptr])", "isPrintableChar(buffer[ptr])", "isPrintableChar", "buffer[ptr]", "buffer", "ptr", "ptr++", "ptr", "return hasNextByte();", "hasNextByte()", "hasNextByte", "public String next() {\n if (!hasNext()) throw new NoSuchElementException();\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()) throw new NoSuchElementException();\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()) throw new NoSuchElementException();", "!hasNext()", "hasNext()", "hasNext", "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 longNext() {\n if (!hasNext()) throw new NoSuchElementException();\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) || b == ':'){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }", "longNext", "{\n if (!hasNext()) throw new NoSuchElementException();\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) || b == ':'){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }", "if (!hasNext()) throw new NoSuchElementException();", "!hasNext()", "hasNext()", "hasNext", "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) || 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) || 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) || 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) || b == ':'){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }", "b == -1 || !isPrintableChar(b) || b == ':'", "b == -1 || !isPrintableChar(b) || b == ':'", "b == -1", "b", "-1", "1", "!isPrintableChar(b)", "isPrintableChar(b)", "isPrintableChar", "b", "b == ':'", "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 intNext() {\n long nl = longNext();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }", "intNext", "{\n long nl = longNext();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }", "long nl = longNext();", "nl", "longNext()", "longNext", "if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();", "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", "throw new NumberFormatException();", "new NumberFormatException()", "return (int) nl;", "(int) nl", "public double doubleNext() { return Double.parseDouble(next());}", "doubleNext", "{ return Double.parseDouble(next());}", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "public long[] nextLongArray(final int n){\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = longNext();\n return a;\n }", "nextLongArray", "{\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = longNext();\n return a;\n }", "final long[] a = new long[n];", "a", "new long[n]", "n", "for (int i = 0; i < n; i++)\n a[i] = longNext();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = longNext();", "a[i] = longNext()", "a[i]", "a", "i", "longNext()", "longNext", "return a;", "a", "final int n", "n", "public int[] nextIntArray(final int n){\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = intNext();\n return a;\n }", "nextIntArray", "{\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = intNext();\n return a;\n }", "final int[] a = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++)\n a[i] = intNext();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = intNext();", "a[i] = intNext()", "a[i]", "a", "i", "intNext()", "intNext", "return a;", "a", "final int n", "n", "public ArrayList<Integer>[] getAdj(int n) {\n ArrayList<Integer>[] adj = new ArrayList[n + 1];\n for (int i = 1; i <= n; i++) adj[i] = new ArrayList<>();\n return adj;\n }", "getAdj", "{\n ArrayList<Integer>[] adj = new ArrayList[n + 1];\n for (int i = 1; i <= n; i++) adj[i] = new ArrayList<>();\n return adj;\n }", "ArrayList<Integer>[] adj = new ArrayList[n + 1];", "adj", "new ArrayList[n + 1]", "n + 1", "n", "1", "for (int i = 1; i <= n; i++) adj[i] = new ArrayList<>();", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "adj[i] = new ArrayList<>();", "adj[i] = new ArrayList<>()", "adj[i]", "adj", "i", "new ArrayList<>()", "return adj;", "adj", "int n", "n", "public ArrayList<Integer>[] adjacencyList(int n, int m) throws IOException {\n adj = getAdj(n);\n for (int i = 0; i < m; i++) {\n int a = intNext(), b = intNext();\n adj[a].add(b);\n adj[b].add(a);\n }\n return adj;\n }", "adjacencyList", "{\n adj = getAdj(n);\n for (int i = 0; i < m; i++) {\n int a = intNext(), b = intNext();\n adj[a].add(b);\n adj[b].add(a);\n }\n return adj;\n }", "adj = getAdj(n)", "adj", "getAdj(n)", "getAdj", "n", "for (int i = 0; i < m; i++) {\n int a = intNext(), b = intNext();\n adj[a].add(b);\n adj[b].add(a);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n int a = intNext(), b = intNext();\n adj[a].add(b);\n adj[b].add(a);\n }", "{\n int a = intNext(), b = intNext();\n adj[a].add(b);\n adj[b].add(a);\n }", "int a = intNext()", "a", "intNext()", "intNext", "b = intNext();", "b", "intNext()", "intNext", "adj[a].add(b)", "adj[a].add", "adj[a]", "adj", "a", "b", "adj[b].add(a)", "adj[b].add", "adj[b]", "adj", "b", "a", "return adj;", "adj", "int n", "n", "int m", "m", "public class Main {\n // You miss 100% of the shots you don't take. - Wayne Gretzky\npublic static void main(String[] args) throws IOException {\n in = new FastScanner();\n\n int n = in.intNext(), a = in.intNext(), b = in.intNext();\n int div = (a / n) * n;\n if (div < a) div += n;\n out.println((div <= b) ? \"OK\" : \"NG\");\n\n out.close();\n}\n\n\n\nprivate static final FastWriter out = new FastWriter();\nprivate static FastScanner in;\nstatic ArrayList<Integer>[] adj;\nprivate static long e97 = (long)1e9 + 7;\nstatic class FastWriter {\n private static final int IO_BUFFERS = 128 * 1024;\n private final StringBuilder out;\n public FastWriter() {\n out = new StringBuilder(IO_BUFFERS);\n }\n public FastWriter p(Object object) {\n out.append(object);\n return this;\n }\n public FastWriter p(String format, Object... args) {\n out.append(String.format(format, args));\n return this;\n }\n public FastWriter pp(Object... args) {\n for (Object ob : args) {\n out.append(ob).append(\" \");\n }\n out.append(\"\\n\");\n return this;\n }\n public FastWriter println(Object object) {\n out.append(object).append(\"\\n\");\n return this;\n }\n public void toFile(String fileName) throws IOException {\n BufferedWriter writer = new BufferedWriter(new FileWriter(fileName));\n writer.write(out.toString());\n writer.close();\n }\n public void close() throws IOException {\n System.out.print(out);\n }\n}\nstatic class FastScanner {\n private InputStream sin = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n public FastScanner(){}\n public FastScanner(String filename) throws FileNotFoundException {\n File file = new File(filename);\n sin = new FileInputStream(file);\n }\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = sin.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\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 public long longNext() {\n if (!hasNext()) throw new NoSuchElementException();\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) || b == ':'){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n public int intNext() {\n long nl = longNext();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n public double doubleNext() { return Double.parseDouble(next());}\n public long[] nextLongArray(final int n){\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = longNext();\n return a;\n }\n public int[] nextIntArray(final int n){\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = intNext();\n return a;\n }\n public ArrayList<Integer>[] getAdj(int n) {\n ArrayList<Integer>[] adj = new ArrayList[n + 1];\n for (int i = 1; i <= n; i++) adj[i] = new ArrayList<>();\n return adj;\n }\n\n public ArrayList<Integer>[] adjacencyList(int n, int m) throws IOException {\n adj = getAdj(n);\n for (int i = 0; i < m; i++) {\n int a = intNext(), b = intNext();\n adj[a].add(b);\n adj[b].add(a);\n }\n return adj;\n }\n}\n}", "public class Main {\n // You miss 100% of the shots you don't take. - Wayne Gretzky\npublic static void main(String[] args) throws IOException {\n in = new FastScanner();\n\n int n = in.intNext(), a = in.intNext(), b = in.intNext();\n int div = (a / n) * n;\n if (div < a) div += n;\n out.println((div <= b) ? \"OK\" : \"NG\");\n\n out.close();\n}\n\n\n\nprivate static final FastWriter out = new FastWriter();\nprivate static FastScanner in;\nstatic ArrayList<Integer>[] adj;\nprivate static long e97 = (long)1e9 + 7;\nstatic class FastWriter {\n private static final int IO_BUFFERS = 128 * 1024;\n private final StringBuilder out;\n public FastWriter() {\n out = new StringBuilder(IO_BUFFERS);\n }\n public FastWriter p(Object object) {\n out.append(object);\n return this;\n }\n public FastWriter p(String format, Object... args) {\n out.append(String.format(format, args));\n return this;\n }\n public FastWriter pp(Object... args) {\n for (Object ob : args) {\n out.append(ob).append(\" \");\n }\n out.append(\"\\n\");\n return this;\n }\n public FastWriter println(Object object) {\n out.append(object).append(\"\\n\");\n return this;\n }\n public void toFile(String fileName) throws IOException {\n BufferedWriter writer = new BufferedWriter(new FileWriter(fileName));\n writer.write(out.toString());\n writer.close();\n }\n public void close() throws IOException {\n System.out.print(out);\n }\n}\nstatic class FastScanner {\n private InputStream sin = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n public FastScanner(){}\n public FastScanner(String filename) throws FileNotFoundException {\n File file = new File(filename);\n sin = new FileInputStream(file);\n }\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = sin.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\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 public long longNext() {\n if (!hasNext()) throw new NoSuchElementException();\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) || b == ':'){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n public int intNext() {\n long nl = longNext();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n public double doubleNext() { return Double.parseDouble(next());}\n public long[] nextLongArray(final int n){\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = longNext();\n return a;\n }\n public int[] nextIntArray(final int n){\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = intNext();\n return a;\n }\n public ArrayList<Integer>[] getAdj(int n) {\n ArrayList<Integer>[] adj = new ArrayList[n + 1];\n for (int i = 1; i <= n; i++) adj[i] = new ArrayList<>();\n return adj;\n }\n\n public ArrayList<Integer>[] adjacencyList(int n, int m) throws IOException {\n adj = getAdj(n);\n for (int i = 0; i < m; i++) {\n int a = intNext(), b = intNext();\n adj[a].add(b);\n adj[b].add(a);\n }\n return adj;\n }\n}\n}", "Main" ]
/* Author: Anthony Ngene Created: 08/08/2020 - 05:53 */ import java.io.*; import java.util.*; public class Main { // You miss 100% of the shots you don't take. - Wayne Gretzky public static void main(String[] args) throws IOException { in = new FastScanner(); int n = in.intNext(), a = in.intNext(), b = in.intNext(); int div = (a / n) * n; if (div < a) div += n; out.println((div <= b) ? "OK" : "NG"); out.close(); } private static final FastWriter out = new FastWriter(); private static FastScanner in; static ArrayList<Integer>[] adj; private static long e97 = (long)1e9 + 7; static class FastWriter { private static final int IO_BUFFERS = 128 * 1024; private final StringBuilder out; public FastWriter() { out = new StringBuilder(IO_BUFFERS); } public FastWriter p(Object object) { out.append(object); return this; } public FastWriter p(String format, Object... args) { out.append(String.format(format, args)); return this; } public FastWriter pp(Object... args) { for (Object ob : args) { out.append(ob).append(" "); } out.append("\n"); return this; } public FastWriter println(Object object) { out.append(object).append("\n"); return this; } public void toFile(String fileName) throws IOException { BufferedWriter writer = new BufferedWriter(new FileWriter(fileName)); writer.write(out.toString()); writer.close(); } public void close() throws IOException { System.out.print(out); } } static class FastScanner { private InputStream sin = System.in; private final byte[] buffer = new byte[1024]; private int ptr = 0; private int buflen = 0; public FastScanner(){} public FastScanner(String filename) throws FileNotFoundException { File file = new File(filename); sin = new FileInputStream(file); } private boolean hasNextByte() { if (ptr < buflen) { return true; }else{ ptr = 0; try { buflen = sin.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 longNext() { 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) || b == ':'){ return minus ? -n : n; }else{ throw new NumberFormatException(); } b = readByte(); } } public int intNext() { long nl = longNext(); if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException(); return (int) nl; } public double doubleNext() { return Double.parseDouble(next());} public long[] nextLongArray(final int n){ final long[] a = new long[n]; for (int i = 0; i < n; i++) a[i] = longNext(); return a; } public int[] nextIntArray(final int n){ final int[] a = new int[n]; for (int i = 0; i < n; i++) a[i] = intNext(); return a; } public ArrayList<Integer>[] getAdj(int n) { ArrayList<Integer>[] adj = new ArrayList[n + 1]; for (int i = 1; i <= n; i++) adj[i] = new ArrayList<>(); return adj; } public ArrayList<Integer>[] adjacencyList(int n, int m) throws IOException { adj = getAdj(n); for (int i = 0; i < m; i++) { int a = intNext(), b = intNext(); adj[a].add(b); adj[b].add(a); } return adj; } } }
[ 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, 41, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 0, 13, 17, 30, 41, 13, 2, 2, 13, 13, 17, 41, 13, 2, 13, 13, 14, 2, 2, 13, 13, 2, 13, 13, 30, 0, 13, 17, 14, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 98, 5 ], [ 98, 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 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 39, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 38, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 38, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 54, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 54, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 72, 73 ], [ 72, 74 ], [ 67, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 8, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 79, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 6, 95 ], [ 95, 96 ], [ 0, 97 ], [ 97, 98 ], [ 97, 99 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n static public void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n \n boolean flag = false;\n \n if(K == 1){\n flag = true;\n }else if((A % K) == 0 || (B % K) == 0){\n flag = true;\n }else{\n int mid = (A / K) + 1;\n int midK = K * mid;\n if(A <= midK && midK <= B){\n flag = true;\n }\n }\n \n if(flag){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n \n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n static public void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n \n boolean flag = false;\n \n if(K == 1){\n flag = true;\n }else if((A % K) == 0 || (B % K) == 0){\n flag = true;\n }else{\n int mid = (A / K) + 1;\n int midK = K * mid;\n if(A <= midK && midK <= B){\n flag = true;\n }\n }\n \n if(flag){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n \n }\n}", "Main", "static public void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n \n boolean flag = false;\n \n if(K == 1){\n flag = true;\n }else if((A % K) == 0 || (B % K) == 0){\n flag = true;\n }else{\n int mid = (A / K) + 1;\n int midK = K * mid;\n if(A <= midK && midK <= B){\n flag = true;\n }\n }\n \n if(flag){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n \n }", "main", "{\n \n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n \n boolean flag = false;\n \n if(K == 1){\n flag = true;\n }else if((A % K) == 0 || (B % K) == 0){\n flag = true;\n }else{\n int mid = (A / K) + 1;\n int midK = K * mid;\n if(A <= midK && midK <= B){\n flag = true;\n }\n }\n \n if(flag){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "boolean flag = false;", "flag", "false", "if(K == 1){\n flag = true;\n }else if((A % K) == 0 || (B % K) == 0){\n flag = true;\n }else{\n int mid = (A / K) + 1;\n int midK = K * mid;\n if(A <= midK && midK <= B){\n flag = true;\n }\n }", "K == 1", "K", "1", "{\n flag = true;\n }", "flag = true", "flag", "true", "if((A % K) == 0 || (B % K) == 0){\n flag = true;\n }else{\n int mid = (A / K) + 1;\n int midK = K * mid;\n if(A <= midK && midK <= B){\n flag = true;\n }\n }", "(A % K) == 0 || (B % K) == 0", "(A % K) == 0", "(A % K)", "A", "K", "0", "(B % K) == 0", "(B % K)", "B", "K", "0", "{\n flag = true;\n }", "flag = true", "flag", "true", "{\n int mid = (A / K) + 1;\n int midK = K * mid;\n if(A <= midK && midK <= B){\n flag = true;\n }\n }", "int mid = (A / K) + 1;", "mid", "(A / K) + 1", "(A / K)", "A", "K", "1", "int midK = K * mid;", "midK", "K * mid", "K", "mid", "if(A <= midK && midK <= B){\n flag = true;\n }", "A <= midK && midK <= B", "A <= midK", "A", "midK", "midK <= B", "midK", "B", "{\n flag = true;\n }", "flag = true", "flag", "true", "if(flag){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }", "flag", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main{\n static public void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n \n boolean flag = false;\n \n if(K == 1){\n flag = true;\n }else if((A % K) == 0 || (B % K) == 0){\n flag = true;\n }else{\n int mid = (A / K) + 1;\n int midK = K * mid;\n if(A <= midK && midK <= B){\n flag = true;\n }\n }\n \n if(flag){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n \n }\n}", "public class Main{\n static public void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n \n boolean flag = false;\n \n if(K == 1){\n flag = true;\n }else if((A % K) == 0 || (B % K) == 0){\n flag = true;\n }else{\n int mid = (A / K) + 1;\n int midK = K * mid;\n if(A <= midK && midK <= B){\n flag = true;\n }\n }\n \n if(flag){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n \n }\n}", "Main" ]
import java.util.Scanner; public class Main{ static public void main(String[] args){ Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); boolean flag = false; if(K == 1){ flag = true; }else if((A % K) == 0 || (B % K) == 0){ flag = true; }else{ int mid = (A / K) + 1; int midK = K * mid; if(A <= midK && midK <= B){ flag = true; } } if(flag){ System.out.println("OK"); }else{ System.out.println("NG"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 4, 18, 13, 17, 13, 13, 4, 18, 13, 23, 13, 6, 13, 12, 13, 30, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 13, 2, 13, 13, 14, 2, 2, 13, 13, 2, 13, 13, 0, 13, 17, 4, 18, 13, 8, 13, 17, 17, 23, 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 ], [ 132, 17 ], [ 132, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 23, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 20, 34 ], [ 34, 35 ], [ 34, 36 ], [ 20, 37 ], [ 37, 38 ], [ 37, 39 ], [ 20, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 40, 44 ], [ 40, 45 ], [ 20, 46 ], [ 46, 47 ], [ 47, 48 ], [ 18, 49 ], [ 49, 50 ], [ 132, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 62, 63 ], [ 55, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 70, 71 ], [ 55, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 77, 78 ], [ 78, 79 ], [ 55, 80 ], [ 80, 81 ], [ 80, 82 ], [ 55, 83 ], [ 83, 84 ], [ 83, 85 ], [ 55, 86 ], [ 86, 87 ], [ 86, 88 ], [ 55, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 89, 97 ], [ 97, 98 ], [ 98, 99 ], [ 89, 100 ], [ 101, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 104, 106 ], [ 101, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 112, 113 ], [ 112, 114 ], [ 107, 115 ], [ 115, 116 ], [ 115, 117 ], [ 55, 118 ], [ 118, 119 ], [ 119, 120 ], [ 118, 121 ], [ 121, 122 ], [ 121, 123 ], [ 121, 124 ], [ 53, 125 ], [ 125, 126 ], [ 53, 127 ], [ 127, 128 ], [ 53, 129 ], [ 129, 130 ], [ 0, 131 ], [ 131, 132 ], [ 131, 133 ] ]
[ "import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n A solver = new A();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class A {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int k = Integer.parseInt(in.next());\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int ans = 0;\n int tmp = 0;\n\n boolean ok = false;\n\n for (int i = 1; i < 1100; i++) {\n tmp = k * i;\n if (a <= tmp && tmp <= b) ok = true;\n }\n\n\n out.println(ok ? \"OK\" : \"NG\");\n\n }\n\n }\n}\n", "import java.io.OutputStream;", "OutputStream", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n A solver = new A();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class A {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int k = Integer.parseInt(in.next());\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int ans = 0;\n int tmp = 0;\n\n boolean ok = false;\n\n for (int i = 1; i < 1100; i++) {\n tmp = k * i;\n if (a <= tmp && tmp <= b) ok = true;\n }\n\n\n out.println(ok ? \"OK\" : \"NG\");\n\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n A solver = new A();\n solver.solve(1, in, out);\n out.close();\n }", "main", "{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n A solver = new A();\n solver.solve(1, in, out);\n out.close();\n }", "InputStream inputStream = System.in;", "inputStream", "System.in", "System", "System.in", "OutputStream outputStream = System.out;", "outputStream", "System.out", "System", "System.out", "Scanner in = new Scanner(inputStream);", "in", "new Scanner(inputStream)", "PrintWriter out = new PrintWriter(outputStream);", "out", "new PrintWriter(outputStream)", "A solver = new A();", "solver", "new A()", "solver.solve(1, in, out)", "solver.solve", "solver", "1", "in", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class A {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int k = Integer.parseInt(in.next());\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int ans = 0;\n int tmp = 0;\n\n boolean ok = false;\n\n for (int i = 1; i < 1100; i++) {\n tmp = k * i;\n if (a <= tmp && tmp <= b) ok = true;\n }\n\n\n out.println(ok ? \"OK\" : \"NG\");\n\n }\n\n }", "A", "public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int k = Integer.parseInt(in.next());\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int ans = 0;\n int tmp = 0;\n\n boolean ok = false;\n\n for (int i = 1; i < 1100; i++) {\n tmp = k * i;\n if (a <= tmp && tmp <= b) ok = true;\n }\n\n\n out.println(ok ? \"OK\" : \"NG\");\n\n }", "solve", "{\n // 入力\n int k = Integer.parseInt(in.next());\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int ans = 0;\n int tmp = 0;\n\n boolean ok = false;\n\n for (int i = 1; i < 1100; i++) {\n tmp = k * i;\n if (a <= tmp && tmp <= b) ok = true;\n }\n\n\n out.println(ok ? \"OK\" : \"NG\");\n\n }", "int k = Integer.parseInt(in.next());", "k", "Integer.parseInt(in.next())", "Integer.parseInt", "Integer", "in.next()", "in.next", "in", "int a = Integer.parseInt(in.next());", "a", "Integer.parseInt(in.next())", "Integer.parseInt", "Integer", "in.next()", "in.next", "in", "int b = Integer.parseInt(in.next());", "b", "Integer.parseInt(in.next())", "Integer.parseInt", "Integer", "in.next()", "in.next", "in", "int ans = 0;", "ans", "0", "int tmp = 0;", "tmp", "0", "boolean ok = false;", "ok", "false", "for (int i = 1; i < 1100; i++) {\n tmp = k * i;\n if (a <= tmp && tmp <= b) ok = true;\n }", "int i = 1;", "int i = 1;", "i", "1", "i < 1100", "i", "1100", "i++", "i++", "i", "{\n tmp = k * i;\n if (a <= tmp && tmp <= b) ok = true;\n }", "{\n tmp = k * i;\n if (a <= tmp && tmp <= b) ok = true;\n }", "tmp = k * i", "tmp", "k * i", "k", "i", "if (a <= tmp && tmp <= b) ok = true;", "a <= tmp && tmp <= b", "a <= tmp", "a", "tmp", "tmp <= b", "tmp", "b", "ok = true", "ok", "true", "out.println(ok ? \"OK\" : \"NG\")", "out.println", "out", "ok ? \"OK\" : \"NG\"", "ok", "\"OK\"", "\"NG\"", "int testNumber", "testNumber", "Scanner in", "in", "PrintWriter out", "out", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n A solver = new A();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class A {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int k = Integer.parseInt(in.next());\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int ans = 0;\n int tmp = 0;\n\n boolean ok = false;\n\n for (int i = 1; i < 1100; i++) {\n tmp = k * i;\n if (a <= tmp && tmp <= b) ok = true;\n }\n\n\n out.println(ok ? \"OK\" : \"NG\");\n\n }\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n A solver = new A();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class A {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int k = Integer.parseInt(in.next());\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int ans = 0;\n int tmp = 0;\n\n boolean ok = false;\n\n for (int i = 1; i < 1100; i++) {\n tmp = k * i;\n if (a <= tmp && tmp <= b) ok = true;\n }\n\n\n out.println(ok ? \"OK\" : \"NG\");\n\n }\n\n }\n}", "Main" ]
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Scanner; /** * Built using CHelper plug-in * Actual solution is at the top */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; Scanner in = new Scanner(inputStream); PrintWriter out = new PrintWriter(outputStream); A solver = new A(); solver.solve(1, in, out); out.close(); } static class A { public void solve(int testNumber, Scanner in, PrintWriter out) { // 入力 int k = Integer.parseInt(in.next()); int a = Integer.parseInt(in.next()); int b = Integer.parseInt(in.next()); int ans = 0; int tmp = 0; boolean ok = false; for (int i = 1; i < 1100; i++) { tmp = k * i; if (a <= tmp && tmp <= b) ok = true; } out.println(ok ? "OK" : "NG"); } } }
[ 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, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 3, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 40, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 46, 53 ], [ 39, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 6, 65 ], [ 65, 66 ], [ 0, 67 ], [ 67, 68 ], [ 67, 69 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint multi_num = sc.nextInt();\n\t\tint low_lim = sc.nextInt();\n\t\tint high_lim = sc.nextInt();\n\n\t\tfor (int i = low_lim; i <= high_lim; i++) {\n\t\t\tif (i % multi_num ==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (i == high_lim) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint multi_num = sc.nextInt();\n\t\tint low_lim = sc.nextInt();\n\t\tint high_lim = sc.nextInt();\n\n\t\tfor (int i = low_lim; i <= high_lim; i++) {\n\t\t\tif (i % multi_num ==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (i == high_lim) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint multi_num = sc.nextInt();\n\t\tint low_lim = sc.nextInt();\n\t\tint high_lim = sc.nextInt();\n\n\t\tfor (int i = low_lim; i <= high_lim; i++) {\n\t\t\tif (i % multi_num ==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (i == high_lim) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint multi_num = sc.nextInt();\n\t\tint low_lim = sc.nextInt();\n\t\tint high_lim = sc.nextInt();\n\n\t\tfor (int i = low_lim; i <= high_lim; i++) {\n\t\t\tif (i % multi_num ==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (i == high_lim) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t}\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int multi_num = sc.nextInt();", "multi_num", "sc.nextInt()", "sc.nextInt", "sc", "int low_lim = sc.nextInt();", "low_lim", "sc.nextInt()", "sc.nextInt", "sc", "int high_lim = sc.nextInt();", "high_lim", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = low_lim; i <= high_lim; i++) {\n\t\t\tif (i % multi_num ==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (i == high_lim) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t}\n\t\t}", "int i = low_lim;", "int i = low_lim;", "i", "low_lim", "i <= high_lim", "i", "high_lim", "i++", "i++", "i", "{\n\t\t\tif (i % multi_num ==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (i == high_lim) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t}\n\t\t}", "{\n\t\t\tif (i % multi_num ==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (i == high_lim) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t}\n\t\t}", "if (i % multi_num ==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tbreak;\n\t\t\t}", "i % multi_num ==0", "i % multi_num", "i", "multi_num", "0", "{\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tbreak;\n\t\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "break;", "if (i == high_lim) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t}", "i == high_lim", "i", "high_lim", "{\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t}", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint multi_num = sc.nextInt();\n\t\tint low_lim = sc.nextInt();\n\t\tint high_lim = sc.nextInt();\n\n\t\tfor (int i = low_lim; i <= high_lim; i++) {\n\t\t\tif (i % multi_num ==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (i == high_lim) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint multi_num = sc.nextInt();\n\t\tint low_lim = sc.nextInt();\n\t\tint high_lim = sc.nextInt();\n\n\t\tfor (int i = low_lim; i <= high_lim; i++) {\n\t\t\tif (i % multi_num ==0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (i == high_lim) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int multi_num = sc.nextInt(); int low_lim = sc.nextInt(); int high_lim = sc.nextInt(); for (int i = low_lim; i <= high_lim; i++) { if (i % multi_num ==0) { System.out.println("OK"); break; } if (i == high_lim) { System.out.println("NG"); } } } }
[ 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, 4, 18, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 3, 14, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 82, 5 ], [ 82, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 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 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 34, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 44, 46 ], [ 39, 47 ], [ 47, 48 ], [ 48, 49 ], [ 39, 50 ], [ 51, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 52, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 8, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 63, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 6, 79 ], [ 79, 80 ], [ 0, 81 ], [ 81, 82 ], [ 81, 83 ] ]
[ "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 K = Integer.parseInt(sc.next());\n\t\tint A = Integer.parseInt(sc.next());\n\t\tint B = Integer.parseInt(sc.next());\n\t\tboolean flag = false;\n\t\tfor (int i = A; i <= B; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tflag = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (flag) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t} else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = Integer.parseInt(sc.next());\n\t\tint A = Integer.parseInt(sc.next());\n\t\tint B = Integer.parseInt(sc.next());\n\t\tboolean flag = false;\n\t\tfor (int i = A; i <= B; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tflag = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (flag) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t} else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = Integer.parseInt(sc.next());\n\t\tint A = Integer.parseInt(sc.next());\n\t\tint B = Integer.parseInt(sc.next());\n\t\tboolean flag = false;\n\t\tfor (int i = A; i <= B; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tflag = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (flag) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t} else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = Integer.parseInt(sc.next());\n\t\tint A = Integer.parseInt(sc.next());\n\t\tint B = Integer.parseInt(sc.next());\n\t\tboolean flag = false;\n\t\tfor (int i = A; i <= B; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tflag = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (flag) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t} else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int K = Integer.parseInt(sc.next());", "K", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "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", "boolean flag = false;", "flag", "false", "for (int i = A; i <= B; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tflag = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "int i = A;", "int i = A;", "i", "A", "i <= B", "i", "B", "i++", "i++", "i", "{\n\t\t\tif (i % K == 0) {\n\t\t\t\tflag = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "{\n\t\t\tif (i % K == 0) {\n\t\t\t\tflag = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "if (i % K == 0) {\n\t\t\t\tflag = true;\n\t\t\t\tbreak;\n\t\t\t}", "i % K == 0", "i % K", "i", "K", "0", "{\n\t\t\t\tflag = true;\n\t\t\t\tbreak;\n\t\t\t}", "flag = true", "flag", "true", "break;", "if (flag) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t} else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "flag", "{\n\t\t\tSystem.out.println(\"OK\");\n\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = Integer.parseInt(sc.next());\n\t\tint A = Integer.parseInt(sc.next());\n\t\tint B = Integer.parseInt(sc.next());\n\t\tboolean flag = false;\n\t\tfor (int i = A; i <= B; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tflag = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (flag) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t} else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = Integer.parseInt(sc.next());\n\t\tint A = Integer.parseInt(sc.next());\n\t\tint B = Integer.parseInt(sc.next());\n\t\tboolean flag = false;\n\t\tfor (int i = A; i <= B; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tflag = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (flag) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t} else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int K = Integer.parseInt(sc.next()); int A = Integer.parseInt(sc.next()); int B = Integer.parseInt(sc.next()); boolean flag = false; for (int i = A; i <= B; i++) { if (i % K == 0) { flag = true; break; } } if (flag) { System.out.println("OK"); } else { System.out.println("NG"); } } }
[ 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, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 2, 13, 13, 13, 2, 2, 13, 13, 13, 30, 40, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 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 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 43, 55 ], [ 55, 56 ], [ 56, 57 ], [ 8, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 58, 69 ], [ 69, 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;\npublic class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n int cou = 0;\n for(int i=1; i<=b; i++) {\n \tif(k*i>=a && k*i<=b) {\n \t\tcou++;\n \t\t}\n }\n if(cou != 0){\n \tSystem.out.println(\"OK\");\n }else{\n \tSystem.out.println(\"NG\");\n }\n}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n int cou = 0;\n for(int i=1; i<=b; i++) {\n \tif(k*i>=a && k*i<=b) {\n \t\tcou++;\n \t\t}\n }\n if(cou != 0){\n \tSystem.out.println(\"OK\");\n }else{\n \tSystem.out.println(\"NG\");\n }\n}\n}", "Main", "public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n int cou = 0;\n for(int i=1; i<=b; i++) {\n \tif(k*i>=a && k*i<=b) {\n \t\tcou++;\n \t\t}\n }\n if(cou != 0){\n \tSystem.out.println(\"OK\");\n }else{\n \tSystem.out.println(\"NG\");\n }\n}", "main", "{\n \n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n int cou = 0;\n for(int i=1; i<=b; i++) {\n \tif(k*i>=a && k*i<=b) {\n \t\tcou++;\n \t\t}\n }\n if(cou != 0){\n \tSystem.out.println(\"OK\");\n }else{\n \tSystem.out.println(\"NG\");\n }\n}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int cou = 0;", "cou", "0", "for(int i=1; i<=b; i++) {\n \tif(k*i>=a && k*i<=b) {\n \t\tcou++;\n \t\t}\n }", "int i=1;", "int i=1;", "i", "1", "i<=b", "i", "b", "i++", "i++", "i", "{\n \tif(k*i>=a && k*i<=b) {\n \t\tcou++;\n \t\t}\n }", "{\n \tif(k*i>=a && k*i<=b) {\n \t\tcou++;\n \t\t}\n }", "if(k*i>=a && k*i<=b) {\n \t\tcou++;\n \t\t}", "k*i>=a && k*i<=b", "k*i>=a", "k*i", "k", "i", "a", "k*i<=b", "k*i", "k", "i", "b", "{\n \t\tcou++;\n \t\t}", "cou++", "cou", "if(cou != 0){\n \tSystem.out.println(\"OK\");\n }else{\n \tSystem.out.println(\"NG\");\n }", "cou != 0", "cou", "0", "{\n \tSystem.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n \tSystem.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n int cou = 0;\n for(int i=1; i<=b; i++) {\n \tif(k*i>=a && k*i<=b) {\n \t\tcou++;\n \t\t}\n }\n if(cou != 0){\n \tSystem.out.println(\"OK\");\n }else{\n \tSystem.out.println(\"NG\");\n }\n}\n}", "public class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n int cou = 0;\n for(int i=1; i<=b; i++) {\n \tif(k*i>=a && k*i<=b) {\n \t\tcou++;\n \t\t}\n }\n if(cou != 0){\n \tSystem.out.println(\"OK\");\n }else{\n \tSystem.out.println(\"NG\");\n }\n}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); int cou = 0; for(int i=1; i<=b; i++) { if(k*i>=a && k*i<=b) { cou++; } } if(cou != 0){ System.out.println("OK"); }else{ System.out.println("NG"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 4, 13, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 13, 41, 13, 4, 18, 18, 13, 17, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 2, 13, 13, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 4, 18, 13, 30, 4, 18, 13, 4, 18, 13, 29, 4, 18, 13, 20, 4, 18, 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 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 8, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 8, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 53, 61 ], [ 61, 62 ], [ 62, 63 ], [ 53, 64 ], [ 65, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 66, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 72, 79 ], [ 8, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 6, 86 ], [ 86, 87 ], [ 117, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 94, 95 ], [ 94, 96 ], [ 90, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 97, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 105, 106 ], [ 106, 107 ], [ 90, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 113, 114 ], [ 114, 115 ], [ 0, 116 ], [ 116, 117 ], [ 116, 118 ] ]
[ "import java.util.*;\npublic class Main {\n public static void main(String[] args) throws Exception {\n String[] lines = getStdin();\n String str = lines[0];\n int k = Integer.parseInt(str);\n String[] cov = lines[1].split(\" \");\n int a = Integer.parseInt(cov[0]);\n int b = Integer.parseInt(cov[1]);\n int c = b - a;\n \n for(int i = a; i <= b; i++){\n if (i % k == 0){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }\n private static String[] getStdin() {\n Scanner scanner = new Scanner(System.in);\n ArrayList<String> lines = new ArrayList<>();\n while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }\n return lines.toArray(new String[lines.size()]);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n String[] lines = getStdin();\n String str = lines[0];\n int k = Integer.parseInt(str);\n String[] cov = lines[1].split(\" \");\n int a = Integer.parseInt(cov[0]);\n int b = Integer.parseInt(cov[1]);\n int c = b - a;\n \n for(int i = a; i <= b; i++){\n if (i % k == 0){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }\n private static String[] getStdin() {\n Scanner scanner = new Scanner(System.in);\n ArrayList<String> lines = new ArrayList<>();\n while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }\n return lines.toArray(new String[lines.size()]);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n String[] lines = getStdin();\n String str = lines[0];\n int k = Integer.parseInt(str);\n String[] cov = lines[1].split(\" \");\n int a = Integer.parseInt(cov[0]);\n int b = Integer.parseInt(cov[1]);\n int c = b - a;\n \n for(int i = a; i <= b; i++){\n if (i % k == 0){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }", "main", "{\n String[] lines = getStdin();\n String str = lines[0];\n int k = Integer.parseInt(str);\n String[] cov = lines[1].split(\" \");\n int a = Integer.parseInt(cov[0]);\n int b = Integer.parseInt(cov[1]);\n int c = b - a;\n \n for(int i = a; i <= b; i++){\n if (i % k == 0){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }", "String[] lines = getStdin();", "lines", "getStdin()", "getStdin", "String str = lines[0];", "str", "lines[0]", "lines", "0", "int k = Integer.parseInt(str);", "k", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "String[] cov = lines[1].split(\" \");", "cov", "lines[1].split(\" \")", "lines[1].split", "lines[1]", "lines", "1", "\" \"", "int a = Integer.parseInt(cov[0]);", "a", "Integer.parseInt(cov[0])", "Integer.parseInt", "Integer", "cov[0]", "cov", "0", "int b = Integer.parseInt(cov[1]);", "b", "Integer.parseInt(cov[1])", "Integer.parseInt", "Integer", "cov[1]", "cov", "1", "int c = b - a;", "c", "b - a", "b", "a", "for(int i = a; i <= b; i++){\n if (i % k == 0){\n System.out.println(\"OK\");\n return;\n }\n }", "int i = a;", "int i = a;", "i", "a", "i <= b", "i", "b", "i++", "i++", "i", "{\n if (i % k == 0){\n System.out.println(\"OK\");\n return;\n }\n }", "{\n if (i % k == 0){\n System.out.println(\"OK\");\n return;\n }\n }", "if (i % k == 0){\n System.out.println(\"OK\");\n return;\n }", "i % k == 0", "i % k", "i", "k", "0", "{\n System.out.println(\"OK\");\n return;\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "return;", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "private static String[] getStdin() {\n Scanner scanner = new Scanner(System.in);\n ArrayList<String> lines = new ArrayList<>();\n while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }\n return lines.toArray(new String[lines.size()]);\n }", "getStdin", "{\n Scanner scanner = new Scanner(System.in);\n ArrayList<String> lines = new ArrayList<>();\n while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }\n return lines.toArray(new String[lines.size()]);\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "ArrayList<String> lines = new ArrayList<>();", "lines", "new ArrayList<>()", "while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }", "scanner.hasNext()", "scanner.hasNext", "scanner", "{\n lines.add(scanner.nextLine());\n }", "lines.add(scanner.nextLine())", "lines.add", "lines", "scanner.nextLine()", "scanner.nextLine", "scanner", "return lines.toArray(new String[lines.size()]);", "lines.toArray(new String[lines.size()])", "lines.toArray", "lines", "new String[lines.size()]", "lines.size()", "lines.size", "lines", "public class Main {\n public static void main(String[] args) throws Exception {\n String[] lines = getStdin();\n String str = lines[0];\n int k = Integer.parseInt(str);\n String[] cov = lines[1].split(\" \");\n int a = Integer.parseInt(cov[0]);\n int b = Integer.parseInt(cov[1]);\n int c = b - a;\n \n for(int i = a; i <= b; i++){\n if (i % k == 0){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }\n private static String[] getStdin() {\n Scanner scanner = new Scanner(System.in);\n ArrayList<String> lines = new ArrayList<>();\n while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }\n return lines.toArray(new String[lines.size()]);\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n String[] lines = getStdin();\n String str = lines[0];\n int k = Integer.parseInt(str);\n String[] cov = lines[1].split(\" \");\n int a = Integer.parseInt(cov[0]);\n int b = Integer.parseInt(cov[1]);\n int c = b - a;\n \n for(int i = a; i <= b; i++){\n if (i % k == 0){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }\n private static String[] getStdin() {\n Scanner scanner = new Scanner(System.in);\n ArrayList<String> lines = new ArrayList<>();\n while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }\n return lines.toArray(new String[lines.size()]);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { String[] lines = getStdin(); String str = lines[0]; int k = Integer.parseInt(str); String[] cov = lines[1].split(" "); int a = Integer.parseInt(cov[0]); int b = Integer.parseInt(cov[1]); int c = b - a; for(int i = a; i <= b; i++){ if (i % k == 0){ System.out.println("OK"); return; } } System.out.println("NG"); } private static String[] getStdin() { Scanner scanner = new Scanner(System.in); ArrayList<String> lines = new ArrayList<>(); while (scanner.hasNext()) { lines.add(scanner.nextLine()); } return lines.toArray(new String[lines.size()]); } }
[ 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, 41, 13, 17, 41, 13, 2, 13, 13, 11, 1, 41, 13, 13, 2, 2, 13, 13, 13, 1, 40, 13, 30, 30, 41, 13, 2, 13, 13, 14, 2, 2, 13, 13, 2, 13, 13, 30, 0, 13, 17, 3, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 77, 5 ], [ 77, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 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 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 35, 45 ], [ 45, 46 ], [ 46, 47 ], [ 35, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 49, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 60, 62 ], [ 55, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 8, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 6, 74 ], [ 74, 75 ], [ 0, 76 ], [ 76, 77 ], [ 76, 78 ] ]
[ "import java.util.Scanner;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc= new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n String ans = \"NG\";\n int ak = A / K;\n for(int i = ak; i * K <= B; i++){\n int ik = i * K;\n if(A <= ik && ik <= B){\n ans = \"OK\";\n break;\n }\n }\n System.out.println(ans);\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 K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n String ans = \"NG\";\n int ak = A / K;\n for(int i = ak; i * K <= B; i++){\n int ik = i * K;\n if(A <= ik && ik <= B){\n ans = \"OK\";\n break;\n }\n }\n System.out.println(ans);\n } \n}", "Main", "public static void main(String[] args) {\n Scanner sc= new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n String ans = \"NG\";\n int ak = A / K;\n for(int i = ak; i * K <= B; i++){\n int ik = i * K;\n if(A <= ik && ik <= B){\n ans = \"OK\";\n break;\n }\n }\n System.out.println(ans);\n }", "main", "{\n Scanner sc= new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n String ans = \"NG\";\n int ak = A / K;\n for(int i = ak; i * K <= B; i++){\n int ik = i * K;\n if(A <= ik && ik <= B){\n ans = \"OK\";\n break;\n }\n }\n System.out.println(ans);\n }", "Scanner sc= new Scanner(System.in);", "sc", "new Scanner(System.in)", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "String ans = \"NG\";", "ans", "\"NG\"", "int ak = A / K;", "ak", "A / K", "A", "K", "for(int i = ak; i * K <= B; i++){\n int ik = i * K;\n if(A <= ik && ik <= B){\n ans = \"OK\";\n break;\n }\n }", "int i = ak;", "int i = ak;", "i", "ak", "i * K <= B", "i * K", "i", "K", "B", "i++", "i++", "i", "{\n int ik = i * K;\n if(A <= ik && ik <= B){\n ans = \"OK\";\n break;\n }\n }", "{\n int ik = i * K;\n if(A <= ik && ik <= B){\n ans = \"OK\";\n break;\n }\n }", "int ik = i * K;", "ik", "i * K", "i", "K", "if(A <= ik && ik <= B){\n ans = \"OK\";\n break;\n }", "A <= ik && ik <= B", "A <= ik", "A", "ik", "ik <= B", "ik", "B", "{\n ans = \"OK\";\n break;\n }", "ans = \"OK\"", "ans", "\"OK\"", "break;", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc= new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n String ans = \"NG\";\n int ak = A / K;\n for(int i = ak; i * K <= B; i++){\n int ik = i * K;\n if(A <= ik && ik <= B){\n ans = \"OK\";\n break;\n }\n }\n System.out.println(ans);\n } \n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc= new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n String ans = \"NG\";\n int ak = A / K;\n for(int i = ak; i * K <= B; i++){\n int ik = i * K;\n if(A <= ik && ik <= B){\n ans = \"OK\";\n break;\n }\n }\n System.out.println(ans);\n } \n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc= new Scanner(System.in); int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); String ans = "NG"; int ak = A / K; for(int i = ak; i * K <= B; i++){ int ik = i * K; if(A <= ik && ik <= B){ ans = "OK"; break; } } System.out.println(ans); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 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, 17, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 3, 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 ], [ 91, 11 ], [ 91, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 16, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 26, 27 ], [ 16, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 16, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 16, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 16, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 52, 54 ], [ 16, 55 ], [ 55, 56 ], [ 55, 57 ], [ 16, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 63, 65 ], [ 58, 66 ], [ 66, 67 ], [ 67, 68 ], [ 58, 69 ], [ 70, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 71, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 16, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 12, 88 ], [ 88, 89 ], [ 0, 90 ], [ 90, 91 ], [ 90, 92 ] ]
[ "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\ttry (BufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))) {\n\n\t\t\tint k = Integer.parseInt(br.readLine());\n\t\t\tString in = br.readLine();\n\t\t\tString chr[] = in.split(\" \");\n\t\t\tint a = Integer.parseInt(chr[0]);\n\t\t\tint b = Integer.parseInt(chr[1]);\n\t\t\tString ans = \"NG\";\n\n\t\t\tfor (int i = a; i <= b; i++) {\n\t\t\t\tif (i % k == 0) {\n\t\t\t\t\tans = \"OK\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))) {\n\n\t\t\tint k = Integer.parseInt(br.readLine());\n\t\t\tString in = br.readLine();\n\t\t\tString chr[] = in.split(\" \");\n\t\t\tint a = Integer.parseInt(chr[0]);\n\t\t\tint b = Integer.parseInt(chr[1]);\n\t\t\tString ans = \"NG\";\n\n\t\t\tfor (int i = a; i <= b; i++) {\n\t\t\t\tif (i % k == 0) {\n\t\t\t\t\tans = \"OK\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))) {\n\n\t\t\tint k = Integer.parseInt(br.readLine());\n\t\t\tString in = br.readLine();\n\t\t\tString chr[] = in.split(\" \");\n\t\t\tint a = Integer.parseInt(chr[0]);\n\t\t\tint b = Integer.parseInt(chr[1]);\n\t\t\tString ans = \"NG\";\n\n\t\t\tfor (int i = a; i <= b; i++) {\n\t\t\t\tif (i % k == 0) {\n\t\t\t\t\tans = \"OK\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "main", "{\n\t\ttry (BufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))) {\n\n\t\t\tint k = Integer.parseInt(br.readLine());\n\t\t\tString in = br.readLine();\n\t\t\tString chr[] = in.split(\" \");\n\t\t\tint a = Integer.parseInt(chr[0]);\n\t\t\tint b = Integer.parseInt(chr[1]);\n\t\t\tString ans = \"NG\";\n\n\t\t\tfor (int i = a; i <= b; i++) {\n\t\t\t\tif (i % k == 0) {\n\t\t\t\t\tans = \"OK\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "try (BufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))) {\n\n\t\t\tint k = Integer.parseInt(br.readLine());\n\t\t\tString in = br.readLine();\n\t\t\tString chr[] = in.split(\" \");\n\t\t\tint a = Integer.parseInt(chr[0]);\n\t\t\tint b = Integer.parseInt(chr[1]);\n\t\t\tString ans = \"NG\";\n\n\t\t\tfor (int i = a; i <= b; i++) {\n\t\t\t\tif (i % k == 0) {\n\t\t\t\t\tans = \"OK\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "{\n\n\t\t\tint k = Integer.parseInt(br.readLine());\n\t\t\tString in = br.readLine();\n\t\t\tString chr[] = in.split(\" \");\n\t\t\tint a = Integer.parseInt(chr[0]);\n\t\t\tint b = Integer.parseInt(chr[1]);\n\t\t\tString ans = \"NG\";\n\n\t\t\tfor (int i = a; i <= b; i++) {\n\t\t\t\tif (i % k == 0) {\n\t\t\t\t\tans = \"OK\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "BufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))", "BufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))", "new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))", "int k = Integer.parseInt(br.readLine());", "k", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String in = br.readLine();", "in", "br.readLine()", "br.readLine", "br", "String chr[] = in.split(\" \");", "chr", "in.split(\" \")", "in.split", "in", "\" \"", "int a = Integer.parseInt(chr[0]);", "a", "Integer.parseInt(chr[0])", "Integer.parseInt", "Integer", "chr[0]", "chr", "0", "int b = Integer.parseInt(chr[1]);", "b", "Integer.parseInt(chr[1])", "Integer.parseInt", "Integer", "chr[1]", "chr", "1", "String ans = \"NG\";", "ans", "\"NG\"", "for (int i = a; i <= b; i++) {\n\t\t\t\tif (i % k == 0) {\n\t\t\t\t\tans = \"OK\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "int i = a;", "int i = a;", "i", "a", "i <= b", "i", "b", "i++", "i++", "i", "{\n\t\t\t\tif (i % k == 0) {\n\t\t\t\t\tans = \"OK\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif (i % k == 0) {\n\t\t\t\t\tans = \"OK\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "if (i % k == 0) {\n\t\t\t\t\tans = \"OK\";\n\t\t\t\t\tbreak;\n\t\t\t\t}", "i % k == 0", "i % k", "i", "k", "0", "{\n\t\t\t\t\tans = \"OK\";\n\t\t\t\t\tbreak;\n\t\t\t\t}", "ans = \"OK\"", "ans", "\"OK\"", "break;", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))) {\n\n\t\t\tint k = Integer.parseInt(br.readLine());\n\t\t\tString in = br.readLine();\n\t\t\tString chr[] = in.split(\" \");\n\t\t\tint a = Integer.parseInt(chr[0]);\n\t\t\tint b = Integer.parseInt(chr[1]);\n\t\t\tString ans = \"NG\";\n\n\t\t\tfor (int i = a; i <= b; i++) {\n\t\t\t\tif (i % k == 0) {\n\t\t\t\t\tans = \"OK\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))) {\n\n\t\t\tint k = Integer.parseInt(br.readLine());\n\t\t\tString in = br.readLine();\n\t\t\tString chr[] = in.split(\" \");\n\t\t\tint a = Integer.parseInt(chr[0]);\n\t\t\tint b = Integer.parseInt(chr[1]);\n\t\t\tString ans = \"NG\";\n\n\t\t\tfor (int i = a; i <= b; i++) {\n\t\t\t\tif (i % k == 0) {\n\t\t\t\t\tans = \"OK\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { try (BufferedReader br = new BufferedReader( new InputStreamReader(System.in))) { int k = Integer.parseInt(br.readLine()); String in = br.readLine(); String chr[] = in.split(" "); int a = Integer.parseInt(chr[0]); int b = Integer.parseInt(chr[1]); String ans = "NG"; for (int i = a; i <= b; i++) { if (i % k == 0) { ans = "OK"; break; } } System.out.println(ans); } } }
[ 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, 4, 18, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 2, 13, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 13, 2, 13, 13, 2, 13, 2, 13, 13, 30, 0, 13, 17, 3, 30, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 84, 5 ], [ 84, 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 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 34, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 39, 49 ], [ 49, 50 ], [ 50, 51 ], [ 39, 52 ], [ 53, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 55, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 54, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 54, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 8, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 6, 81 ], [ 81, 82 ], [ 0, 83 ], [ 83, 84 ], [ 83, 85 ] ]
[ "import java.util.*;\n \npublic class Main { //クラス名はMain\n public static void main(String[] args) {\n //整数の入力\n // List<String> list = new ArrayList<String>();\n Scanner sc = new Scanner(System.in);\n int K = Integer.parseInt(sc.next());\n int A = Integer.parseInt(sc.next());\n int B = Integer.parseInt(sc.next());\n\n //黒板の整数\n String answer = \"NG\"; \n for(int i=1; K*i<=1000; i++){\n if(A <= K*i && B >= K * i){\n answer = \"OK\";\n break;\n }else {\n answer = \"NG\";\n }\n }\n System.out.println(answer);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main { //クラス名はMain\n public static void main(String[] args) {\n //整数の入力\n // List<String> list = new ArrayList<String>();\n Scanner sc = new Scanner(System.in);\n int K = Integer.parseInt(sc.next());\n int A = Integer.parseInt(sc.next());\n int B = Integer.parseInt(sc.next());\n\n //黒板の整数\n String answer = \"NG\"; \n for(int i=1; K*i<=1000; i++){\n if(A <= K*i && B >= K * i){\n answer = \"OK\";\n break;\n }else {\n answer = \"NG\";\n }\n }\n System.out.println(answer);\n }\n}", "Main", "public static void main(String[] args) {\n //整数の入力\n // List<String> list = new ArrayList<String>();\n Scanner sc = new Scanner(System.in);\n int K = Integer.parseInt(sc.next());\n int A = Integer.parseInt(sc.next());\n int B = Integer.parseInt(sc.next());\n\n //黒板の整数\n String answer = \"NG\"; \n for(int i=1; K*i<=1000; i++){\n if(A <= K*i && B >= K * i){\n answer = \"OK\";\n break;\n }else {\n answer = \"NG\";\n }\n }\n System.out.println(answer);\n }", "main", "{\n //整数の入力\n // List<String> list = new ArrayList<String>();\n Scanner sc = new Scanner(System.in);\n int K = Integer.parseInt(sc.next());\n int A = Integer.parseInt(sc.next());\n int B = Integer.parseInt(sc.next());\n\n //黒板の整数\n String answer = \"NG\"; \n for(int i=1; K*i<=1000; i++){\n if(A <= K*i && B >= K * i){\n answer = \"OK\";\n break;\n }else {\n answer = \"NG\";\n }\n }\n System.out.println(answer);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int K = Integer.parseInt(sc.next());", "K", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "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", "String answer = \"NG\";", "answer", "\"NG\"", "for(int i=1; K*i<=1000; i++){\n if(A <= K*i && B >= K * i){\n answer = \"OK\";\n break;\n }else {\n answer = \"NG\";\n }\n }", "int i=1;", "int i=1;", "i", "1", "K*i<=1000", "K*i", "K", "i", "1000", "i++", "i++", "i", "{\n if(A <= K*i && B >= K * i){\n answer = \"OK\";\n break;\n }else {\n answer = \"NG\";\n }\n }", "{\n if(A <= K*i && B >= K * i){\n answer = \"OK\";\n break;\n }else {\n answer = \"NG\";\n }\n }", "if(A <= K*i && B >= K * i){\n answer = \"OK\";\n break;\n }else {\n answer = \"NG\";\n }", "A <= K*i && B >= K * i", "A <= K*i", "A", "K*i", "K", "i", "B >= K * i", "B", "K * i", "K", "i", "{\n answer = \"OK\";\n break;\n }", "answer = \"OK\"", "answer", "\"OK\"", "break;", "{\n answer = \"NG\";\n }", "answer = \"NG\"", "answer", "\"NG\"", "System.out.println(answer)", "System.out.println", "System.out", "System", "System.out", "answer", "String[] args", "args", "public class Main { //クラス名はMain\n public static void main(String[] args) {\n //整数の入力\n // List<String> list = new ArrayList<String>();\n Scanner sc = new Scanner(System.in);\n int K = Integer.parseInt(sc.next());\n int A = Integer.parseInt(sc.next());\n int B = Integer.parseInt(sc.next());\n\n //黒板の整数\n String answer = \"NG\"; \n for(int i=1; K*i<=1000; i++){\n if(A <= K*i && B >= K * i){\n answer = \"OK\";\n break;\n }else {\n answer = \"NG\";\n }\n }\n System.out.println(answer);\n }\n}", "public class Main { //クラス名はMain\n public static void main(String[] args) {\n //整数の入力\n // List<String> list = new ArrayList<String>();\n Scanner sc = new Scanner(System.in);\n int K = Integer.parseInt(sc.next());\n int A = Integer.parseInt(sc.next());\n int B = Integer.parseInt(sc.next());\n\n //黒板の整数\n String answer = \"NG\"; \n for(int i=1; K*i<=1000; i++){\n if(A <= K*i && B >= K * i){\n answer = \"OK\";\n break;\n }else {\n answer = \"NG\";\n }\n }\n System.out.println(answer);\n }\n}", "Main" ]
import java.util.*; public class Main { //クラス名はMain public static void main(String[] args) { //整数の入力 // List<String> list = new ArrayList<String>(); Scanner sc = new Scanner(System.in); int K = Integer.parseInt(sc.next()); int A = Integer.parseInt(sc.next()); int B = Integer.parseInt(sc.next()); //黒板の整数 String answer = "NG"; for(int i=1; K*i<=1000; i++){ if(A <= K*i && B >= K * i){ answer = "OK"; break; }else { answer = "NG"; } } System.out.println(answer); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 20, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 2, 13, 13, 14, 2, 2, 13, 13, 13, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 59, 5 ], [ 59, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 35, 37 ], [ 8, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 38, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 38, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 6, 56 ], [ 56, 57 ], [ 0, 58 ], [ 58, 59 ], [ 58, 60 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n int K, A, B;\n Scanner sc = new Scanner(System.in);\n K = sc.nextInt();\n A = sc.nextInt();\n B = sc.nextInt();\n int temp = B/K;\n if(temp*K >= A)\n System.out.println(\"OK\");\n else System.out.println(\"NG\");\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n int K, A, B;\n Scanner sc = new Scanner(System.in);\n K = sc.nextInt();\n A = sc.nextInt();\n B = sc.nextInt();\n int temp = B/K;\n if(temp*K >= A)\n System.out.println(\"OK\");\n else System.out.println(\"NG\");\n }\n}", "Main", "public static void main(String[] args) {\n int K, A, B;\n Scanner sc = new Scanner(System.in);\n K = sc.nextInt();\n A = sc.nextInt();\n B = sc.nextInt();\n int temp = B/K;\n if(temp*K >= A)\n System.out.println(\"OK\");\n else System.out.println(\"NG\");\n }", "main", "{\n int K, A, B;\n Scanner sc = new Scanner(System.in);\n K = sc.nextInt();\n A = sc.nextInt();\n B = sc.nextInt();\n int temp = B/K;\n if(temp*K >= A)\n System.out.println(\"OK\");\n else System.out.println(\"NG\");\n }", "int K", "K", "A", "A", "B;", "B", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "K = sc.nextInt()", "K", "sc.nextInt()", "sc.nextInt", "sc", "A = sc.nextInt()", "A", "sc.nextInt()", "sc.nextInt", "sc", "B = sc.nextInt()", "B", "sc.nextInt()", "sc.nextInt", "sc", "int temp = B/K;", "temp", "B/K", "B", "K", "if(temp*K >= A)\n System.out.println(\"OK\");\n else System.out.println(\"NG\");", "temp*K >= A", "temp*K", "temp", "K", "A", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n int K, A, B;\n Scanner sc = new Scanner(System.in);\n K = sc.nextInt();\n A = sc.nextInt();\n B = sc.nextInt();\n int temp = B/K;\n if(temp*K >= A)\n System.out.println(\"OK\");\n else System.out.println(\"NG\");\n }\n}", "public class Main {\n public static void main(String[] args) {\n int K, A, B;\n Scanner sc = new Scanner(System.in);\n K = sc.nextInt();\n A = sc.nextInt();\n B = sc.nextInt();\n int temp = B/K;\n if(temp*K >= A)\n System.out.println(\"OK\");\n else System.out.println(\"NG\");\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { int K, A, B; Scanner sc = new Scanner(System.in); K = sc.nextInt(); A = sc.nextInt(); B = sc.nextInt(); int temp = B/K; if(temp*K >= A) System.out.println("OK"); else System.out.println("NG"); } }
[ 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, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 0, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 71, 5 ], [ 71, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 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 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 43, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 52, 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;\npublic class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int z = sc.nextInt(); \n boolean b = true;\n for(int i = y; i <= z; i++)\n {\n if(i % x == 0)\n b = false;\n }\n if(b == false)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\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 int x = sc.nextInt();\n int y = sc.nextInt();\n int z = sc.nextInt(); \n boolean b = true;\n for(int i = y; i <= z; i++)\n {\n if(i % x == 0)\n b = false;\n }\n if(b == false)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\n }\n}", "Main", "public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int z = sc.nextInt(); \n boolean b = true;\n for(int i = y; i <= z; i++)\n {\n if(i % x == 0)\n b = false;\n }\n if(b == false)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int z = sc.nextInt(); \n boolean b = true;\n for(int i = y; i <= z; i++)\n {\n if(i % x == 0)\n b = false;\n }\n if(b == false)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\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 z = sc.nextInt();", "z", "sc.nextInt()", "sc.nextInt", "sc", "boolean b = true;", "b", "true", "for(int i = y; i <= z; i++)\n {\n if(i % x == 0)\n b = false;\n }", "int i = y;", "int i = y;", "i", "y", "i <= z", "i", "z", "i++", "i++", "i", "{\n if(i % x == 0)\n b = false;\n }", "{\n if(i % x == 0)\n b = false;\n }", "if(i % x == 0)\n b = false;", "i % x == 0", "i % x", "i", "x", "0", "b = false", "b", "false", "if(b == false)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");", "b == false", "b", "false", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int z = sc.nextInt(); \n boolean b = true;\n for(int i = y; i <= z; i++)\n {\n if(i % x == 0)\n b = false;\n }\n if(b == false)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\n }\n}", "public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int z = sc.nextInt(); \n boolean b = true;\n for(int i = y; i <= z; i++)\n {\n if(i % x == 0)\n b = false;\n }\n if(b == false)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\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 z = sc.nextInt(); boolean b = true; for(int i = y; i <= z; i++) { if(i % x == 0) b = false; } if(b == false) System.out.println("OK"); else System.out.println("NG"); } }
[ 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, 11, 1, 41, 13, 13, 2, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 13, 30, 3, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 27, 37 ], [ 37, 38 ], [ 38, 39 ], [ 27, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 41, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 48, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 54, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 8, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 6, 71 ], [ 71, 72 ] ]
[ "import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n\tint a = scan.nextInt();\n int b = scan.nextInt();\n int c = scan.nextInt();\n for (int i=b;i<=b+a;i++){\n if (i>c){\n break;\n }\n if (i % a == 0){\n System.out.println(\"OK\");\n System.exit(0);\n }\n }\n System.out.println(\"NG\");\n }\n}\n ", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n\tint a = scan.nextInt();\n int b = scan.nextInt();\n int c = scan.nextInt();\n for (int i=b;i<=b+a;i++){\n if (i>c){\n break;\n }\n if (i % a == 0){\n System.out.println(\"OK\");\n System.exit(0);\n }\n }\n System.out.println(\"NG\");\n }\n}", "Main", "public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n\tint a = scan.nextInt();\n int b = scan.nextInt();\n int c = scan.nextInt();\n for (int i=b;i<=b+a;i++){\n if (i>c){\n break;\n }\n if (i % a == 0){\n System.out.println(\"OK\");\n System.exit(0);\n }\n }\n System.out.println(\"NG\");\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n\tint a = scan.nextInt();\n int b = scan.nextInt();\n int c = scan.nextInt();\n for (int i=b;i<=b+a;i++){\n if (i>c){\n break;\n }\n if (i % a == 0){\n System.out.println(\"OK\");\n System.exit(0);\n }\n }\n System.out.println(\"NG\");\n }", "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", "int c = scan.nextInt();", "c", "scan.nextInt()", "scan.nextInt", "scan", "for (int i=b;i<=b+a;i++){\n if (i>c){\n break;\n }\n if (i % a == 0){\n System.out.println(\"OK\");\n System.exit(0);\n }\n }", "int i=b;", "int i=b;", "i", "b", "i<=b+a", "i", "b+a", "b", "a", "i++", "i++", "i", "{\n if (i>c){\n break;\n }\n if (i % a == 0){\n System.out.println(\"OK\");\n System.exit(0);\n }\n }", "{\n if (i>c){\n break;\n }\n if (i % a == 0){\n System.out.println(\"OK\");\n System.exit(0);\n }\n }", "if (i>c){\n break;\n }", "i>c", "i", "c", "{\n break;\n }", "break;", "if (i % a == 0){\n System.out.println(\"OK\");\n System.exit(0);\n }", "i % a == 0", "i % a", "i", "a", "0", "{\n System.out.println(\"OK\");\n System.exit(0);\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "System.exit(0)", "System.exit", "System", "0", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int c = scan.nextInt(); for (int i=b;i<=b+a;i++){ if (i>c){ break; } if (i % a == 0){ System.out.println("OK"); System.exit(0); } } System.out.println("NG"); } }
[ 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, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 13, 13, 13, 13, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 3, 29, 13, 23, 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 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 49, 52 ], [ 49, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 54, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 6, 70 ], [ 70, 71 ], [ 4, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 78, 86 ], [ 86, 87 ], [ 87, 88 ], [ 78, 89 ], [ 90, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 91, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 74, 102 ], [ 102, 103 ], [ 72, 104 ], [ 104, 105 ], [ 72, 106 ], [ 106, 107 ], [ 72, 108 ], [ 108, 109 ] ]
[ "import java.io.*;\nclass Main\n{\npublic static void main(String[] args)throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int K=Integer.parseInt(br.readLine());\n String S=br.readLine();\n String tokens[]=S.split(\" \");\n int A=Integer.parseInt(tokens[0]);\n int B=Integer.parseInt(tokens[1]);\n int result=multiple(A,B,K);\n if (result==1)\n System.out.print(\"OK\");\n else\n System.out.print(\"NG\");\n}\n\nstatic int multiple(int a, int b,int x){\n\n int f=0;\n for (int i=a;i<=b;i++)\n {\n if(i%x==0)\n {f=1;\n break;\n }\n\n }\n return f;\n}\n\n}", "import java.io.*;", "io.*", "java", "class Main\n{\npublic static void main(String[] args)throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int K=Integer.parseInt(br.readLine());\n String S=br.readLine();\n String tokens[]=S.split(\" \");\n int A=Integer.parseInt(tokens[0]);\n int B=Integer.parseInt(tokens[1]);\n int result=multiple(A,B,K);\n if (result==1)\n System.out.print(\"OK\");\n else\n System.out.print(\"NG\");\n}\n\nstatic int multiple(int a, int b,int x){\n\n int f=0;\n for (int i=a;i<=b;i++)\n {\n if(i%x==0)\n {f=1;\n break;\n }\n\n }\n return f;\n}\n\n}", "Main", "public static void main(String[] args)throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int K=Integer.parseInt(br.readLine());\n String S=br.readLine();\n String tokens[]=S.split(\" \");\n int A=Integer.parseInt(tokens[0]);\n int B=Integer.parseInt(tokens[1]);\n int result=multiple(A,B,K);\n if (result==1)\n System.out.print(\"OK\");\n else\n System.out.print(\"NG\");\n}", "main", "{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int K=Integer.parseInt(br.readLine());\n String S=br.readLine();\n String tokens[]=S.split(\" \");\n int A=Integer.parseInt(tokens[0]);\n int B=Integer.parseInt(tokens[1]);\n int result=multiple(A,B,K);\n if (result==1)\n System.out.print(\"OK\");\n else\n System.out.print(\"NG\");\n}", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int K=Integer.parseInt(br.readLine());", "K", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String S=br.readLine();", "S", "br.readLine()", "br.readLine", "br", "String tokens[]=S.split(\" \");", "tokens", "S.split(\" \")", "S.split", "S", "\" \"", "int A=Integer.parseInt(tokens[0]);", "A", "Integer.parseInt(tokens[0])", "Integer.parseInt", "Integer", "tokens[0]", "tokens", "0", "int B=Integer.parseInt(tokens[1]);", "B", "Integer.parseInt(tokens[1])", "Integer.parseInt", "Integer", "tokens[1]", "tokens", "1", "int result=multiple(A,B,K);", "result", "multiple(A,B,K)", "multiple", "A", "B", "K", "if (result==1)\n System.out.print(\"OK\");\n else\n System.out.print(\"NG\");", "result==1", "result", "1", "System.out.print(\"OK\")", "System.out.print", "System.out", "System", "System.out", "\"OK\"", "System.out.print(\"NG\")", "System.out.print", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "static int multiple(int a, int b,int x){\n\n int f=0;\n for (int i=a;i<=b;i++)\n {\n if(i%x==0)\n {f=1;\n break;\n }\n\n }\n return f;\n}", "multiple", "{\n\n int f=0;\n for (int i=a;i<=b;i++)\n {\n if(i%x==0)\n {f=1;\n break;\n }\n\n }\n return f;\n}", "int f=0;", "f", "0", "for (int i=a;i<=b;i++)\n {\n if(i%x==0)\n {f=1;\n break;\n }\n\n }", "int i=a;", "int i=a;", "i", "a", "i<=b", "i", "b", "i++", "i++", "i", "{\n if(i%x==0)\n {f=1;\n break;\n }\n\n }", "{\n if(i%x==0)\n {f=1;\n break;\n }\n\n }", "if(i%x==0)\n {f=1;\n break;\n }", "i%x==0", "i%x", "i", "x", "0", "{f=1;\n break;\n }", "f=1", "f", "1", "break;", "return f;", "f", "int a", "a", "int b", "b", "int x", "x" ]
import java.io.*; class Main { public static void main(String[] args)throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int K=Integer.parseInt(br.readLine()); String S=br.readLine(); String tokens[]=S.split(" "); int A=Integer.parseInt(tokens[0]); int B=Integer.parseInt(tokens[1]); int result=multiple(A,B,K); if (result==1) System.out.print("OK"); else System.out.print("NG"); } static int multiple(int a, int b,int x){ int f=0; for (int i=a;i<=b;i++) { if(i%x==0) {f=1; break; } } return f; } }
[ 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, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 66, 5 ], [ 66, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 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 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 40, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 46, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 6, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\tfor (int i = A; i <= B; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\tfor (int i = A; i <= B; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\tfor (int i = A; i <= B; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\tfor (int i = A; i <= B; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = A; i <= B; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}", "int i = A;", "int i = A;", "i", "A", "i <= B", "i", "B", "i++", "i++", "i", "{\n\t\t\tif (i % K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}", "{\n\t\t\tif (i % K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}", "if (i % K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "i % K == 0", "i % K", "i", "K", "0", "{\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "System.exit(0)", "System.exit", "System", "0", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\tfor (int i = A; i <= B; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\tfor (int i = A; i <= B; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\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); int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); for (int i = A; i <= B; i++) { if (i % K == 0) { System.out.println("OK"); System.exit(0); } } System.out.println("NG"); } }
[ 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, 42, 2, 2, 13, 13, 17, 30, 0, 13, 2, 13, 17, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 27, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 39, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 6, 60 ], [ 60, 61 ] ]
[ "import java.util.*;\nclass Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n while(b % k != 0){\n b = b - 1;\n }\n \n if(b < a){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }\n sc.close();\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 k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n while(b % k != 0){\n b = b - 1;\n }\n \n if(b < a){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }\n sc.close();\n }\n}", "Main", "public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n while(b % k != 0){\n b = b - 1;\n }\n \n if(b < a){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n while(b % k != 0){\n b = b - 1;\n }\n \n if(b < a){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "while(b % k != 0){\n b = b - 1;\n }", "b % k != 0", "b % k", "b", "k", "0", "{\n b = b - 1;\n }", "b = b - 1", "b", "b - 1", "b", "1", "if(b < a){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }", "b < a", "b", "a", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "sc.close()", "sc.close", "sc", "String args[]", "args" ]
import java.util.*; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); while(b % k != 0){ b = b - 1; } if(b < a){ System.out.println("NG"); }else{ System.out.println("OK"); } sc.close(); } }
[ 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, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 40, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 46, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 6, 60 ], [ 60, 61 ] ]
[ "import java.util.*;\nclass Main{\n\t\tpublic static void main(String argsp[]){\n \tScanner s=new Scanner(System.in);\n \t\t\tint k=s.nextInt();\n \tint a=s.nextInt();\n \tint b=s.nextInt();\n \tfor(int i=a;i<=b;i++){\n \tif(i%k==0){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }\n}", "import java.util.*;", "util.*", "java", "class Main{\n\t\tpublic static void main(String argsp[]){\n \tScanner s=new Scanner(System.in);\n \t\t\tint k=s.nextInt();\n \tint a=s.nextInt();\n \tint b=s.nextInt();\n \tfor(int i=a;i<=b;i++){\n \tif(i%k==0){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }\n}", "Main", "public static void main(String argsp[]){\n \tScanner s=new Scanner(System.in);\n \t\t\tint k=s.nextInt();\n \tint a=s.nextInt();\n \tint b=s.nextInt();\n \tfor(int i=a;i<=b;i++){\n \tif(i%k==0){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }", "main", "{\n \tScanner s=new Scanner(System.in);\n \t\t\tint k=s.nextInt();\n \tint a=s.nextInt();\n \tint b=s.nextInt();\n \tfor(int i=a;i<=b;i++){\n \tif(i%k==0){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }", "Scanner s=new Scanner(System.in);", "s", "new Scanner(System.in)", "int k=s.nextInt();", "k", "s.nextInt()", "s.nextInt", "s", "int a=s.nextInt();", "a", "s.nextInt()", "s.nextInt", "s", "int b=s.nextInt();", "b", "s.nextInt()", "s.nextInt", "s", "for(int i=a;i<=b;i++){\n \tif(i%k==0){\n System.out.println(\"OK\");\n return;\n }\n }", "int i=a;", "int i=a;", "i", "a", "i<=b", "i", "b", "i++", "i++", "i", "{\n \tif(i%k==0){\n System.out.println(\"OK\");\n return;\n }\n }", "{\n \tif(i%k==0){\n System.out.println(\"OK\");\n return;\n }\n }", "if(i%k==0){\n System.out.println(\"OK\");\n return;\n }", "i%k==0", "i%k", "i", "k", "0", "{\n System.out.println(\"OK\");\n return;\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "return;", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String argsp[]", "argsp" ]
import java.util.*; class Main{ public static void main(String argsp[]){ Scanner s=new Scanner(System.in); int k=s.nextInt(); int a=s.nextInt(); int b=s.nextInt(); for(int i=a;i<=b;i++){ if(i%k==0){ System.out.println("OK"); return; } } System.out.println("NG"); } }
[ 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, 18, 13, 14, 2, 2, 2, 13, 2, 2, 13, 13, 17, 13, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 63, 8 ], [ 63, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 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 ], [ 11, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 32, 40 ], [ 31, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 30, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 30, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 9, 60 ], [ 60, 61 ], [ 0, 62 ], [ 62, 63 ], [ 62, 64 ] ]
[ "\nimport java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n final int k = scanner.nextInt();\n final int a = scanner.nextInt();\n final int b = scanner.nextInt();\n\n if (k * (a / k + 1) <= b || a % k == 0) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n\n }\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n final int k = scanner.nextInt();\n final int a = scanner.nextInt();\n final int b = scanner.nextInt();\n\n if (k * (a / k + 1) <= b || a % k == 0) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n final int k = scanner.nextInt();\n final int a = scanner.nextInt();\n final int b = scanner.nextInt();\n\n if (k * (a / k + 1) <= b || a % k == 0) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n final int k = scanner.nextInt();\n final int a = scanner.nextInt();\n final int b = scanner.nextInt();\n\n if (k * (a / k + 1) <= b || a % k == 0) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "final int k = scanner.nextInt();", "k", "scanner.nextInt()", "scanner.nextInt", "scanner", "final int a = scanner.nextInt();", "a", "scanner.nextInt()", "scanner.nextInt", "scanner", "final int b = scanner.nextInt();", "b", "scanner.nextInt()", "scanner.nextInt", "scanner", "if (k * (a / k + 1) <= b || a % k == 0) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }", "k * (a / k + 1) <= b || a % k == 0", "k * (a / k + 1) <= b", "k * (a / k + 1)", "k", "(a / k + 1)", "a / k", "a", "k", "1", "b", "a % k == 0", "a % k", "a", "k", "0", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n final int k = scanner.nextInt();\n final int a = scanner.nextInt();\n final int b = scanner.nextInt();\n\n if (k * (a / k + 1) <= b || a % k == 0) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n final int k = scanner.nextInt();\n final int a = scanner.nextInt();\n final int b = scanner.nextInt();\n\n if (k * (a / k + 1) <= b || a % k == 0) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n\n }\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); final int k = scanner.nextInt(); final int a = scanner.nextInt(); final int b = scanner.nextInt(); if (k * (a / k + 1) <= b || a % k == 0) { System.out.println("OK"); } else { System.out.println("NG"); } } }
[ 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, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 40, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 46, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 6, 60 ], [ 60, 61 ] ]
[ "import java.util.*;\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n for(int i=A; i<=B; i++){\n if(i%K == 0){\n System.out.print(\"OK\");\n return;\n }\n }\n System.out.print(\"NG\");\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 K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n for(int i=A; i<=B; i++){\n if(i%K == 0){\n System.out.print(\"OK\");\n return;\n }\n }\n System.out.print(\"NG\");\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n for(int i=A; i<=B; i++){\n if(i%K == 0){\n System.out.print(\"OK\");\n return;\n }\n }\n System.out.print(\"NG\");\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n for(int i=A; i<=B; i++){\n if(i%K == 0){\n System.out.print(\"OK\");\n return;\n }\n }\n System.out.print(\"NG\");\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=A; i<=B; i++){\n if(i%K == 0){\n System.out.print(\"OK\");\n return;\n }\n }", "int i=A;", "int i=A;", "i", "A", "i<=B", "i", "B", "i++", "i++", "i", "{\n if(i%K == 0){\n System.out.print(\"OK\");\n return;\n }\n }", "{\n if(i%K == 0){\n System.out.print(\"OK\");\n return;\n }\n }", "if(i%K == 0){\n System.out.print(\"OK\");\n return;\n }", "i%K == 0", "i%K", "i", "K", "0", "{\n System.out.print(\"OK\");\n return;\n }", "System.out.print(\"OK\")", "System.out.print", "System.out", "System", "System.out", "\"OK\"", "return;", "System.out.print(\"NG\")", "System.out.print", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args" ]
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); for(int i=A; i<=B; i++){ if(i%K == 0){ System.out.print("OK"); return; } } System.out.print("NG"); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 17, 29, 4, 18, 13, 17, 12, 13, 30, 0, 13, 20, 0, 13, 20, 4, 18, 20, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 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, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 145, 8 ], [ 145, 9 ], [ 9, 10 ], [ 145, 11 ], [ 11, 12 ], [ 145, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 15, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 15, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 15, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 15, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 145, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 66, 68 ], [ 62, 69 ], [ 69, 70 ], [ 70, 71 ], [ 62, 72 ], [ 72, 73 ], [ 73, 74 ], [ 60, 75 ], [ 75, 76 ], [ 145, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 77, 81 ], [ 81, 82 ], [ 77, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 77, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 92, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 102, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 91, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 77, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 124, 125 ], [ 77, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 133, 134 ], [ 77, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 139, 142 ], [ 142, 143 ], [ 0, 144 ], [ 144, 145 ], [ 144, 146 ] ]
[ "\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n private void solve() {\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n for (int i = A; i <= B; ++i) {\n if (i % K == 0) {\n out.println(\"OK\");\n return;\n }\n }\n out.println(\"NG\");\n }\n\n private static PrintWriter out;\n private static MyScanner sc;\n\n private static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n private MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n }\n\n public static void main(String[] args) {\n out = new PrintWriter(new BufferedOutputStream(System.out));\n sc = new MyScanner();\n new Main().solve();\n out.close();\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n private void solve() {\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n for (int i = A; i <= B; ++i) {\n if (i % K == 0) {\n out.println(\"OK\");\n return;\n }\n }\n out.println(\"NG\");\n }\n\n private static PrintWriter out;\n private static MyScanner sc;\n\n private static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n private MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n }\n\n public static void main(String[] args) {\n out = new PrintWriter(new BufferedOutputStream(System.out));\n sc = new MyScanner();\n new Main().solve();\n out.close();\n }\n}", "Main", "private static PrintWriter out;", "out", "private static MyScanner sc;", "sc", "private void solve() {\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n for (int i = A; i <= B; ++i) {\n if (i % K == 0) {\n out.println(\"OK\");\n return;\n }\n }\n out.println(\"NG\");\n }", "solve", "{\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n for (int i = A; i <= B; ++i) {\n if (i % K == 0) {\n out.println(\"OK\");\n return;\n }\n }\n out.println(\"NG\");\n }", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = A; i <= B; ++i) {\n if (i % K == 0) {\n out.println(\"OK\");\n return;\n }\n }", "int i = A;", "int i = A;", "i", "A", "i <= B", "i", "B", "++i", "++i", "i", "{\n if (i % K == 0) {\n out.println(\"OK\");\n return;\n }\n }", "{\n if (i % K == 0) {\n out.println(\"OK\");\n return;\n }\n }", "if (i % K == 0) {\n out.println(\"OK\");\n return;\n }", "i % K == 0", "i % K", "i", "K", "0", "{\n out.println(\"OK\");\n return;\n }", "out.println(\"OK\")", "out.println", "out", "\"OK\"", "return;", "out.println(\"NG\")", "out.println", "out", "\"NG\"", "public static void main(String[] args) {\n out = new PrintWriter(new BufferedOutputStream(System.out));\n sc = new MyScanner();\n new Main().solve();\n out.close();\n }", "main", "{\n out = new PrintWriter(new BufferedOutputStream(System.out));\n sc = new MyScanner();\n new Main().solve();\n out.close();\n }", "out = new PrintWriter(new BufferedOutputStream(System.out))", "out", "new PrintWriter(new BufferedOutputStream(System.out))", "sc = new MyScanner()", "sc", "new MyScanner()", "new Main().solve()", "new Main().solve", "new Main()", "out.close()", "out.close", "out", "String[] args", "args", "private static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n private MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n }", "MyScanner", "BufferedReader br;", "br", "StringTokenizer st;", "st", "private MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "MyScanner", "{\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "try {\n st = new StringTokenizer(br.readLine());\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 st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "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 private void solve() {\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n for (int i = A; i <= B; ++i) {\n if (i % K == 0) {\n out.println(\"OK\");\n return;\n }\n }\n out.println(\"NG\");\n }\n\n private static PrintWriter out;\n private static MyScanner sc;\n\n private static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n private MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n }\n\n public static void main(String[] args) {\n out = new PrintWriter(new BufferedOutputStream(System.out));\n sc = new MyScanner();\n new Main().solve();\n out.close();\n }\n}", "public class Main {\n private void solve() {\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n for (int i = A; i <= B; ++i) {\n if (i % K == 0) {\n out.println(\"OK\");\n return;\n }\n }\n out.println(\"NG\");\n }\n\n private static PrintWriter out;\n private static MyScanner sc;\n\n private static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n private MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n }\n\n public static void main(String[] args) {\n out = new PrintWriter(new BufferedOutputStream(System.out));\n sc = new MyScanner();\n new Main().solve();\n out.close();\n }\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { private void solve() { int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); for (int i = A; i <= B; ++i) { if (i % K == 0) { out.println("OK"); return; } } out.println("NG"); } private static PrintWriter out; private static MyScanner sc; private static class MyScanner { BufferedReader br; StringTokenizer st; private MyScanner() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } } public static void main(String[] args) { out = new PrintWriter(new BufferedOutputStream(System.out)); sc = new MyScanner(); new Main().solve(); out.close(); } }
[ 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, 41, 13, 41, 13, 17, 11, 1, 0, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 0, 13, 17, 3, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 78, 5 ], [ 78, 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 ], [ 8, 27 ], [ 27, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 45, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 51, 58 ], [ 58, 59 ], [ 58, 60 ], [ 51, 61 ], [ 8, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 8, 72 ], [ 72, 73 ], [ 73, 74 ], [ 6, 75 ], [ 75, 76 ], [ 0, 77 ], [ 77, 78 ], [ 77, 79 ] ]
[ "import java.util.Scanner;\n \npublic class Main{\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int num1 = scan.nextInt();\n int num2 = scan.nextInt();\n int num3 = scan.nextInt();\n int i;\n int j=0;\n \n for(i=num2; i<=num3;i++){\n if(i%num1==0){\n System.out.println(\"OK\");\n j=1;\n break;\n }\n }\n if(j==0)\n System.out.println(\"NG\");\n scan.close();\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int num1 = scan.nextInt();\n int num2 = scan.nextInt();\n int num3 = scan.nextInt();\n int i;\n int j=0;\n \n for(i=num2; i<=num3;i++){\n if(i%num1==0){\n System.out.println(\"OK\");\n j=1;\n break;\n }\n }\n if(j==0)\n System.out.println(\"NG\");\n scan.close();\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int num1 = scan.nextInt();\n int num2 = scan.nextInt();\n int num3 = scan.nextInt();\n int i;\n int j=0;\n \n for(i=num2; i<=num3;i++){\n if(i%num1==0){\n System.out.println(\"OK\");\n j=1;\n break;\n }\n }\n if(j==0)\n System.out.println(\"NG\");\n scan.close();\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int num1 = scan.nextInt();\n int num2 = scan.nextInt();\n int num3 = scan.nextInt();\n int i;\n int j=0;\n \n for(i=num2; i<=num3;i++){\n if(i%num1==0){\n System.out.println(\"OK\");\n j=1;\n break;\n }\n }\n if(j==0)\n System.out.println(\"NG\");\n scan.close();\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int num1 = scan.nextInt();", "num1", "scan.nextInt()", "scan.nextInt", "scan", "int num2 = scan.nextInt();", "num2", "scan.nextInt()", "scan.nextInt", "scan", "int num3 = scan.nextInt();", "num3", "scan.nextInt()", "scan.nextInt", "scan", "int i;", "i", "int j=0;", "j", "0", "for(i=num2; i<=num3;i++){\n if(i%num1==0){\n System.out.println(\"OK\");\n j=1;\n break;\n }\n }", "i=num2;", "i=num2", "i", "num2", "i<=num3", "i", "num3", "i++", "i++", "i", "{\n if(i%num1==0){\n System.out.println(\"OK\");\n j=1;\n break;\n }\n }", "{\n if(i%num1==0){\n System.out.println(\"OK\");\n j=1;\n break;\n }\n }", "if(i%num1==0){\n System.out.println(\"OK\");\n j=1;\n break;\n }", "i%num1==0", "i%num1", "i", "num1", "0", "{\n System.out.println(\"OK\");\n j=1;\n break;\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "j=1", "j", "1", "break;", "if(j==0)\n System.out.println(\"NG\");", "j==0", "j", "0", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main{\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int num1 = scan.nextInt();\n int num2 = scan.nextInt();\n int num3 = scan.nextInt();\n int i;\n int j=0;\n \n for(i=num2; i<=num3;i++){\n if(i%num1==0){\n System.out.println(\"OK\");\n j=1;\n break;\n }\n }\n if(j==0)\n System.out.println(\"NG\");\n scan.close();\n }\n}", "public class Main{\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int num1 = scan.nextInt();\n int num2 = scan.nextInt();\n int num3 = scan.nextInt();\n int i;\n int j=0;\n \n for(i=num2; i<=num3;i++){\n if(i%num1==0){\n System.out.println(\"OK\");\n j=1;\n break;\n }\n }\n if(j==0)\n System.out.println(\"NG\");\n scan.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); int num1 = scan.nextInt(); int num2 = scan.nextInt(); int num3 = scan.nextInt(); int i; int j=0; for(i=num2; i<=num3;i++){ if(i%num1==0){ System.out.println("OK"); j=1; break; } } if(j==0) System.out.println("NG"); scan.close(); } }
[ 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, 41, 13, 2, 2, 13, 13, 13, 14, 2, 2, 13, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 2, 2, 13, 17, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 78, 5 ], [ 78, 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 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 8, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 39, 41 ], [ 34, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 34, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 58, 60 ], [ 49, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 49, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 6, 75 ], [ 75, 76 ], [ 0, 77 ], [ 77, 78 ], [ 77, 79 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint k = scan.nextInt();\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\t\n\t\tint large = (b / k) * k;\n\t\n\t\t\n\t\t\n\t\tif(large >= a && large <= b) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a == b && (k == 1 || k == a)) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"NG\");\n\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\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint k = scan.nextInt();\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\t\n\t\tint large = (b / k) * k;\n\t\n\t\t\n\t\t\n\t\tif(large >= a && large <= b) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a == b && (k == 1 || k == a)) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t\t\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint k = scan.nextInt();\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\t\n\t\tint large = (b / k) * k;\n\t\n\t\t\n\t\t\n\t\tif(large >= a && large <= b) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a == b && (k == 1 || k == a)) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t\t\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint k = scan.nextInt();\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\t\n\t\tint large = (b / k) * k;\n\t\n\t\t\n\t\t\n\t\tif(large >= a && large <= b) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a == b && (k == 1 || k == a)) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t\t\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int k = scan.nextInt();", "k", "scan.nextInt()", "scan.nextInt", "scan", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "int b = scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "int large = (b / k) * k;", "large", "(b / k) * k", "(b / k)", "b", "k", "k", "if(large >= a && large <= b) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a == b && (k == 1 || k == a)) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "large >= a && large <= b", "large >= a", "large", "a", "large <= b", "large", "b", "{\n\t\t\tSystem.out.println(\"OK\");\n\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "if(a == b && (k == 1 || k == a)) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "a == b && (k == 1 || k == a)", "a == b", "a", "b", "(k == 1 || k == a)", "k == 1", "k", "1", "k == a", "k", "a", "{\n\t\t\tSystem.out.println(\"OK\");\n\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint k = scan.nextInt();\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\t\n\t\tint large = (b / k) * k;\n\t\n\t\t\n\t\t\n\t\tif(large >= a && large <= b) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a == b && (k == 1 || k == a)) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t\t\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint k = scan.nextInt();\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\t\n\t\tint large = (b / k) * k;\n\t\n\t\t\n\t\t\n\t\tif(large >= a && large <= b) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse if(a == b && (k == 1 || k == a)) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t\t\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner scan = new Scanner(System.in); int k = scan.nextInt(); int a = scan.nextInt(); int b = scan.nextInt(); int large = (b / k) * k; if(large >= a && large <= b) { System.out.println("OK"); } else if(a == b && (k == 1 || k == a)) { System.out.println("OK"); } else { System.out.println("NG"); } } }
[ 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, 17, 4, 18, 18, 13, 13, 4, 13, 13, 18, 13, 17, 18, 13, 17, 23, 13, 12, 13, 30, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 29, 17, 29, 17, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 4, 13, 13, 23, 13, 12, 13, 30, 41, 13, 4, 13, 13, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 29, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 158, 11 ], [ 158, 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 ], [ 25, 28 ], [ 14, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 34, 37 ], [ 37, 38 ], [ 37, 39 ], [ 34, 40 ], [ 40, 41 ], [ 40, 42 ], [ 12, 43 ], [ 43, 44 ], [ 158, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 47, 69 ], [ 69, 70 ], [ 45, 71 ], [ 71, 72 ], [ 45, 73 ], [ 73, 74 ], [ 45, 75 ], [ 75, 76 ], [ 158, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 77, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 77, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 77, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 101, 102 ], [ 77, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 107, 111 ], [ 103, 112 ], [ 112, 113 ], [ 77, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 119, 121 ], [ 116, 122 ], [ 122, 123 ], [ 122, 124 ], [ 125, 126 ], [ 125, 127 ], [ 116, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 128, 133 ], [ 133, 134 ], [ 133, 135 ], [ 135, 136 ], [ 135, 137 ], [ 128, 138 ], [ 138, 139 ], [ 139, 140 ], [ 128, 141 ], [ 142, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 143, 147 ], [ 147, 148 ], [ 148, 149 ], [ 147, 150 ], [ 150, 151 ], [ 150, 152 ], [ 116, 153 ], [ 153, 154 ], [ 114, 155 ], [ 155, 156 ], [ 0, 157 ], [ 157, 158 ], [ 157, 159 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n MyReader reader = new MyReader();\n int k = reader.readInt();\n int[] ab = reader.readInts(\" \");\n System.out.println(problem165a(k, ab[0], ab[1]));\n }\n\n private static String problem165a(int k, int a, int b) {\n for (int i = a; i <= b; i++) {\n if (i % k == 0) return \"OK\";\n }\n return \"NG\";\n }\n\n private static class MyReader {\n private final BufferedReader br;\n private MyReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n private String readString() throws IOException {\n return br.readLine();\n }\n\n private int readInt() throws IOException {\n return Integer.parseInt(readString());\n }\n\n private String[] readStrings(String regex) throws IOException {\n return readString().split(regex);\n }\n\n private int[] readInts(String regex) throws IOException {\n String[] strings = readStrings(regex);\n int[] ints = new int[strings.length];\n for (int i = 0; i < ints.length; i++) {\n ints[i] = Integer.parseInt(strings[i]);\n }\n return ints;\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n public static void main(String[] args) throws IOException {\n MyReader reader = new MyReader();\n int k = reader.readInt();\n int[] ab = reader.readInts(\" \");\n System.out.println(problem165a(k, ab[0], ab[1]));\n }\n\n private static String problem165a(int k, int a, int b) {\n for (int i = a; i <= b; i++) {\n if (i % k == 0) return \"OK\";\n }\n return \"NG\";\n }\n\n private static class MyReader {\n private final BufferedReader br;\n private MyReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n private String readString() throws IOException {\n return br.readLine();\n }\n\n private int readInt() throws IOException {\n return Integer.parseInt(readString());\n }\n\n private String[] readStrings(String regex) throws IOException {\n return readString().split(regex);\n }\n\n private int[] readInts(String regex) throws IOException {\n String[] strings = readStrings(regex);\n int[] ints = new int[strings.length];\n for (int i = 0; i < ints.length; i++) {\n ints[i] = Integer.parseInt(strings[i]);\n }\n return ints;\n }\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n MyReader reader = new MyReader();\n int k = reader.readInt();\n int[] ab = reader.readInts(\" \");\n System.out.println(problem165a(k, ab[0], ab[1]));\n }", "main", "{\n MyReader reader = new MyReader();\n int k = reader.readInt();\n int[] ab = reader.readInts(\" \");\n System.out.println(problem165a(k, ab[0], ab[1]));\n }", "MyReader reader = new MyReader();", "reader", "new MyReader()", "int k = reader.readInt();", "k", "reader.readInt()", "reader.readInt", "reader", "int[] ab = reader.readInts(\" \");", "ab", "reader.readInts(\" \")", "reader.readInts", "reader", "\" \"", "System.out.println(problem165a(k, ab[0], ab[1]))", "System.out.println", "System.out", "System", "System.out", "problem165a(k, ab[0], ab[1])", "problem165a", "k", "ab[0]", "ab", "0", "ab[1]", "ab", "1", "String[] args", "args", "private static String problem165a(int k, int a, int b) {\n for (int i = a; i <= b; i++) {\n if (i % k == 0) return \"OK\";\n }\n return \"NG\";\n }", "problem165a", "{\n for (int i = a; i <= b; i++) {\n if (i % k == 0) return \"OK\";\n }\n return \"NG\";\n }", "for (int i = a; i <= b; i++) {\n if (i % k == 0) return \"OK\";\n }", "int i = a;", "int i = a;", "i", "a", "i <= b", "i", "b", "i++", "i++", "i", "{\n if (i % k == 0) return \"OK\";\n }", "{\n if (i % k == 0) return \"OK\";\n }", "if (i % k == 0) return \"OK\";", "i % k == 0", "i % k", "i", "k", "0", "return \"OK\";", "\"OK\"", "return \"NG\";", "\"NG\"", "int k", "k", "int a", "a", "int b", "b", "private static class MyReader {\n private final BufferedReader br;\n private MyReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n private String readString() throws IOException {\n return br.readLine();\n }\n\n private int readInt() throws IOException {\n return Integer.parseInt(readString());\n }\n\n private String[] readStrings(String regex) throws IOException {\n return readString().split(regex);\n }\n\n private int[] readInts(String regex) throws IOException {\n String[] strings = readStrings(regex);\n int[] ints = new int[strings.length];\n for (int i = 0; i < ints.length; i++) {\n ints[i] = Integer.parseInt(strings[i]);\n }\n return ints;\n }\n }", "MyReader", "private final BufferedReader br;", "br", "private MyReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "MyReader", "{\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "private String readString() throws IOException {\n return br.readLine();\n }", "readString", "{\n return br.readLine();\n }", "return br.readLine();", "br.readLine()", "br.readLine", "br", "private int readInt() throws IOException {\n return Integer.parseInt(readString());\n }", "readInt", "{\n return Integer.parseInt(readString());\n }", "return Integer.parseInt(readString());", "Integer.parseInt(readString())", "Integer.parseInt", "Integer", "readString()", "readString", "private String[] readStrings(String regex) throws IOException {\n return readString().split(regex);\n }", "readStrings", "{\n return readString().split(regex);\n }", "return readString().split(regex);", "readString().split(regex)", "readString().split", "readString()", "readString", "regex", "String regex", "regex", "private int[] readInts(String regex) throws IOException {\n String[] strings = readStrings(regex);\n int[] ints = new int[strings.length];\n for (int i = 0; i < ints.length; i++) {\n ints[i] = Integer.parseInt(strings[i]);\n }\n return ints;\n }", "readInts", "{\n String[] strings = readStrings(regex);\n int[] ints = new int[strings.length];\n for (int i = 0; i < ints.length; i++) {\n ints[i] = Integer.parseInt(strings[i]);\n }\n return ints;\n }", "String[] strings = readStrings(regex);", "strings", "readStrings(regex)", "readStrings", "regex", "int[] ints = new int[strings.length];", "ints", "new int[strings.length]", "strings.length", "strings", "strings.length", "for (int i = 0; i < ints.length; i++) {\n ints[i] = Integer.parseInt(strings[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < ints.length", "i", "ints.length", "ints", "ints.length", "i++", "i++", "i", "{\n ints[i] = Integer.parseInt(strings[i]);\n }", "{\n ints[i] = Integer.parseInt(strings[i]);\n }", "ints[i] = Integer.parseInt(strings[i])", "ints[i]", "ints", "i", "Integer.parseInt(strings[i])", "Integer.parseInt", "Integer", "strings[i]", "strings", "i", "return ints;", "ints", "String regex", "regex", "public class Main {\n\n public static void main(String[] args) throws IOException {\n MyReader reader = new MyReader();\n int k = reader.readInt();\n int[] ab = reader.readInts(\" \");\n System.out.println(problem165a(k, ab[0], ab[1]));\n }\n\n private static String problem165a(int k, int a, int b) {\n for (int i = a; i <= b; i++) {\n if (i % k == 0) return \"OK\";\n }\n return \"NG\";\n }\n\n private static class MyReader {\n private final BufferedReader br;\n private MyReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n private String readString() throws IOException {\n return br.readLine();\n }\n\n private int readInt() throws IOException {\n return Integer.parseInt(readString());\n }\n\n private String[] readStrings(String regex) throws IOException {\n return readString().split(regex);\n }\n\n private int[] readInts(String regex) throws IOException {\n String[] strings = readStrings(regex);\n int[] ints = new int[strings.length];\n for (int i = 0; i < ints.length; i++) {\n ints[i] = Integer.parseInt(strings[i]);\n }\n return ints;\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) throws IOException {\n MyReader reader = new MyReader();\n int k = reader.readInt();\n int[] ab = reader.readInts(\" \");\n System.out.println(problem165a(k, ab[0], ab[1]));\n }\n\n private static String problem165a(int k, int a, int b) {\n for (int i = a; i <= b; i++) {\n if (i % k == 0) return \"OK\";\n }\n return \"NG\";\n }\n\n private static class MyReader {\n private final BufferedReader br;\n private MyReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n private String readString() throws IOException {\n return br.readLine();\n }\n\n private int readInt() throws IOException {\n return Integer.parseInt(readString());\n }\n\n private String[] readStrings(String regex) throws IOException {\n return readString().split(regex);\n }\n\n private int[] readInts(String regex) throws IOException {\n String[] strings = readStrings(regex);\n int[] ints = new int[strings.length];\n for (int i = 0; i < ints.length; i++) {\n ints[i] = Integer.parseInt(strings[i]);\n }\n return ints;\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { MyReader reader = new MyReader(); int k = reader.readInt(); int[] ab = reader.readInts(" "); System.out.println(problem165a(k, ab[0], ab[1])); } private static String problem165a(int k, int a, int b) { for (int i = a; i <= b; i++) { if (i % k == 0) return "OK"; } return "NG"; } private static class MyReader { private final BufferedReader br; private MyReader() { br = new BufferedReader(new InputStreamReader(System.in)); } private String readString() throws IOException { return br.readLine(); } private int readInt() throws IOException { return Integer.parseInt(readString()); } private String[] readStrings(String regex) throws IOException { return readString().split(regex); } private int[] readInts(String regex) throws IOException { String[] strings = readStrings(regex); int[] ints = new int[strings.length]; for (int i = 0; i < ints.length; i++) { ints[i] = Integer.parseInt(strings[i]); } return ints; } } }
[ 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, 41, 13, 2, 13, 13, 14, 2, 2, 13, 13, 13, 30, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 55, 5 ], [ 55, 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 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 32, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 38, 45 ], [ 8, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 6, 52 ], [ 52, 53 ], [ 0, 54 ], [ 54, 55 ], [ 54, 56 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String args[]) {\n\n Scanner scan = new Scanner(System.in);\n int k = scan.nextInt();\n int a = scan.nextInt();\n int b = scan.nextInt();\n\n int max = b / k;\n\n if (k * max >= a) {\n System.out.println(\"OK\");\n \treturn;\n }\n\n System.out.println(\"NG\");\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String args[]) {\n\n Scanner scan = new Scanner(System.in);\n int k = scan.nextInt();\n int a = scan.nextInt();\n int b = scan.nextInt();\n\n int max = b / k;\n\n if (k * max >= a) {\n System.out.println(\"OK\");\n \treturn;\n }\n\n System.out.println(\"NG\");\n }\n}", "Main", "public static void main(String args[]) {\n\n Scanner scan = new Scanner(System.in);\n int k = scan.nextInt();\n int a = scan.nextInt();\n int b = scan.nextInt();\n\n int max = b / k;\n\n if (k * max >= a) {\n System.out.println(\"OK\");\n \treturn;\n }\n\n System.out.println(\"NG\");\n }", "main", "{\n\n Scanner scan = new Scanner(System.in);\n int k = scan.nextInt();\n int a = scan.nextInt();\n int b = scan.nextInt();\n\n int max = b / k;\n\n if (k * max >= a) {\n System.out.println(\"OK\");\n \treturn;\n }\n\n System.out.println(\"NG\");\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int k = scan.nextInt();", "k", "scan.nextInt()", "scan.nextInt", "scan", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "int b = scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "int max = b / k;", "max", "b / k", "b", "k", "if (k * max >= a) {\n System.out.println(\"OK\");\n \treturn;\n }", "k * max >= a", "k * max", "k", "max", "a", "{\n System.out.println(\"OK\");\n \treturn;\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "return;", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String args[]", "args", "public class Main {\n public static void main(String args[]) {\n\n Scanner scan = new Scanner(System.in);\n int k = scan.nextInt();\n int a = scan.nextInt();\n int b = scan.nextInt();\n\n int max = b / k;\n\n if (k * max >= a) {\n System.out.println(\"OK\");\n \treturn;\n }\n\n System.out.println(\"NG\");\n }\n}", "public class Main {\n public static void main(String args[]) {\n\n Scanner scan = new Scanner(System.in);\n int k = scan.nextInt();\n int a = scan.nextInt();\n int b = scan.nextInt();\n\n int max = b / k;\n\n if (k * max >= a) {\n System.out.println(\"OK\");\n \treturn;\n }\n\n System.out.println(\"NG\");\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int k = scan.nextInt(); int a = scan.nextInt(); int b = scan.nextInt(); int max = b / k; if (k * max >= a) { System.out.println("OK"); return; } System.out.println("NG"); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 2, 2, 13, 13, 17, 41, 13, 2, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 18, 13, 2, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 18, 13, 2, 2, 13, 17, 13, 41, 13, 17, 41, 13, 17, 41, 13, 13, 42, 2, 2, 13, 13, 2, 13, 13, 30, 14, 2, 18, 13, 13, 18, 13, 13, 30, 0, 18, 13, 13, 18, 13, 13, 40, 13, 30, 0, 18, 13, 13, 18, 13, 13, 40, 13, 40, 13, 42, 2, 13, 13, 30, 0, 18, 13, 13, 18, 13, 13, 40, 13, 40, 13, 42, 2, 13, 13, 30, 0, 18, 13, 13, 18, 13, 13, 40, 13, 40, 13, 23, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 41, 13, 2, 2, 13, 13, 17, 4, 13, 13, 13, 13, 4, 13, 13, 2, 13, 17, 13, 4, 13, 13, 13, 13, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 13, 42, 2, 13, 13, 30, 41, 13, 2, 2, 13, 13, 17, 14, 2, 13, 18, 13, 13, 30, 0, 13, 13, 30, 0, 13, 2, 13, 17, 29, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 13, 42, 2, 13, 13, 30, 41, 13, 2, 2, 13, 13, 17, 14, 2, 13, 18, 13, 13, 30, 0, 13, 2, 13, 17, 30, 0, 13, 13, 29, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 17, 41, 13, 17, 42, 2, 13, 17, 30, 0, 13, 2, 13, 13, 40, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 2, 18, 13, 13, 17, 42, 2, 13, 13, 30, 41, 13, 2, 13, 2, 2, 13, 13, 17, 14, 2, 18, 13, 13, 13, 29, 13, 14, 2, 18, 13, 13, 13, 0, 13, 2, 13, 17, 0, 13, 2, 13, 17, 29, 40, 17, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 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, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 14, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 24, 26 ], [ 14, 27 ], [ 27, 28 ], [ 27, 29 ], [ 14, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 14, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 61, 62 ], [ 61, 63 ], [ 56, 64 ], [ 64, 65 ], [ 65, 66 ], [ 56, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 72, 73 ], [ 72, 74 ], [ 75, 75 ], [ 75, 76 ], [ 75, 77 ], [ 75, 78 ], [ 14, 79 ], [ 79, 80 ], [ 79, 81 ], [ 14, 82 ], [ 82, 83 ], [ 82, 84 ], [ 14, 85 ], [ 85, 86 ], [ 85, 87 ], [ 14, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 93, 94 ], [ 93, 95 ], [ 88, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 102, 103 ], [ 102, 104 ], [ 97, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 110, 111 ], [ 110, 112 ], [ 105, 113 ], [ 113, 114 ], [ 97, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 120, 122 ], [ 115, 123 ], [ 123, 124 ], [ 96, 125 ], [ 125, 126 ], [ 14, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 127, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 136, 137 ], [ 136, 138 ], [ 131, 139 ], [ 139, 140 ], [ 131, 141 ], [ 141, 142 ], [ 14, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 143, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 148, 152 ], [ 152, 153 ], [ 152, 154 ], [ 147, 155 ], [ 155, 156 ], [ 147, 157 ], [ 157, 158 ], [ 12, 159 ], [ 159, 160 ], [ 12, 161 ], [ 161, 162 ], [ 12, 163 ], [ 163, 164 ], [ 12, 165 ], [ 165, 166 ], [ 10, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 170, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 177, 181 ], [ 174, 182 ], [ 182, 183 ], [ 182, 184 ], [ 182, 185 ], [ 182, 186 ], [ 174, 187 ], [ 187, 188 ], [ 187, 189 ], [ 187, 190 ], [ 190, 191 ], [ 190, 192 ], [ 187, 193 ], [ 174, 194 ], [ 194, 195 ], [ 194, 196 ], [ 194, 197 ], [ 194, 198 ], [ 194, 199 ], [ 167, 200 ], [ 200, 201 ], [ 167, 202 ], [ 202, 203 ], [ 167, 204 ], [ 204, 205 ], [ 10, 206 ], [ 206, 207 ], [ 206, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 208, 212 ], [ 212, 213 ], [ 212, 214 ], [ 208, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 215, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 222, 223 ], [ 223, 224 ], [ 223, 225 ], [ 222, 226 ], [ 219, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 230, 231 ], [ 230, 232 ], [ 227, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 227, 237 ], [ 237, 238 ], [ 238, 239 ], [ 238, 240 ], [ 240, 241 ], [ 240, 242 ], [ 208, 243 ], [ 243, 244 ], [ 206, 245 ], [ 245, 246 ], [ 206, 247 ], [ 247, 248 ], [ 206, 249 ], [ 249, 250 ], [ 10, 251 ], [ 251, 252 ], [ 251, 253 ], [ 253, 254 ], [ 254, 255 ], [ 254, 256 ], [ 253, 257 ], [ 257, 258 ], [ 257, 259 ], [ 253, 260 ], [ 260, 261 ], [ 261, 262 ], [ 261, 263 ], [ 260, 264 ], [ 264, 265 ], [ 265, 266 ], [ 265, 267 ], [ 267, 268 ], [ 268, 269 ], [ 268, 270 ], [ 267, 271 ], [ 264, 272 ], [ 272, 273 ], [ 273, 274 ], [ 273, 275 ], [ 275, 276 ], [ 275, 277 ], [ 272, 278 ], [ 278, 279 ], [ 279, 280 ], [ 279, 281 ], [ 281, 282 ], [ 281, 283 ], [ 272, 284 ], [ 284, 285 ], [ 285, 286 ], [ 285, 287 ], [ 253, 288 ], [ 288, 289 ], [ 251, 290 ], [ 290, 291 ], [ 251, 292 ], [ 292, 293 ], [ 251, 294 ], [ 294, 295 ], [ 10, 296 ], [ 296, 297 ], [ 296, 298 ], [ 298, 299 ], [ 299, 300 ], [ 300, 301 ], [ 300, 302 ], [ 299, 303 ], [ 303, 304 ], [ 298, 305 ], [ 305, 306 ], [ 306, 307 ], [ 306, 308 ], [ 306, 309 ], [ 309, 310 ], [ 309, 311 ], [ 296, 312 ], [ 312, 313 ], [ 296, 314 ], [ 314, 315 ], [ 10, 316 ], [ 316, 317 ], [ 316, 318 ], [ 318, 319 ], [ 319, 320 ], [ 320, 321 ], [ 320, 322 ], [ 319, 323 ], [ 323, 324 ], [ 318, 325 ], [ 325, 326 ], [ 325, 327 ], [ 318, 328 ], [ 328, 329 ], [ 329, 330 ], [ 329, 331 ], [ 328, 332 ], [ 332, 333 ], [ 333, 334 ], [ 333, 335 ], [ 335, 336 ], [ 335, 337 ], [ 332, 338 ], [ 338, 339 ], [ 318, 340 ], [ 340, 341 ], [ 316, 342 ], [ 342, 343 ], [ 316, 344 ], [ 344, 345 ], [ 10, 346 ], [ 346, 347 ], [ 346, 348 ], [ 348, 349 ], [ 349, 350 ], [ 349, 351 ], [ 348, 352 ], [ 352, 353 ], [ 352, 354 ], [ 354, 355 ], [ 355, 356 ], [ 355, 357 ], [ 354, 358 ], [ 348, 359 ], [ 359, 360 ], [ 360, 361 ], [ 360, 362 ], [ 359, 363 ], [ 363, 364 ], [ 364, 365 ], [ 364, 366 ], [ 366, 367 ], [ 366, 368 ], [ 368, 369 ], [ 369, 370 ], [ 369, 371 ], [ 368, 372 ], [ 363, 373 ], [ 373, 374 ], [ 374, 375 ], [ 375, 376 ], [ 375, 377 ], [ 374, 378 ], [ 373, 379 ], [ 379, 380 ], [ 363, 381 ], [ 381, 382 ], [ 382, 383 ], [ 383, 384 ], [ 383, 385 ], [ 382, 386 ], [ 381, 387 ], [ 387, 388 ], [ 387, 389 ], [ 389, 390 ], [ 389, 391 ], [ 381, 392 ], [ 392, 393 ], [ 392, 394 ], [ 394, 395 ], [ 394, 396 ], [ 348, 397 ], [ 397, 398 ], [ 398, 399 ], [ 346, 400 ], [ 400, 401 ], [ 346, 402 ], [ 402, 403 ], [ 10, 404 ], [ 404, 405 ], [ 404, 406 ], [ 406, 407 ], [ 407, 408 ], [ 407, 409 ], [ 406, 410 ], [ 410, 411 ], [ 410, 412 ], [ 412, 413 ], [ 413, 414 ], [ 412, 415 ], [ 415, 416 ], [ 416, 417 ], [ 406, 418 ], [ 418, 419 ], [ 418, 420 ], [ 420, 421 ], [ 421, 422 ], [ 406, 423 ], [ 423, 424 ], [ 423, 425 ], [ 425, 426 ], [ 426, 427 ], [ 425, 428 ], [ 406, 429 ], [ 429, 430 ], [ 429, 431 ], [ 431, 432 ], [ 432, 433 ], [ 431, 434 ], [ 434, 435 ], [ 434, 436 ], [ 406, 437 ], [ 437, 438 ], [ 437, 439 ], [ 439, 440 ], [ 440, 441 ], [ 439, 442 ], [ 442, 443 ], [ 442, 444 ], [ 406, 445 ], [ 445, 446 ], [ 446, 447 ], [ 447, 448 ], [ 447, 449 ], [ 445, 450 ], [ 450, 451 ], [ 450, 452 ], [ 445, 453 ], [ 453, 454 ], [ 454, 455 ], [ 445, 456 ], [ 457, 457 ], [ 457, 458 ], [ 458, 459 ], [ 459, 460 ], [ 460, 461 ], [ 460, 462 ], [ 459, 463 ], [ 458, 464 ], [ 464, 465 ], [ 465, 466 ], [ 466, 467 ], [ 467, 468 ], [ 467, 469 ], [ 465, 470 ], [ 464, 471 ], [ 406, 472 ], [ 472, 473 ], [ 473, 474 ], [ 474, 475 ], [ 474, 476 ], [ 472, 477 ], [ 404, 478 ], [ 478, 479 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.*;\nclass Main\n{\n\tstatic void merge(int arr[], int l, int m, int r) \n { \n int n1 = m - l + 1; \n int n2 = r - m; \n int L[] = new int [n1]; \n int R[] = new int [n2]; \n for (int i=0; i<n1; ++i) \n L[i] = arr[l + i]; \n for (int j=0; j<n2; ++j) \n R[j] = arr[m + 1+ j]; \n int i = 0, j = 0; \n int k = l; \n while (i < n1 && j < n2) \n { \n if (L[i] <= R[j]) \n { \n arr[k] = L[i]; \n i++; \n } \n else\n { \n arr[k] = R[j]; \n j++; \n } \n k++; \n } \n while (i < n1) \n { \n arr[k] = L[i]; \n i++; \n k++; \n } \n while (j < n2) \n { \n arr[k] = R[j]; \n j++; \n k++; \n } \n } \n static void sort(int arr[], int l, int r) \n { \n if (l < r) \n { \n int m = (l+r)/2; \n sort(arr, l, m); \n sort(arr , m+1, r); \n merge(arr, l, m, r); \n } \n } \n public static int lowerBound(int[] array, int length, int value) \n\t{\n int low = 0;\n int high = length;\n while (low < high) \n {\n final int mid = (low + high) / 2;\n //checks if the value is less than middle element of the array\n if (value <= array[mid]) \n {\n high = mid;\n } \n else \n {\n low = mid + 1;\n }\n }\n return low;\n }\n\tpublic static int upperBound(int[] array, int length, int value) \n\t{\n int low = 0;\n int high = length;\n while (low < high) {\n final int mid = (low + high) / 2;\n if (value >= array[mid]) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return low;\n }\n static int gcd(int a, int b) \n { \n if (b == 0) \n return a; \n return gcd(b, a % b); \n } \n static long power(long n,long m)\n {\n \tif(m==0)\n \t\treturn 1;\n \tlong ans=1;\n \twhile(m>0)\n \t{\n \t\tans=ans*n;\n \t\tm--;\n \t}\n \treturn ans;\n }\n static int BinarySearch(int arr[], int x) \n { \n int l = 0, r = arr.length - 1; \n while (l <= r) { \n int m = l + (r - l) / 2; \n if (arr[m] == x) \n return m; \n if (arr[m] < x) \n l = m + 1; \n else\n r = m - 1; \n } \n return -1; \n } \n\tpublic static void main(String args[])throws Exception\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint t=Integer.parseInt(br.readLine());\n\t String s=br.readLine();\n String str[]=s.split(\" \");\n int n=Integer.parseInt(str[0]);\n int m=Integer.parseInt(str[1]);\n\t\tfor(int i=n;i<=m;i++)\n\t {\n\t\t\tif(i%t==0)\n\t {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t }\n\t }\n\t\tSystem.out.println(\"NG\");\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.*;", "util.*", "java", "class Main\n{\n\tstatic void merge(int arr[], int l, int m, int r) \n { \n int n1 = m - l + 1; \n int n2 = r - m; \n int L[] = new int [n1]; \n int R[] = new int [n2]; \n for (int i=0; i<n1; ++i) \n L[i] = arr[l + i]; \n for (int j=0; j<n2; ++j) \n R[j] = arr[m + 1+ j]; \n int i = 0, j = 0; \n int k = l; \n while (i < n1 && j < n2) \n { \n if (L[i] <= R[j]) \n { \n arr[k] = L[i]; \n i++; \n } \n else\n { \n arr[k] = R[j]; \n j++; \n } \n k++; \n } \n while (i < n1) \n { \n arr[k] = L[i]; \n i++; \n k++; \n } \n while (j < n2) \n { \n arr[k] = R[j]; \n j++; \n k++; \n } \n } \n static void sort(int arr[], int l, int r) \n { \n if (l < r) \n { \n int m = (l+r)/2; \n sort(arr, l, m); \n sort(arr , m+1, r); \n merge(arr, l, m, r); \n } \n } \n public static int lowerBound(int[] array, int length, int value) \n\t{\n int low = 0;\n int high = length;\n while (low < high) \n {\n final int mid = (low + high) / 2;\n //checks if the value is less than middle element of the array\n if (value <= array[mid]) \n {\n high = mid;\n } \n else \n {\n low = mid + 1;\n }\n }\n return low;\n }\n\tpublic static int upperBound(int[] array, int length, int value) \n\t{\n int low = 0;\n int high = length;\n while (low < high) {\n final int mid = (low + high) / 2;\n if (value >= array[mid]) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return low;\n }\n static int gcd(int a, int b) \n { \n if (b == 0) \n return a; \n return gcd(b, a % b); \n } \n static long power(long n,long m)\n {\n \tif(m==0)\n \t\treturn 1;\n \tlong ans=1;\n \twhile(m>0)\n \t{\n \t\tans=ans*n;\n \t\tm--;\n \t}\n \treturn ans;\n }\n static int BinarySearch(int arr[], int x) \n { \n int l = 0, r = arr.length - 1; \n while (l <= r) { \n int m = l + (r - l) / 2; \n if (arr[m] == x) \n return m; \n if (arr[m] < x) \n l = m + 1; \n else\n r = m - 1; \n } \n return -1; \n } \n\tpublic static void main(String args[])throws Exception\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint t=Integer.parseInt(br.readLine());\n\t String s=br.readLine();\n String str[]=s.split(\" \");\n int n=Integer.parseInt(str[0]);\n int m=Integer.parseInt(str[1]);\n\t\tfor(int i=n;i<=m;i++)\n\t {\n\t\t\tif(i%t==0)\n\t {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t }\n\t }\n\t\tSystem.out.println(\"NG\");\n\t}\n}", "Main", "static void merge(int arr[], int l, int m, int r) \n { \n int n1 = m - l + 1; \n int n2 = r - m; \n int L[] = new int [n1]; \n int R[] = new int [n2]; \n for (int i=0; i<n1; ++i) \n L[i] = arr[l + i]; \n for (int j=0; j<n2; ++j) \n R[j] = arr[m + 1+ j]; \n int i = 0, j = 0; \n int k = l; \n while (i < n1 && j < n2) \n { \n if (L[i] <= R[j]) \n { \n arr[k] = L[i]; \n i++; \n } \n else\n { \n arr[k] = R[j]; \n j++; \n } \n k++; \n } \n while (i < n1) \n { \n arr[k] = L[i]; \n i++; \n k++; \n } \n while (j < n2) \n { \n arr[k] = R[j]; \n j++; \n k++; \n } \n }", "merge", "{ \n int n1 = m - l + 1; \n int n2 = r - m; \n int L[] = new int [n1]; \n int R[] = new int [n2]; \n for (int i=0; i<n1; ++i) \n L[i] = arr[l + i]; \n for (int j=0; j<n2; ++j) \n R[j] = arr[m + 1+ j]; \n int i = 0, j = 0; \n int k = l; \n while (i < n1 && j < n2) \n { \n if (L[i] <= R[j]) \n { \n arr[k] = L[i]; \n i++; \n } \n else\n { \n arr[k] = R[j]; \n j++; \n } \n k++; \n } \n while (i < n1) \n { \n arr[k] = L[i]; \n i++; \n k++; \n } \n while (j < n2) \n { \n arr[k] = R[j]; \n j++; \n k++; \n } \n }", "int n1 = m - l + 1;", "n1", "m - l + 1", "m - l", "m", "l", "1", "int n2 = r - m;", "n2", "r - m", "r", "m", "int L[] = new int [n1];", "L", "new int [n1]", "n1", "int R[] = new int [n2];", "R", "new int [n2]", "n2", "for (int i=0; i<n1; ++i) \n L[i] = arr[l + i];", "int i=0;", "int i=0;", "i", "0", "i<n1", "i", "n1", "++i", "++i", "i", "L[i] = arr[l + i];", "L[i] = arr[l + i]", "L[i]", "L", "i", "arr[l + i]", "arr", "l + i", "l", "i", "for (int j=0; j<n2; ++j) \n R[j] = arr[m + 1+ j];", "int j=0;", "int j=0;", "j", "0", "j<n2", "j", "n2", "++j", "++j", "j", "R[j] = arr[m + 1+ j];", "R[j] = arr[m + 1+ j]", "R[j]", "R", "j", "arr[m + 1+ j]", "arr", "m + 1+ j", "m + 1+ j", "m", "1", "j", "int i = 0", "i", "0", "j = 0;", "j", "0", "int k = l;", "k", "l", "while (i < n1 && j < n2) \n { \n if (L[i] <= R[j]) \n { \n arr[k] = L[i]; \n i++; \n } \n else\n { \n arr[k] = R[j]; \n j++; \n } \n k++; \n }", "i < n1 && j < n2", "i < n1", "i", "n1", "j < n2", "j", "n2", "{ \n if (L[i] <= R[j]) \n { \n arr[k] = L[i]; \n i++; \n } \n else\n { \n arr[k] = R[j]; \n j++; \n } \n k++; \n }", "if (L[i] <= R[j]) \n { \n arr[k] = L[i]; \n i++; \n } \n else\n { \n arr[k] = R[j]; \n j++; \n }", "L[i] <= R[j]", "L[i]", "L", "i", "R[j]", "R", "j", "{ \n arr[k] = L[i]; \n i++; \n }", "arr[k] = L[i]", "arr[k]", "arr", "k", "L[i]", "L", "i", "i++", "i", "{ \n arr[k] = R[j]; \n j++; \n }", "arr[k] = R[j]", "arr[k]", "arr", "k", "R[j]", "R", "j", "j++", "j", "k++", "k", "while (i < n1) \n { \n arr[k] = L[i]; \n i++; \n k++; \n }", "i < n1", "i", "n1", "{ \n arr[k] = L[i]; \n i++; \n k++; \n }", "arr[k] = L[i]", "arr[k]", "arr", "k", "L[i]", "L", "i", "i++", "i", "k++", "k", "while (j < n2) \n { \n arr[k] = R[j]; \n j++; \n k++; \n }", "j < n2", "j", "n2", "{ \n arr[k] = R[j]; \n j++; \n k++; \n }", "arr[k] = R[j]", "arr[k]", "arr", "k", "R[j]", "R", "j", "j++", "j", "k++", "k", "int arr[]", "arr", "int l", "l", "int m", "m", "int r", "r", "static void sort(int arr[], int l, int r) \n { \n if (l < r) \n { \n int m = (l+r)/2; \n sort(arr, l, m); \n sort(arr , m+1, r); \n merge(arr, l, m, r); \n } \n }", "sort", "{ \n if (l < r) \n { \n int m = (l+r)/2; \n sort(arr, l, m); \n sort(arr , m+1, r); \n merge(arr, l, m, r); \n } \n }", "if (l < r) \n { \n int m = (l+r)/2; \n sort(arr, l, m); \n sort(arr , m+1, r); \n merge(arr, l, m, r); \n }", "l < r", "l", "r", "{ \n int m = (l+r)/2; \n sort(arr, l, m); \n sort(arr , m+1, r); \n merge(arr, l, m, r); \n }", "int m = (l+r)/2;", "m", "(l+r)/2", "(l+r)", "l", "r", "2", "sort(arr, l, m)", "sort", "arr", "l", "m", "sort(arr , m+1, r)", "sort", "arr", "m+1", "m", "1", "r", "merge(arr, l, m, r)", "merge", "arr", "l", "m", "r", "int arr[]", "arr", "int l", "l", "int r", "r", "public static int lowerBound(int[] array, int length, int value) \n\t{\n int low = 0;\n int high = length;\n while (low < high) \n {\n final int mid = (low + high) / 2;\n //checks if the value is less than middle element of the array\n if (value <= array[mid]) \n {\n high = mid;\n } \n else \n {\n low = mid + 1;\n }\n }\n return low;\n }", "lowerBound", "{\n int low = 0;\n int high = length;\n while (low < high) \n {\n final int mid = (low + high) / 2;\n //checks if the value is less than middle element of the array\n if (value <= array[mid]) \n {\n high = mid;\n } \n else \n {\n low = mid + 1;\n }\n }\n return low;\n }", "int low = 0;", "low", "0", "int high = length;", "high", "length", "while (low < high) \n {\n final int mid = (low + high) / 2;\n //checks if the value is less than middle element of the array\n if (value <= array[mid]) \n {\n high = mid;\n } \n else \n {\n low = mid + 1;\n }\n }", "low < high", "low", "high", "{\n final int mid = (low + high) / 2;\n //checks if the value is less than middle element of the array\n if (value <= array[mid]) \n {\n high = mid;\n } \n else \n {\n low = mid + 1;\n }\n }", "final int mid = (low + high) / 2;", "mid", "(low + high) / 2", "(low + high)", "low", "high", "2", "if (value <= array[mid]) \n {\n high = mid;\n } \n else \n {\n low = mid + 1;\n }", "value <= array[mid]", "value", "array[mid]", "array", "mid", "{\n high = mid;\n }", "high = mid", "high", "mid", "{\n low = mid + 1;\n }", "low = mid + 1", "low", "mid + 1", "mid", "1", "return low;", "low", "int[] array", "array", "int length", "length", "int value", "value", "public static int upperBound(int[] array, int length, int value) \n\t{\n int low = 0;\n int high = length;\n while (low < high) {\n final int mid = (low + high) / 2;\n if (value >= array[mid]) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return low;\n }", "upperBound", "{\n int low = 0;\n int high = length;\n while (low < high) {\n final int mid = (low + high) / 2;\n if (value >= array[mid]) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return low;\n }", "int low = 0;", "low", "0", "int high = length;", "high", "length", "while (low < high) {\n final int mid = (low + high) / 2;\n if (value >= array[mid]) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }", "low < high", "low", "high", "{\n final int mid = (low + high) / 2;\n if (value >= array[mid]) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }", "final int mid = (low + high) / 2;", "mid", "(low + high) / 2", "(low + high)", "low", "high", "2", "if (value >= array[mid]) {\n low = mid + 1;\n } else {\n high = mid;\n }", "value >= array[mid]", "value", "array[mid]", "array", "mid", "{\n low = mid + 1;\n }", "low = mid + 1", "low", "mid + 1", "mid", "1", "{\n high = mid;\n }", "high = mid", "high", "mid", "return low;", "low", "int[] array", "array", "int length", "length", "int value", "value", "static int gcd(int a, int b) \n { \n if (b == 0) \n return a; \n return gcd(b, a % b); \n }", "gcd", "{ \n if (b == 0) \n return a; \n return gcd(b, a % b); \n }", "if (b == 0) \n return a;", "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", "static long power(long n,long m)\n {\n \tif(m==0)\n \t\treturn 1;\n \tlong ans=1;\n \twhile(m>0)\n \t{\n \t\tans=ans*n;\n \t\tm--;\n \t}\n \treturn ans;\n }", "power", "{\n \tif(m==0)\n \t\treturn 1;\n \tlong ans=1;\n \twhile(m>0)\n \t{\n \t\tans=ans*n;\n \t\tm--;\n \t}\n \treturn ans;\n }", "if(m==0)\n \t\treturn 1;", "m==0", "m", "0", "return 1;", "1", "long ans=1;", "ans", "1", "while(m>0)\n \t{\n \t\tans=ans*n;\n \t\tm--;\n \t}", "m>0", "m", "0", "{\n \t\tans=ans*n;\n \t\tm--;\n \t}", "ans=ans*n", "ans", "ans*n", "ans", "n", "m--", "m", "return ans;", "ans", "long n", "n", "long m", "m", "static int BinarySearch(int arr[], int x) \n { \n int l = 0, r = arr.length - 1; \n while (l <= r) { \n int m = l + (r - l) / 2; \n if (arr[m] == x) \n return m; \n if (arr[m] < x) \n l = m + 1; \n else\n r = m - 1; \n } \n return -1; \n }", "BinarySearch", "{ \n int l = 0, r = arr.length - 1; \n while (l <= r) { \n int m = l + (r - l) / 2; \n if (arr[m] == x) \n return m; \n if (arr[m] < x) \n l = m + 1; \n else\n r = m - 1; \n } \n return -1; \n }", "int l = 0", "l", "0", "r = arr.length - 1;", "r", "arr.length - 1", "arr.length", "arr", "arr.length", "1", "while (l <= r) { \n int m = l + (r - l) / 2; \n if (arr[m] == x) \n return m; \n if (arr[m] < x) \n l = m + 1; \n else\n r = m - 1; \n }", "l <= r", "l", "r", "{ \n int m = l + (r - l) / 2; \n if (arr[m] == x) \n return m; \n if (arr[m] < x) \n l = m + 1; \n else\n r = m - 1; \n }", "int m = l + (r - l) / 2;", "m", "l + (r - l) / 2", "l", "(r - l) / 2", "(r - l)", "r", "l", "2", "if (arr[m] == x) \n return m;", "arr[m] == x", "arr[m]", "arr", "m", "x", "return m;", "m", "if (arr[m] < x) \n l = m + 1; \n else\n r = m - 1;", "arr[m] < x", "arr[m]", "arr", "m", "x", "l = m + 1", "l", "m + 1", "m", "1", "r = m - 1", "r", "m - 1", "m", "1", "return -1;", "-1", "1", "int arr[]", "arr", "int x", "x", "public static void main(String args[])throws Exception\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint t=Integer.parseInt(br.readLine());\n\t String s=br.readLine();\n String str[]=s.split(\" \");\n int n=Integer.parseInt(str[0]);\n int m=Integer.parseInt(str[1]);\n\t\tfor(int i=n;i<=m;i++)\n\t {\n\t\t\tif(i%t==0)\n\t {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t }\n\t }\n\t\tSystem.out.println(\"NG\");\n\t}", "main", "{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint t=Integer.parseInt(br.readLine());\n\t String s=br.readLine();\n String str[]=s.split(\" \");\n int n=Integer.parseInt(str[0]);\n int m=Integer.parseInt(str[1]);\n\t\tfor(int i=n;i<=m;i++)\n\t {\n\t\t\tif(i%t==0)\n\t {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t }\n\t }\n\t\tSystem.out.println(\"NG\");\n\t}", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int t=Integer.parseInt(br.readLine());", "t", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String s=br.readLine();", "s", "br.readLine()", "br.readLine", "br", "String str[]=s.split(\" \");", "str", "s.split(\" \")", "s.split", "s", "\" \"", "int n=Integer.parseInt(str[0]);", "n", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "int m=Integer.parseInt(str[1]);", "m", "Integer.parseInt(str[1])", "Integer.parseInt", "Integer", "str[1]", "str", "1", "for(int i=n;i<=m;i++)\n\t {\n\t\t\tif(i%t==0)\n\t {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t }\n\t }", "int i=n;", "int i=n;", "i", "n", "i<=m", "i", "m", "i++", "i++", "i", "{\n\t\t\tif(i%t==0)\n\t {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t }\n\t }", "{\n\t\t\tif(i%t==0)\n\t {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t }\n\t }", "if(i%t==0)\n\t {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t }", "i%t==0", "i%t", "i", "t", "0", "{\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "return;", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String args[]", "args" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main { static void merge(int arr[], int l, int m, int r) { int n1 = m - l + 1; int n2 = r - m; int L[] = new int [n1]; int R[] = new int [n2]; for (int i=0; i<n1; ++i) L[i] = arr[l + i]; for (int j=0; j<n2; ++j) R[j] = arr[m + 1+ j]; int i = 0, j = 0; int k = l; while (i < n1 && j < n2) { if (L[i] <= R[j]) { arr[k] = L[i]; i++; } else { arr[k] = R[j]; j++; } k++; } while (i < n1) { arr[k] = L[i]; i++; k++; } while (j < n2) { arr[k] = R[j]; j++; k++; } } static void sort(int arr[], int l, int r) { if (l < r) { int m = (l+r)/2; sort(arr, l, m); sort(arr , m+1, r); merge(arr, l, m, r); } } public static int lowerBound(int[] array, int length, int value) { int low = 0; int high = length; while (low < high) { final int mid = (low + high) / 2; //checks if the value is less than middle element of the array if (value <= array[mid]) { high = mid; } else { low = mid + 1; } } return low; } public static int upperBound(int[] array, int length, int value) { int low = 0; int high = length; while (low < high) { final int mid = (low + high) / 2; if (value >= array[mid]) { low = mid + 1; } else { high = mid; } } return low; } static int gcd(int a, int b) { if (b == 0) return a; return gcd(b, a % b); } static long power(long n,long m) { if(m==0) return 1; long ans=1; while(m>0) { ans=ans*n; m--; } return ans; } static int BinarySearch(int arr[], int x) { int l = 0, r = arr.length - 1; while (l <= r) { int m = l + (r - l) / 2; if (arr[m] == x) return m; if (arr[m] < x) l = m + 1; else r = m - 1; } return -1; } public static void main(String args[])throws Exception { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int t=Integer.parseInt(br.readLine()); String s=br.readLine(); String str[]=s.split(" "); int n=Integer.parseInt(str[0]); int m=Integer.parseInt(str[1]); for(int i=n;i<=m;i++) { if(i%t==0) { System.out.println("OK"); return; } } System.out.println("NG"); } }
[ 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, 18, 13, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 3, 14, 13, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 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, 29, 18, 13, 40, 13, 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, 40, 13, 29, 4, 13, 12, 13, 30, 14, 40, 4, 13, 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, 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, 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 ], [ 327, 11 ], [ 327, 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 ], [ 31, 32 ], [ 14, 33 ], [ 33, 34 ], [ 33, 35 ], [ 14, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 36, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 49, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 14, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 60, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 12, 74 ], [ 74, 75 ], [ 0, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 76, 83 ], [ 83, 84 ], [ 83, 85 ], [ 76, 87 ], [ 87, 88 ], [ 87, 89 ], [ 76, 90 ], [ 90, 91 ], [ 90, 92 ], [ 76, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 100, 101 ], [ 101, 102 ], [ 96, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 107, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 117, 120 ], [ 103, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 125, 126 ], [ 126, 127 ], [ 95, 128 ], [ 128, 129 ], [ 76, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 133, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 133, 141 ], [ 141, 142 ], [ 142, 143 ], [ 76, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 148, 152 ], [ 152, 153 ], [ 152, 154 ], [ 144, 155 ], [ 155, 156 ], [ 76, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 161, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 167, 168 ], [ 167, 169 ], [ 160, 170 ], [ 170, 171 ], [ 159, 172 ], [ 172, 173 ], [ 173, 174 ], [ 76, 175 ], [ 175, 176 ], [ 175, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 178, 182 ], [ 182, 183 ], [ 177, 184 ], [ 184, 185 ], [ 184, 186 ], [ 177, 187 ], [ 187, 188 ], [ 187, 189 ], [ 189, 190 ], [ 177, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 191, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 196, 199 ], [ 195, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 177, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 76, 208 ], [ 208, 209 ], [ 208, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 211, 215 ], [ 215, 216 ], [ 210, 217 ], [ 217, 218 ], [ 217, 219 ], [ 210, 220 ], [ 220, 221 ], [ 220, 222 ], [ 210, 223 ], [ 223, 224 ], [ 223, 225 ], [ 225, 226 ], [ 210, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 227, 231 ], [ 231, 232 ], [ 232, 233 ], [ 232, 234 ], [ 231, 235 ], [ 235, 236 ], [ 235, 237 ], [ 237, 238 ], [ 210, 239 ], [ 239, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 240, 244 ], [ 244, 245 ], [ 244, 246 ], [ 239, 247 ], [ 247, 248 ], [ 248, 249 ], [ 210, 250 ], [ 250, 251 ], [ 250, 252 ], [ 252, 253 ], [ 253, 254 ], [ 254, 255 ], [ 255, 256 ], [ 255, 257 ], [ 254, 258 ], [ 258, 259 ], [ 258, 260 ], [ 253, 261 ], [ 261, 262 ], [ 262, 263 ], [ 262, 264 ], [ 261, 265 ], [ 265, 266 ], [ 265, 267 ], [ 267, 268 ], [ 267, 269 ], [ 253, 270 ], [ 270, 271 ], [ 271, 272 ], [ 272, 273 ], [ 272, 274 ], [ 274, 275 ], [ 271, 276 ], [ 276, 277 ], [ 277, 278 ], [ 277, 279 ], [ 270, 280 ], [ 280, 281 ], [ 281, 282 ], [ 282, 283 ], [ 282, 284 ], [ 284, 285 ], [ 282, 286 ], [ 270, 287 ], [ 287, 288 ], [ 288, 289 ], [ 252, 290 ], [ 290, 291 ], [ 290, 292 ], [ 292, 293 ], [ 76, 294 ], [ 294, 295 ], [ 294, 296 ], [ 296, 297 ], [ 297, 298 ], [ 297, 299 ], [ 299, 300 ], [ 296, 301 ], [ 301, 302 ], [ 302, 303 ], [ 303, 304 ], [ 303, 305 ], [ 305, 306 ], [ 305, 307 ], [ 302, 308 ], [ 308, 309 ], [ 308, 310 ], [ 310, 311 ], [ 310, 312 ], [ 301, 313 ], [ 313, 314 ], [ 296, 315 ], [ 315, 316 ], [ 76, 317 ], [ 317, 318 ], [ 317, 319 ], [ 319, 320 ], [ 320, 321 ], [ 321, 322 ], [ 322, 323 ], [ 321, 324 ], [ 324, 325 ], [ 0, 326 ], [ 326, 327 ], [ 326, 328 ] ]
[ "import java.io.IOException;\nimport java.io.InputStream;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int K = fs.nextInt();\n int A = fs.nextInt();\n int B = fs.nextInt();\n\n boolean flag = false;\n for (int i = A; i <= B; ++i) {\n if (i % K == 0) {\n flag = true;\n break;\n }\n }\n\n if (flag)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\n }\n}\n\nclass FastScanner {\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() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\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()) throw new NoSuchElementException();\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) throw new NumberFormatException();\n return (int) nl;\n }\n\n public double nextDouble() { return Double.parseDouble(next());}\n}\n\n", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.util.*;", "util.*", "java", "public class Main {\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int K = fs.nextInt();\n int A = fs.nextInt();\n int B = fs.nextInt();\n\n boolean flag = false;\n for (int i = A; i <= B; ++i) {\n if (i % K == 0) {\n flag = true;\n break;\n }\n }\n\n if (flag)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\n }\n}", "Main", "public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int K = fs.nextInt();\n int A = fs.nextInt();\n int B = fs.nextInt();\n\n boolean flag = false;\n for (int i = A; i <= B; ++i) {\n if (i % K == 0) {\n flag = true;\n break;\n }\n }\n\n if (flag)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\n }", "main", "{\n FastScanner fs = new FastScanner();\n int K = fs.nextInt();\n int A = fs.nextInt();\n int B = fs.nextInt();\n\n boolean flag = false;\n for (int i = A; i <= B; ++i) {\n if (i % K == 0) {\n flag = true;\n break;\n }\n }\n\n if (flag)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\n }", "FastScanner fs = new FastScanner();", "fs", "new FastScanner()", "int K = fs.nextInt();", "K", "fs.nextInt()", "fs.nextInt", "fs", "int A = fs.nextInt();", "A", "fs.nextInt()", "fs.nextInt", "fs", "int B = fs.nextInt();", "B", "fs.nextInt()", "fs.nextInt", "fs", "boolean flag = false;", "flag", "false", "for (int i = A; i <= B; ++i) {\n if (i % K == 0) {\n flag = true;\n break;\n }\n }", "int i = A;", "int i = A;", "i", "A", "i <= B", "i", "B", "++i", "++i", "i", "{\n if (i % K == 0) {\n flag = true;\n break;\n }\n }", "{\n if (i % K == 0) {\n flag = true;\n break;\n }\n }", "if (i % K == 0) {\n flag = true;\n break;\n }", "i % K == 0", "i % K", "i", "K", "0", "{\n flag = true;\n break;\n }", "flag = true", "flag", "true", "break;", "if (flag)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");", "flag", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "class FastScanner {\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() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\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()) throw new NoSuchElementException();\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) throw new NumberFormatException();\n return (int) nl;\n }\n\n public double nextDouble() { return Double.parseDouble(next());}\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() { if (hasNextByte()) return buffer[ptr++]; else return -1;}", "readByte", "{ if (hasNextByte()) return buffer[ptr++]; else return -1;}", "if (hasNextByte()) return buffer[ptr++]; else return -1;", "hasNextByte()", "hasNextByte", "return buffer[ptr++];", "buffer[ptr++]", "buffer", "ptr++", "ptr", "return -1;", "-1", "1", "private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}", "isPrintableChar", "{ return 33 <= c && c <= 126;}", "return 33 <= c && c <= 126;", "33 <= c && c <= 126", "33 <= c", "33", "c", "c <= 126", "c", "126", "int c", "c", "public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}", "hasNext", "{ while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}", "while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;", "hasNextByte() && !isPrintableChar(buffer[ptr])", "hasNextByte()", "hasNextByte", "!isPrintableChar(buffer[ptr])", "isPrintableChar(buffer[ptr])", "isPrintableChar", "buffer[ptr]", "buffer", "ptr", "ptr++", "ptr", "return hasNextByte();", "hasNextByte()", "hasNextByte", "public String next() {\n if (!hasNext()) throw new NoSuchElementException();\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()) throw new NoSuchElementException();\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()) throw new NoSuchElementException();", "!hasNext()", "hasNext()", "hasNext", "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()) throw new NoSuchElementException();\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()) throw new NoSuchElementException();\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()) throw new NoSuchElementException();", "!hasNext()", "hasNext()", "hasNext", "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) throw new NumberFormatException();\n return (int) nl;\n }", "nextInt", "{\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }", "long nl = nextLong();", "nl", "nextLong()", "nextLong", "if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();", "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", "throw new NumberFormatException();", "new NumberFormatException()", "return (int) nl;", "(int) nl", "public double nextDouble() { return Double.parseDouble(next());}", "nextDouble", "{ return Double.parseDouble(next());}", "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 fs = new FastScanner();\n int K = fs.nextInt();\n int A = fs.nextInt();\n int B = fs.nextInt();\n\n boolean flag = false;\n for (int i = A; i <= B; ++i) {\n if (i % K == 0) {\n flag = true;\n break;\n }\n }\n\n if (flag)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int K = fs.nextInt();\n int A = fs.nextInt();\n int B = fs.nextInt();\n\n boolean flag = false;\n for (int i = A; i <= B; ++i) {\n if (i % K == 0) {\n flag = true;\n break;\n }\n }\n\n if (flag)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\n }\n}", "Main" ]
import java.io.IOException; import java.io.InputStream; import java.util.*; public class Main { public static void main(String[] args) { FastScanner fs = new FastScanner(); int K = fs.nextInt(); int A = fs.nextInt(); int B = fs.nextInt(); boolean flag = false; for (int i = A; i <= B; ++i) { if (i % K == 0) { flag = true; break; } } if (flag) System.out.println("OK"); else System.out.println("NG"); } } 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, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 4, 18, 13, 17, 13, 13, 4, 18, 13, 23, 13, 6, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 0, 18, 36, 13, 20, 23, 13, 12, 13, 30, 4, 18, 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, 30, 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, 30, 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, 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, 30, 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, 30, 29, 4, 18, 13, 13, 29, 4, 13, 13, 23, 13, 12, 13, 30, 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 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 25, 26 ], [ 25, 27 ], [ 0, 28 ], [ 28, 29 ], [ 28, 30 ], [ 0, 31 ], [ 31, 32 ], [ 31, 33 ], [ 0, 34 ], [ 34, 35 ], [ 34, 36 ], [ 0, 37 ], [ 348, 38 ], [ 348, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 41, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 41, 52 ], [ 52, 53 ], [ 52, 54 ], [ 41, 55 ], [ 55, 56 ], [ 55, 57 ], [ 41, 58 ], [ 58, 59 ], [ 58, 60 ], [ 41, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 61, 65 ], [ 61, 66 ], [ 41, 67 ], [ 67, 68 ], [ 68, 69 ], [ 39, 70 ], [ 70, 71 ], [ 348, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 76, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 76, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 76, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 92, 100 ], [ 100, 101 ], [ 101, 102 ], [ 92, 103 ], [ 104, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 105, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 111, 118 ], [ 76, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 74, 125 ], [ 125, 126 ], [ 74, 127 ], [ 127, 128 ], [ 74, 129 ], [ 129, 130 ], [ 348, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 131, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 135, 141 ], [ 141, 142 ], [ 131, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 146, 150 ], [ 143, 151 ], [ 151, 152 ], [ 131, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 348, 159 ], [ 159, 160 ], [ 159, 161 ], [ 161, 162 ], [ 159, 163 ], [ 163, 164 ], [ 163, 165 ], [ 159, 167 ], [ 167, 168 ], [ 159, 169 ], [ 169, 170 ], [ 159, 171 ], [ 171, 172 ], [ 159, 173 ], [ 173, 174 ], [ 173, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 176, 180 ], [ 173, 181 ], [ 181, 182 ], [ 159, 183 ], [ 183, 184 ], [ 183, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 189, 190 ], [ 186, 191 ], [ 191, 192 ], [ 192, 193 ], [ 185, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 194, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 205, 206 ], [ 206, 207 ], [ 202, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 211, 212 ], [ 212, 213 ], [ 211, 214 ], [ 198, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 215, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 185, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 226, 227 ], [ 159, 228 ], [ 228, 229 ], [ 228, 230 ], [ 230, 231 ], [ 231, 232 ], [ 231, 233 ], [ 233, 234 ], [ 230, 235 ], [ 235, 236 ], [ 236, 237 ], [ 236, 238 ], [ 235, 239 ], [ 239, 240 ], [ 240, 241 ], [ 240, 242 ], [ 242, 243 ], [ 230, 244 ], [ 244, 245 ], [ 244, 246 ], [ 230, 247 ], [ 247, 248 ], [ 248, 249 ], [ 248, 250 ], [ 247, 251 ], [ 251, 252 ], [ 252, 253 ], [ 252, 254 ], [ 254, 255 ], [ 251, 256 ], [ 256, 257 ], [ 256, 258 ], [ 258, 259 ], [ 230, 260 ], [ 260, 261 ], [ 260, 262 ], [ 230, 263 ], [ 263, 264 ], [ 264, 265 ], [ 265, 266 ], [ 265, 267 ], [ 263, 268 ], [ 268, 269 ], [ 269, 270 ], [ 270, 271 ], [ 271, 272 ], [ 271, 273 ], [ 270, 274 ], [ 274, 275 ], [ 274, 276 ], [ 269, 277 ], [ 277, 278 ], [ 278, 279 ], [ 268, 280 ], [ 280, 281 ], [ 280, 282 ], [ 268, 283 ], [ 283, 284 ], [ 283, 285 ], [ 285, 286 ], [ 285, 287 ], [ 268, 288 ], [ 288, 289 ], [ 288, 290 ], [ 290, 291 ], [ 230, 292 ], [ 292, 293 ], [ 293, 294 ], [ 293, 295 ], [ 159, 296 ], [ 296, 297 ], [ 296, 298 ], [ 298, 299 ], [ 299, 300 ], [ 300, 301 ], [ 300, 302 ], [ 299, 303 ], [ 303, 304 ], [ 304, 305 ], [ 305, 306 ], [ 306, 307 ], [ 305, 308 ], [ 298, 309 ], [ 309, 310 ], [ 310, 311 ], [ 310, 312 ], [ 296, 313 ], [ 313, 314 ], [ 159, 315 ], [ 315, 316 ], [ 315, 317 ], [ 317, 318 ], [ 318, 319 ], [ 322, 320 ], [ 332, 321 ], [ 329, 322 ], [ 322, 323 ], [ 323, 324 ], [ 323, 325 ], [ 322, 326 ], [ 326, 327 ], [ 326, 328 ], [ 329, 329 ], [ 329, 330 ], [ 329, 331 ], [ 332, 332 ], [ 332, 333 ], [ 332, 334 ], [ 322, 335 ], [ 335, 336 ], [ 335, 337 ], [ 337, 338 ], [ 315, 339 ], [ 339, 340 ], [ 159, 341 ], [ 341, 342 ], [ 341, 343 ], [ 343, 344 ], [ 343, 345 ], [ 345, 346 ], [ 0, 347 ], [ 347, 348 ], [ 347, 349 ] ]
[ "import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintStream;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.io.BufferedWriter;\nimport java.io.Writer;\nimport java.io.OutputStreamWriter;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author srikanth\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n abc165_a solver = new abc165_a();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class abc165_a {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int k = in.nextInt();\n int a = in.nextInt();\n int b = in.nextInt();\n for (int i = a; i <= b; i++) {\n if (i % k == 0) {\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\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 InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n// System.out.println(\"numchars \"+numChars);\n if (numChars == -1) {\n throw new InputMismatchException();\n }\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 }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\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 }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int 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\n }\n}\n", "import java.io.OutputStream;", "OutputStream", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.PrintStream;", "PrintStream", "java.io", "import java.io.OutputStream;", "OutputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.io.BufferedWriter;", "BufferedWriter", "java.io", "import java.io.Writer;", "Writer", "java.io", "import java.io.OutputStreamWriter;", "OutputStreamWriter", "java.io", "import java.util.InputMismatchException;", "InputMismatchException", "java.util", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n abc165_a solver = new abc165_a();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class abc165_a {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int k = in.nextInt();\n int a = in.nextInt();\n int b = in.nextInt();\n for (int i = a; i <= b; i++) {\n if (i % k == 0) {\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\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 InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n// System.out.println(\"numchars \"+numChars);\n if (numChars == -1) {\n throw new InputMismatchException();\n }\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 }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\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 }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int 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\n }\n}", "Main", "public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n abc165_a solver = new abc165_a();\n solver.solve(1, in, out);\n out.close();\n }", "main", "{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n abc165_a solver = new abc165_a();\n solver.solve(1, in, out);\n out.close();\n }", "InputStream inputStream = System.in;", "inputStream", "System.in", "System", "System.in", "OutputStream outputStream = System.out;", "outputStream", "System.out", "System", "System.out", "InputReader in = new InputReader(inputStream);", "in", "new InputReader(inputStream)", "OutputWriter out = new OutputWriter(outputStream);", "out", "new OutputWriter(outputStream)", "abc165_a solver = new abc165_a();", "solver", "new abc165_a()", "solver.solve(1, in, out)", "solver.solve", "solver", "1", "in", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class abc165_a {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int k = in.nextInt();\n int a = in.nextInt();\n int b = in.nextInt();\n for (int i = a; i <= b; i++) {\n if (i % k == 0) {\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n\n }\n\n }", "abc165_a", "public void solve(int testNumber, InputReader in, OutputWriter out) {\n int k = in.nextInt();\n int a = in.nextInt();\n int b = in.nextInt();\n for (int i = a; i <= b; i++) {\n if (i % k == 0) {\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n\n }", "solve", "{\n int k = in.nextInt();\n int a = in.nextInt();\n int b = in.nextInt();\n for (int i = a; i <= b; i++) {\n if (i % k == 0) {\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n\n }", "int k = in.nextInt();", "k", "in.nextInt()", "in.nextInt", "in", "int a = in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "int b = in.nextInt();", "b", "in.nextInt()", "in.nextInt", "in", "for (int i = a; i <= b; i++) {\n if (i % k == 0) {\n System.out.println(\"OK\");\n return;\n }\n }", "int i = a;", "int i = a;", "i", "a", "i <= b", "i", "b", "i++", "i++", "i", "{\n if (i % k == 0) {\n System.out.println(\"OK\");\n return;\n }\n }", "{\n if (i % k == 0) {\n System.out.println(\"OK\");\n return;\n }\n }", "if (i % k == 0) {\n System.out.println(\"OK\");\n return;\n }", "i % k == 0", "i % k", "i", "k", "0", "{\n System.out.println(\"OK\");\n return;\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "return;", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "int testNumber", "testNumber", "InputReader in", "in", "OutputWriter out", "out", "static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n }", "OutputWriter", "private final PrintWriter writer;", "writer", "public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }", "OutputWriter", "{\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }", "writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))", "writer", "new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))", "OutputStream outputStream", "outputStream", "public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }", "OutputWriter", "{\n this.writer = new PrintWriter(writer);\n }", "this.writer = new PrintWriter(writer)", "this.writer", "this", "this.writer", "new PrintWriter(writer)", "Writer writer", "writer", "public void close() {\n writer.close();\n }", "close", "{\n writer.close();\n }", "writer.close()", "writer.close", "writer", "static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n// System.out.println(\"numchars \"+numChars);\n if (numChars == -1) {\n throw new InputMismatchException();\n }\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 }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\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 }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int 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\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 InputReader.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 read() {\n// System.out.println(\"numchars \"+numChars);\n if (numChars == -1) {\n throw new InputMismatchException();\n }\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 }\n return buf[curChar++];\n }", "read", "{\n// System.out.println(\"numchars \"+numChars);\n if (numChars == -1) {\n throw new InputMismatchException();\n }\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 }\n return buf[curChar++];\n }", "if (numChars == -1) {\n throw new InputMismatchException();\n }", "numChars == -1", "numChars", "-1", "1", "{\n throw new InputMismatchException();\n }", "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 }\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 }\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;\n }", "numChars <= 0", "numChars", "0", "{\n return -1;\n }", "return -1;", "-1", "1", "return buf[curChar++];", "buf[curChar++]", "buf", "curChar++", "curChar", "public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "nextInt", "{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "int c = read();", "c", "read()", "read", "while (isSpaceChar(c)) {\n c = read();\n }", "isSpaceChar(c)", "isSpaceChar", "c", "{\n c = read();\n }", "c = read()", "c", "read()", "read", "int sgn = 1;", "sgn", "1", "if (c == '-') {\n sgn = -1;\n c = read();\n }", "c == '-'", "c", "'-'", "{\n sgn = -1;\n c = read();\n }", "sgn = -1", "sgn", "-1", "1", "c = read()", "c", "read()", "read", "int res = 0;", "res", "0", "do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }", "if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }", "c < '0' || c > '9'", "c < '0'", "c", "'0'", "c > '9'", "c", "'9'", "{\n throw new InputMismatchException();\n }", "throw new InputMismatchException();", "new InputMismatchException()", "res *= 10", "res", "10", "res += c - '0'", "res", "c - '0'", "c", "'0'", "c = read()", "c", "read()", "read", "return res * sgn;", "res * sgn", "res", "sgn", "public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }", "isSpaceChar", "{\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }", "if (filter != null) {\n return filter.isSpaceChar(c);\n }", "filter != null", "filter", "null", "{\n return filter.isSpaceChar(c);\n }", "return filter.isSpaceChar(c);", "filter.isSpaceChar(c)", "filter.isSpaceChar", "filter", "c", "return isWhitespace(c);", "isWhitespace(c)", "isWhitespace", "c", "int c", "c", "public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "isWhitespace", "{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "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\n }", "SpaceCharFilter", "public boolean isSpaceChar(int ch);", "isSpaceChar", "int ch", "ch", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n abc165_a solver = new abc165_a();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class abc165_a {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int k = in.nextInt();\n int a = in.nextInt();\n int b = in.nextInt();\n for (int i = a; i <= b; i++) {\n if (i % k == 0) {\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\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 InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n// System.out.println(\"numchars \"+numChars);\n if (numChars == -1) {\n throw new InputMismatchException();\n }\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 }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\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 }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int 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\n }\n}", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n abc165_a solver = new abc165_a();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class abc165_a {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int k = in.nextInt();\n int a = in.nextInt();\n int b = in.nextInt();\n for (int i = a; i <= b; i++) {\n if (i % k == 0) {\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\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 InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n// System.out.println(\"numchars \"+numChars);\n if (numChars == -1) {\n throw new InputMismatchException();\n }\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 }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\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 }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int 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\n }\n}", "Main" ]
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintStream; import java.io.OutputStream; import java.io.PrintWriter; import java.io.BufferedWriter; import java.io.Writer; import java.io.OutputStreamWriter; import java.util.InputMismatchException; import java.io.IOException; import java.io.InputStream; /** * Built using CHelper plug-in * Actual solution is at the top * * @author srikanth */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; InputReader in = new InputReader(inputStream); OutputWriter out = new OutputWriter(outputStream); abc165_a solver = new abc165_a(); solver.solve(1, in, out); out.close(); } static class abc165_a { public void solve(int testNumber, InputReader in, OutputWriter out) { int k = in.nextInt(); int a = in.nextInt(); int b = in.nextInt(); for (int i = a; i <= b; i++) { if (i % k == 0) { System.out.println("OK"); return; } } System.out.println("NG"); } } static class OutputWriter { private final PrintWriter writer; public OutputWriter(OutputStream outputStream) { writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream))); } public OutputWriter(Writer writer) { this.writer = new PrintWriter(writer); } public void close() { writer.close(); } } static class InputReader { private InputStream stream; private byte[] buf = new byte[1024]; private int curChar; private int numChars; private InputReader.SpaceCharFilter filter; public InputReader(InputStream stream) { this.stream = stream; } public int read() { // System.out.println("numchars "+numChars); 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 int nextInt() { int c = read(); while (isSpaceChar(c)) { c = read(); } int sgn = 1; if (c == '-') { sgn = -1; c = read(); } int res = 0; do { if (c < '0' || c > '9') { throw new InputMismatchException(); } res *= 10; res += c - '0'; c = read(); } while (!isSpaceChar(c)); return res * sgn; } public boolean isSpaceChar(int c) { if (filter != null) { return filter.isSpaceChar(c); } return isWhitespace(c); } public static boolean isWhitespace(int 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, 4, 18, 13, 41, 13, 2, 13, 13, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 17, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 70, 5 ], [ 70, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 32, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 32, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 46, 52 ], [ 45, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 45, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 6, 67 ], [ 67, 68 ], [ 0, 69 ], [ 69, 70 ], [ 69, 71 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint k = sc.nextInt();\n int a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n \tint divide = a/k;\n if (a%k==0) {System.out.println(\"OK\");}\n else if (((divide+1)*k) <= b)\n {System.out.println(\"OK\");}\n else {System.out.println(\"NG\");}\t\n \n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint k = sc.nextInt();\n int a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n \tint divide = a/k;\n if (a%k==0) {System.out.println(\"OK\");}\n else if (((divide+1)*k) <= b)\n {System.out.println(\"OK\");}\n else {System.out.println(\"NG\");}\t\n \n\t}\n}", "Main", "public static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint k = sc.nextInt();\n int a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n \tint divide = a/k;\n if (a%k==0) {System.out.println(\"OK\");}\n else if (((divide+1)*k) <= b)\n {System.out.println(\"OK\");}\n else {System.out.println(\"NG\");}\t\n \n\t}", "main", "{\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint k = sc.nextInt();\n int a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n \tint divide = a/k;\n if (a%k==0) {System.out.println(\"OK\");}\n else if (((divide+1)*k) <= b)\n {System.out.println(\"OK\");}\n else {System.out.println(\"NG\");}\t\n \n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int divide = a/k;", "divide", "a/k", "a", "k", "if (a%k==0) {System.out.println(\"OK\");}\n else if (((divide+1)*k) <= b)\n {System.out.println(\"OK\");}\n else {System.out.println(\"NG\");}", "a%k==0", "a%k", "a", "k", "0", "{System.out.println(\"OK\");}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "if (((divide+1)*k) <= b)\n {System.out.println(\"OK\");}\n else {System.out.println(\"NG\");}", "((divide+1)*k) <= b", "((divide+1)*k)", "(divide+1)", "divide", "1", "k", "b", "{System.out.println(\"OK\");}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{System.out.println(\"NG\");}", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint k = sc.nextInt();\n int a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n \tint divide = a/k;\n if (a%k==0) {System.out.println(\"OK\");}\n else if (((divide+1)*k) <= b)\n {System.out.println(\"OK\");}\n else {System.out.println(\"NG\");}\t\n \n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint k = sc.nextInt();\n int a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n \tint divide = a/k;\n if (a%k==0) {System.out.println(\"OK\");}\n else if (((divide+1)*k) <= b)\n {System.out.println(\"OK\");}\n else {System.out.println(\"NG\");}\t\n \n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); int divide = a/k; if (a%k==0) {System.out.println("OK");} else if (((divide+1)*k) <= b) {System.out.println("OK");} else {System.out.println("NG");} } }
[ 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, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 3, 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 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 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//import java.util.Arrays;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint k = sc.nextInt(), a = sc.nextInt(), b = sc.nextInt();\n\t\tString s = \"NG\";\n\t\tfor(int i = a; i <= b; i++){\n\t\t\tif(i % k == 0){\n\t\t\t\ts = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s);\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 k = sc.nextInt(), a = sc.nextInt(), b = sc.nextInt();\n\t\tString s = \"NG\";\n\t\tfor(int i = a; i <= b; i++){\n\t\t\tif(i % k == 0){\n\t\t\t\ts = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint k = sc.nextInt(), a = sc.nextInt(), b = sc.nextInt();\n\t\tString s = \"NG\";\n\t\tfor(int i = a; i <= b; i++){\n\t\t\tif(i % k == 0){\n\t\t\t\ts = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint k = sc.nextInt(), a = sc.nextInt(), b = sc.nextInt();\n\t\tString s = \"NG\";\n\t\tfor(int i = a; i <= b; i++){\n\t\t\tif(i % k == 0){\n\t\t\t\ts = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k = sc.nextInt()", "k", "sc.nextInt()", "sc.nextInt", "sc", "a = sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "String s = \"NG\";", "s", "\"NG\"", "for(int i = a; i <= b; i++){\n\t\t\tif(i % k == 0){\n\t\t\t\ts = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "int i = a;", "int i = a;", "i", "a", "i <= b", "i", "b", "i++", "i++", "i", "{\n\t\t\tif(i % k == 0){\n\t\t\t\ts = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "{\n\t\t\tif(i % k == 0){\n\t\t\t\ts = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "if(i % k == 0){\n\t\t\t\ts = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}", "i % k == 0", "i % k", "i", "k", "0", "{\n\t\t\t\ts = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}", "s = \"OK\"", "s", "\"OK\"", "break;", "System.out.println(s)", "System.out.println", "System.out", "System", "System.out", "s", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint k = sc.nextInt(), a = sc.nextInt(), b = sc.nextInt();\n\t\tString s = \"NG\";\n\t\tfor(int i = a; i <= b; i++){\n\t\t\tif(i % k == 0){\n\t\t\t\ts = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s);\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint k = sc.nextInt(), a = sc.nextInt(), b = sc.nextInt();\n\t\tString s = \"NG\";\n\t\tfor(int i = a; i <= b; i++){\n\t\t\tif(i % k == 0){\n\t\t\t\ts = \"OK\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s);\n\t}\n}", "Main" ]
import java.util.Scanner; //import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int k = sc.nextInt(), a = sc.nextInt(), b = sc.nextInt(); String s = "NG"; for(int i = a; i <= b; i++){ if(i % k == 0){ s = "OK"; break; } } System.out.println(s); } }
[ 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, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 29, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 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 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 28, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 27, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 39, 46 ], [ 8, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 57, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 57, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 6, 77 ], [ 77, 78 ], [ 0, 79 ], [ 79, 80 ], [ 79, 81 ] ]
[ "\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int K = scanner.nextInt();\n int A = scanner.nextInt();\n int B = scanner.nextInt();\n\n if (A % K == 0 || B % K == 0) {\n System.out.println(\"OK\");\n return;\n }\n\n int a = A / K;\n int b = B / K;\n if (b - a > 0) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int K = scanner.nextInt();\n int A = scanner.nextInt();\n int B = scanner.nextInt();\n\n if (A % K == 0 || B % K == 0) {\n System.out.println(\"OK\");\n return;\n }\n\n int a = A / K;\n int b = B / K;\n if (b - a > 0) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int K = scanner.nextInt();\n int A = scanner.nextInt();\n int B = scanner.nextInt();\n\n if (A % K == 0 || B % K == 0) {\n System.out.println(\"OK\");\n return;\n }\n\n int a = A / K;\n int b = B / K;\n if (b - a > 0) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n\n int K = scanner.nextInt();\n int A = scanner.nextInt();\n int B = scanner.nextInt();\n\n if (A % K == 0 || B % K == 0) {\n System.out.println(\"OK\");\n return;\n }\n\n int a = A / K;\n int b = B / K;\n if (b - a > 0) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int K = scanner.nextInt();", "K", "scanner.nextInt()", "scanner.nextInt", "scanner", "int A = scanner.nextInt();", "A", "scanner.nextInt()", "scanner.nextInt", "scanner", "int B = scanner.nextInt();", "B", "scanner.nextInt()", "scanner.nextInt", "scanner", "if (A % K == 0 || B % K == 0) {\n System.out.println(\"OK\");\n return;\n }", "A % K == 0 || B % K == 0", "A % K == 0", "A % K", "A", "K", "0", "B % K == 0", "B % K", "B", "K", "0", "{\n System.out.println(\"OK\");\n return;\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "return;", "int a = A / K;", "a", "A / K", "A", "K", "int b = B / K;", "b", "B / K", "B", "K", "if (b - a > 0) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }", "b - a > 0", "b - a", "b", "a", "0", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int K = scanner.nextInt();\n int A = scanner.nextInt();\n int B = scanner.nextInt();\n\n if (A % K == 0 || B % K == 0) {\n System.out.println(\"OK\");\n return;\n }\n\n int a = A / K;\n int b = B / K;\n if (b - a > 0) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int K = scanner.nextInt();\n int A = scanner.nextInt();\n int B = scanner.nextInt();\n\n if (A % K == 0 || B % K == 0) {\n System.out.println(\"OK\");\n return;\n }\n\n int a = A / K;\n int b = B / K;\n if (b - a > 0) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int K = scanner.nextInt(); int A = scanner.nextInt(); int B = scanner.nextInt(); if (A % K == 0 || B % K == 0) { System.out.println("OK"); return; } int a = A / K; int b = B / K; if (b - a > 0) { System.out.println("OK"); } else { System.out.println("NG"); } } }
[ 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, 8, 2, 2, 2, 4, 18, 13, 13, 13, 13, 17, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 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 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 30, 34 ], [ 29, 35 ], [ 28, 36 ], [ 27, 37 ], [ 27, 38 ], [ 6, 39 ], [ 39, 40 ] ]
[ "import java.util.*;class Main{public static void main(String[]a){Scanner s=new Scanner(System.in);int n=s.nextInt(),m=s.nextInt();System.out.print((s.nextInt()/n*n)>=m?\"OK\":\"NG\");}}", "import java.util.*;", "util.*", "java", "class Main{public static void main(String[]a){Scanner s=new Scanner(System.in);int n=s.nextInt(),m=s.nextInt();System.out.print((s.nextInt()/n*n)>=m?\"OK\":\"NG\");}}", "Main", "public static void main(String[]a){Scanner s=new Scanner(System.in);int n=s.nextInt(),m=s.nextInt();System.out.print((s.nextInt()/n*n)>=m?\"OK\":\"NG\");}", "main", "{Scanner s=new Scanner(System.in);int n=s.nextInt(),m=s.nextInt();System.out.print((s.nextInt()/n*n)>=m?\"OK\":\"NG\");}", "Scanner s=new Scanner(System.in);", "s", "new Scanner(System.in)", "int n=s.nextInt()", "n", "s.nextInt()", "s.nextInt", "s", "m=s.nextInt();", "m", "s.nextInt()", "s.nextInt", "s", "System.out.print((s.nextInt()/n*n)>=m?\"OK\":\"NG\")", "System.out.print", "System.out", "System", "System.out", "(s.nextInt()/n*n)>=m?\"OK\":\"NG\"", "(s.nextInt()/n*n)>=m", "(s.nextInt()/n*n)", "s.nextInt()/n", "s.nextInt()", "s.nextInt", "s", "n", "n", "m", "\"OK\"", "\"NG\"", "String[]a", "a" ]
import java.util.*;class Main{public static void main(String[]a){Scanner s=new Scanner(System.in);int n=s.nextInt(),m=s.nextInt();System.out.print((s.nextInt()/n*n)>=m?"OK":"NG");}}
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 3, 14, 2, 2, 13, 13, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 95, 14 ], [ 95, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 26, 27 ], [ 27, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 17, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 38, 39 ], [ 17, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 46, 47 ], [ 17, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 67, 74 ], [ 61, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 75, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 15, 92 ], [ 92, 93 ], [ 0, 94 ], [ 94, 95 ], [ 94, 96 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n int K = Integer.parseInt(in.readLine());\n StringTokenizer st = new StringTokenizer(in.readLine());\n int A = Integer.parseInt(st.nextToken());\n int B = Integer.parseInt(st.nextToken());\n for(int score=A; score<=B; score++){\n if(score%K==0){\n System.out.println(\"OK\");\n break;\n } else if(score==B && score%K!=0){\n System.out.println(\"NG\");\n }\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n int K = Integer.parseInt(in.readLine());\n StringTokenizer st = new StringTokenizer(in.readLine());\n int A = Integer.parseInt(st.nextToken());\n int B = Integer.parseInt(st.nextToken());\n for(int score=A; score<=B; score++){\n if(score%K==0){\n System.out.println(\"OK\");\n break;\n } else if(score==B && score%K!=0){\n System.out.println(\"NG\");\n }\n }\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n int K = Integer.parseInt(in.readLine());\n StringTokenizer st = new StringTokenizer(in.readLine());\n int A = Integer.parseInt(st.nextToken());\n int B = Integer.parseInt(st.nextToken());\n for(int score=A; score<=B; score++){\n if(score%K==0){\n System.out.println(\"OK\");\n break;\n } else if(score==B && score%K!=0){\n System.out.println(\"NG\");\n }\n }\n }", "main", "{\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n int K = Integer.parseInt(in.readLine());\n StringTokenizer st = new StringTokenizer(in.readLine());\n int A = Integer.parseInt(st.nextToken());\n int B = Integer.parseInt(st.nextToken());\n for(int score=A; score<=B; score++){\n if(score%K==0){\n System.out.println(\"OK\");\n break;\n } else if(score==B && score%K!=0){\n System.out.println(\"NG\");\n }\n }\n }", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "int K = Integer.parseInt(in.readLine());", "K", "Integer.parseInt(in.readLine())", "Integer.parseInt", "Integer", "in.readLine()", "in.readLine", "in", "StringTokenizer st = new StringTokenizer(in.readLine());", "st", "new StringTokenizer(in.readLine())", "int A = Integer.parseInt(st.nextToken());", "A", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "int B = Integer.parseInt(st.nextToken());", "B", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "for(int score=A; score<=B; score++){\n if(score%K==0){\n System.out.println(\"OK\");\n break;\n } else if(score==B && score%K!=0){\n System.out.println(\"NG\");\n }\n }", "int score=A;", "int score=A;", "score", "A", "score<=B", "score", "B", "score++", "score++", "score", "{\n if(score%K==0){\n System.out.println(\"OK\");\n break;\n } else if(score==B && score%K!=0){\n System.out.println(\"NG\");\n }\n }", "{\n if(score%K==0){\n System.out.println(\"OK\");\n break;\n } else if(score==B && score%K!=0){\n System.out.println(\"NG\");\n }\n }", "if(score%K==0){\n System.out.println(\"OK\");\n break;\n } else if(score==B && score%K!=0){\n System.out.println(\"NG\");\n }", "score%K==0", "score%K", "score", "K", "0", "{\n System.out.println(\"OK\");\n break;\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "break;", "if(score==B && score%K!=0){\n System.out.println(\"NG\");\n }", "score==B && score%K!=0", "score==B", "score", "B", "score%K!=0", "score%K", "score", "K", "0", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n int K = Integer.parseInt(in.readLine());\n StringTokenizer st = new StringTokenizer(in.readLine());\n int A = Integer.parseInt(st.nextToken());\n int B = Integer.parseInt(st.nextToken());\n for(int score=A; score<=B; score++){\n if(score%K==0){\n System.out.println(\"OK\");\n break;\n } else if(score==B && score%K!=0){\n System.out.println(\"NG\");\n }\n }\n }\n}", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n int K = Integer.parseInt(in.readLine());\n StringTokenizer st = new StringTokenizer(in.readLine());\n int A = Integer.parseInt(st.nextToken());\n int B = Integer.parseInt(st.nextToken());\n for(int score=A; score<=B; score++){\n if(score%K==0){\n System.out.println(\"OK\");\n break;\n } else if(score==B && score%K!=0){\n System.out.println(\"NG\");\n }\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; import java.util.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); int K = Integer.parseInt(in.readLine()); StringTokenizer st = new StringTokenizer(in.readLine()); int A = Integer.parseInt(st.nextToken()); int B = Integer.parseInt(st.nextToken()); for(int score=A; score<=B; score++){ if(score%K==0){ System.out.println("OK"); break; } else if(score==B && score%K!=0){ System.out.println("NG"); } } } }
[ 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, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 28, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 27, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 27, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 52, 54 ], [ 47, 55 ], [ 46, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 46, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 6, 70 ], [ 70, 71 ] ]
[ "import java.util.Scanner;\n \nclass Main {\n public static void main(String args[])\n {\n Scanner sc = new Scanner(System.in);\n int k =sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n if(a%k==0||b%k==0)\n {\n System.out.print(\"OK\");\n }\n else\n if((b/k)-(a)/k>=1)\n {\n System.out.print(\"OK\");\n }\n else\n {\n System.out.print(\"NG\");\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n public static void main(String args[])\n {\n Scanner sc = new Scanner(System.in);\n int k =sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n if(a%k==0||b%k==0)\n {\n System.out.print(\"OK\");\n }\n else\n if((b/k)-(a)/k>=1)\n {\n System.out.print(\"OK\");\n }\n else\n {\n System.out.print(\"NG\");\n }\n }\n}", "Main", "public static void main(String args[])\n {\n Scanner sc = new Scanner(System.in);\n int k =sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n if(a%k==0||b%k==0)\n {\n System.out.print(\"OK\");\n }\n else\n if((b/k)-(a)/k>=1)\n {\n System.out.print(\"OK\");\n }\n else\n {\n System.out.print(\"NG\");\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int k =sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n if(a%k==0||b%k==0)\n {\n System.out.print(\"OK\");\n }\n else\n if((b/k)-(a)/k>=1)\n {\n System.out.print(\"OK\");\n }\n else\n {\n System.out.print(\"NG\");\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k =sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "if(a%k==0||b%k==0)\n {\n System.out.print(\"OK\");\n }\n else\n if((b/k)-(a)/k>=1)\n {\n System.out.print(\"OK\");\n }\n else\n {\n System.out.print(\"NG\");\n }", "a%k==0||b%k==0", "a%k==0", "a%k", "a", "k", "0", "b%k==0", "b%k", "b", "k", "0", "{\n System.out.print(\"OK\");\n }", "System.out.print(\"OK\")", "System.out.print", "System.out", "System", "System.out", "\"OK\"", "if((b/k)-(a)/k>=1)\n {\n System.out.print(\"OK\");\n }\n else\n {\n System.out.print(\"NG\");\n }", "(b/k)-(a)/k>=1", "(b/k)-(a)/k", "(b/k)", "b", "k", "(a)/k", "(a)", "k", "1", "{\n System.out.print(\"OK\");\n }", "System.out.print(\"OK\")", "System.out.print", "System.out", "System", "System.out", "\"OK\"", "{\n System.out.print(\"NG\");\n }", "System.out.print(\"NG\")", "System.out.print", "System.out", "System", "System.out", "\"NG\"", "String args[]", "args" ]
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int k =sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); if(a%k==0||b%k==0) { System.out.print("OK"); } else if((b/k)-(a)/k>=1) { System.out.print("OK"); } else { System.out.print("NG"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 41, 13, 20, 0, 13, 19, 18, 13, 4, 18, 13, 23, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 14, 2, 2, 13, 2, 13, 2, 13, 13, 2, 2, 13, 2, 13, 13, 13, 0, 13, 17, 4, 18, 18, 13, 13, 8, 13, 17, 17, 6, 13, 41, 13, 41, 13, 41, 13, 41, 13, 17, 12, 13, 30, 0, 13, 20, 17, 0, 13, 17, 0, 13, 20, 12, 13, 30, 38, 30, 4, 13, 30, 4, 18, 33, 12, 13, 30, 14, 2, 13, 17, 4, 18, 13, 12, 13, 30, 14, 2, 13, 18, 13, 13, 29, 18, 13, 40, 13, 41, 13, 4, 18, 13, 42, 2, 13, 17, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 17, 29, 18, 13, 40, 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, 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 ], [ 212, 20 ], [ 212, 21 ], [ 21, 22 ], [ 212, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 25, 34 ], [ 34, 35 ], [ 35, 36 ], [ 23, 37 ], [ 37, 38 ], [ 212, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 42, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 49, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 49, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 49, 65 ], [ 65, 66 ], [ 65, 67 ], [ 49, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 77, 83 ], [ 68, 84 ], [ 84, 85 ], [ 84, 86 ], [ 49, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 92, 93 ], [ 92, 94 ], [ 92, 95 ], [ 212, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 96, 100 ], [ 100, 101 ], [ 96, 102 ], [ 102, 103 ], [ 96, 104 ], [ 104, 105 ], [ 104, 106 ], [ 96, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 109, 114 ], [ 114, 115 ], [ 114, 116 ], [ 109, 117 ], [ 117, 118 ], [ 117, 119 ], [ 96, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 123, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 96, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 138, 139 ], [ 139, 140 ], [ 96, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 147, 148 ], [ 147, 149 ], [ 144, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 153, 154 ], [ 143, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 158, 159 ], [ 143, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 167, 168 ], [ 143, 169 ], [ 169, 170 ], [ 169, 171 ], [ 171, 172 ], [ 172, 173 ], [ 171, 174 ], [ 171, 175 ], [ 143, 176 ], [ 176, 177 ], [ 176, 178 ], [ 143, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 96, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 188, 191 ], [ 191, 192 ], [ 96, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 197, 200 ], [ 200, 201 ], [ 96, 202 ], [ 202, 203 ], [ 202, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 207, 208 ], [ 206, 209 ], [ 209, 210 ], [ 0, 211 ], [ 211, 212 ], [ 211, 213 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\n\npublic class Main {\n\n private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n boolean possible = false;\n\n if(A<=K*(B/K)&&K*(B/K)<=B) possible = true;\n\n System.out.println(possible?\"OK\":\"NG\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Collections;", "Collections", "java.util", "import java.util.List;", "List", "java.util", "public class Main {\n\n private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n boolean possible = false;\n\n if(A<=K*(B/K)&&K*(B/K)<=B) possible = true;\n\n System.out.println(possible?\"OK\":\"NG\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}", "Main", "private static Scanner sc;", "sc", "public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }", "main", "{\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }", "Main instance = new Main();", "instance", "new Main()", "sc = instance.new Scanner()", "sc", "instance.new Scanner()", "instance", "instance", "instance.solve()", "instance.solve", "instance", "String[] args", "args", "private void solve() {\n try {\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n boolean possible = false;\n\n if(A<=K*(B/K)&&K*(B/K)<=B) possible = true;\n\n System.out.println(possible?\"OK\":\"NG\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "solve", "{\n try {\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n boolean possible = false;\n\n if(A<=K*(B/K)&&K*(B/K)<=B) possible = true;\n\n System.out.println(possible?\"OK\":\"NG\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "try {\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n boolean possible = false;\n\n if(A<=K*(B/K)&&K*(B/K)<=B) possible = true;\n\n System.out.println(possible?\"OK\":\"NG\");\n } catch (Exception e) {\n e.printStackTrace();\n }", "catch (Exception e) {\n e.printStackTrace();\n }", "Exception e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n boolean possible = false;\n\n if(A<=K*(B/K)&&K*(B/K)<=B) possible = true;\n\n System.out.println(possible?\"OK\":\"NG\");\n }", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "boolean possible = false;", "possible", "false", "if(A<=K*(B/K)&&K*(B/K)<=B) possible = true;", "A<=K*(B/K)&&K*(B/K)<=B", "A<=K*(B/K)", "A", "K*(B/K)", "K", "(B/K)", "B", "K", "K*(B/K)<=B", "K*(B/K)", "K", "(B/K)", "B", "K", "B", "possible = true", "possible", "true", "System.out.println(possible?\"OK\":\"NG\")", "System.out.println", "System.out", "System", "System.out", "possible?\"OK\":\"NG\"", "possible", "\"OK\"", "\"NG\"", "private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }", "Scanner", "String[] s;", "s", "int i;", "i", "BufferedReader br;", "br", "String regex = \" \";", "regex", "\" \"", "public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "Scanner", "{\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "s = new String[0]", "s", "new String[0]", "0", "i = 0", "i", "0", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "@Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }", "finalize", "{\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }", "try {\n super.finalize();\n } finally {\n destruction();\n }", "{\n destruction();\n }", "destruction()", "destruction", "{\n super.finalize();\n }", "super.finalize()", "super.finalize", "super", "private void destruction() throws IOException {\n if (br != null) br.close();\n }", "destruction", "{\n if (br != null) br.close();\n }", "if (br != null) br.close();", "br != null", "br", "null", "br.close()", "br.close", "br", "public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }", "next", "{\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }", "if (i < s.length) return s[i++];", "i < s.length", "i", "s.length", "s", "s.length", "return s[i++];", "s[i++]", "s", "i++", "i", "String st = br.readLine();", "st", "br.readLine()", "br.readLine", "br", "while (st == \"\") st = br.readLine();", "st == \"\"", "st", "\"\"", "st = br.readLine()", "st", "br.readLine()", "br.readLine", "br", "s = st.split(regex, 0)", "s", "st.split(regex, 0)", "st.split", "st", "regex", "0", "i = 0", "i", "0", "return s[i++];", "s[i++]", "s", "i++", "i", "public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public Double nextDouble() throws NumberFormatException, IOException {\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 private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n boolean possible = false;\n\n if(A<=K*(B/K)&&K*(B/K)<=B) possible = true;\n\n System.out.println(possible?\"OK\":\"NG\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}", "public class Main {\n\n private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n boolean possible = false;\n\n if(A<=K*(B/K)&&K*(B/K)<=B) possible = true;\n\n System.out.println(possible?\"OK\":\"NG\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class Main { private static Scanner sc; public static void main(String[] args) { Main instance = new Main(); sc = instance.new Scanner(); instance.solve(); } private void solve() { try { int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); boolean possible = false; if(A<=K*(B/K)&&K*(B/K)<=B) possible = true; System.out.println(possible?"OK":"NG"); } catch (Exception e) { e.printStackTrace(); } } private class Scanner { String[] s; int i; BufferedReader br; String regex = " "; public Scanner() { s = new String[0]; i = 0; br = new BufferedReader(new InputStreamReader(System.in)); } @Override protected void finalize() throws Throwable { try { super.finalize(); } finally { destruction(); } } private void destruction() throws IOException { if (br != null) br.close(); } public String next() throws IOException { if (i < s.length) return s[i++]; String st = br.readLine(); while (st == "") st = br.readLine(); s = st.split(regex, 0); i = 0; return s[i++]; } public int nextInt() throws NumberFormatException, IOException { return Integer.parseInt(next()); } public Long nextLong() throws NumberFormatException, IOException { return Long.parseLong(next()); } public Double nextDouble() throws NumberFormatException, IOException { 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, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 40, 13, 3, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 78, 5 ], [ 78, 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 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 8, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 53, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 6, 75 ], [ 75, 76 ], [ 0, 77 ], [ 77, 78 ], [ 77, 79 ] ]
[ "import java.util.Scanner;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n int flag = 0;\n for(int i = A; i<=B; i++){\n if(i%K == 0){\n flag++;\n break;\n }\n }\n if(flag==0){\n System.out.println(\"NG\");\n }else if(flag==1){\n System.out.println(\"OK\");\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 K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n int flag = 0;\n for(int i = A; i<=B; i++){\n if(i%K == 0){\n flag++;\n break;\n }\n }\n if(flag==0){\n System.out.println(\"NG\");\n }else if(flag==1){\n System.out.println(\"OK\");\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n int flag = 0;\n for(int i = A; i<=B; i++){\n if(i%K == 0){\n flag++;\n break;\n }\n }\n if(flag==0){\n System.out.println(\"NG\");\n }else if(flag==1){\n System.out.println(\"OK\");\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n int flag = 0;\n for(int i = A; i<=B; i++){\n if(i%K == 0){\n flag++;\n break;\n }\n }\n if(flag==0){\n System.out.println(\"NG\");\n }else if(flag==1){\n System.out.println(\"OK\");\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "int flag = 0;", "flag", "0", "for(int i = A; i<=B; i++){\n if(i%K == 0){\n flag++;\n break;\n }\n }", "int i = A;", "int i = A;", "i", "A", "i<=B", "i", "B", "i++", "i++", "i", "{\n if(i%K == 0){\n flag++;\n break;\n }\n }", "{\n if(i%K == 0){\n flag++;\n break;\n }\n }", "if(i%K == 0){\n flag++;\n break;\n }", "i%K == 0", "i%K", "i", "K", "0", "{\n flag++;\n break;\n }", "flag++", "flag", "break;", "if(flag==0){\n System.out.println(\"NG\");\n }else if(flag==1){\n System.out.println(\"OK\");\n }", "flag==0", "flag", "0", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "if(flag==1){\n System.out.println(\"OK\");\n }", "flag==1", "flag", "1", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n int flag = 0;\n for(int i = A; i<=B; i++){\n if(i%K == 0){\n flag++;\n break;\n }\n }\n if(flag==0){\n System.out.println(\"NG\");\n }else if(flag==1){\n System.out.println(\"OK\");\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n int flag = 0;\n for(int i = A; i<=B; i++){\n if(i%K == 0){\n flag++;\n break;\n }\n }\n if(flag==0){\n System.out.println(\"NG\");\n }else if(flag==1){\n System.out.println(\"OK\");\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); int flag = 0; for(int i = A; i<=B; i++){ if(i%K == 0){ flag++; break; } } if(flag==0){ System.out.println("NG"); }else if(flag==1){ System.out.println("OK"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 42, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 17, 0, 13, 13, 14, 2, 2, 13, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 0, 13, 17, 3, 14, 13, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 12, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 19, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 28, 29 ], [ 29, 30 ], [ 19, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 37, 38 ], [ 19, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 45, 46 ], [ 19, 47 ], [ 47, 48 ], [ 47, 49 ], [ 19, 50 ], [ 50, 51 ], [ 50, 52 ], [ 19, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 65, 66 ], [ 65, 67 ], [ 57, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 73, 75 ], [ 68, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 76, 83 ], [ 83, 84 ], [ 83, 85 ], [ 76, 86 ], [ 19, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 9, 95 ], [ 95, 96 ] ]
[ "import java.util.*;\nimport java.math.*;\n \nclass Main{\n public static void main(String[] args) {\n \n try(Scanner sc = new Scanner(System.in)){\n\n int k = Integer.parseInt(sc.next());\n int a = Integer.parseInt(sc.next());\n int b = Integer.parseInt(sc.next());\n\n boolean isNg = true;\n int i = 0;\n while(k <= b){\n k += i;\n if(i == 0) i = k;\n if(a <= k && k <= b){\n System.out.println(\"OK\");\n isNg = false;\n break;\n }\n }\n\n if(isNg) System.out.println(\"NG\");\n\n }catch(Exception e){\n e.printStackTrace();\n } \n }\n}", "import java.util.*;", "util.*", "java", "import java.math.*;", "math.*", "java", "class Main{\n public static void main(String[] args) {\n \n try(Scanner sc = new Scanner(System.in)){\n\n int k = Integer.parseInt(sc.next());\n int a = Integer.parseInt(sc.next());\n int b = Integer.parseInt(sc.next());\n\n boolean isNg = true;\n int i = 0;\n while(k <= b){\n k += i;\n if(i == 0) i = k;\n if(a <= k && k <= b){\n System.out.println(\"OK\");\n isNg = false;\n break;\n }\n }\n\n if(isNg) System.out.println(\"NG\");\n\n }catch(Exception e){\n e.printStackTrace();\n } \n }\n}", "Main", "public static void main(String[] args) {\n \n try(Scanner sc = new Scanner(System.in)){\n\n int k = Integer.parseInt(sc.next());\n int a = Integer.parseInt(sc.next());\n int b = Integer.parseInt(sc.next());\n\n boolean isNg = true;\n int i = 0;\n while(k <= b){\n k += i;\n if(i == 0) i = k;\n if(a <= k && k <= b){\n System.out.println(\"OK\");\n isNg = false;\n break;\n }\n }\n\n if(isNg) System.out.println(\"NG\");\n\n }catch(Exception e){\n e.printStackTrace();\n } \n }", "main", "{\n \n try(Scanner sc = new Scanner(System.in)){\n\n int k = Integer.parseInt(sc.next());\n int a = Integer.parseInt(sc.next());\n int b = Integer.parseInt(sc.next());\n\n boolean isNg = true;\n int i = 0;\n while(k <= b){\n k += i;\n if(i == 0) i = k;\n if(a <= k && k <= b){\n System.out.println(\"OK\");\n isNg = false;\n break;\n }\n }\n\n if(isNg) System.out.println(\"NG\");\n\n }catch(Exception e){\n e.printStackTrace();\n } \n }", "try(Scanner sc = new Scanner(System.in)){\n\n int k = Integer.parseInt(sc.next());\n int a = Integer.parseInt(sc.next());\n int b = Integer.parseInt(sc.next());\n\n boolean isNg = true;\n int i = 0;\n while(k <= b){\n k += i;\n if(i == 0) i = k;\n if(a <= k && k <= b){\n System.out.println(\"OK\");\n isNg = false;\n break;\n }\n }\n\n if(isNg) System.out.println(\"NG\");\n\n }catch(Exception e){\n e.printStackTrace();\n }", "catch(Exception e){\n e.printStackTrace();\n }", "Exception e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\n int k = Integer.parseInt(sc.next());\n int a = Integer.parseInt(sc.next());\n int b = Integer.parseInt(sc.next());\n\n boolean isNg = true;\n int i = 0;\n while(k <= b){\n k += i;\n if(i == 0) i = k;\n if(a <= k && k <= b){\n System.out.println(\"OK\");\n isNg = false;\n break;\n }\n }\n\n if(isNg) System.out.println(\"NG\");\n\n }", "Scanner sc = new Scanner(System.in)", "Scanner sc = new Scanner(System.in)", "new Scanner(System.in)", "int k = Integer.parseInt(sc.next());", "k", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "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", "boolean isNg = true;", "isNg", "true", "int i = 0;", "i", "0", "while(k <= b){\n k += i;\n if(i == 0) i = k;\n if(a <= k && k <= b){\n System.out.println(\"OK\");\n isNg = false;\n break;\n }\n }", "k <= b", "k", "b", "{\n k += i;\n if(i == 0) i = k;\n if(a <= k && k <= b){\n System.out.println(\"OK\");\n isNg = false;\n break;\n }\n }", "k += i", "k", "i", "if(i == 0) i = k;", "i == 0", "i", "0", "i = k", "i", "k", "if(a <= k && k <= b){\n System.out.println(\"OK\");\n isNg = false;\n break;\n }", "a <= k && k <= b", "a <= k", "a", "k", "k <= b", "k", "b", "{\n System.out.println(\"OK\");\n isNg = false;\n break;\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "isNg = false", "isNg", "false", "break;", "if(isNg) System.out.println(\"NG\");", "isNg", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args" ]
import java.util.*; import java.math.*; class Main{ public static void main(String[] args) { try(Scanner sc = new Scanner(System.in)){ int k = Integer.parseInt(sc.next()); int a = Integer.parseInt(sc.next()); int b = Integer.parseInt(sc.next()); boolean isNg = true; int i = 0; while(k <= b){ k += i; if(i == 0) i = k; if(a <= k && k <= b){ System.out.println("OK"); isNg = false; break; } } if(isNg) System.out.println("NG"); }catch(Exception e){ e.printStackTrace(); } } }
[ 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, 41, 13, 4, 18, 13, 17, 17, 41, 13, 17, 11, 1, 41, 13, 4, 18, 13, 18, 13, 17, 2, 13, 4, 18, 13, 18, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 3, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 81, 5 ], [ 81, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 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 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 27, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 35, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 35, 53 ], [ 53, 54 ], [ 54, 55 ], [ 35, 56 ], [ 57, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 58, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 8, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 8, 75 ], [ 75, 76 ], [ 76, 77 ], [ 6, 78 ], [ 78, 79 ], [ 0, 80 ], [ 80, 81 ], [ 80, 82 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int str1 = Integer.parseInt((String)scan.nextLine());\n String tmp = scan.nextLine();\n \n String[] hani = tmp.split(\" \",0);\n \n String result = \"NG\";\n for(int i=Integer.parseInt(hani[0]);i<=Integer.parseInt(hani[1]);i++){\n if(i%str1==0){\n result=\"OK\";\n break;\n }\n }\n \n System.out.println(result);\n scan.close();\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int str1 = Integer.parseInt((String)scan.nextLine());\n String tmp = scan.nextLine();\n \n String[] hani = tmp.split(\" \",0);\n \n String result = \"NG\";\n for(int i=Integer.parseInt(hani[0]);i<=Integer.parseInt(hani[1]);i++){\n if(i%str1==0){\n result=\"OK\";\n break;\n }\n }\n \n System.out.println(result);\n scan.close();\n }\n}", "Main", "public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int str1 = Integer.parseInt((String)scan.nextLine());\n String tmp = scan.nextLine();\n \n String[] hani = tmp.split(\" \",0);\n \n String result = \"NG\";\n for(int i=Integer.parseInt(hani[0]);i<=Integer.parseInt(hani[1]);i++){\n if(i%str1==0){\n result=\"OK\";\n break;\n }\n }\n \n System.out.println(result);\n scan.close();\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int str1 = Integer.parseInt((String)scan.nextLine());\n String tmp = scan.nextLine();\n \n String[] hani = tmp.split(\" \",0);\n \n String result = \"NG\";\n for(int i=Integer.parseInt(hani[0]);i<=Integer.parseInt(hani[1]);i++){\n if(i%str1==0){\n result=\"OK\";\n break;\n }\n }\n \n System.out.println(result);\n scan.close();\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int str1 = Integer.parseInt((String)scan.nextLine());", "str1", "Integer.parseInt((String)scan.nextLine())", "Integer.parseInt", "Integer", "(String)scan.nextLine()", "scan.nextLine", "scan", "String tmp = scan.nextLine();", "tmp", "scan.nextLine()", "scan.nextLine", "scan", "String[] hani = tmp.split(\" \",0);", "hani", "tmp.split(\" \",0)", "tmp.split", "tmp", "\" \"", "0", "String result = \"NG\";", "result", "\"NG\"", "for(int i=Integer.parseInt(hani[0]);i<=Integer.parseInt(hani[1]);i++){\n if(i%str1==0){\n result=\"OK\";\n break;\n }\n }", "int i=Integer.parseInt(hani[0]);", "int i=Integer.parseInt(hani[0]);", "i", "Integer.parseInt(hani[0])", "Integer.parseInt", "Integer", "hani[0]", "hani", "0", "i<=Integer.parseInt(hani[1])", "i", "Integer.parseInt(hani[1])", "Integer.parseInt", "Integer", "hani[1]", "hani", "1", "i++", "i++", "i", "{\n if(i%str1==0){\n result=\"OK\";\n break;\n }\n }", "{\n if(i%str1==0){\n result=\"OK\";\n break;\n }\n }", "if(i%str1==0){\n result=\"OK\";\n break;\n }", "i%str1==0", "i%str1", "i", "str1", "0", "{\n result=\"OK\";\n break;\n }", "result=\"OK\"", "result", "\"OK\"", "break;", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int str1 = Integer.parseInt((String)scan.nextLine());\n String tmp = scan.nextLine();\n \n String[] hani = tmp.split(\" \",0);\n \n String result = \"NG\";\n for(int i=Integer.parseInt(hani[0]);i<=Integer.parseInt(hani[1]);i++){\n if(i%str1==0){\n result=\"OK\";\n break;\n }\n }\n \n System.out.println(result);\n scan.close();\n }\n}", "public class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int str1 = Integer.parseInt((String)scan.nextLine());\n String tmp = scan.nextLine();\n \n String[] hani = tmp.split(\" \",0);\n \n String result = \"NG\";\n for(int i=Integer.parseInt(hani[0]);i<=Integer.parseInt(hani[1]);i++){\n if(i%str1==0){\n result=\"OK\";\n break;\n }\n }\n \n System.out.println(result);\n scan.close();\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); int str1 = Integer.parseInt((String)scan.nextLine()); String tmp = scan.nextLine(); String[] hani = tmp.split(" ",0); String result = "NG"; for(int i=Integer.parseInt(hani[0]);i<=Integer.parseInt(hani[1]);i++){ if(i%str1==0){ result="OK"; break; } } System.out.println(result); scan.close(); } }
[ 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, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 40, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 8, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 52, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 6, 70 ], [ 70, 71 ], [ 0, 72 ], [ 72, 73 ], [ 72, 74 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint K = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint count = 0;\n\n\t\tfor (int i = a; i <= b; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tif (count > 0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t} else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint K = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint count = 0;\n\n\t\tfor (int i = a; i <= b; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tif (count > 0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t} else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint K = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint count = 0;\n\n\t\tfor (int i = a; i <= b; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tif (count > 0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t} else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint K = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint count = 0;\n\n\t\tfor (int i = a; i <= b; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tif (count > 0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t} else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int count = 0;", "count", "0", "for (int i = a; i <= b; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}", "int i = a;", "int i = a;", "i", "a", "i <= b", "i", "b", "i++", "i++", "i", "{\n\t\t\tif (i % K == 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}", "{\n\t\t\tif (i % K == 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}", "if (i % K == 0) {\n\t\t\t\tcount++;\n\t\t\t}", "i % K == 0", "i % K", "i", "K", "0", "{\n\t\t\t\tcount++;\n\t\t\t}", "count++", "count", "if (count > 0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t} else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "count > 0", "count", "0", "{\n\t\t\tSystem.out.println(\"OK\");\n\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint K = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint count = 0;\n\n\t\tfor (int i = a; i <= b; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tif (count > 0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t} else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint K = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint count = 0;\n\n\t\tfor (int i = a; i <= b; i++) {\n\t\t\tif (i % K == 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tif (count > 0) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t} else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); int count = 0; for (int i = a; i <= b; i++) { if (i % K == 0) { count++; } } if (count > 0) { System.out.println("OK"); } else { System.out.println("NG"); } } }
[ 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, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 2, 13, 13, 14, 2, 2, 13, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 42, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 56, 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.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint k = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tsc.close();\n\t\tfor (int i = 1; i <= 1000; i++) {\n int result = i * k;\n if (a <= result && result <= b) {\n System.out.println(\"OK\");\n return;\n\t\t\t}\n\t\t}\n\t\t\tSystem.out.println(\"NG\");\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 k = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tsc.close();\n\t\tfor (int i = 1; i <= 1000; i++) {\n int result = i * k;\n if (a <= result && result <= b) {\n System.out.println(\"OK\");\n return;\n\t\t\t}\n\t\t}\n\t\t\tSystem.out.println(\"NG\");\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint k = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tsc.close();\n\t\tfor (int i = 1; i <= 1000; i++) {\n int result = i * k;\n if (a <= result && result <= b) {\n System.out.println(\"OK\");\n return;\n\t\t\t}\n\t\t}\n\t\t\tSystem.out.println(\"NG\");\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint k = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tsc.close();\n\t\tfor (int i = 1; i <= 1000; i++) {\n int result = i * k;\n if (a <= result && result <= b) {\n System.out.println(\"OK\");\n return;\n\t\t\t}\n\t\t}\n\t\t\tSystem.out.println(\"NG\");\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "sc.close()", "sc.close", "sc", "for (int i = 1; i <= 1000; i++) {\n int result = i * k;\n if (a <= result && result <= b) {\n System.out.println(\"OK\");\n return;\n\t\t\t}\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= 1000", "i", "1000", "i++", "i++", "i", "{\n int result = i * k;\n if (a <= result && result <= b) {\n System.out.println(\"OK\");\n return;\n\t\t\t}\n\t\t}", "{\n int result = i * k;\n if (a <= result && result <= b) {\n System.out.println(\"OK\");\n return;\n\t\t\t}\n\t\t}", "int result = i * k;", "result", "i * k", "i", "k", "if (a <= result && result <= b) {\n System.out.println(\"OK\");\n return;\n\t\t\t}", "a <= result && result <= b", "a <= result", "a", "result", "result <= b", "result", "b", "{\n System.out.println(\"OK\");\n return;\n\t\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "return;", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "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 k = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tsc.close();\n\t\tfor (int i = 1; i <= 1000; i++) {\n int result = i * k;\n if (a <= result && result <= b) {\n System.out.println(\"OK\");\n return;\n\t\t\t}\n\t\t}\n\t\t\tSystem.out.println(\"NG\");\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 k = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tsc.close();\n\t\tfor (int i = 1; i <= 1000; i++) {\n int result = i * k;\n if (a <= result && result <= b) {\n System.out.println(\"OK\");\n return;\n\t\t\t}\n\t\t}\n\t\t\tSystem.out.println(\"NG\");\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 k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); sc.close(); for (int i = 1; i <= 1000; i++) { int result = i * k; if (a <= result && result <= b) { System.out.println("OK"); return; } } System.out.println("NG"); } }
[ 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, 4, 18, 13, 14, 2, 13, 13, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 29, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 29, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 82, 5 ], [ 82, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 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 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 35, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 41, 48 ], [ 30, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 53, 60 ], [ 49, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 65, 72 ], [ 8, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 6, 79 ], [ 79, 80 ], [ 0, 81 ], [ 81, 82 ], [ 81, 83 ] ]
[ "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 k = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tsc.close();\n\t\tif(a > k) {\n\t\t\tif(b / k >= 2) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t} else if(a == k) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t\treturn;\n\t\t} else if(b >= k){\n\t\t\tSystem.out.println(\"OK\");\n\t\t\treturn;\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint k = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tsc.close();\n\t\tif(a > k) {\n\t\t\tif(b / k >= 2) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t} else if(a == k) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t\treturn;\n\t\t} else if(b >= k){\n\t\t\tSystem.out.println(\"OK\");\n\t\t\treturn;\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint k = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tsc.close();\n\t\tif(a > k) {\n\t\t\tif(b / k >= 2) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t} else if(a == k) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t\treturn;\n\t\t} else if(b >= k){\n\t\t\tSystem.out.println(\"OK\");\n\t\t\treturn;\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint k = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tsc.close();\n\t\tif(a > k) {\n\t\t\tif(b / k >= 2) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t} else if(a == k) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t\treturn;\n\t\t} else if(b >= k){\n\t\t\tSystem.out.println(\"OK\");\n\t\t\treturn;\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "sc.close()", "sc.close", "sc", "if(a > k) {\n\t\t\tif(b / k >= 2) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t} else if(a == k) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t\treturn;\n\t\t} else if(b >= k){\n\t\t\tSystem.out.println(\"OK\");\n\t\t\treturn;\n\t\t}", "a > k", "a", "k", "{\n\t\t\tif(b / k >= 2) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}", "if(b / k >= 2) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}", "b / k >= 2", "b / k", "b", "k", "2", "{\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "return;", "if(a == k) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t\treturn;\n\t\t} else if(b >= k){\n\t\t\tSystem.out.println(\"OK\");\n\t\t\treturn;\n\t\t}", "a == k", "a", "k", "{\n\t\t\tSystem.out.println(\"OK\");\n\t\t\treturn;\n\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "return;", "if(b >= k){\n\t\t\tSystem.out.println(\"OK\");\n\t\t\treturn;\n\t\t}", "b >= k", "b", "k", "{\n\t\t\tSystem.out.println(\"OK\");\n\t\t\treturn;\n\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "return;", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "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 k = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tsc.close();\n\t\tif(a > k) {\n\t\t\tif(b / k >= 2) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t} else if(a == k) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t\treturn;\n\t\t} else if(b >= k){\n\t\t\tSystem.out.println(\"OK\");\n\t\t\treturn;\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint k = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tsc.close();\n\t\tif(a > k) {\n\t\t\tif(b / k >= 2) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t} else if(a == k) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t\treturn;\n\t\t} else if(b >= k){\n\t\t\tSystem.out.println(\"OK\");\n\t\t\treturn;\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); sc.close(); if(a > k) { if(b / k >= 2) { System.out.println("OK"); return; } } else if(a == k) { System.out.println("OK"); return; } else if(b >= k){ System.out.println("OK"); return; } System.out.println("NG"); } }
[ 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, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 13, 14, 2, 2, 13, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 42, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 56, 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 public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n int k = scanner.nextInt();\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n \n int mulValue = k;\n \n for(int mulCount = 1; mulValue <= b; mulCount++){\n mulValue = k * mulCount;\n if(a <= mulValue && mulValue <= b){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n int k = scanner.nextInt();\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n \n int mulValue = k;\n \n for(int mulCount = 1; mulValue <= b; mulCount++){\n mulValue = k * mulCount;\n if(a <= mulValue && mulValue <= b){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }\n}", "Main", "public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n int k = scanner.nextInt();\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n \n int mulValue = k;\n \n for(int mulCount = 1; mulValue <= b; mulCount++){\n mulValue = k * mulCount;\n if(a <= mulValue && mulValue <= b){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n \n int k = scanner.nextInt();\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n \n int mulValue = k;\n \n for(int mulCount = 1; mulValue <= b; mulCount++){\n mulValue = k * mulCount;\n if(a <= mulValue && mulValue <= b){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int k = scanner.nextInt();", "k", "scanner.nextInt()", "scanner.nextInt", "scanner", "int a = scanner.nextInt();", "a", "scanner.nextInt()", "scanner.nextInt", "scanner", "int b = scanner.nextInt();", "b", "scanner.nextInt()", "scanner.nextInt", "scanner", "int mulValue = k;", "mulValue", "k", "for(int mulCount = 1; mulValue <= b; mulCount++){\n mulValue = k * mulCount;\n if(a <= mulValue && mulValue <= b){\n System.out.println(\"OK\");\n return;\n }\n }", "int mulCount = 1;", "int mulCount = 1;", "mulCount", "1", "mulValue <= b", "mulValue", "b", "mulCount++", "mulCount++", "mulCount", "{\n mulValue = k * mulCount;\n if(a <= mulValue && mulValue <= b){\n System.out.println(\"OK\");\n return;\n }\n }", "{\n mulValue = k * mulCount;\n if(a <= mulValue && mulValue <= b){\n System.out.println(\"OK\");\n return;\n }\n }", "mulValue = k * mulCount", "mulValue", "k * mulCount", "k", "mulCount", "if(a <= mulValue && mulValue <= b){\n System.out.println(\"OK\");\n return;\n }", "a <= mulValue && mulValue <= b", "a <= mulValue", "a", "mulValue", "mulValue <= b", "mulValue", "b", "{\n System.out.println(\"OK\");\n return;\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "return;", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n int k = scanner.nextInt();\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n \n int mulValue = k;\n \n for(int mulCount = 1; mulValue <= b; mulCount++){\n mulValue = k * mulCount;\n if(a <= mulValue && mulValue <= b){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n int k = scanner.nextInt();\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n \n int mulValue = k;\n \n for(int mulCount = 1; mulValue <= b; mulCount++){\n mulValue = k * mulCount;\n if(a <= mulValue && mulValue <= b){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int k = scanner.nextInt(); int a = scanner.nextInt(); int b = scanner.nextInt(); int mulValue = k; for(int mulCount = 1; mulValue <= b; mulCount++){ mulValue = k * mulCount; if(a <= mulValue && mulValue <= b){ System.out.println("OK"); return; } } System.out.println("NG"); } }
[ 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, 41, 13, 17, 14, 2, 13, 13, 30, 30, 11, 1, 41, 13, 13, 2, 2, 13, 13, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 84, 5 ], [ 84, 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 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 30, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 45, 47 ], [ 36, 48 ], [ 48, 49 ], [ 49, 50 ], [ 36, 51 ], [ 52, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 53, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 8, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 63, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 6, 81 ], [ 81, 82 ], [ 0, 83 ], [ 83, 84 ], [ 83, 85 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 目標値K\n int K = sc.nextInt();\n // 範囲A,B\n int A = sc.nextInt(); \n int B = sc.nextInt();\n\n int WariFlag=0;\n\n if( K>B){\n }else{\n for(int i=A;i<=B&&WariFlag==0;i++){\n if(i%K==0){\n WariFlag=1;\n }\n }\n }\n if(WariFlag==0){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }\n\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 目標値K\n int K = sc.nextInt();\n // 範囲A,B\n int A = sc.nextInt(); \n int B = sc.nextInt();\n\n int WariFlag=0;\n\n if( K>B){\n }else{\n for(int i=A;i<=B&&WariFlag==0;i++){\n if(i%K==0){\n WariFlag=1;\n }\n }\n }\n if(WariFlag==0){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }\n\n }\n}", "Main", "public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 目標値K\n int K = sc.nextInt();\n // 範囲A,B\n int A = sc.nextInt(); \n int B = sc.nextInt();\n\n int WariFlag=0;\n\n if( K>B){\n }else{\n for(int i=A;i<=B&&WariFlag==0;i++){\n if(i%K==0){\n WariFlag=1;\n }\n }\n }\n if(WariFlag==0){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }\n\n }", "main", "{\n final Scanner sc = new Scanner(System.in);\n // 目標値K\n int K = sc.nextInt();\n // 範囲A,B\n int A = sc.nextInt(); \n int B = sc.nextInt();\n\n int WariFlag=0;\n\n if( K>B){\n }else{\n for(int i=A;i<=B&&WariFlag==0;i++){\n if(i%K==0){\n WariFlag=1;\n }\n }\n }\n if(WariFlag==0){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }\n\n }", "final Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "int WariFlag=0;", "WariFlag", "0", "if( K>B){\n }else{\n for(int i=A;i<=B&&WariFlag==0;i++){\n if(i%K==0){\n WariFlag=1;\n }\n }\n }", "K>B", "K", "B", "{\n }", "{\n for(int i=A;i<=B&&WariFlag==0;i++){\n if(i%K==0){\n WariFlag=1;\n }\n }\n }", "for(int i=A;i<=B&&WariFlag==0;i++){\n if(i%K==0){\n WariFlag=1;\n }\n }", "int i=A;", "int i=A;", "i", "A", "i<=B&&WariFlag==0", "i<=B", "i", "B", "WariFlag==0", "WariFlag", "0", "i++", "i++", "i", "{\n if(i%K==0){\n WariFlag=1;\n }\n }", "{\n if(i%K==0){\n WariFlag=1;\n }\n }", "if(i%K==0){\n WariFlag=1;\n }", "i%K==0", "i%K", "i", "K", "0", "{\n WariFlag=1;\n }", "WariFlag=1", "WariFlag", "1", "if(WariFlag==0){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }", "WariFlag==0", "WariFlag", "0", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "final String[] args", "args", "public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 目標値K\n int K = sc.nextInt();\n // 範囲A,B\n int A = sc.nextInt(); \n int B = sc.nextInt();\n\n int WariFlag=0;\n\n if( K>B){\n }else{\n for(int i=A;i<=B&&WariFlag==0;i++){\n if(i%K==0){\n WariFlag=1;\n }\n }\n }\n if(WariFlag==0){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }\n\n }\n}", "public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 目標値K\n int K = sc.nextInt();\n // 範囲A,B\n int A = sc.nextInt(); \n int B = sc.nextInt();\n\n int WariFlag=0;\n\n if( K>B){\n }else{\n for(int i=A;i<=B&&WariFlag==0;i++){\n if(i%K==0){\n WariFlag=1;\n }\n }\n }\n if(WariFlag==0){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }\n\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(final String[] args) { final Scanner sc = new Scanner(System.in); // 目標値K int K = sc.nextInt(); // 範囲A,B int A = sc.nextInt(); int B = sc.nextInt(); int WariFlag=0; if( K>B){ }else{ for(int i=A;i<=B&&WariFlag==0;i++){ if(i%K==0){ WariFlag=1; } } } if(WariFlag==0){ System.out.println("NG"); }else{ System.out.println("OK"); } } }
[ 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, 4, 18, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 3, 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 ], [ 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 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 34, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 39, 49 ], [ 49, 50 ], [ 50, 51 ], [ 39, 52 ], [ 53, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 54, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 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.*;\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int k = Integer.parseInt(sc.next());\n int a = Integer.parseInt(sc.next());\n int b = Integer.parseInt(sc.next());\n String ans = \"NG\";\n for (int i = a; i < b + 1; i++) {\n if (i % k == 0) {\n ans = \"OK\";\n break;\n }\n }\n\n System.out.println(ans);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int k = Integer.parseInt(sc.next());\n int a = Integer.parseInt(sc.next());\n int b = Integer.parseInt(sc.next());\n String ans = \"NG\";\n for (int i = a; i < b + 1; i++) {\n if (i % k == 0) {\n ans = \"OK\";\n break;\n }\n }\n\n System.out.println(ans);\n }\n}", "Main", "public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int k = Integer.parseInt(sc.next());\n int a = Integer.parseInt(sc.next());\n int b = Integer.parseInt(sc.next());\n String ans = \"NG\";\n for (int i = a; i < b + 1; i++) {\n if (i % k == 0) {\n ans = \"OK\";\n break;\n }\n }\n\n System.out.println(ans);\n }", "main", "{\n\n Scanner sc = new Scanner(System.in);\n int k = Integer.parseInt(sc.next());\n int a = Integer.parseInt(sc.next());\n int b = Integer.parseInt(sc.next());\n String ans = \"NG\";\n for (int i = a; i < b + 1; i++) {\n if (i % k == 0) {\n ans = \"OK\";\n break;\n }\n }\n\n System.out.println(ans);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k = Integer.parseInt(sc.next());", "k", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "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", "String ans = \"NG\";", "ans", "\"NG\"", "for (int i = a; i < b + 1; i++) {\n if (i % k == 0) {\n ans = \"OK\";\n break;\n }\n }", "int i = a;", "int i = a;", "i", "a", "i < b + 1", "i", "b + 1", "b", "1", "i++", "i++", "i", "{\n if (i % k == 0) {\n ans = \"OK\";\n break;\n }\n }", "{\n if (i % k == 0) {\n ans = \"OK\";\n break;\n }\n }", "if (i % k == 0) {\n ans = \"OK\";\n break;\n }", "i % k == 0", "i % k", "i", "k", "0", "{\n ans = \"OK\";\n break;\n }", "ans = \"OK\"", "ans", "\"OK\"", "break;", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int k = Integer.parseInt(sc.next());\n int a = Integer.parseInt(sc.next());\n int b = Integer.parseInt(sc.next());\n String ans = \"NG\";\n for (int i = a; i < b + 1; i++) {\n if (i % k == 0) {\n ans = \"OK\";\n break;\n }\n }\n\n System.out.println(ans);\n }\n}", "public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int k = Integer.parseInt(sc.next());\n int a = Integer.parseInt(sc.next());\n int b = Integer.parseInt(sc.next());\n String ans = \"NG\";\n for (int i = a; i < b + 1; i++) {\n if (i % k == 0) {\n ans = \"OK\";\n break;\n }\n }\n\n System.out.println(ans);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int k = Integer.parseInt(sc.next()); int a = Integer.parseInt(sc.next()); int b = Integer.parseInt(sc.next()); String ans = "NG"; for (int i = a; i < b + 1; i++) { if (i % k == 0) { ans = "OK"; break; } } System.out.println(ans); } }
[ 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, 41, 13, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 2, 13, 13, 40, 13, 3, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 81, 5 ], [ 81, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 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 ], [ 8, 27 ], [ 27, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 45, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 51, 57 ], [ 57, 58 ], [ 51, 59 ], [ 8, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 60, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 6, 78 ], [ 78, 79 ], [ 0, 80 ], [ 80, 81 ], [ 80, 82 ] ]
[ "import java.util.*;\npublic class Main{\n \n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n /*K倍*/\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b= sc.nextInt();\n \n int seisu;\n int count = 0;\n for(int i=a;i<=b;i++){\n \n if(i%k == 0){ \n seisu = i/k;\n \n count++; \n break;\n \n }\n }\n \n if(count>0){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\"); \n }\n }\n }\n ", "import java.util.*;", "util.*", "java", "public class Main{\n \n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n /*K倍*/\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b= sc.nextInt();\n \n int seisu;\n int count = 0;\n for(int i=a;i<=b;i++){\n \n if(i%k == 0){ \n seisu = i/k;\n \n count++; \n break;\n \n }\n }\n \n if(count>0){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\"); \n }\n }\n }", "Main", "public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n /*K倍*/\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b= sc.nextInt();\n \n int seisu;\n int count = 0;\n for(int i=a;i<=b;i++){\n \n if(i%k == 0){ \n seisu = i/k;\n \n count++; \n break;\n \n }\n }\n \n if(count>0){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\"); \n }\n }", "main", "{\n \n Scanner sc = new Scanner(System.in);\n \n /*K倍*/\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b= sc.nextInt();\n \n int seisu;\n int count = 0;\n for(int i=a;i<=b;i++){\n \n if(i%k == 0){ \n seisu = i/k;\n \n count++; \n break;\n \n }\n }\n \n if(count>0){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\"); \n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b= sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int seisu;", "seisu", "int count = 0;", "count", "0", "for(int i=a;i<=b;i++){\n \n if(i%k == 0){ \n seisu = i/k;\n \n count++; \n break;\n \n }\n }", "int i=a;", "int i=a;", "i", "a", "i<=b", "i", "b", "i++", "i++", "i", "{\n \n if(i%k == 0){ \n seisu = i/k;\n \n count++; \n break;\n \n }\n }", "{\n \n if(i%k == 0){ \n seisu = i/k;\n \n count++; \n break;\n \n }\n }", "if(i%k == 0){ \n seisu = i/k;\n \n count++; \n break;\n \n }", "i%k == 0", "i%k", "i", "k", "0", "{ \n seisu = i/k;\n \n count++; \n break;\n \n }", "seisu = i/k", "seisu", "i/k", "i", "k", "count++", "count", "break;", "if(count>0){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\"); \n }", "count>0", "count", "0", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n System.out.println(\"NG\"); \n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main{\n \n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n /*K倍*/\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b= sc.nextInt();\n \n int seisu;\n int count = 0;\n for(int i=a;i<=b;i++){\n \n if(i%k == 0){ \n seisu = i/k;\n \n count++; \n break;\n \n }\n }\n \n if(count>0){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\"); \n }\n }\n }", "public class Main{\n \n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n /*K倍*/\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b= sc.nextInt();\n \n int seisu;\n int count = 0;\n for(int i=a;i<=b;i++){\n \n if(i%k == 0){ \n seisu = i/k;\n \n count++; \n break;\n \n }\n }\n \n if(count>0){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\"); \n }\n }\n }", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); /*K倍*/ int k = sc.nextInt(); int a = sc.nextInt(); int b= sc.nextInt(); int seisu; int count = 0; for(int i=a;i<=b;i++){ if(i%k == 0){ seisu = i/k; count++; break; } } if(count>0){ System.out.println("OK"); }else{ System.out.println("NG"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 2, 13, 13, 14, 2, 2, 13, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 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, 42, 2, 2, 13, 17, 40, 4, 18, 13, 0, 13, 20, 29, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 107, 8 ], [ 107, 9 ], [ 9, 10 ], [ 107, 11 ], [ 11, 12 ], [ 107, 13 ], [ 13, 14 ], [ 107, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 17, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 17, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 35, 37 ], [ 17, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 38, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 38, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 15, 58 ], [ 58, 59 ], [ 107, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 67, 68 ], [ 107, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 76, 77 ], [ 107, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 85, 86 ], [ 107, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 90, 99 ], [ 99, 100 ], [ 99, 101 ], [ 89, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 0, 106 ], [ 106, 107 ], [ 106, 108 ] ]
[ "import java.util.*; \nimport java.io.*;\n\npublic class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n int K = nextInt();\n int A = nextInt();\n int B = nextInt();\n\n int mod = B % K; \n if(B-mod>=A){\n System.out.println(\"OK\");\n }\n else{\n System.out.println(\"NG\");\n }\n\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n int K = nextInt();\n int A = nextInt();\n int B = nextInt();\n\n int mod = B % K; \n if(B-mod>=A){\n System.out.println(\"OK\");\n }\n else{\n System.out.println(\"NG\");\n }\n\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}", "Main", "static StringTokenizer st;", "st", "static BufferedReader br;", "br", "static PrintWriter out;", "out", "public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n int K = nextInt();\n int A = nextInt();\n int B = nextInt();\n\n int mod = B % K; \n if(B-mod>=A){\n System.out.println(\"OK\");\n }\n else{\n System.out.println(\"NG\");\n }\n\n\n }", "main", "{\n br = new BufferedReader(new InputStreamReader(System.in));\n\n int K = nextInt();\n int A = nextInt();\n int B = nextInt();\n\n int mod = B % K; \n if(B-mod>=A){\n System.out.println(\"OK\");\n }\n else{\n System.out.println(\"NG\");\n }\n\n\n }", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "int K = nextInt();", "K", "nextInt()", "nextInt", "int A = nextInt();", "A", "nextInt()", "nextInt", "int B = nextInt();", "B", "nextInt()", "nextInt", "int mod = B % K;", "mod", "B % K", "B", "K", "if(B-mod>=A){\n System.out.println(\"OK\");\n }\n else{\n System.out.println(\"NG\");\n }", "B-mod>=A", "B-mod", "B", "mod", "A", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public static double nextDouble() throws IOException {\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", "static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }", "while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "st = new StringTokenizer(br.readLine().trim())", "st", "new StringTokenizer(br.readLine().trim())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n int K = nextInt();\n int A = nextInt();\n int B = nextInt();\n\n int mod = B % K; \n if(B-mod>=A){\n System.out.println(\"OK\");\n }\n else{\n System.out.println(\"NG\");\n }\n\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}", "public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n int K = nextInt();\n int A = nextInt();\n int B = nextInt();\n\n int mod = B % K; \n if(B-mod>=A){\n System.out.println(\"OK\");\n }\n else{\n System.out.println(\"NG\");\n }\n\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { static StringTokenizer st; static BufferedReader br; static PrintWriter out; public static void main(String[] args) throws IOException { br = new BufferedReader(new InputStreamReader(System.in)); int K = nextInt(); int A = nextInt(); int B = nextInt(); int mod = B % K; if(B-mod>=A){ System.out.println("OK"); } else{ System.out.println("NG"); } } public static int nextInt() throws IOException { return Integer.parseInt(next()); } public static long nextLong() throws IOException { return Long.parseLong(next()); } public static double nextDouble() throws IOException { return Double.parseDouble(next()); } static String next() throws IOException { while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine().trim()); return st.nextToken(); } }
[ 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, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 8, 2, 2, 2, 2, 13, 13, 8, 2, 2, 13, 13, 17, 17, 17, 13, 13, 17, 17, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 0, 13, 17, 23, 13, 12, 13, 30, 14, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 14, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 29, 4, 18, 13, 29, 4, 18, 13, 17, 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, 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 ], [ 195, 17 ], [ 195, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 20, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 20, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 51, 57 ], [ 51, 58 ], [ 46, 59 ], [ 45, 60 ], [ 44, 61 ], [ 44, 62 ], [ 18, 63 ], [ 63, 64 ], [ 195, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 65, 69 ], [ 69, 70 ], [ 65, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 77, 79 ], [ 71, 80 ], [ 80, 81 ], [ 65, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 85, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 95, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 84, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 65, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 112, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 126, 127 ], [ 122, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 111, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 134, 137 ], [ 65, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 142, 145 ], [ 145, 146 ], [ 65, 147 ], [ 147, 148 ], [ 147, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 151, 154 ], [ 154, 155 ], [ 65, 156 ], [ 156, 157 ], [ 156, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 160, 163 ], [ 163, 164 ], [ 65, 165 ], [ 165, 166 ], [ 165, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 167, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 172, 177 ], [ 177, 178 ], [ 177, 179 ], [ 172, 180 ], [ 180, 181 ], [ 181, 182 ], [ 172, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 184, 188 ], [ 188, 189 ], [ 167, 190 ], [ 190, 191 ], [ 165, 192 ], [ 192, 193 ], [ 0, 194 ], [ 194, 195 ], [ 194, 196 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tSystem.out.println((((a / n + (a % n == 0 ? 0 : 1)) * n)) <= b ? \"OK\" : \"NG\");\n\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tSystem.out.println((((a / n + (a % n == 0 ? 0 : 1)) * n)) <= b ? \"OK\" : \"NG\");\n\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tSystem.out.println((((a / n + (a % n == 0 ? 0 : 1)) * n)) <= b ? \"OK\" : \"NG\");\n\n\t}", "main", "{\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tSystem.out.println((((a / n + (a % n == 0 ? 0 : 1)) * n)) <= b ? \"OK\" : \"NG\");\n\n\t}", "FastScanner sc = new FastScanner(System.in);", "sc", "new FastScanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println((((a / n + (a % n == 0 ? 0 : 1)) * n)) <= b ? \"OK\" : \"NG\")", "System.out.println", "System.out", "System", "System.out", "(((a / n + (a % n == 0 ? 0 : 1)) * n)) <= b ? \"OK\" : \"NG\"", "(((a / n + (a % n == 0 ? 0 : 1)) * n)) <= b", "(((a / n + (a % n == 0 ? 0 : 1)) * n))", "(a / n + (a % n == 0 ? 0 : 1))", "a / n", "a", "n", "(a % n == 0 ? 0 : 1)", "a % n == 0", "a % n", "a", "n", "0", "0", "1", "n", "b", "\"OK\"", "\"NG\"", "String[] args", "args", "static class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}", "FastScanner", "private BufferedReader reader;", "reader", "private StringTokenizer tokenizer;", "tokenizer", "public FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}", "FastScanner", "{\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}", "reader = new BufferedReader(new InputStreamReader(in))", "reader", "new BufferedReader(new InputStreamReader(in))", "tokenizer = null", "tokenizer", "null", "InputStream in", "in", "public String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}", "next", "{\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}", "if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}", "try {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}", "catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}", "IOException e", "{\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t}", "tokenizer = new StringTokenizer(reader.readLine())", "tokenizer", "new StringTokenizer(reader.readLine())", "return tokenizer.nextToken();", "tokenizer.nextToken()", "tokenizer.nextToken", "tokenizer", "public String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}", "nextLine", "{\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}", "if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}", "try {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}", "catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}", "IOException e", "{\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t}", "return reader.readLine();", "reader.readLine()", "reader.readLine", "reader", "return tokenizer.nextToken(\"\\n\");", "tokenizer.nextToken(\"\\n\")", "tokenizer.nextToken", "tokenizer", "\"\\n\"", "public long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}", "nextLong", "{\n\t\t\treturn Long.parseLong(next());\n\t\t}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "nextInt", "{\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}", "nextDouble", "{\n\t\t\treturn Double.parseDouble(next());\n\t\t}", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "public long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}", "nextLongArray", "{\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}", "long[] a = new long[n];", "a", "new long[n]", "n", "for (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = nextLong();", "a[i] = nextLong()", "a[i]", "a", "i", "nextLong()", "nextLong", "return a;", "a", "int n", "n", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tSystem.out.println((((a / n + (a % n == 0 ? 0 : 1)) * n)) <= b ? \"OK\" : \"NG\");\n\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tSystem.out.println((((a / n + (a % n == 0 ? 0 : 1)) * n)) <= b ? \"OK\" : \"NG\");\n\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(System.in); int n = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println((((a / n + (a % n == 0 ? 0 : 1)) * n)) <= b ? "OK" : "NG"); } static class FastScanner { private BufferedReader reader; private StringTokenizer tokenizer; public FastScanner(InputStream in) { reader = new BufferedReader(new InputStreamReader(in)); tokenizer = null; } public String next() { if (tokenizer == null || !tokenizer.hasMoreTokens()) { try { tokenizer = new StringTokenizer(reader.readLine()); } catch (IOException e) { throw new RuntimeException(e); } } return tokenizer.nextToken(); } public String nextLine() { if (tokenizer == null || !tokenizer.hasMoreTokens()) { try { return reader.readLine(); } catch (IOException e) { throw new RuntimeException(e); } } return tokenizer.nextToken("\n"); } public long nextLong() { return Long.parseLong(next()); } public int nextInt() { return Integer.parseInt(next()); } public double nextDouble() { return Double.parseDouble(next()); } public long[] nextLongArray(int n) { long[] a = new long[n]; for (int i = 0; i < n; i++) a[i] = nextLong(); return 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, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 13, 30, 40, 13, 0, 13, 2, 13, 13, 14, 2, 2, 13, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 3, 14, 2, 13, 17, 30, 0, 13, 17, 4, 18, 18, 13, 13, 17, 3, 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 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 43, 45 ], [ 38, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 51, 53 ], [ 46, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 54, 61 ], [ 38, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 66, 76 ], [ 6, 77 ], [ 77, 78 ], [ 0, 79 ], [ 79, 80 ], [ 79, 81 ] ]
[ "import java.util.*;\n\npublic class Main{\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n int count =0;\n int multiple=0;\n boolean flag = true;\n while(flag){\n count++;\n multiple=K*count;\n if(A<=multiple&& multiple<=B){\n System.out.println(\"OK\");\n break;\n }\n if(multiple>=1000) {\n flag=false;\n System.out.println(\"NG\");\n break;\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 int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n int count =0;\n int multiple=0;\n boolean flag = true;\n while(flag){\n count++;\n multiple=K*count;\n if(A<=multiple&& multiple<=B){\n System.out.println(\"OK\");\n break;\n }\n if(multiple>=1000) {\n flag=false;\n System.out.println(\"NG\");\n break;\n }\n }\n ;\n }\n}", "Main", "public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n int count =0;\n int multiple=0;\n boolean flag = true;\n while(flag){\n count++;\n multiple=K*count;\n if(A<=multiple&& multiple<=B){\n System.out.println(\"OK\");\n break;\n }\n if(multiple>=1000) {\n flag=false;\n System.out.println(\"NG\");\n break;\n }\n }\n ;\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n int count =0;\n int multiple=0;\n boolean flag = true;\n while(flag){\n count++;\n multiple=K*count;\n if(A<=multiple&& multiple<=B){\n System.out.println(\"OK\");\n break;\n }\n if(multiple>=1000) {\n flag=false;\n System.out.println(\"NG\");\n break;\n }\n }\n ;\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "int count =0;", "count", "0", "int multiple=0;", "multiple", "0", "boolean flag = true;", "flag", "true", "while(flag){\n count++;\n multiple=K*count;\n if(A<=multiple&& multiple<=B){\n System.out.println(\"OK\");\n break;\n }\n if(multiple>=1000) {\n flag=false;\n System.out.println(\"NG\");\n break;\n }\n }", "flag", "{\n count++;\n multiple=K*count;\n if(A<=multiple&& multiple<=B){\n System.out.println(\"OK\");\n break;\n }\n if(multiple>=1000) {\n flag=false;\n System.out.println(\"NG\");\n break;\n }\n }", "count++", "count", "multiple=K*count", "multiple", "K*count", "K", "count", "if(A<=multiple&& multiple<=B){\n System.out.println(\"OK\");\n break;\n }", "A<=multiple&& multiple<=B", "A<=multiple", "A", "multiple", "multiple<=B", "multiple", "B", "{\n System.out.println(\"OK\");\n break;\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "break;", "if(multiple>=1000) {\n flag=false;\n System.out.println(\"NG\");\n break;\n }", "multiple>=1000", "multiple", "1000", "{\n flag=false;\n System.out.println(\"NG\");\n break;\n }", "flag=false", "flag", "false", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "break;", "String[]args", "args", "public class Main{\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n int count =0;\n int multiple=0;\n boolean flag = true;\n while(flag){\n count++;\n multiple=K*count;\n if(A<=multiple&& multiple<=B){\n System.out.println(\"OK\");\n break;\n }\n if(multiple>=1000) {\n flag=false;\n System.out.println(\"NG\");\n break;\n }\n }\n ;\n }\n}", "public class Main{\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n int count =0;\n int multiple=0;\n boolean flag = true;\n while(flag){\n count++;\n multiple=K*count;\n if(A<=multiple&& multiple<=B){\n System.out.println(\"OK\");\n break;\n }\n if(multiple>=1000) {\n flag=false;\n System.out.println(\"NG\");\n break;\n }\n }\n ;\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[]args){ Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); int count =0; int multiple=0; boolean flag = true; while(flag){ count++; multiple=K*count; if(A<=multiple&& multiple<=B){ System.out.println("OK"); break; } if(multiple>=1000) { flag=false; System.out.println("NG"); break; } } ; } }
[ 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, 18, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 42, 17, 30, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 3, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 3, 0, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 73, 8 ], [ 73, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 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 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 32, 34 ], [ 11, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 11, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 47, 54 ], [ 42, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 59, 66 ], [ 42, 67 ], [ 67, 68 ], [ 67, 69 ], [ 9, 70 ], [ 70, 71 ], [ 0, 72 ], [ 72, 73 ], [ 72, 74 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int K = scan.nextInt();\n int A = scan.nextInt();\n int B = scan.nextInt();\n\n int syou = A/K;\n int hantei = K * syou;\n\n while (true) {\n if (hantei > B) {\n System.out.println(\"NG\");\n break;\n }\n if (hantei >= A) {\n System.out.println(\"OK\");\n break;\n }\n hantei += K;\n }\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int K = scan.nextInt();\n int A = scan.nextInt();\n int B = scan.nextInt();\n\n int syou = A/K;\n int hantei = K * syou;\n\n while (true) {\n if (hantei > B) {\n System.out.println(\"NG\");\n break;\n }\n if (hantei >= A) {\n System.out.println(\"OK\");\n break;\n }\n hantei += K;\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int K = scan.nextInt();\n int A = scan.nextInt();\n int B = scan.nextInt();\n\n int syou = A/K;\n int hantei = K * syou;\n\n while (true) {\n if (hantei > B) {\n System.out.println(\"NG\");\n break;\n }\n if (hantei >= A) {\n System.out.println(\"OK\");\n break;\n }\n hantei += K;\n }\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n\n int K = scan.nextInt();\n int A = scan.nextInt();\n int B = scan.nextInt();\n\n int syou = A/K;\n int hantei = K * syou;\n\n while (true) {\n if (hantei > B) {\n System.out.println(\"NG\");\n break;\n }\n if (hantei >= A) {\n System.out.println(\"OK\");\n break;\n }\n hantei += K;\n }\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int K = scan.nextInt();", "K", "scan.nextInt()", "scan.nextInt", "scan", "int A = scan.nextInt();", "A", "scan.nextInt()", "scan.nextInt", "scan", "int B = scan.nextInt();", "B", "scan.nextInt()", "scan.nextInt", "scan", "int syou = A/K;", "syou", "A/K", "A", "K", "int hantei = K * syou;", "hantei", "K * syou", "K", "syou", "while (true) {\n if (hantei > B) {\n System.out.println(\"NG\");\n break;\n }\n if (hantei >= A) {\n System.out.println(\"OK\");\n break;\n }\n hantei += K;\n }", "true", "{\n if (hantei > B) {\n System.out.println(\"NG\");\n break;\n }\n if (hantei >= A) {\n System.out.println(\"OK\");\n break;\n }\n hantei += K;\n }", "if (hantei > B) {\n System.out.println(\"NG\");\n break;\n }", "hantei > B", "hantei", "B", "{\n System.out.println(\"NG\");\n break;\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "break;", "if (hantei >= A) {\n System.out.println(\"OK\");\n break;\n }", "hantei >= A", "hantei", "A", "{\n System.out.println(\"OK\");\n break;\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "break;", "hantei += K", "hantei", "K", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int K = scan.nextInt();\n int A = scan.nextInt();\n int B = scan.nextInt();\n\n int syou = A/K;\n int hantei = K * syou;\n\n while (true) {\n if (hantei > B) {\n System.out.println(\"NG\");\n break;\n }\n if (hantei >= A) {\n System.out.println(\"OK\");\n break;\n }\n hantei += K;\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int K = scan.nextInt();\n int A = scan.nextInt();\n int B = scan.nextInt();\n\n int syou = A/K;\n int hantei = K * syou;\n\n while (true) {\n if (hantei > B) {\n System.out.println(\"NG\");\n break;\n }\n if (hantei >= A) {\n System.out.println(\"OK\");\n break;\n }\n hantei += K;\n }\n }\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int K = scan.nextInt(); int A = scan.nextInt(); int B = scan.nextInt(); int syou = A/K; int hantei = K * syou; while (true) { if (hantei > B) { System.out.println("NG"); break; } if (hantei >= A) { System.out.println("OK"); break; } hantei += K; } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 4, 18, 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, 40, 13, 29, 4, 13, 12, 13, 30, 14, 40, 4, 13, 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, 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, 37, 20, 29, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 38, 5, 13, 30, 30, 4, 18, 13, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 10, 15 ], [ 15, 16 ], [ 15, 17 ], [ 10, 18 ], [ 18, 19 ], [ 18, 20 ], [ 10, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 23, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 23, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 23, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 55, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 61, 68 ], [ 23, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 23, 75 ], [ 75, 76 ], [ 76, 77 ], [ 21, 78 ], [ 78, 79 ], [ 0, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 80, 87 ], [ 87, 88 ], [ 87, 89 ], [ 80, 91 ], [ 91, 92 ], [ 91, 93 ], [ 80, 94 ], [ 94, 95 ], [ 94, 96 ], [ 80, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 105, 106 ], [ 100, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 111, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 107, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 129, 130 ], [ 130, 131 ], [ 99, 132 ], [ 132, 133 ], [ 80, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 137, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 144, 145 ], [ 137, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 80, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 158, 159 ], [ 158, 160 ], [ 150, 161 ], [ 161, 162 ], [ 80, 163 ], [ 163, 164 ], [ 163, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 167, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 173, 175 ], [ 166, 176 ], [ 176, 177 ], [ 165, 178 ], [ 178, 179 ], [ 179, 180 ], [ 80, 181 ], [ 181, 182 ], [ 181, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 184, 188 ], [ 188, 189 ], [ 183, 190 ], [ 190, 191 ], [ 190, 192 ], [ 183, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 196 ], [ 183, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 197, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 202, 205 ], [ 201, 206 ], [ 206, 207 ], [ 206, 208 ], [ 208, 209 ], [ 183, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 80, 214 ], [ 214, 215 ], [ 214, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 217, 221 ], [ 221, 222 ], [ 216, 223 ], [ 223, 224 ], [ 223, 225 ], [ 216, 226 ], [ 226, 227 ], [ 226, 228 ], [ 216, 229 ], [ 229, 230 ], [ 229, 231 ], [ 231, 232 ], [ 216, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 233, 237 ], [ 237, 238 ], [ 238, 239 ], [ 238, 240 ], [ 237, 241 ], [ 241, 242 ], [ 241, 243 ], [ 243, 244 ], [ 216, 245 ], [ 245, 246 ], [ 246, 247 ], [ 247, 248 ], [ 247, 249 ], [ 246, 250 ], [ 250, 251 ], [ 250, 252 ], [ 245, 253 ], [ 253, 254 ], [ 254, 255 ], [ 216, 256 ], [ 256, 257 ], [ 256, 258 ], [ 258, 259 ], [ 259, 260 ], [ 260, 261 ], [ 261, 262 ], [ 261, 263 ], [ 260, 264 ], [ 264, 265 ], [ 264, 266 ], [ 259, 267 ], [ 267, 268 ], [ 268, 269 ], [ 268, 270 ], [ 267, 271 ], [ 271, 272 ], [ 271, 273 ], [ 273, 274 ], [ 273, 275 ], [ 259, 276 ], [ 276, 277 ], [ 277, 278 ], [ 278, 279 ], [ 278, 280 ], [ 280, 281 ], [ 277, 282 ], [ 282, 283 ], [ 283, 284 ], [ 283, 285 ], [ 276, 286 ], [ 286, 287 ], [ 287, 288 ], [ 288, 289 ], [ 288, 290 ], [ 290, 291 ], [ 288, 292 ], [ 276, 293 ], [ 293, 294 ], [ 294, 295 ], [ 258, 296 ], [ 296, 297 ], [ 296, 298 ], [ 298, 299 ], [ 80, 300 ], [ 300, 301 ], [ 300, 302 ], [ 302, 303 ], [ 303, 304 ], [ 303, 305 ], [ 305, 306 ], [ 302, 307 ], [ 307, 308 ], [ 308, 309 ], [ 309, 310 ], [ 309, 311 ], [ 311, 312 ], [ 311, 313 ], [ 308, 314 ], [ 314, 315 ], [ 314, 316 ], [ 316, 317 ], [ 316, 318 ], [ 307, 319 ], [ 319, 320 ], [ 302, 321 ], [ 321, 322 ], [ 80, 323 ], [ 323, 324 ], [ 323, 325 ], [ 325, 326 ], [ 326, 327 ], [ 327, 328 ], [ 328, 329 ], [ 327, 330 ], [ 330, 331 ], [ 80, 332 ], [ 332, 333 ], [ 332, 334 ], [ 334, 335 ], [ 335, 336 ], [ 336, 337 ], [ 336, 338 ], [ 335, 339 ], [ 339, 340 ], [ 340, 341 ], [ 341, 342 ], [ 80, 343 ] ]
[ "import java.io.*;\nimport java.util.*;\nimport java.util.stream.*;\n\nclass Main{\n\tstatic final long MOD = 1_000_000_007; // 10^9+7\n static final int MAX = 2_147_483_646; // intMax \n static final int INF = 1_000_000_000; // 10^9 \n public static void main(String[] args) throws Exception {\n\t\thayami saori = new hayami();\n\t\tint k = saori.saori_hayami();\n\t\tint a = saori.saori_hayami();\n\t\tint b = saori.saori_hayami();\n\t\tfor(int i = a;i <= b;i++){\n\t\t\tif(i % k == 0){\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t\tsaori.close();\n }\n}\n\nclass hayami implements Closeable {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] hayami = new byte[1024];\n\tprivate int Hayami = 0;\n\tprivate int saori = 0;\n\tprivate boolean HayamiSaori() {\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int SaoriHayami() { \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}\n\tprivate static boolean hayami_saori(int hayami) { \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}\n\tpublic boolean hayamisaori() { \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}\n\tpublic String nextHayami() {\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}\n\tpublic long saorihayami() {//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}\n\tpublic int saori_hayami() {//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}\n\tpublic double Hayamin() { //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}\n\tpublic void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }\n \n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "import java.util.stream.*;", "stream.*", "java.util", "class Main{\n\tstatic final long MOD = 1_000_000_007; // 10^9+7\n static final int MAX = 2_147_483_646; // intMax \n static final int INF = 1_000_000_000; // 10^9 \n public static void main(String[] args) throws Exception {\n\t\thayami saori = new hayami();\n\t\tint k = saori.saori_hayami();\n\t\tint a = saori.saori_hayami();\n\t\tint b = saori.saori_hayami();\n\t\tfor(int i = a;i <= b;i++){\n\t\t\tif(i % k == 0){\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t\tsaori.close();\n }\n}", "Main", "static final long MOD = 1_000_000_007; // 10^9+7", "MOD", "1_000_000_007", "static final int MAX = 2_147_483_646; // intMax ", "MAX", "2_147_483_646", "static final int INF = 1_000_000_000; // 10^9 ", "INF", "1_000_000_000", "public static void main(String[] args) throws Exception {\n\t\thayami saori = new hayami();\n\t\tint k = saori.saori_hayami();\n\t\tint a = saori.saori_hayami();\n\t\tint b = saori.saori_hayami();\n\t\tfor(int i = a;i <= b;i++){\n\t\t\tif(i % k == 0){\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t\tsaori.close();\n }", "main", "{\n\t\thayami saori = new hayami();\n\t\tint k = saori.saori_hayami();\n\t\tint a = saori.saori_hayami();\n\t\tint b = saori.saori_hayami();\n\t\tfor(int i = a;i <= b;i++){\n\t\t\tif(i % k == 0){\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"NG\");\n\t\tsaori.close();\n }", "hayami saori = new hayami();", "saori", "new hayami()", "int k = saori.saori_hayami();", "k", "saori.saori_hayami()", "saori.saori_hayami", "saori", "int a = saori.saori_hayami();", "a", "saori.saori_hayami()", "saori.saori_hayami", "saori", "int b = saori.saori_hayami();", "b", "saori.saori_hayami()", "saori.saori_hayami", "saori", "for(int i = a;i <= b;i++){\n\t\t\tif(i % k == 0){\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}", "int i = a;", "int i = a;", "i", "a", "i <= b", "i", "b", "i++", "i++", "i", "{\n\t\t\tif(i % k == 0){\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}", "{\n\t\t\tif(i % k == 0){\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}", "if(i % k == 0){\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}", "i % k == 0", "i % k", "i", "k", "0", "{\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "return;", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "saori.close()", "saori.close", "saori", "String[] args", "args", "class hayami implements Closeable {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] hayami = new byte[1024];\n\tprivate int Hayami = 0;\n\tprivate int saori = 0;\n\tprivate boolean HayamiSaori() {\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int SaoriHayami() { \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}\n\tprivate static boolean hayami_saori(int hayami) { \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}\n\tpublic boolean hayamisaori() { \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}\n\tpublic String nextHayami() {\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}\n\tpublic long saorihayami() {//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}\n\tpublic int saori_hayami() {//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}\n\tpublic double Hayamin() { //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}\n\tpublic void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }\n \n}", "hayami", "private final InputStream in = System.in;", "in", "System.in", "System", "System.in", "private final byte[] hayami = new byte[1024];", "hayami", "new byte[1024]", "1024", "private int Hayami = 0;", "Hayami", "0", "private int saori = 0;", "saori", "0", "private boolean HayamiSaori() {\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "HayamiSaori", "{\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "if (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}", "Hayami < saori", "Hayami", "saori", "{\n\t\t\treturn true;\n\t\t}", "return true;", "true", "{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}", "Hayami = 0", "Hayami", "0", "try {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}", "catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}", "IOException e", "{\n\t\t\t\te.printStackTrace();\n\t\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t}", "saori = in.read(hayami)", "saori", "in.read(hayami)", "in.read", "in", "hayami", "if (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}", "saori <= 0", "saori", "0", "{\n\t\t\t\treturn false;\n\t\t\t}", "return false;", "false", "return true;", "true", "private int SaoriHayami() { \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}", "SaoriHayami", "{ \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}", "if (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }", "HayamiSaori()", "HayamiSaori", "{\n return hayami[Hayami++];\n }", "return hayami[Hayami++];", "hayami[Hayami++]", "hayami", "Hayami++", "Hayami", "{\n return -1;\n }", "return -1;", "-1", "1", "private static boolean hayami_saori(int hayami) { \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}", "hayami_saori", "{ \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}", "return 33 <= hayami && hayami <= 126;", "33 <= hayami && hayami <= 126", "33 <= hayami", "33", "hayami", "hayami <= 126", "hayami", "126", "int hayami", "hayami", "public boolean hayamisaori() { \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}", "hayamisaori", "{ \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}", "while(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++;", "HayamiSaori() && !hayami_saori(hayami[Hayami])", "HayamiSaori()", "HayamiSaori", "!hayami_saori(hayami[Hayami])", "hayami_saori(hayami[Hayami])", "hayami_saori", "hayami[Hayami]", "hayami", "Hayami", "Hayami++", "Hayami", "return HayamiSaori();", "HayamiSaori()", "HayamiSaori", "public String nextHayami() {\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}", "nextHayami", "{\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}", "if (!hayamisaori()) throw new NoSuchElementException();", "!hayamisaori()", "hayamisaori()", "hayamisaori", "throw new NoSuchElementException();", "new NoSuchElementException()", "StringBuilder hayamin = new StringBuilder();", "hayamin", "new StringBuilder()", "int saori = SaoriHayami();", "saori", "SaoriHayami()", "SaoriHayami", "while(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}", "hayami_saori(saori)", "hayami_saori", "saori", "{\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}", "hayamin.appendCodePoint(saori)", "hayamin.appendCodePoint", "hayamin", "saori", "saori = SaoriHayami()", "saori", "SaoriHayami()", "SaoriHayami", "return hayamin.toString();", "hayamin.toString()", "hayamin.toString", "hayamin", "public long saorihayami() {//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}", "saorihayami", "{//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}", "if (!hayamisaori()) throw new NoSuchElementException();", "!hayamisaori()", "hayamisaori()", "hayamisaori", "throw new NoSuchElementException();", "new NoSuchElementException()", "long hayami = 0;", "hayami", "0", "boolean misao = false;", "misao", "false", "int saori = SaoriHayami();", "saori", "SaoriHayami()", "SaoriHayami", "if (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}", "saori == '-'", "saori", "'-'", "{\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}", "misao = true", "misao", "true", "saori = SaoriHayami()", "saori", "SaoriHayami()", "SaoriHayami", "if (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}", "saori < '0' || '9' < saori", "saori < '0'", "saori", "'0'", "'9' < saori", "'9'", "saori", "{\n\t\t\tthrow new NumberFormatException();\n\t\t}", "throw new NumberFormatException();", "new NumberFormatException()", "while(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}", "true", "{\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}", "if ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}", "'0' <= saori && saori <= '9'", "'0' <= saori", "'0'", "saori", "saori <= '9'", "saori", "'9'", "{\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}", "hayami *= 10", "hayami", "10", "hayami += saori - '0'", "hayami", "saori - '0'", "saori", "'0'", "if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}", "saori == -1 || !hayami_saori(saori)", "saori == -1", "saori", "-1", "1", "!hayami_saori(saori)", "hayami_saori(saori)", "hayami_saori", "saori", "{\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}", "return misao ? -hayami : hayami;", "misao ? -hayami : hayami", "misao", "-hayami", "hayami", "hayami", "{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}", "throw new NumberFormatException();", "new NumberFormatException()", "saori = SaoriHayami()", "saori", "SaoriHayami()", "SaoriHayami", "public int saori_hayami() {//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}", "saori_hayami", "{//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}", "long hayami = saorihayami();", "hayami", "saorihayami()", "saorihayami", "if (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();", "hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE", "hayami < Integer.MIN_VALUE", "hayami", "Integer.MIN_VALUE", "Integer", "Integer.MIN_VALUE", "hayami > Integer.MAX_VALUE", "hayami", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "throw new NumberFormatException();", "new NumberFormatException()", "return (int) hayami;", "(int) hayami", "public double Hayamin() { //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}", "Hayamin", "{ //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}", "return Double.parseDouble(nextHayami());", "Double.parseDouble(nextHayami())", "Double.parseDouble", "Double", "nextHayami()", "nextHayami", "public void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }", "close", "{\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }", "try {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}", "catch (IOException e) {\n\t\t}", "IOException e", "{\n\t\t}", "{\n\t\t\tin.close();\n\t\t}", "in.close()", "in.close", "in", "Closeable" ]
import java.io.*; import java.util.*; import java.util.stream.*; class Main{ static final long MOD = 1_000_000_007; // 10^9+7 static final int MAX = 2_147_483_646; // intMax static final int INF = 1_000_000_000; // 10^9 public static void main(String[] args) throws Exception { hayami saori = new hayami(); int k = saori.saori_hayami(); int a = saori.saori_hayami(); int b = saori.saori_hayami(); for(int i = a;i <= b;i++){ if(i % k == 0){ System.out.println("OK"); return; } } System.out.println("NG"); saori.close(); } } class hayami implements Closeable { private final InputStream in = System.in; private final byte[] hayami = new byte[1024]; private int Hayami = 0; private int saori = 0; private boolean HayamiSaori() { if (Hayami < saori) { return true; }else{ Hayami = 0; try { saori = in.read(hayami); } catch (IOException e) { e.printStackTrace(); } if (saori <= 0) { return false; } } return true; } private int SaoriHayami() { if (HayamiSaori()) { return hayami[Hayami++]; }else{ return -1; } } private static boolean hayami_saori(int hayami) { return 33 <= hayami && hayami <= 126; } public boolean hayamisaori() { while(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori(); } public String nextHayami() { if (!hayamisaori()) throw new NoSuchElementException(); StringBuilder hayamin = new StringBuilder(); int saori = SaoriHayami(); while(hayami_saori(saori)) { hayamin.appendCodePoint(saori); saori = SaoriHayami(); } return hayamin.toString(); } public long saorihayami() {//nextLong if (!hayamisaori()) throw new NoSuchElementException(); long hayami = 0; boolean misao = false; int saori = SaoriHayami(); if (saori == '-') { misao = true; saori = SaoriHayami(); } if (saori < '0' || '9' < saori) { throw new NumberFormatException(); } while(true){ if ('0' <= saori && saori <= '9') { hayami *= 10; hayami += saori - '0'; }else if(saori == -1 || !hayami_saori(saori)){ return misao ? -hayami : hayami; }else{ throw new NumberFormatException(); } saori = SaoriHayami(); } } public int saori_hayami() {//nextInt long hayami = saorihayami(); if (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException(); return (int) hayami; } public double Hayamin() { //nextDouble return Double.parseDouble(nextHayami()); } public void close() { try { in.close(); } catch (IOException e) { } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 3, 14, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 76, 5 ], [ 76, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 20, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 8, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 57, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 6, 73 ], [ 73, 74 ], [ 0, 75 ], [ 75, 76 ], [ 75, 77 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n\n boolean isOk = false;\n\n Scanner sc = new Scanner(System.in);\n int target = Integer.parseInt(sc.next());\n int minDistance = sc.nextInt();\n int maxDistance = sc.nextInt();\n\n for (int i=minDistance;i <= maxDistance;i++){\n if (i%target == 0){\n isOk = true;\n break;\n }\n }\n if(isOk){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n\n boolean isOk = false;\n\n Scanner sc = new Scanner(System.in);\n int target = Integer.parseInt(sc.next());\n int minDistance = sc.nextInt();\n int maxDistance = sc.nextInt();\n\n for (int i=minDistance;i <= maxDistance;i++){\n if (i%target == 0){\n isOk = true;\n break;\n }\n }\n if(isOk){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n }\n}", "Main", "public static void main(String[] args) {\n\n boolean isOk = false;\n\n Scanner sc = new Scanner(System.in);\n int target = Integer.parseInt(sc.next());\n int minDistance = sc.nextInt();\n int maxDistance = sc.nextInt();\n\n for (int i=minDistance;i <= maxDistance;i++){\n if (i%target == 0){\n isOk = true;\n break;\n }\n }\n if(isOk){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n }", "main", "{\n\n boolean isOk = false;\n\n Scanner sc = new Scanner(System.in);\n int target = Integer.parseInt(sc.next());\n int minDistance = sc.nextInt();\n int maxDistance = sc.nextInt();\n\n for (int i=minDistance;i <= maxDistance;i++){\n if (i%target == 0){\n isOk = true;\n break;\n }\n }\n if(isOk){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n }", "boolean isOk = false;", "isOk", "false", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int target = Integer.parseInt(sc.next());", "target", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "int minDistance = sc.nextInt();", "minDistance", "sc.nextInt()", "sc.nextInt", "sc", "int maxDistance = sc.nextInt();", "maxDistance", "sc.nextInt()", "sc.nextInt", "sc", "for (int i=minDistance;i <= maxDistance;i++){\n if (i%target == 0){\n isOk = true;\n break;\n }\n }", "int i=minDistance;", "int i=minDistance;", "i", "minDistance", "i <= maxDistance", "i", "maxDistance", "i++", "i++", "i", "{\n if (i%target == 0){\n isOk = true;\n break;\n }\n }", "{\n if (i%target == 0){\n isOk = true;\n break;\n }\n }", "if (i%target == 0){\n isOk = true;\n break;\n }", "i%target == 0", "i%target", "i", "target", "0", "{\n isOk = true;\n break;\n }", "isOk = true", "isOk", "true", "break;", "if(isOk){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }", "isOk", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n\n boolean isOk = false;\n\n Scanner sc = new Scanner(System.in);\n int target = Integer.parseInt(sc.next());\n int minDistance = sc.nextInt();\n int maxDistance = sc.nextInt();\n\n for (int i=minDistance;i <= maxDistance;i++){\n if (i%target == 0){\n isOk = true;\n break;\n }\n }\n if(isOk){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n\n boolean isOk = false;\n\n Scanner sc = new Scanner(System.in);\n int target = Integer.parseInt(sc.next());\n int minDistance = sc.nextInt();\n int maxDistance = sc.nextInt();\n\n for (int i=minDistance;i <= maxDistance;i++){\n if (i%target == 0){\n isOk = true;\n break;\n }\n }\n if(isOk){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { boolean isOk = false; Scanner sc = new Scanner(System.in); int target = Integer.parseInt(sc.next()); int minDistance = sc.nextInt(); int maxDistance = sc.nextInt(); for (int i=minDistance;i <= maxDistance;i++){ if (i%target == 0){ isOk = true; break; } } if(isOk){ System.out.println("OK"); }else{ System.out.println("NG"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 13, 42, 2, 13, 13, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 3, 40, 13, 14, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 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, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 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 ], [ 167, 14 ], [ 167, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 17, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 17, 36 ], [ 36, 37 ], [ 36, 38 ], [ 17, 39 ], [ 39, 40 ], [ 39, 41 ], [ 17, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 46, 58 ], [ 58, 59 ], [ 17, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 60, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 15, 76 ], [ 76, 77 ], [ 167, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 78, 82 ], [ 82, 83 ], [ 78, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 78, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 93, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 103, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 92, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 78, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 122, 125 ], [ 125, 126 ], [ 78, 127 ], [ 127, 128 ], [ 127, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 131, 134 ], [ 134, 135 ], [ 78, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 140, 143 ], [ 143, 144 ], [ 78, 145 ], [ 145, 146 ], [ 145, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 151, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 161, 162 ], [ 162, 163 ], [ 147, 164 ], [ 164, 165 ], [ 0, 166 ], [ 166, 167 ], [ 166, 168 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n public static void main(String[] args) {\n FastReader fs = new FastReader();\n int k = fs.nextInt();\n int A = fs.nextInt();\n int B = fs.nextInt();\n\n boolean ans = false;\n int start =A;\n while(start<=B){\n if(start%k ==0){\n ans = true;\n break;\n }\n start++;\n }\n if(ans){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n }\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n long nextLong()\n {\n return Long.parseLong(next());\n }\n\n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n\n public static void main(String[] args) {\n FastReader fs = new FastReader();\n int k = fs.nextInt();\n int A = fs.nextInt();\n int B = fs.nextInt();\n\n boolean ans = false;\n int start =A;\n while(start<=B){\n if(start%k ==0){\n ans = true;\n break;\n }\n start++;\n }\n if(ans){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n }\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n long nextLong()\n {\n return Long.parseLong(next());\n }\n\n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n}", "Main", "public static void main(String[] args) {\n FastReader fs = new FastReader();\n int k = fs.nextInt();\n int A = fs.nextInt();\n int B = fs.nextInt();\n\n boolean ans = false;\n int start =A;\n while(start<=B){\n if(start%k ==0){\n ans = true;\n break;\n }\n start++;\n }\n if(ans){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n }", "main", "{\n FastReader fs = new FastReader();\n int k = fs.nextInt();\n int A = fs.nextInt();\n int B = fs.nextInt();\n\n boolean ans = false;\n int start =A;\n while(start<=B){\n if(start%k ==0){\n ans = true;\n break;\n }\n start++;\n }\n if(ans){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n }", "FastReader fs = new FastReader();", "fs", "new FastReader()", "int k = fs.nextInt();", "k", "fs.nextInt()", "fs.nextInt", "fs", "int A = fs.nextInt();", "A", "fs.nextInt()", "fs.nextInt", "fs", "int B = fs.nextInt();", "B", "fs.nextInt()", "fs.nextInt", "fs", "boolean ans = false;", "ans", "false", "int start =A;", "start", "A", "while(start<=B){\n if(start%k ==0){\n ans = true;\n break;\n }\n start++;\n }", "start<=B", "start", "B", "{\n if(start%k ==0){\n ans = true;\n break;\n }\n start++;\n }", "if(start%k ==0){\n ans = true;\n break;\n }", "start%k ==0", "start%k", "start", "k", "0", "{\n ans = true;\n break;\n }", "ans = true", "ans", "true", "break;", "start++", "start", "if(ans){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }", "ans", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n long nextLong()\n {\n return Long.parseLong(next());\n }\n\n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }", "FastReader", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }", "FastReader", "{\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }", "br = new BufferedReader(new\n InputStreamReader(System.in))", "br", "new BufferedReader(new\n InputStreamReader(System.in))", "String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }", "try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }", "catch (IOException e)\n {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt()\n {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong()\n {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble()\n {\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", "String nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }", "nextLine", "{\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }", "String str = \"\";", "str", "\"\"", "try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }", "catch (IOException e)\n {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n str = br.readLine();\n }", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "public class Main {\n\n public static void main(String[] args) {\n FastReader fs = new FastReader();\n int k = fs.nextInt();\n int A = fs.nextInt();\n int B = fs.nextInt();\n\n boolean ans = false;\n int start =A;\n while(start<=B){\n if(start%k ==0){\n ans = true;\n break;\n }\n start++;\n }\n if(ans){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n }\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n long nextLong()\n {\n return Long.parseLong(next());\n }\n\n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n FastReader fs = new FastReader();\n int k = fs.nextInt();\n int A = fs.nextInt();\n int B = fs.nextInt();\n\n boolean ans = false;\n int start =A;\n while(start<=B){\n if(start%k ==0){\n ans = true;\n break;\n }\n start++;\n }\n if(ans){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n }\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n long nextLong()\n {\n return Long.parseLong(next());\n }\n\n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) { FastReader fs = new FastReader(); int k = fs.nextInt(); int A = fs.nextInt(); int B = fs.nextInt(); boolean ans = false; int start =A; while(start<=B){ if(start%k ==0){ ans = true; break; } start++; } if(ans){ System.out.println("OK"); }else{ System.out.println("NG"); } } static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } String nextLine() { String str = ""; try { str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return str; } } }
[ 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, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 2, 13, 13, 14, 2, 2, 13, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 70, 5 ], [ 70, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 42, 44 ], [ 39, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 50, 52 ], [ 45, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 53, 60 ], [ 8, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 6, 67 ], [ 67, 68 ], [ 0, 69 ], [ 69, 70 ], [ 69, 71 ] ]
[ "import java.util.*;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n for(int i = 1;i<1001;i++){\n int tmp = k * i;\n if(a <= tmp && tmp <= b){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\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 int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n for(int i = 1;i<1001;i++){\n int tmp = k * i;\n if(a <= tmp && tmp <= b){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n for(int i = 1;i<1001;i++){\n int tmp = k * i;\n if(a <= tmp && tmp <= b){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n for(int i = 1;i<1001;i++){\n int tmp = k * i;\n if(a <= tmp && tmp <= b){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 1;i<1001;i++){\n int tmp = k * i;\n if(a <= tmp && tmp <= b){\n System.out.println(\"OK\");\n return;\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i<1001", "i", "1001", "i++", "i++", "i", "{\n int tmp = k * i;\n if(a <= tmp && tmp <= b){\n System.out.println(\"OK\");\n return;\n }\n }", "{\n int tmp = k * i;\n if(a <= tmp && tmp <= b){\n System.out.println(\"OK\");\n return;\n }\n }", "int tmp = k * i;", "tmp", "k * i", "k", "i", "if(a <= tmp && tmp <= b){\n System.out.println(\"OK\");\n return;\n }", "a <= tmp && tmp <= b", "a <= tmp", "a", "tmp", "tmp <= b", "tmp", "b", "{\n System.out.println(\"OK\");\n return;\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "return;", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n for(int i = 1;i<1001;i++){\n int tmp = k * i;\n if(a <= tmp && tmp <= b){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n for(int i = 1;i<1001;i++){\n int tmp = k * i;\n if(a <= tmp && tmp <= b){\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); for(int i = 1;i<1001;i++){ int tmp = k * i; if(a <= tmp && tmp <= b){ System.out.println("OK"); return; } } System.out.println("NG"); } }
[ 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, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 0, 13, 17, 3, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 49, 56 ], [ 56, 57 ], [ 56, 58 ], [ 49, 59 ], [ 8, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 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\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint k = sc.nextInt();\n\t\t// スペース区切りの整数の入力\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n int r = 0;\n\t\t// 判定\n\t\tfor(int i = a; i <= b; i ++){\n\t\t\tif(i % k == 0){\n\t\t\t\tSystem.out.print(\"OK\");\n\t\t\t\tr = 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(r == 0){\n System.out.print(\"NG\");\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint k = sc.nextInt();\n\t\t// スペース区切りの整数の入力\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n int r = 0;\n\t\t// 判定\n\t\tfor(int i = a; i <= b; i ++){\n\t\t\tif(i % k == 0){\n\t\t\t\tSystem.out.print(\"OK\");\n\t\t\t\tr = 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(r == 0){\n System.out.print(\"NG\");\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint k = sc.nextInt();\n\t\t// スペース区切りの整数の入力\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n int r = 0;\n\t\t// 判定\n\t\tfor(int i = a; i <= b; i ++){\n\t\t\tif(i % k == 0){\n\t\t\t\tSystem.out.print(\"OK\");\n\t\t\t\tr = 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(r == 0){\n System.out.print(\"NG\");\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint k = sc.nextInt();\n\t\t// スペース区切りの整数の入力\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n int r = 0;\n\t\t// 判定\n\t\tfor(int i = a; i <= b; i ++){\n\t\t\tif(i % k == 0){\n\t\t\t\tSystem.out.print(\"OK\");\n\t\t\t\tr = 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(r == 0){\n System.out.print(\"NG\");\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int r = 0;", "r", "0", "for(int i = a; i <= b; i ++){\n\t\t\tif(i % k == 0){\n\t\t\t\tSystem.out.print(\"OK\");\n\t\t\t\tr = 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "int i = a;", "int i = a;", "i", "a", "i <= b", "i", "b", "i ++", "i ++", "i", "{\n\t\t\tif(i % k == 0){\n\t\t\t\tSystem.out.print(\"OK\");\n\t\t\t\tr = 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "{\n\t\t\tif(i % k == 0){\n\t\t\t\tSystem.out.print(\"OK\");\n\t\t\t\tr = 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "if(i % k == 0){\n\t\t\t\tSystem.out.print(\"OK\");\n\t\t\t\tr = 1;\n\t\t\t\tbreak;\n\t\t\t}", "i % k == 0", "i % k", "i", "k", "0", "{\n\t\t\t\tSystem.out.print(\"OK\");\n\t\t\t\tr = 1;\n\t\t\t\tbreak;\n\t\t\t}", "System.out.print(\"OK\")", "System.out.print", "System.out", "System", "System.out", "\"OK\"", "r = 1", "r", "1", "break;", "if(r == 0){\n System.out.print(\"NG\");\n\t\t}", "r == 0", "r", "0", "{\n System.out.print(\"NG\");\n\t\t}", "System.out.print(\"NG\")", "System.out.print", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint k = sc.nextInt();\n\t\t// スペース区切りの整数の入力\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n int r = 0;\n\t\t// 判定\n\t\tfor(int i = a; i <= b; i ++){\n\t\t\tif(i % k == 0){\n\t\t\t\tSystem.out.print(\"OK\");\n\t\t\t\tr = 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(r == 0){\n System.out.print(\"NG\");\n\t\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint k = sc.nextInt();\n\t\t// スペース区切りの整数の入力\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n int r = 0;\n\t\t// 判定\n\t\tfor(int i = a; i <= b; i ++){\n\t\t\tif(i % k == 0){\n\t\t\t\tSystem.out.print(\"OK\");\n\t\t\t\tr = 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(r == 0){\n System.out.print(\"NG\");\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int k = sc.nextInt(); // スペース区切りの整数の入力 int a = sc.nextInt(); int b = sc.nextInt(); int r = 0; // 判定 for(int i = a; i <= b; i ++){ if(i % k == 0){ System.out.print("OK"); r = 1; break; } } if(r == 0){ System.out.print("NG"); } } }
[ 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, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 29, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 29, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 29, 0, 13, 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 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 31, 38 ], [ 8, 39 ], [ 39, 40 ], [ 39, 41 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 60, 62 ], [ 55, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 63, 70 ], [ 54, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 75, 82 ], [ 54, 83 ], [ 83, 84 ], [ 83, 85 ], [ 6, 86 ], [ 86, 87 ], [ 0, 88 ], [ 88, 89 ], [ 88, 90 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\n\t\tif(K > B) {\n\t\t\tSystem.out.println(\"NG\");\n\t\t\treturn;\n\t\t}\n\n\n\t\tint tmpK = K;\n\t\tfor(int i=1; i<1000; i++) {\n\n\t\t\tif(tmpK >= A && tmpK <= B) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif(tmpK > B) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttmpK += K;\n\n\t\t}\n\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\n\t\tif(K > B) {\n\t\t\tSystem.out.println(\"NG\");\n\t\t\treturn;\n\t\t}\n\n\n\t\tint tmpK = K;\n\t\tfor(int i=1; i<1000; i++) {\n\n\t\t\tif(tmpK >= A && tmpK <= B) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif(tmpK > B) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttmpK += K;\n\n\t\t}\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\n\t\tif(K > B) {\n\t\t\tSystem.out.println(\"NG\");\n\t\t\treturn;\n\t\t}\n\n\n\t\tint tmpK = K;\n\t\tfor(int i=1; i<1000; i++) {\n\n\t\t\tif(tmpK >= A && tmpK <= B) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif(tmpK > B) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttmpK += K;\n\n\t\t}\n\n\t}", "main", "{\n\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\n\t\tif(K > B) {\n\t\t\tSystem.out.println(\"NG\");\n\t\t\treturn;\n\t\t}\n\n\n\t\tint tmpK = K;\n\t\tfor(int i=1; i<1000; i++) {\n\n\t\t\tif(tmpK >= A && tmpK <= B) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif(tmpK > B) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttmpK += K;\n\n\t\t}\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "if(K > B) {\n\t\t\tSystem.out.println(\"NG\");\n\t\t\treturn;\n\t\t}", "K > B", "K", "B", "{\n\t\t\tSystem.out.println(\"NG\");\n\t\t\treturn;\n\t\t}", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "return;", "int tmpK = K;", "tmpK", "K", "for(int i=1; i<1000; i++) {\n\n\t\t\tif(tmpK >= A && tmpK <= B) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif(tmpK > B) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttmpK += K;\n\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<1000", "i", "1000", "i++", "i++", "i", "{\n\n\t\t\tif(tmpK >= A && tmpK <= B) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif(tmpK > B) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttmpK += K;\n\n\t\t}", "{\n\n\t\t\tif(tmpK >= A && tmpK <= B) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif(tmpK > B) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttmpK += K;\n\n\t\t}", "if(tmpK >= A && tmpK <= B) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}", "tmpK >= A && tmpK <= B", "tmpK >= A", "tmpK", "A", "tmpK <= B", "tmpK", "B", "{\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "return;", "if(tmpK > B) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t\treturn;\n\t\t\t}", "tmpK > B", "tmpK", "B", "{\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t\treturn;\n\t\t\t}", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "return;", "tmpK += K", "tmpK", "K", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\n\t\tif(K > B) {\n\t\t\tSystem.out.println(\"NG\");\n\t\t\treturn;\n\t\t}\n\n\n\t\tint tmpK = K;\n\t\tfor(int i=1; i<1000; i++) {\n\n\t\t\tif(tmpK >= A && tmpK <= B) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif(tmpK > B) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttmpK += K;\n\n\t\t}\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\n\t\tif(K > B) {\n\t\t\tSystem.out.println(\"NG\");\n\t\t\treturn;\n\t\t}\n\n\n\t\tint tmpK = K;\n\t\tfor(int i=1; i<1000; i++) {\n\n\t\t\tif(tmpK >= A && tmpK <= B) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif(tmpK > B) {\n\t\t\t\tSystem.out.println(\"NG\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttmpK += K;\n\n\t\t}\n\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); if(K > B) { System.out.println("NG"); return; } int tmpK = K; for(int i=1; i<1000; i++) { if(tmpK >= A && tmpK <= B) { System.out.println("OK"); return; } if(tmpK > B) { System.out.println("NG"); return; } tmpK += K; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 20, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 14, 2, 2, 13, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 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 ], [ 8, 11 ], [ 11, 12 ], [ 11, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 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 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 36, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 35, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 35, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 60, 62 ], [ 55, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 55, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 6, 77 ], [ 77, 78 ], [ 0, 79 ], [ 79, 80 ], [ 79, 81 ] ]
[ "import java.util.*;\npublic class Main{\n public static void main(String[] args) {\n int test;\n Scanner sc=new Scanner(System.in);\n //test=sc.nextInt();\n // while(test-->0){\n int k;\n int a,b;\n k= sc.nextInt();\n a=sc.nextInt();\n b=sc.nextInt();\n if(a%k==0|| b%k==0){\n System.out.println(\"OK\");\n }\n else {\n if((a/k)<(b/k)){\n System.out.println(\"OK\");\n }\n else{\n System.out.println(\"NG\");\n }\n }\n\n // }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args) {\n int test;\n Scanner sc=new Scanner(System.in);\n //test=sc.nextInt();\n // while(test-->0){\n int k;\n int a,b;\n k= sc.nextInt();\n a=sc.nextInt();\n b=sc.nextInt();\n if(a%k==0|| b%k==0){\n System.out.println(\"OK\");\n }\n else {\n if((a/k)<(b/k)){\n System.out.println(\"OK\");\n }\n else{\n System.out.println(\"NG\");\n }\n }\n\n // }\n }\n}", "Main", "public static void main(String[] args) {\n int test;\n Scanner sc=new Scanner(System.in);\n //test=sc.nextInt();\n // while(test-->0){\n int k;\n int a,b;\n k= sc.nextInt();\n a=sc.nextInt();\n b=sc.nextInt();\n if(a%k==0|| b%k==0){\n System.out.println(\"OK\");\n }\n else {\n if((a/k)<(b/k)){\n System.out.println(\"OK\");\n }\n else{\n System.out.println(\"NG\");\n }\n }\n\n // }\n }", "main", "{\n int test;\n Scanner sc=new Scanner(System.in);\n //test=sc.nextInt();\n // while(test-->0){\n int k;\n int a,b;\n k= sc.nextInt();\n a=sc.nextInt();\n b=sc.nextInt();\n if(a%k==0|| b%k==0){\n System.out.println(\"OK\");\n }\n else {\n if((a/k)<(b/k)){\n System.out.println(\"OK\");\n }\n else{\n System.out.println(\"NG\");\n }\n }\n\n // }\n }", "int test;", "test", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k;", "k", "int a", "a", "b;", "b", "k= sc.nextInt()", "k", "sc.nextInt()", "sc.nextInt", "sc", "a=sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "b=sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "if(a%k==0|| b%k==0){\n System.out.println(\"OK\");\n }\n else {\n if((a/k)<(b/k)){\n System.out.println(\"OK\");\n }\n else{\n System.out.println(\"NG\");\n }\n }", "a%k==0|| b%k==0", "a%k==0", "a%k", "a", "k", "0", "b%k==0", "b%k", "b", "k", "0", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n if((a/k)<(b/k)){\n System.out.println(\"OK\");\n }\n else{\n System.out.println(\"NG\");\n }\n }", "if((a/k)<(b/k)){\n System.out.println(\"OK\");\n }\n else{\n System.out.println(\"NG\");\n }", "(a/k)<(b/k)", "(a/k)", "a", "k", "(b/k)", "b", "k", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main{\n public static void main(String[] args) {\n int test;\n Scanner sc=new Scanner(System.in);\n //test=sc.nextInt();\n // while(test-->0){\n int k;\n int a,b;\n k= sc.nextInt();\n a=sc.nextInt();\n b=sc.nextInt();\n if(a%k==0|| b%k==0){\n System.out.println(\"OK\");\n }\n else {\n if((a/k)<(b/k)){\n System.out.println(\"OK\");\n }\n else{\n System.out.println(\"NG\");\n }\n }\n\n // }\n }\n}", "public class Main{\n public static void main(String[] args) {\n int test;\n Scanner sc=new Scanner(System.in);\n //test=sc.nextInt();\n // while(test-->0){\n int k;\n int a,b;\n k= sc.nextInt();\n a=sc.nextInt();\n b=sc.nextInt();\n if(a%k==0|| b%k==0){\n System.out.println(\"OK\");\n }\n else {\n if((a/k)<(b/k)){\n System.out.println(\"OK\");\n }\n else{\n System.out.println(\"NG\");\n }\n }\n\n // }\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args) { int test; Scanner sc=new Scanner(System.in); //test=sc.nextInt(); // while(test-->0){ int k; int a,b; k= sc.nextInt(); a=sc.nextInt(); b=sc.nextInt(); if(a%k==0|| b%k==0){ System.out.println("OK"); } else { if((a/k)<(b/k)){ System.out.println("OK"); } else{ System.out.println("NG"); } } // } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 13, 2, 13, 13, 1, 0, 13, 13, 30, 30, 14, 2, 2, 13, 13, 2, 13, 13, 30, 4, 18, 13, 17, 29, 4, 18, 13, 17, 23, 13, 12, 13, 30, 4, 18, 20, 13, 23, 13, 12, 13, 30, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 18, 13, 13, 4, 18, 13, 13, 29, 4, 18, 13, 17, 4, 18, 13, 2, 4, 18, 13, 4, 18, 13, 17, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 18, 13, 13, 4, 18, 13, 13, 29, 4, 18, 13, 17, 4, 18, 13, 2, 4, 18, 13, 4, 18, 13, 17, 23, 13, 23, 13, 12, 13, 30, 14, 2, 2, 13, 17, 2, 18, 13, 13, 17, 30, 37, 20, 41, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 8, 2, 13, 18, 13, 13, 13, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 14, 2, 2, 13, 17, 2, 18, 13, 13, 17, 30, 37, 20, 41, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 8, 2, 13, 18, 13, 13, 13, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 14, 2, 2, 13, 17, 2, 18, 13, 13, 17, 30, 37, 20, 41, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 8, 2, 13, 18, 13, 13, 13, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 14, 2, 2, 13, 17, 2, 18, 13, 13, 17, 30, 37, 20, 41, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 8, 2, 13, 18, 13, 13, 13, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 504, 14 ], [ 504, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 17, 19 ], [ 504, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 22, 24 ], [ 504, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 27, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 27, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 27, 46 ], [ 46, 47 ], [ 47, 48 ], [ 27, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 49, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 49, 61 ], [ 62, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 68, 70 ], [ 63, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 71, 76 ], [ 27, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 25, 81 ], [ 81, 82 ], [ 504, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 83, 90 ], [ 90, 91 ], [ 504, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 105, 107 ], [ 98, 108 ], [ 108, 109 ], [ 109, 110 ], [ 98, 111 ], [ 112, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 116, 117 ], [ 116, 118 ], [ 112, 119 ], [ 119, 120 ], [ 120, 121 ], [ 119, 122 ], [ 94, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 124, 127 ], [ 124, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 131, 135 ], [ 135, 136 ], [ 136, 137 ], [ 128, 138 ], [ 92, 139 ], [ 139, 140 ], [ 92, 141 ], [ 141, 142 ], [ 504, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 145, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 149, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 156, 158 ], [ 149, 159 ], [ 159, 160 ], [ 160, 161 ], [ 149, 162 ], [ 163, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 164, 167 ], [ 167, 168 ], [ 167, 169 ], [ 163, 170 ], [ 170, 171 ], [ 171, 172 ], [ 170, 173 ], [ 145, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 175, 178 ], [ 175, 179 ], [ 179, 180 ], [ 180, 181 ], [ 179, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 182, 186 ], [ 186, 187 ], [ 187, 188 ], [ 179, 189 ], [ 143, 190 ], [ 190, 191 ], [ 143, 192 ], [ 192, 193 ], [ 504, 194 ], [ 194, 195 ], [ 194, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 202, 206 ], [ 197, 207 ], [ 207, 208 ], [ 208, 209 ], [ 196, 210 ], [ 210, 211 ], [ 210, 212 ], [ 212, 213 ], [ 212, 214 ], [ 196, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 215, 220 ], [ 220, 221 ], [ 220, 222 ], [ 222, 223 ], [ 222, 224 ], [ 215, 225 ], [ 225, 226 ], [ 226, 227 ], [ 215, 228 ], [ 229, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 235, 236 ], [ 235, 237 ], [ 232, 238 ], [ 232, 239 ], [ 239, 240 ], [ 239, 241 ], [ 196, 242 ], [ 242, 243 ], [ 194, 244 ], [ 244, 245 ], [ 504, 246 ], [ 246, 247 ], [ 246, 248 ], [ 248, 249 ], [ 249, 250 ], [ 250, 251 ], [ 251, 252 ], [ 251, 253 ], [ 250, 254 ], [ 254, 255 ], [ 255, 256 ], [ 255, 257 ], [ 254, 258 ], [ 249, 259 ], [ 259, 260 ], [ 260, 261 ], [ 248, 262 ], [ 262, 263 ], [ 262, 264 ], [ 264, 265 ], [ 264, 266 ], [ 248, 267 ], [ 267, 268 ], [ 268, 269 ], [ 269, 270 ], [ 269, 271 ], [ 267, 272 ], [ 272, 273 ], [ 272, 274 ], [ 274, 275 ], [ 274, 276 ], [ 267, 277 ], [ 277, 278 ], [ 278, 279 ], [ 267, 280 ], [ 281, 281 ], [ 281, 282 ], [ 282, 283 ], [ 282, 284 ], [ 284, 285 ], [ 285, 286 ], [ 285, 287 ], [ 287, 288 ], [ 287, 289 ], [ 284, 290 ], [ 284, 291 ], [ 291, 292 ], [ 291, 293 ], [ 248, 294 ], [ 294, 295 ], [ 246, 296 ], [ 296, 297 ], [ 504, 298 ], [ 298, 299 ], [ 298, 300 ], [ 300, 301 ], [ 301, 302 ], [ 302, 303 ], [ 303, 304 ], [ 303, 305 ], [ 302, 306 ], [ 306, 307 ], [ 307, 308 ], [ 307, 309 ], [ 306, 310 ], [ 301, 311 ], [ 311, 312 ], [ 312, 313 ], [ 300, 314 ], [ 314, 315 ], [ 314, 316 ], [ 316, 317 ], [ 316, 318 ], [ 300, 319 ], [ 319, 320 ], [ 320, 321 ], [ 321, 322 ], [ 321, 323 ], [ 319, 324 ], [ 324, 325 ], [ 324, 326 ], [ 326, 327 ], [ 326, 328 ], [ 319, 329 ], [ 329, 330 ], [ 330, 331 ], [ 319, 332 ], [ 333, 333 ], [ 333, 334 ], [ 334, 335 ], [ 334, 336 ], [ 336, 337 ], [ 337, 338 ], [ 337, 339 ], [ 339, 340 ], [ 339, 341 ], [ 336, 342 ], [ 336, 343 ], [ 343, 344 ], [ 343, 345 ], [ 300, 346 ], [ 346, 347 ], [ 298, 348 ], [ 348, 349 ], [ 504, 350 ], [ 350, 351 ], [ 350, 352 ], [ 352, 353 ], [ 353, 354 ], [ 354, 355 ], [ 355, 356 ], [ 355, 357 ], [ 354, 358 ], [ 358, 359 ], [ 359, 360 ], [ 359, 361 ], [ 358, 362 ], [ 353, 363 ], [ 363, 364 ], [ 364, 365 ], [ 352, 366 ], [ 366, 367 ], [ 366, 368 ], [ 368, 369 ], [ 368, 370 ], [ 352, 371 ], [ 371, 372 ], [ 372, 373 ], [ 373, 374 ], [ 373, 375 ], [ 371, 376 ], [ 376, 377 ], [ 376, 378 ], [ 378, 379 ], [ 378, 380 ], [ 371, 381 ], [ 381, 382 ], [ 382, 383 ], [ 371, 384 ], [ 385, 385 ], [ 385, 386 ], [ 386, 387 ], [ 386, 388 ], [ 388, 389 ], [ 389, 390 ], [ 389, 391 ], [ 391, 392 ], [ 391, 393 ], [ 388, 394 ], [ 388, 395 ], [ 395, 396 ], [ 395, 397 ], [ 352, 398 ], [ 398, 399 ], [ 350, 400 ], [ 400, 401 ], [ 504, 402 ], [ 402, 403 ], [ 402, 404 ], [ 404, 405 ], [ 405, 406 ], [ 405, 407 ], [ 404, 409 ], [ 409, 410 ], [ 410, 411 ], [ 411, 412 ], [ 411, 413 ], [ 409, 414 ], [ 414, 415 ], [ 414, 416 ], [ 409, 417 ], [ 417, 418 ], [ 418, 419 ], [ 409, 420 ], [ 421, 421 ], [ 421, 422 ], [ 422, 423 ], [ 423, 424 ], [ 423, 425 ], [ 422, 426 ], [ 426, 427 ], [ 427, 428 ], [ 404, 429 ], [ 429, 430 ], [ 402, 431 ], [ 431, 432 ], [ 402, 433 ], [ 433, 434 ], [ 504, 435 ], [ 435, 436 ], [ 435, 437 ], [ 437, 438 ], [ 438, 439 ], [ 438, 440 ], [ 437, 442 ], [ 442, 443 ], [ 443, 444 ], [ 444, 445 ], [ 444, 446 ], [ 442, 447 ], [ 447, 448 ], [ 447, 449 ], [ 442, 450 ], [ 450, 451 ], [ 451, 452 ], [ 442, 453 ], [ 454, 454 ], [ 454, 455 ], [ 455, 456 ], [ 456, 457 ], [ 456, 458 ], [ 455, 459 ], [ 459, 460 ], [ 460, 461 ], [ 437, 462 ], [ 462, 463 ], [ 435, 464 ], [ 464, 465 ], [ 435, 466 ], [ 466, 467 ], [ 504, 468 ], [ 468, 469 ], [ 468, 470 ], [ 470, 471 ], [ 471, 472 ], [ 471, 473 ], [ 474, 475 ], [ 474, 476 ], [ 470, 477 ], [ 477, 478 ], [ 478, 479 ], [ 479, 480 ], [ 479, 481 ], [ 477, 482 ], [ 482, 483 ], [ 482, 484 ], [ 477, 485 ], [ 485, 486 ], [ 486, 487 ], [ 477, 488 ], [ 489, 489 ], [ 489, 490 ], [ 490, 491 ], [ 491, 492 ], [ 491, 493 ], [ 490, 494 ], [ 494, 495 ], [ 495, 496 ], [ 470, 497 ], [ 497, 498 ], [ 468, 499 ], [ 499, 500 ], [ 468, 501 ], [ 501, 502 ], [ 0, 503 ], [ 503, 504 ], [ 503, 505 ] ]
[ "import java.io.InputStream;\nimport java.io.PrintStream;\nimport java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\tInputStream in = System.in;\n\tPrintStream out = System.out;\n\n\tpublic void _main(String[] args) {\n\t\tScanner sc = new Scanner(in);\n\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\t\n\t\tsc.close();\n\n\t\tfor(int a=K;a<=B;a+=K) {\n\t\t\tif(a>=A && a <= B) {\n\t\t\t\tout.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tout.println(\"NG\");\n\t\t\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main()._main(args);\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, int[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, long[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int max(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long max(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int min(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long min(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray(Scanner sc, int n) {\n\t\tint[] result = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long[] nextLongArray(Scanner sc, int n) {\n\t\tlong[] result = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextLong();\n\t\t}\n\t\treturn result;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray1origin(Scanner sc, int n) {\n\t\tint[] result = new int[n + 1];\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}\n}", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.PrintStream;", "PrintStream", "java.io", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tInputStream in = System.in;\n\tPrintStream out = System.out;\n\n\tpublic void _main(String[] args) {\n\t\tScanner sc = new Scanner(in);\n\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\t\n\t\tsc.close();\n\n\t\tfor(int a=K;a<=B;a+=K) {\n\t\t\tif(a>=A && a <= B) {\n\t\t\t\tout.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tout.println(\"NG\");\n\t\t\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main()._main(args);\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, int[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, long[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int max(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long max(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int min(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long min(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray(Scanner sc, int n) {\n\t\tint[] result = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long[] nextLongArray(Scanner sc, int n) {\n\t\tlong[] result = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextLong();\n\t\t}\n\t\treturn result;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray1origin(Scanner sc, int n) {\n\t\tint[] result = new int[n + 1];\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}\n}", "Main", "InputStream in = System.in;", "in", "System.in", "System", "System.in", "PrintStream out = System.out;", "out", "System.out", "System", "System.out", "public void _main(String[] args) {\n\t\tScanner sc = new Scanner(in);\n\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\t\n\t\tsc.close();\n\n\t\tfor(int a=K;a<=B;a+=K) {\n\t\t\tif(a>=A && a <= B) {\n\t\t\t\tout.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tout.println(\"NG\");\n\t\t\n\t}", "_main", "{\n\t\tScanner sc = new Scanner(in);\n\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\t\n\t\tsc.close();\n\n\t\tfor(int a=K;a<=B;a+=K) {\n\t\t\tif(a>=A && a <= B) {\n\t\t\t\tout.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tout.println(\"NG\");\n\t\t\n\t}", "Scanner sc = new Scanner(in);", "sc", "new Scanner(in)", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "sc.close()", "sc.close", "sc", "for(int a=K;a<=B;a+=K) {\n\t\t\tif(a>=A && a <= B) {\n\t\t\t\tout.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}", "int a=K;", "int a=K;", "a", "K", "a<=B", "a", "B", "a+=K", "a+=K", "a", "K", "{\n\t\t\tif(a>=A && a <= B) {\n\t\t\t\tout.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}", "{\n\t\t\tif(a>=A && a <= B) {\n\t\t\t\tout.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}", "if(a>=A && a <= B) {\n\t\t\t\tout.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}", "a>=A && a <= B", "a>=A", "a", "A", "a <= B", "a", "B", "{\n\t\t\t\tout.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}", "out.println(\"OK\")", "out.println", "out", "\"OK\"", "return;", "out.println(\"NG\")", "out.println", "out", "\"NG\"", "String[] args", "args", "public static void main(String[] args) {\n\t\tnew Main()._main(args);\n\t}", "main", "{\n\t\tnew Main()._main(args);\n\t}", "new Main()._main(args)", "new Main()._main", "new Main()", "args", "String[] args", "args", "@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, int[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}", "join", "{\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < a.length", "i", "a.length", "a", "a.length", "i++", "i++", "i", "{\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}", "{\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}", "sb.append(a[i])", "sb.append", "sb", "a[i]", "a", "i", "sb.append(delimiter)", "sb.append", "sb", "delimiter", "return sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));", "sb.substring(0, Math.max(sb.length() - delimiter.length(), 0))", "sb.substring", "sb", "0", "Math.max(sb.length() - delimiter.length(), 0)", "Math.max", "Math", "sb.length() - delimiter.length()", "sb.length()", "sb.length", "sb", "delimiter.length()", "delimiter.length", "delimiter", "0", "String delimiter", "delimiter", "int[] a", "a", "@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, long[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}", "join", "{\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < a.length", "i", "a.length", "a", "a.length", "i++", "i++", "i", "{\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}", "{\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}", "sb.append(a[i])", "sb.append", "sb", "a[i]", "a", "i", "sb.append(delimiter)", "sb.append", "sb", "delimiter", "return sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));", "sb.substring(0, Math.max(sb.length() - delimiter.length(), 0))", "sb.substring", "sb", "0", "Math.max(sb.length() - delimiter.length(), 0)", "Math.max", "Math", "sb.length() - delimiter.length()", "sb.length()", "sb.length", "sb", "delimiter.length()", "delimiter.length", "delimiter", "0", "String delimiter", "delimiter", "long[] a", "a", "@SuppressWarnings(\"unused\")\n\tprivate int max(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}", "max", "{\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}", "if(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}", "arr == null || arr.length == 0", "arr == null", "arr", "null", "arr.length == 0", "arr.length", "arr", "arr.length", "0", "{\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}", "throw new IllegalArgumentException(Arrays.toString(arr));", "new IllegalArgumentException(Arrays.toString(arr))", "int candidate = arr[0];", "candidate", "arr[0]", "arr", "0", "for(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<arr.length", "i", "arr.length", "arr", "arr.length", "i++", "i++", "i", "{\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}", "{\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}", "candidate = candidate > arr[i] ? candidate : arr[i]", "candidate", "candidate > arr[i] ? candidate : arr[i]", "candidate > arr[i]", "candidate", "arr[i]", "arr", "i", "candidate", "arr[i]", "arr", "i", "return candidate;", "candidate", "int[] arr", "arr", "@SuppressWarnings(\"unused\")\n\tprivate long max(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}", "max", "{\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}", "if(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}", "arr == null || arr.length == 0", "arr == null", "arr", "null", "arr.length == 0", "arr.length", "arr", "arr.length", "0", "{\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}", "throw new IllegalArgumentException(Arrays.toString(arr));", "new IllegalArgumentException(Arrays.toString(arr))", "long candidate = arr[0];", "candidate", "arr[0]", "arr", "0", "for(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<arr.length", "i", "arr.length", "arr", "arr.length", "i++", "i++", "i", "{\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}", "{\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}", "candidate = candidate > arr[i] ? candidate : arr[i]", "candidate", "candidate > arr[i] ? candidate : arr[i]", "candidate > arr[i]", "candidate", "arr[i]", "arr", "i", "candidate", "arr[i]", "arr", "i", "return candidate;", "candidate", "long[] arr", "arr", "@SuppressWarnings(\"unused\")\n\tprivate int min(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}", "min", "{\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}", "if(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}", "arr == null || arr.length == 0", "arr == null", "arr", "null", "arr.length == 0", "arr.length", "arr", "arr.length", "0", "{\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}", "throw new IllegalArgumentException(Arrays.toString(arr));", "new IllegalArgumentException(Arrays.toString(arr))", "int candidate = arr[0];", "candidate", "arr[0]", "arr", "0", "for(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<arr.length", "i", "arr.length", "arr", "arr.length", "i++", "i++", "i", "{\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}", "{\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}", "candidate = candidate < arr[i] ? candidate : arr[i]", "candidate", "candidate < arr[i] ? candidate : arr[i]", "candidate < arr[i]", "candidate", "arr[i]", "arr", "i", "candidate", "arr[i]", "arr", "i", "return candidate;", "candidate", "int[] arr", "arr", "@SuppressWarnings(\"unused\")\n\tprivate long min(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}", "min", "{\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}", "if(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}", "arr == null || arr.length == 0", "arr == null", "arr", "null", "arr.length == 0", "arr.length", "arr", "arr.length", "0", "{\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}", "throw new IllegalArgumentException(Arrays.toString(arr));", "new IllegalArgumentException(Arrays.toString(arr))", "long candidate = arr[0];", "candidate", "arr[0]", "arr", "0", "for(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<arr.length", "i", "arr.length", "arr", "arr.length", "i++", "i++", "i", "{\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}", "{\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}", "candidate = candidate < arr[i] ? candidate : arr[i]", "candidate", "candidate < arr[i] ? candidate : arr[i]", "candidate < arr[i]", "candidate", "arr[i]", "arr", "i", "candidate", "arr[i]", "arr", "i", "return candidate;", "candidate", "long[] arr", "arr", "@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray(Scanner sc, int n) {\n\t\tint[] result = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}", "nextIntArray", "{\n\t\tint[] result = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}", "int[] result = new int[n];", "result", "new int[n]", "n", "for (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tresult[i] = sc.nextInt();\n\t\t}", "{\n\t\t\tresult[i] = sc.nextInt();\n\t\t}", "result[i] = sc.nextInt()", "result[i]", "result", "i", "sc.nextInt()", "sc.nextInt", "sc", "return result;", "result", "Scanner sc", "sc", "int n", "n", "@SuppressWarnings(\"unused\")\n\tprivate long[] nextLongArray(Scanner sc, int n) {\n\t\tlong[] result = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextLong();\n\t\t}\n\t\treturn result;\n\t}", "nextLongArray", "{\n\t\tlong[] result = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextLong();\n\t\t}\n\t\treturn result;\n\t}", "long[] result = new long[n];", "result", "new long[n]", "n", "for (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextLong();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tresult[i] = sc.nextLong();\n\t\t}", "{\n\t\t\tresult[i] = sc.nextLong();\n\t\t}", "result[i] = sc.nextLong()", "result[i]", "result", "i", "sc.nextLong()", "sc.nextLong", "sc", "return result;", "result", "Scanner sc", "sc", "int n", "n", "@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray1origin(Scanner sc, int n) {\n\t\tint[] result = new int[n + 1];\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}", "nextIntArray1origin", "{\n\t\tint[] result = new int[n + 1];\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}", "int[] result = new int[n + 1];", "result", "new int[n + 1]", "n + 1", "n", "1", "for (int i = 1; i <= n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n\t\t\tresult[i] = sc.nextInt();\n\t\t}", "{\n\t\t\tresult[i] = sc.nextInt();\n\t\t}", "result[i] = sc.nextInt()", "result[i]", "result", "i", "sc.nextInt()", "sc.nextInt", "sc", "return result;", "result", "Scanner sc", "sc", "int n", "n", "public class Main {\n\tInputStream in = System.in;\n\tPrintStream out = System.out;\n\n\tpublic void _main(String[] args) {\n\t\tScanner sc = new Scanner(in);\n\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\t\n\t\tsc.close();\n\n\t\tfor(int a=K;a<=B;a+=K) {\n\t\t\tif(a>=A && a <= B) {\n\t\t\t\tout.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tout.println(\"NG\");\n\t\t\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main()._main(args);\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, int[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, long[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int max(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long max(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int min(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long min(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray(Scanner sc, int n) {\n\t\tint[] result = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long[] nextLongArray(Scanner sc, int n) {\n\t\tlong[] result = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextLong();\n\t\t}\n\t\treturn result;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray1origin(Scanner sc, int n) {\n\t\tint[] result = new int[n + 1];\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}\n}", "public class Main {\n\tInputStream in = System.in;\n\tPrintStream out = System.out;\n\n\tpublic void _main(String[] args) {\n\t\tScanner sc = new Scanner(in);\n\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\t\n\t\tsc.close();\n\n\t\tfor(int a=K;a<=B;a+=K) {\n\t\t\tif(a>=A && a <= B) {\n\t\t\t\tout.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tout.println(\"NG\");\n\t\t\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main()._main(args);\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, int[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, long[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int max(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long max(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int min(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long min(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray(Scanner sc, int n) {\n\t\tint[] result = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long[] nextLongArray(Scanner sc, int n) {\n\t\tlong[] result = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextLong();\n\t\t}\n\t\treturn result;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray1origin(Scanner sc, int n) {\n\t\tint[] result = new int[n + 1];\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}\n}", "Main" ]
import java.io.InputStream; import java.io.PrintStream; import java.util.Arrays; import java.util.Scanner; public class Main { InputStream in = System.in; PrintStream out = System.out; public void _main(String[] args) { Scanner sc = new Scanner(in); int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); sc.close(); for(int a=K;a<=B;a+=K) { if(a>=A && a <= B) { out.println("OK"); return; } } out.println("NG"); } public static void main(String[] args) { new Main()._main(args); } @SuppressWarnings("unused") private String join(String delimiter, int[] a) { StringBuilder sb = new StringBuilder(); for (int i = 0; i < a.length; i++) { sb.append(a[i]); sb.append(delimiter); } return sb.substring(0, Math.max(sb.length() - delimiter.length(), 0)); } @SuppressWarnings("unused") private String join(String delimiter, long[] a) { StringBuilder sb = new StringBuilder(); for (int i = 0; i < a.length; i++) { sb.append(a[i]); sb.append(delimiter); } return sb.substring(0, Math.max(sb.length() - delimiter.length(), 0)); } @SuppressWarnings("unused") private int max(int[] arr) { if(arr == null || arr.length == 0) { throw new IllegalArgumentException(Arrays.toString(arr)); } int candidate = arr[0]; for(int i=1;i<arr.length;i++) { candidate = candidate > arr[i] ? candidate : arr[i]; } return candidate; } @SuppressWarnings("unused") private long max(long[] arr) { if(arr == null || arr.length == 0) { throw new IllegalArgumentException(Arrays.toString(arr)); } long candidate = arr[0]; for(int i=1;i<arr.length;i++) { candidate = candidate > arr[i] ? candidate : arr[i]; } return candidate; } @SuppressWarnings("unused") private int min(int[] arr) { if(arr == null || arr.length == 0) { throw new IllegalArgumentException(Arrays.toString(arr)); } int candidate = arr[0]; for(int i=1;i<arr.length;i++) { candidate = candidate < arr[i] ? candidate : arr[i]; } return candidate; } @SuppressWarnings("unused") private long min(long[] arr) { if(arr == null || arr.length == 0) { throw new IllegalArgumentException(Arrays.toString(arr)); } long candidate = arr[0]; for(int i=1;i<arr.length;i++) { candidate = candidate < arr[i] ? candidate : arr[i]; } return candidate; } @SuppressWarnings("unused") private int[] nextIntArray(Scanner sc, int n) { int[] result = new int[n]; for (int i = 0; i < n; i++) { result[i] = sc.nextInt(); } return result; } @SuppressWarnings("unused") private long[] nextLongArray(Scanner sc, int n) { long[] result = new long[n]; for (int i = 0; i < n; i++) { result[i] = sc.nextLong(); } return result; } @SuppressWarnings("unused") private int[] nextIntArray1origin(Scanner sc, int n) { int[] result = new int[n + 1]; for (int i = 1; i <= n; i++) { result[i] = sc.nextInt(); } return result; } }
[ 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, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 3, 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 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 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.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n \n String a = \"NG\";\n \n for(int i=A;i<=B;i++){\n if(i%K == 0){\n a = \"OK\";\n break;\n }\n }\n System.out.println(a);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n \n String a = \"NG\";\n \n for(int i=A;i<=B;i++){\n if(i%K == 0){\n a = \"OK\";\n break;\n }\n }\n System.out.println(a);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n \n String a = \"NG\";\n \n for(int i=A;i<=B;i++){\n if(i%K == 0){\n a = \"OK\";\n break;\n }\n }\n System.out.println(a);\n }", "main", "{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n \n String a = \"NG\";\n \n for(int i=A;i<=B;i++){\n if(i%K == 0){\n a = \"OK\";\n break;\n }\n }\n System.out.println(a);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "String a = \"NG\";", "a", "\"NG\"", "for(int i=A;i<=B;i++){\n if(i%K == 0){\n a = \"OK\";\n break;\n }\n }", "int i=A;", "int i=A;", "i", "A", "i<=B", "i", "B", "i++", "i++", "i", "{\n if(i%K == 0){\n a = \"OK\";\n break;\n }\n }", "{\n if(i%K == 0){\n a = \"OK\";\n break;\n }\n }", "if(i%K == 0){\n a = \"OK\";\n break;\n }", "i%K == 0", "i%K", "i", "K", "0", "{\n a = \"OK\";\n break;\n }", "a = \"OK\"", "a", "\"OK\"", "break;", "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) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n \n String a = \"NG\";\n \n for(int i=A;i<=B;i++){\n if(i%K == 0){\n a = \"OK\";\n break;\n }\n }\n System.out.println(a);\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n \n String a = \"NG\";\n \n for(int i=A;i<=B;i++){\n if(i%K == 0){\n a = \"OK\";\n break;\n }\n }\n System.out.println(a);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); String a = "NG"; for(int i=A;i<=B;i++){ if(i%K == 0){ a = "OK"; break; } } 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, 4, 18, 13, 41, 13, 17, 41, 13, 17, 42, 2, 13, 13, 30, 14, 2, 13, 13, 30, 0, 13, 17, 0, 13, 13, 4, 18, 18, 13, 13, 8, 13, 17, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 61, 5 ], [ 61, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 37, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 54, 57 ], [ 6, 58 ], [ 58, 59 ], [ 0, 60 ], [ 60, 61 ], [ 60, 62 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n // write your code here\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n boolean ans = false;\n int n = 0;\n\n while(n <= B){\n if(n >= A){\n ans = true;\n }\n n += K;\n }\n\n System.out.println(ans?\"OK\":\"NG\");\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n // write your code here\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n boolean ans = false;\n int n = 0;\n\n while(n <= B){\n if(n >= A){\n ans = true;\n }\n n += K;\n }\n\n System.out.println(ans?\"OK\":\"NG\");\n }\n}", "Main", "public static void main(String[] args) {\n // write your code here\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n boolean ans = false;\n int n = 0;\n\n while(n <= B){\n if(n >= A){\n ans = true;\n }\n n += K;\n }\n\n System.out.println(ans?\"OK\":\"NG\");\n }", "main", "{\n // write your code here\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n boolean ans = false;\n int n = 0;\n\n while(n <= B){\n if(n >= A){\n ans = true;\n }\n n += K;\n }\n\n System.out.println(ans?\"OK\":\"NG\");\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "boolean ans = false;", "ans", "false", "int n = 0;", "n", "0", "while(n <= B){\n if(n >= A){\n ans = true;\n }\n n += K;\n }", "n <= B", "n", "B", "{\n if(n >= A){\n ans = true;\n }\n n += K;\n }", "if(n >= A){\n ans = true;\n }", "n >= A", "n", "A", "{\n ans = true;\n }", "ans = true", "ans", "true", "n += K", "n", "K", "System.out.println(ans?\"OK\":\"NG\")", "System.out.println", "System.out", "System", "System.out", "ans?\"OK\":\"NG\"", "ans", "\"OK\"", "\"NG\"", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n // write your code here\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n boolean ans = false;\n int n = 0;\n\n while(n <= B){\n if(n >= A){\n ans = true;\n }\n n += K;\n }\n\n System.out.println(ans?\"OK\":\"NG\");\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n // write your code here\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n boolean ans = false;\n int n = 0;\n\n while(n <= B){\n if(n >= A){\n ans = true;\n }\n n += K;\n }\n\n System.out.println(ans?\"OK\":\"NG\");\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // write your code here Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); boolean ans = false; int n = 0; while(n <= B){ if(n >= A){ ans = true; } n += K; } System.out.println(ans?"OK":"NG"); } }
[ 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, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 3, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 66, 5 ], [ 66, 6 ], [ 6, 7 ], [ 6, 8 ], [ 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 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 6, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ] ]
[ "import java.util.*;\n \npublic class Main{\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.nextLine());\n int A = sc.nextInt();\n int B = sc.nextInt();\n String ans = \"NG\";\n for(int i = A; i <= B; i++){\n if(i%N==0){\n ans = \"OK\";\n break;\n }\n }\n System.out.println(ans);\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 int N = Integer.parseInt(sc.nextLine());\n int A = sc.nextInt();\n int B = sc.nextInt();\n String ans = \"NG\";\n for(int i = A; i <= B; i++){\n if(i%N==0){\n ans = \"OK\";\n break;\n }\n }\n System.out.println(ans);\n }\n}", "Main", "public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.nextLine());\n int A = sc.nextInt();\n int B = sc.nextInt();\n String ans = \"NG\";\n for(int i = A; i <= B; i++){\n if(i%N==0){\n ans = \"OK\";\n break;\n }\n }\n System.out.println(ans);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.nextLine());\n int A = sc.nextInt();\n int B = sc.nextInt();\n String ans = \"NG\";\n for(int i = A; i <= B; i++){\n if(i%N==0){\n ans = \"OK\";\n break;\n }\n }\n System.out.println(ans);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = Integer.parseInt(sc.nextLine());", "N", "Integer.parseInt(sc.nextLine())", "Integer.parseInt", "Integer", "sc.nextLine()", "sc.nextLine", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "String ans = \"NG\";", "ans", "\"NG\"", "for(int i = A; i <= B; i++){\n if(i%N==0){\n ans = \"OK\";\n break;\n }\n }", "int i = A;", "int i = A;", "i", "A", "i <= B", "i", "B", "i++", "i++", "i", "{\n if(i%N==0){\n ans = \"OK\";\n break;\n }\n }", "{\n if(i%N==0){\n ans = \"OK\";\n break;\n }\n }", "if(i%N==0){\n ans = \"OK\";\n break;\n }", "i%N==0", "i%N", "i", "N", "0", "{\n ans = \"OK\";\n break;\n }", "ans = \"OK\"", "ans", "\"OK\"", "break;", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[]args", "args", "public class Main{\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.nextLine());\n int A = sc.nextInt();\n int B = sc.nextInt();\n String ans = \"NG\";\n for(int i = A; i <= B; i++){\n if(i%N==0){\n ans = \"OK\";\n break;\n }\n }\n System.out.println(ans);\n }\n}", "public class Main{\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.nextLine());\n int A = sc.nextInt();\n int B = sc.nextInt();\n String ans = \"NG\";\n for(int i = A; i <= B; i++){\n if(i%N==0){\n ans = \"OK\";\n break;\n }\n }\n System.out.println(ans);\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[]args){ Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.nextLine()); int A = sc.nextInt(); int B = sc.nextInt(); String ans = "NG"; for(int i = A; i <= B; i++){ if(i%N==0){ ans = "OK"; break; } } System.out.println(ans); } }
[ 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, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 2, 13, 13, 13, 2, 2, 13, 13, 13, 30, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 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 ], [ 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 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 40, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 52, 59 ], [ 8, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 6, 66 ], [ 66, 67 ], [ 0, 68 ], [ 68, 69 ], [ 68, 70 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n for (int i = 1; i <= 1000; i++) {\n if (K * i >= A && K * i <= B) {\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\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 K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n for (int i = 1; i <= 1000; i++) {\n if (K * i >= A && K * i <= B) {\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n for (int i = 1; i <= 1000; i++) {\n if (K * i >= A && K * i <= B) {\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n for (int i = 1; i <= 1000; i++) {\n if (K * i >= A && K * i <= B) {\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 1; i <= 1000; i++) {\n if (K * i >= A && K * i <= B) {\n System.out.println(\"OK\");\n return;\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= 1000", "i", "1000", "i++", "i++", "i", "{\n if (K * i >= A && K * i <= B) {\n System.out.println(\"OK\");\n return;\n }\n }", "{\n if (K * i >= A && K * i <= B) {\n System.out.println(\"OK\");\n return;\n }\n }", "if (K * i >= A && K * i <= B) {\n System.out.println(\"OK\");\n return;\n }", "K * i >= A && K * i <= B", "K * i >= A", "K * i", "K", "i", "A", "K * i <= B", "K * i", "K", "i", "B", "{\n System.out.println(\"OK\");\n return;\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "return;", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n for (int i = 1; i <= 1000; i++) {\n if (K * i >= A && K * i <= B) {\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n for (int i = 1; i <= 1000; i++) {\n if (K * i >= A && K * i <= B) {\n System.out.println(\"OK\");\n return;\n }\n }\n System.out.println(\"NG\");\n\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); for (int i = 1; i <= 1000; i++) { if (K * i >= A && K * i <= B) { System.out.println("OK"); return; } } System.out.println("NG"); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 2, 13, 13, 13, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 64, 14 ], [ 64, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 17, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 17, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 17, 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 ], [ 15, 61 ], [ 61, 62 ], [ 0, 63 ], [ 63, 64 ], [ 63, 65 ] ]
[ "import java.util.Scanner;\nimport java.util.LinkedList;\nimport java.util.PriorityQueue;\nimport java.util.Queue;\n\npublic class Main {\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\t\n\t\tint C = (B/K)*K;\n\t\t\n\t\tif(A <= C) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.LinkedList;", "LinkedList", "java.util", "import java.util.PriorityQueue;", "PriorityQueue", "java.util", "import java.util.Queue;", "Queue", "java.util", "public class Main {\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\t\n\t\tint C = (B/K)*K;\n\t\t\n\t\tif(A <= C) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\t\n\t\tint C = (B/K)*K;\n\t\t\n\t\tif(A <= C) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\t\n\t\tint C = (B/K)*K;\n\t\t\n\t\tif(A <= C) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "int C = (B/K)*K;", "C", "(B/K)*K", "(B/K)", "B", "K", "K", "if(A <= C) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "A <= C", "A", "C", "{\n\t\t\tSystem.out.println(\"OK\");\n\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main {\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\t\n\t\tint C = (B/K)*K;\n\t\t\n\t\tif(A <= C) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}\n\n}", "public class Main {\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\t\n\t\tint C = (B/K)*K;\n\t\t\n\t\tif(A <= C) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}\n\n}", "Main" ]
import java.util.Scanner; import java.util.LinkedList; import java.util.PriorityQueue; import java.util.Queue; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); int C = (B/K)*K; if(A <= C) { System.out.println("OK"); }else { System.out.println("NG"); } } }
[ 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, 41, 13, 17, 42, 2, 13, 13, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 3, 40, 13, 14, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 35, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 34, 46 ], [ 46, 47 ], [ 8, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 48, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 6, 64 ], [ 64, 65 ], [ 0, 66 ], [ 66, 67 ], [ 66, 68 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n final int k = s.nextInt();\n int a = s.nextInt();\n final int b = s.nextInt();\n\n boolean okFlg = false;\n while (a <= b) {\n if (a % k == 0) {\n okFlg = true;\n break;\n }\n a++;\n }\n if (okFlg) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n final int k = s.nextInt();\n int a = s.nextInt();\n final int b = s.nextInt();\n\n boolean okFlg = false;\n while (a <= b) {\n if (a % k == 0) {\n okFlg = true;\n break;\n }\n a++;\n }\n if (okFlg) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n final int k = s.nextInt();\n int a = s.nextInt();\n final int b = s.nextInt();\n\n boolean okFlg = false;\n while (a <= b) {\n if (a % k == 0) {\n okFlg = true;\n break;\n }\n a++;\n }\n if (okFlg) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n }", "main", "{\n Scanner s = new Scanner(System.in);\n final int k = s.nextInt();\n int a = s.nextInt();\n final int b = s.nextInt();\n\n boolean okFlg = false;\n while (a <= b) {\n if (a % k == 0) {\n okFlg = true;\n break;\n }\n a++;\n }\n if (okFlg) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n }", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "final int k = s.nextInt();", "k", "s.nextInt()", "s.nextInt", "s", "int a = s.nextInt();", "a", "s.nextInt()", "s.nextInt", "s", "final int b = s.nextInt();", "b", "s.nextInt()", "s.nextInt", "s", "boolean okFlg = false;", "okFlg", "false", "while (a <= b) {\n if (a % k == 0) {\n okFlg = true;\n break;\n }\n a++;\n }", "a <= b", "a", "b", "{\n if (a % k == 0) {\n okFlg = true;\n break;\n }\n a++;\n }", "if (a % k == 0) {\n okFlg = true;\n break;\n }", "a % k == 0", "a % k", "a", "k", "0", "{\n okFlg = true;\n break;\n }", "okFlg = true", "okFlg", "true", "break;", "a++", "a", "if (okFlg) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }", "okFlg", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n final int k = s.nextInt();\n int a = s.nextInt();\n final int b = s.nextInt();\n\n boolean okFlg = false;\n while (a <= b) {\n if (a % k == 0) {\n okFlg = true;\n break;\n }\n a++;\n }\n if (okFlg) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n final int k = s.nextInt();\n int a = s.nextInt();\n final int b = s.nextInt();\n\n boolean okFlg = false;\n while (a <= b) {\n if (a % k == 0) {\n okFlg = true;\n break;\n }\n a++;\n }\n if (okFlg) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); final int k = s.nextInt(); int a = s.nextInt(); final int b = s.nextInt(); boolean okFlg = false; while (a <= b) { if (a % k == 0) { okFlg = true; break; } a++; } if (okFlg) { System.out.println("OK"); } else { System.out.println("NG"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 8, 4, 13, 13, 13, 13, 17, 17, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 2, 13, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 2, 13, 13, 13, 2, 2, 13, 13, 13, 30, 29, 17, 29, 17, 23, 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 ], [ 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 ], [ 26, 27 ], [ 27, 28 ], [ 10, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 35, 38 ], [ 35, 39 ], [ 34, 40 ], [ 34, 41 ], [ 6, 42 ], [ 42, 43 ], [ 86, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 47, 57 ], [ 57, 58 ], [ 58, 59 ], [ 47, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 63, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 62, 74 ], [ 74, 75 ], [ 75, 76 ], [ 46, 77 ], [ 77, 78 ], [ 44, 79 ], [ 79, 80 ], [ 44, 81 ], [ 81, 82 ], [ 44, 83 ], [ 83, 84 ], [ 0, 85 ], [ 85, 86 ], [ 85, 87 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n System.out.println(can(K, A, B) ? \"OK\" : \"NG\");\n }\n }\n\n private static boolean can(int k, int a, int b) {\n for (int n = 1; n * k <= b; n++) {\n if (n * k >= a && n * k <= b) {\n return true;\n }\n }\n return false;\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n System.out.println(can(K, A, B) ? \"OK\" : \"NG\");\n }\n }\n\n private static boolean can(int k, int a, int b) {\n for (int n = 1; n * k <= b; n++) {\n if (n * k >= a && n * k <= b) {\n return true;\n }\n }\n return false;\n }\n}", "Main", "public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n System.out.println(can(K, A, B) ? \"OK\" : \"NG\");\n }\n }", "main", "{\n try (Scanner sc = new Scanner(System.in)) {\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n System.out.println(can(K, A, B) ? \"OK\" : \"NG\");\n }\n }", "try (Scanner sc = new Scanner(System.in)) {\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n System.out.println(can(K, A, B) ? \"OK\" : \"NG\");\n }", "{\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n System.out.println(can(K, A, B) ? \"OK\" : \"NG\");\n }", "Scanner sc = new Scanner(System.in)", "Scanner sc = new Scanner(System.in)", "new Scanner(System.in)", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println(can(K, A, B) ? \"OK\" : \"NG\")", "System.out.println", "System.out", "System", "System.out", "can(K, A, B) ? \"OK\" : \"NG\"", "can(K, A, B)", "can", "K", "A", "B", "\"OK\"", "\"NG\"", "String[] args", "args", "private static boolean can(int k, int a, int b) {\n for (int n = 1; n * k <= b; n++) {\n if (n * k >= a && n * k <= b) {\n return true;\n }\n }\n return false;\n }", "can", "{\n for (int n = 1; n * k <= b; n++) {\n if (n * k >= a && n * k <= b) {\n return true;\n }\n }\n return false;\n }", "for (int n = 1; n * k <= b; n++) {\n if (n * k >= a && n * k <= b) {\n return true;\n }\n }", "int n = 1;", "int n = 1;", "n", "1", "n * k <= b", "n * k", "n", "k", "b", "n++", "n++", "n", "{\n if (n * k >= a && n * k <= b) {\n return true;\n }\n }", "{\n if (n * k >= a && n * k <= b) {\n return true;\n }\n }", "if (n * k >= a && n * k <= b) {\n return true;\n }", "n * k >= a && n * k <= b", "n * k >= a", "n * k", "n", "k", "a", "n * k <= b", "n * k", "n", "k", "b", "{\n return true;\n }", "return true;", "true", "return false;", "false", "int k", "k", "int a", "a", "int b", "b", "public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n System.out.println(can(K, A, B) ? \"OK\" : \"NG\");\n }\n }\n\n private static boolean can(int k, int a, int b) {\n for (int n = 1; n * k <= b; n++) {\n if (n * k >= a && n * k <= b) {\n return true;\n }\n }\n return false;\n }\n}", "public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n System.out.println(can(K, A, B) ? \"OK\" : \"NG\");\n }\n }\n\n private static boolean can(int k, int a, int b) {\n for (int n = 1; n * k <= b; n++) {\n if (n * k >= a && n * k <= b) {\n return true;\n }\n }\n return false;\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner sc = new Scanner(System.in)) { int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); System.out.println(can(K, A, B) ? "OK" : "NG"); } } private static boolean can(int k, int a, int b) { for (int n = 1; n * k <= b; n++) { if (n * k >= a && n * k <= b) { return true; } } return false; } }
[ 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, 41, 13, 2, 2, 2, 13, 13, 17, 13, 14, 2, 2, 2, 2, 13, 13, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 29, 35 ], [ 8, 36 ], [ 36, 37 ], [ 39, 38 ], [ 48, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 39, 53 ], [ 53, 54 ], [ 53, 55 ], [ 36, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 36, 63 ], [ 63, 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 public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n int x = ( a/k + 1 ) * k;\n \n if (x <= b || a % k == 0 || b % k == 0 || k == 1) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\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 \n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n int x = ( a/k + 1 ) * k;\n \n if (x <= b || a % k == 0 || b % k == 0 || k == 1) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n int x = ( a/k + 1 ) * k;\n \n if (x <= b || a % k == 0 || b % k == 0 || k == 1) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n int x = ( a/k + 1 ) * k;\n \n if (x <= b || a % k == 0 || b % k == 0 || k == 1) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int x = ( a/k + 1 ) * k;", "x", "( a/k + 1 ) * k", "( a/k + 1 )", "a/k", "a", "k", "1", "k", "if (x <= b || a % k == 0 || b % k == 0 || k == 1) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }", "x <= b || a % k == 0 || b % k == 0 || k == 1", "b % k == 0", "x <= b || a % k == 0 || b % k == 0 || k == 1", "x <= b", "x", "b", "a % k == 0", "a % k", "a", "k", "0", "b % k == 0", "b % k", "b", "k", "0", "k == 1", "k", "1", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n int x = ( a/k + 1 ) * k;\n \n if (x <= b || a % k == 0 || b % k == 0 || k == 1) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int k = sc.nextInt();\n int a = sc.nextInt();\n int b = sc.nextInt();\n \n int x = ( a/k + 1 ) * k;\n \n if (x <= b || a % k == 0 || b % k == 0 || k == 1) {\n System.out.println(\"OK\");\n } else {\n System.out.println(\"NG\");\n }\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); int x = ( a/k + 1 ) * k; if (x <= b || a % k == 0 || b % k == 0 || k == 1) { System.out.println("OK"); } else { System.out.println("NG"); } } }
[ 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, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 14, 2, 2, 2, 13, 13, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 28, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 27, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 27, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 47, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 47, 64 ], [ 64, 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;\n \npublic class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n final int k = sc.nextInt(), a = sc.nextInt(), b = sc.nextInt();\n if(a % k == 0 || b % k == 0){\n System.out.println(\"OK\");\n }else{\n if(b/k - a/k == 0){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\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 final int k = sc.nextInt(), a = sc.nextInt(), b = sc.nextInt();\n if(a % k == 0 || b % k == 0){\n System.out.println(\"OK\");\n }else{\n if(b/k - a/k == 0){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n final int k = sc.nextInt(), a = sc.nextInt(), b = sc.nextInt();\n if(a % k == 0 || b % k == 0){\n System.out.println(\"OK\");\n }else{\n if(b/k - a/k == 0){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n final int k = sc.nextInt(), a = sc.nextInt(), b = sc.nextInt();\n if(a % k == 0 || b % k == 0){\n System.out.println(\"OK\");\n }else{\n if(b/k - a/k == 0){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "final int k = sc.nextInt()", "k", "sc.nextInt()", "sc.nextInt", "sc", "a = sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "if(a % k == 0 || b % k == 0){\n System.out.println(\"OK\");\n }else{\n if(b/k - a/k == 0){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }\n }", "a % k == 0 || b % k == 0", "a % k == 0", "a % k", "a", "k", "0", "b % k == 0", "b % k", "b", "k", "0", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n if(b/k - a/k == 0){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }\n }", "if(b/k - a/k == 0){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }", "b/k - a/k == 0", "b/k - a/k", "b/k", "b", "k", "a/k", "a", "k", "0", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "String[] args", "args", "public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n final int k = sc.nextInt(), a = sc.nextInt(), b = sc.nextInt();\n if(a % k == 0 || b % k == 0){\n System.out.println(\"OK\");\n }else{\n if(b/k - a/k == 0){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }\n }\n }\n}", "public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n final int k = sc.nextInt(), a = sc.nextInt(), b = sc.nextInt();\n if(a % k == 0 || b % k == 0){\n System.out.println(\"OK\");\n }else{\n if(b/k - a/k == 0){\n System.out.println(\"NG\");\n }else{\n System.out.println(\"OK\");\n }\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); final int k = sc.nextInt(), a = sc.nextInt(), b = sc.nextInt(); if(a % k == 0 || b % k == 0){ System.out.println("OK"); }else{ if(b/k - a/k == 0){ System.out.println("NG"); }else{ System.out.println("OK"); } } } }
[ 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, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 8, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 53, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 6, 71 ], [ 71, 72 ], [ 0, 73 ], [ 73, 74 ], [ 73, 75 ] ]
[ "import java.util.*;\n\npublic class Main{\n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\tString str = null;\n\t\tfor(int i = A;i <= B;i++) {\n\t\t\tif(i % K == 0) {\n\t\t\t\tstr = \"OK\";\n\t\t\t}\n\t\t}\n\t\tif(str != null) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\tString str = null;\n\t\tfor(int i = A;i <= B;i++) {\n\t\t\tif(i % K == 0) {\n\t\t\t\tstr = \"OK\";\n\t\t\t}\n\t\t}\n\t\tif(str != null) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\tString str = null;\n\t\tfor(int i = A;i <= B;i++) {\n\t\t\tif(i % K == 0) {\n\t\t\t\tstr = \"OK\";\n\t\t\t}\n\t\t}\n\t\tif(str != null) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\tString str = null;\n\t\tfor(int i = A;i <= B;i++) {\n\t\t\tif(i % K == 0) {\n\t\t\t\tstr = \"OK\";\n\t\t\t}\n\t\t}\n\t\tif(str != null) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "String str = null;", "str", "null", "for(int i = A;i <= B;i++) {\n\t\t\tif(i % K == 0) {\n\t\t\t\tstr = \"OK\";\n\t\t\t}\n\t\t}", "int i = A;", "int i = A;", "i", "A", "i <= B", "i", "B", "i++", "i++", "i", "{\n\t\t\tif(i % K == 0) {\n\t\t\t\tstr = \"OK\";\n\t\t\t}\n\t\t}", "{\n\t\t\tif(i % K == 0) {\n\t\t\t\tstr = \"OK\";\n\t\t\t}\n\t\t}", "if(i % K == 0) {\n\t\t\t\tstr = \"OK\";\n\t\t\t}", "i % K == 0", "i % K", "i", "K", "0", "{\n\t\t\t\tstr = \"OK\";\n\t\t\t}", "str = \"OK\"", "str", "\"OK\"", "if(str != null) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "str != null", "str", "null", "{\n\t\t\tSystem.out.println(\"OK\");\n\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n\t\t\tSystem.out.println(\"NG\");\n\t\t}", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main{\n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\tString str = null;\n\t\tfor(int i = A;i <= B;i++) {\n\t\t\tif(i % K == 0) {\n\t\t\t\tstr = \"OK\";\n\t\t\t}\n\t\t}\n\t\tif(str != null) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}\n}", "public class Main{\n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint K = sc.nextInt();\n\t\tint A = sc.nextInt();\n\t\tint B = sc.nextInt();\n\t\tString str = null;\n\t\tfor(int i = A;i <= B;i++) {\n\t\t\tif(i % K == 0) {\n\t\t\t\tstr = \"OK\";\n\t\t\t}\n\t\t}\n\t\tif(str != null) {\n\t\t\tSystem.out.println(\"OK\");\n\t\t}else {\n\t\t\tSystem.out.println(\"NG\");\n\t\t}\n\t}\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); String str = null; for(int i = A;i <= B;i++) { if(i % K == 0) { str = "OK"; } } if(str != null) { System.out.println("OK"); }else { System.out.println("NG"); } } }
[ 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, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 2, 13, 13, 14, 2, 2, 13, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 29, 4, 18, 18, 13, 13, 17, 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 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 49, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 60, 62 ], [ 55, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 63, 70 ], [ 8, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 6, 77 ], [ 77, 78 ], [ 0, 79 ], [ 79, 80 ], [ 79, 81 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner cin = new Scanner(System.in);\n\t\tint K = cin.nextInt();\n\t\tint A = cin.nextInt();\n\t\tint B = cin.nextInt();\n\t\t\n\t\tint start = A/K;\n\t\tint end = B/K;\n\t\t\n\t\tfor(int i = start;i<=end;i++) {\n\t\t\tint target = i*K;\n\t\t\tif(A<=target&&B>=target) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"NG\");\n\t\t\n\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner cin = new Scanner(System.in);\n\t\tint K = cin.nextInt();\n\t\tint A = cin.nextInt();\n\t\tint B = cin.nextInt();\n\t\t\n\t\tint start = A/K;\n\t\tint end = B/K;\n\t\t\n\t\tfor(int i = start;i<=end;i++) {\n\t\t\tint target = i*K;\n\t\t\tif(A<=target&&B>=target) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"NG\");\n\t\t\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner cin = new Scanner(System.in);\n\t\tint K = cin.nextInt();\n\t\tint A = cin.nextInt();\n\t\tint B = cin.nextInt();\n\t\t\n\t\tint start = A/K;\n\t\tint end = B/K;\n\t\t\n\t\tfor(int i = start;i<=end;i++) {\n\t\t\tint target = i*K;\n\t\t\tif(A<=target&&B>=target) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"NG\");\n\t\t\n\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\tScanner cin = new Scanner(System.in);\n\t\tint K = cin.nextInt();\n\t\tint A = cin.nextInt();\n\t\tint B = cin.nextInt();\n\t\t\n\t\tint start = A/K;\n\t\tint end = B/K;\n\t\t\n\t\tfor(int i = start;i<=end;i++) {\n\t\t\tint target = i*K;\n\t\t\tif(A<=target&&B>=target) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"NG\");\n\t\t\n\n\t}", "Scanner cin = new Scanner(System.in);", "cin", "new Scanner(System.in)", "int K = cin.nextInt();", "K", "cin.nextInt()", "cin.nextInt", "cin", "int A = cin.nextInt();", "A", "cin.nextInt()", "cin.nextInt", "cin", "int B = cin.nextInt();", "B", "cin.nextInt()", "cin.nextInt", "cin", "int start = A/K;", "start", "A/K", "A", "K", "int end = B/K;", "end", "B/K", "B", "K", "for(int i = start;i<=end;i++) {\n\t\t\tint target = i*K;\n\t\t\tif(A<=target&&B>=target) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}", "int i = start;", "int i = start;", "i", "start", "i<=end", "i", "end", "i++", "i++", "i", "{\n\t\t\tint target = i*K;\n\t\t\tif(A<=target&&B>=target) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}", "{\n\t\t\tint target = i*K;\n\t\t\tif(A<=target&&B>=target) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}", "int target = i*K;", "target", "i*K", "i", "K", "if(A<=target&&B>=target) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}", "A<=target&&B>=target", "A<=target", "A", "target", "B>=target", "B", "target", "{\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "return;", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "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 cin = new Scanner(System.in);\n\t\tint K = cin.nextInt();\n\t\tint A = cin.nextInt();\n\t\tint B = cin.nextInt();\n\t\t\n\t\tint start = A/K;\n\t\tint end = B/K;\n\t\t\n\t\tfor(int i = start;i<=end;i++) {\n\t\t\tint target = i*K;\n\t\t\tif(A<=target&&B>=target) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"NG\");\n\t\t\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner cin = new Scanner(System.in);\n\t\tint K = cin.nextInt();\n\t\tint A = cin.nextInt();\n\t\tint B = cin.nextInt();\n\t\t\n\t\tint start = A/K;\n\t\tint end = B/K;\n\t\t\n\t\tfor(int i = start;i<=end;i++) {\n\t\t\tint target = i*K;\n\t\t\tif(A<=target&&B>=target) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"NG\");\n\t\t\n\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner cin = new Scanner(System.in); int K = cin.nextInt(); int A = cin.nextInt(); int B = cin.nextInt(); int start = A/K; int end = B/K; for(int i = start;i<=end;i++) { int target = i*K; if(A<=target&&B>=target) { System.out.println("OK"); return; } } System.out.println("NG"); } }
[ 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, 41, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 6, 30 ], [ 30, 31 ] ]
[ "import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n int n = 1;\n while_LB:\n while (n <= 1000) {\n for (int i = 1; i <= 1000; i++) {\n n = K * i;\n if (n >= A && n <= B) {\n System.out.println(\"OK\");\n break while_LB;\n }\n\n }\n System.out.println(\"NG\");\n }\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 K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n int n = 1;\n while_LB:\n while (n <= 1000) {\n for (int i = 1; i <= 1000; i++) {\n n = K * i;\n if (n >= A && n <= B) {\n System.out.println(\"OK\");\n break while_LB;\n }\n\n }\n System.out.println(\"NG\");\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n int n = 1;\n while_LB:\n while (n <= 1000) {\n for (int i = 1; i <= 1000; i++) {\n n = K * i;\n if (n >= A && n <= B) {\n System.out.println(\"OK\");\n break while_LB;\n }\n\n }\n System.out.println(\"NG\");\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int K = sc.nextInt();\n int A = sc.nextInt();\n int B = sc.nextInt();\n\n int n = 1;\n while_LB:\n while (n <= 1000) {\n for (int i = 1; i <= 1000; i++) {\n n = K * i;\n if (n >= A && n <= B) {\n System.out.println(\"OK\");\n break while_LB;\n }\n\n }\n System.out.println(\"NG\");\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int K = sc.nextInt();", "K", "sc.nextInt()", "sc.nextInt", "sc", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "int n = 1;", "n", "1", "String[] args", "args" ]
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); int n = 1; while_LB: while (n <= 1000) { for (int i = 1; i <= 1000; i++) { n = K * i; if (n >= A && n <= B) { System.out.println("OK"); break while_LB; } } System.out.println("NG"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 2, 13, 13, 13, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 23, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 23, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 23, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 23, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 49, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 21, 66 ], [ 66, 67 ] ]
[ "import java.lang.reflect.Array;\nimport java.math.BigInteger;\nimport java.util.Collection;\nimport java.util.Scanner;\nimport java.util.Arrays;\nimport java.util.*;\nclass Main{\n public static void main(String[]args){\nScanner in =new Scanner(System.in);\nint k=in.nextInt();\nint a=in.nextInt();\nint b=in.nextInt();\nint l=(b/k)*k;\nif (a<=l) {\n System.out.print(\"OK \");\n} else System.out.print(\"NG\");}}", "import java.lang.reflect.Array;", "Array", "java.lang.reflect", "import java.math.BigInteger;", "BigInteger", "java.math", "import java.util.Collection;", "Collection", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.*;", "util.*", "java", "class Main{\n public static void main(String[]args){\nScanner in =new Scanner(System.in);\nint k=in.nextInt();\nint a=in.nextInt();\nint b=in.nextInt();\nint l=(b/k)*k;\nif (a<=l) {\n System.out.print(\"OK \");\n} else System.out.print(\"NG\");}}", "Main", "public static void main(String[]args){\nScanner in =new Scanner(System.in);\nint k=in.nextInt();\nint a=in.nextInt();\nint b=in.nextInt();\nint l=(b/k)*k;\nif (a<=l) {\n System.out.print(\"OK \");\n} else System.out.print(\"NG\");}", "main", "{\nScanner in =new Scanner(System.in);\nint k=in.nextInt();\nint a=in.nextInt();\nint b=in.nextInt();\nint l=(b/k)*k;\nif (a<=l) {\n System.out.print(\"OK \");\n} else System.out.print(\"NG\");}", "Scanner in =new Scanner(System.in);", "in", "new Scanner(System.in)", "int k=in.nextInt();", "k", "in.nextInt()", "in.nextInt", "in", "int a=in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "int b=in.nextInt();", "b", "in.nextInt()", "in.nextInt", "in", "int l=(b/k)*k;", "l", "(b/k)*k", "(b/k)", "b", "k", "k", "if (a<=l) {\n System.out.print(\"OK \");\n} else System.out.print(\"NG\");", "a<=l", "a", "l", "{\n System.out.print(\"OK \");\n}", "System.out.print(\"OK \")", "System.out.print", "System.out", "System", "System.out", "\"OK \"", "System.out.print(\"NG\")", "System.out.print", "System.out", "System", "System.out", "\"NG\"", "String[]args", "args" ]
import java.lang.reflect.Array; import java.math.BigInteger; import java.util.Collection; import java.util.Scanner; import java.util.Arrays; import java.util.*; class Main{ public static void main(String[]args){ Scanner in =new Scanner(System.in); int k=in.nextInt(); int a=in.nextInt(); int b=in.nextInt(); int l=(b/k)*k; if (a<=l) { System.out.print("OK "); } else System.out.print("NG");}}
[ 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, 18, 13, 42, 2, 13, 13, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 17, 30, 0, 13, 17, 4, 18, 18, 13, 13, 17, 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 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 11, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 35, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 41, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 35, 52 ], [ 52, 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.util.*;\nimport java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint k = scan.nextInt();\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\t\n\t\twhile(a<=b) {\n\t\t\tif(a%k == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}else {\n\t\t\t\ta += 1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"NG\");\n\t\t\n\t}\t\n\t\n\t\n\t//最小公約数\n\t/*\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*/\n\t\n}", "import java.util.*;", "util.*", "java", "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\tint k = scan.nextInt();\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\t\n\t\twhile(a<=b) {\n\t\t\tif(a%k == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}else {\n\t\t\t\ta += 1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"NG\");\n\t\t\n\t}\t\n\t\n\t\n\t//最小公約数\n\t/*\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*/\n\t\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint k = scan.nextInt();\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\t\n\t\twhile(a<=b) {\n\t\t\tif(a%k == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}else {\n\t\t\t\ta += 1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"NG\");\n\t\t\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint k = scan.nextInt();\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\t\n\t\twhile(a<=b) {\n\t\t\tif(a%k == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}else {\n\t\t\t\ta += 1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"NG\");\n\t\t\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int k = scan.nextInt();", "k", "scan.nextInt()", "scan.nextInt", "scan", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "int b = scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "while(a<=b) {\n\t\t\tif(a%k == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}else {\n\t\t\t\ta += 1;\n\t\t\t}\n\t\t}", "a<=b", "a", "b", "{\n\t\t\tif(a%k == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}else {\n\t\t\t\ta += 1;\n\t\t\t}\n\t\t}", "if(a%k == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}else {\n\t\t\t\ta += 1;\n\t\t\t}", "a%k == 0", "a%k", "a", "k", "0", "{\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "System.exit(0)", "System.exit", "System", "0", "{\n\t\t\t\ta += 1;\n\t\t\t}", "a += 1", "a", "1", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint k = scan.nextInt();\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\t\n\t\twhile(a<=b) {\n\t\t\tif(a%k == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}else {\n\t\t\t\ta += 1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"NG\");\n\t\t\n\t}\t\n\t\n\t\n\t//最小公約数\n\t/*\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*/\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\tint k = scan.nextInt();\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\t\n\t\twhile(a<=b) {\n\t\t\tif(a%k == 0) {\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}else {\n\t\t\t\ta += 1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"NG\");\n\t\t\n\t}\t\n\t\n\t\n\t//最小公約数\n\t/*\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*/\n\t\n}", "Main" ]
import java.util.*; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int k = scan.nextInt(); int a = scan.nextInt(); int b = scan.nextInt(); while(a<=b) { if(a%k == 0) { System.out.println("OK"); System.exit(0); }else { a += 1; } } System.out.println("NG"); } //最小公約数 /* static int gcd (int a, int b) { int temp; while((temp = a%b)!=0) { a = b; b = temp; } return b; } */ }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 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, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 3, 4, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 87, 8 ], [ 87, 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 ], [ 20, 23 ], [ 23, 24 ], [ 24, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 28, 33 ], [ 11, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 11, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 11, 50 ], [ 50, 51 ], [ 50, 52 ], [ 11, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 53, 61 ], [ 61, 62 ], [ 62, 63 ], [ 53, 64 ], [ 65, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 66, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 11, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 11, 81 ], [ 81, 82 ], [ 82, 83 ], [ 9, 84 ], [ 84, 85 ], [ 0, 86 ], [ 86, 87 ], [ 86, 88 ] ]
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n \n int k = Integer.parseInt(br.readLine());\n \n String[] input = br.readLine().split(\" \");\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[1]);\n \n String ans = \"NG\";\n \n for(int i = a; i <= b; i++){\n if(i % k == 0){\n ans = \"OK\";\n break;\n }\n }\n \n out.println(ans);\n \n out.close();\n \n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n \n int k = Integer.parseInt(br.readLine());\n \n String[] input = br.readLine().split(\" \");\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[1]);\n \n String ans = \"NG\";\n \n for(int i = a; i <= b; i++){\n if(i % k == 0){\n ans = \"OK\";\n break;\n }\n }\n \n out.println(ans);\n \n out.close();\n \n }\n}", "Main", "public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n \n int k = Integer.parseInt(br.readLine());\n \n String[] input = br.readLine().split(\" \");\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[1]);\n \n String ans = \"NG\";\n \n for(int i = a; i <= b; i++){\n if(i % k == 0){\n ans = \"OK\";\n break;\n }\n }\n \n out.println(ans);\n \n out.close();\n \n }", "main", "{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n \n int k = Integer.parseInt(br.readLine());\n \n String[] input = br.readLine().split(\" \");\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[1]);\n \n String ans = \"NG\";\n \n for(int i = a; i <= b; i++){\n if(i % k == 0){\n ans = \"OK\";\n break;\n }\n }\n \n out.println(ans);\n \n out.close();\n \n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));", "out", "new PrintWriter(new OutputStreamWriter(System.out))", "int k = Integer.parseInt(br.readLine());", "k", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "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", "String ans = \"NG\";", "ans", "\"NG\"", "for(int i = a; i <= b; i++){\n if(i % k == 0){\n ans = \"OK\";\n break;\n }\n }", "int i = a;", "int i = a;", "i", "a", "i <= b", "i", "b", "i++", "i++", "i", "{\n if(i % k == 0){\n ans = \"OK\";\n break;\n }\n }", "{\n if(i % k == 0){\n ans = \"OK\";\n break;\n }\n }", "if(i % k == 0){\n ans = \"OK\";\n break;\n }", "i % k == 0", "i % k", "i", "k", "0", "{\n ans = \"OK\";\n break;\n }", "ans = \"OK\"", "ans", "\"OK\"", "break;", "out.println(ans)", "out.println", "out", "ans", "out.close()", "out.close", "out", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n \n int k = Integer.parseInt(br.readLine());\n \n String[] input = br.readLine().split(\" \");\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[1]);\n \n String ans = \"NG\";\n \n for(int i = a; i <= b; i++){\n if(i % k == 0){\n ans = \"OK\";\n break;\n }\n }\n \n out.println(ans);\n \n out.close();\n \n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n \n int k = Integer.parseInt(br.readLine());\n \n String[] input = br.readLine().split(\" \");\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[1]);\n \n String ans = \"NG\";\n \n for(int i = a; i <= b; i++){\n if(i % k == 0){\n ans = \"OK\";\n break;\n }\n }\n \n out.println(ans);\n \n out.close();\n \n }\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out)); int k = Integer.parseInt(br.readLine()); String[] input = br.readLine().split(" "); int a = Integer.parseInt(input[0]); int b = Integer.parseInt(input[1]); String ans = "NG"; for(int i = a; i <= b; i++){ if(i % k == 0){ ans = "OK"; break; } } out.println(ans); out.close(); } }
[ 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, 41, 13, 2, 13, 13, 41, 13, 2, 13, 2, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 96, 5 ], [ 96, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 39, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 50, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 50, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 68, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 63, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 6, 93 ], [ 93, 94 ], [ 0, 95 ], [ 95, 96 ], [ 95, 97 ] ]
[ "import java.util.*;\npublic class Main\n{\n public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n int k=sc.nextInt();\n int a=sc.nextInt();\n int b=sc.nextInt();\n int c=a%k;\n int d=a+(k-c);\n if(c==0)\n {\n System.out.println(\"OK\");\n }\n else if(b%k==0)\n {\n System.out.println(\"OK\");\n }\n else if(c!=0)\n {\n if(d<=b)\n {\n System.out.println(\"OK\");\n }\n else\n {\n System.out.println(\"NG\");\n }\n }\n else\n {\n System.out.println(\"NG\");\n }\n }\n}\n ", "import java.util.*;", "util.*", "java", "public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n int k=sc.nextInt();\n int a=sc.nextInt();\n int b=sc.nextInt();\n int c=a%k;\n int d=a+(k-c);\n if(c==0)\n {\n System.out.println(\"OK\");\n }\n else if(b%k==0)\n {\n System.out.println(\"OK\");\n }\n else if(c!=0)\n {\n if(d<=b)\n {\n System.out.println(\"OK\");\n }\n else\n {\n System.out.println(\"NG\");\n }\n }\n else\n {\n System.out.println(\"NG\");\n }\n }\n}", "Main", "public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n int k=sc.nextInt();\n int a=sc.nextInt();\n int b=sc.nextInt();\n int c=a%k;\n int d=a+(k-c);\n if(c==0)\n {\n System.out.println(\"OK\");\n }\n else if(b%k==0)\n {\n System.out.println(\"OK\");\n }\n else if(c!=0)\n {\n if(d<=b)\n {\n System.out.println(\"OK\");\n }\n else\n {\n System.out.println(\"NG\");\n }\n }\n else\n {\n System.out.println(\"NG\");\n }\n }", "main", "{\n Scanner sc=new Scanner(System.in);\n int k=sc.nextInt();\n int a=sc.nextInt();\n int b=sc.nextInt();\n int c=a%k;\n int d=a+(k-c);\n if(c==0)\n {\n System.out.println(\"OK\");\n }\n else if(b%k==0)\n {\n System.out.println(\"OK\");\n }\n else if(c!=0)\n {\n if(d<=b)\n {\n System.out.println(\"OK\");\n }\n else\n {\n System.out.println(\"NG\");\n }\n }\n else\n {\n System.out.println(\"NG\");\n }\n }", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int k=sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "int a=sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b=sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int c=a%k;", "c", "a%k", "a", "k", "int d=a+(k-c);", "d", "a+(k-c)", "a", "(k-c)", "k", "c", "if(c==0)\n {\n System.out.println(\"OK\");\n }\n else if(b%k==0)\n {\n System.out.println(\"OK\");\n }\n else if(c!=0)\n {\n if(d<=b)\n {\n System.out.println(\"OK\");\n }\n else\n {\n System.out.println(\"NG\");\n }\n }\n else\n {\n System.out.println(\"NG\");\n }", "c==0", "c", "0", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "if(b%k==0)\n {\n System.out.println(\"OK\");\n }\n else if(c!=0)\n {\n if(d<=b)\n {\n System.out.println(\"OK\");\n }\n else\n {\n System.out.println(\"NG\");\n }\n }\n else\n {\n System.out.println(\"NG\");\n }", "b%k==0", "b%k", "b", "k", "0", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "if(c!=0)\n {\n if(d<=b)\n {\n System.out.println(\"OK\");\n }\n else\n {\n System.out.println(\"NG\");\n }\n }\n else\n {\n System.out.println(\"NG\");\n }", "c!=0", "c", "0", "{\n if(d<=b)\n {\n System.out.println(\"OK\");\n }\n else\n {\n System.out.println(\"NG\");\n }\n }", "if(d<=b)\n {\n System.out.println(\"OK\");\n }\n else\n {\n System.out.println(\"NG\");\n }", "d<=b", "d", "b", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n int k=sc.nextInt();\n int a=sc.nextInt();\n int b=sc.nextInt();\n int c=a%k;\n int d=a+(k-c);\n if(c==0)\n {\n System.out.println(\"OK\");\n }\n else if(b%k==0)\n {\n System.out.println(\"OK\");\n }\n else if(c!=0)\n {\n if(d<=b)\n {\n System.out.println(\"OK\");\n }\n else\n {\n System.out.println(\"NG\");\n }\n }\n else\n {\n System.out.println(\"NG\");\n }\n }\n}", "public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n int k=sc.nextInt();\n int a=sc.nextInt();\n int b=sc.nextInt();\n int c=a%k;\n int d=a+(k-c);\n if(c==0)\n {\n System.out.println(\"OK\");\n }\n else if(b%k==0)\n {\n System.out.println(\"OK\");\n }\n else if(c!=0)\n {\n if(d<=b)\n {\n System.out.println(\"OK\");\n }\n else\n {\n System.out.println(\"NG\");\n }\n }\n else\n {\n System.out.println(\"NG\");\n }\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int k=sc.nextInt(); int a=sc.nextInt(); int b=sc.nextInt(); int c=a%k; int d=a+(k-c); if(c==0) { System.out.println("OK"); } else if(b%k==0) { System.out.println("OK"); } else if(c!=0) { if(d<=b) { System.out.println("OK"); } else { System.out.println("NG"); } } else { System.out.println("NG"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 17, 4, 18, 13, 4, 18, 13, 17, 4, 18, 13, 4, 18, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 91, 8 ], [ 91, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 11, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 26, 27 ], [ 27, 28 ], [ 11, 29 ], [ 29, 30 ], [ 29, 31 ], [ 11, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 38, 39 ], [ 11, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 46, 47 ], [ 11, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 67, 72 ], [ 72, 73 ], [ 73, 74 ], [ 11, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 11, 79 ], [ 79, 80 ], [ 80, 81 ], [ 11, 82 ], [ 82, 83 ], [ 83, 84 ], [ 11, 85 ], [ 85, 86 ], [ 86, 87 ], [ 9, 88 ], [ 88, 89 ], [ 0, 90 ], [ 90, 91 ], [ 90, 92 ] ]
[ "import java.util.*;\nimport java.io.*;\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\t\tint num = 998244353;\n\n\t\t// TODO Auto-generated method stub\n \t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n \t\tPrintWriter out = new PrintWriter(System.out);\n \t\tint t = Integer.parseInt(bf.readLine());\n\n\t \t\tStringTokenizer st = new StringTokenizer(bf.readLine());\n\t \t\tint n = Integer.parseInt(st.nextToken());\n\t \t\tint m = Integer.parseInt(st.nextToken());\n\t \tfor(int i = n;i<=m;i++){\n\t \t\tif (i%t == 0){\n\t \t\t\tout.println(\"OK\");\n\t \t\t\tout.close();\n\t \t\t}\n\t \t}\n\t \tout.println(\"NG\");\n\t \tout.close();\n \t\t\n \t\t\n \t\tout.println();\n\t \t\t\n \t\tout.close();\n \t\t\n \t\t\n \t\t\n \t}\n}\n \t\n \n//StringJoiner sj = new StringJoiner(\" \"); \n//sj.add(strings)\n//sj.toString() gives string of those stuff w spaces or whatever that sequence is\n\n \t\t\n \t\t\n \t\t\n \t\t\n\t\n\n", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\t\tint num = 998244353;\n\n\t\t// TODO Auto-generated method stub\n \t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n \t\tPrintWriter out = new PrintWriter(System.out);\n \t\tint t = Integer.parseInt(bf.readLine());\n\n\t \t\tStringTokenizer st = new StringTokenizer(bf.readLine());\n\t \t\tint n = Integer.parseInt(st.nextToken());\n\t \t\tint m = Integer.parseInt(st.nextToken());\n\t \tfor(int i = n;i<=m;i++){\n\t \t\tif (i%t == 0){\n\t \t\t\tout.println(\"OK\");\n\t \t\t\tout.close();\n\t \t\t}\n\t \t}\n\t \tout.println(\"NG\");\n\t \tout.close();\n \t\t\n \t\t\n \t\tout.println();\n\t \t\t\n \t\tout.close();\n \t\t\n \t\t\n \t\t\n \t}\n}", "Main", "public static void main(String[] args) throws Exception{\n\t\tint num = 998244353;\n\n\t\t// TODO Auto-generated method stub\n \t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n \t\tPrintWriter out = new PrintWriter(System.out);\n \t\tint t = Integer.parseInt(bf.readLine());\n\n\t \t\tStringTokenizer st = new StringTokenizer(bf.readLine());\n\t \t\tint n = Integer.parseInt(st.nextToken());\n\t \t\tint m = Integer.parseInt(st.nextToken());\n\t \tfor(int i = n;i<=m;i++){\n\t \t\tif (i%t == 0){\n\t \t\t\tout.println(\"OK\");\n\t \t\t\tout.close();\n\t \t\t}\n\t \t}\n\t \tout.println(\"NG\");\n\t \tout.close();\n \t\t\n \t\t\n \t\tout.println();\n\t \t\t\n \t\tout.close();\n \t\t\n \t\t\n \t\t\n \t}", "main", "{\n\t\tint num = 998244353;\n\n\t\t// TODO Auto-generated method stub\n \t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n \t\tPrintWriter out = new PrintWriter(System.out);\n \t\tint t = Integer.parseInt(bf.readLine());\n\n\t \t\tStringTokenizer st = new StringTokenizer(bf.readLine());\n\t \t\tint n = Integer.parseInt(st.nextToken());\n\t \t\tint m = Integer.parseInt(st.nextToken());\n\t \tfor(int i = n;i<=m;i++){\n\t \t\tif (i%t == 0){\n\t \t\t\tout.println(\"OK\");\n\t \t\t\tout.close();\n\t \t\t}\n\t \t}\n\t \tout.println(\"NG\");\n\t \tout.close();\n \t\t\n \t\t\n \t\tout.println();\n\t \t\t\n \t\tout.close();\n \t\t\n \t\t\n \t\t\n \t}", "int num = 998244353;", "num", "998244353", "BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));", "bf", "new BufferedReader(new InputStreamReader(System.in))", "PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "int t = Integer.parseInt(bf.readLine());", "t", "Integer.parseInt(bf.readLine())", "Integer.parseInt", "Integer", "bf.readLine()", "bf.readLine", "bf", "StringTokenizer st = new StringTokenizer(bf.readLine());", "st", "new StringTokenizer(bf.readLine())", "int n = Integer.parseInt(st.nextToken());", "n", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "int m = Integer.parseInt(st.nextToken());", "m", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "for(int i = n;i<=m;i++){\n\t \t\tif (i%t == 0){\n\t \t\t\tout.println(\"OK\");\n\t \t\t\tout.close();\n\t \t\t}\n\t \t}", "int i = n;", "int i = n;", "i", "n", "i<=m", "i", "m", "i++", "i++", "i", "{\n\t \t\tif (i%t == 0){\n\t \t\t\tout.println(\"OK\");\n\t \t\t\tout.close();\n\t \t\t}\n\t \t}", "{\n\t \t\tif (i%t == 0){\n\t \t\t\tout.println(\"OK\");\n\t \t\t\tout.close();\n\t \t\t}\n\t \t}", "if (i%t == 0){\n\t \t\t\tout.println(\"OK\");\n\t \t\t\tout.close();\n\t \t\t}", "i%t == 0", "i%t", "i", "t", "0", "{\n\t \t\t\tout.println(\"OK\");\n\t \t\t\tout.close();\n\t \t\t}", "out.println(\"OK\")", "out.println", "out", "\"OK\"", "out.close()", "out.close", "out", "out.println(\"NG\")", "out.println", "out", "\"NG\"", "out.close()", "out.close", "out", "out.println()", "out.println", "out", "out.close()", "out.close", "out", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\t\tint num = 998244353;\n\n\t\t// TODO Auto-generated method stub\n \t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n \t\tPrintWriter out = new PrintWriter(System.out);\n \t\tint t = Integer.parseInt(bf.readLine());\n\n\t \t\tStringTokenizer st = new StringTokenizer(bf.readLine());\n\t \t\tint n = Integer.parseInt(st.nextToken());\n\t \t\tint m = Integer.parseInt(st.nextToken());\n\t \tfor(int i = n;i<=m;i++){\n\t \t\tif (i%t == 0){\n\t \t\t\tout.println(\"OK\");\n\t \t\t\tout.close();\n\t \t\t}\n\t \t}\n\t \tout.println(\"NG\");\n\t \tout.close();\n \t\t\n \t\t\n \t\tout.println();\n\t \t\t\n \t\tout.close();\n \t\t\n \t\t\n \t\t\n \t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\t\tint num = 998244353;\n\n\t\t// TODO Auto-generated method stub\n \t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n \t\tPrintWriter out = new PrintWriter(System.out);\n \t\tint t = Integer.parseInt(bf.readLine());\n\n\t \t\tStringTokenizer st = new StringTokenizer(bf.readLine());\n\t \t\tint n = Integer.parseInt(st.nextToken());\n\t \t\tint m = Integer.parseInt(st.nextToken());\n\t \tfor(int i = n;i<=m;i++){\n\t \t\tif (i%t == 0){\n\t \t\t\tout.println(\"OK\");\n\t \t\t\tout.close();\n\t \t\t}\n\t \t}\n\t \tout.println(\"NG\");\n\t \tout.close();\n \t\t\n \t\t\n \t\tout.println();\n\t \t\t\n \t\tout.close();\n \t\t\n \t\t\n \t\t\n \t}\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws Exception{ int num = 998244353; // TODO Auto-generated method stub BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); PrintWriter out = new PrintWriter(System.out); int t = Integer.parseInt(bf.readLine()); StringTokenizer st = new StringTokenizer(bf.readLine()); int n = Integer.parseInt(st.nextToken()); int m = Integer.parseInt(st.nextToken()); for(int i = n;i<=m;i++){ if (i%t == 0){ out.println("OK"); out.close(); } } out.println("NG"); out.close(); out.println(); out.close(); } } //StringJoiner sj = new StringJoiner(" "); //sj.add(strings) //sj.toString() gives string of those stuff w spaces or whatever that sequence is
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 42, 2, 13, 17, 30, 14, 2, 2, 13, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 29, 0, 13, 13, 4, 18, 18, 13, 13, 17, 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 ], [ 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 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 43, 50 ], [ 34, 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.*;\n\npublic class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tfinal int X = sc.nextInt();\n int X2 = X;\n int A = sc.nextInt();\n int B = sc.nextInt();\n while(X2 <= 1000){\n if(X2 >= A && X2 <= B){\n System.out.println(\"OK\");\n return;\n }\n X2 += X;\n \n }\n System.out.println(\"NG\");\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tfinal int X = sc.nextInt();\n int X2 = X;\n int A = sc.nextInt();\n int B = sc.nextInt();\n while(X2 <= 1000){\n if(X2 >= A && X2 <= B){\n System.out.println(\"OK\");\n return;\n }\n X2 += X;\n \n }\n System.out.println(\"NG\");\n\t}\n}", "Main", "public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tfinal int X = sc.nextInt();\n int X2 = X;\n int A = sc.nextInt();\n int B = sc.nextInt();\n while(X2 <= 1000){\n if(X2 >= A && X2 <= B){\n System.out.println(\"OK\");\n return;\n }\n X2 += X;\n \n }\n System.out.println(\"NG\");\n\t}", "main", "{\n\tScanner sc = new Scanner(System.in);\n\tfinal int X = sc.nextInt();\n int X2 = X;\n int A = sc.nextInt();\n int B = sc.nextInt();\n while(X2 <= 1000){\n if(X2 >= A && X2 <= B){\n System.out.println(\"OK\");\n return;\n }\n X2 += X;\n \n }\n System.out.println(\"NG\");\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "final int X = sc.nextInt();", "X", "sc.nextInt()", "sc.nextInt", "sc", "int X2 = X;", "X2", "X", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "while(X2 <= 1000){\n if(X2 >= A && X2 <= B){\n System.out.println(\"OK\");\n return;\n }\n X2 += X;\n \n }", "X2 <= 1000", "X2", "1000", "{\n if(X2 >= A && X2 <= B){\n System.out.println(\"OK\");\n return;\n }\n X2 += X;\n \n }", "if(X2 >= A && X2 <= B){\n System.out.println(\"OK\");\n return;\n }", "X2 >= A && X2 <= B", "X2 >= A", "X2", "A", "X2 <= B", "X2", "B", "{\n System.out.println(\"OK\");\n return;\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "return;", "X2 += X", "X2", "X", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tfinal int X = sc.nextInt();\n int X2 = X;\n int A = sc.nextInt();\n int B = sc.nextInt();\n while(X2 <= 1000){\n if(X2 >= A && X2 <= B){\n System.out.println(\"OK\");\n return;\n }\n X2 += X;\n \n }\n System.out.println(\"NG\");\n\t}\n}", "public class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tfinal int X = sc.nextInt();\n int X2 = X;\n int A = sc.nextInt();\n int B = sc.nextInt();\n while(X2 <= 1000){\n if(X2 >= A && X2 <= B){\n System.out.println(\"OK\");\n return;\n }\n X2 += X;\n \n }\n System.out.println(\"NG\");\n\t}\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); final int X = sc.nextInt(); int X2 = X; int A = sc.nextInt(); int B = sc.nextInt(); while(X2 <= 1000){ if(X2 >= A && X2 <= B){ System.out.println("OK"); return; } X2 += X; } System.out.println("NG"); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 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, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 30, 9, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 14, 16 ], [ 13, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 22, 23 ], [ 23, 24 ], [ 13, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 27, 32 ], [ 13, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 38, 39 ], [ 38, 40 ], [ 13, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 13, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 51, 55 ], [ 13, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 58, 62 ], [ 13, 63 ], [ 63, 64 ], [ 63, 65 ], [ 13, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 79, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 79, 89 ], [ 89, 90 ], [ 13, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 91, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 9, 109 ], [ 109, 110 ] ]
[ "import java.util.*;\nimport java.io.*;\n\nclass Main{\n public static void main(String args[])throws IOException{\n try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){\n int K = Integer.parseInt(br.readLine());\n String[] tmp = br.readLine().split(\" \");\n int A = Integer.parseInt(tmp[0]);\n int B = Integer.parseInt(tmp[1]);\n\n int max = Math.max(A, B);\n int min = Math.min(A, B);\n int result = 0;\n\n for(int i = min; i <= max; i++){\n if((i%K) == 0){\n result = 1;\n }else{\n continue;\n }\n }\n\n if(result == 1){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n }\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "class Main{\n public static void main(String args[])throws IOException{\n try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){\n int K = Integer.parseInt(br.readLine());\n String[] tmp = br.readLine().split(\" \");\n int A = Integer.parseInt(tmp[0]);\n int B = Integer.parseInt(tmp[1]);\n\n int max = Math.max(A, B);\n int min = Math.min(A, B);\n int result = 0;\n\n for(int i = min; i <= max; i++){\n if((i%K) == 0){\n result = 1;\n }else{\n continue;\n }\n }\n\n if(result == 1){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n }\n }\n}", "Main", "public static void main(String args[])throws IOException{\n try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){\n int K = Integer.parseInt(br.readLine());\n String[] tmp = br.readLine().split(\" \");\n int A = Integer.parseInt(tmp[0]);\n int B = Integer.parseInt(tmp[1]);\n\n int max = Math.max(A, B);\n int min = Math.min(A, B);\n int result = 0;\n\n for(int i = min; i <= max; i++){\n if((i%K) == 0){\n result = 1;\n }else{\n continue;\n }\n }\n\n if(result == 1){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n }\n }", "main", "{\n try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){\n int K = Integer.parseInt(br.readLine());\n String[] tmp = br.readLine().split(\" \");\n int A = Integer.parseInt(tmp[0]);\n int B = Integer.parseInt(tmp[1]);\n\n int max = Math.max(A, B);\n int min = Math.min(A, B);\n int result = 0;\n\n for(int i = min; i <= max; i++){\n if((i%K) == 0){\n result = 1;\n }else{\n continue;\n }\n }\n\n if(result == 1){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n }\n }", "try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){\n int K = Integer.parseInt(br.readLine());\n String[] tmp = br.readLine().split(\" \");\n int A = Integer.parseInt(tmp[0]);\n int B = Integer.parseInt(tmp[1]);\n\n int max = Math.max(A, B);\n int min = Math.min(A, B);\n int result = 0;\n\n for(int i = min; i <= max; i++){\n if((i%K) == 0){\n result = 1;\n }else{\n continue;\n }\n }\n\n if(result == 1){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n }", "{\n int K = Integer.parseInt(br.readLine());\n String[] tmp = br.readLine().split(\" \");\n int A = Integer.parseInt(tmp[0]);\n int B = Integer.parseInt(tmp[1]);\n\n int max = Math.max(A, B);\n int min = Math.min(A, B);\n int result = 0;\n\n for(int i = min; i <= max; i++){\n if((i%K) == 0){\n result = 1;\n }else{\n continue;\n }\n }\n\n if(result == 1){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in))", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in))", "new BufferedReader(new InputStreamReader(System.in))", "int K = Integer.parseInt(br.readLine());", "K", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String[] tmp = br.readLine().split(\" \");", "tmp", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int A = Integer.parseInt(tmp[0]);", "A", "Integer.parseInt(tmp[0])", "Integer.parseInt", "Integer", "tmp[0]", "tmp", "0", "int B = Integer.parseInt(tmp[1]);", "B", "Integer.parseInt(tmp[1])", "Integer.parseInt", "Integer", "tmp[1]", "tmp", "1", "int max = Math.max(A, B);", "max", "Math.max(A, B)", "Math.max", "Math", "A", "B", "int min = Math.min(A, B);", "min", "Math.min(A, B)", "Math.min", "Math", "A", "B", "int result = 0;", "result", "0", "for(int i = min; i <= max; i++){\n if((i%K) == 0){\n result = 1;\n }else{\n continue;\n }\n }", "int i = min;", "int i = min;", "i", "min", "i <= max", "i", "max", "i++", "i++", "i", "{\n if((i%K) == 0){\n result = 1;\n }else{\n continue;\n }\n }", "{\n if((i%K) == 0){\n result = 1;\n }else{\n continue;\n }\n }", "if((i%K) == 0){\n result = 1;\n }else{\n continue;\n }", "(i%K) == 0", "(i%K)", "i", "K", "0", "{\n result = 1;\n }", "result = 1", "result", "1", "{\n continue;\n }", "continue;", "if(result == 1){\n System.out.println(\"OK\");\n }else{\n System.out.println(\"NG\");\n }", "result == 1", "result", "1", "{\n System.out.println(\"OK\");\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "{\n System.out.println(\"NG\");\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String args[]", "args" ]
import java.util.*; import java.io.*; class Main{ public static void main(String args[])throws IOException{ try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){ int K = Integer.parseInt(br.readLine()); String[] tmp = br.readLine().split(" "); int A = Integer.parseInt(tmp[0]); int B = Integer.parseInt(tmp[1]); int max = Math.max(A, B); int min = Math.min(A, B); int result = 0; for(int i = min; i <= max; i++){ if((i%K) == 0){ result = 1; }else{ continue; } } if(result == 1){ System.out.println("OK"); }else{ System.out.println("NG"); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 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, 4, 18, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 13, 14, 2, 2, 13, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 3, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 3, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 94, 11 ], [ 94, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 32, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 40, 41 ], [ 14, 42 ], [ 42, 43 ], [ 42, 44 ], [ 14, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 50, 51 ], [ 50, 52 ], [ 45, 53 ], [ 53, 54 ], [ 54, 55 ], [ 45, 56 ], [ 57, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 57, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 68, 70 ], [ 63, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 71, 78 ], [ 57, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 83, 90 ], [ 12, 91 ], [ 91, 92 ], [ 0, 93 ], [ 93, 94 ], [ 93, 95 ] ]
[ "\nimport java.util.Scanner;\nimport java.util.Arrays;\nimport java.util.stream.*;\n\npublic class Main {\n public static void main(String[] args) {\n //コード\n Scanner scanner = new Scanner(System.in);\n Integer k = Integer.parseInt(scanner.next());\n Integer a = Integer.parseInt(scanner.next());\n Integer b = Integer.parseInt(scanner.next());\n\n\n int total = 0;\n for(int i = 1; i <= b; i++) {\n total = k * i;\n if(total >= a && total <= b) {\n System.out.println(\"OK\");\n break;\n }\n if(total >= b) {\n System.out.println(\"NG\");\n break;\n }\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.stream.*;", "stream.*", "java.util", "public class Main {\n public static void main(String[] args) {\n //コード\n Scanner scanner = new Scanner(System.in);\n Integer k = Integer.parseInt(scanner.next());\n Integer a = Integer.parseInt(scanner.next());\n Integer b = Integer.parseInt(scanner.next());\n\n\n int total = 0;\n for(int i = 1; i <= b; i++) {\n total = k * i;\n if(total >= a && total <= b) {\n System.out.println(\"OK\");\n break;\n }\n if(total >= b) {\n System.out.println(\"NG\");\n break;\n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n //コード\n Scanner scanner = new Scanner(System.in);\n Integer k = Integer.parseInt(scanner.next());\n Integer a = Integer.parseInt(scanner.next());\n Integer b = Integer.parseInt(scanner.next());\n\n\n int total = 0;\n for(int i = 1; i <= b; i++) {\n total = k * i;\n if(total >= a && total <= b) {\n System.out.println(\"OK\");\n break;\n }\n if(total >= b) {\n System.out.println(\"NG\");\n break;\n }\n }\n }", "main", "{\n //コード\n Scanner scanner = new Scanner(System.in);\n Integer k = Integer.parseInt(scanner.next());\n Integer a = Integer.parseInt(scanner.next());\n Integer b = Integer.parseInt(scanner.next());\n\n\n int total = 0;\n for(int i = 1; i <= b; i++) {\n total = k * i;\n if(total >= a && total <= b) {\n System.out.println(\"OK\");\n break;\n }\n if(total >= b) {\n System.out.println(\"NG\");\n break;\n }\n }\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "Integer k = Integer.parseInt(scanner.next());", "k", "Integer.parseInt(scanner.next())", "Integer.parseInt", "Integer", "scanner.next()", "scanner.next", "scanner", "Integer a = Integer.parseInt(scanner.next());", "a", "Integer.parseInt(scanner.next())", "Integer.parseInt", "Integer", "scanner.next()", "scanner.next", "scanner", "Integer b = Integer.parseInt(scanner.next());", "b", "Integer.parseInt(scanner.next())", "Integer.parseInt", "Integer", "scanner.next()", "scanner.next", "scanner", "int total = 0;", "total", "0", "for(int i = 1; i <= b; i++) {\n total = k * i;\n if(total >= a && total <= b) {\n System.out.println(\"OK\");\n break;\n }\n if(total >= b) {\n System.out.println(\"NG\");\n break;\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= b", "i", "b", "i++", "i++", "i", "{\n total = k * i;\n if(total >= a && total <= b) {\n System.out.println(\"OK\");\n break;\n }\n if(total >= b) {\n System.out.println(\"NG\");\n break;\n }\n }", "{\n total = k * i;\n if(total >= a && total <= b) {\n System.out.println(\"OK\");\n break;\n }\n if(total >= b) {\n System.out.println(\"NG\");\n break;\n }\n }", "total = k * i", "total", "k * i", "k", "i", "if(total >= a && total <= b) {\n System.out.println(\"OK\");\n break;\n }", "total >= a && total <= b", "total >= a", "total", "a", "total <= b", "total", "b", "{\n System.out.println(\"OK\");\n break;\n }", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "break;", "if(total >= b) {\n System.out.println(\"NG\");\n break;\n }", "total >= b", "total", "b", "{\n System.out.println(\"NG\");\n break;\n }", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "break;", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n //コード\n Scanner scanner = new Scanner(System.in);\n Integer k = Integer.parseInt(scanner.next());\n Integer a = Integer.parseInt(scanner.next());\n Integer b = Integer.parseInt(scanner.next());\n\n\n int total = 0;\n for(int i = 1; i <= b; i++) {\n total = k * i;\n if(total >= a && total <= b) {\n System.out.println(\"OK\");\n break;\n }\n if(total >= b) {\n System.out.println(\"NG\");\n break;\n }\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n //コード\n Scanner scanner = new Scanner(System.in);\n Integer k = Integer.parseInt(scanner.next());\n Integer a = Integer.parseInt(scanner.next());\n Integer b = Integer.parseInt(scanner.next());\n\n\n int total = 0;\n for(int i = 1; i <= b; i++) {\n total = k * i;\n if(total >= a && total <= b) {\n System.out.println(\"OK\");\n break;\n }\n if(total >= b) {\n System.out.println(\"NG\");\n break;\n }\n }\n }\n}", "Main" ]
import java.util.Scanner; import java.util.Arrays; import java.util.stream.*; public class Main { public static void main(String[] args) { //コード Scanner scanner = new Scanner(System.in); Integer k = Integer.parseInt(scanner.next()); Integer a = Integer.parseInt(scanner.next()); Integer b = Integer.parseInt(scanner.next()); int total = 0; for(int i = 1; i <= b; i++) { total = k * i; if(total >= a && total <= b) { System.out.println("OK"); break; } if(total >= b) { System.out.println("NG"); break; } } } }
[ 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, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 40, 13, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 43, 49 ], [ 49, 50 ], [ 8, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 51, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 6, 67 ], [ 67, 68 ] ]
[ "import java.util.Scanner;\nclass Main{\n public static void main (String[] args){\n Scanner stdIn = new Scanner(System.in);\n \n int K = stdIn.nextInt();\n int a = stdIn.nextInt();\n int b = stdIn.nextInt();\n \n int t = 0;\n for(int i = a;i <= b;i++){\n\t\t if(i % K == 0)\n t++;\n }\n if(t > 0)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main (String[] args){\n Scanner stdIn = new Scanner(System.in);\n \n int K = stdIn.nextInt();\n int a = stdIn.nextInt();\n int b = stdIn.nextInt();\n \n int t = 0;\n for(int i = a;i <= b;i++){\n\t\t if(i % K == 0)\n t++;\n }\n if(t > 0)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\n }\n}", "Main", "public static void main (String[] args){\n Scanner stdIn = new Scanner(System.in);\n \n int K = stdIn.nextInt();\n int a = stdIn.nextInt();\n int b = stdIn.nextInt();\n \n int t = 0;\n for(int i = a;i <= b;i++){\n\t\t if(i % K == 0)\n t++;\n }\n if(t > 0)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\n }", "main", "{\n Scanner stdIn = new Scanner(System.in);\n \n int K = stdIn.nextInt();\n int a = stdIn.nextInt();\n int b = stdIn.nextInt();\n \n int t = 0;\n for(int i = a;i <= b;i++){\n\t\t if(i % K == 0)\n t++;\n }\n if(t > 0)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");\n }", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "int K = stdIn.nextInt();", "K", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int a = stdIn.nextInt();", "a", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int b = stdIn.nextInt();", "b", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int t = 0;", "t", "0", "for(int i = a;i <= b;i++){\n\t\t if(i % K == 0)\n t++;\n }", "int i = a;", "int i = a;", "i", "a", "i <= b", "i", "b", "i++", "i++", "i", "{\n\t\t if(i % K == 0)\n t++;\n }", "{\n\t\t if(i % K == 0)\n t++;\n }", "if(i % K == 0)\n t++;", "i % K == 0", "i % K", "i", "K", "0", "t++", "t", "if(t > 0)\n System.out.println(\"OK\");\n else\n System.out.println(\"NG\");", "t > 0", "t", "0", "System.out.println(\"OK\")", "System.out.println", "System.out", "System", "System.out", "\"OK\"", "System.out.println(\"NG\")", "System.out.println", "System.out", "System", "System.out", "\"NG\"", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main (String[] args){ Scanner stdIn = new Scanner(System.in); int K = stdIn.nextInt(); int a = stdIn.nextInt(); int b = stdIn.nextInt(); int t = 0; for(int i = a;i <= b;i++){ if(i % K == 0) t++; } if(t > 0) System.out.println("OK"); else System.out.println("NG"); } }