Problem | reachability2 |
---|---|
User | Sans12345 |
Submission Time | 2025-04-23 04:58:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
reachability2.cpp:11:10: error: type/value mismatch at argument 1 in template parameter list for ‘template<long unsigned int _Nb> class std::bitset’
11 | bitset<ll> dp[maxn];
| ^
reachability2.cpp:11:10: note: expected a constant of type ‘long unsigned int’, got ‘ll’ {aka ‘int’}
reachability2.cpp: In function ‘void dfs(ll, ll)’:
reachability2.cpp:13:12: error: invalid types ‘int[int]’ for array subscript
13 | dp[x][1] = true;
| ^
reachability2.cpp:23:30: error: invalid types ‘int[ll {aka int}]’ for array subscript
23 | if(dp[child][l[child]]==false){
| ^
reachability2.cpp:24:43: error: invalid types ‘int[int]’ for array subscript
24 | for(int i=0;i<=sm;i++) dp[x][i] = false;
| ^
reachability2.cpp:28:59: error: invalid types ‘int[int]’ for array subscript
28 | for(in