vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:33:21: error: 'struct std::pair<int, int>' has no member named 'fr'
33 | int res = abs(v[0].fr - v[1].fr) + abs(v[0].sc - v[1].sc);
| ^~
vision.cpp:33:31: error: 'struct std::pair<int, int>' has no member named 'fr'
33 | int res = abs(v[0].fr - v[1].fr) + abs(v[0].sc - v[1].sc);
| ^~
vision.cpp:33:46: error: 'struct std::pair<int, int>' has no member named 'sc'
33 | int res = abs(v[0].fr - v[1].fr) + abs(v[0].sc - v[1].sc);
| ^~
vision.cpp:33:56: error: 'struct std::pair<int, int>' has no member named 'sc'
33 | int res = abs(v[0].fr - v[1].fr) + abs(v[0].sc - v[1].sc);
| ^~