/in/foo.cc: In function 'double getd(int, int)':
/in/foo.cc:28:10: error: expected primary-expression before ')' token
int dy=()fabs(bom[i].y-wea[j].y);
^
/in/foo.cc: In function 'void dfs(int, int, std::vector<int>)':
/in/foo.cc:42:13: error: 'ans' was not declared in this scope
if(ac==n) {ans=min(ans,d);return;}
^~~
/in/foo.cc:42:13: note: suggested alternative: 'abs'
if(ac==n) {ans=min(ans,d);return;}
^~~
abs
/in/foo.cc:43:8: error: 'ans' was not declared in this scope
if(d>=ans) return;
^~~
/in/foo.cc:43:8: note: suggested alternative: 'abs'
if(d>=ans) return;
^~~
abs
/in/foo.cc:44:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<wl.size();i++)
~^~~~~~~~~~
/in/foo.cc:46:15: error: conversion from '__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}' to non-scalar type 'node1' requested
node1 v=wl[i];
^
/in/foo.cc:47:6: error: expected primary-expression before ')' token
if()
^
/in/foo.cc:48:2: error: expected primary-expression before '}' token
}
^