Problem swords
User Michael
Submission Time 2024-02-16 13:33:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:30:9: error: expected ‘}’ at end of input
30 | }
| ^
swords.cpp:22:38: note: to match this ‘{’
22 | for (int i = 0; i < amount; ++i) {
| ^
swords.cpp:30:9: error: expected ‘}’ at end of input
30 | }
| ^
swords.cpp:6:12: note: to match this ‘{’
6 | int main() {
| ^