結果

問題 No.1453 手助け
ユーザー convexineqconvexineq
提出日時 2021-05-05 21:27:06
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 156 bytes
コンパイル時間 607 ms
コンパイル使用メモリ 86,932 KB
実行使用メモリ 75,756 KB
最終ジャッジ日時 2023-10-11 15:25:29
合計ジャッジ時間 3,679 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 76 ms
71,272 KB
testcase_02 AC 75 ms
71,156 KB
testcase_03 AC 79 ms
75,612 KB
testcase_04 AC 75 ms
71,176 KB
testcase_05 AC 78 ms
75,628 KB
testcase_06 AC 79 ms
75,756 KB
testcase_07 AC 79 ms
75,548 KB
testcase_08 AC 75 ms
71,080 KB
testcase_09 AC 77 ms
71,232 KB
testcase_10 AC 77 ms
71,196 KB
testcase_11 AC 75 ms
71,076 KB
testcase_12 AC 75 ms
71,332 KB
testcase_13 WA -
testcase_14 AC 76 ms
71,236 KB
testcase_15 AC 81 ms
75,592 KB
testcase_16 AC 75 ms
71,200 KB
testcase_17 AC 77 ms
71,016 KB
testcase_18 AC 81 ms
75,660 KB
testcase_19 AC 81 ms
75,712 KB
testcase_20 AC 78 ms
75,560 KB
testcase_21 AC 76 ms
71,004 KB
testcase_22 AC 76 ms
71,168 KB
testcase_23 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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