foo.cc:7:19: error: stray '#' in program
double MIN = 2333;#include <cstdio>
^
foo.cc:7:20: error: 'include' does not name a type
double MIN = 2333;#include <cstdio>
^~~~~~~
foo.cc:12:12: error: conflicting declaration 'int a [33333]'
int a[33333], n, fx, fy;
^
foo.cc:5:6: note: previous declaration as 'int* a'
int *a=new int[33333], n, fx, fy;
^
foo.cc:12:15: error: redefinition of 'int n'
int a[33333], n, fx, fy;
^
foo.cc:5:24: note: 'int n' previously declared here
int *a=new int[33333], n, fx, fy;
^
foo.cc:12:18: error: redefinition of 'int fx'
int a[33333], n, fx, fy;
^~
foo.cc:5:27: note: 'int fx' previously declared here
int *a=new int[33333], n, fx, fy;
^~
foo.cc:12:22: error: redefinition of 'int fy'
int a[33333], n, fx, fy;
^~
foo.cc:5:31: note: 'int fy' previously declared here
int *a=new int[33333], n, fx, fy;
^~
foo.cc:13:14: error: redefinition of 'const double perfert'
const double perfert = 0.6180339887498949;
^~~~~~~
foo.cc:6:14: note: 'const double perfert' previously defined here
const double perfert = 0.6180339887498949;
^~~~~~~
foo.cc:14:8: error: redefinition of 'double MIN'
double MIN = 2333;
^~~
foo.cc:7:8: note: 'double MIN' previously defined here
double MIN = 2333;#include <cstdio>
^~~
foo.cc: In function 'int IF(double)':
foo.cc:49:5: error: redefinition of 'int IF(double)'
int IF(double flag) {
^~
foo.cc:16:5: note: 'int IF(double)' previously defined here
int IF(double flag) {
^~
foo.cc: In function 'int main()':
foo.cc:60:5: error: redefinition of 'int main()'
int main() {
^~~~
foo.cc:27:5: note: 'int main()' previously defined here
int main() {
^~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)