node_ids
sequencelengths
4
1.4k
edge_index
sequencelengths
1
2.22k
text
sequencelengths
4
1.4k
source
stringlengths
14
427k
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 11, 1, 41, 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, 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 ], [ 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 ], [ 35, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 41, 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.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint weekNum = sc.nextInt();\n\n\t\tint debt = 100000;\n\t\tint roundUpNum = 1000;\n\n\t\tfor (int i = 0; i < weekNum; i++) {\n\t\t\tdebt *= 1.05;\n\n\t\t\tdebt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint weekNum = sc.nextInt();\n\n\t\tint debt = 100000;\n\t\tint roundUpNum = 1000;\n\n\t\tfor (int i = 0; i < weekNum; i++) {\n\t\t\tdebt *= 1.05;\n\n\t\t\tdebt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint weekNum = sc.nextInt();\n\n\t\tint debt = 100000;\n\t\tint roundUpNum = 1000;\n\n\t\tfor (int i = 0; i < weekNum; i++) {\n\t\t\tdebt *= 1.05;\n\n\t\t\tdebt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}", "main", "{\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint weekNum = sc.nextInt();\n\n\t\tint debt = 100000;\n\t\tint roundUpNum = 1000;\n\n\t\tfor (int i = 0; i < weekNum; i++) {\n\t\t\tdebt *= 1.05;\n\n\t\t\tdebt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum;\n\t\t}\n\t\tSystem.out.println(debt);\n\t}", "@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int weekNum = sc.nextInt();", "weekNum", "sc.nextInt()", "sc.nextInt", "sc", "int debt = 100000;", "debt", "100000", "int roundUpNum = 1000;", "roundUpNum", "1000", "for (int i = 0; i < weekNum; i++) {\n\t\t\tdebt *= 1.05;\n\n\t\t\tdebt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < weekNum", "i", "weekNum", "i++", "i++", "i", "{\n\t\t\tdebt *= 1.05;\n\n\t\t\tdebt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum;\n\t\t}", "{\n\t\t\tdebt *= 1.05;\n\n\t\t\tdebt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum;\n\t\t}", "debt *= 1.05", "debt", "1.05", "debt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum", "debt", "(int) Math.ceil((double) debt / roundUpNum) * roundUpNum", "(int) Math.ceil((double) debt / roundUpNum)", "Math.ceil", "Math", "(double) debt / roundUpNum", "(double) debt", "roundUpNum", "roundUpNum", "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\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint weekNum = sc.nextInt();\n\n\t\tint debt = 100000;\n\t\tint roundUpNum = 1000;\n\n\t\tfor (int i = 0; i < weekNum; i++) {\n\t\t\tdebt *= 1.05;\n\n\t\t\tdebt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum;\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\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint weekNum = sc.nextInt();\n\n\t\tint debt = 100000;\n\t\tint roundUpNum = 1000;\n\n\t\tfor (int i = 0; i < weekNum; i++) {\n\t\t\tdebt *= 1.05;\n\n\t\t\tdebt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum;\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) { @SuppressWarnings("resource") Scanner sc = new Scanner(System.in); int weekNum = sc.nextInt(); int debt = 100000; int roundUpNum = 1000; for (int i = 0; i < weekNum; i++) { debt *= 1.05; debt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum; } System.out.println(debt); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 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, 13, 0, 13, 2, 13, 17, 0, 13, 2, 13, 17, 14, 2, 2, 13, 13, 17, 30, 0, 13, 2, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 98, 11 ], [ 98, 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 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 24, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 14, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 14, 43 ], [ 43, 44 ], [ 43, 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 ], [ 61, 62 ], [ 61, 63 ], [ 58, 64 ], [ 64, 65 ], [ 64, 66 ], [ 58, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 58, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 58, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 77, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 86, 88 ], [ 14, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 12, 95 ], [ 95, 96 ], [ 0, 97 ], [ 97, 98 ], [ 97, 99 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\tpublic static void main(String[] aegs){\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint a = 0;\n\t\tString t = \"\";\n\t\t/*\n\t\twhile (true){\n\t\t\ttry {\n\t\t\t\tt = br.readLine();\n\t\t\t\tif(t == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ta = Integer.parseInt(t);\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\n\n\t\tint b = 0;\n\t\tfor(int i=0;i<10;i++){\n\t\t\tfor(int j=0;j<10;j++){\n\t\t\t\tfor(int k=0;k<10;k++){\n\t\t\t\t\tfor(int l=0;l<10;l++){\n\t\t\t\t\t\tif((i+j+k+l) == a){\n\t\t\t\t\t\t\tb++;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(b);\n\t\t}*/\n\t\ttry {\n\t\t\tt = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\t\ta = Integer.parseInt(t);\n\t\tint s = 100000;\n\t\tfor(int i=0;i<a;i++){\n\t\t\ts = (int) ((double)s * 1.05);\n\t\t\tint ss = s;\n\t\t\ts = s/1000;\n\t\t\ts = s*1000;\n\t\t\tif((ss - s) > 0){\n\t\t\t\ts = s + 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s);\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\tpublic static void main(String[] aegs){\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint a = 0;\n\t\tString t = \"\";\n\t\t/*\n\t\twhile (true){\n\t\t\ttry {\n\t\t\t\tt = br.readLine();\n\t\t\t\tif(t == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ta = Integer.parseInt(t);\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\n\n\t\tint b = 0;\n\t\tfor(int i=0;i<10;i++){\n\t\t\tfor(int j=0;j<10;j++){\n\t\t\t\tfor(int k=0;k<10;k++){\n\t\t\t\t\tfor(int l=0;l<10;l++){\n\t\t\t\t\t\tif((i+j+k+l) == a){\n\t\t\t\t\t\t\tb++;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(b);\n\t\t}*/\n\t\ttry {\n\t\t\tt = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\t\ta = Integer.parseInt(t);\n\t\tint s = 100000;\n\t\tfor(int i=0;i<a;i++){\n\t\t\ts = (int) ((double)s * 1.05);\n\t\t\tint ss = s;\n\t\t\ts = s/1000;\n\t\t\ts = s*1000;\n\t\t\tif((ss - s) > 0){\n\t\t\t\ts = s + 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s);\n\t\t\n\t}\n\n}", "Main", "public static void main(String[] aegs){\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint a = 0;\n\t\tString t = \"\";\n\t\t/*\n\t\twhile (true){\n\t\t\ttry {\n\t\t\t\tt = br.readLine();\n\t\t\t\tif(t == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ta = Integer.parseInt(t);\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\n\n\t\tint b = 0;\n\t\tfor(int i=0;i<10;i++){\n\t\t\tfor(int j=0;j<10;j++){\n\t\t\t\tfor(int k=0;k<10;k++){\n\t\t\t\t\tfor(int l=0;l<10;l++){\n\t\t\t\t\t\tif((i+j+k+l) == a){\n\t\t\t\t\t\t\tb++;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(b);\n\t\t}*/\n\t\ttry {\n\t\t\tt = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\t\ta = Integer.parseInt(t);\n\t\tint s = 100000;\n\t\tfor(int i=0;i<a;i++){\n\t\t\ts = (int) ((double)s * 1.05);\n\t\t\tint ss = s;\n\t\t\ts = s/1000;\n\t\t\ts = s*1000;\n\t\t\tif((ss - s) > 0){\n\t\t\t\ts = s + 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s);\n\t\t\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint a = 0;\n\t\tString t = \"\";\n\t\t/*\n\t\twhile (true){\n\t\t\ttry {\n\t\t\t\tt = br.readLine();\n\t\t\t\tif(t == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ta = Integer.parseInt(t);\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\n\n\t\tint b = 0;\n\t\tfor(int i=0;i<10;i++){\n\t\t\tfor(int j=0;j<10;j++){\n\t\t\t\tfor(int k=0;k<10;k++){\n\t\t\t\t\tfor(int l=0;l<10;l++){\n\t\t\t\t\t\tif((i+j+k+l) == a){\n\t\t\t\t\t\t\tb++;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(b);\n\t\t}*/\n\t\ttry {\n\t\t\tt = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\t\ta = Integer.parseInt(t);\n\t\tint s = 100000;\n\t\tfor(int i=0;i<a;i++){\n\t\t\ts = (int) ((double)s * 1.05);\n\t\t\tint ss = s;\n\t\t\ts = s/1000;\n\t\t\ts = s*1000;\n\t\t\tif((ss - s) > 0){\n\t\t\t\ts = s + 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s);\n\t\t\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int a = 0;", "a", "0", "String t = \"\";", "t", "\"\"", "try {\n\t\t\tt = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}", "catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}", "IOException e", "{\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tt = br.readLine();\n\t\t}", "t = br.readLine()", "t", "br.readLine()", "br.readLine", "br", "a = Integer.parseInt(t)", "a", "Integer.parseInt(t)", "Integer.parseInt", "Integer", "t", "int s = 100000;", "s", "100000", "for(int i=0;i<a;i++){\n\t\t\ts = (int) ((double)s * 1.05);\n\t\t\tint ss = s;\n\t\t\ts = s/1000;\n\t\t\ts = s*1000;\n\t\t\tif((ss - s) > 0){\n\t\t\t\ts = s + 1000;\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n\t\t\ts = (int) ((double)s * 1.05);\n\t\t\tint ss = s;\n\t\t\ts = s/1000;\n\t\t\ts = s*1000;\n\t\t\tif((ss - s) > 0){\n\t\t\t\ts = s + 1000;\n\t\t\t}\n\t\t}", "{\n\t\t\ts = (int) ((double)s * 1.05);\n\t\t\tint ss = s;\n\t\t\ts = s/1000;\n\t\t\ts = s*1000;\n\t\t\tif((ss - s) > 0){\n\t\t\t\ts = s + 1000;\n\t\t\t}\n\t\t}", "s = (int) ((double)s * 1.05)", "s", "(int) ((double)s * 1.05)", "(double)s", "1.05", "int ss = s;", "ss", "s", "s = s/1000", "s", "s/1000", "s", "1000", "s = s*1000", "s", "s*1000", "s", "1000", "if((ss - s) > 0){\n\t\t\t\ts = s + 1000;\n\t\t\t}", "(ss - s) > 0", "(ss - s)", "ss", "s", "0", "{\n\t\t\t\ts = s + 1000;\n\t\t\t}", "s = s + 1000", "s", "s + 1000", "s", "1000", "System.out.println(s)", "System.out.println", "System.out", "System", "System.out", "s", "String[] aegs", "aegs", "public class Main {\n\tpublic static void main(String[] aegs){\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint a = 0;\n\t\tString t = \"\";\n\t\t/*\n\t\twhile (true){\n\t\t\ttry {\n\t\t\t\tt = br.readLine();\n\t\t\t\tif(t == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ta = Integer.parseInt(t);\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\n\n\t\tint b = 0;\n\t\tfor(int i=0;i<10;i++){\n\t\t\tfor(int j=0;j<10;j++){\n\t\t\t\tfor(int k=0;k<10;k++){\n\t\t\t\t\tfor(int l=0;l<10;l++){\n\t\t\t\t\t\tif((i+j+k+l) == a){\n\t\t\t\t\t\t\tb++;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(b);\n\t\t}*/\n\t\ttry {\n\t\t\tt = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\t\ta = Integer.parseInt(t);\n\t\tint s = 100000;\n\t\tfor(int i=0;i<a;i++){\n\t\t\ts = (int) ((double)s * 1.05);\n\t\t\tint ss = s;\n\t\t\ts = s/1000;\n\t\t\ts = s*1000;\n\t\t\tif((ss - s) > 0){\n\t\t\t\ts = s + 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s);\n\t\t\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] aegs){\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint a = 0;\n\t\tString t = \"\";\n\t\t/*\n\t\twhile (true){\n\t\t\ttry {\n\t\t\t\tt = br.readLine();\n\t\t\t\tif(t == null){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ta = Integer.parseInt(t);\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\n\n\t\tint b = 0;\n\t\tfor(int i=0;i<10;i++){\n\t\t\tfor(int j=0;j<10;j++){\n\t\t\t\tfor(int k=0;k<10;k++){\n\t\t\t\t\tfor(int l=0;l<10;l++){\n\t\t\t\t\t\tif((i+j+k+l) == a){\n\t\t\t\t\t\t\tb++;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(b);\n\t\t}*/\n\t\ttry {\n\t\t\tt = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\t\ta = Integer.parseInt(t);\n\t\tint s = 100000;\n\t\tfor(int i=0;i<a;i++){\n\t\t\ts = (int) ((double)s * 1.05);\n\t\t\tint ss = s;\n\t\t\ts = s/1000;\n\t\t\ts = s*1000;\n\t\t\tif((ss - s) > 0){\n\t\t\t\ts = s + 1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s);\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[] aegs){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int a = 0; String t = ""; /* while (true){ try { t = br.readLine(); if(t == null){ break; } a = Integer.parseInt(t); } catch (NumberFormatException e) { // TODO 自動生成された catch ブロック e.printStackTrace(); } catch (IOException e) { // TODO 自動生成された catch ブロック e.printStackTrace(); } int b = 0; for(int i=0;i<10;i++){ for(int j=0;j<10;j++){ for(int k=0;k<10;k++){ for(int l=0;l<10;l++){ if((i+j+k+l) == a){ b++; } } } } } System.out.println(b); }*/ try { t = br.readLine(); } catch (IOException e) { // TODO 自動生成された catch ブロック e.printStackTrace(); } a = Integer.parseInt(t); int s = 100000; for(int i=0;i<a;i++){ s = (int) ((double)s * 1.05); int ss = s; s = s/1000; s = s*1000; if((ss - s) > 0){ s = s + 1000; } } System.out.println(s); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 17, 38, 30, 4, 18, 13, 30, 0, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 41, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 41, 13, 4, 18, 13, 13, 41, 13, 4, 18, 4, 18, 13, 13, 40, 17, 18, 13, 13, 29, 4, 13, 13, 40, 13, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 10, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 21, 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 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 40, 43 ], [ 26, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 50, 51 ], [ 15, 52 ], [ 52, 53 ], [ 10, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 62, 63 ], [ 56, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 56, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 72, 78 ], [ 78, 79 ], [ 72, 80 ], [ 80, 81 ], [ 80, 82 ], [ 56, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 84, 87 ], [ 87, 88 ], [ 54, 89 ], [ 89, 90 ], [ 54, 91 ], [ 91, 92 ] ]
[ "import java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Scanner;\n\nclass Main {\n\t\n\tpublic static BigDecimal INTEREST_RATE = new BigDecimal(\"0.05\");\n\t\n\tpublic static void main(String... args) {\n\t\tScanner scanner = null;\n\t\ttry {\n\t\t\tscanner = new Scanner(System.in);\n\t\t\tint n = scanner.nextInt();\n\t\t\tBigDecimal baseDebt = new BigDecimal(100000);\n\t\t\tBigDecimal debt = calc(baseDebt, n);\n\t\t\tSystem.out.println(debt.intValue());\n\t\t} finally {\n\t\t\tscanner.close();\n\t\t}\n\t}\n\t\n\tpublic static BigDecimal calc(BigDecimal debt, int n) {\n\t\tif (n <= 0) {\n\t\t\treturn debt;\n\t\t}\n\t\tBigDecimal interest = debt.multiply(INTEREST_RATE);\n\t\tBigDecimal afterDebt = debt.add(interest).setScale(-3, RoundingMode.UP);\n\t\treturn calc(afterDebt, --n);\n\t}\n}", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.math.RoundingMode;", "RoundingMode", "java.math", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\t\n\tpublic static BigDecimal INTEREST_RATE = new BigDecimal(\"0.05\");\n\t\n\tpublic static void main(String... args) {\n\t\tScanner scanner = null;\n\t\ttry {\n\t\t\tscanner = new Scanner(System.in);\n\t\t\tint n = scanner.nextInt();\n\t\t\tBigDecimal baseDebt = new BigDecimal(100000);\n\t\t\tBigDecimal debt = calc(baseDebt, n);\n\t\t\tSystem.out.println(debt.intValue());\n\t\t} finally {\n\t\t\tscanner.close();\n\t\t}\n\t}\n\t\n\tpublic static BigDecimal calc(BigDecimal debt, int n) {\n\t\tif (n <= 0) {\n\t\t\treturn debt;\n\t\t}\n\t\tBigDecimal interest = debt.multiply(INTEREST_RATE);\n\t\tBigDecimal afterDebt = debt.add(interest).setScale(-3, RoundingMode.UP);\n\t\treturn calc(afterDebt, --n);\n\t}\n}", "Main", "public static BigDecimal INTEREST_RATE = new BigDecimal(\"0.05\");", "INTEREST_RATE", "new BigDecimal(\"0.05\")", "public static void main(String... args) {\n\t\tScanner scanner = null;\n\t\ttry {\n\t\t\tscanner = new Scanner(System.in);\n\t\t\tint n = scanner.nextInt();\n\t\t\tBigDecimal baseDebt = new BigDecimal(100000);\n\t\t\tBigDecimal debt = calc(baseDebt, n);\n\t\t\tSystem.out.println(debt.intValue());\n\t\t} finally {\n\t\t\tscanner.close();\n\t\t}\n\t}", "main", "{\n\t\tScanner scanner = null;\n\t\ttry {\n\t\t\tscanner = new Scanner(System.in);\n\t\t\tint n = scanner.nextInt();\n\t\t\tBigDecimal baseDebt = new BigDecimal(100000);\n\t\t\tBigDecimal debt = calc(baseDebt, n);\n\t\t\tSystem.out.println(debt.intValue());\n\t\t} finally {\n\t\t\tscanner.close();\n\t\t}\n\t}", "Scanner scanner = null;", "scanner", "null", "try {\n\t\t\tscanner = new Scanner(System.in);\n\t\t\tint n = scanner.nextInt();\n\t\t\tBigDecimal baseDebt = new BigDecimal(100000);\n\t\t\tBigDecimal debt = calc(baseDebt, n);\n\t\t\tSystem.out.println(debt.intValue());\n\t\t} finally {\n\t\t\tscanner.close();\n\t\t}", "{\n\t\t\tscanner.close();\n\t\t}", "scanner.close()", "scanner.close", "scanner", "{\n\t\t\tscanner = new Scanner(System.in);\n\t\t\tint n = scanner.nextInt();\n\t\t\tBigDecimal baseDebt = new BigDecimal(100000);\n\t\t\tBigDecimal debt = calc(baseDebt, n);\n\t\t\tSystem.out.println(debt.intValue());\n\t\t}", "scanner = new Scanner(System.in)", "scanner", "new Scanner(System.in)", "int n = scanner.nextInt();", "n", "scanner.nextInt()", "scanner.nextInt", "scanner", "BigDecimal baseDebt = new BigDecimal(100000);", "baseDebt", "new BigDecimal(100000)", "BigDecimal debt = calc(baseDebt, n);", "debt", "calc(baseDebt, n)", "calc", "baseDebt", "n", "System.out.println(debt.intValue())", "System.out.println", "System.out", "System", "System.out", "debt.intValue()", "debt.intValue", "debt", "String... args", "args", "public static BigDecimal calc(BigDecimal debt, int n) {\n\t\tif (n <= 0) {\n\t\t\treturn debt;\n\t\t}\n\t\tBigDecimal interest = debt.multiply(INTEREST_RATE);\n\t\tBigDecimal afterDebt = debt.add(interest).setScale(-3, RoundingMode.UP);\n\t\treturn calc(afterDebt, --n);\n\t}", "calc", "{\n\t\tif (n <= 0) {\n\t\t\treturn debt;\n\t\t}\n\t\tBigDecimal interest = debt.multiply(INTEREST_RATE);\n\t\tBigDecimal afterDebt = debt.add(interest).setScale(-3, RoundingMode.UP);\n\t\treturn calc(afterDebt, --n);\n\t}", "if (n <= 0) {\n\t\t\treturn debt;\n\t\t}", "n <= 0", "n", "0", "{\n\t\t\treturn debt;\n\t\t}", "return debt;", "debt", "BigDecimal interest = debt.multiply(INTEREST_RATE);", "interest", "debt.multiply(INTEREST_RATE)", "debt.multiply", "debt", "INTEREST_RATE", "BigDecimal afterDebt = debt.add(interest).setScale(-3, RoundingMode.UP);", "afterDebt", "debt.add(interest).setScale(-3, RoundingMode.UP)", "debt.add(interest).setScale", "debt.add(interest)", "debt.add", "debt", "interest", "-3", "3", "RoundingMode.UP", "RoundingMode", "RoundingMode.UP", "return calc(afterDebt, --n);", "calc(afterDebt, --n)", "calc", "afterDebt", "--n", "n", "BigDecimal debt", "debt", "int n", "n" ]
import java.math.BigDecimal; import java.math.RoundingMode; import java.util.Scanner; class Main { public static BigDecimal INTEREST_RATE = new BigDecimal("0.05"); public static void main(String... args) { Scanner scanner = null; try { scanner = new Scanner(System.in); int n = scanner.nextInt(); BigDecimal baseDebt = new BigDecimal(100000); BigDecimal debt = calc(baseDebt, n); System.out.println(debt.intValue()); } finally { scanner.close(); } } public static BigDecimal calc(BigDecimal debt, int n) { if (n <= 0) { return debt; } BigDecimal interest = debt.multiply(INTEREST_RATE); BigDecimal afterDebt = debt.add(interest).setScale(-3, RoundingMode.UP); return calc(afterDebt, --n); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 30, 41, 13, 20, 4, 13, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 42, 2, 40, 13, 17, 30, 0, 13, 13, 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 ], [ 68, 5 ], [ 68, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 10, 14 ], [ 14, 15 ], [ 14, 16 ], [ 6, 17 ], [ 17, 18 ], [ 68, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 21, 27 ], [ 27, 28 ], [ 27, 29 ], [ 21, 30 ], [ 30, 31 ], [ 30, 32 ], [ 21, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 33, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 38, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 21, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 19, 65 ], [ 65, 66 ], [ 0, 67 ], [ 67, 68 ], [ 67, 69 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n int n = in.nextInt();\n int debt = 100000;\n double rate = 1.05;\n\n while (n --> 0) {\n debt *= rate;\n int rem = debt % 1000;\n if (rem != 0) {\n debt = debt - rem + 1000;\n }\n }\n\n System.out.println(debt);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n int n = in.nextInt();\n int debt = 100000;\n double rate = 1.05;\n\n while (n --> 0) {\n debt *= rate;\n int rem = debt % 1000;\n if (rem != 0) {\n debt = debt - rem + 1000;\n }\n }\n\n System.out.println(debt);\n }\n}", "Main", "public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }", "main", "{\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }", "try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }", "{\n solve(in);\n }", "Scanner in = new Scanner(System.in)", "Scanner in = new Scanner(System.in)", "new Scanner(System.in)", "solve(in)", "solve", "in", "String[] args", "args", "private static void solve(Scanner in) {\n int n = in.nextInt();\n int debt = 100000;\n double rate = 1.05;\n\n while (n --> 0) {\n debt *= rate;\n int rem = debt % 1000;\n if (rem != 0) {\n debt = debt - rem + 1000;\n }\n }\n\n System.out.println(debt);\n }", "solve", "{\n int n = in.nextInt();\n int debt = 100000;\n double rate = 1.05;\n\n while (n --> 0) {\n debt *= rate;\n int rem = debt % 1000;\n if (rem != 0) {\n debt = debt - rem + 1000;\n }\n }\n\n System.out.println(debt);\n }", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "int debt = 100000;", "debt", "100000", "double rate = 1.05;", "rate", "1.05", "while (n --> 0) {\n debt *= rate;\n int rem = debt % 1000;\n if (rem != 0) {\n debt = debt - rem + 1000;\n }\n }", "n --> 0", "n --", "n", "0", "{\n debt *= rate;\n int rem = debt % 1000;\n if (rem != 0) {\n debt = debt - rem + 1000;\n }\n }", "debt *= rate", "debt", "rate", "int rem = debt % 1000;", "rem", "debt % 1000", "debt", "1000", "if (rem != 0) {\n debt = debt - rem + 1000;\n }", "rem != 0", "rem", "0", "{\n debt = debt - rem + 1000;\n }", "debt = debt - rem + 1000", "debt", "debt - rem + 1000", "debt - rem", "debt", "rem", "1000", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "Scanner in", "in", "public class Main {\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n int n = in.nextInt();\n int debt = 100000;\n double rate = 1.05;\n\n while (n --> 0) {\n debt *= rate;\n int rem = debt % 1000;\n if (rem != 0) {\n debt = debt - rem + 1000;\n }\n }\n\n System.out.println(debt);\n }\n}", "public class Main {\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n int n = in.nextInt();\n int debt = 100000;\n double rate = 1.05;\n\n while (n --> 0) {\n debt *= rate;\n int rem = debt % 1000;\n if (rem != 0) {\n debt = debt - rem + 1000;\n }\n }\n\n System.out.println(debt);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner in = new Scanner(System.in)) { solve(in); } } private static void solve(Scanner in) { int n = in.nextInt(); int debt = 100000; double rate = 1.05; while (n --> 0) { debt *= rate; int rem = debt % 1000; if (rem != 0) { debt = debt - rem + 1000; } } System.out.println(debt); } }
[ 7, 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, 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 ], [ 57, 5 ], [ 57, 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 ], [ 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 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 6, 54 ], [ 54, 55 ], [ 0, 56 ], [ 56, 57 ], [ 56, 58 ] ]
[ "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\t\n\t\tint data = Integer.parseInt(br.readLine());\n\t\t\n\t\tint debt = 100000;\n\t\tfor(int i=0;i<data;i++) {\n\t\t\tdebt = (int)Math.ceil(debt*1.05/1000)*1000;\n\t\t}\n\t\t\n\t\tSystem.out.println(debt); \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\t\n\t\tint data = Integer.parseInt(br.readLine());\n\t\t\n\t\tint debt = 100000;\n\t\tfor(int i=0;i<data;i++) {\n\t\t\tdebt = (int)Math.ceil(debt*1.05/1000)*1000;\n\t\t}\n\t\t\n\t\tSystem.out.println(debt); \n\t}\n}", "Main", "public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint data = Integer.parseInt(br.readLine());\n\t\t\n\t\tint debt = 100000;\n\t\tfor(int i=0;i<data;i++) {\n\t\t\tdebt = (int)Math.ceil(debt*1.05/1000)*1000;\n\t\t}\n\t\t\n\t\tSystem.out.println(debt); \n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint data = Integer.parseInt(br.readLine());\n\t\t\n\t\tint debt = 100000;\n\t\tfor(int i=0;i<data;i++) {\n\t\t\tdebt = (int)Math.ceil(debt*1.05/1000)*1000;\n\t\t}\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 data = Integer.parseInt(br.readLine());", "data", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "int debt = 100000;", "debt", "100000", "for(int i=0;i<data;i++) {\n\t\t\tdebt = (int)Math.ceil(debt*1.05/1000)*1000;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<data", "i", "data", "i++", "i++", "i", "{\n\t\t\tdebt = (int)Math.ceil(debt*1.05/1000)*1000;\n\t\t}", "{\n\t\t\tdebt = (int)Math.ceil(debt*1.05/1000)*1000;\n\t\t}", "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", "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\t\n\t\tint data = Integer.parseInt(br.readLine());\n\t\t\n\t\tint debt = 100000;\n\t\tfor(int i=0;i<data;i++) {\n\t\t\tdebt = (int)Math.ceil(debt*1.05/1000)*1000;\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) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint data = Integer.parseInt(br.readLine());\n\t\t\n\t\tint debt = 100000;\n\t\tfor(int i=0;i<data;i++) {\n\t\t\tdebt = (int)Math.ceil(debt*1.05/1000)*1000;\n\t\t}\n\t\t\n\t\tSystem.out.println(debt); \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 data = Integer.parseInt(br.readLine()); int debt = 100000; for(int i=0;i<data;i++) { debt = (int)Math.ceil(debt*1.05/1000)*1000; } System.out.println(debt); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 4, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 30, 0, 13, 20, 0, 13, 20, 41, 13, 17, 41, 13, 4, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 17, 41, 13, 20, 41, 13, 4, 18, 13, 40, 17, 18, 13, 13, 0, 13, 4, 18, 13, 41, 13, 20, 4, 18, 18, 13, 13, 4, 18, 13, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 18, 13, 13, 17, 30, 14, 2, 2, 13, 17, 40, 4, 18, 13, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 41, 13, 20, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 164, 26 ], [ 164, 27 ], [ 27, 28 ], [ 164, 29 ], [ 29, 30 ], [ 164, 31 ], [ 31, 32 ], [ 164, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 164, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 44, 51 ], [ 51, 52 ], [ 52, 53 ], [ 41, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 58, 60 ], [ 54, 61 ], [ 61, 62 ], [ 61, 63 ], [ 54, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 54, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 68, 76 ], [ 76, 77 ], [ 77, 78 ], [ 68, 79 ], [ 80, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 83, 85 ], [ 80, 86 ], [ 86, 87 ], [ 86, 88 ], [ 80, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 94, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 80, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 54, 104 ], [ 104, 105 ], [ 104, 106 ], [ 54, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 164, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 120, 123 ], [ 123, 124 ], [ 164, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 128, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 139, 148 ], [ 148, 149 ], [ 148, 150 ], [ 127, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 164, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 155, 161 ], [ 161, 162 ], [ 0, 163 ], [ 163, 164 ], [ 163, 165 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\nimport java.text.DecimalFormat;\nimport java.util.Arrays;\nimport java.util.Scanner;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w;\n\t\n\tMain() {\n\t\treadData();\n\t\t\n\n\t}\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tdouble m = 100000;\n\t\t\tint n = nextInt();\n\t\t\tfor (int i=1;i<=n;i++) {\n\t\t\t\tm = m * 1.05;\n\t\t\t\tBigDecimal bd = new BigDecimal(m);\n\t\t\t\tBigDecimal bd3 = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\t\t\n\t\t\t\tm = bd3.intValue();\n//\t\t\t\tSystem.out.println((int)m);\n\t\t\t}\n\t\t\tDecimalFormat df = new DecimalFormat(\"0\");\n\t\t\tSystem.out.println(df.format(m));\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\t\n\tprivate String next() throws IOException {\n\t\ttry {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.text.DecimalFormat;", "DecimalFormat", "java.text", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w;\n\t\n\tMain() {\n\t\treadData();\n\t\t\n\n\t}\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tdouble m = 100000;\n\t\t\tint n = nextInt();\n\t\t\tfor (int i=1;i<=n;i++) {\n\t\t\t\tm = m * 1.05;\n\t\t\t\tBigDecimal bd = new BigDecimal(m);\n\t\t\t\tBigDecimal bd3 = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\t\t\n\t\t\t\tm = bd3.intValue();\n//\t\t\t\tSystem.out.println((int)m);\n\t\t\t}\n\t\t\tDecimalFormat df = new DecimalFormat(\"0\");\n\t\t\tSystem.out.println(df.format(m));\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\t\n\tprivate String next() throws IOException {\n\t\ttry {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}\n\n}", "Main", "private StringTokenizer st;", "st", "private BufferedReader bf;", "bf", "private int w;", "w", "Main() {\n\t\treadData();\n\t\t\n\n\t}", "Main", "{\n\t\treadData();\n\t\t\n\n\t}", "readData()", "readData", "private void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tdouble m = 100000;\n\t\t\tint n = nextInt();\n\t\t\tfor (int i=1;i<=n;i++) {\n\t\t\t\tm = m * 1.05;\n\t\t\t\tBigDecimal bd = new BigDecimal(m);\n\t\t\t\tBigDecimal bd3 = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\t\t\n\t\t\t\tm = bd3.intValue();\n//\t\t\t\tSystem.out.println((int)m);\n\t\t\t}\n\t\t\tDecimalFormat df = new DecimalFormat(\"0\");\n\t\t\tSystem.out.println(df.format(m));\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "readData", "{\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tdouble m = 100000;\n\t\t\tint n = nextInt();\n\t\t\tfor (int i=1;i<=n;i++) {\n\t\t\t\tm = m * 1.05;\n\t\t\t\tBigDecimal bd = new BigDecimal(m);\n\t\t\t\tBigDecimal bd3 = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\t\t\n\t\t\t\tm = bd3.intValue();\n//\t\t\t\tSystem.out.println((int)m);\n\t\t\t}\n\t\t\tDecimalFormat df = new DecimalFormat(\"0\");\n\t\t\tSystem.out.println(df.format(m));\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "try {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tdouble m = 100000;\n\t\t\tint n = nextInt();\n\t\t\tfor (int i=1;i<=n;i++) {\n\t\t\t\tm = m * 1.05;\n\t\t\t\tBigDecimal bd = new BigDecimal(m);\n\t\t\t\tBigDecimal bd3 = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\t\t\n\t\t\t\tm = bd3.intValue();\n//\t\t\t\tSystem.out.println((int)m);\n\t\t\t}\n\t\t\tDecimalFormat df = new DecimalFormat(\"0\");\n\t\t\tSystem.out.println(df.format(m));\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t\te.printStackTrace();\n\t\t}", "catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t\te.printStackTrace();\n\t\t}", "Exception e", "{\n\t\t\tSystem.out.println(\"dacat\");\n\t\t\te.printStackTrace();\n\t\t}", "System.out.println(\"dacat\")", "System.out.println", "System.out", "System", "System.out", "\"dacat\"", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tdouble m = 100000;\n\t\t\tint n = nextInt();\n\t\t\tfor (int i=1;i<=n;i++) {\n\t\t\t\tm = m * 1.05;\n\t\t\t\tBigDecimal bd = new BigDecimal(m);\n\t\t\t\tBigDecimal bd3 = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\t\t\n\t\t\t\tm = bd3.intValue();\n//\t\t\t\tSystem.out.println((int)m);\n\t\t\t}\n\t\t\tDecimalFormat df = new DecimalFormat(\"0\");\n\t\t\tSystem.out.println(df.format(m));\n\t\t\t\n\t\t}", "bf = new BufferedReader(new InputStreamReader(System.in))", "bf", "new BufferedReader(new InputStreamReader(System.in))", "st = new StringTokenizer(bf.readLine())", "st", "new StringTokenizer(bf.readLine())", "double m = 100000;", "m", "100000", "int n = nextInt();", "n", "nextInt()", "nextInt", "for (int i=1;i<=n;i++) {\n\t\t\t\tm = m * 1.05;\n\t\t\t\tBigDecimal bd = new BigDecimal(m);\n\t\t\t\tBigDecimal bd3 = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\t\t\n\t\t\t\tm = bd3.intValue();\n//\t\t\t\tSystem.out.println((int)m);\n\t\t\t}", "int i=1;", "int i=1;", "i", "1", "i<=n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tm = m * 1.05;\n\t\t\t\tBigDecimal bd = new BigDecimal(m);\n\t\t\t\tBigDecimal bd3 = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\t\t\n\t\t\t\tm = bd3.intValue();\n//\t\t\t\tSystem.out.println((int)m);\n\t\t\t}", "{\n\t\t\t\tm = m * 1.05;\n\t\t\t\tBigDecimal bd = new BigDecimal(m);\n\t\t\t\tBigDecimal bd3 = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\t\t\n\t\t\t\tm = bd3.intValue();\n//\t\t\t\tSystem.out.println((int)m);\n\t\t\t}", "m = m * 1.05", "m", "m * 1.05", "m", "1.05", "BigDecimal bd = new BigDecimal(m);", "bd", "new BigDecimal(m)", "BigDecimal bd3 = bd.setScale(-3, BigDecimal.ROUND_UP);", "bd3", "bd.setScale(-3, BigDecimal.ROUND_UP)", "bd.setScale", "bd", "-3", "3", "BigDecimal.ROUND_UP", "BigDecimal", "BigDecimal.ROUND_UP", "m = bd3.intValue()", "m", "bd3.intValue()", "bd3.intValue", "bd3", "DecimalFormat df = new DecimalFormat(\"0\");", "df", "new DecimalFormat(\"0\")", "System.out.println(df.format(m))", "System.out.println", "System.out", "System", "System.out", "df.format(m)", "df.format", "df", "m", "private int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}", "nextInt", "{\n\t\treturn Integer.parseInt(next());\n\t}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "private String next() throws IOException {\n\t\ttry {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t}\n\t\treturn st.nextToken();\n\t}", "next", "{\n\t\ttry {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t}\n\t\treturn st.nextToken();\n\t}", "try {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t}", "catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t}", "Exception e", "{\n\t\t\tSystem.out.println(\"dacat\");\n\t\t}", "System.out.println(\"dacat\")", "System.out.println", "System.out", "System", "System.out", "\"dacat\"", "{\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t}", "if (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "st = new StringTokenizer(bf.readLine())", "st", "new StringTokenizer(bf.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}", "Main m = new Main();", "m", "new Main()", "String[] args", "args", "public class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w;\n\t\n\tMain() {\n\t\treadData();\n\t\t\n\n\t}\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tdouble m = 100000;\n\t\t\tint n = nextInt();\n\t\t\tfor (int i=1;i<=n;i++) {\n\t\t\t\tm = m * 1.05;\n\t\t\t\tBigDecimal bd = new BigDecimal(m);\n\t\t\t\tBigDecimal bd3 = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\t\t\n\t\t\t\tm = bd3.intValue();\n//\t\t\t\tSystem.out.println((int)m);\n\t\t\t}\n\t\t\tDecimalFormat df = new DecimalFormat(\"0\");\n\t\t\tSystem.out.println(df.format(m));\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\t\n\tprivate String next() throws IOException {\n\t\ttry {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}\n\n}", "public class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w;\n\t\n\tMain() {\n\t\treadData();\n\t\t\n\n\t}\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tdouble m = 100000;\n\t\t\tint n = nextInt();\n\t\t\tfor (int i=1;i<=n;i++) {\n\t\t\t\tm = m * 1.05;\n\t\t\t\tBigDecimal bd = new BigDecimal(m);\n\t\t\t\tBigDecimal bd3 = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\t\t\n\t\t\t\tm = bd3.intValue();\n//\t\t\t\tSystem.out.println((int)m);\n\t\t\t}\n\t\t\tDecimalFormat df = new DecimalFormat(\"0\");\n\t\t\tSystem.out.println(df.format(m));\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\t\n\tprivate String next() throws IOException {\n\t\ttry {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"dacat\");\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigDecimal; import java.text.DecimalFormat; import java.util.Arrays; import java.util.Scanner; import java.util.StringTokenizer; public class Main { private StringTokenizer st; private BufferedReader bf; private int w; Main() { readData(); } private void readData() { try { bf = new BufferedReader(new InputStreamReader(System.in)); st = new StringTokenizer(bf.readLine()); double m = 100000; int n = nextInt(); for (int i=1;i<=n;i++) { m = m * 1.05; BigDecimal bd = new BigDecimal(m); BigDecimal bd3 = bd.setScale(-3, BigDecimal.ROUND_UP); m = bd3.intValue(); // System.out.println((int)m); } DecimalFormat df = new DecimalFormat("0"); System.out.println(df.format(m)); } catch (Exception e) { System.out.println("dacat"); e.printStackTrace(); } } private int nextInt() throws IOException { return Integer.parseInt(next()); } private String next() throws IOException { try { if (st == null || !st.hasMoreTokens()) st = new StringTokenizer(bf.readLine()); } catch (Exception e) { System.out.println("dacat"); } return st.nextToken(); } public static void main(String[] args) { // TODO Auto-generated method stub Main m = new Main(); } }
[ 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, 41, 13, 17, 14, 2, 2, 13, 17, 17, 0, 13, 17, 0, 13, 2, 2, 13, 17, 13, 4, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 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 ], [ 42, 44 ], [ 32, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 8, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 8, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 6, 64 ], [ 64, 65 ] ]
[ "import java.util.*;\n\nclass Main {\n public static void main (String [] args) {\n\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n long debt = 100;\n\n for (int x = 0; x < n; x++) {\n int residue = 0;\n if(debt % 20 != 0) residue = 1;\n debt += debt / 20 + residue;\n }\n\n System.out.print(debt);\n System.out.println(\"000\");\n }\n}", "import java.util.*;", "util.*", "java", "class Main {\n public static void main (String [] args) {\n\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n long debt = 100;\n\n for (int x = 0; x < n; x++) {\n int residue = 0;\n if(debt % 20 != 0) residue = 1;\n debt += debt / 20 + residue;\n }\n\n System.out.print(debt);\n System.out.println(\"000\");\n }\n}", "Main", "public static void main (String [] args) {\n\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n long debt = 100;\n\n for (int x = 0; x < n; x++) {\n int residue = 0;\n if(debt % 20 != 0) residue = 1;\n debt += debt / 20 + residue;\n }\n\n System.out.print(debt);\n System.out.println(\"000\");\n }", "main", "{\n\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n long debt = 100;\n\n for (int x = 0; x < n; x++) {\n int residue = 0;\n if(debt % 20 != 0) residue = 1;\n debt += debt / 20 + residue;\n }\n\n System.out.print(debt);\n System.out.println(\"000\");\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "long debt = 100;", "debt", "100", "for (int x = 0; x < n; x++) {\n int residue = 0;\n if(debt % 20 != 0) residue = 1;\n debt += debt / 20 + residue;\n }", "int x = 0;", "int x = 0;", "x", "0", "x < n", "x", "n", "x++", "x++", "x", "{\n int residue = 0;\n if(debt % 20 != 0) residue = 1;\n debt += debt / 20 + residue;\n }", "{\n int residue = 0;\n if(debt % 20 != 0) residue = 1;\n debt += debt / 20 + residue;\n }", "int residue = 0;", "residue", "0", "if(debt % 20 != 0) residue = 1;", "debt % 20 != 0", "debt % 20", "debt", "20", "0", "residue = 1", "residue", "1", "debt += debt / 20 + residue", "debt", "debt / 20 + residue", "debt / 20", "debt", "20", "residue", "System.out.print(debt)", "System.out.print", "System.out", "System", "System.out", "debt", "System.out.println(\"000\")", "System.out.println", "System.out", "System", "System.out", "\"000\"", "String [] args", "args" ]
import java.util.*; class Main { public static void main (String [] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long debt = 100; for (int x = 0; x < n; x++) { int residue = 0; if(debt % 20 != 0) residue = 1; debt += debt / 20 + residue; } System.out.print(debt); System.out.println("000"); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 12, 13, 30, 4, 18, 18, 13, 13, 4, 13, 4, 18, 20, 23, 13, 12, 13, 30, 41, 13, 2, 17, 13, 11, 1, 2, 13, 17, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 2, 13, 13, 29, 2, 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 ], [ 60, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 15, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 12, 25 ], [ 25, 26 ], [ 60, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 32, 34 ], [ 29, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 41, 42 ], [ 35, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 29, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 27, 57 ], [ 57, 58 ], [ 0, 59 ], [ 59, 60 ], [ 59, 61 ] ]
[ "\nimport java.util.Scanner;\n\n/**\n * @author Yuki\n */\npublic class Main {\n\n\t/*** ?????? */\n\tprivate final static double INTEREST = 1.05;\n\n\t/*** ??????????????? */\n\tprivate final static double REVALUATION = 1000;\n\n\t/**\n\t * ?????????????????????<br>\n\t * ??????????????????????????????\n\t *\n\t * @param args\n\t * ??????????????°\n\t */\n\tpublic static void main(String[] args) {\n\n\t\t// ????????????????????????\n\t\tSystem.out.println(getTotalDept(new Scanner(System.in).nextInt()));\n\n\t}\n\n\t/**\n\t * ?????????????????????????????? ????????????????????±???????¨??????????????¨????????????????\n\t *\n\t * @return ???????????????\n\t */\n\tprivate static int getTotalDept(int weekNum) {\n\t\tdouble debt = 100000 / REVALUATION;\n\t\tfor (; weekNum > 0; weekNum--) {\n\t\t\tdebt = Math.ceil(debt * INTEREST); // ????????????\n\t\t}\n\t\treturn (int) (debt * REVALUATION);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\t/*** ?????? */\n\tprivate final static double INTEREST = 1.05;\n\n\t/*** ??????????????? */\n\tprivate final static double REVALUATION = 1000;\n\n\t/**\n\t * ?????????????????????<br>\n\t * ??????????????????????????????\n\t *\n\t * @param args\n\t * ??????????????°\n\t */\n\tpublic static void main(String[] args) {\n\n\t\t// ????????????????????????\n\t\tSystem.out.println(getTotalDept(new Scanner(System.in).nextInt()));\n\n\t}\n\n\t/**\n\t * ?????????????????????????????? ????????????????????±???????¨??????????????¨????????????????\n\t *\n\t * @return ???????????????\n\t */\n\tprivate static int getTotalDept(int weekNum) {\n\t\tdouble debt = 100000 / REVALUATION;\n\t\tfor (; weekNum > 0; weekNum--) {\n\t\t\tdebt = Math.ceil(debt * INTEREST); // ????????????\n\t\t}\n\t\treturn (int) (debt * REVALUATION);\n\t}\n\n}", "Main", "/*** ?????? */\n\tprivate final static double INTEREST = 1.05;", "INTEREST", "1.05", "/*** ??????????????? */\n\tprivate final static double REVALUATION = 1000;", "REVALUATION", "1000", "/**\n\t * ?????????????????????<br>\n\t * ??????????????????????????????\n\t *\n\t * @param args\n\t * ??????????????°\n\t */\n\tpublic static void main(String[] args) {\n\n\t\t// ????????????????????????\n\t\tSystem.out.println(getTotalDept(new Scanner(System.in).nextInt()));\n\n\t}", "main", "{\n\n\t\t// ????????????????????????\n\t\tSystem.out.println(getTotalDept(new Scanner(System.in).nextInt()));\n\n\t}", "System.out.println(getTotalDept(new Scanner(System.in).nextInt()))", "System.out.println", "System.out", "System", "System.out", "getTotalDept(new Scanner(System.in).nextInt())", "getTotalDept", "new Scanner(System.in).nextInt()", "new Scanner(System.in).nextInt", "new Scanner(System.in)", "String[] args", "args", "/**\n\t * ?????????????????????????????? ????????????????????±???????¨??????????????¨????????????????\n\t *\n\t * @return ???????????????\n\t */\n\tprivate static int getTotalDept(int weekNum) {\n\t\tdouble debt = 100000 / REVALUATION;\n\t\tfor (; weekNum > 0; weekNum--) {\n\t\t\tdebt = Math.ceil(debt * INTEREST); // ????????????\n\t\t}\n\t\treturn (int) (debt * REVALUATION);\n\t}", "getTotalDept", "{\n\t\tdouble debt = 100000 / REVALUATION;\n\t\tfor (; weekNum > 0; weekNum--) {\n\t\t\tdebt = Math.ceil(debt * INTEREST); // ????????????\n\t\t}\n\t\treturn (int) (debt * REVALUATION);\n\t}", "double debt = 100000 / REVALUATION;", "debt", "100000 / REVALUATION", "100000", "REVALUATION", "for (; weekNum > 0; weekNum--) {\n\t\t\tdebt = Math.ceil(debt * INTEREST); // ????????????\n\t\t}", ";", "weekNum > 0", "weekNum", "0", "weekNum--", "weekNum--", "weekNum", "{\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", "return (int) (debt * REVALUATION);", "(int) (debt * REVALUATION)", "debt", "REVALUATION", "int weekNum", "weekNum", "public class Main {\n\n\t/*** ?????? */\n\tprivate final static double INTEREST = 1.05;\n\n\t/*** ??????????????? */\n\tprivate final static double REVALUATION = 1000;\n\n\t/**\n\t * ?????????????????????<br>\n\t * ??????????????????????????????\n\t *\n\t * @param args\n\t * ??????????????°\n\t */\n\tpublic static void main(String[] args) {\n\n\t\t// ????????????????????????\n\t\tSystem.out.println(getTotalDept(new Scanner(System.in).nextInt()));\n\n\t}\n\n\t/**\n\t * ?????????????????????????????? ????????????????????±???????¨??????????????¨????????????????\n\t *\n\t * @return ???????????????\n\t */\n\tprivate static int getTotalDept(int weekNum) {\n\t\tdouble debt = 100000 / REVALUATION;\n\t\tfor (; weekNum > 0; weekNum--) {\n\t\t\tdebt = Math.ceil(debt * INTEREST); // ????????????\n\t\t}\n\t\treturn (int) (debt * REVALUATION);\n\t}\n\n}", "public class Main {\n\n\t/*** ?????? */\n\tprivate final static double INTEREST = 1.05;\n\n\t/*** ??????????????? */\n\tprivate final static double REVALUATION = 1000;\n\n\t/**\n\t * ?????????????????????<br>\n\t * ??????????????????????????????\n\t *\n\t * @param args\n\t * ??????????????°\n\t */\n\tpublic static void main(String[] args) {\n\n\t\t// ????????????????????????\n\t\tSystem.out.println(getTotalDept(new Scanner(System.in).nextInt()));\n\n\t}\n\n\t/**\n\t * ?????????????????????????????? ????????????????????±???????¨??????????????¨????????????????\n\t *\n\t * @return ???????????????\n\t */\n\tprivate static int getTotalDept(int weekNum) {\n\t\tdouble debt = 100000 / REVALUATION;\n\t\tfor (; weekNum > 0; weekNum--) {\n\t\t\tdebt = Math.ceil(debt * INTEREST); // ????????????\n\t\t}\n\t\treturn (int) (debt * REVALUATION);\n\t}\n\n}", "Main" ]
import java.util.Scanner; /** * @author Yuki */ public class Main { /*** ?????? */ private final static double INTEREST = 1.05; /*** ??????????????? */ private final static double REVALUATION = 1000; /** * ?????????????????????<br> * ?????????????????????????????? * * @param args * ??????????????° */ public static void main(String[] args) { // ???????????????????????? System.out.println(getTotalDept(new Scanner(System.in).nextInt())); } /** * ?????????????????????????????? ????????????????????±???????¨??????????????¨???????????????? * * @return ??????????????? */ private static int getTotalDept(int weekNum) { double debt = 100000 / REVALUATION; for (; weekNum > 0; weekNum--) { debt = Math.ceil(debt * INTEREST); // ???????????? } return (int) (debt * REVALUATION); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 11, 1, 41, 13, 4, 18, 13, 2, 13, 17, 1, 40, 13, 30, 30, 0, 13, 17, 41, 13, 4, 13, 13, 14, 2, 13, 17, 0, 13, 2, 17, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 29, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 68, 8 ], [ 68, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 18, 25 ], [ 25, 26 ], [ 25, 27 ], [ 18, 28 ], [ 28, 29 ], [ 29, 30 ], [ 18, 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 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 11, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 9, 56 ], [ 56, 57 ], [ 68, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 58, 65 ], [ 65, 66 ], [ 0, 67 ], [ 67, 68 ], [ 67, 69 ] ]
[ "import java.io.*;\nimport java.util.*;\n \npublic class Main {\n \n public static void main(String[] args)\n throws java.io.IOException{\n Scanner scan = new Scanner(System.in);\n int sum=100000;\n \n for(int n=scan.nextInt();n>0;n--){\nsum *=1.05;\nint m= up3(sum);\nif(m!=0)\nsum+=1000-m;\n}\nSystem.out.println(sum);\n}\npublic static int up3(int n){\nreturn n%1000;\n \n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n \n public static void main(String[] args)\n throws java.io.IOException{\n Scanner scan = new Scanner(System.in);\n int sum=100000;\n \n for(int n=scan.nextInt();n>0;n--){\nsum *=1.05;\nint m= up3(sum);\nif(m!=0)\nsum+=1000-m;\n}\nSystem.out.println(sum);\n}\npublic static int up3(int n){\nreturn n%1000;\n \n }\n}", "Main", "public static void main(String[] args)\n throws java.io.IOException{\n Scanner scan = new Scanner(System.in);\n int sum=100000;\n \n for(int n=scan.nextInt();n>0;n--){\nsum *=1.05;\nint m= up3(sum);\nif(m!=0)\nsum+=1000-m;\n}\nSystem.out.println(sum);\n}", "main", "{\n Scanner scan = new Scanner(System.in);\n int sum=100000;\n \n for(int n=scan.nextInt();n>0;n--){\nsum *=1.05;\nint m= up3(sum);\nif(m!=0)\nsum+=1000-m;\n}\nSystem.out.println(sum);\n}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int sum=100000;", "sum", "100000", "for(int n=scan.nextInt();n>0;n--){\nsum *=1.05;\nint m= up3(sum);\nif(m!=0)\nsum+=1000-m;\n}", "int n=scan.nextInt();", "int n=scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "n>0", "n", "0", "n--", "n--", "n", "{\nsum *=1.05;\nint m= up3(sum);\nif(m!=0)\nsum+=1000-m;\n}", "{\nsum *=1.05;\nint m= up3(sum);\nif(m!=0)\nsum+=1000-m;\n}", "sum *=1.05", "sum", "1.05", "int m= up3(sum);", "m", "up3(sum)", "up3", "sum", "if(m!=0)\nsum+=1000-m;", "m!=0", "m", "0", "sum+=1000-m", "sum", "1000-m", "1000", "m", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "String[] args", "args", "public static int up3(int n){\nreturn n%1000;\n \n }", "up3", "{\nreturn n%1000;\n \n }", "return n%1000;", "n%1000", "n", "1000", "int n", "n", "public class Main {\n \n public static void main(String[] args)\n throws java.io.IOException{\n Scanner scan = new Scanner(System.in);\n int sum=100000;\n \n for(int n=scan.nextInt();n>0;n--){\nsum *=1.05;\nint m= up3(sum);\nif(m!=0)\nsum+=1000-m;\n}\nSystem.out.println(sum);\n}\npublic static int up3(int n){\nreturn n%1000;\n \n }\n}", "public class Main {\n \n public static void main(String[] args)\n throws java.io.IOException{\n Scanner scan = new Scanner(System.in);\n int sum=100000;\n \n for(int n=scan.nextInt();n>0;n--){\nsum *=1.05;\nint m= up3(sum);\nif(m!=0)\nsum+=1000-m;\n}\nSystem.out.println(sum);\n}\npublic static int up3(int n){\nreturn n%1000;\n \n }\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws java.io.IOException{ Scanner scan = new Scanner(System.in); int sum=100000; for(int n=scan.nextInt();n>0;n--){ sum *=1.05; int m= up3(sum); if(m!=0) sum+=1000-m; } System.out.println(sum); } public static int up3(int n){ return n%1000; } }
[ 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, 2, 13, 17, 2, 13, 17, 41, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 66, 5 ], [ 66, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 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 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 51, 53 ], [ 8, 54 ], [ 54, 55 ], [ 54, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 6, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ] ]
[ "import java.util.Scanner;\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\tdouble ans=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tans=ans*1.05;\n\t\t\tif(ans%1000!=0){\n\t\t\t\tans=ans+1000-ans%1000;\n\t\t\t}\n\t\t}\n\t\tint a=(int)ans;\n\t\tSystem.out.println(a);\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\tdouble ans=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tans=ans*1.05;\n\t\t\tif(ans%1000!=0){\n\t\t\t\tans=ans+1000-ans%1000;\n\t\t\t}\n\t\t}\n\t\tint a=(int)ans;\n\t\tSystem.out.println(a);\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 ans=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tans=ans*1.05;\n\t\t\tif(ans%1000!=0){\n\t\t\t\tans=ans+1000-ans%1000;\n\t\t\t}\n\t\t}\n\t\tint a=(int)ans;\n\t\tSystem.out.println(a);\n\t}", "main", "{\n\t\tScanner s=new Scanner(System.in);\n\t\tint n=s.nextInt();\n\t\tdouble ans=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tans=ans*1.05;\n\t\t\tif(ans%1000!=0){\n\t\t\t\tans=ans+1000-ans%1000;\n\t\t\t}\n\t\t}\n\t\tint a=(int)ans;\n\t\tSystem.out.println(a);\n\t}", "Scanner s=new Scanner(System.in);", "s", "new Scanner(System.in)", "int n=s.nextInt();", "n", "s.nextInt()", "s.nextInt", "s", "double ans=100000;", "ans", "100000", "for(int i=0;i<n;i++){\n\t\t\tans=ans*1.05;\n\t\t\tif(ans%1000!=0){\n\t\t\t\tans=ans+1000-ans%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\tans=ans*1.05;\n\t\t\tif(ans%1000!=0){\n\t\t\t\tans=ans+1000-ans%1000;\n\t\t\t}\n\t\t}", "{\n\t\t\tans=ans*1.05;\n\t\t\tif(ans%1000!=0){\n\t\t\t\tans=ans+1000-ans%1000;\n\t\t\t}\n\t\t}", "ans=ans*1.05", "ans", "ans*1.05", "ans", "1.05", "if(ans%1000!=0){\n\t\t\t\tans=ans+1000-ans%1000;\n\t\t\t}", "ans%1000!=0", "ans%1000", "ans", "1000", "0", "{\n\t\t\t\tans=ans+1000-ans%1000;\n\t\t\t}", "ans=ans+1000-ans%1000", "ans", "ans+1000-ans%1000", "ans+1000", "ans", "1000", "ans%1000", "ans", "1000", "int a=(int)ans;", "a", "(int)ans", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s=new Scanner(System.in);\n\t\tint n=s.nextInt();\n\t\tdouble ans=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tans=ans*1.05;\n\t\t\tif(ans%1000!=0){\n\t\t\t\tans=ans+1000-ans%1000;\n\t\t\t}\n\t\t}\n\t\tint a=(int)ans;\n\t\tSystem.out.println(a);\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\tdouble ans=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tans=ans*1.05;\n\t\t\tif(ans%1000!=0){\n\t\t\t\tans=ans+1000-ans%1000;\n\t\t\t}\n\t\t}\n\t\tint a=(int)ans;\n\t\tSystem.out.println(a);\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 ans=100000; for(int i=0;i<n;i++){ ans=ans*1.05; if(ans%1000!=0){ ans=ans+1000-ans%1000; } } int a=(int)ans; 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, 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 ], [ 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 ], [ 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\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a = 100000;\n\t\tint n = stdIn.nextInt();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta *= 1.05;\n\t\t\tif(a%1000!=0){a+=1000-a%1000;}\n\t\t}\n\t\tSystem.out.println(a);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a = 100000;\n\t\tint n = stdIn.nextInt();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta *= 1.05;\n\t\t\tif(a%1000!=0){a+=1000-a%1000;}\n\t\t}\n\t\tSystem.out.println(a);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a = 100000;\n\t\tint n = stdIn.nextInt();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta *= 1.05;\n\t\t\tif(a%1000!=0){a+=1000-a%1000;}\n\t\t}\n\t\tSystem.out.println(a);\n\t}", "main", "{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a = 100000;\n\t\tint n = stdIn.nextInt();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta *= 1.05;\n\t\t\tif(a%1000!=0){a+=1000-a%1000;}\n\t\t}\n\t\tSystem.out.println(a);\n\t}", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "int a = 100000;", "a", "100000", "int n = stdIn.nextInt();", "n", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "for (int i = 0; i < n; i++) {\n\t\t\ta *= 1.05;\n\t\t\tif(a%1000!=0){a+=1000-a%1000;}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\ta *= 1.05;\n\t\t\tif(a%1000!=0){a+=1000-a%1000;}\n\t\t}", "{\n\t\t\ta *= 1.05;\n\t\t\tif(a%1000!=0){a+=1000-a%1000;}\n\t\t}", "a *= 1.05", "a", "1.05", "if(a%1000!=0){a+=1000-a%1000;}", "a%1000!=0", "a%1000", "a", "1000", "0", "{a+=1000-a%1000;}", "a+=1000-a%1000", "a", "1000-a%1000", "1000", "a%1000", "a", "1000", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a = 100000;\n\t\tint n = stdIn.nextInt();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta *= 1.05;\n\t\t\tif(a%1000!=0){a+=1000-a%1000;}\n\t\t}\n\t\tSystem.out.println(a);\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint a = 100000;\n\t\tint n = stdIn.nextInt();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta *= 1.05;\n\t\t\tif(a%1000!=0){a+=1000-a%1000;}\n\t\t}\n\t\tSystem.out.println(a);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int a = 100000; int n = stdIn.nextInt(); for (int i = 0; i < n; i++) { a *= 1.05; if(a%1000!=0){a+=1000-a%1000;} } System.out.println(a); } }
[ 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, 4, 18, 13, 13, 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 ], [ 69, 14 ], [ 69, 15 ], [ 15, 16 ], [ 15, 17 ], [ 69, 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 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 20, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 52, 57 ], [ 57, 58 ], [ 57, 59 ], [ 20, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 18, 66 ], [ 66, 67 ], [ 0, 68 ], [ 68, 69 ], [ 68, 70 ] ]
[ "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 int totalAmount = 100000;\n int i = Integer.parseInt(week);\n // 入力された数値分返済額を増額する。\n for (int count = 0; count < i; count++) {\n totalAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP).intValue();\n }\n // 返済額を出力する。\n System.out.println(totalAmount);\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 int totalAmount = 100000;\n int i = Integer.parseInt(week);\n // 入力された数値分返済額を増額する。\n for (int count = 0; count < i; count++) {\n totalAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP).intValue();\n }\n // 返済額を出力する。\n System.out.println(totalAmount);\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 int totalAmount = 100000;\n int i = Integer.parseInt(week);\n // 入力された数値分返済額を増額する。\n for (int count = 0; count < i; count++) {\n totalAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP).intValue();\n }\n // 返済額を出力する。\n System.out.println(totalAmount);\n }", "main", "{\n\n String week = new BufferedReader(new InputStreamReader(System.in)).readLine();\n\n int totalAmount = 100000;\n int i = Integer.parseInt(week);\n // 入力された数値分返済額を増額する。\n for (int count = 0; count < i; count++) {\n totalAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP).intValue();\n }\n // 返済額を出力する。\n System.out.println(totalAmount);\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))", "int totalAmount = 100000;", "totalAmount", "100000", "int i = Integer.parseInt(week);", "i", "Integer.parseInt(week)", "Integer.parseInt", "Integer", "week", "for (int count = 0; count < i; count++) {\n totalAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP).intValue();\n }", "int count = 0;", "int count = 0;", "count", "0", "count < i", "count", "i", "count++", "count++", "count", "{\n totalAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP).intValue();\n }", "{\n totalAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP).intValue();\n }", "totalAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP).intValue()", "totalAmount", "new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP).intValue()", "new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP).intValue", "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", "System.out.println(totalAmount)", "System.out.println", "System.out", "System", "System.out", "totalAmount", "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 int totalAmount = 100000;\n int i = Integer.parseInt(week);\n // 入力された数値分返済額を増額する。\n for (int count = 0; count < i; count++) {\n totalAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP).intValue();\n }\n // 返済額を出力する。\n System.out.println(totalAmount);\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 int totalAmount = 100000;\n int i = Integer.parseInt(week);\n // 入力された数値分返済額を増額する。\n for (int count = 0; count < i; count++) {\n totalAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP).intValue();\n }\n // 返済額を出力する。\n System.out.println(totalAmount);\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(); int totalAmount = 100000; int i = Integer.parseInt(week); // 入力された数値分返済額を増額する。 for (int count = 0; count < i; count++) { totalAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP).intValue(); } // 返済額を出力する。 System.out.println(totalAmount); } }
[ 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, 20, 41, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 13, 0, 13, 2, 13, 17, 14, 2, 13, 17, 30, 0, 13, 2, 13, 17, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 82, 11 ], [ 82, 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 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 32, 33 ], [ 33, 34 ], [ 14, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 47, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 47, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 62, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 70, 72 ], [ 14, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 12, 79 ], [ 79, 80 ], [ 0, 81 ], [ 81, 82 ], [ 81, 83 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// 宣言\n\t\tdouble money = 100000;\n\t\tfinal double rate = 1.05;\n\t\tint amari = 0;\n\n\t\t// 文字列の入力\n\t\t BufferedReader input = new BufferedReader(new\n\t\t InputStreamReader(System.in), 1);\n\t\t int week = Integer.parseInt(input.readLine());\n\n\t\tfor (int i = 1; i <= week; i++) {\n\t\t\t// 5%の利子を加算し、1000円未満を切り上げる\n\t\t\tmoney = money * rate;\n\t\t\tamari = (int) money % 1000;\n\t\t\tif (amari != 0) {\n\t\t\t\tmoney = money + 1000;\n\t\t\t\tmoney = money - amari;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println((int)money);\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// 宣言\n\t\tdouble money = 100000;\n\t\tfinal double rate = 1.05;\n\t\tint amari = 0;\n\n\t\t// 文字列の入力\n\t\t BufferedReader input = new BufferedReader(new\n\t\t InputStreamReader(System.in), 1);\n\t\t int week = Integer.parseInt(input.readLine());\n\n\t\tfor (int i = 1; i <= week; i++) {\n\t\t\t// 5%の利子を加算し、1000円未満を切り上げる\n\t\t\tmoney = money * rate;\n\t\t\tamari = (int) money % 1000;\n\t\t\tif (amari != 0) {\n\t\t\t\tmoney = money + 1000;\n\t\t\t\tmoney = money - amari;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println((int)money);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\t// 宣言\n\t\tdouble money = 100000;\n\t\tfinal double rate = 1.05;\n\t\tint amari = 0;\n\n\t\t// 文字列の入力\n\t\t BufferedReader input = new BufferedReader(new\n\t\t InputStreamReader(System.in), 1);\n\t\t int week = Integer.parseInt(input.readLine());\n\n\t\tfor (int i = 1; i <= week; i++) {\n\t\t\t// 5%の利子を加算し、1000円未満を切り上げる\n\t\t\tmoney = money * rate;\n\t\t\tamari = (int) money % 1000;\n\t\t\tif (amari != 0) {\n\t\t\t\tmoney = money + 1000;\n\t\t\t\tmoney = money - amari;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println((int)money);\n\t}", "main", "{\n\t\t// 宣言\n\t\tdouble money = 100000;\n\t\tfinal double rate = 1.05;\n\t\tint amari = 0;\n\n\t\t// 文字列の入力\n\t\t BufferedReader input = new BufferedReader(new\n\t\t InputStreamReader(System.in), 1);\n\t\t int week = Integer.parseInt(input.readLine());\n\n\t\tfor (int i = 1; i <= week; i++) {\n\t\t\t// 5%の利子を加算し、1000円未満を切り上げる\n\t\t\tmoney = money * rate;\n\t\t\tamari = (int) money % 1000;\n\t\t\tif (amari != 0) {\n\t\t\t\tmoney = money + 1000;\n\t\t\t\tmoney = money - amari;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println((int)money);\n\t}", "double money = 100000;", "money", "100000", "final double rate = 1.05;", "rate", "1.05", "int amari = 0;", "amari", "0", "BufferedReader input = new BufferedReader(new\n\t\t InputStreamReader(System.in), 1);", "input", "new BufferedReader(new\n\t\t InputStreamReader(System.in), 1)", "int week = Integer.parseInt(input.readLine());", "week", "Integer.parseInt(input.readLine())", "Integer.parseInt", "Integer", "input.readLine()", "input.readLine", "input", "for (int i = 1; i <= week; i++) {\n\t\t\t// 5%の利子を加算し、1000円未満を切り上げる\n\t\t\tmoney = money * rate;\n\t\t\tamari = (int) money % 1000;\n\t\t\tif (amari != 0) {\n\t\t\t\tmoney = money + 1000;\n\t\t\t\tmoney = money - amari;\n\t\t\t}\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= week", "i", "week", "i++", "i++", "i", "{\n\t\t\t// 5%の利子を加算し、1000円未満を切り上げる\n\t\t\tmoney = money * rate;\n\t\t\tamari = (int) money % 1000;\n\t\t\tif (amari != 0) {\n\t\t\t\tmoney = money + 1000;\n\t\t\t\tmoney = money - amari;\n\t\t\t}\n\t\t}", "{\n\t\t\t// 5%の利子を加算し、1000円未満を切り上げる\n\t\t\tmoney = money * rate;\n\t\t\tamari = (int) money % 1000;\n\t\t\tif (amari != 0) {\n\t\t\t\tmoney = money + 1000;\n\t\t\t\tmoney = money - amari;\n\t\t\t}\n\t\t}", "money = money * rate", "money", "money * rate", "money", "rate", "amari = (int) money % 1000", "amari", "(int) money % 1000", "(int) money", "1000", "if (amari != 0) {\n\t\t\t\tmoney = money + 1000;\n\t\t\t\tmoney = money - amari;\n\t\t\t}", "amari != 0", "amari", "0", "{\n\t\t\t\tmoney = money + 1000;\n\t\t\t\tmoney = money - amari;\n\t\t\t}", "money = money + 1000", "money", "money + 1000", "money", "1000", "money = money - amari", "money", "money - amari", "money", "amari", "System.out.println((int)money)", "System.out.println", "System.out", "System", "System.out", "(int)money", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// 宣言\n\t\tdouble money = 100000;\n\t\tfinal double rate = 1.05;\n\t\tint amari = 0;\n\n\t\t// 文字列の入力\n\t\t BufferedReader input = new BufferedReader(new\n\t\t InputStreamReader(System.in), 1);\n\t\t int week = Integer.parseInt(input.readLine());\n\n\t\tfor (int i = 1; i <= week; i++) {\n\t\t\t// 5%の利子を加算し、1000円未満を切り上げる\n\t\t\tmoney = money * rate;\n\t\t\tamari = (int) money % 1000;\n\t\t\tif (amari != 0) {\n\t\t\t\tmoney = money + 1000;\n\t\t\t\tmoney = money - amari;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println((int)money);\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// 宣言\n\t\tdouble money = 100000;\n\t\tfinal double rate = 1.05;\n\t\tint amari = 0;\n\n\t\t// 文字列の入力\n\t\t BufferedReader input = new BufferedReader(new\n\t\t InputStreamReader(System.in), 1);\n\t\t int week = Integer.parseInt(input.readLine());\n\n\t\tfor (int i = 1; i <= week; i++) {\n\t\t\t// 5%の利子を加算し、1000円未満を切り上げる\n\t\t\tmoney = money * rate;\n\t\t\tamari = (int) money % 1000;\n\t\t\tif (amari != 0) {\n\t\t\t\tmoney = money + 1000;\n\t\t\t\tmoney = money - amari;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println((int)money);\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 { // 宣言 double money = 100000; final double rate = 1.05; int amari = 0; // 文字列の入力 BufferedReader input = new BufferedReader(new InputStreamReader(System.in), 1); int week = Integer.parseInt(input.readLine()); for (int i = 1; i <= week; i++) { // 5%の利子を加算し、1000円未満を切り上げる money = money * rate; amari = (int) money % 1000; if (amari != 0) { money = money + 1000; money = money - amari; } } System.out.println((int)money); } }
[ 7, 15, 13, 17, 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, 17, 0, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 66, 8 ], [ 66, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 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 ], [ 38, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 38, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 11, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 9, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ] ]
[ "import java.util.Scanner;\nimport java.math.BigDecimal;\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 double sum = 100000;\n\t double dept=0;\n\t for(int i=0;i<n;i++){\n\t\t sum*=1.05;\n\t\t dept =sum%1000;\n\t\t if(dept!=0){\n\t\t\t sum+=(1000-dept);\n\t\t }\n\t }\n\t System.out.println((int)sum);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.math.BigDecimal;", "BigDecimal", "java.math", "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 double sum = 100000;\n\t double dept=0;\n\t for(int i=0;i<n;i++){\n\t\t sum*=1.05;\n\t\t dept =sum%1000;\n\t\t if(dept!=0){\n\t\t\t sum+=(1000-dept);\n\t\t }\n\t }\n\t System.out.println((int)sum);\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 double sum = 100000;\n\t double dept=0;\n\t for(int i=0;i<n;i++){\n\t\t sum*=1.05;\n\t\t dept =sum%1000;\n\t\t if(dept!=0){\n\t\t\t sum+=(1000-dept);\n\t\t }\n\t }\n\t System.out.println((int)sum);\n\t}", "main", "{\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t double sum = 100000;\n\t double dept=0;\n\t for(int i=0;i<n;i++){\n\t\t sum*=1.05;\n\t\t dept =sum%1000;\n\t\t if(dept!=0){\n\t\t\t sum+=(1000-dept);\n\t\t }\n\t }\n\t System.out.println((int)sum);\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int n = s.nextInt();", "n", "s.nextInt()", "s.nextInt", "s", "double sum = 100000;", "sum", "100000", "double dept=0;", "dept", "0", "for(int i=0;i<n;i++){\n\t\t sum*=1.05;\n\t\t dept =sum%1000;\n\t\t if(dept!=0){\n\t\t\t sum+=(1000-dept);\n\t\t }\n\t }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t sum*=1.05;\n\t\t dept =sum%1000;\n\t\t if(dept!=0){\n\t\t\t sum+=(1000-dept);\n\t\t }\n\t }", "{\n\t\t sum*=1.05;\n\t\t dept =sum%1000;\n\t\t if(dept!=0){\n\t\t\t sum+=(1000-dept);\n\t\t }\n\t }", "sum*=1.05", "sum", "1.05", "dept =sum%1000", "dept", "sum%1000", "sum", "1000", "if(dept!=0){\n\t\t\t sum+=(1000-dept);\n\t\t }", "dept!=0", "dept", "0", "{\n\t\t\t sum+=(1000-dept);\n\t\t }", "sum+=(1000-dept)", "sum", "(1000-dept)", "1000", "dept", "System.out.println((int)sum)", "System.out.println", "System.out", "System", "System.out", "(int)sum", "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 double sum = 100000;\n\t double dept=0;\n\t for(int i=0;i<n;i++){\n\t\t sum*=1.05;\n\t\t dept =sum%1000;\n\t\t if(dept!=0){\n\t\t\t sum+=(1000-dept);\n\t\t }\n\t }\n\t System.out.println((int)sum);\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 double sum = 100000;\n\t double dept=0;\n\t for(int i=0;i<n;i++){\n\t\t sum*=1.05;\n\t\t dept =sum%1000;\n\t\t if(dept!=0){\n\t\t\t sum+=(1000-dept);\n\t\t }\n\t }\n\t System.out.println((int)sum);\n\t}\n}", "Main" ]
import java.util.Scanner; import java.math.BigDecimal; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int n = s.nextInt(); double sum = 100000; double dept=0; for(int i=0;i<n;i++){ sum*=1.05; dept =sum%1000; if(dept!=0){ sum+=(1000-dept); } } System.out.println((int)sum); } }
[ 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, 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 ], [ 57, 5 ], [ 57, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 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 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 40, 47 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 6, 54 ], [ 54, 55 ], [ 0, 56 ], [ 56, 57 ], [ 56, 58 ] ]
[ "import java.util.*;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\t\n\t\tint result = 100000;\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tresult+=result * 0.05;\n\t\t\tresult = (int)Math.ceil((double)result / 1000) * 1000;\n\t\t}\n\t\t\n\t\tSystem.out.println(result);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\t\n\t\tint result = 100000;\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tresult+=result * 0.05;\n\t\t\tresult = (int)Math.ceil((double)result / 1000) * 1000;\n\t\t}\n\t\t\n\t\tSystem.out.println(result);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\t\n\t\tint result = 100000;\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tresult+=result * 0.05;\n\t\t\tresult = (int)Math.ceil((double)result / 1000) * 1000;\n\t\t}\n\t\t\n\t\tSystem.out.println(result);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\t\n\t\tint result = 100000;\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tresult+=result * 0.05;\n\t\t\tresult = (int)Math.ceil((double)result / 1000) * 1000;\n\t\t}\n\t\t\n\t\tSystem.out.println(result);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int result = 100000;", "result", "100000", "for(int i = 0; i < n; i++) {\n\t\t\tresult+=result * 0.05;\n\t\t\tresult = (int)Math.ceil((double)result / 1000) * 1000;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tresult+=result * 0.05;\n\t\t\tresult = (int)Math.ceil((double)result / 1000) * 1000;\n\t\t}", "{\n\t\t\tresult+=result * 0.05;\n\t\t\tresult = (int)Math.ceil((double)result / 1000) * 1000;\n\t\t}", "result+=result * 0.05", "result", "result * 0.05", "result", "0.05", "result = (int)Math.ceil((double)result / 1000) * 1000", "result", "(int)Math.ceil((double)result / 1000) * 1000", "(int)Math.ceil((double)result / 1000)", "Math.ceil", "Math", "(double)result / 1000", "(double)result", "1000", "1000", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\t\n\t\tint result = 100000;\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tresult+=result * 0.05;\n\t\t\tresult = (int)Math.ceil((double)result / 1000) * 1000;\n\t\t}\n\t\t\n\t\tSystem.out.println(result);\n\t}\n}", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\t\n\t\tint result = 100000;\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tresult+=result * 0.05;\n\t\t\tresult = (int)Math.ceil((double)result / 1000) * 1000;\n\t\t}\n\t\t\n\t\tSystem.out.println(result);\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int result = 100000; for(int i = 0; i < n; i++) { result+=result * 0.05; result = (int)Math.ceil((double)result / 1000) * 1000; } System.out.println(result); } }
[ 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, 17, 13, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 2, 13, 2, 13, 17, 17, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 66, 5 ], [ 66, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 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 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 47, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 8, 60 ], [ 60, 61 ], [ 61, 62 ], [ 6, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ] ]
[ "\nimport java.util.Scanner;\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\tdouble debt=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt=1.05*debt;\n\t\t\tif(debt%1000!=0){\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\tsc.close();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tdouble debt=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt=1.05*debt;\n\t\t\tif(debt%1000!=0){\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\tsc.close();\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\tdouble debt=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt=1.05*debt;\n\t\t\tif(debt%1000!=0){\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\tsc.close();\n\t}", "main", "{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tdouble debt=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt=1.05*debt;\n\t\t\tif(debt%1000!=0){\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\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", "double debt=100000;", "debt", "100000", "for(int i=0;i<n;i++){\n\t\t\tdebt=1.05*debt;\n\t\t\tif(debt%1000!=0){\n\t\t\t\tdebt=debt-debt%1000+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.05*debt;\n\t\t\tif(debt%1000!=0){\n\t\t\t\tdebt=debt-debt%1000+1000;\n\t\t\t}\n\t\t}", "{\n\t\t\tdebt=1.05*debt;\n\t\t\tif(debt%1000!=0){\n\t\t\t\tdebt=debt-debt%1000+1000;\n\t\t\t}\n\t\t}", "debt=1.05*debt", "debt", "1.05*debt", "1.05", "debt", "if(debt%1000!=0){\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\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", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tdouble debt=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt=1.05*debt;\n\t\t\tif(debt%1000!=0){\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\tsc.close();\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tdouble debt=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt=1.05*debt;\n\t\t\tif(debt%1000!=0){\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\tsc.close();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); double debt=100000; for(int i=0;i<n;i++){ debt=1.05*debt; if(debt%1000!=0){ debt=debt-debt%1000+1000; } } System.out.println((int)debt); sc.close(); } }
[ 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, 2, 13, 17, 0, 13, 2, 4, 18, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 65, 8 ], [ 65, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 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 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 49, 51 ], [ 45, 52 ], [ 11, 53 ], [ 53, 54 ], [ 53, 55 ], [ 11, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 9, 62 ], [ 62, 63 ], [ 0, 64 ], [ 64, 65 ], [ 64, 66 ] ]
[ "\n/* Volume0-0007(借金地獄) */\n\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n double n = sc.nextInt(); // 1個目をxにセット\n double kane = 100000; // 借金を開始\n for(int i=0; i<n; i++) {\n // n週間後の利息\n kane = kane + (kane * 0.05);\n // 1000円未満を切り上げて出力\n kane = (Math.ceil((double)kane / 1000)) * 1000;\n }\n int total = (int)kane;\n System.out.println(total);\n }\n}\n\n", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n double n = sc.nextInt(); // 1個目をxにセット\n double kane = 100000; // 借金を開始\n for(int i=0; i<n; i++) {\n // n週間後の利息\n kane = kane + (kane * 0.05);\n // 1000円未満を切り上げて出力\n kane = (Math.ceil((double)kane / 1000)) * 1000;\n }\n int total = (int)kane;\n System.out.println(total);\n }\n}", "Main", "public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n double n = sc.nextInt(); // 1個目をxにセット\n double kane = 100000; // 借金を開始\n for(int i=0; i<n; i++) {\n // n週間後の利息\n kane = kane + (kane * 0.05);\n // 1000円未満を切り上げて出力\n kane = (Math.ceil((double)kane / 1000)) * 1000;\n }\n int total = (int)kane;\n System.out.println(total);\n }", "main", "{\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n double n = sc.nextInt(); // 1個目をxにセット\n double kane = 100000; // 借金を開始\n for(int i=0; i<n; i++) {\n // n週間後の利息\n kane = kane + (kane * 0.05);\n // 1000円未満を切り上げて出力\n kane = (Math.ceil((double)kane / 1000)) * 1000;\n }\n int total = (int)kane;\n System.out.println(total);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "double n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "double kane = 100000;", "kane", "100000", "for(int i=0; i<n; i++) {\n // n週間後の利息\n kane = kane + (kane * 0.05);\n // 1000円未満を切り上げて出力\n kane = (Math.ceil((double)kane / 1000)) * 1000;\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n // n週間後の利息\n kane = kane + (kane * 0.05);\n // 1000円未満を切り上げて出力\n kane = (Math.ceil((double)kane / 1000)) * 1000;\n }", "{\n // n週間後の利息\n kane = kane + (kane * 0.05);\n // 1000円未満を切り上げて出力\n kane = (Math.ceil((double)kane / 1000)) * 1000;\n }", "kane = kane + (kane * 0.05)", "kane", "kane + (kane * 0.05)", "kane", "(kane * 0.05)", "kane", "0.05", "kane = (Math.ceil((double)kane / 1000)) * 1000", "kane", "(Math.ceil((double)kane / 1000)) * 1000", "(Math.ceil((double)kane / 1000))", "Math.ceil", "Math", "(double)kane / 1000", "(double)kane", "1000", "1000", "int total = (int)kane;", "total", "(int)kane", "System.out.println(total)", "System.out.println", "System.out", "System", "System.out", "total", "String[] args", "args", "public class Main {\n public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n double n = sc.nextInt(); // 1個目をxにセット\n double kane = 100000; // 借金を開始\n for(int i=0; i<n; i++) {\n // n週間後の利息\n kane = kane + (kane * 0.05);\n // 1000円未満を切り上げて出力\n kane = (Math.ceil((double)kane / 1000)) * 1000;\n }\n int total = (int)kane;\n System.out.println(total);\n }\n}", "public class Main {\n public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n double n = sc.nextInt(); // 1個目をxにセット\n double kane = 100000; // 借金を開始\n for(int i=0; i<n; i++) {\n // n週間後の利息\n kane = kane + (kane * 0.05);\n // 1000円未満を切り上げて出力\n kane = (Math.ceil((double)kane / 1000)) * 1000;\n }\n int total = (int)kane;\n System.out.println(total);\n }\n}", "Main" ]
/* Volume0-0007(借金地獄) */ import java.io.*; import java.util.*; public class Main { public static void main (String[] args) throws java.lang.Exception { // 入力された値をゲット Scanner sc = new Scanner(System.in); double n = sc.nextInt(); // 1個目をxにセット double kane = 100000; // 借金を開始 for(int i=0; i<n; i++) { // n週間後の利息 kane = kane + (kane * 0.05); // 1000円未満を切り上げて出力 kane = (Math.ceil((double)kane / 1000)) * 1000; } int total = (int)kane; System.out.println(total); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 0, 13, 17, 41, 13, 20, 0, 13, 4, 18, 4, 18, 13, 17, 18, 13, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 77, 14 ], [ 77, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 17, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 29, 30 ], [ 30, 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 ], [ 44, 48 ], [ 48, 49 ], [ 48, 50 ], [ 44, 51 ], [ 51, 52 ], [ 51, 53 ], [ 44, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 58, 62 ], [ 62, 63 ], [ 62, 64 ], [ 44, 65 ], [ 65, 66 ], [ 65, 67 ], [ 17, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 15, 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\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tdouble money = 100000;\n\t\tBufferedReader bufReader =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tint weeks = Integer.parseInt(bufReader.readLine());\n\t\tfor (int i = 0; i < weeks; i++) {\n\t\t\tmoney *= 1.05;\n\t\t\tmoney /= 1000.0D;\n\t\t\tBigDecimal bd = new BigDecimal(money);\n\t\t\tmoney = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue();\n\t\t\tmoney *= 1000;\n\t\t}\n\t\tSystem.out.println((int) 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", "import java.math.BigDecimal;", "BigDecimal", "java.math", "public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tdouble money = 100000;\n\t\tBufferedReader bufReader =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tint weeks = Integer.parseInt(bufReader.readLine());\n\t\tfor (int i = 0; i < weeks; i++) {\n\t\t\tmoney *= 1.05;\n\t\t\tmoney /= 1000.0D;\n\t\t\tBigDecimal bd = new BigDecimal(money);\n\t\t\tmoney = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue();\n\t\t\tmoney *= 1000;\n\t\t}\n\t\tSystem.out.println((int) money);\n\t}\n\n}", "Main", "public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tdouble money = 100000;\n\t\tBufferedReader bufReader =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tint weeks = Integer.parseInt(bufReader.readLine());\n\t\tfor (int i = 0; i < weeks; i++) {\n\t\t\tmoney *= 1.05;\n\t\t\tmoney /= 1000.0D;\n\t\t\tBigDecimal bd = new BigDecimal(money);\n\t\t\tmoney = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue();\n\t\t\tmoney *= 1000;\n\t\t}\n\t\tSystem.out.println((int) money);\n\t}", "main", "{\n\t\tdouble money = 100000;\n\t\tBufferedReader bufReader =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tint weeks = Integer.parseInt(bufReader.readLine());\n\t\tfor (int i = 0; i < weeks; i++) {\n\t\t\tmoney *= 1.05;\n\t\t\tmoney /= 1000.0D;\n\t\t\tBigDecimal bd = new BigDecimal(money);\n\t\t\tmoney = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue();\n\t\t\tmoney *= 1000;\n\t\t}\n\t\tSystem.out.println((int) money);\n\t}", "double money = 100000;", "money", "100000", "BufferedReader bufReader =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));", "bufReader", "new BufferedReader(new InputStreamReader(System.in))", "int weeks = Integer.parseInt(bufReader.readLine());", "weeks", "Integer.parseInt(bufReader.readLine())", "Integer.parseInt", "Integer", "bufReader.readLine()", "bufReader.readLine", "bufReader", "for (int i = 0; i < weeks; i++) {\n\t\t\tmoney *= 1.05;\n\t\t\tmoney /= 1000.0D;\n\t\t\tBigDecimal bd = new BigDecimal(money);\n\t\t\tmoney = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue();\n\t\t\tmoney *= 1000;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < weeks", "i", "weeks", "i++", "i++", "i", "{\n\t\t\tmoney *= 1.05;\n\t\t\tmoney /= 1000.0D;\n\t\t\tBigDecimal bd = new BigDecimal(money);\n\t\t\tmoney = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue();\n\t\t\tmoney *= 1000;\n\t\t}", "{\n\t\t\tmoney *= 1.05;\n\t\t\tmoney /= 1000.0D;\n\t\t\tBigDecimal bd = new BigDecimal(money);\n\t\t\tmoney = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue();\n\t\t\tmoney *= 1000;\n\t\t}", "money *= 1.05", "money", "1.05", "money /= 1000.0D", "money", "1000.0D", "BigDecimal bd = new BigDecimal(money);", "bd", "new BigDecimal(money)", "money = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue()", "money", "bd.setScale(0, BigDecimal.ROUND_UP).doubleValue()", "bd.setScale(0, BigDecimal.ROUND_UP).doubleValue", "bd.setScale(0, BigDecimal.ROUND_UP)", "bd.setScale", "bd", "0", "BigDecimal.ROUND_UP", "BigDecimal", "BigDecimal.ROUND_UP", "money *= 1000", "money", "1000", "System.out.println((int) money)", "System.out.println", "System.out", "System", "System.out", "(int) money", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tdouble money = 100000;\n\t\tBufferedReader bufReader =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tint weeks = Integer.parseInt(bufReader.readLine());\n\t\tfor (int i = 0; i < weeks; i++) {\n\t\t\tmoney *= 1.05;\n\t\t\tmoney /= 1000.0D;\n\t\t\tBigDecimal bd = new BigDecimal(money);\n\t\t\tmoney = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue();\n\t\t\tmoney *= 1000;\n\t\t}\n\t\tSystem.out.println((int) money);\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tdouble money = 100000;\n\t\tBufferedReader bufReader =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tint weeks = Integer.parseInt(bufReader.readLine());\n\t\tfor (int i = 0; i < weeks; i++) {\n\t\t\tmoney *= 1.05;\n\t\t\tmoney /= 1000.0D;\n\t\t\tBigDecimal bd = new BigDecimal(money);\n\t\t\tmoney = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue();\n\t\t\tmoney *= 1000;\n\t\t}\n\t\tSystem.out.println((int) money);\n\t}\n\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) throws NumberFormatException, IOException { double money = 100000; BufferedReader bufReader = new BufferedReader(new InputStreamReader(System.in)); int weeks = Integer.parseInt(bufReader.readLine()); for (int i = 0; i < weeks; i++) { money *= 1.05; money /= 1000.0D; BigDecimal bd = new BigDecimal(money); money = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue(); money *= 1000; } System.out.println((int) money); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 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, 4, 18, 13, 2, 13, 17, 17, 4, 18, 18, 13, 13, 13, 4, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 14, 2, 13, 17, 30, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 81, 5 ], [ 81, 6 ], [ 6, 7 ], [ 6, 8 ], [ 81, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 11, 16 ], [ 16, 17 ], [ 16, 18 ], [ 11, 19 ], [ 19, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 19, 24 ], [ 24, 25 ], [ 24, 26 ], [ 19, 27 ], [ 27, 28 ], [ 28, 29 ], [ 19, 30 ], [ 31, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 35, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 48, 50 ], [ 44, 51 ], [ 11, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 11, 58 ], [ 58, 59 ], [ 9, 60 ], [ 60, 61 ], [ 81, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 81, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 0, 80 ], [ 80, 81 ], [ 80, 82 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tint n = input();\n\t\tdouble dept = 100000;\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\tdept *= 1.05;\n\n\t\t\tif (dept % 1000 != 0) {\n\n\t\t\t\tdept = (Math.ceil(dept / 1000)) * 1000;\n\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println((int)dept);\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tint n = input();\n\t\tdouble dept = 100000;\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\tdept *= 1.05;\n\n\t\t\tif (dept % 1000 != 0) {\n\n\t\t\t\tdept = (Math.ceil(dept / 1000)) * 1000;\n\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println((int)dept);\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}", "Main", "public static Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "public static void main(String[] args) {\n\n\t\tint n = input();\n\t\tdouble dept = 100000;\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\tdept *= 1.05;\n\n\t\t\tif (dept % 1000 != 0) {\n\n\t\t\t\tdept = (Math.ceil(dept / 1000)) * 1000;\n\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println((int)dept);\n\n\t\tclose();\n\n\t}", "main", "{\n\n\t\tint n = input();\n\t\tdouble dept = 100000;\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\tdept *= 1.05;\n\n\t\t\tif (dept % 1000 != 0) {\n\n\t\t\t\tdept = (Math.ceil(dept / 1000)) * 1000;\n\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println((int)dept);\n\n\t\tclose();\n\n\t}", "int n = input();", "n", "input()", "input", "double dept = 100000;", "dept", "100000", "for (int i = 0; i < n; i++) {\n\n\t\t\tdept *= 1.05;\n\n\t\t\tif (dept % 1000 != 0) {\n\n\t\t\t\tdept = (Math.ceil(dept / 1000)) * 1000;\n\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\n\t\t\tdept *= 1.05;\n\n\t\t\tif (dept % 1000 != 0) {\n\n\t\t\t\tdept = (Math.ceil(dept / 1000)) * 1000;\n\n\t\t\t}\n\t\t}", "{\n\n\t\t\tdept *= 1.05;\n\n\t\t\tif (dept % 1000 != 0) {\n\n\t\t\t\tdept = (Math.ceil(dept / 1000)) * 1000;\n\n\t\t\t}\n\t\t}", "dept *= 1.05", "dept", "1.05", "if (dept % 1000 != 0) {\n\n\t\t\t\tdept = (Math.ceil(dept / 1000)) * 1000;\n\n\t\t\t}", "dept % 1000 != 0", "dept % 1000", "dept", "1000", "0", "{\n\n\t\t\t\tdept = (Math.ceil(dept / 1000)) * 1000;\n\n\t\t\t}", "dept = (Math.ceil(dept / 1000)) * 1000", "dept", "(Math.ceil(dept / 1000)) * 1000", "(Math.ceil(dept / 1000))", "Math.ceil", "Math", "dept / 1000", "dept", "1000", "1000", "System.out.println((int)dept)", "System.out.println", "System.out", "System", "System.out", "(int)dept", "close()", "close", "String[] args", "args", "public static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}", "input", "{\n\n\t\treturn scanner.nextInt();\n\n\t}", "return scanner.nextInt();", "scanner.nextInt()", "scanner.nextInt", "scanner", "public static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}", "close", "{\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}", "if (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}", "scanner != null", "scanner", "null", "{\n\n\t\t\tscanner.close();\n\n\t\t}", "scanner.close()", "scanner.close", "scanner", "public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tint n = input();\n\t\tdouble dept = 100000;\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\tdept *= 1.05;\n\n\t\t\tif (dept % 1000 != 0) {\n\n\t\t\t\tdept = (Math.ceil(dept / 1000)) * 1000;\n\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println((int)dept);\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tint n = input();\n\t\tdouble dept = 100000;\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\tdept *= 1.05;\n\n\t\t\tif (dept % 1000 != 0) {\n\n\t\t\t\tdept = (Math.ceil(dept / 1000)) * 1000;\n\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println((int)dept);\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static Scanner scanner = new Scanner(System.in); public static void main(String[] args) { int n = input(); double dept = 100000; for (int i = 0; i < n; i++) { dept *= 1.05; if (dept % 1000 != 0) { dept = (Math.ceil(dept / 1000)) * 1000; } } System.out.println((int)dept); close(); } public static int input() { return scanner.nextInt(); } public static void close() { if (scanner != null) { scanner.close(); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 4, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 13, 2, 13, 2, 2, 13, 13, 17, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 14, 2, 13, 17, 30, 29, 13, 30, 29, 2, 2, 13, 17, 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 ], [ 118, 11 ], [ 118, 12 ], [ 12, 13 ], [ 12, 14 ], [ 118, 15 ], [ 15, 16 ], [ 15, 17 ], [ 118, 18 ], [ 18, 19 ], [ 18, 20 ], [ 118, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 23, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 23, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 23, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 21, 49 ], [ 49, 50 ], [ 118, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 57, 65 ], [ 65, 66 ], [ 66, 67 ], [ 57, 68 ], [ 69, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 72, 81 ], [ 53, 82 ], [ 82, 83 ], [ 51, 84 ], [ 84, 85 ], [ 118, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 91, 93 ], [ 88, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 96, 98 ], [ 88, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 103, 104 ], [ 104, 105 ], [ 99, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 86, 113 ], [ 113, 114 ], [ 86, 115 ], [ 115, 116 ], [ 0, 117 ], [ 117, 118 ], [ 117, 119 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n /** 借金額 */\n private static final int LOAN = 100000;\n\n /** 1週間ごとの利子(%) */\n private static final int INTEREST = 5;\n\n /** 切り上げの単位 */\n private static final int ROUND_UP_SCALE = 1000;\n\n /**\n * <p>\n * 引数で与えられたn週間後の借金額の残高を出力する。<br/>\n * 借金額は10万円、利子は1週間につき5%、利子の計算後に1,000円未満を切り上げることとする。<br/>\n * <br/>\n * 標準入力から以下を入力値として受け取る。<br/>\n * ・何週間後か(0?100)<br/>\n * </p>\n *\n * @param args\n * 利用しない。\n * @throws IOException\n */\n public static void main(String[] args) throws IOException {\n\n // 入力値を受け取る\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int weeks = Integer.parseInt(line);\n\n // n週間後の借金の残高を計算する\n int loanBalance = calcLoanBalance(weeks);\n\n // 結果を出力する\n System.out.println(loanBalance);\n\n }\n\n /**\n * <p>\n * 引数で与えられた週数が経過したときの借金の残高を計算する。<br/>\n * 1週間経過するごとに利子と残高を再計算する。<br/>\n * この際、金額の1,000円未満を切り上げる。<br/>\n * </p>\n *\n * @param weeks\n * 経過週数\n * @return 利子額\n */\n private static int calcLoanBalance(int weeks) {\n\n int loanBalance = LOAN;\n for (int i = 0; i < weeks; i++) {\n loanBalance = roundUp(loanBalance + (loanBalance * INTEREST) / 100,\n ROUND_UP_SCALE);\n }\n\n return loanBalance;\n\n }\n\n /**\n * <p>\n * 引数で与えられた数値を、引数で指定された単位で切り上げる。<br/>\n * </p>\n *\n * @param amount\n * 単位\n * @param scale\n * 切り上げの単位\n * @return 結果\n */\n private static int roundUp(int amount, int scale) {\n\n int quotient = amount / scale;\n int remainder = amount % scale;\n\n if (remainder == 0) {\n return amount;\n } else {\n return (quotient + 1) * scale;\n }\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 /** 借金額 */\n private static final int LOAN = 100000;\n\n /** 1週間ごとの利子(%) */\n private static final int INTEREST = 5;\n\n /** 切り上げの単位 */\n private static final int ROUND_UP_SCALE = 1000;\n\n /**\n * <p>\n * 引数で与えられたn週間後の借金額の残高を出力する。<br/>\n * 借金額は10万円、利子は1週間につき5%、利子の計算後に1,000円未満を切り上げることとする。<br/>\n * <br/>\n * 標準入力から以下を入力値として受け取る。<br/>\n * ・何週間後か(0?100)<br/>\n * </p>\n *\n * @param args\n * 利用しない。\n * @throws IOException\n */\n public static void main(String[] args) throws IOException {\n\n // 入力値を受け取る\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int weeks = Integer.parseInt(line);\n\n // n週間後の借金の残高を計算する\n int loanBalance = calcLoanBalance(weeks);\n\n // 結果を出力する\n System.out.println(loanBalance);\n\n }\n\n /**\n * <p>\n * 引数で与えられた週数が経過したときの借金の残高を計算する。<br/>\n * 1週間経過するごとに利子と残高を再計算する。<br/>\n * この際、金額の1,000円未満を切り上げる。<br/>\n * </p>\n *\n * @param weeks\n * 経過週数\n * @return 利子額\n */\n private static int calcLoanBalance(int weeks) {\n\n int loanBalance = LOAN;\n for (int i = 0; i < weeks; i++) {\n loanBalance = roundUp(loanBalance + (loanBalance * INTEREST) / 100,\n ROUND_UP_SCALE);\n }\n\n return loanBalance;\n\n }\n\n /**\n * <p>\n * 引数で与えられた数値を、引数で指定された単位で切り上げる。<br/>\n * </p>\n *\n * @param amount\n * 単位\n * @param scale\n * 切り上げの単位\n * @return 結果\n */\n private static int roundUp(int amount, int scale) {\n\n int quotient = amount / scale;\n int remainder = amount % scale;\n\n if (remainder == 0) {\n return amount;\n } else {\n return (quotient + 1) * scale;\n }\n\n }\n}", "Main", "/** 借金額 */\n private static final int LOAN = 100000;", "LOAN", "100000", "/** 1週間ごとの利子(%) */\n private static final int INTEREST = 5;", "INTEREST", "5", "/** 切り上げの単位 */\n private static final int ROUND_UP_SCALE = 1000;", "ROUND_UP_SCALE", "1000", "/**\n * <p>\n * 引数で与えられたn週間後の借金額の残高を出力する。<br/>\n * 借金額は10万円、利子は1週間につき5%、利子の計算後に1,000円未満を切り上げることとする。<br/>\n * <br/>\n * 標準入力から以下を入力値として受け取る。<br/>\n * ・何週間後か(0?100)<br/>\n * </p>\n *\n * @param args\n * 利用しない。\n * @throws IOException\n */\n public static void main(String[] args) throws IOException {\n\n // 入力値を受け取る\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int weeks = Integer.parseInt(line);\n\n // n週間後の借金の残高を計算する\n int loanBalance = calcLoanBalance(weeks);\n\n // 結果を出力する\n System.out.println(loanBalance);\n\n }", "main", "{\n\n // 入力値を受け取る\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int weeks = Integer.parseInt(line);\n\n // n週間後の借金の残高を計算する\n int loanBalance = calcLoanBalance(weeks);\n\n // 結果を出力する\n System.out.println(loanBalance);\n\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 weeks = Integer.parseInt(line);", "weeks", "Integer.parseInt(line)", "Integer.parseInt", "Integer", "line", "int loanBalance = calcLoanBalance(weeks);", "loanBalance", "calcLoanBalance(weeks)", "calcLoanBalance", "weeks", "System.out.println(loanBalance)", "System.out.println", "System.out", "System", "System.out", "loanBalance", "String[] args", "args", "/**\n * <p>\n * 引数で与えられた週数が経過したときの借金の残高を計算する。<br/>\n * 1週間経過するごとに利子と残高を再計算する。<br/>\n * この際、金額の1,000円未満を切り上げる。<br/>\n * </p>\n *\n * @param weeks\n * 経過週数\n * @return 利子額\n */\n private static int calcLoanBalance(int weeks) {\n\n int loanBalance = LOAN;\n for (int i = 0; i < weeks; i++) {\n loanBalance = roundUp(loanBalance + (loanBalance * INTEREST) / 100,\n ROUND_UP_SCALE);\n }\n\n return loanBalance;\n\n }", "calcLoanBalance", "{\n\n int loanBalance = LOAN;\n for (int i = 0; i < weeks; i++) {\n loanBalance = roundUp(loanBalance + (loanBalance * INTEREST) / 100,\n ROUND_UP_SCALE);\n }\n\n return loanBalance;\n\n }", "int loanBalance = LOAN;", "loanBalance", "LOAN", "for (int i = 0; i < weeks; i++) {\n loanBalance = roundUp(loanBalance + (loanBalance * INTEREST) / 100,\n ROUND_UP_SCALE);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < weeks", "i", "weeks", "i++", "i++", "i", "{\n loanBalance = roundUp(loanBalance + (loanBalance * INTEREST) / 100,\n ROUND_UP_SCALE);\n }", "{\n loanBalance = roundUp(loanBalance + (loanBalance * INTEREST) / 100,\n ROUND_UP_SCALE);\n }", "loanBalance = roundUp(loanBalance + (loanBalance * INTEREST) / 100,\n ROUND_UP_SCALE)", "loanBalance", "roundUp(loanBalance + (loanBalance * INTEREST) / 100,\n ROUND_UP_SCALE)", "roundUp", "loanBalance + (loanBalance * INTEREST) / 100", "loanBalance", "(loanBalance * INTEREST) / 100", "(loanBalance * INTEREST)", "loanBalance", "INTEREST", "100", "ROUND_UP_SCALE", "return loanBalance;", "loanBalance", "int weeks", "weeks", "/**\n * <p>\n * 引数で与えられた数値を、引数で指定された単位で切り上げる。<br/>\n * </p>\n *\n * @param amount\n * 単位\n * @param scale\n * 切り上げの単位\n * @return 結果\n */\n private static int roundUp(int amount, int scale) {\n\n int quotient = amount / scale;\n int remainder = amount % scale;\n\n if (remainder == 0) {\n return amount;\n } else {\n return (quotient + 1) * scale;\n }\n\n }", "roundUp", "{\n\n int quotient = amount / scale;\n int remainder = amount % scale;\n\n if (remainder == 0) {\n return amount;\n } else {\n return (quotient + 1) * scale;\n }\n\n }", "int quotient = amount / scale;", "quotient", "amount / scale", "amount", "scale", "int remainder = amount % scale;", "remainder", "amount % scale", "amount", "scale", "if (remainder == 0) {\n return amount;\n } else {\n return (quotient + 1) * scale;\n }", "remainder == 0", "remainder", "0", "{\n return amount;\n }", "return amount;", "amount", "{\n return (quotient + 1) * scale;\n }", "return (quotient + 1) * scale;", "(quotient + 1) * scale", "(quotient + 1)", "quotient", "1", "scale", "int amount", "amount", "int scale", "scale", "public class Main {\n\n /** 借金額 */\n private static final int LOAN = 100000;\n\n /** 1週間ごとの利子(%) */\n private static final int INTEREST = 5;\n\n /** 切り上げの単位 */\n private static final int ROUND_UP_SCALE = 1000;\n\n /**\n * <p>\n * 引数で与えられたn週間後の借金額の残高を出力する。<br/>\n * 借金額は10万円、利子は1週間につき5%、利子の計算後に1,000円未満を切り上げることとする。<br/>\n * <br/>\n * 標準入力から以下を入力値として受け取る。<br/>\n * ・何週間後か(0?100)<br/>\n * </p>\n *\n * @param args\n * 利用しない。\n * @throws IOException\n */\n public static void main(String[] args) throws IOException {\n\n // 入力値を受け取る\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int weeks = Integer.parseInt(line);\n\n // n週間後の借金の残高を計算する\n int loanBalance = calcLoanBalance(weeks);\n\n // 結果を出力する\n System.out.println(loanBalance);\n\n }\n\n /**\n * <p>\n * 引数で与えられた週数が経過したときの借金の残高を計算する。<br/>\n * 1週間経過するごとに利子と残高を再計算する。<br/>\n * この際、金額の1,000円未満を切り上げる。<br/>\n * </p>\n *\n * @param weeks\n * 経過週数\n * @return 利子額\n */\n private static int calcLoanBalance(int weeks) {\n\n int loanBalance = LOAN;\n for (int i = 0; i < weeks; i++) {\n loanBalance = roundUp(loanBalance + (loanBalance * INTEREST) / 100,\n ROUND_UP_SCALE);\n }\n\n return loanBalance;\n\n }\n\n /**\n * <p>\n * 引数で与えられた数値を、引数で指定された単位で切り上げる。<br/>\n * </p>\n *\n * @param amount\n * 単位\n * @param scale\n * 切り上げの単位\n * @return 結果\n */\n private static int roundUp(int amount, int scale) {\n\n int quotient = amount / scale;\n int remainder = amount % scale;\n\n if (remainder == 0) {\n return amount;\n } else {\n return (quotient + 1) * scale;\n }\n\n }\n}", "public class Main {\n\n /** 借金額 */\n private static final int LOAN = 100000;\n\n /** 1週間ごとの利子(%) */\n private static final int INTEREST = 5;\n\n /** 切り上げの単位 */\n private static final int ROUND_UP_SCALE = 1000;\n\n /**\n * <p>\n * 引数で与えられたn週間後の借金額の残高を出力する。<br/>\n * 借金額は10万円、利子は1週間につき5%、利子の計算後に1,000円未満を切り上げることとする。<br/>\n * <br/>\n * 標準入力から以下を入力値として受け取る。<br/>\n * ・何週間後か(0?100)<br/>\n * </p>\n *\n * @param args\n * 利用しない。\n * @throws IOException\n */\n public static void main(String[] args) throws IOException {\n\n // 入力値を受け取る\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int weeks = Integer.parseInt(line);\n\n // n週間後の借金の残高を計算する\n int loanBalance = calcLoanBalance(weeks);\n\n // 結果を出力する\n System.out.println(loanBalance);\n\n }\n\n /**\n * <p>\n * 引数で与えられた週数が経過したときの借金の残高を計算する。<br/>\n * 1週間経過するごとに利子と残高を再計算する。<br/>\n * この際、金額の1,000円未満を切り上げる。<br/>\n * </p>\n *\n * @param weeks\n * 経過週数\n * @return 利子額\n */\n private static int calcLoanBalance(int weeks) {\n\n int loanBalance = LOAN;\n for (int i = 0; i < weeks; i++) {\n loanBalance = roundUp(loanBalance + (loanBalance * INTEREST) / 100,\n ROUND_UP_SCALE);\n }\n\n return loanBalance;\n\n }\n\n /**\n * <p>\n * 引数で与えられた数値を、引数で指定された単位で切り上げる。<br/>\n * </p>\n *\n * @param amount\n * 単位\n * @param scale\n * 切り上げの単位\n * @return 結果\n */\n private static int roundUp(int amount, int scale) {\n\n int quotient = amount / scale;\n int remainder = amount % scale;\n\n if (remainder == 0) {\n return amount;\n } else {\n return (quotient + 1) * scale;\n }\n\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { /** 借金額 */ private static final int LOAN = 100000; /** 1週間ごとの利子(%) */ private static final int INTEREST = 5; /** 切り上げの単位 */ private static final int ROUND_UP_SCALE = 1000; /** * <p> * 引数で与えられたn週間後の借金額の残高を出力する。<br/> * 借金額は10万円、利子は1週間につき5%、利子の計算後に1,000円未満を切り上げることとする。<br/> * <br/> * 標準入力から以下を入力値として受け取る。<br/> * ・何週間後か(0?100)<br/> * </p> * * @param args * 利用しない。 * @throws IOException */ public static void main(String[] args) throws IOException { // 入力値を受け取る BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); int weeks = Integer.parseInt(line); // n週間後の借金の残高を計算する int loanBalance = calcLoanBalance(weeks); // 結果を出力する System.out.println(loanBalance); } /** * <p> * 引数で与えられた週数が経過したときの借金の残高を計算する。<br/> * 1週間経過するごとに利子と残高を再計算する。<br/> * この際、金額の1,000円未満を切り上げる。<br/> * </p> * * @param weeks * 経過週数 * @return 利子額 */ private static int calcLoanBalance(int weeks) { int loanBalance = LOAN; for (int i = 0; i < weeks; i++) { loanBalance = roundUp(loanBalance + (loanBalance * INTEREST) / 100, ROUND_UP_SCALE); } return loanBalance; } /** * <p> * 引数で与えられた数値を、引数で指定された単位で切り上げる。<br/> * </p> * * @param amount * 単位 * @param scale * 切り上げの単位 * @return 結果 */ private static int roundUp(int amount, int scale) { int quotient = amount / scale; int remainder = amount % scale; if (remainder == 0) { return amount; } else { return (quotient + 1) * scale; } } }
[ 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, 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 ], [ 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 ], [ 36, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 35, 44 ], [ 8, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 45, 51 ], [ 6, 52 ], [ 52, 53 ], [ 0, 54 ], [ 54, 55 ], [ 54, 56 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tdouble debt = 100000;\n\t\tint N = in.nextInt();\n\t\tfor(int i=0;i<N;i++){\n\t\t\tdebt = Math.ceil(debt*1.05/1000)*1000;\n\t\t}\n\t\tSystem.out.printf(\"%.0f\\n\",debt);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tdouble debt = 100000;\n\t\tint N = in.nextInt();\n\t\tfor(int i=0;i<N;i++){\n\t\t\tdebt = Math.ceil(debt*1.05/1000)*1000;\n\t\t}\n\t\tSystem.out.printf(\"%.0f\\n\",debt);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tdouble debt = 100000;\n\t\tint N = in.nextInt();\n\t\tfor(int i=0;i<N;i++){\n\t\t\tdebt = Math.ceil(debt*1.05/1000)*1000;\n\t\t}\n\t\tSystem.out.printf(\"%.0f\\n\",debt);\n\t}", "main", "{\n\t\tScanner in = new Scanner(System.in);\n\t\tdouble debt = 100000;\n\t\tint N = in.nextInt();\n\t\tfor(int i=0;i<N;i++){\n\t\t\tdebt = Math.ceil(debt*1.05/1000)*1000;\n\t\t}\n\t\tSystem.out.printf(\"%.0f\\n\",debt);\n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "double debt = 100000;", "debt", "100000", "int N = in.nextInt();", "N", "in.nextInt()", "in.nextInt", "in", "for(int i=0;i<N;i++){\n\t\t\tdebt = Math.ceil(debt*1.05/1000)*1000;\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*1.05/1000)*1000;\n\t\t}", "{\n\t\t\tdebt = Math.ceil(debt*1.05/1000)*1000;\n\t\t}", "debt = Math.ceil(debt*1.05/1000)*1000", "debt", "Math.ceil(debt*1.05/1000)*1000", "Math.ceil(debt*1.05/1000)", "Math.ceil", "Math", "debt*1.05/1000", "debt*1.05", "debt", "1.05", "1000", "1000", "System.out.printf(\"%.0f\\n\",debt)", "System.out.printf", "System.out", "System", "System.out", "\"%.0f\\n\"", "debt", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tdouble debt = 100000;\n\t\tint N = in.nextInt();\n\t\tfor(int i=0;i<N;i++){\n\t\t\tdebt = Math.ceil(debt*1.05/1000)*1000;\n\t\t}\n\t\tSystem.out.printf(\"%.0f\\n\",debt);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tdouble debt = 100000;\n\t\tint N = in.nextInt();\n\t\tfor(int i=0;i<N;i++){\n\t\t\tdebt = Math.ceil(debt*1.05/1000)*1000;\n\t\t}\n\t\tSystem.out.printf(\"%.0f\\n\",debt);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); double debt = 100000; int N = in.nextInt(); for(int i=0;i<N;i++){ debt = Math.ceil(debt*1.05/1000)*1000; } System.out.printf("%.0f\n",debt); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 17, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 13, 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, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 67, 11 ], [ 67, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 14, 22 ], [ 22, 23 ], [ 22, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 14, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 43, 45 ], [ 40, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 52, 54 ], [ 48, 55 ], [ 40, 56 ], [ 56, 57 ], [ 14, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 12, 64 ], [ 64, 65 ], [ 0, 66 ], [ 66, 67 ], [ 66, 68 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint n;\n\t\tdouble money = 100000;\n\n\t\tstr=br.readLine();\n\t\tn=Integer.parseInt(str);\n\t\t\n\t\twhile(n>0){\n\t\t\tmoney = money*1.05;\n\t\t\tmoney = (Math.ceil(money/1000))*1000;\n\t\t\tn--;\n\t\t}\n\t\tSystem.out.println((int)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[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint n;\n\t\tdouble money = 100000;\n\n\t\tstr=br.readLine();\n\t\tn=Integer.parseInt(str);\n\t\t\n\t\twhile(n>0){\n\t\t\tmoney = money*1.05;\n\t\t\tmoney = (Math.ceil(money/1000))*1000;\n\t\t\tn--;\n\t\t}\n\t\tSystem.out.println((int)money);\n\t}\n\n}", "Main", "public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint n;\n\t\tdouble money = 100000;\n\n\t\tstr=br.readLine();\n\t\tn=Integer.parseInt(str);\n\t\t\n\t\twhile(n>0){\n\t\t\tmoney = money*1.05;\n\t\t\tmoney = (Math.ceil(money/1000))*1000;\n\t\t\tn--;\n\t\t}\n\t\tSystem.out.println((int)money);\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint n;\n\t\tdouble money = 100000;\n\n\t\tstr=br.readLine();\n\t\tn=Integer.parseInt(str);\n\t\t\n\t\twhile(n>0){\n\t\t\tmoney = money*1.05;\n\t\t\tmoney = (Math.ceil(money/1000))*1000;\n\t\t\tn--;\n\t\t}\n\t\tSystem.out.println((int)money);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String str;", "str", "int n;", "n", "double money = 100000;", "money", "100000", "str=br.readLine()", "str", "br.readLine()", "br.readLine", "br", "n=Integer.parseInt(str)", "n", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "while(n>0){\n\t\t\tmoney = money*1.05;\n\t\t\tmoney = (Math.ceil(money/1000))*1000;\n\t\t\tn--;\n\t\t}", "n>0", "n", "0", "{\n\t\t\tmoney = money*1.05;\n\t\t\tmoney = (Math.ceil(money/1000))*1000;\n\t\t\tn--;\n\t\t}", "money = money*1.05", "money", "money*1.05", "money", "1.05", "money = (Math.ceil(money/1000))*1000", "money", "(Math.ceil(money/1000))*1000", "(Math.ceil(money/1000))", "Math.ceil", "Math", "money/1000", "money", "1000", "1000", "n--", "n", "System.out.println((int)money)", "System.out.println", "System.out", "System", "System.out", "(int)money", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint n;\n\t\tdouble money = 100000;\n\n\t\tstr=br.readLine();\n\t\tn=Integer.parseInt(str);\n\t\t\n\t\twhile(n>0){\n\t\t\tmoney = money*1.05;\n\t\t\tmoney = (Math.ceil(money/1000))*1000;\n\t\t\tn--;\n\t\t}\n\t\tSystem.out.println((int)money);\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint n;\n\t\tdouble money = 100000;\n\n\t\tstr=br.readLine();\n\t\tn=Integer.parseInt(str);\n\t\t\n\t\twhile(n>0){\n\t\t\tmoney = money*1.05;\n\t\t\tmoney = (Math.ceil(money/1000))*1000;\n\t\t\tn--;\n\t\t}\n\t\tSystem.out.println((int)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[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str; int n; double money = 100000; str=br.readLine(); n=Integer.parseInt(str); while(n>0){ money = money*1.05; money = (Math.ceil(money/1000))*1000; n--; } System.out.println((int)money); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 17, 0, 13, 4, 18, 13, 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, 17, 0, 13, 17, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 67, 5 ], [ 67, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 14, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 22, 30 ], [ 30, 31 ], [ 31, 32 ], [ 22, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 34, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 42, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 52, 54 ], [ 48, 55 ], [ 55, 56 ], [ 55, 57 ], [ 8, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 6, 64 ], [ 64, 65 ], [ 0, 66 ], [ 66, 67 ], [ 66, 68 ] ]
[ "import java.util.*;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n;\n long ans = 100000;\n \n n = sc.nextInt();\n for(int i=0;i<n;i++){\n\t \tans = ans+(ans/20);\n\t\t if(ans%1000>1){\n\t\t \tans /= 1000;\n\t\t \tans *= 1000;\n\t\t \tans += 1000;\n\t\t }\n } \n System.out.println(ans);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n;\n long ans = 100000;\n \n n = sc.nextInt();\n for(int i=0;i<n;i++){\n\t \tans = ans+(ans/20);\n\t\t if(ans%1000>1){\n\t\t \tans /= 1000;\n\t\t \tans *= 1000;\n\t\t \tans += 1000;\n\t\t }\n } \n System.out.println(ans);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n;\n long ans = 100000;\n \n n = sc.nextInt();\n for(int i=0;i<n;i++){\n\t \tans = ans+(ans/20);\n\t\t if(ans%1000>1){\n\t\t \tans /= 1000;\n\t\t \tans *= 1000;\n\t\t \tans += 1000;\n\t\t }\n } \n System.out.println(ans);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n;\n long ans = 100000;\n \n n = sc.nextInt();\n for(int i=0;i<n;i++){\n\t \tans = ans+(ans/20);\n\t\t if(ans%1000>1){\n\t\t \tans /= 1000;\n\t\t \tans *= 1000;\n\t\t \tans += 1000;\n\t\t }\n } \n System.out.println(ans);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n;", "n", "long ans = 100000;", "ans", "100000", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0;i<n;i++){\n\t \tans = ans+(ans/20);\n\t\t if(ans%1000>1){\n\t\t \tans /= 1000;\n\t\t \tans *= 1000;\n\t\t \tans += 1000;\n\t\t }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t \tans = ans+(ans/20);\n\t\t if(ans%1000>1){\n\t\t \tans /= 1000;\n\t\t \tans *= 1000;\n\t\t \tans += 1000;\n\t\t }\n }", "{\n\t \tans = ans+(ans/20);\n\t\t if(ans%1000>1){\n\t\t \tans /= 1000;\n\t\t \tans *= 1000;\n\t\t \tans += 1000;\n\t\t }\n }", "ans = ans+(ans/20)", "ans", "ans+(ans/20)", "ans", "(ans/20)", "ans", "20", "if(ans%1000>1){\n\t\t \tans /= 1000;\n\t\t \tans *= 1000;\n\t\t \tans += 1000;\n\t\t }", "ans%1000>1", "ans%1000", "ans", "1000", "1", "{\n\t\t \tans /= 1000;\n\t\t \tans *= 1000;\n\t\t \tans += 1000;\n\t\t }", "ans /= 1000", "ans", "1000", "ans *= 1000", "ans", "1000", "ans += 1000", "ans", "1000", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n;\n long ans = 100000;\n \n n = sc.nextInt();\n for(int i=0;i<n;i++){\n\t \tans = ans+(ans/20);\n\t\t if(ans%1000>1){\n\t\t \tans /= 1000;\n\t\t \tans *= 1000;\n\t\t \tans += 1000;\n\t\t }\n } \n System.out.println(ans);\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n;\n long ans = 100000;\n \n n = sc.nextInt();\n for(int i=0;i<n;i++){\n\t \tans = ans+(ans/20);\n\t\t if(ans%1000>1){\n\t\t \tans /= 1000;\n\t\t \tans *= 1000;\n\t\t \tans += 1000;\n\t\t }\n } \n System.out.println(ans);\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n; long ans = 100000; n = sc.nextInt(); for(int i=0;i<n;i++){ ans = ans+(ans/20); if(ans%1000>1){ ans /= 1000; ans *= 1000; ans += 1000; } } System.out.println(ans); } }
[ 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, 13, 17, 41, 13, 2, 13, 17, 41, 13, 20, 0, 13, 4, 18, 4, 18, 13, 17, 18, 13, 13, 0, 13, 2, 13, 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 ], [ 77, 8 ], [ 77, 9 ], [ 9, 10 ], [ 9, 11 ], [ 77, 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 ], [ 38, 40 ], [ 35, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 43, 45 ], [ 35, 46 ], [ 46, 47 ], [ 46, 48 ], [ 35, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 53, 57 ], [ 57, 58 ], [ 57, 59 ], [ 35, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 14, 65 ], [ 65, 66 ], [ 65, 67 ], [ 14, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 12, 74 ], [ 74, 75 ], [ 0, 76 ], [ 76, 77 ], [ 76, 78 ] ]
[ "import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\tstatic Scanner sc = new java.util.Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tint n = sc.nextInt();\n\t\t\n\t\tdouble a = 100000;\n\t\t\n\t\tfor (int x = 1 ; x <= n ; x++){\n\t\t\t\n\t\t\ta = a * (1.05) ;\n\t\t\tdouble b = a / 1000 ;\n\t\t\t\n\t\t\tBigDecimal bib = new BigDecimal (String.valueOf(b));\n\t\t\tb =bib.setScale(0, BigDecimal.ROUND_UP).doubleValue();\n\t\t\t\n\t\t\ta = b * 1000;\n\t\t\t\n\t\t}\n\t\t\n\t\tint c = (int)a;\n\t\tSystem.out.println(c);\n\t}\n\n}", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tstatic Scanner sc = new java.util.Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tint n = sc.nextInt();\n\t\t\n\t\tdouble a = 100000;\n\t\t\n\t\tfor (int x = 1 ; x <= n ; x++){\n\t\t\t\n\t\t\ta = a * (1.05) ;\n\t\t\tdouble b = a / 1000 ;\n\t\t\t\n\t\t\tBigDecimal bib = new BigDecimal (String.valueOf(b));\n\t\t\tb =bib.setScale(0, BigDecimal.ROUND_UP).doubleValue();\n\t\t\t\n\t\t\ta = b * 1000;\n\t\t\t\n\t\t}\n\t\t\n\t\tint c = (int)a;\n\t\tSystem.out.println(c);\n\t}\n\n}", "Main", "static Scanner sc = new java.util.Scanner(System.in);", "sc", "new java.util.Scanner(System.in)", "public static void main(String[] args) {\n\t\t\n\t\tint n = sc.nextInt();\n\t\t\n\t\tdouble a = 100000;\n\t\t\n\t\tfor (int x = 1 ; x <= n ; x++){\n\t\t\t\n\t\t\ta = a * (1.05) ;\n\t\t\tdouble b = a / 1000 ;\n\t\t\t\n\t\t\tBigDecimal bib = new BigDecimal (String.valueOf(b));\n\t\t\tb =bib.setScale(0, BigDecimal.ROUND_UP).doubleValue();\n\t\t\t\n\t\t\ta = b * 1000;\n\t\t\t\n\t\t}\n\t\t\n\t\tint c = (int)a;\n\t\tSystem.out.println(c);\n\t}", "main", "{\n\t\t\n\t\tint n = sc.nextInt();\n\t\t\n\t\tdouble a = 100000;\n\t\t\n\t\tfor (int x = 1 ; x <= n ; x++){\n\t\t\t\n\t\t\ta = a * (1.05) ;\n\t\t\tdouble b = a / 1000 ;\n\t\t\t\n\t\t\tBigDecimal bib = new BigDecimal (String.valueOf(b));\n\t\t\tb =bib.setScale(0, BigDecimal.ROUND_UP).doubleValue();\n\t\t\t\n\t\t\ta = b * 1000;\n\t\t\t\n\t\t}\n\t\t\n\t\tint c = (int)a;\n\t\tSystem.out.println(c);\n\t}", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "double a = 100000;", "a", "100000", "for (int x = 1 ; x <= n ; x++){\n\t\t\t\n\t\t\ta = a * (1.05) ;\n\t\t\tdouble b = a / 1000 ;\n\t\t\t\n\t\t\tBigDecimal bib = new BigDecimal (String.valueOf(b));\n\t\t\tb =bib.setScale(0, BigDecimal.ROUND_UP).doubleValue();\n\t\t\t\n\t\t\ta = b * 1000;\n\t\t\t\n\t\t}", "int x = 1 ;", "int x = 1 ;", "x", "1", "x <= n", "x", "n", "x++", "x++", "x", "{\n\t\t\t\n\t\t\ta = a * (1.05) ;\n\t\t\tdouble b = a / 1000 ;\n\t\t\t\n\t\t\tBigDecimal bib = new BigDecimal (String.valueOf(b));\n\t\t\tb =bib.setScale(0, BigDecimal.ROUND_UP).doubleValue();\n\t\t\t\n\t\t\ta = b * 1000;\n\t\t\t\n\t\t}", "{\n\t\t\t\n\t\t\ta = a * (1.05) ;\n\t\t\tdouble b = a / 1000 ;\n\t\t\t\n\t\t\tBigDecimal bib = new BigDecimal (String.valueOf(b));\n\t\t\tb =bib.setScale(0, BigDecimal.ROUND_UP).doubleValue();\n\t\t\t\n\t\t\ta = b * 1000;\n\t\t\t\n\t\t}", "a = a * (1.05)", "a", "a * (1.05)", "a", "(1.05)", "double b = a / 1000 ;", "b", "a / 1000", "a", "1000", "BigDecimal bib = new BigDecimal (String.valueOf(b));", "bib", "new BigDecimal (String.valueOf(b))", "b =bib.setScale(0, BigDecimal.ROUND_UP).doubleValue()", "b", "bib.setScale(0, BigDecimal.ROUND_UP).doubleValue()", "bib.setScale(0, BigDecimal.ROUND_UP).doubleValue", "bib.setScale(0, BigDecimal.ROUND_UP)", "bib.setScale", "bib", "0", "BigDecimal.ROUND_UP", "BigDecimal", "BigDecimal.ROUND_UP", "a = b * 1000", "a", "b * 1000", "b", "1000", "int c = (int)a;", "c", "(int)a", "System.out.println(c)", "System.out.println", "System.out", "System", "System.out", "c", "String[] args", "args", "public class Main {\n\tstatic Scanner sc = new java.util.Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tint n = sc.nextInt();\n\t\t\n\t\tdouble a = 100000;\n\t\t\n\t\tfor (int x = 1 ; x <= n ; x++){\n\t\t\t\n\t\t\ta = a * (1.05) ;\n\t\t\tdouble b = a / 1000 ;\n\t\t\t\n\t\t\tBigDecimal bib = new BigDecimal (String.valueOf(b));\n\t\t\tb =bib.setScale(0, BigDecimal.ROUND_UP).doubleValue();\n\t\t\t\n\t\t\ta = b * 1000;\n\t\t\t\n\t\t}\n\t\t\n\t\tint c = (int)a;\n\t\tSystem.out.println(c);\n\t}\n\n}", "public class Main {\n\tstatic Scanner sc = new java.util.Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tint n = sc.nextInt();\n\t\t\n\t\tdouble a = 100000;\n\t\t\n\t\tfor (int x = 1 ; x <= n ; x++){\n\t\t\t\n\t\t\ta = a * (1.05) ;\n\t\t\tdouble b = a / 1000 ;\n\t\t\t\n\t\t\tBigDecimal bib = new BigDecimal (String.valueOf(b));\n\t\t\tb =bib.setScale(0, BigDecimal.ROUND_UP).doubleValue();\n\t\t\t\n\t\t\ta = b * 1000;\n\t\t\t\n\t\t}\n\t\t\n\t\tint c = (int)a;\n\t\tSystem.out.println(c);\n\t}\n\n}", "Main" ]
import java.math.BigDecimal; import java.util.Scanner; public class Main { static Scanner sc = new java.util.Scanner(System.in); public static void main(String[] args) { int n = sc.nextInt(); double a = 100000; for (int x = 1 ; x <= n ; x++){ a = a * (1.05) ; double b = a / 1000 ; BigDecimal bib = new BigDecimal (String.valueOf(b)); b =bib.setScale(0, BigDecimal.ROUND_UP).doubleValue(); a = b * 1000; } int c = (int)a; System.out.println(c); } }
[ 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, 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 ], [ 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 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 44, 53 ], [ 14, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 12, 60 ], [ 60, 61 ], [ 0, 62 ], [ 62, 63 ], [ 62, 64 ] ]
[ "\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tint a = Integer.parseInt(reader.readLine());\n\t\tint b = 100000;\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tb += (int) (Math.ceil(b * 0.05 / 1000) * 1000);\n\t\t}\n\t\tSystem.out.println(b);\n\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tint a = Integer.parseInt(reader.readLine());\n\t\tint b = 100000;\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tb += (int) (Math.ceil(b * 0.05 / 1000) * 1000);\n\t\t}\n\t\tSystem.out.println(b);\n\n\t}\n\n}", "Main", "public static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tint a = Integer.parseInt(reader.readLine());\n\t\tint b = 100000;\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tb += (int) (Math.ceil(b * 0.05 / 1000) * 1000);\n\t\t}\n\t\tSystem.out.println(b);\n\n\t}", "main", "{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tint a = Integer.parseInt(reader.readLine());\n\t\tint b = 100000;\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tb += (int) (Math.ceil(b * 0.05 / 1000) * 1000);\n\t\t}\n\t\tSystem.out.println(b);\n\n\t}", "BufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));", "reader", "new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))", "int a = Integer.parseInt(reader.readLine());", "a", "Integer.parseInt(reader.readLine())", "Integer.parseInt", "Integer", "reader.readLine()", "reader.readLine", "reader", "int b = 100000;", "b", "100000", "for (int i = 0; i < a; i++) {\n\t\t\tb += (int) (Math.ceil(b * 0.05 / 1000) * 1000);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < a", "i", "a", "i++", "i++", "i", "{\n\t\t\tb += (int) (Math.ceil(b * 0.05 / 1000) * 1000);\n\t\t}", "{\n\t\t\tb += (int) (Math.ceil(b * 0.05 / 1000) * 1000);\n\t\t}", "b += (int) (Math.ceil(b * 0.05 / 1000) * 1000)", "b", "(int) (Math.ceil(b * 0.05 / 1000) * 1000)", "Math.ceil(b * 0.05 / 1000)", "Math.ceil", "Math", "b * 0.05 / 1000", "b * 0.05", "b", "0.05", "1000", "1000", "System.out.println(b)", "System.out.println", "System.out", "System", "System.out", "b", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tint a = Integer.parseInt(reader.readLine());\n\t\tint b = 100000;\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tb += (int) (Math.ceil(b * 0.05 / 1000) * 1000);\n\t\t}\n\t\tSystem.out.println(b);\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tint a = Integer.parseInt(reader.readLine());\n\t\tint b = 100000;\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tb += (int) (Math.ceil(b * 0.05 / 1000) * 1000);\n\t\t}\n\t\tSystem.out.println(b);\n\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader reader = new BufferedReader(new InputStreamReader( System.in)); int a = Integer.parseInt(reader.readLine()); int b = 100000; for (int i = 0; i < a; i++) { b += (int) (Math.ceil(b * 0.05 / 1000) * 1000); } System.out.println(b); } }
[ 7, 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, 0, 13, 2, 4, 18, 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 ], [ 14, 15 ], [ 15, 16 ], [ 14, 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 ], [ 35, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 41, 48 ], [ 8, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 6, 55 ], [ 55, 56 ] ]
[ "import java.io.*;\n\nclass 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 result = 100000;\n\n for(int i=0; i<n; i++){\n result *= 1.05;\n result = Math.ceil(result/1000)*1000;\n }\n System.out.println((int)result);\n\n }\n}", "import java.io.*;", "io.*", "java", "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 result = 100000;\n\n for(int i=0; i<n; i++){\n result *= 1.05;\n result = Math.ceil(result/1000)*1000;\n }\n System.out.println((int)result);\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 double result = 100000;\n\n for(int i=0; i<n; i++){\n result *= 1.05;\n result = Math.ceil(result/1000)*1000;\n }\n System.out.println((int)result);\n\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n double result = 100000;\n\n for(int i=0; i<n; i++){\n result *= 1.05;\n result = Math.ceil(result/1000)*1000;\n }\n System.out.println((int)result);\n\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 result = 100000;", "result", "100000", "for(int i=0; i<n; i++){\n result *= 1.05;\n result = Math.ceil(result/1000)*1000;\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n result *= 1.05;\n result = Math.ceil(result/1000)*1000;\n }", "{\n result *= 1.05;\n result = Math.ceil(result/1000)*1000;\n }", "result *= 1.05", "result", "1.05", "result = Math.ceil(result/1000)*1000", "result", "Math.ceil(result/1000)*1000", "Math.ceil(result/1000)", "Math.ceil", "Math", "result/1000", "result", "1000", "1000", "System.out.println((int)result)", "System.out.println", "System.out", "System", "System.out", "(int)result", "String[]args", "args" ]
import java.io.*; 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 result = 100000; for(int i=0; i<n; i++){ result *= 1.05; result = Math.ceil(result/1000)*1000; } System.out.println((int)result); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 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, 41, 13, 2, 13, 17, 0, 13, 2, 13, 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 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 25, 26 ], [ 25, 27 ], [ 0, 28 ], [ 28, 29 ], [ 28, 30 ], [ 0, 31 ], [ 31, 32 ], [ 31, 33 ], [ 0, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 38, 47 ], [ 47, 48 ], [ 47, 49 ], [ 38, 50 ], [ 50, 51 ], [ 50, 52 ], [ 38, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 53, 61 ], [ 61, 62 ], [ 62, 63 ], [ 53, 64 ], [ 65, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 65, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 65, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 76, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 88, 90 ], [ 85, 91 ], [ 38, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 36, 98 ], [ 98, 99 ] ]
[ "import java.io.*;\nimport java.lang.reflect.Array;\nimport java.util.ArrayDeque;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.Comparator;\nimport java.util.List;\nimport java.util.Scanner;\nimport java.util.Stack;\n\nimport org.omg.CORBA.SystemException;\n\nclass Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint week = scan.nextInt();\n\t\tint moto = 100000;\n\t\tint totaldebt = 100000;\n\t\tfor(int i = 0; i < week;i++){\n\t\tint rishi = (int) ((int) totaldebt * 0.05);\n\t\ttotaldebt = totaldebt + rishi;\n\t\tif(totaldebt % 1000 != 0){\n\t\t\ttotaldebt = totaldebt - (totaldebt%1000) +1000;\n\t\t}\n\t\t}\n\t\tSystem.out.println(totaldebt);\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.lang.reflect.Array;", "Array", "java.lang.reflect", "import java.util.ArrayDeque;", "ArrayDeque", "java.util", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Collections;", "Collections", "java.util", "import java.util.Comparator;", "Comparator", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Stack;", "Stack", "java.util", "import org.omg.CORBA.SystemException;", "SystemException", "org.omg.CORBA", "class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint week = scan.nextInt();\n\t\tint moto = 100000;\n\t\tint totaldebt = 100000;\n\t\tfor(int i = 0; i < week;i++){\n\t\tint rishi = (int) ((int) totaldebt * 0.05);\n\t\ttotaldebt = totaldebt + rishi;\n\t\tif(totaldebt % 1000 != 0){\n\t\t\ttotaldebt = totaldebt - (totaldebt%1000) +1000;\n\t\t}\n\t\t}\n\t\tSystem.out.println(totaldebt);\n\t}\n}", "Main", "public static void main(String[] a) throws IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint week = scan.nextInt();\n\t\tint moto = 100000;\n\t\tint totaldebt = 100000;\n\t\tfor(int i = 0; i < week;i++){\n\t\tint rishi = (int) ((int) totaldebt * 0.05);\n\t\ttotaldebt = totaldebt + rishi;\n\t\tif(totaldebt % 1000 != 0){\n\t\t\ttotaldebt = totaldebt - (totaldebt%1000) +1000;\n\t\t}\n\t\t}\n\t\tSystem.out.println(totaldebt);\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint week = scan.nextInt();\n\t\tint moto = 100000;\n\t\tint totaldebt = 100000;\n\t\tfor(int i = 0; i < week;i++){\n\t\tint rishi = (int) ((int) totaldebt * 0.05);\n\t\ttotaldebt = totaldebt + rishi;\n\t\tif(totaldebt % 1000 != 0){\n\t\t\ttotaldebt = totaldebt - (totaldebt%1000) +1000;\n\t\t}\n\t\t}\n\t\tSystem.out.println(totaldebt);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int week = scan.nextInt();", "week", "scan.nextInt()", "scan.nextInt", "scan", "int moto = 100000;", "moto", "100000", "int totaldebt = 100000;", "totaldebt", "100000", "for(int i = 0; i < week;i++){\n\t\tint rishi = (int) ((int) totaldebt * 0.05);\n\t\ttotaldebt = totaldebt + rishi;\n\t\tif(totaldebt % 1000 != 0){\n\t\t\ttotaldebt = totaldebt - (totaldebt%1000) +1000;\n\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < week", "i", "week", "i++", "i++", "i", "{\n\t\tint rishi = (int) ((int) totaldebt * 0.05);\n\t\ttotaldebt = totaldebt + rishi;\n\t\tif(totaldebt % 1000 != 0){\n\t\t\ttotaldebt = totaldebt - (totaldebt%1000) +1000;\n\t\t}\n\t\t}", "{\n\t\tint rishi = (int) ((int) totaldebt * 0.05);\n\t\ttotaldebt = totaldebt + rishi;\n\t\tif(totaldebt % 1000 != 0){\n\t\t\ttotaldebt = totaldebt - (totaldebt%1000) +1000;\n\t\t}\n\t\t}", "int rishi = (int) ((int) totaldebt * 0.05);", "rishi", "(int) ((int) totaldebt * 0.05)", "(int) totaldebt", "0.05", "totaldebt = totaldebt + rishi", "totaldebt", "totaldebt + rishi", "totaldebt", "rishi", "if(totaldebt % 1000 != 0){\n\t\t\ttotaldebt = totaldebt - (totaldebt%1000) +1000;\n\t\t}", "totaldebt % 1000 != 0", "totaldebt % 1000", "totaldebt", "1000", "0", "{\n\t\t\ttotaldebt = totaldebt - (totaldebt%1000) +1000;\n\t\t}", "totaldebt = totaldebt - (totaldebt%1000) +1000", "totaldebt", "totaldebt - (totaldebt%1000) +1000", "totaldebt - (totaldebt%1000)", "totaldebt", "(totaldebt%1000)", "totaldebt", "1000", "1000", "System.out.println(totaldebt)", "System.out.println", "System.out", "System", "System.out", "totaldebt", "String[] a", "a" ]
import java.io.*; import java.lang.reflect.Array; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Scanner; import java.util.Stack; import org.omg.CORBA.SystemException; class Main { public static void main(String[] a) throws IOException { Scanner scan = new Scanner(System.in); int week = scan.nextInt(); int moto = 100000; int totaldebt = 100000; for(int i = 0; i < week;i++){ int rishi = (int) ((int) totaldebt * 0.05); totaldebt = totaldebt + rishi; if(totaldebt % 1000 != 0){ totaldebt = totaldebt - (totaldebt%1000) +1000; } } System.out.println(totaldebt); } }
[ 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, 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 ], [ 70, 11 ], [ 70, 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 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 54, 60 ], [ 14, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 12, 67 ], [ 67, 68 ], [ 0, 69 ], [ 69, 70 ], [ 69, 71 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint week = Integer.parseInt(br.readLine());\n\t\t\n\t\tint debt = 100000;\n\t\tfor(int i = 0; i < week; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tif(debt % 1000 > 0){\n\t\t\t\tdebt = (debt/1000)*1000+1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(debt);\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 ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint week = Integer.parseInt(br.readLine());\n\t\t\n\t\tint debt = 100000;\n\t\tfor(int i = 0; i < week; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tif(debt % 1000 > 0){\n\t\t\t\tdebt = (debt/1000)*1000+1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n\n}", "Main", "public static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint week = Integer.parseInt(br.readLine());\n\t\t\n\t\tint debt = 100000;\n\t\tfor(int i = 0; i < week; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tif(debt % 1000 > 0){\n\t\t\t\tdebt = (debt/1000)*1000+1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(debt);\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint week = Integer.parseInt(br.readLine());\n\t\t\n\t\tint debt = 100000;\n\t\tfor(int i = 0; i < week; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tif(debt % 1000 > 0){\n\t\t\t\tdebt = (debt/1000)*1000+1000;\n\t\t\t}\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 week = Integer.parseInt(br.readLine());", "week", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "int debt = 100000;", "debt", "100000", "for(int i = 0; i < week; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tif(debt % 1000 > 0){\n\t\t\t\tdebt = (debt/1000)*1000+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\tdebt *= 1.05;\n\t\t\tif(debt % 1000 > 0){\n\t\t\t\tdebt = (debt/1000)*1000+1000;\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 = (debt/1000)*1000+1000;\n\t\t\t}\n\t\t}", "debt *= 1.05", "debt", "1.05", "if(debt % 1000 > 0){\n\t\t\t\tdebt = (debt/1000)*1000+1000;\n\t\t\t}", "debt % 1000 > 0", "debt % 1000", "debt", "1000", "0", "{\n\t\t\t\tdebt = (debt/1000)*1000+1000;\n\t\t\t}", "debt = (debt/1000)*1000+1000", "debt", "(debt/1000)*1000+1000", "(debt/1000)*1000", "(debt/1000)", "debt", "1000", "1000", "1000", "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) throws NumberFormatException, IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint week = Integer.parseInt(br.readLine());\n\t\t\n\t\tint debt = 100000;\n\t\tfor(int i = 0; i < week; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tif(debt % 1000 > 0){\n\t\t\t\tdebt = (debt/1000)*1000+1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(debt);\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint week = Integer.parseInt(br.readLine());\n\t\t\n\t\tint debt = 100000;\n\t\tfor(int i = 0; i < week; i++){\n\t\t\tdebt *= 1.05;\n\t\t\tif(debt % 1000 > 0){\n\t\t\t\tdebt = (debt/1000)*1000+1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(debt);\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 ????????????????????????????????????????????? BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int week = Integer.parseInt(br.readLine()); int debt = 100000; for(int i = 0; i < week; i++){ debt *= 1.05; if(debt % 1000 > 0){ debt = (debt/1000)*1000+1000; } } System.out.println(debt); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 4, 18, 18, 13, 13, 4, 13, 17, 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, 13, 17, 17, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 58, 5 ], [ 58, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 9, 14 ], [ 14, 15 ], [ 14, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 6, 20 ], [ 20, 21 ], [ 58, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 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 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 43, 50 ], [ 24, 51 ], [ 51, 52 ], [ 22, 53 ], [ 53, 54 ], [ 22, 55 ], [ 55, 56 ], [ 0, 57 ], [ 57, 58 ], [ 57, 59 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String args[]) {\n System.out.println(\n calcDebt(100000.0, 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 * 0.00105) * 1000.0;\n }\n return (int)debt;\n }\n} ", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String args[]) {\n System.out.println(\n calcDebt(100000.0, 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 * 0.00105) * 1000.0;\n }\n return (int)debt;\n }\n}", "Main", "public static void main(String args[]) {\n System.out.println(\n calcDebt(100000.0, new Scanner(System.in).nextInt())\n );\n\n }", "main", "{\n System.out.println(\n calcDebt(100000.0, new Scanner(System.in).nextInt())\n );\n\n }", "System.out.println(\n calcDebt(100000.0, new Scanner(System.in).nextInt())\n )", "System.out.println", "System.out", "System", "System.out", "calcDebt(100000.0, new Scanner(System.in).nextInt())", "calcDebt", "100000.0", "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 * 0.00105) * 1000.0;\n }\n return (int)debt;\n }", "calcDebt", "{\n double debt = firstDebt;\n for(int i = 0; i< nWeeks; i++) {\n debt = Math.ceil(debt * 0.00105) * 1000.0;\n }\n return (int)debt;\n }", "double debt = firstDebt;", "debt", "firstDebt", "for(int i = 0; i< nWeeks; i++) {\n debt = Math.ceil(debt * 0.00105) * 1000.0;\n }", "int i = 0;", "int i = 0;", "i", "0", "i< nWeeks", "i", "nWeeks", "i++", "i++", "i", "{\n debt = Math.ceil(debt * 0.00105) * 1000.0;\n }", "{\n debt = Math.ceil(debt * 0.00105) * 1000.0;\n }", "debt = Math.ceil(debt * 0.00105) * 1000.0", "debt", "Math.ceil(debt * 0.00105) * 1000.0", "Math.ceil(debt * 0.00105)", "Math.ceil", "Math", "debt * 0.00105", "debt", "0.00105", "1000.0", "return (int)debt;", "(int)debt", "double firstDebt", "firstDebt", "int nWeeks", "nWeeks", "public class Main {\n public static void main(String args[]) {\n System.out.println(\n calcDebt(100000.0, 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 * 0.00105) * 1000.0;\n }\n return (int)debt;\n }\n}", "public class Main {\n public static void main(String args[]) {\n System.out.println(\n calcDebt(100000.0, 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 * 0.00105) * 1000.0;\n }\n return (int)debt;\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String args[]) { System.out.println( calcDebt(100000.0, 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 * 0.00105) * 1000.0; } return (int)debt; } }
[ 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, 2, 2, 13, 17, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 17, 30, 0, 13, 2, 2, 13, 17, 17, 0, 13, 17, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 75, 5 ], [ 75, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 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 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 34, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 42, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 42, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 34, 60 ], [ 60, 61 ], [ 60, 62 ], [ 34, 63 ], [ 63, 64 ], [ 63, 65 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 6, 72 ], [ 72, 73 ], [ 0, 74 ], [ 74, 75 ], [ 74, 76 ] ]
[ "\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(), det = 100000;\n\t\tint rishi;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\trishi = (det/100) * 5;\n\t\t\tif(rishi%1000 == 0){\n\t\t\t\trishi /= 1000;\n\t\t\t} else {\n\t\t\t\trishi = (rishi/1000) +1;\n\t\t\t}\n\t\t\trishi *= 1000;\n\t\t\tdet += rishi;\n\t\t}\n\t\tSystem.out.println(det);\t\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(), det = 100000;\n\t\tint rishi;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\trishi = (det/100) * 5;\n\t\t\tif(rishi%1000 == 0){\n\t\t\t\trishi /= 1000;\n\t\t\t} else {\n\t\t\t\trishi = (rishi/1000) +1;\n\t\t\t}\n\t\t\trishi *= 1000;\n\t\t\tdet += rishi;\n\t\t}\n\t\tSystem.out.println(det);\t\n\t}\n}", "Main", "public static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(), det = 100000;\n\t\tint rishi;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\trishi = (det/100) * 5;\n\t\t\tif(rishi%1000 == 0){\n\t\t\t\trishi /= 1000;\n\t\t\t} else {\n\t\t\t\trishi = (rishi/1000) +1;\n\t\t\t}\n\t\t\trishi *= 1000;\n\t\t\tdet += rishi;\n\t\t}\n\t\tSystem.out.println(det);\t\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(), det = 100000;\n\t\tint rishi;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\trishi = (det/100) * 5;\n\t\t\tif(rishi%1000 == 0){\n\t\t\t\trishi /= 1000;\n\t\t\t} else {\n\t\t\t\trishi = (rishi/1000) +1;\n\t\t\t}\n\t\t\trishi *= 1000;\n\t\t\tdet += rishi;\n\t\t}\n\t\tSystem.out.println(det);\t\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "det = 100000;", "det", "100000", "int rishi;", "rishi", "for(int i = 0; i < n; i++){\n\t\t\trishi = (det/100) * 5;\n\t\t\tif(rishi%1000 == 0){\n\t\t\t\trishi /= 1000;\n\t\t\t} else {\n\t\t\t\trishi = (rishi/1000) +1;\n\t\t\t}\n\t\t\trishi *= 1000;\n\t\t\tdet += rishi;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\trishi = (det/100) * 5;\n\t\t\tif(rishi%1000 == 0){\n\t\t\t\trishi /= 1000;\n\t\t\t} else {\n\t\t\t\trishi = (rishi/1000) +1;\n\t\t\t}\n\t\t\trishi *= 1000;\n\t\t\tdet += rishi;\n\t\t}", "{\n\t\t\trishi = (det/100) * 5;\n\t\t\tif(rishi%1000 == 0){\n\t\t\t\trishi /= 1000;\n\t\t\t} else {\n\t\t\t\trishi = (rishi/1000) +1;\n\t\t\t}\n\t\t\trishi *= 1000;\n\t\t\tdet += rishi;\n\t\t}", "rishi = (det/100) * 5", "rishi", "(det/100) * 5", "(det/100)", "det", "100", "5", "if(rishi%1000 == 0){\n\t\t\t\trishi /= 1000;\n\t\t\t} else {\n\t\t\t\trishi = (rishi/1000) +1;\n\t\t\t}", "rishi%1000 == 0", "rishi%1000", "rishi", "1000", "0", "{\n\t\t\t\trishi /= 1000;\n\t\t\t}", "rishi /= 1000", "rishi", "1000", "{\n\t\t\t\trishi = (rishi/1000) +1;\n\t\t\t}", "rishi = (rishi/1000) +1", "rishi", "(rishi/1000) +1", "(rishi/1000)", "rishi", "1000", "1", "rishi *= 1000", "rishi", "1000", "det += rishi", "det", "rishi", "System.out.println(det)", "System.out.println", "System.out", "System", "System.out", "det", "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(), det = 100000;\n\t\tint rishi;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\trishi = (det/100) * 5;\n\t\t\tif(rishi%1000 == 0){\n\t\t\t\trishi /= 1000;\n\t\t\t} else {\n\t\t\t\trishi = (rishi/1000) +1;\n\t\t\t}\n\t\t\trishi *= 1000;\n\t\t\tdet += rishi;\n\t\t}\n\t\tSystem.out.println(det);\t\n\t}\n}", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(), det = 100000;\n\t\tint rishi;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\trishi = (det/100) * 5;\n\t\t\tif(rishi%1000 == 0){\n\t\t\t\trishi /= 1000;\n\t\t\t} else {\n\t\t\t\trishi = (rishi/1000) +1;\n\t\t\t}\n\t\t\trishi *= 1000;\n\t\t\tdet += rishi;\n\t\t}\n\t\tSystem.out.println(det);\t\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(), det = 100000; int rishi; for(int i = 0; i < n; i++){ rishi = (det/100) * 5; if(rishi%1000 == 0){ rishi /= 1000; } else { rishi = (rishi/1000) +1; } rishi *= 1000; det += rishi; } System.out.println(det); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 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, 2, 13, 17, 41, 13, 2, 13, 17, 14, 2, 2, 13, 17, 13, 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 ], [ 68, 5 ], [ 68, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 20, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 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 ], [ 43, 45 ], [ 35, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 46, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 8, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 6, 65 ], [ 65, 66 ], [ 0, 67 ], [ 67, 68 ], [ 67, 69 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main {\n\n\t\n\tpublic static void main(String[] args) {\n\t\tdouble debt = 100000;\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = Integer.parseInt(stdIn.next());\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tdebt += (debt * 0.05);\n\t\t\tint tmp = (int)(debt / 1000);\n\t\t\tif((debt/1000) != tmp) debt = ((tmp*1000) + 1000);\n\t\t}\n\t\tSystem.out.println((long)debt);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\t\n\tpublic static void main(String[] args) {\n\t\tdouble debt = 100000;\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = Integer.parseInt(stdIn.next());\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tdebt += (debt * 0.05);\n\t\t\tint tmp = (int)(debt / 1000);\n\t\t\tif((debt/1000) != tmp) debt = ((tmp*1000) + 1000);\n\t\t}\n\t\tSystem.out.println((long)debt);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tdouble debt = 100000;\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = Integer.parseInt(stdIn.next());\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tdebt += (debt * 0.05);\n\t\t\tint tmp = (int)(debt / 1000);\n\t\t\tif((debt/1000) != tmp) debt = ((tmp*1000) + 1000);\n\t\t}\n\t\tSystem.out.println((long)debt);\n\t}", "main", "{\n\t\tdouble debt = 100000;\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = Integer.parseInt(stdIn.next());\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tdebt += (debt * 0.05);\n\t\t\tint tmp = (int)(debt / 1000);\n\t\t\tif((debt/1000) != tmp) debt = ((tmp*1000) + 1000);\n\t\t}\n\t\tSystem.out.println((long)debt);\n\t}", "double debt = 100000;", "debt", "100000", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "int n = Integer.parseInt(stdIn.next());", "n", "Integer.parseInt(stdIn.next())", "Integer.parseInt", "Integer", "stdIn.next()", "stdIn.next", "stdIn", "for (int i = 1; i <= n; i++) {\n\t\t\tdebt += (debt * 0.05);\n\t\t\tint tmp = (int)(debt / 1000);\n\t\t\tif((debt/1000) != tmp) debt = ((tmp*1000) + 1000);\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n\t\t\tdebt += (debt * 0.05);\n\t\t\tint tmp = (int)(debt / 1000);\n\t\t\tif((debt/1000) != tmp) debt = ((tmp*1000) + 1000);\n\t\t}", "{\n\t\t\tdebt += (debt * 0.05);\n\t\t\tint tmp = (int)(debt / 1000);\n\t\t\tif((debt/1000) != tmp) debt = ((tmp*1000) + 1000);\n\t\t}", "debt += (debt * 0.05)", "debt", "(debt * 0.05)", "debt", "0.05", "int tmp = (int)(debt / 1000);", "tmp", "(int)(debt / 1000)", "debt", "1000", "if((debt/1000) != tmp) debt = ((tmp*1000) + 1000);", "(debt/1000) != tmp", "(debt/1000)", "debt", "1000", "tmp", "debt = ((tmp*1000) + 1000)", "debt", "((tmp*1000) + 1000)", "(tmp*1000)", "tmp", "1000", "1000", "System.out.println((long)debt)", "System.out.println", "System.out", "System", "System.out", "(long)debt", "String[] args", "args", "public class Main {\n\n\t\n\tpublic static void main(String[] args) {\n\t\tdouble debt = 100000;\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = Integer.parseInt(stdIn.next());\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tdebt += (debt * 0.05);\n\t\t\tint tmp = (int)(debt / 1000);\n\t\t\tif((debt/1000) != tmp) debt = ((tmp*1000) + 1000);\n\t\t}\n\t\tSystem.out.println((long)debt);\n\t}\n\n}", "public class Main {\n\n\t\n\tpublic static void main(String[] args) {\n\t\tdouble debt = 100000;\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = Integer.parseInt(stdIn.next());\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tdebt += (debt * 0.05);\n\t\t\tint tmp = (int)(debt / 1000);\n\t\t\tif((debt/1000) != tmp) debt = ((tmp*1000) + 1000);\n\t\t}\n\t\tSystem.out.println((long)debt);\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { double debt = 100000; Scanner stdIn = new Scanner(System.in); int n = Integer.parseInt(stdIn.next()); for (int i = 1; i <= n; i++) { debt += (debt * 0.05); int tmp = (int)(debt / 1000); if((debt/1000) != tmp) debt = ((tmp*1000) + 1000); } System.out.println((long)debt); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 4, 18, 13, 17, 30, 41, 13, 17, 41, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 2, 2, 2, 13, 17, 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 ], [ 68, 8 ], [ 68, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 15, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 32, 33 ], [ 33, 34 ], [ 23, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 51, 57 ], [ 50, 58 ], [ 23, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 9, 65 ], [ 65, 66 ], [ 0, 67 ], [ 67, 68 ], [ 67, 69 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n int a = 100000;\n int n = Integer.parseInt(br.readLine());\n for(int i=0;i<n;i++){\n a = ((int)(a*1.05+999)/1000)*1000;\n }\n System.out.println(a);\n }catch(Exception ex){\n System.exit(0);\n }\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n int a = 100000;\n int n = Integer.parseInt(br.readLine());\n for(int i=0;i<n;i++){\n a = ((int)(a*1.05+999)/1000)*1000;\n }\n System.out.println(a);\n }catch(Exception ex){\n System.exit(0);\n }\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n int a = 100000;\n int n = Integer.parseInt(br.readLine());\n for(int i=0;i<n;i++){\n a = ((int)(a*1.05+999)/1000)*1000;\n }\n System.out.println(a);\n }catch(Exception ex){\n System.exit(0);\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n int a = 100000;\n int n = Integer.parseInt(br.readLine());\n for(int i=0;i<n;i++){\n a = ((int)(a*1.05+999)/1000)*1000;\n }\n System.out.println(a);\n }catch(Exception ex){\n System.exit(0);\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "try{\n int a = 100000;\n int n = Integer.parseInt(br.readLine());\n for(int i=0;i<n;i++){\n a = ((int)(a*1.05+999)/1000)*1000;\n }\n System.out.println(a);\n }catch(Exception ex){\n System.exit(0);\n }", "catch(Exception ex){\n System.exit(0);\n }", "Exception ex", "{\n System.exit(0);\n }", "System.exit(0)", "System.exit", "System", "0", "{\n int a = 100000;\n int n = Integer.parseInt(br.readLine());\n for(int i=0;i<n;i++){\n a = ((int)(a*1.05+999)/1000)*1000;\n }\n System.out.println(a);\n }", "int a = 100000;", "a", "100000", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for(int i=0;i<n;i++){\n a = ((int)(a*1.05+999)/1000)*1000;\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n a = ((int)(a*1.05+999)/1000)*1000;\n }", "{\n a = ((int)(a*1.05+999)/1000)*1000;\n }", "a = ((int)(a*1.05+999)/1000)*1000", "a", "((int)(a*1.05+999)/1000)*1000", "((int)(a*1.05+999)/1000)", "(int)(a*1.05+999)", "a*1.05", "a", "1.05", "999", "1000", "1000", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n int a = 100000;\n int n = Integer.parseInt(br.readLine());\n for(int i=0;i<n;i++){\n a = ((int)(a*1.05+999)/1000)*1000;\n }\n System.out.println(a);\n }catch(Exception ex){\n System.exit(0);\n }\n }\n}", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n int a = 100000;\n int n = Integer.parseInt(br.readLine());\n for(int i=0;i<n;i++){\n a = ((int)(a*1.05+999)/1000)*1000;\n }\n System.out.println(a);\n }catch(Exception ex){\n System.exit(0);\n }\n }\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try{ int a = 100000; int n = Integer.parseInt(br.readLine()); for(int i=0;i<n;i++){ a = ((int)(a*1.05+999)/1000)*1000; } System.out.println(a); }catch(Exception ex){ System.exit(0); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 13, 13, 41, 13, 4, 18, 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, 17, 40, 17, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 37, 20, 30, 41, 13, 4, 18, 13, 0, 13, 4, 18, 13, 13, 29, 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 ], [ 23, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 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 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 67, 68 ], [ 15, 69 ], [ 69, 70 ], [ 13, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 77, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 83, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 73, 95 ], [ 95, 96 ], [ 71, 97 ], [ 97, 98 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\n\nclass Main {\n\n\n\tpublic static void main(String[] args) {\n\n\t\t// ストリームを作成する\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\n\t\tint week = readNumber(reader);\n\t\tBigDecimal debt = BigDecimal.valueOf(100000);\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\t// 5%の利子を追加し、1000円未満は切り捨て\n\t\t\tdebt = debt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP);\n\t\t}\n\t\tSystem.out.println(debt.toPlainString());\n\n\t}\n\n\t/**\n\t * ストリームから1行読み込んで、数値として返す。\n\t *\n\t * @param reader\n\t * 入力ストリーム\n\t * @return 数値\n\t */\n\tprivate static int readNumber(BufferedReader reader) {\n\t\tint result = 0;\n\t\ttry {\n\t\t\tString line = reader.readLine();\n\t\t\tresult = Integer.parseInt(line);\n\t\t} catch (IOException e) {\n\t\t\tthrow new RuntimeException();\n\t\t}\n\t\treturn 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", "import java.math.BigDecimal;", "BigDecimal", "java.math", "class Main {\n\n\n\tpublic static void main(String[] args) {\n\n\t\t// ストリームを作成する\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\n\t\tint week = readNumber(reader);\n\t\tBigDecimal debt = BigDecimal.valueOf(100000);\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\t// 5%の利子を追加し、1000円未満は切り捨て\n\t\t\tdebt = debt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP);\n\t\t}\n\t\tSystem.out.println(debt.toPlainString());\n\n\t}\n\n\t/**\n\t * ストリームから1行読み込んで、数値として返す。\n\t *\n\t * @param reader\n\t * 入力ストリーム\n\t * @return 数値\n\t */\n\tprivate static int readNumber(BufferedReader reader) {\n\t\tint result = 0;\n\t\ttry {\n\t\t\tString line = reader.readLine();\n\t\t\tresult = Integer.parseInt(line);\n\t\t} catch (IOException e) {\n\t\t\tthrow new RuntimeException();\n\t\t}\n\t\treturn result;\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\t// ストリームを作成する\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\n\t\tint week = readNumber(reader);\n\t\tBigDecimal debt = BigDecimal.valueOf(100000);\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\t// 5%の利子を追加し、1000円未満は切り捨て\n\t\t\tdebt = debt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP);\n\t\t}\n\t\tSystem.out.println(debt.toPlainString());\n\n\t}", "main", "{\n\n\t\t// ストリームを作成する\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\n\t\tint week = readNumber(reader);\n\t\tBigDecimal debt = BigDecimal.valueOf(100000);\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\t// 5%の利子を追加し、1000円未満は切り捨て\n\t\t\tdebt = debt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP);\n\t\t}\n\t\tSystem.out.println(debt.toPlainString());\n\n\t}", "BufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));", "reader", "new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))", "int week = readNumber(reader);", "week", "readNumber(reader)", "readNumber", "reader", "BigDecimal debt = BigDecimal.valueOf(100000);", "debt", "BigDecimal.valueOf(100000)", "BigDecimal.valueOf", "BigDecimal", "100000", "for (int i = 0; i < week; i++) {\n\t\t\t// 5%の利子を追加し、1000円未満は切り捨て\n\t\t\tdebt = debt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < week", "i", "week", "i++", "i++", "i", "{\n\t\t\t// 5%の利子を追加し、1000円未満は切り捨て\n\t\t\tdebt = debt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP);\n\t\t}", "{\n\t\t\t// 5%の利子を追加し、1000円未満は切り捨て\n\t\t\tdebt = debt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP);\n\t\t}", "debt = debt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP)", "debt", "debt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP)", "debt.multiply(BigDecimal.valueOf(1.05)).setScale", "debt.multiply(BigDecimal.valueOf(1.05))", "debt.multiply", "debt", "BigDecimal.valueOf(1.05)", "BigDecimal.valueOf", "BigDecimal", "1.05", "-3", "3", "BigDecimal.ROUND_UP", "BigDecimal", "BigDecimal.ROUND_UP", "System.out.println(debt.toPlainString())", "System.out.println", "System.out", "System", "System.out", "debt.toPlainString()", "debt.toPlainString", "debt", "String[] args", "args", "/**\n\t * ストリームから1行読み込んで、数値として返す。\n\t *\n\t * @param reader\n\t * 入力ストリーム\n\t * @return 数値\n\t */\n\tprivate static int readNumber(BufferedReader reader) {\n\t\tint result = 0;\n\t\ttry {\n\t\t\tString line = reader.readLine();\n\t\t\tresult = Integer.parseInt(line);\n\t\t} catch (IOException e) {\n\t\t\tthrow new RuntimeException();\n\t\t}\n\t\treturn result;\n\t}", "readNumber", "{\n\t\tint result = 0;\n\t\ttry {\n\t\t\tString line = reader.readLine();\n\t\t\tresult = Integer.parseInt(line);\n\t\t} catch (IOException e) {\n\t\t\tthrow new RuntimeException();\n\t\t}\n\t\treturn result;\n\t}", "int result = 0;", "result", "0", "try {\n\t\t\tString line = reader.readLine();\n\t\t\tresult = Integer.parseInt(line);\n\t\t} catch (IOException e) {\n\t\t\tthrow new RuntimeException();\n\t\t}", "catch (IOException e) {\n\t\t\tthrow new RuntimeException();\n\t\t}", "IOException e", "{\n\t\t\tthrow new RuntimeException();\n\t\t}", "throw new RuntimeException();", "new RuntimeException()", "{\n\t\t\tString line = reader.readLine();\n\t\t\tresult = Integer.parseInt(line);\n\t\t}", "String line = reader.readLine();", "line", "reader.readLine()", "reader.readLine", "reader", "result = Integer.parseInt(line)", "result", "Integer.parseInt(line)", "Integer.parseInt", "Integer", "line", "return result;", "result", "BufferedReader reader", "reader" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigDecimal; class Main { public static void main(String[] args) { // ストリームを作成する BufferedReader reader = new BufferedReader(new InputStreamReader( System.in)); int week = readNumber(reader); BigDecimal debt = BigDecimal.valueOf(100000); for (int i = 0; i < week; i++) { // 5%の利子を追加し、1000円未満は切り捨て debt = debt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP); } System.out.println(debt.toPlainString()); } /** * ストリームから1行読み込んで、数値として返す。 * * @param reader * 入力ストリーム * @return 数値 */ private static int readNumber(BufferedReader reader) { int result = 0; try { String line = reader.readLine(); result = Integer.parseInt(line); } catch (IOException e) { throw new RuntimeException(); } return result; } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 0, 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, 2, 4, 18, 13, 2, 13, 17, 17, 4, 18, 18, 13, 13, 4, 18, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 20, 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 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 58, 60 ], [ 54, 61 ], [ 20, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 18, 71 ], [ 71, 72 ] ]
[ "/* package whatever; // don't place package name! */\n \nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n \nimport java.util.ArrayList;\nimport java.util.List;\n \n/* Name of the class has to be \"Main\" only if the class is public. */\nclass Main\n{\n public static void main (String[] args) throws java.lang.Exception\n {\n //文字列読込み\n Scanner sc = new Scanner(System.in);\n \n //結果格納\n int scInt;\n scInt = sc.nextInt();\n\t\n double price = 100000;\n\n for (int i = 0; i < scInt; i++){\n\tprice = price * 1.05;\n\tprice = (Math.ceil(price / 1000))*1000;\n }\n\n System.out.println(Math.round(price)); \n\n }\n}", "import java.util.*;", "util.*", "java", "import java.lang.*;", "lang.*", "java", "import java.io.*;", "io.*", "java", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "class Main\n{\n public static void main (String[] args) throws java.lang.Exception\n {\n //文字列読込み\n Scanner sc = new Scanner(System.in);\n \n //結果格納\n int scInt;\n scInt = sc.nextInt();\n\t\n double price = 100000;\n\n for (int i = 0; i < scInt; i++){\n\tprice = price * 1.05;\n\tprice = (Math.ceil(price / 1000))*1000;\n }\n\n System.out.println(Math.round(price)); \n\n }\n}", "Main", "public static void main (String[] args) throws java.lang.Exception\n {\n //文字列読込み\n Scanner sc = new Scanner(System.in);\n \n //結果格納\n int scInt;\n scInt = sc.nextInt();\n\t\n double price = 100000;\n\n for (int i = 0; i < scInt; i++){\n\tprice = price * 1.05;\n\tprice = (Math.ceil(price / 1000))*1000;\n }\n\n System.out.println(Math.round(price)); \n\n }", "main", "{\n //文字列読込み\n Scanner sc = new Scanner(System.in);\n \n //結果格納\n int scInt;\n scInt = sc.nextInt();\n\t\n double price = 100000;\n\n for (int i = 0; i < scInt; i++){\n\tprice = price * 1.05;\n\tprice = (Math.ceil(price / 1000))*1000;\n }\n\n System.out.println(Math.round(price)); \n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int scInt;", "scInt", "scInt = sc.nextInt()", "scInt", "sc.nextInt()", "sc.nextInt", "sc", "double price = 100000;", "price", "100000", "for (int i = 0; i < scInt; i++){\n\tprice = price * 1.05;\n\tprice = (Math.ceil(price / 1000))*1000;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < scInt", "i", "scInt", "i++", "i++", "i", "{\n\tprice = price * 1.05;\n\tprice = (Math.ceil(price / 1000))*1000;\n }", "{\n\tprice = price * 1.05;\n\tprice = (Math.ceil(price / 1000))*1000;\n }", "price = price * 1.05", "price", "price * 1.05", "price", "1.05", "price = (Math.ceil(price / 1000))*1000", "price", "(Math.ceil(price / 1000))*1000", "(Math.ceil(price / 1000))", "Math.ceil", "Math", "price / 1000", "price", "1000", "1000", "System.out.println(Math.round(price))", "System.out.println", "System.out", "System", "System.out", "Math.round(price)", "Math.round", "Math", "price", "String[] args", "args" ]
/* package whatever; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; import java.util.ArrayList; import java.util.List; /* Name of the class has to be "Main" only if the class is public. */ class Main { public static void main (String[] args) throws java.lang.Exception { //文字列読込み Scanner sc = new Scanner(System.in); //結果格納 int scInt; scInt = sc.nextInt(); double price = 100000; for (int i = 0; i < scInt; i++){ price = price * 1.05; price = (Math.ceil(price / 1000))*1000; } System.out.println(Math.round(price)); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 17, 42, 2, 40, 13, 17, 30, 0, 13, 17, 14, 2, 2, 13, 17, 17, 0, 13, 17, 0, 13, 2, 13, 17, 4, 13, 13, 12, 13, 30, 4, 18, 20, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 4, 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 ], [ 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 ], [ 35, 37 ], [ 25, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 11, 43 ], [ 43, 44 ], [ 43, 45 ], [ 4, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 46, 52 ], [ 52, 53 ], [ 4, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 54, 63 ], [ 63, 64 ], [ 4, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 65, 74 ], [ 74, 75 ], [ 4, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ] ]
[ "\nimport java.util.Scanner;\n\nclass Main {\n\tScanner sc = new Scanner(System.in);\n\n\tpublic void run() {\n\t\tint count=sc.nextInt();\n\t\tlong money=100000;\n\t\twhile(count--!=0){\n\t\t\tmoney*=1.05;\n\t\t\tif(money%1000!=0)money+=1000;\n\t\t\tmoney-=money%1000;\n\t\t}\n\t\tln(money);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n\tpublic static void pr(Object o) {\n\t\tSystem.out.print(o);\n\t}\n\n\tpublic static void ln(Object o) {\n\t\tSystem.out.println(o);\n\t}\n\n\tpublic static void ln() {\n\t\tSystem.out.println();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tScanner sc = new Scanner(System.in);\n\n\tpublic void run() {\n\t\tint count=sc.nextInt();\n\t\tlong money=100000;\n\t\twhile(count--!=0){\n\t\t\tmoney*=1.05;\n\t\t\tif(money%1000!=0)money+=1000;\n\t\t\tmoney-=money%1000;\n\t\t}\n\t\tln(money);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n\tpublic static void pr(Object o) {\n\t\tSystem.out.print(o);\n\t}\n\n\tpublic static void ln(Object o) {\n\t\tSystem.out.println(o);\n\t}\n\n\tpublic static void ln() {\n\t\tSystem.out.println();\n\t}\n}", "Main", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "public void run() {\n\t\tint count=sc.nextInt();\n\t\tlong money=100000;\n\t\twhile(count--!=0){\n\t\t\tmoney*=1.05;\n\t\t\tif(money%1000!=0)money+=1000;\n\t\t\tmoney-=money%1000;\n\t\t}\n\t\tln(money);\n\t}", "run", "{\n\t\tint count=sc.nextInt();\n\t\tlong money=100000;\n\t\twhile(count--!=0){\n\t\t\tmoney*=1.05;\n\t\t\tif(money%1000!=0)money+=1000;\n\t\t\tmoney-=money%1000;\n\t\t}\n\t\tln(money);\n\t}", "int count=sc.nextInt();", "count", "sc.nextInt()", "sc.nextInt", "sc", "long money=100000;", "money", "100000", "while(count--!=0){\n\t\t\tmoney*=1.05;\n\t\t\tif(money%1000!=0)money+=1000;\n\t\t\tmoney-=money%1000;\n\t\t}", "count--!=0", "count--", "count", "0", "{\n\t\t\tmoney*=1.05;\n\t\t\tif(money%1000!=0)money+=1000;\n\t\t\tmoney-=money%1000;\n\t\t}", "money*=1.05", "money", "1.05", "if(money%1000!=0)money+=1000;", "money%1000!=0", "money%1000", "money", "1000", "0", "money+=1000", "money", "1000", "money-=money%1000", "money", "money%1000", "money", "1000", "ln(money)", "ln", "money", "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 static void pr(Object o) {\n\t\tSystem.out.print(o);\n\t}", "pr", "{\n\t\tSystem.out.print(o);\n\t}", "System.out.print(o)", "System.out.print", "System.out", "System", "System.out", "o", "Object o", "o", "public static void ln(Object o) {\n\t\tSystem.out.println(o);\n\t}", "ln", "{\n\t\tSystem.out.println(o);\n\t}", "System.out.println(o)", "System.out.println", "System.out", "System", "System.out", "o", "Object o", "o", "public static void ln() {\n\t\tSystem.out.println();\n\t}", "ln", "{\n\t\tSystem.out.println();\n\t}", "System.out.println()", "System.out.println", "System.out", "System", "System.out" ]
import java.util.Scanner; class Main { Scanner sc = new Scanner(System.in); public void run() { int count=sc.nextInt(); long money=100000; while(count--!=0){ money*=1.05; if(money%1000!=0)money+=1000; money-=money%1000; } ln(money); } public static void main(String[] args) { new Main().run(); } public static void pr(Object o) { System.out.print(o); } public static void ln(Object o) { System.out.println(o); } public static void ln() { System.out.println(); } }
[ 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.*;\n\npublic class Main{\n public static void main(String[] args) {\n\t Scanner sc =new Scanner(System.in);\nint n=sc.nextInt();\n int money =100000;\n for(int i=0; i<n; i++){\n\t money*=1.05;\n if(money%1000!=0){money+=1000-money%1000;\n }\n }\n System.out.println(money);\n }\n }", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args) {\n\t Scanner sc =new Scanner(System.in);\nint n=sc.nextInt();\n int money =100000;\n for(int i=0; i<n; i++){\n\t money*=1.05;\n if(money%1000!=0){money+=1000-money%1000;\n }\n }\n System.out.println(money);\n }\n }", "Main", "public static void main(String[] args) {\n\t Scanner sc =new Scanner(System.in);\nint n=sc.nextInt();\n int money =100000;\n for(int i=0; i<n; i++){\n\t money*=1.05;\n if(money%1000!=0){money+=1000-money%1000;\n }\n }\n System.out.println(money);\n }", "main", "{\n\t Scanner sc =new Scanner(System.in);\nint n=sc.nextInt();\n int money =100000;\n for(int i=0; i<n; i++){\n\t money*=1.05;\n if(money%1000!=0){money+=1000-money%1000;\n }\n }\n System.out.println(money);\n }", "Scanner sc =new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int money =100000;", "money", "100000", "for(int i=0; i<n; i++){\n\t money*=1.05;\n if(money%1000!=0){money+=1000-money%1000;\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t money*=1.05;\n if(money%1000!=0){money+=1000-money%1000;\n }\n }", "{\n\t money*=1.05;\n if(money%1000!=0){money+=1000-money%1000;\n }\n }", "money*=1.05", "money", "1.05", "if(money%1000!=0){money+=1000-money%1000;\n }", "money%1000!=0", "money%1000", "money", "1000", "0", "{money+=1000-money%1000;\n }", "money+=1000-money%1000", "money", "1000-money%1000", "1000", "money%1000", "money", "1000", "System.out.println(money)", "System.out.println", "System.out", "System", "System.out", "money", "String[] args", "args", "public class Main{\n public static void main(String[] args) {\n\t Scanner sc =new Scanner(System.in);\nint n=sc.nextInt();\n int money =100000;\n for(int i=0; i<n; i++){\n\t money*=1.05;\n if(money%1000!=0){money+=1000-money%1000;\n }\n }\n System.out.println(money);\n }\n }", "public class Main{\n public static void main(String[] args) {\n\t Scanner sc =new Scanner(System.in);\nint n=sc.nextInt();\n int money =100000;\n for(int i=0; i<n; i++){\n\t money*=1.05;\n if(money%1000!=0){money+=1000-money%1000;\n }\n }\n System.out.println(money);\n }\n }", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc =new Scanner(System.in); int n=sc.nextInt(); int money =100000; for(int i=0; i<n; i++){ money*=1.05; if(money%1000!=0){money+=1000-money%1000; } } System.out.println(money); } }
[ 7, 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, 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 ], [ 103, 11 ], [ 103, 12 ], [ 12, 13 ], [ 12, 14 ], [ 103, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 103, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 103, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 29, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 27, 42 ], [ 42, 43 ], [ 103, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 46, 55 ], [ 55, 56 ], [ 103, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 68, 69 ], [ 68, 70 ], [ 63, 71 ], [ 71, 72 ], [ 72, 73 ], [ 63, 74 ], [ 75, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 78, 84 ], [ 78, 85 ], [ 78, 86 ], [ 86, 87 ], [ 86, 88 ], [ 75, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 59, 98 ], [ 98, 99 ], [ 57, 100 ], [ 100, 101 ], [ 0, 102 ], [ 102, 103 ], [ 102, 104 ] ]
[ "import java.io.IOException;\nimport java.math.BigDecimal;\nimport java.util.Scanner;\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 n = bufferedReader.read();\n \n bufferedReader.close();\n streamReader.close();*/\n \n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n \n return n;\n }\n\n /**\n * n週間後の借金額を計算する。\n * \n * @param weeks\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.IOException;", "IOException", "java.io", "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 /** \\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 n = bufferedReader.read();\n \n bufferedReader.close();\n streamReader.close();*/\n \n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n \n return n;\n }\n\n /**\n * n週間後の借金額を計算する。\n * \n * @param weeks\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 n = bufferedReader.read();\n \n bufferedReader.close();\n streamReader.close();*/\n \n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n \n return n;\n }", "getWeeks", "{\n \n /*InputStreamReader streamReader = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(streamReader);\n \n int n = bufferedReader.read();\n \n bufferedReader.close();\n streamReader.close();*/\n \n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n \n return n;\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int n = scanner.nextInt();", "n", "scanner.nextInt()", "scanner.nextInt", "scanner", "return n;", "n", "/**\n * n週間後の借金額を計算する。\n * \n * @param weeks\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 n = bufferedReader.read();\n \n bufferedReader.close();\n streamReader.close();*/\n \n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n \n return n;\n }\n\n /**\n * n週間後の借金額を計算する。\n * \n * @param weeks\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 n = bufferedReader.read();\n \n bufferedReader.close();\n streamReader.close();*/\n \n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n \n return n;\n }\n\n /**\n * n週間後の借金額を計算する。\n * \n * @param weeks\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.IOException; import java.math.BigDecimal; import java.util.Scanner; /** * 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 n = bufferedReader.read(); bufferedReader.close(); streamReader.close();*/ Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); return n; } /** * n週間後の借金額を計算する。 * * @param weeks */ 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, 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, 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 ], [ 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 ], [ 25, 26 ], [ 26, 27 ], [ 25, 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 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 48, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 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.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tint week = Integer.parseInt(input);\n\t\tint loan = 100000;\n\t\tfor(int i = 1;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}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tint week = Integer.parseInt(input);\n\t\tint loan = 100000;\n\t\tfor(int i = 1;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}", "Main", "public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tint week = Integer.parseInt(input);\n\t\tint loan = 100000;\n\t\tfor(int i = 1;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}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tint week = Integer.parseInt(input);\n\t\tint loan = 100000;\n\t\tfor(int i = 1;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}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String input = br.readLine();", "input", "br.readLine()", "br.readLine", "br", "int week = Integer.parseInt(input);", "week", "Integer.parseInt(input)", "Integer.parseInt", "Integer", "input", "int loan = 100000;", "loan", "100000", "for(int i = 1;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 = 1;", "int i = 1;", "i", "1", "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", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tint week = Integer.parseInt(input);\n\t\tint loan = 100000;\n\t\tfor(int i = 1;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}", "public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tint week = Integer.parseInt(input);\n\t\tint loan = 100000;\n\t\tfor(int i = 1;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}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String input = br.readLine(); int week = Integer.parseInt(input); int loan = 100000; for(int i = 1;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, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 13, 13, 0, 13, 4, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 29, 2, 2, 13, 17, 17, 23, 13, 12, 13, 30, 41, 13, 2, 13, 17, 14, 2, 13, 17, 30, 0, 13, 2, 13, 13, 29, 2, 13, 17, 30, 29, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 90, 5 ], [ 90, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 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 ], [ 90, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 51, 60 ], [ 60, 61 ], [ 90, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 64, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 74, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 70, 84 ], [ 84, 85 ], [ 85, 86 ], [ 62, 87 ], [ 87, 88 ], [ 0, 89 ], [ 89, 90 ], [ 89, 91 ] ]
[ "\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint week = sc.nextInt();\n\t\tlong money = 100000;\n\t\t\n\t\tfor(int i = 0; i < week; i++){\n\t\t\tmoney += getInterest(money);\n\t\t\tmoney = revaliationMoney(money);\n\t\t}\n\t\t\n\t\tSystem.out.println(money);\n\t}\n\t\n\tprivate static long getInterest(long money){\n\t\treturn money * 5 / 100;\n\t}\n\t\n\tprivate static long revaliationMoney(long money){\n\t\tlong fraction = money % 1000;\n\t\tif(fraction != 0){\n\t\t\tmoney = money - fraction;\n\t\t\treturn money + 1000;\n\t\t}\n\t\telse{\n\t\t\treturn money;\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint week = sc.nextInt();\n\t\tlong money = 100000;\n\t\t\n\t\tfor(int i = 0; i < week; i++){\n\t\t\tmoney += getInterest(money);\n\t\t\tmoney = revaliationMoney(money);\n\t\t}\n\t\t\n\t\tSystem.out.println(money);\n\t}\n\t\n\tprivate static long getInterest(long money){\n\t\treturn money * 5 / 100;\n\t}\n\t\n\tprivate static long revaliationMoney(long money){\n\t\tlong fraction = money % 1000;\n\t\tif(fraction != 0){\n\t\t\tmoney = money - fraction;\n\t\t\treturn money + 1000;\n\t\t}\n\t\telse{\n\t\t\treturn money;\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint week = sc.nextInt();\n\t\tlong money = 100000;\n\t\t\n\t\tfor(int i = 0; i < week; i++){\n\t\t\tmoney += getInterest(money);\n\t\t\tmoney = revaliationMoney(money);\n\t\t}\n\t\t\n\t\tSystem.out.println(money);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint week = sc.nextInt();\n\t\tlong money = 100000;\n\t\t\n\t\tfor(int i = 0; i < week; i++){\n\t\t\tmoney += getInterest(money);\n\t\t\tmoney = revaliationMoney(money);\n\t\t}\n\t\t\n\t\tSystem.out.println(money);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int week = sc.nextInt();", "week", "sc.nextInt()", "sc.nextInt", "sc", "long money = 100000;", "money", "100000", "for(int i = 0; i < week; i++){\n\t\t\tmoney += getInterest(money);\n\t\t\tmoney = revaliationMoney(money);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < week", "i", "week", "i++", "i++", "i", "{\n\t\t\tmoney += getInterest(money);\n\t\t\tmoney = revaliationMoney(money);\n\t\t}", "{\n\t\t\tmoney += getInterest(money);\n\t\t\tmoney = revaliationMoney(money);\n\t\t}", "money += getInterest(money)", "money", "getInterest(money)", "getInterest", "money", "money = revaliationMoney(money)", "money", "revaliationMoney(money)", "revaliationMoney", "money", "System.out.println(money)", "System.out.println", "System.out", "System", "System.out", "money", "String[] args", "args", "private static long getInterest(long money){\n\t\treturn money * 5 / 100;\n\t}", "getInterest", "{\n\t\treturn money * 5 / 100;\n\t}", "return money * 5 / 100;", "money * 5 / 100", "money * 5", "money", "5", "100", "long money", "money", "private static long revaliationMoney(long money){\n\t\tlong fraction = money % 1000;\n\t\tif(fraction != 0){\n\t\t\tmoney = money - fraction;\n\t\t\treturn money + 1000;\n\t\t}\n\t\telse{\n\t\t\treturn money;\n\t\t}\n\t}", "revaliationMoney", "{\n\t\tlong fraction = money % 1000;\n\t\tif(fraction != 0){\n\t\t\tmoney = money - fraction;\n\t\t\treturn money + 1000;\n\t\t}\n\t\telse{\n\t\t\treturn money;\n\t\t}\n\t}", "long fraction = money % 1000;", "fraction", "money % 1000", "money", "1000", "if(fraction != 0){\n\t\t\tmoney = money - fraction;\n\t\t\treturn money + 1000;\n\t\t}\n\t\telse{\n\t\t\treturn money;\n\t\t}", "fraction != 0", "fraction", "0", "{\n\t\t\tmoney = money - fraction;\n\t\t\treturn money + 1000;\n\t\t}", "money = money - fraction", "money", "money - fraction", "money", "fraction", "return money + 1000;", "money + 1000", "money", "1000", "{\n\t\t\treturn money;\n\t\t}", "return money;", "money", "long money", "money", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint week = sc.nextInt();\n\t\tlong money = 100000;\n\t\t\n\t\tfor(int i = 0; i < week; i++){\n\t\t\tmoney += getInterest(money);\n\t\t\tmoney = revaliationMoney(money);\n\t\t}\n\t\t\n\t\tSystem.out.println(money);\n\t}\n\t\n\tprivate static long getInterest(long money){\n\t\treturn money * 5 / 100;\n\t}\n\t\n\tprivate static long revaliationMoney(long money){\n\t\tlong fraction = money % 1000;\n\t\tif(fraction != 0){\n\t\t\tmoney = money - fraction;\n\t\t\treturn money + 1000;\n\t\t}\n\t\telse{\n\t\t\treturn money;\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint week = sc.nextInt();\n\t\tlong money = 100000;\n\t\t\n\t\tfor(int i = 0; i < week; i++){\n\t\t\tmoney += getInterest(money);\n\t\t\tmoney = revaliationMoney(money);\n\t\t}\n\t\t\n\t\tSystem.out.println(money);\n\t}\n\t\n\tprivate static long getInterest(long money){\n\t\treturn money * 5 / 100;\n\t}\n\t\n\tprivate static long revaliationMoney(long money){\n\t\tlong fraction = money % 1000;\n\t\tif(fraction != 0){\n\t\t\tmoney = money - fraction;\n\t\t\treturn money + 1000;\n\t\t}\n\t\telse{\n\t\t\treturn money;\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int week = sc.nextInt(); long money = 100000; for(int i = 0; i < week; i++){ money += getInterest(money); money = revaliationMoney(money); } System.out.println(money); } private static long getInterest(long money){ return money * 5 / 100; } private static long revaliationMoney(long money){ long fraction = money % 1000; if(fraction != 0){ money = money - fraction; return money + 1000; } else{ return money; } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 4, 18, 13, 17, 41, 13, 20, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 4, 13, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 13, 13, 13, 29, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 4, 18, 4, 18, 4, 18, 13, 13, 13, 17, 18, 13, 13, 17, 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 ], [ 110, 11 ], [ 110, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 110, 18 ], [ 18, 19 ], [ 18, 20 ], [ 110, 21 ], [ 21, 22 ], [ 21, 23 ], [ 110, 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 ], [ 36, 37 ], [ 26, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 45, 48 ], [ 45, 49 ], [ 24, 50 ], [ 50, 51 ], [ 110, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 63, 65 ], [ 58, 66 ], [ 66, 67 ], [ 67, 68 ], [ 58, 69 ], [ 70, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 73, 76 ], [ 54, 77 ], [ 77, 78 ], [ 52, 79 ], [ 79, 80 ], [ 52, 81 ], [ 81, 82 ], [ 52, 83 ], [ 83, 84 ], [ 110, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 93, 99 ], [ 91, 100 ], [ 91, 101 ], [ 101, 102 ], [ 101, 103 ], [ 89, 104 ], [ 85, 105 ], [ 105, 106 ], [ 85, 107 ], [ 107, 108 ], [ 0, 109 ], [ 109, 110 ], [ 109, 111 ] ]
[ "import java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tprivate static final BigDecimal BORROWING = BigDecimal.valueOf(100000);\n\tprivate static final BigDecimal RATE = new BigDecimal(\"1.05\");\n\tprivate static final int SCALE = 3;\n\t\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n = scan.nextInt();\n\t\tscan.close();\n\t\tSystem.out.println(calc(BORROWING, RATE, n).toPlainString());\n\t}\n\t\n\tprivate static BigDecimal calc(BigDecimal start, BigDecimal rate, int n){\n\t\tBigDecimal ans = start;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tans = calcParWeek(ans, rate);\n\t\t}\n\t\treturn ans;\n\t}\n\t\n\n\tprivate static BigDecimal calcParWeek(BigDecimal start, BigDecimal rate){\n\t\t\n\t\treturn start.multiply(RATE).movePointLeft(SCALE).setScale(0, RoundingMode.UP)\n\t\t\t\t.movePointRight(3);\n\t\t\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\tprivate static final BigDecimal BORROWING = BigDecimal.valueOf(100000);\n\tprivate static final BigDecimal RATE = new BigDecimal(\"1.05\");\n\tprivate static final int SCALE = 3;\n\t\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n = scan.nextInt();\n\t\tscan.close();\n\t\tSystem.out.println(calc(BORROWING, RATE, n).toPlainString());\n\t}\n\t\n\tprivate static BigDecimal calc(BigDecimal start, BigDecimal rate, int n){\n\t\tBigDecimal ans = start;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tans = calcParWeek(ans, rate);\n\t\t}\n\t\treturn ans;\n\t}\n\t\n\n\tprivate static BigDecimal calcParWeek(BigDecimal start, BigDecimal rate){\n\t\t\n\t\treturn start.multiply(RATE).movePointLeft(SCALE).setScale(0, RoundingMode.UP)\n\t\t\t\t.movePointRight(3);\n\t\t\n\t}\n\n}", "Main", "private static final BigDecimal BORROWING = BigDecimal.valueOf(100000);", "BORROWING", "BigDecimal.valueOf(100000)", "BigDecimal.valueOf", "BigDecimal", "100000", "private static final BigDecimal RATE = new BigDecimal(\"1.05\");", "RATE", "new BigDecimal(\"1.05\")", "private static final int SCALE = 3;", "SCALE", "3", "public static void main(String[] args) throws Exception{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n = scan.nextInt();\n\t\tscan.close();\n\t\tSystem.out.println(calc(BORROWING, RATE, n).toPlainString());\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n = scan.nextInt();\n\t\tscan.close();\n\t\tSystem.out.println(calc(BORROWING, RATE, n).toPlainString());\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "scan.close()", "scan.close", "scan", "System.out.println(calc(BORROWING, RATE, n).toPlainString())", "System.out.println", "System.out", "System", "System.out", "calc(BORROWING, RATE, n).toPlainString()", "calc(BORROWING, RATE, n).toPlainString", "calc(BORROWING, RATE, n)", "calc", "BORROWING", "RATE", "n", "String[] args", "args", "private static BigDecimal calc(BigDecimal start, BigDecimal rate, int n){\n\t\tBigDecimal ans = start;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tans = calcParWeek(ans, rate);\n\t\t}\n\t\treturn ans;\n\t}", "calc", "{\n\t\tBigDecimal ans = start;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tans = calcParWeek(ans, rate);\n\t\t}\n\t\treturn ans;\n\t}", "BigDecimal ans = start;", "ans", "start", "for (int i = 0; i < n; i++) {\n\t\t\tans = calcParWeek(ans, rate);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tans = calcParWeek(ans, rate);\n\t\t}", "{\n\t\t\tans = calcParWeek(ans, rate);\n\t\t}", "ans = calcParWeek(ans, rate)", "ans", "calcParWeek(ans, rate)", "calcParWeek", "ans", "rate", "return ans;", "ans", "BigDecimal start", "start", "BigDecimal rate", "rate", "int n", "n", "private static BigDecimal calcParWeek(BigDecimal start, BigDecimal rate){\n\t\t\n\t\treturn start.multiply(RATE).movePointLeft(SCALE).setScale(0, RoundingMode.UP)\n\t\t\t\t.movePointRight(3);\n\t\t\n\t}", "calcParWeek", "{\n\t\t\n\t\treturn start.multiply(RATE).movePointLeft(SCALE).setScale(0, RoundingMode.UP)\n\t\t\t\t.movePointRight(3);\n\t\t\n\t}", "return start.multiply(RATE).movePointLeft(SCALE).setScale(0, RoundingMode.UP)\n\t\t\t\t.movePointRight(3);", "start.multiply(RATE).movePointLeft(SCALE).setScale(0, RoundingMode.UP)\n\t\t\t\t.movePointRight(3)", "start.multiply(RATE).movePointLeft(SCALE).setScale(0, RoundingMode.UP)\n\t\t\t\t.movePointRight", "start.multiply(RATE).movePointLeft(SCALE).setScale(0, RoundingMode.UP)", "start.multiply(RATE).movePointLeft(SCALE).setScale", "start.multiply(RATE).movePointLeft(SCALE)", "start.multiply(RATE).movePointLeft", "start.multiply(RATE)", "start.multiply", "start", "RATE", "SCALE", "0", "RoundingMode.UP", "RoundingMode", "RoundingMode.UP", "3", "BigDecimal start", "start", "BigDecimal rate", "rate", "public class Main {\n\n\tprivate static final BigDecimal BORROWING = BigDecimal.valueOf(100000);\n\tprivate static final BigDecimal RATE = new BigDecimal(\"1.05\");\n\tprivate static final int SCALE = 3;\n\t\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n = scan.nextInt();\n\t\tscan.close();\n\t\tSystem.out.println(calc(BORROWING, RATE, n).toPlainString());\n\t}\n\t\n\tprivate static BigDecimal calc(BigDecimal start, BigDecimal rate, int n){\n\t\tBigDecimal ans = start;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tans = calcParWeek(ans, rate);\n\t\t}\n\t\treturn ans;\n\t}\n\t\n\n\tprivate static BigDecimal calcParWeek(BigDecimal start, BigDecimal rate){\n\t\t\n\t\treturn start.multiply(RATE).movePointLeft(SCALE).setScale(0, RoundingMode.UP)\n\t\t\t\t.movePointRight(3);\n\t\t\n\t}\n\n}", "public class Main {\n\n\tprivate static final BigDecimal BORROWING = BigDecimal.valueOf(100000);\n\tprivate static final BigDecimal RATE = new BigDecimal(\"1.05\");\n\tprivate static final int SCALE = 3;\n\t\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n = scan.nextInt();\n\t\tscan.close();\n\t\tSystem.out.println(calc(BORROWING, RATE, n).toPlainString());\n\t}\n\t\n\tprivate static BigDecimal calc(BigDecimal start, BigDecimal rate, int n){\n\t\tBigDecimal ans = start;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tans = calcParWeek(ans, rate);\n\t\t}\n\t\treturn ans;\n\t}\n\t\n\n\tprivate static BigDecimal calcParWeek(BigDecimal start, BigDecimal rate){\n\t\t\n\t\treturn start.multiply(RATE).movePointLeft(SCALE).setScale(0, RoundingMode.UP)\n\t\t\t\t.movePointRight(3);\n\t\t\n\t}\n\n}", "Main" ]
import java.math.BigDecimal; import java.math.RoundingMode; import java.util.Scanner; public class Main { private static final BigDecimal BORROWING = BigDecimal.valueOf(100000); private static final BigDecimal RATE = new BigDecimal("1.05"); private static final int SCALE = 3; public static void main(String[] args) throws Exception{ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); scan.close(); System.out.println(calc(BORROWING, RATE, n).toPlainString()); } private static BigDecimal calc(BigDecimal start, BigDecimal rate, int n){ BigDecimal ans = start; for (int i = 0; i < n; i++) { ans = calcParWeek(ans, rate); } return ans; } private static BigDecimal calcParWeek(BigDecimal start, BigDecimal rate){ return start.multiply(RATE).movePointLeft(SCALE).setScale(0, RoundingMode.UP) .movePointRight(3); } }
[ 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, 41, 13, 2, 13, 13, 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, 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 ], [ 29, 31 ], [ 14, 32 ], [ 32, 33 ], [ 32, 34 ], [ 14, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 14, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 40, 48 ], [ 48, 49 ], [ 49, 50 ], [ 40, 51 ], [ 52, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 58, 60 ], [ 14, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 12, 69 ], [ 69, 70 ], [ 0, 71 ], [ 71, 72 ], [ 71, 73 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\t// 返済期間\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint week = Integer.parseInt(br.readLine());\n\t\t// 負債額\n\t\tint debt = 100000;\n\t\t// 利率\n\t\tdouble rate = 1.05;\n\t\t// 切り上げ単位\n\t\tint roundUp = 1000;\n\n\t\t// 負債額を切り上げ単位で割った値で計算する。( 1,000 円未満切り上げのため)\n\t\tint debt_k = debt / roundUp;\n\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\tdebt_k = (int) (Math.ceil(debt_k * rate));\n\t\t}\n\n\t\t// 出力\n\t\t// 切り上げ単位で割っていた値を元に戻す。\n\t\tSystem.out.println(debt_k * roundUp);\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\t// 返済期間\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint week = Integer.parseInt(br.readLine());\n\t\t// 負債額\n\t\tint debt = 100000;\n\t\t// 利率\n\t\tdouble rate = 1.05;\n\t\t// 切り上げ単位\n\t\tint roundUp = 1000;\n\n\t\t// 負債額を切り上げ単位で割った値で計算する。( 1,000 円未満切り上げのため)\n\t\tint debt_k = debt / roundUp;\n\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\tdebt_k = (int) (Math.ceil(debt_k * rate));\n\t\t}\n\n\t\t// 出力\n\t\t// 切り上げ単位で割っていた値を元に戻す。\n\t\tSystem.out.println(debt_k * roundUp);\n\t}\n}", "Main", "public static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\t// 返済期間\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint week = Integer.parseInt(br.readLine());\n\t\t// 負債額\n\t\tint debt = 100000;\n\t\t// 利率\n\t\tdouble rate = 1.05;\n\t\t// 切り上げ単位\n\t\tint roundUp = 1000;\n\n\t\t// 負債額を切り上げ単位で割った値で計算する。( 1,000 円未満切り上げのため)\n\t\tint debt_k = debt / roundUp;\n\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\tdebt_k = (int) (Math.ceil(debt_k * rate));\n\t\t}\n\n\t\t// 出力\n\t\t// 切り上げ単位で割っていた値を元に戻す。\n\t\tSystem.out.println(debt_k * roundUp);\n\t}", "main", "{\n\t\t// 返済期間\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint week = Integer.parseInt(br.readLine());\n\t\t// 負債額\n\t\tint debt = 100000;\n\t\t// 利率\n\t\tdouble rate = 1.05;\n\t\t// 切り上げ単位\n\t\tint roundUp = 1000;\n\n\t\t// 負債額を切り上げ単位で割った値で計算する。( 1,000 円未満切り上げのため)\n\t\tint debt_k = debt / roundUp;\n\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\tdebt_k = (int) (Math.ceil(debt_k * rate));\n\t\t}\n\n\t\t// 出力\n\t\t// 切り上げ単位で割っていた値を元に戻す。\n\t\tSystem.out.println(debt_k * roundUp);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int week = Integer.parseInt(br.readLine());", "week", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "int debt = 100000;", "debt", "100000", "double rate = 1.05;", "rate", "1.05", "int roundUp = 1000;", "roundUp", "1000", "int debt_k = debt / roundUp;", "debt_k", "debt / roundUp", "debt", "roundUp", "for (int i = 0; i < week; i++) {\n\t\t\tdebt_k = (int) (Math.ceil(debt_k * rate));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < week", "i", "week", "i++", "i++", "i", "{\n\t\t\tdebt_k = (int) (Math.ceil(debt_k * rate));\n\t\t}", "{\n\t\t\tdebt_k = (int) (Math.ceil(debt_k * rate));\n\t\t}", "debt_k = (int) (Math.ceil(debt_k * rate))", "debt_k", "(int) (Math.ceil(debt_k * rate))", "Math.ceil", "Math", "debt_k * rate", "debt_k", "rate", "System.out.println(debt_k * roundUp)", "System.out.println", "System.out", "System", "System.out", "debt_k * roundUp", "debt_k", "roundUp", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\t// 返済期間\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint week = Integer.parseInt(br.readLine());\n\t\t// 負債額\n\t\tint debt = 100000;\n\t\t// 利率\n\t\tdouble rate = 1.05;\n\t\t// 切り上げ単位\n\t\tint roundUp = 1000;\n\n\t\t// 負債額を切り上げ単位で割った値で計算する。( 1,000 円未満切り上げのため)\n\t\tint debt_k = debt / roundUp;\n\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\tdebt_k = (int) (Math.ceil(debt_k * rate));\n\t\t}\n\n\t\t// 出力\n\t\t// 切り上げ単位で割っていた値を元に戻す。\n\t\tSystem.out.println(debt_k * roundUp);\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\t// 返済期間\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint week = Integer.parseInt(br.readLine());\n\t\t// 負債額\n\t\tint debt = 100000;\n\t\t// 利率\n\t\tdouble rate = 1.05;\n\t\t// 切り上げ単位\n\t\tint roundUp = 1000;\n\n\t\t// 負債額を切り上げ単位で割った値で計算する。( 1,000 円未満切り上げのため)\n\t\tint debt_k = debt / roundUp;\n\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\tdebt_k = (int) (Math.ceil(debt_k * rate));\n\t\t}\n\n\t\t// 出力\n\t\t// 切り上げ単位で割っていた値を元に戻す。\n\t\tSystem.out.println(debt_k * roundUp);\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws NumberFormatException, IOException { // 返済期間 BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int week = Integer.parseInt(br.readLine()); // 負債額 int debt = 100000; // 利率 double rate = 1.05; // 切り上げ単位 int roundUp = 1000; // 負債額を切り上げ単位で割った値で計算する。( 1,000 円未満切り上げのため) int debt_k = debt / roundUp; for (int i = 0; i < week; i++) { debt_k = (int) (Math.ceil(debt_k * rate)); } // 出力 // 切り上げ単位で割っていた値を元に戻す。 System.out.println(debt_k * roundUp); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 42, 2, 0, 13, 4, 18, 13, 17, 30, 41, 13, 4, 18, 13, 13, 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, 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 ], [ 86, 5 ], [ 86, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 18, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 27, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 34, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 41, 49 ], [ 49, 50 ], [ 50, 51 ], [ 41, 52 ], [ 53, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 53, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 70, 76 ], [ 34, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 6, 83 ], [ 83, 84 ], [ 0, 85 ], [ 85, 86 ], [ 85, 87 ] ]
[ "import java.io.*;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = \"\";\n\t\tint result = 100000;\n\t\ttry {\n\t\t\twhile((str = br.readLine()) != \"\") {\n\t\t\t\tint num = Integer.parseInt(str);\n\t\t\t\tfor(int i=0; i<num; i++) {\n\t\t\t\t\tresult += result / 100 * 5;\n\t\t\t\t\tif(result % 1000 != 0) {\n\t\t\t\t\t\tresult = (result / 1000 + 1) * 1000;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t} catch(Exception e) {\n\t\t\te.getMessage();\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = \"\";\n\t\tint result = 100000;\n\t\ttry {\n\t\t\twhile((str = br.readLine()) != \"\") {\n\t\t\t\tint num = Integer.parseInt(str);\n\t\t\t\tfor(int i=0; i<num; i++) {\n\t\t\t\t\tresult += result / 100 * 5;\n\t\t\t\t\tif(result % 1000 != 0) {\n\t\t\t\t\t\tresult = (result / 1000 + 1) * 1000;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t} catch(Exception e) {\n\t\t\te.getMessage();\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = \"\";\n\t\tint result = 100000;\n\t\ttry {\n\t\t\twhile((str = br.readLine()) != \"\") {\n\t\t\t\tint num = Integer.parseInt(str);\n\t\t\t\tfor(int i=0; i<num; i++) {\n\t\t\t\t\tresult += result / 100 * 5;\n\t\t\t\t\tif(result % 1000 != 0) {\n\t\t\t\t\t\tresult = (result / 1000 + 1) * 1000;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t} catch(Exception e) {\n\t\t\te.getMessage();\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = \"\";\n\t\tint result = 100000;\n\t\ttry {\n\t\t\twhile((str = br.readLine()) != \"\") {\n\t\t\t\tint num = Integer.parseInt(str);\n\t\t\t\tfor(int i=0; i<num; i++) {\n\t\t\t\t\tresult += result / 100 * 5;\n\t\t\t\t\tif(result % 1000 != 0) {\n\t\t\t\t\t\tresult = (result / 1000 + 1) * 1000;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t} catch(Exception e) {\n\t\t\te.getMessage();\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String str = \"\";", "str", "\"\"", "int result = 100000;", "result", "100000", "try {\n\t\t\twhile((str = br.readLine()) != \"\") {\n\t\t\t\tint num = Integer.parseInt(str);\n\t\t\t\tfor(int i=0; i<num; i++) {\n\t\t\t\t\tresult += result / 100 * 5;\n\t\t\t\t\tif(result % 1000 != 0) {\n\t\t\t\t\t\tresult = (result / 1000 + 1) * 1000;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t} catch(Exception e) {\n\t\t\te.getMessage();\n\t\t}", "catch(Exception e) {\n\t\t\te.getMessage();\n\t\t}", "Exception e", "{\n\t\t\te.getMessage();\n\t\t}", "e.getMessage()", "e.getMessage", "e", "{\n\t\t\twhile((str = br.readLine()) != \"\") {\n\t\t\t\tint num = Integer.parseInt(str);\n\t\t\t\tfor(int i=0; i<num; i++) {\n\t\t\t\t\tresult += result / 100 * 5;\n\t\t\t\t\tif(result % 1000 != 0) {\n\t\t\t\t\t\tresult = (result / 1000 + 1) * 1000;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t}", "while((str = br.readLine()) != \"\") {\n\t\t\t\tint num = Integer.parseInt(str);\n\t\t\t\tfor(int i=0; i<num; i++) {\n\t\t\t\t\tresult += result / 100 * 5;\n\t\t\t\t\tif(result % 1000 != 0) {\n\t\t\t\t\t\tresult = (result / 1000 + 1) * 1000;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(result);\n\t\t\t}", "(str = br.readLine()) != \"\"", "(str = br.readLine())", "str", "br.readLine()", "br.readLine", "br", "\"\"", "{\n\t\t\t\tint num = Integer.parseInt(str);\n\t\t\t\tfor(int i=0; i<num; i++) {\n\t\t\t\t\tresult += result / 100 * 5;\n\t\t\t\t\tif(result % 1000 != 0) {\n\t\t\t\t\t\tresult = (result / 1000 + 1) * 1000;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(result);\n\t\t\t}", "int num = Integer.parseInt(str);", "num", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "for(int i=0; i<num; i++) {\n\t\t\t\t\tresult += result / 100 * 5;\n\t\t\t\t\tif(result % 1000 != 0) {\n\t\t\t\t\t\tresult = (result / 1000 + 1) * 1000;\n\t\t\t\t\t}\n\t\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<num", "i", "num", "i++", "i++", "i", "{\n\t\t\t\t\tresult += result / 100 * 5;\n\t\t\t\t\tif(result % 1000 != 0) {\n\t\t\t\t\t\tresult = (result / 1000 + 1) * 1000;\n\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tresult += result / 100 * 5;\n\t\t\t\t\tif(result % 1000 != 0) {\n\t\t\t\t\t\tresult = (result / 1000 + 1) * 1000;\n\t\t\t\t\t}\n\t\t\t\t}", "result += result / 100 * 5", "result", "result / 100 * 5", "result / 100", "result", "100", "5", "if(result % 1000 != 0) {\n\t\t\t\t\t\tresult = (result / 1000 + 1) * 1000;\n\t\t\t\t\t}", "result % 1000 != 0", "result % 1000", "result", "1000", "0", "{\n\t\t\t\t\t\tresult = (result / 1000 + 1) * 1000;\n\t\t\t\t\t}", "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", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = \"\";\n\t\tint result = 100000;\n\t\ttry {\n\t\t\twhile((str = br.readLine()) != \"\") {\n\t\t\t\tint num = Integer.parseInt(str);\n\t\t\t\tfor(int i=0; i<num; i++) {\n\t\t\t\t\tresult += result / 100 * 5;\n\t\t\t\t\tif(result % 1000 != 0) {\n\t\t\t\t\t\tresult = (result / 1000 + 1) * 1000;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t} catch(Exception e) {\n\t\t\te.getMessage();\n\t\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = \"\";\n\t\tint result = 100000;\n\t\ttry {\n\t\t\twhile((str = br.readLine()) != \"\") {\n\t\t\t\tint num = Integer.parseInt(str);\n\t\t\t\tfor(int i=0; i<num; i++) {\n\t\t\t\t\tresult += result / 100 * 5;\n\t\t\t\t\tif(result % 1000 != 0) {\n\t\t\t\t\t\tresult = (result / 1000 + 1) * 1000;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t} catch(Exception e) {\n\t\t\te.getMessage();\n\t\t}\n\t}\n}", "Main" ]
import java.io.*; public class Main{ public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = ""; int result = 100000; try { while((str = br.readLine()) != "") { int num = Integer.parseInt(str); for(int i=0; i<num; i++) { result += result / 100 * 5; if(result % 1000 != 0) { result = (result / 1000 + 1) * 1000; } } System.out.println(result); } } catch(Exception e) { e.getMessage(); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 30, 4, 18, 13, 30, 41, 13, 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, 4, 18, 13, 4, 18, 13, 13, 40, 17, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 21, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 32, 33 ], [ 33, 34 ], [ 26, 35 ], [ 35, 36 ], [ 35, 37 ], [ 26, 38 ], [ 38, 39 ], [ 38, 40 ], [ 26, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 41, 49 ], [ 49, 50 ], [ 50, 51 ], [ 41, 52 ], [ 53, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 56, 65 ], [ 65, 66 ], [ 56, 67 ], [ 67, 68 ], [ 67, 69 ], [ 26, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 76, 77 ], [ 15, 78 ], [ 78, 79 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\n\t\t\tint week = Integer.parseInt(br.readLine());\n\n\t\t\tBigDecimal interest = new BigDecimal(\"0.05\");\n\t\t\tBigDecimal debt = new BigDecimal(\"100000\");\n\n\t\t\tfor (int i = 0; i < week; i++) {\n\n\t\t\t\tdebt = debt.add(debt.multiply(interest))\n\t\t\t\t\t\t.setScale(-3, BigDecimal.ROUND_UP);\n\n\t\t\t}\n\n\t\t\tSystem.out.println(debt.toPlainString());\n\n\t\t} finally {\n\t\t\tbr.close();\n\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", "class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\n\t\t\tint week = Integer.parseInt(br.readLine());\n\n\t\t\tBigDecimal interest = new BigDecimal(\"0.05\");\n\t\t\tBigDecimal debt = new BigDecimal(\"100000\");\n\n\t\t\tfor (int i = 0; i < week; i++) {\n\n\t\t\t\tdebt = debt.add(debt.multiply(interest))\n\t\t\t\t\t\t.setScale(-3, BigDecimal.ROUND_UP);\n\n\t\t\t}\n\n\t\t\tSystem.out.println(debt.toPlainString());\n\n\t\t} finally {\n\t\t\tbr.close();\n\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\n\t\t\tint week = Integer.parseInt(br.readLine());\n\n\t\t\tBigDecimal interest = new BigDecimal(\"0.05\");\n\t\t\tBigDecimal debt = new BigDecimal(\"100000\");\n\n\t\t\tfor (int i = 0; i < week; i++) {\n\n\t\t\t\tdebt = debt.add(debt.multiply(interest))\n\t\t\t\t\t\t.setScale(-3, BigDecimal.ROUND_UP);\n\n\t\t\t}\n\n\t\t\tSystem.out.println(debt.toPlainString());\n\n\t\t} finally {\n\t\t\tbr.close();\n\n\t\t}\n\t}", "main", "{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\n\t\t\tint week = Integer.parseInt(br.readLine());\n\n\t\t\tBigDecimal interest = new BigDecimal(\"0.05\");\n\t\t\tBigDecimal debt = new BigDecimal(\"100000\");\n\n\t\t\tfor (int i = 0; i < week; i++) {\n\n\t\t\t\tdebt = debt.add(debt.multiply(interest))\n\t\t\t\t\t\t.setScale(-3, BigDecimal.ROUND_UP);\n\n\t\t\t}\n\n\t\t\tSystem.out.println(debt.toPlainString());\n\n\t\t} finally {\n\t\t\tbr.close();\n\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "try {\n\n\t\t\tint week = Integer.parseInt(br.readLine());\n\n\t\t\tBigDecimal interest = new BigDecimal(\"0.05\");\n\t\t\tBigDecimal debt = new BigDecimal(\"100000\");\n\n\t\t\tfor (int i = 0; i < week; i++) {\n\n\t\t\t\tdebt = debt.add(debt.multiply(interest))\n\t\t\t\t\t\t.setScale(-3, BigDecimal.ROUND_UP);\n\n\t\t\t}\n\n\t\t\tSystem.out.println(debt.toPlainString());\n\n\t\t} finally {\n\t\t\tbr.close();\n\n\t\t}", "{\n\t\t\tbr.close();\n\n\t\t}", "br.close()", "br.close", "br", "{\n\n\t\t\tint week = Integer.parseInt(br.readLine());\n\n\t\t\tBigDecimal interest = new BigDecimal(\"0.05\");\n\t\t\tBigDecimal debt = new BigDecimal(\"100000\");\n\n\t\t\tfor (int i = 0; i < week; i++) {\n\n\t\t\t\tdebt = debt.add(debt.multiply(interest))\n\t\t\t\t\t\t.setScale(-3, BigDecimal.ROUND_UP);\n\n\t\t\t}\n\n\t\t\tSystem.out.println(debt.toPlainString());\n\n\t\t}", "int week = Integer.parseInt(br.readLine());", "week", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "BigDecimal interest = new BigDecimal(\"0.05\");", "interest", "new BigDecimal(\"0.05\")", "BigDecimal debt = new BigDecimal(\"100000\");", "debt", "new BigDecimal(\"100000\")", "for (int i = 0; i < week; i++) {\n\n\t\t\t\tdebt = debt.add(debt.multiply(interest))\n\t\t\t\t\t\t.setScale(-3, BigDecimal.ROUND_UP);\n\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < week", "i", "week", "i++", "i++", "i", "{\n\n\t\t\t\tdebt = debt.add(debt.multiply(interest))\n\t\t\t\t\t\t.setScale(-3, BigDecimal.ROUND_UP);\n\n\t\t\t}", "{\n\n\t\t\t\tdebt = debt.add(debt.multiply(interest))\n\t\t\t\t\t\t.setScale(-3, BigDecimal.ROUND_UP);\n\n\t\t\t}", "debt = debt.add(debt.multiply(interest))\n\t\t\t\t\t\t.setScale(-3, BigDecimal.ROUND_UP)", "debt", "debt.add(debt.multiply(interest))\n\t\t\t\t\t\t.setScale(-3, BigDecimal.ROUND_UP)", "debt.add(debt.multiply(interest))\n\t\t\t\t\t\t.setScale", "debt.add(debt.multiply(interest))", "debt.add", "debt", "debt.multiply(interest)", "debt.multiply", "debt", "interest", "-3", "3", "BigDecimal.ROUND_UP", "BigDecimal", "BigDecimal.ROUND_UP", "System.out.println(debt.toPlainString())", "System.out.println", "System.out", "System", "System.out", "debt.toPlainString()", "debt.toPlainString", "debt", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigDecimal; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try { int week = Integer.parseInt(br.readLine()); BigDecimal interest = new BigDecimal("0.05"); BigDecimal debt = new BigDecimal("100000"); for (int i = 0; i < week; i++) { debt = debt.add(debt.multiply(interest)) .setScale(-3, BigDecimal.ROUND_UP); } System.out.println(debt.toPlainString()); } finally { br.close(); } } }
[ 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, 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, 2, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 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 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 44, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 55, 57 ], [ 44, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 14, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 12, 69 ], [ 69, 70 ] ]
[ "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\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t//外部入力取り込んだ借金をしている期間(週単位)\n\t\tint week = Integer.parseInt(in.readLine());\n\t\t//借金\n\t\tdouble debt = 100000;\n\t\t//利子\n\t\tdouble interest = 1.05;\n\n\t\t//借金の計算\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\t//一週間ごとに 借金に5% の利子を借金に加える\n\t\t\tdebt = debt * interest;\n\t\t\t//借金の 1,000 円未満を切り上げ\n\t\t\tdebt = Math.ceil(debt/1000);\n\t\t\tdebt = debt * 1000;\n\t\t}\n\t\t//計算後の借金を整数として外部出力\n\t\tSystem.out.println((int)debt);\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\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t//外部入力取り込んだ借金をしている期間(週単位)\n\t\tint week = Integer.parseInt(in.readLine());\n\t\t//借金\n\t\tdouble debt = 100000;\n\t\t//利子\n\t\tdouble interest = 1.05;\n\n\t\t//借金の計算\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\t//一週間ごとに 借金に5% の利子を借金に加える\n\t\t\tdebt = debt * interest;\n\t\t\t//借金の 1,000 円未満を切り上げ\n\t\t\tdebt = Math.ceil(debt/1000);\n\t\t\tdebt = debt * 1000;\n\t\t}\n\t\t//計算後の借金を整数として外部出力\n\t\tSystem.out.println((int)debt);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t//外部入力取り込んだ借金をしている期間(週単位)\n\t\tint week = Integer.parseInt(in.readLine());\n\t\t//借金\n\t\tdouble debt = 100000;\n\t\t//利子\n\t\tdouble interest = 1.05;\n\n\t\t//借金の計算\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\t//一週間ごとに 借金に5% の利子を借金に加える\n\t\t\tdebt = debt * interest;\n\t\t\t//借金の 1,000 円未満を切り上げ\n\t\t\tdebt = Math.ceil(debt/1000);\n\t\t\tdebt = debt * 1000;\n\t\t}\n\t\t//計算後の借金を整数として外部出力\n\t\tSystem.out.println((int)debt);\n\t}", "main", "{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t//外部入力取り込んだ借金をしている期間(週単位)\n\t\tint week = Integer.parseInt(in.readLine());\n\t\t//借金\n\t\tdouble debt = 100000;\n\t\t//利子\n\t\tdouble interest = 1.05;\n\n\t\t//借金の計算\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\t//一週間ごとに 借金に5% の利子を借金に加える\n\t\t\tdebt = debt * interest;\n\t\t\t//借金の 1,000 円未満を切り上げ\n\t\t\tdebt = Math.ceil(debt/1000);\n\t\t\tdebt = debt * 1000;\n\t\t}\n\t\t//計算後の借金を整数として外部出力\n\t\tSystem.out.println((int)debt);\n\t}", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "int week = Integer.parseInt(in.readLine());", "week", "Integer.parseInt(in.readLine())", "Integer.parseInt", "Integer", "in.readLine()", "in.readLine", "in", "double debt = 100000;", "debt", "100000", "double interest = 1.05;", "interest", "1.05", "for (int i = 0; i < week; i++) {\n\t\t\t//一週間ごとに 借金に5% の利子を借金に加える\n\t\t\tdebt = debt * interest;\n\t\t\t//借金の 1,000 円未満を切り上げ\n\t\t\tdebt = Math.ceil(debt/1000);\n\t\t\tdebt = debt * 1000;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < week", "i", "week", "i++", "i++", "i", "{\n\t\t\t//一週間ごとに 借金に5% の利子を借金に加える\n\t\t\tdebt = debt * interest;\n\t\t\t//借金の 1,000 円未満を切り上げ\n\t\t\tdebt = Math.ceil(debt/1000);\n\t\t\tdebt = debt * 1000;\n\t\t}", "{\n\t\t\t//一週間ごとに 借金に5% の利子を借金に加える\n\t\t\tdebt = debt * interest;\n\t\t\t//借金の 1,000 円未満を切り上げ\n\t\t\tdebt = Math.ceil(debt/1000);\n\t\t\tdebt = debt * 1000;\n\t\t}", "debt = debt * interest", "debt", "debt * interest", "debt", "interest", "debt = Math.ceil(debt/1000)", "debt", "Math.ceil(debt/1000)", "Math.ceil", "Math", "debt/1000", "debt", "1000", "debt = debt * 1000", "debt", "debt * 1000", "debt", "1000", "System.out.println((int)debt)", "System.out.println", "System.out", "System", "System.out", "(int)debt", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); //外部入力取り込んだ借金をしている期間(週単位) int week = Integer.parseInt(in.readLine()); //借金 double debt = 100000; //利子 double interest = 1.05; //借金の計算 for (int i = 0; i < week; i++) { //一週間ごとに 借金に5% の利子を借金に加える debt = debt * interest; //借金の 1,000 円未満を切り上げ debt = Math.ceil(debt/1000); debt = debt * 1000; } //計算後の借金を整数として外部出力 System.out.println((int)debt); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 4, 18, 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, 41, 13, 2, 13, 17, 41, 13, 2, 13, 17, 14, 2, 13, 13, 0, 13, 2, 2, 13, 17, 17, 4, 18, 13, 13, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 98, 5 ], [ 98, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 15, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 19, 25 ], [ 25, 26 ], [ 25, 27 ], [ 19, 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 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 40, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 40, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 19, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 8, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 8, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 79, 80 ], [ 79, 81 ], [ 74, 82 ], [ 82, 83 ], [ 83, 84 ], [ 74, 85 ], [ 86, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 92, 93 ], [ 93, 94 ], [ 6, 95 ], [ 95, 96 ], [ 0, 97 ], [ 97, 98 ], [ 97, 99 ] ]
[ "import java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayDeque<Integer> ans = new ArrayDeque<Integer>();\n\n\t\twhile(sc.hasNext()){\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = 100000;\n\t\t\tfor(int j=0;j<n;j++){\n\t\t\t\tm *= 1.05;\n\t\t\t\tdouble s = (double)m/1000;\n\t\t\t\tint t = m/1000;\n\t\t\t\tif(s!=t)m=(t+1)*1000;\n\t\t\t}\n\t\t\tans.push(m);\n\t\t}\n\t\tint num = ans.size();\n\t\tfor(int i=0;i<num;i++){\n\t\t\tSystem.out.println(ans.pollLast());\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayDeque<Integer> ans = new ArrayDeque<Integer>();\n\n\t\twhile(sc.hasNext()){\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = 100000;\n\t\t\tfor(int j=0;j<n;j++){\n\t\t\t\tm *= 1.05;\n\t\t\t\tdouble s = (double)m/1000;\n\t\t\t\tint t = m/1000;\n\t\t\t\tif(s!=t)m=(t+1)*1000;\n\t\t\t}\n\t\t\tans.push(m);\n\t\t}\n\t\tint num = ans.size();\n\t\tfor(int i=0;i<num;i++){\n\t\t\tSystem.out.println(ans.pollLast());\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayDeque<Integer> ans = new ArrayDeque<Integer>();\n\n\t\twhile(sc.hasNext()){\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = 100000;\n\t\t\tfor(int j=0;j<n;j++){\n\t\t\t\tm *= 1.05;\n\t\t\t\tdouble s = (double)m/1000;\n\t\t\t\tint t = m/1000;\n\t\t\t\tif(s!=t)m=(t+1)*1000;\n\t\t\t}\n\t\t\tans.push(m);\n\t\t}\n\t\tint num = ans.size();\n\t\tfor(int i=0;i<num;i++){\n\t\t\tSystem.out.println(ans.pollLast());\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayDeque<Integer> ans = new ArrayDeque<Integer>();\n\n\t\twhile(sc.hasNext()){\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = 100000;\n\t\t\tfor(int j=0;j<n;j++){\n\t\t\t\tm *= 1.05;\n\t\t\t\tdouble s = (double)m/1000;\n\t\t\t\tint t = m/1000;\n\t\t\t\tif(s!=t)m=(t+1)*1000;\n\t\t\t}\n\t\t\tans.push(m);\n\t\t}\n\t\tint num = ans.size();\n\t\tfor(int i=0;i<num;i++){\n\t\t\tSystem.out.println(ans.pollLast());\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "ArrayDeque<Integer> ans = new ArrayDeque<Integer>();", "ans", "new ArrayDeque<Integer>()", "while(sc.hasNext()){\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = 100000;\n\t\t\tfor(int j=0;j<n;j++){\n\t\t\t\tm *= 1.05;\n\t\t\t\tdouble s = (double)m/1000;\n\t\t\t\tint t = m/1000;\n\t\t\t\tif(s!=t)m=(t+1)*1000;\n\t\t\t}\n\t\t\tans.push(m);\n\t\t}", "sc.hasNext()", "sc.hasNext", "sc", "{\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = 100000;\n\t\t\tfor(int j=0;j<n;j++){\n\t\t\t\tm *= 1.05;\n\t\t\t\tdouble s = (double)m/1000;\n\t\t\t\tint t = m/1000;\n\t\t\t\tif(s!=t)m=(t+1)*1000;\n\t\t\t}\n\t\t\tans.push(m);\n\t\t}", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = 100000;", "m", "100000", "for(int j=0;j<n;j++){\n\t\t\t\tm *= 1.05;\n\t\t\t\tdouble s = (double)m/1000;\n\t\t\t\tint t = m/1000;\n\t\t\t\tif(s!=t)m=(t+1)*1000;\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<n", "j", "n", "j++", "j++", "j", "{\n\t\t\t\tm *= 1.05;\n\t\t\t\tdouble s = (double)m/1000;\n\t\t\t\tint t = m/1000;\n\t\t\t\tif(s!=t)m=(t+1)*1000;\n\t\t\t}", "{\n\t\t\t\tm *= 1.05;\n\t\t\t\tdouble s = (double)m/1000;\n\t\t\t\tint t = m/1000;\n\t\t\t\tif(s!=t)m=(t+1)*1000;\n\t\t\t}", "m *= 1.05", "m", "1.05", "double s = (double)m/1000;", "s", "(double)m/1000", "(double)m", "1000", "int t = m/1000;", "t", "m/1000", "m", "1000", "if(s!=t)m=(t+1)*1000;", "s!=t", "s", "t", "m=(t+1)*1000", "m", "(t+1)*1000", "(t+1)", "t", "1", "1000", "ans.push(m)", "ans.push", "ans", "m", "int num = ans.size();", "num", "ans.size()", "ans.size", "ans", "for(int i=0;i<num;i++){\n\t\t\tSystem.out.println(ans.pollLast());\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<num", "i", "num", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(ans.pollLast());\n\t\t}", "{\n\t\t\tSystem.out.println(ans.pollLast());\n\t\t}", "System.out.println(ans.pollLast())", "System.out.println", "System.out", "System", "System.out", "ans.pollLast()", "ans.pollLast", "ans", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayDeque<Integer> ans = new ArrayDeque<Integer>();\n\n\t\twhile(sc.hasNext()){\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = 100000;\n\t\t\tfor(int j=0;j<n;j++){\n\t\t\t\tm *= 1.05;\n\t\t\t\tdouble s = (double)m/1000;\n\t\t\t\tint t = m/1000;\n\t\t\t\tif(s!=t)m=(t+1)*1000;\n\t\t\t}\n\t\t\tans.push(m);\n\t\t}\n\t\tint num = ans.size();\n\t\tfor(int i=0;i<num;i++){\n\t\t\tSystem.out.println(ans.pollLast());\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayDeque<Integer> ans = new ArrayDeque<Integer>();\n\n\t\twhile(sc.hasNext()){\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = 100000;\n\t\t\tfor(int j=0;j<n;j++){\n\t\t\t\tm *= 1.05;\n\t\t\t\tdouble s = (double)m/1000;\n\t\t\t\tint t = m/1000;\n\t\t\t\tif(s!=t)m=(t+1)*1000;\n\t\t\t}\n\t\t\tans.push(m);\n\t\t}\n\t\tint num = ans.size();\n\t\tfor(int i=0;i<num;i++){\n\t\t\tSystem.out.println(ans.pollLast());\n\t\t}\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); ArrayDeque<Integer> ans = new ArrayDeque<Integer>(); while(sc.hasNext()){ int n = sc.nextInt(); int m = 100000; for(int j=0;j<n;j++){ m *= 1.05; double s = (double)m/1000; int t = m/1000; if(s!=t)m=(t+1)*1000; } ans.push(m); } int num = ans.size(); for(int i=0;i<num;i++){ System.out.println(ans.pollLast()); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 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, 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 ], [ 73, 11 ], [ 73, 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 ], [ 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 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 48, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 57, 63 ], [ 14, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 12, 70 ], [ 70, 71 ], [ 0, 72 ], [ 72, 73 ], [ 72, 74 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// ??????10??????\n\t\t int debt = 100000;\n\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\n\t\t// n??±??????\n\t\tint n = Integer.parseInt(br.readLine());\n\n\t\t// n??±????????????????????§??°?????????\n\t\tfor (int i = 0; i < n; i++ ){\n\t\t\t// ??????5\n\t\t\tdebt *= 1.05;\n\n\t\t\t// 1000?????????????????????\n\t\t\tif (debt % 1000 > 0) {\n\t\t\t\tdebt = debt - (debt % 1000) + 1000;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(debt);\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// ??????10??????\n\t\t int debt = 100000;\n\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\n\t\t// n??±??????\n\t\tint n = Integer.parseInt(br.readLine());\n\n\t\t// n??±????????????????????§??°?????????\n\t\tfor (int i = 0; i < n; i++ ){\n\t\t\t// ??????5\n\t\t\tdebt *= 1.05;\n\n\t\t\t// 1000?????????????????????\n\t\t\tif (debt % 1000 > 0) {\n\t\t\t\tdebt = debt - (debt % 1000) + 1000;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(debt);\n\t}\n}", "Main", "public static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// ??????10??????\n\t\t int debt = 100000;\n\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\n\t\t// n??±??????\n\t\tint n = Integer.parseInt(br.readLine());\n\n\t\t// n??±????????????????????§??°?????????\n\t\tfor (int i = 0; i < n; i++ ){\n\t\t\t// ??????5\n\t\t\tdebt *= 1.05;\n\n\t\t\t// 1000?????????????????????\n\t\t\tif (debt % 1000 > 0) {\n\t\t\t\tdebt = debt - (debt % 1000) + 1000;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(debt);\n\t}", "main", "{\n\t\t// ??????10??????\n\t\t int debt = 100000;\n\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\n\t\t// n??±??????\n\t\tint n = Integer.parseInt(br.readLine());\n\n\t\t// n??±????????????????????§??°?????????\n\t\tfor (int i = 0; i < n; i++ ){\n\t\t\t// ??????5\n\t\t\tdebt *= 1.05;\n\n\t\t\t// 1000?????????????????????\n\t\t\tif (debt % 1000 > 0) {\n\t\t\t\tdebt = debt - (debt % 1000) + 1000;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(debt);\n\t}", "int debt = 100000;", "debt", "100000", "InputStreamReader isr = new InputStreamReader(System.in);", "isr", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(isr);", "br", "new BufferedReader(isr)", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for (int i = 0; i < n; i++ ){\n\t\t\t// ??????5\n\t\t\tdebt *= 1.05;\n\n\t\t\t// 1000?????????????????????\n\t\t\tif (debt % 1000 > 0) {\n\t\t\t\tdebt = debt - (debt % 1000) + 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\t// ??????5\n\t\t\tdebt *= 1.05;\n\n\t\t\t// 1000?????????????????????\n\t\t\tif (debt % 1000 > 0) {\n\t\t\t\tdebt = debt - (debt % 1000) + 1000;\n\t\t\t}\n\t\t}", "{\n\t\t\t// ??????5\n\t\t\tdebt *= 1.05;\n\n\t\t\t// 1000?????????????????????\n\t\t\tif (debt % 1000 > 0) {\n\t\t\t\tdebt = debt - (debt % 1000) + 1000;\n\t\t\t}\n\t\t}", "debt *= 1.05", "debt", "1.05", "if (debt % 1000 > 0) {\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\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(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// ??????10??????\n\t\t int debt = 100000;\n\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\n\t\t// n??±??????\n\t\tint n = Integer.parseInt(br.readLine());\n\n\t\t// n??±????????????????????§??°?????????\n\t\tfor (int i = 0; i < n; i++ ){\n\t\t\t// ??????5\n\t\t\tdebt *= 1.05;\n\n\t\t\t// 1000?????????????????????\n\t\t\tif (debt % 1000 > 0) {\n\t\t\t\tdebt = debt - (debt % 1000) + 1000;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(debt);\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// ??????10??????\n\t\t int debt = 100000;\n\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\n\t\t// n??±??????\n\t\tint n = Integer.parseInt(br.readLine());\n\n\t\t// n??±????????????????????§??°?????????\n\t\tfor (int i = 0; i < n; i++ ){\n\t\t\t// ??????5\n\t\t\tdebt *= 1.05;\n\n\t\t\t// 1000?????????????????????\n\t\t\tif (debt % 1000 > 0) {\n\t\t\t\tdebt = debt - (debt % 1000) + 1000;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(debt);\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 { // ??????10?????? int debt = 100000; InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); // n??±?????? int n = Integer.parseInt(br.readLine()); // n??±????????????????????§??°????????? for (int i = 0; i < n; i++ ){ // ??????5 debt *= 1.05; // 1000????????????????????? if (debt % 1000 > 0) { debt = debt - (debt % 1000) + 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, 42, 2, 13, 17, 30, 0, 13, 17, 41, 13, 4, 18, 13, 13, 14, 40, 4, 18, 4, 18, 13, 2, 4, 18, 13, 17, 4, 18, 13, 17, 30, 0, 13, 4, 18, 13, 4, 18, 4, 18, 13, 2, 4, 18, 13, 4, 18, 13, 17, 2, 4, 18, 13, 17, 17, 17, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 87, 5 ], [ 87, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 24, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 41, 45 ], [ 38, 46 ], [ 46, 47 ], [ 47, 48 ], [ 36, 49 ], [ 34, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 65, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 69, 73 ], [ 61, 74 ], [ 56, 75 ], [ 24, 76 ], [ 76, 77 ], [ 8, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 6, 84 ], [ 84, 85 ], [ 0, 86 ], [ 86, 87 ], [ 86, 88 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main {\n public static void main(String[] args){\n \tScanner input = new Scanner(System.in);\n \tint n = input.nextInt();\n \tint num = 100000;\n \twhile(n != 0){\n \t\tnum *= 1.05;\n \t\tString strnum = String.valueOf(num);\n \t\tif(!strnum.substring(strnum.length()-3,strnum.length()).equals(\"000\")){\n \t\t\tnum = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat(\"000\"));\n \t\t}\n \t\tn--;\n \t}\n \tSystem.out.println(num);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args){\n \tScanner input = new Scanner(System.in);\n \tint n = input.nextInt();\n \tint num = 100000;\n \twhile(n != 0){\n \t\tnum *= 1.05;\n \t\tString strnum = String.valueOf(num);\n \t\tif(!strnum.substring(strnum.length()-3,strnum.length()).equals(\"000\")){\n \t\t\tnum = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat(\"000\"));\n \t\t}\n \t\tn--;\n \t}\n \tSystem.out.println(num);\n }\n}", "Main", "public static void main(String[] args){\n \tScanner input = new Scanner(System.in);\n \tint n = input.nextInt();\n \tint num = 100000;\n \twhile(n != 0){\n \t\tnum *= 1.05;\n \t\tString strnum = String.valueOf(num);\n \t\tif(!strnum.substring(strnum.length()-3,strnum.length()).equals(\"000\")){\n \t\t\tnum = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat(\"000\"));\n \t\t}\n \t\tn--;\n \t}\n \tSystem.out.println(num);\n }", "main", "{\n \tScanner input = new Scanner(System.in);\n \tint n = input.nextInt();\n \tint num = 100000;\n \twhile(n != 0){\n \t\tnum *= 1.05;\n \t\tString strnum = String.valueOf(num);\n \t\tif(!strnum.substring(strnum.length()-3,strnum.length()).equals(\"000\")){\n \t\t\tnum = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat(\"000\"));\n \t\t}\n \t\tn--;\n \t}\n \tSystem.out.println(num);\n }", "Scanner input = new Scanner(System.in);", "input", "new Scanner(System.in)", "int n = input.nextInt();", "n", "input.nextInt()", "input.nextInt", "input", "int num = 100000;", "num", "100000", "while(n != 0){\n \t\tnum *= 1.05;\n \t\tString strnum = String.valueOf(num);\n \t\tif(!strnum.substring(strnum.length()-3,strnum.length()).equals(\"000\")){\n \t\t\tnum = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat(\"000\"));\n \t\t}\n \t\tn--;\n \t}", "n != 0", "n", "0", "{\n \t\tnum *= 1.05;\n \t\tString strnum = String.valueOf(num);\n \t\tif(!strnum.substring(strnum.length()-3,strnum.length()).equals(\"000\")){\n \t\t\tnum = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat(\"000\"));\n \t\t}\n \t\tn--;\n \t}", "num *= 1.05", "num", "1.05", "String strnum = String.valueOf(num);", "strnum", "String.valueOf(num)", "String.valueOf", "String", "num", "if(!strnum.substring(strnum.length()-3,strnum.length()).equals(\"000\")){\n \t\t\tnum = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat(\"000\"));\n \t\t}", "!strnum.substring(strnum.length()-3,strnum.length()).equals(\"000\")", "strnum.substring(strnum.length()-3,strnum.length()).equals(\"000\")", "strnum.substring(strnum.length()-3,strnum.length()).equals", "strnum.substring(strnum.length()-3,strnum.length())", "strnum.substring", "strnum", "strnum.length()-3", "strnum.length()", "strnum.length", "strnum", "3", "strnum.length()", "strnum.length", "strnum", "\"000\"", "{\n \t\t\tnum = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat(\"000\"));\n \t\t}", "num = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat(\"000\"))", "num", "Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat(\"000\"))", "Integer.parseInt", "Integer", "String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat(\"000\")", "String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat", "String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1))", "String.valueOf", "String", "(Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)", "Integer.parseInt(strnum.substring(0,strnum.length()-3))", "Integer.parseInt", "Integer", "strnum.substring(0,strnum.length()-3)", "strnum.substring", "strnum", "0", "strnum.length()-3", "strnum.length()", "strnum.length", "strnum", "3", "1", "\"000\"", "n--", "n", "System.out.println(num)", "System.out.println", "System.out", "System", "System.out", "num", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n \tScanner input = new Scanner(System.in);\n \tint n = input.nextInt();\n \tint num = 100000;\n \twhile(n != 0){\n \t\tnum *= 1.05;\n \t\tString strnum = String.valueOf(num);\n \t\tif(!strnum.substring(strnum.length()-3,strnum.length()).equals(\"000\")){\n \t\t\tnum = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat(\"000\"));\n \t\t}\n \t\tn--;\n \t}\n \tSystem.out.println(num);\n }\n}", "public class Main {\n public static void main(String[] args){\n \tScanner input = new Scanner(System.in);\n \tint n = input.nextInt();\n \tint num = 100000;\n \twhile(n != 0){\n \t\tnum *= 1.05;\n \t\tString strnum = String.valueOf(num);\n \t\tif(!strnum.substring(strnum.length()-3,strnum.length()).equals(\"000\")){\n \t\t\tnum = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat(\"000\"));\n \t\t}\n \t\tn--;\n \t}\n \tSystem.out.println(num);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner input = new Scanner(System.in); int n = input.nextInt(); int num = 100000; while(n != 0){ num *= 1.05; String strnum = String.valueOf(num); if(!strnum.substring(strnum.length()-3,strnum.length()).equals("000")){ num = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat("000")); } n--; } System.out.println(num); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 12, 13, 30, 41, 13, 41, 13, 13, 41, 13, 20, 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, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 71, 11 ], [ 71, 12 ], [ 12, 13 ], [ 12, 14 ], [ 71, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 20, 21 ], [ 20, 22 ], [ 17, 23 ], [ 23, 24 ], [ 23, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 32, 33 ], [ 17, 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 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 58, 60 ], [ 54, 61 ], [ 17, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 15, 68 ], [ 68, 69 ], [ 0, 70 ], [ 70, 71 ], [ 70, 72 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tstatic double debt = 100000;\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tint n;\n\t\tdouble hell = debt;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tn = Integer.parseInt(br.readLine());\n\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\thell += hell * 0.05;\n\t\t\thell = Math.ceil(hell / 1000) * 1000;\n\t\t}\n\n\t\tSystem.out.println((int) hell);\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tstatic double debt = 100000;\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tint n;\n\t\tdouble hell = debt;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tn = Integer.parseInt(br.readLine());\n\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\thell += hell * 0.05;\n\t\t\thell = Math.ceil(hell / 1000) * 1000;\n\t\t}\n\n\t\tSystem.out.println((int) hell);\n\t}\n}", "Main", "static double debt = 100000;", "debt", "100000", "public static void main(String[] args) throws IOException {\n\n\t\tint n;\n\t\tdouble hell = debt;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tn = Integer.parseInt(br.readLine());\n\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\thell += hell * 0.05;\n\t\t\thell = Math.ceil(hell / 1000) * 1000;\n\t\t}\n\n\t\tSystem.out.println((int) hell);\n\t}", "main", "{\n\n\t\tint n;\n\t\tdouble hell = debt;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tn = Integer.parseInt(br.readLine());\n\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\thell += hell * 0.05;\n\t\t\thell = Math.ceil(hell / 1000) * 1000;\n\t\t}\n\n\t\tSystem.out.println((int) hell);\n\t}", "int n;", "n", "double hell = debt;", "hell", "debt", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "n = Integer.parseInt(br.readLine())", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for (int i = 1; i <= n; i++) {\n\t\t\thell += hell * 0.05;\n\t\t\thell = Math.ceil(hell / 1000) * 1000;\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n\t\t\thell += hell * 0.05;\n\t\t\thell = Math.ceil(hell / 1000) * 1000;\n\t\t}", "{\n\t\t\thell += hell * 0.05;\n\t\t\thell = Math.ceil(hell / 1000) * 1000;\n\t\t}", "hell += hell * 0.05", "hell", "hell * 0.05", "hell", "0.05", "hell = Math.ceil(hell / 1000) * 1000", "hell", "Math.ceil(hell / 1000) * 1000", "Math.ceil(hell / 1000)", "Math.ceil", "Math", "hell / 1000", "hell", "1000", "1000", "System.out.println((int) hell)", "System.out.println", "System.out", "System", "System.out", "(int) hell", "String[] args", "args", "public class Main {\n\n\tstatic double debt = 100000;\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tint n;\n\t\tdouble hell = debt;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tn = Integer.parseInt(br.readLine());\n\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\thell += hell * 0.05;\n\t\t\thell = Math.ceil(hell / 1000) * 1000;\n\t\t}\n\n\t\tSystem.out.println((int) hell);\n\t}\n}", "public class Main {\n\n\tstatic double debt = 100000;\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tint n;\n\t\tdouble hell = debt;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tn = Integer.parseInt(br.readLine());\n\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\thell += hell * 0.05;\n\t\t\thell = Math.ceil(hell / 1000) * 1000;\n\t\t}\n\n\t\tSystem.out.println((int) hell);\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { static double debt = 100000; public static void main(String[] args) throws IOException { int n; double hell = debt; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); n = Integer.parseInt(br.readLine()); for (int i = 1; i <= n; i++) { hell += hell * 0.05; hell = Math.ceil(hell / 1000) * 1000; } System.out.println((int) hell); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 17, 41, 13, 13, 41, 13, 13, 0, 13, 2, 13, 13, 14, 2, 13, 17, 40, 13, 0, 13, 13, 41, 13, 13, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 82, 5 ], [ 82, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 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 ], [ 41, 50 ], [ 50, 51 ], [ 50, 52 ], [ 41, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 41, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 41, 64 ], [ 64, 65 ], [ 64, 66 ], [ 8, 67 ], [ 67, 68 ], [ 67, 69 ], [ 8, 70 ], [ 70, 71 ], [ 70, 72 ], [ 8, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 6, 79 ], [ 79, 80 ], [ 0, 81 ], [ 81, 82 ], [ 81, 83 ] ]
[ "import java.io.*;\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\t\n\t\tString str = br.readLine();\n\t\tint n = Integer.parseInt(str);\n\t\tdouble debt = 100.0; \n\t\tfor(int i = 0; i < n; i++){\n\t\t\tdebt = debt * 1.05;\n\t\t\tint deb = (int)debt;\n\t\t\tdouble pre = debt;\n\t\t\tpre = pre - (double)deb;\n\t\t\tif(pre != 0.0)\n\t\t\t\tdeb++;\n\t\t\tdebt = (double)deb;\n\t\t}\n\t\t\n\t\t\n\t\tint deb = (int)debt;\n\t\tdeb *= 1000;\n\t\tSystem.out.println(deb);\t\t\n\t\t\n\t}\n\n}", "import java.io.*;", "io.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\t\n\t\tString str = br.readLine();\n\t\tint n = Integer.parseInt(str);\n\t\tdouble debt = 100.0; \n\t\tfor(int i = 0; i < n; i++){\n\t\t\tdebt = debt * 1.05;\n\t\t\tint deb = (int)debt;\n\t\t\tdouble pre = debt;\n\t\t\tpre = pre - (double)deb;\n\t\t\tif(pre != 0.0)\n\t\t\t\tdeb++;\n\t\t\tdebt = (double)deb;\n\t\t}\n\t\t\n\t\t\n\t\tint deb = (int)debt;\n\t\tdeb *= 1000;\n\t\tSystem.out.println(deb);\t\t\n\t\t\n\t}\n\n}", "Main", "public static void main(String[] args) throws IOException{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\t\n\t\tString str = br.readLine();\n\t\tint n = Integer.parseInt(str);\n\t\tdouble debt = 100.0; \n\t\tfor(int i = 0; i < n; i++){\n\t\t\tdebt = debt * 1.05;\n\t\t\tint deb = (int)debt;\n\t\t\tdouble pre = debt;\n\t\t\tpre = pre - (double)deb;\n\t\t\tif(pre != 0.0)\n\t\t\t\tdeb++;\n\t\t\tdebt = (double)deb;\n\t\t}\n\t\t\n\t\t\n\t\tint deb = (int)debt;\n\t\tdeb *= 1000;\n\t\tSystem.out.println(deb);\t\t\n\t\t\n\t}", "main", "{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\t\n\t\tString str = br.readLine();\n\t\tint n = Integer.parseInt(str);\n\t\tdouble debt = 100.0; \n\t\tfor(int i = 0; i < n; i++){\n\t\t\tdebt = debt * 1.05;\n\t\t\tint deb = (int)debt;\n\t\t\tdouble pre = debt;\n\t\t\tpre = pre - (double)deb;\n\t\t\tif(pre != 0.0)\n\t\t\t\tdeb++;\n\t\t\tdebt = (double)deb;\n\t\t}\n\t\t\n\t\t\n\t\tint deb = (int)debt;\n\t\tdeb *= 1000;\n\t\tSystem.out.println(deb);\t\t\n\t\t\n\t}", "InputStreamReader is = new InputStreamReader(System.in);", "is", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(is);", "br", "new BufferedReader(is)", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "int n = Integer.parseInt(str);", "n", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "double debt = 100.0;", "debt", "100.0", "for(int i = 0; i < n; i++){\n\t\t\tdebt = debt * 1.05;\n\t\t\tint deb = (int)debt;\n\t\t\tdouble pre = debt;\n\t\t\tpre = pre - (double)deb;\n\t\t\tif(pre != 0.0)\n\t\t\t\tdeb++;\n\t\t\tdebt = (double)deb;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tdebt = debt * 1.05;\n\t\t\tint deb = (int)debt;\n\t\t\tdouble pre = debt;\n\t\t\tpre = pre - (double)deb;\n\t\t\tif(pre != 0.0)\n\t\t\t\tdeb++;\n\t\t\tdebt = (double)deb;\n\t\t}", "{\n\t\t\tdebt = debt * 1.05;\n\t\t\tint deb = (int)debt;\n\t\t\tdouble pre = debt;\n\t\t\tpre = pre - (double)deb;\n\t\t\tif(pre != 0.0)\n\t\t\t\tdeb++;\n\t\t\tdebt = (double)deb;\n\t\t}", "debt = debt * 1.05", "debt", "debt * 1.05", "debt", "1.05", "int deb = (int)debt;", "deb", "(int)debt", "double pre = debt;", "pre", "debt", "pre = pre - (double)deb", "pre", "pre - (double)deb", "pre", "(double)deb", "if(pre != 0.0)\n\t\t\t\tdeb++;", "pre != 0.0", "pre", "0.0", "deb++", "deb", "debt = (double)deb", "debt", "(double)deb", "int deb = (int)debt;", "deb", "(int)debt", "deb *= 1000", "deb", "1000", "System.out.println(deb)", "System.out.println", "System.out", "System", "System.out", "deb", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\t\n\t\tString str = br.readLine();\n\t\tint n = Integer.parseInt(str);\n\t\tdouble debt = 100.0; \n\t\tfor(int i = 0; i < n; i++){\n\t\t\tdebt = debt * 1.05;\n\t\t\tint deb = (int)debt;\n\t\t\tdouble pre = debt;\n\t\t\tpre = pre - (double)deb;\n\t\t\tif(pre != 0.0)\n\t\t\t\tdeb++;\n\t\t\tdebt = (double)deb;\n\t\t}\n\t\t\n\t\t\n\t\tint deb = (int)debt;\n\t\tdeb *= 1000;\n\t\tSystem.out.println(deb);\t\t\n\t\t\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\t\n\t\tString str = br.readLine();\n\t\tint n = Integer.parseInt(str);\n\t\tdouble debt = 100.0; \n\t\tfor(int i = 0; i < n; i++){\n\t\t\tdebt = debt * 1.05;\n\t\t\tint deb = (int)debt;\n\t\t\tdouble pre = debt;\n\t\t\tpre = pre - (double)deb;\n\t\t\tif(pre != 0.0)\n\t\t\t\tdeb++;\n\t\t\tdebt = (double)deb;\n\t\t}\n\t\t\n\t\t\n\t\tint deb = (int)debt;\n\t\tdeb *= 1000;\n\t\tSystem.out.println(deb);\t\t\n\t\t\n\t}\n\n}", "Main" ]
import java.io.*; public class Main { public static void main(String[] args) throws IOException{ InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); String str = br.readLine(); int n = Integer.parseInt(str); double debt = 100.0; for(int i = 0; i < n; i++){ debt = debt * 1.05; int deb = (int)debt; double pre = debt; pre = pre - (double)deb; if(pre != 0.0) deb++; debt = (double)deb; } int deb = (int)debt; deb *= 1000; System.out.println(deb); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 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 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 64, 14 ], [ 64, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 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 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 17, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 15, 61 ], [ 61, 62 ], [ 0, 63 ], [ 63, 64 ], [ 63, 65 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic class Main {\n\t\n//http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0007&lang=jp\n\tpublic static void main(String args[]) throws NumberFormatException, IOException {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(br.readLine());\t\n\t\t\tdouble result = 100;\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tresult = Math.ceil(result*1.05);\n\t\t\t}\n\n\t\t\tSystem.out.println((int)result * 1000);\n\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.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t\n//http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0007&lang=jp\n\tpublic static void main(String args[]) throws NumberFormatException, IOException {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(br.readLine());\t\n\t\t\tdouble result = 100;\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tresult = Math.ceil(result*1.05);\n\t\t\t}\n\n\t\t\tSystem.out.println((int)result * 1000);\n\t}\n\t\n}", "Main", "//http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0007&lang=jp\n\tpublic static void main(String args[]) throws NumberFormatException, IOException {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(br.readLine());\t\n\t\t\tdouble result = 100;\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tresult = Math.ceil(result*1.05);\n\t\t\t}\n\n\t\t\tSystem.out.println((int)result * 1000);\n\t}", "main", "{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(br.readLine());\t\n\t\t\tdouble result = 100;\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tresult = Math.ceil(result*1.05);\n\t\t\t}\n\n\t\t\tSystem.out.println((int)result * 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 result = 100;", "result", "100", "for(int i = 0; i < n; i++){\n\t\t\t\tresult = Math.ceil(result*1.05);\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tresult = Math.ceil(result*1.05);\n\t\t\t}", "{\n\t\t\t\tresult = Math.ceil(result*1.05);\n\t\t\t}", "result = Math.ceil(result*1.05)", "result", "Math.ceil(result*1.05)", "Math.ceil", "Math", "result*1.05", "result", "1.05", "System.out.println((int)result * 1000)", "System.out.println", "System.out", "System", "System.out", "(int)result * 1000", "(int)result", "1000", "String args[]", "args", "public class Main {\n\t\n//http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0007&lang=jp\n\tpublic static void main(String args[]) throws NumberFormatException, IOException {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(br.readLine());\t\n\t\t\tdouble result = 100;\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tresult = Math.ceil(result*1.05);\n\t\t\t}\n\n\t\t\tSystem.out.println((int)result * 1000);\n\t}\n\t\n}", "public class Main {\n\t\n//http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0007&lang=jp\n\tpublic static void main(String args[]) throws NumberFormatException, IOException {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(br.readLine());\t\n\t\t\tdouble result = 100;\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tresult = Math.ceil(result*1.05);\n\t\t\t}\n\n\t\t\tSystem.out.println((int)result * 1000);\n\t}\n\t\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Scanner; public class Main { //http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0007&lang=jp public static void main(String args[]) throws NumberFormatException, IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); double result = 100; for(int i = 0; i < n; i++){ result = Math.ceil(result*1.05); } System.out.println((int)result * 1000); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 4, 18, 20, 23, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 17, 30, 41, 13, 20, 4, 13, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 4, 13, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 4, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 13, 4, 13, 13, 4, 18, 13, 13, 23, 13, 12, 13, 30, 0, 13, 17, 29, 8, 2, 2, 13, 17, 17, 2, 2, 13, 17, 2, 13, 17, 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 ], [ 120, 14 ], [ 120, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 15, 21 ], [ 21, 22 ], [ 120, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 38, 40 ], [ 120, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 44, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 55, 57 ], [ 41, 58 ], [ 58, 59 ], [ 120, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 62, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 73, 81 ], [ 81, 82 ], [ 82, 83 ], [ 73, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 87, 89 ], [ 62, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 60, 94 ], [ 94, 95 ], [ 120, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 103, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 109, 113 ], [ 113, 114 ], [ 113, 115 ], [ 103, 116 ], [ 96, 117 ], [ 117, 118 ], [ 0, 119 ], [ 119, 120 ], [ 119, 121 ] ]
[ "import static java.lang.System.out;\nimport java.io.File;\nimport static java.lang.Integer.parseInt;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n new Main().debt();\n }\n\n public void debt() {\n try (Scanner scan = new Scanner(System.in)) {\n debtHell(scan);\n } catch (Exception e) {\n System.exit(0);\n }\n }\n\n public void debt(String inputDataPath) {\n try (Scanner scan = new Scanner(new File(inputDataPath))) {\n debtHell(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private void debtHell(Scanner scan) {\n double debt = 100000;\n int week = parseInt(scan.nextLine());\n for (int i = 0; i < week; i++)\n debt = rateCalc(debt);\n out.println((int) debt);\n }\n\n private double rateCalc(double debt) {\n debt *= 1.05;\n return (debt % 1000 > 0) ? debt + 1000 - debt % 1000 : debt;\n }\n}", "import static java.lang.System.out;", "import static java.lang.System.out;", "import static java.lang.System.out;", "import java.io.File;", "File", "java.io", "import static java.lang.Integer.parseInt;", "import static java.lang.Integer.parseInt;", "import static java.lang.Integer.parseInt;", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n new Main().debt();\n }\n\n public void debt() {\n try (Scanner scan = new Scanner(System.in)) {\n debtHell(scan);\n } catch (Exception e) {\n System.exit(0);\n }\n }\n\n public void debt(String inputDataPath) {\n try (Scanner scan = new Scanner(new File(inputDataPath))) {\n debtHell(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private void debtHell(Scanner scan) {\n double debt = 100000;\n int week = parseInt(scan.nextLine());\n for (int i = 0; i < week; i++)\n debt = rateCalc(debt);\n out.println((int) debt);\n }\n\n private double rateCalc(double debt) {\n debt *= 1.05;\n return (debt % 1000 > 0) ? debt + 1000 - debt % 1000 : debt;\n }\n}", "Main", "public static void main(String[] args) {\n new Main().debt();\n }", "main", "{\n new Main().debt();\n }", "new Main().debt()", "new Main().debt", "new Main()", "String[] args", "args", "public void debt() {\n try (Scanner scan = new Scanner(System.in)) {\n debtHell(scan);\n } catch (Exception e) {\n System.exit(0);\n }\n }", "debt", "{\n try (Scanner scan = new Scanner(System.in)) {\n debtHell(scan);\n } catch (Exception e) {\n System.exit(0);\n }\n }", "try (Scanner scan = new Scanner(System.in)) {\n debtHell(scan);\n } catch (Exception e) {\n System.exit(0);\n }", "catch (Exception e) {\n System.exit(0);\n }", "Exception e", "{\n System.exit(0);\n }", "System.exit(0)", "System.exit", "System", "0", "{\n debtHell(scan);\n }", "Scanner scan = new Scanner(System.in)", "Scanner scan = new Scanner(System.in)", "new Scanner(System.in)", "debtHell(scan)", "debtHell", "scan", "public void debt(String inputDataPath) {\n try (Scanner scan = new Scanner(new File(inputDataPath))) {\n debtHell(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "debt", "{\n try (Scanner scan = new Scanner(new File(inputDataPath))) {\n debtHell(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "try (Scanner scan = new Scanner(new File(inputDataPath))) {\n debtHell(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }", "catch (Exception e) {\n e.printStackTrace();\n }", "Exception e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n debtHell(scan);\n }", "Scanner scan = new Scanner(new File(inputDataPath))", "Scanner scan = new Scanner(new File(inputDataPath))", "new Scanner(new File(inputDataPath))", "debtHell(scan)", "debtHell", "scan", "String inputDataPath", "inputDataPath", "private void debtHell(Scanner scan) {\n double debt = 100000;\n int week = parseInt(scan.nextLine());\n for (int i = 0; i < week; i++)\n debt = rateCalc(debt);\n out.println((int) debt);\n }", "debtHell", "{\n double debt = 100000;\n int week = parseInt(scan.nextLine());\n for (int i = 0; i < week; i++)\n debt = rateCalc(debt);\n out.println((int) debt);\n }", "double debt = 100000;", "debt", "100000", "int week = parseInt(scan.nextLine());", "week", "parseInt(scan.nextLine())", "parseInt", "scan.nextLine()", "scan.nextLine", "scan", "for (int i = 0; i < week; i++)\n debt = rateCalc(debt);", "int i = 0;", "int i = 0;", "i", "0", "i < week", "i", "week", "i++", "i++", "i", "debt = rateCalc(debt);", "debt = rateCalc(debt)", "debt", "rateCalc(debt)", "rateCalc", "debt", "out.println((int) debt)", "out.println", "out", "(int) debt", "Scanner scan", "scan", "private double rateCalc(double debt) {\n debt *= 1.05;\n return (debt % 1000 > 0) ? debt + 1000 - debt % 1000 : debt;\n }", "rateCalc", "{\n debt *= 1.05;\n return (debt % 1000 > 0) ? debt + 1000 - debt % 1000 : debt;\n }", "debt *= 1.05", "debt", "1.05", "return (debt % 1000 > 0) ? debt + 1000 - debt % 1000 : debt;", "(debt % 1000 > 0) ? debt + 1000 - debt % 1000 : debt", "(debt % 1000 > 0)", "debt % 1000", "debt", "1000", "0", "debt + 1000 - debt % 1000", "debt + 1000", "debt", "1000", "debt % 1000", "debt", "1000", "debt", "double debt", "debt", "public class Main {\n\n public static void main(String[] args) {\n new Main().debt();\n }\n\n public void debt() {\n try (Scanner scan = new Scanner(System.in)) {\n debtHell(scan);\n } catch (Exception e) {\n System.exit(0);\n }\n }\n\n public void debt(String inputDataPath) {\n try (Scanner scan = new Scanner(new File(inputDataPath))) {\n debtHell(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private void debtHell(Scanner scan) {\n double debt = 100000;\n int week = parseInt(scan.nextLine());\n for (int i = 0; i < week; i++)\n debt = rateCalc(debt);\n out.println((int) debt);\n }\n\n private double rateCalc(double debt) {\n debt *= 1.05;\n return (debt % 1000 > 0) ? debt + 1000 - debt % 1000 : debt;\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n new Main().debt();\n }\n\n public void debt() {\n try (Scanner scan = new Scanner(System.in)) {\n debtHell(scan);\n } catch (Exception e) {\n System.exit(0);\n }\n }\n\n public void debt(String inputDataPath) {\n try (Scanner scan = new Scanner(new File(inputDataPath))) {\n debtHell(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private void debtHell(Scanner scan) {\n double debt = 100000;\n int week = parseInt(scan.nextLine());\n for (int i = 0; i < week; i++)\n debt = rateCalc(debt);\n out.println((int) debt);\n }\n\n private double rateCalc(double debt) {\n debt *= 1.05;\n return (debt % 1000 > 0) ? debt + 1000 - debt % 1000 : debt;\n }\n}", "Main" ]
import static java.lang.System.out; import java.io.File; import static java.lang.Integer.parseInt; import java.util.Scanner; public class Main { public static void main(String[] args) { new Main().debt(); } public void debt() { try (Scanner scan = new Scanner(System.in)) { debtHell(scan); } catch (Exception e) { System.exit(0); } } public void debt(String inputDataPath) { try (Scanner scan = new Scanner(new File(inputDataPath))) { debtHell(scan); } catch (Exception e) { e.printStackTrace(); } } private void debtHell(Scanner scan) { double debt = 100000; int week = parseInt(scan.nextLine()); for (int i = 0; i < week; i++) debt = rateCalc(debt); out.println((int) debt); } private double rateCalc(double debt) { debt *= 1.05; return (debt % 1000 > 0) ? debt + 1000 - debt % 1000 : debt; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 17, 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 ], [ 68, 5 ], [ 68, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 13, 16 ], [ 9, 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 ], [ 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 ], [ 17, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 6, 65 ], [ 65, 66 ], [ 0, 67 ], [ 67, 68 ], [ 67, 69 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n try (Scanner scan = new Scanner(System.in)) {\n int week = scan.nextInt();\n double debt = 100000;\n for (int i = 0; i < week; i++) {\n debt *= 1.05;\n if (debt % 1000 > 0) {\n debt += 1000 - debt % 1000;\n }\n }\n System.out.println((int) debt);\n } catch (Exception e) {\n System.exit(0);\n }\n }\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n try (Scanner scan = new Scanner(System.in)) {\n int week = scan.nextInt();\n double debt = 100000;\n for (int i = 0; i < week; i++) {\n debt *= 1.05;\n if (debt % 1000 > 0) {\n debt += 1000 - debt % 1000;\n }\n }\n System.out.println((int) debt);\n } catch (Exception e) {\n System.exit(0);\n }\n }\n\n}", "Main", "public static void main(String[] args) {\n try (Scanner scan = new Scanner(System.in)) {\n int week = scan.nextInt();\n double debt = 100000;\n for (int i = 0; i < week; i++) {\n debt *= 1.05;\n if (debt % 1000 > 0) {\n debt += 1000 - debt % 1000;\n }\n }\n System.out.println((int) debt);\n } catch (Exception e) {\n System.exit(0);\n }\n }", "main", "{\n try (Scanner scan = new Scanner(System.in)) {\n int week = scan.nextInt();\n double debt = 100000;\n for (int i = 0; i < week; i++) {\n debt *= 1.05;\n if (debt % 1000 > 0) {\n debt += 1000 - debt % 1000;\n }\n }\n System.out.println((int) debt);\n } catch (Exception e) {\n System.exit(0);\n }\n }", "try (Scanner scan = new Scanner(System.in)) {\n int week = scan.nextInt();\n double debt = 100000;\n for (int i = 0; i < week; i++) {\n debt *= 1.05;\n if (debt % 1000 > 0) {\n debt += 1000 - debt % 1000;\n }\n }\n System.out.println((int) debt);\n } catch (Exception e) {\n System.exit(0);\n }", "catch (Exception e) {\n System.exit(0);\n }", "Exception e", "{\n System.exit(0);\n }", "System.exit(0)", "System.exit", "System", "0", "{\n int week = scan.nextInt();\n double debt = 100000;\n for (int i = 0; i < week; i++) {\n debt *= 1.05;\n if (debt % 1000 > 0) {\n debt += 1000 - debt % 1000;\n }\n }\n System.out.println((int) debt);\n }", "Scanner scan = new Scanner(System.in)", "Scanner scan = new Scanner(System.in)", "new Scanner(System.in)", "int week = scan.nextInt();", "week", "scan.nextInt()", "scan.nextInt", "scan", "double debt = 100000;", "debt", "100000", "for (int i = 0; i < week; i++) {\n debt *= 1.05;\n if (debt % 1000 > 0) {\n debt += 1000 - debt % 1000;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < week", "i", "week", "i++", "i++", "i", "{\n debt *= 1.05;\n if (debt % 1000 > 0) {\n debt += 1000 - debt % 1000;\n }\n }", "{\n debt *= 1.05;\n if (debt % 1000 > 0) {\n debt += 1000 - debt % 1000;\n }\n }", "debt *= 1.05", "debt", "1.05", "if (debt % 1000 > 0) {\n debt += 1000 - debt % 1000;\n }", "debt % 1000 > 0", "debt % 1000", "debt", "1000", "0", "{\n debt += 1000 - debt % 1000;\n }", "debt += 1000 - debt % 1000", "debt", "1000 - debt % 1000", "1000", "debt % 1000", "debt", "1000", "System.out.println((int) debt)", "System.out.println", "System.out", "System", "System.out", "(int) debt", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n try (Scanner scan = new Scanner(System.in)) {\n int week = scan.nextInt();\n double debt = 100000;\n for (int i = 0; i < week; i++) {\n debt *= 1.05;\n if (debt % 1000 > 0) {\n debt += 1000 - debt % 1000;\n }\n }\n System.out.println((int) debt);\n } catch (Exception e) {\n System.exit(0);\n }\n }\n\n}", "public class Main {\n\n public static void main(String[] args) {\n try (Scanner scan = new Scanner(System.in)) {\n int week = scan.nextInt();\n double debt = 100000;\n for (int i = 0; i < week; i++) {\n debt *= 1.05;\n if (debt % 1000 > 0) {\n debt += 1000 - debt % 1000;\n }\n }\n System.out.println((int) debt);\n } catch (Exception e) {\n System.exit(0);\n }\n }\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner scan = new Scanner(System.in)) { int week = scan.nextInt(); double debt = 100000; for (int i = 0; i < week; i++) { debt *= 1.05; if (debt % 1000 > 0) { debt += 1000 - debt % 1000; } } System.out.println((int) debt); } catch (Exception e) { System.exit(0); } } }
[ 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, 2, 13, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 13, 2, 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 ], [ 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 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 40, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 8, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 6, 62 ], [ 62, 63 ] ]
[ "import java.util.*;\n\nclass Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\n\tint week = sc.nextInt();\n\n\tdouble money = 100000;\n\tfor(int i=0; i<week; i++){\n\t money = money + money*0.05;\n\t if(money%1000!=0){\n\t\tmoney = money + (1000 - (money%1000));\n\t }\n\t}\n\n\tSystem.out.println((int)money);\n }\n}", "import java.util.*;", "util.*", "java", "class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\n\tint week = sc.nextInt();\n\n\tdouble money = 100000;\n\tfor(int i=0; i<week; i++){\n\t money = money + money*0.05;\n\t if(money%1000!=0){\n\t\tmoney = money + (1000 - (money%1000));\n\t }\n\t}\n\n\tSystem.out.println((int)money);\n }\n}", "Main", "public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\n\tint week = sc.nextInt();\n\n\tdouble money = 100000;\n\tfor(int i=0; i<week; i++){\n\t money = money + money*0.05;\n\t if(money%1000!=0){\n\t\tmoney = money + (1000 - (money%1000));\n\t }\n\t}\n\n\tSystem.out.println((int)money);\n }", "main", "{\n\tScanner sc = new Scanner(System.in);\n\n\tint week = sc.nextInt();\n\n\tdouble money = 100000;\n\tfor(int i=0; i<week; i++){\n\t money = money + money*0.05;\n\t if(money%1000!=0){\n\t\tmoney = money + (1000 - (money%1000));\n\t }\n\t}\n\n\tSystem.out.println((int)money);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int week = sc.nextInt();", "week", "sc.nextInt()", "sc.nextInt", "sc", "double money = 100000;", "money", "100000", "for(int i=0; i<week; i++){\n\t money = money + money*0.05;\n\t if(money%1000!=0){\n\t\tmoney = money + (1000 - (money%1000));\n\t }\n\t}", "int i=0;", "int i=0;", "i", "0", "i<week", "i", "week", "i++", "i++", "i", "{\n\t money = money + money*0.05;\n\t if(money%1000!=0){\n\t\tmoney = money + (1000 - (money%1000));\n\t }\n\t}", "{\n\t money = money + money*0.05;\n\t if(money%1000!=0){\n\t\tmoney = money + (1000 - (money%1000));\n\t }\n\t}", "money = money + money*0.05", "money", "money + money*0.05", "money", "money*0.05", "money", "0.05", "if(money%1000!=0){\n\t\tmoney = money + (1000 - (money%1000));\n\t }", "money%1000!=0", "money%1000", "money", "1000", "0", "{\n\t\tmoney = money + (1000 - (money%1000));\n\t }", "money = money + (1000 - (money%1000))", "money", "money + (1000 - (money%1000))", "money", "(1000 - (money%1000))", "1000", "(money%1000)", "money", "1000", "System.out.println((int)money)", "System.out.println", "System.out", "System", "System.out", "(int)money", "String[] args", "args" ]
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int week = sc.nextInt(); double money = 100000; for(int i=0; i<week; i++){ money = money + money*0.05; if(money%1000!=0){ money = money + (1000 - (money%1000)); } } System.out.println((int)money); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 4, 18, 13, 4, 18, 20, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 61, 8 ], [ 61, 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 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 29, 30 ], [ 23, 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 ], [ 11, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 9, 58 ], [ 58, 59 ], [ 0, 60 ], [ 60, 61 ], [ 60, 62 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n int debt = 100000;\n int wk = Integer.parseInt(new BufferedReader(new InputStreamReader(\n System.in)).readLine());\n for (; wk > 0; wk--) {\n debt *= 1.05;\n if (debt % 1000 != 0) {\n debt = ((debt / 1000) + 1) * 1000;\n }\n }\n\n System.out.println(debt);\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n public static void main(String[] args) throws Exception {\n int debt = 100000;\n int wk = Integer.parseInt(new BufferedReader(new InputStreamReader(\n System.in)).readLine());\n for (; wk > 0; wk--) {\n debt *= 1.05;\n if (debt % 1000 != 0) {\n debt = ((debt / 1000) + 1) * 1000;\n }\n }\n\n System.out.println(debt);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n int debt = 100000;\n int wk = Integer.parseInt(new BufferedReader(new InputStreamReader(\n System.in)).readLine());\n for (; wk > 0; wk--) {\n debt *= 1.05;\n if (debt % 1000 != 0) {\n debt = ((debt / 1000) + 1) * 1000;\n }\n }\n\n System.out.println(debt);\n }", "main", "{\n int debt = 100000;\n int wk = Integer.parseInt(new BufferedReader(new InputStreamReader(\n System.in)).readLine());\n for (; wk > 0; wk--) {\n debt *= 1.05;\n if (debt % 1000 != 0) {\n debt = ((debt / 1000) + 1) * 1000;\n }\n }\n\n System.out.println(debt);\n }", "int debt = 100000;", "debt", "100000", "int wk = Integer.parseInt(new BufferedReader(new InputStreamReader(\n System.in)).readLine());", "wk", "Integer.parseInt(new BufferedReader(new InputStreamReader(\n System.in)).readLine())", "Integer.parseInt", "Integer", "new BufferedReader(new InputStreamReader(\n System.in)).readLine()", "new BufferedReader(new InputStreamReader(\n System.in)).readLine", "new BufferedReader(new InputStreamReader(\n System.in))", "for (; wk > 0; wk--) {\n debt *= 1.05;\n if (debt % 1000 != 0) {\n debt = ((debt / 1000) + 1) * 1000;\n }\n }", ";", "wk > 0", "wk", "0", "wk--", "wk--", "wk", "{\n debt *= 1.05;\n if (debt % 1000 != 0) {\n debt = ((debt / 1000) + 1) * 1000;\n }\n }", "{\n debt *= 1.05;\n if (debt % 1000 != 0) {\n debt = ((debt / 1000) + 1) * 1000;\n }\n }", "debt *= 1.05", "debt", "1.05", "if (debt % 1000 != 0) {\n debt = ((debt / 1000) + 1) * 1000;\n }", "debt % 1000 != 0", "debt % 1000", "debt", "1000", "0", "{\n debt = ((debt / 1000) + 1) * 1000;\n }", "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[] args", "args", "public class Main {\n\n public static void main(String[] args) throws Exception {\n int debt = 100000;\n int wk = Integer.parseInt(new BufferedReader(new InputStreamReader(\n System.in)).readLine());\n for (; wk > 0; wk--) {\n debt *= 1.05;\n if (debt % 1000 != 0) {\n debt = ((debt / 1000) + 1) * 1000;\n }\n }\n\n System.out.println(debt);\n }\n}", "public class Main {\n\n public static void main(String[] args) throws Exception {\n int debt = 100000;\n int wk = Integer.parseInt(new BufferedReader(new InputStreamReader(\n System.in)).readLine());\n for (; wk > 0; wk--) {\n debt *= 1.05;\n if (debt % 1000 != 0) {\n debt = ((debt / 1000) + 1) * 1000;\n }\n }\n\n System.out.println(debt);\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { int debt = 100000; int wk = Integer.parseInt(new BufferedReader(new InputStreamReader( System.in)).readLine()); for (; wk > 0; wk--) { debt *= 1.05; 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 2, 4, 18, 13, 2, 2, 13, 17, 17, 17, 29, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 67, 5 ], [ 67, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 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 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 6, 45 ], [ 45, 46 ], [ 67, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 52, 61 ], [ 49, 62 ], [ 62, 63 ], [ 47, 64 ], [ 64, 65 ], [ 0, 66 ], [ 66, 67 ], [ 66, 68 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint sum = 100000;\t//100,000yen\n\t\tfor(int i=0; i<n; i++){\n\t\t\tsum += Main.DeptMaker(sum);\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n\tprivate static int DeptMaker(int sum){\n\t\tint dept = (int) Math.ceil((sum * 0.05)/1000)*1000;\n\t\treturn dept;\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint sum = 100000;\t//100,000yen\n\t\tfor(int i=0; i<n; i++){\n\t\t\tsum += Main.DeptMaker(sum);\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n\tprivate static int DeptMaker(int sum){\n\t\tint dept = (int) Math.ceil((sum * 0.05)/1000)*1000;\n\t\treturn dept;\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 sum = 100000;\t//100,000yen\n\t\tfor(int i=0; i<n; i++){\n\t\t\tsum += Main.DeptMaker(sum);\n\t\t}\n\t\tSystem.out.println(sum);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint sum = 100000;\t//100,000yen\n\t\tfor(int i=0; i<n; i++){\n\t\t\tsum += Main.DeptMaker(sum);\n\t\t}\n\t\tSystem.out.println(sum);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int sum = 100000;", "sum", "100000", "for(int i=0; i<n; i++){\n\t\t\tsum += Main.DeptMaker(sum);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tsum += Main.DeptMaker(sum);\n\t\t}", "{\n\t\t\tsum += Main.DeptMaker(sum);\n\t\t}", "sum += Main.DeptMaker(sum)", "sum", "Main.DeptMaker(sum)", "Main.DeptMaker", "Main", "sum", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "String[] args", "args", "private static int DeptMaker(int sum){\n\t\tint dept = (int) Math.ceil((sum * 0.05)/1000)*1000;\n\t\treturn dept;\n\t}", "DeptMaker", "{\n\t\tint dept = (int) Math.ceil((sum * 0.05)/1000)*1000;\n\t\treturn dept;\n\t}", "int dept = (int) Math.ceil((sum * 0.05)/1000)*1000;", "dept", "(int) Math.ceil((sum * 0.05)/1000)*1000", "(int) Math.ceil((sum * 0.05)/1000)", "Math.ceil", "Math", "(sum * 0.05)/1000", "(sum * 0.05)", "sum", "0.05", "1000", "1000", "return dept;", "dept", "int sum", "sum", "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 sum = 100000;\t//100,000yen\n\t\tfor(int i=0; i<n; i++){\n\t\t\tsum += Main.DeptMaker(sum);\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n\tprivate static int DeptMaker(int sum){\n\t\tint dept = (int) Math.ceil((sum * 0.05)/1000)*1000;\n\t\treturn dept;\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 sum = 100000;\t//100,000yen\n\t\tfor(int i=0; i<n; i++){\n\t\t\tsum += Main.DeptMaker(sum);\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n\tprivate static int DeptMaker(int sum){\n\t\tint dept = (int) Math.ceil((sum * 0.05)/1000)*1000;\n\t\treturn dept;\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 sum = 100000; //100,000yen for(int i=0; i<n; i++){ sum += Main.DeptMaker(sum); } System.out.println(sum); } private static int DeptMaker(int sum){ int dept = (int) Math.ceil((sum * 0.05)/1000)*1000; return dept; } }
[ 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, 2, 4, 18, 13, 2, 13, 17, 17, 17, 30, 0, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 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 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 46, 53 ], [ 45, 54 ], [ 36, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 8, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 6, 68 ], [ 68, 69 ] ]
[ "import java.util.Scanner;\n\nclass 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 for(int i=0; i<n; i++) {\n debt *= 1.05;\n if(debt % 1000 != 0) {\n debt = (Math.floor(debt/1000)+1)*1000;\n }\n else {\n debt = Math.floor(debt); \n } \n } \n System.out.println((int)debt);\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 double debt = 100000;\n for(int i=0; i<n; i++) {\n debt *= 1.05;\n if(debt % 1000 != 0) {\n debt = (Math.floor(debt/1000)+1)*1000;\n }\n else {\n debt = Math.floor(debt); \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 for(int i=0; i<n; i++) {\n debt *= 1.05;\n if(debt % 1000 != 0) {\n debt = (Math.floor(debt/1000)+1)*1000;\n }\n else {\n debt = Math.floor(debt); \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 for(int i=0; i<n; i++) {\n debt *= 1.05;\n if(debt % 1000 != 0) {\n debt = (Math.floor(debt/1000)+1)*1000;\n }\n else {\n debt = Math.floor(debt); \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 if(debt % 1000 != 0) {\n debt = (Math.floor(debt/1000)+1)*1000;\n }\n else {\n debt = Math.floor(debt); \n } \n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n debt *= 1.05;\n if(debt % 1000 != 0) {\n debt = (Math.floor(debt/1000)+1)*1000;\n }\n else {\n debt = Math.floor(debt); \n } \n }", "{\n debt *= 1.05;\n if(debt % 1000 != 0) {\n debt = (Math.floor(debt/1000)+1)*1000;\n }\n else {\n debt = Math.floor(debt); \n } \n }", "debt *= 1.05", "debt", "1.05", "if(debt % 1000 != 0) {\n debt = (Math.floor(debt/1000)+1)*1000;\n }\n else {\n debt = Math.floor(debt); \n }", "debt % 1000 != 0", "debt % 1000", "debt", "1000", "0", "{\n debt = (Math.floor(debt/1000)+1)*1000;\n }", "debt = (Math.floor(debt/1000)+1)*1000", "debt", "(Math.floor(debt/1000)+1)*1000", "(Math.floor(debt/1000)+1)", "Math.floor(debt/1000)", "Math.floor", "Math", "debt/1000", "debt", "1000", "1", "1000", "{\n debt = Math.floor(debt); \n }", "debt = Math.floor(debt)", "debt", "Math.floor(debt)", "Math.floor", "Math", "debt", "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) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); double debt = 100000; for(int i=0; i<n; i++) { debt *= 1.05; if(debt % 1000 != 0) { debt = (Math.floor(debt/1000)+1)*1000; } else { debt = Math.floor(debt); } } System.out.println((int)debt); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 42, 4, 18, 13, 30, 0, 13, 4, 18, 13, 0, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 17, 14, 2, 13, 0, 13, 2, 2, 13, 17, 17, 30, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 16, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 20, 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 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 47, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 20, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 6, 67 ], [ 67, 68 ] ]
[ "import java.util.*;\n\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n, ans;\n\t\twhile(sc.hasNext()){\n\t\t\tn = sc.nextInt();\n\t\t\tans = 100000;\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tans += ans / 20;\n\t\t\t\tif(ans != (ans = ans / 1000 * 1000)){\n\t\t\t\t\tans += 1000;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n, ans;\n\t\twhile(sc.hasNext()){\n\t\t\tn = sc.nextInt();\n\t\t\tans = 100000;\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tans += ans / 20;\n\t\t\t\tif(ans != (ans = ans / 1000 * 1000)){\n\t\t\t\t\tans += 1000;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n, ans;\n\t\twhile(sc.hasNext()){\n\t\t\tn = sc.nextInt();\n\t\t\tans = 100000;\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tans += ans / 20;\n\t\t\t\tif(ans != (ans = ans / 1000 * 1000)){\n\t\t\t\t\tans += 1000;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n, ans;\n\t\twhile(sc.hasNext()){\n\t\t\tn = sc.nextInt();\n\t\t\tans = 100000;\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tans += ans / 20;\n\t\t\t\tif(ans != (ans = ans / 1000 * 1000)){\n\t\t\t\t\tans += 1000;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n", "n", "ans;", "ans", "while(sc.hasNext()){\n\t\t\tn = sc.nextInt();\n\t\t\tans = 100000;\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tans += ans / 20;\n\t\t\t\tif(ans != (ans = ans / 1000 * 1000)){\n\t\t\t\t\tans += 1000;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "sc.hasNext()", "sc.hasNext", "sc", "{\n\t\t\tn = sc.nextInt();\n\t\t\tans = 100000;\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tans += ans / 20;\n\t\t\t\tif(ans != (ans = ans / 1000 * 1000)){\n\t\t\t\t\tans += 1000;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "ans = 100000", "ans", "100000", "for(int i = 0; i < n; i++){\n\t\t\t\tans += ans / 20;\n\t\t\t\tif(ans != (ans = ans / 1000 * 1000)){\n\t\t\t\t\tans += 1000;\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\tans += ans / 20;\n\t\t\t\tif(ans != (ans = ans / 1000 * 1000)){\n\t\t\t\t\tans += 1000;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tans += ans / 20;\n\t\t\t\tif(ans != (ans = ans / 1000 * 1000)){\n\t\t\t\t\tans += 1000;\n\t\t\t\t}\n\t\t\t}", "ans += ans / 20", "ans", "ans / 20", "ans", "20", "if(ans != (ans = ans / 1000 * 1000)){\n\t\t\t\t\tans += 1000;\n\t\t\t\t}", "ans != (ans = ans / 1000 * 1000)", "ans", "(ans = ans / 1000 * 1000)", "ans", "ans / 1000 * 1000", "ans / 1000", "ans", "1000", "1000", "{\n\t\t\t\t\tans += 1000;\n\t\t\t\t}", "ans += 1000", "ans", "1000", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args" ]
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n, ans; while(sc.hasNext()){ n = sc.nextInt(); ans = 100000; for(int i = 0; i < n; i++){ ans += ans / 20; if(ans != (ans = ans / 1000 * 1000)){ ans += 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 0, 13, 17, 0, 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 ], [ 66, 5 ], [ 66, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 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 ], [ 44, 46 ], [ 32, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 32, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 6, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ] ]
[ "import java.util.Scanner;\npublic class Main\n{\n\tpublic static void main(String arg[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tdouble d=100000;\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\td=d*1.05;\n\t\t\tif(d%1000!=0)\n\t\t\t\td+=1000;\n\t\t\td=(int)d/1000;\n\t\t\td=(int)d*1000; \n\t\t}\n\t\tSystem.out.println((int)d);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main\n{\n\tpublic static void main(String arg[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tdouble d=100000;\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\td=d*1.05;\n\t\t\tif(d%1000!=0)\n\t\t\t\td+=1000;\n\t\t\td=(int)d/1000;\n\t\t\td=(int)d*1000; \n\t\t}\n\t\tSystem.out.println((int)d);\n\t}\n}", "Main", "public static void main(String arg[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tdouble d=100000;\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\td=d*1.05;\n\t\t\tif(d%1000!=0)\n\t\t\t\td+=1000;\n\t\t\td=(int)d/1000;\n\t\t\td=(int)d*1000; \n\t\t}\n\t\tSystem.out.println((int)d);\n\t}", "main", "{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tdouble d=100000;\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\td=d*1.05;\n\t\t\tif(d%1000!=0)\n\t\t\t\td+=1000;\n\t\t\td=(int)d/1000;\n\t\t\td=(int)d*1000; \n\t\t}\n\t\tSystem.out.println((int)d);\n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "double d=100000;", "d", "100000", "for(int i=0; i<n; i++)\n\t\t{\n\t\t\td=d*1.05;\n\t\t\tif(d%1000!=0)\n\t\t\t\td+=1000;\n\t\t\td=(int)d/1000;\n\t\t\td=(int)d*1000; \n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\td=d*1.05;\n\t\t\tif(d%1000!=0)\n\t\t\t\td+=1000;\n\t\t\td=(int)d/1000;\n\t\t\td=(int)d*1000; \n\t\t}", "{\n\t\t\td=d*1.05;\n\t\t\tif(d%1000!=0)\n\t\t\t\td+=1000;\n\t\t\td=(int)d/1000;\n\t\t\td=(int)d*1000; \n\t\t}", "d=d*1.05", "d", "d*1.05", "d", "1.05", "if(d%1000!=0)\n\t\t\t\td+=1000;", "d%1000!=0", "d%1000", "d", "1000", "0", "d+=1000", "d", "1000", "d=(int)d/1000", "d", "(int)d/1000", "(int)d", "1000", "d=(int)d*1000", "d", "(int)d*1000", "(int)d", "1000", "System.out.println((int)d)", "System.out.println", "System.out", "System", "System.out", "(int)d", "String arg[]", "arg", "public class Main\n{\n\tpublic static void main(String arg[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tdouble d=100000;\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\td=d*1.05;\n\t\t\tif(d%1000!=0)\n\t\t\t\td+=1000;\n\t\t\td=(int)d/1000;\n\t\t\td=(int)d*1000; \n\t\t}\n\t\tSystem.out.println((int)d);\n\t}\n}", "public class Main\n{\n\tpublic static void main(String arg[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tdouble d=100000;\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\td=d*1.05;\n\t\t\tif(d%1000!=0)\n\t\t\t\td+=1000;\n\t\t\td=(int)d/1000;\n\t\t\td=(int)d*1000; \n\t\t}\n\t\tSystem.out.println((int)d);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String arg[]) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); double d=100000; for(int i=0; i<n; i++) { d=d*1.05; if(d%1000!=0) d+=1000; d=(int)d/1000; d=(int)d*1000; } System.out.println((int)d); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 4, 18, 20, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 41, 13, 20, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 20, 41, 13, 4, 18, 13, 40, 17, 18, 13, 13, 0, 13, 4, 18, 13, 4, 18, 18, 13, 13, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 71, 8 ], [ 71, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 13, 14 ], [ 9, 15 ], [ 15, 16 ], [ 71, 17 ], [ 17, 18 ], [ 17, 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 ], [ 19, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 45, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 19, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 0, 70 ], [ 70, 71 ], [ 70, 72 ] ]
[ "import java.util.Scanner;\nimport java.math.BigDecimal;\n\n\npublic class Main {\n\tpublic static void main(String args[]){\n\t\tnew Main().run();\n\t}\n\t\n\tvoid run(){\n\t\tdouble loan = 100000;\n\t\tBigDecimal bd;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tfor(int i=0; i < a; i++){\n\t\t\tbd = new BigDecimal(loan * 1.05);\n\t\t\tBigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\tloan = bdup.doubleValue();\n\t\t}\n\t\tSystem.out.println((int)loan);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.math.BigDecimal;", "BigDecimal", "java.math", "public class Main {\n\tpublic static void main(String args[]){\n\t\tnew Main().run();\n\t}\n\t\n\tvoid run(){\n\t\tdouble loan = 100000;\n\t\tBigDecimal bd;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tfor(int i=0; i < a; i++){\n\t\t\tbd = new BigDecimal(loan * 1.05);\n\t\t\tBigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\tloan = bdup.doubleValue();\n\t\t}\n\t\tSystem.out.println((int)loan);\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", "void run(){\n\t\tdouble loan = 100000;\n\t\tBigDecimal bd;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tfor(int i=0; i < a; i++){\n\t\t\tbd = new BigDecimal(loan * 1.05);\n\t\t\tBigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\tloan = bdup.doubleValue();\n\t\t}\n\t\tSystem.out.println((int)loan);\n\t}", "run", "{\n\t\tdouble loan = 100000;\n\t\tBigDecimal bd;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tfor(int i=0; i < a; i++){\n\t\t\tbd = new BigDecimal(loan * 1.05);\n\t\t\tBigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\tloan = bdup.doubleValue();\n\t\t}\n\t\tSystem.out.println((int)loan);\n\t}", "double loan = 100000;", "loan", "100000", "BigDecimal bd;", "bd", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0; i < a; i++){\n\t\t\tbd = new BigDecimal(loan * 1.05);\n\t\t\tBigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\tloan = bdup.doubleValue();\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i < a", "i", "a", "i++", "i++", "i", "{\n\t\t\tbd = new BigDecimal(loan * 1.05);\n\t\t\tBigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\tloan = bdup.doubleValue();\n\t\t}", "{\n\t\t\tbd = new BigDecimal(loan * 1.05);\n\t\t\tBigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\tloan = bdup.doubleValue();\n\t\t}", "bd = new BigDecimal(loan * 1.05)", "bd", "new BigDecimal(loan * 1.05)", "BigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);", "bdup", "bd.setScale(-3, BigDecimal.ROUND_UP)", "bd.setScale", "bd", "-3", "3", "BigDecimal.ROUND_UP", "BigDecimal", "BigDecimal.ROUND_UP", "loan = bdup.doubleValue()", "loan", "bdup.doubleValue()", "bdup.doubleValue", "bdup", "System.out.println((int)loan)", "System.out.println", "System.out", "System", "System.out", "(int)loan", "public class Main {\n\tpublic static void main(String args[]){\n\t\tnew Main().run();\n\t}\n\t\n\tvoid run(){\n\t\tdouble loan = 100000;\n\t\tBigDecimal bd;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tfor(int i=0; i < a; i++){\n\t\t\tbd = new BigDecimal(loan * 1.05);\n\t\t\tBigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\tloan = bdup.doubleValue();\n\t\t}\n\t\tSystem.out.println((int)loan);\n\t}\n}", "public class Main {\n\tpublic static void main(String args[]){\n\t\tnew Main().run();\n\t}\n\t\n\tvoid run(){\n\t\tdouble loan = 100000;\n\t\tBigDecimal bd;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tfor(int i=0; i < a; i++){\n\t\t\tbd = new BigDecimal(loan * 1.05);\n\t\t\tBigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);\n\t\t\tloan = bdup.doubleValue();\n\t\t}\n\t\tSystem.out.println((int)loan);\n\t}\n}", "Main" ]
import java.util.Scanner; import java.math.BigDecimal; public class Main { public static void main(String args[]){ new Main().run(); } void run(){ double loan = 100000; BigDecimal bd; Scanner sc = new Scanner(System.in); int a = sc.nextInt(); for(int i=0; i < a; i++){ bd = new BigDecimal(loan * 1.05); BigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP); loan = bdup.doubleValue(); } System.out.println((int)loan); } }
[ 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, 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 ], [ 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 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 36, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 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;\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 kei = 100000;\n\t\tfor(int i=1; i<=n; i++){\n\t\t\tkei *= 1.05;\n\t\t\tif(kei%1000 > 0){\n\t\t\t\tkei = ((kei - kei%1000)+ 1000);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(kei);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint kei = 100000;\n\t\tfor(int i=1; i<=n; i++){\n\t\t\tkei *= 1.05;\n\t\t\tif(kei%1000 > 0){\n\t\t\t\tkei = ((kei - kei%1000)+ 1000);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(kei);\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 kei = 100000;\n\t\tfor(int i=1; i<=n; i++){\n\t\t\tkei *= 1.05;\n\t\t\tif(kei%1000 > 0){\n\t\t\t\tkei = ((kei - kei%1000)+ 1000);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(kei);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint kei = 100000;\n\t\tfor(int i=1; i<=n; i++){\n\t\t\tkei *= 1.05;\n\t\t\tif(kei%1000 > 0){\n\t\t\t\tkei = ((kei - kei%1000)+ 1000);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(kei);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int kei = 100000;", "kei", "100000", "for(int i=1; i<=n; i++){\n\t\t\tkei *= 1.05;\n\t\t\tif(kei%1000 > 0){\n\t\t\t\tkei = ((kei - kei%1000)+ 1000);\n\t\t\t}\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<=n", "i", "n", "i++", "i++", "i", "{\n\t\t\tkei *= 1.05;\n\t\t\tif(kei%1000 > 0){\n\t\t\t\tkei = ((kei - kei%1000)+ 1000);\n\t\t\t}\n\t\t}", "{\n\t\t\tkei *= 1.05;\n\t\t\tif(kei%1000 > 0){\n\t\t\t\tkei = ((kei - kei%1000)+ 1000);\n\t\t\t}\n\t\t}", "kei *= 1.05", "kei", "1.05", "if(kei%1000 > 0){\n\t\t\t\tkei = ((kei - kei%1000)+ 1000);\n\t\t\t}", "kei%1000 > 0", "kei%1000", "kei", "1000", "0", "{\n\t\t\t\tkei = ((kei - kei%1000)+ 1000);\n\t\t\t}", "kei = ((kei - kei%1000)+ 1000)", "kei", "((kei - kei%1000)+ 1000)", "(kei - kei%1000)", "kei", "kei%1000", "kei", "1000", "1000", "System.out.println(kei)", "System.out.println", "System.out", "System", "System.out", "kei", "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 kei = 100000;\n\t\tfor(int i=1; i<=n; i++){\n\t\t\tkei *= 1.05;\n\t\t\tif(kei%1000 > 0){\n\t\t\t\tkei = ((kei - kei%1000)+ 1000);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(kei);\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 kei = 100000;\n\t\tfor(int i=1; i<=n; i++){\n\t\t\tkei *= 1.05;\n\t\t\tif(kei%1000 > 0){\n\t\t\t\tkei = ((kei - kei%1000)+ 1000);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(kei);\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 kei = 100000; for(int i=1; i<=n; i++){ kei *= 1.05; if(kei%1000 > 0){ kei = ((kei - kei%1000)+ 1000); } } System.out.println(kei); } }
[ 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, 17, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 2, 2, 13, 17, 17, 17, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 67, 5 ], [ 67, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 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 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 39, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 48, 54 ], [ 45, 55 ], [ 55, 56 ], [ 55, 57 ], [ 8, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 6, 64 ], [ 64, 65 ], [ 0, 66 ], [ 66, 67 ], [ 66, 68 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\n\t//??????????????????????????°\n\tpublic static void main(String[] args) {\n\n\t\tint debt = 100000;\n\t\tint temp = 0;\n\t\tScanner stdin = new Scanner(System.in);\n\t\tint week = stdin.nextInt();\n\n\t\tfor(int i = 0; i < week; i++) {\n\n\t\t\tdebt *= 1.05;\n\n\t\t\tif(debt % 1000 != 0) {\n\n\t\t\t\ttemp = ((debt / 1000) * 1000 + 1000);\n\t\t\t\tdebt = temp;\n\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.println(debt);\n\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\t//??????????????????????????°\n\tpublic static void main(String[] args) {\n\n\t\tint debt = 100000;\n\t\tint temp = 0;\n\t\tScanner stdin = new Scanner(System.in);\n\t\tint week = stdin.nextInt();\n\n\t\tfor(int i = 0; i < week; i++) {\n\n\t\t\tdebt *= 1.05;\n\n\t\t\tif(debt % 1000 != 0) {\n\n\t\t\t\ttemp = ((debt / 1000) * 1000 + 1000);\n\t\t\t\tdebt = temp;\n\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.println(debt);\n\n\t}\n\n}", "Main", "//??????????????????????????°\n\tpublic static void main(String[] args) {\n\n\t\tint debt = 100000;\n\t\tint temp = 0;\n\t\tScanner stdin = new Scanner(System.in);\n\t\tint week = stdin.nextInt();\n\n\t\tfor(int i = 0; i < week; i++) {\n\n\t\t\tdebt *= 1.05;\n\n\t\t\tif(debt % 1000 != 0) {\n\n\t\t\t\ttemp = ((debt / 1000) * 1000 + 1000);\n\t\t\t\tdebt = temp;\n\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.println(debt);\n\n\t}", "main", "{\n\n\t\tint debt = 100000;\n\t\tint temp = 0;\n\t\tScanner stdin = new Scanner(System.in);\n\t\tint week = stdin.nextInt();\n\n\t\tfor(int i = 0; i < week; i++) {\n\n\t\t\tdebt *= 1.05;\n\n\t\t\tif(debt % 1000 != 0) {\n\n\t\t\t\ttemp = ((debt / 1000) * 1000 + 1000);\n\t\t\t\tdebt = temp;\n\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.println(debt);\n\n\t}", "int debt = 100000;", "debt", "100000", "int temp = 0;", "temp", "0", "Scanner stdin = new Scanner(System.in);", "stdin", "new Scanner(System.in)", "int week = stdin.nextInt();", "week", "stdin.nextInt()", "stdin.nextInt", "stdin", "for(int i = 0; i < week; i++) {\n\n\t\t\tdebt *= 1.05;\n\n\t\t\tif(debt % 1000 != 0) {\n\n\t\t\t\ttemp = ((debt / 1000) * 1000 + 1000);\n\t\t\t\tdebt = temp;\n\n\t\t\t}\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < week", "i", "week", "i++", "i++", "i", "{\n\n\t\t\tdebt *= 1.05;\n\n\t\t\tif(debt % 1000 != 0) {\n\n\t\t\t\ttemp = ((debt / 1000) * 1000 + 1000);\n\t\t\t\tdebt = temp;\n\n\t\t\t}\n\n\t\t}", "{\n\n\t\t\tdebt *= 1.05;\n\n\t\t\tif(debt % 1000 != 0) {\n\n\t\t\t\ttemp = ((debt / 1000) * 1000 + 1000);\n\t\t\t\tdebt = temp;\n\n\t\t\t}\n\n\t\t}", "debt *= 1.05", "debt", "1.05", "if(debt % 1000 != 0) {\n\n\t\t\t\ttemp = ((debt / 1000) * 1000 + 1000);\n\t\t\t\tdebt = temp;\n\n\t\t\t}", "debt % 1000 != 0", "debt % 1000", "debt", "1000", "0", "{\n\n\t\t\t\ttemp = ((debt / 1000) * 1000 + 1000);\n\t\t\t\tdebt = temp;\n\n\t\t\t}", "temp = ((debt / 1000) * 1000 + 1000)", "temp", "((debt / 1000) * 1000 + 1000)", "(debt / 1000) * 1000", "(debt / 1000)", "debt", "1000", "1000", "1000", "debt = temp", "debt", "temp", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "String[] args", "args", "public class Main {\n\n\t//??????????????????????????°\n\tpublic static void main(String[] args) {\n\n\t\tint debt = 100000;\n\t\tint temp = 0;\n\t\tScanner stdin = new Scanner(System.in);\n\t\tint week = stdin.nextInt();\n\n\t\tfor(int i = 0; i < week; i++) {\n\n\t\t\tdebt *= 1.05;\n\n\t\t\tif(debt % 1000 != 0) {\n\n\t\t\t\ttemp = ((debt / 1000) * 1000 + 1000);\n\t\t\t\tdebt = temp;\n\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.println(debt);\n\n\t}\n\n}", "public class Main {\n\n\t//??????????????????????????°\n\tpublic static void main(String[] args) {\n\n\t\tint debt = 100000;\n\t\tint temp = 0;\n\t\tScanner stdin = new Scanner(System.in);\n\t\tint week = stdin.nextInt();\n\n\t\tfor(int i = 0; i < week; i++) {\n\n\t\t\tdebt *= 1.05;\n\n\t\t\tif(debt % 1000 != 0) {\n\n\t\t\t\ttemp = ((debt / 1000) * 1000 + 1000);\n\t\t\t\tdebt = temp;\n\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.println(debt);\n\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { //??????????????????????????° public static void main(String[] args) { int debt = 100000; int temp = 0; Scanner stdin = new Scanner(System.in); int week = stdin.nextInt(); for(int i = 0; i < week; i++) { debt *= 1.05; if(debt % 1000 != 0) { temp = ((debt / 1000) * 1000 + 1000); debt = temp; } } 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, 17, 0, 13, 4, 18, 13, 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 ], [ 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 ], [ 42, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 42, 52 ], [ 52, 53 ], [ 52, 54 ], [ 8, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 6, 61 ], [ 61, 62 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\tdouble debt = 100000;\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tdebt *= 1.05;\n\t\t\t// ?????????????????§????????´??????????????????\n\t\t\tif((long)debt % 1000 != 0) {\n\t\t\t\tdebt /= 1000;\n\t\t\t\tdebt = Math.ceil(debt);\n\t\t\t\tdebt *= 1000;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println((long)debt);\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\tint n = sc.nextInt();\n\n\t\tdouble debt = 100000;\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tdebt *= 1.05;\n\t\t\t// ?????????????????§????????´??????????????????\n\t\t\tif((long)debt % 1000 != 0) {\n\t\t\t\tdebt /= 1000;\n\t\t\t\tdebt = Math.ceil(debt);\n\t\t\t\tdebt *= 1000;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println((long)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\n\t\tdouble debt = 100000;\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tdebt *= 1.05;\n\t\t\t// ?????????????????§????????´??????????????????\n\t\t\tif((long)debt % 1000 != 0) {\n\t\t\t\tdebt /= 1000;\n\t\t\t\tdebt = Math.ceil(debt);\n\t\t\t\tdebt *= 1000;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println((long)debt);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\tdouble debt = 100000;\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tdebt *= 1.05;\n\t\t\t// ?????????????????§????????´??????????????????\n\t\t\tif((long)debt % 1000 != 0) {\n\t\t\t\tdebt /= 1000;\n\t\t\t\tdebt = Math.ceil(debt);\n\t\t\t\tdebt *= 1000;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println((long)debt);\n\t}", "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\t\t\tdebt *= 1.05;\n\t\t\t// ?????????????????§????????´??????????????????\n\t\t\tif((long)debt % 1000 != 0) {\n\t\t\t\tdebt /= 1000;\n\t\t\t\tdebt = Math.ceil(debt);\n\t\t\t\tdebt *= 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.05;\n\t\t\t// ?????????????????§????????´??????????????????\n\t\t\tif((long)debt % 1000 != 0) {\n\t\t\t\tdebt /= 1000;\n\t\t\t\tdebt = Math.ceil(debt);\n\t\t\t\tdebt *= 1000;\n\t\t\t}\n\t\t}", "{\n\t\t\tdebt *= 1.05;\n\t\t\t// ?????????????????§????????´??????????????????\n\t\t\tif((long)debt % 1000 != 0) {\n\t\t\t\tdebt /= 1000;\n\t\t\t\tdebt = Math.ceil(debt);\n\t\t\t\tdebt *= 1000;\n\t\t\t}\n\t\t}", "debt *= 1.05", "debt", "1.05", "if((long)debt % 1000 != 0) {\n\t\t\t\tdebt /= 1000;\n\t\t\t\tdebt = Math.ceil(debt);\n\t\t\t\tdebt *= 1000;\n\t\t\t}", "(long)debt % 1000 != 0", "(long)debt % 1000", "(long)debt", "1000", "0", "{\n\t\t\t\tdebt /= 1000;\n\t\t\t\tdebt = Math.ceil(debt);\n\t\t\t\tdebt *= 1000;\n\t\t\t}", "debt /= 1000", "debt", "1000", "debt = Math.ceil(debt)", "debt", "Math.ceil(debt)", "Math.ceil", "Math", "debt", "debt *= 1000", "debt", "1000", "System.out.println((long)debt)", "System.out.println", "System.out", "System", "System.out", "(long)debt", "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(); double debt = 100000; for(int i = 0; i < n; i++) { debt *= 1.05; // ?????????????????§????????´?????????????????? if((long)debt % 1000 != 0) { debt /= 1000; debt = Math.ceil(debt); debt *= 1000; } } System.out.println((long)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, 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, 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 ], [ 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 ], [ 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 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 51, 59 ], [ 59, 60 ], [ 59, 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.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\n\t\tint dept = 100000; // 10万円の借金\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdept *= 1.05; // 5%の利子\n\n\t\t\t// 1000未満を切り上げ\n\t\t\tif (dept % 1000 != 0) {\n\t\t\t\tdept = (dept / 1000) + 1;\n\t\t\t\tdept *= 1000;\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.println(dept);\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\n\t\tint dept = 100000; // 10万円の借金\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdept *= 1.05; // 5%の利子\n\n\t\t\t// 1000未満を切り上げ\n\t\t\tif (dept % 1000 != 0) {\n\t\t\t\tdept = (dept / 1000) + 1;\n\t\t\t\tdept *= 1000;\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.println(dept);\n\t}\n\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\n\t\tint dept = 100000; // 10万円の借金\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdept *= 1.05; // 5%の利子\n\n\t\t\t// 1000未満を切り上げ\n\t\t\tif (dept % 1000 != 0) {\n\t\t\t\tdept = (dept / 1000) + 1;\n\t\t\t\tdept *= 1000;\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.println(dept);\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\n\t\tint dept = 100000; // 10万円の借金\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdept *= 1.05; // 5%の利子\n\n\t\t\t// 1000未満を切り上げ\n\t\t\tif (dept % 1000 != 0) {\n\t\t\t\tdept = (dept / 1000) + 1;\n\t\t\t\tdept *= 1000;\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.println(dept);\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 dept = 100000;", "dept", "100000", "for (int i = 0; i < n; i++) {\n\t\t\tdept *= 1.05; // 5%の利子\n\n\t\t\t// 1000未満を切り上げ\n\t\t\tif (dept % 1000 != 0) {\n\t\t\t\tdept = (dept / 1000) + 1;\n\t\t\t\tdept *= 1000;\n\t\t\t}\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tdept *= 1.05; // 5%の利子\n\n\t\t\t// 1000未満を切り上げ\n\t\t\tif (dept % 1000 != 0) {\n\t\t\t\tdept = (dept / 1000) + 1;\n\t\t\t\tdept *= 1000;\n\t\t\t}\n\n\t\t}", "{\n\t\t\tdept *= 1.05; // 5%の利子\n\n\t\t\t// 1000未満を切り上げ\n\t\t\tif (dept % 1000 != 0) {\n\t\t\t\tdept = (dept / 1000) + 1;\n\t\t\t\tdept *= 1000;\n\t\t\t}\n\n\t\t}", "dept *= 1.05", "dept", "1.05", "if (dept % 1000 != 0) {\n\t\t\t\tdept = (dept / 1000) + 1;\n\t\t\t\tdept *= 1000;\n\t\t\t}", "dept % 1000 != 0", "dept % 1000", "dept", "1000", "0", "{\n\t\t\t\tdept = (dept / 1000) + 1;\n\t\t\t\tdept *= 1000;\n\t\t\t}", "dept = (dept / 1000) + 1", "dept", "(dept / 1000) + 1", "(dept / 1000)", "dept", "1000", "1", "dept *= 1000", "dept", "1000", "System.out.println(dept)", "System.out.println", "System.out", "System", "System.out", "dept", "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\n\t\tint dept = 100000; // 10万円の借金\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdept *= 1.05; // 5%の利子\n\n\t\t\t// 1000未満を切り上げ\n\t\t\tif (dept % 1000 != 0) {\n\t\t\t\tdept = (dept / 1000) + 1;\n\t\t\t\tdept *= 1000;\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.println(dept);\n\t}\n\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\n\t\tint dept = 100000; // 10万円の借金\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdept *= 1.05; // 5%の利子\n\n\t\t\t// 1000未満を切り上げ\n\t\t\tif (dept % 1000 != 0) {\n\t\t\t\tdept = (dept / 1000) + 1;\n\t\t\t\tdept *= 1000;\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.println(dept);\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); int dept = 100000; // 10万円の借金 for (int i = 0; i < n; i++) { dept *= 1.05; // 5%の利子 // 1000未満を切り上げ if (dept % 1000 != 0) { dept = (dept / 1000) + 1; dept *= 1000; } } System.out.println(dept); } }
[ 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, 14, 2, 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 ], [ 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 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\tint syakkin=100000;\n\tint n=sc.nextInt();\n\tfor(int i=0;i<n;i++){\n\t syakkin*=1.05;\n\t if(syakkin%1000!=0){\n\t\tsyakkin=((syakkin/1000)+1)*1000;\n\t }\n\t}\n\tSystem.out.println(syakkin);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\tint syakkin=100000;\n\tint n=sc.nextInt();\n\tfor(int i=0;i<n;i++){\n\t syakkin*=1.05;\n\t if(syakkin%1000!=0){\n\t\tsyakkin=((syakkin/1000)+1)*1000;\n\t }\n\t}\n\tSystem.out.println(syakkin);\n }\n}", "Main", "public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\tint syakkin=100000;\n\tint n=sc.nextInt();\n\tfor(int i=0;i<n;i++){\n\t syakkin*=1.05;\n\t if(syakkin%1000!=0){\n\t\tsyakkin=((syakkin/1000)+1)*1000;\n\t }\n\t}\n\tSystem.out.println(syakkin);\n }", "main", "{\n\tfinal Scanner sc=new Scanner(System.in);\n\tint syakkin=100000;\n\tint n=sc.nextInt();\n\tfor(int i=0;i<n;i++){\n\t syakkin*=1.05;\n\t if(syakkin%1000!=0){\n\t\tsyakkin=((syakkin/1000)+1)*1000;\n\t }\n\t}\n\tSystem.out.println(syakkin);\n }", "final Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int syakkin=100000;", "syakkin", "100000", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0;i<n;i++){\n\t syakkin*=1.05;\n\t if(syakkin%1000!=0){\n\t\tsyakkin=((syakkin/1000)+1)*1000;\n\t }\n\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t syakkin*=1.05;\n\t if(syakkin%1000!=0){\n\t\tsyakkin=((syakkin/1000)+1)*1000;\n\t }\n\t}", "{\n\t syakkin*=1.05;\n\t if(syakkin%1000!=0){\n\t\tsyakkin=((syakkin/1000)+1)*1000;\n\t }\n\t}", "syakkin*=1.05", "syakkin", "1.05", "if(syakkin%1000!=0){\n\t\tsyakkin=((syakkin/1000)+1)*1000;\n\t }", "syakkin%1000!=0", "syakkin%1000", "syakkin", "1000", "0", "{\n\t\tsyakkin=((syakkin/1000)+1)*1000;\n\t }", "syakkin=((syakkin/1000)+1)*1000", "syakkin", "((syakkin/1000)+1)*1000", "((syakkin/1000)+1)", "(syakkin/1000)", "syakkin", "1000", "1", "1000", "System.out.println(syakkin)", "System.out.println", "System.out", "System", "System.out", "syakkin", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ final Scanner sc=new Scanner(System.in); int syakkin=100000; int n=sc.nextInt(); for(int i=0;i<n;i++){ syakkin*=1.05; if(syakkin%1000!=0){ syakkin=((syakkin/1000)+1)*1000; } } System.out.println(syakkin); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 4, 18, 18, 13, 13, 4, 13, 17, 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, 17, 17, 17, 29, 13, 23, 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 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 9, 14 ], [ 14, 15 ], [ 14, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 6, 20 ], [ 20, 21 ], [ 62, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 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 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 47, 53 ], [ 43, 54 ], [ 24, 55 ], [ 55, 56 ], [ 22, 57 ], [ 57, 58 ], [ 22, 59 ], [ 59, 60 ], [ 0, 61 ], [ 61, 62 ], [ 61, 63 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String args[]) {\n System.out.println(\n calcDebt(100000.0, 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 + 0.05) / 1000.0) * 1000.0;\n }\n return (int)debt;\n }\n} ", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String args[]) {\n System.out.println(\n calcDebt(100000.0, 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 + 0.05) / 1000.0) * 1000.0;\n }\n return (int)debt;\n }\n}", "Main", "public static void main(String args[]) {\n System.out.println(\n calcDebt(100000.0, new Scanner(System.in).nextInt())\n );\n\n }", "main", "{\n System.out.println(\n calcDebt(100000.0, new Scanner(System.in).nextInt())\n );\n\n }", "System.out.println(\n calcDebt(100000.0, new Scanner(System.in).nextInt())\n )", "System.out.println", "System.out", "System", "System.out", "calcDebt(100000.0, new Scanner(System.in).nextInt())", "calcDebt", "100000.0", "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 + 0.05) / 1000.0) * 1000.0;\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 + 0.05) / 1000.0) * 1000.0;\n }\n return (int)debt;\n }", "double debt = firstDebt;", "debt", "firstDebt", "for(int i = 0; i< nWeeks; i++) {\n debt = Math.ceil(debt * (1 + 0.05) / 1000.0) * 1000.0;\n }", "int i = 0;", "int i = 0;", "i", "0", "i< nWeeks", "i", "nWeeks", "i++", "i++", "i", "{\n debt = Math.ceil(debt * (1 + 0.05) / 1000.0) * 1000.0;\n }", "{\n debt = Math.ceil(debt * (1 + 0.05) / 1000.0) * 1000.0;\n }", "debt = Math.ceil(debt * (1 + 0.05) / 1000.0) * 1000.0", "debt", "Math.ceil(debt * (1 + 0.05) / 1000.0) * 1000.0", "Math.ceil(debt * (1 + 0.05) / 1000.0)", "Math.ceil", "Math", "debt * (1 + 0.05) / 1000.0", "debt * (1 + 0.05)", "debt", "(1 + 0.05)", "1", "0.05", "1000.0", "1000.0", "return (int)debt;", "(int)debt", "double firstDebt", "firstDebt", "int nWeeks", "nWeeks", "public class Main {\n public static void main(String args[]) {\n System.out.println(\n calcDebt(100000.0, 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 + 0.05) / 1000.0) * 1000.0;\n }\n return (int)debt;\n }\n}", "public class Main {\n public static void main(String args[]) {\n System.out.println(\n calcDebt(100000.0, 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 + 0.05) / 1000.0) * 1000.0;\n }\n return (int)debt;\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String args[]) { System.out.println( calcDebt(100000.0, 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 + 0.05) / 1000.0) * 1000.0; } return (int)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, 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 ], [ 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 ], [ 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 ], [ 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 public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int ans = 100000;\n for(int i = 0; i < n; i++){\n ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000;\n }\n System.out.println(ans);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int ans = 100000;\n for(int i = 0; i < n; i++){\n ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000;\n }\n System.out.println(ans);\n }\n}", "Main", "public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int ans = 100000;\n for(int i = 0; i < n; i++){\n ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000;\n }\n System.out.println(ans);\n }", "main", "{\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int ans = 100000;\n for(int i = 0; i < n; i++){\n ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000;\n }\n System.out.println(ans);\n }", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "int ans = 100000;", "ans", "100000", "for(int i = 0; i < n; i++){\n ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000;\n }", "{\n ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000;\n }", "ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000", "ans", "(int)Math.ceil(ans * 1.05 / 1000) * 1000", "(int)Math.ceil(ans * 1.05 / 1000)", "Math.ceil", "Math", "ans * 1.05 / 1000", "ans * 1.05", "ans", "1.05", "1000", "1000", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int ans = 100000;\n for(int i = 0; i < n; i++){\n ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000;\n }\n System.out.println(ans);\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int ans = 100000;\n for(int i = 0; i < n; i++){\n ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000;\n }\n System.out.println(ans);\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); int n = in.nextInt(); int ans = 100000; for(int i = 0; i < n; i++){ ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000; } System.out.println(ans); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 13, 17, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 0, 13, 17, 41, 13, 2, 2, 13, 17, 2, 13, 17, 14, 2, 13, 17, 0, 13, 2, 2, 13, 17, 2, 13, 17, 29, 4, 13, 13, 40, 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 ], [ 86, 11 ], [ 86, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 28, 31 ], [ 14, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 12, 38 ], [ 38, 39 ], [ 86, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 42, 50 ], [ 50, 51 ], [ 50, 52 ], [ 42, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 59, 61 ], [ 42, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 72, 73 ], [ 72, 74 ], [ 42, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 76, 79 ], [ 79, 80 ], [ 40, 81 ], [ 81, 82 ], [ 40, 83 ], [ 83, 84 ], [ 0, 85 ], [ 85, 86 ], [ 85, 87 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader bufferedReader = new BufferedReader(\n new InputStreamReader(System.in));\n int intInputWeek = Integer.parseInt(bufferedReader.readLine());\n\n // 借金計算\n double totalDebt = calcDebt(100000, intInputWeek);\n System.out.println((int) totalDebt);\n }\n\n /**\n * 借金計算メソッド(週利0.05%)\n * @param debt 現在の借金\n * @param week 現在の残り週\n * @return 借金額\n */\n private static double calcDebt(double debt, int week) {\n if (week == 0) {\n return debt;\n }\n debt *= 1.05;\n\n // 1000円未満は切り上げる\n double debtPlus = debt / 1000 - (int) (debt / 1000);\n if (debtPlus > 0)\n debt = debt + 1000 - debtPlus * 1000;\n\n return calcDebt(debt, --week);\n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader bufferedReader = new BufferedReader(\n new InputStreamReader(System.in));\n int intInputWeek = Integer.parseInt(bufferedReader.readLine());\n\n // 借金計算\n double totalDebt = calcDebt(100000, intInputWeek);\n System.out.println((int) totalDebt);\n }\n\n /**\n * 借金計算メソッド(週利0.05%)\n * @param debt 現在の借金\n * @param week 現在の残り週\n * @return 借金額\n */\n private static double calcDebt(double debt, int week) {\n if (week == 0) {\n return debt;\n }\n debt *= 1.05;\n\n // 1000円未満は切り上げる\n double debtPlus = debt / 1000 - (int) (debt / 1000);\n if (debtPlus > 0)\n debt = debt + 1000 - debtPlus * 1000;\n\n return calcDebt(debt, --week);\n }\n\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader bufferedReader = new BufferedReader(\n new InputStreamReader(System.in));\n int intInputWeek = Integer.parseInt(bufferedReader.readLine());\n\n // 借金計算\n double totalDebt = calcDebt(100000, intInputWeek);\n System.out.println((int) totalDebt);\n }", "main", "{\n BufferedReader bufferedReader = new BufferedReader(\n new InputStreamReader(System.in));\n int intInputWeek = Integer.parseInt(bufferedReader.readLine());\n\n // 借金計算\n double totalDebt = calcDebt(100000, intInputWeek);\n System.out.println((int) totalDebt);\n }", "BufferedReader bufferedReader = new BufferedReader(\n new InputStreamReader(System.in));", "bufferedReader", "new BufferedReader(\n new InputStreamReader(System.in))", "int intInputWeek = Integer.parseInt(bufferedReader.readLine());", "intInputWeek", "Integer.parseInt(bufferedReader.readLine())", "Integer.parseInt", "Integer", "bufferedReader.readLine()", "bufferedReader.readLine", "bufferedReader", "double totalDebt = calcDebt(100000, intInputWeek);", "totalDebt", "calcDebt(100000, intInputWeek)", "calcDebt", "100000", "intInputWeek", "System.out.println((int) totalDebt)", "System.out.println", "System.out", "System", "System.out", "(int) totalDebt", "String[] args", "args", "/**\n * 借金計算メソッド(週利0.05%)\n * @param debt 現在の借金\n * @param week 現在の残り週\n * @return 借金額\n */\n private static double calcDebt(double debt, int week) {\n if (week == 0) {\n return debt;\n }\n debt *= 1.05;\n\n // 1000円未満は切り上げる\n double debtPlus = debt / 1000 - (int) (debt / 1000);\n if (debtPlus > 0)\n debt = debt + 1000 - debtPlus * 1000;\n\n return calcDebt(debt, --week);\n }", "calcDebt", "{\n if (week == 0) {\n return debt;\n }\n debt *= 1.05;\n\n // 1000円未満は切り上げる\n double debtPlus = debt / 1000 - (int) (debt / 1000);\n if (debtPlus > 0)\n debt = debt + 1000 - debtPlus * 1000;\n\n return calcDebt(debt, --week);\n }", "if (week == 0) {\n return debt;\n }", "week == 0", "week", "0", "{\n return debt;\n }", "return debt;", "debt", "debt *= 1.05", "debt", "1.05", "double debtPlus = debt / 1000 - (int) (debt / 1000);", "debtPlus", "debt / 1000 - (int) (debt / 1000)", "debt / 1000", "debt", "1000", "(int) (debt / 1000)", "debt", "1000", "if (debtPlus > 0)\n debt = debt + 1000 - debtPlus * 1000;", "debtPlus > 0", "debtPlus", "0", "debt = debt + 1000 - debtPlus * 1000", "debt", "debt + 1000 - debtPlus * 1000", "debt + 1000", "debt", "1000", "debtPlus * 1000", "debtPlus", "1000", "return calcDebt(debt, --week);", "calcDebt(debt, --week)", "calcDebt", "debt", "--week", "week", "double debt", "debt", "int week", "week", "public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader bufferedReader = new BufferedReader(\n new InputStreamReader(System.in));\n int intInputWeek = Integer.parseInt(bufferedReader.readLine());\n\n // 借金計算\n double totalDebt = calcDebt(100000, intInputWeek);\n System.out.println((int) totalDebt);\n }\n\n /**\n * 借金計算メソッド(週利0.05%)\n * @param debt 現在の借金\n * @param week 現在の残り週\n * @return 借金額\n */\n private static double calcDebt(double debt, int week) {\n if (week == 0) {\n return debt;\n }\n debt *= 1.05;\n\n // 1000円未満は切り上げる\n double debtPlus = debt / 1000 - (int) (debt / 1000);\n if (debtPlus > 0)\n debt = debt + 1000 - debtPlus * 1000;\n\n return calcDebt(debt, --week);\n }\n\n}", "public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader bufferedReader = new BufferedReader(\n new InputStreamReader(System.in));\n int intInputWeek = Integer.parseInt(bufferedReader.readLine());\n\n // 借金計算\n double totalDebt = calcDebt(100000, intInputWeek);\n System.out.println((int) totalDebt);\n }\n\n /**\n * 借金計算メソッド(週利0.05%)\n * @param debt 現在の借金\n * @param week 現在の残り週\n * @return 借金額\n */\n private static double calcDebt(double debt, int week) {\n if (week == 0) {\n return debt;\n }\n debt *= 1.05;\n\n // 1000円未満は切り上げる\n double debtPlus = debt / 1000 - (int) (debt / 1000);\n if (debtPlus > 0)\n debt = debt + 1000 - debtPlus * 1000;\n\n return calcDebt(debt, --week);\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader bufferedReader = new BufferedReader( new InputStreamReader(System.in)); int intInputWeek = Integer.parseInt(bufferedReader.readLine()); // 借金計算 double totalDebt = calcDebt(100000, intInputWeek); System.out.println((int) totalDebt); } /** * 借金計算メソッド(週利0.05%) * @param debt 現在の借金 * @param week 現在の残り週 * @return 借金額 */ private static double calcDebt(double debt, int week) { if (week == 0) { return debt; } debt *= 1.05; // 1000円未満は切り上げる double debtPlus = debt / 1000 - (int) (debt / 1000); if (debtPlus > 0) debt = debt + 1000 - debtPlus * 1000; return calcDebt(debt, --week); } }
[ 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, 2, 2, 13, 17, 17, 17, 4, 13, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 69, 5 ], [ 69, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 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 ], [ 52, 54 ], [ 6, 55 ], [ 55, 56 ], [ 69, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 57, 66 ], [ 66, 67 ], [ 0, 68 ], [ 68, 69 ], [ 68, 70 ] ]
[ "import java.util.*;\n \npublic class Main {\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\t\n\t\tint ans = 100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tans *= 1.05;\n\t\t\tif(ans%1000>0){\n\t\t\t\tans = ((ans/1000)+1) * 1000;\n\t\t\t}\n\t\t}\n\t\tcout(ans);\n\t}\n\t\n\t\n\t\n\tpublic static void cout(int n){\n\t\tSystem.out.println(n);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\t\n\t\tint ans = 100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tans *= 1.05;\n\t\t\tif(ans%1000>0){\n\t\t\t\tans = ((ans/1000)+1) * 1000;\n\t\t\t}\n\t\t}\n\t\tcout(ans);\n\t}\n\t\n\t\n\t\n\tpublic static void cout(int n){\n\t\tSystem.out.println(n);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\t\n\t\tint ans = 100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tans *= 1.05;\n\t\t\tif(ans%1000>0){\n\t\t\t\tans = ((ans/1000)+1) * 1000;\n\t\t\t}\n\t\t}\n\t\tcout(ans);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\t\n\t\tint ans = 100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tans *= 1.05;\n\t\t\tif(ans%1000>0){\n\t\t\t\tans = ((ans/1000)+1) * 1000;\n\t\t\t}\n\t\t}\n\t\tcout(ans);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int ans = 100000;", "ans", "100000", "for(int i=0;i<n;i++){\n\t\t\tans *= 1.05;\n\t\t\tif(ans%1000>0){\n\t\t\t\tans = ((ans/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\tans *= 1.05;\n\t\t\tif(ans%1000>0){\n\t\t\t\tans = ((ans/1000)+1) * 1000;\n\t\t\t}\n\t\t}", "{\n\t\t\tans *= 1.05;\n\t\t\tif(ans%1000>0){\n\t\t\t\tans = ((ans/1000)+1) * 1000;\n\t\t\t}\n\t\t}", "ans *= 1.05", "ans", "1.05", "if(ans%1000>0){\n\t\t\t\tans = ((ans/1000)+1) * 1000;\n\t\t\t}", "ans%1000>0", "ans%1000", "ans", "1000", "0", "{\n\t\t\t\tans = ((ans/1000)+1) * 1000;\n\t\t\t}", "ans = ((ans/1000)+1) * 1000", "ans", "((ans/1000)+1) * 1000", "((ans/1000)+1)", "(ans/1000)", "ans", "1000", "1", "1000", "cout(ans)", "cout", "ans", "String[] args", "args", "public static void cout(int n){\n\t\tSystem.out.println(n);\n\t}", "cout", "{\n\t\tSystem.out.println(n);\n\t}", "System.out.println(n)", "System.out.println", "System.out", "System", "System.out", "n", "int n", "n", "public class Main {\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\t\n\t\tint ans = 100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tans *= 1.05;\n\t\t\tif(ans%1000>0){\n\t\t\t\tans = ((ans/1000)+1) * 1000;\n\t\t\t}\n\t\t}\n\t\tcout(ans);\n\t}\n\t\n\t\n\t\n\tpublic static void cout(int n){\n\t\tSystem.out.println(n);\n\t}\n}", "public class Main {\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\t\n\t\tint ans = 100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tans *= 1.05;\n\t\t\tif(ans%1000>0){\n\t\t\t\tans = ((ans/1000)+1) * 1000;\n\t\t\t}\n\t\t}\n\t\tcout(ans);\n\t}\n\t\n\t\n\t\n\tpublic static void cout(int n){\n\t\tSystem.out.println(n);\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int ans = 100000; for(int i=0;i<n;i++){ ans *= 1.05; if(ans%1000>0){ ans = ((ans/1000)+1) * 1000; } } cout(ans); } public static void cout(int n){ System.out.println(n); } }
[ 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, 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 ], [ 52, 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 ], [ 35, 38 ], [ 38, 39 ], [ 38, 40 ], [ 11, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 9, 49 ], [ 49, 50 ], [ 0, 51 ], [ 51, 52 ], [ 51, 53 ] ]
[ "import java.util.*;\n\npublic class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int n = scn.nextInt();\n double d = 100;\n for(int i = 0; i < n; i++) {\n d = Math.ceil(d * 1.05);\n }\n System.out.println((int)d * 1000);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int n = scn.nextInt();\n double d = 100;\n for(int i = 0; i < n; i++) {\n d = Math.ceil(d * 1.05);\n }\n System.out.println((int)d * 1000);\n }\n}", "Main", "private static final Scanner scn = new Scanner(System.in);", "scn", "new Scanner(System.in)", "public static void main(String[] args) {\n int n = scn.nextInt();\n double d = 100;\n for(int i = 0; i < n; i++) {\n d = Math.ceil(d * 1.05);\n }\n System.out.println((int)d * 1000);\n }", "main", "{\n int n = scn.nextInt();\n double d = 100;\n for(int i = 0; i < n; i++) {\n d = Math.ceil(d * 1.05);\n }\n System.out.println((int)d * 1000);\n }", "int n = scn.nextInt();", "n", "scn.nextInt()", "scn.nextInt", "scn", "double d = 100;", "d", "100", "for(int i = 0; i < n; i++) {\n d = Math.ceil(d * 1.05);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n d = Math.ceil(d * 1.05);\n }", "{\n d = Math.ceil(d * 1.05);\n }", "d = Math.ceil(d * 1.05)", "d", "Math.ceil(d * 1.05)", "Math.ceil", "Math", "d * 1.05", "d", "1.05", "System.out.println((int)d * 1000)", "System.out.println", "System.out", "System", "System.out", "(int)d * 1000", "(int)d", "1000", "String[] args", "args", "public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int n = scn.nextInt();\n double d = 100;\n for(int i = 0; i < n; i++) {\n d = Math.ceil(d * 1.05);\n }\n System.out.println((int)d * 1000);\n }\n}", "public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int n = scn.nextInt();\n double d = 100;\n for(int i = 0; i < n; i++) {\n d = Math.ceil(d * 1.05);\n }\n System.out.println((int)d * 1000);\n }\n}", "Main" ]
import java.util.*; public class Main { private static final Scanner scn = new Scanner(System.in); public static void main(String[] args) { int n = scn.nextInt(); double d = 100; for(int i = 0; i < n; i++) { d = Math.ceil(d * 1.05); } System.out.println((int)d * 1000); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 41, 13, 12, 13, 30, 0, 13, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 23, 13, 12, 13, 30, 41, 13, 2, 13, 13, 11, 1, 2, 13, 17, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 2, 13, 13, 29, 2, 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 ], [ 76, 11 ], [ 76, 12 ], [ 12, 13 ], [ 12, 14 ], [ 76, 15 ], [ 15, 16 ], [ 15, 17 ], [ 76, 18 ], [ 18, 19 ], [ 18, 20 ], [ 76, 21 ], [ 21, 22 ], [ 76, 23 ], [ 23, 24 ], [ 76, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 34, 35 ], [ 27, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 25, 43 ], [ 43, 44 ], [ 76, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 47, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 59, 60 ], [ 53, 61 ], [ 62, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 68, 69 ], [ 68, 70 ], [ 47, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 0, 75 ], [ 75, 76 ], [ 75, 77 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n/**\n * @author Yuki\n */\npublic class Main {\n\n\t/*** 利子 */\n\tprivate final static double INTEREST = 1.05;\n\t/*** 切り上げ額 */\n\tprivate final static double REVALUATION = 1000;\n\t/*** 借金 */\n\tprivate static int debt = 100000;\n\t/*** 文字型入力ストリーム(標準入力) */\n\tprivate static BufferedReader br;\n\t/*** 週 */\n\tprivate static int weekNum;\n\n\t/*** 初期化 */\n\tstatic {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t}\n\n\t/**\n\t * メインメソッド<br>\n\t * 借金の残高を出力する\n\t *\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tweekNum = Integer.parseInt(br.readLine());\t// 週を取得\n\n\t\tSystem.out.println(getTotalDept());\t// 借金の残高の出力\n\n\t}\n\n\t/**\n\t * 借金の残高を取得する 利子をかけた週の合計の借金を計算して返す\n\t *\n\t * @return 借金の残高\n\t */\n\tprivate static int getTotalDept() {\n\t\tdouble debtTemp = debt / REVALUATION;\n\t\tfor (; weekNum > 0; weekNum--) {\n\t\t\tdebtTemp = Math.ceil(debtTemp * INTEREST); // 切り上げ\n\t\t}\n\t\treturn (int) (debtTemp * REVALUATION);\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\t/*** 利子 */\n\tprivate final static double INTEREST = 1.05;\n\t/*** 切り上げ額 */\n\tprivate final static double REVALUATION = 1000;\n\t/*** 借金 */\n\tprivate static int debt = 100000;\n\t/*** 文字型入力ストリーム(標準入力) */\n\tprivate static BufferedReader br;\n\t/*** 週 */\n\tprivate static int weekNum;\n\n\t/*** 初期化 */\n\tstatic {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t}\n\n\t/**\n\t * メインメソッド<br>\n\t * 借金の残高を出力する\n\t *\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tweekNum = Integer.parseInt(br.readLine());\t// 週を取得\n\n\t\tSystem.out.println(getTotalDept());\t// 借金の残高の出力\n\n\t}\n\n\t/**\n\t * 借金の残高を取得する 利子をかけた週の合計の借金を計算して返す\n\t *\n\t * @return 借金の残高\n\t */\n\tprivate static int getTotalDept() {\n\t\tdouble debtTemp = debt / REVALUATION;\n\t\tfor (; weekNum > 0; weekNum--) {\n\t\t\tdebtTemp = Math.ceil(debtTemp * INTEREST); // 切り上げ\n\t\t}\n\t\treturn (int) (debtTemp * REVALUATION);\n\t}\n\n}", "Main", "/*** 利子 */\n\tprivate final static double INTEREST = 1.05;", "INTEREST", "1.05", "/*** 切り上げ額 */\n\tprivate final static double REVALUATION = 1000;", "REVALUATION", "1000", "/*** 借金 */\n\tprivate static int debt = 100000;", "debt", "100000", "/*** 文字型入力ストリーム(標準入力) */\n\tprivate static BufferedReader br;", "br", "/*** 週 */\n\tprivate static int weekNum;", "weekNum", "/**\n\t * メインメソッド<br>\n\t * 借金の残高を出力する\n\t *\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tweekNum = Integer.parseInt(br.readLine());\t// 週を取得\n\n\t\tSystem.out.println(getTotalDept());\t// 借金の残高の出力\n\n\t}", "main", "{\n\n\t\tweekNum = Integer.parseInt(br.readLine());\t// 週を取得\n\n\t\tSystem.out.println(getTotalDept());\t// 借金の残高の出力\n\n\t}", "weekNum = Integer.parseInt(br.readLine())", "weekNum", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "System.out.println(getTotalDept())", "System.out.println", "System.out", "System", "System.out", "getTotalDept()", "getTotalDept", "String[] args", "args", "/**\n\t * 借金の残高を取得する 利子をかけた週の合計の借金を計算して返す\n\t *\n\t * @return 借金の残高\n\t */\n\tprivate static int getTotalDept() {\n\t\tdouble debtTemp = debt / REVALUATION;\n\t\tfor (; weekNum > 0; weekNum--) {\n\t\t\tdebtTemp = Math.ceil(debtTemp * INTEREST); // 切り上げ\n\t\t}\n\t\treturn (int) (debtTemp * REVALUATION);\n\t}", "getTotalDept", "{\n\t\tdouble debtTemp = debt / REVALUATION;\n\t\tfor (; weekNum > 0; weekNum--) {\n\t\t\tdebtTemp = Math.ceil(debtTemp * INTEREST); // 切り上げ\n\t\t}\n\t\treturn (int) (debtTemp * REVALUATION);\n\t}", "double debtTemp = debt / REVALUATION;", "debtTemp", "debt / REVALUATION", "debt", "REVALUATION", "for (; weekNum > 0; weekNum--) {\n\t\t\tdebtTemp = Math.ceil(debtTemp * INTEREST); // 切り上げ\n\t\t}", ";", "weekNum > 0", "weekNum", "0", "weekNum--", "weekNum--", "weekNum", "{\n\t\t\tdebtTemp = Math.ceil(debtTemp * INTEREST); // 切り上げ\n\t\t}", "{\n\t\t\tdebtTemp = Math.ceil(debtTemp * INTEREST); // 切り上げ\n\t\t}", "debtTemp = Math.ceil(debtTemp * INTEREST)", "debtTemp", "Math.ceil(debtTemp * INTEREST)", "Math.ceil", "Math", "debtTemp * INTEREST", "debtTemp", "INTEREST", "return (int) (debtTemp * REVALUATION);", "(int) (debtTemp * REVALUATION)", "debtTemp", "REVALUATION", "public class Main {\n\n\t/*** 利子 */\n\tprivate final static double INTEREST = 1.05;\n\t/*** 切り上げ額 */\n\tprivate final static double REVALUATION = 1000;\n\t/*** 借金 */\n\tprivate static int debt = 100000;\n\t/*** 文字型入力ストリーム(標準入力) */\n\tprivate static BufferedReader br;\n\t/*** 週 */\n\tprivate static int weekNum;\n\n\t/*** 初期化 */\n\tstatic {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t}\n\n\t/**\n\t * メインメソッド<br>\n\t * 借金の残高を出力する\n\t *\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tweekNum = Integer.parseInt(br.readLine());\t// 週を取得\n\n\t\tSystem.out.println(getTotalDept());\t// 借金の残高の出力\n\n\t}\n\n\t/**\n\t * 借金の残高を取得する 利子をかけた週の合計の借金を計算して返す\n\t *\n\t * @return 借金の残高\n\t */\n\tprivate static int getTotalDept() {\n\t\tdouble debtTemp = debt / REVALUATION;\n\t\tfor (; weekNum > 0; weekNum--) {\n\t\t\tdebtTemp = Math.ceil(debtTemp * INTEREST); // 切り上げ\n\t\t}\n\t\treturn (int) (debtTemp * REVALUATION);\n\t}\n\n}", "public class Main {\n\n\t/*** 利子 */\n\tprivate final static double INTEREST = 1.05;\n\t/*** 切り上げ額 */\n\tprivate final static double REVALUATION = 1000;\n\t/*** 借金 */\n\tprivate static int debt = 100000;\n\t/*** 文字型入力ストリーム(標準入力) */\n\tprivate static BufferedReader br;\n\t/*** 週 */\n\tprivate static int weekNum;\n\n\t/*** 初期化 */\n\tstatic {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t}\n\n\t/**\n\t * メインメソッド<br>\n\t * 借金の残高を出力する\n\t *\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tweekNum = Integer.parseInt(br.readLine());\t// 週を取得\n\n\t\tSystem.out.println(getTotalDept());\t// 借金の残高の出力\n\n\t}\n\n\t/**\n\t * 借金の残高を取得する 利子をかけた週の合計の借金を計算して返す\n\t *\n\t * @return 借金の残高\n\t */\n\tprivate static int getTotalDept() {\n\t\tdouble debtTemp = debt / REVALUATION;\n\t\tfor (; weekNum > 0; weekNum--) {\n\t\t\tdebtTemp = Math.ceil(debtTemp * INTEREST); // 切り上げ\n\t\t}\n\t\treturn (int) (debtTemp * REVALUATION);\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /** * @author Yuki */ public class Main { /*** 利子 */ private final static double INTEREST = 1.05; /*** 切り上げ額 */ private final static double REVALUATION = 1000; /*** 借金 */ private static int debt = 100000; /*** 文字型入力ストリーム(標準入力) */ private static BufferedReader br; /*** 週 */ private static int weekNum; /*** 初期化 */ static { br = new BufferedReader(new InputStreamReader(System.in)); } /** * メインメソッド<br> * 借金の残高を出力する * */ public static void main(String[] args) throws IOException { weekNum = Integer.parseInt(br.readLine()); // 週を取得 System.out.println(getTotalDept()); // 借金の残高の出力 } /** * 借金の残高を取得する 利子をかけた週の合計の借金を計算して返す * * @return 借金の残高 */ private static int getTotalDept() { double debtTemp = debt / REVALUATION; for (; weekNum > 0; weekNum--) { debtTemp = Math.ceil(debtTemp * INTEREST); // 切り上げ } return (int) (debtTemp * REVALUATION); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 0, 13, 2, 13, 17, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 77, 11 ], [ 77, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 14, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 32, 42 ], [ 42, 43 ], [ 43, 44 ], [ 32, 45 ], [ 46, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 52, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 61, 67 ], [ 14, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 12, 74 ], [ 74, 75 ], [ 0, 76 ], [ 76, 77 ], [ 76, 78 ] ]
[ "import java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n int n = Integer.parseInt(s);\n double tot = 100000;\n for (int i=1; i < n+1; i++){\n tot = tot * 1.05;\n if (tot%1000 != 0){\n tot = tot - tot%1000 + 1000;\n }\n }\n System.out.println((int)tot);\n }\n}", "import java.io.IOException;", "IOException", "java.io", "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 IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n int n = Integer.parseInt(s);\n double tot = 100000;\n for (int i=1; i < n+1; i++){\n tot = tot * 1.05;\n if (tot%1000 != 0){\n tot = tot - tot%1000 + 1000;\n }\n }\n System.out.println((int)tot);\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n int n = Integer.parseInt(s);\n double tot = 100000;\n for (int i=1; i < n+1; i++){\n tot = tot * 1.05;\n if (tot%1000 != 0){\n tot = tot - tot%1000 + 1000;\n }\n }\n System.out.println((int)tot);\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n int n = Integer.parseInt(s);\n double tot = 100000;\n for (int i=1; i < n+1; i++){\n tot = tot * 1.05;\n if (tot%1000 != 0){\n tot = tot - tot%1000 + 1000;\n }\n }\n System.out.println((int)tot);\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String s = br.readLine();", "s", "br.readLine()", "br.readLine", "br", "int n = Integer.parseInt(s);", "n", "Integer.parseInt(s)", "Integer.parseInt", "Integer", "s", "double tot = 100000;", "tot", "100000", "for (int i=1; i < n+1; i++){\n tot = tot * 1.05;\n if (tot%1000 != 0){\n tot = tot - tot%1000 + 1000;\n }\n }", "int i=1;", "int i=1;", "i", "1", "i < n+1", "i", "n+1", "n", "1", "i++", "i++", "i", "{\n tot = tot * 1.05;\n if (tot%1000 != 0){\n tot = tot - tot%1000 + 1000;\n }\n }", "{\n tot = tot * 1.05;\n if (tot%1000 != 0){\n tot = tot - tot%1000 + 1000;\n }\n }", "tot = tot * 1.05", "tot", "tot * 1.05", "tot", "1.05", "if (tot%1000 != 0){\n tot = tot - tot%1000 + 1000;\n }", "tot%1000 != 0", "tot%1000", "tot", "1000", "0", "{\n tot = tot - tot%1000 + 1000;\n }", "tot = tot - tot%1000 + 1000", "tot", "tot - tot%1000 + 1000", "tot - tot%1000", "tot", "tot%1000", "tot", "1000", "1000", "System.out.println((int)tot)", "System.out.println", "System.out", "System", "System.out", "(int)tot", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n int n = Integer.parseInt(s);\n double tot = 100000;\n for (int i=1; i < n+1; i++){\n tot = tot * 1.05;\n if (tot%1000 != 0){\n tot = tot - tot%1000 + 1000;\n }\n }\n System.out.println((int)tot);\n }\n}", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n int n = Integer.parseInt(s);\n double tot = 100000;\n for (int i=1; i < n+1; i++){\n tot = tot * 1.05;\n if (tot%1000 != 0){\n tot = tot - tot%1000 + 1000;\n }\n }\n System.out.println((int)tot);\n }\n}", "Main" ]
import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String s = br.readLine(); int n = Integer.parseInt(s); double tot = 100000; for (int i=1; i < n+1; i++){ tot = tot * 1.05; if (tot%1000 != 0){ tot = tot - tot%1000 + 1000; } } System.out.println((int)tot); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 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, 2, 2, 13, 2, 13, 17, 17, 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 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 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 ], [ 40, 41 ], [ 40, 42 ], [ 37, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 52, 58 ], [ 37, 59 ], [ 59, 60 ], [ 59, 61 ], [ 11, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 9, 68 ], [ 68, 69 ] ]
[ "import java.util.Scanner;\nimport java.util.Date;\n\nclass Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\n\tint debt=100000;\n\tdouble temp;\n\n\tint n=sc.nextInt();\n\t\n \tfor(int i=0;i<n;i++){\n\t temp=debt*1.05;\n\t if(temp%1000>0){\n\t\ttemp=temp-temp%1000+1000;\n\t }\n\t debt=(int)temp;\n \t}\n\tSystem.out.println(debt);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Date;", "Date", "java.util", "class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\n\tint debt=100000;\n\tdouble temp;\n\n\tint n=sc.nextInt();\n\t\n \tfor(int i=0;i<n;i++){\n\t temp=debt*1.05;\n\t if(temp%1000>0){\n\t\ttemp=temp-temp%1000+1000;\n\t }\n\t debt=(int)temp;\n \t}\n\tSystem.out.println(debt);\n }\n}", "Main", "public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\n\tint debt=100000;\n\tdouble temp;\n\n\tint n=sc.nextInt();\n\t\n \tfor(int i=0;i<n;i++){\n\t temp=debt*1.05;\n\t if(temp%1000>0){\n\t\ttemp=temp-temp%1000+1000;\n\t }\n\t debt=(int)temp;\n \t}\n\tSystem.out.println(debt);\n }", "main", "{\n\tScanner sc = new Scanner(System.in);\n\n\tint debt=100000;\n\tdouble temp;\n\n\tint n=sc.nextInt();\n\t\n \tfor(int i=0;i<n;i++){\n\t temp=debt*1.05;\n\t if(temp%1000>0){\n\t\ttemp=temp-temp%1000+1000;\n\t }\n\t debt=(int)temp;\n \t}\n\tSystem.out.println(debt);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int debt=100000;", "debt", "100000", "double temp;", "temp", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0;i<n;i++){\n\t temp=debt*1.05;\n\t if(temp%1000>0){\n\t\ttemp=temp-temp%1000+1000;\n\t }\n\t debt=(int)temp;\n \t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t temp=debt*1.05;\n\t if(temp%1000>0){\n\t\ttemp=temp-temp%1000+1000;\n\t }\n\t debt=(int)temp;\n \t}", "{\n\t temp=debt*1.05;\n\t if(temp%1000>0){\n\t\ttemp=temp-temp%1000+1000;\n\t }\n\t debt=(int)temp;\n \t}", "temp=debt*1.05", "temp", "debt*1.05", "debt", "1.05", "if(temp%1000>0){\n\t\ttemp=temp-temp%1000+1000;\n\t }", "temp%1000>0", "temp%1000", "temp", "1000", "0", "{\n\t\ttemp=temp-temp%1000+1000;\n\t }", "temp=temp-temp%1000+1000", "temp", "temp-temp%1000+1000", "temp-temp%1000", "temp", "temp%1000", "temp", "1000", "1000", "debt=(int)temp", "debt", "(int)temp", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "String[] args", "args" ]
import java.util.Scanner; import java.util.Date; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int debt=100000; double temp; int n=sc.nextInt(); for(int i=0;i<n;i++){ temp=debt*1.05; if(temp%1000>0){ temp=temp-temp%1000+1000; } debt=(int)temp; } System.out.println(debt); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 12, 13, 30, 41, 13, 20, 4, 18, 20, 4, 18, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 13, 14, 2, 2, 13, 13, 17, 30, 0, 13, 2, 13, 2, 2, 13, 13, 17, 30, 0, 13, 2, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 87, 8 ], [ 87, 9 ], [ 9, 10 ], [ 9, 11 ], [ 87, 12 ], [ 12, 13 ], [ 12, 14 ], [ 87, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 22, 23 ], [ 21, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 27, 28 ], [ 28, 29 ], [ 15, 30 ], [ 30, 31 ], [ 87, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 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 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 54, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 54, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 34, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 32, 84 ], [ 84, 85 ], [ 0, 86 ], [ 86, 87 ], [ 86, 88 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\t// 繰り上げ金額の単位(円)\n\tprivate static final int ROUND_UNIT = 1000;\n\n\t// 利子\n\tprivate static final double LOAN_INTEREST = 1.05;\n\n\t/**\n\t * 返済額計算実行\n\t */\n\tpublic static void main(String[] args) throws Exception {\n\n\t\t// 標準入力\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\n\t\t// 返済額の計算\n\t\tnew Main().calcAmountRepaid(Integer.parseInt(reader.readLine()));\n\t}\n\n\t/**\n\t * 返済額計算\n\t */\n\tprivate void calcAmountRepaid(int weekNum) {\n\n\t\t// 借金10万円を初期値とする\n\t\tint debt = 100000;\n\n\t\t// 週単位で返済額を計算\n\t\tfor (int i = 0; i < weekNum; i++) {\n\n\t\t\t// 利子込みの返済額を計算\n\t\t\tdebt *= LOAN_INTEREST;\n\n\t\t\t// 計算結果から1000円未満を切り上げ\n\t\t\tif (debt % ROUND_UNIT != 0) {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT + 1);\n\t\t\t} else {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT);\n\t\t\t}\n\n\t\t}\n\n\t\t// 結果出力\n\t\tSystem.out.println(debt);\n\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\t// 繰り上げ金額の単位(円)\n\tprivate static final int ROUND_UNIT = 1000;\n\n\t// 利子\n\tprivate static final double LOAN_INTEREST = 1.05;\n\n\t/**\n\t * 返済額計算実行\n\t */\n\tpublic static void main(String[] args) throws Exception {\n\n\t\t// 標準入力\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\n\t\t// 返済額の計算\n\t\tnew Main().calcAmountRepaid(Integer.parseInt(reader.readLine()));\n\t}\n\n\t/**\n\t * 返済額計算\n\t */\n\tprivate void calcAmountRepaid(int weekNum) {\n\n\t\t// 借金10万円を初期値とする\n\t\tint debt = 100000;\n\n\t\t// 週単位で返済額を計算\n\t\tfor (int i = 0; i < weekNum; i++) {\n\n\t\t\t// 利子込みの返済額を計算\n\t\t\tdebt *= LOAN_INTEREST;\n\n\t\t\t// 計算結果から1000円未満を切り上げ\n\t\t\tif (debt % ROUND_UNIT != 0) {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT + 1);\n\t\t\t} else {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT);\n\t\t\t}\n\n\t\t}\n\n\t\t// 結果出力\n\t\tSystem.out.println(debt);\n\n\t}\n\n}", "Main", "// 繰り上げ金額の単位(円)\n\tprivate static final int ROUND_UNIT = 1000;", "ROUND_UNIT", "1000", "// 利子\n\tprivate static final double LOAN_INTEREST = 1.05;", "LOAN_INTEREST", "1.05", "/**\n\t * 返済額計算実行\n\t */\n\tpublic static void main(String[] args) throws Exception {\n\n\t\t// 標準入力\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\n\t\t// 返済額の計算\n\t\tnew Main().calcAmountRepaid(Integer.parseInt(reader.readLine()));\n\t}", "main", "{\n\n\t\t// 標準入力\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\n\t\t// 返済額の計算\n\t\tnew Main().calcAmountRepaid(Integer.parseInt(reader.readLine()));\n\t}", "BufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));", "reader", "new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))", "new Main().calcAmountRepaid(Integer.parseInt(reader.readLine()))", "new Main().calcAmountRepaid", "new Main()", "Integer.parseInt(reader.readLine())", "Integer.parseInt", "Integer", "reader.readLine()", "reader.readLine", "reader", "String[] args", "args", "/**\n\t * 返済額計算\n\t */\n\tprivate void calcAmountRepaid(int weekNum) {\n\n\t\t// 借金10万円を初期値とする\n\t\tint debt = 100000;\n\n\t\t// 週単位で返済額を計算\n\t\tfor (int i = 0; i < weekNum; i++) {\n\n\t\t\t// 利子込みの返済額を計算\n\t\t\tdebt *= LOAN_INTEREST;\n\n\t\t\t// 計算結果から1000円未満を切り上げ\n\t\t\tif (debt % ROUND_UNIT != 0) {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT + 1);\n\t\t\t} else {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT);\n\t\t\t}\n\n\t\t}\n\n\t\t// 結果出力\n\t\tSystem.out.println(debt);\n\n\t}", "calcAmountRepaid", "{\n\n\t\t// 借金10万円を初期値とする\n\t\tint debt = 100000;\n\n\t\t// 週単位で返済額を計算\n\t\tfor (int i = 0; i < weekNum; i++) {\n\n\t\t\t// 利子込みの返済額を計算\n\t\t\tdebt *= LOAN_INTEREST;\n\n\t\t\t// 計算結果から1000円未満を切り上げ\n\t\t\tif (debt % ROUND_UNIT != 0) {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT + 1);\n\t\t\t} else {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT);\n\t\t\t}\n\n\t\t}\n\n\t\t// 結果出力\n\t\tSystem.out.println(debt);\n\n\t}", "int debt = 100000;", "debt", "100000", "for (int i = 0; i < weekNum; i++) {\n\n\t\t\t// 利子込みの返済額を計算\n\t\t\tdebt *= LOAN_INTEREST;\n\n\t\t\t// 計算結果から1000円未満を切り上げ\n\t\t\tif (debt % ROUND_UNIT != 0) {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT + 1);\n\t\t\t} else {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT);\n\t\t\t}\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < weekNum", "i", "weekNum", "i++", "i++", "i", "{\n\n\t\t\t// 利子込みの返済額を計算\n\t\t\tdebt *= LOAN_INTEREST;\n\n\t\t\t// 計算結果から1000円未満を切り上げ\n\t\t\tif (debt % ROUND_UNIT != 0) {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT + 1);\n\t\t\t} else {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT);\n\t\t\t}\n\n\t\t}", "{\n\n\t\t\t// 利子込みの返済額を計算\n\t\t\tdebt *= LOAN_INTEREST;\n\n\t\t\t// 計算結果から1000円未満を切り上げ\n\t\t\tif (debt % ROUND_UNIT != 0) {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT + 1);\n\t\t\t} else {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT);\n\t\t\t}\n\n\t\t}", "debt *= LOAN_INTEREST", "debt", "LOAN_INTEREST", "if (debt % ROUND_UNIT != 0) {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT + 1);\n\t\t\t} else {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT);\n\t\t\t}", "debt % ROUND_UNIT != 0", "debt % ROUND_UNIT", "debt", "ROUND_UNIT", "0", "{\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT + 1);\n\t\t\t}", "debt = ROUND_UNIT * (debt / ROUND_UNIT + 1)", "debt", "ROUND_UNIT * (debt / ROUND_UNIT + 1)", "ROUND_UNIT", "(debt / ROUND_UNIT + 1)", "debt / ROUND_UNIT", "debt", "ROUND_UNIT", "1", "{\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT);\n\t\t\t}", "debt = ROUND_UNIT * (debt / ROUND_UNIT)", "debt", "ROUND_UNIT * (debt / ROUND_UNIT)", "ROUND_UNIT", "(debt / ROUND_UNIT)", "debt", "ROUND_UNIT", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "int weekNum", "weekNum", "public class Main {\n\n\t// 繰り上げ金額の単位(円)\n\tprivate static final int ROUND_UNIT = 1000;\n\n\t// 利子\n\tprivate static final double LOAN_INTEREST = 1.05;\n\n\t/**\n\t * 返済額計算実行\n\t */\n\tpublic static void main(String[] args) throws Exception {\n\n\t\t// 標準入力\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\n\t\t// 返済額の計算\n\t\tnew Main().calcAmountRepaid(Integer.parseInt(reader.readLine()));\n\t}\n\n\t/**\n\t * 返済額計算\n\t */\n\tprivate void calcAmountRepaid(int weekNum) {\n\n\t\t// 借金10万円を初期値とする\n\t\tint debt = 100000;\n\n\t\t// 週単位で返済額を計算\n\t\tfor (int i = 0; i < weekNum; i++) {\n\n\t\t\t// 利子込みの返済額を計算\n\t\t\tdebt *= LOAN_INTEREST;\n\n\t\t\t// 計算結果から1000円未満を切り上げ\n\t\t\tif (debt % ROUND_UNIT != 0) {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT + 1);\n\t\t\t} else {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT);\n\t\t\t}\n\n\t\t}\n\n\t\t// 結果出力\n\t\tSystem.out.println(debt);\n\n\t}\n\n}", "public class Main {\n\n\t// 繰り上げ金額の単位(円)\n\tprivate static final int ROUND_UNIT = 1000;\n\n\t// 利子\n\tprivate static final double LOAN_INTEREST = 1.05;\n\n\t/**\n\t * 返済額計算実行\n\t */\n\tpublic static void main(String[] args) throws Exception {\n\n\t\t// 標準入力\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\n\t\t// 返済額の計算\n\t\tnew Main().calcAmountRepaid(Integer.parseInt(reader.readLine()));\n\t}\n\n\t/**\n\t * 返済額計算\n\t */\n\tprivate void calcAmountRepaid(int weekNum) {\n\n\t\t// 借金10万円を初期値とする\n\t\tint debt = 100000;\n\n\t\t// 週単位で返済額を計算\n\t\tfor (int i = 0; i < weekNum; i++) {\n\n\t\t\t// 利子込みの返済額を計算\n\t\t\tdebt *= LOAN_INTEREST;\n\n\t\t\t// 計算結果から1000円未満を切り上げ\n\t\t\tif (debt % ROUND_UNIT != 0) {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT + 1);\n\t\t\t} else {\n\t\t\t\tdebt = ROUND_UNIT * (debt / ROUND_UNIT);\n\t\t\t}\n\n\t\t}\n\n\t\t// 結果出力\n\t\tSystem.out.println(debt);\n\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { // 繰り上げ金額の単位(円) private static final int ROUND_UNIT = 1000; // 利子 private static final double LOAN_INTEREST = 1.05; /** * 返済額計算実行 */ public static void main(String[] args) throws Exception { // 標準入力 BufferedReader reader = new BufferedReader(new InputStreamReader( System.in)); // 返済額の計算 new Main().calcAmountRepaid(Integer.parseInt(reader.readLine())); } /** * 返済額計算 */ private void calcAmountRepaid(int weekNum) { // 借金10万円を初期値とする int debt = 100000; // 週単位で返済額を計算 for (int i = 0; i < weekNum; i++) { // 利子込みの返済額を計算 debt *= LOAN_INTEREST; // 計算結果から1000円未満を切り上げ if (debt % ROUND_UNIT != 0) { debt = ROUND_UNIT * (debt / ROUND_UNIT + 1); } else { debt = ROUND_UNIT * (debt / ROUND_UNIT); } } // 結果出力 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, 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.*;\n\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 b=100;\n for (int i=0;i<n;i++){\n \tb=Math.ceil(b*1.05);\n }\n \n System.out.println((int)b*1000);\n \n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n double b=100;\n for (int i=0;i<n;i++){\n \tb=Math.ceil(b*1.05);\n }\n \n System.out.println((int)b*1000);\n \n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n double b=100;\n for (int i=0;i<n;i++){\n \tb=Math.ceil(b*1.05);\n }\n \n System.out.println((int)b*1000);\n \n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n double b=100;\n for (int i=0;i<n;i++){\n \tb=Math.ceil(b*1.05);\n }\n \n System.out.println((int)b*1000);\n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "double b=100;", "b", "100", "for (int i=0;i<n;i++){\n \tb=Math.ceil(b*1.05);\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n \tb=Math.ceil(b*1.05);\n }", "{\n \tb=Math.ceil(b*1.05);\n }", "b=Math.ceil(b*1.05)", "b", "Math.ceil(b*1.05)", "Math.ceil", "Math", "b*1.05", "b", "1.05", "System.out.println((int)b*1000)", "System.out.println", "System.out", "System", "System.out", "(int)b*1000", "(int)b", "1000", "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 b=100;\n for (int i=0;i<n;i++){\n \tb=Math.ceil(b*1.05);\n }\n \n System.out.println((int)b*1000);\n \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 b=100;\n for (int i=0;i<n;i++){\n \tb=Math.ceil(b*1.05);\n }\n \n System.out.println((int)b*1000);\n \n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n=sc.nextInt(); double b=100; for (int i=0;i<n;i++){ b=Math.ceil(b*1.05); } System.out.println((int)b*1000); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 14, 2, 2, 13, 17, 17, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 2, 13, 17, 13, 4, 18, 13, 17, 0, 13, 4, 18, 13, 4, 18, 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 ], [ 94, 11 ], [ 94, 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 ], [ 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 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 48, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 54, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 66, 67 ], [ 66, 68 ], [ 63, 69 ], [ 54, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 54, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 79, 80 ], [ 80, 81 ], [ 54, 82 ], [ 82, 83 ], [ 82, 84 ], [ 14, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 12, 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) throws NumberFormatException,\n\t\t\tIOException {\n\n\t\t// ?????????\n\t\tint debt = 100000;\n\n\t\t// n??±???\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tint n = Integer.parseInt(br.readLine());\n\n\t\tfor (int i = 0; i < n; ++i) {\n\n\t\t\tdebt *= 1.05;\n\n\t\t\tif (debt % 1000 != 0) {\n\t\t\t\tStringBuilder sb = new StringBuilder(String.valueOf(debt));\n\n\t\t\t\tint count = sb.length();\n\t\t\t\tsb.delete(count-3, count);\n\t\t\t\tsb.append(\"000\");\n\t\t\t\tdebt = Integer.parseInt(sb.toString());\n\t\t\t\tdebt += 1000;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(debt);\n\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\n\t\t// ?????????\n\t\tint debt = 100000;\n\n\t\t// n??±???\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tint n = Integer.parseInt(br.readLine());\n\n\t\tfor (int i = 0; i < n; ++i) {\n\n\t\t\tdebt *= 1.05;\n\n\t\t\tif (debt % 1000 != 0) {\n\t\t\t\tStringBuilder sb = new StringBuilder(String.valueOf(debt));\n\n\t\t\t\tint count = sb.length();\n\t\t\t\tsb.delete(count-3, count);\n\t\t\t\tsb.append(\"000\");\n\t\t\t\tdebt = Integer.parseInt(sb.toString());\n\t\t\t\tdebt += 1000;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(debt);\n\n\t}\n}", "Main", "public static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\n\t\t// ?????????\n\t\tint debt = 100000;\n\n\t\t// n??±???\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tint n = Integer.parseInt(br.readLine());\n\n\t\tfor (int i = 0; i < n; ++i) {\n\n\t\t\tdebt *= 1.05;\n\n\t\t\tif (debt % 1000 != 0) {\n\t\t\t\tStringBuilder sb = new StringBuilder(String.valueOf(debt));\n\n\t\t\t\tint count = sb.length();\n\t\t\t\tsb.delete(count-3, count);\n\t\t\t\tsb.append(\"000\");\n\t\t\t\tdebt = Integer.parseInt(sb.toString());\n\t\t\t\tdebt += 1000;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(debt);\n\n\t}", "main", "{\n\n\t\t// ?????????\n\t\tint debt = 100000;\n\n\t\t// n??±???\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tint n = Integer.parseInt(br.readLine());\n\n\t\tfor (int i = 0; i < n; ++i) {\n\n\t\t\tdebt *= 1.05;\n\n\t\t\tif (debt % 1000 != 0) {\n\t\t\t\tStringBuilder sb = new StringBuilder(String.valueOf(debt));\n\n\t\t\t\tint count = sb.length();\n\t\t\t\tsb.delete(count-3, count);\n\t\t\t\tsb.append(\"000\");\n\t\t\t\tdebt = Integer.parseInt(sb.toString());\n\t\t\t\tdebt += 1000;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(debt);\n\n\t}", "int debt = 100000;", "debt", "100000", "InputStreamReader isr = new InputStreamReader(System.in);", "isr", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(isr);", "br", "new BufferedReader(isr)", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for (int i = 0; i < n; ++i) {\n\n\t\t\tdebt *= 1.05;\n\n\t\t\tif (debt % 1000 != 0) {\n\t\t\t\tStringBuilder sb = new StringBuilder(String.valueOf(debt));\n\n\t\t\t\tint count = sb.length();\n\t\t\t\tsb.delete(count-3, count);\n\t\t\t\tsb.append(\"000\");\n\t\t\t\tdebt = Integer.parseInt(sb.toString());\n\t\t\t\tdebt += 1000;\n\t\t\t}\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "++i", "++i", "i", "{\n\n\t\t\tdebt *= 1.05;\n\n\t\t\tif (debt % 1000 != 0) {\n\t\t\t\tStringBuilder sb = new StringBuilder(String.valueOf(debt));\n\n\t\t\t\tint count = sb.length();\n\t\t\t\tsb.delete(count-3, count);\n\t\t\t\tsb.append(\"000\");\n\t\t\t\tdebt = Integer.parseInt(sb.toString());\n\t\t\t\tdebt += 1000;\n\t\t\t}\n\n\t\t}", "{\n\n\t\t\tdebt *= 1.05;\n\n\t\t\tif (debt % 1000 != 0) {\n\t\t\t\tStringBuilder sb = new StringBuilder(String.valueOf(debt));\n\n\t\t\t\tint count = sb.length();\n\t\t\t\tsb.delete(count-3, count);\n\t\t\t\tsb.append(\"000\");\n\t\t\t\tdebt = Integer.parseInt(sb.toString());\n\t\t\t\tdebt += 1000;\n\t\t\t}\n\n\t\t}", "debt *= 1.05", "debt", "1.05", "if (debt % 1000 != 0) {\n\t\t\t\tStringBuilder sb = new StringBuilder(String.valueOf(debt));\n\n\t\t\t\tint count = sb.length();\n\t\t\t\tsb.delete(count-3, count);\n\t\t\t\tsb.append(\"000\");\n\t\t\t\tdebt = Integer.parseInt(sb.toString());\n\t\t\t\tdebt += 1000;\n\t\t\t}", "debt % 1000 != 0", "debt % 1000", "debt", "1000", "0", "{\n\t\t\t\tStringBuilder sb = new StringBuilder(String.valueOf(debt));\n\n\t\t\t\tint count = sb.length();\n\t\t\t\tsb.delete(count-3, count);\n\t\t\t\tsb.append(\"000\");\n\t\t\t\tdebt = Integer.parseInt(sb.toString());\n\t\t\t\tdebt += 1000;\n\t\t\t}", "StringBuilder sb = new StringBuilder(String.valueOf(debt));", "sb", "new StringBuilder(String.valueOf(debt))", "int count = sb.length();", "count", "sb.length()", "sb.length", "sb", "sb.delete(count-3, count)", "sb.delete", "sb", "count-3", "count", "3", "count", "sb.append(\"000\")", "sb.append", "sb", "\"000\"", "debt = Integer.parseInt(sb.toString())", "debt", "Integer.parseInt(sb.toString())", "Integer.parseInt", "Integer", "sb.toString()", "sb.toString", "sb", "debt += 1000", "debt", "1000", "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) throws NumberFormatException,\n\t\t\tIOException {\n\n\t\t// ?????????\n\t\tint debt = 100000;\n\n\t\t// n??±???\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tint n = Integer.parseInt(br.readLine());\n\n\t\tfor (int i = 0; i < n; ++i) {\n\n\t\t\tdebt *= 1.05;\n\n\t\t\tif (debt % 1000 != 0) {\n\t\t\t\tStringBuilder sb = new StringBuilder(String.valueOf(debt));\n\n\t\t\t\tint count = sb.length();\n\t\t\t\tsb.delete(count-3, count);\n\t\t\t\tsb.append(\"000\");\n\t\t\t\tdebt = Integer.parseInt(sb.toString());\n\t\t\t\tdebt += 1000;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(debt);\n\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\n\t\t// ?????????\n\t\tint debt = 100000;\n\n\t\t// n??±???\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tint n = Integer.parseInt(br.readLine());\n\n\t\tfor (int i = 0; i < n; ++i) {\n\n\t\t\tdebt *= 1.05;\n\n\t\t\tif (debt % 1000 != 0) {\n\t\t\t\tStringBuilder sb = new StringBuilder(String.valueOf(debt));\n\n\t\t\t\tint count = sb.length();\n\t\t\t\tsb.delete(count-3, count);\n\t\t\t\tsb.append(\"000\");\n\t\t\t\tdebt = Integer.parseInt(sb.toString());\n\t\t\t\tdebt += 1000;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(debt);\n\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws NumberFormatException, IOException { // ????????? int debt = 100000; // n??±??? InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); int n = Integer.parseInt(br.readLine()); for (int i = 0; i < n; ++i) { debt *= 1.05; if (debt % 1000 != 0) { StringBuilder sb = new StringBuilder(String.valueOf(debt)); int count = sb.length(); sb.delete(count-3, count); sb.append("000"); debt = Integer.parseInt(sb.toString()); debt += 1000; } } System.out.println(debt); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 17, 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, 2, 13, 17, 14, 2, 2, 2, 13, 17, 17, 17, 30, 0, 13, 2, 2, 2, 2, 13, 17, 2, 2, 13, 17, 17, 17, 17, 4, 18, 18, 13, 13, 17, 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 ], [ 16, 19 ], [ 12, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 20, 35 ], [ 35, 36 ], [ 35, 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 ], [ 53, 55 ], [ 50, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 57, 63 ], [ 56, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 68, 78 ], [ 67, 79 ], [ 20, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 80, 86 ], [ 9, 87 ], [ 87, 88 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nclass Main{\n public static void main(String args[]){\n\ttry{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String str = br.readLine();\n\t int n = Integer.parseInt(str);\n\t double init = 100000;\n\t for(int i=0;i<n;i++){\n\t\tinit = init * 1.05;\n\t\tif((init / 1000) % 1 > 0){\n\t\t init = (init/1000 - ((init / 1000) % 1) + 1)*1000;\n\t\t}\n\t }\n\t System.out.printf(\"%d\\n\",(int)(init));\n\t}\n\tcatch(Exception e){\n\t System.exit(0);\n\t}\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[]){\n\ttry{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String str = br.readLine();\n\t int n = Integer.parseInt(str);\n\t double init = 100000;\n\t for(int i=0;i<n;i++){\n\t\tinit = init * 1.05;\n\t\tif((init / 1000) % 1 > 0){\n\t\t init = (init/1000 - ((init / 1000) % 1) + 1)*1000;\n\t\t}\n\t }\n\t System.out.printf(\"%d\\n\",(int)(init));\n\t}\n\tcatch(Exception e){\n\t System.exit(0);\n\t}\n }\n}", "Main", "public static void main(String args[]){\n\ttry{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String str = br.readLine();\n\t int n = Integer.parseInt(str);\n\t double init = 100000;\n\t for(int i=0;i<n;i++){\n\t\tinit = init * 1.05;\n\t\tif((init / 1000) % 1 > 0){\n\t\t init = (init/1000 - ((init / 1000) % 1) + 1)*1000;\n\t\t}\n\t }\n\t System.out.printf(\"%d\\n\",(int)(init));\n\t}\n\tcatch(Exception e){\n\t System.exit(0);\n\t}\n }", "main", "{\n\ttry{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String str = br.readLine();\n\t int n = Integer.parseInt(str);\n\t double init = 100000;\n\t for(int i=0;i<n;i++){\n\t\tinit = init * 1.05;\n\t\tif((init / 1000) % 1 > 0){\n\t\t init = (init/1000 - ((init / 1000) % 1) + 1)*1000;\n\t\t}\n\t }\n\t System.out.printf(\"%d\\n\",(int)(init));\n\t}\n\tcatch(Exception e){\n\t System.exit(0);\n\t}\n }", "try{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String str = br.readLine();\n\t int n = Integer.parseInt(str);\n\t double init = 100000;\n\t for(int i=0;i<n;i++){\n\t\tinit = init * 1.05;\n\t\tif((init / 1000) % 1 > 0){\n\t\t init = (init/1000 - ((init / 1000) % 1) + 1)*1000;\n\t\t}\n\t }\n\t System.out.printf(\"%d\\n\",(int)(init));\n\t}\n\tcatch(Exception e){\n\t System.exit(0);\n\t}", "catch(Exception e){\n\t System.exit(0);\n\t}", "Exception e", "{\n\t System.exit(0);\n\t}", "System.exit(0)", "System.exit", "System", "0", "{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String str = br.readLine();\n\t int n = Integer.parseInt(str);\n\t double init = 100000;\n\t for(int i=0;i<n;i++){\n\t\tinit = init * 1.05;\n\t\tif((init / 1000) % 1 > 0){\n\t\t init = (init/1000 - ((init / 1000) % 1) + 1)*1000;\n\t\t}\n\t }\n\t System.out.printf(\"%d\\n\",(int)(init));\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "int n = Integer.parseInt(str);", "n", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "double init = 100000;", "init", "100000", "for(int i=0;i<n;i++){\n\t\tinit = init * 1.05;\n\t\tif((init / 1000) % 1 > 0){\n\t\t init = (init/1000 - ((init / 1000) % 1) + 1)*1000;\n\t\t}\n\t }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\tinit = init * 1.05;\n\t\tif((init / 1000) % 1 > 0){\n\t\t init = (init/1000 - ((init / 1000) % 1) + 1)*1000;\n\t\t}\n\t }", "{\n\t\tinit = init * 1.05;\n\t\tif((init / 1000) % 1 > 0){\n\t\t init = (init/1000 - ((init / 1000) % 1) + 1)*1000;\n\t\t}\n\t }", "init = init * 1.05", "init", "init * 1.05", "init", "1.05", "if((init / 1000) % 1 > 0){\n\t\t init = (init/1000 - ((init / 1000) % 1) + 1)*1000;\n\t\t}", "(init / 1000) % 1 > 0", "(init / 1000) % 1", "(init / 1000)", "init", "1000", "1", "0", "{\n\t\t init = (init/1000 - ((init / 1000) % 1) + 1)*1000;\n\t\t}", "init = (init/1000 - ((init / 1000) % 1) + 1)*1000", "init", "(init/1000 - ((init / 1000) % 1) + 1)*1000", "(init/1000 - ((init / 1000) % 1) + 1)", "init/1000 - ((init / 1000) % 1)", "init/1000", "init", "1000", "((init / 1000) % 1)", "(init / 1000)", "init", "1000", "1", "1", "1000", "System.out.printf(\"%d\\n\",(int)(init))", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "(int)(init)", "String args[]", "args" ]
import java.io.BufferedReader; import java.io.InputStreamReader; class Main{ public static void main(String args[]){ try{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); int n = Integer.parseInt(str); double init = 100000; for(int i=0;i<n;i++){ init = init * 1.05; if((init / 1000) % 1 > 0){ init = (init/1000 - ((init / 1000) % 1) + 1)*1000; } } System.out.printf("%d\n",(int)(init)); } catch(Exception e){ System.exit(0); } } }
[ 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, 4, 18, 13, 2, 2, 13, 17, 17, 17, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 57, 5 ], [ 57, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 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 ], [ 36, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 35, 44 ], [ 8, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 8, 51 ], [ 51, 52 ], [ 52, 53 ], [ 6, 54 ], [ 54, 55 ], [ 0, 56 ], [ 56, 57 ], [ 56, 58 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint debt=100000;\n\t\tint n=sc.nextInt();\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt=(int)Math.ceil((debt*1.05)/1000)*1000;\n\t\t}\n\t\tSystem.out.println(debt);\n\t\tsc.close();\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint debt=100000;\n\t\tint n=sc.nextInt();\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt=(int)Math.ceil((debt*1.05)/1000)*1000;\n\t\t}\n\t\tSystem.out.println(debt);\n\t\tsc.close();\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint debt=100000;\n\t\tint n=sc.nextInt();\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt=(int)Math.ceil((debt*1.05)/1000)*1000;\n\t\t}\n\t\tSystem.out.println(debt);\n\t\tsc.close();\n\t}", "main", "{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint debt=100000;\n\t\tint n=sc.nextInt();\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt=(int)Math.ceil((debt*1.05)/1000)*1000;\n\t\t}\n\t\tSystem.out.println(debt);\n\t\tsc.close();\n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int debt=100000;", "debt", "100000", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0;i<n;i++){\n\t\t\tdebt=(int)Math.ceil((debt*1.05)/1000)*1000;\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)/1000)*1000;\n\t\t}", "{\n\t\t\tdebt=(int)Math.ceil((debt*1.05)/1000)*1000;\n\t\t}", "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", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint debt=100000;\n\t\tint n=sc.nextInt();\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt=(int)Math.ceil((debt*1.05)/1000)*1000;\n\t\t}\n\t\tSystem.out.println(debt);\n\t\tsc.close();\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint debt=100000;\n\t\tint n=sc.nextInt();\n\t\tfor(int i=0;i<n;i++){\n\t\t\tdebt=(int)Math.ceil((debt*1.05)/1000)*1000;\n\t\t}\n\t\tSystem.out.println(debt);\n\t\tsc.close();\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc=new Scanner(System.in); int debt=100000; int n=sc.nextInt(); for(int i=0;i<n;i++){ debt=(int)Math.ceil((debt*1.05)/1000)*1000; } System.out.println(debt); sc.close(); } }
[ 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, 41, 13, 2, 13, 17, 0, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 55, 5 ], [ 55, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 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 ], [ 41, 42 ], [ 40, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 6, 52 ], [ 52, 53 ], [ 0, 54 ], [ 54, 55 ], [ 54, 56 ] ]
[ "import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int money = 100;\n for (int i = 0; i < n; i++){\n double x = (double)money * 1.05;\n money = (int)(Math.ceil(x));\n }\n System.out.println(money * 1000);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int money = 100;\n for (int i = 0; i < n; i++){\n double x = (double)money * 1.05;\n money = (int)(Math.ceil(x));\n }\n System.out.println(money * 1000);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int money = 100;\n for (int i = 0; i < n; i++){\n double x = (double)money * 1.05;\n money = (int)(Math.ceil(x));\n }\n System.out.println(money * 1000);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int money = 100;\n for (int i = 0; i < n; i++){\n double x = (double)money * 1.05;\n money = (int)(Math.ceil(x));\n }\n System.out.println(money * 1000);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int money = 100;", "money", "100", "for (int i = 0; i < n; i++){\n double x = (double)money * 1.05;\n money = (int)(Math.ceil(x));\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n double x = (double)money * 1.05;\n money = (int)(Math.ceil(x));\n }", "{\n double x = (double)money * 1.05;\n money = (int)(Math.ceil(x));\n }", "double x = (double)money * 1.05;", "x", "(double)money * 1.05", "(double)money", "1.05", "money = (int)(Math.ceil(x))", "money", "(int)(Math.ceil(x))", "Math.ceil", "Math", "x", "System.out.println(money * 1000)", "System.out.println", "System.out", "System", "System.out", "money * 1000", "money", "1000", "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 int money = 100;\n for (int i = 0; i < n; i++){\n double x = (double)money * 1.05;\n money = (int)(Math.ceil(x));\n }\n System.out.println(money * 1000);\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 int money = 100;\n for (int i = 0; i < n; i++){\n double x = (double)money * 1.05;\n money = (int)(Math.ceil(x));\n }\n System.out.println(money * 1000);\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int money = 100; for (int i = 0; i < n; i++){ double x = (double)money * 1.05; money = (int)(Math.ceil(x)); } System.out.println(money * 1000); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 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, 17, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 56, 5 ], [ 56, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 10, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 10, 19 ], [ 19, 20 ], [ 19, 21 ], [ 10, 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 ], [ 34, 41 ], [ 41, 42 ], [ 41, 43 ], [ 34, 44 ], [ 44, 45 ], [ 44, 46 ], [ 10, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 6, 53 ], [ 53, 54 ], [ 0, 55 ], [ 55, 56 ], [ 55, 57 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tint n = sc.nextInt();\n\t\t\tlong amount = 100000;\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tamount *= 1.05;\n\t\t\t\tamount += 999;\n\t\t\t\tamount /= 1000;\n\t\t\t\tamount *= 1000;\n\t\t\t}\n\t\t\tSystem.out.println(amount);\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tint n = sc.nextInt();\n\t\t\tlong amount = 100000;\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tamount *= 1.05;\n\t\t\t\tamount += 999;\n\t\t\t\tamount /= 1000;\n\t\t\t\tamount *= 1000;\n\t\t\t}\n\t\t\tSystem.out.println(amount);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tint n = sc.nextInt();\n\t\t\tlong amount = 100000;\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tamount *= 1.05;\n\t\t\t\tamount += 999;\n\t\t\t\tamount /= 1000;\n\t\t\t\tamount *= 1000;\n\t\t\t}\n\t\t\tSystem.out.println(amount);\n\t\t}\n\t}", "main", "{\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tint n = sc.nextInt();\n\t\t\tlong amount = 100000;\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tamount *= 1.05;\n\t\t\t\tamount += 999;\n\t\t\t\tamount /= 1000;\n\t\t\t\tamount *= 1000;\n\t\t\t}\n\t\t\tSystem.out.println(amount);\n\t\t}\n\t}", "try (Scanner sc = new Scanner(System.in)) {\n\t\t\tint n = sc.nextInt();\n\t\t\tlong amount = 100000;\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tamount *= 1.05;\n\t\t\t\tamount += 999;\n\t\t\t\tamount /= 1000;\n\t\t\t\tamount *= 1000;\n\t\t\t}\n\t\t\tSystem.out.println(amount);\n\t\t}", "{\n\t\t\tint n = sc.nextInt();\n\t\t\tlong amount = 100000;\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tamount *= 1.05;\n\t\t\t\tamount += 999;\n\t\t\t\tamount /= 1000;\n\t\t\t\tamount *= 1000;\n\t\t\t}\n\t\t\tSystem.out.println(amount);\n\t\t}", "Scanner sc = new Scanner(System.in)", "Scanner sc = new Scanner(System.in)", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "long amount = 100000;", "amount", "100000", "for (int i = 0; i < n; i++) {\n\t\t\t\tamount *= 1.05;\n\t\t\t\tamount += 999;\n\t\t\t\tamount /= 1000;\n\t\t\t\tamount *= 1000;\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tamount *= 1.05;\n\t\t\t\tamount += 999;\n\t\t\t\tamount /= 1000;\n\t\t\t\tamount *= 1000;\n\t\t\t}", "{\n\t\t\t\tamount *= 1.05;\n\t\t\t\tamount += 999;\n\t\t\t\tamount /= 1000;\n\t\t\t\tamount *= 1000;\n\t\t\t}", "amount *= 1.05", "amount", "1.05", "amount += 999", "amount", "999", "amount /= 1000", "amount", "1000", "amount *= 1000", "amount", "1000", "System.out.println(amount)", "System.out.println", "System.out", "System", "System.out", "amount", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tint n = sc.nextInt();\n\t\t\tlong amount = 100000;\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tamount *= 1.05;\n\t\t\t\tamount += 999;\n\t\t\t\tamount /= 1000;\n\t\t\t\tamount *= 1000;\n\t\t\t}\n\t\t\tSystem.out.println(amount);\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tint n = sc.nextInt();\n\t\t\tlong amount = 100000;\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tamount *= 1.05;\n\t\t\t\tamount += 999;\n\t\t\t\tamount /= 1000;\n\t\t\t\tamount *= 1000;\n\t\t\t}\n\t\t\tSystem.out.println(amount);\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner sc = new Scanner(System.in)) { int n = sc.nextInt(); long amount = 100000; for (int i = 0; i < n; i++) { amount *= 1.05; amount += 999; amount /= 1000; amount *= 1000; } System.out.println(amount); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 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, 4, 18, 13, 40, 17, 18, 13, 13, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 80, 14 ], [ 80, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 17, 32 ], [ 32, 33 ], [ 32, 34 ], [ 17, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 47, 53 ], [ 53, 54 ], [ 53, 55 ], [ 47, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 17, 68 ], [ 68, 69 ], [ 68, 70 ], [ 17, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 15, 77 ], [ 77, 78 ], [ 0, 79 ], [ 79, 80 ], [ 79, 81 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\n\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n //Input ??´??°?????\\?????????\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in));\n String str = br.readLine();\n int n = Integer.parseInt(str);\n //??????\n double loan = 100000;\n\n //??\\???????????´??°?????????????????????????±???????\n //1??±?????¨???????????????????????????????????????????????\\??????\n for(int i=1; i<=n; i++){\n //?????????5%?????????????????????\n loan = loan * 1.05;\n //?????????1000???????????????????????????\n BigDecimal bd = new BigDecimal(String.valueOf(loan));\n //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????)\n //1000??????????????????????????????????¬¬1?????°???-3??¨????????????????????????????????????\n loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue();\n }\n //??¨???????????????????°???°??????????????¢??§????????????????????????????????????int??????result???????´???????\n int result = (int) loan;\n System.out.println(result);\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 public static void main(String[] args) throws IOException {\n //Input ??´??°?????\\?????????\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in));\n String str = br.readLine();\n int n = Integer.parseInt(str);\n //??????\n double loan = 100000;\n\n //??\\???????????´??°?????????????????????????±???????\n //1??±?????¨???????????????????????????????????????????????\\??????\n for(int i=1; i<=n; i++){\n //?????????5%?????????????????????\n loan = loan * 1.05;\n //?????????1000???????????????????????????\n BigDecimal bd = new BigDecimal(String.valueOf(loan));\n //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????)\n //1000??????????????????????????????????¬¬1?????°???-3??¨????????????????????????????????????\n loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue();\n }\n //??¨???????????????????°???°??????????????¢??§????????????????????????????????????int??????result???????´???????\n int result = (int) loan;\n System.out.println(result);\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n //Input ??´??°?????\\?????????\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in));\n String str = br.readLine();\n int n = Integer.parseInt(str);\n //??????\n double loan = 100000;\n\n //??\\???????????´??°?????????????????????????±???????\n //1??±?????¨???????????????????????????????????????????????\\??????\n for(int i=1; i<=n; i++){\n //?????????5%?????????????????????\n loan = loan * 1.05;\n //?????????1000???????????????????????????\n BigDecimal bd = new BigDecimal(String.valueOf(loan));\n //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????)\n //1000??????????????????????????????????¬¬1?????°???-3??¨????????????????????????????????????\n loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue();\n }\n //??¨???????????????????°???°??????????????¢??§????????????????????????????????????int??????result???????´???????\n int result = (int) loan;\n System.out.println(result);\n }", "main", "{\n //Input ??´??°?????\\?????????\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in));\n String str = br.readLine();\n int n = Integer.parseInt(str);\n //??????\n double loan = 100000;\n\n //??\\???????????´??°?????????????????????????±???????\n //1??±?????¨???????????????????????????????????????????????\\??????\n for(int i=1; i<=n; i++){\n //?????????5%?????????????????????\n loan = loan * 1.05;\n //?????????1000???????????????????????????\n BigDecimal bd = new BigDecimal(String.valueOf(loan));\n //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????)\n //1000??????????????????????????????????¬¬1?????°???-3??¨????????????????????????????????????\n loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue();\n }\n //??¨???????????????????°???°??????????????¢??§????????????????????????????????????int??????result???????´???????\n int result = (int) loan;\n System.out.println(result);\n }", "BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "int n = Integer.parseInt(str);", "n", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "double loan = 100000;", "loan", "100000", "for(int i=1; i<=n; i++){\n //?????????5%?????????????????????\n loan = loan * 1.05;\n //?????????1000???????????????????????????\n BigDecimal bd = new BigDecimal(String.valueOf(loan));\n //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????)\n //1000??????????????????????????????????¬¬1?????°???-3??¨????????????????????????????????????\n loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue();\n }", "int i=1;", "int i=1;", "i", "1", "i<=n", "i", "n", "i++", "i++", "i", "{\n //?????????5%?????????????????????\n loan = loan * 1.05;\n //?????????1000???????????????????????????\n BigDecimal bd = new BigDecimal(String.valueOf(loan));\n //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????)\n //1000??????????????????????????????????¬¬1?????°???-3??¨????????????????????????????????????\n loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue();\n }", "{\n //?????????5%?????????????????????\n loan = loan * 1.05;\n //?????????1000???????????????????????????\n BigDecimal bd = new BigDecimal(String.valueOf(loan));\n //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????)\n //1000??????????????????????????????????¬¬1?????°???-3??¨????????????????????????????????????\n loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue();\n }", "loan = loan * 1.05", "loan", "loan * 1.05", "loan", "1.05", "BigDecimal bd = new BigDecimal(String.valueOf(loan));", "bd", "new BigDecimal(String.valueOf(loan))", "loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue()", "loan", "bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue()", "bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue", "bd.setScale(-3, BigDecimal.ROUND_UP)", "bd.setScale", "bd", "-3", "3", "BigDecimal.ROUND_UP", "BigDecimal", "BigDecimal.ROUND_UP", "int result = (int) loan;", "result", "(int) loan", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) throws IOException {\n //Input ??´??°?????\\?????????\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in));\n String str = br.readLine();\n int n = Integer.parseInt(str);\n //??????\n double loan = 100000;\n\n //??\\???????????´??°?????????????????????????±???????\n //1??±?????¨???????????????????????????????????????????????\\??????\n for(int i=1; i<=n; i++){\n //?????????5%?????????????????????\n loan = loan * 1.05;\n //?????????1000???????????????????????????\n BigDecimal bd = new BigDecimal(String.valueOf(loan));\n //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????)\n //1000??????????????????????????????????¬¬1?????°???-3??¨????????????????????????????????????\n loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue();\n }\n //??¨???????????????????°???°??????????????¢??§????????????????????????????????????int??????result???????´???????\n int result = (int) loan;\n System.out.println(result);\n }\n}", "public class Main {\n\n public static void main(String[] args) throws IOException {\n //Input ??´??°?????\\?????????\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in));\n String str = br.readLine();\n int n = Integer.parseInt(str);\n //??????\n double loan = 100000;\n\n //??\\???????????´??°?????????????????????????±???????\n //1??±?????¨???????????????????????????????????????????????\\??????\n for(int i=1; i<=n; i++){\n //?????????5%?????????????????????\n loan = loan * 1.05;\n //?????????1000???????????????????????????\n BigDecimal bd = new BigDecimal(String.valueOf(loan));\n //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????)\n //1000??????????????????????????????????¬¬1?????°???-3??¨????????????????????????????????????\n loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue();\n }\n //??¨???????????????????°???°??????????????¢??§????????????????????????????????????int??????result???????´???????\n int result = (int) loan;\n System.out.println(result);\n }\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) throws IOException { //Input ??´??°?????\????????? BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); int n = Integer.parseInt(str); //?????? double loan = 100000; //??\???????????´??°?????????????????????????±??????? //1??±?????¨???????????????????????????????????????????????\?????? for(int i=1; i<=n; i++){ //?????????5%????????????????????? loan = loan * 1.05; //?????????1000??????????????????????????? BigDecimal bd = new BigDecimal(String.valueOf(loan)); //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????) //1000??????????????????????????????????¬¬1?????°???-3??¨???????????????????????????????????? loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue(); } //??¨???????????????????°???°??????????????¢??§????????????????????????????????????int??????result???????´??????? int result = (int) loan; System.out.println(result); } }
[ 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, 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 ], [ 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 ], [ 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 ], [ 40, 42 ], [ 39, 43 ], [ 38, 44 ], [ 8, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 6, 51 ], [ 51, 52 ], [ 0, 53 ], [ 53, 54 ], [ 53, 55 ] ]
[ "\nimport java.util.Scanner;\n\npublic class Main {\n \n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int week = scan.nextInt();\n int debt = 100000;\n for(int i = 0; i < week; i++) {\n debt *= 1.05;\n debt = (int)(debt * 0.001 + 0.999) * 1000;\n }\n System.out.println(debt);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n \n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int week = scan.nextInt();\n int debt = 100000;\n for(int i = 0; i < week; i++) {\n debt *= 1.05;\n debt = (int)(debt * 0.001 + 0.999) * 1000;\n }\n System.out.println(debt);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int week = scan.nextInt();\n int debt = 100000;\n for(int i = 0; i < week; i++) {\n debt *= 1.05;\n debt = (int)(debt * 0.001 + 0.999) * 1000;\n }\n System.out.println(debt);\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int week = scan.nextInt();\n int debt = 100000;\n for(int i = 0; i < week; i++) {\n debt *= 1.05;\n debt = (int)(debt * 0.001 + 0.999) * 1000;\n }\n System.out.println(debt);\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int week = scan.nextInt();", "week", "scan.nextInt()", "scan.nextInt", "scan", "int debt = 100000;", "debt", "100000", "for(int i = 0; i < week; i++) {\n debt *= 1.05;\n debt = (int)(debt * 0.001 + 0.999) * 1000;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < week", "i", "week", "i++", "i++", "i", "{\n debt *= 1.05;\n debt = (int)(debt * 0.001 + 0.999) * 1000;\n }", "{\n debt *= 1.05;\n debt = (int)(debt * 0.001 + 0.999) * 1000;\n }", "debt *= 1.05", "debt", "1.05", "debt = (int)(debt * 0.001 + 0.999) * 1000", "debt", "(int)(debt * 0.001 + 0.999) * 1000", "(int)(debt * 0.001 + 0.999)", "debt * 0.001", "debt", "0.001", "0.999", "1000", "System.out.println(debt)", "System.out.println", "System.out", "System", "System.out", "debt", "String[] args", "args", "public class Main {\n \n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int week = scan.nextInt();\n int debt = 100000;\n for(int i = 0; i < week; i++) {\n debt *= 1.05;\n debt = (int)(debt * 0.001 + 0.999) * 1000;\n }\n System.out.println(debt);\n }\n}", "public class Main {\n \n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int week = scan.nextInt();\n int debt = 100000;\n for(int i = 0; i < week; i++) {\n debt *= 1.05;\n debt = (int)(debt * 0.001 + 0.999) * 1000;\n }\n System.out.println(debt);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int week = scan.nextInt(); int debt = 100000; for(int i = 0; i < week; i++) { debt *= 1.05; debt = (int)(debt * 0.001 + 0.999) * 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, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 58, 11 ], [ 58, 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 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 14, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 12, 55 ], [ 55, 56 ], [ 0, 57 ], [ 57, 58 ], [ 57, 59 ] ]
[ "import java.util.Scanner;\nimport java.math.*;\nimport java.text.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint n = input.nextInt();\n\t\tint cur = 100;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tcur = (int)Math.ceil(cur*1.05);\n\t\t}\n\t\tSystem.out.println(cur*1000);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.math.*;", "math.*", "java", "import java.text.*;", "text.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint n = input.nextInt();\n\t\tint cur = 100;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tcur = (int)Math.ceil(cur*1.05);\n\t\t}\n\t\tSystem.out.println(cur*1000);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint n = input.nextInt();\n\t\tint cur = 100;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tcur = (int)Math.ceil(cur*1.05);\n\t\t}\n\t\tSystem.out.println(cur*1000);\n\t}", "main", "{\n\t\tScanner input = new Scanner(System.in);\n\t\tint n = input.nextInt();\n\t\tint cur = 100;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tcur = (int)Math.ceil(cur*1.05);\n\t\t}\n\t\tSystem.out.println(cur*1000);\n\t}", "Scanner input = new Scanner(System.in);", "input", "new Scanner(System.in)", "int n = input.nextInt();", "n", "input.nextInt()", "input.nextInt", "input", "int cur = 100;", "cur", "100", "for(int i = 0; i < n; i++){\n\t\t\tcur = (int)Math.ceil(cur*1.05);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tcur = (int)Math.ceil(cur*1.05);\n\t\t}", "{\n\t\t\tcur = (int)Math.ceil(cur*1.05);\n\t\t}", "cur = (int)Math.ceil(cur*1.05)", "cur", "(int)Math.ceil(cur*1.05)", "Math.ceil", "Math", "cur*1.05", "cur", "1.05", "System.out.println(cur*1000)", "System.out.println", "System.out", "System", "System.out", "cur*1000", "cur", "1000", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint n = input.nextInt();\n\t\tint cur = 100;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tcur = (int)Math.ceil(cur*1.05);\n\t\t}\n\t\tSystem.out.println(cur*1000);\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint n = input.nextInt();\n\t\tint cur = 100;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tcur = (int)Math.ceil(cur*1.05);\n\t\t}\n\t\tSystem.out.println(cur*1000);\n\t}\n\n}", "Main" ]
import java.util.Scanner; import java.math.*; import java.text.*; public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); int n = input.nextInt(); int cur = 100; for(int i = 0; i < n; i++){ cur = (int)Math.ceil(cur*1.05); } System.out.println(cur*1000); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 41, 13, 41, 13, 12, 13, 30, 4, 18, 18, 13, 13, 4, 13, 23, 13, 12, 13, 30, 41, 13, 2, 17, 13, 11, 1, 2, 13, 17, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 2, 13, 13, 29, 2, 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 ], [ 65, 11 ], [ 65, 12 ], [ 12, 13 ], [ 12, 14 ], [ 65, 15 ], [ 15, 16 ], [ 15, 17 ], [ 65, 18 ], [ 18, 19 ], [ 65, 20 ], [ 20, 21 ], [ 65, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 22, 32 ], [ 32, 33 ], [ 65, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 36, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 48, 49 ], [ 42, 50 ], [ 51, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 57, 59 ], [ 36, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 0, 64 ], [ 64, 65 ], [ 64, 66 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n/**\n * @author Yuki\n */\npublic class Main {\n\n\t/*** ?????? */\n\tprivate final static double INTEREST = 1.05;\n\n\t/*** ??????????????? */\n\tprivate final static double REVALUATION = 1000;\n\n\t/*** ???????????\\??????????????????????¨??????\\?????? */\n\tprivate static BufferedReader br;\n\n\t/*** ??± */\n\tprivate static int weekNum;\n\n\t/*** ????????? */\n\tstatic {\n\t\t// ?¨??????\\?????????\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tweekNum = Integer.parseInt(br.readLine());\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n\t/**\n\t * ?????????????????????<br>\n\t * ??????????????????????????????\n\t *\n\t * @param args\n\t * ??????????????°\n\t */\n\tpublic static void main(String[] args) {\n\n\t\t// ????????????????????????\n\t\tSystem.out.println(getTotalDept());\n\n\t}\n\n\t/**\n\t * ?????????????????????????????? ????????????????????±???????¨??????????????¨????????????????\n\t *\n\t * @return ???????????????\n\t */\n\tprivate static int getTotalDept() {\n\t\tdouble debt = 100000 / REVALUATION;\n\t\tfor (; weekNum > 0; weekNum--) {\n\t\t\tdebt = Math.ceil(debt * INTEREST); // ????????????\n\t\t}\n\t\treturn (int) (debt * REVALUATION);\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\t/*** ?????? */\n\tprivate final static double INTEREST = 1.05;\n\n\t/*** ??????????????? */\n\tprivate final static double REVALUATION = 1000;\n\n\t/*** ???????????\\??????????????????????¨??????\\?????? */\n\tprivate static BufferedReader br;\n\n\t/*** ??± */\n\tprivate static int weekNum;\n\n\t/*** ????????? */\n\tstatic {\n\t\t// ?¨??????\\?????????\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tweekNum = Integer.parseInt(br.readLine());\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n\t/**\n\t * ?????????????????????<br>\n\t * ??????????????????????????????\n\t *\n\t * @param args\n\t * ??????????????°\n\t */\n\tpublic static void main(String[] args) {\n\n\t\t// ????????????????????????\n\t\tSystem.out.println(getTotalDept());\n\n\t}\n\n\t/**\n\t * ?????????????????????????????? ????????????????????±???????¨??????????????¨????????????????\n\t *\n\t * @return ???????????????\n\t */\n\tprivate static int getTotalDept() {\n\t\tdouble debt = 100000 / REVALUATION;\n\t\tfor (; weekNum > 0; weekNum--) {\n\t\t\tdebt = Math.ceil(debt * INTEREST); // ????????????\n\t\t}\n\t\treturn (int) (debt * REVALUATION);\n\t}\n\n}", "Main", "/*** ?????? */\n\tprivate final static double INTEREST = 1.05;", "INTEREST", "1.05", "/*** ??????????????? */\n\tprivate final static double REVALUATION = 1000;", "REVALUATION", "1000", "/*** ???????????\\??????????????????????¨??????\\?????? */\n\tprivate static BufferedReader br;", "br", "/*** ??± */\n\tprivate static int weekNum;", "weekNum", "/**\n\t * ?????????????????????<br>\n\t * ??????????????????????????????\n\t *\n\t * @param args\n\t * ??????????????°\n\t */\n\tpublic static void main(String[] args) {\n\n\t\t// ????????????????????????\n\t\tSystem.out.println(getTotalDept());\n\n\t}", "main", "{\n\n\t\t// ????????????????????????\n\t\tSystem.out.println(getTotalDept());\n\n\t}", "System.out.println(getTotalDept())", "System.out.println", "System.out", "System", "System.out", "getTotalDept()", "getTotalDept", "String[] args", "args", "/**\n\t * ?????????????????????????????? ????????????????????±???????¨??????????????¨????????????????\n\t *\n\t * @return ???????????????\n\t */\n\tprivate static int getTotalDept() {\n\t\tdouble debt = 100000 / REVALUATION;\n\t\tfor (; weekNum > 0; weekNum--) {\n\t\t\tdebt = Math.ceil(debt * INTEREST); // ????????????\n\t\t}\n\t\treturn (int) (debt * REVALUATION);\n\t}", "getTotalDept", "{\n\t\tdouble debt = 100000 / REVALUATION;\n\t\tfor (; weekNum > 0; weekNum--) {\n\t\t\tdebt = Math.ceil(debt * INTEREST); // ????????????\n\t\t}\n\t\treturn (int) (debt * REVALUATION);\n\t}", "double debt = 100000 / REVALUATION;", "debt", "100000 / REVALUATION", "100000", "REVALUATION", "for (; weekNum > 0; weekNum--) {\n\t\t\tdebt = Math.ceil(debt * INTEREST); // ????????????\n\t\t}", ";", "weekNum > 0", "weekNum", "0", "weekNum--", "weekNum--", "weekNum", "{\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", "return (int) (debt * REVALUATION);", "(int) (debt * REVALUATION)", "debt", "REVALUATION", "public class Main {\n\n\t/*** ?????? */\n\tprivate final static double INTEREST = 1.05;\n\n\t/*** ??????????????? */\n\tprivate final static double REVALUATION = 1000;\n\n\t/*** ???????????\\??????????????????????¨??????\\?????? */\n\tprivate static BufferedReader br;\n\n\t/*** ??± */\n\tprivate static int weekNum;\n\n\t/*** ????????? */\n\tstatic {\n\t\t// ?¨??????\\?????????\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tweekNum = Integer.parseInt(br.readLine());\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n\t/**\n\t * ?????????????????????<br>\n\t * ??????????????????????????????\n\t *\n\t * @param args\n\t * ??????????????°\n\t */\n\tpublic static void main(String[] args) {\n\n\t\t// ????????????????????????\n\t\tSystem.out.println(getTotalDept());\n\n\t}\n\n\t/**\n\t * ?????????????????????????????? ????????????????????±???????¨??????????????¨????????????????\n\t *\n\t * @return ???????????????\n\t */\n\tprivate static int getTotalDept() {\n\t\tdouble debt = 100000 / REVALUATION;\n\t\tfor (; weekNum > 0; weekNum--) {\n\t\t\tdebt = Math.ceil(debt * INTEREST); // ????????????\n\t\t}\n\t\treturn (int) (debt * REVALUATION);\n\t}\n\n}", "public class Main {\n\n\t/*** ?????? */\n\tprivate final static double INTEREST = 1.05;\n\n\t/*** ??????????????? */\n\tprivate final static double REVALUATION = 1000;\n\n\t/*** ???????????\\??????????????????????¨??????\\?????? */\n\tprivate static BufferedReader br;\n\n\t/*** ??± */\n\tprivate static int weekNum;\n\n\t/*** ????????? */\n\tstatic {\n\t\t// ?¨??????\\?????????\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tweekNum = Integer.parseInt(br.readLine());\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n\t/**\n\t * ?????????????????????<br>\n\t * ??????????????????????????????\n\t *\n\t * @param args\n\t * ??????????????°\n\t */\n\tpublic static void main(String[] args) {\n\n\t\t// ????????????????????????\n\t\tSystem.out.println(getTotalDept());\n\n\t}\n\n\t/**\n\t * ?????????????????????????????? ????????????????????±???????¨??????????????¨????????????????\n\t *\n\t * @return ???????????????\n\t */\n\tprivate static int getTotalDept() {\n\t\tdouble debt = 100000 / REVALUATION;\n\t\tfor (; weekNum > 0; weekNum--) {\n\t\t\tdebt = Math.ceil(debt * INTEREST); // ????????????\n\t\t}\n\t\treturn (int) (debt * REVALUATION);\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /** * @author Yuki */ public class Main { /*** ?????? */ private final static double INTEREST = 1.05; /*** ??????????????? */ private final static double REVALUATION = 1000; /*** ???????????\??????????????????????¨??????\?????? */ private static BufferedReader br; /*** ??± */ private static int weekNum; /*** ????????? */ static { // ?¨??????\????????? br = new BufferedReader(new InputStreamReader(System.in)); try { weekNum = Integer.parseInt(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } /** * ?????????????????????<br> * ?????????????????????????????? * * @param args * ??????????????° */ public static void main(String[] args) { // ???????????????????????? System.out.println(getTotalDept()); } /** * ?????????????????????????????? ????????????????????±???????¨??????????????¨???????????????? * * @return ??????????????? */ private static int getTotalDept() { double debt = 100000 / REVALUATION; for (; weekNum > 0; weekNum--) { debt = Math.ceil(debt * INTEREST); // ???????????? } return (int) (debt * REVALUATION); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 42, 2, 0, 13, 4, 18, 13, 17, 30, 0, 13, 4, 18, 13, 13, 0, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 0, 13, 17, 0, 13, 2, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 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 ], [ 85, 17 ], [ 85, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 20, 26 ], [ 26, 27 ], [ 20, 28 ], [ 28, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 31, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 38, 45 ], [ 45, 46 ], [ 45, 47 ], [ 38, 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 ], [ 60, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 69, 74 ], [ 38, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 75, 81 ], [ 18, 82 ], [ 82, 83 ], [ 0, 84 ], [ 84, 85 ], [ 84, 86 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.lang.Exception;\nimport java.lang.Integer;\nimport java.lang.System;\n\npublic class Main {\n public static void main(String[] a) throws Exception {\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n String s;\n int week;\n double total;\n\n while((s = r.readLine()) != null) {\n week = Integer.parseInt(s);\n total = 100000;\n for(int i = 0; i < week; i++) {\n total *= 1.05;\n total /= 1000;\n total = Math.ceil(total) * 1000;\n }\n System.out.printf(\"%.0f\\n\", total);\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.lang.Exception;", "Exception", "java.lang", "import java.lang.Integer;", "Integer", "java.lang", "import java.lang.System;", "System", "java.lang", "public class Main {\n public static void main(String[] a) throws Exception {\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n String s;\n int week;\n double total;\n\n while((s = r.readLine()) != null) {\n week = Integer.parseInt(s);\n total = 100000;\n for(int i = 0; i < week; i++) {\n total *= 1.05;\n total /= 1000;\n total = Math.ceil(total) * 1000;\n }\n System.out.printf(\"%.0f\\n\", total);\n }\n }\n}", "Main", "public static void main(String[] a) throws Exception {\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n String s;\n int week;\n double total;\n\n while((s = r.readLine()) != null) {\n week = Integer.parseInt(s);\n total = 100000;\n for(int i = 0; i < week; i++) {\n total *= 1.05;\n total /= 1000;\n total = Math.ceil(total) * 1000;\n }\n System.out.printf(\"%.0f\\n\", total);\n }\n }", "main", "{\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n String s;\n int week;\n double total;\n\n while((s = r.readLine()) != null) {\n week = Integer.parseInt(s);\n total = 100000;\n for(int i = 0; i < week; i++) {\n total *= 1.05;\n total /= 1000;\n total = Math.ceil(total) * 1000;\n }\n System.out.printf(\"%.0f\\n\", total);\n }\n }", "BufferedReader r = new BufferedReader(new InputStreamReader(System.in));", "r", "new BufferedReader(new InputStreamReader(System.in))", "String s;", "s", "int week;", "week", "double total;", "total", "while((s = r.readLine()) != null) {\n week = Integer.parseInt(s);\n total = 100000;\n for(int i = 0; i < week; i++) {\n total *= 1.05;\n total /= 1000;\n total = Math.ceil(total) * 1000;\n }\n System.out.printf(\"%.0f\\n\", total);\n }", "(s = r.readLine()) != null", "(s = r.readLine())", "s", "r.readLine()", "r.readLine", "r", "null", "{\n week = Integer.parseInt(s);\n total = 100000;\n for(int i = 0; i < week; i++) {\n total *= 1.05;\n total /= 1000;\n total = Math.ceil(total) * 1000;\n }\n System.out.printf(\"%.0f\\n\", total);\n }", "week = Integer.parseInt(s)", "week", "Integer.parseInt(s)", "Integer.parseInt", "Integer", "s", "total = 100000", "total", "100000", "for(int i = 0; i < week; i++) {\n total *= 1.05;\n total /= 1000;\n total = Math.ceil(total) * 1000;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < week", "i", "week", "i++", "i++", "i", "{\n total *= 1.05;\n total /= 1000;\n total = Math.ceil(total) * 1000;\n }", "{\n total *= 1.05;\n total /= 1000;\n total = Math.ceil(total) * 1000;\n }", "total *= 1.05", "total", "1.05", "total /= 1000", "total", "1000", "total = Math.ceil(total) * 1000", "total", "Math.ceil(total) * 1000", "Math.ceil(total)", "Math.ceil", "Math", "total", "1000", "System.out.printf(\"%.0f\\n\", total)", "System.out.printf", "System.out", "System", "System.out", "\"%.0f\\n\"", "total", "String[] a", "a", "public class Main {\n public static void main(String[] a) throws Exception {\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n String s;\n int week;\n double total;\n\n while((s = r.readLine()) != null) {\n week = Integer.parseInt(s);\n total = 100000;\n for(int i = 0; i < week; i++) {\n total *= 1.05;\n total /= 1000;\n total = Math.ceil(total) * 1000;\n }\n System.out.printf(\"%.0f\\n\", total);\n }\n }\n}", "public class Main {\n public static void main(String[] a) throws Exception {\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n String s;\n int week;\n double total;\n\n while((s = r.readLine()) != null) {\n week = Integer.parseInt(s);\n total = 100000;\n for(int i = 0; i < week; i++) {\n total *= 1.05;\n total /= 1000;\n total = Math.ceil(total) * 1000;\n }\n System.out.printf(\"%.0f\\n\", total);\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.lang.Exception; import java.lang.Integer; import java.lang.System; public class Main { public static void main(String[] a) throws Exception { BufferedReader r = new BufferedReader(new InputStreamReader(System.in)); String s; int week; double total; while((s = r.readLine()) != null) { week = Integer.parseInt(s); total = 100000; for(int i = 0; i < week; i++) { total *= 1.05; total /= 1000; total = Math.ceil(total) * 1000; } System.out.printf("%.0f\n", total); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 0, 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, 17, 40, 13, 30, 0, 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 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 21, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 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 ], [ 50, 54 ], [ 54, 55 ], [ 44, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 40, 60 ], [ 60, 61 ], [ 60, 62 ], [ 8, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 6, 69 ], [ 69, 70 ] ]
[ "import java.io.*;\nclass Main{\n public static void main(String[] args)throws IOException{\n\tBufferedReader br=\n\t new BufferedReader(new InputStreamReader(System.in));\n\tString buf;\n\tbuf=br.readLine();\n\tint n=Integer.parseInt(buf);\n\tint money=100000;\n\tfor(int i=1;i<=n;i++){\n\t money*=1.05;\n\t if(money%1000>0){\n\t\tmoney/=1000;\n\t\tmoney++;\n\t }else{\n\t\tmoney/=1000;\n\t }\n\t money*=1000;\n\t}\n\tSystem.out.println(money);\n }\n}", "import java.io.*;", "io.*", "java", "class Main{\n public static void main(String[] args)throws IOException{\n\tBufferedReader br=\n\t new BufferedReader(new InputStreamReader(System.in));\n\tString buf;\n\tbuf=br.readLine();\n\tint n=Integer.parseInt(buf);\n\tint money=100000;\n\tfor(int i=1;i<=n;i++){\n\t money*=1.05;\n\t if(money%1000>0){\n\t\tmoney/=1000;\n\t\tmoney++;\n\t }else{\n\t\tmoney/=1000;\n\t }\n\t money*=1000;\n\t}\n\tSystem.out.println(money);\n }\n}", "Main", "public static void main(String[] args)throws IOException{\n\tBufferedReader br=\n\t new BufferedReader(new InputStreamReader(System.in));\n\tString buf;\n\tbuf=br.readLine();\n\tint n=Integer.parseInt(buf);\n\tint money=100000;\n\tfor(int i=1;i<=n;i++){\n\t money*=1.05;\n\t if(money%1000>0){\n\t\tmoney/=1000;\n\t\tmoney++;\n\t }else{\n\t\tmoney/=1000;\n\t }\n\t money*=1000;\n\t}\n\tSystem.out.println(money);\n }", "main", "{\n\tBufferedReader br=\n\t new BufferedReader(new InputStreamReader(System.in));\n\tString buf;\n\tbuf=br.readLine();\n\tint n=Integer.parseInt(buf);\n\tint money=100000;\n\tfor(int i=1;i<=n;i++){\n\t money*=1.05;\n\t if(money%1000>0){\n\t\tmoney/=1000;\n\t\tmoney++;\n\t }else{\n\t\tmoney/=1000;\n\t }\n\t money*=1000;\n\t}\n\tSystem.out.println(money);\n }", "BufferedReader br=\n\t new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String buf;", "buf", "buf=br.readLine()", "buf", "br.readLine()", "br.readLine", "br", "int n=Integer.parseInt(buf);", "n", "Integer.parseInt(buf)", "Integer.parseInt", "Integer", "buf", "int money=100000;", "money", "100000", "for(int i=1;i<=n;i++){\n\t money*=1.05;\n\t if(money%1000>0){\n\t\tmoney/=1000;\n\t\tmoney++;\n\t }else{\n\t\tmoney/=1000;\n\t }\n\t money*=1000;\n\t}", "int i=1;", "int i=1;", "i", "1", "i<=n", "i", "n", "i++", "i++", "i", "{\n\t money*=1.05;\n\t if(money%1000>0){\n\t\tmoney/=1000;\n\t\tmoney++;\n\t }else{\n\t\tmoney/=1000;\n\t }\n\t money*=1000;\n\t}", "{\n\t money*=1.05;\n\t if(money%1000>0){\n\t\tmoney/=1000;\n\t\tmoney++;\n\t }else{\n\t\tmoney/=1000;\n\t }\n\t money*=1000;\n\t}", "money*=1.05", "money", "1.05", "if(money%1000>0){\n\t\tmoney/=1000;\n\t\tmoney++;\n\t }else{\n\t\tmoney/=1000;\n\t }", "money%1000>0", "money%1000", "money", "1000", "0", "{\n\t\tmoney/=1000;\n\t\tmoney++;\n\t }", "money/=1000", "money", "1000", "money++", "money", "{\n\t\tmoney/=1000;\n\t }", "money/=1000", "money", "1000", "money*=1000", "money", "1000", "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)throws IOException{ BufferedReader br= new BufferedReader(new InputStreamReader(System.in)); String buf; buf=br.readLine(); int n=Integer.parseInt(buf); int money=100000; for(int i=1;i<=n;i++){ money*=1.05; if(money%1000>0){ money/=1000; money++; }else{ money/=1000; } money*=1000; } System.out.println(money); } }
[ 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, 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 ], [ 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 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 44, 53 ], [ 14, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 12, 60 ], [ 60, 61 ] ]
[ "//0007: Debt Hell\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t int week = Integer.parseInt(in.readLine());\n\n\t\t int debt = 100000;\n\t\t \n\t\t for(int i=0;i<week;i++){\n\t\t\t debt =(int)Math.ceil(debt*1.05/1000)*1000;\n\t\t }\n\n\t\t\tSystem.out.println(debt);\n\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t int week = Integer.parseInt(in.readLine());\n\n\t\t int debt = 100000;\n\t\t \n\t\t for(int i=0;i<week;i++){\n\t\t\t debt =(int)Math.ceil(debt*1.05/1000)*1000;\n\t\t }\n\n\t\t\tSystem.out.println(debt);\n\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t int week = Integer.parseInt(in.readLine());\n\n\t\t int debt = 100000;\n\t\t \n\t\t for(int i=0;i<week;i++){\n\t\t\t debt =(int)Math.ceil(debt*1.05/1000)*1000;\n\t\t }\n\n\t\t\tSystem.out.println(debt);\n\n\t}", "main", "{\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t int week = Integer.parseInt(in.readLine());\n\n\t\t int debt = 100000;\n\t\t \n\t\t for(int i=0;i<week;i++){\n\t\t\t debt =(int)Math.ceil(debt*1.05/1000)*1000;\n\t\t }\n\n\t\t\tSystem.out.println(debt);\n\n\t}", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "int week = Integer.parseInt(in.readLine());", "week", "Integer.parseInt(in.readLine())", "Integer.parseInt", "Integer", "in.readLine()", "in.readLine", "in", "int debt = 100000;", "debt", "100000", "for(int i=0;i<week;i++){\n\t\t\t debt =(int)Math.ceil(debt*1.05/1000)*1000;\n\t\t }", "int i=0;", "int i=0;", "i", "0", "i<week", "i", "week", "i++", "i++", "i", "{\n\t\t\t debt =(int)Math.ceil(debt*1.05/1000)*1000;\n\t\t }", "{\n\t\t\t debt =(int)Math.ceil(debt*1.05/1000)*1000;\n\t\t }", "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" ]
//0007: Debt Hell import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); int week = Integer.parseInt(in.readLine()); int debt = 100000; for(int i=0;i<week;i++){ debt =(int)Math.ceil(debt*1.05/1000)*1000; } System.out.println(debt); } }
[ 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, 14, 2, 2, 2, 13, 17, 2, 13, 17, 17, 0, 13, 2, 2, 13, 17, 17, 0, 13, 2, 13, 17, 4, 18, 18, 13, 13, 2, 13, 17, 12, 13, 30, 4, 18, 20, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 78, 11 ], [ 78, 12 ], [ 12, 13 ], [ 12, 14 ], [ 78, 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 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 45, 47 ], [ 40, 48 ], [ 39, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 39, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 17, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 78, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 69, 75 ], [ 75, 76 ], [ 0, 77 ], [ 77, 78 ], [ 77, 79 ] ]
[ "import java.util.*;\nimport java.lang.*;\nimport java.math.*;\n\n\npublic class Main {\n\t\n\tScanner sc = new Scanner(System.in);\n\t\n\tvoid run() {\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint b = 100;\n\t\t\n\t\tfor (int i=0;i<n;i++) {\n\t\t\t\n\t\t\tif ( (double)(b*0.05) - (int)(b*0.05) > 0 )\n\t\t\t\tb = (int)( b * 1.05 ) + 1;\n\t\t\telse \n\t\t\t\tb = (int)( b * 1.05 );\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(b*1000);\n\t\t\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}\n\t\n}", "import java.util.*;", "util.*", "java", "import java.lang.*;", "lang.*", "java", "import java.math.*;", "math.*", "java", "public class Main {\n\t\n\tScanner sc = new Scanner(System.in);\n\t\n\tvoid run() {\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint b = 100;\n\t\t\n\t\tfor (int i=0;i<n;i++) {\n\t\t\t\n\t\t\tif ( (double)(b*0.05) - (int)(b*0.05) > 0 )\n\t\t\t\tb = (int)( b * 1.05 ) + 1;\n\t\t\telse \n\t\t\t\tb = (int)( b * 1.05 );\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(b*1000);\n\t\t\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}\n\t\n}", "Main", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "void run() {\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint b = 100;\n\t\t\n\t\tfor (int i=0;i<n;i++) {\n\t\t\t\n\t\t\tif ( (double)(b*0.05) - (int)(b*0.05) > 0 )\n\t\t\t\tb = (int)( b * 1.05 ) + 1;\n\t\t\telse \n\t\t\t\tb = (int)( b * 1.05 );\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(b*1000);\n\t\t\n\t}", "run", "{\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint b = 100;\n\t\t\n\t\tfor (int i=0;i<n;i++) {\n\t\t\t\n\t\t\tif ( (double)(b*0.05) - (int)(b*0.05) > 0 )\n\t\t\t\tb = (int)( b * 1.05 ) + 1;\n\t\t\telse \n\t\t\t\tb = (int)( b * 1.05 );\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(b*1000);\n\t\t\n\t}", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int b = 100;", "b", "100", "for (int i=0;i<n;i++) {\n\t\t\t\n\t\t\tif ( (double)(b*0.05) - (int)(b*0.05) > 0 )\n\t\t\t\tb = (int)( b * 1.05 ) + 1;\n\t\t\telse \n\t\t\t\tb = (int)( b * 1.05 );\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\tif ( (double)(b*0.05) - (int)(b*0.05) > 0 )\n\t\t\t\tb = (int)( b * 1.05 ) + 1;\n\t\t\telse \n\t\t\t\tb = (int)( b * 1.05 );\n\t\t\t\n\t\t}", "{\n\t\t\t\n\t\t\tif ( (double)(b*0.05) - (int)(b*0.05) > 0 )\n\t\t\t\tb = (int)( b * 1.05 ) + 1;\n\t\t\telse \n\t\t\t\tb = (int)( b * 1.05 );\n\t\t\t\n\t\t}", "if ( (double)(b*0.05) - (int)(b*0.05) > 0 )\n\t\t\t\tb = (int)( b * 1.05 ) + 1;\n\t\t\telse \n\t\t\t\tb = (int)( b * 1.05 );", "(double)(b*0.05) - (int)(b*0.05) > 0", "(double)(b*0.05) - (int)(b*0.05)", "(double)(b*0.05)", "b", "0.05", "(int)(b*0.05)", "b", "0.05", "0", "b = (int)( b * 1.05 ) + 1", "b", "(int)( b * 1.05 ) + 1", "(int)( b * 1.05 )", "b", "1.05", "1", "b = (int)( b * 1.05 )", "b", "(int)( b * 1.05 )", "b", "1.05", "System.out.println(b*1000)", "System.out.println", "System.out", "System", "System.out", "b*1000", "b", "1000", "public static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}", "main", "{\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}", "new Main().run()", "new Main().run", "new Main()", "String[] args", "args", "public class Main {\n\t\n\tScanner sc = new Scanner(System.in);\n\t\n\tvoid run() {\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint b = 100;\n\t\t\n\t\tfor (int i=0;i<n;i++) {\n\t\t\t\n\t\t\tif ( (double)(b*0.05) - (int)(b*0.05) > 0 )\n\t\t\t\tb = (int)( b * 1.05 ) + 1;\n\t\t\telse \n\t\t\t\tb = (int)( b * 1.05 );\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(b*1000);\n\t\t\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}\n\t\n}", "public class Main {\n\t\n\tScanner sc = new Scanner(System.in);\n\t\n\tvoid run() {\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint b = 100;\n\t\t\n\t\tfor (int i=0;i<n;i++) {\n\t\t\t\n\t\t\tif ( (double)(b*0.05) - (int)(b*0.05) > 0 )\n\t\t\t\tb = (int)( b * 1.05 ) + 1;\n\t\t\telse \n\t\t\t\tb = (int)( b * 1.05 );\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(b*1000);\n\t\t\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\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 n = sc.nextInt(); int b = 100; for (int i=0;i<n;i++) { if ( (double)(b*0.05) - (int)(b*0.05) > 0 ) b = (int)( b * 1.05 ) + 1; else b = (int)( b * 1.05 ); } System.out.println(b*1000); } 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, 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\n//Debt Hell\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint a = 100000;\n\t\twhile(n--!=0){\n\t\t\ta+=a/20;\n\t\t\tint r=a%1000;\n\t\t\tif(r!=0)a+=1000-r;\n\t\t}\n\t\tSystem.out.println(a);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint a = 100000;\n\t\twhile(n--!=0){\n\t\t\ta+=a/20;\n\t\t\tint r=a%1000;\n\t\t\tif(r!=0)a+=1000-r;\n\t\t}\n\t\tSystem.out.println(a);\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 a = 100000;\n\t\twhile(n--!=0){\n\t\t\ta+=a/20;\n\t\t\tint r=a%1000;\n\t\t\tif(r!=0)a+=1000-r;\n\t\t}\n\t\tSystem.out.println(a);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint a = 100000;\n\t\twhile(n--!=0){\n\t\t\ta+=a/20;\n\t\t\tint r=a%1000;\n\t\t\tif(r!=0)a+=1000-r;\n\t\t}\n\t\tSystem.out.println(a);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int a = 100000;", "a", "100000", "while(n--!=0){\n\t\t\ta+=a/20;\n\t\t\tint r=a%1000;\n\t\t\tif(r!=0)a+=1000-r;\n\t\t}", "n--!=0", "n--", "n", "0", "{\n\t\t\ta+=a/20;\n\t\t\tint r=a%1000;\n\t\t\tif(r!=0)a+=1000-r;\n\t\t}", "a+=a/20", "a", "a/20", "a", "20", "int r=a%1000;", "r", "a%1000", "a", "1000", "if(r!=0)a+=1000-r;", "r!=0", "r", "0", "a+=1000-r", "a", "1000-r", "1000", "r", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "String[] args", "args", "public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint a = 100000;\n\t\twhile(n--!=0){\n\t\t\ta+=a/20;\n\t\t\tint r=a%1000;\n\t\t\tif(r!=0)a+=1000-r;\n\t\t}\n\t\tSystem.out.println(a);\n\t}\n}", "public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint a = 100000;\n\t\twhile(n--!=0){\n\t\t\ta+=a/20;\n\t\t\tint r=a%1000;\n\t\t\tif(r!=0)a+=1000-r;\n\t\t}\n\t\tSystem.out.println(a);\n\t}\n}", "Main" ]
import java.util.Scanner; //Debt Hell public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int a = 100000; while(n--!=0){ a+=a/20; int r=a%1000; if(r!=0)a+=1000-r; } System.out.println(a); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 4, 18, 13, 5, 13, 30, 4, 18, 13, 30, 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, 2, 2, 2, 13, 17, 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 ], [ 76, 11 ], [ 76, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 18, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 18, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 38, 39 ], [ 31, 40 ], [ 40, 41 ], [ 40, 42 ], [ 31, 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 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 59, 65 ], [ 58, 66 ], [ 31, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 12, 73 ], [ 73, 74 ], [ 0, 75 ], [ 75, 76 ], [ 75, 77 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t\ttry {\n\t\t\tint weeks = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\tint d = 100000;\n\t\t\tfor (int i = 0; i < weeks; i++) {\n\t\t\t\td = (int)((double)d * 1.05 + 999) / 1000 * 1000;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t\ttry {\n\t\t\tint weeks = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\tint d = 100000;\n\t\t\tfor (int i = 0; i < weeks; i++) {\n\t\t\t\td = (int)((double)d * 1.05 + 999) / 1000 * 1000;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t\ttry {\n\t\t\tint weeks = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\tint d = 100000;\n\t\t\tfor (int i = 0; i < weeks; i++) {\n\t\t\t\td = (int)((double)d * 1.05 + 999) / 1000 * 1000;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t\ttry {\n\t\t\tint weeks = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\tint d = 100000;\n\t\t\tfor (int i = 0; i < weeks; i++) {\n\t\t\t\td = (int)((double)d * 1.05 + 999) / 1000 * 1000;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "try {\n\t\t\tint weeks = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\tint d = 100000;\n\t\t\tfor (int i = 0; i < weeks; i++) {\n\t\t\t\td = (int)((double)d * 1.05 + 999) / 1000 * 1000;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "NumberFormatException e", "{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "IOException e", "{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tint weeks = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\tint d = 100000;\n\t\t\tfor (int i = 0; i < weeks; i++) {\n\t\t\t\td = (int)((double)d * 1.05 + 999) / 1000 * 1000;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t}", "int weeks = Integer.parseInt(in.readLine());", "weeks", "Integer.parseInt(in.readLine())", "Integer.parseInt", "Integer", "in.readLine()", "in.readLine", "in", "int d = 100000;", "d", "100000", "for (int i = 0; i < weeks; i++) {\n\t\t\t\td = (int)((double)d * 1.05 + 999) / 1000 * 1000;\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < weeks", "i", "weeks", "i++", "i++", "i", "{\n\t\t\t\td = (int)((double)d * 1.05 + 999) / 1000 * 1000;\n\t\t\t}", "{\n\t\t\t\td = (int)((double)d * 1.05 + 999) / 1000 * 1000;\n\t\t\t}", "d = (int)((double)d * 1.05 + 999) / 1000 * 1000", "d", "(int)((double)d * 1.05 + 999) / 1000 * 1000", "(int)((double)d * 1.05 + 999) / 1000", "(int)((double)d * 1.05 + 999)", "(double)d * 1.05", "(double)d", "1.05", "999", "1000", "1000", "System.out.println(d)", "System.out.println", "System.out", "System", "System.out", "d", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t\ttry {\n\t\t\tint weeks = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\tint d = 100000;\n\t\t\tfor (int i = 0; i < weeks; i++) {\n\t\t\t\td = (int)((double)d * 1.05 + 999) / 1000 * 1000;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t\ttry {\n\t\t\tint weeks = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\tint d = 100000;\n\t\t\tfor (int i = 0; i < weeks; i++) {\n\t\t\t\td = (int)((double)d * 1.05 + 999) / 1000 * 1000;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(d);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); try { int weeks = Integer.parseInt(in.readLine()); int d = 100000; for (int i = 0; i < weeks; i++) { d = (int)((double)d * 1.05 + 999) / 1000 * 1000; } System.out.println(d); } catch (NumberFormatException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } }
[ 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, 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 ], [ 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 ], [ 35, 36 ], [ 35, 37 ], [ 32, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 38, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 46, 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\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tlong money = 100000;\n\t\t\n\t\tfor(int i=1; i<=n; i++){\n\t\t\tmoney = (long) (money*1.05);\n\t\t\tif(money % 1000 != 0)\n\t\t\t\tmoney = money - money%1000 +1000 ; \n\t\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(money);\n\n\t}\n\n}", "import java.util.*;", "util.*", "java", "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 stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tlong money = 100000;\n\t\t\n\t\tfor(int i=1; i<=n; i++){\n\t\t\tmoney = (long) (money*1.05);\n\t\t\tif(money % 1000 != 0)\n\t\t\t\tmoney = money - money%1000 +1000 ; \n\t\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(money);\n\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 stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tlong money = 100000;\n\t\t\n\t\tfor(int i=1; i<=n; i++){\n\t\t\tmoney = (long) (money*1.05);\n\t\t\tif(money % 1000 != 0)\n\t\t\t\tmoney = money - money%1000 +1000 ; \n\t\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(money);\n\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tlong money = 100000;\n\t\t\n\t\tfor(int i=1; i<=n; i++){\n\t\t\tmoney = (long) (money*1.05);\n\t\t\tif(money % 1000 != 0)\n\t\t\t\tmoney = money - money%1000 +1000 ; \n\t\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(money);\n\n\t}", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "int n = stdIn.nextInt();", "n", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "long money = 100000;", "money", "100000", "for(int i=1; i<=n; i++){\n\t\t\tmoney = (long) (money*1.05);\n\t\t\tif(money % 1000 != 0)\n\t\t\t\tmoney = money - money%1000 +1000 ; \n\t\t\t\t\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<=n", "i", "n", "i++", "i++", "i", "{\n\t\t\tmoney = (long) (money*1.05);\n\t\t\tif(money % 1000 != 0)\n\t\t\t\tmoney = money - money%1000 +1000 ; \n\t\t\t\t\n\t\t}", "{\n\t\t\tmoney = (long) (money*1.05);\n\t\t\tif(money % 1000 != 0)\n\t\t\t\tmoney = money - money%1000 +1000 ; \n\t\t\t\t\n\t\t}", "money = (long) (money*1.05)", "money", "(long) (money*1.05)", "money", "1.05", "if(money % 1000 != 0)\n\t\t\t\tmoney = money - money%1000 +1000 ;", "money % 1000 != 0", "money % 1000", "money", "1000", "0", "money = money - money%1000 +1000", "money", "money - money%1000 +1000", "money - money%1000", "money", "money%1000", "money", "1000", "1000", "System.out.println(money)", "System.out.println", "System.out", "System", "System.out", "money", "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 stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tlong money = 100000;\n\t\t\n\t\tfor(int i=1; i<=n; i++){\n\t\t\tmoney = (long) (money*1.05);\n\t\t\tif(money % 1000 != 0)\n\t\t\t\tmoney = money - money%1000 +1000 ; \n\t\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(money);\n\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 stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tlong money = 100000;\n\t\t\n\t\tfor(int i=1; i<=n; i++){\n\t\t\tmoney = (long) (money*1.05);\n\t\t\tif(money % 1000 != 0)\n\t\t\t\tmoney = money - money%1000 +1000 ; \n\t\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(money);\n\n\t}\n\n}", "Main" ]
import java.util.*; public class Main { /** * @param args */ public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner stdIn = new Scanner(System.in); int n = stdIn.nextInt(); long money = 100000; for(int i=1; i<=n; i++){ money = (long) (money*1.05); if(money % 1000 != 0) money = money - money%1000 +1000 ; } System.out.println(money); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 17, 12, 13, 30, 41, 13, 4, 13, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 13, 13, 40, 17, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 14, 2, 13, 17, 30, 4, 18, 13, 29, 4, 18, 13, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 101, 17 ], [ 101, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 101, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 101, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 40, 48 ], [ 48, 49 ], [ 49, 50 ], [ 40, 51 ], [ 52, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 55, 61 ], [ 61, 62 ], [ 55, 63 ], [ 63, 64 ], [ 63, 65 ], [ 32, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 72, 73 ], [ 30, 74 ], [ 74, 75 ], [ 101, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 78, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 78, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 0, 100 ], [ 100, 101 ], [ 100, 102 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\nimport java.math.RoundingMode;\n\npublic class Main {\n\n\t/** 元金 */\n\tprivate static final BigDecimal PRINCIPAL = BigDecimal.valueOf(100000);\n\n\t/** 利息による増加率 */\n\tprivate static final BigDecimal RATE_OF_INCREASE = BigDecimal.valueOf(1.05);\n\n\t/**\n\t * 入力された期間から返済額を計算して出力する。\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 期間を受け取る\n\t\tint week = readNumber();\n\n\t\t// 返済額を計算する\n\t\tBigDecimal debt = PRINCIPAL;\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\t// 1週間ごとに5%利子をつけ、1000円未満は切り上げる\n\t\t\tdebt = debt.multiply(RATE_OF_INCREASE).setScale(-3,\n\t\t\t\t\tRoundingMode.CEILING);\n\t\t}\n\n\t\t// 計算結果を出力する\n\t\tSystem.out.println(debt.toPlainString());\n\t}\n\n\t/**\n\t * 標準入力から1行読み込んで返す。\n\t *\n\t * @return 入力された数値\n\t */\n\tprotected static int readNumber() throws IOException {\n\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tString line = reader.readLine();\n\n\t\tif (reader != null) {\n\t\t\treader.close();\n\t\t}\n\n\t\treturn Integer.parseInt(line);\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.math.RoundingMode;", "RoundingMode", "java.math", "public class Main {\n\n\t/** 元金 */\n\tprivate static final BigDecimal PRINCIPAL = BigDecimal.valueOf(100000);\n\n\t/** 利息による増加率 */\n\tprivate static final BigDecimal RATE_OF_INCREASE = BigDecimal.valueOf(1.05);\n\n\t/**\n\t * 入力された期間から返済額を計算して出力する。\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 期間を受け取る\n\t\tint week = readNumber();\n\n\t\t// 返済額を計算する\n\t\tBigDecimal debt = PRINCIPAL;\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\t// 1週間ごとに5%利子をつけ、1000円未満は切り上げる\n\t\t\tdebt = debt.multiply(RATE_OF_INCREASE).setScale(-3,\n\t\t\t\t\tRoundingMode.CEILING);\n\t\t}\n\n\t\t// 計算結果を出力する\n\t\tSystem.out.println(debt.toPlainString());\n\t}\n\n\t/**\n\t * 標準入力から1行読み込んで返す。\n\t *\n\t * @return 入力された数値\n\t */\n\tprotected static int readNumber() throws IOException {\n\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tString line = reader.readLine();\n\n\t\tif (reader != null) {\n\t\t\treader.close();\n\t\t}\n\n\t\treturn Integer.parseInt(line);\n\t}\n\n}", "Main", "/** 元金 */\n\tprivate static final BigDecimal PRINCIPAL = BigDecimal.valueOf(100000);", "PRINCIPAL", "BigDecimal.valueOf(100000)", "BigDecimal.valueOf", "BigDecimal", "100000", "/** 利息による増加率 */\n\tprivate static final BigDecimal RATE_OF_INCREASE = BigDecimal.valueOf(1.05);", "RATE_OF_INCREASE", "BigDecimal.valueOf(1.05)", "BigDecimal.valueOf", "BigDecimal", "1.05", "/**\n\t * 入力された期間から返済額を計算して出力する。\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 期間を受け取る\n\t\tint week = readNumber();\n\n\t\t// 返済額を計算する\n\t\tBigDecimal debt = PRINCIPAL;\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\t// 1週間ごとに5%利子をつけ、1000円未満は切り上げる\n\t\t\tdebt = debt.multiply(RATE_OF_INCREASE).setScale(-3,\n\t\t\t\t\tRoundingMode.CEILING);\n\t\t}\n\n\t\t// 計算結果を出力する\n\t\tSystem.out.println(debt.toPlainString());\n\t}", "main", "{\n\n\t\t// 期間を受け取る\n\t\tint week = readNumber();\n\n\t\t// 返済額を計算する\n\t\tBigDecimal debt = PRINCIPAL;\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\t// 1週間ごとに5%利子をつけ、1000円未満は切り上げる\n\t\t\tdebt = debt.multiply(RATE_OF_INCREASE).setScale(-3,\n\t\t\t\t\tRoundingMode.CEILING);\n\t\t}\n\n\t\t// 計算結果を出力する\n\t\tSystem.out.println(debt.toPlainString());\n\t}", "int week = readNumber();", "week", "readNumber()", "readNumber", "BigDecimal debt = PRINCIPAL;", "debt", "PRINCIPAL", "for (int i = 0; i < week; i++) {\n\t\t\t// 1週間ごとに5%利子をつけ、1000円未満は切り上げる\n\t\t\tdebt = debt.multiply(RATE_OF_INCREASE).setScale(-3,\n\t\t\t\t\tRoundingMode.CEILING);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < week", "i", "week", "i++", "i++", "i", "{\n\t\t\t// 1週間ごとに5%利子をつけ、1000円未満は切り上げる\n\t\t\tdebt = debt.multiply(RATE_OF_INCREASE).setScale(-3,\n\t\t\t\t\tRoundingMode.CEILING);\n\t\t}", "{\n\t\t\t// 1週間ごとに5%利子をつけ、1000円未満は切り上げる\n\t\t\tdebt = debt.multiply(RATE_OF_INCREASE).setScale(-3,\n\t\t\t\t\tRoundingMode.CEILING);\n\t\t}", "debt = debt.multiply(RATE_OF_INCREASE).setScale(-3,\n\t\t\t\t\tRoundingMode.CEILING)", "debt", "debt.multiply(RATE_OF_INCREASE).setScale(-3,\n\t\t\t\t\tRoundingMode.CEILING)", "debt.multiply(RATE_OF_INCREASE).setScale", "debt.multiply(RATE_OF_INCREASE)", "debt.multiply", "debt", "RATE_OF_INCREASE", "-3", "3", "RoundingMode.CEILING", "RoundingMode", "RoundingMode.CEILING", "System.out.println(debt.toPlainString())", "System.out.println", "System.out", "System", "System.out", "debt.toPlainString()", "debt.toPlainString", "debt", "String[] args", "args", "/**\n\t * 標準入力から1行読み込んで返す。\n\t *\n\t * @return 入力された数値\n\t */\n\tprotected static int readNumber() throws IOException {\n\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tString line = reader.readLine();\n\n\t\tif (reader != null) {\n\t\t\treader.close();\n\t\t}\n\n\t\treturn Integer.parseInt(line);\n\t}", "readNumber", "{\n\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tString line = reader.readLine();\n\n\t\tif (reader != null) {\n\t\t\treader.close();\n\t\t}\n\n\t\treturn Integer.parseInt(line);\n\t}", "BufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));", "reader", "new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))", "String line = reader.readLine();", "line", "reader.readLine()", "reader.readLine", "reader", "if (reader != null) {\n\t\t\treader.close();\n\t\t}", "reader != null", "reader", "null", "{\n\t\t\treader.close();\n\t\t}", "reader.close()", "reader.close", "reader", "return Integer.parseInt(line);", "Integer.parseInt(line)", "Integer.parseInt", "Integer", "line", "public class Main {\n\n\t/** 元金 */\n\tprivate static final BigDecimal PRINCIPAL = BigDecimal.valueOf(100000);\n\n\t/** 利息による増加率 */\n\tprivate static final BigDecimal RATE_OF_INCREASE = BigDecimal.valueOf(1.05);\n\n\t/**\n\t * 入力された期間から返済額を計算して出力する。\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 期間を受け取る\n\t\tint week = readNumber();\n\n\t\t// 返済額を計算する\n\t\tBigDecimal debt = PRINCIPAL;\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\t// 1週間ごとに5%利子をつけ、1000円未満は切り上げる\n\t\t\tdebt = debt.multiply(RATE_OF_INCREASE).setScale(-3,\n\t\t\t\t\tRoundingMode.CEILING);\n\t\t}\n\n\t\t// 計算結果を出力する\n\t\tSystem.out.println(debt.toPlainString());\n\t}\n\n\t/**\n\t * 標準入力から1行読み込んで返す。\n\t *\n\t * @return 入力された数値\n\t */\n\tprotected static int readNumber() throws IOException {\n\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tString line = reader.readLine();\n\n\t\tif (reader != null) {\n\t\t\treader.close();\n\t\t}\n\n\t\treturn Integer.parseInt(line);\n\t}\n\n}", "public class Main {\n\n\t/** 元金 */\n\tprivate static final BigDecimal PRINCIPAL = BigDecimal.valueOf(100000);\n\n\t/** 利息による増加率 */\n\tprivate static final BigDecimal RATE_OF_INCREASE = BigDecimal.valueOf(1.05);\n\n\t/**\n\t * 入力された期間から返済額を計算して出力する。\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 期間を受け取る\n\t\tint week = readNumber();\n\n\t\t// 返済額を計算する\n\t\tBigDecimal debt = PRINCIPAL;\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\t// 1週間ごとに5%利子をつけ、1000円未満は切り上げる\n\t\t\tdebt = debt.multiply(RATE_OF_INCREASE).setScale(-3,\n\t\t\t\t\tRoundingMode.CEILING);\n\t\t}\n\n\t\t// 計算結果を出力する\n\t\tSystem.out.println(debt.toPlainString());\n\t}\n\n\t/**\n\t * 標準入力から1行読み込んで返す。\n\t *\n\t * @return 入力された数値\n\t */\n\tprotected static int readNumber() throws IOException {\n\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tString line = reader.readLine();\n\n\t\tif (reader != null) {\n\t\t\treader.close();\n\t\t}\n\n\t\treturn Integer.parseInt(line);\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigDecimal; import java.math.RoundingMode; public class Main { /** 元金 */ private static final BigDecimal PRINCIPAL = BigDecimal.valueOf(100000); /** 利息による増加率 */ private static final BigDecimal RATE_OF_INCREASE = BigDecimal.valueOf(1.05); /** * 入力された期間から返済額を計算して出力する。 * * @param args */ public static void main(String[] args) throws IOException { // 期間を受け取る int week = readNumber(); // 返済額を計算する BigDecimal debt = PRINCIPAL; for (int i = 0; i < week; i++) { // 1週間ごとに5%利子をつけ、1000円未満は切り上げる debt = debt.multiply(RATE_OF_INCREASE).setScale(-3, RoundingMode.CEILING); } // 計算結果を出力する System.out.println(debt.toPlainString()); } /** * 標準入力から1行読み込んで返す。 * * @return 入力された数値 */ protected static int readNumber() throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader( System.in)); String line = reader.readLine(); if (reader != null) { reader.close(); } return Integer.parseInt(line); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 4, 18, 13, 17, 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, 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 ], [ 87, 14 ], [ 87, 15 ], [ 15, 16 ], [ 15, 17 ], [ 87, 18 ], [ 18, 19 ], [ 18, 20 ], [ 87, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 27, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 24, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 45, 46 ], [ 35, 47 ], [ 47, 48 ], [ 47, 49 ], [ 35, 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 ], [ 65, 71 ], [ 71, 72 ], [ 65, 73 ], [ 73, 74 ], [ 73, 75 ], [ 35, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 81, 82 ], [ 82, 83 ], [ 21, 84 ], [ 84, 85 ], [ 0, 86 ], [ 86, 87 ], [ 86, 88 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\nimport java.math.RoundingMode;\n\npublic class Main {\n // 初期の借金\n private static final BigDecimal DEBT_FIRST = new BigDecimal(\"100000\");\n\n // 1週間当たりの利率\n private static final BigDecimal INTEREST_PERCENTAGE_PER_WEEK = new BigDecimal(\n \"1.05\");\n\n public static void main(String[] args) {\n try {\n // input\n BufferedReader br = new BufferedReader(new InputStreamReader(\n System.in));\n\n int weeksAfter = Integer.valueOf(br.readLine());\n BigDecimal debtAfter = DEBT_FIRST;\n for (int i = 1; i <= weeksAfter; i++) {\n // 利息をかけて1000円単位で切り上げる\n debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)\n .setScale(-3, RoundingMode.UP);\n }\n\n System.out.println(debtAfter.toPlainString());\n } catch (Exception e) {\n e.printStackTrace();\n System.exit(0);\n }\n\n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.math.RoundingMode;", "RoundingMode", "java.math", "public class Main {\n // 初期の借金\n private static final BigDecimal DEBT_FIRST = new BigDecimal(\"100000\");\n\n // 1週間当たりの利率\n private static final BigDecimal INTEREST_PERCENTAGE_PER_WEEK = new BigDecimal(\n \"1.05\");\n\n public static void main(String[] args) {\n try {\n // input\n BufferedReader br = new BufferedReader(new InputStreamReader(\n System.in));\n\n int weeksAfter = Integer.valueOf(br.readLine());\n BigDecimal debtAfter = DEBT_FIRST;\n for (int i = 1; i <= weeksAfter; i++) {\n // 利息をかけて1000円単位で切り上げる\n debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)\n .setScale(-3, RoundingMode.UP);\n }\n\n System.out.println(debtAfter.toPlainString());\n } catch (Exception e) {\n e.printStackTrace();\n System.exit(0);\n }\n\n }\n\n}", "Main", "// 初期の借金\n private static final BigDecimal DEBT_FIRST = new BigDecimal(\"100000\");", "DEBT_FIRST", "new BigDecimal(\"100000\")", "// 1週間当たりの利率\n private static final BigDecimal INTEREST_PERCENTAGE_PER_WEEK = new BigDecimal(\n \"1.05\");", "INTEREST_PERCENTAGE_PER_WEEK", "new BigDecimal(\n \"1.05\")", "public static void main(String[] args) {\n try {\n // input\n BufferedReader br = new BufferedReader(new InputStreamReader(\n System.in));\n\n int weeksAfter = Integer.valueOf(br.readLine());\n BigDecimal debtAfter = DEBT_FIRST;\n for (int i = 1; i <= weeksAfter; i++) {\n // 利息をかけて1000円単位で切り上げる\n debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)\n .setScale(-3, RoundingMode.UP);\n }\n\n System.out.println(debtAfter.toPlainString());\n } catch (Exception e) {\n e.printStackTrace();\n System.exit(0);\n }\n\n }", "main", "{\n try {\n // input\n BufferedReader br = new BufferedReader(new InputStreamReader(\n System.in));\n\n int weeksAfter = Integer.valueOf(br.readLine());\n BigDecimal debtAfter = DEBT_FIRST;\n for (int i = 1; i <= weeksAfter; i++) {\n // 利息をかけて1000円単位で切り上げる\n debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)\n .setScale(-3, RoundingMode.UP);\n }\n\n System.out.println(debtAfter.toPlainString());\n } catch (Exception e) {\n e.printStackTrace();\n System.exit(0);\n }\n\n }", "try {\n // input\n BufferedReader br = new BufferedReader(new InputStreamReader(\n System.in));\n\n int weeksAfter = Integer.valueOf(br.readLine());\n BigDecimal debtAfter = DEBT_FIRST;\n for (int i = 1; i <= weeksAfter; i++) {\n // 利息をかけて1000円単位で切り上げる\n debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)\n .setScale(-3, RoundingMode.UP);\n }\n\n System.out.println(debtAfter.toPlainString());\n } catch (Exception e) {\n e.printStackTrace();\n System.exit(0);\n }", "catch (Exception e) {\n e.printStackTrace();\n System.exit(0);\n }", "Exception e", "{\n e.printStackTrace();\n System.exit(0);\n }", "e.printStackTrace()", "e.printStackTrace", "e", "System.exit(0)", "System.exit", "System", "0", "{\n // input\n BufferedReader br = new BufferedReader(new InputStreamReader(\n System.in));\n\n int weeksAfter = Integer.valueOf(br.readLine());\n BigDecimal debtAfter = DEBT_FIRST;\n for (int i = 1; i <= weeksAfter; i++) {\n // 利息をかけて1000円単位で切り上げる\n debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)\n .setScale(-3, RoundingMode.UP);\n }\n\n System.out.println(debtAfter.toPlainString());\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(\n System.in));", "br", "new BufferedReader(new InputStreamReader(\n System.in))", "int weeksAfter = Integer.valueOf(br.readLine());", "weeksAfter", "Integer.valueOf(br.readLine())", "Integer.valueOf", "Integer", "br.readLine()", "br.readLine", "br", "BigDecimal debtAfter = DEBT_FIRST;", "debtAfter", "DEBT_FIRST", "for (int i = 1; i <= weeksAfter; i++) {\n // 利息をかけて1000円単位で切り上げる\n debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)\n .setScale(-3, RoundingMode.UP);\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= weeksAfter", "i", "weeksAfter", "i++", "i++", "i", "{\n // 利息をかけて1000円単位で切り上げる\n debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)\n .setScale(-3, RoundingMode.UP);\n }", "{\n // 利息をかけて1000円単位で切り上げる\n debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)\n .setScale(-3, RoundingMode.UP);\n }", "debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)\n .setScale(-3, RoundingMode.UP)", "debtAfter", "debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)\n .setScale(-3, RoundingMode.UP)", "debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)\n .setScale", "debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)", "debtAfter.multiply", "debtAfter", "INTEREST_PERCENTAGE_PER_WEEK", "-3", "3", "RoundingMode.UP", "RoundingMode", "RoundingMode.UP", "System.out.println(debtAfter.toPlainString())", "System.out.println", "System.out", "System", "System.out", "debtAfter.toPlainString()", "debtAfter.toPlainString", "debtAfter", "String[] args", "args", "public class Main {\n // 初期の借金\n private static final BigDecimal DEBT_FIRST = new BigDecimal(\"100000\");\n\n // 1週間当たりの利率\n private static final BigDecimal INTEREST_PERCENTAGE_PER_WEEK = new BigDecimal(\n \"1.05\");\n\n public static void main(String[] args) {\n try {\n // input\n BufferedReader br = new BufferedReader(new InputStreamReader(\n System.in));\n\n int weeksAfter = Integer.valueOf(br.readLine());\n BigDecimal debtAfter = DEBT_FIRST;\n for (int i = 1; i <= weeksAfter; i++) {\n // 利息をかけて1000円単位で切り上げる\n debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)\n .setScale(-3, RoundingMode.UP);\n }\n\n System.out.println(debtAfter.toPlainString());\n } catch (Exception e) {\n e.printStackTrace();\n System.exit(0);\n }\n\n }\n\n}", "public class Main {\n // 初期の借金\n private static final BigDecimal DEBT_FIRST = new BigDecimal(\"100000\");\n\n // 1週間当たりの利率\n private static final BigDecimal INTEREST_PERCENTAGE_PER_WEEK = new BigDecimal(\n \"1.05\");\n\n public static void main(String[] args) {\n try {\n // input\n BufferedReader br = new BufferedReader(new InputStreamReader(\n System.in));\n\n int weeksAfter = Integer.valueOf(br.readLine());\n BigDecimal debtAfter = DEBT_FIRST;\n for (int i = 1; i <= weeksAfter; i++) {\n // 利息をかけて1000円単位で切り上げる\n debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)\n .setScale(-3, RoundingMode.UP);\n }\n\n System.out.println(debtAfter.toPlainString());\n } catch (Exception e) {\n e.printStackTrace();\n System.exit(0);\n }\n\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigDecimal; import java.math.RoundingMode; public class Main { // 初期の借金 private static final BigDecimal DEBT_FIRST = new BigDecimal("100000"); // 1週間当たりの利率 private static final BigDecimal INTEREST_PERCENTAGE_PER_WEEK = new BigDecimal( "1.05"); public static void main(String[] args) { try { // input BufferedReader br = new BufferedReader(new InputStreamReader( System.in)); int weeksAfter = Integer.valueOf(br.readLine()); BigDecimal debtAfter = DEBT_FIRST; for (int i = 1; i <= weeksAfter; i++) { // 利息をかけて1000円単位で切り上げる debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK) .setScale(-3, RoundingMode.UP); } System.out.println(debtAfter.toPlainString()); } catch (Exception e) { e.printStackTrace(); System.exit(0); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 0, 13, 20, 41, 13, 20, 4, 18, 13, 4, 18, 13, 23, 13, 6, 13, 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, 2, 13, 17, 0, 13, 2, 2, 13, 17, 17, 30, 0, 13, 17, 4, 18, 13, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 208, 23 ], [ 208, 24 ], [ 24, 25 ], [ 208, 26 ], [ 26, 27 ], [ 208, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 34, 36 ], [ 30, 37 ], [ 37, 38 ], [ 37, 39 ], [ 30, 40 ], [ 40, 41 ], [ 41, 42 ], [ 30, 43 ], [ 43, 44 ], [ 44, 45 ], [ 28, 46 ], [ 46, 47 ], [ 208, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 52, 58 ], [ 58, 59 ], [ 58, 60 ], [ 52, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 61, 69 ], [ 69, 70 ], [ 70, 71 ], [ 61, 72 ], [ 73, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 77, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 86, 88 ], [ 83, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 77, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 52, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 208, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 104, 108 ], [ 108, 109 ], [ 104, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 110, 116 ], [ 116, 117 ], [ 104, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 121, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 120, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 135, 138 ], [ 138, 139 ], [ 139, 140 ], [ 104, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 145, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 144, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 143, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 158, 161 ], [ 161, 162 ], [ 162, 163 ], [ 104, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 167, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 166, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 104, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 188, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 187, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 186, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 201, 204 ], [ 204, 205 ], [ 205, 206 ], [ 0, 207 ], [ 207, 208 ], [ 207, 209 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\nimport java.util.StringTokenizer;\n\npublic class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n int n = in.nextInt();\n long debt = 100000;\n for (int i = 0; i < n; i++) {\n debt *= 105;\n if (debt % 100000 != 0) { \n debt = debt / 100000;\n debt = debt * 1000 + 1000;\n } else {\n debt /= 100;\n }\n }\n \n out.println(debt);\n \n// End solve()\n }\n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n int n = in.nextInt();\n long debt = 100000;\n for (int i = 0; i < n; i++) {\n debt *= 105;\n if (debt % 100000 != 0) { \n debt = debt / 100000;\n debt = debt * 1000 + 1000;\n } else {\n debt /= 100;\n }\n }\n \n out.println(debt);\n \n// End solve()\n }\n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}", "Main", "static InputReader in;", "in", "static PrintWriter out;", "out", "public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}", "main", "{\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}", "in = new InputReader(System.in)", "in", "new InputReader(System.in)", "out = new PrintWriter(System.out)", "out", "new PrintWriter(System.out)", "Solution solver = new Solution();", "solver", "new Solution()", "solver.solve()", "solver.solve", "solver", "out.close()", "out.close", "out", "String[] args", "args", "static class Solution {\n void solve() throws IOException {\n int n = in.nextInt();\n long debt = 100000;\n for (int i = 0; i < n; i++) {\n debt *= 105;\n if (debt % 100000 != 0) { \n debt = debt / 100000;\n debt = debt * 1000 + 1000;\n } else {\n debt /= 100;\n }\n }\n \n out.println(debt);\n \n// End solve()\n }\n// End Solution\n}", "Solution", "void solve() throws IOException {\n int n = in.nextInt();\n long debt = 100000;\n for (int i = 0; i < n; i++) {\n debt *= 105;\n if (debt % 100000 != 0) { \n debt = debt / 100000;\n debt = debt * 1000 + 1000;\n } else {\n debt /= 100;\n }\n }\n \n out.println(debt);\n \n// End solve()\n }", "solve", "{\n int n = in.nextInt();\n long debt = 100000;\n for (int i = 0; i < n; i++) {\n debt *= 105;\n if (debt % 100000 != 0) { \n debt = debt / 100000;\n debt = debt * 1000 + 1000;\n } else {\n debt /= 100;\n }\n }\n \n out.println(debt);\n \n// End solve()\n }", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "long debt = 100000;", "debt", "100000", "for (int i = 0; i < n; i++) {\n debt *= 105;\n if (debt % 100000 != 0) { \n debt = debt / 100000;\n debt = debt * 1000 + 1000;\n } else {\n debt /= 100;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n debt *= 105;\n if (debt % 100000 != 0) { \n debt = debt / 100000;\n debt = debt * 1000 + 1000;\n } else {\n debt /= 100;\n }\n }", "{\n debt *= 105;\n if (debt % 100000 != 0) { \n debt = debt / 100000;\n debt = debt * 1000 + 1000;\n } else {\n debt /= 100;\n }\n }", "debt *= 105", "debt", "105", "if (debt % 100000 != 0) { \n debt = debt / 100000;\n debt = debt * 1000 + 1000;\n } else {\n debt /= 100;\n }", "debt % 100000 != 0", "debt % 100000", "debt", "100000", "0", "{ \n debt = debt / 100000;\n debt = debt * 1000 + 1000;\n }", "debt = debt / 100000", "debt", "debt / 100000", "debt", "100000", "debt = debt * 1000 + 1000", "debt", "debt * 1000 + 1000", "debt * 1000", "debt", "1000", "1000", "{\n debt /= 100;\n }", "debt /= 100", "debt", "100", "out.println(debt)", "out.println", "out", "debt", "static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }", "InputReader", "public BufferedReader br;", "br", "public StringTokenizer st;", "st", "public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }", "InputReader", "{\n br = new BufferedReader(new InputStreamReader(stream));\n }", "br = new BufferedReader(new InputStreamReader(stream))", "br", "new BufferedReader(new InputStreamReader(stream))", "InputStream stream", "stream", "public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }", "nextInt", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Integer.parseInt(st.nextToken());", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }", "nextLong", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Long.parseLong(st.nextToken());", "Long.parseLong(st.nextToken())", "Long.parseLong", "Long", "st.nextToken()", "st.nextToken", "st", "public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }", "nextDouble", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Double.parseDouble(st.nextToken());", "Double.parseDouble(st.nextToken())", "Double.parseDouble", "Double", "st.nextToken()", "st.nextToken", "st", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n int n = in.nextInt();\n long debt = 100000;\n for (int i = 0; i < n; i++) {\n debt *= 105;\n if (debt % 100000 != 0) { \n debt = debt / 100000;\n debt = debt * 1000 + 1000;\n } else {\n debt /= 100;\n }\n }\n \n out.println(debt);\n \n// End solve()\n }\n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n int n = in.nextInt();\n long debt = 100000;\n for (int i = 0; i < n; i++) {\n debt *= 105;\n if (debt % 100000 != 0) { \n debt = debt / 100000;\n debt = debt * 1000 + 1000;\n } else {\n debt /= 100;\n }\n }\n \n out.println(debt);\n \n// End solve()\n }\n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.Scanner; import java.util.StringTokenizer; public class Main { static InputReader in; static PrintWriter out; static class Solution { void solve() throws IOException { int n = in.nextInt(); long debt = 100000; for (int i = 0; i < n; i++) { debt *= 105; if (debt % 100000 != 0) { debt = debt / 100000; debt = debt * 1000 + 1000; } else { debt /= 100; } } out.println(debt); // End solve() } // End Solution } public static void main(String[] args) throws IOException { in = new InputReader(System.in); out = new PrintWriter(System.out); Solution solver = new Solution(); solver.solve(); out.close(); } static class InputReader { public BufferedReader br; public StringTokenizer st; public InputReader(InputStream stream) { br = new BufferedReader(new InputStreamReader(stream)); } public int nextInt() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Integer.parseInt(st.nextToken()); } public long nextLong() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Long.parseLong(st.nextToken()); } public String next() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return st.nextToken(); } public double nextDouble() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Double.parseDouble(st.nextToken()); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 2, 17, 17, 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, 0, 13, 2, 2, 13, 17, 17, 4, 18, 18, 13, 13, 13, 12, 13, 30, 4, 18, 20, 23, 13, 12, 13, 30, 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 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 91, 11 ], [ 91, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 14, 16 ], [ 91, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 19, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 19, 28 ], [ 28, 29 ], [ 28, 30 ], [ 19, 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 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 49, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 19, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 91, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 68, 74 ], [ 74, 75 ], [ 91, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 76, 88 ], [ 88, 89 ], [ 0, 90 ], [ 90, 91 ], [ 90, 92 ] ]
[ "\nimport java.util.*;\nimport static java.lang.Math.*;\nimport static java.util.Arrays.*;\n\npublic class Main {\n\n\tint INF = 1 << 28;\n\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n= sc.nextInt();\n\t\tint p = 100000;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tp = (int)(p * 1.05);\n//\t\t\tSystem.out.println(p);\n\t\t\tif(p%1000 > 0) p -= p%1000 - 1000;\n//\t\t\tSystem.out.println(p);\n\t\t}\n\t\tSystem.out.println(p);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n\tvoid debug(Object... os) {\n\t\tSystem.err.println(Arrays.deepToString(os));\n\t}\n}", "import java.util.*;", "util.*", "java", "import static java.lang.Math.*;", "import static java.lang.Math.*;", "import static java.lang.Math.*;", "import static java.util.Arrays.*;", "import static java.util.Arrays.*;", "import static java.util.Arrays.*;", "public class Main {\n\n\tint INF = 1 << 28;\n\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n= sc.nextInt();\n\t\tint p = 100000;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tp = (int)(p * 1.05);\n//\t\t\tSystem.out.println(p);\n\t\t\tif(p%1000 > 0) p -= p%1000 - 1000;\n//\t\t\tSystem.out.println(p);\n\t\t}\n\t\tSystem.out.println(p);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n\tvoid debug(Object... os) {\n\t\tSystem.err.println(Arrays.deepToString(os));\n\t}\n}", "Main", "int INF = 1 << 28;", "INF", "1 << 28", "1", "28", "void run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n= sc.nextInt();\n\t\tint p = 100000;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tp = (int)(p * 1.05);\n//\t\t\tSystem.out.println(p);\n\t\t\tif(p%1000 > 0) p -= p%1000 - 1000;\n//\t\t\tSystem.out.println(p);\n\t\t}\n\t\tSystem.out.println(p);\n\t}", "run", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n= sc.nextInt();\n\t\tint p = 100000;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tp = (int)(p * 1.05);\n//\t\t\tSystem.out.println(p);\n\t\t\tif(p%1000 > 0) p -= p%1000 - 1000;\n//\t\t\tSystem.out.println(p);\n\t\t}\n\t\tSystem.out.println(p);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n= sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int p = 100000;", "p", "100000", "for(int i=0;i<n;i++) {\n\t\t\tp = (int)(p * 1.05);\n//\t\t\tSystem.out.println(p);\n\t\t\tif(p%1000 > 0) p -= p%1000 - 1000;\n//\t\t\tSystem.out.println(p);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tp = (int)(p * 1.05);\n//\t\t\tSystem.out.println(p);\n\t\t\tif(p%1000 > 0) p -= p%1000 - 1000;\n//\t\t\tSystem.out.println(p);\n\t\t}", "{\n\t\t\tp = (int)(p * 1.05);\n//\t\t\tSystem.out.println(p);\n\t\t\tif(p%1000 > 0) p -= p%1000 - 1000;\n//\t\t\tSystem.out.println(p);\n\t\t}", "p = (int)(p * 1.05)", "p", "(int)(p * 1.05)", "p", "1.05", "if(p%1000 > 0) p -= p%1000 - 1000;", "p%1000 > 0", "p%1000", "p", "1000", "0", "p -= p%1000 - 1000", "p", "p%1000 - 1000", "p%1000", "p", "1000", "1000", "System.out.println(p)", "System.out.println", "System.out", "System", "System.out", "p", "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", "void debug(Object... os) {\n\t\tSystem.err.println(Arrays.deepToString(os));\n\t}", "debug", "{\n\t\tSystem.err.println(Arrays.deepToString(os));\n\t}", "System.err.println(Arrays.deepToString(os))", "System.err.println", "System.err", "System", "System.err", "Arrays.deepToString(os)", "Arrays.deepToString", "Arrays", "os", "Object... os", "os", "public class Main {\n\n\tint INF = 1 << 28;\n\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n= sc.nextInt();\n\t\tint p = 100000;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tp = (int)(p * 1.05);\n//\t\t\tSystem.out.println(p);\n\t\t\tif(p%1000 > 0) p -= p%1000 - 1000;\n//\t\t\tSystem.out.println(p);\n\t\t}\n\t\tSystem.out.println(p);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n\tvoid debug(Object... os) {\n\t\tSystem.err.println(Arrays.deepToString(os));\n\t}\n}", "public class Main {\n\n\tint INF = 1 << 28;\n\n\tvoid run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n= sc.nextInt();\n\t\tint p = 100000;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tp = (int)(p * 1.05);\n//\t\t\tSystem.out.println(p);\n\t\t\tif(p%1000 > 0) p -= p%1000 - 1000;\n//\t\t\tSystem.out.println(p);\n\t\t}\n\t\tSystem.out.println(p);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\n\tvoid debug(Object... os) {\n\t\tSystem.err.println(Arrays.deepToString(os));\n\t}\n}", "Main" ]
import java.util.*; import static java.lang.Math.*; import static java.util.Arrays.*; public class Main { int INF = 1 << 28; void run() { Scanner sc = new Scanner(System.in); int n= sc.nextInt(); int p = 100000; for(int i=0;i<n;i++) { p = (int)(p * 1.05); // System.out.println(p); if(p%1000 > 0) p -= p%1000 - 1000; // System.out.println(p); } System.out.println(p); } public static void main(String[] args) { new Main().run(); } void debug(Object... os) { System.err.println(Arrays.deepToString(os)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 13, 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 ], [ 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 ], [ 35, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 35, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 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 ], [ 0, 62 ], [ 62, 63 ], [ 62, 64 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main (String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n =scanner.nextInt();\n int principal = 100000;\n int result = principal;\n\n for (int i = 0; i < n; i++) {\n result *= 1.05;\n int remainder = result % 1000;\n if ( remainder != 0) {\n result += 1000-remainder;\n }\n }\n System.out.println(result);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main (String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n =scanner.nextInt();\n int principal = 100000;\n int result = principal;\n\n for (int i = 0; i < n; i++) {\n result *= 1.05;\n int remainder = result % 1000;\n if ( remainder != 0) {\n result += 1000-remainder;\n }\n }\n System.out.println(result);\n }\n}", "Main", "public static void main (String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n =scanner.nextInt();\n int principal = 100000;\n int result = principal;\n\n for (int i = 0; i < n; i++) {\n result *= 1.05;\n int remainder = result % 1000;\n if ( remainder != 0) {\n result += 1000-remainder;\n }\n }\n System.out.println(result);\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n int n =scanner.nextInt();\n int principal = 100000;\n int result = principal;\n\n for (int i = 0; i < n; i++) {\n result *= 1.05;\n int remainder = result % 1000;\n if ( remainder != 0) {\n result += 1000-remainder;\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 principal = 100000;", "principal", "100000", "int result = principal;", "result", "principal", "for (int i = 0; i < n; i++) {\n result *= 1.05;\n int remainder = result % 1000;\n if ( remainder != 0) {\n result += 1000-remainder;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n result *= 1.05;\n int remainder = result % 1000;\n if ( remainder != 0) {\n result += 1000-remainder;\n }\n }", "{\n result *= 1.05;\n int remainder = result % 1000;\n if ( remainder != 0) {\n result += 1000-remainder;\n }\n }", "result *= 1.05", "result", "1.05", "int remainder = result % 1000;", "remainder", "result % 1000", "result", "1000", "if ( remainder != 0) {\n result += 1000-remainder;\n }", "remainder != 0", "remainder", "0", "{\n result += 1000-remainder;\n }", "result += 1000-remainder", "result", "1000-remainder", "1000", "remainder", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args", "public class Main {\n public static void main (String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n =scanner.nextInt();\n int principal = 100000;\n int result = principal;\n\n for (int i = 0; i < n; i++) {\n result *= 1.05;\n int remainder = result % 1000;\n if ( remainder != 0) {\n result += 1000-remainder;\n }\n }\n System.out.println(result);\n }\n}", "public class Main {\n public static void main (String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n =scanner.nextInt();\n int principal = 100000;\n int result = principal;\n\n for (int i = 0; i < n; i++) {\n result *= 1.05;\n int remainder = result % 1000;\n if ( remainder != 0) {\n result += 1000-remainder;\n }\n }\n System.out.println(result);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main (String[] args) { Scanner scanner = new Scanner(System.in); int n =scanner.nextInt(); int principal = 100000; int result = principal; for (int i = 0; i < n; i++) { result *= 1.05; int remainder = result % 1000; if ( remainder != 0) { result += 1000-remainder; } } System.out.println(result); } }
[ 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, 41, 13, 2, 2, 2, 13, 17, 17, 17, 14, 2, 2, 2, 13, 17, 17, 17, 30, 0, 13, 17, 0, 13, 13, 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 ], [ 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 ], [ 37, 39 ], [ 36, 40 ], [ 35, 41 ], [ 32, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 43, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 32, 54 ], [ 54, 55 ], [ 54, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 6, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int base = 100000;\n int n = sc.nextInt();\n for (int i = 0; i < n; i++) {\n int next = (int) ((base * 1.05) / 1000) * 1000;\n if ((base * 1.05) % 1000 > 0){\n next += 1000;\n }\n base = next;\n }\n System.out.println(base);\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 base = 100000;\n int n = sc.nextInt();\n for (int i = 0; i < n; i++) {\n int next = (int) ((base * 1.05) / 1000) * 1000;\n if ((base * 1.05) % 1000 > 0){\n next += 1000;\n }\n base = next;\n }\n System.out.println(base);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int base = 100000;\n int n = sc.nextInt();\n for (int i = 0; i < n; i++) {\n int next = (int) ((base * 1.05) / 1000) * 1000;\n if ((base * 1.05) % 1000 > 0){\n next += 1000;\n }\n base = next;\n }\n System.out.println(base);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int base = 100000;\n int n = sc.nextInt();\n for (int i = 0; i < n; i++) {\n int next = (int) ((base * 1.05) / 1000) * 1000;\n if ((base * 1.05) % 1000 > 0){\n next += 1000;\n }\n base = next;\n }\n System.out.println(base);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int base = 100000;", "base", "100000", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < n; i++) {\n int next = (int) ((base * 1.05) / 1000) * 1000;\n if ((base * 1.05) % 1000 > 0){\n next += 1000;\n }\n base = next;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n int next = (int) ((base * 1.05) / 1000) * 1000;\n if ((base * 1.05) % 1000 > 0){\n next += 1000;\n }\n base = next;\n }", "{\n int next = (int) ((base * 1.05) / 1000) * 1000;\n if ((base * 1.05) % 1000 > 0){\n next += 1000;\n }\n base = next;\n }", "int next = (int) ((base * 1.05) / 1000) * 1000;", "next", "(int) ((base * 1.05) / 1000) * 1000", "(int) ((base * 1.05) / 1000)", "(base * 1.05)", "base", "1.05", "1000", "1000", "if ((base * 1.05) % 1000 > 0){\n next += 1000;\n }", "(base * 1.05) % 1000 > 0", "(base * 1.05) % 1000", "(base * 1.05)", "base", "1.05", "1000", "0", "{\n next += 1000;\n }", "next += 1000", "next", "1000", "base = next", "base", "next", "System.out.println(base)", "System.out.println", "System.out", "System", "System.out", "base", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int base = 100000;\n int n = sc.nextInt();\n for (int i = 0; i < n; i++) {\n int next = (int) ((base * 1.05) / 1000) * 1000;\n if ((base * 1.05) % 1000 > 0){\n next += 1000;\n }\n base = next;\n }\n System.out.println(base);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int base = 100000;\n int n = sc.nextInt();\n for (int i = 0; i < n; i++) {\n int next = (int) ((base * 1.05) / 1000) * 1000;\n if ((base * 1.05) % 1000 > 0){\n next += 1000;\n }\n base = next;\n }\n System.out.println(base);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int base = 100000; int n = sc.nextInt(); for (int i = 0; i < n; i++) { int next = (int) ((base * 1.05) / 1000) * 1000; if ((base * 1.05) % 1000 > 0){ next += 1000; } base = next; } System.out.println(base); } }
[ 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, 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 ], [ 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 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 47, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 6, 60 ], [ 60, 61 ], [ 0, 62 ], [ 62, 63 ], [ 62, 64 ] ]
[ "\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tint m = 100000;\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tm = (int)(m * 1.05);\n\t\t\tif(m%1000!=0){\n\t\t\t\tm = (m/1000)*1000+1000;\n\t\t\t}\n\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 stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tint m = 100000;\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tm = (int)(m * 1.05);\n\t\t\tif(m%1000!=0){\n\t\t\t\tm = (m/1000)*1000+1000;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(m);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tint m = 100000;\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tm = (int)(m * 1.05);\n\t\t\tif(m%1000!=0){\n\t\t\t\tm = (m/1000)*1000+1000;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(m);\n\t}", "main", "{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tint m = 100000;\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tm = (int)(m * 1.05);\n\t\t\tif(m%1000!=0){\n\t\t\t\tm = (m/1000)*1000+1000;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(m);\n\t}", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "int n = stdIn.nextInt();", "n", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int m = 100000;", "m", "100000", "for(int i=0;i<n;i++){\n\t\t\tm = (int)(m * 1.05);\n\t\t\tif(m%1000!=0){\n\t\t\t\tm = (m/1000)*1000+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\tm = (int)(m * 1.05);\n\t\t\tif(m%1000!=0){\n\t\t\t\tm = (m/1000)*1000+1000;\n\t\t\t}\n\t\t}", "{\n\t\t\tm = (int)(m * 1.05);\n\t\t\tif(m%1000!=0){\n\t\t\t\tm = (m/1000)*1000+1000;\n\t\t\t}\n\t\t}", "m = (int)(m * 1.05)", "m", "(int)(m * 1.05)", "m", "1.05", "if(m%1000!=0){\n\t\t\t\tm = (m/1000)*1000+1000;\n\t\t\t}", "m%1000!=0", "m%1000", "m", "1000", "0", "{\n\t\t\t\tm = (m/1000)*1000+1000;\n\t\t\t}", "m = (m/1000)*1000+1000", "m", "(m/1000)*1000+1000", "(m/1000)*1000", "(m/1000)", "m", "1000", "1000", "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\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tint m = 100000;\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tm = (int)(m * 1.05);\n\t\t\tif(m%1000!=0){\n\t\t\t\tm = (m/1000)*1000+1000;\n\t\t\t}\n\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 stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tint m = 100000;\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tm = (int)(m * 1.05);\n\t\t\tif(m%1000!=0){\n\t\t\t\tm = (m/1000)*1000+1000;\n\t\t\t}\n\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 stdIn = new Scanner(System.in); int n = stdIn.nextInt(); int m = 100000; for(int i=0;i<n;i++){ m = (int)(m * 1.05); if(m%1000!=0){ m = (m/1000)*1000+1000; } } System.out.println(m); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 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, 4, 18, 4, 18, 4, 18, 13, 13, 4, 18, 4, 18, 13, 13, 13, 14, 2, 2, 13, 13, 17, 30, 0, 13, 2, 13, 2, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 90, 11 ], [ 90, 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 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 32, 33 ], [ 33, 34 ], [ 14, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 52, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 58, 64 ], [ 47, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 65, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 14, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 12, 87 ], [ 87, 88 ], [ 0, 89 ], [ 89, 90 ], [ 89, 91 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\n\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n //?????????\n final BigDecimal TAX_RATE = new BigDecimal(\"0.05\");\n //?????°?????????????????????????????¨??????\n final int ROUND_UP_FRACTION = 1000;\n //???????????????????????????10???\n int deptLeft = 100000;\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(\n System.in));\n int countWeeks = Integer.parseInt(reader.readLine());\n //1??±??????????????¨??????????????????????????????????????????????¨??????????\n for (int count = 1; count <= countWeeks; count++) {\n deptLeft = BigDecimal.valueOf(deptLeft)\n .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))\n .intValue();\n //1000?????????????????????????????????\n if (deptLeft % ROUND_UP_FRACTION != 0) {\n deptLeft = deptLeft\n + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);\n }\n }\n System.out.println(deptLeft);\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.math.BigDecimal;", "BigDecimal", "java.math", "public class Main {\n\n public static void main(String[] args) throws Exception {\n //?????????\n final BigDecimal TAX_RATE = new BigDecimal(\"0.05\");\n //?????°?????????????????????????????¨??????\n final int ROUND_UP_FRACTION = 1000;\n //???????????????????????????10???\n int deptLeft = 100000;\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(\n System.in));\n int countWeeks = Integer.parseInt(reader.readLine());\n //1??±??????????????¨??????????????????????????????????????????????¨??????????\n for (int count = 1; count <= countWeeks; count++) {\n deptLeft = BigDecimal.valueOf(deptLeft)\n .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))\n .intValue();\n //1000?????????????????????????????????\n if (deptLeft % ROUND_UP_FRACTION != 0) {\n deptLeft = deptLeft\n + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);\n }\n }\n System.out.println(deptLeft);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n //?????????\n final BigDecimal TAX_RATE = new BigDecimal(\"0.05\");\n //?????°?????????????????????????????¨??????\n final int ROUND_UP_FRACTION = 1000;\n //???????????????????????????10???\n int deptLeft = 100000;\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(\n System.in));\n int countWeeks = Integer.parseInt(reader.readLine());\n //1??±??????????????¨??????????????????????????????????????????????¨??????????\n for (int count = 1; count <= countWeeks; count++) {\n deptLeft = BigDecimal.valueOf(deptLeft)\n .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))\n .intValue();\n //1000?????????????????????????????????\n if (deptLeft % ROUND_UP_FRACTION != 0) {\n deptLeft = deptLeft\n + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);\n }\n }\n System.out.println(deptLeft);\n }", "main", "{\n //?????????\n final BigDecimal TAX_RATE = new BigDecimal(\"0.05\");\n //?????°?????????????????????????????¨??????\n final int ROUND_UP_FRACTION = 1000;\n //???????????????????????????10???\n int deptLeft = 100000;\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(\n System.in));\n int countWeeks = Integer.parseInt(reader.readLine());\n //1??±??????????????¨??????????????????????????????????????????????¨??????????\n for (int count = 1; count <= countWeeks; count++) {\n deptLeft = BigDecimal.valueOf(deptLeft)\n .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))\n .intValue();\n //1000?????????????????????????????????\n if (deptLeft % ROUND_UP_FRACTION != 0) {\n deptLeft = deptLeft\n + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);\n }\n }\n System.out.println(deptLeft);\n }", "final BigDecimal TAX_RATE = new BigDecimal(\"0.05\");", "TAX_RATE", "new BigDecimal(\"0.05\")", "final int ROUND_UP_FRACTION = 1000;", "ROUND_UP_FRACTION", "1000", "int deptLeft = 100000;", "deptLeft", "100000", "BufferedReader reader = new BufferedReader(new InputStreamReader(\n System.in));", "reader", "new BufferedReader(new InputStreamReader(\n System.in))", "int countWeeks = Integer.parseInt(reader.readLine());", "countWeeks", "Integer.parseInt(reader.readLine())", "Integer.parseInt", "Integer", "reader.readLine()", "reader.readLine", "reader", "for (int count = 1; count <= countWeeks; count++) {\n deptLeft = BigDecimal.valueOf(deptLeft)\n .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))\n .intValue();\n //1000?????????????????????????????????\n if (deptLeft % ROUND_UP_FRACTION != 0) {\n deptLeft = deptLeft\n + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);\n }\n }", "int count = 1;", "int count = 1;", "count", "1", "count <= countWeeks", "count", "countWeeks", "count++", "count++", "count", "{\n deptLeft = BigDecimal.valueOf(deptLeft)\n .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))\n .intValue();\n //1000?????????????????????????????????\n if (deptLeft % ROUND_UP_FRACTION != 0) {\n deptLeft = deptLeft\n + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);\n }\n }", "{\n deptLeft = BigDecimal.valueOf(deptLeft)\n .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))\n .intValue();\n //1000?????????????????????????????????\n if (deptLeft % ROUND_UP_FRACTION != 0) {\n deptLeft = deptLeft\n + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);\n }\n }", "deptLeft = BigDecimal.valueOf(deptLeft)\n .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))\n .intValue()", "deptLeft", "BigDecimal.valueOf(deptLeft)\n .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))\n .intValue()", "BigDecimal.valueOf(deptLeft)\n .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))\n .intValue", "BigDecimal.valueOf(deptLeft)\n .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))", "BigDecimal.valueOf(deptLeft)\n .add", "BigDecimal.valueOf(deptLeft)", "BigDecimal.valueOf", "BigDecimal", "deptLeft", "BigDecimal.valueOf(deptLeft).multiply(TAX_RATE)", "BigDecimal.valueOf(deptLeft).multiply", "BigDecimal.valueOf(deptLeft)", "BigDecimal.valueOf", "BigDecimal", "deptLeft", "TAX_RATE", "if (deptLeft % ROUND_UP_FRACTION != 0) {\n deptLeft = deptLeft\n + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);\n }", "deptLeft % ROUND_UP_FRACTION != 0", "deptLeft % ROUND_UP_FRACTION", "deptLeft", "ROUND_UP_FRACTION", "0", "{\n deptLeft = deptLeft\n + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);\n }", "deptLeft = deptLeft\n + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION)", "deptLeft", "deptLeft\n + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION)", "deptLeft", "(ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION)", "ROUND_UP_FRACTION", "deptLeft % ROUND_UP_FRACTION", "deptLeft", "ROUND_UP_FRACTION", "System.out.println(deptLeft)", "System.out.println", "System.out", "System", "System.out", "deptLeft", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) throws Exception {\n //?????????\n final BigDecimal TAX_RATE = new BigDecimal(\"0.05\");\n //?????°?????????????????????????????¨??????\n final int ROUND_UP_FRACTION = 1000;\n //???????????????????????????10???\n int deptLeft = 100000;\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(\n System.in));\n int countWeeks = Integer.parseInt(reader.readLine());\n //1??±??????????????¨??????????????????????????????????????????????¨??????????\n for (int count = 1; count <= countWeeks; count++) {\n deptLeft = BigDecimal.valueOf(deptLeft)\n .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))\n .intValue();\n //1000?????????????????????????????????\n if (deptLeft % ROUND_UP_FRACTION != 0) {\n deptLeft = deptLeft\n + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);\n }\n }\n System.out.println(deptLeft);\n }\n}", "public class Main {\n\n public static void main(String[] args) throws Exception {\n //?????????\n final BigDecimal TAX_RATE = new BigDecimal(\"0.05\");\n //?????°?????????????????????????????¨??????\n final int ROUND_UP_FRACTION = 1000;\n //???????????????????????????10???\n int deptLeft = 100000;\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(\n System.in));\n int countWeeks = Integer.parseInt(reader.readLine());\n //1??±??????????????¨??????????????????????????????????????????????¨??????????\n for (int count = 1; count <= countWeeks; count++) {\n deptLeft = BigDecimal.valueOf(deptLeft)\n .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))\n .intValue();\n //1000?????????????????????????????????\n if (deptLeft % ROUND_UP_FRACTION != 0) {\n deptLeft = deptLeft\n + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);\n }\n }\n System.out.println(deptLeft);\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigDecimal; public class Main { public static void main(String[] args) throws Exception { //????????? final BigDecimal TAX_RATE = new BigDecimal("0.05"); //?????°?????????????????????????????¨?????? final int ROUND_UP_FRACTION = 1000; //???????????????????????????10??? int deptLeft = 100000; BufferedReader reader = new BufferedReader(new InputStreamReader( System.in)); int countWeeks = Integer.parseInt(reader.readLine()); //1??±??????????????¨??????????????????????????????????????????????¨?????????? for (int count = 1; count <= countWeeks; count++) { deptLeft = BigDecimal.valueOf(deptLeft) .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE)) .intValue(); //1000????????????????????????????????? if (deptLeft % ROUND_UP_FRACTION != 0) { deptLeft = deptLeft + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION); } } System.out.println(deptLeft); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 41, 13, 41, 13, 17, 41, 13, 4, 18, 4, 18, 13, 17, 0, 13, 2, 4, 18, 13, 18, 13, 17, 17, 0, 13, 2, 4, 18, 13, 18, 13, 17, 17, 0, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 134, 5 ], [ 134, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 42, 44 ], [ 8, 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 ], [ 57, 60 ], [ 60, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 57, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 67, 72 ], [ 57, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 79, 80 ], [ 79, 81 ], [ 75, 82 ], [ 57, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 89, 90 ], [ 89, 91 ], [ 85, 92 ], [ 57, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 95, 97 ], [ 57, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 102, 103 ], [ 102, 104 ], [ 57, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 8, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 115, 116 ], [ 115, 117 ], [ 110, 118 ], [ 118, 119 ], [ 119, 120 ], [ 110, 121 ], [ 122, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 123, 128 ], [ 128, 129 ], [ 128, 130 ], [ 6, 131 ], [ 131, 132 ], [ 0, 133 ], [ 133, 134 ], [ 133, 135 ] ]
[ "import java.util.Scanner;\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 W = sc.nextInt();\n\t\tint[] ab = new int[N];\n\t\tfor(int i = 0; i < N; i++) ab[i] = i+1;\n\t\tfor(int i = 0; i < W; i++) {\n\t\t\tint a, b, tmp = 0;\n\t\t\tString[] s = sc.next().split(\",\");\n\t\t\ta = Integer.parseInt(s[0]) - 1;\n\t\t\tb = Integer.parseInt(s[1]) - 1;\n\t\t\ttmp = ab[a]; ab[a] = ab[b]; ab[b] = tmp;\n\t\t}\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tSystem.out.println(ab[i]);\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint W = sc.nextInt();\n\t\tint[] ab = new int[N];\n\t\tfor(int i = 0; i < N; i++) ab[i] = i+1;\n\t\tfor(int i = 0; i < W; i++) {\n\t\t\tint a, b, tmp = 0;\n\t\t\tString[] s = sc.next().split(\",\");\n\t\t\ta = Integer.parseInt(s[0]) - 1;\n\t\t\tb = Integer.parseInt(s[1]) - 1;\n\t\t\ttmp = ab[a]; ab[a] = ab[b]; ab[b] = tmp;\n\t\t}\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tSystem.out.println(ab[i]);\n\t\t}\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 W = sc.nextInt();\n\t\tint[] ab = new int[N];\n\t\tfor(int i = 0; i < N; i++) ab[i] = i+1;\n\t\tfor(int i = 0; i < W; i++) {\n\t\t\tint a, b, tmp = 0;\n\t\t\tString[] s = sc.next().split(\",\");\n\t\t\ta = Integer.parseInt(s[0]) - 1;\n\t\t\tb = Integer.parseInt(s[1]) - 1;\n\t\t\ttmp = ab[a]; ab[a] = ab[b]; ab[b] = tmp;\n\t\t}\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tSystem.out.println(ab[i]);\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint W = sc.nextInt();\n\t\tint[] ab = new int[N];\n\t\tfor(int i = 0; i < N; i++) ab[i] = i+1;\n\t\tfor(int i = 0; i < W; i++) {\n\t\t\tint a, b, tmp = 0;\n\t\t\tString[] s = sc.next().split(\",\");\n\t\t\ta = Integer.parseInt(s[0]) - 1;\n\t\t\tb = Integer.parseInt(s[1]) - 1;\n\t\t\ttmp = ab[a]; ab[a] = ab[b]; ab[b] = tmp;\n\t\t}\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tSystem.out.println(ab[i]);\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "int W = sc.nextInt();", "W", "sc.nextInt()", "sc.nextInt", "sc", "int[] ab = new int[N];", "ab", "new int[N]", "N", "for(int i = 0; i < N; i++) ab[i] = i+1;", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "ab[i] = i+1;", "ab[i] = i+1", "ab[i]", "ab", "i", "i+1", "i", "1", "for(int i = 0; i < W; i++) {\n\t\t\tint a, b, tmp = 0;\n\t\t\tString[] s = sc.next().split(\",\");\n\t\t\ta = Integer.parseInt(s[0]) - 1;\n\t\t\tb = Integer.parseInt(s[1]) - 1;\n\t\t\ttmp = ab[a]; ab[a] = ab[b]; ab[b] = tmp;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < W", "i", "W", "i++", "i++", "i", "{\n\t\t\tint a, b, tmp = 0;\n\t\t\tString[] s = sc.next().split(\",\");\n\t\t\ta = Integer.parseInt(s[0]) - 1;\n\t\t\tb = Integer.parseInt(s[1]) - 1;\n\t\t\ttmp = ab[a]; ab[a] = ab[b]; ab[b] = tmp;\n\t\t}", "{\n\t\t\tint a, b, tmp = 0;\n\t\t\tString[] s = sc.next().split(\",\");\n\t\t\ta = Integer.parseInt(s[0]) - 1;\n\t\t\tb = Integer.parseInt(s[1]) - 1;\n\t\t\ttmp = ab[a]; ab[a] = ab[b]; ab[b] = tmp;\n\t\t}", "int a", "a", "b", "b", "tmp = 0;", "tmp", "0", "String[] s = sc.next().split(\",\");", "s", "sc.next().split(\",\")", "sc.next().split", "sc.next()", "sc.next", "sc", "\",\"", "a = Integer.parseInt(s[0]) - 1", "a", "Integer.parseInt(s[0]) - 1", "Integer.parseInt(s[0])", "Integer.parseInt", "Integer", "s[0]", "s", "0", "1", "b = Integer.parseInt(s[1]) - 1", "b", "Integer.parseInt(s[1]) - 1", "Integer.parseInt(s[1])", "Integer.parseInt", "Integer", "s[1]", "s", "1", "1", "tmp = ab[a]", "tmp", "ab[a]", "ab", "a", "ab[a] = ab[b]", "ab[a]", "ab", "a", "ab[b]", "ab", "b", "ab[b] = tmp", "ab[b]", "ab", "b", "tmp", "for(int i = 0; i < N; i++) {\n\t\t\tSystem.out.println(ab[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(ab[i]);\n\t\t}", "{\n\t\t\tSystem.out.println(ab[i]);\n\t\t}", "System.out.println(ab[i])", "System.out.println", "System.out", "System", "System.out", "ab[i]", "ab", "i", "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 W = sc.nextInt();\n\t\tint[] ab = new int[N];\n\t\tfor(int i = 0; i < N; i++) ab[i] = i+1;\n\t\tfor(int i = 0; i < W; i++) {\n\t\t\tint a, b, tmp = 0;\n\t\t\tString[] s = sc.next().split(\",\");\n\t\t\ta = Integer.parseInt(s[0]) - 1;\n\t\t\tb = Integer.parseInt(s[1]) - 1;\n\t\t\ttmp = ab[a]; ab[a] = ab[b]; ab[b] = tmp;\n\t\t}\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tSystem.out.println(ab[i]);\n\t\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint W = sc.nextInt();\n\t\tint[] ab = new int[N];\n\t\tfor(int i = 0; i < N; i++) ab[i] = i+1;\n\t\tfor(int i = 0; i < W; i++) {\n\t\t\tint a, b, tmp = 0;\n\t\t\tString[] s = sc.next().split(\",\");\n\t\t\ta = Integer.parseInt(s[0]) - 1;\n\t\t\tb = Integer.parseInt(s[1]) - 1;\n\t\t\ttmp = ab[a]; ab[a] = ab[b]; ab[b] = tmp;\n\t\t}\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tSystem.out.println(ab[i]);\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int W = sc.nextInt(); int[] ab = new int[N]; for(int i = 0; i < N; i++) ab[i] = i+1; for(int i = 0; i < W; i++) { int a, b, tmp = 0; String[] s = sc.next().split(","); a = Integer.parseInt(s[0]) - 1; b = Integer.parseInt(s[1]) - 1; tmp = ab[a]; ab[a] = ab[b]; ab[b] = tmp; } for(int i = 0; i < N; i++) { System.out.println(ab[i]); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 13, 41, 13, 4, 18, 13, 17, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 13, 13, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 140, 5 ], [ 140, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 8, 18 ], [ 18, 19 ], [ 6, 20 ], [ 20, 21 ], [ 140, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 24, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 24, 38 ], [ 38, 39 ], [ 38, 40 ], [ 41, 42 ], [ 41, 43 ], [ 24, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 44, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 24, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 61, 69 ], [ 69, 70 ], [ 70, 71 ], [ 61, 72 ], [ 73, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 73, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 81, 83 ], [ 73, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 89, 90 ], [ 89, 91 ], [ 73, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 97, 98 ], [ 97, 99 ], [ 73, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 102, 104 ], [ 73, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 109, 110 ], [ 109, 111 ], [ 73, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 24, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 122 ], [ 122, 123 ], [ 122, 124 ], [ 117, 125 ], [ 125, 126 ], [ 126, 127 ], [ 117, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 134, 135 ], [ 134, 136 ], [ 22, 137 ], [ 137, 138 ], [ 0, 139 ], [ 139, 140 ], [ 139, 141 ] ]
[ "import java.util.*;\n\npublic class Main {\n\t\n\tpublic static String[] kommaReader(String sc) {\n\t\tString line = sc;\n\t\tString[] array = line.split(\",\");\n\t\treturn array;\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint w = sc.nextInt();\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[w+1];\n\t\tfor(int i=1; i<=w; i++) a[i]=i;\n\t\tfor(int i=0; i<n; i++){\n\t\t\tString text = sc.next();\n\t\t\tString[] ch = kommaReader(text);\n\t\t\tint x = Integer.parseInt(ch[0]);\n\t\t\tint y = Integer.parseInt(ch[1]);\n\t\t\tint t = a[x]; \n\t\t\ta[x] = a[y];\n\t\t\ta[y] = t;\n\t\t}\n\t\tfor(int i=1; i<=w; i++) System.out.println(a[i]);\n\t}\n\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\t\n\tpublic static String[] kommaReader(String sc) {\n\t\tString line = sc;\n\t\tString[] array = line.split(\",\");\n\t\treturn array;\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint w = sc.nextInt();\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[w+1];\n\t\tfor(int i=1; i<=w; i++) a[i]=i;\n\t\tfor(int i=0; i<n; i++){\n\t\t\tString text = sc.next();\n\t\t\tString[] ch = kommaReader(text);\n\t\t\tint x = Integer.parseInt(ch[0]);\n\t\t\tint y = Integer.parseInt(ch[1]);\n\t\t\tint t = a[x]; \n\t\t\ta[x] = a[y];\n\t\t\ta[y] = t;\n\t\t}\n\t\tfor(int i=1; i<=w; i++) System.out.println(a[i]);\n\t}\n\n}", "Main", "public static String[] kommaReader(String sc) {\n\t\tString line = sc;\n\t\tString[] array = line.split(\",\");\n\t\treturn array;\n\t}", "kommaReader", "{\n\t\tString line = sc;\n\t\tString[] array = line.split(\",\");\n\t\treturn array;\n\t}", "String line = sc;", "line", "sc", "String[] array = line.split(\",\");", "array", "line.split(\",\")", "line.split", "line", "\",\"", "return array;", "array", "String sc", "sc", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint w = sc.nextInt();\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[w+1];\n\t\tfor(int i=1; i<=w; i++) a[i]=i;\n\t\tfor(int i=0; i<n; i++){\n\t\t\tString text = sc.next();\n\t\t\tString[] ch = kommaReader(text);\n\t\t\tint x = Integer.parseInt(ch[0]);\n\t\t\tint y = Integer.parseInt(ch[1]);\n\t\t\tint t = a[x]; \n\t\t\ta[x] = a[y];\n\t\t\ta[y] = t;\n\t\t}\n\t\tfor(int i=1; i<=w; i++) System.out.println(a[i]);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint w = sc.nextInt();\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[w+1];\n\t\tfor(int i=1; i<=w; i++) a[i]=i;\n\t\tfor(int i=0; i<n; i++){\n\t\t\tString text = sc.next();\n\t\t\tString[] ch = kommaReader(text);\n\t\t\tint x = Integer.parseInt(ch[0]);\n\t\t\tint y = Integer.parseInt(ch[1]);\n\t\t\tint t = a[x]; \n\t\t\ta[x] = a[y];\n\t\t\ta[y] = t;\n\t\t}\n\t\tfor(int i=1; i<=w; i++) System.out.println(a[i]);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int w = sc.nextInt();", "w", "sc.nextInt()", "sc.nextInt", "sc", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int[] a = new int[w+1];", "a", "new int[w+1]", "w+1", "w", "1", "for(int i=1; i<=w; i++) a[i]=i;", "int i=1;", "int i=1;", "i", "1", "i<=w", "i", "w", "i++", "i++", "i", "a[i]=i;", "a[i]=i", "a[i]", "a", "i", "i", "for(int i=0; i<n; i++){\n\t\t\tString text = sc.next();\n\t\t\tString[] ch = kommaReader(text);\n\t\t\tint x = Integer.parseInt(ch[0]);\n\t\t\tint y = Integer.parseInt(ch[1]);\n\t\t\tint t = a[x]; \n\t\t\ta[x] = a[y];\n\t\t\ta[y] = t;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tString text = sc.next();\n\t\t\tString[] ch = kommaReader(text);\n\t\t\tint x = Integer.parseInt(ch[0]);\n\t\t\tint y = Integer.parseInt(ch[1]);\n\t\t\tint t = a[x]; \n\t\t\ta[x] = a[y];\n\t\t\ta[y] = t;\n\t\t}", "{\n\t\t\tString text = sc.next();\n\t\t\tString[] ch = kommaReader(text);\n\t\t\tint x = Integer.parseInt(ch[0]);\n\t\t\tint y = Integer.parseInt(ch[1]);\n\t\t\tint t = a[x]; \n\t\t\ta[x] = a[y];\n\t\t\ta[y] = t;\n\t\t}", "String text = sc.next();", "text", "sc.next()", "sc.next", "sc", "String[] ch = kommaReader(text);", "ch", "kommaReader(text)", "kommaReader", "text", "int x = Integer.parseInt(ch[0]);", "x", "Integer.parseInt(ch[0])", "Integer.parseInt", "Integer", "ch[0]", "ch", "0", "int y = Integer.parseInt(ch[1]);", "y", "Integer.parseInt(ch[1])", "Integer.parseInt", "Integer", "ch[1]", "ch", "1", "int t = a[x];", "t", "a[x]", "a", "x", "a[x] = a[y]", "a[x]", "a", "x", "a[y]", "a", "y", "a[y] = t", "a[y]", "a", "y", "t", "for(int i=1; i<=w; i++) System.out.println(a[i]);", "int i=1;", "int i=1;", "i", "1", "i<=w", "i", "w", "i++", "i++", "i", "System.out.println(a[i]);", "System.out.println(a[i])", "System.out.println", "System.out", "System", "System.out", "a[i]", "a", "i", "String[] args", "args", "public class Main {\n\t\n\tpublic static String[] kommaReader(String sc) {\n\t\tString line = sc;\n\t\tString[] array = line.split(\",\");\n\t\treturn array;\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint w = sc.nextInt();\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[w+1];\n\t\tfor(int i=1; i<=w; i++) a[i]=i;\n\t\tfor(int i=0; i<n; i++){\n\t\t\tString text = sc.next();\n\t\t\tString[] ch = kommaReader(text);\n\t\t\tint x = Integer.parseInt(ch[0]);\n\t\t\tint y = Integer.parseInt(ch[1]);\n\t\t\tint t = a[x]; \n\t\t\ta[x] = a[y];\n\t\t\ta[y] = t;\n\t\t}\n\t\tfor(int i=1; i<=w; i++) System.out.println(a[i]);\n\t}\n\n}", "public class Main {\n\t\n\tpublic static String[] kommaReader(String sc) {\n\t\tString line = sc;\n\t\tString[] array = line.split(\",\");\n\t\treturn array;\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint w = sc.nextInt();\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[w+1];\n\t\tfor(int i=1; i<=w; i++) a[i]=i;\n\t\tfor(int i=0; i<n; i++){\n\t\t\tString text = sc.next();\n\t\t\tString[] ch = kommaReader(text);\n\t\t\tint x = Integer.parseInt(ch[0]);\n\t\t\tint y = Integer.parseInt(ch[1]);\n\t\t\tint t = a[x]; \n\t\t\ta[x] = a[y];\n\t\t\ta[y] = t;\n\t\t}\n\t\tfor(int i=1; i<=w; i++) System.out.println(a[i]);\n\t}\n\n}", "Main" ]
import java.util.*; public class Main { public static String[] kommaReader(String sc) { String line = sc; String[] array = line.split(","); return array; } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int n = sc.nextInt(); int[] a = new int[w+1]; for(int i=1; i<=w; i++) a[i]=i; for(int i=0; i<n; i++){ String text = sc.next(); String[] ch = kommaReader(text); int x = Integer.parseInt(ch[0]); int y = Integer.parseInt(ch[1]); int t = a[x]; a[x] = a[y]; a[y] = t; } for(int i=1; i<=w; i++) System.out.println(a[i]); } }