結果

問題 No.514 宝探し3
ユーザー jp_ste
提出日時 2017-05-16 21:39:26
言語 Java
(openjdk 23)
結果
RE  
実行時間 -
コード長 358 bytes
コンパイル時間 2,361 ms
コンパイル使用メモリ 76,072 KB
実行使用メモリ 71,704 KB
平均クエリ数 2.92
最終ジャッジ日時 2024-07-16 13:44:40
合計ジャッジ時間 5,736 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11 RE * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scan = new Scanner(System.in);
        System.out.println(0 + " " + 0);
        int d1 = scan.nextInt();
        System.out.println(0 + " " + d1);
        int d2 = scan.nextInt();
        System.out.println(d2/2 + " " + (d1-d2/2));
    }
}
0