/in/foo.cc:46:2: error: stray '#' in program
}#include <cstdio>
^
/in/foo.cc: In function 'void work()':
/in/foo.cc:27:18: error: 's' was not declared in this scope
if (t<min && t>s)
^
/in/foo.cc:7:6: warning: unused variable 'i' [-Wunused-variable]
int i;
^
/in/foo.cc: At global scope:
/in/foo.cc:46:3: error: 'include' does not name a type
}#include <cstdio>
^~~~~~~
/in/foo.cc:49:5: error: redefinition of 'int p'
int p,n,x,y,u,v;
^
/in/foo.cc:4:5: note: 'int p' previously declared here
int p,n,x,y,u,v;
^
/in/foo.cc:49:7: error: redefinition of 'int n'
int p,n,x,y,u,v;
^
/in/foo.cc:4:7: note: 'int n' previously declared here
int p,n,x,y,u,v;
^
/in/foo.cc:49:9: error: redefinition of 'int x'
int p,n,x,y,u,v;
^
/in/foo.cc:4:9: note: 'int x' previously declared here
int p,n,x,y,u,v;
^
/in/foo.cc:49:11: error: redefinition of 'int y'
int p,n,x,y,u,v;
^
/in/foo.cc:4:11: note: 'int y' previously declared here
int p,n,x,y,u,v;
^
/in/foo.cc:49:13: error: redefinition of 'int u'
int p,n,x,y,u,v;
^
/in/foo.cc:4:13: note: 'int u' previously declared here
int p,n,x,y,u,v;
^
/in/foo.cc:49:15: error: redefinition of 'int v'
int p,n,x,y,u,v;
^
/in/foo.cc:4:15: note: 'int v' previously declared here
int p,n,x,y,u,v;
^
/in/foo.cc: In function 'void work()':
/in/foo.cc:50:6: error: redefinition of 'void work()'
void work()
^~~~
/in/foo.cc:5:6: note: 'void work()' previously defined here
void work()
^~~~
/in/foo.cc:72:18: error: 's' was not declared in this scope
if (t<min && t>s)
^
/in/foo.cc:52:6: warning: unused variable 'i' [-Wunused-variable]
int i;
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:80:5: error: redefinition of 'int main()'
int main()
^~~~
/in/foo.cc:35:5: note: 'int main()' previously defined here
int main()
^~~~