# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
933733 | 2024-02-26T08:16:15 Z | LucaIlie | Political Development (BOI17_politicaldevelopment) | C++17 | 1 ms | 1372 KB |
#include <bits/stdc++.h> using namespace std; const int MAX_N = 5e4; vector<int> adj[MAX_N]; int main() { int n, k, minn = n; cin >> n >> k; for ( int u = 0; u < n; u++ ) { int d; cin >> d; for ( int j = 0; j < d; j++ ) { int v; cin >> v; adj[u].push_back( v ); } minn = min( minn, d ); } cout << minn; if ( minn > k ) return 1; return 0; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 1372 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 1372 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 1372 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 1372 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 1372 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |