結果
| 問題 | No.2138 Add Bacon |
| コンテスト | |
| ユーザー |
urutom
|
| 提出日時 | 2022-12-08 04:42:35 |
| 言語 | Go (1.26.1) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 170 bytes |
| 記録 | |
| コンパイル時間 | 12,474 ms |
| コンパイル使用メモリ | 283,576 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-01 15:51:48 |
| 合計ジャッジ時間 | 12,136 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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