結果
| 問題 |
No.514 宝探し3
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-05-05 22:36:38 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 261 bytes |
| コンパイル時間 | 193 ms |
| コンパイル使用メモリ | 82,704 KB |
| 実行使用メモリ | 71,016 KB |
| 平均クエリ数 | 2.83 |
| 最終ジャッジ日時 | 2024-07-16 12:56:40 |
| 合計ジャッジ時間 | 3,156 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 WA * 7 |
ソースコード
import sys
print('0 0')
sys.stdout.flush()
left = int(input())
if left == 0:
sys.exit()
print('100000 0')
sys.stdout.flush()
right = int(input())
if right == 0:
sys.exit()
y = (left + right - 100000) // 2
x = left - y
print(x, y)
sys.stdout.flush()