Problem topical
User snorky
Submission Time 2024-01-31 13:03:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topical.cpp:5:92: error: ISO C++ forbids declaration of ‘can’ with no type [-fpermissive]
5 | can(int index, int n, int k, vector<vector<int>> &r, vector<vector<int>> &u,vector<int> &p){
| ^
topical.cpp: In function ‘int main()’:
topical.cpp:13:42: error: expected ‘)’ before ‘;’ token
13 | vector<vector<int>> r(n,(vector<int>(k));
| ~ ^
| )
topical.cpp:24:16: error: expected ‘;’ before ‘}’ token
24 | cin>>r[i][j]
| ^
| ;
25 | }
| ~
topical.cpp:59:14: error: expected ‘;’ before ‘}’ token
59 | index +=1
| ^
| ;
60 | }
| ~