結果
| 問題 | No.514 宝探し3 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-05-05 22:47:25 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 108 ms / 2,000 ms |
| + 1µs | |
| コード長 | 228 bytes |
| 記録 | |
| コンパイル時間 | 67 ms |
| コンパイル使用メモリ | 81,152 KB |
| 実行使用メモリ | 81,012 KB |
| 平均クエリ数 | 2.75 |
| 最終ジャッジ日時 | 2026-07-18 13:26:11 |
| 合計ジャッジ時間 | 2,318 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
ソースコード
import sys
N = 1000000001
print 0, 0
sys.stdout.flush()
d1 = int(raw_input())
if d1 == 0:
exit()
print N-1, 0
sys.stdout.flush()
d2 = int(raw_input())
if d2 == 0:
exit()
x = (d1 - d2 + N - 1) / 2
y = d1 - x
print x, y