結果
問題 | No.513 宝探し2 |
ユーザー |
![]() |
提出日時 | 2017-06-22 10:05:45 |
言語 | Python2 (2.7.18) |
結果 |
RE
|
実行時間 | - |
コード長 | 506 bytes |
コンパイル時間 | 55 ms |
コンパイル使用メモリ | 7,168 KB |
実行使用メモリ | 25,604 KB |
平均クエリ数 | 1.00 |
最終ジャッジ日時 | 2024-07-16 13:53:45 |
合計ジャッジ時間 | 3,352 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 RE * 11 |
ソースコード
#import pdb; pdb.set_trace() import sys import math def main(): print "0 0" sys.stdout.flush() line = int(raw_input()) if line == 0: sys.exit() print line + " 0" sys.stdout.flush() line2 = int(raw_input()) if line2 == 0: sys.exit() nline1 = int(line) nline2 = int(line2) / 2 print str(nline1 - nline2) + " " + int(nline2) sys.stdout.flush() sys.exit() if __name__ == '__main__': main()