結果
問題 | No.513 宝探し2 |
ユーザー | nebukuro09 |
提出日時 | 2017-05-05 22:45:48 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 178 bytes |
コンパイル時間 | 583 ms |
コンパイル使用メモリ | 6,648 KB |
実行使用メモリ | 24,504 KB |
平均クエリ数 | 2.92 |
最終ジャッジ日時 | 2023-09-23 13:24:01 |
合計ジャッジ時間 | 3,390 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | AC | 30 ms
24,012 KB |
testcase_08 | RE | - |
testcase_09 | WA | - |
testcase_10 | AC | 34 ms
23,352 KB |
testcase_11 | AC | 31 ms
23,736 KB |
ソースコード
import sys N = 100001 print 0, 0 sys.stdout.flush() d1 = int(raw_input()) print 0, N-1 sys.stdout.flush() d2 = int(raw_input()) x = (d1 - d2 + N - 1) / 2 y = d1 - x print x, y