結果

問題 No.513 宝探し2
ユーザー JunOnumaJunOnuma
提出日時 2017-05-25 14:10:13
言語 Python2
(2.7.18)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 194 bytes
コンパイル時間 696 ms
コンパイル使用メモリ 6,584 KB
実行使用メモリ 12,308 KB
最終ジャッジ日時 2023-09-24 01:17:04
合計ジャッジ時間 6,577 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

print 0,0
d1 = int(raw_input())
print 100000,0
d2 = int(raw_input())
for x in range(min(100001,d1+1)):
    y = d1 - x
    d = abs(100000 - x) + y
    if d == d2:
        print x,y
        break
0