結果
| 問題 |
No.2138 Add Bacon
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-12-01 07:58:34 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 47 ms / 2,000 ms |
| コード長 | 200 bytes |
| コンパイル時間 | 523 ms |
| コンパイル使用メモリ | 82,120 KB |
| 実行使用メモリ | 55,552 KB |
| 最終ジャッジ日時 | 2024-10-08 06:49:03 |
| 合計ジャッジ時間 | 2,607 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 25 |
ソースコード
from collections import * from functools import * from itertools import * from heapq import * import sys,math input = sys.stdin.readline A,B,C,D,E = map(int,input().split()) print(A-B+max(0,C*(D-E)))