結果

問題 No.514 宝探し3
ユーザー jp_stejp_ste
提出日時 2017-05-16 21:39:26
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 358 bytes
コンパイル時間 2,511 ms
コンパイル使用メモリ 73,772 KB
実行使用メモリ 73,348 KB
平均クエリ数 2.92
最終ジャッジ日時 2023-09-23 14:05:35
合計ジャッジ時間 5,449 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 187 ms
72,584 KB
testcase_01 AC 167 ms
72,652 KB
testcase_02 AC 169 ms
72,684 KB
testcase_03 AC 178 ms
72,716 KB
testcase_04 AC 169 ms
73,012 KB
testcase_05 AC 179 ms
72,484 KB
testcase_06 AC 171 ms
72,556 KB
testcase_07 AC 176 ms
73,080 KB
testcase_08 RE -
testcase_09 AC 169 ms
73,348 KB
testcase_10 AC 183 ms
72,772 KB
testcase_11 AC 170 ms
72,724 KB
権限があれば一括ダウンロードができます

ソースコード

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