結果

問題 No.513 宝探し2
ユーザー htkbhtkb
提出日時 2018-05-20 15:40:41
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 34 ms / 2,000 ms
コード長 200 bytes
コンパイル時間 72 ms
コンパイル使用メモリ 10,656 KB
実行使用メモリ 24,228 KB
平均クエリ数 2.67
最終ジャッジ日時 2023-09-24 01:46:06
合計ジャッジ時間 1,330 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
24,028 KB
testcase_01 AC 31 ms
23,704 KB
testcase_02 AC 31 ms
24,048 KB
testcase_03 AC 30 ms
24,032 KB
testcase_04 AC 30 ms
23,544 KB
testcase_05 AC 31 ms
23,676 KB
testcase_06 AC 30 ms
24,216 KB
testcase_07 AC 31 ms
24,092 KB
testcase_08 AC 30 ms
23,876 KB
testcase_09 AC 31 ms
23,600 KB
testcase_10 AC 31 ms
24,228 KB
testcase_11 AC 31 ms
23,956 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

print(0, 0)
dist = int(input())
x, y = dist, 0
if dist > 0:
    print(x, y)
    dist = int(input())
    if dist > 0:
        x -= dist//2
        y = dist//2
        print(x, y)
        input()
exit()
0