Problem swords
User Kalio1
Submission Time 2026-02-17 18:59:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:22:2: error: expected ‘,’ or ‘;’ before ‘for’
22 | for (long i=n-1;i>=0;i--) {
| ^~~
swords.cpp:22:18: error: ‘i’ was not declared in this scope
22 | for (long i=n-1;i>=0;i--) {
| ^