Problem beareatrabbit
User wzhci11
Submission Time 2024-05-23 13:13:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

beareatrabbit.cpp: In function ‘long long int maxd(long long int, std::vector<long long int>&)’:
beareatrabbit.cpp:15:12: error: a function-definition is not allowed here before ‘{’ token
15 | int main() {
| ^
beareatrabbit.cpp:24:1: error: expected ‘}’ at end of input
24 | }
| ^
beareatrabbit.cpp:5:30: note: to match this ‘{’
5 | ll maxd(ll n, vector<ll>& a) {
| ^