結果

問題 No.1453 手助け
ユーザー googol_S0googol_S0
提出日時 2021-03-31 21:19:55
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 135 bytes
コンパイル時間 456 ms
コンパイル使用メモリ 86,868 KB
実行使用メモリ 75,644 KB
最終ジャッジ日時 2023-08-21 22:32:46
合計ジャッジ時間 3,231 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,020 KB
testcase_01 AC 73 ms
71,196 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 76 ms
75,644 KB
testcase_06 WA -
testcase_07 AC 74 ms
75,520 KB
testcase_08 AC 72 ms
71,020 KB
testcase_09 AC 73 ms
71,228 KB
testcase_10 WA -
testcase_11 AC 73 ms
71,304 KB
testcase_12 WA -
testcase_13 AC 72 ms
71,032 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 71 ms
71,128 KB
testcase_17 AC 70 ms
71,008 KB
testcase_18 WA -
testcase_19 AC 74 ms
75,256 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 71 ms
71,244 KB
testcase_23 AC 72 ms
71,036 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B,C,D,E=map(int,input().split())
B-=C
A*=B
ANS=0
for i in range(A):
  ANS+=D
  if D%10:
    continue
  elif E<=D:
    D-=E
print(ANS)
0