結果
問題 | No.920 あかあお |
ユーザー |
![]() |
提出日時 | 2019-12-28 23:18:47 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 224 bytes |
コンパイル時間 | 15,490 ms |
コンパイル使用メモリ | 228,048 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-12 18:43:46 |
合計ジャッジ時間 | 15,177 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
package main import "fmt" func main() { var x, y, z int _, _ = fmt.Scan(&x, &y, &z) for i := 0; i < z; i++ { if x < y { x += 1 } else { y += 1 } } if x <= y { fmt.Print(x) } else { fmt.Print(y) } }