結果
問題 | No.513 宝探し2 |
ユーザー | GrayCoder |
提出日時 | 2017-09-03 21:20:14 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
AC
|
実行時間 | 41 ms / 2,000 ms |
コード長 | 228 bytes |
コンパイル時間 | 111 ms |
コンパイル使用メモリ | 10,696 KB |
実行使用メモリ | 24,288 KB |
平均クエリ数 | 2.75 |
最終ジャッジ日時 | 2023-09-24 01:32:12 |
合計ジャッジ時間 | 1,441 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 41 ms
23,620 KB |
testcase_01 | AC | 32 ms
24,276 KB |
testcase_02 | AC | 32 ms
23,368 KB |
testcase_03 | AC | 33 ms
23,628 KB |
testcase_04 | AC | 31 ms
24,288 KB |
testcase_05 | AC | 32 ms
23,604 KB |
testcase_06 | AC | 33 ms
24,012 KB |
testcase_07 | AC | 32 ms
23,676 KB |
testcase_08 | AC | 32 ms
23,868 KB |
testcase_09 | AC | 31 ms
23,640 KB |
testcase_10 | AC | 33 ms
24,168 KB |
testcase_11 | AC | 32 ms
23,444 KB |
ソースコード
def main(): print(0, 0) x0 = int(input()) if x0 == 0: return print(100000, 0) x1 = int(input()) if x1 == 0: return y = (x0 + x1 - 100000) // 2 x = x0 - y print(x, y) main()