routers.cpp:2:1: error: stray '##' in program
2 | ##include <bits/stdc++.h>
| ^~
routers.cpp:2:12: error: 'bits' was not declared in this scope
2 | ##include <bits/stdc++.h>
| ^~~~
routers.cpp:2:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
2 | ##include <bits/stdc++.h>
| ^~~~
| std
routers.cpp:2:12: error: 'bits' was not declared in this scope
2 | ##include <bits/stdc++.h>
| ^~~~
routers.cpp:2:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
2 | ##include <bits/stdc++.h>
| ^~~~
| std
routers.cpp:2:12: error: 'bits' was not declared in this scope
2 | ##include <bits/stdc++.h>
| ^~~~
routers.cpp:2:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
2 | ##include <bits/stdc++.h>
| ^~~~
| std
routers.cpp:2:12: error: 'bits' was not declared in this scope
2 | ##include <bits/stdc++.h>
| ^~~~
routers.cpp:2:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
2 | ##include <bits/stdc++.h>
| ^~~~
| std
routers.cpp:2:12: error: 'bits' was not declared in this scope
2 | ##include <bits/stdc++.h>
| ^~~~
routers.cpp:2:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
2 | ##include <bits/stdc++.h>
| ^~~~
| std
routers.cpp:2:12: error: 'bits' was not declared in this scope
2 | ##include <bits/stdc++.h>
| ^~~~
routers.cpp:2:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
2 | ##include <bits/stdc++.h>
| ^~~~
| std
routers.cpp:2:12: error: 'bits' was not declared in this scope
2 | ##include <bits/stdc++.h>
| ^~~~
routers.cpp:2:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
2 | ##include <bits/stdc++.h>
| ^~~~
| std
routers.cpp:2:12: error: 'bits' was not declared in this scope
2 | ##include <bits/stdc++.h>
| ^~~~
routers.cpp:2:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
2 | ##include <bits/stdc++.h>
| ^~~~
| std
routers.cpp:2:12: error: 'bits' was not declared in this scope
2 | ##include <bits/stdc++.h>
| ^~~~
routers.cpp:2:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
2 | ##include <bits/stdc++.h>
| ^~~~
| std
routers.cpp:2:3: error: 'include' does not name a type
2 | ##include <bits/stdc++.h>
| ^~~~~~~
routers.cpp: In function 'std::vector<int> find_routers(int, int, int)':
routers.cpp:8:5: error: 'vector' was not declared in this scope
8 | vector<int>memo(le+2,-1);
| ^~~~~~
routers.cpp:8:5: note: suggested alternatives:
In file included from /usr/include/c++/11/vector:67,
from routers.h:1,
from routers.cpp:1:
/usr/include/c++/11/bits/stl_vector.h:389:11: note: 'std::vector'
389 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
In file included from routers.h:1,
from routers.cpp:1:
/usr/include/c++/11/vector:86:13: note: 'std::pmr::vector'
86 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
| ^~~~~~
routers.cpp:8:12: error: expected primary-expression before 'int'
8 | vector<int>memo(le+2,-1);
| ^~~
routers.cpp:17:20: error: 'memo' was not declared in this scope
17 | if(memo[mid]==-1){
| ^~~~
routers.cpp:29:16: error: could not convert 'ans' from 'int [n]' to 'std::vector<int>'
29 | return ans;
| ^~~
| |
| int [n]