結果

問題 No.1305 Speak of the Devil
ユーザー FromBooskaFromBooska
提出日時 2023-10-03 08:50:33
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 77 ms / 2,000 ms
コード長 293 bytes
コンパイル時間 542 ms
コンパイル使用メモリ 87,268 KB
実行使用メモリ 71,608 KB
最終ジャッジ日時 2023-10-03 08:50:37
合計ジャッジ時間 4,217 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,568 KB
testcase_01 AC 73 ms
71,224 KB
testcase_02 AC 76 ms
71,352 KB
testcase_03 AC 71 ms
71,500 KB
testcase_04 AC 72 ms
71,260 KB
testcase_05 AC 73 ms
71,088 KB
testcase_06 AC 72 ms
71,440 KB
testcase_07 AC 72 ms
71,220 KB
testcase_08 AC 75 ms
71,444 KB
testcase_09 AC 73 ms
71,348 KB
testcase_10 AC 73 ms
71,260 KB
testcase_11 AC 75 ms
71,520 KB
testcase_12 AC 77 ms
71,236 KB
testcase_13 AC 74 ms
71,300 KB
testcase_14 AC 77 ms
71,568 KB
testcase_15 AC 73 ms
71,260 KB
testcase_16 AC 72 ms
71,112 KB
testcase_17 AC 72 ms
71,284 KB
testcase_18 AC 73 ms
71,580 KB
testcase_19 AC 74 ms
71,400 KB
testcase_20 AC 72 ms
71,416 KB
testcase_21 AC 73 ms
71,416 KB
testcase_22 AC 73 ms
71,240 KB
testcase_23 AC 72 ms
71,476 KB
testcase_24 AC 72 ms
71,388 KB
testcase_25 AC 74 ms
71,596 KB
testcase_26 AC 72 ms
71,608 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# 噂話を何回かしてから呼ぶのは無駄
# つまり選択肢は噂話を続けるか、最初に呼ぶ
# 噂話を続ける場合の期待値はP、呼ぶ場合の期待値は確定していてQ
# つまりans = min(P, Q)

P, Q = map(int, input().split())
ans = min(P, Q)
print(ans)
0