Submission #00173


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
import java.util.Scanner;
import java.util.stream.IntStream;
public class Main{
static Scanner s=new Scanner(System.in);
static IntStream REPS(int v){return IntStream.range(0,v);}
static IntStream REPS(int l,int r){return IntStream.rangeClosed(l,r);}
static IntStream INS(int n) {return REPS(n).map(i->getInt());}
static int getInt(){return Integer.parseInt(s.next());}
public static void main(String[]$){
System.out.println(Math.pow(getInt()/2.0,2)*Math.PI);
}
}

ステータス

項目 データ
問題 0007 - 円の面積
ユーザー名 fal_rnd
投稿日時 2017-07-30 20:47:35
言語 Java
状態 Accepted
得点 100
ソースコード長 487 Byte
最大実行時間 77 ms
最大メモリ使用量 14948 KB

セット

セット 得点 Cases
1 ALL 100 / 100 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input1.txt AC 67 ms 14636 KB
1
input2.txt AC 63 ms 13660 KB
1
input3.txt AC 77 ms 14840 KB
1
input4.txt AC 66 ms 14948 KB
1
input5.txt AC 68 ms 14748 KB
1