Problem votingcities
User justin271828
Submission Time 2025-04-19 16:31:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

votingcities.cpp: In function ‘int32_t main()’:
votingcities.cpp:8:11: error: request for member ‘first’ in ‘temp.std::pair<long long int, std::pair<long long int, long long int> >::first’, which is of non-class type ‘long long int’
8 | #define f first
| ^~~~~
votingcities.cpp:54:43: note: in expansion of macro ‘f’
54 | if (dist[temp.s.f][temp.s.s] != temp.f.f) continue;
| ^