restore.cpp: In function 'int main()':
restore.cpp:17:12: error: request for member 'push_back' in 'edge', which is of non-class type 'std::vector<int> [3]'
17 | edge.push_back({i , i + 1 , 1});
| ^~~~~~~~~
restore.cpp:18:12: error: request for member 'push_back' in 'edge', which is of non-class type 'std::vector<int> [3]'
18 | edge.push_back({i + 1, i , 0});
| ^~~~~~~~~
restore.cpp:27:15: error: request for member 'push_back' in 'edge', which is of non-class type 'std::vector<int> [3]'
27 | edge.push_back({numm , nummer , cmp});
| ^~~~~~~~~
restore.cpp:32:15: error: request for member 'push_back' in 'edge', which is of non-class type 'std::vector<int> [3]'
32 | edge.push_back({nummer , numm , cmp});
| ^~~~~~~~~
restore.cpp:40:32: error: request for member 'size' in 'edge', which is of non-class type 'std::vector<int> [3]'
40 | for(int i = 0 ; i < edge.size() ; i++){
| ^~~~
restore.cpp:46:29: error: request for member 'size' in 'edge', which is of non-class type 'std::vector<int> [3]'
46 | for(int i = 0 ; i < edge.size() ; i++){
| ^~~~