結果

問題 No.410 出会い
ユーザー cande398
提出日時 2017-10-08 18:39:56
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 282 bytes
コンパイル時間 2,083 ms
コンパイル使用メモリ 77,912 KB
実行使用メモリ 41,672 KB
最終ジャッジ日時 2024-11-17 05:44:35
合計ジャッジ時間 5,884 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 6 WA * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    double sum = Math.abs(sc.nextDouble())+Math.abs(sc.nextDouble())+Math.abs(sc.nextDouble())+Math.abs(sc.nextDouble());
    System.out.println(sum/2);
  }
}
0