Problem universe
User RandomCtfNoob
Submission Time 2025-08-06 17:00:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

universe.cpp:4:52: error: expected ‘,’ or ‘...’ before ‘(’ token
4 | void edge(vector<vector<int>> adj, vector<int> meow(n), a, cat, catlimit){
| ^
universe.cpp: In function ‘void edge(std::vector<std::vector<int> >, std::vector<int>)’:
universe.cpp:5:10: error: ‘a’ was not declared in this scope
5 | if (adj[a].size() == 0){
| ^
universe.cpp:10:6: error: ‘cat’ was not declared in this scope
10 | if (cat == catlimit){
| ^~~
universe.cpp:10:13: error: ‘catlimit’ was not declared in this scope
10 | if (cat == catlimit){
| ^~~~~~~~
universe.cpp:13:26: error: ‘a’ was not declared in this scope
13 | for (int i = 0; i < adj[a].size(); i++){
| ^
universe.cpp:15:20: error: ‘cat’ was not declared in this scope
15 | edge(adj,meow,i,cat+1,catlimit);