Problem showertheduck
User Xiaoyang
Submission Time 2023-12-29 17:28:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

showertheduck.cpp:45:3: error: ‘mx’ does not name a type
45 | mx=max(sum,mx);
| ^~
showertheduck.cpp:46:2: error: ‘cout’ does not name a type
46 | cout<<mx<<endl;
| ^~~~
showertheduck.cpp:47:2: error: expected unqualified-id before ‘return’
47 | return 0;
| ^~~~~~
showertheduck.cpp:48:1: error: expected declaration before ‘}’ token
48 | }
| ^