結果
| 問題 |
No.904 サメトロ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-05-23 20:53:22 |
| 言語 | Kuin (KuinC++ v.2021.9.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 266 bytes |
| コンパイル時間 | 1,946 ms |
| コンパイル使用メモリ | 146,344 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-16 11:10:03 |
| 合計ジャッジ時間 | 3,173 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 WA * 13 |
ソースコード
func main()
var n: int :: cui@inputInt()
if(n = 2)
do cui@print("1\n")
ret
end if
var a: int :: 0
var b: int :: 0
for(1, n - 1)
do a :+ cui@inputInt()
do b :+ cui@inputInt()
end for
var ans: int :: [a, b].min() + 1
do cui@print("\{ans}\n")
end func