foo.cc: In function 'int main()':
foo.cc:18:9: warning: the address of 'int FindMaxNeg(int, int*)' will never be NULL [-Waddress]
cout<<FindMaxNeg;
^~~~~~~~~~
foo.cc:20:9: warning: the address of 'int FindMaxNeg(int, int*)' will never be NULL [-Waddress]
cout<<FindMaxNeg;
^~~~~~~~~~
foo.cc: In function 'int FindMaxNeg(int, int*)':
foo.cc:32:2: warning: control reaches end of non-void function [-Wreturn-type]
}
^
foo.cc: In function 'int main()':
foo.cc:9:9: warning: 'd' is used uninitialized in this function [-Wuninitialized]
int b[d];
^
foo.cc:10:9: warning: 'e' is used uninitialized in this function [-Wuninitialized]
int a[e];
^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。