dreaming.cpp: In function 'int travelTime(int, int, int, int*, int*, int*)':
dreaming.cpp:59:9: error: 'struct std::pair<int, int>' has no member named 'f'
dfs(s.f,-1,0,e);
^
dreaming.cpp:61:8: error: 'struct std::pair<int, int>' has no member named 'f'
fn(s.f,e.f,-1,path);
^
dreaming.cpp:61:12: error: 'struct std::pair<int, int>' has no member named 'f'
fn(s.f,e.f,-1,path);
^
dreaming.cpp:62:20: error: 'struct std::pair<int, int>' has no member named 'f'
path.push_back(s.f);
^
dreaming.cpp:63:13: error: 'struct std::pair<int, int>' has no member named 's'
int cur=e.s;
^
dreaming.cpp:64:11: error: 'struct std::pair<int, int>' has no member named 's'
int c=e.s;
^
dreaming.cpp:65:17: error: 'struct std::pair<int, int>' has no member named 's'
ans=max(ans,e.s);
^
dreaming.cpp:68:22: error: 'struct std::pair<int, int>' has no member named 's'
c=min(c,max(cur,e.s-cur));
^
dreaming.cpp:39:6: warning: unused variable 'n' [-Wunused-variable]
int n=N;
^
dreaming.cpp:40:6: warning: unused variable 'm' [-Wunused-variable]
int m=M;
^
dreaming.cpp:41:6: warning: unused variable 'l' [-Wunused-variable]
int l=L;
^