結果
| 問題 | No.89 どんどんドーナツどーんといこう! |
| コンテスト | |
| ユーザー |
darknight
|
| 提出日時 | 2016-11-25 22:07:17 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
AC
|
| 実行時間 | 52 ms / 5,000 ms |
| コード長 | 381 bytes |
| 記録 | |
| コンパイル時間 | 1,482 ms |
| コンパイル使用メモリ | 82,628 KB |
| 実行使用メモリ | 41,628 KB |
| 最終ジャッジ日時 | 2026-04-21 07:48:29 |
| 合計ジャッジ時間 | 2,886 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 |
ソースコード
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double ans = 0;
int C = Integer.parseInt(sc.next());
int a = Integer.parseInt(sc.next());
int b = Integer.parseInt(sc.next());
ans = C*(b*b-a*a)*(b-a)*2.46740110027;
System.out.print(ans);
System.out.println();
}
}
darknight