foo.cc: In function 'bool Judge1(int, int, int, int, std::string)':
foo.cc:30:1: error: a function-definition is not allowed here before '{' token
30 | {
| ^
foo.cc:41:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
41 | int main()
| ^~
foo.cc:41:9: note: remove parentheses to default-initialize a variable
41 | int main()
| ^~
| --
foo.cc:41:9: note: or replace parentheses with braces to value-initialize a variable
foo.cc:42:1: error: a function-definition is not allowed here before '{' token
42 | {
| ^
foo.cc:45:2: error: expected '}' at end of input
45 | }
| ^
foo.cc:7:1: note: to match this '{'
7 | {
| ^
foo.cc:45:2: warning: control reaches end of non-void function [-Wreturn-type]
45 | }
| ^
[Hydro](https://hydro.ac)提供评测服务