Problem xmas
User mth4z
Submission Time 2023-05-10 17:08:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

xmas.cpp: In function ‘int main()’:
xmas.cpp:7:9: error: ‘i’ was not declared in this scope
7 | int g[i];
| ^
xmas.cpp:10:8: error: ‘g’ was not declared in this scope
10 | cin>>g[i];
| ^
xmas.cpp:13:18: error: ‘g’ was not declared in this scope
13 | for (int i=1; i<=g; i++){
| ^