Problem flip
User justin271828
Submission Time 2024-11-17 20:15:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flip.cpp: In function ‘int main()’:
flip.cpp:7:43: error: template argument 1 is invalid
7 | vector<pair<int, pair<int, int>> V[n][m+5];
| ^
flip.cpp:7:43: error: template argument 2 is invalid
flip.cpp:14:22: error: expected ‘}’ at end of input
14 | p.second.second = w;
| ^
flip.cpp:8:30: note: to match this ‘{’
8 | for (int i = 0; i < m; i++) {
| ^
flip.cpp:14:22: error: expected ‘}’ at end of input
14 | p.second.second = w;
| ^
flip.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^