結果
| 問題 |
No.98 円を描こう
|
| コンテスト | |
| ユーザー |
yuma_shobon1108
|
| 提出日時 | 2016-11-11 15:04:51 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 265 bytes |
| コンパイル時間 | 1,802 ms |
| コンパイル使用メモリ | 74,788 KB |
| 実行使用メモリ | 54,744 KB |
| 最終ジャッジ日時 | 2024-11-25 08:09:05 |
| 合計ジャッジ時間 | 3,488 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 4 |
| other | WA * 6 |
ソースコード
import java.util.Scanner;
class Question098
{
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
int y = scan.nextInt();
int r = (int)Math.ceil(Math.sqrt(x+y));
System.out.println(2*r);
}
}
yuma_shobon1108