結果
| 問題 |
No.172 UFOを捕まえろ
|
| コンテスト | |
| ユーザー |
fal_rnd
|
| 提出日時 | 2018-04-18 09:09:17 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 135 ms / 5,000 ms |
| コード長 | 320 bytes |
| コンパイル時間 | 2,255 ms |
| コンパイル使用メモリ | 75,864 KB |
| 実行使用メモリ | 54,408 KB |
| 最終ジャッジ日時 | 2024-06-27 04:27:08 |
| 合計ジャッジ時間 | 6,397 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
import java.util.*;
import java.util.stream.*;
class Main {
static Scanner s=new Scanner(System.in);
static int gInt(){return Integer.parseInt(s.next());}
public static void main(String[]$){
System.out.println((int)Math.ceil(Math.abs(gInt())+Math.abs(gInt())+Math.sqrt(2)*Math.abs(gInt())));
}
}
fal_rnd