結果
| 問題 | No.514 宝探し3 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-05-05 22:36:38 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 261 bytes |
| 記録 | |
| コンパイル時間 | 284 ms |
| コンパイル使用メモリ | 85,376 KB |
| 実行使用メモリ | 71,448 KB |
| 平均クエリ数 | 2.83 |
| 最終ジャッジ日時 | 2026-03-31 00:56:52 |
| 合計ジャッジ時間 | 2,474 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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()