Problem topical
User vinitara
Submission Time 2025-11-19 12:52:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topical.cpp: In function ‘int main()’:
topical.cpp:11:23: error: conflicting declaration ‘std::vector<long long int> p’
11 | vector<long long> p(k, 0);
| ^
topical.cpp:5:54: note: previous declaration as ‘int p’
5 | int n, k, i, j, booly=1, check=1, cnt=0, m, num, p=0;
| ^
topical.cpp:16:17: error: ‘r’ was not declared in this scope
16 | r[i] = make_pair(num, i);
| ^
topical.cpp:18:23: error: ‘r’ was not declared in this scope
18 | else cin>>r[i][j];
| ^
topical.cpp:24:16: error: ‘r’ was not declared in this scope
24 | if(r[0][i]!=0) booly = 0;
| ^
topical.cpp:31:14: error: ‘r’ was not declared in this scope
31 | sort(r.begin(), r.end());
| ^
topical.cpp:47:27: err