結果
| 問題 | No.410 出会い |
| コンテスト | |
| ユーザー |
samplelpmas
|
| 提出日時 | 2017-01-10 13:27:06 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
AC
|
| 実行時間 | 53 ms / 2,000 ms |
| + 991µs | |
| コード長 | 372 bytes |
| 記録 | |
| コンパイル時間 | 1,338 ms |
| コンパイル使用メモリ | 84,480 KB |
| 実行使用メモリ | 43,088 KB |
| 最終ジャッジ日時 | 2026-07-31 21:47:37 |
| 合計ジャッジ時間 | 3,831 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 19 |
ソースコード
import java.util.Scanner;
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();
System.out.println((double) (Math.abs(px - qx)) / 2 + (double) (Math.abs(py - qy)) / 2);
}
}
samplelpmas