Problem | weightedguess |
---|---|
User | Lukameladze |
Submission Time | 2024-06-18 20:57:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
weightedguess.cpp: In function ‘void init(int, std::vector<int>)’:
weightedguess.cpp:14:22: error: no match for ‘operator[]’ (operand types are ‘int [2001][2001]’ and ‘std::pair<int, int>’)
14 | for(k=0; k<=n; k++)a[mp(k,k)]=0, d[i][i]=i;
| ^
weightedguess.cpp:22:14: error: no match for ‘operator[]’ (operand types are ‘int [2001][2001]’ and ‘std::pair<int, int>’)
22 | if(saba<a[mp(l,r)]){
| ^