| Problem | platonic7 |
|---|---|
| User | enterusername |
| Submission Time | 2025-11-19 11:43:13 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
platonic7.cpp: In function ‘long long int dia(const vvi&)’:
platonic7.cpp:86:19: error: invalid initialization of reference of type ‘const vvi&’ {aka ‘const std::vector<std::vector<long long int> >&’} from expression of type ‘long long int’
86 | vi len0 = bfs(n, adj, 0);
| ^
platonic7.cpp:59:19: note: in passing argument 1 of ‘vi bfs(const vvi&, long long int)’
59 | vi bfs(const vvi& adj, int s)
| ~~~~~~~~~~~^~~