Problem lightningrod
User lexuantung71
Submission Time 2025-02-05 19:16:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp: In function ‘int main()’:
lightningrod.cpp:8:22: error: ‘n’ was not declared in this scope
8 | for (int a = 0; a < n; a++){
| ^
lightningrod.cpp:9:11: error: expected ‘}’ at end of input
9 | cin >> b;}
| ^
lightningrod.cpp:5:1: note: to match this ‘{’
5 | {
| ^