Problem | mrbeast |
---|---|
User | asbx |
Submission Time | 2023-12-20 10:49:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mrbeast.cpp: In function ‘void dfs(ll)’:
mrbeast.cpp:33:14: error: ‘adjList’ was not declared in this scope
33 | for(auto j: adjList[vertex]){
| ^~~~~~~
mrbeast.cpp: In function ‘bool searchchild(ll, ll, ll)’:
mrbeast.cpp:44:19: error: too few arguments to function ‘bool searchchild(ll, ll, ll)’
44 | if(searchchild(j)) return true;
| ^
mrbeast.cpp:40:6: note: declared here
40 | bool searchchild(ll root, ll lo, ll hi){
| ^~~~~~~~~~~
mrbeast.cpp: In function ‘int main()’:
mrbeast.cpp:53:10: error: ‘n’ was not declared in this scope
53 | FOR(i,1,n-1){
| ^
mrbeast.cpp:5:49: note: in definition of macro ‘FOR’
5 | #define FOR(i, a, b) for(ll i = (ll)a; i <= (ll)b; i++)
| ^
mrbeast.cpp:59:10: error: ‘n’ was not declared in this scope
59 | FOR(i,1,n){
| ^
mrbeast.cpp:5: