node_ids
sequencelengths
4
1.4k
edge_index
sequencelengths
1
2.22k
text
sequencelengths
4
1.4k
source
stringlengths
14
427k
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 29, 30, 38, 5, 13, 30, 29, 30, 4, 18, 13, 30, 41, 13, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 17, 13, 23, 13, 12, 13, 30, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 4, 13, 13, 17, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 17, 2, 4, 18, 13, 17, 42, 2, 4, 18, 13, 4, 18, 13, 30, 0, 13, 17, 29, 4, 18, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 18, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 24, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 18, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 40, 41 ], [ 33, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 47, 50 ], [ 12, 51 ], [ 51, 52 ], [ 10, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 64, 65 ], [ 64, 66 ], [ 59, 67 ], [ 67, 68 ], [ 68, 69 ], [ 59, 70 ], [ 71, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 71, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 77, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 55, 91 ], [ 91, 92 ], [ 53, 93 ], [ 93, 94 ], [ 53, 95 ], [ 95, 96 ], [ 10, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 99, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 109, 110 ], [ 108, 111 ], [ 108, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 112, 116 ], [ 99, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 118, 122 ], [ 122, 123 ], [ 123, 124 ], [ 117, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 99, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 97, 134 ], [ 134, 135 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tint week = Integer.parseInt(br.readLine());\n\t\t\tSystem.out.println(calcAfterDebt(100000, week));\n\t\t}\n\t\tcatch(Exception e){\n\t\t\treturn;\n\t\t}\n\t\tfinally{\n\t\t\ttry {\n\t\t\t\tbr.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\t\n\tprivate static int calcAfterDebt(int base,int week)\n\t{\n\t\tint result = base;\n\t\tfor(int i=0;i<week;i++){\n\t\t\tresult = (int) (result*1.05);\n\t\t\tif(result % 1000 > 0){\n\t\t\t\tresult = cutThousand(result) + 1000;\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\n\tprivate static int cutThousand(int money){\n\t\tString str = Integer.toString(money);\n\t\tString str2 = str.substring(0, str.length() - 3);\n\t\twhile(str2.length() < str.length()){\n\t\t\tstr2 += \"0\";\n\t\t}\n\t\t\n\t\treturn Integer.parseInt(str2);\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tint week = Integer.parseInt(br.readLine());\n\t\t\tSystem.out.println(calcAfterDebt(100000, week));\n\t\t}\n\t\tcatch(Exception e){\n\t\t\treturn;\n\t\t}\n\t\tfinally{\n\t\t\ttry {\n\t\t\t\tbr.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\t\n\tprivate static int calcAfterDebt(int base,int week)\n\t{\n\t\tint result = base;\n\t\tfor(int i=0;i<week;i++){\n\t\t\tresult = (int) (result*1.05);\n\t\t\tif(result % 1000 > 0){\n\t\t\t\tresult = cutThousand(result) + 1000;\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\n\tprivate static int cutThousand(int money){\n\t\tString str = Integer.toString(money);\n\t\tString str2 = str.substring(0, str.length() - 3);\n\t\twhile(str2.length() < str.length()){\n\t\t\tstr2 += \"0\";\n\t\t}\n\t\t\n\t\treturn Integer.parseInt(str2);\n\t}\n}", "Main", "/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tint week = Integer.parseInt(br.readLine());\n\t\t\tSystem.out.println(calcAfterDebt(100000, week));\n\t\t}\n\t\tcatch(Exception e){\n\t\t\treturn;\n\t\t}\n\t\tfinally{\n\t\t\ttry {\n\t\t\t\tbr.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tint week = Integer.parseInt(br.readLine());\n\t\t\tSystem.out.println(calcAfterDebt(100000, week));\n\t\t}\n\t\tcatch(Exception e){\n\t\t\treturn;\n\t\t}\n\t\tfinally{\n\t\t\ttry {\n\t\t\t\tbr.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "try{\n\t\t\tint week = Integer.parseInt(br.readLine());\n\t\t\tSystem.out.println(calcAfterDebt(100000, week));\n\t\t}\n\t\tcatch(Exception e){\n\t\t\treturn;\n\t\t}\n\t\tfinally{\n\t\t\ttry {\n\t\t\t\tbr.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\treturn;\n\t\t\t}\n\t\t}", "catch(Exception e){\n\t\t\treturn;\n\t\t}", "Exception e", "{\n\t\t\treturn;\n\t\t}", "return;", "{\n\t\t\ttry {\n\t\t\t\tbr.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\treturn;\n\t\t\t}\n\t\t}", "try {\n\t\t\t\tbr.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\treturn;\n\t\t\t}", "catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\treturn;\n\t\t\t}", "IOException e", "{\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\treturn;\n\t\t\t}", "return;", "{\n\t\t\t\tbr.close();\n\t\t\t}", "br.close()", "br.close", "br", "{\n\t\t\tint week = Integer.parseInt(br.readLine());\n\t\t\tSystem.out.println(calcAfterDebt(100000, week));\n\t\t}", "int week = Integer.parseInt(br.readLine());", "week", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "System.out.println(calcAfterDebt(100000, week))", "System.out.println", "System.out", "System", "System.out", "calcAfterDebt(100000, week)", "calcAfterDebt", "100000", "week", "String[] args", "args", "private static int calcAfterDebt(int base,int week)\n\t{\n\t\tint result = base;\n\t\tfor(int i=0;i<week;i++){\n\t\t\tresult = (int) (result*1.05);\n\t\t\tif(result % 1000 > 0){\n\t\t\t\tresult = cutThousand(result) + 1000;\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "calcAfterDebt", "{\n\t\tint result = base;\n\t\tfor(int i=0;i<week;i++){\n\t\t\tresult = (int) (result*1.05);\n\t\t\tif(result % 1000 > 0){\n\t\t\t\tresult = cutThousand(result) + 1000;\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "int result = base;", "result", "base", "for(int i=0;i<week;i++){\n\t\t\tresult = (int) (result*1.05);\n\t\t\tif(result % 1000 > 0){\n\t\t\t\tresult = cutThousand(result) + 1000;\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<week", "i", "week", "i++", "i++", "i", "{\n\t\t\tresult = (int) (result*1.05);\n\t\t\tif(result % 1000 > 0){\n\t\t\t\tresult = cutThousand(result) + 1000;\n\t\t\t}\n\t\t}", "{\n\t\t\tresult = (int) (result*1.05);\n\t\t\tif(result % 1000 > 0){\n\t\t\t\tresult = cutThousand(result) + 1000;\n\t\t\t}\n\t\t}", "result = (int) (result*1.05)", "result", "(int) (result*1.05)", "result", "1.05", "if(result % 1000 > 0){\n\t\t\t\tresult = cutThousand(result) + 1000;\n\t\t\t}", "result % 1000 > 0", "result % 1000", "result", "1000", "0", "{\n\t\t\t\tresult = cutThousand(result) + 1000;\n\t\t\t}", "result = cutThousand(result) + 1000", "result", "cutThousand(result) + 1000", "cutThousand(result)", "cutThousand", "result", "1000", "return result;", "result", "int base", "base", "int week", "week", "private static int cutThousand(int money){\n\t\tString str = Integer.toString(money);\n\t\tString str2 = str.substring(0, str.length() - 3);\n\t\twhile(str2.length() < str.length()){\n\t\t\tstr2 += \"0\";\n\t\t}\n\t\t\n\t\treturn Integer.parseInt(str2);\n\t}", "cutThousand", "{\n\t\tString str = Integer.toString(money);\n\t\tString str2 = str.substring(0, str.length() - 3);\n\t\twhile(str2.length() < str.length()){\n\t\t\tstr2 += \"0\";\n\t\t}\n\t\t\n\t\treturn Integer.parseInt(str2);\n\t}", "String str = Integer.toString(money);", "str", "Integer.toString(money)", "Integer.toString", "Integer", "money", "String str2 = str.substring(0, str.length() - 3);", "str2", "str.substring(0, str.length() - 3)", "str.substring", "str", "0", "str.length() - 3", "str.length()", "str.length", "str", "3", "while(str2.length() < str.length()){\n\t\t\tstr2 += \"0\";\n\t\t}", "str2.length() < str.length()", "str2.length()", "str2.length", "str2", "str.length()", "str.length", "str", "{\n\t\t\tstr2 += \"0\";\n\t\t}", "str2 += \"0\"", "str2", "\"0\"", "return Integer.parseInt(str2);", "Integer.parseInt(str2)", "Integer.parseInt", "Integer", "str2", "int money", "money" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try{ int week = Integer.parseInt(br.readLine()); System.out.println(calcAfterDebt(100000, week)); } catch(Exception e){ return; } finally{ try { br.close(); } catch (IOException e) { // TODO Auto-generated catch block return; } } } private static int calcAfterDebt(int base,int week) { int result = base; for(int i=0;i<week;i++){ result = (int) (result*1.05); if(result % 1000 > 0){ result = cutThousand(result) + 1000; } } return result; } private static int cutThousand(int money){ String str = Integer.toString(money); String str2 = str.substring(0, str.length() - 3); while(str2.length() < str.length()){ str2 += "0"; } return Integer.parseInt(str2); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 17, 12, 13, 30, 41, 13, 20, 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, 17, 0, 13, 4, 18, 13, 2, 13, 17, 0, 13, 2, 13, 17, 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 ], [ 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 ], [ 11, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 23, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 35, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 35, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 11, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 9, 60 ], [ 60, 61 ], [ 0, 62 ], [ 62, 63 ], [ 62, 64 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\t// ????????????10??????\n\tpublic static int LOAN = 100000;\n\n\tpublic static void main(String[] args) {\n\n\t\t// ???????????????\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\t\tint input = sc.nextInt();\n\t\tdouble result = LOAN;\n\n\t\t// ?????±??????????¨????\n\t\tfor (int i = 0; input > i; i++) {\n\n\t\t\t// ??????????????????\n\t\t\tresult = result * 1.05;\n\n\t\t\t// 1000??§?????????????????\\??????????????????\n\t\t\tresult = Math.ceil(result / 1000);\n\t\t\t// ?????????????????????\n\t\t\tresult = result * 1000;\n\t\t}\n\t\tSystem.out.println((int) result);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\t// ????????????10??????\n\tpublic static int LOAN = 100000;\n\n\tpublic static void main(String[] args) {\n\n\t\t// ???????????????\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\t\tint input = sc.nextInt();\n\t\tdouble result = LOAN;\n\n\t\t// ?????±??????????¨????\n\t\tfor (int i = 0; input > i; i++) {\n\n\t\t\t// ??????????????????\n\t\t\tresult = result * 1.05;\n\n\t\t\t// 1000??§?????????????????\\??????????????????\n\t\t\tresult = Math.ceil(result / 1000);\n\t\t\t// ?????????????????????\n\t\t\tresult = result * 1000;\n\t\t}\n\t\tSystem.out.println((int) result);\n\t}\n}", "Main", "// ????????????10??????\n\tpublic static int LOAN = 100000;", "LOAN", "100000", "public static void main(String[] args) {\n\n\t\t// ???????????????\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\t\tint input = sc.nextInt();\n\t\tdouble result = LOAN;\n\n\t\t// ?????±??????????¨????\n\t\tfor (int i = 0; input > i; i++) {\n\n\t\t\t// ??????????????????\n\t\t\tresult = result * 1.05;\n\n\t\t\t// 1000??§?????????????????\\??????????????????\n\t\t\tresult = Math.ceil(result / 1000);\n\t\t\t// ?????????????????????\n\t\t\tresult = result * 1000;\n\t\t}\n\t\tSystem.out.println((int) result);\n\t}", "main", "{\n\n\t\t// ???????????????\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\t\tint input = sc.nextInt();\n\t\tdouble result = LOAN;\n\n\t\t// ?????±??????????¨????\n\t\tfor (int i = 0; input > i; i++) {\n\n\t\t\t// ??????????????????\n\t\t\tresult = result * 1.05;\n\n\t\t\t// 1000??§?????????????????\\??????????????????\n\t\t\tresult = Math.ceil(result / 1000);\n\t\t\t// ?????????????????????\n\t\t\tresult = result * 1000;\n\t\t}\n\t\tSystem.out.println((int) result);\n\t}", "@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int input = sc.nextInt();", "input", "sc.nextInt()", "sc.nextInt", "sc", "double result = LOAN;", "result", "LOAN", "for (int i = 0; input > i; i++) {\n\n\t\t\t// ??????????????????\n\t\t\tresult = result * 1.05;\n\n\t\t\t// 1000??§?????????????????\\??????????????????\n\t\t\tresult = Math.ceil(result / 1000);\n\t\t\t// ?????????????????????\n\t\t\tresult = result * 1000;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "input > i", "input", "i", "i++", "i++", "i", "{\n\n\t\t\t// ??????????????????\n\t\t\tresult = result * 1.05;\n\n\t\t\t// 1000??§?????????????????\\??????????????????\n\t\t\tresult = Math.ceil(result / 1000);\n\t\t\t// ?????????????????????\n\t\t\tresult = result * 1000;\n\t\t}", "{\n\n\t\t\t// ??????????????????\n\t\t\tresult = result * 1.05;\n\n\t\t\t// 1000??§?????????????????\\??????????????????\n\t\t\tresult = Math.ceil(result / 1000);\n\t\t\t// ?????????????????????\n\t\t\tresult = result * 1000;\n\t\t}", "result = result * 1.05", "result", "result * 1.05", "result", "1.05", "result = Math.ceil(result / 1000)", "result", "Math.ceil(result / 1000)", "Math.ceil", "Math", "result / 1000", "result", "1000", "result = result * 1000", "result", "result * 1000", "result", "1000", "System.out.println((int) result)", "System.out.println", "System.out", "System", "System.out", "(int) result", "String[] args", "args", "public class Main {\n\n\t// ????????????10??????\n\tpublic static int LOAN = 100000;\n\n\tpublic static void main(String[] args) {\n\n\t\t// ???????????????\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\t\tint input = sc.nextInt();\n\t\tdouble result = LOAN;\n\n\t\t// ?????±??????????¨????\n\t\tfor (int i = 0; input > i; i++) {\n\n\t\t\t// ??????????????????\n\t\t\tresult = result * 1.05;\n\n\t\t\t// 1000??§?????????????????\\??????????????????\n\t\t\tresult = Math.ceil(result / 1000);\n\t\t\t// ?????????????????????\n\t\t\tresult = result * 1000;\n\t\t}\n\t\tSystem.out.println((int) result);\n\t}\n}", "public class Main {\n\n\t// ????????????10??????\n\tpublic static int LOAN = 100000;\n\n\tpublic static void main(String[] args) {\n\n\t\t// ???????????????\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\t\tint input = sc.nextInt();\n\t\tdouble result = LOAN;\n\n\t\t// ?????±??????????¨????\n\t\tfor (int i = 0; input > i; i++) {\n\n\t\t\t// ??????????????????\n\t\t\tresult = result * 1.05;\n\n\t\t\t// 1000??§?????????????????\\??????????????????\n\t\t\tresult = Math.ceil(result / 1000);\n\t\t\t// ?????????????????????\n\t\t\tresult = result * 1000;\n\t\t}\n\t\tSystem.out.println((int) result);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { // ????????????10?????? public static int LOAN = 100000; public static void main(String[] args) { // ??????????????? @SuppressWarnings("resource") Scanner sc = new Scanner(System.in); int input = sc.nextInt(); double result = LOAN; // ?????±??????????¨???? for (int i = 0; input > i; i++) { // ?????????????????? result = result * 1.05; // 1000??§?????????????????\?????????????????? result = Math.ceil(result / 1000); // ????????????????????? result = result * 1000; } System.out.println((int) result); } }
[ 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, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 2, 2, 13, 17, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 72, 11 ], [ 72, 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 ], [ 14, 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 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 56, 62 ], [ 14, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 12, 69 ], [ 69, 70 ], [ 0, 71 ], [ 71, 72 ], [ 71, 73 ] ]
[ "\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint init = 100000;\n\t\tfor(int i = 0; i < n;i++){\n\t\t\tinit = (int) ((int) init * 1.05);\n\t\t\tif(init%1000 != 0){\n\t\t\t\tinit = ((init / 1000)+1) *1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(init);\n\t\t\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint init = 100000;\n\t\tfor(int i = 0; i < n;i++){\n\t\t\tinit = (int) ((int) init * 1.05);\n\t\t\tif(init%1000 != 0){\n\t\t\t\tinit = ((init / 1000)+1) *1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(init);\n\t\t\n\t}\n\n}", "Main", "public static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint init = 100000;\n\t\tfor(int i = 0; i < n;i++){\n\t\t\tinit = (int) ((int) init * 1.05);\n\t\t\tif(init%1000 != 0){\n\t\t\t\tinit = ((init / 1000)+1) *1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(init);\n\t\t\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint init = 100000;\n\t\tfor(int i = 0; i < n;i++){\n\t\t\tinit = (int) ((int) init * 1.05);\n\t\t\tif(init%1000 != 0){\n\t\t\t\tinit = ((init / 1000)+1) *1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(init);\n\t\t\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "int init = 100000;", "init", "100000", "for(int i = 0; i < n;i++){\n\t\t\tinit = (int) ((int) init * 1.05);\n\t\t\tif(init%1000 != 0){\n\t\t\t\tinit = ((init / 1000)+1) *1000;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tinit = (int) ((int) init * 1.05);\n\t\t\tif(init%1000 != 0){\n\t\t\t\tinit = ((init / 1000)+1) *1000;\n\t\t\t}\n\t\t}", "{\n\t\t\tinit = (int) ((int) init * 1.05);\n\t\t\tif(init%1000 != 0){\n\t\t\t\tinit = ((init / 1000)+1) *1000;\n\t\t\t}\n\t\t}", "init = (int) ((int) init * 1.05)", "init", "(int) ((int) init * 1.05)", "(int) init", "1.05", "if(init%1000 != 0){\n\t\t\t\tinit = ((init / 1000)+1) *1000;\n\t\t\t}", "init%1000 != 0", "init%1000", "init", "1000", "0", "{\n\t\t\t\tinit = ((init / 1000)+1) *1000;\n\t\t\t}", "init = ((init / 1000)+1) *1000", "init", "((init / 1000)+1) *1000", "((init / 1000)+1)", "(init / 1000)", "init", "1000", "1", "1000", "System.out.println(init)", "System.out.println", "System.out", "System", "System.out", "init", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint init = 100000;\n\t\tfor(int i = 0; i < n;i++){\n\t\t\tinit = (int) ((int) init * 1.05);\n\t\t\tif(init%1000 != 0){\n\t\t\t\tinit = ((init / 1000)+1) *1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(init);\n\t\t\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint init = 100000;\n\t\tfor(int i = 0; i < n;i++){\n\t\t\tinit = (int) ((int) init * 1.05);\n\t\t\tif(init%1000 != 0){\n\t\t\t\tinit = ((init / 1000)+1) *1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(init);\n\t\t\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws NumberFormatException, IOException { // TODO Auto-generated method stub BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); int init = 100000; for(int i = 0; i < n;i++){ init = (int) ((int) init * 1.05); if(init%1000 != 0){ init = ((init / 1000)+1) *1000; } } System.out.println(init); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 2, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 2, 4, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 72, 5 ], [ 72, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 42, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 55, 57 ], [ 8, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 63, 68 ], [ 6, 69 ], [ 69, 70 ], [ 0, 71 ], [ 71, 72 ], [ 71, 73 ] ]
[ "import java.io.*;\n\npublic class Main{\n\tpublic static void main(String argv[]) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tint weeks = Integer.parseInt(line);\n\t\tfloat debt = 100000;\n\t\tfor(int i=0; i<weeks; i++){\n\t\t\tdebt *= 1.05f;\n\t\t\tif((debt % 1000) > 0.0){\n\t\t\t\tdebt = debt+1000-debt%1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(Integer.toString((int)debt)+\"\\n\");\n\t}\n}", "import java.io.*;", "io.*", "java", "public class Main{\n\tpublic static void main(String argv[]) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tint weeks = Integer.parseInt(line);\n\t\tfloat debt = 100000;\n\t\tfor(int i=0; i<weeks; i++){\n\t\t\tdebt *= 1.05f;\n\t\t\tif((debt % 1000) > 0.0){\n\t\t\t\tdebt = debt+1000-debt%1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(Integer.toString((int)debt)+\"\\n\");\n\t}\n}", "Main", "public static void main(String argv[]) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tint weeks = Integer.parseInt(line);\n\t\tfloat debt = 100000;\n\t\tfor(int i=0; i<weeks; i++){\n\t\t\tdebt *= 1.05f;\n\t\t\tif((debt % 1000) > 0.0){\n\t\t\t\tdebt = debt+1000-debt%1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(Integer.toString((int)debt)+\"\\n\");\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tint weeks = Integer.parseInt(line);\n\t\tfloat debt = 100000;\n\t\tfor(int i=0; i<weeks; i++){\n\t\t\tdebt *= 1.05f;\n\t\t\tif((debt % 1000) > 0.0){\n\t\t\t\tdebt = debt+1000-debt%1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(Integer.toString((int)debt)+\"\\n\");\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "int weeks = Integer.parseInt(line);", "weeks", "Integer.parseInt(line)", "Integer.parseInt", "Integer", "line", "float debt = 100000;", "debt", "100000", "for(int i=0; i<weeks; i++){\n\t\t\tdebt *= 1.05f;\n\t\t\tif((debt % 1000) > 0.0){\n\t\t\t\tdebt = debt+1000-debt%1000;\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<weeks", "i", "weeks", "i++", "i++", "i", "{\n\t\t\tdebt *= 1.05f;\n\t\t\tif((debt % 1000) > 0.0){\n\t\t\t\tdebt = debt+1000-debt%1000;\n\t\t\t}\n\t\t}", "{\n\t\t\tdebt *= 1.05f;\n\t\t\tif((debt % 1000) > 0.0){\n\t\t\t\tdebt = debt+1000-debt%1000;\n\t\t\t}\n\t\t}", "debt *= 1.05f", "debt", "1.05f", "if((debt % 1000) > 0.0){\n\t\t\t\tdebt = debt+1000-debt%1000;\n\t\t\t}", "(debt % 1000) > 0.0", "(debt % 1000)", "debt", "1000", "0.0", "{\n\t\t\t\tdebt = debt+1000-debt%1000;\n\t\t\t}", "debt = debt+1000-debt%1000", "debt", "debt+1000-debt%1000", "debt+1000", "debt", "1000", "debt%1000", "debt", "1000", "System.out.print(Integer.toString((int)debt)+\"\\n\")", "System.out.print", "System.out", "System", "System.out", "Integer.toString((int)debt)+\"\\n\"", "Integer.toString((int)debt)", "Integer.toString", "Integer", "(int)debt", "\"\\n\"", "String argv[]", "argv", "public class Main{\n\tpublic static void main(String argv[]) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tint weeks = Integer.parseInt(line);\n\t\tfloat debt = 100000;\n\t\tfor(int i=0; i<weeks; i++){\n\t\t\tdebt *= 1.05f;\n\t\t\tif((debt % 1000) > 0.0){\n\t\t\t\tdebt = debt+1000-debt%1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(Integer.toString((int)debt)+\"\\n\");\n\t}\n}", "public class Main{\n\tpublic static void main(String argv[]) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tint weeks = Integer.parseInt(line);\n\t\tfloat debt = 100000;\n\t\tfor(int i=0; i<weeks; i++){\n\t\t\tdebt *= 1.05f;\n\t\t\tif((debt % 1000) > 0.0){\n\t\t\t\tdebt = debt+1000-debt%1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(Integer.toString((int)debt)+\"\\n\");\n\t}\n}", "Main" ]
import java.io.*; public class Main{ public static void main(String argv[]) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); int weeks = Integer.parseInt(line); float debt = 100000; for(int i=0; i<weeks; i++){ debt *= 1.05f; if((debt % 1000) > 0.0){ debt = debt+1000-debt%1000; } } System.out.print(Integer.toString((int)debt)+"\n"); } }
[ 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, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 17, 4, 18, 13, 2, 2, 13, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 63, 11 ], [ 63, 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 ], [ 14, 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 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 14, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 12, 60 ], [ 60, 61 ], [ 0, 62 ], [ 62, 63 ], [ 62, 64 ] ]
[ "import java.io.InputStreamReader;\nimport java.io.BufferedReader;\nimport java.io.IOException;\n\npublic class Main {\n public static void main(String args[] ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n double sum = 100000;\n\n for (int i = 0;i < n; i++) {\n sum = (1000 * Math.ceil((sum * 1.05) * 0.001));\n }\n\n System.out.println((int)sum);\n }\n}", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "public class Main {\n public static void main(String args[] ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n double sum = 100000;\n\n for (int i = 0;i < n; i++) {\n sum = (1000 * Math.ceil((sum * 1.05) * 0.001));\n }\n\n System.out.println((int)sum);\n }\n}", "Main", "public static void main(String args[] ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n double sum = 100000;\n\n for (int i = 0;i < n; i++) {\n sum = (1000 * Math.ceil((sum * 1.05) * 0.001));\n }\n\n System.out.println((int)sum);\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n double sum = 100000;\n\n for (int i = 0;i < n; i++) {\n sum = (1000 * Math.ceil((sum * 1.05) * 0.001));\n }\n\n System.out.println((int)sum);\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "double sum = 100000;", "sum", "100000", "for (int i = 0;i < n; i++) {\n sum = (1000 * Math.ceil((sum * 1.05) * 0.001));\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n sum = (1000 * Math.ceil((sum * 1.05) * 0.001));\n }", "{\n sum = (1000 * Math.ceil((sum * 1.05) * 0.001));\n }", "sum = (1000 * Math.ceil((sum * 1.05) * 0.001))", "sum", "(1000 * Math.ceil((sum * 1.05) * 0.001))", "1000", "Math.ceil((sum * 1.05) * 0.001)", "Math.ceil", "Math", "(sum * 1.05) * 0.001", "(sum * 1.05)", "sum", "1.05", "0.001", "System.out.println((int)sum)", "System.out.println", "System.out", "System", "System.out", "(int)sum", "String args[]", "args", "public class Main {\n public static void main(String args[] ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n double sum = 100000;\n\n for (int i = 0;i < n; i++) {\n sum = (1000 * Math.ceil((sum * 1.05) * 0.001));\n }\n\n System.out.println((int)sum);\n }\n}", "public class Main {\n public static void main(String args[] ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n double sum = 100000;\n\n for (int i = 0;i < n; i++) {\n sum = (1000 * Math.ceil((sum * 1.05) * 0.001));\n }\n\n System.out.println((int)sum);\n }\n}", "Main" ]
import java.io.InputStreamReader; import java.io.BufferedReader; import java.io.IOException; public class Main { public static void main(String args[] ) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); double sum = 100000; for (int i = 0;i < n; i++) { sum = (1000 * Math.ceil((sum * 1.05) * 0.001)); } System.out.println((int)sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 20, 14, 2, 0, 13, 4, 18, 13, 17, 29, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 14, 2, 2, 13, 17, 17, 0, 13, 17, 0, 13, 2, 2, 13, 17, 17, 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 ], [ 8, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 16, 22 ], [ 15, 23 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 8, 33 ], [ 33, 34 ], [ 33, 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 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 52, 58 ], [ 58, 59 ], [ 58, 60 ], [ 48, 61 ], [ 61, 62 ], [ 61, 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.io.*;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tString str = \"\";\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\tif((str=bf.readLine())==null)return;\n\t\tbf.close();\n\t\tint n=Integer.parseInt(str);\n\t\tint c=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tc*=1.05;\n\t\t\tif(c%1000!=0)c+=1000;\n\t\t\tc=(c/1000)*1000;\n\t\t}\n\t\tSystem.out.println(c);\n\t}\n}", "import java.io.*;", "io.*", "java", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tString str = \"\";\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\tif((str=bf.readLine())==null)return;\n\t\tbf.close();\n\t\tint n=Integer.parseInt(str);\n\t\tint c=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tc*=1.05;\n\t\t\tif(c%1000!=0)c+=1000;\n\t\t\tc=(c/1000)*1000;\n\t\t}\n\t\tSystem.out.println(c);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tString str = \"\";\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\tif((str=bf.readLine())==null)return;\n\t\tbf.close();\n\t\tint n=Integer.parseInt(str);\n\t\tint c=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tc*=1.05;\n\t\t\tif(c%1000!=0)c+=1000;\n\t\t\tc=(c/1000)*1000;\n\t\t}\n\t\tSystem.out.println(c);\n\t}", "main", "{\n\t\tString str = \"\";\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\tif((str=bf.readLine())==null)return;\n\t\tbf.close();\n\t\tint n=Integer.parseInt(str);\n\t\tint c=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tc*=1.05;\n\t\t\tif(c%1000!=0)c+=1000;\n\t\t\tc=(c/1000)*1000;\n\t\t}\n\t\tSystem.out.println(c);\n\t}", "String str = \"\";", "str", "\"\"", "BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));", "bf", "new BufferedReader(new InputStreamReader(System.in))", "if((str=bf.readLine())==null)return;", "(str=bf.readLine())==null", "(str=bf.readLine())", "str", "bf.readLine()", "bf.readLine", "bf", "null", "return;", "bf.close()", "bf.close", "bf", "int n=Integer.parseInt(str);", "n", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "int c=100000;", "c", "100000", "for(int i=0;i<n;i++){\n\t\t\tc*=1.05;\n\t\t\tif(c%1000!=0)c+=1000;\n\t\t\tc=(c/1000)*1000;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tc*=1.05;\n\t\t\tif(c%1000!=0)c+=1000;\n\t\t\tc=(c/1000)*1000;\n\t\t}", "{\n\t\t\tc*=1.05;\n\t\t\tif(c%1000!=0)c+=1000;\n\t\t\tc=(c/1000)*1000;\n\t\t}", "c*=1.05", "c", "1.05", "if(c%1000!=0)c+=1000;", "c%1000!=0", "c%1000", "c", "1000", "0", "c+=1000", "c", "1000", "c=(c/1000)*1000", "c", "(c/1000)*1000", "(c/1000)", "c", "1000", "1000", "System.out.println(c)", "System.out.println", "System.out", "System", "System.out", "c", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tString str = \"\";\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\tif((str=bf.readLine())==null)return;\n\t\tbf.close();\n\t\tint n=Integer.parseInt(str);\n\t\tint c=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tc*=1.05;\n\t\t\tif(c%1000!=0)c+=1000;\n\t\t\tc=(c/1000)*1000;\n\t\t}\n\t\tSystem.out.println(c);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tString str = \"\";\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\t\tif((str=bf.readLine())==null)return;\n\t\tbf.close();\n\t\tint n=Integer.parseInt(str);\n\t\tint c=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tc*=1.05;\n\t\t\tif(c%1000!=0)c+=1000;\n\t\t\tc=(c/1000)*1000;\n\t\t}\n\t\tSystem.out.println(c);\n\t}\n}", "Main" ]
import java.io.*; public class Main { public static void main(String[] args) throws IOException { String str = ""; BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); if((str=bf.readLine())==null)return; bf.close(); int n=Integer.parseInt(str); int c=100000; for(int i=0;i<n;i++){ c*=1.05; if(c%1000!=0)c+=1000; c=(c/1000)*1000; } System.out.println(c); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 12, 13, 30, 41, 13, 4, 18, 20, 41, 13, 17, 41, 13, 20, 41, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 20, 40, 17, 18, 13, 13, 0, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 77, 14 ], [ 77, 15 ], [ 15, 16 ], [ 15, 17 ], [ 77, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 20, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 20, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 38, 46 ], [ 46, 47 ], [ 47, 48 ], [ 38, 49 ], [ 50, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 56, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 50, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 20, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 72, 73 ], [ 18, 74 ], [ 74, 75 ], [ 0, 76 ], [ 76, 77 ], [ 76, 78 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\n\npublic class Main {\n\n private static final double TAX = 1.05;\n\n /**\n * <p> [??????] n ?????\\???????????¨??????n ??±????????????????????????????????????????????????????????°?????????n ??? 100 ??\\??????</p>\n * <p> [??¬???] ???????????????</p>\n * <p> [??????] ???????????????</p>\n * @param args\n * @throws IOException\n */\n public static void main(String[] args) throws IOException {\n\n String week = new BufferedReader(new InputStreamReader(System.in)).readLine();\n\n double totalAmount = 100000;\n BigDecimal returnAmount = new BigDecimal(totalAmount);\n int i = Integer.parseInt(week);\n\n // ??\\??????????????°???????????????????¢?????????????\n for (int count = 0; count < i; count++) {\n returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP);\n totalAmount = returnAmount.doubleValue();\n }\n // ???????????????????????????\n System.out.println(returnAmount.intValue());\n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.math.BigDecimal;", "BigDecimal", "java.math", "public class Main {\n\n private static final double TAX = 1.05;\n\n /**\n * <p> [??????] n ?????\\???????????¨??????n ??±????????????????????????????????????????????????????????°?????????n ??? 100 ??\\??????</p>\n * <p> [??¬???] ???????????????</p>\n * <p> [??????] ???????????????</p>\n * @param args\n * @throws IOException\n */\n public static void main(String[] args) throws IOException {\n\n String week = new BufferedReader(new InputStreamReader(System.in)).readLine();\n\n double totalAmount = 100000;\n BigDecimal returnAmount = new BigDecimal(totalAmount);\n int i = Integer.parseInt(week);\n\n // ??\\??????????????°???????????????????¢?????????????\n for (int count = 0; count < i; count++) {\n returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP);\n totalAmount = returnAmount.doubleValue();\n }\n // ???????????????????????????\n System.out.println(returnAmount.intValue());\n }\n\n}", "Main", "private static final double TAX = 1.05;", "TAX", "1.05", "/**\n * <p> [??????] n ?????\\???????????¨??????n ??±????????????????????????????????????????????????????????°?????????n ??? 100 ??\\??????</p>\n * <p> [??¬???] ???????????????</p>\n * <p> [??????] ???????????????</p>\n * @param args\n * @throws IOException\n */\n public static void main(String[] args) throws IOException {\n\n String week = new BufferedReader(new InputStreamReader(System.in)).readLine();\n\n double totalAmount = 100000;\n BigDecimal returnAmount = new BigDecimal(totalAmount);\n int i = Integer.parseInt(week);\n\n // ??\\??????????????°???????????????????¢?????????????\n for (int count = 0; count < i; count++) {\n returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP);\n totalAmount = returnAmount.doubleValue();\n }\n // ???????????????????????????\n System.out.println(returnAmount.intValue());\n }", "main", "{\n\n String week = new BufferedReader(new InputStreamReader(System.in)).readLine();\n\n double totalAmount = 100000;\n BigDecimal returnAmount = new BigDecimal(totalAmount);\n int i = Integer.parseInt(week);\n\n // ??\\??????????????°???????????????????¢?????????????\n for (int count = 0; count < i; count++) {\n returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP);\n totalAmount = returnAmount.doubleValue();\n }\n // ???????????????????????????\n System.out.println(returnAmount.intValue());\n }", "String week = new BufferedReader(new InputStreamReader(System.in)).readLine();", "week", "new BufferedReader(new InputStreamReader(System.in)).readLine()", "new BufferedReader(new InputStreamReader(System.in)).readLine", "new BufferedReader(new InputStreamReader(System.in))", "double totalAmount = 100000;", "totalAmount", "100000", "BigDecimal returnAmount = new BigDecimal(totalAmount);", "returnAmount", "new BigDecimal(totalAmount)", "int i = Integer.parseInt(week);", "i", "Integer.parseInt(week)", "Integer.parseInt", "Integer", "week", "for (int count = 0; count < i; count++) {\n returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP);\n totalAmount = returnAmount.doubleValue();\n }", "int count = 0;", "int count = 0;", "count", "0", "count < i", "count", "i", "count++", "count++", "count", "{\n returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP);\n totalAmount = returnAmount.doubleValue();\n }", "{\n returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP);\n totalAmount = returnAmount.doubleValue();\n }", "returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP)", "returnAmount", "new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP)", "new BigDecimal(totalAmount * TAX).setScale", "new BigDecimal(totalAmount * TAX)", "-3", "3", "BigDecimal.ROUND_UP", "BigDecimal", "BigDecimal.ROUND_UP", "totalAmount = returnAmount.doubleValue()", "totalAmount", "returnAmount.doubleValue()", "returnAmount.doubleValue", "returnAmount", "System.out.println(returnAmount.intValue())", "System.out.println", "System.out", "System", "System.out", "returnAmount.intValue()", "returnAmount.intValue", "returnAmount", "String[] args", "args", "public class Main {\n\n private static final double TAX = 1.05;\n\n /**\n * <p> [??????] n ?????\\???????????¨??????n ??±????????????????????????????????????????????????????????°?????????n ??? 100 ??\\??????</p>\n * <p> [??¬???] ???????????????</p>\n * <p> [??????] ???????????????</p>\n * @param args\n * @throws IOException\n */\n public static void main(String[] args) throws IOException {\n\n String week = new BufferedReader(new InputStreamReader(System.in)).readLine();\n\n double totalAmount = 100000;\n BigDecimal returnAmount = new BigDecimal(totalAmount);\n int i = Integer.parseInt(week);\n\n // ??\\??????????????°???????????????????¢?????????????\n for (int count = 0; count < i; count++) {\n returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP);\n totalAmount = returnAmount.doubleValue();\n }\n // ???????????????????????????\n System.out.println(returnAmount.intValue());\n }\n\n}", "public class Main {\n\n private static final double TAX = 1.05;\n\n /**\n * <p> [??????] n ?????\\???????????¨??????n ??±????????????????????????????????????????????????????????°?????????n ??? 100 ??\\??????</p>\n * <p> [??¬???] ???????????????</p>\n * <p> [??????] ???????????????</p>\n * @param args\n * @throws IOException\n */\n public static void main(String[] args) throws IOException {\n\n String week = new BufferedReader(new InputStreamReader(System.in)).readLine();\n\n double totalAmount = 100000;\n BigDecimal returnAmount = new BigDecimal(totalAmount);\n int i = Integer.parseInt(week);\n\n // ??\\??????????????°???????????????????¢?????????????\n for (int count = 0; count < i; count++) {\n returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP);\n totalAmount = returnAmount.doubleValue();\n }\n // ???????????????????????????\n System.out.println(returnAmount.intValue());\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigDecimal; public class Main { private static final double TAX = 1.05; /** * <p> [??????] n ?????\???????????¨??????n ??±????????????????????????????????????????????????????????°?????????n ??? 100 ??\??????</p> * <p> [??¬???] ???????????????</p> * <p> [??????] ???????????????</p> * @param args * @throws IOException */ public static void main(String[] args) throws IOException { String week = new BufferedReader(new InputStreamReader(System.in)).readLine(); double totalAmount = 100000; BigDecimal returnAmount = new BigDecimal(totalAmount); int i = Integer.parseInt(week); // ??\??????????????°???????????????????¢????????????? for (int count = 0; count < i; count++) { returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP); totalAmount = returnAmount.doubleValue(); } // ??????????????????????????? System.out.println(returnAmount.intValue()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 2, 13, 17, 4, 18, 18, 13, 13, 2, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 38, 39 ], [ 38, 40 ], [ 8, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 6, 49 ], [ 49, 50 ] ]
[ "import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n int debt=100;\n \n \n \n for(int i=1; i<=n; i++){\n \n debt=(int)Math.ceil(debt*1.05);\n \n }\n \n System.out.println(debt*1000);\n \n }\n }\n ", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n int debt=100;\n \n \n \n for(int i=1; i<=n; i++){\n \n debt=(int)Math.ceil(debt*1.05);\n \n }\n \n System.out.println(debt*1000);\n \n }\n }", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n int debt=100;\n \n \n \n for(int i=1; i<=n; i++){\n \n debt=(int)Math.ceil(debt*1.05);\n \n }\n \n System.out.println(debt*1000);\n \n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n int debt=100;\n \n \n \n for(int i=1; i<=n; i++){\n \n debt=(int)Math.ceil(debt*1.05);\n \n }\n \n System.out.println(debt*1000);\n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int debt=100;", "debt", "100", "for(int i=1; i<=n; i++){\n \n debt=(int)Math.ceil(debt*1.05);\n \n }", "int i=1;", "int i=1;", "i", "1", "i<=n", "i", "n", "i++", "i++", "i", "{\n \n debt=(int)Math.ceil(debt*1.05);\n \n }", "{\n \n debt=(int)Math.ceil(debt*1.05);\n \n }", "debt=(int)Math.ceil(debt*1.05)", "debt", "(int)Math.ceil(debt*1.05)", "Math.ceil", "Math", "debt*1.05", "debt", "1.05", "System.out.println(debt*1000)", "System.out.println", "System.out", "System", "System.out", "debt*1000", "debt", "1000", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n=sc.nextInt(); int debt=100; for(int i=1; i<=n; i++){ debt=(int)Math.ceil(debt*1.05); } System.out.println(debt*1000); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 2, 13, 13, 4, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 58, 5 ], [ 58, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 6, 55 ], [ 55, 56 ], [ 0, 57 ], [ 57, 58 ], [ 57, 59 ] ]
[ "import java.io.*;\npublic class Main {\n\n\tpublic static void main (String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tdouble interest = 1.05; \n\t\tdouble debt = 100;\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdebt = Math.ceil(debt * interest);\n\t\t}\n\t\t\n\t\tSystem.out.println((int)(debt * 1000));\n\t}\n}", "import java.io.*;", "io.*", "java", "public class Main {\n\n\tpublic static void main (String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tdouble interest = 1.05; \n\t\tdouble debt = 100;\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdebt = Math.ceil(debt * interest);\n\t\t}\n\t\t\n\t\tSystem.out.println((int)(debt * 1000));\n\t}\n}", "Main", "public static void main (String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tdouble interest = 1.05; \n\t\tdouble debt = 100;\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdebt = Math.ceil(debt * interest);\n\t\t}\n\t\t\n\t\tSystem.out.println((int)(debt * 1000));\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tdouble interest = 1.05; \n\t\tdouble debt = 100;\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdebt = Math.ceil(debt * interest);\n\t\t}\n\t\t\n\t\tSystem.out.println((int)(debt * 1000));\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "double interest = 1.05;", "interest", "1.05", "double debt = 100;", "debt", "100", "for (int i = 0; i < n; i++) {\n\t\t\tdebt = Math.ceil(debt * interest);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tdebt = Math.ceil(debt * interest);\n\t\t}", "{\n\t\t\tdebt = Math.ceil(debt * interest);\n\t\t}", "debt = Math.ceil(debt * interest)", "debt", "Math.ceil(debt * interest)", "Math.ceil", "Math", "debt * interest", "debt", "interest", "System.out.println((int)(debt * 1000))", "System.out.println", "System.out", "System", "System.out", "(int)(debt * 1000)", "debt", "1000", "String[] args", "args", "public class Main {\n\n\tpublic static void main (String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tdouble interest = 1.05; \n\t\tdouble debt = 100;\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdebt = Math.ceil(debt * interest);\n\t\t}\n\t\t\n\t\tSystem.out.println((int)(debt * 1000));\n\t}\n}", "public class Main {\n\n\tpublic static void main (String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tdouble interest = 1.05; \n\t\tdouble debt = 100;\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdebt = Math.ceil(debt * interest);\n\t\t}\n\t\t\n\t\tSystem.out.println((int)(debt * 1000));\n\t}\n}", "Main" ]
import java.io.*; public class Main { public static void main (String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); double interest = 1.05; double debt = 100; for (int i = 0; i < n; i++) { debt = Math.ceil(debt * interest); } System.out.println((int)(debt * 1000)); } }
[ 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, 17, 38, 30, 14, 2, 13, 17, 4, 18, 13, 0, 13, 17, 30, 0, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 17, 17, 13, 23, 13, 12, 13, 30, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 2, 13, 13, 17, 0, 13, 4, 13, 13, 17, 29, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 17, 41, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 2, 4, 18, 13, 13, 4, 18, 13, 14, 2, 4, 18, 13, 13, 17, 30, 0, 13, 2, 2, 13, 4, 18, 13, 13, 4, 18, 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 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 177, 20 ], [ 177, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 34, 35 ], [ 28, 36 ], [ 36, 37 ], [ 36, 38 ], [ 27, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 49, 50 ], [ 39, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 56, 59 ], [ 56, 60 ], [ 21, 61 ], [ 61, 62 ], [ 177, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 77, 78 ], [ 78, 79 ], [ 69, 80 ], [ 81, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 81, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 91, 93 ], [ 91, 94 ], [ 65, 95 ], [ 95, 96 ], [ 63, 97 ], [ 97, 98 ], [ 63, 99 ], [ 99, 100 ], [ 63, 101 ], [ 101, 102 ], [ 177, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 109, 110 ], [ 109, 111 ], [ 105, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 117, 118 ], [ 117, 119 ], [ 112, 120 ], [ 120, 121 ], [ 121, 122 ], [ 112, 123 ], [ 124, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 127, 129 ], [ 105, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 132, 135 ], [ 105, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 138, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 141, 145 ], [ 138, 146 ], [ 146, 147 ], [ 147, 148 ], [ 105, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 151, 154 ], [ 150, 155 ], [ 149, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 163, 164 ], [ 162, 165 ], [ 159, 166 ], [ 166, 167 ], [ 167, 168 ], [ 166, 169 ], [ 105, 170 ], [ 170, 171 ], [ 103, 172 ], [ 172, 173 ], [ 103, 174 ], [ 174, 175 ], [ 0, 176 ], [ 176, 177 ], [ 176, 178 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nimport java.util.Comparator;\nimport java.util.Scanner;\n\npublic class Main {\n\t/**\n\t * ???????????¢??°\n\t * @param args ?????°\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader in = null;\n\t\ttry {\n\t\t\t//???????????????????????????????????????\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\t//?????¨???????????????????????????\n\t\t\tSystem.out.println(interest(100000, 5, n));\n\t\t} finally {\n\t\t\t//???????????????????????????\n\t\t\tif(in != null) in.close();\n\t\t\tin = null;\n\t\t}\n\t}\n\t/**\n\t * ?????¨?????????????¨?????????????\n\t * @param debit ??????????????????\n\t * @param rate ?????????(??????:%)\n\t * @param n ?????°\n\t * @return ?????¨?????????\n\t */\n\tpublic static int interest(int debit, int rate, int n) {\n\t\tint ret = debit;\n\t\t\n\t\t//??????????¨??????????\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\t//??????????????????\n\t\t\tret += ret * rate / 100;\n\t\t\t//???3??????????????????\n\t\t\tret = cutOut(ret, 3);\n\t\t}\n\t\t\n\t\t//?????¨?????????????????????\n\t\treturn ret;\n\t}\n\n\t/**\n\t * ?????????????????°???????¨?????????????\n\t * @param num ????????????????????°???\n\t * @param n ??????????????????n???\n\t * @return ???n?????????????????????\n\t */\n\tpublic static int cutOut(int num, int n) {\n\t\tint ret = num;\n\t\t//???????????????????¶??????°???????????????\n\t\tString kiri = \"1\";\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tkiri = kiri + \"0\";\n\t\t}\n\t\t\n\t\t//???n??????????????????\n\t\tString str = String.valueOf(ret);\n\t\tstr = str.substring(str.length()-n, str.length());\n\t\tif(Integer.parseInt(str) > 0) {\n\t\t\tret = ret - Integer.parseInt(str) + Integer.parseInt(kiri);\n\t\t}\n\t\t\n\t\t//?????????????????°????????????\n\t\treturn ret;\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Comparator;", "Comparator", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t/**\n\t * ???????????¢??°\n\t * @param args ?????°\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader in = null;\n\t\ttry {\n\t\t\t//???????????????????????????????????????\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\t//?????¨???????????????????????????\n\t\t\tSystem.out.println(interest(100000, 5, n));\n\t\t} finally {\n\t\t\t//???????????????????????????\n\t\t\tif(in != null) in.close();\n\t\t\tin = null;\n\t\t}\n\t}\n\t/**\n\t * ?????¨?????????????¨?????????????\n\t * @param debit ??????????????????\n\t * @param rate ?????????(??????:%)\n\t * @param n ?????°\n\t * @return ?????¨?????????\n\t */\n\tpublic static int interest(int debit, int rate, int n) {\n\t\tint ret = debit;\n\t\t\n\t\t//??????????¨??????????\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\t//??????????????????\n\t\t\tret += ret * rate / 100;\n\t\t\t//???3??????????????????\n\t\t\tret = cutOut(ret, 3);\n\t\t}\n\t\t\n\t\t//?????¨?????????????????????\n\t\treturn ret;\n\t}\n\n\t/**\n\t * ?????????????????°???????¨?????????????\n\t * @param num ????????????????????°???\n\t * @param n ??????????????????n???\n\t * @return ???n?????????????????????\n\t */\n\tpublic static int cutOut(int num, int n) {\n\t\tint ret = num;\n\t\t//???????????????????¶??????°???????????????\n\t\tString kiri = \"1\";\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tkiri = kiri + \"0\";\n\t\t}\n\t\t\n\t\t//???n??????????????????\n\t\tString str = String.valueOf(ret);\n\t\tstr = str.substring(str.length()-n, str.length());\n\t\tif(Integer.parseInt(str) > 0) {\n\t\t\tret = ret - Integer.parseInt(str) + Integer.parseInt(kiri);\n\t\t}\n\t\t\n\t\t//?????????????????°????????????\n\t\treturn ret;\n\t}\n}", "Main", "/**\n\t * ???????????¢??°\n\t * @param args ?????°\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader in = null;\n\t\ttry {\n\t\t\t//???????????????????????????????????????\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\t//?????¨???????????????????????????\n\t\t\tSystem.out.println(interest(100000, 5, n));\n\t\t} finally {\n\t\t\t//???????????????????????????\n\t\t\tif(in != null) in.close();\n\t\t\tin = null;\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader in = null;\n\t\ttry {\n\t\t\t//???????????????????????????????????????\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\t//?????¨???????????????????????????\n\t\t\tSystem.out.println(interest(100000, 5, n));\n\t\t} finally {\n\t\t\t//???????????????????????????\n\t\t\tif(in != null) in.close();\n\t\t\tin = null;\n\t\t}\n\t}", "BufferedReader in = null;", "in", "null", "try {\n\t\t\t//???????????????????????????????????????\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\t//?????¨???????????????????????????\n\t\t\tSystem.out.println(interest(100000, 5, n));\n\t\t} finally {\n\t\t\t//???????????????????????????\n\t\t\tif(in != null) in.close();\n\t\t\tin = null;\n\t\t}", "{\n\t\t\t//???????????????????????????\n\t\t\tif(in != null) in.close();\n\t\t\tin = null;\n\t\t}", "if(in != null) in.close();", "in != null", "in", "null", "in.close()", "in.close", "in", "in = null", "in", "null", "{\n\t\t\t//???????????????????????????????????????\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\t//?????¨???????????????????????????\n\t\t\tSystem.out.println(interest(100000, 5, n));\n\t\t}", "in = new BufferedReader(new InputStreamReader(System.in))", "in", "new BufferedReader(new InputStreamReader(System.in))", "int n = Integer.parseInt(in.readLine());", "n", "Integer.parseInt(in.readLine())", "Integer.parseInt", "Integer", "in.readLine()", "in.readLine", "in", "System.out.println(interest(100000, 5, n))", "System.out.println", "System.out", "System", "System.out", "interest(100000, 5, n)", "interest", "100000", "5", "n", "String[] args", "args", "/**\n\t * ?????¨?????????????¨?????????????\n\t * @param debit ??????????????????\n\t * @param rate ?????????(??????:%)\n\t * @param n ?????°\n\t * @return ?????¨?????????\n\t */\n\tpublic static int interest(int debit, int rate, int n) {\n\t\tint ret = debit;\n\t\t\n\t\t//??????????¨??????????\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\t//??????????????????\n\t\t\tret += ret * rate / 100;\n\t\t\t//???3??????????????????\n\t\t\tret = cutOut(ret, 3);\n\t\t}\n\t\t\n\t\t//?????¨?????????????????????\n\t\treturn ret;\n\t}", "interest", "{\n\t\tint ret = debit;\n\t\t\n\t\t//??????????¨??????????\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\t//??????????????????\n\t\t\tret += ret * rate / 100;\n\t\t\t//???3??????????????????\n\t\t\tret = cutOut(ret, 3);\n\t\t}\n\t\t\n\t\t//?????¨?????????????????????\n\t\treturn ret;\n\t}", "int ret = debit;", "ret", "debit", "for(int i = 0; i < n; i++) {\n\t\t\t//??????????????????\n\t\t\tret += ret * rate / 100;\n\t\t\t//???3??????????????????\n\t\t\tret = cutOut(ret, 3);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t//??????????????????\n\t\t\tret += ret * rate / 100;\n\t\t\t//???3??????????????????\n\t\t\tret = cutOut(ret, 3);\n\t\t}", "{\n\t\t\t//??????????????????\n\t\t\tret += ret * rate / 100;\n\t\t\t//???3??????????????????\n\t\t\tret = cutOut(ret, 3);\n\t\t}", "ret += ret * rate / 100", "ret", "ret * rate / 100", "ret * rate", "ret", "rate", "100", "ret = cutOut(ret, 3)", "ret", "cutOut(ret, 3)", "cutOut", "ret", "3", "return ret;", "ret", "int debit", "debit", "int rate", "rate", "int n", "n", "/**\n\t * ?????????????????°???????¨?????????????\n\t * @param num ????????????????????°???\n\t * @param n ??????????????????n???\n\t * @return ???n?????????????????????\n\t */\n\tpublic static int cutOut(int num, int n) {\n\t\tint ret = num;\n\t\t//???????????????????¶??????°???????????????\n\t\tString kiri = \"1\";\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tkiri = kiri + \"0\";\n\t\t}\n\t\t\n\t\t//???n??????????????????\n\t\tString str = String.valueOf(ret);\n\t\tstr = str.substring(str.length()-n, str.length());\n\t\tif(Integer.parseInt(str) > 0) {\n\t\t\tret = ret - Integer.parseInt(str) + Integer.parseInt(kiri);\n\t\t}\n\t\t\n\t\t//?????????????????°????????????\n\t\treturn ret;\n\t}", "cutOut", "{\n\t\tint ret = num;\n\t\t//???????????????????¶??????°???????????????\n\t\tString kiri = \"1\";\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tkiri = kiri + \"0\";\n\t\t}\n\t\t\n\t\t//???n??????????????????\n\t\tString str = String.valueOf(ret);\n\t\tstr = str.substring(str.length()-n, str.length());\n\t\tif(Integer.parseInt(str) > 0) {\n\t\t\tret = ret - Integer.parseInt(str) + Integer.parseInt(kiri);\n\t\t}\n\t\t\n\t\t//?????????????????°????????????\n\t\treturn ret;\n\t}", "int ret = num;", "ret", "num", "String kiri = \"1\";", "kiri", "\"1\"", "for(int i = 0; i < n; i++) {\n\t\t\tkiri = kiri + \"0\";\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tkiri = kiri + \"0\";\n\t\t}", "{\n\t\t\tkiri = kiri + \"0\";\n\t\t}", "kiri = kiri + \"0\"", "kiri", "kiri + \"0\"", "kiri", "\"0\"", "String str = String.valueOf(ret);", "str", "String.valueOf(ret)", "String.valueOf", "String", "ret", "str = str.substring(str.length()-n, str.length())", "str", "str.substring(str.length()-n, str.length())", "str.substring", "str", "str.length()-n", "str.length()", "str.length", "str", "n", "str.length()", "str.length", "str", "if(Integer.parseInt(str) > 0) {\n\t\t\tret = ret - Integer.parseInt(str) + Integer.parseInt(kiri);\n\t\t}", "Integer.parseInt(str) > 0", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "0", "{\n\t\t\tret = ret - Integer.parseInt(str) + Integer.parseInt(kiri);\n\t\t}", "ret = ret - Integer.parseInt(str) + Integer.parseInt(kiri)", "ret", "ret - Integer.parseInt(str) + Integer.parseInt(kiri)", "ret - Integer.parseInt(str)", "ret", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "Integer.parseInt(kiri)", "Integer.parseInt", "Integer", "kiri", "return ret;", "ret", "int num", "num", "int n", "n", "public class Main {\n\t/**\n\t * ???????????¢??°\n\t * @param args ?????°\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader in = null;\n\t\ttry {\n\t\t\t//???????????????????????????????????????\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\t//?????¨???????????????????????????\n\t\t\tSystem.out.println(interest(100000, 5, n));\n\t\t} finally {\n\t\t\t//???????????????????????????\n\t\t\tif(in != null) in.close();\n\t\t\tin = null;\n\t\t}\n\t}\n\t/**\n\t * ?????¨?????????????¨?????????????\n\t * @param debit ??????????????????\n\t * @param rate ?????????(??????:%)\n\t * @param n ?????°\n\t * @return ?????¨?????????\n\t */\n\tpublic static int interest(int debit, int rate, int n) {\n\t\tint ret = debit;\n\t\t\n\t\t//??????????¨??????????\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\t//??????????????????\n\t\t\tret += ret * rate / 100;\n\t\t\t//???3??????????????????\n\t\t\tret = cutOut(ret, 3);\n\t\t}\n\t\t\n\t\t//?????¨?????????????????????\n\t\treturn ret;\n\t}\n\n\t/**\n\t * ?????????????????°???????¨?????????????\n\t * @param num ????????????????????°???\n\t * @param n ??????????????????n???\n\t * @return ???n?????????????????????\n\t */\n\tpublic static int cutOut(int num, int n) {\n\t\tint ret = num;\n\t\t//???????????????????¶??????°???????????????\n\t\tString kiri = \"1\";\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tkiri = kiri + \"0\";\n\t\t}\n\t\t\n\t\t//???n??????????????????\n\t\tString str = String.valueOf(ret);\n\t\tstr = str.substring(str.length()-n, str.length());\n\t\tif(Integer.parseInt(str) > 0) {\n\t\t\tret = ret - Integer.parseInt(str) + Integer.parseInt(kiri);\n\t\t}\n\t\t\n\t\t//?????????????????°????????????\n\t\treturn ret;\n\t}\n}", "public class Main {\n\t/**\n\t * ???????????¢??°\n\t * @param args ?????°\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader in = null;\n\t\ttry {\n\t\t\t//???????????????????????????????????????\n\t\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\t//?????¨???????????????????????????\n\t\t\tSystem.out.println(interest(100000, 5, n));\n\t\t} finally {\n\t\t\t//???????????????????????????\n\t\t\tif(in != null) in.close();\n\t\t\tin = null;\n\t\t}\n\t}\n\t/**\n\t * ?????¨?????????????¨?????????????\n\t * @param debit ??????????????????\n\t * @param rate ?????????(??????:%)\n\t * @param n ?????°\n\t * @return ?????¨?????????\n\t */\n\tpublic static int interest(int debit, int rate, int n) {\n\t\tint ret = debit;\n\t\t\n\t\t//??????????¨??????????\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\t//??????????????????\n\t\t\tret += ret * rate / 100;\n\t\t\t//???3??????????????????\n\t\t\tret = cutOut(ret, 3);\n\t\t}\n\t\t\n\t\t//?????¨?????????????????????\n\t\treturn ret;\n\t}\n\n\t/**\n\t * ?????????????????°???????¨?????????????\n\t * @param num ????????????????????°???\n\t * @param n ??????????????????n???\n\t * @return ???n?????????????????????\n\t */\n\tpublic static int cutOut(int num, int n) {\n\t\tint ret = num;\n\t\t//???????????????????¶??????°???????????????\n\t\tString kiri = \"1\";\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tkiri = kiri + \"0\";\n\t\t}\n\t\t\n\t\t//???n??????????????????\n\t\tString str = String.valueOf(ret);\n\t\tstr = str.substring(str.length()-n, str.length());\n\t\tif(Integer.parseInt(str) > 0) {\n\t\t\tret = ret - Integer.parseInt(str) + Integer.parseInt(kiri);\n\t\t}\n\t\t\n\t\t//?????????????????°????????????\n\t\treturn ret;\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.Comparator; import java.util.Scanner; public class Main { /** * ???????????¢??° * @param args ?????° * @throws IOException * @throws NumberFormatException */ public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader in = null; try { //??????????????????????????????????????? in = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(in.readLine()); //?????¨??????????????????????????? System.out.println(interest(100000, 5, n)); } finally { //??????????????????????????? if(in != null) in.close(); in = null; } } /** * ?????¨?????????????¨????????????? * @param debit ?????????????????? * @param rate ?????????(??????:%) * @param n ?????° * @return ?????¨????????? */ public static int interest(int debit, int rate, int n) { int ret = debit; //??????????¨?????????? for(int i = 0; i < n; i++) { //?????????????????? ret += ret * rate / 100; //???3?????????????????? ret = cutOut(ret, 3); } //?????¨????????????????????? return ret; } /** * ?????????????????°???????¨????????????? * @param num ????????????????????°??? * @param n ??????????????????n??? * @return ???n????????????????????? */ public static int cutOut(int num, int n) { int ret = num; //???????????????????¶??????°??????????????? String kiri = "1"; for(int i = 0; i < n; i++) { kiri = kiri + "0"; } //???n?????????????????? String str = String.valueOf(ret); str = str.substring(str.length()-n, str.length()); if(Integer.parseInt(str) > 0) { ret = ret - Integer.parseInt(str) + Integer.parseInt(kiri); } //?????????????????°???????????? return ret; } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 17, 41, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 2, 2, 13, 17, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 78, 8 ], [ 78, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 19, 24 ], [ 15, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 35, 36 ], [ 25, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 53, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 25, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 9, 75 ], [ 75, 76 ], [ 0, 77 ], [ 77, 78 ], [ 77, 79 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n double debt = 100000;\n int x = Integer.parseInt(br.readLine());\n for (int i = 0; i < x ; i++) {\n debt *= 1.05;\n if((long)debt%1000!=0){\n debt = (((long)debt)/1000+1)*1000;\n }\n }\n System.out.println((long)debt);\n\n } catch (Exception e) {\n System.out.println(e);\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n double debt = 100000;\n int x = Integer.parseInt(br.readLine());\n for (int i = 0; i < x ; i++) {\n debt *= 1.05;\n if((long)debt%1000!=0){\n debt = (((long)debt)/1000+1)*1000;\n }\n }\n System.out.println((long)debt);\n\n } catch (Exception e) {\n System.out.println(e);\n }\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n double debt = 100000;\n int x = Integer.parseInt(br.readLine());\n for (int i = 0; i < x ; i++) {\n debt *= 1.05;\n if((long)debt%1000!=0){\n debt = (((long)debt)/1000+1)*1000;\n }\n }\n System.out.println((long)debt);\n\n } catch (Exception e) {\n System.out.println(e);\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n double debt = 100000;\n int x = Integer.parseInt(br.readLine());\n for (int i = 0; i < x ; i++) {\n debt *= 1.05;\n if((long)debt%1000!=0){\n debt = (((long)debt)/1000+1)*1000;\n }\n }\n System.out.println((long)debt);\n\n } catch (Exception e) {\n System.out.println(e);\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "try {\n double debt = 100000;\n int x = Integer.parseInt(br.readLine());\n for (int i = 0; i < x ; i++) {\n debt *= 1.05;\n if((long)debt%1000!=0){\n debt = (((long)debt)/1000+1)*1000;\n }\n }\n System.out.println((long)debt);\n\n } catch (Exception e) {\n System.out.println(e);\n }", "catch (Exception e) {\n System.out.println(e);\n }", "Exception e", "{\n System.out.println(e);\n }", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "{\n double debt = 100000;\n int x = Integer.parseInt(br.readLine());\n for (int i = 0; i < x ; i++) {\n debt *= 1.05;\n if((long)debt%1000!=0){\n debt = (((long)debt)/1000+1)*1000;\n }\n }\n System.out.println((long)debt);\n\n }", "double debt = 100000;", "debt", "100000", "int x = Integer.parseInt(br.readLine());", "x", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for (int i = 0; i < x ; i++) {\n debt *= 1.05;\n if((long)debt%1000!=0){\n debt = (((long)debt)/1000+1)*1000;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < x", "i", "x", "i++", "i++", "i", "{\n debt *= 1.05;\n if((long)debt%1000!=0){\n debt = (((long)debt)/1000+1)*1000;\n }\n }", "{\n debt *= 1.05;\n if((long)debt%1000!=0){\n debt = (((long)debt)/1000+1)*1000;\n }\n }", "debt *= 1.05", "debt", "1.05", "if((long)debt%1000!=0){\n debt = (((long)debt)/1000+1)*1000;\n }", "(long)debt%1000!=0", "(long)debt%1000", "(long)debt", "1000", "0", "{\n debt = (((long)debt)/1000+1)*1000;\n }", "debt = (((long)debt)/1000+1)*1000", "debt", "(((long)debt)/1000+1)*1000", "(((long)debt)/1000+1)", "((long)debt)/1000", "((long)debt)", "1000", "1", "1000", "System.out.println((long)debt)", "System.out.println", "System.out", "System", "System.out", "(long)debt", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n double debt = 100000;\n int x = Integer.parseInt(br.readLine());\n for (int i = 0; i < x ; i++) {\n debt *= 1.05;\n if((long)debt%1000!=0){\n debt = (((long)debt)/1000+1)*1000;\n }\n }\n System.out.println((long)debt);\n\n } catch (Exception e) {\n System.out.println(e);\n }\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n double debt = 100000;\n int x = Integer.parseInt(br.readLine());\n for (int i = 0; i < x ; i++) {\n debt *= 1.05;\n if((long)debt%1000!=0){\n debt = (((long)debt)/1000+1)*1000;\n }\n }\n System.out.println((long)debt);\n\n } catch (Exception e) {\n System.out.println(e);\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try { double debt = 100000; int x = Integer.parseInt(br.readLine()); for (int i = 0; i < x ; i++) { debt *= 1.05; if((long)debt%1000!=0){ debt = (((long)debt)/1000+1)*1000; } } System.out.println((long)debt); } catch (Exception e) { System.out.println(e); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 2, 13, 17, 0, 13, 13, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 2, 13, 2, 13, 17, 17, 41, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 74, 5 ], [ 74, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 23, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 43, 45 ], [ 35, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 55, 61 ], [ 8, 62 ], [ 62, 63 ], [ 62, 64 ], [ 8, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 6, 71 ], [ 71, 72 ], [ 0, 73 ], [ 73, 74 ], [ 73, 75 ] ]
[ "import java.util.*;\n \npublic class Main {\n public static void main(String args[] ) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n double shakkin = 100000;\n double N = sc.nextInt();\n double totalShakkin = 0;\n \n for (int i=0; i<N; i++){\n \ttotalShakkin = shakkin + shakkin*0.05;\n \tshakkin = totalShakkin;\n \tif(shakkin % 1000 > 0){\n \t\tshakkin = (shakkin - shakkin % 1000) + 1000;\n \t}\n }\n \n int yamikin = (int)shakkin;\n \n System.out.println(yamikin);\n \n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String args[] ) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n double shakkin = 100000;\n double N = sc.nextInt();\n double totalShakkin = 0;\n \n for (int i=0; i<N; i++){\n \ttotalShakkin = shakkin + shakkin*0.05;\n \tshakkin = totalShakkin;\n \tif(shakkin % 1000 > 0){\n \t\tshakkin = (shakkin - shakkin % 1000) + 1000;\n \t}\n }\n \n int yamikin = (int)shakkin;\n \n System.out.println(yamikin);\n \n }\n}", "Main", "public static void main(String args[] ) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n double shakkin = 100000;\n double N = sc.nextInt();\n double totalShakkin = 0;\n \n for (int i=0; i<N; i++){\n \ttotalShakkin = shakkin + shakkin*0.05;\n \tshakkin = totalShakkin;\n \tif(shakkin % 1000 > 0){\n \t\tshakkin = (shakkin - shakkin % 1000) + 1000;\n \t}\n }\n \n int yamikin = (int)shakkin;\n \n System.out.println(yamikin);\n \n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \n double shakkin = 100000;\n double N = sc.nextInt();\n double totalShakkin = 0;\n \n for (int i=0; i<N; i++){\n \ttotalShakkin = shakkin + shakkin*0.05;\n \tshakkin = totalShakkin;\n \tif(shakkin % 1000 > 0){\n \t\tshakkin = (shakkin - shakkin % 1000) + 1000;\n \t}\n }\n \n int yamikin = (int)shakkin;\n \n System.out.println(yamikin);\n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "double shakkin = 100000;", "shakkin", "100000", "double N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "double totalShakkin = 0;", "totalShakkin", "0", "for (int i=0; i<N; i++){\n \ttotalShakkin = shakkin + shakkin*0.05;\n \tshakkin = totalShakkin;\n \tif(shakkin % 1000 > 0){\n \t\tshakkin = (shakkin - shakkin % 1000) + 1000;\n \t}\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n \ttotalShakkin = shakkin + shakkin*0.05;\n \tshakkin = totalShakkin;\n \tif(shakkin % 1000 > 0){\n \t\tshakkin = (shakkin - shakkin % 1000) + 1000;\n \t}\n }", "{\n \ttotalShakkin = shakkin + shakkin*0.05;\n \tshakkin = totalShakkin;\n \tif(shakkin % 1000 > 0){\n \t\tshakkin = (shakkin - shakkin % 1000) + 1000;\n \t}\n }", "totalShakkin = shakkin + shakkin*0.05", "totalShakkin", "shakkin + shakkin*0.05", "shakkin", "shakkin*0.05", "shakkin", "0.05", "shakkin = totalShakkin", "shakkin", "totalShakkin", "if(shakkin % 1000 > 0){\n \t\tshakkin = (shakkin - shakkin % 1000) + 1000;\n \t}", "shakkin % 1000 > 0", "shakkin % 1000", "shakkin", "1000", "0", "{\n \t\tshakkin = (shakkin - shakkin % 1000) + 1000;\n \t}", "shakkin = (shakkin - shakkin % 1000) + 1000", "shakkin", "(shakkin - shakkin % 1000) + 1000", "(shakkin - shakkin % 1000)", "shakkin", "shakkin % 1000", "shakkin", "1000", "1000", "int yamikin = (int)shakkin;", "yamikin", "(int)shakkin", "System.out.println(yamikin)", "System.out.println", "System.out", "System", "System.out", "yamikin", "String args[]", "args", "public class Main {\n public static void main(String args[] ) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n double shakkin = 100000;\n double N = sc.nextInt();\n double totalShakkin = 0;\n \n for (int i=0; i<N; i++){\n \ttotalShakkin = shakkin + shakkin*0.05;\n \tshakkin = totalShakkin;\n \tif(shakkin % 1000 > 0){\n \t\tshakkin = (shakkin - shakkin % 1000) + 1000;\n \t}\n }\n \n int yamikin = (int)shakkin;\n \n System.out.println(yamikin);\n \n }\n}", "public class Main {\n public static void main(String args[] ) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n double shakkin = 100000;\n double N = sc.nextInt();\n double totalShakkin = 0;\n \n for (int i=0; i<N; i++){\n \ttotalShakkin = shakkin + shakkin*0.05;\n \tshakkin = totalShakkin;\n \tif(shakkin % 1000 > 0){\n \t\tshakkin = (shakkin - shakkin % 1000) + 1000;\n \t}\n }\n \n int yamikin = (int)shakkin;\n \n System.out.println(yamikin);\n \n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String args[] ) throws Exception { Scanner sc = new Scanner(System.in); double shakkin = 100000; double N = sc.nextInt(); double totalShakkin = 0; for (int i=0; i<N; i++){ totalShakkin = shakkin + shakkin*0.05; shakkin = totalShakkin; if(shakkin % 1000 > 0){ shakkin = (shakkin - shakkin % 1000) + 1000; } } int yamikin = (int)shakkin; System.out.println(yamikin); } }
[ 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, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 17, 2, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 68, 11 ], [ 68, 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 ], [ 14, 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 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 45, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 14, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 12, 65 ], [ 65, 66 ], [ 0, 67 ], [ 67, 68 ], [ 67, 69 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args)\n\t throws IOException {\n\t\tBufferedReader br = new BufferedReader(\n\t\t new InputStreamReader(System.in));\n\t\tint v = Integer.parseInt(br.readLine());\n\t\tint m = 100000;\n\t\tfor (int i = 0; i < v; i++) {\n\t\t\tm *= 1.05;\n\t\t\tif ((m % 1000) > 0) {\n\t\t\t\tm += 1000 - m % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(m);\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args)\n\t throws IOException {\n\t\tBufferedReader br = new BufferedReader(\n\t\t new InputStreamReader(System.in));\n\t\tint v = Integer.parseInt(br.readLine());\n\t\tint m = 100000;\n\t\tfor (int i = 0; i < v; i++) {\n\t\t\tm *= 1.05;\n\t\t\tif ((m % 1000) > 0) {\n\t\t\t\tm += 1000 - m % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(m);\n\t}\n}", "Main", "public static void main(String[] args)\n\t throws IOException {\n\t\tBufferedReader br = new BufferedReader(\n\t\t new InputStreamReader(System.in));\n\t\tint v = Integer.parseInt(br.readLine());\n\t\tint m = 100000;\n\t\tfor (int i = 0; i < v; i++) {\n\t\t\tm *= 1.05;\n\t\t\tif ((m % 1000) > 0) {\n\t\t\t\tm += 1000 - m % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(m);\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(\n\t\t new InputStreamReader(System.in));\n\t\tint v = Integer.parseInt(br.readLine());\n\t\tint m = 100000;\n\t\tfor (int i = 0; i < v; i++) {\n\t\t\tm *= 1.05;\n\t\t\tif ((m % 1000) > 0) {\n\t\t\t\tm += 1000 - m % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(m);\n\t}", "BufferedReader br = new BufferedReader(\n\t\t new InputStreamReader(System.in));", "br", "new BufferedReader(\n\t\t new InputStreamReader(System.in))", "int v = Integer.parseInt(br.readLine());", "v", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "int m = 100000;", "m", "100000", "for (int i = 0; i < v; i++) {\n\t\t\tm *= 1.05;\n\t\t\tif ((m % 1000) > 0) {\n\t\t\t\tm += 1000 - m % 1000;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < v", "i", "v", "i++", "i++", "i", "{\n\t\t\tm *= 1.05;\n\t\t\tif ((m % 1000) > 0) {\n\t\t\t\tm += 1000 - m % 1000;\n\t\t\t}\n\t\t}", "{\n\t\t\tm *= 1.05;\n\t\t\tif ((m % 1000) > 0) {\n\t\t\t\tm += 1000 - m % 1000;\n\t\t\t}\n\t\t}", "m *= 1.05", "m", "1.05", "if ((m % 1000) > 0) {\n\t\t\t\tm += 1000 - m % 1000;\n\t\t\t}", "(m % 1000) > 0", "(m % 1000)", "m", "1000", "0", "{\n\t\t\t\tm += 1000 - m % 1000;\n\t\t\t}", "m += 1000 - m % 1000", "m", "1000 - m % 1000", "1000", "m % 1000", "m", "1000", "System.out.println(m)", "System.out.println", "System.out", "System", "System.out", "m", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args)\n\t throws IOException {\n\t\tBufferedReader br = new BufferedReader(\n\t\t new InputStreamReader(System.in));\n\t\tint v = Integer.parseInt(br.readLine());\n\t\tint m = 100000;\n\t\tfor (int i = 0; i < v; i++) {\n\t\t\tm *= 1.05;\n\t\t\tif ((m % 1000) > 0) {\n\t\t\t\tm += 1000 - m % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(m);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args)\n\t throws IOException {\n\t\tBufferedReader br = new BufferedReader(\n\t\t new InputStreamReader(System.in));\n\t\tint v = Integer.parseInt(br.readLine());\n\t\tint m = 100000;\n\t\tfor (int i = 0; i < v; i++) {\n\t\t\tm *= 1.05;\n\t\t\tif ((m % 1000) > 0) {\n\t\t\t\tm += 1000 - m % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(m);\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader( new InputStreamReader(System.in)); int v = Integer.parseInt(br.readLine()); int m = 100000; for (int i = 0; i < v; i++) { m *= 1.05; if ((m % 1000) > 0) { m += 1000 - m % 1000; } } System.out.println(m); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 0, 13, 2, 4, 18, 13, 2, 2, 13, 17, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 66, 8 ], [ 66, 9 ], [ 9, 10 ], [ 9, 11 ], [ 66, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 14, 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 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 47, 56 ], [ 14, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 12, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ] ]
[ "import java.io.IOException;\nimport java.util.Scanner;\n\npublic class Main {\n\tprivate static final int debt = 100000;\n\n\tpublic static void main(String[] a) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint len = sc.nextInt();\n\t\tsc.close();\n\t\tint debtSum = debt;\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tint no = 1000;\n\t\t\tdebtSum = (int) (Math.ceil((debtSum * 1.05) / no) * no);\n\t\t}\n\t\tSystem.out.println(debtSum);\n\t}\n}", "import java.io.IOException;", "IOException", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tprivate static final int debt = 100000;\n\n\tpublic static void main(String[] a) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint len = sc.nextInt();\n\t\tsc.close();\n\t\tint debtSum = debt;\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tint no = 1000;\n\t\t\tdebtSum = (int) (Math.ceil((debtSum * 1.05) / no) * no);\n\t\t}\n\t\tSystem.out.println(debtSum);\n\t}\n}", "Main", "private static final int debt = 100000;", "debt", "100000", "public static void main(String[] a) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint len = sc.nextInt();\n\t\tsc.close();\n\t\tint debtSum = debt;\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tint no = 1000;\n\t\t\tdebtSum = (int) (Math.ceil((debtSum * 1.05) / no) * no);\n\t\t}\n\t\tSystem.out.println(debtSum);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint len = sc.nextInt();\n\t\tsc.close();\n\t\tint debtSum = debt;\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tint no = 1000;\n\t\t\tdebtSum = (int) (Math.ceil((debtSum * 1.05) / no) * no);\n\t\t}\n\t\tSystem.out.println(debtSum);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int len = sc.nextInt();", "len", "sc.nextInt()", "sc.nextInt", "sc", "sc.close()", "sc.close", "sc", "int debtSum = debt;", "debtSum", "debt", "for (int i = 0; i < len; i++) {\n\t\t\tint no = 1000;\n\t\t\tdebtSum = (int) (Math.ceil((debtSum * 1.05) / no) * no);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < len", "i", "len", "i++", "i++", "i", "{\n\t\t\tint no = 1000;\n\t\t\tdebtSum = (int) (Math.ceil((debtSum * 1.05) / no) * no);\n\t\t}", "{\n\t\t\tint no = 1000;\n\t\t\tdebtSum = (int) (Math.ceil((debtSum * 1.05) / no) * no);\n\t\t}", "int no = 1000;", "no", "1000", "debtSum = (int) (Math.ceil((debtSum * 1.05) / no) * no)", "debtSum", "(int) (Math.ceil((debtSum * 1.05) / no) * no)", "Math.ceil((debtSum * 1.05) / no)", "Math.ceil", "Math", "(debtSum * 1.05) / no", "(debtSum * 1.05)", "debtSum", "1.05", "no", "no", "System.out.println(debtSum)", "System.out.println", "System.out", "System", "System.out", "debtSum", "String[] a", "a", "public class Main {\n\tprivate static final int debt = 100000;\n\n\tpublic static void main(String[] a) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint len = sc.nextInt();\n\t\tsc.close();\n\t\tint debtSum = debt;\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tint no = 1000;\n\t\t\tdebtSum = (int) (Math.ceil((debtSum * 1.05) / no) * no);\n\t\t}\n\t\tSystem.out.println(debtSum);\n\t}\n}", "public class Main {\n\tprivate static final int debt = 100000;\n\n\tpublic static void main(String[] a) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint len = sc.nextInt();\n\t\tsc.close();\n\t\tint debtSum = debt;\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tint no = 1000;\n\t\t\tdebtSum = (int) (Math.ceil((debtSum * 1.05) / no) * no);\n\t\t}\n\t\tSystem.out.println(debtSum);\n\t}\n}", "Main" ]
import java.io.IOException; import java.util.Scanner; public class Main { private static final int debt = 100000; public static void main(String[] a) throws IOException { Scanner sc = new Scanner(System.in); int len = sc.nextInt(); sc.close(); int debtSum = debt; for (int i = 0; i < len; i++) { int no = 1000; debtSum = (int) (Math.ceil((debtSum * 1.05) / no) * no); } System.out.println(debtSum); } }
[ 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, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 17, 41, 13, 20, 0, 13, 4, 18, 13, 40, 17, 18, 13, 13, 0, 13, 4, 18, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 71, 11 ], [ 71, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 38, 44 ], [ 44, 45 ], [ 44, 46 ], [ 38, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 38, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 14, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 12, 68 ], [ 68, 69 ], [ 0, 70 ], [ 70, 71 ], [ 70, 72 ] ]
[ "import java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\tdouble loan = 100_000.0;\n//\t\tBigDecimal bdl = new BigDecimal(loan);\n//\t\tBigDecimal interest = new BigDecimal(1.05);\n//\t\tfor (int i = 0; i < n; i++) {\n////\t\t\tloan = loan * 1.05;\n//\t\t\tbdl = bdl.multiply(interest);\n//\t\t\tbdl = bdl.setScale(-3, RoundingMode.UP);\n//\t\t}\n//\t\tSystem.out.println(bdl.intValue());\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tloan = loan * 1.05;\n\t\t\tBigDecimal bdl = new BigDecimal(loan);\n\t\t\tbdl = bdl.setScale(-3, RoundingMode.UP);\n\t\t\tloan = bdl.doubleValue();\n\t\t}\n\t\tSystem.out.println( (int)loan );\n\t}\n\n}", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.math.RoundingMode;", "RoundingMode", "java.math", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\tdouble loan = 100_000.0;\n//\t\tBigDecimal bdl = new BigDecimal(loan);\n//\t\tBigDecimal interest = new BigDecimal(1.05);\n//\t\tfor (int i = 0; i < n; i++) {\n////\t\t\tloan = loan * 1.05;\n//\t\t\tbdl = bdl.multiply(interest);\n//\t\t\tbdl = bdl.setScale(-3, RoundingMode.UP);\n//\t\t}\n//\t\tSystem.out.println(bdl.intValue());\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tloan = loan * 1.05;\n\t\t\tBigDecimal bdl = new BigDecimal(loan);\n\t\t\tbdl = bdl.setScale(-3, RoundingMode.UP);\n\t\t\tloan = bdl.doubleValue();\n\t\t}\n\t\tSystem.out.println( (int)loan );\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\tdouble loan = 100_000.0;\n//\t\tBigDecimal bdl = new BigDecimal(loan);\n//\t\tBigDecimal interest = new BigDecimal(1.05);\n//\t\tfor (int i = 0; i < n; i++) {\n////\t\t\tloan = loan * 1.05;\n//\t\t\tbdl = bdl.multiply(interest);\n//\t\t\tbdl = bdl.setScale(-3, RoundingMode.UP);\n//\t\t}\n//\t\tSystem.out.println(bdl.intValue());\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tloan = loan * 1.05;\n\t\t\tBigDecimal bdl = new BigDecimal(loan);\n\t\t\tbdl = bdl.setScale(-3, RoundingMode.UP);\n\t\t\tloan = bdl.doubleValue();\n\t\t}\n\t\tSystem.out.println( (int)loan );\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\tdouble loan = 100_000.0;\n//\t\tBigDecimal bdl = new BigDecimal(loan);\n//\t\tBigDecimal interest = new BigDecimal(1.05);\n//\t\tfor (int i = 0; i < n; i++) {\n////\t\t\tloan = loan * 1.05;\n//\t\t\tbdl = bdl.multiply(interest);\n//\t\t\tbdl = bdl.setScale(-3, RoundingMode.UP);\n//\t\t}\n//\t\tSystem.out.println(bdl.intValue());\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tloan = loan * 1.05;\n\t\t\tBigDecimal bdl = new BigDecimal(loan);\n\t\t\tbdl = bdl.setScale(-3, RoundingMode.UP);\n\t\t\tloan = bdl.doubleValue();\n\t\t}\n\t\tSystem.out.println( (int)loan );\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "double loan = 100_000.0;", "loan", "100_000.0", "for (int i = 0; i < n; i++) {\n\t\t\tloan = loan * 1.05;\n\t\t\tBigDecimal bdl = new BigDecimal(loan);\n\t\t\tbdl = bdl.setScale(-3, RoundingMode.UP);\n\t\t\tloan = bdl.doubleValue();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tloan = loan * 1.05;\n\t\t\tBigDecimal bdl = new BigDecimal(loan);\n\t\t\tbdl = bdl.setScale(-3, RoundingMode.UP);\n\t\t\tloan = bdl.doubleValue();\n\t\t}", "{\n\t\t\tloan = loan * 1.05;\n\t\t\tBigDecimal bdl = new BigDecimal(loan);\n\t\t\tbdl = bdl.setScale(-3, RoundingMode.UP);\n\t\t\tloan = bdl.doubleValue();\n\t\t}", "loan = loan * 1.05", "loan", "loan * 1.05", "loan", "1.05", "BigDecimal bdl = new BigDecimal(loan);", "bdl", "new BigDecimal(loan)", "bdl = bdl.setScale(-3, RoundingMode.UP)", "bdl", "bdl.setScale(-3, RoundingMode.UP)", "bdl.setScale", "bdl", "-3", "3", "RoundingMode.UP", "RoundingMode", "RoundingMode.UP", "loan = bdl.doubleValue()", "loan", "bdl.doubleValue()", "bdl.doubleValue", "bdl", "System.out.println( (int)loan )", "System.out.println", "System.out", "System", "System.out", "(int)loan", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\tdouble loan = 100_000.0;\n//\t\tBigDecimal bdl = new BigDecimal(loan);\n//\t\tBigDecimal interest = new BigDecimal(1.05);\n//\t\tfor (int i = 0; i < n; i++) {\n////\t\t\tloan = loan * 1.05;\n//\t\t\tbdl = bdl.multiply(interest);\n//\t\t\tbdl = bdl.setScale(-3, RoundingMode.UP);\n//\t\t}\n//\t\tSystem.out.println(bdl.intValue());\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tloan = loan * 1.05;\n\t\t\tBigDecimal bdl = new BigDecimal(loan);\n\t\t\tbdl = bdl.setScale(-3, RoundingMode.UP);\n\t\t\tloan = bdl.doubleValue();\n\t\t}\n\t\tSystem.out.println( (int)loan );\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\tdouble loan = 100_000.0;\n//\t\tBigDecimal bdl = new BigDecimal(loan);\n//\t\tBigDecimal interest = new BigDecimal(1.05);\n//\t\tfor (int i = 0; i < n; i++) {\n////\t\t\tloan = loan * 1.05;\n//\t\t\tbdl = bdl.multiply(interest);\n//\t\t\tbdl = bdl.setScale(-3, RoundingMode.UP);\n//\t\t}\n//\t\tSystem.out.println(bdl.intValue());\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tloan = loan * 1.05;\n\t\t\tBigDecimal bdl = new BigDecimal(loan);\n\t\t\tbdl = bdl.setScale(-3, RoundingMode.UP);\n\t\t\tloan = bdl.doubleValue();\n\t\t}\n\t\tSystem.out.println( (int)loan );\n\t}\n\n}", "Main" ]
import java.math.BigDecimal; import java.math.RoundingMode; import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner sc = new Scanner(System.in); int n = sc.nextInt(); double loan = 100_000.0; // BigDecimal bdl = new BigDecimal(loan); // BigDecimal interest = new BigDecimal(1.05); // for (int i = 0; i < n; i++) { //// loan = loan * 1.05; // bdl = bdl.multiply(interest); // bdl = bdl.setScale(-3, RoundingMode.UP); // } // System.out.println(bdl.intValue()); for (int i = 0; i < n; i++) { loan = loan * 1.05; BigDecimal bdl = new BigDecimal(loan); bdl = bdl.setScale(-3, RoundingMode.UP); loan = bdl.doubleValue(); } System.out.println( (int)loan ); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 4, 18, 13, 40, 17, 30, 41, 13, 20, 0, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 0, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 0, 13, 2, 13, 17, 0, 13, 2, 17, 4, 18, 13, 2, 13, 17, 29, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 18, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 15, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 27, 36 ], [ 36, 37 ], [ 37, 38 ], [ 11, 39 ], [ 39, 40 ], [ 39, 41 ], [ 11, 42 ], [ 42, 43 ], [ 42, 44 ], [ 11, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 11, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 51, 59 ], [ 59, 60 ], [ 60, 61 ], [ 51, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 11, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 9, 75 ], [ 75, 76 ], [ 7, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 79, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 94, 95 ], [ 94, 96 ], [ 79, 97 ], [ 97, 98 ], [ 77, 99 ], [ 99, 100 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\tpublic static void main(String[] a) {\n\t String line = \"\";\n\t try {\n\t BufferedReader stdReader =\n\t new BufferedReader(new InputStreamReader(System.in));\n\t line = stdReader.readLine();\n\t stdReader.close();\n\t } catch (Exception e) {\n\t e.getStackTrace();\n\t System.exit(-1); // ????????°???????????????\n\t }\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint debt = 100000;\n\t\tint n = 0;\n\t\tn = Integer.parseInt(line);\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt = interest(debt);\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n\n\tpublic static int interest(int n){\n\t\tdouble added;\n\t\tadded = n * 1.05;\n\t\tadded = 1000*Math.ceil(added/1000);\n\t\treturn (int)added;\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "class Main {\n\n\tpublic static void main(String[] a) {\n\t String line = \"\";\n\t try {\n\t BufferedReader stdReader =\n\t new BufferedReader(new InputStreamReader(System.in));\n\t line = stdReader.readLine();\n\t stdReader.close();\n\t } catch (Exception e) {\n\t e.getStackTrace();\n\t System.exit(-1); // ????????°???????????????\n\t }\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint debt = 100000;\n\t\tint n = 0;\n\t\tn = Integer.parseInt(line);\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt = interest(debt);\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n\n\tpublic static int interest(int n){\n\t\tdouble added;\n\t\tadded = n * 1.05;\n\t\tadded = 1000*Math.ceil(added/1000);\n\t\treturn (int)added;\n\t}\n\n}", "Main", "public static void main(String[] a) {\n\t String line = \"\";\n\t try {\n\t BufferedReader stdReader =\n\t new BufferedReader(new InputStreamReader(System.in));\n\t line = stdReader.readLine();\n\t stdReader.close();\n\t } catch (Exception e) {\n\t e.getStackTrace();\n\t System.exit(-1); // ????????°???????????????\n\t }\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint debt = 100000;\n\t\tint n = 0;\n\t\tn = Integer.parseInt(line);\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt = interest(debt);\n\t\t}\n\t\tSystem.out.println(debt);\n\t}", "main", "{\n\t String line = \"\";\n\t try {\n\t BufferedReader stdReader =\n\t new BufferedReader(new InputStreamReader(System.in));\n\t line = stdReader.readLine();\n\t stdReader.close();\n\t } catch (Exception e) {\n\t e.getStackTrace();\n\t System.exit(-1); // ????????°???????????????\n\t }\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint debt = 100000;\n\t\tint n = 0;\n\t\tn = Integer.parseInt(line);\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt = interest(debt);\n\t\t}\n\t\tSystem.out.println(debt);\n\t}", "String line = \"\";", "line", "\"\"", "try {\n\t BufferedReader stdReader =\n\t new BufferedReader(new InputStreamReader(System.in));\n\t line = stdReader.readLine();\n\t stdReader.close();\n\t } catch (Exception e) {\n\t e.getStackTrace();\n\t System.exit(-1); // ????????°???????????????\n\t }", "catch (Exception e) {\n\t e.getStackTrace();\n\t System.exit(-1); // ????????°???????????????\n\t }", "Exception e", "{\n\t e.getStackTrace();\n\t System.exit(-1); // ????????°???????????????\n\t }", "e.getStackTrace()", "e.getStackTrace", "e", "System.exit(-1)", "System.exit", "System", "-1", "1", "{\n\t BufferedReader stdReader =\n\t new BufferedReader(new InputStreamReader(System.in));\n\t line = stdReader.readLine();\n\t stdReader.close();\n\t }", "BufferedReader stdReader =\n\t new BufferedReader(new InputStreamReader(System.in));", "stdReader", "new BufferedReader(new InputStreamReader(System.in))", "line = stdReader.readLine()", "line", "stdReader.readLine()", "stdReader.readLine", "stdReader", "stdReader.close()", "stdReader.close", "stdReader", "int debt = 100000;", "debt", "100000", "int n = 0;", "n", "0", "n = Integer.parseInt(line)", "n", "Integer.parseInt(line)", "Integer.parseInt", "Integer", "line", "for(int i=0;i<n;i++){\n\t\t\tdebt = interest(debt);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tdebt = interest(debt);\n\t\t}", "{\n\t\t\tdebt = interest(debt);\n\t\t}", "debt = interest(debt)", "debt", "interest(debt)", "interest", "debt", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "String[] a", "a", "public static int interest(int n){\n\t\tdouble added;\n\t\tadded = n * 1.05;\n\t\tadded = 1000*Math.ceil(added/1000);\n\t\treturn (int)added;\n\t}", "interest", "{\n\t\tdouble added;\n\t\tadded = n * 1.05;\n\t\tadded = 1000*Math.ceil(added/1000);\n\t\treturn (int)added;\n\t}", "double added;", "added", "added = n * 1.05", "added", "n * 1.05", "n", "1.05", "added = 1000*Math.ceil(added/1000)", "added", "1000*Math.ceil(added/1000)", "1000", "Math.ceil(added/1000)", "Math.ceil", "Math", "added/1000", "added", "1000", "return (int)added;", "(int)added", "int n", "n" ]
import java.io.BufferedReader; import java.io.InputStreamReader; class Main { public static void main(String[] a) { String line = ""; try { BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in)); line = stdReader.readLine(); stdReader.close(); } catch (Exception e) { e.getStackTrace(); System.exit(-1); // ????????°??????????????? } // TODO ????????????????????????????????????????????? int debt = 100000; int n = 0; n = Integer.parseInt(line); for(int i=0;i<n;i++){ debt = interest(debt); } System.out.println(debt); } public static int interest(int n){ double added; added = n * 1.05; added = 1000*Math.ceil(added/1000); return (int)added; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 13, 4, 18, 13, 2, 13, 17, 41, 13, 2, 13, 17, 14, 2, 13, 17, 30, 0, 13, 2, 17, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 70, 5 ], [ 70, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 43, 45 ], [ 32, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 32, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 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.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tint m = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tm = Double.valueOf(Math.ceil((double) m * 1.05)).intValue();\n\t\t\tint r = m % 1000;\n\t\t\tif (r > 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(m);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tint m = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tm = Double.valueOf(Math.ceil((double) m * 1.05)).intValue();\n\t\t\tint r = m % 1000;\n\t\t\tif (r > 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(m);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tint m = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tm = Double.valueOf(Math.ceil((double) m * 1.05)).intValue();\n\t\t\tint r = m % 1000;\n\t\t\tif (r > 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(m);\n\t}", "main", "{\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tint m = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tm = Double.valueOf(Math.ceil((double) m * 1.05)).intValue();\n\t\t\tint r = m % 1000;\n\t\t\tif (r > 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(m);\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int n = s.nextInt();", "n", "s.nextInt()", "s.nextInt", "s", "int m = 100000;", "m", "100000", "for (int i = 0; i < n; i++) {\n\t\t\tm = Double.valueOf(Math.ceil((double) m * 1.05)).intValue();\n\t\t\tint r = m % 1000;\n\t\t\tif (r > 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tm = Double.valueOf(Math.ceil((double) m * 1.05)).intValue();\n\t\t\tint r = m % 1000;\n\t\t\tif (r > 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}\n\t\t}", "{\n\t\t\tm = Double.valueOf(Math.ceil((double) m * 1.05)).intValue();\n\t\t\tint r = m % 1000;\n\t\t\tif (r > 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}\n\t\t}", "m = Double.valueOf(Math.ceil((double) m * 1.05)).intValue()", "m", "Double.valueOf(Math.ceil((double) m * 1.05)).intValue()", "Double.valueOf(Math.ceil((double) m * 1.05)).intValue", "Double.valueOf(Math.ceil((double) m * 1.05))", "Double.valueOf", "Double", "Math.ceil((double) m * 1.05)", "Math.ceil", "Math", "(double) m * 1.05", "(double) m", "1.05", "int r = m % 1000;", "r", "m % 1000", "m", "1000", "if (r > 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}", "r > 0", "r", "0", "{\n\t\t\t\tm += 1000 - r;\n\t\t\t}", "m += 1000 - r", "m", "1000 - r", "1000", "r", "System.out.println(m)", "System.out.println", "System.out", "System", "System.out", "m", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tint m = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tm = Double.valueOf(Math.ceil((double) m * 1.05)).intValue();\n\t\t\tint r = m % 1000;\n\t\t\tif (r > 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(m);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tint m = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tm = Double.valueOf(Math.ceil((double) m * 1.05)).intValue();\n\t\t\tint r = m % 1000;\n\t\t\tif (r > 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(m);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int n = s.nextInt(); int m = 100000; for (int i = 0; i < n; i++) { m = Double.valueOf(Math.ceil((double) m * 1.05)).intValue(); int r = m % 1000; if (r > 0) { m += 1000 - r; } } System.out.println(m); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 2, 2, 13, 17, 17, 17, 4, 18, 13, 13, 12, 13, 30, 4, 18, 20, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 61, 8 ], [ 61, 9 ], [ 9, 10 ], [ 9, 11 ], [ 61, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 14, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 23, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 38, 47 ], [ 14, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 61, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 52, 58 ], [ 58, 59 ], [ 0, 60 ], [ 60, 61 ], [ 60, 62 ] ]
[ "import java.util.*;\nimport static java.lang.System.*;\n\npublic class Main {\n\n\tScanner sc = new Scanner(in);\n\t\n\tvoid run() {\n\t\tint n = sc.nextInt();\n\t\tint m = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tm += (int)Math.ceil(m*0.05/1000)*1000;\n\t\t}\n\t\tout.println(m);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n}", "import java.util.*;", "util.*", "java", "import static java.lang.System.*;", "import static java.lang.System.*;", "import static java.lang.System.*;", "public class Main {\n\n\tScanner sc = new Scanner(in);\n\t\n\tvoid run() {\n\t\tint n = sc.nextInt();\n\t\tint m = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tm += (int)Math.ceil(m*0.05/1000)*1000;\n\t\t}\n\t\tout.println(m);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n}", "Main", "Scanner sc = new Scanner(in);", "sc", "new Scanner(in)", "void run() {\n\t\tint n = sc.nextInt();\n\t\tint m = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tm += (int)Math.ceil(m*0.05/1000)*1000;\n\t\t}\n\t\tout.println(m);\n\t}", "run", "{\n\t\tint n = sc.nextInt();\n\t\tint m = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tm += (int)Math.ceil(m*0.05/1000)*1000;\n\t\t}\n\t\tout.println(m);\n\t}", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = 100000;", "m", "100000", "for (int i = 0; i < n; i++) {\n\t\t\tm += (int)Math.ceil(m*0.05/1000)*1000;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tm += (int)Math.ceil(m*0.05/1000)*1000;\n\t\t}", "{\n\t\t\tm += (int)Math.ceil(m*0.05/1000)*1000;\n\t\t}", "m += (int)Math.ceil(m*0.05/1000)*1000", "m", "(int)Math.ceil(m*0.05/1000)*1000", "(int)Math.ceil(m*0.05/1000)", "Math.ceil", "Math", "m*0.05/1000", "m*0.05", "m", "0.05", "1000", "1000", "out.println(m)", "out.println", "out", "m", "public static void main(String[] args) {\n\t\tnew Main().run();\n\t}", "main", "{\n\t\tnew Main().run();\n\t}", "new Main().run()", "new Main().run", "new Main()", "String[] args", "args", "public class Main {\n\n\tScanner sc = new Scanner(in);\n\t\n\tvoid run() {\n\t\tint n = sc.nextInt();\n\t\tint m = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tm += (int)Math.ceil(m*0.05/1000)*1000;\n\t\t}\n\t\tout.println(m);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n}", "public class Main {\n\n\tScanner sc = new Scanner(in);\n\t\n\tvoid run() {\n\t\tint n = sc.nextInt();\n\t\tint m = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tm += (int)Math.ceil(m*0.05/1000)*1000;\n\t\t}\n\t\tout.println(m);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n}", "Main" ]
import java.util.*; import static java.lang.System.*; public class Main { Scanner sc = new Scanner(in); void run() { int n = sc.nextInt(); int m = 100000; for (int i = 0; i < n; i++) { m += (int)Math.ceil(m*0.05/1000)*1000; } out.println(m); } public static void main(String[] args) { new Main().run(); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 17, 41, 13, 12, 13, 30, 42, 4, 13, 30, 4, 13, 23, 13, 12, 13, 30, 14, 40, 4, 18, 13, 29, 17, 0, 13, 4, 18, 13, 29, 17, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 17, 2, 13, 17, 4, 18, 18, 13, 13, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 82, 5 ], [ 82, 6 ], [ 6, 7 ], [ 6, 8 ], [ 82, 9 ], [ 9, 10 ], [ 9, 11 ], [ 82, 12 ], [ 12, 13 ], [ 82, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 82, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 28, 33 ], [ 33, 34 ], [ 27, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 27, 40 ], [ 40, 41 ], [ 82, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 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 ], [ 57, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 44, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 0, 81 ], [ 81, 82 ], [ 81, 83 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main{\n\t\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tstatic int loan = 100000, week;\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\twhile(read()){\n\t\t\tsolve();\n\t\t}\n\n\t}\n\t\n\tpublic static boolean read(){\n\t\tif(!sc.hasNext()) return false;\n\t\t\n\t\tweek = sc.nextInt();\n\t\t\n\t\treturn true;\n\t}\n\t\n\tpublic static void solve(){\n\t\t\n\t\tfor(int i = 0; i < week; i++){\n\t\t\tloan *= 1.05;\n\t\t\tif(loan % 1000 != 0){\n\t\t\t\tloan += 1000 - loan % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(loan);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\t\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tstatic int loan = 100000, week;\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\twhile(read()){\n\t\t\tsolve();\n\t\t}\n\n\t}\n\t\n\tpublic static boolean read(){\n\t\tif(!sc.hasNext()) return false;\n\t\t\n\t\tweek = sc.nextInt();\n\t\t\n\t\treturn true;\n\t}\n\t\n\tpublic static void solve(){\n\t\t\n\t\tfor(int i = 0; i < week; i++){\n\t\t\tloan *= 1.05;\n\t\t\tif(loan % 1000 != 0){\n\t\t\t\tloan += 1000 - loan % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(loan);\n\t}\n\n}", "Main", "static Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "static int loan = 100000", "loan", "100000", "week;", "week", "public static void main(String[] args) {\n\t\t\n\t\twhile(read()){\n\t\t\tsolve();\n\t\t}\n\n\t}", "main", "{\n\t\t\n\t\twhile(read()){\n\t\t\tsolve();\n\t\t}\n\n\t}", "while(read()){\n\t\t\tsolve();\n\t\t}", "read()", "read", "{\n\t\t\tsolve();\n\t\t}", "solve()", "solve", "String[] args", "args", "public static boolean read(){\n\t\tif(!sc.hasNext()) return false;\n\t\t\n\t\tweek = sc.nextInt();\n\t\t\n\t\treturn true;\n\t}", "read", "{\n\t\tif(!sc.hasNext()) return false;\n\t\t\n\t\tweek = sc.nextInt();\n\t\t\n\t\treturn true;\n\t}", "if(!sc.hasNext()) return false;", "!sc.hasNext()", "sc.hasNext()", "sc.hasNext", "sc", "return false;", "false", "week = sc.nextInt()", "week", "sc.nextInt()", "sc.nextInt", "sc", "return true;", "true", "public static void solve(){\n\t\t\n\t\tfor(int i = 0; i < week; i++){\n\t\t\tloan *= 1.05;\n\t\t\tif(loan % 1000 != 0){\n\t\t\t\tloan += 1000 - loan % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(loan);\n\t}", "solve", "{\n\t\t\n\t\tfor(int i = 0; i < week; i++){\n\t\t\tloan *= 1.05;\n\t\t\tif(loan % 1000 != 0){\n\t\t\t\tloan += 1000 - loan % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(loan);\n\t}", "for(int i = 0; i < week; i++){\n\t\t\tloan *= 1.05;\n\t\t\tif(loan % 1000 != 0){\n\t\t\t\tloan += 1000 - loan % 1000;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < week", "i", "week", "i++", "i++", "i", "{\n\t\t\tloan *= 1.05;\n\t\t\tif(loan % 1000 != 0){\n\t\t\t\tloan += 1000 - loan % 1000;\n\t\t\t}\n\t\t}", "{\n\t\t\tloan *= 1.05;\n\t\t\tif(loan % 1000 != 0){\n\t\t\t\tloan += 1000 - loan % 1000;\n\t\t\t}\n\t\t}", "loan *= 1.05", "loan", "1.05", "if(loan % 1000 != 0){\n\t\t\t\tloan += 1000 - loan % 1000;\n\t\t\t}", "loan % 1000 != 0", "loan % 1000", "loan", "1000", "0", "{\n\t\t\t\tloan += 1000 - loan % 1000;\n\t\t\t}", "loan += 1000 - loan % 1000", "loan", "1000 - loan % 1000", "1000", "loan % 1000", "loan", "1000", "System.out.println(loan)", "System.out.println", "System.out", "System", "System.out", "loan", "public class Main{\n\t\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tstatic int loan = 100000, week;\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\twhile(read()){\n\t\t\tsolve();\n\t\t}\n\n\t}\n\t\n\tpublic static boolean read(){\n\t\tif(!sc.hasNext()) return false;\n\t\t\n\t\tweek = sc.nextInt();\n\t\t\n\t\treturn true;\n\t}\n\t\n\tpublic static void solve(){\n\t\t\n\t\tfor(int i = 0; i < week; i++){\n\t\t\tloan *= 1.05;\n\t\t\tif(loan % 1000 != 0){\n\t\t\t\tloan += 1000 - loan % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(loan);\n\t}\n\n}", "public class Main{\n\t\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tstatic int loan = 100000, week;\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\twhile(read()){\n\t\t\tsolve();\n\t\t}\n\n\t}\n\t\n\tpublic static boolean read(){\n\t\tif(!sc.hasNext()) return false;\n\t\t\n\t\tweek = sc.nextInt();\n\t\t\n\t\treturn true;\n\t}\n\t\n\tpublic static void solve(){\n\t\t\n\t\tfor(int i = 0; i < week; i++){\n\t\t\tloan *= 1.05;\n\t\t\tif(loan % 1000 != 0){\n\t\t\t\tloan += 1000 - loan % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(loan);\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main{ static Scanner sc = new Scanner(System.in); static int loan = 100000, week; public static void main(String[] args) { while(read()){ solve(); } } public static boolean read(){ if(!sc.hasNext()) return false; week = sc.nextInt(); return true; } public static void solve(){ for(int i = 0; i < week; i++){ loan *= 1.05; if(loan % 1000 != 0){ loan += 1000 - loan % 1000; } } System.out.println(loan); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 2, 2, 2, 2, 13, 17, 17, 17, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 37, 43 ], [ 36, 44 ], [ 35, 45 ], [ 8, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 6, 52 ], [ 52, 53 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n int debt = 100000;\n int day = in.nextInt();\n for(int i = 0; i < day; i++){\n debt = (debt * 105 / 100 + 999) / 1000 * 1000;\n }\n System.out.println(debt);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n int debt = 100000;\n int day = in.nextInt();\n for(int i = 0; i < day; i++){\n debt = (debt * 105 / 100 + 999) / 1000 * 1000;\n }\n System.out.println(debt);\n }\n}", "Main", "public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n int debt = 100000;\n int day = in.nextInt();\n for(int i = 0; i < day; i++){\n debt = (debt * 105 / 100 + 999) / 1000 * 1000;\n }\n System.out.println(debt);\n }", "main", "{\n Scanner in = new Scanner(System.in);\n int debt = 100000;\n int day = in.nextInt();\n for(int i = 0; i < day; i++){\n debt = (debt * 105 / 100 + 999) / 1000 * 1000;\n }\n System.out.println(debt);\n }", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int debt = 100000;", "debt", "100000", "int day = in.nextInt();", "day", "in.nextInt()", "in.nextInt", "in", "for(int i = 0; i < day; i++){\n debt = (debt * 105 / 100 + 999) / 1000 * 1000;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < day", "i", "day", "i++", "i++", "i", "{\n debt = (debt * 105 / 100 + 999) / 1000 * 1000;\n }", "{\n debt = (debt * 105 / 100 + 999) / 1000 * 1000;\n }", "debt = (debt * 105 / 100 + 999) / 1000 * 1000", "debt", "(debt * 105 / 100 + 999) / 1000 * 1000", "(debt * 105 / 100 + 999) / 1000", "(debt * 105 / 100 + 999)", "debt * 105 / 100", "debt * 105", "debt", "105", "100", "999", "1000", "1000", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); int debt = 100000; int day = in.nextInt(); for(int i = 0; i < day; i++){ debt = (debt * 105 / 100 + 999) / 1000 * 1000; } System.out.println(debt); } }
[ 7, 15, 13, 17, 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, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 13, 13, 4, 18, 18, 13, 13, 17, 13, 23, 13, 12, 13, 30, 0, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 2, 13, 2, 13, 17, 17, 29, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 88, 11 ], [ 88, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 26, 27 ], [ 27, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 14, 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 ], [ 14, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 50, 56 ], [ 12, 57 ], [ 57, 58 ], [ 88, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 67, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 76, 82 ], [ 61, 83 ], [ 83, 84 ], [ 59, 85 ], [ 85, 86 ], [ 0, 87 ], [ 87, 88 ], [ 87, 89 ] ]
[ "\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\n\tpublic static void main(String argv[]) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tint week = Integer.parseInt(br.readLine());\n\t\tdouble money = 100000;\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\tmoney = plusMoney(money);\n\t\t}\n\t\tSystem.out.printf(\"%.0f\\n\",money);\n\t}\n\n\tpublic static double plusMoney(double money) {\n\t\tmoney = money * 1.05;\n\t\tif (money % 1000 != 0) {\n\t\t\tmoney = money - money % 1000 + 1000;\n\t\t}\n\t\treturn money;\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main{\n\n\tpublic static void main(String argv[]) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tint week = Integer.parseInt(br.readLine());\n\t\tdouble money = 100000;\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\tmoney = plusMoney(money);\n\t\t}\n\t\tSystem.out.printf(\"%.0f\\n\",money);\n\t}\n\n\tpublic static double plusMoney(double money) {\n\t\tmoney = money * 1.05;\n\t\tif (money % 1000 != 0) {\n\t\t\tmoney = money - money % 1000 + 1000;\n\t\t}\n\t\treturn money;\n\t}\n\n}", "Main", "public static void main(String argv[]) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tint week = Integer.parseInt(br.readLine());\n\t\tdouble money = 100000;\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\tmoney = plusMoney(money);\n\t\t}\n\t\tSystem.out.printf(\"%.0f\\n\",money);\n\t}", "main", "{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tint week = Integer.parseInt(br.readLine());\n\t\tdouble money = 100000;\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\tmoney = plusMoney(money);\n\t\t}\n\t\tSystem.out.printf(\"%.0f\\n\",money);\n\t}", "InputStreamReader is = new InputStreamReader(System.in);", "is", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(is);", "br", "new BufferedReader(is)", "int week = Integer.parseInt(br.readLine());", "week", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "double money = 100000;", "money", "100000", "for (int i = 0; i < week; i++) {\n\t\t\tmoney = plusMoney(money);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < week", "i", "week", "i++", "i++", "i", "{\n\t\t\tmoney = plusMoney(money);\n\t\t}", "{\n\t\t\tmoney = plusMoney(money);\n\t\t}", "money = plusMoney(money)", "money", "plusMoney(money)", "plusMoney", "money", "System.out.printf(\"%.0f\\n\",money)", "System.out.printf", "System.out", "System", "System.out", "\"%.0f\\n\"", "money", "String argv[]", "argv", "public static double plusMoney(double money) {\n\t\tmoney = money * 1.05;\n\t\tif (money % 1000 != 0) {\n\t\t\tmoney = money - money % 1000 + 1000;\n\t\t}\n\t\treturn money;\n\t}", "plusMoney", "{\n\t\tmoney = money * 1.05;\n\t\tif (money % 1000 != 0) {\n\t\t\tmoney = money - money % 1000 + 1000;\n\t\t}\n\t\treturn money;\n\t}", "money = money * 1.05", "money", "money * 1.05", "money", "1.05", "if (money % 1000 != 0) {\n\t\t\tmoney = money - money % 1000 + 1000;\n\t\t}", "money % 1000 != 0", "money % 1000", "money", "1000", "0", "{\n\t\t\tmoney = money - money % 1000 + 1000;\n\t\t}", "money = money - money % 1000 + 1000", "money", "money - money % 1000 + 1000", "money - money % 1000", "money", "money % 1000", "money", "1000", "1000", "return money;", "money", "double money", "money", "public class Main{\n\n\tpublic static void main(String argv[]) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tint week = Integer.parseInt(br.readLine());\n\t\tdouble money = 100000;\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\tmoney = plusMoney(money);\n\t\t}\n\t\tSystem.out.printf(\"%.0f\\n\",money);\n\t}\n\n\tpublic static double plusMoney(double money) {\n\t\tmoney = money * 1.05;\n\t\tif (money % 1000 != 0) {\n\t\t\tmoney = money - money % 1000 + 1000;\n\t\t}\n\t\treturn money;\n\t}\n\n}", "public class Main{\n\n\tpublic static void main(String argv[]) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tint week = Integer.parseInt(br.readLine());\n\t\tdouble money = 100000;\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\tmoney = plusMoney(money);\n\t\t}\n\t\tSystem.out.printf(\"%.0f\\n\",money);\n\t}\n\n\tpublic static double plusMoney(double money) {\n\t\tmoney = money * 1.05;\n\t\tif (money % 1000 != 0) {\n\t\t\tmoney = money - money % 1000 + 1000;\n\t\t}\n\t\treturn money;\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main{ public static void main(String argv[]) throws IOException { InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); int week = Integer.parseInt(br.readLine()); double money = 100000; for (int i = 0; i < week; i++) { money = plusMoney(money); } System.out.printf("%.0f\n",money); } public static double plusMoney(double money) { money = money * 1.05; if (money % 1000 != 0) { money = money - money % 1000 + 1000; } return money; } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 2, 2, 13, 17, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 60, 8 ], [ 60, 9 ], [ 9, 10 ], [ 9, 11 ], [ 60, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 41, 50 ], [ 14, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 12, 57 ], [ 57, 58 ], [ 0, 59 ], [ 59, 60 ], [ 59, 61 ] ]
[ "import java.io.IOException;\nimport java.util.Scanner;\n\npublic class Main {\n\tprivate static final int debt = 100000;\n\n\tpublic static void main(String[] a) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint len = sc.nextInt();\n\t\tint debtSum = debt;\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tdebtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000);\n\t\t}\n\t\tSystem.out.println(debtSum);\n\t}\n}", "import java.io.IOException;", "IOException", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tprivate static final int debt = 100000;\n\n\tpublic static void main(String[] a) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint len = sc.nextInt();\n\t\tint debtSum = debt;\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tdebtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000);\n\t\t}\n\t\tSystem.out.println(debtSum);\n\t}\n}", "Main", "private static final int debt = 100000;", "debt", "100000", "public static void main(String[] a) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint len = sc.nextInt();\n\t\tint debtSum = debt;\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tdebtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000);\n\t\t}\n\t\tSystem.out.println(debtSum);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint len = sc.nextInt();\n\t\tint debtSum = debt;\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tdebtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000);\n\t\t}\n\t\tSystem.out.println(debtSum);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int len = sc.nextInt();", "len", "sc.nextInt()", "sc.nextInt", "sc", "int debtSum = debt;", "debtSum", "debt", "for (int i = 0; i < len; i++) {\n\t\t\tdebtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < len", "i", "len", "i++", "i++", "i", "{\n\t\t\tdebtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000);\n\t\t}", "{\n\t\t\tdebtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000);\n\t\t}", "debtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000)", "debtSum", "(int) (Math.ceil((debtSum * 1.05) / 1000) * 1000)", "Math.ceil((debtSum * 1.05) / 1000)", "Math.ceil", "Math", "(debtSum * 1.05) / 1000", "(debtSum * 1.05)", "debtSum", "1.05", "1000", "1000", "System.out.println(debtSum)", "System.out.println", "System.out", "System", "System.out", "debtSum", "String[] a", "a", "public class Main {\n\tprivate static final int debt = 100000;\n\n\tpublic static void main(String[] a) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint len = sc.nextInt();\n\t\tint debtSum = debt;\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tdebtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000);\n\t\t}\n\t\tSystem.out.println(debtSum);\n\t}\n}", "public class Main {\n\tprivate static final int debt = 100000;\n\n\tpublic static void main(String[] a) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint len = sc.nextInt();\n\t\tint debtSum = debt;\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tdebtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000);\n\t\t}\n\t\tSystem.out.println(debtSum);\n\t}\n}", "Main" ]
import java.io.IOException; import java.util.Scanner; public class Main { private static final int debt = 100000; public static void main(String[] a) throws IOException { Scanner sc = new Scanner(System.in); int len = sc.nextInt(); int debtSum = debt; for (int i = 0; i < len; i++) { debtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000); } System.out.println(debtSum); } }
[ 7, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 0, 13, 17, 0, 13, 2, 2, 13, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 3, 4 ], [ 3, 5 ], [ 5, 6 ], [ 6, 7 ], [ 6, 8 ], [ 5, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 5, 14 ], [ 14, 15 ], [ 14, 16 ], [ 5, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 17, 22 ], [ 22, 23 ], [ 22, 24 ], [ 17, 25 ], [ 25, 26 ], [ 26, 27 ], [ 17, 28 ], [ 29, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 33, 35 ], [ 29, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 5, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 3, 49 ], [ 49, 50 ] ]
[ "class Main\n{\n\tpublic static void main( String[] args )\n\t{\n\t\tjava.util.Scanner sc = new java.util.Scanner( System.in );\n\t\t\n\t\tint n = sc.nextInt();\n\t\t\n\t\tdouble money = 100000;\n\t\t\n\t\tfor( int i = 0 ; i < n ; i++ ){\n\t\t\tmoney *= ( 1.05 );\n\t\t\tmoney += 999;\n\t\t\tmoney = (int)(money/1000)*1000;\n\t\t}\n\t\tSystem.out.println( (int)money );\n\t}\n}", "class Main\n{\n\tpublic static void main( String[] args )\n\t{\n\t\tjava.util.Scanner sc = new java.util.Scanner( System.in );\n\t\t\n\t\tint n = sc.nextInt();\n\t\t\n\t\tdouble money = 100000;\n\t\t\n\t\tfor( int i = 0 ; i < n ; i++ ){\n\t\t\tmoney *= ( 1.05 );\n\t\t\tmoney += 999;\n\t\t\tmoney = (int)(money/1000)*1000;\n\t\t}\n\t\tSystem.out.println( (int)money );\n\t}\n}", "Main", "public static void main( String[] args )\n\t{\n\t\tjava.util.Scanner sc = new java.util.Scanner( System.in );\n\t\t\n\t\tint n = sc.nextInt();\n\t\t\n\t\tdouble money = 100000;\n\t\t\n\t\tfor( int i = 0 ; i < n ; i++ ){\n\t\t\tmoney *= ( 1.05 );\n\t\t\tmoney += 999;\n\t\t\tmoney = (int)(money/1000)*1000;\n\t\t}\n\t\tSystem.out.println( (int)money );\n\t}", "main", "{\n\t\tjava.util.Scanner sc = new java.util.Scanner( System.in );\n\t\t\n\t\tint n = sc.nextInt();\n\t\t\n\t\tdouble money = 100000;\n\t\t\n\t\tfor( int i = 0 ; i < n ; i++ ){\n\t\t\tmoney *= ( 1.05 );\n\t\t\tmoney += 999;\n\t\t\tmoney = (int)(money/1000)*1000;\n\t\t}\n\t\tSystem.out.println( (int)money );\n\t}", "java.util.Scanner sc = new java.util.Scanner( System.in );", "sc", "new java.util.Scanner( System.in )", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "double money = 100000;", "money", "100000", "for( int i = 0 ; i < n ; i++ ){\n\t\t\tmoney *= ( 1.05 );\n\t\t\tmoney += 999;\n\t\t\tmoney = (int)(money/1000)*1000;\n\t\t}", "int i = 0 ;", "int i = 0 ;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tmoney *= ( 1.05 );\n\t\t\tmoney += 999;\n\t\t\tmoney = (int)(money/1000)*1000;\n\t\t}", "{\n\t\t\tmoney *= ( 1.05 );\n\t\t\tmoney += 999;\n\t\t\tmoney = (int)(money/1000)*1000;\n\t\t}", "money *= ( 1.05 )", "money", "( 1.05 )", "money += 999", "money", "999", "money = (int)(money/1000)*1000", "money", "(int)(money/1000)*1000", "(int)(money/1000)", "money", "1000", "1000", "System.out.println( (int)money )", "System.out.println", "System.out", "System", "System.out", "(int)money", "String[] args", "args" ]
class Main { public static void main( String[] args ) { java.util.Scanner sc = new java.util.Scanner( System.in ); int n = sc.nextInt(); double money = 100000; for( int i = 0 ; i < n ; i++ ){ money *= ( 1.05 ); money += 999; money = (int)(money/1000)*1000; } System.out.println( (int)money ); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 12, 13, 30, 42, 4, 13, 30, 4, 13, 23, 13, 12, 13, 30, 14, 40, 4, 18, 13, 29, 17, 0, 13, 4, 18, 13, 29, 17, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 17, 41, 13, 2, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 0, 13, 13, 4, 18, 18, 13, 13, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 86, 5 ], [ 86, 6 ], [ 6, 7 ], [ 6, 8 ], [ 86, 9 ], [ 9, 10 ], [ 86, 11 ], [ 11, 12 ], [ 11, 13 ], [ 13, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 86, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 25, 30 ], [ 30, 31 ], [ 24, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 24, 37 ], [ 37, 38 ], [ 86, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 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 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 57, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 76, 78 ], [ 41, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 0, 85 ], [ 85, 86 ], [ 85, 87 ] ]
[ "import java.util.*;\npublic class Main {\n static Scanner sc = new Scanner(System.in);\n static int n;\n\n public static void main(String[] args){\n while(read()){\n slove();\n }\n }\n static boolean read(){\n if(!sc.hasNext())return false;\n n = sc.nextInt();\n return true;\n }\n static void slove(){\n double Debt = 100000;\n for(int i = 0; i < n; i++){\n Debt = Debt*1.05;\n int r = (int)Debt%1000;\n if(r != 0){\n Debt += 1000;\n Debt -= r;\n //Debt = Math.round(Debt);\n }\n }\n System.out.println((int)Debt);\n }\n\n\n}", "import java.util.*;", "util.*", "java", "public class Main {\n static Scanner sc = new Scanner(System.in);\n static int n;\n\n public static void main(String[] args){\n while(read()){\n slove();\n }\n }\n static boolean read(){\n if(!sc.hasNext())return false;\n n = sc.nextInt();\n return true;\n }\n static void slove(){\n double Debt = 100000;\n for(int i = 0; i < n; i++){\n Debt = Debt*1.05;\n int r = (int)Debt%1000;\n if(r != 0){\n Debt += 1000;\n Debt -= r;\n //Debt = Math.round(Debt);\n }\n }\n System.out.println((int)Debt);\n }\n\n\n}", "Main", "static Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "static int n;", "n", "public static void main(String[] args){\n while(read()){\n slove();\n }\n }", "main", "{\n while(read()){\n slove();\n }\n }", "while(read()){\n slove();\n }", "read()", "read", "{\n slove();\n }", "slove()", "slove", "String[] args", "args", "static boolean read(){\n if(!sc.hasNext())return false;\n n = sc.nextInt();\n return true;\n }", "read", "{\n if(!sc.hasNext())return false;\n n = sc.nextInt();\n return true;\n }", "if(!sc.hasNext())return false;", "!sc.hasNext()", "sc.hasNext()", "sc.hasNext", "sc", "return false;", "false", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "return true;", "true", "static void slove(){\n double Debt = 100000;\n for(int i = 0; i < n; i++){\n Debt = Debt*1.05;\n int r = (int)Debt%1000;\n if(r != 0){\n Debt += 1000;\n Debt -= r;\n //Debt = Math.round(Debt);\n }\n }\n System.out.println((int)Debt);\n }", "slove", "{\n double Debt = 100000;\n for(int i = 0; i < n; i++){\n Debt = Debt*1.05;\n int r = (int)Debt%1000;\n if(r != 0){\n Debt += 1000;\n Debt -= r;\n //Debt = Math.round(Debt);\n }\n }\n System.out.println((int)Debt);\n }", "double Debt = 100000;", "Debt", "100000", "for(int i = 0; i < n; i++){\n Debt = Debt*1.05;\n int r = (int)Debt%1000;\n if(r != 0){\n Debt += 1000;\n Debt -= r;\n //Debt = Math.round(Debt);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n Debt = Debt*1.05;\n int r = (int)Debt%1000;\n if(r != 0){\n Debt += 1000;\n Debt -= r;\n //Debt = Math.round(Debt);\n }\n }", "{\n Debt = Debt*1.05;\n int r = (int)Debt%1000;\n if(r != 0){\n Debt += 1000;\n Debt -= r;\n //Debt = Math.round(Debt);\n }\n }", "Debt = Debt*1.05", "Debt", "Debt*1.05", "Debt", "1.05", "int r = (int)Debt%1000;", "r", "(int)Debt%1000", "(int)Debt", "1000", "if(r != 0){\n Debt += 1000;\n Debt -= r;\n //Debt = Math.round(Debt);\n }", "r != 0", "r", "0", "{\n Debt += 1000;\n Debt -= r;\n //Debt = Math.round(Debt);\n }", "Debt += 1000", "Debt", "1000", "Debt -= r", "Debt", "r", "System.out.println((int)Debt)", "System.out.println", "System.out", "System", "System.out", "(int)Debt", "public class Main {\n static Scanner sc = new Scanner(System.in);\n static int n;\n\n public static void main(String[] args){\n while(read()){\n slove();\n }\n }\n static boolean read(){\n if(!sc.hasNext())return false;\n n = sc.nextInt();\n return true;\n }\n static void slove(){\n double Debt = 100000;\n for(int i = 0; i < n; i++){\n Debt = Debt*1.05;\n int r = (int)Debt%1000;\n if(r != 0){\n Debt += 1000;\n Debt -= r;\n //Debt = Math.round(Debt);\n }\n }\n System.out.println((int)Debt);\n }\n\n\n}", "public class Main {\n static Scanner sc = new Scanner(System.in);\n static int n;\n\n public static void main(String[] args){\n while(read()){\n slove();\n }\n }\n static boolean read(){\n if(!sc.hasNext())return false;\n n = sc.nextInt();\n return true;\n }\n static void slove(){\n double Debt = 100000;\n for(int i = 0; i < n; i++){\n Debt = Debt*1.05;\n int r = (int)Debt%1000;\n if(r != 0){\n Debt += 1000;\n Debt -= r;\n //Debt = Math.round(Debt);\n }\n }\n System.out.println((int)Debt);\n }\n\n\n}", "Main" ]
import java.util.*; public class Main { static Scanner sc = new Scanner(System.in); static int n; public static void main(String[] args){ while(read()){ slove(); } } static boolean read(){ if(!sc.hasNext())return false; n = sc.nextInt(); return true; } static void slove(){ double Debt = 100000; for(int i = 0; i < n; i++){ Debt = Debt*1.05; int r = (int)Debt%1000; if(r != 0){ Debt += 1000; Debt -= r; //Debt = Math.round(Debt); } } System.out.println((int)Debt); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 4, 18, 13, 4, 18, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 20, 40, 17, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 63, 14 ], [ 63, 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 ], [ 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 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 17, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 15, 60 ], [ 60, 61 ], [ 0, 62 ], [ 62, 63 ], [ 62, 64 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\nimport java.math.BigDecimal;\n\npublic class Main {\n public static void main(String args[]) throws IOException {\n int debt = 100000;\n int nWeeks = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());\n for(int i = 0; i < nWeeks; i++) {\n debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValue();\n }\n System.out.println(debt);\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.math.BigDecimal;", "BigDecimal", "java.math", "public class Main {\n public static void main(String args[]) throws IOException {\n int debt = 100000;\n int nWeeks = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());\n for(int i = 0; i < nWeeks; i++) {\n debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValue();\n }\n System.out.println(debt);\n\n }\n}", "Main", "public static void main(String args[]) throws IOException {\n int debt = 100000;\n int nWeeks = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());\n for(int i = 0; i < nWeeks; i++) {\n debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValue();\n }\n System.out.println(debt);\n\n }", "main", "{\n int debt = 100000;\n int nWeeks = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());\n for(int i = 0; i < nWeeks; i++) {\n debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValue();\n }\n System.out.println(debt);\n\n }", "int debt = 100000;", "debt", "100000", "int nWeeks = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());", "nWeeks", "Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine())", "Integer.parseInt", "Integer", "new BufferedReader(new InputStreamReader(System.in)).readLine()", "new BufferedReader(new InputStreamReader(System.in)).readLine", "new BufferedReader(new InputStreamReader(System.in))", "for(int i = 0; i < nWeeks; i++) {\n debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValue();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < nWeeks", "i", "nWeeks", "i++", "i++", "i", "{\n debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValue();\n }", "{\n debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValue();\n }", "debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValue()", "debt", "new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValue()", "new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValue", "new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING)", "new BigDecimal(debt * 1.05).setScale", "new BigDecimal(debt * 1.05)", "-3", "3", "BigDecimal.ROUND_CEILING", "BigDecimal", "BigDecimal.ROUND_CEILING", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "String args[]", "args", "public class Main {\n public static void main(String args[]) throws IOException {\n int debt = 100000;\n int nWeeks = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());\n for(int i = 0; i < nWeeks; i++) {\n debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValue();\n }\n System.out.println(debt);\n\n }\n}", "public class Main {\n public static void main(String args[]) throws IOException {\n int debt = 100000;\n int nWeeks = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());\n for(int i = 0; i < nWeeks; i++) {\n debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValue();\n }\n System.out.println(debt);\n\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; import java.math.BigDecimal; public class Main { public static void main(String args[]) throws IOException { int debt = 100000; int nWeeks = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine()); for(int i = 0; i < nWeeks; i++) { debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValue(); } System.out.println(debt); } }
[ 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, 17, 41, 13, 17, 41, 13, 17, 42, 2, 13, 17, 30, 0, 13, 4, 18, 13, 2, 13, 13, 0, 13, 2, 13, 17, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 64, 11 ], [ 64, 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 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 14, 32 ], [ 32, 33 ], [ 32, 34 ], [ 14, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 39, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 39, 53 ], [ 53, 54 ], [ 14, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 12, 61 ], [ 61, 62 ], [ 0, 63 ], [ 63, 64 ], [ 63, 65 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\n\npublic class Main\n{\n\tpublic static void main(String[] arg) throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint debt = 100000;\n\t\tint add_debt =0; //additional debt\n\t\tdouble rate = 0.00005;\n\n\t\twhile( n > 0 ){\n\t\t add_debt = (int)Math.ceil(debt * rate);\n\t\t debt += add_debt*1000;\n\t\t n--;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "public class Main\n{\n\tpublic static void main(String[] arg) throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint debt = 100000;\n\t\tint add_debt =0; //additional debt\n\t\tdouble rate = 0.00005;\n\n\t\twhile( n > 0 ){\n\t\t add_debt = (int)Math.ceil(debt * rate);\n\t\t debt += add_debt*1000;\n\t\t n--;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n}", "Main", "public static void main(String[] arg) throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint debt = 100000;\n\t\tint add_debt =0; //additional debt\n\t\tdouble rate = 0.00005;\n\n\t\twhile( n > 0 ){\n\t\t add_debt = (int)Math.ceil(debt * rate);\n\t\t debt += add_debt*1000;\n\t\t n--;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint debt = 100000;\n\t\tint add_debt =0; //additional debt\n\t\tdouble rate = 0.00005;\n\n\t\twhile( n > 0 ){\n\t\t add_debt = (int)Math.ceil(debt * rate);\n\t\t debt += add_debt*1000;\n\t\t n--;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "int debt = 100000;", "debt", "100000", "int add_debt =0;", "add_debt", "0", "double rate = 0.00005;", "rate", "0.00005", "while( n > 0 ){\n\t\t add_debt = (int)Math.ceil(debt * rate);\n\t\t debt += add_debt*1000;\n\t\t n--;\n\t\t}", "n > 0", "n", "0", "{\n\t\t add_debt = (int)Math.ceil(debt * rate);\n\t\t debt += add_debt*1000;\n\t\t n--;\n\t\t}", "add_debt = (int)Math.ceil(debt * rate)", "add_debt", "(int)Math.ceil(debt * rate)", "Math.ceil", "Math", "debt * rate", "debt", "rate", "debt += add_debt*1000", "debt", "add_debt*1000", "add_debt", "1000", "n--", "n", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "String[] arg", "arg", "public class Main\n{\n\tpublic static void main(String[] arg) throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint debt = 100000;\n\t\tint add_debt =0; //additional debt\n\t\tdouble rate = 0.00005;\n\n\t\twhile( n > 0 ){\n\t\t add_debt = (int)Math.ceil(debt * rate);\n\t\t debt += add_debt*1000;\n\t\t n--;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n}", "public class Main\n{\n\tpublic static void main(String[] arg) throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint debt = 100000;\n\t\tint add_debt =0; //additional debt\n\t\tdouble rate = 0.00005;\n\n\t\twhile( n > 0 ){\n\t\t add_debt = (int)Math.ceil(debt * rate);\n\t\t debt += add_debt*1000;\n\t\t n--;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main { public static void main(String[] arg) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); int debt = 100000; int add_debt =0; //additional debt double rate = 0.00005; while( n > 0 ){ add_debt = (int)Math.ceil(debt * rate); debt += add_debt*1000; n--; } System.out.println(debt); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 13, 41, 13, 20, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 13, 0, 13, 4, 18, 13, 2, 13, 17, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 64, 5 ], [ 64, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 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 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 38, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 49, 51 ], [ 38, 52 ], [ 52, 53 ], [ 52, 54 ], [ 8, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 6, 61 ], [ 61, 62 ], [ 0, 63 ], [ 63, 64 ], [ 63, 65 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tfinal int principal = 100000;\n\t\tfinal float interest = 0.05f;\n\t\tint debtBal = principal;\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint week = scan.nextInt();\n\t\t\n\t\tfor(int i = 1; i <= week; i++) {\n\t\t\tdebtBal += debtBal * interest;\n\t\t\tdebtBal = (int)Math.ceil((double)debtBal / 1000);\n\t\t\tdebtBal *= 1000;\n\t\t}\n\t\t\n\t\tSystem.out.println(debtBal);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tfinal int principal = 100000;\n\t\tfinal float interest = 0.05f;\n\t\tint debtBal = principal;\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint week = scan.nextInt();\n\t\t\n\t\tfor(int i = 1; i <= week; i++) {\n\t\t\tdebtBal += debtBal * interest;\n\t\t\tdebtBal = (int)Math.ceil((double)debtBal / 1000);\n\t\t\tdebtBal *= 1000;\n\t\t}\n\t\t\n\t\tSystem.out.println(debtBal);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tfinal int principal = 100000;\n\t\tfinal float interest = 0.05f;\n\t\tint debtBal = principal;\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint week = scan.nextInt();\n\t\t\n\t\tfor(int i = 1; i <= week; i++) {\n\t\t\tdebtBal += debtBal * interest;\n\t\t\tdebtBal = (int)Math.ceil((double)debtBal / 1000);\n\t\t\tdebtBal *= 1000;\n\t\t}\n\t\t\n\t\tSystem.out.println(debtBal);\n\t}", "main", "{\n\t\tfinal int principal = 100000;\n\t\tfinal float interest = 0.05f;\n\t\tint debtBal = principal;\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint week = scan.nextInt();\n\t\t\n\t\tfor(int i = 1; i <= week; i++) {\n\t\t\tdebtBal += debtBal * interest;\n\t\t\tdebtBal = (int)Math.ceil((double)debtBal / 1000);\n\t\t\tdebtBal *= 1000;\n\t\t}\n\t\t\n\t\tSystem.out.println(debtBal);\n\t}", "final int principal = 100000;", "principal", "100000", "final float interest = 0.05f;", "interest", "0.05f", "int debtBal = principal;", "debtBal", "principal", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int week = scan.nextInt();", "week", "scan.nextInt()", "scan.nextInt", "scan", "for(int i = 1; i <= week; i++) {\n\t\t\tdebtBal += debtBal * interest;\n\t\t\tdebtBal = (int)Math.ceil((double)debtBal / 1000);\n\t\t\tdebtBal *= 1000;\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= week", "i", "week", "i++", "i++", "i", "{\n\t\t\tdebtBal += debtBal * interest;\n\t\t\tdebtBal = (int)Math.ceil((double)debtBal / 1000);\n\t\t\tdebtBal *= 1000;\n\t\t}", "{\n\t\t\tdebtBal += debtBal * interest;\n\t\t\tdebtBal = (int)Math.ceil((double)debtBal / 1000);\n\t\t\tdebtBal *= 1000;\n\t\t}", "debtBal += debtBal * interest", "debtBal", "debtBal * interest", "debtBal", "interest", "debtBal = (int)Math.ceil((double)debtBal / 1000)", "debtBal", "(int)Math.ceil((double)debtBal / 1000)", "Math.ceil", "Math", "(double)debtBal / 1000", "(double)debtBal", "1000", "debtBal *= 1000", "debtBal", "1000", "System.out.println(debtBal)", "System.out.println", "System.out", "System", "System.out", "debtBal", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tfinal int principal = 100000;\n\t\tfinal float interest = 0.05f;\n\t\tint debtBal = principal;\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint week = scan.nextInt();\n\t\t\n\t\tfor(int i = 1; i <= week; i++) {\n\t\t\tdebtBal += debtBal * interest;\n\t\t\tdebtBal = (int)Math.ceil((double)debtBal / 1000);\n\t\t\tdebtBal *= 1000;\n\t\t}\n\t\t\n\t\tSystem.out.println(debtBal);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tfinal int principal = 100000;\n\t\tfinal float interest = 0.05f;\n\t\tint debtBal = principal;\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint week = scan.nextInt();\n\t\t\n\t\tfor(int i = 1; i <= week; i++) {\n\t\t\tdebtBal += debtBal * interest;\n\t\t\tdebtBal = (int)Math.ceil((double)debtBal / 1000);\n\t\t\tdebtBal *= 1000;\n\t\t}\n\t\t\n\t\tSystem.out.println(debtBal);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { final int principal = 100000; final float interest = 0.05f; int debtBal = principal; Scanner scan = new Scanner(System.in); int week = scan.nextInt(); for(int i = 1; i <= week; i++) { debtBal += debtBal * interest; debtBal = (int)Math.ceil((double)debtBal / 1000); debtBal *= 1000; } System.out.println(debtBal); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 42, 4, 18, 13, 30, 0, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 2, 13, 17, 4, 18, 18, 13, 13, 2, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 17, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 21, 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 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 21, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 6, 56 ], [ 56, 57 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \t\n \tdouble money = 100;\n \tint week;\n \twhile (scan.hasNextInt()){\n \t\tweek = scan.nextInt();\n \t\tfor(int i = 0; i < week; i++){\n \t\t\tmoney = Math.ceil(money*1.05);\n \t\t}\n \t\tSystem.out.println((int)money*1000);\n \t}\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \t\n \tdouble money = 100;\n \tint week;\n \twhile (scan.hasNextInt()){\n \t\tweek = scan.nextInt();\n \t\tfor(int i = 0; i < week; i++){\n \t\t\tmoney = Math.ceil(money*1.05);\n \t\t}\n \t\tSystem.out.println((int)money*1000);\n \t}\n }\n}", "Main", "public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \t\n \tdouble money = 100;\n \tint week;\n \twhile (scan.hasNextInt()){\n \t\tweek = scan.nextInt();\n \t\tfor(int i = 0; i < week; i++){\n \t\t\tmoney = Math.ceil(money*1.05);\n \t\t}\n \t\tSystem.out.println((int)money*1000);\n \t}\n }", "main", "{\n \tScanner scan = new Scanner(System.in);\n \t\n \tdouble money = 100;\n \tint week;\n \twhile (scan.hasNextInt()){\n \t\tweek = scan.nextInt();\n \t\tfor(int i = 0; i < week; i++){\n \t\t\tmoney = Math.ceil(money*1.05);\n \t\t}\n \t\tSystem.out.println((int)money*1000);\n \t}\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "double money = 100;", "money", "100", "int week;", "week", "while (scan.hasNextInt()){\n \t\tweek = scan.nextInt();\n \t\tfor(int i = 0; i < week; i++){\n \t\t\tmoney = Math.ceil(money*1.05);\n \t\t}\n \t\tSystem.out.println((int)money*1000);\n \t}", "scan.hasNextInt()", "scan.hasNextInt", "scan", "{\n \t\tweek = scan.nextInt();\n \t\tfor(int i = 0; i < week; i++){\n \t\t\tmoney = Math.ceil(money*1.05);\n \t\t}\n \t\tSystem.out.println((int)money*1000);\n \t}", "week = scan.nextInt()", "week", "scan.nextInt()", "scan.nextInt", "scan", "for(int i = 0; i < week; i++){\n \t\t\tmoney = Math.ceil(money*1.05);\n \t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < week", "i", "week", "i++", "i++", "i", "{\n \t\t\tmoney = Math.ceil(money*1.05);\n \t\t}", "{\n \t\t\tmoney = Math.ceil(money*1.05);\n \t\t}", "money = Math.ceil(money*1.05)", "money", "Math.ceil(money*1.05)", "Math.ceil", "Math", "money*1.05", "money", "1.05", "System.out.println((int)money*1000)", "System.out.println", "System.out", "System", "System.out", "(int)money*1000", "(int)money", "1000", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); double money = 100; int week; while (scan.hasNextInt()){ week = scan.nextInt(); for(int i = 0; i < week; i++){ money = Math.ceil(money*1.05); } System.out.println((int)money*1000); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 2, 13, 17, 0, 13, 2, 13, 17, 0, 13, 4, 18, 13, 13, 0, 13, 2, 13, 17, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 43, 45 ], [ 38, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 38, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 38, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 38, 62 ], [ 62, 63 ], [ 62, 64 ], [ 8, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 6, 71 ], [ 71, 72 ] ]
[ "import java.io.*;\n \nclass Main{\n public static void main(String[] args) throws Exception{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double x = Double.parseDouble(br.readLine());\n double y = 100000;\n long z = 0;\n for (long i=0; i<x; i++) {\n y = y + (y * 0.05);\n y = y /1000;\n y = Math.ceil(y);\n y = y * 1000;\n z = (long)y;\n }\n System.out.println(z);\n }\n}", "import java.io.*;", "io.*", "java", "class Main{\n public static void main(String[] args) throws Exception{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double x = Double.parseDouble(br.readLine());\n double y = 100000;\n long z = 0;\n for (long i=0; i<x; i++) {\n y = y + (y * 0.05);\n y = y /1000;\n y = Math.ceil(y);\n y = y * 1000;\n z = (long)y;\n }\n System.out.println(z);\n }\n}", "Main", "public static void main(String[] args) throws Exception{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double x = Double.parseDouble(br.readLine());\n double y = 100000;\n long z = 0;\n for (long i=0; i<x; i++) {\n y = y + (y * 0.05);\n y = y /1000;\n y = Math.ceil(y);\n y = y * 1000;\n z = (long)y;\n }\n System.out.println(z);\n }", "main", "{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double x = Double.parseDouble(br.readLine());\n double y = 100000;\n long z = 0;\n for (long i=0; i<x; i++) {\n y = y + (y * 0.05);\n y = y /1000;\n y = Math.ceil(y);\n y = y * 1000;\n z = (long)y;\n }\n System.out.println(z);\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "double x = Double.parseDouble(br.readLine());", "x", "Double.parseDouble(br.readLine())", "Double.parseDouble", "Double", "br.readLine()", "br.readLine", "br", "double y = 100000;", "y", "100000", "long z = 0;", "z", "0", "for (long i=0; i<x; i++) {\n y = y + (y * 0.05);\n y = y /1000;\n y = Math.ceil(y);\n y = y * 1000;\n z = (long)y;\n }", "long i=0;", "long i=0;", "i", "0", "i<x", "i", "x", "i++", "i++", "i", "{\n y = y + (y * 0.05);\n y = y /1000;\n y = Math.ceil(y);\n y = y * 1000;\n z = (long)y;\n }", "{\n y = y + (y * 0.05);\n y = y /1000;\n y = Math.ceil(y);\n y = y * 1000;\n z = (long)y;\n }", "y = y + (y * 0.05)", "y", "y + (y * 0.05)", "y", "(y * 0.05)", "y", "0.05", "y = y /1000", "y", "y /1000", "y", "1000", "y = Math.ceil(y)", "y", "Math.ceil(y)", "Math.ceil", "Math", "y", "y = y * 1000", "y", "y * 1000", "y", "1000", "z = (long)y", "z", "(long)y", "System.out.println(z)", "System.out.println", "System.out", "System", "System.out", "z", "String[] args", "args" ]
import java.io.*; class Main{ public static void main(String[] args) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); double x = Double.parseDouble(br.readLine()); double y = 100000; long z = 0; for (long i=0; i<x; i++) { y = y + (y * 0.05); y = y /1000; y = Math.ceil(y); y = y * 1000; z = (long)y; } System.out.println(z); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 17, 41, 13, 17, 38, 5, 13, 30, 4, 18, 18, 13, 13, 17, 30, 0, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 17, 40, 13, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 86, 11 ], [ 86, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 14, 24 ], [ 24, 25 ], [ 24, 26 ], [ 14, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 27, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 44, 45 ], [ 14, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 46, 54 ], [ 54, 55 ], [ 55, 56 ], [ 46, 57 ], [ 58, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 72, 73 ], [ 68, 74 ], [ 74, 75 ], [ 74, 76 ], [ 14, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 12, 83 ], [ 83, 84 ], [ 0, 85 ], [ 85, 86 ], [ 85, 87 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tint syakkin = 100000;\n\t\tint week = 0;\n\n\t\ttry {\n\t\t\tweek = Integer.parseInt(br.readLine());\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"error\");\n\t\t}\n\t\tfor(int i=0;i < week ;i++){\n\t\t\tsyakkin *= 1.05;\n\t\t\tif(syakkin % 1000 > 0){\n\t\t\t\tsyakkin /= 1000;\n\t\t\t\tsyakkin++;\n\t\t\t\tsyakkin *= 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(syakkin);\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args){\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tint syakkin = 100000;\n\t\tint week = 0;\n\n\t\ttry {\n\t\t\tweek = Integer.parseInt(br.readLine());\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"error\");\n\t\t}\n\t\tfor(int i=0;i < week ;i++){\n\t\t\tsyakkin *= 1.05;\n\t\t\tif(syakkin % 1000 > 0){\n\t\t\t\tsyakkin /= 1000;\n\t\t\t\tsyakkin++;\n\t\t\t\tsyakkin *= 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(syakkin);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tint syakkin = 100000;\n\t\tint week = 0;\n\n\t\ttry {\n\t\t\tweek = Integer.parseInt(br.readLine());\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"error\");\n\t\t}\n\t\tfor(int i=0;i < week ;i++){\n\t\t\tsyakkin *= 1.05;\n\t\t\tif(syakkin % 1000 > 0){\n\t\t\t\tsyakkin /= 1000;\n\t\t\t\tsyakkin++;\n\t\t\t\tsyakkin *= 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(syakkin);\n\t}", "main", "{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tint syakkin = 100000;\n\t\tint week = 0;\n\n\t\ttry {\n\t\t\tweek = Integer.parseInt(br.readLine());\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"error\");\n\t\t}\n\t\tfor(int i=0;i < week ;i++){\n\t\t\tsyakkin *= 1.05;\n\t\t\tif(syakkin % 1000 > 0){\n\t\t\t\tsyakkin /= 1000;\n\t\t\t\tsyakkin++;\n\t\t\t\tsyakkin *= 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(syakkin);\n\t}", "InputStreamReader is = new InputStreamReader(System.in);", "is", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(is);", "br", "new BufferedReader(is)", "int syakkin = 100000;", "syakkin", "100000", "int week = 0;", "week", "0", "try {\n\t\t\tweek = Integer.parseInt(br.readLine());\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"error\");\n\t\t}", "catch (IOException e) {\n\t\t\tSystem.out.println(\"error\");\n\t\t}", "IOException e", "{\n\t\t\tSystem.out.println(\"error\");\n\t\t}", "System.out.println(\"error\")", "System.out.println", "System.out", "System", "System.out", "\"error\"", "{\n\t\t\tweek = Integer.parseInt(br.readLine());\n\t\t}", "week = Integer.parseInt(br.readLine())", "week", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for(int i=0;i < week ;i++){\n\t\t\tsyakkin *= 1.05;\n\t\t\tif(syakkin % 1000 > 0){\n\t\t\t\tsyakkin /= 1000;\n\t\t\t\tsyakkin++;\n\t\t\t\tsyakkin *= 1000;\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i < week", "i", "week", "i++", "i++", "i", "{\n\t\t\tsyakkin *= 1.05;\n\t\t\tif(syakkin % 1000 > 0){\n\t\t\t\tsyakkin /= 1000;\n\t\t\t\tsyakkin++;\n\t\t\t\tsyakkin *= 1000;\n\t\t\t}\n\t\t}", "{\n\t\t\tsyakkin *= 1.05;\n\t\t\tif(syakkin % 1000 > 0){\n\t\t\t\tsyakkin /= 1000;\n\t\t\t\tsyakkin++;\n\t\t\t\tsyakkin *= 1000;\n\t\t\t}\n\t\t}", "syakkin *= 1.05", "syakkin", "1.05", "if(syakkin % 1000 > 0){\n\t\t\t\tsyakkin /= 1000;\n\t\t\t\tsyakkin++;\n\t\t\t\tsyakkin *= 1000;\n\t\t\t}", "syakkin % 1000 > 0", "syakkin % 1000", "syakkin", "1000", "0", "{\n\t\t\t\tsyakkin /= 1000;\n\t\t\t\tsyakkin++;\n\t\t\t\tsyakkin *= 1000;\n\t\t\t}", "syakkin /= 1000", "syakkin", "1000", "syakkin++", "syakkin", "syakkin *= 1000", "syakkin", "1000", "System.out.println(syakkin)", "System.out.println", "System.out", "System", "System.out", "syakkin", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tint syakkin = 100000;\n\t\tint week = 0;\n\n\t\ttry {\n\t\t\tweek = Integer.parseInt(br.readLine());\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"error\");\n\t\t}\n\t\tfor(int i=0;i < week ;i++){\n\t\t\tsyakkin *= 1.05;\n\t\t\tif(syakkin % 1000 > 0){\n\t\t\t\tsyakkin /= 1000;\n\t\t\t\tsyakkin++;\n\t\t\t\tsyakkin *= 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(syakkin);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tint syakkin = 100000;\n\t\tint week = 0;\n\n\t\ttry {\n\t\t\tweek = Integer.parseInt(br.readLine());\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"error\");\n\t\t}\n\t\tfor(int i=0;i < week ;i++){\n\t\t\tsyakkin *= 1.05;\n\t\t\tif(syakkin % 1000 > 0){\n\t\t\t\tsyakkin /= 1000;\n\t\t\t\tsyakkin++;\n\t\t\t\tsyakkin *= 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(syakkin);\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){ InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); int syakkin = 100000; int week = 0; try { week = Integer.parseInt(br.readLine()); } catch (IOException e) { System.out.println("error"); } for(int i=0;i < week ;i++){ syakkin *= 1.05; if(syakkin % 1000 > 0){ syakkin /= 1000; syakkin++; syakkin *= 1000; } } System.out.println(syakkin); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 2, 13, 17, 17, 41, 13, 2, 13, 17, 14, 2, 13, 17, 30, 0, 13, 2, 17, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 12, 13, 30, 4, 18, 20, 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 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 32, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 42, 44 ], [ 32, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 8, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 8, 61 ], [ 61, 62 ], [ 62, 63 ], [ 73, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 64, 70 ], [ 70, 71 ], [ 0, 72 ], [ 72, 73 ], [ 72, 74 ] ]
[ "\nimport java.util.Scanner;\n\npublic class Main {\n\n\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint m = 100000;\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tm += m * 5 / 100;\n\n\t\t\tint r = m % 1000;\n\t\t\tif(r != 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(m);\n\n\t\tsc.close();\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint m = 100000;\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tm += m * 5 / 100;\n\n\t\t\tint r = m % 1000;\n\t\t\tif(r != 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(m);\n\n\t\tsc.close();\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n}", "Main", "void run() {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint m = 100000;\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tm += m * 5 / 100;\n\n\t\t\tint r = m % 1000;\n\t\t\tif(r != 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(m);\n\n\t\tsc.close();\n\t}", "run", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint m = 100000;\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tm += m * 5 / 100;\n\n\t\t\tint r = m % 1000;\n\t\t\tif(r != 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(m);\n\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = 100000;", "m", "100000", "for(int i = 0; i < n; i++) {\n\t\t\tm += m * 5 / 100;\n\n\t\t\tint r = m % 1000;\n\t\t\tif(r != 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tm += m * 5 / 100;\n\n\t\t\tint r = m % 1000;\n\t\t\tif(r != 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}\n\t\t}", "{\n\t\t\tm += m * 5 / 100;\n\n\t\t\tint r = m % 1000;\n\t\t\tif(r != 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}\n\t\t}", "m += m * 5 / 100", "m", "m * 5 / 100", "m * 5", "m", "5", "100", "int r = m % 1000;", "r", "m % 1000", "m", "1000", "if(r != 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}", "r != 0", "r", "0", "{\n\t\t\t\tm += 1000 - r;\n\t\t\t}", "m += 1000 - r", "m", "1000 - r", "1000", "r", "System.out.println(m)", "System.out.println", "System.out", "System", "System.out", "m", "sc.close()", "sc.close", "sc", "public static void main(String[] args) {\n\t\tnew Main().run();\n\t}", "main", "{\n\t\tnew Main().run();\n\t}", "new Main().run()", "new Main().run", "new Main()", "String[] args", "args", "public class Main {\n\n\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint m = 100000;\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tm += m * 5 / 100;\n\n\t\t\tint r = m % 1000;\n\t\t\tif(r != 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(m);\n\n\t\tsc.close();\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n}", "public class Main {\n\n\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint m = 100000;\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tm += m * 5 / 100;\n\n\t\t\tint r = m % 1000;\n\t\t\tif(r != 0) {\n\t\t\t\tm += 1000 - r;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(m);\n\n\t\tsc.close();\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { void run() { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = 100000; for(int i = 0; i < n; i++) { m += m * 5 / 100; int r = m % 1000; if(r != 0) { m += 1000 - r; } } System.out.println(m); sc.close(); } public static void main(String[] args) { new Main().run(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 13, 17, 0, 13, 17, 4, 18, 18, 13, 13, 17, 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 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 35, 37 ], [ 32, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 38, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 44, 50 ], [ 50, 51 ], [ 50, 52 ], [ 8, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 53, 59 ], [ 6, 60 ], [ 60, 61 ], [ 0, 62 ], [ 62, 63 ], [ 62, 64 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tdouble c = 100000;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tc += c*0.05;\n\t\t\tif(c % 1000 != 0) {\n\t\t\t\tc -= c % 1000;\n\t\t\t\tc += 1000;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tSystem.out.printf(\"%.0f\\n\",c);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tdouble c = 100000;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tc += c*0.05;\n\t\t\tif(c % 1000 != 0) {\n\t\t\t\tc -= c % 1000;\n\t\t\t\tc += 1000;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tSystem.out.printf(\"%.0f\\n\",c);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tdouble c = 100000;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tc += c*0.05;\n\t\t\tif(c % 1000 != 0) {\n\t\t\t\tc -= c % 1000;\n\t\t\t\tc += 1000;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tSystem.out.printf(\"%.0f\\n\",c);\n\t}", "main", "{\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tdouble c = 100000;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tc += c*0.05;\n\t\t\tif(c % 1000 != 0) {\n\t\t\t\tc -= c % 1000;\n\t\t\t\tc += 1000;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tSystem.out.printf(\"%.0f\\n\",c);\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int n = s.nextInt();", "n", "s.nextInt()", "s.nextInt", "s", "double c = 100000;", "c", "100000", "for(int i = 0; i < n; i++) {\n\t\t\tc += c*0.05;\n\t\t\tif(c % 1000 != 0) {\n\t\t\t\tc -= c % 1000;\n\t\t\t\tc += 1000;\n\t\t\t}\n\t\t\t\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tc += c*0.05;\n\t\t\tif(c % 1000 != 0) {\n\t\t\t\tc -= c % 1000;\n\t\t\t\tc += 1000;\n\t\t\t}\n\t\t\t\n\t\t}", "{\n\t\t\tc += c*0.05;\n\t\t\tif(c % 1000 != 0) {\n\t\t\t\tc -= c % 1000;\n\t\t\t\tc += 1000;\n\t\t\t}\n\t\t\t\n\t\t}", "c += c*0.05", "c", "c*0.05", "c", "0.05", "if(c % 1000 != 0) {\n\t\t\t\tc -= c % 1000;\n\t\t\t\tc += 1000;\n\t\t\t}", "c % 1000 != 0", "c % 1000", "c", "1000", "0", "{\n\t\t\t\tc -= c % 1000;\n\t\t\t\tc += 1000;\n\t\t\t}", "c -= c % 1000", "c", "c % 1000", "c", "1000", "c += 1000", "c", "1000", "System.out.printf(\"%.0f\\n\",c)", "System.out.printf", "System.out", "System", "System.out", "\"%.0f\\n\"", "c", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tdouble c = 100000;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tc += c*0.05;\n\t\t\tif(c % 1000 != 0) {\n\t\t\t\tc -= c % 1000;\n\t\t\t\tc += 1000;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tSystem.out.printf(\"%.0f\\n\",c);\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tdouble c = 100000;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tc += c*0.05;\n\t\t\tif(c % 1000 != 0) {\n\t\t\t\tc -= c % 1000;\n\t\t\t\tc += 1000;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tSystem.out.printf(\"%.0f\\n\",c);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int n = s.nextInt(); double c = 100000; for(int i = 0; i < n; i++) { c += c*0.05; if(c % 1000 != 0) { c -= c % 1000; c += 1000; } } System.out.printf("%.0f\n",c); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 12, 13, 30, 4, 18, 18, 13, 13, 4, 13, 13, 4, 18, 20, 23, 13, 12, 13, 30, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 2, 2, 13, 2, 17, 13, 13, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 71, 5 ], [ 71, 6 ], [ 6, 7 ], [ 6, 8 ], [ 71, 9 ], [ 9, 10 ], [ 9, 11 ], [ 71, 12 ], [ 12, 13 ], [ 12, 14 ], [ 71, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 18, 23 ], [ 23, 24 ], [ 23, 25 ], [ 23, 26 ], [ 26, 27 ], [ 27, 28 ], [ 15, 29 ], [ 29, 30 ], [ 71, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 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 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 56, 62 ], [ 52, 63 ], [ 33, 64 ], [ 64, 65 ], [ 31, 66 ], [ 66, 67 ], [ 31, 68 ], [ 68, 69 ], [ 0, 70 ], [ 70, 71 ], [ 70, 72 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static final double FIRST_DEBT = 100000.0;\n public static final double INTEREST = 0.05;\n public static final double CEIL_BASE = 1000.0;\n\n public static void main(String args[]) {\n System.out.println(\n calcDebt(FIRST_DEBT, new Scanner(System.in).nextInt())\n );\n\n }\n\n private static int calcDebt(double firstDebt, int nWeeks) {\n double debt = firstDebt;\n for(int i = 0; i< nWeeks; i++) {\n debt = Math.ceil(debt * (1 + INTEREST) / CEIL_BASE) * CEIL_BASE;\n }\n return (int)debt;\n }\n} ", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static final double FIRST_DEBT = 100000.0;\n public static final double INTEREST = 0.05;\n public static final double CEIL_BASE = 1000.0;\n\n public static void main(String args[]) {\n System.out.println(\n calcDebt(FIRST_DEBT, new Scanner(System.in).nextInt())\n );\n\n }\n\n private static int calcDebt(double firstDebt, int nWeeks) {\n double debt = firstDebt;\n for(int i = 0; i< nWeeks; i++) {\n debt = Math.ceil(debt * (1 + INTEREST) / CEIL_BASE) * CEIL_BASE;\n }\n return (int)debt;\n }\n}", "Main", "public static final double FIRST_DEBT = 100000.0;", "FIRST_DEBT", "100000.0", "public static final double INTEREST = 0.05;", "INTEREST", "0.05", "public static final double CEIL_BASE = 1000.0;", "CEIL_BASE", "1000.0", "public static void main(String args[]) {\n System.out.println(\n calcDebt(FIRST_DEBT, new Scanner(System.in).nextInt())\n );\n\n }", "main", "{\n System.out.println(\n calcDebt(FIRST_DEBT, new Scanner(System.in).nextInt())\n );\n\n }", "System.out.println(\n calcDebt(FIRST_DEBT, new Scanner(System.in).nextInt())\n )", "System.out.println", "System.out", "System", "System.out", "calcDebt(FIRST_DEBT, new Scanner(System.in).nextInt())", "calcDebt", "FIRST_DEBT", "new Scanner(System.in).nextInt()", "new Scanner(System.in).nextInt", "new Scanner(System.in)", "String args[]", "args", "private static int calcDebt(double firstDebt, int nWeeks) {\n double debt = firstDebt;\n for(int i = 0; i< nWeeks; i++) {\n debt = Math.ceil(debt * (1 + INTEREST) / CEIL_BASE) * CEIL_BASE;\n }\n return (int)debt;\n }", "calcDebt", "{\n double debt = firstDebt;\n for(int i = 0; i< nWeeks; i++) {\n debt = Math.ceil(debt * (1 + INTEREST) / CEIL_BASE) * CEIL_BASE;\n }\n return (int)debt;\n }", "double debt = firstDebt;", "debt", "firstDebt", "for(int i = 0; i< nWeeks; i++) {\n debt = Math.ceil(debt * (1 + INTEREST) / CEIL_BASE) * CEIL_BASE;\n }", "int i = 0;", "int i = 0;", "i", "0", "i< nWeeks", "i", "nWeeks", "i++", "i++", "i", "{\n debt = Math.ceil(debt * (1 + INTEREST) / CEIL_BASE) * CEIL_BASE;\n }", "{\n debt = Math.ceil(debt * (1 + INTEREST) / CEIL_BASE) * CEIL_BASE;\n }", "debt = Math.ceil(debt * (1 + INTEREST) / CEIL_BASE) * CEIL_BASE", "debt", "Math.ceil(debt * (1 + INTEREST) / CEIL_BASE) * CEIL_BASE", "Math.ceil(debt * (1 + INTEREST) / CEIL_BASE)", "Math.ceil", "Math", "debt * (1 + INTEREST) / CEIL_BASE", "debt * (1 + INTEREST)", "debt", "(1 + INTEREST)", "1", "INTEREST", "CEIL_BASE", "CEIL_BASE", "return (int)debt;", "(int)debt", "double firstDebt", "firstDebt", "int nWeeks", "nWeeks", "public class Main {\n public static final double FIRST_DEBT = 100000.0;\n public static final double INTEREST = 0.05;\n public static final double CEIL_BASE = 1000.0;\n\n public static void main(String args[]) {\n System.out.println(\n calcDebt(FIRST_DEBT, new Scanner(System.in).nextInt())\n );\n\n }\n\n private static int calcDebt(double firstDebt, int nWeeks) {\n double debt = firstDebt;\n for(int i = 0; i< nWeeks; i++) {\n debt = Math.ceil(debt * (1 + INTEREST) / CEIL_BASE) * CEIL_BASE;\n }\n return (int)debt;\n }\n}", "public class Main {\n public static final double FIRST_DEBT = 100000.0;\n public static final double INTEREST = 0.05;\n public static final double CEIL_BASE = 1000.0;\n\n public static void main(String args[]) {\n System.out.println(\n calcDebt(FIRST_DEBT, new Scanner(System.in).nextInt())\n );\n\n }\n\n private static int calcDebt(double firstDebt, int nWeeks) {\n double debt = firstDebt;\n for(int i = 0; i< nWeeks; i++) {\n debt = Math.ceil(debt * (1 + INTEREST) / CEIL_BASE) * CEIL_BASE;\n }\n return (int)debt;\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static final double FIRST_DEBT = 100000.0; public static final double INTEREST = 0.05; public static final double CEIL_BASE = 1000.0; public static void main(String args[]) { System.out.println( calcDebt(FIRST_DEBT, new Scanner(System.in).nextInt()) ); } private static int calcDebt(double firstDebt, int nWeeks) { double debt = firstDebt; for(int i = 0; i< nWeeks; i++) { debt = Math.ceil(debt * (1 + INTEREST) / CEIL_BASE) * CEIL_BASE; } return (int)debt; } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 39, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 12, 13, 30, 41, 13, 4, 18, 13, 4, 18, 20, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 138, 11 ], [ 138, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 14, 16 ], [ 14, 17 ], [ 14, 18 ], [ 14, 19 ], [ 14, 20 ], [ 14, 21 ], [ 14, 22 ], [ 14, 23 ], [ 14, 24 ], [ 14, 25 ], [ 14, 26 ], [ 14, 27 ], [ 14, 28 ], [ 14, 29 ], [ 14, 30 ], [ 14, 31 ], [ 14, 32 ], [ 14, 33 ], [ 14, 34 ], [ 14, 35 ], [ 14, 36 ], [ 14, 37 ], [ 14, 38 ], [ 14, 39 ], [ 14, 40 ], [ 14, 41 ], [ 14, 42 ], [ 14, 43 ], [ 14, 44 ], [ 14, 45 ], [ 14, 46 ], [ 14, 47 ], [ 14, 48 ], [ 14, 49 ], [ 14, 50 ], [ 14, 51 ], [ 14, 52 ], [ 14, 53 ], [ 14, 54 ], [ 14, 55 ], [ 14, 56 ], [ 14, 57 ], [ 14, 58 ], [ 14, 59 ], [ 14, 60 ], [ 14, 61 ], [ 14, 62 ], [ 14, 63 ], [ 14, 64 ], [ 14, 65 ], [ 14, 66 ], [ 14, 67 ], [ 14, 68 ], [ 14, 69 ], [ 14, 70 ], [ 14, 71 ], [ 14, 72 ], [ 14, 73 ], [ 14, 74 ], [ 14, 75 ], [ 14, 76 ], [ 14, 77 ], [ 14, 78 ], [ 14, 79 ], [ 14, 80 ], [ 14, 81 ], [ 14, 82 ], [ 14, 83 ], [ 14, 84 ], [ 14, 85 ], [ 14, 86 ], [ 14, 87 ], [ 14, 88 ], [ 14, 89 ], [ 14, 90 ], [ 14, 91 ], [ 14, 92 ], [ 14, 93 ], [ 14, 94 ], [ 14, 95 ], [ 14, 96 ], [ 14, 97 ], [ 14, 98 ], [ 14, 99 ], [ 14, 100 ], [ 14, 101 ], [ 14, 102 ], [ 14, 103 ], [ 14, 104 ], [ 14, 105 ], [ 14, 106 ], [ 14, 107 ], [ 14, 108 ], [ 14, 109 ], [ 14, 110 ], [ 14, 111 ], [ 14, 112 ], [ 14, 113 ], [ 14, 114 ], [ 14, 115 ], [ 138, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 124, 125 ], [ 125, 126 ], [ 118, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 132, 133 ], [ 132, 134 ], [ 116, 135 ], [ 135, 136 ], [ 0, 137 ], [ 137, 138 ], [ 137, 139 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\n\npublic class Main {\n private static final int[] ary = {\n 100000,\n 105000,\n 111000,\n 117000,\n 123000,\n 130000,\n 137000,\n 144000,\n 152000,\n 160000,\n 168000,\n 177000,\n 186000,\n 196000,\n 206000,\n 217000,\n 228000,\n 240000,\n 252000,\n 265000,\n 279000,\n 293000,\n 308000,\n 324000,\n 341000,\n 359000,\n 377000,\n 396000,\n 416000,\n 437000,\n 459000,\n 482000,\n 507000,\n 533000,\n 560000,\n 588000,\n 618000,\n 649000,\n 682000,\n 717000,\n 753000,\n 791000,\n 831000,\n 873000,\n 917000,\n 963000,\n 1012000,\n 1063000,\n 1117000,\n 1173000,\n 1232000,\n 1294000,\n 1359000,\n 1427000,\n 1499000,\n 1574000,\n 1653000,\n 1736000,\n 1823000,\n 1915000,\n 2011000,\n 2112000,\n 2218000,\n 2329000,\n 2446000,\n 2569000,\n 2698000,\n 2833000,\n 2975000,\n 3124000,\n 3281000,\n 3446000,\n 3619000,\n 3800000,\n 3990000,\n 4190000,\n 4400000,\n 4620000,\n 4851000,\n 5094000,\n 5349000,\n 5617000,\n 5898000,\n 6193000,\n 6503000,\n 6829000,\n 7171000,\n 7530000,\n 7907000,\n 8303000,\n 8719000,\n 9155000,\n 9613000,\n 10094000,\n 10599000,\n 11129000,\n 11686000,\n 12271000,\n 12885000,\n 13530000,\n 14207000\n };\n\n public static void main(String args[]) throws IOException {\n //n週間の入力を取得\n int nWeeks = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());\n System.out.println(ary[nWeeks]);\n\n }\n} ", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "public class Main {\n private static final int[] ary = {\n 100000,\n 105000,\n 111000,\n 117000,\n 123000,\n 130000,\n 137000,\n 144000,\n 152000,\n 160000,\n 168000,\n 177000,\n 186000,\n 196000,\n 206000,\n 217000,\n 228000,\n 240000,\n 252000,\n 265000,\n 279000,\n 293000,\n 308000,\n 324000,\n 341000,\n 359000,\n 377000,\n 396000,\n 416000,\n 437000,\n 459000,\n 482000,\n 507000,\n 533000,\n 560000,\n 588000,\n 618000,\n 649000,\n 682000,\n 717000,\n 753000,\n 791000,\n 831000,\n 873000,\n 917000,\n 963000,\n 1012000,\n 1063000,\n 1117000,\n 1173000,\n 1232000,\n 1294000,\n 1359000,\n 1427000,\n 1499000,\n 1574000,\n 1653000,\n 1736000,\n 1823000,\n 1915000,\n 2011000,\n 2112000,\n 2218000,\n 2329000,\n 2446000,\n 2569000,\n 2698000,\n 2833000,\n 2975000,\n 3124000,\n 3281000,\n 3446000,\n 3619000,\n 3800000,\n 3990000,\n 4190000,\n 4400000,\n 4620000,\n 4851000,\n 5094000,\n 5349000,\n 5617000,\n 5898000,\n 6193000,\n 6503000,\n 6829000,\n 7171000,\n 7530000,\n 7907000,\n 8303000,\n 8719000,\n 9155000,\n 9613000,\n 10094000,\n 10599000,\n 11129000,\n 11686000,\n 12271000,\n 12885000,\n 13530000,\n 14207000\n };\n\n public static void main(String args[]) throws IOException {\n //n週間の入力を取得\n int nWeeks = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());\n System.out.println(ary[nWeeks]);\n\n }\n}", "Main", "private static final int[] ary = {\n 100000,\n 105000,\n 111000,\n 117000,\n 123000,\n 130000,\n 137000,\n 144000,\n 152000,\n 160000,\n 168000,\n 177000,\n 186000,\n 196000,\n 206000,\n 217000,\n 228000,\n 240000,\n 252000,\n 265000,\n 279000,\n 293000,\n 308000,\n 324000,\n 341000,\n 359000,\n 377000,\n 396000,\n 416000,\n 437000,\n 459000,\n 482000,\n 507000,\n 533000,\n 560000,\n 588000,\n 618000,\n 649000,\n 682000,\n 717000,\n 753000,\n 791000,\n 831000,\n 873000,\n 917000,\n 963000,\n 1012000,\n 1063000,\n 1117000,\n 1173000,\n 1232000,\n 1294000,\n 1359000,\n 1427000,\n 1499000,\n 1574000,\n 1653000,\n 1736000,\n 1823000,\n 1915000,\n 2011000,\n 2112000,\n 2218000,\n 2329000,\n 2446000,\n 2569000,\n 2698000,\n 2833000,\n 2975000,\n 3124000,\n 3281000,\n 3446000,\n 3619000,\n 3800000,\n 3990000,\n 4190000,\n 4400000,\n 4620000,\n 4851000,\n 5094000,\n 5349000,\n 5617000,\n 5898000,\n 6193000,\n 6503000,\n 6829000,\n 7171000,\n 7530000,\n 7907000,\n 8303000,\n 8719000,\n 9155000,\n 9613000,\n 10094000,\n 10599000,\n 11129000,\n 11686000,\n 12271000,\n 12885000,\n 13530000,\n 14207000\n };", "ary", "{\n 100000,\n 105000,\n 111000,\n 117000,\n 123000,\n 130000,\n 137000,\n 144000,\n 152000,\n 160000,\n 168000,\n 177000,\n 186000,\n 196000,\n 206000,\n 217000,\n 228000,\n 240000,\n 252000,\n 265000,\n 279000,\n 293000,\n 308000,\n 324000,\n 341000,\n 359000,\n 377000,\n 396000,\n 416000,\n 437000,\n 459000,\n 482000,\n 507000,\n 533000,\n 560000,\n 588000,\n 618000,\n 649000,\n 682000,\n 717000,\n 753000,\n 791000,\n 831000,\n 873000,\n 917000,\n 963000,\n 1012000,\n 1063000,\n 1117000,\n 1173000,\n 1232000,\n 1294000,\n 1359000,\n 1427000,\n 1499000,\n 1574000,\n 1653000,\n 1736000,\n 1823000,\n 1915000,\n 2011000,\n 2112000,\n 2218000,\n 2329000,\n 2446000,\n 2569000,\n 2698000,\n 2833000,\n 2975000,\n 3124000,\n 3281000,\n 3446000,\n 3619000,\n 3800000,\n 3990000,\n 4190000,\n 4400000,\n 4620000,\n 4851000,\n 5094000,\n 5349000,\n 5617000,\n 5898000,\n 6193000,\n 6503000,\n 6829000,\n 7171000,\n 7530000,\n 7907000,\n 8303000,\n 8719000,\n 9155000,\n 9613000,\n 10094000,\n 10599000,\n 11129000,\n 11686000,\n 12271000,\n 12885000,\n 13530000,\n 14207000\n }", "100000", "105000", "111000", "117000", "123000", "130000", "137000", "144000", "152000", "160000", "168000", "177000", "186000", "196000", "206000", "217000", "228000", "240000", "252000", "265000", "279000", "293000", "308000", "324000", "341000", "359000", "377000", "396000", "416000", "437000", "459000", "482000", "507000", "533000", "560000", "588000", "618000", "649000", "682000", "717000", "753000", "791000", "831000", "873000", "917000", "963000", "1012000", "1063000", "1117000", "1173000", "1232000", "1294000", "1359000", "1427000", "1499000", "1574000", "1653000", "1736000", "1823000", "1915000", "2011000", "2112000", "2218000", "2329000", "2446000", "2569000", "2698000", "2833000", "2975000", "3124000", "3281000", "3446000", "3619000", "3800000", "3990000", "4190000", "4400000", "4620000", "4851000", "5094000", "5349000", "5617000", "5898000", "6193000", "6503000", "6829000", "7171000", "7530000", "7907000", "8303000", "8719000", "9155000", "9613000", "10094000", "10599000", "11129000", "11686000", "12271000", "12885000", "13530000", "14207000", "public static void main(String args[]) throws IOException {\n //n週間の入力を取得\n int nWeeks = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());\n System.out.println(ary[nWeeks]);\n\n }", "main", "{\n //n週間の入力を取得\n int nWeeks = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());\n System.out.println(ary[nWeeks]);\n\n }", "int nWeeks = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());", "nWeeks", "Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine())", "Integer.parseInt", "Integer", "new BufferedReader(new InputStreamReader(System.in)).readLine()", "new BufferedReader(new InputStreamReader(System.in)).readLine", "new BufferedReader(new InputStreamReader(System.in))", "System.out.println(ary[nWeeks])", "System.out.println", "System.out", "System", "System.out", "ary[nWeeks]", "ary", "nWeeks", "String args[]", "args", "public class Main {\n private static final int[] ary = {\n 100000,\n 105000,\n 111000,\n 117000,\n 123000,\n 130000,\n 137000,\n 144000,\n 152000,\n 160000,\n 168000,\n 177000,\n 186000,\n 196000,\n 206000,\n 217000,\n 228000,\n 240000,\n 252000,\n 265000,\n 279000,\n 293000,\n 308000,\n 324000,\n 341000,\n 359000,\n 377000,\n 396000,\n 416000,\n 437000,\n 459000,\n 482000,\n 507000,\n 533000,\n 560000,\n 588000,\n 618000,\n 649000,\n 682000,\n 717000,\n 753000,\n 791000,\n 831000,\n 873000,\n 917000,\n 963000,\n 1012000,\n 1063000,\n 1117000,\n 1173000,\n 1232000,\n 1294000,\n 1359000,\n 1427000,\n 1499000,\n 1574000,\n 1653000,\n 1736000,\n 1823000,\n 1915000,\n 2011000,\n 2112000,\n 2218000,\n 2329000,\n 2446000,\n 2569000,\n 2698000,\n 2833000,\n 2975000,\n 3124000,\n 3281000,\n 3446000,\n 3619000,\n 3800000,\n 3990000,\n 4190000,\n 4400000,\n 4620000,\n 4851000,\n 5094000,\n 5349000,\n 5617000,\n 5898000,\n 6193000,\n 6503000,\n 6829000,\n 7171000,\n 7530000,\n 7907000,\n 8303000,\n 8719000,\n 9155000,\n 9613000,\n 10094000,\n 10599000,\n 11129000,\n 11686000,\n 12271000,\n 12885000,\n 13530000,\n 14207000\n };\n\n public static void main(String args[]) throws IOException {\n //n週間の入力を取得\n int nWeeks = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());\n System.out.println(ary[nWeeks]);\n\n }\n}", "public class Main {\n private static final int[] ary = {\n 100000,\n 105000,\n 111000,\n 117000,\n 123000,\n 130000,\n 137000,\n 144000,\n 152000,\n 160000,\n 168000,\n 177000,\n 186000,\n 196000,\n 206000,\n 217000,\n 228000,\n 240000,\n 252000,\n 265000,\n 279000,\n 293000,\n 308000,\n 324000,\n 341000,\n 359000,\n 377000,\n 396000,\n 416000,\n 437000,\n 459000,\n 482000,\n 507000,\n 533000,\n 560000,\n 588000,\n 618000,\n 649000,\n 682000,\n 717000,\n 753000,\n 791000,\n 831000,\n 873000,\n 917000,\n 963000,\n 1012000,\n 1063000,\n 1117000,\n 1173000,\n 1232000,\n 1294000,\n 1359000,\n 1427000,\n 1499000,\n 1574000,\n 1653000,\n 1736000,\n 1823000,\n 1915000,\n 2011000,\n 2112000,\n 2218000,\n 2329000,\n 2446000,\n 2569000,\n 2698000,\n 2833000,\n 2975000,\n 3124000,\n 3281000,\n 3446000,\n 3619000,\n 3800000,\n 3990000,\n 4190000,\n 4400000,\n 4620000,\n 4851000,\n 5094000,\n 5349000,\n 5617000,\n 5898000,\n 6193000,\n 6503000,\n 6829000,\n 7171000,\n 7530000,\n 7907000,\n 8303000,\n 8719000,\n 9155000,\n 9613000,\n 10094000,\n 10599000,\n 11129000,\n 11686000,\n 12271000,\n 12885000,\n 13530000,\n 14207000\n };\n\n public static void main(String args[]) throws IOException {\n //n週間の入力を取得\n int nWeeks = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());\n System.out.println(ary[nWeeks]);\n\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main { private static final int[] ary = { 100000, 105000, 111000, 117000, 123000, 130000, 137000, 144000, 152000, 160000, 168000, 177000, 186000, 196000, 206000, 217000, 228000, 240000, 252000, 265000, 279000, 293000, 308000, 324000, 341000, 359000, 377000, 396000, 416000, 437000, 459000, 482000, 507000, 533000, 560000, 588000, 618000, 649000, 682000, 717000, 753000, 791000, 831000, 873000, 917000, 963000, 1012000, 1063000, 1117000, 1173000, 1232000, 1294000, 1359000, 1427000, 1499000, 1574000, 1653000, 1736000, 1823000, 1915000, 2011000, 2112000, 2218000, 2329000, 2446000, 2569000, 2698000, 2833000, 2975000, 3124000, 3281000, 3446000, 3619000, 3800000, 3990000, 4190000, 4400000, 4620000, 4851000, 5094000, 5349000, 5617000, 5898000, 6193000, 6503000, 6829000, 7171000, 7530000, 7907000, 8303000, 8719000, 9155000, 9613000, 10094000, 10599000, 11129000, 11686000, 12271000, 12885000, 13530000, 14207000 }; public static void main(String args[]) throws IOException { //n週間の入力を取得 int nWeeks = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine()); System.out.println(ary[nWeeks]); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 13, 4, 18, 13, 13, 40, 17, 18, 13, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 7, 12 ], [ 12, 13 ], [ 12, 14 ], [ 7, 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 ], [ 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 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 47, 56 ], [ 56, 57 ], [ 47, 58 ], [ 58, 59 ], [ 58, 60 ], [ 17, 61 ], [ 61, 62 ], [ 62, 63 ], [ 17, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 69, 70 ], [ 70, 71 ], [ 15, 72 ], [ 72, 73 ] ]
[ "import java.math.BigDecimal;\nimport java.util.Scanner;\nclass Main {\n public static final BigDecimal DEPT = new BigDecimal(100000);\n public static final BigDecimal INTEREST = new BigDecimal(\"0.05\");\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int week = Integer.parseInt(s.next());\n BigDecimal repay = DEPT;\n for (int i = 0; i < week; ++i) {\n repay = repay.add(repay.multiply(INTEREST)).setScale(-3,\n BigDecimal.ROUND_CEILING);\n }\n s.close();\n System.out.println(repay.toPlainString());\n }\n}", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n public static final BigDecimal DEPT = new BigDecimal(100000);\n public static final BigDecimal INTEREST = new BigDecimal(\"0.05\");\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int week = Integer.parseInt(s.next());\n BigDecimal repay = DEPT;\n for (int i = 0; i < week; ++i) {\n repay = repay.add(repay.multiply(INTEREST)).setScale(-3,\n BigDecimal.ROUND_CEILING);\n }\n s.close();\n System.out.println(repay.toPlainString());\n }\n}", "Main", "public static final BigDecimal DEPT = new BigDecimal(100000);", "DEPT", "new BigDecimal(100000)", "public static final BigDecimal INTEREST = new BigDecimal(\"0.05\");", "INTEREST", "new BigDecimal(\"0.05\")", "public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int week = Integer.parseInt(s.next());\n BigDecimal repay = DEPT;\n for (int i = 0; i < week; ++i) {\n repay = repay.add(repay.multiply(INTEREST)).setScale(-3,\n BigDecimal.ROUND_CEILING);\n }\n s.close();\n System.out.println(repay.toPlainString());\n }", "main", "{\n Scanner s = new Scanner(System.in);\n int week = Integer.parseInt(s.next());\n BigDecimal repay = DEPT;\n for (int i = 0; i < week; ++i) {\n repay = repay.add(repay.multiply(INTEREST)).setScale(-3,\n BigDecimal.ROUND_CEILING);\n }\n s.close();\n System.out.println(repay.toPlainString());\n }", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int week = Integer.parseInt(s.next());", "week", "Integer.parseInt(s.next())", "Integer.parseInt", "Integer", "s.next()", "s.next", "s", "BigDecimal repay = DEPT;", "repay", "DEPT", "for (int i = 0; i < week; ++i) {\n repay = repay.add(repay.multiply(INTEREST)).setScale(-3,\n BigDecimal.ROUND_CEILING);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < week", "i", "week", "++i", "++i", "i", "{\n repay = repay.add(repay.multiply(INTEREST)).setScale(-3,\n BigDecimal.ROUND_CEILING);\n }", "{\n repay = repay.add(repay.multiply(INTEREST)).setScale(-3,\n BigDecimal.ROUND_CEILING);\n }", "repay = repay.add(repay.multiply(INTEREST)).setScale(-3,\n BigDecimal.ROUND_CEILING)", "repay", "repay.add(repay.multiply(INTEREST)).setScale(-3,\n BigDecimal.ROUND_CEILING)", "repay.add(repay.multiply(INTEREST)).setScale", "repay.add(repay.multiply(INTEREST))", "repay.add", "repay", "repay.multiply(INTEREST)", "repay.multiply", "repay", "INTEREST", "-3", "3", "BigDecimal.ROUND_CEILING", "BigDecimal", "BigDecimal.ROUND_CEILING", "s.close()", "s.close", "s", "System.out.println(repay.toPlainString())", "System.out.println", "System.out", "System", "System.out", "repay.toPlainString()", "repay.toPlainString", "repay", "String[] args", "args" ]
import java.math.BigDecimal; import java.util.Scanner; class Main { public static final BigDecimal DEPT = new BigDecimal(100000); public static final BigDecimal INTEREST = new BigDecimal("0.05"); public static void main(String[] args) { Scanner s = new Scanner(System.in); int week = Integer.parseInt(s.next()); BigDecimal repay = DEPT; for (int i = 0; i < week; ++i) { repay = repay.add(repay.multiply(INTEREST)).setScale(-3, BigDecimal.ROUND_CEILING); } s.close(); System.out.println(repay.toPlainString()); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 4, 18, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 20, 40, 17, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 57, 11 ], [ 57, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 23, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 14, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 12, 54 ], [ 54, 55 ], [ 0, 56 ], [ 56, 57 ], [ 56, 58 ] ]
[ "import java.util.Scanner;\nimport java.math.BigDecimal;\nimport java.math.RoundingMode;\n\npublic class Main {\n public static void main(String args[]) {\n int debt = 100000;\n int nWeeks = new Scanner(System.in).nextInt();\n for(int i = 0; i < nWeeks; i++) {\n debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue();\n }\n System.out.println(debt);\n\n }\n} ", "import java.util.Scanner;", "Scanner", "java.util", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.math.RoundingMode;", "RoundingMode", "java.math", "public class Main {\n public static void main(String args[]) {\n int debt = 100000;\n int nWeeks = new Scanner(System.in).nextInt();\n for(int i = 0; i < nWeeks; i++) {\n debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue();\n }\n System.out.println(debt);\n\n }\n}", "Main", "public static void main(String args[]) {\n int debt = 100000;\n int nWeeks = new Scanner(System.in).nextInt();\n for(int i = 0; i < nWeeks; i++) {\n debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue();\n }\n System.out.println(debt);\n\n }", "main", "{\n int debt = 100000;\n int nWeeks = new Scanner(System.in).nextInt();\n for(int i = 0; i < nWeeks; i++) {\n debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue();\n }\n System.out.println(debt);\n\n }", "int debt = 100000;", "debt", "100000", "int nWeeks = new Scanner(System.in).nextInt();", "nWeeks", "new Scanner(System.in).nextInt()", "new Scanner(System.in).nextInt", "new Scanner(System.in)", "for(int i = 0; i < nWeeks; i++) {\n debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < nWeeks", "i", "nWeeks", "i++", "i++", "i", "{\n debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue();\n }", "{\n debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue();\n }", "debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue()", "debt", "new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue()", "new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue", "new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING)", "new BigDecimal(debt * 1.05).setScale", "new BigDecimal(debt * 1.05)", "-3", "3", "RoundingMode.CEILING", "RoundingMode", "RoundingMode.CEILING", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "String args[]", "args", "public class Main {\n public static void main(String args[]) {\n int debt = 100000;\n int nWeeks = new Scanner(System.in).nextInt();\n for(int i = 0; i < nWeeks; i++) {\n debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue();\n }\n System.out.println(debt);\n\n }\n}", "public class Main {\n public static void main(String args[]) {\n int debt = 100000;\n int nWeeks = new Scanner(System.in).nextInt();\n for(int i = 0; i < nWeeks; i++) {\n debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue();\n }\n System.out.println(debt);\n\n }\n}", "Main" ]
import java.util.Scanner; import java.math.BigDecimal; import java.math.RoundingMode; public class Main { public static void main(String args[]) { int debt = 100000; int nWeeks = new Scanner(System.in).nextInt(); for(int i = 0; i < nWeeks; i++) { debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue(); } System.out.println(debt); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 18, 13, 13, 17, 30, 41, 13, 20, 41, 13, 17, 41, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 17, 13, 14, 2, 2, 13, 17, 17, 0, 13, 2, 17, 2, 2, 13, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 16, 21 ], [ 12, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 26, 28 ], [ 22, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 35, 36 ], [ 22, 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 ], [ 55, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 22, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 9, 76 ], [ 76, 77 ] ]
[ "import java.util.*;\nimport java.io.*;\nclass Main{\n public static void main(String[] args){\n\ttry{\n\t BufferedReader s = new BufferedReader(new InputStreamReader(System.in));\n\t int x = 100000, n = Integer.valueOf(s.readLine());\n\t for(int i=0; i<n; i++){\n\t\tx+=0.05*x;\n\t\tif(x%1000!=0)\n\t\t x=1000*(x/1000+1);\n\t }\n\t System.out.println(x);\n\t}catch(Exception e){\n\t System.out.println(\"Error\");\n\t}\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "class Main{\n public static void main(String[] args){\n\ttry{\n\t BufferedReader s = new BufferedReader(new InputStreamReader(System.in));\n\t int x = 100000, n = Integer.valueOf(s.readLine());\n\t for(int i=0; i<n; i++){\n\t\tx+=0.05*x;\n\t\tif(x%1000!=0)\n\t\t x=1000*(x/1000+1);\n\t }\n\t System.out.println(x);\n\t}catch(Exception e){\n\t System.out.println(\"Error\");\n\t}\n }\n}", "Main", "public static void main(String[] args){\n\ttry{\n\t BufferedReader s = new BufferedReader(new InputStreamReader(System.in));\n\t int x = 100000, n = Integer.valueOf(s.readLine());\n\t for(int i=0; i<n; i++){\n\t\tx+=0.05*x;\n\t\tif(x%1000!=0)\n\t\t x=1000*(x/1000+1);\n\t }\n\t System.out.println(x);\n\t}catch(Exception e){\n\t System.out.println(\"Error\");\n\t}\n }", "main", "{\n\ttry{\n\t BufferedReader s = new BufferedReader(new InputStreamReader(System.in));\n\t int x = 100000, n = Integer.valueOf(s.readLine());\n\t for(int i=0; i<n; i++){\n\t\tx+=0.05*x;\n\t\tif(x%1000!=0)\n\t\t x=1000*(x/1000+1);\n\t }\n\t System.out.println(x);\n\t}catch(Exception e){\n\t System.out.println(\"Error\");\n\t}\n }", "try{\n\t BufferedReader s = new BufferedReader(new InputStreamReader(System.in));\n\t int x = 100000, n = Integer.valueOf(s.readLine());\n\t for(int i=0; i<n; i++){\n\t\tx+=0.05*x;\n\t\tif(x%1000!=0)\n\t\t x=1000*(x/1000+1);\n\t }\n\t System.out.println(x);\n\t}catch(Exception e){\n\t System.out.println(\"Error\");\n\t}", "catch(Exception e){\n\t System.out.println(\"Error\");\n\t}", "Exception e", "{\n\t System.out.println(\"Error\");\n\t}", "System.out.println(\"Error\")", "System.out.println", "System.out", "System", "System.out", "\"Error\"", "{\n\t BufferedReader s = new BufferedReader(new InputStreamReader(System.in));\n\t int x = 100000, n = Integer.valueOf(s.readLine());\n\t for(int i=0; i<n; i++){\n\t\tx+=0.05*x;\n\t\tif(x%1000!=0)\n\t\t x=1000*(x/1000+1);\n\t }\n\t System.out.println(x);\n\t}", "BufferedReader s = new BufferedReader(new InputStreamReader(System.in));", "s", "new BufferedReader(new InputStreamReader(System.in))", "int x = 100000", "x", "100000", "n = Integer.valueOf(s.readLine());", "n", "Integer.valueOf(s.readLine())", "Integer.valueOf", "Integer", "s.readLine()", "s.readLine", "s", "for(int i=0; i<n; i++){\n\t\tx+=0.05*x;\n\t\tif(x%1000!=0)\n\t\t x=1000*(x/1000+1);\n\t }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\tx+=0.05*x;\n\t\tif(x%1000!=0)\n\t\t x=1000*(x/1000+1);\n\t }", "{\n\t\tx+=0.05*x;\n\t\tif(x%1000!=0)\n\t\t x=1000*(x/1000+1);\n\t }", "x+=0.05*x", "x", "0.05*x", "0.05", "x", "if(x%1000!=0)\n\t\t x=1000*(x/1000+1);", "x%1000!=0", "x%1000", "x", "1000", "0", "x=1000*(x/1000+1)", "x", "1000*(x/1000+1)", "1000", "(x/1000+1)", "x/1000", "x", "1000", "1", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "String[] args", "args" ]
import java.util.*; import java.io.*; class Main{ public static void main(String[] args){ try{ BufferedReader s = new BufferedReader(new InputStreamReader(System.in)); int x = 100000, n = Integer.valueOf(s.readLine()); for(int i=0; i<n; i++){ x+=0.05*x; if(x%1000!=0) x=1000*(x/1000+1); } System.out.println(x); }catch(Exception e){ System.out.println("Error"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 20, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 2, 2, 13, 17, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 61, 5 ], [ 61, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 36, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 45, 51 ], [ 8, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 6, 58 ], [ 58, 59 ], [ 0, 60 ], [ 60, 61 ], [ 60, 62 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] a){\n\t\tlong debt = 100000;\n\t\tScanner scn = new Scanner(System.in);\n\t\tint n = scn.nextInt();\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tdebt *= 1.05f;\n\t\t\tif(debt % 1000 != 0){\n\t\t\t\tdebt = (debt/1000 + 1) * 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] a){\n\t\tlong debt = 100000;\n\t\tScanner scn = new Scanner(System.in);\n\t\tint n = scn.nextInt();\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tdebt *= 1.05f;\n\t\t\tif(debt % 1000 != 0){\n\t\t\t\tdebt = (debt/1000 + 1) * 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n}", "Main", "public static void main(String[] a){\n\t\tlong debt = 100000;\n\t\tScanner scn = new Scanner(System.in);\n\t\tint n = scn.nextInt();\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tdebt *= 1.05f;\n\t\t\tif(debt % 1000 != 0){\n\t\t\t\tdebt = (debt/1000 + 1) * 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(debt);\n\t}", "main", "{\n\t\tlong debt = 100000;\n\t\tScanner scn = new Scanner(System.in);\n\t\tint n = scn.nextInt();\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tdebt *= 1.05f;\n\t\t\tif(debt % 1000 != 0){\n\t\t\t\tdebt = (debt/1000 + 1) * 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(debt);\n\t}", "long debt = 100000;", "debt", "100000", "Scanner scn = new Scanner(System.in);", "scn", "new Scanner(System.in)", "int n = scn.nextInt();", "n", "scn.nextInt()", "scn.nextInt", "scn", "for(int i = 0;i < n;i++){\n\t\t\tdebt *= 1.05f;\n\t\t\tif(debt % 1000 != 0){\n\t\t\t\tdebt = (debt/1000 + 1) * 1000;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tdebt *= 1.05f;\n\t\t\tif(debt % 1000 != 0){\n\t\t\t\tdebt = (debt/1000 + 1) * 1000;\n\t\t\t}\n\t\t}", "{\n\t\t\tdebt *= 1.05f;\n\t\t\tif(debt % 1000 != 0){\n\t\t\t\tdebt = (debt/1000 + 1) * 1000;\n\t\t\t}\n\t\t}", "debt *= 1.05f", "debt", "1.05f", "if(debt % 1000 != 0){\n\t\t\t\tdebt = (debt/1000 + 1) * 1000;\n\t\t\t}", "debt % 1000 != 0", "debt % 1000", "debt", "1000", "0", "{\n\t\t\t\tdebt = (debt/1000 + 1) * 1000;\n\t\t\t}", "debt = (debt/1000 + 1) * 1000", "debt", "(debt/1000 + 1) * 1000", "(debt/1000 + 1)", "debt/1000", "debt", "1000", "1", "1000", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "String[] a", "a", "public class Main {\n\tpublic static void main(String[] a){\n\t\tlong debt = 100000;\n\t\tScanner scn = new Scanner(System.in);\n\t\tint n = scn.nextInt();\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tdebt *= 1.05f;\n\t\t\tif(debt % 1000 != 0){\n\t\t\t\tdebt = (debt/1000 + 1) * 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] a){\n\t\tlong debt = 100000;\n\t\tScanner scn = new Scanner(System.in);\n\t\tint n = scn.nextInt();\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tdebt *= 1.05f;\n\t\t\tif(debt % 1000 != 0){\n\t\t\t\tdebt = (debt/1000 + 1) * 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] a){ long debt = 100000; Scanner scn = new Scanner(System.in); int n = scn.nextInt(); for(int i = 0;i < n;i++){ debt *= 1.05f; if(debt % 1000 != 0){ debt = (debt/1000 + 1) * 1000; } } System.out.println(debt); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 13, 41, 13, 17, 0, 13, 2, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 0, 13, 4, 18, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 80, 5 ], [ 80, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 28, 29 ], [ 28, 30 ], [ 28, 31 ], [ 6, 32 ], [ 32, 33 ], [ 80, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 40, 42 ], [ 36, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 36, 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 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 36, 70 ], [ 70, 71 ], [ 70, 72 ], [ 36, 73 ], [ 73, 74 ], [ 34, 75 ], [ 75, 76 ], [ 34, 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\n\t\t// ?¨??????\\???????????±??°?????????\n\t\tScanner stdId = new Scanner(System.in);\n\t\tint deptWeek = stdId.nextInt();\n\n\t\t// ??????\n\t\tint dept = 100000;\n\n\t\t// ????????????????????????\n\t\tSystem.out.println(String.valueOf(deptCalc(dept, deptWeek)));\n\n\t}\n\n\t// ??????(baseMoney)??¨??????????????±??°(deptweek)?????????????????§???????????????????¨????\n\tpublic static int deptCalc(int baseDept, int deptWeek) {\n\n\t\t// ?????°??£?¨?\n\t\tdouble dept = (double) baseDept; // ??????\n\t\tint ceilLength = 1000; // ????????????????????°???\n\n\t\t// n??±???????????????5%??????????????????(1000??????????????????????????¨??????)\n\t\tdept = dept / ceilLength;\n\t\tfor (int i = 0; i < deptWeek; i++) {\n\t\t\tdept *= 1.05;\n\t\t\tdept = Math.ceil(dept);\n\t\t}\n\t\tdept *= ceilLength;\n\n\t\treturn (int) dept;\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\t// ?¨??????\\???????????±??°?????????\n\t\tScanner stdId = new Scanner(System.in);\n\t\tint deptWeek = stdId.nextInt();\n\n\t\t// ??????\n\t\tint dept = 100000;\n\n\t\t// ????????????????????????\n\t\tSystem.out.println(String.valueOf(deptCalc(dept, deptWeek)));\n\n\t}\n\n\t// ??????(baseMoney)??¨??????????????±??°(deptweek)?????????????????§???????????????????¨????\n\tpublic static int deptCalc(int baseDept, int deptWeek) {\n\n\t\t// ?????°??£?¨?\n\t\tdouble dept = (double) baseDept; // ??????\n\t\tint ceilLength = 1000; // ????????????????????°???\n\n\t\t// n??±???????????????5%??????????????????(1000??????????????????????????¨??????)\n\t\tdept = dept / ceilLength;\n\t\tfor (int i = 0; i < deptWeek; i++) {\n\t\t\tdept *= 1.05;\n\t\t\tdept = Math.ceil(dept);\n\t\t}\n\t\tdept *= ceilLength;\n\n\t\treturn (int) dept;\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\n\t\t// ?¨??????\\???????????±??°?????????\n\t\tScanner stdId = new Scanner(System.in);\n\t\tint deptWeek = stdId.nextInt();\n\n\t\t// ??????\n\t\tint dept = 100000;\n\n\t\t// ????????????????????????\n\t\tSystem.out.println(String.valueOf(deptCalc(dept, deptWeek)));\n\n\t}", "main", "{\n\n\t\t// ?¨??????\\???????????±??°?????????\n\t\tScanner stdId = new Scanner(System.in);\n\t\tint deptWeek = stdId.nextInt();\n\n\t\t// ??????\n\t\tint dept = 100000;\n\n\t\t// ????????????????????????\n\t\tSystem.out.println(String.valueOf(deptCalc(dept, deptWeek)));\n\n\t}", "Scanner stdId = new Scanner(System.in);", "stdId", "new Scanner(System.in)", "int deptWeek = stdId.nextInt();", "deptWeek", "stdId.nextInt()", "stdId.nextInt", "stdId", "int dept = 100000;", "dept", "100000", "System.out.println(String.valueOf(deptCalc(dept, deptWeek)))", "System.out.println", "System.out", "System", "System.out", "String.valueOf(deptCalc(dept, deptWeek))", "String.valueOf", "String", "deptCalc(dept, deptWeek)", "deptCalc", "dept", "deptWeek", "String[] args", "args", "// ??????(baseMoney)??¨??????????????±??°(deptweek)?????????????????§???????????????????¨????\n\tpublic static int deptCalc(int baseDept, int deptWeek) {\n\n\t\t// ?????°??£?¨?\n\t\tdouble dept = (double) baseDept; // ??????\n\t\tint ceilLength = 1000; // ????????????????????°???\n\n\t\t// n??±???????????????5%??????????????????(1000??????????????????????????¨??????)\n\t\tdept = dept / ceilLength;\n\t\tfor (int i = 0; i < deptWeek; i++) {\n\t\t\tdept *= 1.05;\n\t\t\tdept = Math.ceil(dept);\n\t\t}\n\t\tdept *= ceilLength;\n\n\t\treturn (int) dept;\n\t}", "deptCalc", "{\n\n\t\t// ?????°??£?¨?\n\t\tdouble dept = (double) baseDept; // ??????\n\t\tint ceilLength = 1000; // ????????????????????°???\n\n\t\t// n??±???????????????5%??????????????????(1000??????????????????????????¨??????)\n\t\tdept = dept / ceilLength;\n\t\tfor (int i = 0; i < deptWeek; i++) {\n\t\t\tdept *= 1.05;\n\t\t\tdept = Math.ceil(dept);\n\t\t}\n\t\tdept *= ceilLength;\n\n\t\treturn (int) dept;\n\t}", "double dept = (double) baseDept;", "dept", "(double) baseDept", "int ceilLength = 1000;", "ceilLength", "1000", "dept = dept / ceilLength", "dept", "dept / ceilLength", "dept", "ceilLength", "for (int i = 0; i < deptWeek; i++) {\n\t\t\tdept *= 1.05;\n\t\t\tdept = Math.ceil(dept);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < deptWeek", "i", "deptWeek", "i++", "i++", "i", "{\n\t\t\tdept *= 1.05;\n\t\t\tdept = Math.ceil(dept);\n\t\t}", "{\n\t\t\tdept *= 1.05;\n\t\t\tdept = Math.ceil(dept);\n\t\t}", "dept *= 1.05", "dept", "1.05", "dept = Math.ceil(dept)", "dept", "Math.ceil(dept)", "Math.ceil", "Math", "dept", "dept *= ceilLength", "dept", "ceilLength", "return (int) dept;", "(int) dept", "int baseDept", "baseDept", "int deptWeek", "deptWeek", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// ?¨??????\\???????????±??°?????????\n\t\tScanner stdId = new Scanner(System.in);\n\t\tint deptWeek = stdId.nextInt();\n\n\t\t// ??????\n\t\tint dept = 100000;\n\n\t\t// ????????????????????????\n\t\tSystem.out.println(String.valueOf(deptCalc(dept, deptWeek)));\n\n\t}\n\n\t// ??????(baseMoney)??¨??????????????±??°(deptweek)?????????????????§???????????????????¨????\n\tpublic static int deptCalc(int baseDept, int deptWeek) {\n\n\t\t// ?????°??£?¨?\n\t\tdouble dept = (double) baseDept; // ??????\n\t\tint ceilLength = 1000; // ????????????????????°???\n\n\t\t// n??±???????????????5%??????????????????(1000??????????????????????????¨??????)\n\t\tdept = dept / ceilLength;\n\t\tfor (int i = 0; i < deptWeek; i++) {\n\t\t\tdept *= 1.05;\n\t\t\tdept = Math.ceil(dept);\n\t\t}\n\t\tdept *= ceilLength;\n\n\t\treturn (int) dept;\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// ?¨??????\\???????????±??°?????????\n\t\tScanner stdId = new Scanner(System.in);\n\t\tint deptWeek = stdId.nextInt();\n\n\t\t// ??????\n\t\tint dept = 100000;\n\n\t\t// ????????????????????????\n\t\tSystem.out.println(String.valueOf(deptCalc(dept, deptWeek)));\n\n\t}\n\n\t// ??????(baseMoney)??¨??????????????±??°(deptweek)?????????????????§???????????????????¨????\n\tpublic static int deptCalc(int baseDept, int deptWeek) {\n\n\t\t// ?????°??£?¨?\n\t\tdouble dept = (double) baseDept; // ??????\n\t\tint ceilLength = 1000; // ????????????????????°???\n\n\t\t// n??±???????????????5%??????????????????(1000??????????????????????????¨??????)\n\t\tdept = dept / ceilLength;\n\t\tfor (int i = 0; i < deptWeek; i++) {\n\t\t\tdept *= 1.05;\n\t\t\tdept = Math.ceil(dept);\n\t\t}\n\t\tdept *= ceilLength;\n\n\t\treturn (int) dept;\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // ?¨??????\???????????±??°????????? Scanner stdId = new Scanner(System.in); int deptWeek = stdId.nextInt(); // ?????? int dept = 100000; // ???????????????????????? System.out.println(String.valueOf(deptCalc(dept, deptWeek))); } // ??????(baseMoney)??¨??????????????±??°(deptweek)?????????????????§???????????????????¨???? public static int deptCalc(int baseDept, int deptWeek) { // ?????°??£?¨? double dept = (double) baseDept; // ?????? int ceilLength = 1000; // ????????????????????°??? // n??±???????????????5%??????????????????(1000??????????????????????????¨??????) dept = dept / ceilLength; for (int i = 0; i < deptWeek; i++) { dept *= 1.05; dept = Math.ceil(dept); } dept *= ceilLength; return (int) dept; } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 13, 2, 4, 18, 13, 2, 2, 13, 2, 13, 17, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 20, 17, 41, 13, 17, 41, 13, 17, 12, 13, 30, 4, 13, 18, 13, 13, 12, 13, 30, 4, 13, 18, 13, 13, 0, 18, 36, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 29, 17, 30, 0, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 17, 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, 12, 13, 30, 4, 13, 29, 4, 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, 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, 29, 8, 13, 40, 13, 13, 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, 4, 18, 33, 38, 5, 13, 30, 30, 4, 18, 13, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 301, 8 ], [ 301, 9 ], [ 9, 10 ], [ 9, 11 ], [ 301, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 14, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 23, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 41, 47 ], [ 37, 48 ], [ 14, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 12, 55 ], [ 55, 56 ], [ 301, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 57, 65 ], [ 65, 66 ], [ 65, 67 ], [ 57, 68 ], [ 68, 69 ], [ 68, 70 ], [ 57, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 57, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 81, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 79, 92 ], [ 92, 93 ], [ 57, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 101, 102 ], [ 97, 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 ], [ 96, 127 ], [ 127, 128 ], [ 57, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 132, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 132, 140 ], [ 140, 141 ], [ 141, 142 ], [ 57, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 151, 152 ], [ 151, 153 ], [ 143, 154 ], [ 154, 155 ], [ 57, 156 ], [ 156, 157 ], [ 156, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 160, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 166, 168 ], [ 159, 169 ], [ 169, 170 ], [ 57, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 174, 175 ], [ 173, 176 ], [ 176, 177 ], [ 177, 178 ], [ 57, 179 ], [ 179, 180 ], [ 179, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 182, 186 ], [ 186, 187 ], [ 181, 188 ], [ 188, 189 ], [ 188, 190 ], [ 181, 191 ], [ 191, 192 ], [ 191, 193 ], [ 181, 194 ], [ 194, 195 ], [ 194, 196 ], [ 196, 197 ], [ 181, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 202, 206 ], [ 206, 207 ], [ 206, 208 ], [ 208, 209 ], [ 181, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 211, 215 ], [ 215, 216 ], [ 215, 217 ], [ 210, 218 ], [ 218, 219 ], [ 181, 220 ], [ 220, 221 ], [ 220, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 224, 228 ], [ 228, 229 ], [ 228, 230 ], [ 223, 231 ], [ 231, 232 ], [ 232, 233 ], [ 232, 234 ], [ 231, 235 ], [ 235, 236 ], [ 235, 237 ], [ 237, 238 ], [ 237, 239 ], [ 223, 240 ], [ 240, 241 ], [ 241, 242 ], [ 242, 243 ], [ 242, 244 ], [ 244, 245 ], [ 241, 246 ], [ 246, 247 ], [ 247, 248 ], [ 247, 249 ], [ 240, 250 ], [ 250, 251 ], [ 251, 252 ], [ 251, 253 ], [ 253, 254 ], [ 251, 255 ], [ 240, 256 ], [ 256, 257 ], [ 222, 258 ], [ 258, 259 ], [ 258, 260 ], [ 260, 261 ], [ 57, 262 ], [ 262, 263 ], [ 262, 264 ], [ 264, 265 ], [ 265, 266 ], [ 265, 267 ], [ 267, 268 ], [ 264, 269 ], [ 269, 270 ], [ 270, 271 ], [ 271, 272 ], [ 271, 273 ], [ 273, 274 ], [ 273, 275 ], [ 270, 276 ], [ 276, 277 ], [ 276, 278 ], [ 278, 279 ], [ 278, 280 ], [ 269, 281 ], [ 281, 282 ], [ 264, 283 ], [ 283, 284 ], [ 57, 285 ], [ 285, 286 ], [ 285, 287 ], [ 287, 288 ], [ 288, 289 ], [ 289, 290 ], [ 287, 291 ], [ 291, 292 ], [ 292, 293 ], [ 292, 294 ], [ 291, 295 ], [ 295, 296 ], [ 296, 297 ], [ 297, 298 ], [ 57, 299 ], [ 0, 300 ], [ 300, 301 ], [ 300, 302 ] ]
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main {\n static IO io = new IO();\n\n public static void main(String[] args) {\n\n int n = io.nextInt();\n double ans = 100000;\n for (int i = 0; i < n; i++) ans = Math.ceil((ans + ans * 0.05)/1000)*1000;\n System.out.println((int)ans);\n\n }\n\n static class IO extends PrintWriter {\n private final InputStream in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n IO() {\n this(System.in);\n }\n\n IO(InputStream source) {\n super(System.out);\n this.in = source;\n }\n\n boolean hasNextByte() {\n if (ptr < buflen) 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) return false;\n }\n return true;\n }\n\n int readByte() {\n if (hasNextByte()) return buffer[ptr++];\n else return -1;\n }\n\n boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n void skipUnprintable() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n }\n\n boolean hasNext() {\n skipUnprintable();\n return hasNextByte();\n }\n\n 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) throw new NumberFormatException();\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) return minus ? -n : n;\n else throw new NumberFormatException();\n b = readByte();\n }\n }\n\n 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 void close() {\n super.close();\n try {\n in.close();\n } catch (IOException ignored) {\n }\n }\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n static IO io = new IO();\n\n public static void main(String[] args) {\n\n int n = io.nextInt();\n double ans = 100000;\n for (int i = 0; i < n; i++) ans = Math.ceil((ans + ans * 0.05)/1000)*1000;\n System.out.println((int)ans);\n\n }\n\n static class IO extends PrintWriter {\n private final InputStream in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n IO() {\n this(System.in);\n }\n\n IO(InputStream source) {\n super(System.out);\n this.in = source;\n }\n\n boolean hasNextByte() {\n if (ptr < buflen) 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) return false;\n }\n return true;\n }\n\n int readByte() {\n if (hasNextByte()) return buffer[ptr++];\n else return -1;\n }\n\n boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n void skipUnprintable() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n }\n\n boolean hasNext() {\n skipUnprintable();\n return hasNextByte();\n }\n\n 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) throw new NumberFormatException();\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) return minus ? -n : n;\n else throw new NumberFormatException();\n b = readByte();\n }\n }\n\n 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 void close() {\n super.close();\n try {\n in.close();\n } catch (IOException ignored) {\n }\n }\n }\n}", "Main", "static IO io = new IO();", "io", "new IO()", "public static void main(String[] args) {\n\n int n = io.nextInt();\n double ans = 100000;\n for (int i = 0; i < n; i++) ans = Math.ceil((ans + ans * 0.05)/1000)*1000;\n System.out.println((int)ans);\n\n }", "main", "{\n\n int n = io.nextInt();\n double ans = 100000;\n for (int i = 0; i < n; i++) ans = Math.ceil((ans + ans * 0.05)/1000)*1000;\n System.out.println((int)ans);\n\n }", "int n = io.nextInt();", "n", "io.nextInt()", "io.nextInt", "io", "double ans = 100000;", "ans", "100000", "for (int i = 0; i < n; i++) ans = Math.ceil((ans + ans * 0.05)/1000)*1000;", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "ans = Math.ceil((ans + ans * 0.05)/1000)*1000;", "ans = Math.ceil((ans + ans * 0.05)/1000)*1000", "ans", "Math.ceil((ans + ans * 0.05)/1000)*1000", "Math.ceil((ans + ans * 0.05)/1000)", "Math.ceil", "Math", "(ans + ans * 0.05)/1000", "(ans + ans * 0.05)", "ans", "ans * 0.05", "ans", "0.05", "1000", "1000", "System.out.println((int)ans)", "System.out.println", "System.out", "System", "System.out", "(int)ans", "String[] args", "args", "static class IO extends PrintWriter {\n private final InputStream in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n IO() {\n this(System.in);\n }\n\n IO(InputStream source) {\n super(System.out);\n this.in = source;\n }\n\n boolean hasNextByte() {\n if (ptr < buflen) 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) return false;\n }\n return true;\n }\n\n int readByte() {\n if (hasNextByte()) return buffer[ptr++];\n else return -1;\n }\n\n boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n void skipUnprintable() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n }\n\n boolean hasNext() {\n skipUnprintable();\n return hasNextByte();\n }\n\n 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) throw new NumberFormatException();\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) return minus ? -n : n;\n else throw new NumberFormatException();\n b = readByte();\n }\n }\n\n 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 void close() {\n super.close();\n try {\n in.close();\n } catch (IOException ignored) {\n }\n }\n }", "IO", "private final InputStream in;", "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", "IO() {\n this(System.in);\n }", "IO", "{\n this(System.in);\n }", "this(System.in)", "this", "System.in", "System", "System.in", "IO(InputStream source) {\n super(System.out);\n this.in = source;\n }", "IO", "{\n super(System.out);\n this.in = source;\n }", "super(System.out)", "super", "System.out", "System", "System.out", "this.in = source", "this.in", "this", "this.in", "source", "InputStream source", "source", "boolean hasNextByte() {\n if (ptr < buflen) 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) return false;\n }\n return true;\n }", "hasNextByte", "{\n if (ptr < buflen) 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) return false;\n }\n return true;\n }", "if (ptr < buflen) 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) return false;\n }", "ptr < buflen", "ptr", "buflen", "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) return false;\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) return false;", "buflen <= 0", "buflen", "0", "return false;", "false", "return true;", "true", "int readByte() {\n if (hasNextByte()) return buffer[ptr++];\n else return -1;\n }", "readByte", "{\n if (hasNextByte()) return buffer[ptr++];\n else return -1;\n }", "if (hasNextByte()) return buffer[ptr++];\n else return -1;", "hasNextByte()", "hasNextByte", "return buffer[ptr++];", "buffer[ptr++]", "buffer", "ptr++", "ptr", "return -1;", "-1", "1", "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", "void skipUnprintable() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n }", "skipUnprintable", "{\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n }", "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", "boolean hasNext() {\n skipUnprintable();\n return hasNextByte();\n }", "hasNext", "{\n skipUnprintable();\n return hasNextByte();\n }", "skipUnprintable()", "skipUnprintable", "return hasNextByte();", "hasNextByte()", "hasNextByte", "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) throw new NumberFormatException();\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) return minus ? -n : n;\n else throw new NumberFormatException();\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) throw new NumberFormatException();\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) return minus ? -n : n;\n else throw new NumberFormatException();\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) throw new NumberFormatException();", "b < '0' || '9' < b", "b < '0'", "b", "'0'", "'9' < b", "'9'", "b", "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)) return minus ? -n : n;\n else throw new NumberFormatException();\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)) return minus ? -n : n;\n else throw new NumberFormatException();\n b = readByte();\n }", "if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) return minus ? -n : n;\n else throw new NumberFormatException();", "'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)) return minus ? -n : n;\n else throw new NumberFormatException();", "b == -1 || !isPrintableChar(b)", "b == -1", "b", "-1", "1", "!isPrintableChar(b)", "isPrintableChar(b)", "isPrintableChar", "b", "return minus ? -n : n;", "minus ? -n : n", "minus", "-n", "n", "n", "throw new NumberFormatException();", "new NumberFormatException()", "b = readByte()", "b", "readByte()", "readByte", "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 void close() {\n super.close();\n try {\n in.close();\n } catch (IOException ignored) {\n }\n }", "close", "{\n super.close();\n try {\n in.close();\n } catch (IOException ignored) {\n }\n }", "super.close()", "super.close", "super", "try {\n in.close();\n } catch (IOException ignored) {\n }", "catch (IOException ignored) {\n }", "IOException ignored", "{\n }", "{\n in.close();\n }", "in.close()", "in.close", "in", "PrintWriter", "public class Main {\n static IO io = new IO();\n\n public static void main(String[] args) {\n\n int n = io.nextInt();\n double ans = 100000;\n for (int i = 0; i < n; i++) ans = Math.ceil((ans + ans * 0.05)/1000)*1000;\n System.out.println((int)ans);\n\n }\n\n static class IO extends PrintWriter {\n private final InputStream in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n IO() {\n this(System.in);\n }\n\n IO(InputStream source) {\n super(System.out);\n this.in = source;\n }\n\n boolean hasNextByte() {\n if (ptr < buflen) 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) return false;\n }\n return true;\n }\n\n int readByte() {\n if (hasNextByte()) return buffer[ptr++];\n else return -1;\n }\n\n boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n void skipUnprintable() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n }\n\n boolean hasNext() {\n skipUnprintable();\n return hasNextByte();\n }\n\n 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) throw new NumberFormatException();\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) return minus ? -n : n;\n else throw new NumberFormatException();\n b = readByte();\n }\n }\n\n 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 void close() {\n super.close();\n try {\n in.close();\n } catch (IOException ignored) {\n }\n }\n }\n}", "public class Main {\n static IO io = new IO();\n\n public static void main(String[] args) {\n\n int n = io.nextInt();\n double ans = 100000;\n for (int i = 0; i < n; i++) ans = Math.ceil((ans + ans * 0.05)/1000)*1000;\n System.out.println((int)ans);\n\n }\n\n static class IO extends PrintWriter {\n private final InputStream in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n IO() {\n this(System.in);\n }\n\n IO(InputStream source) {\n super(System.out);\n this.in = source;\n }\n\n boolean hasNextByte() {\n if (ptr < buflen) 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) return false;\n }\n return true;\n }\n\n int readByte() {\n if (hasNextByte()) return buffer[ptr++];\n else return -1;\n }\n\n boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n void skipUnprintable() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n }\n\n boolean hasNext() {\n skipUnprintable();\n return hasNextByte();\n }\n\n 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) throw new NumberFormatException();\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) return minus ? -n : n;\n else throw new NumberFormatException();\n b = readByte();\n }\n }\n\n 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 void close() {\n super.close();\n try {\n in.close();\n } catch (IOException ignored) {\n }\n }\n }\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { static IO io = new IO(); public static void main(String[] args) { int n = io.nextInt(); double ans = 100000; for (int i = 0; i < n; i++) ans = Math.ceil((ans + ans * 0.05)/1000)*1000; System.out.println((int)ans); } static class IO extends PrintWriter { private final InputStream in; private final byte[] buffer = new byte[1024]; private int ptr = 0; private int buflen = 0; IO() { this(System.in); } IO(InputStream source) { super(System.out); this.in = source; } 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; } int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1; } boolean isPrintableChar(int c) { return 33 <= c && c <= 126; } void skipUnprintable() { while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; } boolean hasNext() { skipUnprintable(); return hasNextByte(); } 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(); } } int nextInt() { long nl = nextLong(); if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException(); return (int) nl; } public void close() { super.close(); try { in.close(); } catch (IOException ignored) { } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 41, 13, 2, 13, 17, 14, 2, 13, 17, 30, 0, 13, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 62, 5 ], [ 62, 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 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 32, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 8, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 6, 59 ], [ 59, 60 ], [ 0, 61 ], [ 61, 62 ], [ 61, 63 ] ]
[ "import java.util.*;\npublic class Main \n{\n\tpublic static void main(String[] args) \n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tint sum = 100000;\n\t\tfor(int i = 0; i < n; ++i)\n\t\t{\n\t\t\tsum *= 1.05;\n\t\t\tint remainder = sum % 1000;\n\t\t\tif(remainder > 0)\n\t\t\t{\n\t\t\t\tsum = sum - remainder + 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main \n{\n\tpublic static void main(String[] args) \n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tint sum = 100000;\n\t\tfor(int i = 0; i < n; ++i)\n\t\t{\n\t\t\tsum *= 1.05;\n\t\t\tint remainder = sum % 1000;\n\t\t\tif(remainder > 0)\n\t\t\t{\n\t\t\t\tsum = sum - remainder + 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n}", "Main", "public static void main(String[] args) \n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tint sum = 100000;\n\t\tfor(int i = 0; i < n; ++i)\n\t\t{\n\t\t\tsum *= 1.05;\n\t\t\tint remainder = sum % 1000;\n\t\t\tif(remainder > 0)\n\t\t\t{\n\t\t\t\tsum = sum - remainder + 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sum);\n\t}", "main", "{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tint sum = 100000;\n\t\tfor(int i = 0; i < n; ++i)\n\t\t{\n\t\t\tsum *= 1.05;\n\t\t\tint remainder = sum % 1000;\n\t\t\tif(remainder > 0)\n\t\t\t{\n\t\t\t\tsum = sum - remainder + 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sum);\n\t}", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "int n = stdIn.nextInt();", "n", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int sum = 100000;", "sum", "100000", "for(int i = 0; i < n; ++i)\n\t\t{\n\t\t\tsum *= 1.05;\n\t\t\tint remainder = sum % 1000;\n\t\t\tif(remainder > 0)\n\t\t\t{\n\t\t\t\tsum = sum - remainder + 1000;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "++i", "++i", "i", "{\n\t\t\tsum *= 1.05;\n\t\t\tint remainder = sum % 1000;\n\t\t\tif(remainder > 0)\n\t\t\t{\n\t\t\t\tsum = sum - remainder + 1000;\n\t\t\t}\n\t\t}", "{\n\t\t\tsum *= 1.05;\n\t\t\tint remainder = sum % 1000;\n\t\t\tif(remainder > 0)\n\t\t\t{\n\t\t\t\tsum = sum - remainder + 1000;\n\t\t\t}\n\t\t}", "sum *= 1.05", "sum", "1.05", "int remainder = sum % 1000;", "remainder", "sum % 1000", "sum", "1000", "if(remainder > 0)\n\t\t\t{\n\t\t\t\tsum = sum - remainder + 1000;\n\t\t\t}", "remainder > 0", "remainder", "0", "{\n\t\t\t\tsum = sum - remainder + 1000;\n\t\t\t}", "sum = sum - remainder + 1000", "sum", "sum - remainder + 1000", "sum - remainder", "sum", "remainder", "1000", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "String[] args", "args", "public class Main \n{\n\tpublic static void main(String[] args) \n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tint sum = 100000;\n\t\tfor(int i = 0; i < n; ++i)\n\t\t{\n\t\t\tsum *= 1.05;\n\t\t\tint remainder = sum % 1000;\n\t\t\tif(remainder > 0)\n\t\t\t{\n\t\t\t\tsum = sum - remainder + 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n}", "public class Main \n{\n\tpublic static void main(String[] args) \n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tint sum = 100000;\n\t\tfor(int i = 0; i < n; ++i)\n\t\t{\n\t\t\tsum *= 1.05;\n\t\t\tint remainder = sum % 1000;\n\t\t\tif(remainder > 0)\n\t\t\t{\n\t\t\t\tsum = sum - remainder + 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int n = stdIn.nextInt(); int sum = 100000; for(int i = 0; i < n; ++i) { sum *= 1.05; int remainder = sum % 1000; if(remainder > 0) { sum = sum - remainder + 1000; } } System.out.println(sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 20, 41, 13, 41, 13, 17, 0, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 2, 13, 17, 41, 13, 2, 13, 17, 41, 13, 2, 2, 13, 17, 17, 41, 13, 2, 2, 13, 17, 17, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 0, 13, 2, 17, 2, 2, 13, 2, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 13, 18 ], [ 9, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 19, 23 ], [ 23, 24 ], [ 19, 25 ], [ 25, 26 ], [ 25, 27 ], [ 19, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 34, 35 ], [ 19, 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 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 48, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 48, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 48, 75 ], [ 75, 76 ], [ 77, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 81, 83 ], [ 77, 84 ], [ 84, 85 ], [ 84, 86 ], [ 75, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 91, 97 ], [ 97, 98 ], [ 97, 99 ], [ 19, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 6, 106 ], [ 106, 107 ] ]
[ "import java.io.*;\n\nclass Main {\n\tpublic static void main(String args[]) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n, money = 100000;\n\t\t\tn = Integer.parseInt(reader.readLine());\n\t\t\tfor(int i = 0;i < n;i++) {\n\t\t\t\tmoney = money + (money/20);\n\t\t\t\tint x = money%10, y = money%100/10, z = money%1000/100;\n\t\t\t\tif(x != 0 || y != 0 || z != 0)\n\t\t\t\t\tmoney+=(1000-(x+y*10+z*100));\n\t\t\t}\n\t\t\tSystem.out.println(money);\n\t\t}\n\t\tcatch(IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "class Main {\n\tpublic static void main(String args[]) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n, money = 100000;\n\t\t\tn = Integer.parseInt(reader.readLine());\n\t\t\tfor(int i = 0;i < n;i++) {\n\t\t\t\tmoney = money + (money/20);\n\t\t\t\tint x = money%10, y = money%100/10, z = money%1000/100;\n\t\t\t\tif(x != 0 || y != 0 || z != 0)\n\t\t\t\t\tmoney+=(1000-(x+y*10+z*100));\n\t\t\t}\n\t\t\tSystem.out.println(money);\n\t\t}\n\t\tcatch(IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n}", "Main", "public static void main(String args[]) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n, money = 100000;\n\t\t\tn = Integer.parseInt(reader.readLine());\n\t\t\tfor(int i = 0;i < n;i++) {\n\t\t\t\tmoney = money + (money/20);\n\t\t\t\tint x = money%10, y = money%100/10, z = money%1000/100;\n\t\t\t\tif(x != 0 || y != 0 || z != 0)\n\t\t\t\t\tmoney+=(1000-(x+y*10+z*100));\n\t\t\t}\n\t\t\tSystem.out.println(money);\n\t\t}\n\t\tcatch(IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}", "main", "{\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n, money = 100000;\n\t\t\tn = Integer.parseInt(reader.readLine());\n\t\t\tfor(int i = 0;i < n;i++) {\n\t\t\t\tmoney = money + (money/20);\n\t\t\t\tint x = money%10, y = money%100/10, z = money%1000/100;\n\t\t\t\tif(x != 0 || y != 0 || z != 0)\n\t\t\t\t\tmoney+=(1000-(x+y*10+z*100));\n\t\t\t}\n\t\t\tSystem.out.println(money);\n\t\t}\n\t\tcatch(IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}", "try {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n, money = 100000;\n\t\t\tn = Integer.parseInt(reader.readLine());\n\t\t\tfor(int i = 0;i < n;i++) {\n\t\t\t\tmoney = money + (money/20);\n\t\t\t\tint x = money%10, y = money%100/10, z = money%1000/100;\n\t\t\t\tif(x != 0 || y != 0 || z != 0)\n\t\t\t\t\tmoney+=(1000-(x+y*10+z*100));\n\t\t\t}\n\t\t\tSystem.out.println(money);\n\t\t}\n\t\tcatch(IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}", "catch(IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}", "IOException e", "{\n\t\t\tSystem.out.println(e);\n\t\t}", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "{\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n, money = 100000;\n\t\t\tn = Integer.parseInt(reader.readLine());\n\t\t\tfor(int i = 0;i < n;i++) {\n\t\t\t\tmoney = money + (money/20);\n\t\t\t\tint x = money%10, y = money%100/10, z = money%1000/100;\n\t\t\t\tif(x != 0 || y != 0 || z != 0)\n\t\t\t\t\tmoney+=(1000-(x+y*10+z*100));\n\t\t\t}\n\t\t\tSystem.out.println(money);\n\t\t}", "BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "int n", "n", "money = 100000;", "money", "100000", "n = Integer.parseInt(reader.readLine())", "n", "Integer.parseInt(reader.readLine())", "Integer.parseInt", "Integer", "reader.readLine()", "reader.readLine", "reader", "for(int i = 0;i < n;i++) {\n\t\t\t\tmoney = money + (money/20);\n\t\t\t\tint x = money%10, y = money%100/10, z = money%1000/100;\n\t\t\t\tif(x != 0 || y != 0 || z != 0)\n\t\t\t\t\tmoney+=(1000-(x+y*10+z*100));\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tmoney = money + (money/20);\n\t\t\t\tint x = money%10, y = money%100/10, z = money%1000/100;\n\t\t\t\tif(x != 0 || y != 0 || z != 0)\n\t\t\t\t\tmoney+=(1000-(x+y*10+z*100));\n\t\t\t}", "{\n\t\t\t\tmoney = money + (money/20);\n\t\t\t\tint x = money%10, y = money%100/10, z = money%1000/100;\n\t\t\t\tif(x != 0 || y != 0 || z != 0)\n\t\t\t\t\tmoney+=(1000-(x+y*10+z*100));\n\t\t\t}", "money = money + (money/20)", "money", "money + (money/20)", "money", "(money/20)", "money", "20", "int x = money%10", "x", "money%10", "money", "10", "y = money%100/10", "y", "money%100/10", "money%100", "money", "100", "10", "z = money%1000/100;", "z", "money%1000/100", "money%1000", "money", "1000", "100", "if(x != 0 || y != 0 || z != 0)\n\t\t\t\t\tmoney+=(1000-(x+y*10+z*100));", "x != 0 || y != 0 || z != 0", "x != 0 || y != 0 || z != 0", "x != 0", "x", "0", "y != 0", "y", "0", "z != 0", "z", "0", "money+=(1000-(x+y*10+z*100))", "money", "(1000-(x+y*10+z*100))", "1000", "(x+y*10+z*100)", "x+y*10+z*100", "x", "y*10", "y", "10", "z*100", "z", "100", "System.out.println(money)", "System.out.println", "System.out", "System", "System.out", "money", "String args[]", "args" ]
import java.io.*; class Main { public static void main(String args[]) { try { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int n, money = 100000; n = Integer.parseInt(reader.readLine()); for(int i = 0;i < n;i++) { money = money + (money/20); int x = money%10, y = money%100/10, z = money%1000/100; if(x != 0 || y != 0 || z != 0) money+=(1000-(x+y*10+z*100)); } System.out.println(money); } catch(IOException e) { System.out.println(e); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 17, 0, 13, 13, 0, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 17, 2, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 23, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 35, 41 ], [ 41, 42 ], [ 41, 43 ], [ 35, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 8, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 50, 56 ], [ 56, 57 ], [ 56, 58 ], [ 6, 59 ], [ 59, 60 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n public static void main (String args[]) {\n\tScanner scan = new Scanner(System.in);\n\tint n = scan.nextInt();\n\tdouble debt = 100; //100,000 / 1,000\n\tdouble interest = 0;\n\n\tfor (int i=0; i<n; i++) {\n\t interest = debt * 0.05;\n\t debt += interest;\n\t debt = Math.ceil(debt);\n\t}\n\n\tSystem.out.printf(\"%.0f\\n\", (debt*1000));\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n public static void main (String args[]) {\n\tScanner scan = new Scanner(System.in);\n\tint n = scan.nextInt();\n\tdouble debt = 100; //100,000 / 1,000\n\tdouble interest = 0;\n\n\tfor (int i=0; i<n; i++) {\n\t interest = debt * 0.05;\n\t debt += interest;\n\t debt = Math.ceil(debt);\n\t}\n\n\tSystem.out.printf(\"%.0f\\n\", (debt*1000));\n }\n}", "Main", "public static void main (String args[]) {\n\tScanner scan = new Scanner(System.in);\n\tint n = scan.nextInt();\n\tdouble debt = 100; //100,000 / 1,000\n\tdouble interest = 0;\n\n\tfor (int i=0; i<n; i++) {\n\t interest = debt * 0.05;\n\t debt += interest;\n\t debt = Math.ceil(debt);\n\t}\n\n\tSystem.out.printf(\"%.0f\\n\", (debt*1000));\n }", "main", "{\n\tScanner scan = new Scanner(System.in);\n\tint n = scan.nextInt();\n\tdouble debt = 100; //100,000 / 1,000\n\tdouble interest = 0;\n\n\tfor (int i=0; i<n; i++) {\n\t interest = debt * 0.05;\n\t debt += interest;\n\t debt = Math.ceil(debt);\n\t}\n\n\tSystem.out.printf(\"%.0f\\n\", (debt*1000));\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "double debt = 100;", "debt", "100", "double interest = 0;", "interest", "0", "for (int i=0; i<n; i++) {\n\t interest = debt * 0.05;\n\t debt += interest;\n\t debt = Math.ceil(debt);\n\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t interest = debt * 0.05;\n\t debt += interest;\n\t debt = Math.ceil(debt);\n\t}", "{\n\t interest = debt * 0.05;\n\t debt += interest;\n\t debt = Math.ceil(debt);\n\t}", "interest = debt * 0.05", "interest", "debt * 0.05", "debt", "0.05", "debt += interest", "debt", "interest", "debt = Math.ceil(debt)", "debt", "Math.ceil(debt)", "Math.ceil", "Math", "debt", "System.out.printf(\"%.0f\\n\", (debt*1000))", "System.out.printf", "System.out", "System", "System.out", "\"%.0f\\n\"", "(debt*1000)", "debt", "1000", "String args[]", "args" ]
import java.util.Scanner; class Main { public static void main (String args[]) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); double debt = 100; //100,000 / 1,000 double interest = 0; for (int i=0; i<n; i++) { interest = debt * 0.05; debt += interest; debt = Math.ceil(debt); } System.out.printf("%.0f\n", (debt*1000)); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 2, 13, 13, 17, 0, 13, 2, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 63, 5 ], [ 63, 6 ], [ 6, 7 ], [ 6, 8 ], [ 63, 9 ], [ 9, 10 ], [ 9, 11 ], [ 63, 12 ], [ 12, 13 ], [ 12, 14 ], [ 63, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 17, 23 ], [ 23, 24 ], [ 23, 25 ], [ 17, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 38, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 48, 53 ], [ 17, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 15, 60 ], [ 60, 61 ], [ 0, 62 ], [ 62, 63 ], [ 62, 64 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tprivate static final int origin = 100000;\n\tprivate static final double interest = 1.05;\n\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tint num = sc.nextInt();\n\t\tdouble ans = origin;\n\n\t\tfor(int count = 0; count < num; count++) {\n\t\t\tans = ans * interest / 1000;\n\t\t\tans = Math.ceil(ans) * 1000;\n\t\t}\n\n\t\tSystem.out.println((int)ans);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tprivate static final int origin = 100000;\n\tprivate static final double interest = 1.05;\n\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tint num = sc.nextInt();\n\t\tdouble ans = origin;\n\n\t\tfor(int count = 0; count < num; count++) {\n\t\t\tans = ans * interest / 1000;\n\t\t\tans = Math.ceil(ans) * 1000;\n\t\t}\n\n\t\tSystem.out.println((int)ans);\n\t}\n\n}", "Main", "private static final int origin = 100000;", "origin", "100000", "private static final double interest = 1.05;", "interest", "1.05", "static Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "public static void main(String[] args) {\n\t\tint num = sc.nextInt();\n\t\tdouble ans = origin;\n\n\t\tfor(int count = 0; count < num; count++) {\n\t\t\tans = ans * interest / 1000;\n\t\t\tans = Math.ceil(ans) * 1000;\n\t\t}\n\n\t\tSystem.out.println((int)ans);\n\t}", "main", "{\n\t\tint num = sc.nextInt();\n\t\tdouble ans = origin;\n\n\t\tfor(int count = 0; count < num; count++) {\n\t\t\tans = ans * interest / 1000;\n\t\t\tans = Math.ceil(ans) * 1000;\n\t\t}\n\n\t\tSystem.out.println((int)ans);\n\t}", "int num = sc.nextInt();", "num", "sc.nextInt()", "sc.nextInt", "sc", "double ans = origin;", "ans", "origin", "for(int count = 0; count < num; count++) {\n\t\t\tans = ans * interest / 1000;\n\t\t\tans = Math.ceil(ans) * 1000;\n\t\t}", "int count = 0;", "int count = 0;", "count", "0", "count < num", "count", "num", "count++", "count++", "count", "{\n\t\t\tans = ans * interest / 1000;\n\t\t\tans = Math.ceil(ans) * 1000;\n\t\t}", "{\n\t\t\tans = ans * interest / 1000;\n\t\t\tans = Math.ceil(ans) * 1000;\n\t\t}", "ans = ans * interest / 1000", "ans", "ans * interest / 1000", "ans * interest", "ans", "interest", "1000", "ans = Math.ceil(ans) * 1000", "ans", "Math.ceil(ans) * 1000", "Math.ceil(ans)", "Math.ceil", "Math", "ans", "1000", "System.out.println((int)ans)", "System.out.println", "System.out", "System", "System.out", "(int)ans", "String[] args", "args", "public class Main {\n\tprivate static final int origin = 100000;\n\tprivate static final double interest = 1.05;\n\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tint num = sc.nextInt();\n\t\tdouble ans = origin;\n\n\t\tfor(int count = 0; count < num; count++) {\n\t\t\tans = ans * interest / 1000;\n\t\t\tans = Math.ceil(ans) * 1000;\n\t\t}\n\n\t\tSystem.out.println((int)ans);\n\t}\n\n}", "public class Main {\n\tprivate static final int origin = 100000;\n\tprivate static final double interest = 1.05;\n\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tint num = sc.nextInt();\n\t\tdouble ans = origin;\n\n\t\tfor(int count = 0; count < num; count++) {\n\t\t\tans = ans * interest / 1000;\n\t\t\tans = Math.ceil(ans) * 1000;\n\t\t}\n\n\t\tSystem.out.println((int)ans);\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { private static final int origin = 100000; private static final double interest = 1.05; static Scanner sc = new Scanner(System.in); public static void main(String[] args) { int num = sc.nextInt(); double ans = origin; for(int count = 0; count < num; count++) { ans = ans * interest / 1000; ans = Math.ceil(ans) * 1000; } System.out.println((int)ans); } }
[ 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, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 2, 2, 13, 17, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 17, 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 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 44, 53 ], [ 17, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 15, 60 ], [ 60, 61 ] ]
[ "import java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\nclass Main {\n public static void main (String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n\n int weeks = sc.nextInt();\n\n int debt = 100000;\n\n for (int i = 0; i < weeks; i++) {\n debt = (int) Math.ceil((debt * 1.05) / 1000) * 1000;\n }\n\n System.out.println(debt);\n }\n}", "import java.io.IOException;", "IOException", "java.io", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n public static void main (String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n\n int weeks = sc.nextInt();\n\n int debt = 100000;\n\n for (int i = 0; i < weeks; i++) {\n debt = (int) Math.ceil((debt * 1.05) / 1000) * 1000;\n }\n\n System.out.println(debt);\n }\n}", "Main", "public static void main (String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n\n int weeks = sc.nextInt();\n\n int debt = 100000;\n\n for (int i = 0; i < weeks; i++) {\n debt = (int) Math.ceil((debt * 1.05) / 1000) * 1000;\n }\n\n System.out.println(debt);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n int weeks = sc.nextInt();\n\n int debt = 100000;\n\n for (int i = 0; i < weeks; i++) {\n debt = (int) Math.ceil((debt * 1.05) / 1000) * 1000;\n }\n\n System.out.println(debt);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int weeks = sc.nextInt();", "weeks", "sc.nextInt()", "sc.nextInt", "sc", "int debt = 100000;", "debt", "100000", "for (int i = 0; i < weeks; i++) {\n debt = (int) Math.ceil((debt * 1.05) / 1000) * 1000;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < weeks", "i", "weeks", "i++", "i++", "i", "{\n debt = (int) Math.ceil((debt * 1.05) / 1000) * 1000;\n }", "{\n debt = (int) Math.ceil((debt * 1.05) / 1000) * 1000;\n }", "debt = (int) Math.ceil((debt * 1.05) / 1000) * 1000", "debt", "(int) Math.ceil((debt * 1.05) / 1000) * 1000", "(int) Math.ceil((debt * 1.05) / 1000)", "Math.ceil", "Math", "(debt * 1.05) / 1000", "(debt * 1.05)", "debt", "1.05", "1000", "1000", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "String[] args", "args" ]
import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; class Main { public static void main (String[] args) throws IOException { Scanner sc = new Scanner(System.in); int weeks = sc.nextInt(); int debt = 100000; for (int i = 0; i < weeks; i++) { debt = (int) Math.ceil((debt * 1.05) / 1000) * 1000; } System.out.println(debt); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 13, 1, 40, 13, 30, 30, 41, 13, 2, 13, 17, 0, 13, 2, 13, 13, 0, 13, 2, 13, 17, 0, 13, 4, 18, 13, 13, 0, 13, 2, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 9, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 16, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 16, 25 ], [ 25, 26 ], [ 25, 27 ], [ 16, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 28, 39 ], [ 39, 40 ], [ 40, 41 ], [ 28, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 43, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 43, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 43, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 43, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 16, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 6, 76 ], [ 76, 77 ] ]
[ "import java.io.*;\n\nclass Main {\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\????????????????????????\n String line = br.readLine();\n\n // ????????????????????´?????????\n // String line; // ??\\???????????????????????\\???\n // while ((line = br.readLine()) != null) {\n // processLine(line);\n // }\n \n double initialValue = 100000.0;\n\n \tfor( int i = 0 ; i < Integer.valueOf(line) ; i++ )\n \t{\n \t double interest = initialValue * 0.05;\n \t initialValue = initialValue + interest;\n \t initialValue = initialValue / 1000;\n \t initialValue = Math.ceil(initialValue);\n \t initialValue = initialValue * 1000;\n \t}\n \tSystem.out.println((int)initialValue);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n // private static void processLine(String line) {\n // System.out.println(line);\n // }\n}", "import java.io.*;", "io.*", "java", "class Main {\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\????????????????????????\n String line = br.readLine();\n\n // ????????????????????´?????????\n // String line; // ??\\???????????????????????\\???\n // while ((line = br.readLine()) != null) {\n // processLine(line);\n // }\n \n double initialValue = 100000.0;\n\n \tfor( int i = 0 ; i < Integer.valueOf(line) ; i++ )\n \t{\n \t double interest = initialValue * 0.05;\n \t initialValue = initialValue + interest;\n \t initialValue = initialValue / 1000;\n \t initialValue = Math.ceil(initialValue);\n \t initialValue = initialValue * 1000;\n \t}\n \tSystem.out.println((int)initialValue);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n // private static void processLine(String line) {\n // System.out.println(line);\n // }\n}", "Main", "public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\????????????????????????\n String line = br.readLine();\n\n // ????????????????????´?????????\n // String line; // ??\\???????????????????????\\???\n // while ((line = br.readLine()) != null) {\n // processLine(line);\n // }\n \n double initialValue = 100000.0;\n\n \tfor( int i = 0 ; i < Integer.valueOf(line) ; i++ )\n \t{\n \t double interest = initialValue * 0.05;\n \t initialValue = initialValue + interest;\n \t initialValue = initialValue / 1000;\n \t initialValue = Math.ceil(initialValue);\n \t initialValue = initialValue * 1000;\n \t}\n \tSystem.out.println((int)initialValue);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "main", "{\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\????????????????????????\n String line = br.readLine();\n\n // ????????????????????´?????????\n // String line; // ??\\???????????????????????\\???\n // while ((line = br.readLine()) != null) {\n // processLine(line);\n // }\n \n double initialValue = 100000.0;\n\n \tfor( int i = 0 ; i < Integer.valueOf(line) ; i++ )\n \t{\n \t double interest = initialValue * 0.05;\n \t initialValue = initialValue + interest;\n \t initialValue = initialValue / 1000;\n \t initialValue = Math.ceil(initialValue);\n \t initialValue = initialValue * 1000;\n \t}\n \tSystem.out.println((int)initialValue);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\????????????????????????\n String line = br.readLine();\n\n // ????????????????????´?????????\n // String line; // ??\\???????????????????????\\???\n // while ((line = br.readLine()) != null) {\n // processLine(line);\n // }\n \n double initialValue = 100000.0;\n\n \tfor( int i = 0 ; i < Integer.valueOf(line) ; i++ )\n \t{\n \t double interest = initialValue * 0.05;\n \t initialValue = initialValue + interest;\n \t initialValue = initialValue / 1000;\n \t initialValue = Math.ceil(initialValue);\n \t initialValue = initialValue * 1000;\n \t}\n \tSystem.out.println((int)initialValue);\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 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\????????????????????????\n String line = br.readLine();\n\n // ????????????????????´?????????\n // String line; // ??\\???????????????????????\\???\n // while ((line = br.readLine()) != null) {\n // processLine(line);\n // }\n \n double initialValue = 100000.0;\n\n \tfor( int i = 0 ; i < Integer.valueOf(line) ; i++ )\n \t{\n \t double interest = initialValue * 0.05;\n \t initialValue = initialValue + interest;\n \t initialValue = initialValue / 1000;\n \t initialValue = Math.ceil(initialValue);\n \t initialValue = initialValue * 1000;\n \t}\n \tSystem.out.println((int)initialValue);\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "double initialValue = 100000.0;", "initialValue", "100000.0", "for( int i = 0 ; i < Integer.valueOf(line) ; i++ )\n \t{\n \t double interest = initialValue * 0.05;\n \t initialValue = initialValue + interest;\n \t initialValue = initialValue / 1000;\n \t initialValue = Math.ceil(initialValue);\n \t initialValue = initialValue * 1000;\n \t}", "int i = 0 ;", "int i = 0 ;", "i", "0", "i < Integer.valueOf(line)", "i", "Integer.valueOf(line)", "Integer.valueOf", "Integer", "line", "i++", "i++", "i", "{\n \t double interest = initialValue * 0.05;\n \t initialValue = initialValue + interest;\n \t initialValue = initialValue / 1000;\n \t initialValue = Math.ceil(initialValue);\n \t initialValue = initialValue * 1000;\n \t}", "{\n \t double interest = initialValue * 0.05;\n \t initialValue = initialValue + interest;\n \t initialValue = initialValue / 1000;\n \t initialValue = Math.ceil(initialValue);\n \t initialValue = initialValue * 1000;\n \t}", "double interest = initialValue * 0.05;", "interest", "initialValue * 0.05", "initialValue", "0.05", "initialValue = initialValue + interest", "initialValue", "initialValue + interest", "initialValue", "interest", "initialValue = initialValue / 1000", "initialValue", "initialValue / 1000", "initialValue", "1000", "initialValue = Math.ceil(initialValue)", "initialValue", "Math.ceil(initialValue)", "Math.ceil", "Math", "initialValue", "initialValue = initialValue * 1000", "initialValue", "initialValue * 1000", "initialValue", "1000", "System.out.println((int)initialValue)", "System.out.println", "System.out", "System", "System.out", "(int)initialValue", "String[] args", "args" ]
import java.io.*; class Main { public static void main(String[] args) { try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\???????????????????????? String line = br.readLine(); // ????????????????????´????????? // String line; // ??\???????????????????????\??? // while ((line = br.readLine()) != null) { // processLine(line); // } double initialValue = 100000.0; for( int i = 0 ; i < Integer.valueOf(line) ; i++ ) { double interest = initialValue * 0.05; initialValue = initialValue + interest; initialValue = initialValue / 1000; initialValue = Math.ceil(initialValue); initialValue = initialValue * 1000; } System.out.println((int)initialValue); } catch (Exception e) { e.printStackTrace(); } } // private static void processLine(String line) { // System.out.println(line); // } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 0, 13, 2, 4, 18, 13, 2, 13, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 30, 32 ], [ 25, 33 ], [ 33, 34 ], [ 34, 35 ], [ 25, 36 ], [ 37, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 43, 50 ], [ 8, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 6, 60 ], [ 60, 61 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint week = scan.nextInt();\n\t\tdouble num = 100000;\n\t\tdouble n=1000.0;\n\t\tint i;\n\t\t\n\t\tfor(i=0;i<week;i++){\n\t\t\tnum *= 1.05;\n\t\t\tnum = Math.ceil(num / n) * n;\n\t\t}\n\t\tSystem.out.println((int)num);\n\t\tscan.close();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint week = scan.nextInt();\n\t\tdouble num = 100000;\n\t\tdouble n=1000.0;\n\t\tint i;\n\t\t\n\t\tfor(i=0;i<week;i++){\n\t\t\tnum *= 1.05;\n\t\t\tnum = Math.ceil(num / n) * n;\n\t\t}\n\t\tSystem.out.println((int)num);\n\t\tscan.close();\n\t}\n}", "Main", "public static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint week = scan.nextInt();\n\t\tdouble num = 100000;\n\t\tdouble n=1000.0;\n\t\tint i;\n\t\t\n\t\tfor(i=0;i<week;i++){\n\t\t\tnum *= 1.05;\n\t\t\tnum = Math.ceil(num / n) * n;\n\t\t}\n\t\tSystem.out.println((int)num);\n\t\tscan.close();\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint week = scan.nextInt();\n\t\tdouble num = 100000;\n\t\tdouble n=1000.0;\n\t\tint i;\n\t\t\n\t\tfor(i=0;i<week;i++){\n\t\t\tnum *= 1.05;\n\t\t\tnum = Math.ceil(num / n) * n;\n\t\t}\n\t\tSystem.out.println((int)num);\n\t\tscan.close();\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int week = scan.nextInt();", "week", "scan.nextInt()", "scan.nextInt", "scan", "double num = 100000;", "num", "100000", "double n=1000.0;", "n", "1000.0", "int i;", "i", "for(i=0;i<week;i++){\n\t\t\tnum *= 1.05;\n\t\t\tnum = Math.ceil(num / n) * n;\n\t\t}", "i=0;", "i=0", "i", "0", "i<week", "i", "week", "i++", "i++", "i", "{\n\t\t\tnum *= 1.05;\n\t\t\tnum = Math.ceil(num / n) * n;\n\t\t}", "{\n\t\t\tnum *= 1.05;\n\t\t\tnum = Math.ceil(num / n) * n;\n\t\t}", "num *= 1.05", "num", "1.05", "num = Math.ceil(num / n) * n", "num", "Math.ceil(num / n) * n", "Math.ceil(num / n)", "Math.ceil", "Math", "num / n", "num", "n", "n", "System.out.println((int)num)", "System.out.println", "System.out", "System", "System.out", "(int)num", "scan.close()", "scan.close", "scan", "String args[]", "args" ]
import java.util.Scanner; class Main { public static void main(String args[]){ Scanner scan = new Scanner(System.in); int week = scan.nextInt(); double num = 100000; double n=1000.0; int i; for(i=0;i<week;i++){ num *= 1.05; num = Math.ceil(num / n) * n; } System.out.println((int)num); scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 2, 13, 17, 1, 40, 13, 30, 30, 0, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 2, 2, 13, 17, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 58, 5 ], [ 58, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 26, 27 ], [ 20, 28 ], [ 29, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 33, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 42, 48 ], [ 8, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 6, 55 ], [ 55, 56 ], [ 0, 57 ], [ 57, 58 ], [ 57, 59 ] ]
[ "import java.util.*;\n\npublic class Main{\n \n public static void main(String[] args){\n\tScanner sc =new Scanner(System.in);\n\tint w = sc.nextInt();\n\tint det=100000;\n\tfor(;w>0;w--){\n\t det*=1.05;\n\t if(det%1000!=0){\n\t\tdet=((det/1000)+1)*1000;\n\t }\n\t}\n\tSystem.out.println(det);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n \n public static void main(String[] args){\n\tScanner sc =new Scanner(System.in);\n\tint w = sc.nextInt();\n\tint det=100000;\n\tfor(;w>0;w--){\n\t det*=1.05;\n\t if(det%1000!=0){\n\t\tdet=((det/1000)+1)*1000;\n\t }\n\t}\n\tSystem.out.println(det);\n }\n}", "Main", "public static void main(String[] args){\n\tScanner sc =new Scanner(System.in);\n\tint w = sc.nextInt();\n\tint det=100000;\n\tfor(;w>0;w--){\n\t det*=1.05;\n\t if(det%1000!=0){\n\t\tdet=((det/1000)+1)*1000;\n\t }\n\t}\n\tSystem.out.println(det);\n }", "main", "{\n\tScanner sc =new Scanner(System.in);\n\tint w = sc.nextInt();\n\tint det=100000;\n\tfor(;w>0;w--){\n\t det*=1.05;\n\t if(det%1000!=0){\n\t\tdet=((det/1000)+1)*1000;\n\t }\n\t}\n\tSystem.out.println(det);\n }", "Scanner sc =new Scanner(System.in);", "sc", "new Scanner(System.in)", "int w = sc.nextInt();", "w", "sc.nextInt()", "sc.nextInt", "sc", "int det=100000;", "det", "100000", "for(;w>0;w--){\n\t det*=1.05;\n\t if(det%1000!=0){\n\t\tdet=((det/1000)+1)*1000;\n\t }\n\t}", ";", "w>0", "w", "0", "w--", "w--", "w", "{\n\t det*=1.05;\n\t if(det%1000!=0){\n\t\tdet=((det/1000)+1)*1000;\n\t }\n\t}", "{\n\t det*=1.05;\n\t if(det%1000!=0){\n\t\tdet=((det/1000)+1)*1000;\n\t }\n\t}", "det*=1.05", "det", "1.05", "if(det%1000!=0){\n\t\tdet=((det/1000)+1)*1000;\n\t }", "det%1000!=0", "det%1000", "det", "1000", "0", "{\n\t\tdet=((det/1000)+1)*1000;\n\t }", "det=((det/1000)+1)*1000", "det", "((det/1000)+1)*1000", "((det/1000)+1)", "(det/1000)", "det", "1000", "1", "1000", "System.out.println(det)", "System.out.println", "System.out", "System", "System.out", "det", "String[] args", "args", "public class Main{\n \n public static void main(String[] args){\n\tScanner sc =new Scanner(System.in);\n\tint w = sc.nextInt();\n\tint det=100000;\n\tfor(;w>0;w--){\n\t det*=1.05;\n\t if(det%1000!=0){\n\t\tdet=((det/1000)+1)*1000;\n\t }\n\t}\n\tSystem.out.println(det);\n }\n}", "public class Main{\n \n public static void main(String[] args){\n\tScanner sc =new Scanner(System.in);\n\tint w = sc.nextInt();\n\tint det=100000;\n\tfor(;w>0;w--){\n\t det*=1.05;\n\t if(det%1000!=0){\n\t\tdet=((det/1000)+1)*1000;\n\t }\n\t}\n\tSystem.out.println(det);\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc =new Scanner(System.in); int w = sc.nextInt(); int det=100000; for(;w>0;w--){ det*=1.05; if(det%1000!=0){ det=((det/1000)+1)*1000; } } System.out.println(det); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 2, 13, 17, 17, 14, 2, 2, 13, 17, 17, 0, 13, 2, 2, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 64, 5 ], [ 64, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 40, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 52, 54 ], [ 8, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 6, 61 ], [ 61, 62 ], [ 0, 63 ], [ 63, 64 ], [ 63, 65 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String args[]){\n\t\tScanner s=new Scanner(System.in);\n\t\tint N=s.nextInt();\n\t\tint Debt=100000;\n\t\tfor(int i=0;i<N;i++){\n\t\t\tDebt=Debt*105/100;\n\t\t\tif(Debt%1000!=0)Debt=Debt+1000-Debt%1000;\n\t\t}\n\t\tSystem.out.println(Debt);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner s=new Scanner(System.in);\n\t\tint N=s.nextInt();\n\t\tint Debt=100000;\n\t\tfor(int i=0;i<N;i++){\n\t\t\tDebt=Debt*105/100;\n\t\t\tif(Debt%1000!=0)Debt=Debt+1000-Debt%1000;\n\t\t}\n\t\tSystem.out.println(Debt);\n\t}\n}", "Main", "public static void main(String args[]){\n\t\tScanner s=new Scanner(System.in);\n\t\tint N=s.nextInt();\n\t\tint Debt=100000;\n\t\tfor(int i=0;i<N;i++){\n\t\t\tDebt=Debt*105/100;\n\t\t\tif(Debt%1000!=0)Debt=Debt+1000-Debt%1000;\n\t\t}\n\t\tSystem.out.println(Debt);\n\t}", "main", "{\n\t\tScanner s=new Scanner(System.in);\n\t\tint N=s.nextInt();\n\t\tint Debt=100000;\n\t\tfor(int i=0;i<N;i++){\n\t\t\tDebt=Debt*105/100;\n\t\t\tif(Debt%1000!=0)Debt=Debt+1000-Debt%1000;\n\t\t}\n\t\tSystem.out.println(Debt);\n\t}", "Scanner s=new Scanner(System.in);", "s", "new Scanner(System.in)", "int N=s.nextInt();", "N", "s.nextInt()", "s.nextInt", "s", "int Debt=100000;", "Debt", "100000", "for(int i=0;i<N;i++){\n\t\t\tDebt=Debt*105/100;\n\t\t\tif(Debt%1000!=0)Debt=Debt+1000-Debt%1000;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n\t\t\tDebt=Debt*105/100;\n\t\t\tif(Debt%1000!=0)Debt=Debt+1000-Debt%1000;\n\t\t}", "{\n\t\t\tDebt=Debt*105/100;\n\t\t\tif(Debt%1000!=0)Debt=Debt+1000-Debt%1000;\n\t\t}", "Debt=Debt*105/100", "Debt", "Debt*105/100", "Debt*105", "Debt", "105", "100", "if(Debt%1000!=0)Debt=Debt+1000-Debt%1000;", "Debt%1000!=0", "Debt%1000", "Debt", "1000", "0", "Debt=Debt+1000-Debt%1000", "Debt", "Debt+1000-Debt%1000", "Debt+1000", "Debt", "1000", "Debt%1000", "Debt", "1000", "System.out.println(Debt)", "System.out.println", "System.out", "System", "System.out", "Debt", "String args[]", "args", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner s=new Scanner(System.in);\n\t\tint N=s.nextInt();\n\t\tint Debt=100000;\n\t\tfor(int i=0;i<N;i++){\n\t\t\tDebt=Debt*105/100;\n\t\t\tif(Debt%1000!=0)Debt=Debt+1000-Debt%1000;\n\t\t}\n\t\tSystem.out.println(Debt);\n\t}\n}", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner s=new Scanner(System.in);\n\t\tint N=s.nextInt();\n\t\tint Debt=100000;\n\t\tfor(int i=0;i<N;i++){\n\t\t\tDebt=Debt*105/100;\n\t\t\tif(Debt%1000!=0)Debt=Debt+1000-Debt%1000;\n\t\t}\n\t\tSystem.out.println(Debt);\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String args[]){ Scanner s=new Scanner(System.in); int N=s.nextInt(); int Debt=100000; for(int i=0;i<N;i++){ Debt=Debt*105/100; if(Debt%1000!=0)Debt=Debt+1000-Debt%1000; } System.out.println(Debt); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 17, 2, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 59, 5 ], [ 59, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 36, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 8, 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) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n double l = 100000;\n for (int i = 1; i <= n; i++) {\n l *= 1.05;\n if (l%1000 != 0) {\n l += (1000 - (l%1000));\n }\n }\n System.out.println((long)l);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n double l = 100000;\n for (int i = 1; i <= n; i++) {\n l *= 1.05;\n if (l%1000 != 0) {\n l += (1000 - (l%1000));\n }\n }\n System.out.println((long)l);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n double l = 100000;\n for (int i = 1; i <= n; i++) {\n l *= 1.05;\n if (l%1000 != 0) {\n l += (1000 - (l%1000));\n }\n }\n System.out.println((long)l);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n double l = 100000;\n for (int i = 1; i <= n; i++) {\n l *= 1.05;\n if (l%1000 != 0) {\n l += (1000 - (l%1000));\n }\n }\n System.out.println((long)l);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "double l = 100000;", "l", "100000", "for (int i = 1; i <= n; i++) {\n l *= 1.05;\n if (l%1000 != 0) {\n l += (1000 - (l%1000));\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n l *= 1.05;\n if (l%1000 != 0) {\n l += (1000 - (l%1000));\n }\n }", "{\n l *= 1.05;\n if (l%1000 != 0) {\n l += (1000 - (l%1000));\n }\n }", "l *= 1.05", "l", "1.05", "if (l%1000 != 0) {\n l += (1000 - (l%1000));\n }", "l%1000 != 0", "l%1000", "l", "1000", "0", "{\n l += (1000 - (l%1000));\n }", "l += (1000 - (l%1000))", "l", "(1000 - (l%1000))", "1000", "(l%1000)", "l", "1000", "System.out.println((long)l)", "System.out.println", "System.out", "System", "System.out", "(long)l", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n double l = 100000;\n for (int i = 1; i <= n; i++) {\n l *= 1.05;\n if (l%1000 != 0) {\n l += (1000 - (l%1000));\n }\n }\n System.out.println((long)l);\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n double l = 100000;\n for (int i = 1; i <= n; i++) {\n l *= 1.05;\n if (l%1000 != 0) {\n l += (1000 - (l%1000));\n }\n }\n System.out.println((long)l);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); double l = 100000; for (int i = 1; i <= n; i++) { l *= 1.05; if (l%1000 != 0) { l += (1000 - (l%1000)); } } System.out.println((long)l); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 41, 13, 2, 13, 17, 0, 13, 4, 18, 13, 13, 0, 13, 2, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 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 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 32, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 32, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 6, 58 ], [ 58, 59 ], [ 0, 60 ], [ 60, 61 ], [ 60, 62 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n double debt = 100000;\n\n for(int i = 0; i < n; i++){\n debt *= 1.05;\n double s = debt / 1000;\n s = Math.ceil(s);\n debt = s * 1000;\n }\n\n System.out.println((int)debt);\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 n = sc.nextInt();\n double debt = 100000;\n\n for(int i = 0; i < n; i++){\n debt *= 1.05;\n double s = debt / 1000;\n s = Math.ceil(s);\n debt = s * 1000;\n }\n\n System.out.println((int)debt);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n double debt = 100000;\n\n for(int i = 0; i < n; i++){\n debt *= 1.05;\n double s = debt / 1000;\n s = Math.ceil(s);\n debt = s * 1000;\n }\n\n System.out.println((int)debt);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n double debt = 100000;\n\n for(int i = 0; i < n; i++){\n debt *= 1.05;\n double s = debt / 1000;\n s = Math.ceil(s);\n debt = s * 1000;\n }\n\n System.out.println((int)debt);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "double debt = 100000;", "debt", "100000", "for(int i = 0; i < n; i++){\n debt *= 1.05;\n double s = debt / 1000;\n s = Math.ceil(s);\n debt = s * 1000;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n debt *= 1.05;\n double s = debt / 1000;\n s = Math.ceil(s);\n debt = s * 1000;\n }", "{\n debt *= 1.05;\n double s = debt / 1000;\n s = Math.ceil(s);\n debt = s * 1000;\n }", "debt *= 1.05", "debt", "1.05", "double s = debt / 1000;", "s", "debt / 1000", "debt", "1000", "s = Math.ceil(s)", "s", "Math.ceil(s)", "Math.ceil", "Math", "s", "debt = s * 1000", "debt", "s * 1000", "s", "1000", "System.out.println((int)debt)", "System.out.println", "System.out", "System", "System.out", "(int)debt", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n double debt = 100000;\n\n for(int i = 0; i < n; i++){\n debt *= 1.05;\n double s = debt / 1000;\n s = Math.ceil(s);\n debt = s * 1000;\n }\n\n System.out.println((int)debt);\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n double debt = 100000;\n\n for(int i = 0; i < n; i++){\n debt *= 1.05;\n double s = debt / 1000;\n s = Math.ceil(s);\n debt = s * 1000;\n }\n\n System.out.println((int)debt);\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); double debt = 100000; for(int i = 0; i < n; i++){ debt *= 1.05; double s = debt / 1000; s = Math.ceil(s); debt = s * 1000; } System.out.println((int)debt); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 0, 13, 2, 4, 18, 13, 2, 13, 17, 17, 4, 18, 18, 13, 13, 13, 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 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 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\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble p = 100000;\n\t\tint n = s.nextInt();\n\t\tfor(int i = 0; i < n; ++i) {\n\t\t\tp *= 1.05;\n\t\t\tp = Math.ceil(p / 1000) * 1000;\n\t\t}\n\t\tSystem.out.println((int)p);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble p = 100000;\n\t\tint n = s.nextInt();\n\t\tfor(int i = 0; i < n; ++i) {\n\t\t\tp *= 1.05;\n\t\t\tp = Math.ceil(p / 1000) * 1000;\n\t\t}\n\t\tSystem.out.println((int)p);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble p = 100000;\n\t\tint n = s.nextInt();\n\t\tfor(int i = 0; i < n; ++i) {\n\t\t\tp *= 1.05;\n\t\t\tp = Math.ceil(p / 1000) * 1000;\n\t\t}\n\t\tSystem.out.println((int)p);\n\t}", "main", "{\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble p = 100000;\n\t\tint n = s.nextInt();\n\t\tfor(int i = 0; i < n; ++i) {\n\t\t\tp *= 1.05;\n\t\t\tp = Math.ceil(p / 1000) * 1000;\n\t\t}\n\t\tSystem.out.println((int)p);\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "double p = 100000;", "p", "100000", "int n = s.nextInt();", "n", "s.nextInt()", "s.nextInt", "s", "for(int i = 0; i < n; ++i) {\n\t\t\tp *= 1.05;\n\t\t\tp = Math.ceil(p / 1000) * 1000;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "++i", "++i", "i", "{\n\t\t\tp *= 1.05;\n\t\t\tp = Math.ceil(p / 1000) * 1000;\n\t\t}", "{\n\t\t\tp *= 1.05;\n\t\t\tp = Math.ceil(p / 1000) * 1000;\n\t\t}", "p *= 1.05", "p", "1.05", "p = Math.ceil(p / 1000) * 1000", "p", "Math.ceil(p / 1000) * 1000", "Math.ceil(p / 1000)", "Math.ceil", "Math", "p / 1000", "p", "1000", "1000", "System.out.println((int)p)", "System.out.println", "System.out", "System", "System.out", "(int)p", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble p = 100000;\n\t\tint n = s.nextInt();\n\t\tfor(int i = 0; i < n; ++i) {\n\t\t\tp *= 1.05;\n\t\t\tp = Math.ceil(p / 1000) * 1000;\n\t\t}\n\t\tSystem.out.println((int)p);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble p = 100000;\n\t\tint n = s.nextInt();\n\t\tfor(int i = 0; i < n; ++i) {\n\t\t\tp *= 1.05;\n\t\t\tp = Math.ceil(p / 1000) * 1000;\n\t\t}\n\t\tSystem.out.println((int)p);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); double p = 100000; int n = s.nextInt(); for(int i = 0; i < n; ++i) { p *= 1.05; p = Math.ceil(p / 1000) * 1000; } System.out.println((int)p); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 4, 18, 13, 4, 13, 41, 13, 17, 42, 2, 13, 17, 30, 0, 13, 2, 13, 17, 41, 13, 2, 13, 17, 14, 2, 13, 17, 30, 0, 13, 2, 17, 13, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 17, 38, 5, 13, 30, 4, 18, 18, 13, 13, 17, 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 ], [ 94, 11 ], [ 94, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 20, 21 ], [ 14, 22 ], [ 22, 23 ], [ 22, 24 ], [ 14, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 32, 34 ], [ 29, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 29, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 29, 50 ], [ 50, 51 ], [ 14, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 12, 58 ], [ 58, 59 ], [ 94, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 66, 68 ], [ 62, 69 ], [ 69, 70 ], [ 69, 71 ], [ 62, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 75, 82 ], [ 82, 83 ], [ 83, 84 ], [ 72, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 62, 91 ], [ 91, 92 ], [ 0, 93 ], [ 93, 94 ], [ 93, 95 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint monthTerm = Integer.parseInt(input());\n\n\t\tint principal = 100000;\n\n\t\twhile (monthTerm != 0) {\n\t\t\tprincipal += principal * 0.05;\n\t\t\tint fraction = principal % 1000;\n\t\t\tif (fraction != 0) {\n\t\t\t\tprincipal += 1000 - fraction;\n\t\t\t}\n\t\t\tmonthTerm--;\n\t\t}\n\n\t\tSystem.out.println(principal);\n\n\t}\n\n\tprivate static String input() {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tString input = null;\n\t\ttry {\n\t\t\tinput = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"読み込みに失敗しました\");\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn input;\n\t}\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\tpublic static void main(String[] args) {\n\t\tint monthTerm = Integer.parseInt(input());\n\n\t\tint principal = 100000;\n\n\t\twhile (monthTerm != 0) {\n\t\t\tprincipal += principal * 0.05;\n\t\t\tint fraction = principal % 1000;\n\t\t\tif (fraction != 0) {\n\t\t\t\tprincipal += 1000 - fraction;\n\t\t\t}\n\t\t\tmonthTerm--;\n\t\t}\n\n\t\tSystem.out.println(principal);\n\n\t}\n\n\tprivate static String input() {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tString input = null;\n\t\ttry {\n\t\t\tinput = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"読み込みに失敗しました\");\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn input;\n\t}\n\n\n}", "Main", "public static void main(String[] args) {\n\t\tint monthTerm = Integer.parseInt(input());\n\n\t\tint principal = 100000;\n\n\t\twhile (monthTerm != 0) {\n\t\t\tprincipal += principal * 0.05;\n\t\t\tint fraction = principal % 1000;\n\t\t\tif (fraction != 0) {\n\t\t\t\tprincipal += 1000 - fraction;\n\t\t\t}\n\t\t\tmonthTerm--;\n\t\t}\n\n\t\tSystem.out.println(principal);\n\n\t}", "main", "{\n\t\tint monthTerm = Integer.parseInt(input());\n\n\t\tint principal = 100000;\n\n\t\twhile (monthTerm != 0) {\n\t\t\tprincipal += principal * 0.05;\n\t\t\tint fraction = principal % 1000;\n\t\t\tif (fraction != 0) {\n\t\t\t\tprincipal += 1000 - fraction;\n\t\t\t}\n\t\t\tmonthTerm--;\n\t\t}\n\n\t\tSystem.out.println(principal);\n\n\t}", "int monthTerm = Integer.parseInt(input());", "monthTerm", "Integer.parseInt(input())", "Integer.parseInt", "Integer", "input()", "input", "int principal = 100000;", "principal", "100000", "while (monthTerm != 0) {\n\t\t\tprincipal += principal * 0.05;\n\t\t\tint fraction = principal % 1000;\n\t\t\tif (fraction != 0) {\n\t\t\t\tprincipal += 1000 - fraction;\n\t\t\t}\n\t\t\tmonthTerm--;\n\t\t}", "monthTerm != 0", "monthTerm", "0", "{\n\t\t\tprincipal += principal * 0.05;\n\t\t\tint fraction = principal % 1000;\n\t\t\tif (fraction != 0) {\n\t\t\t\tprincipal += 1000 - fraction;\n\t\t\t}\n\t\t\tmonthTerm--;\n\t\t}", "principal += principal * 0.05", "principal", "principal * 0.05", "principal", "0.05", "int fraction = principal % 1000;", "fraction", "principal % 1000", "principal", "1000", "if (fraction != 0) {\n\t\t\t\tprincipal += 1000 - fraction;\n\t\t\t}", "fraction != 0", "fraction", "0", "{\n\t\t\t\tprincipal += 1000 - fraction;\n\t\t\t}", "principal += 1000 - fraction", "principal", "1000 - fraction", "1000", "fraction", "monthTerm--", "monthTerm", "System.out.println(principal)", "System.out.println", "System.out", "System", "System.out", "principal", "String[] args", "args", "private static String input() {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tString input = null;\n\t\ttry {\n\t\t\tinput = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"読み込みに失敗しました\");\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn input;\n\t}", "input", "{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tString input = null;\n\t\ttry {\n\t\t\tinput = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"読み込みに失敗しました\");\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn input;\n\t}", "InputStreamReader isr = new InputStreamReader(System.in);", "isr", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(isr);", "br", "new BufferedReader(isr)", "String input = null;", "input", "null", "try {\n\t\t\tinput = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"読み込みに失敗しました\");\n\t\t\te.printStackTrace();\n\t\t}", "catch (IOException e) {\n\t\t\tSystem.out.println(\"読み込みに失敗しました\");\n\t\t\te.printStackTrace();\n\t\t}", "IOException e", "{\n\t\t\tSystem.out.println(\"読み込みに失敗しました\");\n\t\t\te.printStackTrace();\n\t\t}", "System.out.println(\"読み込みに失敗しました\")", "System.out.println", "System.out", "System", "System.out", "\"読み込みに失敗しました\"", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tinput = br.readLine();\n\t\t}", "input = br.readLine()", "input", "br.readLine()", "br.readLine", "br", "return input;", "input", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint monthTerm = Integer.parseInt(input());\n\n\t\tint principal = 100000;\n\n\t\twhile (monthTerm != 0) {\n\t\t\tprincipal += principal * 0.05;\n\t\t\tint fraction = principal % 1000;\n\t\t\tif (fraction != 0) {\n\t\t\t\tprincipal += 1000 - fraction;\n\t\t\t}\n\t\t\tmonthTerm--;\n\t\t}\n\n\t\tSystem.out.println(principal);\n\n\t}\n\n\tprivate static String input() {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tString input = null;\n\t\ttry {\n\t\t\tinput = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"読み込みに失敗しました\");\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn input;\n\t}\n\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint monthTerm = Integer.parseInt(input());\n\n\t\tint principal = 100000;\n\n\t\twhile (monthTerm != 0) {\n\t\t\tprincipal += principal * 0.05;\n\t\t\tint fraction = principal % 1000;\n\t\t\tif (fraction != 0) {\n\t\t\t\tprincipal += 1000 - fraction;\n\t\t\t}\n\t\t\tmonthTerm--;\n\t\t}\n\n\t\tSystem.out.println(principal);\n\n\t}\n\n\tprivate static String input() {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tString input = null;\n\t\ttry {\n\t\t\tinput = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"読み込みに失敗しました\");\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn input;\n\t}\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) { int monthTerm = Integer.parseInt(input()); int principal = 100000; while (monthTerm != 0) { principal += principal * 0.05; int fraction = principal % 1000; if (fraction != 0) { principal += 1000 - fraction; } monthTerm--; } System.out.println(principal); } private static String input() { InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); String input = null; try { input = br.readLine(); } catch (IOException e) { System.out.println("読み込みに失敗しました"); e.printStackTrace(); } return input; } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 17, 12, 13, 30, 41, 13, 4, 13, 4, 13, 13, 23, 13, 12, 13, 30, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 13, 13, 17, 18, 13, 13, 0, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 20, 29, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 96, 8 ], [ 96, 9 ], [ 9, 10 ], [ 9, 11 ], [ 96, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 96, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 96, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 24, 34 ], [ 34, 35 ], [ 96, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 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 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 57, 63 ], [ 57, 64 ], [ 57, 65 ], [ 65, 66 ], [ 65, 67 ], [ 54, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 38, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 36, 83 ], [ 83, 84 ], [ 96, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 0, 95 ], [ 95, 96 ], [ 95, 97 ] ]
[ "import java.math.BigDecimal;\nimport java.util.Scanner;\n\n/**\n * 0007:Debt Hell\n * \n * @author MS14A\n * @version 2015/04/08\n */\npublic class Main {\n\n /** 初期借金額:10万円 */\n private static final BigDecimal INITIAL_DEBT = new BigDecimal(\"100000\");\n\n /** 利子:5% */\n private static final BigDecimal INTEREST_RATE = BigDecimal.valueOf(0.05);\n\n /** 繰り上げ計算用 */\n private static final BigDecimal DIVISOR = BigDecimal.valueOf(1000);\n\n /**\n * 某国に住んでいる友達がお金に困って、あるヤミ金融業者から 10 万円の借金をしたまま、<br>\n * 全く返済していないといいます。<br>\n * この業者は、一週間ごとに 5% の利子を借金に加え、さらに借金の 1,000 円未満を切り上げます。<br>\n * n を入力したとき、n 週間後の借金の残高を出力し終了するプログラムを作成して下さい。<br>\n * n は 100 以下とします。\n * \n * @param args\n */\n public static void main(String[] args) {\n // 標準入力読み取り\n int weeks = getN();\n\n // n週間後の借金額計算\n calcDebt(weeks);\n }\n\n /**\n * n週間後の借金額を計算する。\n * \n * @param weeks\n */\n private static void calcDebt(int weeks) {\n BigDecimal finalDebt = INITIAL_DEBT;\n\n for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR));\n }\n\n System.out.println(finalDebt);\n }\n\n /**\n * 標準入力を読み取り、\"n\"の値を返す。\n * \n * @return n:入力値\n */\n private static int getN() {\n Scanner scanned = new Scanner(System.in);\n return scanned.nextInt();\n }\n\n}", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n /** 初期借金額:10万円 */\n private static final BigDecimal INITIAL_DEBT = new BigDecimal(\"100000\");\n\n /** 利子:5% */\n private static final BigDecimal INTEREST_RATE = BigDecimal.valueOf(0.05);\n\n /** 繰り上げ計算用 */\n private static final BigDecimal DIVISOR = BigDecimal.valueOf(1000);\n\n /**\n * 某国に住んでいる友達がお金に困って、あるヤミ金融業者から 10 万円の借金をしたまま、<br>\n * 全く返済していないといいます。<br>\n * この業者は、一週間ごとに 5% の利子を借金に加え、さらに借金の 1,000 円未満を切り上げます。<br>\n * n を入力したとき、n 週間後の借金の残高を出力し終了するプログラムを作成して下さい。<br>\n * n は 100 以下とします。\n * \n * @param args\n */\n public static void main(String[] args) {\n // 標準入力読み取り\n int weeks = getN();\n\n // n週間後の借金額計算\n calcDebt(weeks);\n }\n\n /**\n * n週間後の借金額を計算する。\n * \n * @param weeks\n */\n private static void calcDebt(int weeks) {\n BigDecimal finalDebt = INITIAL_DEBT;\n\n for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR));\n }\n\n System.out.println(finalDebt);\n }\n\n /**\n * 標準入力を読み取り、\"n\"の値を返す。\n * \n * @return n:入力値\n */\n private static int getN() {\n Scanner scanned = new Scanner(System.in);\n return scanned.nextInt();\n }\n\n}", "Main", "/** 初期借金額:10万円 */\n private static final BigDecimal INITIAL_DEBT = new BigDecimal(\"100000\");", "INITIAL_DEBT", "new BigDecimal(\"100000\")", "/** 利子:5% */\n private static final BigDecimal INTEREST_RATE = BigDecimal.valueOf(0.05);", "INTEREST_RATE", "BigDecimal.valueOf(0.05)", "BigDecimal.valueOf", "BigDecimal", "0.05", "/** 繰り上げ計算用 */\n private static final BigDecimal DIVISOR = BigDecimal.valueOf(1000);", "DIVISOR", "BigDecimal.valueOf(1000)", "BigDecimal.valueOf", "BigDecimal", "1000", "/**\n * 某国に住んでいる友達がお金に困って、あるヤミ金融業者から 10 万円の借金をしたまま、<br>\n * 全く返済していないといいます。<br>\n * この業者は、一週間ごとに 5% の利子を借金に加え、さらに借金の 1,000 円未満を切り上げます。<br>\n * n を入力したとき、n 週間後の借金の残高を出力し終了するプログラムを作成して下さい。<br>\n * n は 100 以下とします。\n * \n * @param args\n */\n public static void main(String[] args) {\n // 標準入力読み取り\n int weeks = getN();\n\n // n週間後の借金額計算\n calcDebt(weeks);\n }", "main", "{\n // 標準入力読み取り\n int weeks = getN();\n\n // n週間後の借金額計算\n calcDebt(weeks);\n }", "int weeks = getN();", "weeks", "getN()", "getN", "calcDebt(weeks)", "calcDebt", "weeks", "String[] args", "args", "/**\n * n週間後の借金額を計算する。\n * \n * @param weeks\n */\n private static void calcDebt(int weeks) {\n BigDecimal finalDebt = INITIAL_DEBT;\n\n for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR));\n }\n\n System.out.println(finalDebt);\n }", "calcDebt", "{\n BigDecimal finalDebt = INITIAL_DEBT;\n\n for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR));\n }\n\n System.out.println(finalDebt);\n }", "BigDecimal finalDebt = INITIAL_DEBT;", "finalDebt", "INITIAL_DEBT", "for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR));\n }", "int i = 0;", "int i = 0;", "i", "0", "i < weeks", "i", "weeks", "i++", "i++", "i", "{\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR));\n }", "{\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR));\n }", "BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);", "interestAmount", "finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP)", "finalDebt.multiply(INTEREST_RATE)\n .divide", "finalDebt.multiply(INTEREST_RATE)", "finalDebt.multiply", "finalDebt", "INTEREST_RATE", "DIVISOR", "0", "BigDecimal.ROUND_UP", "BigDecimal", "BigDecimal.ROUND_UP", "finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR))", "finalDebt", "finalDebt.add(interestAmount.multiply(DIVISOR))", "finalDebt.add", "finalDebt", "interestAmount.multiply(DIVISOR)", "interestAmount.multiply", "interestAmount", "DIVISOR", "System.out.println(finalDebt)", "System.out.println", "System.out", "System", "System.out", "finalDebt", "int weeks", "weeks", "/**\n * 標準入力を読み取り、\"n\"の値を返す。\n * \n * @return n:入力値\n */\n private static int getN() {\n Scanner scanned = new Scanner(System.in);\n return scanned.nextInt();\n }", "getN", "{\n Scanner scanned = new Scanner(System.in);\n return scanned.nextInt();\n }", "Scanner scanned = new Scanner(System.in);", "scanned", "new Scanner(System.in)", "return scanned.nextInt();", "scanned.nextInt()", "scanned.nextInt", "scanned", "public class Main {\n\n /** 初期借金額:10万円 */\n private static final BigDecimal INITIAL_DEBT = new BigDecimal(\"100000\");\n\n /** 利子:5% */\n private static final BigDecimal INTEREST_RATE = BigDecimal.valueOf(0.05);\n\n /** 繰り上げ計算用 */\n private static final BigDecimal DIVISOR = BigDecimal.valueOf(1000);\n\n /**\n * 某国に住んでいる友達がお金に困って、あるヤミ金融業者から 10 万円の借金をしたまま、<br>\n * 全く返済していないといいます。<br>\n * この業者は、一週間ごとに 5% の利子を借金に加え、さらに借金の 1,000 円未満を切り上げます。<br>\n * n を入力したとき、n 週間後の借金の残高を出力し終了するプログラムを作成して下さい。<br>\n * n は 100 以下とします。\n * \n * @param args\n */\n public static void main(String[] args) {\n // 標準入力読み取り\n int weeks = getN();\n\n // n週間後の借金額計算\n calcDebt(weeks);\n }\n\n /**\n * n週間後の借金額を計算する。\n * \n * @param weeks\n */\n private static void calcDebt(int weeks) {\n BigDecimal finalDebt = INITIAL_DEBT;\n\n for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR));\n }\n\n System.out.println(finalDebt);\n }\n\n /**\n * 標準入力を読み取り、\"n\"の値を返す。\n * \n * @return n:入力値\n */\n private static int getN() {\n Scanner scanned = new Scanner(System.in);\n return scanned.nextInt();\n }\n\n}", "public class Main {\n\n /** 初期借金額:10万円 */\n private static final BigDecimal INITIAL_DEBT = new BigDecimal(\"100000\");\n\n /** 利子:5% */\n private static final BigDecimal INTEREST_RATE = BigDecimal.valueOf(0.05);\n\n /** 繰り上げ計算用 */\n private static final BigDecimal DIVISOR = BigDecimal.valueOf(1000);\n\n /**\n * 某国に住んでいる友達がお金に困って、あるヤミ金融業者から 10 万円の借金をしたまま、<br>\n * 全く返済していないといいます。<br>\n * この業者は、一週間ごとに 5% の利子を借金に加え、さらに借金の 1,000 円未満を切り上げます。<br>\n * n を入力したとき、n 週間後の借金の残高を出力し終了するプログラムを作成して下さい。<br>\n * n は 100 以下とします。\n * \n * @param args\n */\n public static void main(String[] args) {\n // 標準入力読み取り\n int weeks = getN();\n\n // n週間後の借金額計算\n calcDebt(weeks);\n }\n\n /**\n * n週間後の借金額を計算する。\n * \n * @param weeks\n */\n private static void calcDebt(int weeks) {\n BigDecimal finalDebt = INITIAL_DEBT;\n\n for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR));\n }\n\n System.out.println(finalDebt);\n }\n\n /**\n * 標準入力を読み取り、\"n\"の値を返す。\n * \n * @return n:入力値\n */\n private static int getN() {\n Scanner scanned = new Scanner(System.in);\n return scanned.nextInt();\n }\n\n}", "Main" ]
import java.math.BigDecimal; import java.util.Scanner; /** * 0007:Debt Hell * * @author MS14A * @version 2015/04/08 */ public class Main { /** 初期借金額:10万円 */ private static final BigDecimal INITIAL_DEBT = new BigDecimal("100000"); /** 利子:5% */ private static final BigDecimal INTEREST_RATE = BigDecimal.valueOf(0.05); /** 繰り上げ計算用 */ private static final BigDecimal DIVISOR = BigDecimal.valueOf(1000); /** * 某国に住んでいる友達がお金に困って、あるヤミ金融業者から 10 万円の借金をしたまま、<br> * 全く返済していないといいます。<br> * この業者は、一週間ごとに 5% の利子を借金に加え、さらに借金の 1,000 円未満を切り上げます。<br> * n を入力したとき、n 週間後の借金の残高を出力し終了するプログラムを作成して下さい。<br> * n は 100 以下とします。 * * @param args */ public static void main(String[] args) { // 標準入力読み取り int weeks = getN(); // n週間後の借金額計算 calcDebt(weeks); } /** * n週間後の借金額を計算する。 * * @param weeks */ private static void calcDebt(int weeks) { BigDecimal finalDebt = INITIAL_DEBT; for (int i = 0; i < weeks; i++) { // 利子額計算。1000で割った小数部を繰り上げる。 BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE) .divide(DIVISOR, 0, BigDecimal.ROUND_UP); // 借金額 = 前週の借金額 + 利子額 finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR)); } System.out.println(finalDebt); } /** * 標準入力を読み取り、"n"の値を返す。 * * @return n:入力値 */ private static int getN() { Scanner scanned = new Scanner(System.in); return scanned.nextInt(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 14, 2, 13, 17, 30, 3, 4, 13, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 2, 2, 13, 17, 17, 17, 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 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 6, 29 ], [ 29, 30 ], [ 77, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 33, 40 ], [ 40, 41 ], [ 40, 42 ], [ 33, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 48, 49 ], [ 48, 50 ], [ 43, 51 ], [ 51, 52 ], [ 52, 53 ], [ 43, 54 ], [ 55, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 58, 67 ], [ 33, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 31, 74 ], [ 74, 75 ], [ 0, 76 ], [ 76, 77 ], [ 76, 78 ] ]
[ "\nimport java.io.*;\n\npublic class Main {\n\n public static void main(String[] argv) throws IOException {\n //*\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n String s = in.readLine();\n if (s == null) {\n break;\n }\n f(s);\n }\n //*/\n }\n\n public static void f(String s) {\n int week = Integer.parseInt(s);\n double loan = 100000;\n for (int i = 0; i < week; i++) {\n loan = Math.ceil(loan * 1.05 / 1000) * 1000;\n }\n System.out.println((int)loan);\n }\n}", "import java.io.*;", "io.*", "java", "public class Main {\n\n public static void main(String[] argv) throws IOException {\n //*\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n String s = in.readLine();\n if (s == null) {\n break;\n }\n f(s);\n }\n //*/\n }\n\n public static void f(String s) {\n int week = Integer.parseInt(s);\n double loan = 100000;\n for (int i = 0; i < week; i++) {\n loan = Math.ceil(loan * 1.05 / 1000) * 1000;\n }\n System.out.println((int)loan);\n }\n}", "Main", "public static void main(String[] argv) throws IOException {\n //*\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n String s = in.readLine();\n if (s == null) {\n break;\n }\n f(s);\n }\n //*/\n }", "main", "{\n //*\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n String s = in.readLine();\n if (s == null) {\n break;\n }\n f(s);\n }\n //*/\n }", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "while(true) {\n String s = in.readLine();\n if (s == null) {\n break;\n }\n f(s);\n }", "true", "{\n String s = in.readLine();\n if (s == null) {\n break;\n }\n f(s);\n }", "String s = in.readLine();", "s", "in.readLine()", "in.readLine", "in", "if (s == null) {\n break;\n }", "s == null", "s", "null", "{\n break;\n }", "break;", "f(s)", "f", "s", "String[] argv", "argv", "public static void f(String s) {\n int week = Integer.parseInt(s);\n double loan = 100000;\n for (int i = 0; i < week; i++) {\n loan = Math.ceil(loan * 1.05 / 1000) * 1000;\n }\n System.out.println((int)loan);\n }", "f", "{\n int week = Integer.parseInt(s);\n double loan = 100000;\n for (int i = 0; i < week; i++) {\n loan = Math.ceil(loan * 1.05 / 1000) * 1000;\n }\n System.out.println((int)loan);\n }", "int week = Integer.parseInt(s);", "week", "Integer.parseInt(s)", "Integer.parseInt", "Integer", "s", "double loan = 100000;", "loan", "100000", "for (int i = 0; i < week; i++) {\n loan = Math.ceil(loan * 1.05 / 1000) * 1000;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < week", "i", "week", "i++", "i++", "i", "{\n loan = Math.ceil(loan * 1.05 / 1000) * 1000;\n }", "{\n loan = Math.ceil(loan * 1.05 / 1000) * 1000;\n }", "loan = Math.ceil(loan * 1.05 / 1000) * 1000", "loan", "Math.ceil(loan * 1.05 / 1000) * 1000", "Math.ceil(loan * 1.05 / 1000)", "Math.ceil", "Math", "loan * 1.05 / 1000", "loan * 1.05", "loan", "1.05", "1000", "1000", "System.out.println((int)loan)", "System.out.println", "System.out", "System", "System.out", "(int)loan", "String s", "s", "public class Main {\n\n public static void main(String[] argv) throws IOException {\n //*\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n String s = in.readLine();\n if (s == null) {\n break;\n }\n f(s);\n }\n //*/\n }\n\n public static void f(String s) {\n int week = Integer.parseInt(s);\n double loan = 100000;\n for (int i = 0; i < week; i++) {\n loan = Math.ceil(loan * 1.05 / 1000) * 1000;\n }\n System.out.println((int)loan);\n }\n}", "public class Main {\n\n public static void main(String[] argv) throws IOException {\n //*\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n String s = in.readLine();\n if (s == null) {\n break;\n }\n f(s);\n }\n //*/\n }\n\n public static void f(String s) {\n int week = Integer.parseInt(s);\n double loan = 100000;\n for (int i = 0; i < week; i++) {\n loan = Math.ceil(loan * 1.05 / 1000) * 1000;\n }\n System.out.println((int)loan);\n }\n}", "Main" ]
import java.io.*; public class Main { public static void main(String[] argv) throws IOException { //* BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); while(true) { String s = in.readLine(); if (s == null) { break; } f(s); } //*/ } public static void f(String s) { int week = Integer.parseInt(s); double loan = 100000; for (int i = 0; i < week; i++) { loan = Math.ceil(loan * 1.05 / 1000) * 1000; } System.out.println((int)loan); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 20, 41, 13, 17, 41, 13, 17, 42, 2, 0, 13, 4, 18, 13, 17, 30, 0, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 2, 2, 13, 17, 17, 17, 41, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 79, 11 ], [ 79, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 14, 24 ], [ 24, 25 ], [ 24, 26 ], [ 14, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 28, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 14, 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 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 57, 66 ], [ 14, 67 ], [ 67, 68 ], [ 67, 69 ], [ 14, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 12, 76 ], [ 76, 77 ], [ 0, 78 ], [ 78, 79 ], [ 78, 80 ] ]
[ "\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] a) throws IOException{\n\n\t\tString strLine =\"\";\n\t\tBufferedReader stdReader =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\n\t\tint week = 0;\n\t\tdouble lentMoney = 100000;\n\n\t\twhile ((strLine = stdReader.readLine()) != null) {\n\t\t\tweek = Integer.parseInt(strLine);\n\t\t}\n\n\t\tfor(int i = 0; i < week ; i++){\n\t\t\tlentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000;\n\t\t}\n\t\t\t//1000???????????????????????????\n\t\t\tint n = (int) lentMoney;\n\n\t\t\tSystem.out.println(n);\n\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] a) throws IOException{\n\n\t\tString strLine =\"\";\n\t\tBufferedReader stdReader =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\n\t\tint week = 0;\n\t\tdouble lentMoney = 100000;\n\n\t\twhile ((strLine = stdReader.readLine()) != null) {\n\t\t\tweek = Integer.parseInt(strLine);\n\t\t}\n\n\t\tfor(int i = 0; i < week ; i++){\n\t\t\tlentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000;\n\t\t}\n\t\t\t//1000???????????????????????????\n\t\t\tint n = (int) lentMoney;\n\n\t\t\tSystem.out.println(n);\n\n\t}\n\n}", "Main", "public static void main(String[] a) throws IOException{\n\n\t\tString strLine =\"\";\n\t\tBufferedReader stdReader =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\n\t\tint week = 0;\n\t\tdouble lentMoney = 100000;\n\n\t\twhile ((strLine = stdReader.readLine()) != null) {\n\t\t\tweek = Integer.parseInt(strLine);\n\t\t}\n\n\t\tfor(int i = 0; i < week ; i++){\n\t\t\tlentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000;\n\t\t}\n\t\t\t//1000???????????????????????????\n\t\t\tint n = (int) lentMoney;\n\n\t\t\tSystem.out.println(n);\n\n\t}", "main", "{\n\n\t\tString strLine =\"\";\n\t\tBufferedReader stdReader =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\n\t\tint week = 0;\n\t\tdouble lentMoney = 100000;\n\n\t\twhile ((strLine = stdReader.readLine()) != null) {\n\t\t\tweek = Integer.parseInt(strLine);\n\t\t}\n\n\t\tfor(int i = 0; i < week ; i++){\n\t\t\tlentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000;\n\t\t}\n\t\t\t//1000???????????????????????????\n\t\t\tint n = (int) lentMoney;\n\n\t\t\tSystem.out.println(n);\n\n\t}", "String strLine =\"\";", "strLine", "\"\"", "BufferedReader stdReader =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));", "stdReader", "new BufferedReader(new InputStreamReader(System.in))", "int week = 0;", "week", "0", "double lentMoney = 100000;", "lentMoney", "100000", "while ((strLine = stdReader.readLine()) != null) {\n\t\t\tweek = Integer.parseInt(strLine);\n\t\t}", "(strLine = stdReader.readLine()) != null", "(strLine = stdReader.readLine())", "strLine", "stdReader.readLine()", "stdReader.readLine", "stdReader", "null", "{\n\t\t\tweek = Integer.parseInt(strLine);\n\t\t}", "week = Integer.parseInt(strLine)", "week", "Integer.parseInt(strLine)", "Integer.parseInt", "Integer", "strLine", "for(int i = 0; i < week ; i++){\n\t\t\tlentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < week", "i", "week", "i++", "i++", "i", "{\n\t\t\tlentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000;\n\t\t}", "{\n\t\t\tlentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000;\n\t\t}", "lentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000", "lentMoney", "Math.ceil((lentMoney/1000) * 1.05) *1000", "Math.ceil((lentMoney/1000) * 1.05)", "Math.ceil", "Math", "(lentMoney/1000) * 1.05", "(lentMoney/1000)", "lentMoney", "1000", "1.05", "1000", "int n = (int) lentMoney;", "n", "(int) lentMoney", "System.out.println(n)", "System.out.println", "System.out", "System", "System.out", "n", "String[] a", "a", "public class Main {\n\n\tpublic static void main(String[] a) throws IOException{\n\n\t\tString strLine =\"\";\n\t\tBufferedReader stdReader =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\n\t\tint week = 0;\n\t\tdouble lentMoney = 100000;\n\n\t\twhile ((strLine = stdReader.readLine()) != null) {\n\t\t\tweek = Integer.parseInt(strLine);\n\t\t}\n\n\t\tfor(int i = 0; i < week ; i++){\n\t\t\tlentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000;\n\t\t}\n\t\t\t//1000???????????????????????????\n\t\t\tint n = (int) lentMoney;\n\n\t\t\tSystem.out.println(n);\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] a) throws IOException{\n\n\t\tString strLine =\"\";\n\t\tBufferedReader stdReader =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\n\t\tint week = 0;\n\t\tdouble lentMoney = 100000;\n\n\t\twhile ((strLine = stdReader.readLine()) != null) {\n\t\t\tweek = Integer.parseInt(strLine);\n\t\t}\n\n\t\tfor(int i = 0; i < week ; i++){\n\t\t\tlentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000;\n\t\t}\n\t\t\t//1000???????????????????????????\n\t\t\tint n = (int) lentMoney;\n\n\t\t\tSystem.out.println(n);\n\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] a) throws IOException{ String strLine =""; BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in)); int week = 0; double lentMoney = 100000; while ((strLine = stdReader.readLine()) != null) { week = Integer.parseInt(strLine); } for(int i = 0; i < week ; i++){ lentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000; } //1000??????????????????????????? int n = (int) lentMoney; System.out.println(n); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 4, 18, 13, 4, 18, 20, 41, 13, 17, 11, 1, 2, 17, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 2, 13, 17, 4, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 55, 11 ], [ 55, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 32, 33 ], [ 26, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 41, 43 ], [ 14, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 12, 52 ], [ 52, 53 ], [ 0, 54 ], [ 54, 55 ], [ 54, 56 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tint period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine());\n\t\tshort val = 100;//壱百千円\n\t\tfor (; 0 < period; period--) {\n\t\t\tval = (short) Math.ceil(val * 1.05);\n\t\t}\n\t\tSystem.out.println(val * 1000);\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 NumberFormatException, IOException {\n\t\tint period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine());\n\t\tshort val = 100;//壱百千円\n\t\tfor (; 0 < period; period--) {\n\t\t\tval = (short) Math.ceil(val * 1.05);\n\t\t}\n\t\tSystem.out.println(val * 1000);\n\t}\n}", "Main", "public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tint period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine());\n\t\tshort val = 100;//壱百千円\n\t\tfor (; 0 < period; period--) {\n\t\t\tval = (short) Math.ceil(val * 1.05);\n\t\t}\n\t\tSystem.out.println(val * 1000);\n\t}", "main", "{\n\t\tint period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine());\n\t\tshort val = 100;//壱百千円\n\t\tfor (; 0 < period; period--) {\n\t\t\tval = (short) Math.ceil(val * 1.05);\n\t\t}\n\t\tSystem.out.println(val * 1000);\n\t}", "int period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine());", "period", "Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine())", "Integer.parseInt", "Integer", "new BufferedReader(new InputStreamReader(System.in), 128).readLine()", "new BufferedReader(new InputStreamReader(System.in), 128).readLine", "new BufferedReader(new InputStreamReader(System.in), 128)", "short val = 100;", "val", "100", "for (; 0 < period; period--) {\n\t\t\tval = (short) Math.ceil(val * 1.05);\n\t\t}", ";", "0 < period", "0", "period", "period--", "period--", "period", "{\n\t\t\tval = (short) Math.ceil(val * 1.05);\n\t\t}", "{\n\t\t\tval = (short) Math.ceil(val * 1.05);\n\t\t}", "val = (short) Math.ceil(val * 1.05)", "val", "(short) Math.ceil(val * 1.05)", "Math.ceil", "Math", "val * 1.05", "val", "1.05", "System.out.println(val * 1000)", "System.out.println", "System.out", "System", "System.out", "val * 1000", "val", "1000", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tint period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine());\n\t\tshort val = 100;//壱百千円\n\t\tfor (; 0 < period; period--) {\n\t\t\tval = (short) Math.ceil(val * 1.05);\n\t\t}\n\t\tSystem.out.println(val * 1000);\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tint period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine());\n\t\tshort val = 100;//壱百千円\n\t\tfor (; 0 < period; period--) {\n\t\t\tval = (short) Math.ceil(val * 1.05);\n\t\t}\n\t\tSystem.out.println(val * 1000);\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main{ public static void main(String[] args) throws NumberFormatException, IOException { int period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine()); short val = 100;//壱百千円 for (; 0 < period; period--) { val = (short) Math.ceil(val * 1.05); } System.out.println(val * 1000); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 13, 17, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 20, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 38, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 50, 56 ], [ 56, 57 ], [ 56, 58 ], [ 11, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 9, 65 ], [ 65, 66 ] ]
[ "import java.io.*;\nimport java.util.*;\nclass Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int n=Integer.parseInt(br.readLine());\n long debt=100000;\n for(int i=1;i<=n;i++){\n debt+=(debt/20);\n if(debt%1000!=0){\n debt-=debt%1000;\n debt+=1000;\n }\n }System.out.println(debt);\n }\n \n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int n=Integer.parseInt(br.readLine());\n long debt=100000;\n for(int i=1;i<=n;i++){\n debt+=(debt/20);\n if(debt%1000!=0){\n debt-=debt%1000;\n debt+=1000;\n }\n }System.out.println(debt);\n }\n \n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int n=Integer.parseInt(br.readLine());\n long debt=100000;\n for(int i=1;i<=n;i++){\n debt+=(debt/20);\n if(debt%1000!=0){\n debt-=debt%1000;\n debt+=1000;\n }\n }System.out.println(debt);\n }", "main", "{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int n=Integer.parseInt(br.readLine());\n long debt=100000;\n for(int i=1;i<=n;i++){\n debt+=(debt/20);\n if(debt%1000!=0){\n debt-=debt%1000;\n debt+=1000;\n }\n }System.out.println(debt);\n }", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int n=Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "long debt=100000;", "debt", "100000", "for(int i=1;i<=n;i++){\n debt+=(debt/20);\n if(debt%1000!=0){\n debt-=debt%1000;\n debt+=1000;\n }\n }", "int i=1;", "int i=1;", "i", "1", "i<=n", "i", "n", "i++", "i++", "i", "{\n debt+=(debt/20);\n if(debt%1000!=0){\n debt-=debt%1000;\n debt+=1000;\n }\n }", "{\n debt+=(debt/20);\n if(debt%1000!=0){\n debt-=debt%1000;\n debt+=1000;\n }\n }", "debt+=(debt/20)", "debt", "(debt/20)", "debt", "20", "if(debt%1000!=0){\n debt-=debt%1000;\n debt+=1000;\n }", "debt%1000!=0", "debt%1000", "debt", "1000", "0", "{\n debt-=debt%1000;\n debt+=1000;\n }", "debt-=debt%1000", "debt", "debt%1000", "debt", "1000", "debt+=1000", "debt", "1000", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "String[] args", "args" ]
import java.io.*; import java.util.*; class Main { public static void main(String[] args) throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int n=Integer.parseInt(br.readLine()); long debt=100000; for(int i=1;i<=n;i++){ debt+=(debt/20); if(debt%1000!=0){ debt-=debt%1000; debt+=1000; } }System.out.println(debt); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 2, 2, 13, 17, 17, 17, 0, 13, 2, 13, 2, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 81, 8 ], [ 81, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 43, 45 ], [ 38, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 55, 61 ], [ 52, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 11, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 9, 78 ], [ 78, 79 ], [ 0, 80 ], [ 80, 81 ], [ 80, 82 ] ]
[ "import java.text.DecimalFormat;\nimport java.util.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tDecimalFormat df = new DecimalFormat(\"0\");\n\t\tdouble debt = 100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt = debt + (debt * 0.05);\n\t\t\tif(debt % 1000 != 0){\n\t\t\t\tdebt = (debt / 1000 + 1) * 1000;\n\t\t\t\tdebt = debt - debt % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(df.format(debt));\n\t}\n\n}", "import java.text.DecimalFormat;", "DecimalFormat", "java.text", "import java.util.*;", "util.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tDecimalFormat df = new DecimalFormat(\"0\");\n\t\tdouble debt = 100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt = debt + (debt * 0.05);\n\t\t\tif(debt % 1000 != 0){\n\t\t\t\tdebt = (debt / 1000 + 1) * 1000;\n\t\t\t\tdebt = debt - debt % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(df.format(debt));\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tDecimalFormat df = new DecimalFormat(\"0\");\n\t\tdouble debt = 100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt = debt + (debt * 0.05);\n\t\t\tif(debt % 1000 != 0){\n\t\t\t\tdebt = (debt / 1000 + 1) * 1000;\n\t\t\t\tdebt = debt - debt % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(df.format(debt));\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tDecimalFormat df = new DecimalFormat(\"0\");\n\t\tdouble debt = 100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt = debt + (debt * 0.05);\n\t\t\tif(debt % 1000 != 0){\n\t\t\t\tdebt = (debt / 1000 + 1) * 1000;\n\t\t\t\tdebt = debt - debt % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(df.format(debt));\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "DecimalFormat df = new DecimalFormat(\"0\");", "df", "new DecimalFormat(\"0\")", "double debt = 100000;", "debt", "100000", "for(int i=0;i<n;i++){\n\t\t\tdebt = debt + (debt * 0.05);\n\t\t\tif(debt % 1000 != 0){\n\t\t\t\tdebt = (debt / 1000 + 1) * 1000;\n\t\t\t\tdebt = debt - debt % 1000;\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tdebt = debt + (debt * 0.05);\n\t\t\tif(debt % 1000 != 0){\n\t\t\t\tdebt = (debt / 1000 + 1) * 1000;\n\t\t\t\tdebt = debt - debt % 1000;\n\t\t\t}\n\t\t}", "{\n\t\t\tdebt = debt + (debt * 0.05);\n\t\t\tif(debt % 1000 != 0){\n\t\t\t\tdebt = (debt / 1000 + 1) * 1000;\n\t\t\t\tdebt = debt - debt % 1000;\n\t\t\t}\n\t\t}", "debt = debt + (debt * 0.05)", "debt", "debt + (debt * 0.05)", "debt", "(debt * 0.05)", "debt", "0.05", "if(debt % 1000 != 0){\n\t\t\t\tdebt = (debt / 1000 + 1) * 1000;\n\t\t\t\tdebt = debt - debt % 1000;\n\t\t\t}", "debt % 1000 != 0", "debt % 1000", "debt", "1000", "0", "{\n\t\t\t\tdebt = (debt / 1000 + 1) * 1000;\n\t\t\t\tdebt = debt - debt % 1000;\n\t\t\t}", "debt = (debt / 1000 + 1) * 1000", "debt", "(debt / 1000 + 1) * 1000", "(debt / 1000 + 1)", "debt / 1000", "debt", "1000", "1", "1000", "debt = debt - debt % 1000", "debt", "debt - debt % 1000", "debt", "debt % 1000", "debt", "1000", "System.out.println(df.format(debt))", "System.out.println", "System.out", "System", "System.out", "df.format(debt)", "df.format", "df", "debt", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tDecimalFormat df = new DecimalFormat(\"0\");\n\t\tdouble debt = 100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt = debt + (debt * 0.05);\n\t\t\tif(debt % 1000 != 0){\n\t\t\t\tdebt = (debt / 1000 + 1) * 1000;\n\t\t\t\tdebt = debt - debt % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(df.format(debt));\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tDecimalFormat df = new DecimalFormat(\"0\");\n\t\tdouble debt = 100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt = debt + (debt * 0.05);\n\t\t\tif(debt % 1000 != 0){\n\t\t\t\tdebt = (debt / 1000 + 1) * 1000;\n\t\t\t\tdebt = debt - debt % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(df.format(debt));\n\t}\n\n}", "Main" ]
import java.text.DecimalFormat; import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); DecimalFormat df = new DecimalFormat("0"); double debt = 100000; for(int i=0;i<n;i++){ debt = debt + (debt * 0.05); if(debt % 1000 != 0){ debt = (debt / 1000 + 1) * 1000; debt = debt - debt % 1000; } } System.out.println(df.format(debt)); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 17, 42, 2, 13, 17, 30, 0, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 13, 17, 40, 13, 0, 13, 2, 13, 17, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 60, 5 ], [ 60, 6 ], [ 6, 7 ], [ 6, 8 ], [ 60, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 11, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 27, 29 ], [ 24, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 30, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 36, 42 ], [ 42, 43 ], [ 36, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 24, 49 ], [ 49, 50 ], [ 11, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 9, 57 ], [ 57, 58 ], [ 0, 59 ], [ 59, 60 ], [ 59, 61 ] ]
[ "import java.util.*;\npublic class Main{\n static Scanner kbd = new Scanner(System.in);\n public static void main(String[] args){\n\tint n = kbd.nextInt();\n\tint d = 100000;\n\n\twhile(n>0) {\n\t d = (int)(d*1.05);\n\t if(d%1000 != 0){\n\t\td = d/1000;\n\t\td++;\n\t\td = d*1000;\n\t }\n\t n--;\n\t}\n\n\tSystem.out.println(d);\n } \n}", "import java.util.*;", "util.*", "java", "public class Main{\n static Scanner kbd = new Scanner(System.in);\n public static void main(String[] args){\n\tint n = kbd.nextInt();\n\tint d = 100000;\n\n\twhile(n>0) {\n\t d = (int)(d*1.05);\n\t if(d%1000 != 0){\n\t\td = d/1000;\n\t\td++;\n\t\td = d*1000;\n\t }\n\t n--;\n\t}\n\n\tSystem.out.println(d);\n } \n}", "Main", "static Scanner kbd = new Scanner(System.in);", "kbd", "new Scanner(System.in)", "public static void main(String[] args){\n\tint n = kbd.nextInt();\n\tint d = 100000;\n\n\twhile(n>0) {\n\t d = (int)(d*1.05);\n\t if(d%1000 != 0){\n\t\td = d/1000;\n\t\td++;\n\t\td = d*1000;\n\t }\n\t n--;\n\t}\n\n\tSystem.out.println(d);\n }", "main", "{\n\tint n = kbd.nextInt();\n\tint d = 100000;\n\n\twhile(n>0) {\n\t d = (int)(d*1.05);\n\t if(d%1000 != 0){\n\t\td = d/1000;\n\t\td++;\n\t\td = d*1000;\n\t }\n\t n--;\n\t}\n\n\tSystem.out.println(d);\n }", "int n = kbd.nextInt();", "n", "kbd.nextInt()", "kbd.nextInt", "kbd", "int d = 100000;", "d", "100000", "while(n>0) {\n\t d = (int)(d*1.05);\n\t if(d%1000 != 0){\n\t\td = d/1000;\n\t\td++;\n\t\td = d*1000;\n\t }\n\t n--;\n\t}", "n>0", "n", "0", "{\n\t d = (int)(d*1.05);\n\t if(d%1000 != 0){\n\t\td = d/1000;\n\t\td++;\n\t\td = d*1000;\n\t }\n\t n--;\n\t}", "d = (int)(d*1.05)", "d", "(int)(d*1.05)", "d", "1.05", "if(d%1000 != 0){\n\t\td = d/1000;\n\t\td++;\n\t\td = d*1000;\n\t }", "d%1000 != 0", "d%1000", "d", "1000", "0", "{\n\t\td = d/1000;\n\t\td++;\n\t\td = d*1000;\n\t }", "d = d/1000", "d", "d/1000", "d", "1000", "d++", "d", "d = d*1000", "d", "d*1000", "d", "1000", "n--", "n", "System.out.println(d)", "System.out.println", "System.out", "System", "System.out", "d", "String[] args", "args", "public class Main{\n static Scanner kbd = new Scanner(System.in);\n public static void main(String[] args){\n\tint n = kbd.nextInt();\n\tint d = 100000;\n\n\twhile(n>0) {\n\t d = (int)(d*1.05);\n\t if(d%1000 != 0){\n\t\td = d/1000;\n\t\td++;\n\t\td = d*1000;\n\t }\n\t n--;\n\t}\n\n\tSystem.out.println(d);\n } \n}", "public class Main{\n static Scanner kbd = new Scanner(System.in);\n public static void main(String[] args){\n\tint n = kbd.nextInt();\n\tint d = 100000;\n\n\twhile(n>0) {\n\t d = (int)(d*1.05);\n\t if(d%1000 != 0){\n\t\td = d/1000;\n\t\td++;\n\t\td = d*1000;\n\t }\n\t n--;\n\t}\n\n\tSystem.out.println(d);\n } \n}", "Main" ]
import java.util.*; public class Main{ static Scanner kbd = new Scanner(System.in); public static void main(String[] args){ int n = kbd.nextInt(); int d = 100000; while(n>0) { d = (int)(d*1.05); if(d%1000 != 0){ d = d/1000; d++; d = d*1000; } n--; } System.out.println(d); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 41, 13, 42, 2, 0, 13, 4, 18, 13, 17, 30, 41, 13, 4, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 2, 13, 17, 4, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 75, 8 ], [ 75, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 12, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 19, 23 ], [ 23, 24 ], [ 19, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 26, 32 ], [ 25, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 33, 40 ], [ 40, 41 ], [ 40, 42 ], [ 33, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 48, 49 ], [ 48, 50 ], [ 43, 51 ], [ 51, 52 ], [ 52, 53 ], [ 43, 54 ], [ 55, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 61, 63 ], [ 33, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 69, 70 ], [ 69, 71 ], [ 9, 72 ], [ 72, 73 ], [ 0, 74 ], [ 74, 75 ], [ 74, 76 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\n//public class Problem0007_DebtHell {\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line;\n\t\t\t\n\t\t\twhile((line = reader.readLine()) != null) {\n\t\t\t\tint month = Integer.parseInt(line);\n\t\t\t\t\n\t\t\t\tint debt = 100;\n\t\t\t\tfor(int i = 0; i < month; i++) {\n\t\t\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(debt * 1000);\n\t\t\t}\n\t\t\t\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line;\n\t\t\t\n\t\t\twhile((line = reader.readLine()) != null) {\n\t\t\t\tint month = Integer.parseInt(line);\n\t\t\t\t\n\t\t\t\tint debt = 100;\n\t\t\t\tfor(int i = 0; i < month; i++) {\n\t\t\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(debt * 1000);\n\t\t\t}\n\t\t\t\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line;\n\t\t\t\n\t\t\twhile((line = reader.readLine()) != null) {\n\t\t\t\tint month = Integer.parseInt(line);\n\t\t\t\t\n\t\t\t\tint debt = 100;\n\t\t\t\tfor(int i = 0; i < month; i++) {\n\t\t\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(debt * 1000);\n\t\t\t}\n\t\t\t\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "main", "{\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line;\n\t\t\t\n\t\t\twhile((line = reader.readLine()) != null) {\n\t\t\t\tint month = Integer.parseInt(line);\n\t\t\t\t\n\t\t\t\tint debt = 100;\n\t\t\t\tfor(int i = 0; i < month; i++) {\n\t\t\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(debt * 1000);\n\t\t\t}\n\t\t\t\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "try {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line;\n\t\t\t\n\t\t\twhile((line = reader.readLine()) != null) {\n\t\t\t\tint month = Integer.parseInt(line);\n\t\t\t\t\n\t\t\t\tint debt = 100;\n\t\t\t\tfor(int i = 0; i < month; i++) {\n\t\t\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(debt * 1000);\n\t\t\t}\n\t\t\t\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}", "catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}", "Exception e", "{\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line;\n\t\t\t\n\t\t\twhile((line = reader.readLine()) != null) {\n\t\t\t\tint month = Integer.parseInt(line);\n\t\t\t\t\n\t\t\t\tint debt = 100;\n\t\t\t\tfor(int i = 0; i < month; i++) {\n\t\t\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(debt * 1000);\n\t\t\t}\n\t\t\t\n\t\t}", "BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "String line;", "line", "while((line = reader.readLine()) != null) {\n\t\t\t\tint month = Integer.parseInt(line);\n\t\t\t\t\n\t\t\t\tint debt = 100;\n\t\t\t\tfor(int i = 0; i < month; i++) {\n\t\t\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(debt * 1000);\n\t\t\t}", "(line = reader.readLine()) != null", "(line = reader.readLine())", "line", "reader.readLine()", "reader.readLine", "reader", "null", "{\n\t\t\t\tint month = Integer.parseInt(line);\n\t\t\t\t\n\t\t\t\tint debt = 100;\n\t\t\t\tfor(int i = 0; i < month; i++) {\n\t\t\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(debt * 1000);\n\t\t\t}", "int month = Integer.parseInt(line);", "month", "Integer.parseInt(line)", "Integer.parseInt", "Integer", "line", "int debt = 100;", "debt", "100", "for(int i = 0; i < month; i++) {\n\t\t\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < month", "i", "month", "i++", "i++", "i", "{\n\t\t\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t\t\t}", "{\n\t\t\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t\t\t}", "debt = (int)Math.ceil(debt * 1.05)", "debt", "(int)Math.ceil(debt * 1.05)", "Math.ceil", "Math", "debt * 1.05", "debt", "1.05", "System.out.println(debt * 1000)", "System.out.println", "System.out", "System", "System.out", "debt * 1000", "debt", "1000", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line;\n\t\t\t\n\t\t\twhile((line = reader.readLine()) != null) {\n\t\t\t\tint month = Integer.parseInt(line);\n\t\t\t\t\n\t\t\t\tint debt = 100;\n\t\t\t\tfor(int i = 0; i < month; i++) {\n\t\t\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(debt * 1000);\n\t\t\t}\n\t\t\t\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line;\n\t\t\t\n\t\t\twhile((line = reader.readLine()) != null) {\n\t\t\t\tint month = Integer.parseInt(line);\n\t\t\t\t\n\t\t\t\tint debt = 100;\n\t\t\t\tfor(int i = 0; i < month; i++) {\n\t\t\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(debt * 1000);\n\t\t\t}\n\t\t\t\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; //public class Problem0007_DebtHell { public class Main { public static void main(String[] args) { try { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String line; while((line = reader.readLine()) != null) { int month = Integer.parseInt(line); int debt = 100; for(int i = 0; i < month; i++) { debt = (int)Math.ceil(debt * 1.05); } System.out.println(debt * 1000); } } catch(Exception e) { e.printStackTrace(); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 2, 13, 17, 14, 2, 13, 17, 30, 0, 13, 2, 13, 2, 17, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 13, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 80, 5 ], [ 80, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 11, 13 ], [ 8, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 6, 28 ], [ 28, 29 ], [ 80, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 36, 38 ], [ 32, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 32, 44 ], [ 44, 45 ], [ 44, 46 ], [ 32, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 47, 55 ], [ 55, 56 ], [ 56, 57 ], [ 47, 58 ], [ 59, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 32, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 67, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 30, 77 ], [ 77, 78 ], [ 0, 79 ], [ 79, 80 ], [ 79, 81 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n // Round by 3 digits\n static float roundUp(float value) {\n float mod = value % 1000;\n if (mod > 0) {\n value = value + (1000 - mod);\n }\n return value;\n }\n\n public static void main(String[] args) {\n float gankin = 100_000f;\n Scanner sc = new Scanner(System.in);\n int nweek = sc.nextInt();\n float debt = gankin;\n for (int i = 0; i < nweek; i++) {\n debt = roundUp(debt * 1.05f);\n }\n System.out.printf(\"%d\\n\", Math.round(debt));\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n // Round by 3 digits\n static float roundUp(float value) {\n float mod = value % 1000;\n if (mod > 0) {\n value = value + (1000 - mod);\n }\n return value;\n }\n\n public static void main(String[] args) {\n float gankin = 100_000f;\n Scanner sc = new Scanner(System.in);\n int nweek = sc.nextInt();\n float debt = gankin;\n for (int i = 0; i < nweek; i++) {\n debt = roundUp(debt * 1.05f);\n }\n System.out.printf(\"%d\\n\", Math.round(debt));\n }\n}", "Main", "// Round by 3 digits\n static float roundUp(float value) {\n float mod = value % 1000;\n if (mod > 0) {\n value = value + (1000 - mod);\n }\n return value;\n }", "roundUp", "{\n float mod = value % 1000;\n if (mod > 0) {\n value = value + (1000 - mod);\n }\n return value;\n }", "float mod = value % 1000;", "mod", "value % 1000", "value", "1000", "if (mod > 0) {\n value = value + (1000 - mod);\n }", "mod > 0", "mod", "0", "{\n value = value + (1000 - mod);\n }", "value = value + (1000 - mod)", "value", "value + (1000 - mod)", "value", "(1000 - mod)", "1000", "mod", "return value;", "value", "float value", "value", "public static void main(String[] args) {\n float gankin = 100_000f;\n Scanner sc = new Scanner(System.in);\n int nweek = sc.nextInt();\n float debt = gankin;\n for (int i = 0; i < nweek; i++) {\n debt = roundUp(debt * 1.05f);\n }\n System.out.printf(\"%d\\n\", Math.round(debt));\n }", "main", "{\n float gankin = 100_000f;\n Scanner sc = new Scanner(System.in);\n int nweek = sc.nextInt();\n float debt = gankin;\n for (int i = 0; i < nweek; i++) {\n debt = roundUp(debt * 1.05f);\n }\n System.out.printf(\"%d\\n\", Math.round(debt));\n }", "float gankin = 100_000f;", "gankin", "100_000f", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int nweek = sc.nextInt();", "nweek", "sc.nextInt()", "sc.nextInt", "sc", "float debt = gankin;", "debt", "gankin", "for (int i = 0; i < nweek; i++) {\n debt = roundUp(debt * 1.05f);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < nweek", "i", "nweek", "i++", "i++", "i", "{\n debt = roundUp(debt * 1.05f);\n }", "{\n debt = roundUp(debt * 1.05f);\n }", "debt = roundUp(debt * 1.05f)", "debt", "roundUp(debt * 1.05f)", "roundUp", "debt * 1.05f", "debt", "1.05f", "System.out.printf(\"%d\\n\", Math.round(debt))", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "Math.round(debt)", "Math.round", "Math", "debt", "String[] args", "args", "public class Main {\n // Round by 3 digits\n static float roundUp(float value) {\n float mod = value % 1000;\n if (mod > 0) {\n value = value + (1000 - mod);\n }\n return value;\n }\n\n public static void main(String[] args) {\n float gankin = 100_000f;\n Scanner sc = new Scanner(System.in);\n int nweek = sc.nextInt();\n float debt = gankin;\n for (int i = 0; i < nweek; i++) {\n debt = roundUp(debt * 1.05f);\n }\n System.out.printf(\"%d\\n\", Math.round(debt));\n }\n}", "public class Main {\n // Round by 3 digits\n static float roundUp(float value) {\n float mod = value % 1000;\n if (mod > 0) {\n value = value + (1000 - mod);\n }\n return value;\n }\n\n public static void main(String[] args) {\n float gankin = 100_000f;\n Scanner sc = new Scanner(System.in);\n int nweek = sc.nextInt();\n float debt = gankin;\n for (int i = 0; i < nweek; i++) {\n debt = roundUp(debt * 1.05f);\n }\n System.out.printf(\"%d\\n\", Math.round(debt));\n }\n}", "Main" ]
import java.util.Scanner; public class Main { // Round by 3 digits static float roundUp(float value) { float mod = value % 1000; if (mod > 0) { value = value + (1000 - mod); } return value; } public static void main(String[] args) { float gankin = 100_000f; Scanner sc = new Scanner(System.in); int nweek = sc.nextInt(); float debt = gankin; for (int i = 0; i < nweek; i++) { debt = roundUp(debt * 1.05f); } System.out.printf("%d\n", Math.round(debt)); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 20, 38, 5, 13, 30, 4, 18, 13, 30, 38, 5, 13, 30, 30, 4, 18, 13, 30, 42, 2, 17, 0, 13, 4, 18, 13, 30, 41, 13, 4, 18, 13, 13, 41, 13, 17, 42, 2, 40, 13, 17, 30, 0, 13, 4, 18, 13, 2, 13, 17, 4, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 80, 11 ], [ 80, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 17, 19 ], [ 14, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 20, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 20, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 45, 52 ], [ 52, 53 ], [ 52, 54 ], [ 45, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 55, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 66, 67 ], [ 66, 68 ], [ 45, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 12, 77 ], [ 77, 78 ], [ 0, 79 ], [ 79, 80 ], [ 79, 81 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] a){\n\n\t\tString str;\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\twhile(null != ( str = bf.readLine() )){\n\t\t\t\tlong n = Long.parseLong(str);\n\t\t\t\tlong ans = 100;\n\t\t\t\twhile(n-- > 0){\n\t\t\t\t\tans = (long) Math.ceil(ans * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(ans * 1000);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tbf.close();\n\t\t\t} catch (IOException e) {\n\t\t\t}\n\t\t}\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] a){\n\n\t\tString str;\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\twhile(null != ( str = bf.readLine() )){\n\t\t\t\tlong n = Long.parseLong(str);\n\t\t\t\tlong ans = 100;\n\t\t\t\twhile(n-- > 0){\n\t\t\t\t\tans = (long) Math.ceil(ans * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(ans * 1000);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tbf.close();\n\t\t\t} catch (IOException e) {\n\t\t\t}\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] a){\n\n\t\tString str;\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\twhile(null != ( str = bf.readLine() )){\n\t\t\t\tlong n = Long.parseLong(str);\n\t\t\t\tlong ans = 100;\n\t\t\t\twhile(n-- > 0){\n\t\t\t\t\tans = (long) Math.ceil(ans * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(ans * 1000);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tbf.close();\n\t\t\t} catch (IOException e) {\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\n\t\tString str;\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\twhile(null != ( str = bf.readLine() )){\n\t\t\t\tlong n = Long.parseLong(str);\n\t\t\t\tlong ans = 100;\n\t\t\t\twhile(n-- > 0){\n\t\t\t\t\tans = (long) Math.ceil(ans * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(ans * 1000);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tbf.close();\n\t\t\t} catch (IOException e) {\n\t\t\t}\n\t\t}\n\t}", "String str;", "str", "BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));", "bf", "new BufferedReader(new InputStreamReader(System.in))", "try {\n\t\t\twhile(null != ( str = bf.readLine() )){\n\t\t\t\tlong n = Long.parseLong(str);\n\t\t\t\tlong ans = 100;\n\t\t\t\twhile(n-- > 0){\n\t\t\t\t\tans = (long) Math.ceil(ans * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(ans * 1000);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tbf.close();\n\t\t\t} catch (IOException e) {\n\t\t\t}\n\t\t}", "catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "IOException e", "{\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\ttry {\n\t\t\t\tbf.close();\n\t\t\t} catch (IOException e) {\n\t\t\t}\n\t\t}", "try {\n\t\t\t\tbf.close();\n\t\t\t} catch (IOException e) {\n\t\t\t}", "catch (IOException e) {\n\t\t\t}", "IOException e", "{\n\t\t\t}", "{\n\t\t\t\tbf.close();\n\t\t\t}", "bf.close()", "bf.close", "bf", "{\n\t\t\twhile(null != ( str = bf.readLine() )){\n\t\t\t\tlong n = Long.parseLong(str);\n\t\t\t\tlong ans = 100;\n\t\t\t\twhile(n-- > 0){\n\t\t\t\t\tans = (long) Math.ceil(ans * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(ans * 1000);\n\t\t\t}\n\t\t}", "while(null != ( str = bf.readLine() )){\n\t\t\t\tlong n = Long.parseLong(str);\n\t\t\t\tlong ans = 100;\n\t\t\t\twhile(n-- > 0){\n\t\t\t\t\tans = (long) Math.ceil(ans * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(ans * 1000);\n\t\t\t}", "null != ( str = bf.readLine() )", "null", "( str = bf.readLine() )", "str", "bf.readLine()", "bf.readLine", "bf", "{\n\t\t\t\tlong n = Long.parseLong(str);\n\t\t\t\tlong ans = 100;\n\t\t\t\twhile(n-- > 0){\n\t\t\t\t\tans = (long) Math.ceil(ans * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(ans * 1000);\n\t\t\t}", "long n = Long.parseLong(str);", "n", "Long.parseLong(str)", "Long.parseLong", "Long", "str", "long ans = 100;", "ans", "100", "while(n-- > 0){\n\t\t\t\t\tans = (long) Math.ceil(ans * 1.05);\n\t\t\t\t}", "n-- > 0", "n--", "n", "0", "{\n\t\t\t\t\tans = (long) Math.ceil(ans * 1.05);\n\t\t\t\t}", "ans = (long) Math.ceil(ans * 1.05)", "ans", "(long) Math.ceil(ans * 1.05)", "Math.ceil", "Math", "ans * 1.05", "ans", "1.05", "System.out.println(ans * 1000)", "System.out.println", "System.out", "System", "System.out", "ans * 1000", "ans", "1000", "String[] a", "a", "public class Main {\n\n\tpublic static void main(String[] a){\n\n\t\tString str;\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\twhile(null != ( str = bf.readLine() )){\n\t\t\t\tlong n = Long.parseLong(str);\n\t\t\t\tlong ans = 100;\n\t\t\t\twhile(n-- > 0){\n\t\t\t\t\tans = (long) Math.ceil(ans * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(ans * 1000);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tbf.close();\n\t\t\t} catch (IOException e) {\n\t\t\t}\n\t\t}\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] a){\n\n\t\tString str;\n\t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\twhile(null != ( str = bf.readLine() )){\n\t\t\t\tlong n = Long.parseLong(str);\n\t\t\t\tlong ans = 100;\n\t\t\t\twhile(n-- > 0){\n\t\t\t\t\tans = (long) Math.ceil(ans * 1.05);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(ans * 1000);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tbf.close();\n\t\t\t} catch (IOException e) {\n\t\t\t}\n\t\t}\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] a){ String str; BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); try { while(null != ( str = bf.readLine() )){ long n = Long.parseLong(str); long ans = 100; while(n-- > 0){ ans = (long) Math.ceil(ans * 1.05); } System.out.println(ans * 1000); } } catch (IOException e) { e.printStackTrace(); } finally { try { bf.close(); } catch (IOException e) { } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 20, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 13, 14, 2, 2, 13, 17, 17, 30, 30, 0, 13, 2, 2, 13, 2, 13, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 23, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 35, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 41, 47 ], [ 41, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 51, 57 ], [ 8, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 6, 64 ], [ 64, 65 ] ]
[ "import java.util.Scanner;\n\n\nclass Main {\n\n\tpublic static void main(String[] args){\n\t\tdouble debt = 100000;\n\t\tdouble rate = 1.05;\n\n\t\tScanner in = new Scanner(System.in);\n\t\tint numWeeks = in.nextInt();\n\t\t\n\t\tfor (int i=1; i<=numWeeks; i++){\n\t\t\tdebt = debt * rate;\n\t\t\tif(debt%1000 == 0){\n\t\t\t\t//do nothing\n\t\t\t} else {\n\t\t\t\tdebt = (debt - (debt%1000)) + 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println((int) debt);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n\tpublic static void main(String[] args){\n\t\tdouble debt = 100000;\n\t\tdouble rate = 1.05;\n\n\t\tScanner in = new Scanner(System.in);\n\t\tint numWeeks = in.nextInt();\n\t\t\n\t\tfor (int i=1; i<=numWeeks; i++){\n\t\t\tdebt = debt * rate;\n\t\t\tif(debt%1000 == 0){\n\t\t\t\t//do nothing\n\t\t\t} else {\n\t\t\t\tdebt = (debt - (debt%1000)) + 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println((int) debt);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tdouble debt = 100000;\n\t\tdouble rate = 1.05;\n\n\t\tScanner in = new Scanner(System.in);\n\t\tint numWeeks = in.nextInt();\n\t\t\n\t\tfor (int i=1; i<=numWeeks; i++){\n\t\t\tdebt = debt * rate;\n\t\t\tif(debt%1000 == 0){\n\t\t\t\t//do nothing\n\t\t\t} else {\n\t\t\t\tdebt = (debt - (debt%1000)) + 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println((int) debt);\n\t}", "main", "{\n\t\tdouble debt = 100000;\n\t\tdouble rate = 1.05;\n\n\t\tScanner in = new Scanner(System.in);\n\t\tint numWeeks = in.nextInt();\n\t\t\n\t\tfor (int i=1; i<=numWeeks; i++){\n\t\t\tdebt = debt * rate;\n\t\t\tif(debt%1000 == 0){\n\t\t\t\t//do nothing\n\t\t\t} else {\n\t\t\t\tdebt = (debt - (debt%1000)) + 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println((int) debt);\n\t}", "double debt = 100000;", "debt", "100000", "double rate = 1.05;", "rate", "1.05", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int numWeeks = in.nextInt();", "numWeeks", "in.nextInt()", "in.nextInt", "in", "for (int i=1; i<=numWeeks; i++){\n\t\t\tdebt = debt * rate;\n\t\t\tif(debt%1000 == 0){\n\t\t\t\t//do nothing\n\t\t\t} else {\n\t\t\t\tdebt = (debt - (debt%1000)) + 1000;\n\t\t\t}\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<=numWeeks", "i", "numWeeks", "i++", "i++", "i", "{\n\t\t\tdebt = debt * rate;\n\t\t\tif(debt%1000 == 0){\n\t\t\t\t//do nothing\n\t\t\t} else {\n\t\t\t\tdebt = (debt - (debt%1000)) + 1000;\n\t\t\t}\n\t\t}", "{\n\t\t\tdebt = debt * rate;\n\t\t\tif(debt%1000 == 0){\n\t\t\t\t//do nothing\n\t\t\t} else {\n\t\t\t\tdebt = (debt - (debt%1000)) + 1000;\n\t\t\t}\n\t\t}", "debt = debt * rate", "debt", "debt * rate", "debt", "rate", "if(debt%1000 == 0){\n\t\t\t\t//do nothing\n\t\t\t} else {\n\t\t\t\tdebt = (debt - (debt%1000)) + 1000;\n\t\t\t}", "debt%1000 == 0", "debt%1000", "debt", "1000", "0", "{\n\t\t\t\t//do nothing\n\t\t\t}", "{\n\t\t\t\tdebt = (debt - (debt%1000)) + 1000;\n\t\t\t}", "debt = (debt - (debt%1000)) + 1000", "debt", "(debt - (debt%1000)) + 1000", "(debt - (debt%1000))", "debt", "(debt%1000)", "debt", "1000", "1000", "System.out.println((int) debt)", "System.out.println", "System.out", "System", "System.out", "(int) debt", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args){ double debt = 100000; double rate = 1.05; Scanner in = new Scanner(System.in); int numWeeks = in.nextInt(); for (int i=1; i<=numWeeks; i++){ debt = debt * rate; if(debt%1000 == 0){ //do nothing } else { debt = (debt - (debt%1000)) + 1000; } } System.out.println((int) debt); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 4, 13, 23, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 20, 40, 17, 18, 13, 13, 4, 18, 18, 13, 13, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 82, 14 ], [ 82, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 15, 20 ], [ 20, 21 ], [ 82, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 25, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 32, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 32, 47 ], [ 47, 48 ], [ 47, 49 ], [ 32, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 55, 57 ], [ 50, 58 ], [ 58, 59 ], [ 59, 60 ], [ 50, 61 ], [ 62, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 70, 71 ], [ 67, 72 ], [ 72, 73 ], [ 72, 74 ], [ 32, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 0, 81 ], [ 81, 82 ], [ 81, 83 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tprint();\n\t}\n\n\tpublic static void print() {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str = br.readLine();\n\t\t\tint weeks = Integer.parseInt(str);\n\t\t\tint debt = 100000;\n\t\t\tfor(int i = 0; i < weeks; i++){\n\t\t\t\tdebt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();\n\t\t\t}\n\t\t\t\t\tSystem.out.println(debt);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.math.BigDecimal;", "BigDecimal", "java.math", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tprint();\n\t}\n\n\tpublic static void print() {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str = br.readLine();\n\t\t\tint weeks = Integer.parseInt(str);\n\t\t\tint debt = 100000;\n\t\t\tfor(int i = 0; i < weeks; i++){\n\t\t\t\tdebt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();\n\t\t\t}\n\t\t\t\t\tSystem.out.println(debt);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tprint();\n\t}", "main", "{\n\t\tprint();\n\t}", "print()", "print", "String[] args", "args", "public static void print() {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str = br.readLine();\n\t\t\tint weeks = Integer.parseInt(str);\n\t\t\tint debt = 100000;\n\t\t\tfor(int i = 0; i < weeks; i++){\n\t\t\t\tdebt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();\n\t\t\t}\n\t\t\t\t\tSystem.out.println(debt);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "print", "{\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str = br.readLine();\n\t\t\tint weeks = Integer.parseInt(str);\n\t\t\tint debt = 100000;\n\t\t\tfor(int i = 0; i < weeks; i++){\n\t\t\t\tdebt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();\n\t\t\t}\n\t\t\t\t\tSystem.out.println(debt);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "try {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str = br.readLine();\n\t\t\tint weeks = Integer.parseInt(str);\n\t\t\tint debt = 100000;\n\t\t\tfor(int i = 0; i < weeks; i++){\n\t\t\t\tdebt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();\n\t\t\t}\n\t\t\t\t\tSystem.out.println(debt);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "IOException e", "{\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str = br.readLine();\n\t\t\tint weeks = Integer.parseInt(str);\n\t\t\tint debt = 100000;\n\t\t\tfor(int i = 0; i < weeks; i++){\n\t\t\t\tdebt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();\n\t\t\t}\n\t\t\t\t\tSystem.out.println(debt);\n\t\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "int weeks = Integer.parseInt(str);", "weeks", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "int debt = 100000;", "debt", "100000", "for(int i = 0; i < weeks; i++){\n\t\t\t\tdebt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < weeks", "i", "weeks", "i++", "i++", "i", "{\n\t\t\t\tdebt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();\n\t\t\t}", "{\n\t\t\t\tdebt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();\n\t\t\t}", "debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact()", "debt", "new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact()", "new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact", "new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING)", "new BigDecimal(debt * 1.05).setScale", "new BigDecimal(debt * 1.05)", "-3", "3", "BigDecimal.ROUND_CEILING", "BigDecimal", "BigDecimal.ROUND_CEILING", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tprint();\n\t}\n\n\tpublic static void print() {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str = br.readLine();\n\t\t\tint weeks = Integer.parseInt(str);\n\t\t\tint debt = 100000;\n\t\t\tfor(int i = 0; i < weeks; i++){\n\t\t\t\tdebt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();\n\t\t\t}\n\t\t\t\t\tSystem.out.println(debt);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tprint();\n\t}\n\n\tpublic static void print() {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str = br.readLine();\n\t\t\tint weeks = Integer.parseInt(str);\n\t\t\tint debt = 100000;\n\t\t\tfor(int i = 0; i < weeks; i++){\n\t\t\t\tdebt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();\n\t\t\t}\n\t\t\t\t\tSystem.out.println(debt);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigDecimal; public class Main { public static void main(String[] args) { print(); } public static void print() { try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); int weeks = Integer.parseInt(str); int debt = 100000; for(int i = 0; i < weeks; i++){ debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact(); } System.out.println(debt); } catch (IOException e) { e.printStackTrace(); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 41, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 4, 18, 13, 2, 4, 18, 13, 17, 14, 2, 13, 17, 30, 0, 13, 2, 17, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 79, 5 ], [ 79, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 14, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 30, 32 ], [ 25, 33 ], [ 33, 34 ], [ 34, 35 ], [ 25, 36 ], [ 37, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 37, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 55, 59 ], [ 37, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 6, 76 ], [ 76, 77 ], [ 0, 78 ], [ 78, 79 ], [ 78, 80 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tint yen = 100000;\n\t\tint m;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tsc.close();\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\t//利子計算\n\t\t\tyen *= 1.05;\n\t\t\t//金額を文字列に変換\n\t\t\tString s = Integer.toString(yen);\n\t\t\t//後ろ三桁を抜き出してint型に変換\n\t\t\tm\t=\tInteger.parseInt(s.substring(s.length()-3));\n\t\t\t//ゼロでなかったら切り上げ\n\t\t\tif(m!=0){\n\t\t\t\tyen += 1000-m;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(yen);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tint yen = 100000;\n\t\tint m;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tsc.close();\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\t//利子計算\n\t\t\tyen *= 1.05;\n\t\t\t//金額を文字列に変換\n\t\t\tString s = Integer.toString(yen);\n\t\t\t//後ろ三桁を抜き出してint型に変換\n\t\t\tm\t=\tInteger.parseInt(s.substring(s.length()-3));\n\t\t\t//ゼロでなかったら切り上げ\n\t\t\tif(m!=0){\n\t\t\t\tyen += 1000-m;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(yen);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tint yen = 100000;\n\t\tint m;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tsc.close();\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\t//利子計算\n\t\t\tyen *= 1.05;\n\t\t\t//金額を文字列に変換\n\t\t\tString s = Integer.toString(yen);\n\t\t\t//後ろ三桁を抜き出してint型に変換\n\t\t\tm\t=\tInteger.parseInt(s.substring(s.length()-3));\n\t\t\t//ゼロでなかったら切り上げ\n\t\t\tif(m!=0){\n\t\t\t\tyen += 1000-m;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(yen);\n\t}", "main", "{\n\t\tint yen = 100000;\n\t\tint m;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tsc.close();\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\t//利子計算\n\t\t\tyen *= 1.05;\n\t\t\t//金額を文字列に変換\n\t\t\tString s = Integer.toString(yen);\n\t\t\t//後ろ三桁を抜き出してint型に変換\n\t\t\tm\t=\tInteger.parseInt(s.substring(s.length()-3));\n\t\t\t//ゼロでなかったら切り上げ\n\t\t\tif(m!=0){\n\t\t\t\tyen += 1000-m;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(yen);\n\t}", "int yen = 100000;", "yen", "100000", "int m;", "m", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "sc.close()", "sc.close", "sc", "for(int i=0; i<n; i++){\n\t\t\t//利子計算\n\t\t\tyen *= 1.05;\n\t\t\t//金額を文字列に変換\n\t\t\tString s = Integer.toString(yen);\n\t\t\t//後ろ三桁を抜き出してint型に変換\n\t\t\tm\t=\tInteger.parseInt(s.substring(s.length()-3));\n\t\t\t//ゼロでなかったら切り上げ\n\t\t\tif(m!=0){\n\t\t\t\tyen += 1000-m;\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\t//利子計算\n\t\t\tyen *= 1.05;\n\t\t\t//金額を文字列に変換\n\t\t\tString s = Integer.toString(yen);\n\t\t\t//後ろ三桁を抜き出してint型に変換\n\t\t\tm\t=\tInteger.parseInt(s.substring(s.length()-3));\n\t\t\t//ゼロでなかったら切り上げ\n\t\t\tif(m!=0){\n\t\t\t\tyen += 1000-m;\n\t\t\t}\n\t\t}", "{\n\t\t\t//利子計算\n\t\t\tyen *= 1.05;\n\t\t\t//金額を文字列に変換\n\t\t\tString s = Integer.toString(yen);\n\t\t\t//後ろ三桁を抜き出してint型に変換\n\t\t\tm\t=\tInteger.parseInt(s.substring(s.length()-3));\n\t\t\t//ゼロでなかったら切り上げ\n\t\t\tif(m!=0){\n\t\t\t\tyen += 1000-m;\n\t\t\t}\n\t\t}", "yen *= 1.05", "yen", "1.05", "String s = Integer.toString(yen);", "s", "Integer.toString(yen)", "Integer.toString", "Integer", "yen", "m\t=\tInteger.parseInt(s.substring(s.length()-3))", "m", "Integer.parseInt(s.substring(s.length()-3))", "Integer.parseInt", "Integer", "s.substring(s.length()-3)", "s.substring", "s", "s.length()-3", "s.length()", "s.length", "s", "3", "if(m!=0){\n\t\t\t\tyen += 1000-m;\n\t\t\t}", "m!=0", "m", "0", "{\n\t\t\t\tyen += 1000-m;\n\t\t\t}", "yen += 1000-m", "yen", "1000-m", "1000", "m", "System.out.println(yen)", "System.out.println", "System.out", "System", "System.out", "yen", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tint yen = 100000;\n\t\tint m;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tsc.close();\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\t//利子計算\n\t\t\tyen *= 1.05;\n\t\t\t//金額を文字列に変換\n\t\t\tString s = Integer.toString(yen);\n\t\t\t//後ろ三桁を抜き出してint型に変換\n\t\t\tm\t=\tInteger.parseInt(s.substring(s.length()-3));\n\t\t\t//ゼロでなかったら切り上げ\n\t\t\tif(m!=0){\n\t\t\t\tyen += 1000-m;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(yen);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tint yen = 100000;\n\t\tint m;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tsc.close();\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\t//利子計算\n\t\t\tyen *= 1.05;\n\t\t\t//金額を文字列に変換\n\t\t\tString s = Integer.toString(yen);\n\t\t\t//後ろ三桁を抜き出してint型に変換\n\t\t\tm\t=\tInteger.parseInt(s.substring(s.length()-3));\n\t\t\t//ゼロでなかったら切り上げ\n\t\t\tif(m!=0){\n\t\t\t\tyen += 1000-m;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(yen);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ int yen = 100000; int m; Scanner sc = new Scanner(System.in); int n = sc.nextInt(); sc.close(); for(int i=0; i<n; i++){ //利子計算 yen *= 1.05; //金額を文字列に変換 String s = Integer.toString(yen); //後ろ三桁を抜き出してint型に変換 m = Integer.parseInt(s.substring(s.length()-3)); //ゼロでなかったら切り上げ if(m!=0){ yen += 1000-m; } } System.out.println(yen); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 4, 18, 20, 42, 2, 13, 17, 30, 0, 13, 2, 13, 17, 0, 13, 2, 4, 18, 13, 2, 13, 17, 17, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 27, 29 ], [ 24, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 32, 39 ], [ 24, 40 ], [ 40, 41 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 6, 48 ], [ 48, 49 ] ]
[ "import java.util.Scanner;\n\n\nclass Main{\n public static void main(String[] args){\n\n double debt = 100000;\n double mo = 0.05;\n int turm = new Scanner(System.in).nextInt();\n while(turm>0){\n debt = debt*1.05;\n debt = Math.ceil(debt/1000)*1000;\n turm--;\n }\n System.out.println((int)debt);\n\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] args){\n\n double debt = 100000;\n double mo = 0.05;\n int turm = new Scanner(System.in).nextInt();\n while(turm>0){\n debt = debt*1.05;\n debt = Math.ceil(debt/1000)*1000;\n turm--;\n }\n System.out.println((int)debt);\n\n }\n}", "Main", "public static void main(String[] args){\n\n double debt = 100000;\n double mo = 0.05;\n int turm = new Scanner(System.in).nextInt();\n while(turm>0){\n debt = debt*1.05;\n debt = Math.ceil(debt/1000)*1000;\n turm--;\n }\n System.out.println((int)debt);\n\n }", "main", "{\n\n double debt = 100000;\n double mo = 0.05;\n int turm = new Scanner(System.in).nextInt();\n while(turm>0){\n debt = debt*1.05;\n debt = Math.ceil(debt/1000)*1000;\n turm--;\n }\n System.out.println((int)debt);\n\n }", "double debt = 100000;", "debt", "100000", "double mo = 0.05;", "mo", "0.05", "int turm = new Scanner(System.in).nextInt();", "turm", "new Scanner(System.in).nextInt()", "new Scanner(System.in).nextInt", "new Scanner(System.in)", "while(turm>0){\n debt = debt*1.05;\n debt = Math.ceil(debt/1000)*1000;\n turm--;\n }", "turm>0", "turm", "0", "{\n debt = debt*1.05;\n debt = Math.ceil(debt/1000)*1000;\n turm--;\n }", "debt = debt*1.05", "debt", "debt*1.05", "debt", "1.05", "debt = Math.ceil(debt/1000)*1000", "debt", "Math.ceil(debt/1000)*1000", "Math.ceil(debt/1000)", "Math.ceil", "Math", "debt/1000", "debt", "1000", "1000", "turm--", "turm", "System.out.println((int)debt)", "System.out.println", "System.out", "System", "System.out", "(int)debt", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ double debt = 100000; double mo = 0.05; int turm = new Scanner(System.in).nextInt(); while(turm>0){ debt = debt*1.05; debt = Math.ceil(debt/1000)*1000; turm--; } System.out.println((int)debt); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 17, 41, 13, 41, 13, 41, 13, 20, 0, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 17, 0, 13, 2, 13, 13, 41, 13, 20, 0, 13, 4, 18, 13, 40, 17, 18, 13, 13, 0, 13, 4, 18, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 79, 8 ], [ 79, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 11, 14 ], [ 14, 15 ], [ 14, 16 ], [ 11, 17 ], [ 17, 18 ], [ 11, 19 ], [ 19, 20 ], [ 11, 21 ], [ 21, 22 ], [ 21, 23 ], [ 11, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 11, 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 ], [ 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 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 60, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 41, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 11, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 9, 76 ], [ 76, 77 ], [ 0, 78 ], [ 78, 79 ], [ 78, 80 ] ]
[ "import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\t//??????????????°\n\t\tint nissuu;\n\t\tint shakkinn = 100000;\n\t\tdouble risoku;\n\t\tint newShakkinn;\n\n\t\tScanner sc = new Scanner(System.in);\t\t//?????????????????§??\\???\n\t\tnissuu = sc.nextInt();\t\t//?????±????????\\?????????\n\n\t\tfor(int i=0; i<nissuu; i++){\n\n\t\t\trisoku = shakkinn * 0.05;\n\t\t\tnewShakkinn = shakkinn + (int)risoku;\t\t//1??\\????????????\n\n\t\t\tBigDecimal bd = new BigDecimal(newShakkinn);\t\t//??°???????????????bd?????\\??????\n\t\t\tbd = bd.setScale(-3 , BigDecimal.ROUND_UP);\t\t//1000??\\????????????????????????\n\t\t\tshakkinn = (int)bd.doubleValue();\n\n\t\t}\n\n\t\tSystem.out.println(shakkinn);\n\n\t}\n}", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\t//??????????????°\n\t\tint nissuu;\n\t\tint shakkinn = 100000;\n\t\tdouble risoku;\n\t\tint newShakkinn;\n\n\t\tScanner sc = new Scanner(System.in);\t\t//?????????????????§??\\???\n\t\tnissuu = sc.nextInt();\t\t//?????±????????\\?????????\n\n\t\tfor(int i=0; i<nissuu; i++){\n\n\t\t\trisoku = shakkinn * 0.05;\n\t\t\tnewShakkinn = shakkinn + (int)risoku;\t\t//1??\\????????????\n\n\t\t\tBigDecimal bd = new BigDecimal(newShakkinn);\t\t//??°???????????????bd?????\\??????\n\t\t\tbd = bd.setScale(-3 , BigDecimal.ROUND_UP);\t\t//1000??\\????????????????????????\n\t\t\tshakkinn = (int)bd.doubleValue();\n\n\t\t}\n\n\t\tSystem.out.println(shakkinn);\n\n\t}\n}", "Main", "public static void main(String[] args){\n\t\t//??????????????°\n\t\tint nissuu;\n\t\tint shakkinn = 100000;\n\t\tdouble risoku;\n\t\tint newShakkinn;\n\n\t\tScanner sc = new Scanner(System.in);\t\t//?????????????????§??\\???\n\t\tnissuu = sc.nextInt();\t\t//?????±????????\\?????????\n\n\t\tfor(int i=0; i<nissuu; i++){\n\n\t\t\trisoku = shakkinn * 0.05;\n\t\t\tnewShakkinn = shakkinn + (int)risoku;\t\t//1??\\????????????\n\n\t\t\tBigDecimal bd = new BigDecimal(newShakkinn);\t\t//??°???????????????bd?????\\??????\n\t\t\tbd = bd.setScale(-3 , BigDecimal.ROUND_UP);\t\t//1000??\\????????????????????????\n\t\t\tshakkinn = (int)bd.doubleValue();\n\n\t\t}\n\n\t\tSystem.out.println(shakkinn);\n\n\t}", "main", "{\n\t\t//??????????????°\n\t\tint nissuu;\n\t\tint shakkinn = 100000;\n\t\tdouble risoku;\n\t\tint newShakkinn;\n\n\t\tScanner sc = new Scanner(System.in);\t\t//?????????????????§??\\???\n\t\tnissuu = sc.nextInt();\t\t//?????±????????\\?????????\n\n\t\tfor(int i=0; i<nissuu; i++){\n\n\t\t\trisoku = shakkinn * 0.05;\n\t\t\tnewShakkinn = shakkinn + (int)risoku;\t\t//1??\\????????????\n\n\t\t\tBigDecimal bd = new BigDecimal(newShakkinn);\t\t//??°???????????????bd?????\\??????\n\t\t\tbd = bd.setScale(-3 , BigDecimal.ROUND_UP);\t\t//1000??\\????????????????????????\n\t\t\tshakkinn = (int)bd.doubleValue();\n\n\t\t}\n\n\t\tSystem.out.println(shakkinn);\n\n\t}", "int nissuu;", "nissuu", "int shakkinn = 100000;", "shakkinn", "100000", "double risoku;", "risoku", "int newShakkinn;", "newShakkinn", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "nissuu = sc.nextInt()", "nissuu", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0; i<nissuu; i++){\n\n\t\t\trisoku = shakkinn * 0.05;\n\t\t\tnewShakkinn = shakkinn + (int)risoku;\t\t//1??\\????????????\n\n\t\t\tBigDecimal bd = new BigDecimal(newShakkinn);\t\t//??°???????????????bd?????\\??????\n\t\t\tbd = bd.setScale(-3 , BigDecimal.ROUND_UP);\t\t//1000??\\????????????????????????\n\t\t\tshakkinn = (int)bd.doubleValue();\n\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<nissuu", "i", "nissuu", "i++", "i++", "i", "{\n\n\t\t\trisoku = shakkinn * 0.05;\n\t\t\tnewShakkinn = shakkinn + (int)risoku;\t\t//1??\\????????????\n\n\t\t\tBigDecimal bd = new BigDecimal(newShakkinn);\t\t//??°???????????????bd?????\\??????\n\t\t\tbd = bd.setScale(-3 , BigDecimal.ROUND_UP);\t\t//1000??\\????????????????????????\n\t\t\tshakkinn = (int)bd.doubleValue();\n\n\t\t}", "{\n\n\t\t\trisoku = shakkinn * 0.05;\n\t\t\tnewShakkinn = shakkinn + (int)risoku;\t\t//1??\\????????????\n\n\t\t\tBigDecimal bd = new BigDecimal(newShakkinn);\t\t//??°???????????????bd?????\\??????\n\t\t\tbd = bd.setScale(-3 , BigDecimal.ROUND_UP);\t\t//1000??\\????????????????????????\n\t\t\tshakkinn = (int)bd.doubleValue();\n\n\t\t}", "risoku = shakkinn * 0.05", "risoku", "shakkinn * 0.05", "shakkinn", "0.05", "newShakkinn = shakkinn + (int)risoku", "newShakkinn", "shakkinn + (int)risoku", "shakkinn", "(int)risoku", "BigDecimal bd = new BigDecimal(newShakkinn);", "bd", "new BigDecimal(newShakkinn)", "bd = bd.setScale(-3 , BigDecimal.ROUND_UP)", "bd", "bd.setScale(-3 , BigDecimal.ROUND_UP)", "bd.setScale", "bd", "-3", "3", "BigDecimal.ROUND_UP", "BigDecimal", "BigDecimal.ROUND_UP", "shakkinn = (int)bd.doubleValue()", "shakkinn", "(int)bd.doubleValue()", "bd.doubleValue", "bd", "System.out.println(shakkinn)", "System.out.println", "System.out", "System", "System.out", "shakkinn", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\t//??????????????°\n\t\tint nissuu;\n\t\tint shakkinn = 100000;\n\t\tdouble risoku;\n\t\tint newShakkinn;\n\n\t\tScanner sc = new Scanner(System.in);\t\t//?????????????????§??\\???\n\t\tnissuu = sc.nextInt();\t\t//?????±????????\\?????????\n\n\t\tfor(int i=0; i<nissuu; i++){\n\n\t\t\trisoku = shakkinn * 0.05;\n\t\t\tnewShakkinn = shakkinn + (int)risoku;\t\t//1??\\????????????\n\n\t\t\tBigDecimal bd = new BigDecimal(newShakkinn);\t\t//??°???????????????bd?????\\??????\n\t\t\tbd = bd.setScale(-3 , BigDecimal.ROUND_UP);\t\t//1000??\\????????????????????????\n\t\t\tshakkinn = (int)bd.doubleValue();\n\n\t\t}\n\n\t\tSystem.out.println(shakkinn);\n\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\t//??????????????°\n\t\tint nissuu;\n\t\tint shakkinn = 100000;\n\t\tdouble risoku;\n\t\tint newShakkinn;\n\n\t\tScanner sc = new Scanner(System.in);\t\t//?????????????????§??\\???\n\t\tnissuu = sc.nextInt();\t\t//?????±????????\\?????????\n\n\t\tfor(int i=0; i<nissuu; i++){\n\n\t\t\trisoku = shakkinn * 0.05;\n\t\t\tnewShakkinn = shakkinn + (int)risoku;\t\t//1??\\????????????\n\n\t\t\tBigDecimal bd = new BigDecimal(newShakkinn);\t\t//??°???????????????bd?????\\??????\n\t\t\tbd = bd.setScale(-3 , BigDecimal.ROUND_UP);\t\t//1000??\\????????????????????????\n\t\t\tshakkinn = (int)bd.doubleValue();\n\n\t\t}\n\n\t\tSystem.out.println(shakkinn);\n\n\t}\n}", "Main" ]
import java.math.BigDecimal; import java.util.Scanner; public class Main { public static void main(String[] args){ //??????????????° int nissuu; int shakkinn = 100000; double risoku; int newShakkinn; Scanner sc = new Scanner(System.in); //?????????????????§??\??? nissuu = sc.nextInt(); //?????±????????\????????? for(int i=0; i<nissuu; i++){ risoku = shakkinn * 0.05; newShakkinn = shakkinn + (int)risoku; //1??\???????????? BigDecimal bd = new BigDecimal(newShakkinn); //??°???????????????bd?????\?????? bd = bd.setScale(-3 , BigDecimal.ROUND_UP); //1000??\???????????????????????? shakkinn = (int)bd.doubleValue(); } System.out.println(shakkinn); } }
[ 7, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 17, 42, 2, 17, 40, 13, 30, 0, 13, 4, 18, 13, 2, 13, 17, 0, 13, 17, 4, 13, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 51, 2 ], [ 51, 3 ], [ 3, 4 ], [ 3, 5 ], [ 51, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 14, 16 ], [ 8, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 17, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 34 ], [ 34, 35 ], [ 34, 36 ], [ 6, 37 ], [ 37, 38 ], [ 51, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 39, 48 ], [ 48, 49 ], [ 0, 50 ], [ 50, 51 ], [ 50, 52 ] ]
[ "public class Main {\n\tstatic java.util.Scanner scan = new java.util.Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint input = scan.nextInt();\n\t\tdouble total = 100;\n\t\twhile (0 < input--) {\n\t\t\ttotal = Math.ceil(total * 1.05);\n\t\t}\n\t\ttotal *= 1000;\n\t\tprint((int) total);\n\t}\n\t\n\tpublic static void print(Object out) {\n\t\tSystem.out.println(out);\n\t}\n}", "public class Main {\n\tstatic java.util.Scanner scan = new java.util.Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint input = scan.nextInt();\n\t\tdouble total = 100;\n\t\twhile (0 < input--) {\n\t\t\ttotal = Math.ceil(total * 1.05);\n\t\t}\n\t\ttotal *= 1000;\n\t\tprint((int) total);\n\t}\n\t\n\tpublic static void print(Object out) {\n\t\tSystem.out.println(out);\n\t}\n}", "Main", "static java.util.Scanner scan = new java.util.Scanner(System.in);", "scan", "new java.util.Scanner(System.in)", "public static void main(String[] args) {\n\t\tint input = scan.nextInt();\n\t\tdouble total = 100;\n\t\twhile (0 < input--) {\n\t\t\ttotal = Math.ceil(total * 1.05);\n\t\t}\n\t\ttotal *= 1000;\n\t\tprint((int) total);\n\t}", "main", "{\n\t\tint input = scan.nextInt();\n\t\tdouble total = 100;\n\t\twhile (0 < input--) {\n\t\t\ttotal = Math.ceil(total * 1.05);\n\t\t}\n\t\ttotal *= 1000;\n\t\tprint((int) total);\n\t}", "int input = scan.nextInt();", "input", "scan.nextInt()", "scan.nextInt", "scan", "double total = 100;", "total", "100", "while (0 < input--) {\n\t\t\ttotal = Math.ceil(total * 1.05);\n\t\t}", "0 < input--", "0", "input--", "input", "{\n\t\t\ttotal = Math.ceil(total * 1.05);\n\t\t}", "total = Math.ceil(total * 1.05)", "total", "Math.ceil(total * 1.05)", "Math.ceil", "Math", "total * 1.05", "total", "1.05", "total *= 1000", "total", "1000", "print((int) total)", "print", "(int) total", "String[] args", "args", "public static void print(Object out) {\n\t\tSystem.out.println(out);\n\t}", "print", "{\n\t\tSystem.out.println(out);\n\t}", "System.out.println(out)", "System.out.println", "System.out", "System", "System.out", "out", "Object out", "out", "public class Main {\n\tstatic java.util.Scanner scan = new java.util.Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint input = scan.nextInt();\n\t\tdouble total = 100;\n\t\twhile (0 < input--) {\n\t\t\ttotal = Math.ceil(total * 1.05);\n\t\t}\n\t\ttotal *= 1000;\n\t\tprint((int) total);\n\t}\n\t\n\tpublic static void print(Object out) {\n\t\tSystem.out.println(out);\n\t}\n}", "public class Main {\n\tstatic java.util.Scanner scan = new java.util.Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint input = scan.nextInt();\n\t\tdouble total = 100;\n\t\twhile (0 < input--) {\n\t\t\ttotal = Math.ceil(total * 1.05);\n\t\t}\n\t\ttotal *= 1000;\n\t\tprint((int) total);\n\t}\n\t\n\tpublic static void print(Object out) {\n\t\tSystem.out.println(out);\n\t}\n}", "Main" ]
public class Main { static java.util.Scanner scan = new java.util.Scanner(System.in); public static void main(String[] args) { int input = scan.nextInt(); double total = 100; while (0 < input--) { total = Math.ceil(total * 1.05); } total *= 1000; print((int) total); } public static void print(Object out) { System.out.println(out); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 4, 18, 13, 4, 18, 20, 41, 13, 17, 11, 1, 2, 17, 13, 1, 40, 13, 30, 30, 0, 13, 8, 2, 2, 2, 13, 17, 17, 17, 2, 13, 17, 2, 2, 13, 17, 17, 4, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 65, 11 ], [ 65, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 32, 33 ], [ 26, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 39, 45 ], [ 38, 46 ], [ 46, 47 ], [ 46, 48 ], [ 38, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 14, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 12, 62 ], [ 62, 63 ], [ 0, 64 ], [ 64, 65 ], [ 64, 66 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tint period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine());\n\t\tint val = 100;//壱百千円\n\t\tfor (; 0 < period; period--) {\n\t\t\tval = val * 105 % 100 == 0 ? (int) (val * 1.05) : (int) (val * 1.05) + 1;\n\t\t}\n\t\tSystem.out.println(val * 1000);\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 NumberFormatException, IOException {\n\t\tint period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine());\n\t\tint val = 100;//壱百千円\n\t\tfor (; 0 < period; period--) {\n\t\t\tval = val * 105 % 100 == 0 ? (int) (val * 1.05) : (int) (val * 1.05) + 1;\n\t\t}\n\t\tSystem.out.println(val * 1000);\n\t}\n}", "Main", "public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tint period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine());\n\t\tint val = 100;//壱百千円\n\t\tfor (; 0 < period; period--) {\n\t\t\tval = val * 105 % 100 == 0 ? (int) (val * 1.05) : (int) (val * 1.05) + 1;\n\t\t}\n\t\tSystem.out.println(val * 1000);\n\t}", "main", "{\n\t\tint period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine());\n\t\tint val = 100;//壱百千円\n\t\tfor (; 0 < period; period--) {\n\t\t\tval = val * 105 % 100 == 0 ? (int) (val * 1.05) : (int) (val * 1.05) + 1;\n\t\t}\n\t\tSystem.out.println(val * 1000);\n\t}", "int period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine());", "period", "Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine())", "Integer.parseInt", "Integer", "new BufferedReader(new InputStreamReader(System.in), 128).readLine()", "new BufferedReader(new InputStreamReader(System.in), 128).readLine", "new BufferedReader(new InputStreamReader(System.in), 128)", "int val = 100;", "val", "100", "for (; 0 < period; period--) {\n\t\t\tval = val * 105 % 100 == 0 ? (int) (val * 1.05) : (int) (val * 1.05) + 1;\n\t\t}", ";", "0 < period", "0", "period", "period--", "period--", "period", "{\n\t\t\tval = val * 105 % 100 == 0 ? (int) (val * 1.05) : (int) (val * 1.05) + 1;\n\t\t}", "{\n\t\t\tval = val * 105 % 100 == 0 ? (int) (val * 1.05) : (int) (val * 1.05) + 1;\n\t\t}", "val = val * 105 % 100 == 0 ? (int) (val * 1.05) : (int) (val * 1.05) + 1", "val", "val * 105 % 100 == 0 ? (int) (val * 1.05) : (int) (val * 1.05) + 1", "val * 105 % 100 == 0", "val * 105 % 100", "val * 105", "val", "105", "100", "0", "(int) (val * 1.05)", "val", "1.05", "(int) (val * 1.05) + 1", "(int) (val * 1.05)", "val", "1.05", "1", "System.out.println(val * 1000)", "System.out.println", "System.out", "System", "System.out", "val * 1000", "val", "1000", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tint period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine());\n\t\tint val = 100;//壱百千円\n\t\tfor (; 0 < period; period--) {\n\t\t\tval = val * 105 % 100 == 0 ? (int) (val * 1.05) : (int) (val * 1.05) + 1;\n\t\t}\n\t\tSystem.out.println(val * 1000);\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tint period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine());\n\t\tint val = 100;//壱百千円\n\t\tfor (; 0 < period; period--) {\n\t\t\tval = val * 105 % 100 == 0 ? (int) (val * 1.05) : (int) (val * 1.05) + 1;\n\t\t}\n\t\tSystem.out.println(val * 1000);\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main{ public static void main(String[] args) throws NumberFormatException, IOException { int period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine()); int val = 100;//壱百千円 for (; 0 < period; period--) { val = val * 105 % 100 == 0 ? (int) (val * 1.05) : (int) (val * 1.05) + 1; } System.out.println(val * 1000); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 4, 18, 13, 30, 4, 18, 13, 4, 18, 13, 28, 13, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 2, 13, 17, 41, 13, 2, 13, 17, 14, 2, 17, 13, 30, 0, 13, 2, 13, 2, 17, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 18, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 26, 27 ], [ 27, 28 ], [ 11, 29 ], [ 29, 30 ], [ 29, 31 ], [ 29, 32 ], [ 33, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 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 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 49, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 49, 72 ], [ 72, 73 ], [ 72, 74 ], [ 33, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 9, 81 ], [ 81, 82 ] ]
[ "import java.util.Scanner;\nimport java.util.Vector;\n\nclass Main{\n public static void main(String[] av){\n Scanner sc = new Scanner(System.in);\n\n Vector<Integer> vec = new Vector<Integer>();\n while(sc.hasNextInt()){\n vec.add( sc.nextInt() );\n }\n\t\tfor ( Integer n : vec ){\n\t\t\tlong debt = 100000;\n\t\t\tfor ( int i = 0; i < n; ++i ){\n\t\t\t\tlong add = debt / 20;\n\t\t\t\tlong mod = add % 1000;\n\t\t\t\tif ( 0 < mod) {\n\t\t\t\t\tadd = add + (1000-mod);\n\t\t\t\t}\n\t\t\t\tdebt += add;\n\t\t\t}\n\t\t\tSystem.out.println(debt);\n\t\t}\n\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Vector;", "Vector", "java.util", "class Main{\n public static void main(String[] av){\n Scanner sc = new Scanner(System.in);\n\n Vector<Integer> vec = new Vector<Integer>();\n while(sc.hasNextInt()){\n vec.add( sc.nextInt() );\n }\n\t\tfor ( Integer n : vec ){\n\t\t\tlong debt = 100000;\n\t\t\tfor ( int i = 0; i < n; ++i ){\n\t\t\t\tlong add = debt / 20;\n\t\t\t\tlong mod = add % 1000;\n\t\t\t\tif ( 0 < mod) {\n\t\t\t\t\tadd = add + (1000-mod);\n\t\t\t\t}\n\t\t\t\tdebt += add;\n\t\t\t}\n\t\t\tSystem.out.println(debt);\n\t\t}\n\n }\n}", "Main", "public static void main(String[] av){\n Scanner sc = new Scanner(System.in);\n\n Vector<Integer> vec = new Vector<Integer>();\n while(sc.hasNextInt()){\n vec.add( sc.nextInt() );\n }\n\t\tfor ( Integer n : vec ){\n\t\t\tlong debt = 100000;\n\t\t\tfor ( int i = 0; i < n; ++i ){\n\t\t\t\tlong add = debt / 20;\n\t\t\t\tlong mod = add % 1000;\n\t\t\t\tif ( 0 < mod) {\n\t\t\t\t\tadd = add + (1000-mod);\n\t\t\t\t}\n\t\t\t\tdebt += add;\n\t\t\t}\n\t\t\tSystem.out.println(debt);\n\t\t}\n\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n Vector<Integer> vec = new Vector<Integer>();\n while(sc.hasNextInt()){\n vec.add( sc.nextInt() );\n }\n\t\tfor ( Integer n : vec ){\n\t\t\tlong debt = 100000;\n\t\t\tfor ( int i = 0; i < n; ++i ){\n\t\t\t\tlong add = debt / 20;\n\t\t\t\tlong mod = add % 1000;\n\t\t\t\tif ( 0 < mod) {\n\t\t\t\t\tadd = add + (1000-mod);\n\t\t\t\t}\n\t\t\t\tdebt += add;\n\t\t\t}\n\t\t\tSystem.out.println(debt);\n\t\t}\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "Vector<Integer> vec = new Vector<Integer>();", "vec", "new Vector<Integer>()", "while(sc.hasNextInt()){\n vec.add( sc.nextInt() );\n }", "sc.hasNextInt()", "sc.hasNextInt", "sc", "{\n vec.add( sc.nextInt() );\n }", "vec.add( sc.nextInt() )", "vec.add", "vec", "sc.nextInt()", "sc.nextInt", "sc", "for ( Integer n : vec ){\n\t\t\tlong debt = 100000;\n\t\t\tfor ( int i = 0; i < n; ++i ){\n\t\t\t\tlong add = debt / 20;\n\t\t\t\tlong mod = add % 1000;\n\t\t\t\tif ( 0 < mod) {\n\t\t\t\t\tadd = add + (1000-mod);\n\t\t\t\t}\n\t\t\t\tdebt += add;\n\t\t\t}\n\t\t\tSystem.out.println(debt);\n\t\t}", "Integer n", "vec", "{\n\t\t\tlong debt = 100000;\n\t\t\tfor ( int i = 0; i < n; ++i ){\n\t\t\t\tlong add = debt / 20;\n\t\t\t\tlong mod = add % 1000;\n\t\t\t\tif ( 0 < mod) {\n\t\t\t\t\tadd = add + (1000-mod);\n\t\t\t\t}\n\t\t\t\tdebt += add;\n\t\t\t}\n\t\t\tSystem.out.println(debt);\n\t\t}", "{\n\t\t\tlong debt = 100000;\n\t\t\tfor ( int i = 0; i < n; ++i ){\n\t\t\t\tlong add = debt / 20;\n\t\t\t\tlong mod = add % 1000;\n\t\t\t\tif ( 0 < mod) {\n\t\t\t\t\tadd = add + (1000-mod);\n\t\t\t\t}\n\t\t\t\tdebt += add;\n\t\t\t}\n\t\t\tSystem.out.println(debt);\n\t\t}", "long debt = 100000;", "debt", "100000", "for ( int i = 0; i < n; ++i ){\n\t\t\t\tlong add = debt / 20;\n\t\t\t\tlong mod = add % 1000;\n\t\t\t\tif ( 0 < mod) {\n\t\t\t\t\tadd = add + (1000-mod);\n\t\t\t\t}\n\t\t\t\tdebt += add;\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "++i", "++i", "i", "{\n\t\t\t\tlong add = debt / 20;\n\t\t\t\tlong mod = add % 1000;\n\t\t\t\tif ( 0 < mod) {\n\t\t\t\t\tadd = add + (1000-mod);\n\t\t\t\t}\n\t\t\t\tdebt += add;\n\t\t\t}", "{\n\t\t\t\tlong add = debt / 20;\n\t\t\t\tlong mod = add % 1000;\n\t\t\t\tif ( 0 < mod) {\n\t\t\t\t\tadd = add + (1000-mod);\n\t\t\t\t}\n\t\t\t\tdebt += add;\n\t\t\t}", "long add = debt / 20;", "add", "debt / 20", "debt", "20", "long mod = add % 1000;", "mod", "add % 1000", "add", "1000", "if ( 0 < mod) {\n\t\t\t\t\tadd = add + (1000-mod);\n\t\t\t\t}", "0 < mod", "0", "mod", "{\n\t\t\t\t\tadd = add + (1000-mod);\n\t\t\t\t}", "add = add + (1000-mod)", "add", "add + (1000-mod)", "add", "(1000-mod)", "1000", "mod", "debt += add", "debt", "add", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "String[] av", "av" ]
import java.util.Scanner; import java.util.Vector; class Main{ public static void main(String[] av){ Scanner sc = new Scanner(System.in); Vector<Integer> vec = new Vector<Integer>(); while(sc.hasNextInt()){ vec.add( sc.nextInt() ); } for ( Integer n : vec ){ long debt = 100000; for ( int i = 0; i < n; ++i ){ long add = debt / 20; long mod = add % 1000; if ( 0 < mod) { add = add + (1000-mod); } debt += add; } System.out.println(debt); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 2, 13, 17, 0, 13, 2, 13, 13, 41, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 2, 4, 18, 13, 17, 4, 18, 13, 14, 40, 4, 18, 13, 17, 30, 41, 13, 4, 18, 13, 13, 0, 13, 2, 2, 13, 17, 13, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 9, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 16, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 16, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 16, 31 ], [ 31, 32 ], [ 31, 33 ], [ 16, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 34, 42 ], [ 42, 43 ], [ 43, 44 ], [ 34, 45 ], [ 46, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 46, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 46, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 46, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 68, 72 ], [ 65, 73 ], [ 73, 74 ], [ 74, 75 ], [ 46, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 76, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 82, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 16, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 6, 102 ], [ 102, 103 ] ]
[ "import java.io.*;\n\nclass Main {\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\????????????????????????\n String line = br.readLine();\n int deptWeek = Integer.parseInt(line);\n int dept = 100000;\n for(int i = 0; i < deptWeek; i++ ){\n \tint checkDept = (int)(dept * 0.05);\n \tdept = dept + checkDept;\n \tString strCheckDept = String.valueOf(dept);\n \tString num = strCheckDept.substring(strCheckDept.length() - 3, strCheckDept.length());\n \tif(!num.equals(\"000\")){\n \t\tint numnum = Integer.parseInt(num);\n \t\tdept = dept + 1000 - numnum;\n \t}\n }\n System.out.println(dept); \n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n}", "import java.io.*;", "io.*", "java", "class Main {\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\????????????????????????\n String line = br.readLine();\n int deptWeek = Integer.parseInt(line);\n int dept = 100000;\n for(int i = 0; i < deptWeek; i++ ){\n \tint checkDept = (int)(dept * 0.05);\n \tdept = dept + checkDept;\n \tString strCheckDept = String.valueOf(dept);\n \tString num = strCheckDept.substring(strCheckDept.length() - 3, strCheckDept.length());\n \tif(!num.equals(\"000\")){\n \t\tint numnum = Integer.parseInt(num);\n \t\tdept = dept + 1000 - numnum;\n \t}\n }\n System.out.println(dept); \n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n}", "Main", "public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\????????????????????????\n String line = br.readLine();\n int deptWeek = Integer.parseInt(line);\n int dept = 100000;\n for(int i = 0; i < deptWeek; i++ ){\n \tint checkDept = (int)(dept * 0.05);\n \tdept = dept + checkDept;\n \tString strCheckDept = String.valueOf(dept);\n \tString num = strCheckDept.substring(strCheckDept.length() - 3, strCheckDept.length());\n \tif(!num.equals(\"000\")){\n \t\tint numnum = Integer.parseInt(num);\n \t\tdept = dept + 1000 - numnum;\n \t}\n }\n System.out.println(dept); \n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "main", "{\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\????????????????????????\n String line = br.readLine();\n int deptWeek = Integer.parseInt(line);\n int dept = 100000;\n for(int i = 0; i < deptWeek; i++ ){\n \tint checkDept = (int)(dept * 0.05);\n \tdept = dept + checkDept;\n \tString strCheckDept = String.valueOf(dept);\n \tString num = strCheckDept.substring(strCheckDept.length() - 3, strCheckDept.length());\n \tif(!num.equals(\"000\")){\n \t\tint numnum = Integer.parseInt(num);\n \t\tdept = dept + 1000 - numnum;\n \t}\n }\n System.out.println(dept); \n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\????????????????????????\n String line = br.readLine();\n int deptWeek = Integer.parseInt(line);\n int dept = 100000;\n for(int i = 0; i < deptWeek; i++ ){\n \tint checkDept = (int)(dept * 0.05);\n \tdept = dept + checkDept;\n \tString strCheckDept = String.valueOf(dept);\n \tString num = strCheckDept.substring(strCheckDept.length() - 3, strCheckDept.length());\n \tif(!num.equals(\"000\")){\n \t\tint numnum = Integer.parseInt(num);\n \t\tdept = dept + 1000 - numnum;\n \t}\n }\n System.out.println(dept); \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 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\????????????????????????\n String line = br.readLine();\n int deptWeek = Integer.parseInt(line);\n int dept = 100000;\n for(int i = 0; i < deptWeek; i++ ){\n \tint checkDept = (int)(dept * 0.05);\n \tdept = dept + checkDept;\n \tString strCheckDept = String.valueOf(dept);\n \tString num = strCheckDept.substring(strCheckDept.length() - 3, strCheckDept.length());\n \tif(!num.equals(\"000\")){\n \t\tint numnum = Integer.parseInt(num);\n \t\tdept = dept + 1000 - numnum;\n \t}\n }\n System.out.println(dept); \n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "int deptWeek = Integer.parseInt(line);", "deptWeek", "Integer.parseInt(line)", "Integer.parseInt", "Integer", "line", "int dept = 100000;", "dept", "100000", "for(int i = 0; i < deptWeek; i++ ){\n \tint checkDept = (int)(dept * 0.05);\n \tdept = dept + checkDept;\n \tString strCheckDept = String.valueOf(dept);\n \tString num = strCheckDept.substring(strCheckDept.length() - 3, strCheckDept.length());\n \tif(!num.equals(\"000\")){\n \t\tint numnum = Integer.parseInt(num);\n \t\tdept = dept + 1000 - numnum;\n \t}\n }", "int i = 0;", "int i = 0;", "i", "0", "i < deptWeek", "i", "deptWeek", "i++", "i++", "i", "{\n \tint checkDept = (int)(dept * 0.05);\n \tdept = dept + checkDept;\n \tString strCheckDept = String.valueOf(dept);\n \tString num = strCheckDept.substring(strCheckDept.length() - 3, strCheckDept.length());\n \tif(!num.equals(\"000\")){\n \t\tint numnum = Integer.parseInt(num);\n \t\tdept = dept + 1000 - numnum;\n \t}\n }", "{\n \tint checkDept = (int)(dept * 0.05);\n \tdept = dept + checkDept;\n \tString strCheckDept = String.valueOf(dept);\n \tString num = strCheckDept.substring(strCheckDept.length() - 3, strCheckDept.length());\n \tif(!num.equals(\"000\")){\n \t\tint numnum = Integer.parseInt(num);\n \t\tdept = dept + 1000 - numnum;\n \t}\n }", "int checkDept = (int)(dept * 0.05);", "checkDept", "(int)(dept * 0.05)", "dept", "0.05", "dept = dept + checkDept", "dept", "dept + checkDept", "dept", "checkDept", "String strCheckDept = String.valueOf(dept);", "strCheckDept", "String.valueOf(dept)", "String.valueOf", "String", "dept", "String num = strCheckDept.substring(strCheckDept.length() - 3, strCheckDept.length());", "num", "strCheckDept.substring(strCheckDept.length() - 3, strCheckDept.length())", "strCheckDept.substring", "strCheckDept", "strCheckDept.length() - 3", "strCheckDept.length()", "strCheckDept.length", "strCheckDept", "3", "strCheckDept.length()", "strCheckDept.length", "strCheckDept", "if(!num.equals(\"000\")){\n \t\tint numnum = Integer.parseInt(num);\n \t\tdept = dept + 1000 - numnum;\n \t}", "!num.equals(\"000\")", "num.equals(\"000\")", "num.equals", "num", "\"000\"", "{\n \t\tint numnum = Integer.parseInt(num);\n \t\tdept = dept + 1000 - numnum;\n \t}", "int numnum = Integer.parseInt(num);", "numnum", "Integer.parseInt(num)", "Integer.parseInt", "Integer", "num", "dept = dept + 1000 - numnum", "dept", "dept + 1000 - numnum", "dept + 1000", "dept", "1000", "numnum", "System.out.println(dept)", "System.out.println", "System.out", "System", "System.out", "dept", "String[] args", "args" ]
import java.io.*; class Main { public static void main(String[] args) { try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\???????????????????????? String line = br.readLine(); int deptWeek = Integer.parseInt(line); int dept = 100000; for(int i = 0; i < deptWeek; i++ ){ int checkDept = (int)(dept * 0.05); dept = dept + checkDept; String strCheckDept = String.valueOf(dept); String num = strCheckDept.substring(strCheckDept.length() - 3, strCheckDept.length()); if(!num.equals("000")){ int numnum = Integer.parseInt(num); dept = dept + 1000 - numnum; } } System.out.println(dept); } catch (Exception e) { e.printStackTrace(); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 0, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 2, 13, 17, 0, 13, 2, 13, 17, 41, 13, 20, 0, 13, 4, 18, 4, 18, 13, 17, 18, 13, 13, 0, 13, 2, 13, 17, 0, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 17, 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 ], [ 91, 11 ], [ 11, 12 ], [ 11, 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 ], [ 13, 28 ], [ 28, 29 ], [ 28, 30 ], [ 13, 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 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 43, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 43, 56 ], [ 56, 57 ], [ 56, 58 ], [ 43, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 63, 67 ], [ 67, 68 ], [ 67, 69 ], [ 43, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 43, 75 ], [ 75, 76 ], [ 75, 77 ], [ 13, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 13, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 11, 88 ], [ 88, 89 ], [ 0, 90 ], [ 90, 91 ], [ 90, 92 ] ]
[ "import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main{\n\tprivate static Scanner scan;\n\tpublic static void main(String[] args) {\n\t\tscan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.next());\n\t\tdouble s = 100000;\n\t\tdouble sa = 0;\n\t\tfor(int i = 1;i <= n;i++){\n\t\t\ts = s + s*0.05;\n\t\t\ts = s / 1000;\n\t\t\tBigDecimal bi = new BigDecimal(String.valueOf(s));\n\t\t\tsa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue();\n\t\t\tsa = sa*1000;\n\t\t\ts = sa;\n\t\t}\n\t\tSystem.out.println((int)sa);\n\t\tSystem.exit(0);\n\t}\n}", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tprivate static Scanner scan;\n\tpublic static void main(String[] args) {\n\t\tscan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.next());\n\t\tdouble s = 100000;\n\t\tdouble sa = 0;\n\t\tfor(int i = 1;i <= n;i++){\n\t\t\ts = s + s*0.05;\n\t\t\ts = s / 1000;\n\t\t\tBigDecimal bi = new BigDecimal(String.valueOf(s));\n\t\t\tsa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue();\n\t\t\tsa = sa*1000;\n\t\t\ts = sa;\n\t\t}\n\t\tSystem.out.println((int)sa);\n\t\tSystem.exit(0);\n\t}\n}", "Main", "private static Scanner scan;", "scan", "public static void main(String[] args) {\n\t\tscan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.next());\n\t\tdouble s = 100000;\n\t\tdouble sa = 0;\n\t\tfor(int i = 1;i <= n;i++){\n\t\t\ts = s + s*0.05;\n\t\t\ts = s / 1000;\n\t\t\tBigDecimal bi = new BigDecimal(String.valueOf(s));\n\t\t\tsa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue();\n\t\t\tsa = sa*1000;\n\t\t\ts = sa;\n\t\t}\n\t\tSystem.out.println((int)sa);\n\t\tSystem.exit(0);\n\t}", "main", "{\n\t\tscan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.next());\n\t\tdouble s = 100000;\n\t\tdouble sa = 0;\n\t\tfor(int i = 1;i <= n;i++){\n\t\t\ts = s + s*0.05;\n\t\t\ts = s / 1000;\n\t\t\tBigDecimal bi = new BigDecimal(String.valueOf(s));\n\t\t\tsa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue();\n\t\t\tsa = sa*1000;\n\t\t\ts = sa;\n\t\t}\n\t\tSystem.out.println((int)sa);\n\t\tSystem.exit(0);\n\t}", "scan = new Scanner(System.in)", "scan", "new Scanner(System.in)", "int n = Integer.parseInt(scan.next());", "n", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "double s = 100000;", "s", "100000", "double sa = 0;", "sa", "0", "for(int i = 1;i <= n;i++){\n\t\t\ts = s + s*0.05;\n\t\t\ts = s / 1000;\n\t\t\tBigDecimal bi = new BigDecimal(String.valueOf(s));\n\t\t\tsa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue();\n\t\t\tsa = sa*1000;\n\t\t\ts = sa;\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n\t\t\ts = s + s*0.05;\n\t\t\ts = s / 1000;\n\t\t\tBigDecimal bi = new BigDecimal(String.valueOf(s));\n\t\t\tsa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue();\n\t\t\tsa = sa*1000;\n\t\t\ts = sa;\n\t\t}", "{\n\t\t\ts = s + s*0.05;\n\t\t\ts = s / 1000;\n\t\t\tBigDecimal bi = new BigDecimal(String.valueOf(s));\n\t\t\tsa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue();\n\t\t\tsa = sa*1000;\n\t\t\ts = sa;\n\t\t}", "s = s + s*0.05", "s", "s + s*0.05", "s", "s*0.05", "s", "0.05", "s = s / 1000", "s", "s / 1000", "s", "1000", "BigDecimal bi = new BigDecimal(String.valueOf(s));", "bi", "new BigDecimal(String.valueOf(s))", "sa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue()", "sa", "bi.setScale(0,BigDecimal.ROUND_UP).doubleValue()", "bi.setScale(0,BigDecimal.ROUND_UP).doubleValue", "bi.setScale(0,BigDecimal.ROUND_UP)", "bi.setScale", "bi", "0", "BigDecimal.ROUND_UP", "BigDecimal", "BigDecimal.ROUND_UP", "sa = sa*1000", "sa", "sa*1000", "sa", "1000", "s = sa", "s", "sa", "System.out.println((int)sa)", "System.out.println", "System.out", "System", "System.out", "(int)sa", "System.exit(0)", "System.exit", "System", "0", "String[] args", "args", "public class Main{\n\tprivate static Scanner scan;\n\tpublic static void main(String[] args) {\n\t\tscan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.next());\n\t\tdouble s = 100000;\n\t\tdouble sa = 0;\n\t\tfor(int i = 1;i <= n;i++){\n\t\t\ts = s + s*0.05;\n\t\t\ts = s / 1000;\n\t\t\tBigDecimal bi = new BigDecimal(String.valueOf(s));\n\t\t\tsa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue();\n\t\t\tsa = sa*1000;\n\t\t\ts = sa;\n\t\t}\n\t\tSystem.out.println((int)sa);\n\t\tSystem.exit(0);\n\t}\n}", "public class Main{\n\tprivate static Scanner scan;\n\tpublic static void main(String[] args) {\n\t\tscan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.next());\n\t\tdouble s = 100000;\n\t\tdouble sa = 0;\n\t\tfor(int i = 1;i <= n;i++){\n\t\t\ts = s + s*0.05;\n\t\t\ts = s / 1000;\n\t\t\tBigDecimal bi = new BigDecimal(String.valueOf(s));\n\t\t\tsa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue();\n\t\t\tsa = sa*1000;\n\t\t\ts = sa;\n\t\t}\n\t\tSystem.out.println((int)sa);\n\t\tSystem.exit(0);\n\t}\n}", "Main" ]
import java.math.BigDecimal; import java.util.Scanner; public class Main{ private static Scanner scan; public static void main(String[] args) { scan = new Scanner(System.in); int n = Integer.parseInt(scan.next()); double s = 100000; double sa = 0; for(int i = 1;i <= n;i++){ s = s + s*0.05; s = s / 1000; BigDecimal bi = new BigDecimal(String.valueOf(s)); sa = bi.setScale(0,BigDecimal.ROUND_UP).doubleValue(); sa = sa*1000; s = sa; } System.out.println((int)sa); System.exit(0); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 2, 2, 13, 17, 17, 17, 4, 18, 18, 13, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 55, 5 ], [ 55, 6 ], [ 6, 7 ], [ 6, 8 ], [ 55, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 11, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 35, 44 ], [ 11, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 45, 51 ], [ 9, 52 ], [ 52, 53 ], [ 0, 54 ], [ 54, 55 ], [ 54, 56 ] ]
[ "import java.util.*;\n\npublic class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tint n = scan.nextInt();\n\t\tlong mon = 100_000;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tmon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000;\n\t\t}\n\t\tSystem.out.printf(\"%d\\n\", mon);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tint n = scan.nextInt();\n\t\tlong mon = 100_000;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tmon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000;\n\t\t}\n\t\tSystem.out.printf(\"%d\\n\", mon);\n\t}\n}", "Main", "private static final Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "public static void main(String[] args){\n\t\tint n = scan.nextInt();\n\t\tlong mon = 100_000;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tmon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000;\n\t\t}\n\t\tSystem.out.printf(\"%d\\n\", mon);\n\t}", "main", "{\n\t\tint n = scan.nextInt();\n\t\tlong mon = 100_000;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tmon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000;\n\t\t}\n\t\tSystem.out.printf(\"%d\\n\", mon);\n\t}", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "long mon = 100_000;", "mon", "100_000", "for(int i = 0; i < n; i++){\n\t\t\tmon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tmon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000;\n\t\t}", "{\n\t\t\tmon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000;\n\t\t}", "mon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000", "mon", "(long) Math.ceil(mon * 1.05 / 1000.0) * 1000", "(long) Math.ceil(mon * 1.05 / 1000.0)", "Math.ceil", "Math", "mon * 1.05 / 1000.0", "mon * 1.05", "mon", "1.05", "1000.0", "1000", "System.out.printf(\"%d\\n\", mon)", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "mon", "String[] args", "args", "public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tint n = scan.nextInt();\n\t\tlong mon = 100_000;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tmon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000;\n\t\t}\n\t\tSystem.out.printf(\"%d\\n\", mon);\n\t}\n}", "public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tint n = scan.nextInt();\n\t\tlong mon = 100_000;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tmon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000;\n\t\t}\n\t\tSystem.out.printf(\"%d\\n\", mon);\n\t}\n}", "Main" ]
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ int n = scan.nextInt(); long mon = 100_000; for(int i = 0; i < n; i++){ mon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000; } System.out.printf("%d\n", mon); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 2, 2, 13, 17, 17, 0, 13, 2, 13, 17, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 63, 5 ], [ 63, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 23, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 35, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 35, 51 ], [ 51, 52 ], [ 51, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 6, 60 ], [ 60, 61 ], [ 0, 62 ], [ 62, 63 ], [ 62, 64 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tdouble k = 100000;\n\t\tint T = 0;\n\t\tfor(int a = 0;a < n;a++){\n\t\t\tk = Math.ceil((k*1.05)/1000);\n\t\t\tk = k*1000;\n\t\t\tT = (int)k;\n\t\t}\n\t\tSystem.out.println(T);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tdouble k = 100000;\n\t\tint T = 0;\n\t\tfor(int a = 0;a < n;a++){\n\t\t\tk = Math.ceil((k*1.05)/1000);\n\t\t\tk = k*1000;\n\t\t\tT = (int)k;\n\t\t}\n\t\tSystem.out.println(T);\n\t}\n}", "Main", "public static void main(String[] args) throws java.io.IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tdouble k = 100000;\n\t\tint T = 0;\n\t\tfor(int a = 0;a < n;a++){\n\t\t\tk = Math.ceil((k*1.05)/1000);\n\t\t\tk = k*1000;\n\t\t\tT = (int)k;\n\t\t}\n\t\tSystem.out.println(T);\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tdouble k = 100000;\n\t\tint T = 0;\n\t\tfor(int a = 0;a < n;a++){\n\t\t\tk = Math.ceil((k*1.05)/1000);\n\t\t\tk = k*1000;\n\t\t\tT = (int)k;\n\t\t}\n\t\tSystem.out.println(T);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "double k = 100000;", "k", "100000", "int T = 0;", "T", "0", "for(int a = 0;a < n;a++){\n\t\t\tk = Math.ceil((k*1.05)/1000);\n\t\t\tk = k*1000;\n\t\t\tT = (int)k;\n\t\t}", "int a = 0;", "int a = 0;", "a", "0", "a < n", "a", "n", "a++", "a++", "a", "{\n\t\t\tk = Math.ceil((k*1.05)/1000);\n\t\t\tk = k*1000;\n\t\t\tT = (int)k;\n\t\t}", "{\n\t\t\tk = Math.ceil((k*1.05)/1000);\n\t\t\tk = k*1000;\n\t\t\tT = (int)k;\n\t\t}", "k = Math.ceil((k*1.05)/1000)", "k", "Math.ceil((k*1.05)/1000)", "Math.ceil", "Math", "(k*1.05)/1000", "(k*1.05)", "k", "1.05", "1000", "k = k*1000", "k", "k*1000", "k", "1000", "T = (int)k", "T", "(int)k", "System.out.println(T)", "System.out.println", "System.out", "System", "System.out", "T", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tdouble k = 100000;\n\t\tint T = 0;\n\t\tfor(int a = 0;a < n;a++){\n\t\t\tk = Math.ceil((k*1.05)/1000);\n\t\t\tk = k*1000;\n\t\t\tT = (int)k;\n\t\t}\n\t\tSystem.out.println(T);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tdouble k = 100000;\n\t\tint T = 0;\n\t\tfor(int a = 0;a < n;a++){\n\t\t\tk = Math.ceil((k*1.05)/1000);\n\t\t\tk = k*1000;\n\t\t\tT = (int)k;\n\t\t}\n\t\tSystem.out.println(T);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) throws java.io.IOException { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); double k = 100000; int T = 0; for(int a = 0;a < n;a++){ k = Math.ceil((k*1.05)/1000); k = k*1000; T = (int)k; } System.out.println(T); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 13, 13, 17, 18, 13, 13, 0, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 82, 8 ], [ 82, 9 ], [ 9, 10 ], [ 9, 11 ], [ 82, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 82, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 82, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 26, 35 ], [ 35, 36 ], [ 35, 37 ], [ 26, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 38, 46 ], [ 46, 47 ], [ 47, 48 ], [ 38, 49 ], [ 50, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 53, 59 ], [ 53, 60 ], [ 53, 61 ], [ 61, 62 ], [ 61, 63 ], [ 50, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 26, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 24, 79 ], [ 79, 80 ], [ 0, 81 ], [ 81, 82 ], [ 81, 83 ] ]
[ "import java.math.BigDecimal;\nimport java.util.Scanner;\n\n/**\n * 0007:Debt Hell\n * \n * @author MS14A\n * @version 2015/04/08\n */\npublic class Main {\n\n /** 初期借金額:10万円 */\n private static final BigDecimal INITIAL_DEBT = new BigDecimal(\"100000\");\n\n /** 利子:5% */\n private static final BigDecimal INTEREST_RATE = BigDecimal.valueOf(0.05);\n\n /** 繰り上げ計算用 */\n private static final BigDecimal DIVISOR = BigDecimal.valueOf(1000);\n\n /**\n * 某国に住んでいる友達がお金に困って、あるヤミ金融業者から 10 万円の借金をしたまま、<br>\n * 全く返済していないといいます。<br>\n * この業者は、一週間ごとに 5% の利子を借金に加え、さらに借金の 1,000 円未満を切り上げます。<br>\n * n を入力したとき、n 週間後の借金の残高を出力し終了するプログラムを作成して下さい。<br>\n * n は 100 以下とします。\n * \n * @param args\n * n\n */\n public static void main(String[] args) {\n Scanner scanned = new Scanner(System.in);\n int weeks = scanned.nextInt();\n BigDecimal finalDebt = INITIAL_DEBT;\n\n for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR));\n }\n\n System.out.println(finalDebt);\n }\n\n}", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n /** 初期借金額:10万円 */\n private static final BigDecimal INITIAL_DEBT = new BigDecimal(\"100000\");\n\n /** 利子:5% */\n private static final BigDecimal INTEREST_RATE = BigDecimal.valueOf(0.05);\n\n /** 繰り上げ計算用 */\n private static final BigDecimal DIVISOR = BigDecimal.valueOf(1000);\n\n /**\n * 某国に住んでいる友達がお金に困って、あるヤミ金融業者から 10 万円の借金をしたまま、<br>\n * 全く返済していないといいます。<br>\n * この業者は、一週間ごとに 5% の利子を借金に加え、さらに借金の 1,000 円未満を切り上げます。<br>\n * n を入力したとき、n 週間後の借金の残高を出力し終了するプログラムを作成して下さい。<br>\n * n は 100 以下とします。\n * \n * @param args\n * n\n */\n public static void main(String[] args) {\n Scanner scanned = new Scanner(System.in);\n int weeks = scanned.nextInt();\n BigDecimal finalDebt = INITIAL_DEBT;\n\n for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR));\n }\n\n System.out.println(finalDebt);\n }\n\n}", "Main", "/** 初期借金額:10万円 */\n private static final BigDecimal INITIAL_DEBT = new BigDecimal(\"100000\");", "INITIAL_DEBT", "new BigDecimal(\"100000\")", "/** 利子:5% */\n private static final BigDecimal INTEREST_RATE = BigDecimal.valueOf(0.05);", "INTEREST_RATE", "BigDecimal.valueOf(0.05)", "BigDecimal.valueOf", "BigDecimal", "0.05", "/** 繰り上げ計算用 */\n private static final BigDecimal DIVISOR = BigDecimal.valueOf(1000);", "DIVISOR", "BigDecimal.valueOf(1000)", "BigDecimal.valueOf", "BigDecimal", "1000", "/**\n * 某国に住んでいる友達がお金に困って、あるヤミ金融業者から 10 万円の借金をしたまま、<br>\n * 全く返済していないといいます。<br>\n * この業者は、一週間ごとに 5% の利子を借金に加え、さらに借金の 1,000 円未満を切り上げます。<br>\n * n を入力したとき、n 週間後の借金の残高を出力し終了するプログラムを作成して下さい。<br>\n * n は 100 以下とします。\n * \n * @param args\n * n\n */\n public static void main(String[] args) {\n Scanner scanned = new Scanner(System.in);\n int weeks = scanned.nextInt();\n BigDecimal finalDebt = INITIAL_DEBT;\n\n for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR));\n }\n\n System.out.println(finalDebt);\n }", "main", "{\n Scanner scanned = new Scanner(System.in);\n int weeks = scanned.nextInt();\n BigDecimal finalDebt = INITIAL_DEBT;\n\n for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR));\n }\n\n System.out.println(finalDebt);\n }", "Scanner scanned = new Scanner(System.in);", "scanned", "new Scanner(System.in)", "int weeks = scanned.nextInt();", "weeks", "scanned.nextInt()", "scanned.nextInt", "scanned", "BigDecimal finalDebt = INITIAL_DEBT;", "finalDebt", "INITIAL_DEBT", "for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR));\n }", "int i = 0;", "int i = 0;", "i", "0", "i < weeks", "i", "weeks", "i++", "i++", "i", "{\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR));\n }", "{\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR));\n }", "BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);", "interestAmount", "finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP)", "finalDebt.multiply(INTEREST_RATE)\n .divide", "finalDebt.multiply(INTEREST_RATE)", "finalDebt.multiply", "finalDebt", "INTEREST_RATE", "DIVISOR", "0", "BigDecimal.ROUND_UP", "BigDecimal", "BigDecimal.ROUND_UP", "finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR))", "finalDebt", "finalDebt.add(interestAmount.multiply(DIVISOR))", "finalDebt.add", "finalDebt", "interestAmount.multiply(DIVISOR)", "interestAmount.multiply", "interestAmount", "DIVISOR", "System.out.println(finalDebt)", "System.out.println", "System.out", "System", "System.out", "finalDebt", "String[] args", "args", "public class Main {\n\n /** 初期借金額:10万円 */\n private static final BigDecimal INITIAL_DEBT = new BigDecimal(\"100000\");\n\n /** 利子:5% */\n private static final BigDecimal INTEREST_RATE = BigDecimal.valueOf(0.05);\n\n /** 繰り上げ計算用 */\n private static final BigDecimal DIVISOR = BigDecimal.valueOf(1000);\n\n /**\n * 某国に住んでいる友達がお金に困って、あるヤミ金融業者から 10 万円の借金をしたまま、<br>\n * 全く返済していないといいます。<br>\n * この業者は、一週間ごとに 5% の利子を借金に加え、さらに借金の 1,000 円未満を切り上げます。<br>\n * n を入力したとき、n 週間後の借金の残高を出力し終了するプログラムを作成して下さい。<br>\n * n は 100 以下とします。\n * \n * @param args\n * n\n */\n public static void main(String[] args) {\n Scanner scanned = new Scanner(System.in);\n int weeks = scanned.nextInt();\n BigDecimal finalDebt = INITIAL_DEBT;\n\n for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR));\n }\n\n System.out.println(finalDebt);\n }\n\n}", "public class Main {\n\n /** 初期借金額:10万円 */\n private static final BigDecimal INITIAL_DEBT = new BigDecimal(\"100000\");\n\n /** 利子:5% */\n private static final BigDecimal INTEREST_RATE = BigDecimal.valueOf(0.05);\n\n /** 繰り上げ計算用 */\n private static final BigDecimal DIVISOR = BigDecimal.valueOf(1000);\n\n /**\n * 某国に住んでいる友達がお金に困って、あるヤミ金融業者から 10 万円の借金をしたまま、<br>\n * 全く返済していないといいます。<br>\n * この業者は、一週間ごとに 5% の利子を借金に加え、さらに借金の 1,000 円未満を切り上げます。<br>\n * n を入力したとき、n 週間後の借金の残高を出力し終了するプログラムを作成して下さい。<br>\n * n は 100 以下とします。\n * \n * @param args\n * n\n */\n public static void main(String[] args) {\n Scanner scanned = new Scanner(System.in);\n int weeks = scanned.nextInt();\n BigDecimal finalDebt = INITIAL_DEBT;\n\n for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR));\n }\n\n System.out.println(finalDebt);\n }\n\n}", "Main" ]
import java.math.BigDecimal; import java.util.Scanner; /** * 0007:Debt Hell * * @author MS14A * @version 2015/04/08 */ public class Main { /** 初期借金額:10万円 */ private static final BigDecimal INITIAL_DEBT = new BigDecimal("100000"); /** 利子:5% */ private static final BigDecimal INTEREST_RATE = BigDecimal.valueOf(0.05); /** 繰り上げ計算用 */ private static final BigDecimal DIVISOR = BigDecimal.valueOf(1000); /** * 某国に住んでいる友達がお金に困って、あるヤミ金融業者から 10 万円の借金をしたまま、<br> * 全く返済していないといいます。<br> * この業者は、一週間ごとに 5% の利子を借金に加え、さらに借金の 1,000 円未満を切り上げます。<br> * n を入力したとき、n 週間後の借金の残高を出力し終了するプログラムを作成して下さい。<br> * n は 100 以下とします。 * * @param args * n */ public static void main(String[] args) { Scanner scanned = new Scanner(System.in); int weeks = scanned.nextInt(); BigDecimal finalDebt = INITIAL_DEBT; for (int i = 0; i < weeks; i++) { // 利子額計算。1000で割った小数部を繰り上げる。 BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE) .divide(DIVISOR, 0, BigDecimal.ROUND_UP); // 借金額 = 前週の借金額 + 利子額 finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR)); } System.out.println(finalDebt); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 17, 0, 13, 4, 18, 13, 42, 2, 13, 17, 30, 0, 13, 2, 2, 13, 17, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 17, 0, 13, 17, 0, 13, 17, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 14, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 34, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 44, 46 ], [ 40, 47 ], [ 47, 48 ], [ 47, 49 ], [ 26, 50 ], [ 50, 51 ], [ 8, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 6, 58 ], [ 58, 59 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args){\n\t\tScanner cin = new Scanner(System.in);\n\t\t\n\t\tint n;\n\t\tint ans = 100000;\n\t\t\n\t\tn = cin.nextInt();\n\t\t\n\t\twhile (n > 0){\n\t\t\tans += ans / 100 * 5;\n\t\t\tif (ans % 1000 != 0){\n\t\t\t\tans /= 1000;\n\t\t\t\tans *= 1000;\n\t\t\t\tans += 1000;\n\t\t\t}\n\t\t\tn--;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tpublic static void main(String[] args){\n\t\tScanner cin = new Scanner(System.in);\n\t\t\n\t\tint n;\n\t\tint ans = 100000;\n\t\t\n\t\tn = cin.nextInt();\n\t\t\n\t\twhile (n > 0){\n\t\t\tans += ans / 100 * 5;\n\t\t\tif (ans % 1000 != 0){\n\t\t\t\tans /= 1000;\n\t\t\t\tans *= 1000;\n\t\t\t\tans += 1000;\n\t\t\t}\n\t\t\tn--;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner cin = new Scanner(System.in);\n\t\t\n\t\tint n;\n\t\tint ans = 100000;\n\t\t\n\t\tn = cin.nextInt();\n\t\t\n\t\twhile (n > 0){\n\t\t\tans += ans / 100 * 5;\n\t\t\tif (ans % 1000 != 0){\n\t\t\t\tans /= 1000;\n\t\t\t\tans *= 1000;\n\t\t\t\tans += 1000;\n\t\t\t}\n\t\t\tn--;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t}", "main", "{\n\t\tScanner cin = new Scanner(System.in);\n\t\t\n\t\tint n;\n\t\tint ans = 100000;\n\t\t\n\t\tn = cin.nextInt();\n\t\t\n\t\twhile (n > 0){\n\t\t\tans += ans / 100 * 5;\n\t\t\tif (ans % 1000 != 0){\n\t\t\t\tans /= 1000;\n\t\t\t\tans *= 1000;\n\t\t\t\tans += 1000;\n\t\t\t}\n\t\t\tn--;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t}", "Scanner cin = new Scanner(System.in);", "cin", "new Scanner(System.in)", "int n;", "n", "int ans = 100000;", "ans", "100000", "n = cin.nextInt()", "n", "cin.nextInt()", "cin.nextInt", "cin", "while (n > 0){\n\t\t\tans += ans / 100 * 5;\n\t\t\tif (ans % 1000 != 0){\n\t\t\t\tans /= 1000;\n\t\t\t\tans *= 1000;\n\t\t\t\tans += 1000;\n\t\t\t}\n\t\t\tn--;\n\t\t}", "n > 0", "n", "0", "{\n\t\t\tans += ans / 100 * 5;\n\t\t\tif (ans % 1000 != 0){\n\t\t\t\tans /= 1000;\n\t\t\t\tans *= 1000;\n\t\t\t\tans += 1000;\n\t\t\t}\n\t\t\tn--;\n\t\t}", "ans += ans / 100 * 5", "ans", "ans / 100 * 5", "ans / 100", "ans", "100", "5", "if (ans % 1000 != 0){\n\t\t\t\tans /= 1000;\n\t\t\t\tans *= 1000;\n\t\t\t\tans += 1000;\n\t\t\t}", "ans % 1000 != 0", "ans % 1000", "ans", "1000", "0", "{\n\t\t\t\tans /= 1000;\n\t\t\t\tans *= 1000;\n\t\t\t\tans += 1000;\n\t\t\t}", "ans /= 1000", "ans", "1000", "ans *= 1000", "ans", "1000", "ans += 1000", "ans", "1000", "n--", "n", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner cin = new Scanner(System.in); int n; int ans = 100000; n = cin.nextInt(); while (n > 0){ ans += ans / 100 * 5; if (ans % 1000 != 0){ ans /= 1000; ans *= 1000; ans += 1000; } n--; } System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 17, 13, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 2, 13, 2, 13, 17, 17, 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 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 23, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 35, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 50, 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.*;\npublic class Main{\n public static void main(String [] args){\n Scanner sc = new Scanner(System.in);\n int gankin = 100000, week = sc.nextInt();\n double risoku = 0.05;\n for(int i = 0;i < week;i++){\n gankin *= (1 + risoku);\n if(gankin % 1000 != 0){\n gankin = gankin - (gankin % 1000) + 1000;\n }\n }\n System.out.println(gankin);\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 gankin = 100000, week = sc.nextInt();\n double risoku = 0.05;\n for(int i = 0;i < week;i++){\n gankin *= (1 + risoku);\n if(gankin % 1000 != 0){\n gankin = gankin - (gankin % 1000) + 1000;\n }\n }\n System.out.println(gankin);\n }\n}", "Main", "public static void main(String [] args){\n Scanner sc = new Scanner(System.in);\n int gankin = 100000, week = sc.nextInt();\n double risoku = 0.05;\n for(int i = 0;i < week;i++){\n gankin *= (1 + risoku);\n if(gankin % 1000 != 0){\n gankin = gankin - (gankin % 1000) + 1000;\n }\n }\n System.out.println(gankin);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int gankin = 100000, week = sc.nextInt();\n double risoku = 0.05;\n for(int i = 0;i < week;i++){\n gankin *= (1 + risoku);\n if(gankin % 1000 != 0){\n gankin = gankin - (gankin % 1000) + 1000;\n }\n }\n System.out.println(gankin);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int gankin = 100000", "gankin", "100000", "week = sc.nextInt();", "week", "sc.nextInt()", "sc.nextInt", "sc", "double risoku = 0.05;", "risoku", "0.05", "for(int i = 0;i < week;i++){\n gankin *= (1 + risoku);\n if(gankin % 1000 != 0){\n gankin = gankin - (gankin % 1000) + 1000;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < week", "i", "week", "i++", "i++", "i", "{\n gankin *= (1 + risoku);\n if(gankin % 1000 != 0){\n gankin = gankin - (gankin % 1000) + 1000;\n }\n }", "{\n gankin *= (1 + risoku);\n if(gankin % 1000 != 0){\n gankin = gankin - (gankin % 1000) + 1000;\n }\n }", "gankin *= (1 + risoku)", "gankin", "(1 + risoku)", "1", "risoku", "if(gankin % 1000 != 0){\n gankin = gankin - (gankin % 1000) + 1000;\n }", "gankin % 1000 != 0", "gankin % 1000", "gankin", "1000", "0", "{\n gankin = gankin - (gankin % 1000) + 1000;\n }", "gankin = gankin - (gankin % 1000) + 1000", "gankin", "gankin - (gankin % 1000) + 1000", "gankin - (gankin % 1000)", "gankin", "(gankin % 1000)", "gankin", "1000", "1000", "System.out.println(gankin)", "System.out.println", "System.out", "System", "System.out", "gankin", "String [] args", "args", "public class Main{\n public static void main(String [] args){\n Scanner sc = new Scanner(System.in);\n int gankin = 100000, week = sc.nextInt();\n double risoku = 0.05;\n for(int i = 0;i < week;i++){\n gankin *= (1 + risoku);\n if(gankin % 1000 != 0){\n gankin = gankin - (gankin % 1000) + 1000;\n }\n }\n System.out.println(gankin);\n }\n}", "public class Main{\n public static void main(String [] args){\n Scanner sc = new Scanner(System.in);\n int gankin = 100000, week = sc.nextInt();\n double risoku = 0.05;\n for(int i = 0;i < week;i++){\n gankin *= (1 + risoku);\n if(gankin % 1000 != 0){\n gankin = gankin - (gankin % 1000) + 1000;\n }\n }\n System.out.println(gankin);\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String [] args){ Scanner sc = new Scanner(System.in); int gankin = 100000, week = sc.nextInt(); double risoku = 0.05; for(int i = 0;i < week;i++){ gankin *= (1 + risoku); if(gankin % 1000 != 0){ gankin = gankin - (gankin % 1000) + 1000; } } System.out.println(gankin); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 41, 13, 2, 13, 17, 14, 2, 13, 17, 30, 0, 13, 2, 17, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 60, 5 ], [ 60, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 32, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 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{\n\tpublic static void main(String[] args) \n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tlong debt = 100000;\n\t\tfor(int i = 0; i < n; ++i)\n\t\t{\n\t\t\tdebt *= 1.05;\n\t\t\tlong lessThanThousand = debt % 1000;\n\t\t\tif(lessThanThousand > 0)\n\t\t\t{\n\t\t\t\tdebt += 1000 - lessThanThousand;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main \n{\n\tpublic static void main(String[] args) \n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tlong debt = 100000;\n\t\tfor(int i = 0; i < n; ++i)\n\t\t{\n\t\t\tdebt *= 1.05;\n\t\t\tlong lessThanThousand = debt % 1000;\n\t\t\tif(lessThanThousand > 0)\n\t\t\t{\n\t\t\t\tdebt += 1000 - lessThanThousand;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n}", "Main", "public static void main(String[] args) \n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tlong debt = 100000;\n\t\tfor(int i = 0; i < n; ++i)\n\t\t{\n\t\t\tdebt *= 1.05;\n\t\t\tlong lessThanThousand = debt % 1000;\n\t\t\tif(lessThanThousand > 0)\n\t\t\t{\n\t\t\t\tdebt += 1000 - lessThanThousand;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(debt);\n\t}", "main", "{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tlong debt = 100000;\n\t\tfor(int i = 0; i < n; ++i)\n\t\t{\n\t\t\tdebt *= 1.05;\n\t\t\tlong lessThanThousand = debt % 1000;\n\t\t\tif(lessThanThousand > 0)\n\t\t\t{\n\t\t\t\tdebt += 1000 - lessThanThousand;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(debt);\n\t}", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "int n = stdIn.nextInt();", "n", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "long debt = 100000;", "debt", "100000", "for(int i = 0; i < n; ++i)\n\t\t{\n\t\t\tdebt *= 1.05;\n\t\t\tlong lessThanThousand = debt % 1000;\n\t\t\tif(lessThanThousand > 0)\n\t\t\t{\n\t\t\t\tdebt += 1000 - lessThanThousand;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "++i", "++i", "i", "{\n\t\t\tdebt *= 1.05;\n\t\t\tlong lessThanThousand = debt % 1000;\n\t\t\tif(lessThanThousand > 0)\n\t\t\t{\n\t\t\t\tdebt += 1000 - lessThanThousand;\n\t\t\t}\n\t\t}", "{\n\t\t\tdebt *= 1.05;\n\t\t\tlong lessThanThousand = debt % 1000;\n\t\t\tif(lessThanThousand > 0)\n\t\t\t{\n\t\t\t\tdebt += 1000 - lessThanThousand;\n\t\t\t}\n\t\t}", "debt *= 1.05", "debt", "1.05", "long lessThanThousand = debt % 1000;", "lessThanThousand", "debt % 1000", "debt", "1000", "if(lessThanThousand > 0)\n\t\t\t{\n\t\t\t\tdebt += 1000 - lessThanThousand;\n\t\t\t}", "lessThanThousand > 0", "lessThanThousand", "0", "{\n\t\t\t\tdebt += 1000 - lessThanThousand;\n\t\t\t}", "debt += 1000 - lessThanThousand", "debt", "1000 - lessThanThousand", "1000", "lessThanThousand", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "String[] args", "args", "public class Main \n{\n\tpublic static void main(String[] args) \n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tlong debt = 100000;\n\t\tfor(int i = 0; i < n; ++i)\n\t\t{\n\t\t\tdebt *= 1.05;\n\t\t\tlong lessThanThousand = debt % 1000;\n\t\t\tif(lessThanThousand > 0)\n\t\t\t{\n\t\t\t\tdebt += 1000 - lessThanThousand;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n}", "public class Main \n{\n\tpublic static void main(String[] args) \n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tlong debt = 100000;\n\t\tfor(int i = 0; i < n; ++i)\n\t\t{\n\t\t\tdebt *= 1.05;\n\t\t\tlong lessThanThousand = debt % 1000;\n\t\t\tif(lessThanThousand > 0)\n\t\t\t{\n\t\t\t\tdebt += 1000 - lessThanThousand;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int n = stdIn.nextInt(); long debt = 100000; for(int i = 0; i < n; ++i) { debt *= 1.05; long lessThanThousand = debt % 1000; if(lessThanThousand > 0) { debt += 1000 - lessThanThousand; } } System.out.println(debt); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 17, 38, 5, 13, 30, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 30, 0, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 40, 17, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 102, 14 ], [ 102, 15 ], [ 15, 16 ], [ 15, 17 ], [ 102, 18 ], [ 18, 19 ], [ 18, 20 ], [ 102, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 27, 29 ], [ 23, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 30, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 51, 52 ], [ 23, 53 ], [ 53, 54 ], [ 53, 55 ], [ 23, 56 ], [ 56, 57 ], [ 56, 58 ], [ 23, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 64, 65 ], [ 64, 66 ], [ 59, 67 ], [ 67, 68 ], [ 68, 69 ], [ 59, 70 ], [ 71, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 71, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 86, 87 ], [ 83, 88 ], [ 88, 89 ], [ 88, 90 ], [ 23, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 97, 98 ], [ 21, 99 ], [ 99, 100 ], [ 0, 101 ], [ 101, 102 ], [ 101, 103 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\n\npublic class Main {\n // 利子\n final static String INTEREST = \"0.05\";\n // 元金\n final static String INIT_LOAN = \"100000\";\n\n public static void main(String[] args) {\n // 入力値を一行分取得する。\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Integer inputNumber = null;\n try {\n inputNumber = Integer.valueOf(br.readLine());\n } catch (IOException e) {\n System.out.println(\"inputError\" + e.getMessage());\n }\n\n BigDecimal interest = new BigDecimal(INTEREST);\n BigDecimal loan = new BigDecimal(INIT_LOAN);\n\n // n(入力値された値)年後の借金額を計算する。\n for (int i = 0; i < inputNumber; i++) {\n loan = loan.add(loan.multiply(interest));\n // 千円以下を切り上げ\n loan = loan.setScale(-3, BigDecimal.ROUND_UP);\n }\n System.out.println(loan.toBigInteger());\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.math.BigDecimal;", "BigDecimal", "java.math", "public class Main {\n // 利子\n final static String INTEREST = \"0.05\";\n // 元金\n final static String INIT_LOAN = \"100000\";\n\n public static void main(String[] args) {\n // 入力値を一行分取得する。\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Integer inputNumber = null;\n try {\n inputNumber = Integer.valueOf(br.readLine());\n } catch (IOException e) {\n System.out.println(\"inputError\" + e.getMessage());\n }\n\n BigDecimal interest = new BigDecimal(INTEREST);\n BigDecimal loan = new BigDecimal(INIT_LOAN);\n\n // n(入力値された値)年後の借金額を計算する。\n for (int i = 0; i < inputNumber; i++) {\n loan = loan.add(loan.multiply(interest));\n // 千円以下を切り上げ\n loan = loan.setScale(-3, BigDecimal.ROUND_UP);\n }\n System.out.println(loan.toBigInteger());\n }\n}", "Main", "// 利子\n final static String INTEREST = \"0.05\";", "INTEREST", "\"0.05\"", "// 元金\n final static String INIT_LOAN = \"100000\";", "INIT_LOAN", "\"100000\"", "public static void main(String[] args) {\n // 入力値を一行分取得する。\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Integer inputNumber = null;\n try {\n inputNumber = Integer.valueOf(br.readLine());\n } catch (IOException e) {\n System.out.println(\"inputError\" + e.getMessage());\n }\n\n BigDecimal interest = new BigDecimal(INTEREST);\n BigDecimal loan = new BigDecimal(INIT_LOAN);\n\n // n(入力値された値)年後の借金額を計算する。\n for (int i = 0; i < inputNumber; i++) {\n loan = loan.add(loan.multiply(interest));\n // 千円以下を切り上げ\n loan = loan.setScale(-3, BigDecimal.ROUND_UP);\n }\n System.out.println(loan.toBigInteger());\n }", "main", "{\n // 入力値を一行分取得する。\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Integer inputNumber = null;\n try {\n inputNumber = Integer.valueOf(br.readLine());\n } catch (IOException e) {\n System.out.println(\"inputError\" + e.getMessage());\n }\n\n BigDecimal interest = new BigDecimal(INTEREST);\n BigDecimal loan = new BigDecimal(INIT_LOAN);\n\n // n(入力値された値)年後の借金額を計算する。\n for (int i = 0; i < inputNumber; i++) {\n loan = loan.add(loan.multiply(interest));\n // 千円以下を切り上げ\n loan = loan.setScale(-3, BigDecimal.ROUND_UP);\n }\n System.out.println(loan.toBigInteger());\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "Integer inputNumber = null;", "inputNumber", "null", "try {\n inputNumber = Integer.valueOf(br.readLine());\n } catch (IOException e) {\n System.out.println(\"inputError\" + e.getMessage());\n }", "catch (IOException e) {\n System.out.println(\"inputError\" + e.getMessage());\n }", "IOException e", "{\n System.out.println(\"inputError\" + e.getMessage());\n }", "System.out.println(\"inputError\" + e.getMessage())", "System.out.println", "System.out", "System", "System.out", "\"inputError\" + e.getMessage()", "\"inputError\"", "e.getMessage()", "e.getMessage", "e", "{\n inputNumber = Integer.valueOf(br.readLine());\n }", "inputNumber = Integer.valueOf(br.readLine())", "inputNumber", "Integer.valueOf(br.readLine())", "Integer.valueOf", "Integer", "br.readLine()", "br.readLine", "br", "BigDecimal interest = new BigDecimal(INTEREST);", "interest", "new BigDecimal(INTEREST)", "BigDecimal loan = new BigDecimal(INIT_LOAN);", "loan", "new BigDecimal(INIT_LOAN)", "for (int i = 0; i < inputNumber; i++) {\n loan = loan.add(loan.multiply(interest));\n // 千円以下を切り上げ\n loan = loan.setScale(-3, BigDecimal.ROUND_UP);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < inputNumber", "i", "inputNumber", "i++", "i++", "i", "{\n loan = loan.add(loan.multiply(interest));\n // 千円以下を切り上げ\n loan = loan.setScale(-3, BigDecimal.ROUND_UP);\n }", "{\n loan = loan.add(loan.multiply(interest));\n // 千円以下を切り上げ\n loan = loan.setScale(-3, BigDecimal.ROUND_UP);\n }", "loan = loan.add(loan.multiply(interest))", "loan", "loan.add(loan.multiply(interest))", "loan.add", "loan", "loan.multiply(interest)", "loan.multiply", "loan", "interest", "loan = loan.setScale(-3, BigDecimal.ROUND_UP)", "loan", "loan.setScale(-3, BigDecimal.ROUND_UP)", "loan.setScale", "loan", "-3", "3", "BigDecimal.ROUND_UP", "BigDecimal", "BigDecimal.ROUND_UP", "System.out.println(loan.toBigInteger())", "System.out.println", "System.out", "System", "System.out", "loan.toBigInteger()", "loan.toBigInteger", "loan", "String[] args", "args", "public class Main {\n // 利子\n final static String INTEREST = \"0.05\";\n // 元金\n final static String INIT_LOAN = \"100000\";\n\n public static void main(String[] args) {\n // 入力値を一行分取得する。\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Integer inputNumber = null;\n try {\n inputNumber = Integer.valueOf(br.readLine());\n } catch (IOException e) {\n System.out.println(\"inputError\" + e.getMessage());\n }\n\n BigDecimal interest = new BigDecimal(INTEREST);\n BigDecimal loan = new BigDecimal(INIT_LOAN);\n\n // n(入力値された値)年後の借金額を計算する。\n for (int i = 0; i < inputNumber; i++) {\n loan = loan.add(loan.multiply(interest));\n // 千円以下を切り上げ\n loan = loan.setScale(-3, BigDecimal.ROUND_UP);\n }\n System.out.println(loan.toBigInteger());\n }\n}", "public class Main {\n // 利子\n final static String INTEREST = \"0.05\";\n // 元金\n final static String INIT_LOAN = \"100000\";\n\n public static void main(String[] args) {\n // 入力値を一行分取得する。\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Integer inputNumber = null;\n try {\n inputNumber = Integer.valueOf(br.readLine());\n } catch (IOException e) {\n System.out.println(\"inputError\" + e.getMessage());\n }\n\n BigDecimal interest = new BigDecimal(INTEREST);\n BigDecimal loan = new BigDecimal(INIT_LOAN);\n\n // n(入力値された値)年後の借金額を計算する。\n for (int i = 0; i < inputNumber; i++) {\n loan = loan.add(loan.multiply(interest));\n // 千円以下を切り上げ\n loan = loan.setScale(-3, BigDecimal.ROUND_UP);\n }\n System.out.println(loan.toBigInteger());\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigDecimal; public class Main { // 利子 final static String INTEREST = "0.05"; // 元金 final static String INIT_LOAN = "100000"; public static void main(String[] args) { // 入力値を一行分取得する。 BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Integer inputNumber = null; try { inputNumber = Integer.valueOf(br.readLine()); } catch (IOException e) { System.out.println("inputError" + e.getMessage()); } BigDecimal interest = new BigDecimal(INTEREST); BigDecimal loan = new BigDecimal(INIT_LOAN); // n(入力値された値)年後の借金額を計算する。 for (int i = 0; i < inputNumber; i++) { loan = loan.add(loan.multiply(interest)); // 千円以下を切り上げ loan = loan.setScale(-3, BigDecimal.ROUND_UP); } System.out.println(loan.toBigInteger()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 0, 13, 2, 2, 13, 17, 17, 14, 2, 13, 13, 0, 13, 2, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 22, 30 ], [ 30, 31 ], [ 31, 32 ], [ 22, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 34, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 6, 60 ], [ 60, 61 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n = scan.nextInt();\n\t\tint ans = 100000;\n\t\tint temp;\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tans *= 1.05;\n\t\t\ttemp = ans / 1000 * 1000;\n\t\t\tif(ans != temp)ans = temp + 1000;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n = scan.nextInt();\n\t\tint ans = 100000;\n\t\tint temp;\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tans *= 1.05;\n\t\t\ttemp = ans / 1000 * 1000;\n\t\t\tif(ans != temp)ans = temp + 1000;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}", "Main", "public static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n = scan.nextInt();\n\t\tint ans = 100000;\n\t\tint temp;\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tans *= 1.05;\n\t\t\ttemp = ans / 1000 * 1000;\n\t\t\tif(ans != temp)ans = temp + 1000;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n = scan.nextInt();\n\t\tint ans = 100000;\n\t\tint temp;\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tans *= 1.05;\n\t\t\ttemp = ans / 1000 * 1000;\n\t\t\tif(ans != temp)ans = temp + 1000;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int ans = 100000;", "ans", "100000", "int temp;", "temp", "for(int i = 0; i < n; i++){\n\t\t\tans *= 1.05;\n\t\t\ttemp = ans / 1000 * 1000;\n\t\t\tif(ans != temp)ans = temp + 1000;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tans *= 1.05;\n\t\t\ttemp = ans / 1000 * 1000;\n\t\t\tif(ans != temp)ans = temp + 1000;\n\t\t}", "{\n\t\t\tans *= 1.05;\n\t\t\ttemp = ans / 1000 * 1000;\n\t\t\tif(ans != temp)ans = temp + 1000;\n\t\t}", "ans *= 1.05", "ans", "1.05", "temp = ans / 1000 * 1000", "temp", "ans / 1000 * 1000", "ans / 1000", "ans", "1000", "1000", "if(ans != temp)ans = temp + 1000;", "ans != temp", "ans", "temp", "ans = temp + 1000", "ans", "temp + 1000", "temp", "1000", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String args[]", "args" ]
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int ans = 100000; int temp; for(int i = 0; i < n; i++){ ans *= 1.05; temp = ans / 1000 * 1000; if(ans != temp)ans = temp + 1000; } System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 42, 2, 40, 13, 17, 30, 0, 13, 2, 13, 17, 41, 13, 2, 13, 17, 14, 2, 13, 17, 0, 13, 2, 17, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 54, 5 ], [ 54, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 21, 24 ], [ 20, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 25, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 33, 35 ], [ 25, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 42, 44 ], [ 8, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 6, 51 ], [ 51, 52 ], [ 0, 53 ], [ 53, 54 ], [ 53, 55 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint debt = 100000;\n\t\twhile(n-- != 0) {\n\t\t\tdebt += debt*0.05;\n\t\t\tint a = debt%1000;\n\t\t\tif(a != 0) debt += 1000-a;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint debt = 100000;\n\t\twhile(n-- != 0) {\n\t\t\tdebt += debt*0.05;\n\t\t\tint a = debt%1000;\n\t\t\tif(a != 0) debt += 1000-a;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint debt = 100000;\n\t\twhile(n-- != 0) {\n\t\t\tdebt += debt*0.05;\n\t\t\tint a = debt%1000;\n\t\t\tif(a != 0) debt += 1000-a;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint debt = 100000;\n\t\twhile(n-- != 0) {\n\t\t\tdebt += debt*0.05;\n\t\t\tint a = debt%1000;\n\t\t\tif(a != 0) debt += 1000-a;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int debt = 100000;", "debt", "100000", "while(n-- != 0) {\n\t\t\tdebt += debt*0.05;\n\t\t\tint a = debt%1000;\n\t\t\tif(a != 0) debt += 1000-a;\n\t\t}", "n-- != 0", "n--", "n", "0", "{\n\t\t\tdebt += debt*0.05;\n\t\t\tint a = debt%1000;\n\t\t\tif(a != 0) debt += 1000-a;\n\t\t}", "debt += debt*0.05", "debt", "debt*0.05", "debt", "0.05", "int a = debt%1000;", "a", "debt%1000", "debt", "1000", "if(a != 0) debt += 1000-a;", "a != 0", "a", "0", "debt += 1000-a", "debt", "1000-a", "1000", "a", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint debt = 100000;\n\t\twhile(n-- != 0) {\n\t\t\tdebt += debt*0.05;\n\t\t\tint a = debt%1000;\n\t\t\tif(a != 0) debt += 1000-a;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint debt = 100000;\n\t\twhile(n-- != 0) {\n\t\t\tdebt += debt*0.05;\n\t\t\tint a = debt%1000;\n\t\t\tif(a != 0) debt += 1000-a;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int debt = 100000; while(n-- != 0) { debt += debt*0.05; int a = debt%1000; if(a != 0) debt += 1000-a; } System.out.println(debt); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 30, 41, 13, 2, 13, 17, 41, 13, 2, 13, 17, 14, 2, 13, 17, 30, 29, 4, 13, 13, 2, 13, 17, 30, 29, 4, 13, 2, 2, 2, 13, 17, 17, 17, 2, 13, 17, 23, 13, 23, 13, 12, 13, 30, 41, 13, 41, 13, 20, 0, 13, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 85, 5 ], [ 85, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 9, 13 ], [ 13, 14 ], [ 14, 15 ], [ 9, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 19, 21 ], [ 16, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 24, 26 ], [ 16, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 27, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 43, 49 ], [ 41, 50 ], [ 50, 51 ], [ 50, 52 ], [ 6, 53 ], [ 53, 54 ], [ 6, 55 ], [ 55, 56 ], [ 85, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 62, 63 ], [ 62, 64 ], [ 59, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 59, 70 ], [ 70, 71 ], [ 71, 72 ], [ 59, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 78, 81 ], [ 57, 82 ], [ 82, 83 ], [ 0, 84 ], [ 84, 85 ], [ 84, 86 ] ]
[ "import java.util.Scanner;\n\npublic class Main\n{\n\tprivate static int calcDebt(int debt,int n)\n\t{\n\t\tif(n==0){\n\t\t\treturn debt;\n\t\t}else{\n\t\t\tint nextdebt=(int)(debt*1.05);\n\t\t\tint rest=nextdebt%1000;\n\t\t\tif(rest==0){\n\t\t\t\treturn calcDebt(nextdebt,n-1);\n\t\t\t}else{\n\t\t\t\treturn calcDebt((nextdebt/1000)*1000+1000,n-1);\n\t\t\t}\n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args)\n\t{\n\t\tint n;\n\t\tScanner scan=new Scanner(System.in);\n\t\tn=scan.nextInt();\n\t\tscan.close();\n\t\tSystem.out.println(calcDebt(100000,n));\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main\n{\n\tprivate static int calcDebt(int debt,int n)\n\t{\n\t\tif(n==0){\n\t\t\treturn debt;\n\t\t}else{\n\t\t\tint nextdebt=(int)(debt*1.05);\n\t\t\tint rest=nextdebt%1000;\n\t\t\tif(rest==0){\n\t\t\t\treturn calcDebt(nextdebt,n-1);\n\t\t\t}else{\n\t\t\t\treturn calcDebt((nextdebt/1000)*1000+1000,n-1);\n\t\t\t}\n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args)\n\t{\n\t\tint n;\n\t\tScanner scan=new Scanner(System.in);\n\t\tn=scan.nextInt();\n\t\tscan.close();\n\t\tSystem.out.println(calcDebt(100000,n));\n\t}\n}", "Main", "private static int calcDebt(int debt,int n)\n\t{\n\t\tif(n==0){\n\t\t\treturn debt;\n\t\t}else{\n\t\t\tint nextdebt=(int)(debt*1.05);\n\t\t\tint rest=nextdebt%1000;\n\t\t\tif(rest==0){\n\t\t\t\treturn calcDebt(nextdebt,n-1);\n\t\t\t}else{\n\t\t\t\treturn calcDebt((nextdebt/1000)*1000+1000,n-1);\n\t\t\t}\n\t\t}\n\t}", "calcDebt", "{\n\t\tif(n==0){\n\t\t\treturn debt;\n\t\t}else{\n\t\t\tint nextdebt=(int)(debt*1.05);\n\t\t\tint rest=nextdebt%1000;\n\t\t\tif(rest==0){\n\t\t\t\treturn calcDebt(nextdebt,n-1);\n\t\t\t}else{\n\t\t\t\treturn calcDebt((nextdebt/1000)*1000+1000,n-1);\n\t\t\t}\n\t\t}\n\t}", "if(n==0){\n\t\t\treturn debt;\n\t\t}else{\n\t\t\tint nextdebt=(int)(debt*1.05);\n\t\t\tint rest=nextdebt%1000;\n\t\t\tif(rest==0){\n\t\t\t\treturn calcDebt(nextdebt,n-1);\n\t\t\t}else{\n\t\t\t\treturn calcDebt((nextdebt/1000)*1000+1000,n-1);\n\t\t\t}\n\t\t}", "n==0", "n", "0", "{\n\t\t\treturn debt;\n\t\t}", "return debt;", "debt", "{\n\t\t\tint nextdebt=(int)(debt*1.05);\n\t\t\tint rest=nextdebt%1000;\n\t\t\tif(rest==0){\n\t\t\t\treturn calcDebt(nextdebt,n-1);\n\t\t\t}else{\n\t\t\t\treturn calcDebt((nextdebt/1000)*1000+1000,n-1);\n\t\t\t}\n\t\t}", "int nextdebt=(int)(debt*1.05);", "nextdebt", "(int)(debt*1.05)", "debt", "1.05", "int rest=nextdebt%1000;", "rest", "nextdebt%1000", "nextdebt", "1000", "if(rest==0){\n\t\t\t\treturn calcDebt(nextdebt,n-1);\n\t\t\t}else{\n\t\t\t\treturn calcDebt((nextdebt/1000)*1000+1000,n-1);\n\t\t\t}", "rest==0", "rest", "0", "{\n\t\t\t\treturn calcDebt(nextdebt,n-1);\n\t\t\t}", "return calcDebt(nextdebt,n-1);", "calcDebt(nextdebt,n-1)", "calcDebt", "nextdebt", "n-1", "n", "1", "{\n\t\t\t\treturn calcDebt((nextdebt/1000)*1000+1000,n-1);\n\t\t\t}", "return calcDebt((nextdebt/1000)*1000+1000,n-1);", "calcDebt((nextdebt/1000)*1000+1000,n-1)", "calcDebt", "(nextdebt/1000)*1000+1000", "(nextdebt/1000)*1000", "(nextdebt/1000)", "nextdebt", "1000", "1000", "1000", "n-1", "n", "1", "int debt", "debt", "int n", "n", "public static void main(String[] args)\n\t{\n\t\tint n;\n\t\tScanner scan=new Scanner(System.in);\n\t\tn=scan.nextInt();\n\t\tscan.close();\n\t\tSystem.out.println(calcDebt(100000,n));\n\t}", "main", "{\n\t\tint n;\n\t\tScanner scan=new Scanner(System.in);\n\t\tn=scan.nextInt();\n\t\tscan.close();\n\t\tSystem.out.println(calcDebt(100000,n));\n\t}", "int n;", "n", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "n=scan.nextInt()", "n", "scan.nextInt()", "scan.nextInt", "scan", "scan.close()", "scan.close", "scan", "System.out.println(calcDebt(100000,n))", "System.out.println", "System.out", "System", "System.out", "calcDebt(100000,n)", "calcDebt", "100000", "n", "String[] args", "args", "public class Main\n{\n\tprivate static int calcDebt(int debt,int n)\n\t{\n\t\tif(n==0){\n\t\t\treturn debt;\n\t\t}else{\n\t\t\tint nextdebt=(int)(debt*1.05);\n\t\t\tint rest=nextdebt%1000;\n\t\t\tif(rest==0){\n\t\t\t\treturn calcDebt(nextdebt,n-1);\n\t\t\t}else{\n\t\t\t\treturn calcDebt((nextdebt/1000)*1000+1000,n-1);\n\t\t\t}\n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args)\n\t{\n\t\tint n;\n\t\tScanner scan=new Scanner(System.in);\n\t\tn=scan.nextInt();\n\t\tscan.close();\n\t\tSystem.out.println(calcDebt(100000,n));\n\t}\n}", "public class Main\n{\n\tprivate static int calcDebt(int debt,int n)\n\t{\n\t\tif(n==0){\n\t\t\treturn debt;\n\t\t}else{\n\t\t\tint nextdebt=(int)(debt*1.05);\n\t\t\tint rest=nextdebt%1000;\n\t\t\tif(rest==0){\n\t\t\t\treturn calcDebt(nextdebt,n-1);\n\t\t\t}else{\n\t\t\t\treturn calcDebt((nextdebt/1000)*1000+1000,n-1);\n\t\t\t}\n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args)\n\t{\n\t\tint n;\n\t\tScanner scan=new Scanner(System.in);\n\t\tn=scan.nextInt();\n\t\tscan.close();\n\t\tSystem.out.println(calcDebt(100000,n));\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { private static int calcDebt(int debt,int n) { if(n==0){ return debt; }else{ int nextdebt=(int)(debt*1.05); int rest=nextdebt%1000; if(rest==0){ return calcDebt(nextdebt,n-1); }else{ return calcDebt((nextdebt/1000)*1000+1000,n-1); } } } public static void main(String[] args) { int n; Scanner scan=new Scanner(System.in); n=scan.nextInt(); scan.close(); System.out.println(calcDebt(100000,n)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 2, 13, 17, 17, 41, 13, 14, 2, 0, 13, 2, 13, 17, 17, 0, 13, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 32, 40 ], [ 40, 41 ], [ 32, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 43, 49 ], [ 42, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 6, 66 ], [ 66, 67 ] ]
[ "import java.util.Scanner;\n\nclass Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint money = 100000;\n\t\tint n = sc.nextInt();\n\t\t\n\t\tfor (int i = 0; i < n ; i++)\n\t\t{\n\t\t\tmoney += money * 5 / 100;\n\t\t\tint a;\n\t\t\tif ((a = money % 1000) != 0) money = money - a + 1000; \n\t\t}\n\t\tSystem.out.println(Integer.toString(money));\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint money = 100000;\n\t\tint n = sc.nextInt();\n\t\t\n\t\tfor (int i = 0; i < n ; i++)\n\t\t{\n\t\t\tmoney += money * 5 / 100;\n\t\t\tint a;\n\t\t\tif ((a = money % 1000) != 0) money = money - a + 1000; \n\t\t}\n\t\tSystem.out.println(Integer.toString(money));\n\t}\n}", "Main", "public static void main(String args[])\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint money = 100000;\n\t\tint n = sc.nextInt();\n\t\t\n\t\tfor (int i = 0; i < n ; i++)\n\t\t{\n\t\t\tmoney += money * 5 / 100;\n\t\t\tint a;\n\t\t\tif ((a = money % 1000) != 0) money = money - a + 1000; \n\t\t}\n\t\tSystem.out.println(Integer.toString(money));\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint money = 100000;\n\t\tint n = sc.nextInt();\n\t\t\n\t\tfor (int i = 0; i < n ; i++)\n\t\t{\n\t\t\tmoney += money * 5 / 100;\n\t\t\tint a;\n\t\t\tif ((a = money % 1000) != 0) money = money - a + 1000; \n\t\t}\n\t\tSystem.out.println(Integer.toString(money));\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int money = 100000;", "money", "100000", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < n ; i++)\n\t\t{\n\t\t\tmoney += money * 5 / 100;\n\t\t\tint a;\n\t\t\tif ((a = money % 1000) != 0) money = money - a + 1000; \n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tmoney += money * 5 / 100;\n\t\t\tint a;\n\t\t\tif ((a = money % 1000) != 0) money = money - a + 1000; \n\t\t}", "{\n\t\t\tmoney += money * 5 / 100;\n\t\t\tint a;\n\t\t\tif ((a = money % 1000) != 0) money = money - a + 1000; \n\t\t}", "money += money * 5 / 100", "money", "money * 5 / 100", "money * 5", "money", "5", "100", "int a;", "a", "if ((a = money % 1000) != 0) money = money - a + 1000;", "(a = money % 1000) != 0", "(a = money % 1000)", "a", "money % 1000", "money", "1000", "0", "money = money - a + 1000", "money", "money - a + 1000", "money - a", "money", "a", "1000", "System.out.println(Integer.toString(money))", "System.out.println", "System.out", "System", "System.out", "Integer.toString(money)", "Integer.toString", "Integer", "money", "String args[]", "args" ]
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int money = 100000; int n = sc.nextInt(); for (int i = 0; i < n ; i++) { money += money * 5 / 100; int a; if ((a = money % 1000) != 0) money = money - a + 1000; } System.out.println(Integer.toString(money)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 42, 2, 13, 17, 30, 0, 13, 2, 13, 17, 0, 13, 4, 18, 13, 13, 40, 13, 4, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 49, 5 ], [ 49, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 27, 29 ], [ 24, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 24, 36 ], [ 36, 37 ], [ 8, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 6, 46 ], [ 46, 47 ], [ 0, 48 ], [ 48, 49 ], [ 48, 50 ] ]
[ "import java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int weeks = s.nextInt();\n double debt = 100;\n while(weeks>0){\n debt = debt*1.05;\n debt = (int)Math.ceil(debt);\n weeks--;\n }\n System.out.println((int)debt*1000);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int weeks = s.nextInt();\n double debt = 100;\n while(weeks>0){\n debt = debt*1.05;\n debt = (int)Math.ceil(debt);\n weeks--;\n }\n System.out.println((int)debt*1000);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int weeks = s.nextInt();\n double debt = 100;\n while(weeks>0){\n debt = debt*1.05;\n debt = (int)Math.ceil(debt);\n weeks--;\n }\n System.out.println((int)debt*1000);\n }", "main", "{\n Scanner s = new Scanner(System.in);\n int weeks = s.nextInt();\n double debt = 100;\n while(weeks>0){\n debt = debt*1.05;\n debt = (int)Math.ceil(debt);\n weeks--;\n }\n System.out.println((int)debt*1000);\n }", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int weeks = s.nextInt();", "weeks", "s.nextInt()", "s.nextInt", "s", "double debt = 100;", "debt", "100", "while(weeks>0){\n debt = debt*1.05;\n debt = (int)Math.ceil(debt);\n weeks--;\n }", "weeks>0", "weeks", "0", "{\n debt = debt*1.05;\n debt = (int)Math.ceil(debt);\n weeks--;\n }", "debt = debt*1.05", "debt", "debt*1.05", "debt", "1.05", "debt = (int)Math.ceil(debt)", "debt", "(int)Math.ceil(debt)", "Math.ceil", "Math", "debt", "weeks--", "weeks", "System.out.println((int)debt*1000)", "System.out.println", "System.out", "System", "System.out", "(int)debt*1000", "(int)debt", "1000", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int weeks = s.nextInt();\n double debt = 100;\n while(weeks>0){\n debt = debt*1.05;\n debt = (int)Math.ceil(debt);\n weeks--;\n }\n System.out.println((int)debt*1000);\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int weeks = s.nextInt();\n double debt = 100;\n while(weeks>0){\n debt = debt*1.05;\n debt = (int)Math.ceil(debt);\n weeks--;\n }\n System.out.println((int)debt*1000);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int weeks = s.nextInt(); double debt = 100; while(weeks>0){ debt = debt*1.05; debt = (int)Math.ceil(debt); weeks--; } System.out.println((int)debt*1000); } }
[ 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, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 13, 17, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 69, 8 ], [ 69, 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 ], [ 22, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 11, 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 ], [ 42, 44 ], [ 41, 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 ], [ 57, 59 ], [ 11, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 9, 66 ], [ 66, 67 ], [ 0, 68 ], [ 68, 69 ], [ 68, 70 ] ]
[ "import java.io.*;\nimport java.util.*;\npublic class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=reader.readLine();\n\t\tint in=Integer.parseInt(s);\n\t\tint out=100000;\n\t\tfor(int i=0;i<in;i++){\n\t\t\tout*=1.05;\n\t\t\tif(out%1000!=0){\n\t\t\t\tout-=out%1000;\n\t\t\t\tout+=1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(out);\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=reader.readLine();\n\t\tint in=Integer.parseInt(s);\n\t\tint out=100000;\n\t\tfor(int i=0;i<in;i++){\n\t\t\tout*=1.05;\n\t\t\tif(out%1000!=0){\n\t\t\t\tout-=out%1000;\n\t\t\t\tout+=1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(out);\n\t}\n}", "Main", "public static void main(String[] args)throws IOException{\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=reader.readLine();\n\t\tint in=Integer.parseInt(s);\n\t\tint out=100000;\n\t\tfor(int i=0;i<in;i++){\n\t\t\tout*=1.05;\n\t\t\tif(out%1000!=0){\n\t\t\t\tout-=out%1000;\n\t\t\t\tout+=1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(out);\n\t}", "main", "{\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=reader.readLine();\n\t\tint in=Integer.parseInt(s);\n\t\tint out=100000;\n\t\tfor(int i=0;i<in;i++){\n\t\t\tout*=1.05;\n\t\t\tif(out%1000!=0){\n\t\t\t\tout-=out%1000;\n\t\t\t\tout+=1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(out);\n\t}", "BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "String s=reader.readLine();", "s", "reader.readLine()", "reader.readLine", "reader", "int in=Integer.parseInt(s);", "in", "Integer.parseInt(s)", "Integer.parseInt", "Integer", "s", "int out=100000;", "out", "100000", "for(int i=0;i<in;i++){\n\t\t\tout*=1.05;\n\t\t\tif(out%1000!=0){\n\t\t\t\tout-=out%1000;\n\t\t\t\tout+=1000;\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<in", "i", "in", "i++", "i++", "i", "{\n\t\t\tout*=1.05;\n\t\t\tif(out%1000!=0){\n\t\t\t\tout-=out%1000;\n\t\t\t\tout+=1000;\n\t\t\t}\n\t\t}", "{\n\t\t\tout*=1.05;\n\t\t\tif(out%1000!=0){\n\t\t\t\tout-=out%1000;\n\t\t\t\tout+=1000;\n\t\t\t}\n\t\t}", "out*=1.05", "out", "1.05", "if(out%1000!=0){\n\t\t\t\tout-=out%1000;\n\t\t\t\tout+=1000;\n\t\t\t}", "out%1000!=0", "out%1000", "out", "1000", "0", "{\n\t\t\t\tout-=out%1000;\n\t\t\t\tout+=1000;\n\t\t\t}", "out-=out%1000", "out", "out%1000", "out", "1000", "out+=1000", "out", "1000", "System.out.println(out)", "System.out.println", "System.out", "System", "System.out", "out", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=reader.readLine();\n\t\tint in=Integer.parseInt(s);\n\t\tint out=100000;\n\t\tfor(int i=0;i<in;i++){\n\t\t\tout*=1.05;\n\t\t\tif(out%1000!=0){\n\t\t\t\tout-=out%1000;\n\t\t\t\tout+=1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(out);\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=reader.readLine();\n\t\tint in=Integer.parseInt(s);\n\t\tint out=100000;\n\t\tfor(int i=0;i<in;i++){\n\t\t\tout*=1.05;\n\t\t\tif(out%1000!=0){\n\t\t\t\tout-=out%1000;\n\t\t\t\tout+=1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(out);\n\t}\n}", "Main" ]
import java.io.*; import java.util.*; public class Main{ public static void main(String[] args)throws IOException{ BufferedReader reader=new BufferedReader(new InputStreamReader(System.in)); String s=reader.readLine(); int in=Integer.parseInt(s); int out=100000; for(int i=0;i<in;i++){ out*=1.05; if(out%1000!=0){ out-=out%1000; out+=1000; } } System.out.println(out); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 17, 41, 13, 20, 0, 13, 4, 18, 13, 40, 17, 18, 13, 13, 0, 13, 4, 18, 13, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 23, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 35, 41 ], [ 41, 42 ], [ 41, 43 ], [ 35, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 35, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 11, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 9, 65 ], [ 65, 66 ] ]
[ "import java.util.Scanner;\nimport java.math.BigDecimal;\n\nclass Main{\npublic static void main(String[] args){\nScanner sc=new Scanner(System.in);\nint w=sc.nextInt();\nint a=100000;\nfor(int i=0;i<w;i++){\na+=a/20;\nBigDecimal x=new BigDecimal(a);\nx=x.setScale(-3,BigDecimal.ROUND_UP);\na=x.intValue();\n}\nSystem.out.println(a);\n}\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.math.BigDecimal;", "BigDecimal", "java.math", "class Main{\npublic static void main(String[] args){\nScanner sc=new Scanner(System.in);\nint w=sc.nextInt();\nint a=100000;\nfor(int i=0;i<w;i++){\na+=a/20;\nBigDecimal x=new BigDecimal(a);\nx=x.setScale(-3,BigDecimal.ROUND_UP);\na=x.intValue();\n}\nSystem.out.println(a);\n}\n}", "Main", "public static void main(String[] args){\nScanner sc=new Scanner(System.in);\nint w=sc.nextInt();\nint a=100000;\nfor(int i=0;i<w;i++){\na+=a/20;\nBigDecimal x=new BigDecimal(a);\nx=x.setScale(-3,BigDecimal.ROUND_UP);\na=x.intValue();\n}\nSystem.out.println(a);\n}", "main", "{\nScanner sc=new Scanner(System.in);\nint w=sc.nextInt();\nint a=100000;\nfor(int i=0;i<w;i++){\na+=a/20;\nBigDecimal x=new BigDecimal(a);\nx=x.setScale(-3,BigDecimal.ROUND_UP);\na=x.intValue();\n}\nSystem.out.println(a);\n}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int w=sc.nextInt();", "w", "sc.nextInt()", "sc.nextInt", "sc", "int a=100000;", "a", "100000", "for(int i=0;i<w;i++){\na+=a/20;\nBigDecimal x=new BigDecimal(a);\nx=x.setScale(-3,BigDecimal.ROUND_UP);\na=x.intValue();\n}", "int i=0;", "int i=0;", "i", "0", "i<w", "i", "w", "i++", "i++", "i", "{\na+=a/20;\nBigDecimal x=new BigDecimal(a);\nx=x.setScale(-3,BigDecimal.ROUND_UP);\na=x.intValue();\n}", "{\na+=a/20;\nBigDecimal x=new BigDecimal(a);\nx=x.setScale(-3,BigDecimal.ROUND_UP);\na=x.intValue();\n}", "a+=a/20", "a", "a/20", "a", "20", "BigDecimal x=new BigDecimal(a);", "x", "new BigDecimal(a)", "x=x.setScale(-3,BigDecimal.ROUND_UP)", "x", "x.setScale(-3,BigDecimal.ROUND_UP)", "x.setScale", "x", "-3", "3", "BigDecimal.ROUND_UP", "BigDecimal", "BigDecimal.ROUND_UP", "a=x.intValue()", "a", "x.intValue()", "x.intValue", "x", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "String[] args", "args" ]
import java.util.Scanner; import java.math.BigDecimal; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int w=sc.nextInt(); int a=100000; for(int i=0;i<w;i++){ a+=a/20; BigDecimal x=new BigDecimal(a); x=x.setScale(-3,BigDecimal.ROUND_UP); a=x.intValue(); } System.out.println(a); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 17, 40, 13, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 35, 37 ], [ 32, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 38, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 44, 50 ], [ 50, 51 ], [ 50, 52 ], [ 8, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 6, 59 ], [ 59, 60 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\n public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n\tint money = 100000;\n\tint n = stdin.nextInt();\n\tfor(int i = 0; i < n; i++){\n\t money = (int)(money * 1.05);\n\t if(money % 1000 > 0){\n\t\tmoney /= 1000;\n\t\tmoney++;\n\t\tmoney *= 1000;\n\t }\n\t}\n\tSystem.out.println(money);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n\tint money = 100000;\n\tint n = stdin.nextInt();\n\tfor(int i = 0; i < n; i++){\n\t money = (int)(money * 1.05);\n\t if(money % 1000 > 0){\n\t\tmoney /= 1000;\n\t\tmoney++;\n\t\tmoney *= 1000;\n\t }\n\t}\n\tSystem.out.println(money);\n }\n}", "Main", "public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n\tint money = 100000;\n\tint n = stdin.nextInt();\n\tfor(int i = 0; i < n; i++){\n\t money = (int)(money * 1.05);\n\t if(money % 1000 > 0){\n\t\tmoney /= 1000;\n\t\tmoney++;\n\t\tmoney *= 1000;\n\t }\n\t}\n\tSystem.out.println(money);\n }", "main", "{\n\tScanner stdin = new Scanner(System.in);\n\tint money = 100000;\n\tint n = stdin.nextInt();\n\tfor(int i = 0; i < n; i++){\n\t money = (int)(money * 1.05);\n\t if(money % 1000 > 0){\n\t\tmoney /= 1000;\n\t\tmoney++;\n\t\tmoney *= 1000;\n\t }\n\t}\n\tSystem.out.println(money);\n }", "Scanner stdin = new Scanner(System.in);", "stdin", "new Scanner(System.in)", "int money = 100000;", "money", "100000", "int n = stdin.nextInt();", "n", "stdin.nextInt()", "stdin.nextInt", "stdin", "for(int i = 0; i < n; i++){\n\t money = (int)(money * 1.05);\n\t if(money % 1000 > 0){\n\t\tmoney /= 1000;\n\t\tmoney++;\n\t\tmoney *= 1000;\n\t }\n\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t money = (int)(money * 1.05);\n\t if(money % 1000 > 0){\n\t\tmoney /= 1000;\n\t\tmoney++;\n\t\tmoney *= 1000;\n\t }\n\t}", "{\n\t money = (int)(money * 1.05);\n\t if(money % 1000 > 0){\n\t\tmoney /= 1000;\n\t\tmoney++;\n\t\tmoney *= 1000;\n\t }\n\t}", "money = (int)(money * 1.05)", "money", "(int)(money * 1.05)", "money", "1.05", "if(money % 1000 > 0){\n\t\tmoney /= 1000;\n\t\tmoney++;\n\t\tmoney *= 1000;\n\t }", "money % 1000 > 0", "money % 1000", "money", "1000", "0", "{\n\t\tmoney /= 1000;\n\t\tmoney++;\n\t\tmoney *= 1000;\n\t }", "money /= 1000", "money", "1000", "money++", "money", "money *= 1000", "money", "1000", "System.out.println(money)", "System.out.println", "System.out", "System", "System.out", "money", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner stdin = new Scanner(System.in); int money = 100000; int n = stdin.nextInt(); for(int i = 0; i < n; i++){ money = (int)(money * 1.05); if(money % 1000 > 0){ money /= 1000; money++; money *= 1000; } } System.out.println(money); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 17, 0, 13, 4, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 0, 13, 17, 0, 13, 2, 13, 17, 29, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 35, 37 ], [ 32, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 8, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 6, 49 ], [ 49, 50 ], [ 4, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 53, 62 ], [ 62, 63 ], [ 51, 64 ], [ 64, 65 ] ]
[ "import java.util.Scanner;\nclass Main{\n\tpublic static void main(String[] a){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint debt = 100000;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tdebt += debt / 20;\n\t\t\tdebt = up(debt);\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n\tstatic int up(int money){\n\t\tmoney += 999;\n\t\tmoney -= money % 1000;\n\t\treturn money;\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n\tpublic static void main(String[] a){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint debt = 100000;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tdebt += debt / 20;\n\t\t\tdebt = up(debt);\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n\tstatic int up(int money){\n\t\tmoney += 999;\n\t\tmoney -= money % 1000;\n\t\treturn money;\n\t}\n}", "Main", "public static void main(String[] a){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint debt = 100000;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tdebt += debt / 20;\n\t\t\tdebt = up(debt);\n\t\t}\n\t\tSystem.out.println(debt);\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint debt = 100000;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tdebt += debt / 20;\n\t\t\tdebt = up(debt);\n\t\t}\n\t\tSystem.out.println(debt);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int debt = 100000;", "debt", "100000", "for(int i = 0; i < n; i++){\n\t\t\tdebt += debt / 20;\n\t\t\tdebt = up(debt);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tdebt += debt / 20;\n\t\t\tdebt = up(debt);\n\t\t}", "{\n\t\t\tdebt += debt / 20;\n\t\t\tdebt = up(debt);\n\t\t}", "debt += debt / 20", "debt", "debt / 20", "debt", "20", "debt = up(debt)", "debt", "up(debt)", "up", "debt", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "String[] a", "a", "static int up(int money){\n\t\tmoney += 999;\n\t\tmoney -= money % 1000;\n\t\treturn money;\n\t}", "up", "{\n\t\tmoney += 999;\n\t\tmoney -= money % 1000;\n\t\treturn money;\n\t}", "money += 999", "money", "999", "money -= money % 1000", "money", "money % 1000", "money", "1000", "return money;", "money", "int money", "money" ]
import java.util.Scanner; class Main{ public static void main(String[] a){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int debt = 100000; for(int i = 0; i < n; i++){ debt += debt / 20; debt = up(debt); } System.out.println(debt); } static int up(int money){ money += 999; money -= money % 1000; return money; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 2, 13, 17, 4, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 52, 5 ], [ 52, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 38, 39 ], [ 38, 40 ], [ 8, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 6, 49 ], [ 49, 50 ], [ 0, 51 ], [ 51, 52 ], [ 51, 53 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scn = new Scanner(System.in);\n\t\tint n = scn.nextInt();\n\t\tint debt = 100;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t}\n\t\tSystem.out.println(debt * 1000);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scn = new Scanner(System.in);\n\t\tint n = scn.nextInt();\n\t\tint debt = 100;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t}\n\t\tSystem.out.println(debt * 1000);\n\t}\n\n}", "Main", "/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scn = new Scanner(System.in);\n\t\tint n = scn.nextInt();\n\t\tint debt = 100;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t}\n\t\tSystem.out.println(debt * 1000);\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scn = new Scanner(System.in);\n\t\tint n = scn.nextInt();\n\t\tint debt = 100;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t}\n\t\tSystem.out.println(debt * 1000);\n\t}", "Scanner scn = new Scanner(System.in);", "scn", "new Scanner(System.in)", "int n = scn.nextInt();", "n", "scn.nextInt()", "scn.nextInt", "scn", "int debt = 100;", "debt", "100", "for (int i = 0; i < n; i++) {\n\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t}", "{\n\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t}", "debt = (int)Math.ceil(debt * 1.05)", "debt", "(int)Math.ceil(debt * 1.05)", "Math.ceil", "Math", "debt * 1.05", "debt", "1.05", "System.out.println(debt * 1000)", "System.out.println", "System.out", "System", "System.out", "debt * 1000", "debt", "1000", "String[] args", "args", "public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scn = new Scanner(System.in);\n\t\tint n = scn.nextInt();\n\t\tint debt = 100;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t}\n\t\tSystem.out.println(debt * 1000);\n\t}\n\n}", "public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scn = new Scanner(System.in);\n\t\tint n = scn.nextInt();\n\t\tint debt = 100;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdebt = (int)Math.ceil(debt * 1.05);\n\t\t}\n\t\tSystem.out.println(debt * 1000);\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { /** * @param args */ public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner scn = new Scanner(System.in); int n = scn.nextInt(); int debt = 100; for (int i = 0; i < n; i++) { debt = (int)Math.ceil(debt * 1.05); } System.out.println(debt * 1000); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 0, 13, 17, 0, 13, 17, 0, 13, 17, 4, 18, 18, 13, 13, 13, 12, 13, 30, 41, 13, 20, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 69, 11 ], [ 69, 12 ], [ 12, 13 ], [ 12, 14 ], [ 69, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 17, 23 ], [ 23, 24 ], [ 23, 25 ], [ 17, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 42, 44 ], [ 38, 45 ], [ 45, 46 ], [ 45, 47 ], [ 38, 48 ], [ 48, 49 ], [ 48, 50 ], [ 17, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 69, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 64, 65 ], [ 57, 66 ], [ 66, 67 ], [ 0, 68 ], [ 68, 69 ], [ 68, 70 ] ]
[ "import java.util.*;\nimport java.lang.*;\nimport java.math.*;\n\npublic class Main {\n\tScanner sc = new Scanner(System.in);\n\tvoid run(){\n\t\tint x = sc.nextInt();\n\t\tint debt = 100000;\n\t\tfor(int i = 0; i < x; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tdebt += 999;\n\t\t\tdebt /= 1000;\n\t\t\tdebt *= 1000;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n\tpublic static void main(String[] args){\n\t\tMain m = new Main();\n\t\tm.run();\n\t\t\n\t}\n}", "import java.util.*;", "util.*", "java", "import java.lang.*;", "lang.*", "java", "import java.math.*;", "math.*", "java", "public class Main {\n\tScanner sc = new Scanner(System.in);\n\tvoid run(){\n\t\tint x = sc.nextInt();\n\t\tint debt = 100000;\n\t\tfor(int i = 0; i < x; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tdebt += 999;\n\t\t\tdebt /= 1000;\n\t\t\tdebt *= 1000;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n\tpublic static void main(String[] args){\n\t\tMain m = new Main();\n\t\tm.run();\n\t\t\n\t}\n}", "Main", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "void run(){\n\t\tint x = sc.nextInt();\n\t\tint debt = 100000;\n\t\tfor(int i = 0; i < x; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tdebt += 999;\n\t\t\tdebt /= 1000;\n\t\t\tdebt *= 1000;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}", "run", "{\n\t\tint x = sc.nextInt();\n\t\tint debt = 100000;\n\t\tfor(int i = 0; i < x; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tdebt += 999;\n\t\t\tdebt /= 1000;\n\t\t\tdebt *= 1000;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int debt = 100000;", "debt", "100000", "for(int i = 0; i < x; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tdebt += 999;\n\t\t\tdebt /= 1000;\n\t\t\tdebt *= 1000;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < x", "i", "x", "i++", "i++", "i", "{\n\t\t\tdebt *= 1.05;\n\t\t\tdebt += 999;\n\t\t\tdebt /= 1000;\n\t\t\tdebt *= 1000;\n\t\t}", "{\n\t\t\tdebt *= 1.05;\n\t\t\tdebt += 999;\n\t\t\tdebt /= 1000;\n\t\t\tdebt *= 1000;\n\t\t}", "debt *= 1.05", "debt", "1.05", "debt += 999", "debt", "999", "debt /= 1000", "debt", "1000", "debt *= 1000", "debt", "1000", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "public static void main(String[] args){\n\t\tMain m = new Main();\n\t\tm.run();\n\t\t\n\t}", "main", "{\n\t\tMain m = new Main();\n\t\tm.run();\n\t\t\n\t}", "Main m = new Main();", "m", "new Main()", "m.run()", "m.run", "m", "String[] args", "args", "public class Main {\n\tScanner sc = new Scanner(System.in);\n\tvoid run(){\n\t\tint x = sc.nextInt();\n\t\tint debt = 100000;\n\t\tfor(int i = 0; i < x; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tdebt += 999;\n\t\t\tdebt /= 1000;\n\t\t\tdebt *= 1000;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n\tpublic static void main(String[] args){\n\t\tMain m = new Main();\n\t\tm.run();\n\t\t\n\t}\n}", "public class Main {\n\tScanner sc = new Scanner(System.in);\n\tvoid run(){\n\t\tint x = sc.nextInt();\n\t\tint debt = 100000;\n\t\tfor(int i = 0; i < x; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tdebt += 999;\n\t\t\tdebt /= 1000;\n\t\t\tdebt *= 1000;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n\tpublic static void main(String[] args){\n\t\tMain m = new Main();\n\t\tm.run();\n\t\t\n\t}\n}", "Main" ]
import java.util.*; import java.lang.*; import java.math.*; public class Main { Scanner sc = new Scanner(System.in); void run(){ int x = sc.nextInt(); int debt = 100000; for(int i = 0; i < x; i++){ debt *= 1.05; debt += 999; debt /= 1000; debt *= 1000; } System.out.println(debt); } public static void main(String[] args){ Main m = new Main(); m.run(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 2, 13, 17, 0, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 12, 16 ], [ 16, 17 ], [ 17, 18 ], [ 16, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 16, 24 ], [ 24, 25 ], [ 24, 26 ], [ 16, 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 ], [ 44, 45 ], [ 44, 46 ], [ 39, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 16, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 6, 61 ], [ 61, 62 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNext()) {\n\t\t\tint i;\n\t\t\tint cnt = sc.nextInt();\n\t\t\tdouble ret = 100;\n\t\t\tfor (i = 0; i < cnt; i++) {\n\t\t\t\tret = ret + ret * 0.05;\n\t\t\t\tret = Math.ceil(ret);\n\t\t\t}\n\t\t\tSystem.out.println((int) ret * 1000);\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNext()) {\n\t\t\tint i;\n\t\t\tint cnt = sc.nextInt();\n\t\t\tdouble ret = 100;\n\t\t\tfor (i = 0; i < cnt; i++) {\n\t\t\t\tret = ret + ret * 0.05;\n\t\t\t\tret = Math.ceil(ret);\n\t\t\t}\n\t\t\tSystem.out.println((int) ret * 1000);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNext()) {\n\t\t\tint i;\n\t\t\tint cnt = sc.nextInt();\n\t\t\tdouble ret = 100;\n\t\t\tfor (i = 0; i < cnt; i++) {\n\t\t\t\tret = ret + ret * 0.05;\n\t\t\t\tret = Math.ceil(ret);\n\t\t\t}\n\t\t\tSystem.out.println((int) ret * 1000);\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNext()) {\n\t\t\tint i;\n\t\t\tint cnt = sc.nextInt();\n\t\t\tdouble ret = 100;\n\t\t\tfor (i = 0; i < cnt; i++) {\n\t\t\t\tret = ret + ret * 0.05;\n\t\t\t\tret = Math.ceil(ret);\n\t\t\t}\n\t\t\tSystem.out.println((int) ret * 1000);\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while (sc.hasNext()) {\n\t\t\tint i;\n\t\t\tint cnt = sc.nextInt();\n\t\t\tdouble ret = 100;\n\t\t\tfor (i = 0; i < cnt; i++) {\n\t\t\t\tret = ret + ret * 0.05;\n\t\t\t\tret = Math.ceil(ret);\n\t\t\t}\n\t\t\tSystem.out.println((int) ret * 1000);\n\t\t}", "sc.hasNext()", "sc.hasNext", "sc", "{\n\t\t\tint i;\n\t\t\tint cnt = sc.nextInt();\n\t\t\tdouble ret = 100;\n\t\t\tfor (i = 0; i < cnt; i++) {\n\t\t\t\tret = ret + ret * 0.05;\n\t\t\t\tret = Math.ceil(ret);\n\t\t\t}\n\t\t\tSystem.out.println((int) ret * 1000);\n\t\t}", "int i;", "i", "int cnt = sc.nextInt();", "cnt", "sc.nextInt()", "sc.nextInt", "sc", "double ret = 100;", "ret", "100", "for (i = 0; i < cnt; i++) {\n\t\t\t\tret = ret + ret * 0.05;\n\t\t\t\tret = Math.ceil(ret);\n\t\t\t}", "i = 0;", "i = 0", "i", "0", "i < cnt", "i", "cnt", "i++", "i++", "i", "{\n\t\t\t\tret = ret + ret * 0.05;\n\t\t\t\tret = Math.ceil(ret);\n\t\t\t}", "{\n\t\t\t\tret = ret + ret * 0.05;\n\t\t\t\tret = Math.ceil(ret);\n\t\t\t}", "ret = ret + ret * 0.05", "ret", "ret + ret * 0.05", "ret", "ret * 0.05", "ret", "0.05", "ret = Math.ceil(ret)", "ret", "Math.ceil(ret)", "Math.ceil", "Math", "ret", "System.out.println((int) ret * 1000)", "System.out.println", "System.out", "System", "System.out", "(int) ret * 1000", "(int) ret", "1000", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (sc.hasNext()) { int i; int cnt = sc.nextInt(); double ret = 100; for (i = 0; i < cnt; i++) { ret = ret + ret * 0.05; ret = Math.ceil(ret); } System.out.println((int) ret * 1000); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 17, 12, 13, 30, 41, 13, 4, 13, 4, 18, 18, 13, 13, 4, 13, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 29, 13, 12, 13, 30, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 13, 13, 17, 18, 13, 13, 0, 13, 4, 18, 13, 4, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 118, 14 ], [ 118, 15 ], [ 15, 16 ], [ 15, 17 ], [ 118, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 118, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 118, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 32, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 30, 45 ], [ 45, 46 ], [ 118, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 53, 55 ], [ 49, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 62, 63 ], [ 49, 64 ], [ 64, 65 ], [ 65, 66 ], [ 49, 67 ], [ 67, 68 ], [ 68, 69 ], [ 49, 70 ], [ 70, 71 ], [ 118, 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 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 93, 99 ], [ 93, 100 ], [ 93, 101 ], [ 101, 102 ], [ 101, 103 ], [ 90, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 106, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 74, 113 ], [ 113, 114 ], [ 72, 115 ], [ 115, 116 ], [ 0, 117 ], [ 117, 118 ], [ 117, 119 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\n\n/**\n * 0007:Debt Hellの解答\n * \n * @author MS14A\n * @version 2015/04/15\n */\npublic class Main {\n\n /** 初期借金額:10万円 */\n private static final BigDecimal INITIAL_DEBT = new BigDecimal(\"100000\");\n\n /** 利子:5% */\n private static final BigDecimal INTEREST_RATE = BigDecimal.valueOf(0.05);\n\n /** \\1000未満の繰り上げ計算用 */\n private static final BigDecimal DIVISOR_FOR_ROUND_UP = BigDecimal.valueOf(1000);\n\n /**\n * n 週間後の借金の残高を出力する。<br>\n * ※n は 100 以下とする。\n * \n * @param args\n * @throws IOException \n */\n public static void main(String[] args) throws IOException {\n // 標準入力読み取り\n int weeks = getWeeks();\n\n // n週間後の借金額計算\n System.out.println(calcDebt(weeks));\n }\n\n /**\n * 標準入力を読み取り、\"n\"の値を返す。\n * \n * @return n:入力値\n * @throws IOException 標準入力読取り失敗時\n */\n private static int getWeeks() throws IOException {\n \n InputStreamReader streamReader = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(streamReader);\n \n int weeks = Integer.parseInt(bufferedReader.readLine());\n \n bufferedReader.close();\n streamReader.close();\n \n return weeks;\n }\n\n /**\n * n週間後の借金額を計算する。\n * \n * @param weeks\n * @return n週間後の借金額\n */\n private static BigDecimal calcDebt(int weeks) {\n BigDecimal finalDebt = INITIAL_DEBT;\n\n for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR_FOR_ROUND_UP, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR_FOR_ROUND_UP));\n }\n\n return finalDebt;\n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.math.BigDecimal;", "BigDecimal", "java.math", "public class Main {\n\n /** 初期借金額:10万円 */\n private static final BigDecimal INITIAL_DEBT = new BigDecimal(\"100000\");\n\n /** 利子:5% */\n private static final BigDecimal INTEREST_RATE = BigDecimal.valueOf(0.05);\n\n /** \\1000未満の繰り上げ計算用 */\n private static final BigDecimal DIVISOR_FOR_ROUND_UP = BigDecimal.valueOf(1000);\n\n /**\n * n 週間後の借金の残高を出力する。<br>\n * ※n は 100 以下とする。\n * \n * @param args\n * @throws IOException \n */\n public static void main(String[] args) throws IOException {\n // 標準入力読み取り\n int weeks = getWeeks();\n\n // n週間後の借金額計算\n System.out.println(calcDebt(weeks));\n }\n\n /**\n * 標準入力を読み取り、\"n\"の値を返す。\n * \n * @return n:入力値\n * @throws IOException 標準入力読取り失敗時\n */\n private static int getWeeks() throws IOException {\n \n InputStreamReader streamReader = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(streamReader);\n \n int weeks = Integer.parseInt(bufferedReader.readLine());\n \n bufferedReader.close();\n streamReader.close();\n \n return weeks;\n }\n\n /**\n * n週間後の借金額を計算する。\n * \n * @param weeks\n * @return n週間後の借金額\n */\n private static BigDecimal calcDebt(int weeks) {\n BigDecimal finalDebt = INITIAL_DEBT;\n\n for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR_FOR_ROUND_UP, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR_FOR_ROUND_UP));\n }\n\n return finalDebt;\n }\n\n}", "Main", "/** 初期借金額:10万円 */\n private static final BigDecimal INITIAL_DEBT = new BigDecimal(\"100000\");", "INITIAL_DEBT", "new BigDecimal(\"100000\")", "/** 利子:5% */\n private static final BigDecimal INTEREST_RATE = BigDecimal.valueOf(0.05);", "INTEREST_RATE", "BigDecimal.valueOf(0.05)", "BigDecimal.valueOf", "BigDecimal", "0.05", "/** \\1000未満の繰り上げ計算用 */\n private static final BigDecimal DIVISOR_FOR_ROUND_UP = BigDecimal.valueOf(1000);", "DIVISOR_FOR_ROUND_UP", "BigDecimal.valueOf(1000)", "BigDecimal.valueOf", "BigDecimal", "1000", "/**\n * n 週間後の借金の残高を出力する。<br>\n * ※n は 100 以下とする。\n * \n * @param args\n * @throws IOException \n */\n public static void main(String[] args) throws IOException {\n // 標準入力読み取り\n int weeks = getWeeks();\n\n // n週間後の借金額計算\n System.out.println(calcDebt(weeks));\n }", "main", "{\n // 標準入力読み取り\n int weeks = getWeeks();\n\n // n週間後の借金額計算\n System.out.println(calcDebt(weeks));\n }", "int weeks = getWeeks();", "weeks", "getWeeks()", "getWeeks", "System.out.println(calcDebt(weeks))", "System.out.println", "System.out", "System", "System.out", "calcDebt(weeks)", "calcDebt", "weeks", "String[] args", "args", "/**\n * 標準入力を読み取り、\"n\"の値を返す。\n * \n * @return n:入力値\n * @throws IOException 標準入力読取り失敗時\n */\n private static int getWeeks() throws IOException {\n \n InputStreamReader streamReader = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(streamReader);\n \n int weeks = Integer.parseInt(bufferedReader.readLine());\n \n bufferedReader.close();\n streamReader.close();\n \n return weeks;\n }", "getWeeks", "{\n \n InputStreamReader streamReader = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(streamReader);\n \n int weeks = Integer.parseInt(bufferedReader.readLine());\n \n bufferedReader.close();\n streamReader.close();\n \n return weeks;\n }", "InputStreamReader streamReader = new InputStreamReader(System.in);", "streamReader", "new InputStreamReader(System.in)", "BufferedReader bufferedReader = new BufferedReader(streamReader);", "bufferedReader", "new BufferedReader(streamReader)", "int weeks = Integer.parseInt(bufferedReader.readLine());", "weeks", "Integer.parseInt(bufferedReader.readLine())", "Integer.parseInt", "Integer", "bufferedReader.readLine()", "bufferedReader.readLine", "bufferedReader", "bufferedReader.close()", "bufferedReader.close", "bufferedReader", "streamReader.close()", "streamReader.close", "streamReader", "return weeks;", "weeks", "/**\n * n週間後の借金額を計算する。\n * \n * @param weeks\n * @return n週間後の借金額\n */\n private static BigDecimal calcDebt(int weeks) {\n BigDecimal finalDebt = INITIAL_DEBT;\n\n for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR_FOR_ROUND_UP, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR_FOR_ROUND_UP));\n }\n\n return finalDebt;\n }", "calcDebt", "{\n BigDecimal finalDebt = INITIAL_DEBT;\n\n for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR_FOR_ROUND_UP, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR_FOR_ROUND_UP));\n }\n\n return finalDebt;\n }", "BigDecimal finalDebt = INITIAL_DEBT;", "finalDebt", "INITIAL_DEBT", "for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR_FOR_ROUND_UP, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR_FOR_ROUND_UP));\n }", "int i = 0;", "int i = 0;", "i", "0", "i < weeks", "i", "weeks", "i++", "i++", "i", "{\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR_FOR_ROUND_UP, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR_FOR_ROUND_UP));\n }", "{\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR_FOR_ROUND_UP, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR_FOR_ROUND_UP));\n }", "BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR_FOR_ROUND_UP, 0, BigDecimal.ROUND_UP);", "interestAmount", "finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR_FOR_ROUND_UP, 0, BigDecimal.ROUND_UP)", "finalDebt.multiply(INTEREST_RATE)\n .divide", "finalDebt.multiply(INTEREST_RATE)", "finalDebt.multiply", "finalDebt", "INTEREST_RATE", "DIVISOR_FOR_ROUND_UP", "0", "BigDecimal.ROUND_UP", "BigDecimal", "BigDecimal.ROUND_UP", "finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR_FOR_ROUND_UP))", "finalDebt", "finalDebt.add(interestAmount.multiply(DIVISOR_FOR_ROUND_UP))", "finalDebt.add", "finalDebt", "interestAmount.multiply(DIVISOR_FOR_ROUND_UP)", "interestAmount.multiply", "interestAmount", "DIVISOR_FOR_ROUND_UP", "return finalDebt;", "finalDebt", "int weeks", "weeks", "public class Main {\n\n /** 初期借金額:10万円 */\n private static final BigDecimal INITIAL_DEBT = new BigDecimal(\"100000\");\n\n /** 利子:5% */\n private static final BigDecimal INTEREST_RATE = BigDecimal.valueOf(0.05);\n\n /** \\1000未満の繰り上げ計算用 */\n private static final BigDecimal DIVISOR_FOR_ROUND_UP = BigDecimal.valueOf(1000);\n\n /**\n * n 週間後の借金の残高を出力する。<br>\n * ※n は 100 以下とする。\n * \n * @param args\n * @throws IOException \n */\n public static void main(String[] args) throws IOException {\n // 標準入力読み取り\n int weeks = getWeeks();\n\n // n週間後の借金額計算\n System.out.println(calcDebt(weeks));\n }\n\n /**\n * 標準入力を読み取り、\"n\"の値を返す。\n * \n * @return n:入力値\n * @throws IOException 標準入力読取り失敗時\n */\n private static int getWeeks() throws IOException {\n \n InputStreamReader streamReader = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(streamReader);\n \n int weeks = Integer.parseInt(bufferedReader.readLine());\n \n bufferedReader.close();\n streamReader.close();\n \n return weeks;\n }\n\n /**\n * n週間後の借金額を計算する。\n * \n * @param weeks\n * @return n週間後の借金額\n */\n private static BigDecimal calcDebt(int weeks) {\n BigDecimal finalDebt = INITIAL_DEBT;\n\n for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR_FOR_ROUND_UP, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR_FOR_ROUND_UP));\n }\n\n return finalDebt;\n }\n\n}", "public class Main {\n\n /** 初期借金額:10万円 */\n private static final BigDecimal INITIAL_DEBT = new BigDecimal(\"100000\");\n\n /** 利子:5% */\n private static final BigDecimal INTEREST_RATE = BigDecimal.valueOf(0.05);\n\n /** \\1000未満の繰り上げ計算用 */\n private static final BigDecimal DIVISOR_FOR_ROUND_UP = BigDecimal.valueOf(1000);\n\n /**\n * n 週間後の借金の残高を出力する。<br>\n * ※n は 100 以下とする。\n * \n * @param args\n * @throws IOException \n */\n public static void main(String[] args) throws IOException {\n // 標準入力読み取り\n int weeks = getWeeks();\n\n // n週間後の借金額計算\n System.out.println(calcDebt(weeks));\n }\n\n /**\n * 標準入力を読み取り、\"n\"の値を返す。\n * \n * @return n:入力値\n * @throws IOException 標準入力読取り失敗時\n */\n private static int getWeeks() throws IOException {\n \n InputStreamReader streamReader = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(streamReader);\n \n int weeks = Integer.parseInt(bufferedReader.readLine());\n \n bufferedReader.close();\n streamReader.close();\n \n return weeks;\n }\n\n /**\n * n週間後の借金額を計算する。\n * \n * @param weeks\n * @return n週間後の借金額\n */\n private static BigDecimal calcDebt(int weeks) {\n BigDecimal finalDebt = INITIAL_DEBT;\n\n for (int i = 0; i < weeks; i++) {\n // 利子額計算。1000で割った小数部を繰り上げる。\n BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE)\n .divide(DIVISOR_FOR_ROUND_UP, 0, BigDecimal.ROUND_UP);\n\n // 借金額 = 前週の借金額 + 利子額\n finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR_FOR_ROUND_UP));\n }\n\n return finalDebt;\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigDecimal; /** * 0007:Debt Hellの解答 * * @author MS14A * @version 2015/04/15 */ public class Main { /** 初期借金額:10万円 */ private static final BigDecimal INITIAL_DEBT = new BigDecimal("100000"); /** 利子:5% */ private static final BigDecimal INTEREST_RATE = BigDecimal.valueOf(0.05); /** \1000未満の繰り上げ計算用 */ private static final BigDecimal DIVISOR_FOR_ROUND_UP = BigDecimal.valueOf(1000); /** * n 週間後の借金の残高を出力する。<br> * ※n は 100 以下とする。 * * @param args * @throws IOException */ public static void main(String[] args) throws IOException { // 標準入力読み取り int weeks = getWeeks(); // n週間後の借金額計算 System.out.println(calcDebt(weeks)); } /** * 標準入力を読み取り、"n"の値を返す。 * * @return n:入力値 * @throws IOException 標準入力読取り失敗時 */ private static int getWeeks() throws IOException { InputStreamReader streamReader = new InputStreamReader(System.in); BufferedReader bufferedReader = new BufferedReader(streamReader); int weeks = Integer.parseInt(bufferedReader.readLine()); bufferedReader.close(); streamReader.close(); return weeks; } /** * n週間後の借金額を計算する。 * * @param weeks * @return n週間後の借金額 */ private static BigDecimal calcDebt(int weeks) { BigDecimal finalDebt = INITIAL_DEBT; for (int i = 0; i < weeks; i++) { // 利子額計算。1000で割った小数部を繰り上げる。 BigDecimal interestAmount = finalDebt.multiply(INTEREST_RATE) .divide(DIVISOR_FOR_ROUND_UP, 0, BigDecimal.ROUND_UP); // 借金額 = 前週の借金額 + 利子額 finalDebt = finalDebt.add(interestAmount.multiply(DIVISOR_FOR_ROUND_UP)); } return finalDebt; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 2, 13, 2, 13, 17, 4, 18, 18, 13, 13, 2, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 8, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 48, 49 ], [ 48, 50 ], [ 6, 51 ], [ 51, 52 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble n = sc.nextInt();\n\t\tdouble x = 100;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tx = Math.ceil(x + (x * 0.05));\n\t\t}\n\t\tSystem.out.println((int)x * 1000);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble n = sc.nextInt();\n\t\tdouble x = 100;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tx = Math.ceil(x + (x * 0.05));\n\t\t}\n\t\tSystem.out.println((int)x * 1000);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble n = sc.nextInt();\n\t\tdouble x = 100;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tx = Math.ceil(x + (x * 0.05));\n\t\t}\n\t\tSystem.out.println((int)x * 1000);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble n = sc.nextInt();\n\t\tdouble x = 100;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tx = Math.ceil(x + (x * 0.05));\n\t\t}\n\t\tSystem.out.println((int)x * 1000);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "double n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "double x = 100;", "x", "100", "for(int i = 0; i < n; i++){\n\t\t\tx = Math.ceil(x + (x * 0.05));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tx = Math.ceil(x + (x * 0.05));\n\t\t}", "{\n\t\t\tx = Math.ceil(x + (x * 0.05));\n\t\t}", "x = Math.ceil(x + (x * 0.05))", "x", "Math.ceil(x + (x * 0.05))", "Math.ceil", "Math", "x + (x * 0.05)", "x", "(x * 0.05)", "x", "0.05", "System.out.println((int)x * 1000)", "System.out.println", "System.out", "System", "System.out", "(int)x * 1000", "(int)x", "1000", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); double n = sc.nextInt(); double x = 100; for(int i = 0; i < n; i++){ x = Math.ceil(x + (x * 0.05)); } System.out.println((int)x * 1000); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 4, 18, 13, 4, 18, 20, 14, 2, 13, 17, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 2, 13, 13, 14, 2, 2, 13, 13, 17, 30, 0, 13, 2, 2, 2, 13, 13, 17, 13, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 14, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 29, 30 ], [ 30, 31 ], [ 14, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 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 ], [ 54, 55 ], [ 54, 56 ], [ 49, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 57, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 66, 72 ], [ 14, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 12, 79 ], [ 79, 80 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t// ?¨??????????\n\t\tint result = 100000;\n\t\t// ?????????????¨??????¨???\n\t\tint roundup = 1000;\n\t\t// ??????\n\t\tdouble rate = 0.05;\n\n\t\t// ????????±??°\n\t\tint n = Integer.parseInt(new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in), 64).readLine());\n\n\t\t// n??±???????????????????¨????\n\t\t// 0??±??????????¨????????????¨???\n\t\tif (n != 0) {\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tresult = (int) (result + (result * rate));\n\t\t\t\tif ((result % roundup) != 0) {\n\t\t\t\t\tresult = ((int) (result / roundup) + 1) * roundup;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(result);\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t// ?¨??????????\n\t\tint result = 100000;\n\t\t// ?????????????¨??????¨???\n\t\tint roundup = 1000;\n\t\t// ??????\n\t\tdouble rate = 0.05;\n\n\t\t// ????????±??°\n\t\tint n = Integer.parseInt(new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in), 64).readLine());\n\n\t\t// n??±???????????????????¨????\n\t\t// 0??±??????????¨????????????¨???\n\t\tif (n != 0) {\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tresult = (int) (result + (result * rate));\n\t\t\t\tif ((result % roundup) != 0) {\n\t\t\t\t\tresult = ((int) (result / roundup) + 1) * roundup;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(result);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\t// ?¨??????????\n\t\tint result = 100000;\n\t\t// ?????????????¨??????¨???\n\t\tint roundup = 1000;\n\t\t// ??????\n\t\tdouble rate = 0.05;\n\n\t\t// ????????±??°\n\t\tint n = Integer.parseInt(new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in), 64).readLine());\n\n\t\t// n??±???????????????????¨????\n\t\t// 0??±??????????¨????????????¨???\n\t\tif (n != 0) {\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tresult = (int) (result + (result * rate));\n\t\t\t\tif ((result % roundup) != 0) {\n\t\t\t\t\tresult = ((int) (result / roundup) + 1) * roundup;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(result);\n\t}", "main", "{\n\t\t// ?¨??????????\n\t\tint result = 100000;\n\t\t// ?????????????¨??????¨???\n\t\tint roundup = 1000;\n\t\t// ??????\n\t\tdouble rate = 0.05;\n\n\t\t// ????????±??°\n\t\tint n = Integer.parseInt(new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in), 64).readLine());\n\n\t\t// n??±???????????????????¨????\n\t\t// 0??±??????????¨????????????¨???\n\t\tif (n != 0) {\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tresult = (int) (result + (result * rate));\n\t\t\t\tif ((result % roundup) != 0) {\n\t\t\t\t\tresult = ((int) (result / roundup) + 1) * roundup;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(result);\n\t}", "int result = 100000;", "result", "100000", "int roundup = 1000;", "roundup", "1000", "double rate = 0.05;", "rate", "0.05", "int n = Integer.parseInt(new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in), 64).readLine());", "n", "Integer.parseInt(new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in), 64).readLine())", "Integer.parseInt", "Integer", "new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in), 64).readLine()", "new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in), 64).readLine", "new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in), 64)", "if (n != 0) {\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tresult = (int) (result + (result * rate));\n\t\t\t\tif ((result % roundup) != 0) {\n\t\t\t\t\tresult = ((int) (result / roundup) + 1) * roundup;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "n != 0", "n", "0", "{\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tresult = (int) (result + (result * rate));\n\t\t\t\tif ((result % roundup) != 0) {\n\t\t\t\t\tresult = ((int) (result / roundup) + 1) * roundup;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for (int i = 0; i < n; i++) {\n\t\t\t\tresult = (int) (result + (result * rate));\n\t\t\t\tif ((result % roundup) != 0) {\n\t\t\t\t\tresult = ((int) (result / roundup) + 1) * roundup;\n\t\t\t\t}\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tresult = (int) (result + (result * rate));\n\t\t\t\tif ((result % roundup) != 0) {\n\t\t\t\t\tresult = ((int) (result / roundup) + 1) * roundup;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tresult = (int) (result + (result * rate));\n\t\t\t\tif ((result % roundup) != 0) {\n\t\t\t\t\tresult = ((int) (result / roundup) + 1) * roundup;\n\t\t\t\t}\n\t\t\t}", "result = (int) (result + (result * rate))", "result", "(int) (result + (result * rate))", "result", "(result * rate)", "result", "rate", "if ((result % roundup) != 0) {\n\t\t\t\t\tresult = ((int) (result / roundup) + 1) * roundup;\n\t\t\t\t}", "(result % roundup) != 0", "(result % roundup)", "result", "roundup", "0", "{\n\t\t\t\t\tresult = ((int) (result / roundup) + 1) * roundup;\n\t\t\t\t}", "result = ((int) (result / roundup) + 1) * roundup", "result", "((int) (result / roundup) + 1) * roundup", "((int) (result / roundup) + 1)", "(int) (result / roundup)", "result", "roundup", "1", "roundup", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args) throws IOException { // ?¨?????????? int result = 100000; // ?????????????¨??????¨??? int roundup = 1000; // ?????? double rate = 0.05; // ????????±??° int n = Integer.parseInt(new BufferedReader(new InputStreamReader( System.in), 64).readLine()); // n??±???????????????????¨???? // 0??±??????????¨????????????¨??? if (n != 0) { for (int i = 0; i < n; i++) { result = (int) (result + (result * rate)); if ((result % roundup) != 0) { result = ((int) (result / roundup) + 1) * roundup; } } } System.out.println(result); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 17, 0, 13, 2, 13, 17, 4, 18, 18, 13, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 61, 5 ], [ 61, 6 ], [ 6, 7 ], [ 6, 8 ], [ 61, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 11, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 36, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 11, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 51, 57 ], [ 9, 58 ], [ 58, 59 ], [ 0, 60 ], [ 60, 61 ], [ 60, 62 ] ]
[ "import java.util.*;\n\npublic class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tint n = scan.nextInt();\n\t\tlong mon = 100_000;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tmon *= 1.05;\n\t\t\tif(mon % 1000 > 0){\n\t\t\t\tmon += 1000;\n\t\t\t\tmon -= mon % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.printf(\"%d\\n\", mon);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tint n = scan.nextInt();\n\t\tlong mon = 100_000;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tmon *= 1.05;\n\t\t\tif(mon % 1000 > 0){\n\t\t\t\tmon += 1000;\n\t\t\t\tmon -= mon % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.printf(\"%d\\n\", mon);\n\t}\n}", "Main", "private static final Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "public static void main(String[] args){\n\t\tint n = scan.nextInt();\n\t\tlong mon = 100_000;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tmon *= 1.05;\n\t\t\tif(mon % 1000 > 0){\n\t\t\t\tmon += 1000;\n\t\t\t\tmon -= mon % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.printf(\"%d\\n\", mon);\n\t}", "main", "{\n\t\tint n = scan.nextInt();\n\t\tlong mon = 100_000;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tmon *= 1.05;\n\t\t\tif(mon % 1000 > 0){\n\t\t\t\tmon += 1000;\n\t\t\t\tmon -= mon % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.printf(\"%d\\n\", mon);\n\t}", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "long mon = 100_000;", "mon", "100_000", "for(int i = 0; i < n; i++){\n\t\t\tmon *= 1.05;\n\t\t\tif(mon % 1000 > 0){\n\t\t\t\tmon += 1000;\n\t\t\t\tmon -= mon % 1000;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tmon *= 1.05;\n\t\t\tif(mon % 1000 > 0){\n\t\t\t\tmon += 1000;\n\t\t\t\tmon -= mon % 1000;\n\t\t\t}\n\t\t}", "{\n\t\t\tmon *= 1.05;\n\t\t\tif(mon % 1000 > 0){\n\t\t\t\tmon += 1000;\n\t\t\t\tmon -= mon % 1000;\n\t\t\t}\n\t\t}", "mon *= 1.05", "mon", "1.05", "if(mon % 1000 > 0){\n\t\t\t\tmon += 1000;\n\t\t\t\tmon -= mon % 1000;\n\t\t\t}", "mon % 1000 > 0", "mon % 1000", "mon", "1000", "0", "{\n\t\t\t\tmon += 1000;\n\t\t\t\tmon -= mon % 1000;\n\t\t\t}", "mon += 1000", "mon", "1000", "mon -= mon % 1000", "mon", "mon % 1000", "mon", "1000", "System.out.printf(\"%d\\n\", mon)", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "mon", "String[] args", "args", "public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tint n = scan.nextInt();\n\t\tlong mon = 100_000;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tmon *= 1.05;\n\t\t\tif(mon % 1000 > 0){\n\t\t\t\tmon += 1000;\n\t\t\t\tmon -= mon % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.printf(\"%d\\n\", mon);\n\t}\n}", "public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tint n = scan.nextInt();\n\t\tlong mon = 100_000;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tmon *= 1.05;\n\t\t\tif(mon % 1000 > 0){\n\t\t\t\tmon += 1000;\n\t\t\t\tmon -= mon % 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.printf(\"%d\\n\", mon);\n\t}\n}", "Main" ]
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ int n = scan.nextInt(); long mon = 100_000; for(int i = 0; i < n; i++){ mon *= 1.05; if(mon % 1000 > 0){ mon += 1000; mon -= mon % 1000; } } System.out.printf("%d\n", mon); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 0, 13, 4, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 4, 18, 13, 2, 4, 18, 13, 17, 14, 2, 17, 13, 30, 0, 13, 2, 2, 13, 17, 13, 29, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 88, 5 ], [ 88, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 8, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 6, 47 ], [ 47, 48 ], [ 88, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 51, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 66, 70 ], [ 51, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 51, 83 ], [ 83, 84 ], [ 49, 85 ], [ 85, 86 ], [ 0, 87 ], [ 87, 88 ], [ 87, 89 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t//??????10??????\n\t\tint debt = 100000;\n\n\t\t//n??±???\n\t\tint n = scanner.nextInt();\n\n\t\tfor(int i=0; i<n; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tdebt = roundOff(debt);\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n\n\tpublic static int roundOff(int debt){\n\t\tString strDebt = String.valueOf(debt);\n\t\tint splitDebt = Integer.parseInt(strDebt.substring(strDebt.length()-3));\n\n\t\tif(0<splitDebt){\n\t\t\t//debt = (105000 + 10000) - 5000\n\t\t\tdebt = (debt+1000) - splitDebt;\n\t\t}\n\t\treturn debt;\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 scanner = new Scanner(System.in);\n\n\t\t//??????10??????\n\t\tint debt = 100000;\n\n\t\t//n??±???\n\t\tint n = scanner.nextInt();\n\n\t\tfor(int i=0; i<n; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tdebt = roundOff(debt);\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n\n\tpublic static int roundOff(int debt){\n\t\tString strDebt = String.valueOf(debt);\n\t\tint splitDebt = Integer.parseInt(strDebt.substring(strDebt.length()-3));\n\n\t\tif(0<splitDebt){\n\t\t\t//debt = (105000 + 10000) - 5000\n\t\t\tdebt = (debt+1000) - splitDebt;\n\t\t}\n\t\treturn debt;\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t//??????10??????\n\t\tint debt = 100000;\n\n\t\t//n??±???\n\t\tint n = scanner.nextInt();\n\n\t\tfor(int i=0; i<n; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tdebt = roundOff(debt);\n\t\t}\n\t\tSystem.out.println(debt);\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t//??????10??????\n\t\tint debt = 100000;\n\n\t\t//n??±???\n\t\tint n = scanner.nextInt();\n\n\t\tfor(int i=0; i<n; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tdebt = roundOff(debt);\n\t\t}\n\t\tSystem.out.println(debt);\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int debt = 100000;", "debt", "100000", "int n = scanner.nextInt();", "n", "scanner.nextInt()", "scanner.nextInt", "scanner", "for(int i=0; i<n; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tdebt = roundOff(debt);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tdebt *= 1.05;\n\t\t\tdebt = roundOff(debt);\n\t\t}", "{\n\t\t\tdebt *= 1.05;\n\t\t\tdebt = roundOff(debt);\n\t\t}", "debt *= 1.05", "debt", "1.05", "debt = roundOff(debt)", "debt", "roundOff(debt)", "roundOff", "debt", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "String[] args", "args", "public static int roundOff(int debt){\n\t\tString strDebt = String.valueOf(debt);\n\t\tint splitDebt = Integer.parseInt(strDebt.substring(strDebt.length()-3));\n\n\t\tif(0<splitDebt){\n\t\t\t//debt = (105000 + 10000) - 5000\n\t\t\tdebt = (debt+1000) - splitDebt;\n\t\t}\n\t\treturn debt;\n\t}", "roundOff", "{\n\t\tString strDebt = String.valueOf(debt);\n\t\tint splitDebt = Integer.parseInt(strDebt.substring(strDebt.length()-3));\n\n\t\tif(0<splitDebt){\n\t\t\t//debt = (105000 + 10000) - 5000\n\t\t\tdebt = (debt+1000) - splitDebt;\n\t\t}\n\t\treturn debt;\n\t}", "String strDebt = String.valueOf(debt);", "strDebt", "String.valueOf(debt)", "String.valueOf", "String", "debt", "int splitDebt = Integer.parseInt(strDebt.substring(strDebt.length()-3));", "splitDebt", "Integer.parseInt(strDebt.substring(strDebt.length()-3))", "Integer.parseInt", "Integer", "strDebt.substring(strDebt.length()-3)", "strDebt.substring", "strDebt", "strDebt.length()-3", "strDebt.length()", "strDebt.length", "strDebt", "3", "if(0<splitDebt){\n\t\t\t//debt = (105000 + 10000) - 5000\n\t\t\tdebt = (debt+1000) - splitDebt;\n\t\t}", "0<splitDebt", "0", "splitDebt", "{\n\t\t\t//debt = (105000 + 10000) - 5000\n\t\t\tdebt = (debt+1000) - splitDebt;\n\t\t}", "debt = (debt+1000) - splitDebt", "debt", "(debt+1000) - splitDebt", "(debt+1000)", "debt", "1000", "splitDebt", "return debt;", "debt", "int debt", "debt", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t//??????10??????\n\t\tint debt = 100000;\n\n\t\t//n??±???\n\t\tint n = scanner.nextInt();\n\n\t\tfor(int i=0; i<n; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tdebt = roundOff(debt);\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n\n\tpublic static int roundOff(int debt){\n\t\tString strDebt = String.valueOf(debt);\n\t\tint splitDebt = Integer.parseInt(strDebt.substring(strDebt.length()-3));\n\n\t\tif(0<splitDebt){\n\t\t\t//debt = (105000 + 10000) - 5000\n\t\t\tdebt = (debt+1000) - splitDebt;\n\t\t}\n\t\treturn debt;\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t//??????10??????\n\t\tint debt = 100000;\n\n\t\t//n??±???\n\t\tint n = scanner.nextInt();\n\n\t\tfor(int i=0; i<n; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tdebt = roundOff(debt);\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n\n\tpublic static int roundOff(int debt){\n\t\tString strDebt = String.valueOf(debt);\n\t\tint splitDebt = Integer.parseInt(strDebt.substring(strDebt.length()-3));\n\n\t\tif(0<splitDebt){\n\t\t\t//debt = (105000 + 10000) - 5000\n\t\t\tdebt = (debt+1000) - splitDebt;\n\t\t}\n\t\treturn debt;\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); //??????10?????? int debt = 100000; //n??±??? int n = scanner.nextInt(); for(int i=0; i<n; i++){ debt *= 1.05; debt = roundOff(debt); } System.out.println(debt); } public static int roundOff(int debt){ String strDebt = String.valueOf(debt); int splitDebt = Integer.parseInt(strDebt.substring(strDebt.length()-3)); if(0<splitDebt){ //debt = (105000 + 10000) - 5000 debt = (debt+1000) - splitDebt; } return debt; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 4, 18, 20, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 2, 2, 13, 17, 17, 17, 4, 18, 18, 13, 13, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 67, 5 ], [ 67, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 6, 12 ], [ 12, 13 ], [ 67, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 16, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 16, 25 ], [ 25, 26 ], [ 25, 27 ], [ 16, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 28, 36 ], [ 36, 37 ], [ 37, 38 ], [ 28, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 53, 59 ], [ 16, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 0, 66 ], [ 66, 67 ], [ 66, 68 ] ]
[ "import java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\t\n\tprivate void run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint debt = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdebt *= 1.05;\n\t\t\tif (debt % 1000 > 0) {\n\t\t\t\tdebt = (int)(debt / 1000) * 1000 + 1000;\n\t\t\t\t//System.out.println(debt);\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(debt);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\t\n\tprivate void run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint debt = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdebt *= 1.05;\n\t\t\tif (debt % 1000 > 0) {\n\t\t\t\tdebt = (int)(debt / 1000) * 1000 + 1000;\n\t\t\t\t//System.out.println(debt);\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(debt);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tnew Main().run();\n\t}", "main", "{\n\t\tnew Main().run();\n\t}", "new Main().run()", "new Main().run", "new Main()", "String[] args", "args", "private void run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint debt = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdebt *= 1.05;\n\t\t\tif (debt % 1000 > 0) {\n\t\t\t\tdebt = (int)(debt / 1000) * 1000 + 1000;\n\t\t\t\t//System.out.println(debt);\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(debt);\n\t}", "run", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint debt = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdebt *= 1.05;\n\t\t\tif (debt % 1000 > 0) {\n\t\t\t\tdebt = (int)(debt / 1000) * 1000 + 1000;\n\t\t\t\t//System.out.println(debt);\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(debt);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int debt = 100000;", "debt", "100000", "for (int i = 0; i < n; i++) {\n\t\t\tdebt *= 1.05;\n\t\t\tif (debt % 1000 > 0) {\n\t\t\t\tdebt = (int)(debt / 1000) * 1000 + 1000;\n\t\t\t\t//System.out.println(debt);\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tdebt *= 1.05;\n\t\t\tif (debt % 1000 > 0) {\n\t\t\t\tdebt = (int)(debt / 1000) * 1000 + 1000;\n\t\t\t\t//System.out.println(debt);\n\t\t\t}\n\t\t}", "{\n\t\t\tdebt *= 1.05;\n\t\t\tif (debt % 1000 > 0) {\n\t\t\t\tdebt = (int)(debt / 1000) * 1000 + 1000;\n\t\t\t\t//System.out.println(debt);\n\t\t\t}\n\t\t}", "debt *= 1.05", "debt", "1.05", "if (debt % 1000 > 0) {\n\t\t\t\tdebt = (int)(debt / 1000) * 1000 + 1000;\n\t\t\t\t//System.out.println(debt);\n\t\t\t}", "debt % 1000 > 0", "debt % 1000", "debt", "1000", "0", "{\n\t\t\t\tdebt = (int)(debt / 1000) * 1000 + 1000;\n\t\t\t\t//System.out.println(debt);\n\t\t\t}", "debt = (int)(debt / 1000) * 1000 + 1000", "debt", "(int)(debt / 1000) * 1000 + 1000", "(int)(debt / 1000) * 1000", "(int)(debt / 1000)", "debt", "1000", "1000", "1000", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\t\n\tprivate void run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint debt = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdebt *= 1.05;\n\t\t\tif (debt % 1000 > 0) {\n\t\t\t\tdebt = (int)(debt / 1000) * 1000 + 1000;\n\t\t\t\t//System.out.println(debt);\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(debt);\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\t\n\tprivate void run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint debt = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdebt *= 1.05;\n\t\t\tif (debt % 1000 > 0) {\n\t\t\t\tdebt = (int)(debt / 1000) * 1000 + 1000;\n\t\t\t\t//System.out.println(debt);\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(debt);\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { new Main().run(); } private void run() { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int debt = 100000; for (int i = 0; i < n; i++) { debt *= 1.05; if (debt % 1000 > 0) { debt = (int)(debt / 1000) * 1000 + 1000; //System.out.println(debt); } } System.out.println(debt); } }
[ 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, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 41, 13, 2, 13, 17, 41, 13, 4, 18, 13, 14, 2, 2, 40, 4, 18, 4, 18, 13, 2, 13, 17, 13, 17, 40, 4, 18, 4, 18, 13, 2, 13, 17, 2, 13, 17, 17, 40, 4, 18, 4, 18, 13, 2, 13, 17, 2, 13, 17, 17, 30, 0, 13, 2, 2, 2, 13, 17, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 11, 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 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 41, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 41, 55 ], [ 55, 56 ], [ 57, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 64, 66 ], [ 61, 67 ], [ 59, 68 ], [ 57, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 75, 76 ], [ 75, 77 ], [ 72, 78 ], [ 78, 79 ], [ 78, 80 ], [ 70, 81 ], [ 57, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 88, 89 ], [ 88, 90 ], [ 85, 91 ], [ 91, 92 ], [ 91, 93 ], [ 83, 94 ], [ 55, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 98, 104 ], [ 11, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 9, 111 ], [ 111, 112 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nclass Main {\n public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int n = Integer.parseInt(line);\n int money = 100000;\n for(int i=0;i<n;i++){\n \tmoney *= 1.05;\n \tString temp = money + \"\";\n \tint len = temp.length();\n \tif((!temp.substring(len-1, len).equals(\"0\")) || (!temp.substring(len-2, len-1).equals(\"0\"))\n \t\t\t|| ((!temp.substring(len-3, len-2).equals(\"0\")))){\n \t\tmoney = ((money / 1000) + 1) * 1000;\n \t}\n \t//money = money % 1000 == 0 ? money : ((money / 1000) + 1) * 1000;\n }\n System.out.println(money);\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "class Main {\n public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int n = Integer.parseInt(line);\n int money = 100000;\n for(int i=0;i<n;i++){\n \tmoney *= 1.05;\n \tString temp = money + \"\";\n \tint len = temp.length();\n \tif((!temp.substring(len-1, len).equals(\"0\")) || (!temp.substring(len-2, len-1).equals(\"0\"))\n \t\t\t|| ((!temp.substring(len-3, len-2).equals(\"0\")))){\n \t\tmoney = ((money / 1000) + 1) * 1000;\n \t}\n \t//money = money % 1000 == 0 ? money : ((money / 1000) + 1) * 1000;\n }\n System.out.println(money);\n }\n}", "Main", "public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int n = Integer.parseInt(line);\n int money = 100000;\n for(int i=0;i<n;i++){\n \tmoney *= 1.05;\n \tString temp = money + \"\";\n \tint len = temp.length();\n \tif((!temp.substring(len-1, len).equals(\"0\")) || (!temp.substring(len-2, len-1).equals(\"0\"))\n \t\t\t|| ((!temp.substring(len-3, len-2).equals(\"0\")))){\n \t\tmoney = ((money / 1000) + 1) * 1000;\n \t}\n \t//money = money % 1000 == 0 ? money : ((money / 1000) + 1) * 1000;\n }\n System.out.println(money);\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int n = Integer.parseInt(line);\n int money = 100000;\n for(int i=0;i<n;i++){\n \tmoney *= 1.05;\n \tString temp = money + \"\";\n \tint len = temp.length();\n \tif((!temp.substring(len-1, len).equals(\"0\")) || (!temp.substring(len-2, len-1).equals(\"0\"))\n \t\t\t|| ((!temp.substring(len-3, len-2).equals(\"0\")))){\n \t\tmoney = ((money / 1000) + 1) * 1000;\n \t}\n \t//money = money % 1000 == 0 ? money : ((money / 1000) + 1) * 1000;\n }\n System.out.println(money);\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "int n = Integer.parseInt(line);", "n", "Integer.parseInt(line)", "Integer.parseInt", "Integer", "line", "int money = 100000;", "money", "100000", "for(int i=0;i<n;i++){\n \tmoney *= 1.05;\n \tString temp = money + \"\";\n \tint len = temp.length();\n \tif((!temp.substring(len-1, len).equals(\"0\")) || (!temp.substring(len-2, len-1).equals(\"0\"))\n \t\t\t|| ((!temp.substring(len-3, len-2).equals(\"0\")))){\n \t\tmoney = ((money / 1000) + 1) * 1000;\n \t}\n \t//money = money % 1000 == 0 ? money : ((money / 1000) + 1) * 1000;\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n \tmoney *= 1.05;\n \tString temp = money + \"\";\n \tint len = temp.length();\n \tif((!temp.substring(len-1, len).equals(\"0\")) || (!temp.substring(len-2, len-1).equals(\"0\"))\n \t\t\t|| ((!temp.substring(len-3, len-2).equals(\"0\")))){\n \t\tmoney = ((money / 1000) + 1) * 1000;\n \t}\n \t//money = money % 1000 == 0 ? money : ((money / 1000) + 1) * 1000;\n }", "{\n \tmoney *= 1.05;\n \tString temp = money + \"\";\n \tint len = temp.length();\n \tif((!temp.substring(len-1, len).equals(\"0\")) || (!temp.substring(len-2, len-1).equals(\"0\"))\n \t\t\t|| ((!temp.substring(len-3, len-2).equals(\"0\")))){\n \t\tmoney = ((money / 1000) + 1) * 1000;\n \t}\n \t//money = money % 1000 == 0 ? money : ((money / 1000) + 1) * 1000;\n }", "money *= 1.05", "money", "1.05", "String temp = money + \"\";", "temp", "money + \"\"", "money", "\"\"", "int len = temp.length();", "len", "temp.length()", "temp.length", "temp", "if((!temp.substring(len-1, len).equals(\"0\")) || (!temp.substring(len-2, len-1).equals(\"0\"))\n \t\t\t|| ((!temp.substring(len-3, len-2).equals(\"0\")))){\n \t\tmoney = ((money / 1000) + 1) * 1000;\n \t}", "(!temp.substring(len-1, len).equals(\"0\")) || (!temp.substring(len-2, len-1).equals(\"0\"))\n \t\t\t|| ((!temp.substring(len-3, len-2).equals(\"0\")))", "(!temp.substring(len-1, len).equals(\"0\")) || (!temp.substring(len-2, len-1).equals(\"0\"))\n \t\t\t|| ((!temp.substring(len-3, len-2).equals(\"0\")))", "(!temp.substring(len-1, len).equals(\"0\"))", "temp.substring(len-1, len).equals(\"0\")", "temp.substring(len-1, len).equals", "temp.substring(len-1, len)", "temp.substring", "temp", "len-1", "len", "1", "len", "\"0\"", "(!temp.substring(len-2, len-1).equals(\"0\"))", "temp.substring(len-2, len-1).equals(\"0\")", "temp.substring(len-2, len-1).equals", "temp.substring(len-2, len-1)", "temp.substring", "temp", "len-2", "len", "2", "len-1", "len", "1", "\"0\"", "((!temp.substring(len-3, len-2).equals(\"0\")))", "temp.substring(len-3, len-2).equals(\"0\")", "temp.substring(len-3, len-2).equals", "temp.substring(len-3, len-2)", "temp.substring", "temp", "len-3", "len", "3", "len-2", "len", "2", "\"0\"", "{\n \t\tmoney = ((money / 1000) + 1) * 1000;\n \t}", "money = ((money / 1000) + 1) * 1000", "money", "((money / 1000) + 1) * 1000", "((money / 1000) + 1)", "(money / 1000)", "money", "1000", "1", "1000", "System.out.println(money)", "System.out.println", "System.out", "System", "System.out", "money", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.InputStreamReader; class Main { public static void main(String[] args) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); int n = Integer.parseInt(line); int money = 100000; for(int i=0;i<n;i++){ money *= 1.05; String temp = money + ""; int len = temp.length(); if((!temp.substring(len-1, len).equals("0")) || (!temp.substring(len-2, len-1).equals("0")) || ((!temp.substring(len-3, len-2).equals("0")))){ money = ((money / 1000) + 1) * 1000; } //money = money % 1000 == 0 ? money : ((money / 1000) + 1) * 1000; } System.out.println(money); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 42, 2, 40, 13, 17, 30, 0, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 2, 2, 13, 17, 17, 17, 4, 18, 18, 13, 13, 13, 12, 13, 30, 4, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 21, 24 ], [ 20, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 29, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 38, 44 ], [ 8, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 4, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 51, 56 ], [ 56, 57 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n private static void solve() {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int result = 100000;\n while (n-- > 0) {\n result *= 1.05;\n if (result % 1000 > 0) {\n result = (result / 1000 + 1) * 1000;\n }\n }\n System.out.println(result);\n }\n\n public static void main(String... args) {\n solve();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n private static void solve() {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int result = 100000;\n while (n-- > 0) {\n result *= 1.05;\n if (result % 1000 > 0) {\n result = (result / 1000 + 1) * 1000;\n }\n }\n System.out.println(result);\n }\n\n public static void main(String... args) {\n solve();\n }\n}", "Main", "private static void solve() {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int result = 100000;\n while (n-- > 0) {\n result *= 1.05;\n if (result % 1000 > 0) {\n result = (result / 1000 + 1) * 1000;\n }\n }\n System.out.println(result);\n }", "solve", "{\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int result = 100000;\n while (n-- > 0) {\n result *= 1.05;\n if (result % 1000 > 0) {\n result = (result / 1000 + 1) * 1000;\n }\n }\n System.out.println(result);\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int n = scanner.nextInt();", "n", "scanner.nextInt()", "scanner.nextInt", "scanner", "int result = 100000;", "result", "100000", "while (n-- > 0) {\n result *= 1.05;\n if (result % 1000 > 0) {\n result = (result / 1000 + 1) * 1000;\n }\n }", "n-- > 0", "n--", "n", "0", "{\n result *= 1.05;\n if (result % 1000 > 0) {\n result = (result / 1000 + 1) * 1000;\n }\n }", "result *= 1.05", "result", "1.05", "if (result % 1000 > 0) {\n result = (result / 1000 + 1) * 1000;\n }", "result % 1000 > 0", "result % 1000", "result", "1000", "0", "{\n result = (result / 1000 + 1) * 1000;\n }", "result = (result / 1000 + 1) * 1000", "result", "(result / 1000 + 1) * 1000", "(result / 1000 + 1)", "result / 1000", "result", "1000", "1", "1000", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "public static void main(String... args) {\n solve();\n }", "main", "{\n solve();\n }", "solve()", "solve", "String... args", "args" ]
import java.util.Scanner; class Main { private static void solve() { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int result = 100000; while (n-- > 0) { result *= 1.05; if (result % 1000 > 0) { result = (result / 1000 + 1) * 1000; } } System.out.println(result); } public static void main(String... args) { solve(); } }