Problem | subgraphs |
---|---|
User | G92 |
Submission Time | 2024-06-25 20:26:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
subgraphs.cpp: In function ‘void dfs(long long int, std::vector<long long int>*, std::vector<bool>&)’:
subgraphs.cpp:13:11: error: invalid conversion from ‘long long int’ to ‘std::vector<long long int>*’ [-fpermissive]
13 | dfs(n, n, visit);
| ^
| |
| long long int
subgraphs.cpp:6:40: note: initializing argument 2 of ‘void dfs(long long int, std::vector<long long int>*, std::vector<bool>&)’
6 | void dfs(long long r, vector<long long>adj[], vector<bool>& visit)
| ~~~~~~~~~~~~~~~~~^~~~~