Problem lemonade2
User newperson
Submission Time 2024-12-18 14:04:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lemonade2.cpp: In function ‘void solve()’:
lemonade2.cpp:50:37: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
50 | if (tot%3 != 0){cout << -1; return 0;}
| ^