結果

問題 No.745 letinopia raoha
ユーザー 👑 H20H20
提出日時 2021-04-08 13:59:23
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 2,000 ms
コード長 312 bytes
コンパイル時間 389 ms
コンパイル使用メモリ 87,156 KB
実行使用メモリ 71,588 KB
最終ジャッジ日時 2023-09-05 22:19:19
合計ジャッジ時間 2,235 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,272 KB
testcase_01 AC 69 ms
71,076 KB
testcase_02 AC 71 ms
71,328 KB
testcase_03 AC 71 ms
71,080 KB
testcase_04 AC 71 ms
71,264 KB
testcase_05 AC 70 ms
71,588 KB
testcase_06 AC 70 ms
71,376 KB
testcase_07 AC 70 ms
71,264 KB
testcase_08 AC 70 ms
71,264 KB
testcase_09 AC 70 ms
71,076 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B,C,D = map(int,input().split())
if D>=10:
    print('Impossible')
else:
    print('Possible')
    score = 0
    combo = 0
    bonus = 1
    for i in range(B):
        combo+=1
        score+=2**((combo-1)//100)*50
    for i in range(A):
        combo+=1
        score+=2**((combo-1)//100)*100
    print(score)
0