Problem losingsleep
User blob
Submission Time 2023-12-12 00:19:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
losingsleep.cpp: In function ‘int main()’:
losingsleep.cpp:18:13: error: too many arguments to function ‘void solve()’
18 | solve(n,ans);
| ^
losingsleep.cpp:4:6: note: declared here
4 | void solve(){
| ^~~~~