結果

問題 No.745 letinopia raoha
ユーザー 👑 KazunKazun
提出日時 2020-10-17 18:31:37
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 63 ms / 2,000 ms
コード長 209 bytes
コンパイル時間 930 ms
コンパイル使用メモリ 87,188 KB
実行使用メモリ 71,376 KB
最終ジャッジ日時 2023-09-28 08:27:37
合計ジャッジ時間 2,848 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 60 ms
71,224 KB
testcase_01 AC 58 ms
71,236 KB
testcase_02 AC 61 ms
71,240 KB
testcase_03 AC 60 ms
71,176 KB
testcase_04 AC 62 ms
71,268 KB
testcase_05 AC 63 ms
71,172 KB
testcase_06 AC 61 ms
71,104 KB
testcase_07 AC 62 ms
71,220 KB
testcase_08 AC 59 ms
71,376 KB
testcase_09 AC 60 ms
71,300 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B,C,D=map(int,input().split())

if D==10:
    print("Impossible")
    exit()

K=0
S=0
for (X,T) in [(B,50),(A,100)]:
    for _ in [0]*X:
        S+=T*(2**(K//100))
        K+=1

print("Possible",S,sep="\n")
0