結果
問題 |
No.514 宝探し3
|
ユーザー |
|
提出日時 | 2018-06-30 18:59:12 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 330 bytes |
コンパイル時間 | 231 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 42,276 KB |
最終ジャッジ日時 | 2024-07-16 15:55:32 |
合計ジャッジ時間 | 6,746 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | TLE * 1 -- * 11 |
ソースコード
from sys import stdin, stdout input = lambda: stdin.readline().rstrip() write = stdout.write def main(): print(0, 0) x0 = int(input()) if x0 == 0: return print(1000000000, 0) x1 = int(input()) if x1 == 0: return y = (x0 + x1 - 1000000000) // 2 x = x0 - y print(x, y) main()