Problem swords
User cokeaholic07
Submission Time 2024-01-15 09:28:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:43:1: error: expected ‘}’ at end of input
43 | }
| ^
swords.cpp:15:30: note: to match this ‘{’
15 | for (int i = n-1; i=0; i--) {
| ^
swords.cpp:43:1: error: expected ‘}’ at end of input
43 | }
| ^
swords.cpp:3:12: note: to match this ‘{’
3 | int main() {
| ^