ログイン
新規登録
AtsuoCoder Waseda Tour Finals 2025
読込中…
Home
Tasks
Clar
Submissions
Standings
提出 db300eec-60de-46cb-b014-787c1a76571f
コード
#include <iostream> #include <vector> using namespace std; typedef long long ll; signed main() { ll n; cin >> n; vector<ll>a(n); for (ll i = 0; i <= n - 1; i++)cin >> a[i]; for (ll ans = 0; ans <= n; ans++) { bool ok = true; for (ll x : a) { if (x == ans)ok = false; } if (ok) { cout << ans << endl; return 0; } } return 0; }
結果
問題
点数
言語
結果
実行時間
メモリ
F - TLE
0
C++
TLE
2101 ms
4960 KiB