結果

問題 No.1453 手助け
ユーザー convexineqconvexineq
提出日時 2021-05-05 21:23:40
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 181 bytes
コンパイル時間 292 ms
コンパイル使用メモリ 86,692 KB
実行使用メモリ 75,976 KB
最終ジャッジ日時 2023-10-11 15:23:06
合計ジャッジ時間 3,884 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,216 KB
testcase_01 AC 75 ms
71,092 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 79 ms
75,700 KB
testcase_06 WA -
testcase_07 AC 79 ms
75,840 KB
testcase_08 AC 75 ms
71,156 KB
testcase_09 AC 73 ms
71,144 KB
testcase_10 WA -
testcase_11 AC 74 ms
71,080 KB
testcase_12 WA -
testcase_13 AC 74 ms
71,172 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 74 ms
71,176 KB
testcase_17 AC 73 ms
71,176 KB
testcase_18 WA -
testcase_19 AC 80 ms
75,712 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 73 ms
71,232 KB
testcase_23 AC 73 ms
71,192 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c,d,e = map(int,input().split())
ans = x = 0
for i in range(a*(b-c)):
    if i==0:
        x = d
    elif i%10==0 and e <= x:
        x = x-e
    ans += x            
print(ans)
0