結果
問題 |
No.1453 手助け
|
ユーザー |
|
提出日時 | 2022-11-22 17:39:14 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 202 bytes |
コンパイル時間 | 104 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-09-23 03:08:08 |
合計ジャッジ時間 | 1,701 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 RE * 1 |
other | WA * 1 RE * 20 |
ソースコード
a,b,c,d,e=map(int,input().split()) n=b-c f=0 x=d for i in range(1,a+1): if i<2: f+=d elif i%10!=0: f+=X elif e>x: f+=X else: x=x-e f+=x print(f*n)