Problem magicwand
User chatdanai
Submission Time 2026-05-02 15:57:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

magicwand.cpp: In function ‘int main()’:
magicwand.cpp:23:26: error: no match for ‘operator[]’ (operand types are ‘std::pair<long long int, long long int>’ and ‘long long int’)
23 | if (abs(a[nx][ny]-start)<=T){
| ^