Problem lightningrod
User ptk8627
Submission Time 2025-02-23 14:50:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp: In function ‘void sub6()’:
lightningrod.cpp:34:3: error: ‘else’ without a previous ‘if’
34 | else res += (a[i - 1].Y == 0 && a[i + 1].Y == 0);
| ^~~~