0_0_25549956_16926.cpp: In function 'int main()':
0_0_25549956_16926.cpp:31:28: error: no matching function for call to 'std::vector<node>::size(int)'
for(int i=v.size(-1),j=1;i>=0,j++;i--){
^
0_0_25549956_16926.cpp:31:28: note: candidate is:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:61,
from 0_0_25549956_16926.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:654:7: note: std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = node; _Alloc = std::allocator<node>; std::vector<_Tp, _Alloc>::size_type = long long unsigned int]
size() const _GLIBCXX_NOEXCEPT
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:654:7: note: candidate expects 0 arguments, 1 provided
0_0_25549956_16926.cpp:31:39: error: 'j' was not declared in this scope
for(int i=v.size(-1),j=1;i>=0,j++;i--){
^
0_0_25549956_16926.cpp:33:51: error: 'tx' was not declared in this scope
printf("%ds:FIGHT AT (%d,%d)\n",j,tx,ty);
^
0_0_25549956_16926.cpp:33:54: error: 'ty' was not declared in this scope
printf("%ds:FIGHT AT (%d,%d)\n",j,tx,ty);
^
0_0_25549956_16926.cpp:35:51: error: 'tx' was not declared in this scope
printf("%ds:(%d,%d)->(%d,%d)\n",j,tx,ty,v[i].x,v[i].y);
^
0_0_25549956_16926.cpp:35:54: error: 'ty' was not declared in this scope
printf("%ds:(%d,%d)->(%d,%d)\n",j,tx,ty,v[i].x,v[i].y);
^
|