dreaming.cpp: In function 'void fnd(int, int, int, int)':
dreaming.cpp:23:33: error: too few arguments to function 'void fnd(int, int, int, int)'
fnd ( v.ff, u, d + v.ss ) ;
^
dreaming.cpp:18:6: note: declared here
void fnd ( int u, int p, int d, int flag ) {
^~~
dreaming.cpp: In function 'int travelTime(int, int, int, int*, int*, int*)':
dreaming.cpp:43:9: error: expected ';' before 'vector'
vector <int> diLeft, diRg ;
^~~~~~
dreaming.cpp:44:9: error: 'diLeft' was not declared in this scope
diLeft.push_back (0) ;
^~~~~~
dreaming.cpp:44:9: note: suggested alternative: 'time_t'
diLeft.push_back (0) ;
^~~~~~
time_t
dreaming.cpp:45:9: error: 'diRg' was not declared in this scope
diRg.push_back (0) ;
^~~~
dreaming.cpp:45:9: note: suggested alternative: 'dis'
diRg.push_back (0) ;
^~~~
dis
dreaming.cpp:47:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( int j = 1 ; j < ans.size() ; ++j ) {
~~^~~~~~~~~~~~
dreaming.cpp:58:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( int i = 0 ; i < ans.size() ; ++i ) {
~~^~~~~~~~~~~~