Problem | dynamicdag |
---|---|
User | Tqin |
Submission Time | 2023-12-30 14:51:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
dynamicdag.cpp:6:5: error: ‘N’ does not name a type
6 | int N,Q;
| ^
dynamicdag.cpp:7:5: error: ‘a’ does not name a type
7 | int a,b,c;
| ^
dynamicdag.cpp:8:8: error: wrong number of template arguments (0, should be at least 1)
8 | set<int> inc[200010];// incoming
| ^
In file included from /usr/include/c++/9/set:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from dynamicdag.cpp:1:
/usr/include/c++/9/bits/stl_set.h:94:11: note: provided for ‘template<class _Key, class _Compare, class _Alloc> class std::set’
94 | class set
| ^~~
dynamicdag.cpp:29:5: error: ‘x’ does not name a type
29 | int x;
| ^
dynamicdag.cpp:30:14: error: ‘ind’ was not declared in this scope; did you mean ‘inc’?
30 | bool dfs(int ind){
| ^~~
| inc
dynamicdag.cpp: In functi