結果

問題 No.745 letinopia raoha
ユーザー kawacchu
提出日時 2019-10-10 21:18:36
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 386 bytes
コンパイル時間 86 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-11-21 22:34:43
合計ジャッジ時間 1,029 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c,d = map(int,input().split())
if d >= 10 :
    print("Imppossible")
else :
    print("Possible")
    c = 1
    d = 0
    ans = 0
    for i in range(a) :
        ans += c*100
        d += 1
        if d >= 100 :
            d = 0
            c += 1
    for i in range(b) :
        ans += c*50
        d += 1
        if d >= 100 :
            d = 0
            c += 1
    print(ans)
0