/in/foo.cc:87:2: error: stray '#' in program
}#include<bits/stdc++.h>
^
/in/foo.cc:87:3: error: 'include' does not name a type
}#include<bits/stdc++.h>
^~~~~~~
/in/foo.cc:89:14: error: redefinition of 'int tes [10000]'
int tes[10000];
^
/in/foo.cc:3:5: note: 'int tes [10000]' previously declared here
int tes[10000];
^~~
/in/foo.cc:90:18: error: redefinition of 'std::array<int, 10000> st'
array<int,10000> st={-99};
^~
/in/foo.cc:4:18: note: 'std::array<int, 10000> st' previously defined here
array<int,10000> st={-99};
^~
/in/foo.cc:91:5: error: redefinition of 'int n'
int n;
^
/in/foo.cc:5:5: note: 'int n' previously declared here
int n;
^
/in/foo.cc:92:27: error: redefinition of 'std::unordered_map<int, std::__cxx11::basic_string<char> > r'
unordered_map<int,string> r;
^
/in/foo.cc:6:27: note: 'std::unordered_map<int, std::__cxx11::basic_string<char> > r' previously declared here
unordered_map<int,string> r;
^
/in/foo.cc: In function 'std::__cxx11::string to_str(int)':
/in/foo.cc:93:8: error: redefinition of 'std::__cxx11::string to_str(int)'
string to_str(int i)
^~~~~~
/in/foo.cc:7:8: note: 'std::__cxx11::string to_str(int)' previously defined here
string to_str(int i)
^~~~~~
/in/foo.cc: At global scope:
/in/foo.cc:101:5: error: redefinition of 'int ans'
int ans=-1;
^~~
/in/foo.cc:15:5: note: 'int ans' previously defined here
int ans=-1;
^~~
/in/foo.cc:102:8: error: redefinition of 'std::__cxx11::string res'
string res="",calling="";
^~~
/in/foo.cc:16:8: note: 'std::__cxx11::string res' previously declared here
string res="",calling="";
^~~
/in/foo.cc:102:15: error: redefinition of 'std::__cxx11::string calling'
string res="",calling="";
^~~~~~~
/in/foo.cc:16:15: note: 'std::__cxx11::string calling' previously declared here
string res="",calling="";
^~~~~~~
/in/foo.cc: In function 'void memorydfs(int, int, int, int)':
/in/foo.cc:103:6: error: redefinition of 'void memorydfs(int, int, int, int)'
void memorydfs(int w,int up,int step,int he)
^~~~~~~~~
/in/foo.cc:17:6: note: 'void memorydfs(int, int, int, int)' previously defined here
void memorydfs(int w,int up,int step,int he)
^~~~~~~~~
/in/foo.cc: In function 'void test()':
/in/foo.cc:130:6: error: redefinition of 'void test()'
void test()
^~~~
/in/foo.cc:44:6: note: 'void test()' previously defined here
void test()
^~~~
/in/foo.cc: In function 'void dfs(int, int, int, int)':
/in/foo.cc:135:6: error: redefinition of 'void dfs(int, int, int, int)'
void dfs(int w,int up,int step,int he)
^~~
/in/foo.cc:49:6: note: 'void dfs(int, int, int, int)' previously defined here
void dfs(int w,int up,int step,int he)
^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:150:5: error: redefinition of 'int main()'
int main()
^~~~
/in/foo.cc:64:5: note: 'int main()' previously defined here
int main()
^~~~