結果

問題 No.89 どんどんドーナツどーんといこう!
ユーザー Maeda
提出日時 2025-09-08 09:46:57
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 328 bytes
コンパイル時間 4,347 ms
コンパイル使用メモリ 76,176 KB
実行使用メモリ 46,540 KB
最終ジャッジ日時 2025-09-08 09:47:04
合計ジャッジ時間 5,431 ms
ジャッジサーバーID
(参考情報)
judge4 / judge
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int c = scan.nextInt();
        int rin = scan.nextInt();
        int rout = scan.nextInt();
		double ans = 2 * 3.14 * 3.14 * rin * rin * rout;
        System.out.println(ans * c);
    }
}
0