結果
| 問題 | No.2138 Add Bacon |
| コンテスト | |
| ユーザー |
urutom
|
| 提出日時 | 2022-12-08 04:42:35 |
| 言語 | Go (1.23.4) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 170 bytes |
| 記録 | |
| コンパイル時間 | 13,551 ms |
| コンパイル使用メモリ | 220,128 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-14 05:59:34 |
| 合計ジャッジ時間 | 14,603 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 25 |
ソースコード
package main
import "fmt"
func main() {
var a, b, c, d, e, ans int
fmt.Scanln(&a, &b, &c, &d, &e)
ans = a - b
if d > e {
ans += c * (d - e)
}
fmt.Println(ans)
}
urutom