node_ids listlengths 4 1.4k | edge_index listlengths 1 2.22k | text listlengths 4 1.4k | source stringlengths 14 427k |
|---|---|---|---|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
2,
17,
17,
41,
13,
4,
18,
20,
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,
17,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
53,
5
],
[
53,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String args[]){\n long ratio = 100000/1000;\n int n = new Scanner(System.in).nextInt();\n for(int i=0;i<n;i++){\n ratio = (long) Math.ceil(ratio*1.05);\n }\n System.out.println(\"\" + (ratio*... | import java.util.Scanner;
public class Main {
public static void main(String args[]){
long ratio = 100000/1000;
int n = new Scanner(System.in).nextInt();
for(int i=0;i<n;i++){
ratio = (long) Math.ceil(ratio*1.05);
}
System.out.println("" + (ratio*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,
17,
13,
14,
2,
2,
13,
17,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
4,
18,
... | [
[
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
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n=scan.nextInt();\n\t\tlong m=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tm=(long)(1.05*m);\n\t\t\tif(... | import java.util.Scanner;
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner scan = new Scanner(System.in);
int n=scan.nextInt();
long m=100000;
for(int i=0;i<n;i++){
m=(long)(1.05*m);
if(m%1000>0){
m+=1000;
m-=m%1000;
... |
[
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,
13,
14,
40,
2,
2,
13,
17,
17... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint n = Integer.parseInt(br.readLine());\n\n\t\tint... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(br.readLine());
int debt = 100000;
Doubl... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
18,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
41,
13,
2,
13,
17,
14,
2,
13,
17,
0,
13,
2,
17,
13,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
8,
14
],
[... | [
"import java.util.Scanner;\n \nclass Main {\n public static void main(String[] args) {\n int weeks = new Scanner(System.in).nextInt();\n double debt = 100000;\n for(int i = 0; i < weeks;i++) {\n debt *= 1.05;\n double fraction = debt % 1000;\n if (fraction !=... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
int weeks = new Scanner(System.in).nextInt();
double debt = 100000;
for(int i = 0; i < weeks;i++) {
debt *= 1.05;
double fraction = debt % 1000;
if (fraction != 0)debt += 100... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
4,
18,
13,
5,
13,
30,
4,
18,
13,
4,
18,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\n\nclass Main {\n\n\tprivate static BufferedReader br = new BufferedReader(\n\t\t\tnew InputStreamReader(System.in));\n\n\tpublic static void main(String[] args)\n\t\t\tthrows IOException {\... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
class Main {
private static BufferedReader br = new BufferedReader(
new InputStreamReader(System.in));
public static void main(String[] args)
throws IOException {
try {
Integer week... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
18,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
14,
2,
2,
13,
17,
17,
0,
13,
2,
2,
2,
13,
17,
17,
17,
4,
18,
18,
13,
13,
13,
23,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[... | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n int value = 100000;\n int n = new Scanner(System.in).nextInt();\n for(int i = 0;i < n;i++){\n value *= 1.05;\n if(value % 1000 != 0) value = value / 1000 * 1000 + 1000;\n }\n ... | import java.util.Scanner;
class Main{
public static void main(String[] args){
int value = 100000;
int n = new Scanner(System.in).nextInt();
for(int i = 0;i < n;i++){
value *= 1.05;
if(value % 1000 != 0) value = value / 1000 * 1000 + 1000;
}
System.out... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
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,... | [
[
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
],
... | [
"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\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n double debt = 100_000;\n while (input.... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
double debt = 100_000;
while (input.ready()) {
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
17,
30,
11,
1,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
17,
14,
2,
2,
13,
17,
17,
30,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[... | [
"import java.io.*;\n\nclass Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s=r.readLine();\n\t\tint n = Integer.parseInt(s);\n\t\tint money=100000;\n\t\ttry {\n\t\t\tfor(;n>0;n--){\n\t\t\t\tmoney*=1.05;\n\... | import java.io.*;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
String s=r.readLine();
int n = Integer.parseInt(s);
int money=100000;
try {
for(;n>0;n--){
money*=1.05;
if (money%1000>0){
money =... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
0,
13,
2,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[... | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint n = in.nextInt();\n\t\tin.close();\n\t\tSystem.out.println(debtHell(n));\n\t}\n\n\tstatic int debtHell(int n) {\n\t\tdouble debt = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int n = in.nextInt();
in.close();
System.out.println(debtHell(n));
}
static int debtHell(int n) {
double debt = 100000;
for (int i = 0; i < n; i++) {
debt *= 1.05;
//System.out.pri... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
41,
13,
2,
13,
17,
0,
13,
13,
0,
13,
8,
2,
13,
17,
17,
17,
4,
18,
18,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
61,
5
],
[
61,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint a=sc.nextInt();\n\t\tint money=100000;\n\t\tfor(int i=0;i<a;i++){\n\t\t\tmoney*=1.05;\n\t\t\tint amari=money%1000;\n\t\t\tmoney-=amari;\n\t\t\tmoney+=amari==0 ? 0 : 1000;\... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int a=sc.nextInt();
int money=100000;
for(int i=0;i<a;i++){
money*=1.05;
int amari=money%1000;
money-=amari;
money+=amari==0 ? 0 : 1000;
}
System.out.println(money);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
18,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
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
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String args[]) {\n double debt = 100000.0;\n int nWeeks = new Scanner(System.in).nextInt();\n for(int i = 0; i < nWeeks; i++) {\n debt = Math.ceil(debt * 0.00105) * 1000.0;\n }\n System.out.p... | import java.util.Scanner;
public class Main {
public static void main(String args[]) {
double debt = 100000.0;
int nWeeks = new Scanner(System.in).nextInt();
for(int i = 0; i < nWeeks; i++) {
debt = Math.ceil(debt * 0.00105) * 1000.0;
}
System.out.println((int)de... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
2,
13,
2,
13,
17,
17,
4,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[... | [
"import java.util.*;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint debt = 100000;\n\t\tint n = scanner.nextInt();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdebt = (int)(debt * 1.05);\n\t\t\tif (debt % 1000 != 0) {\n\t\t\t\tdebt = debt - (debt % 1... | import java.util.*;
class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int debt = 100000;
int n = scanner.nextInt();
for (int i = 0; i < n; i++) {
debt = (int)(debt * 1.05);
if (debt % 1000 != 0) {
debt = debt - (debt % 1000) + 1000;
}
}
System.out... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
30,
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,
17,
4,
18,
13,
2,
2,
13,
17,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
65,
5
],
[
65,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
... | [
"import java.io.*;\n\npublic class Main {\n\n public static void main(String[] args){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n String st = br.readLine();\n int n = Integer.parseInt(st);\n int x = 100000;\n for(i... | import java.io.*;
public class Main {
public static void main(String[] args){
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try{
String st = br.readLine();
int n = Integer.parseInt(st);
int x = 100000;
for(int i = 0; i < n... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
17,
0,
13,
2,
4,
18,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
69,
11
],
[
69,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tint weeks = Integ... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
int weeks = Integer.parseInt(str);
... |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
40,
13,
14,
2,
2,
13,
17,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
17,
13,
23,
13,
10,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
55,
5
],
[
55,
6
],
[
6,
7
],
[
6,
8
],
[
55,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.*;\n\npublic class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tint n = scan.nextInt();\n\t\tlong mon = 100_000;\n\t\twhile(n != 0){\n\t\t\tmon *= 1.05;\n\t\t\tn--;\n\t\t\tif(mon % 1000 != 0){\n\t\t\t\tmon += 1000;\n\t\t\t\t... | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int n = scan.nextInt();
long mon = 100_000;
while(n != 0){
mon *= 1.05;
n--;
if(mon % 1000 != 0){
mon += 1000;
mon -= mon % 1000;
}
}
System.out.pr... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
41,
13,
17,
14,
2,
2,
13,
13,
17,
0,
13,
2,
2,
2,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
70,
5
],
[
70,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = (int) Math.pow(10, 5);\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tm *= 1.05;\n\t\t\tint range = 1000;\n\t\t\tif (m % range != 0)\n\t\t\t\tm =... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int m = (int) Math.pow(10, 5);
for (int i = 0; i < n; i++) {
m *= 1.05;
int range = 1000;
if (m % range != 0)
m = (m / range + 1) * range;
}
System... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
41,
13,
13,
11,
1,
0,
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,
4,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
60,
5
],
[
60,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
... | [
"\n\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\tdouble det = 100;\n\t\tint i;\n\t\tdouble sum = det;\n\t\tfor(i = 0; i < n; i++) {\n\t\t\tsum = Math.ce... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
double det = 100;
int i;
double sum = det;
for(i = 0; i < n; i++) {
sum = Math.ceil(sum * 1.05);
}
System.out.prin... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
2,
13,
17,
4,
18,
18,
13,
13,
2,
13,
17,
23,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[... | [
"import java.util.*;\n\nclass Main {\n public static void main (String[] args) {\n Scanner scanner = new Scanner(System.in);\n double s = 100;\n\n while (scanner.hasNext()) {\n int w = scanner.nextInt();\n for (int ii = 0; ii < w; ii++) {\n s = Math.ceil(s * 1.05);\n }\n System.... | import java.util.*;
class Main {
public static void main (String[] args) {
Scanner scanner = new Scanner(System.in);
double s = 100;
while (scanner.hasNext()) {
int w = scanner.nextInt();
for (int ii = 0; ii < w; ii++) {
s = Math.ceil(s * 1.05);
}
System.out.println((int)... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
0,
13,
8,
2,
2,
13,
17,
17,
13,
2,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nclass Main {\n public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int n = Integer.parseInt(line);... | import java.io.BufferedReader;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
int n = Integer.parseInt(line);
... |
[
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,
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
],
[
53,
5
],
[
53,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.Scanner;\npublic class Main {\n public static void main (String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint n = scan.nextInt();\n\tdouble money = 100;\n\tfor (int i = 0; i < n; i++) {\n\t money *= 1.05;\n\t money = Math.ceil(money);\n\t}\n\tSystem.out.println((int)money * 1... | import java.util.Scanner;
public class Main {
public static void main (String[] args) {
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
double money = 100;
for (int i = 0; i < n; i++) {
money *= 1.05;
money = Math.ceil(money);
}
System.out.println((int)money * 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,
2,
13,
17,
17,
0,
13,
4,
18,
13,
13,
0,
13,
2,
13,
17,
41,
13,
13,
4,
... | [
[
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
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint week = scan.nextInt();\n\t\tdouble debt = 100000;\n\t\t\n\t\tfor(int i = 0; i < week; i++){\n\t\t\tdebt = debt * 1.05 / 1000;\n\t\t\tdebt = Math.ceil(debt);\n\t\t\tdeb... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int week = scan.nextInt();
double debt = 100000;
for(int i = 0; i < week; i++){
debt = debt * 1.05 / 1000;
debt = Math.ceil(debt);
debt = debt * 1000;
}
int ans = (... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
0,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
0,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[... | [
"import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n double debt = 100000;\n debt *= 0.001;\n while(sc.hasNext()) {\n int n = sc.nextInt();\n for (int i = 0; i < n; i++) {\n debt *= 1.05;\n debt = Math.ceil(d... | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
double debt = 100000;
debt *= 0.001;
while(sc.hasNext()) {
int n = sc.nextInt();
for (int i = 0; i < n; i++) {
debt *= 1.05;
debt = Math.ceil(debt);
}
... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
2,
13,
17,
0,
13,
2,
4,
18,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
... | [
"import java.io.*;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) throws IOException {\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n double money = 100000;\n for(int i=0;i<n... | import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
class Main {
public static void main(String[] args) throws IOException {
Scanner in = new Scanner(System.in);
int n = in.nextInt();
double money = 100000;
for(int i=0;i<n;i++) {
... |
[
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,
17,
0,
13,
4,
18,
13,
13,
0,
13,
17,
4,
18,
18,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
60,
5
],
[
60,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = Integer.parseInt(sc.next());\n double tmp = 100000.0;\n\n for (int i = 0; i < n; i++) {\n tmp *= 1.05;\n tmp /= 1000;\n... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = Integer.parseInt(sc.next());
double tmp = 100000.0;
for (int i = 0; i < n; i++) {
tmp *= 1.05;
tmp /= 1000;
tmp =... |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
12,
13,
30,
4,
13,
4,
13,
23,
13,
12,
13,
30,
0,
13,
4,
18,
13,
29,
17,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
41,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
83,
9
],
[
9,
10
],
[
83,
11
],
[
11,
12
],
[
11,
13
],
[
13,
14
]... | [
"import java.util.*;\npublic class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int n;\n\n\tpublic static void main(String[] args){\n\t\tread();\n\t\tslove();\n\t}\n\tstatic boolean read(){\n\t\tn = sc.nextInt();\n\t\treturn true;\n\t}\n\tstatic void slove(){\n\t\tdouble Debt = 100000;\n\t\tfor(i... | import java.util.*;
public class Main {
static Scanner sc = new Scanner(System.in);
static int n;
public static void main(String[] args){
read();
slove();
}
static boolean read(){
n = sc.nextInt();
return true;
}
static void slove(){
double Debt = 100000;
for(int i = 1; i <= n; i++){
Debt = Debt*... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
0,
13,
4,
18,
4,
18,
13,
13,
41,
13,
17,
41,
13,
41,
13,
11,
1,
41,
13,
13,
2,
13,
17,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.io.*;\n\nimport java.util.*;\n\n\n\n\n\nclass Main{\n\n\t\t\n\t\tpublic static void main(String args[]) throws IOException{\n\n\t\t\tArrayList<Double> equ = new ArrayList<Double>();\n\n\t\t\tScanner scan = new Scanner(System.in);\n\n\t\t\tint n = 0;\n\n\t\t\t\n\n\t\t\twhile(scan.hasNext()){\n\n\t\t\t\t... | import java.io.*;
import java.util.*;
class Main{
public static void main(String args[]) throws IOException{
ArrayList<Double> equ = new ArrayList<Double>();
Scanner scan = new Scanner(System.in);
int n = 0;
while(scan.hasNext()){
String str1 = scan.next();
n = Integer.value... |
[
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,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
68,
11
],
[
68,
12
],
[
12,
13
],
[
12,
14
],
... | [
"\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(... |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args) throws NumberFormatException, IOException {
// TODO Auto-generated method stub
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n... |
[
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,
13,
17,
0,
13,
17,
0,
13,
2,
8,
2,
13,
17,
2,
1... | [
[
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
],
... | [
"import java.util.Scanner;\n\n\npublic class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner\tstdin = new Scanner(System.in);\n\t\tint\t\tnWeek = stdin.nextInt();\n\t\tint\t\tnRent = 100000;\n\t\tint\t\tnTmp = 0;\n\n\t\tfor(i... | import java.util.Scanner;
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner stdin = new Scanner(System.in);
int nWeek = stdin.nextInt();
int nRent = 100000;
int nTmp = 0;
for(int nLoop = 0; nLoop < nWeek; nLoop++) {
... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
13,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
105,
8
],
[
105,
9
],
[
9,
10
],
[
9,
11
],
[
105,
12
],
[
12,
13
],
[
12,
14
... | [
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n /**\n * お金\n */\n private static final String MONEY = \"100000\";\n\n /**\n * 利子\n */\n private static final String INTEREST_RATE = \"0.05\";\n\n /**\n * @param args n週間\n */\n public static void ... | import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
/**
* お金
*/
private static final String MONEY = "100000";
/**
* 利子
*/
private static final String INTEREST_RATE = "0.05";
/**
* @param args n週間
*/
public static void main(String[] args) {
... |
[
7,
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,
41,
13,
4,
18,
4,
18,
13,
17,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
123,
14
],
... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\n\npublic class Main {\n\n\t/** ?????? */\n\tstatic final BigDecimal capital = BigDecimal.valueOf(100000);\n\n\t/** ?????? */\n\tstatic final BigDecimal interest = BigDecimal.valueOf(0.05);\... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
public class Main {
/** ?????? */
static final BigDecimal capital = BigDecimal.valueOf(100000);
/** ?????? */
static final BigDecimal interest = BigDecimal.valueOf(0.05);
/** ??? */
static... |
[
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,
41,
13,
20,
0,
13,
4,
18,
4,
18,
13,
40,
17,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.*;\nimport java.math.*;\n 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 sum = 100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tsum=sum+sum*0.05;\n\t\t\tBigDecimal bi = new BigDecimal(String.valueOf(sum));\n\t\t\t... | import java.util.*;
import java.math.*;
class Main {
public static void main (String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
double sum = 100000;
for(int i=0;i<n;i++){
sum=sum+sum*0.05;
BigDecimal bi = new BigDecimal(String.valueOf(sum));
sum = bi.setScale(-3,BigDecimal.R... |
[
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,
2,
13,
17,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
2,
13,
17,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
84,
5
],
[
84,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.*;\npublic class Main {\n\n\tpublic void doIt(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint debt = 100000;\n\t\tfor(int i=0; i < n; i++){\n\t\t\tdebt = debt + (debt * 5 / 100);\n\t\t\tif(debt % 1000 == 0){\n\t\t\t\tdebt = (debt / 1000) * 1000;\n\t\t\t}\n\t\t\tels... | import java.util.*;
public class Main {
public void doIt(){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int debt = 100000;
for(int i=0; i < n; i++){
debt = debt + (debt * 5 / 100);
if(debt % 1000 == 0){
debt = (debt / 1000) * 1000;
}
else{
debt = (debt / 1000 + 1) * 1000;
... |
[
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,
41,
13,
17,
42,
17,
30,
38,
5,
13,
30,
4,
18,
13,
17,
30,
0,
13,
17,
0,
13,
17,
0,
13,
17,
0,
13,
4,
18,
13,
0... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\nclass Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString name;\n\t\tint num;\n\t\tdouble prc=100;\n\t\tlong he... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
public static void main(String[] args)throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String name;
int num;
double prc=100;
long hen=0;
while(true){
try... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
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,... | [
[
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
],
... | [
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n BigDecimal totalDebt = new BigDecimal(100000);\n\n // ?¨??????\\???\n Scanner sc = new Scanner(System.in);\n int term = sc.nextInt();\n\n // ?????¨??±?... | import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
BigDecimal totalDebt = new BigDecimal(100000);
// ?¨??????\???
Scanner sc = new Scanner(System.in);
int term = sc.nextInt();
// ?????¨??±???????????????????... |
[
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,
1... | [
[
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
],
... | [
"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 debt = 100000;\n\n for(int i=0;i<n;i++){\n debt += debt*0.05;\n if(debt%1000!=0){ debt = debt/1000*1000+1000;... | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int debt = 100000;
for(int i=0;i<n;i++){
debt += debt*0.05;
if(debt%1000!=0){ debt = debt/1000*1000+1000; }
}
... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
2,
0,
13,
4,
18,
13,
17,
40,
4,
18,
13,
30,
41,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
85,
11
],
[
85,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n static int debt = 100000;\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Strin... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
static int debt = 100000;
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = "";
... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
41,
13,
20,
0,
13,
4,
18,
4,
18,
13,
17,
18,
13,
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
],
... | [
"import java.util.*;\nimport java.math.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint n = in.nextInt();\n\t\tdouble money = 100.00;\n\t\tfor(int i=0; i<n; i++){\n\t\t\tmoney = money*1.05;\n\t\t\tBigDecimal tmp = new BigDecimal(money);\n\t\t\tmon... | import java.util.*;
import java.math.*;
public class Main {
public static void main(String[] args){
Scanner in = new Scanner(System.in);
int n = in.nextInt();
double money = 100.00;
for(int i=0; i<n; i++){
money = money*1.05;
BigDecimal tmp = new BigDecimal(money);
money = tmp.setScale(0,BigDecimal.RO... |
[
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,
41,
13,
2,
13,
17,
0,
13,
4,
18,
13,
13,
0,
13,
2,
13,
17,
4,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint week = sc.nextInt();\n\t\tdouble debt = 100000;\n\t\tfor(int i = 0 ; i < week ; i++){\n\t\t\tdebt = debt * 1.05;\n\t\t\tdouble a = debt/1000;\n\t\t\ta = Math.ceil(a);\n\t\... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int week = sc.nextInt();
double debt = 100000;
for(int i = 0 ; i < week ; i++){
debt = debt * 1.05;
double a = debt/1000;
a = Math.ceil(a);
debt = a * 1000;
}
System.out... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
0,
13,
4,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[... | [
"import java.util.*;\n\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint N = scanner.nextInt();\n\t\tint Debt = 100000;\n\t\tDebt= ratecal(N,Debt);\n\t\tSystem.out.println(Debt);\n\t}\n\n\tpublic static int ratecal(int N, int Debt ){\n\t\t\n\t\twhile(N >... | import java.util.*;
class Main{
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
int N = scanner.nextInt();
int Debt = 100000;
Debt= ratecal(N,Debt);
System.out.println(Debt);
}
public static int ratecal(int N, int Debt ){
while(N > 0){
Debt = (int)(Debt * 1.05);
... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
13,
41,
13,
17,
4,
18,
18,
13,
13,
4,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
... | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main\n{\n\n\tpublic static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\twhile((str=br.readLine())!=null)\n\... |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main
{
public static void main(String[] args)throws IOException
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str;
while((str=br.readLine())!=null)
{
int n=Integer.parseI... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
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,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\nimport java.math.RoundingMode;\npublic class Main {\n\n public static void main( String[] args ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(Syst... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.math.RoundingMode;
public class Main {
public static void main( String[] args ) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
... |
[
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,
4,
18,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n // System.out.println(n);\n int k = 100000;\n for (int i = 0; i < n; i++) {\n k = 1000 * (int)Math.ceil(((dou... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
// System.out.println(n);
int k = 100000;
for (int i = 0; i < n; i++) {
k = 1000 * (int)Math.ceil(((double) k) * 1.05... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
85,
8
],
[
85,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tdouble sum = 100000;\n\n\t\tdouble n = sc.nextDouble();\n\n\t\tSystem.out.println((int)solve(n, sum));\n\t}\n\n\tpublic static double solve... | import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double sum = 100000;
double n = sc.nextDouble();
System.out.println((int)solve(n, sum));
}
public static double solve(double a, double b){
for(int... |
[
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,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[... | [
"import java.util.Scanner;\n\nclass Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n\n int debt = 100000;\n int weeks = sc.nextInt();\n for (int i = 0; i < weeks; i++) {\n debt = (int)(Math.ceil(debt*1.05 / 1000) * 1000);\n }... | import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int debt = 100000;
int weeks = sc.nextInt();
for (int i = 0; i < weeks; i++) {
debt = (int)(Math.ceil(debt*1.05 / 1000) * 1000);
}
Syste... |
[
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,
8,
2,
2,
13,
17,
17,
2,
2,
2,
13,
17,
17,
17,
13,
4,
18,
18,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
64,
5
],
[
64,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int amount=100000;\n for(int i=0;i<n;i++) {\n amount*=1.05;\n amount=amount%1000>0?(amount/1000+1)*1000:a... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int amount=100000;
for(int i=0;i<n;i++) {
amount*=1.05;
amount=amount%1000>0?(amount/1000+1)*1000:amount;
... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
0,
13,
2,
13,
13,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
85,
8
],
[
85,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
... | [
"\nimport java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint num = 100000;\n\t\tint syuu = 0;\n\t\tdouble goukei = 0;\n\t\tdouble risi = 0;\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tsyuu = scan.nextInt();\n\t\tfor (int i = 0 ; i < ... |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int num = 100000;
int syuu = 0;
double goukei = 0;
double risi = 0;
Scanner scan = new Scanner(System.in);
syuu = scan.nextInt();
for (int i = 0 ; i < syuu ; i++){
risi = num * 0.05;... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
14,
2,
0,
13,
2,
13,
17,
17,
30,
0,
13,
2,
2,
13,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
... | [
"import java.util.*;\n\nclass Main{\n public static void main(String[] args){\n\tint sum=100000,add,k;\n\tScanner s = new Scanner(System.in);\n\n\tk=s.nextInt();\n\tfor(int i=0;i<k;i++){\n\t sum*=1.05;\n\t if( (add=sum%1000)>0 ){\n\t\tsum=sum-add+1000;\n\t }\n\t}\n\n\tSystem.out.println( sum );\n\n }... | import java.util.*;
class Main{
public static void main(String[] args){
int sum=100000,add,k;
Scanner s = new Scanner(System.in);
k=s.nextInt();
for(int i=0;i<k;i++){
sum*=1.05;
if( (add=sum%1000)>0 ){
sum=sum-add+1000;
}
}
System.out.println( sum );
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
4,
18,
18,
13,
13,
2,
4,
13,
4,
18,
20,
17,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
17,
4,
18,
13,
2,
4,
13,
2,
13,
17,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
9,
14
],
... | [
"import java.util.*;class Main{public static void main(String[]a){System.out.println(f(new Scanner(System.in).nextInt())*1000);}static int f(int n){return n<1?100:(int)Math.ceil(f(n-1)*1.05);}}",
"import java.util.*;",
"util.*",
"java",
"class Main{public static void main(String[]a){System.out.println(f(new... | import java.util.*;class Main{public static void main(String[]a){System.out.println(f(new Scanner(System.in).nextInt())*1000);}static int f(int n){return n<1?100:(int)Math.ceil(f(n-1)*1.05);}} |
[
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,
... | [
[
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
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tdouble n = sc.nextInt();\n\t\tdouble gp = 100000.0;\n\n\t\tfor (int i = 0; i < (int) n; i++) {\n\t\t\tgp += gp * 0.05;\n\t\t\tgp = (Math.ceil(gp / 1000)) * 1000;\n\t\t}\n\... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double n = sc.nextInt();
double gp = 100000.0;
for (int i = 0; i < (int) n; i++) {
gp += gp * 0.05;
gp = (Math.ceil(gp / 1000)) * 1000;
}
System.out.println((int) gp);
}... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
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,
0,
13,
17,
0,
13,
17,
0,
13,
17,
4,
18,
18,
13,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[... | [
"import java.util.Scanner;\n\nclass Main{\t\n\t\n\tpublic static void main (String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()){\n\t\t\tint n = sc.nextInt();\n\t\t\tint syakkin = 100000;\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tsyakkin *= 1.05;\n\t\t\t\tsyakkin += 999;\n\t\t\t\tsyakkin /... | import java.util.Scanner;
class Main{
public static void main (String[] args){
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
int n = sc.nextInt();
int syakkin = 100000;
for(int i=0;i<n;i++){
syakkin *= 1.05;
syakkin += 999;
syakkin /= 1000;
syakkin *= 1000;
}
Sys... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
2,
13,
17,
17,
0,
13,
2,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[... | [
"import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int n = s.nextInt();\n double debt = 100000;\n for (int i = 1; i <= n; i++) {\n debt = (debt * 1.05) / 1000;\n debt = Math.ceil(debt) * 1000;\n }\n System.out.pr... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int n = s.nextInt();
double debt = 100000;
for (int i = 1; i <= n; i++) {
debt = (debt * 1.05) / 1000;
debt = Math.ceil(debt) * 1000;
}
System.out.println((int)debt)... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
18,
20,
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
],
[
51,
5
],
[
51,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
8,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\n\t\tint n = new Scanner(System.in).nextInt();\n\t\tint money = 100000;\n\t\tfor(int i = 0;i<n;i++){\n\t\t\tmoney *= 1.05;\n\t\t\tmoney = (money + 999) /1000... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
int n = new Scanner(System.in).nextInt();
int money = 100000;
for(int i = 0;i<n;i++){
money *= 1.05;
money = (money + 999) /1000 * 1000;
}
System.out.print... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
12,
13,
30,
4,
18,
13,
4,
18,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
94,
8
],
[
94,
9
],
[
9,
10
],
[
94,
11
],
[
11,
12
],
[
94,
13
],
[
13,
14
],... | [
"import java.util.*;\nimport java.io.*;\npublic class Main {\n\tScanner sc;\n\tPrintWriter pw;\n\tpublic static void main(String... args) {\n\t\tMain m = new Main();\n\t\tm.solve();\n\t\tm.close();\n\t}\n\tpublic Main() {\n\t\tsc = new Scanner(System.in);\n\t\tpw = new PrintWriter(System.out);\n\t}\n\tprivate void ... | import java.util.*;
import java.io.*;
public class Main {
Scanner sc;
PrintWriter pw;
public static void main(String... args) {
Main m = new Main();
m.solve();
m.close();
}
public Main() {
sc = new Scanner(System.in);
pw = new PrintWriter(System.out);
}
private void close() {
pw.flush();
pw.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,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
0,
13,
17,
0,
13,
2,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main \n{\n\tpublic static void main(String arg[])\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint de = 100000;\n\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tde = de / 100;\n\t\t\tde = de * 105;\n\t\t\tif(de%1000 != 0)\n\t\t\t\tde += 100... | import java.util.Scanner;
public class Main
{
public static void main(String arg[])
{
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int de = 100000;
for(int i=0; i<n; i++)
{
de = de / 100;
de = de * 105;
if(de%1000 != 0)
de += 1000;
de = de/1000;
de = de*1000;
}
S... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
0,
13,
8,
2,
2,
13,
17,
17,
13,
2,
2,
13,
2,
13,
17,
17... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
65,
5
],
[
65,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint money;\n\t\tint n;\n\n\t\tn = sc.nextInt();\n\t\tmoney = 100000;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tmoney *= 1.05;\n\t\t\tmoney = (money % 1000 == 0) ? money : mone... | import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int money;
int n;
n = sc.nextInt();
money = 100000;
for (int i = 0; i < n; i++) {
money *= 1.05;
money = (money % 1000 == 0) ? money : money - money % 1000 + 1000;
}
Syste... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
0,
13,
2,
4,... | [
[
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
],
... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\t/**\n\t * ?????????????????§??????????????????????????°??£?????????????????????????\\?????????? 10 ???????????????????????????????????¨??????????????????????????¨???????????????\n\t * ???????\... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
/**
* ?????????????????§??????????????????????????°??£?????????????????????????\?????????? 10 ???????????????????????????????????¨??????????????????????????¨???????????????
* ???????\???????????????±?... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
13,
13,
20,
18,
13,
13,
23,
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,
2,
4,
18,
13,
2,
2,
13,
17,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.io.PrintStream;\nimport java.util.Scanner;\n\nclass Main {\n\n public static void main(String[] args) {\n doit(args, new Scanner(System.in), System.out);\n }\n\n static void doit(String[] args, Scanner scanner, PrintStream out) {\n int n = scanner.nextInt();\n long debt = ... | import java.io.PrintStream;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
doit(args, new Scanner(System.in), System.out);
}
static void doit(String[] args, Scanner scanner, PrintStream out) {
int n = scanner.nextInt();
long debt = 100000;
... |
[
7,
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,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
87,
11
],
[
87,
12
],
[
12,
13
],
[
12,
14
],
... | [
"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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint N, debt;\n\t\... | 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, debt;
while ((str = br.readLine(... |
[
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,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
0,
13,
2,
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
],
... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\n\t\tdouble n = Dou... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
double n = Double.parseDouble(str);
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
2,
13,
17,
13,
0,
13,
2,
4,
18,
13,
2,
13,
17,
17,
4,
18,
18,
13,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
60,
5
],
[
60,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n Scanner scan = new Scanner(System.in);\n double sum = 100000.0;\n int a = scan.nextInt();\n for(int i =1 ;i<=a ;i++){\n sum = sum *0.... | import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
// Here your code !
Scanner scan = new Scanner(System.in);
double sum = 100000.0;
int a = scan.nextInt();
for(int i =1 ;i<=a ;i++){
sum = sum *0.05+sum;
... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
17,
4,
18,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
59,
8
],
[
59,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.*;\nimport java.text.*;\n/*\nMain class for AOJ where there is no input.\n*/\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.nextLine());\n double debt = 100000;\n \n while(n > 0){\n ... | import java.util.*;
import java.text.*;
/*
Main class for AOJ where there is no input.
*/
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int n = Integer.parseInt(sc.nextLine());
double debt = 100000;
while(n > 0){
debt *= 1.05;
... |
[
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,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
2,
13,
17,
13,
0,
13,
4,
18,
13,
13,
4,
18,
18,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
63,
8
],
[
63,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.Scanner;\nimport java.util.Arrays;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n double base = 100;\n double now = base;\n for(int i=0; i<n; i++){\n now = now*0.05+no... | import java.util.Scanner;
import java.util.Arrays;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
double base = 100;
double now = base;
for(int i=0; i<n; i++){
now = now*0.05+now;
... |
[
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,
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,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
57,
8
],
[
57,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.Scanner;\nimport java.math.BigDecimal;\n\npublic class Main {\n public static void main(String args[]) {\n int debt = 100000;\n int nWeeks = Integer.parseInt(new Scanner(System.in).next());\n for(int i = 0; i < nWeeks; i++) {\n debt = new BigDecimal(debt * 1.05).... | import java.util.Scanner;
import java.math.BigDecimal;
public class Main {
public static void main(String args[]) {
int debt = 100000;
int nWeeks = Integer.parseInt(new Scanner(System.in).next());
for(int i = 0; i < nWeeks; i++) {
debt = new BigDecimal(debt * 1.05).setScale(-3, ... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
2,
13,
17,
41,
13,
20,
41,
13,
4,
18,
13,
40,
17,
18,
13,
13,
0,
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
],
... | [
"import java.math.BigDecimal;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tdouble money = 100000;\n\t\tint moneyNew = 0;\n\t\tint n = new java.util.Scanner(System.in).nextInt();\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tmoney = money + money * 0.05;\n\t\t\tBigDecimal bd = new BigDecim... | import java.math.BigDecimal;
public class Main {
public static void main(String[] args) {
double money = 100000;
int moneyNew = 0;
int n = new java.util.Scanner(System.in).nextInt();
for (int i = 0; i < n; i++) {
money = money + money * 0.05;
BigDecimal bd = new BigDecimal(money);
BigDecimal bd2 = ... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
0,
13,
2,
13,
13,
0,
13,
2,
13,
4,
18,
13,
13,
4,
... | [
[
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
],
... | [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tdouble dept = 100000;\n\t\tint keta = 1000;\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint k = scan.nextInt();\n\t\t\n\t\tfor(int i=0;i<k;i++){\n\t\t\tdept = dept * 1.05;\n\t\t\tdept = dept / keta;\n\t... | import java.util.Scanner;
public class Main{
public static void main(String[] args){
double dept = 100000;
int keta = 1000;
Scanner scan = new Scanner(System.in);
int k = scan.nextInt();
for(int i=0;i<k;i++){
dept = dept * 1.05;
dept = dept / keta;
dept = keta* (Math.ceil(dept));
}
Sys... |
[
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,
2,
2,
2,
13,
17,
17,
17,
17,
4,
18,
18,
13,
13,
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
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint debt = 100000;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tdebt += debt/20;\n\t\t\tdebt = ((debt-1)/1000+1)*1000;\n\t\t}\n\t\tSystem.out.println(debt);... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int debt = 100000;
for(int i=0;i<n;i++) {
debt += debt/20;
debt = ((debt-1)/1000+1)*1000;
}
System.out.println(debt);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
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,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\n\n/**\n * 借金を計算する機能\n *\n * @author kohei.nitta\n *\n */\nclass Main {\n\n\t/**\n\t * 標準入力から値を受け取り、n週間後の借金の残高を出力する。\n\t *\n\t * @param args\n\t * @return\n\t * @throws IOException\n\t */\n\... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
/**
* 借金を計算する機能
*
* @author kohei.nitta
*
*/
class Main {
/**
* 標準入力から値を受け取り、n週間後の借金の残高を出力する。
*
* @param args
* @return
* @throws IOException
*/
public static void main(String[]... |
[
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,
2,
13,
17,
17,
17,
4,
1... | [
[
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
],
... | [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=100000;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tx=(int) (1.05*x);\n\t\t\tif(x%1000!=0){\n\t\t\t\tx=((x/1000)+1)*1000;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(x... | import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
int n=sc.nextInt();
int x=100000;
for(int i=0;i<n;i++){
x=(int) (1.05*x);
if(x%1000!=0){
x=((x/1000)+1)*1000;
}
}
System.out.println(x);
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
17,
0,
13,
4,
18,
13,
11,
1,
0,
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,
17,
0,
13,
17,
4,
18,
1... | [
[
0,
1
],
[
81,
2
],
[
81,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
5,
11
],
[
11,
12
],
[
5,
13
],
[
13,
14
],
... | [
"public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int n;\n int i;\n int a = 100000;\n\n n = sc.nextInt();\n\n for(i = 0;i < n;i++){\n a *= 1.05;\n if(a % 1000 != 0){\n a /= 100... | public class Main{
public void run(java.io.InputStream in, java.io.PrintStream out){
java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
int n;
int i;
int a = 100000;
n = sc.nextInt();
for(i = 0;i < n;i++){
a *= 1.05;
if(a % 1000 != 0){
a /= 1000;
a *= 10... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
2,
2,
13,
13,
17,
4,
18,
... | [
[
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
],
... | [
"import java.util.Scanner;\n\n\npublic class Main \n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint n = scanner.nextInt();\n\t\t\n\t\tint money = 100000;\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tmoney *= 1.05;\n\t\t\tint x = money%1000;\n\t\t\tif(x > 0... | import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int money = 100000;
for(int i=0; i<n; i++)
{
money *= 1.05;
int x = money%1000;
if(x > 0)
{
money = money - x + 1000;
}
}
... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
14,
2,
2,
13,
2,
2,
13,
17,
17,
17,
... | [
[
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
],
... | [
"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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint debt = 100000;\n\t\t\n\t\tint n = Inte... | 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 debt = 100000;
int n = Integer.parseInt(br.readLine())... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
0,
13,
4,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
0,
13,
2,
17,
13,
41,
13,
2,
13,
13,
14,
2... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
97,
5
],
[
97,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main{\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int debt = 100000;\n final int n = scanner.nextInt();\n\n debt = calculateDebt(debt, n);\n\n System.out.println(debt);\n }\n\n sta... | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int debt = 100000;
final int n = scanner.nextInt();
debt = calculateDebt(debt, n);
System.out.println(debt);
}
static int calculateDeb... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
13,
0,
13,
17,
0,
13,
4,
13... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
69,
11
],
[
69,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.io.PrintWriter;\nimport java.util.*;\n\nimport static java.lang.Math.*;\n\npublic class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in); \n\t\tPrintWriter out=new PrintWriter(System.out);\n\t\tdouble money = 100000;\n\t\tfinal double tax = 1.05;\n\t\tint n= sc.... | import java.io.PrintWriter;
import java.util.*;
import static java.lang.Math.*;
public class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
PrintWriter out=new PrintWriter(System.out);
double money = 100000;
final double tax = 1.05;
int n= sc.nextInt();
for(int i=0;i<... |
[
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,
2,
2,
13,
17,
17,
17,
4,
18,
18,
13,
13,
13,
23,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
56,
5
],
[
56,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tint n = sc.nextInt();\n\t\t\tdouble result = 100000;\n\t\t\t\tfor(int i = 0; n > i; i++)\n\t\t\t\t{\n\t\t\t\t\tresult = result * 1.05;\n\t\t\t\t\tresult = ((int)((result ... | import java.util.Scanner;
public class Main {
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
double result = 100000;
for(int i = 0; n > i; i++)
{
result = result * 1.05;
result = ((int)((result + 999)/1000))*1000;
}
System.out.prin... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
2,
13,
17,
17,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.*;\nimport java.lang.*;\n\nclass Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n \tScanner in = new Scanner(System.in);\n\t\tint week = in.nextInt();\n\t\tint dept = 100000;\n\t\t\n\t\tfor (int i = 0; i < week; i++) {\n\t\t\t// 利子の計算\n\t\t\tdept = (int)(dept... | import java.util.*;
import java.lang.*;
class Main
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner in = new Scanner(System.in);
int week = in.nextInt();
int dept = 100000;
for (int i = 0; i < week; i++) {
// 利子の計算
dept = (int)(dept * 1.05);
// 1,000円未満は切り上げ
if... |
[
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,
14,
2,
13,
17,
29,
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,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] a){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint input = scanner.nextInt();\n scanner.close();\n\t\tif (input > 100) return;\n\t\tlong loan = 100000;\n\t\tdou... | import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;
class Main{
public static void main(String[] a){
Scanner scanner = new Scanner(System.in);
int input = scanner.nextInt();
scanner.close();
if (input > 100) return;
long loan = 100000;
double interest = 0.05;
for ... |
[
7,
15,
13,
17,
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,
13,
17,
41,
13,
2,
13,
13,
41,
13,
20,
0,
13,
4,
18,
13,
40... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\nclass Main{\n\n\n\tpublic static void main(String[] a){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\n\t\tint gankin = 100000;\n\n\t\tint n = sc.nextInt();\n\n\t\tfor(int i = 0; i < n; i++) {\n\n\t\t\tdouble rishi = gankin * 0.05;\n\n\t\t\tdouble newGan... | import java.math.BigDecimal;
import java.util.Scanner;
class Main{
public static void main(String[] a){
Scanner sc = new Scanner(System.in);
int gankin = 100000;
int n = sc.nextInt();
for(int i = 0; i < n; i++) {
double rishi = gankin * 0.05;
double newGankin = gankin + rishi;
BigDecimal bd... |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
4,
18,
18,
13,
13,
4,
13,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
2,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
67,
5
],
[
67,
6
],
[
6,
7
],
[
6,
8
],
[
67,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],... | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tstatic Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tSystem.out.println( calc_debt( sc.nextInt() ) );\n\t\tsc.close();\n\t}\n\n\tprivate static long calc_debt(int nextInt) {\n\t\tint n = nextInt;\n\t\tlong d = 100;\n\n\t\... | import java.util.Scanner;
public class Main {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
System.out.println( calc_debt( sc.nextInt() ) );
sc.close();
}
private static long calc_debt(int nextInt) {
int n = nextInt;
long d = 100;
for (int i = 0; i < n; i++) {
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
0,
13,
4,
18,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
64,
5
],
[
64,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint inputNum = in.nextInt();\n\t\tSystem.out.println(getNowShakkin(inputNum));\n\t}\n\n\tpublic static int getNowShakkin(int weekInterval) {\n\t\tdouble result = 100;\n\n\t\tf... | import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner in = new Scanner(System.in);
int inputNum = in.nextInt();
System.out.println(getNowShakkin(inputNum));
}
public static int getNowShakkin(int weekInterval) {
double result = 100;
for (int i = 0; i < weekInterva... |
[
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,
4,
18,
13,
2,
13,
17,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[... | [
"import java.util.*;\n\nclass Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n double hensai = 100000;\n for(int i=0;i<n;i++){\n hensai *= 105;\n hensai = (long)Math.ceil((double)hensai/100000);\n ... | import java.util.*;
class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
double hensai = 100000;
for(int i=0;i<n;i++){
hensai *= 105;
hensai = (long)Math.ceil((double)hensai/100000);
hensa... |
[
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,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[... | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n = scan.nextInt();\n\t\t\n\t\tint ans = 100000;\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tans += ans / 20;\n\t\t\tif(ans % 1000 != 0){\n\t\t\t\tans = ans / 1000 * 10... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int ans = 100000;
for(int i = 0; i < n; i++){
ans += ans / 20;
if(ans % 1000 != 0){
ans = ans / 1000 * 1000 + 1000;
}
}
System.out.println(an... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
0,
13,
2,
2,
2,
13,
17,
17,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner cin = new Scanner(System.in);\n\t\t\n\t\tint m = 100000;\n\t\tint n = cin.nextInt();\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tm *= 1.05;\n\t\t\tm = (m+999)/1000*1000;\n\t\t}\n\t\t\n\t\tSystem.out.println... | import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner cin = new Scanner(System.in);
int m = 100000;
int n = cin.nextInt();
for(int i=0; i<n; i++)
{
m *= 1.05;
m = (m+999)/1000*1000;
}
System.out.println(m);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
20,
41,
13,
17,
14,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
2,
13,
17,
14,
2,
2,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\t//経過週数\n\t\tint n = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 64).readLine()); \n\t\t//計算結果\n\t\tint result =... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args)throws IOException {
//経過週数
int n = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 64).readLine());
//計算結果
int result = 100000;
//n週間後の借金... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
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,
17,
0,
13,
2,
13,
17,
0,
13,
2,
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
],
... | [
"/* package whatever; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\nclass Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tint num = 100000;\n\t\tint nu... | /* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Main
{
public static void main (String[] args) throws java.lang.Exception
{
int num = 100000;
int nums,numc;
Scanner s = ne... |
[
7,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
11,
1,
2,
0,
13,
4,
18,
18,
13,
13,
17,
1,
0,
13,
2,
2,
2,
13,
17,
13,
17,
30,
11,
1,
0,
13,
17,
2,
40,
13,
17,
1,
0,
13,
8,
2,
2,
13,
13,
17,
2,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
9,
11
],
[
5,
12
],
[
12,
13
],
[
5,
14
],
[
... | [
"class Main{public static void main(String[]g)throws Exception{double y=1e5;int n=0,i;for(;(i=System.in.read())>32;n=n*10+i-48);for(i=1000;n-->0;y+=y%i>0?i-y%i:0)y*=1.05;System.out.println((int)y);}}",
"class Main{public static void main(String[]g)throws Exception{double y=1e5;int n=0,i;for(;(i=System.in.read())>... | class Main{public static void main(String[]g)throws Exception{double y=1e5;int n=0,i;for(;(i=System.in.read())>32;n=n*10+i-48);for(i=1000;n-->0;y+=y%i>0?i-y%i:0)y*=1.05;System.out.println((int)y);}}
|
[
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,
14,
2,
2,
2,
13,
17,
17,
17,
30,
0,
13,
2,
2,
2,
2,
13,
17,
17,
17,
17,
30,
0,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
74,
5
],
[
74,
6
],
[
6,
7
],
[
6,
8
],
[
74,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\n\npublic class Main {\n\tScanner sc = new Scanner(System.in);\n\t\n\tvoid run(){\n\t\tint w = sc.nextInt();\n\t\tint p = 100000;\n\t\tfor(int i = 0; i < w; i++){\n\t\t\tif((p*1.05)%1000 > 0){\n\t\t\t\tp = ((int)(p * 1.05)/1000+1)*1000;\n\t\t\t}else{\n\t\t\t\tp = (int)(p * 1.05);\n\t\t\... | import java.util.Scanner;
public class Main {
Scanner sc = new Scanner(System.in);
void run(){
int w = sc.nextInt();
int p = 100000;
for(int i = 0; i < w; i++){
if((p*1.05)%1000 > 0){
p = ((int)(p * 1.05)/1000+1)*1000;
}else{
p = (int)(p * 1.05);
}
}
System.out.println(p);
}
public ... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
20,
41,
13,
17,
41,
13,
11,
1,
2,
17,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
0,
13,
8,
2,
2,
13,
13,
17,
2,
13,
17,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
66,
11
],
[
66,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tint period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());\n\t\tint va... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args) throws NumberFormatException, IOException {
int period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());
int val = 100;//壱百千円
... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
2,
13,
17,
41,
13,
20,
41,
13... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
76,
8
],
[
76,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
9,
14
],
... | [
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main{\n\n public static void main(String[] args) {\n\n exec();\n }\n\n private static void exec() {\n\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n // 借金額\n float debt = 100000;\... | import java.math.BigDecimal;
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
exec();
}
private static void exec() {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
// 借金額
float debt = 100000;
// n週間後の借金残高... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
4,
18,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
92,
11
],
[
92,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n try {\n int week = Integer.valueOf(in.readLi... | 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 week = Integer.valueOf(in.readLine());
... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
0,
13,
2,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
81,
8
],
[
81,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble loan = 100000;\n\t\tint week;\n\n\t\twhile ((scan.hasNext())) {\n\t\t\tweek = Integer.parseInt(scan.next());\n\t\t\tfor (int i = 0; i ... | import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double loan = 100000;
int week;
while ((scan.hasNext())) {
week = Integer.parseInt(scan.next());
for (int i = 0; i < week; i++) {
loan = loan *... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
17,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
2,
13,
2,
13,
17,
17,
40,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
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
],
[
13,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main{\n\tstatic int debt(int n){\n\t\tint x = 100000;\n\t\twhile( n > 0 ){\n\t\t\tx *= (1 + 0.05);\n\t\t\tif( x%1000 != 0 ){\n\t\t\t\tx = x - x%1000 + 1000;\n\t\t\t}\n\t\t\tn--;\n\t\t}\n\t\treturn x;\n\t}\n\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = ne... | import java.util.Scanner;
public class Main{
static int debt(int n){
int x = 100000;
while( n > 0 ){
x *= (1 + 0.05);
if( x%1000 != 0 ){
x = x - x%1000 + 1000;
}
n--;
}
return x;
}
public static void main(String[] args){
Scanner stdIn = new Scanner(System.in);
int n = stdIn.nextInt();
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
13,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
73,
5
],
[
73,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.io.*;\npublic class Main {\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\t\n\t\tBufferedReader br = \n\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint sum = 100000;\n\t\tdouble debt = sum * 0.05;\n\t\t\n\t\... | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br =
new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(br.readLine());
int sum = 100000;
double debt = sum * 0.05;
for (int i = 0; i < n; i++) {
sum ... |
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
3... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
75,
5
],
[
75,
6
],
[
6,
7
],
[
6,
8
],
[
75,
9
],
[
9,
10
],
[
9,
11
],
[
75,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\n/**\n * \n * @author hiranoi\n *\n * ?????????????????§??????????????????????????°??£?????? ???????????????????\\?????????? 10 ???????????????????????????????????¨??????????????????????????¨???????????????\n * ???????\\???????????????±????????¨??? 5% ???????????????????... | import java.util.Scanner;
/**
*
* @author hiranoi
*
* ?????????????????§??????????????????????????°??£?????? ???????????????????\?????????? 10 ???????????????????????????????????¨??????????????????????????¨???????????????
* ???????\???????????????±????????¨??? 5% ?????????????????????????????????... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
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... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[... | [
"import java.io.*;\n\nclass Main {\n\tpublic static void main(String args[]) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\n\t\ttry {\n\t\t\tString buf = br.readLine();\n\t\t\tint n = Integer.parseInt(buf);\n\n\t\t\tlong money = 100000;\n\t\t\tf... | import java.io.*;
class Main {
public static void main(String args[]) {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
try {
String buf = br.readLine();
int n = Integer.parseInt(buf);
long money = 100000;
for (int i=0;i<n;i++) {
money = (... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
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,
4,
13,
13,
13,
4,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
105,
11
],
[
105,
12
],
[
12,
13
],
[
12,
14
],... | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int money = 100000; //返す金額\n int week =... |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int money = 100000; //返す金額
int week = Integer.parseI... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
2,
17,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
... | [
"import java.util.*;\nimport java.lang.*;\nimport java.math.*;\nimport java.io.*;\n\nimport static java.lang.Math.*;\nimport static java.util.Arrays.*;\n\npublic class Main{\n\n\tScanner sc;\n\n\tstatic final int INF=1<<28;\n\tstatic final double EPS=1e-9;\n\n\tvoid run(){\n\t\tsc=new Scanner(System.in);\n\t\tint n... | import java.util.*;
import java.lang.*;
import java.math.*;
import java.io.*;
import static java.lang.Math.*;
import static java.util.Arrays.*;
public class Main{
Scanner sc;
static final int INF=1<<28;
static final double EPS=1e-9;
void run(){
sc=new Scanner(System.in);
int n=sc.nextInt();
int ans=10000... |
[
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,
4,
18,
13,
41,
13,
4,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
14,
2,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
97,
11
],
[
97,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n /** 週利 */\n private static final double INTEREST_WEEK = 0.05;\n\n /** 繰り上げ単位 */\n private static final int ROUND_UP_UNIT = 1000;\n\n /** 元金 */\n private static final int PRINC... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
/** 週利 */
private static final double INTEREST_WEEK = 0.05;
/** 繰り上げ単位 */
private static final int ROUND_UP_UNIT = 1000;
/** 元金 */
private static final int PRINCIPAL = 100000;
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
17,
41,
13,
20,
0,
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,
13,
17,
0,
13,
2,
13,
17,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
67,
5
],
[
67,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint years;\n\t\tint money=100000;\n\t\tScanner scanner = new Scanner(System.in);\n\t\tyears = scanner.nextInt();\n\t\t\n\t\tfor(int i=0; i<years; i++){\n\t\t\tmoney *= 1.05;\n\t\t\tif(money % 1000 != 0){\n\t\t\t\tmo... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int years;
int money=100000;
Scanner scanner = new Scanner(System.in);
years = scanner.nextInt();
for(int i=0; i<years; i++){
money *= 1.05;
if(money % 1000 != 0){
money = money / 1000;
money = money * 1... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
17,
12,
13,
30,
41,
13,
4,
13,
4,
18,
18,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
... | [
[
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
],
[
112,
14
],
... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\n\n/**\n * 0007:Debt Hellの解答\n * \n * @author MS14A\n * @version 2015/04/15\n */\npublic class Main {\n\n /** 初期借金額:10万円 */\n private static final BigDecimal INITIAL_DEBT = new BigDeci... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
/**
* 0007:Debt Hellの解答
*
* @author MS14A
* @version 2015/04/15
*/
public class Main {
/** 初期借金額:10万円 */
private static final BigDecimal INITIAL_DEBT = new BigDecimal("100000");
... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
4,
18,
20,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
13,
13,
13,
13,
4,
18,
18,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
117,
11
],
[
117,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))) {\n\n\t\t\tnew Main().solution(br);\... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
try (BufferedReader br = new BufferedReader(new InputStreamReader(
System.in))) {
new Main().solution(br);
}
}
private void solu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.