Problem topical
User G
Submission Time 2024-03-06 22:05:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topical.cpp: In function ‘int main()’:
topical.cpp:7:2: error: ‘vector’ was not declared in this scope
7 | vector<vector<int>> r;
| ^~~~~~
topical.cpp:2:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
1 | #include<iostream>
+++ |+#include <vector>
2 | using namespace std;
topical.cpp:7:16: error: expected primary-expression before ‘int’
7 | vector<vector<int>> r;
| ^~~
topical.cpp:8:16: error: expected primary-expression before ‘int’
8 | vector<vector<int>> u;
| ^~~
topical.cpp:11:11: error: ‘r’ was not declared in this scope
11 | cin >> r[i][j];
| ^
topical.cpp:16:11: error: ‘u’ was not declared in this scope
16 | cin >> u[i][j];
| ^
topical.cpp:19:9: error: expected primary-expression before