結果
| 問題 |
No.410 出会い
|
| コンテスト | |
| ユーザー |
kohaku_kohaku
|
| 提出日時 | 2016-11-10 02:23:22 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 463 bytes |
| コンパイル時間 | 1,813 ms |
| コンパイル使用メモリ | 74,636 KB |
| 実行使用メモリ | 54,100 KB |
| 最終ジャッジ日時 | 2024-11-25 06:09:41 |
| 合計ジャッジ時間 | 5,274 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 3 |
| other | WA * 19 |
ソースコード
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
/*int Px = sc.nextInt();
int Py = sc.nextInt();
int Qx = sc.nextInt();
int Qy = sc.nextInt();*/
int Px=-12345;
int Py=6789;
int Qx=1234 ;
int Qy=-56789;
int d = Math.abs(Px-Qx) + Math.abs(Py-Qy);
double r = d/2.0;
System.out.println(r);
}
}
kohaku_kohaku