foo.cc: In function 'int main()':
foo.cc:85:9: error: expected primary-expression before '}' token
85 | }
| ^
foo.cc: At global scope:
foo.cc:87:5: error: expected declaration before '}' token
87 | }
| ^
foo.cc:88:11: error: expected constructor, destructor, or type conversion before '(' token
88 | printf("%0.2lf",ans);
| ^
foo.cc:89:5: error: expected unqualified-id before 'return'
89 | return 0;
| ^~~~~~
foo.cc:90:1: error: expected declaration before '}' token
90 | }
| ^
[Hydro](https://hydro.ac)提供评测服务