Problem network
User PlayVoltz
Submission Time 2023-10-04 17:26:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

network.cpp:11:8: error: ‘trio’ was not declared in this scope
11 | vector<trio> l;
| ^~~~
network.cpp:11:12: error: template argument 1 is invalid
11 | vector<trio> l;
| ^
network.cpp:11:12: error: template argument 2 is invalid
network.cpp: In function ‘int main()’:
network.cpp:86:4: error: request for member ‘resize’ in ‘l’, which is of non-class type ‘int’
86 | l.resize(n+1);
| ^~~~~~
network.cpp:101:7: error: ‘j’ was not declared in this scope
101 | sort(j.begin(), j.end(), customsort);
| ^