結果
問題 |
No.1453 手助け
|
ユーザー |
|
提出日時 | 2023-01-30 10:17:15 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 175 bytes |
コンパイル時間 | 77 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-06-30 01:12:23 |
合計ジャッジ時間 | 1,521 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 4 WA * 17 |
ソースコード
a,b,c,d,e=map(int,input().split()) n=b-c x=d for i in range(1,a): if i%10!=0: x+=d elif i%10==0 and e<=d: x+=d-e else: x+=e-d x*=n print(x)