Problem xmas
User Dana
Submission Time 2023-11-08 11:54:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

xmas.cpp: In function ‘int32_t main()’:
xmas.cpp:6:11: error: expected initializer before ‘<’ token
6 | int n < 20,000; cin >> n;
| ^
xmas.cpp:6:28: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | int n < 20,000; cin >> n;
| ^
| yn
xmas.cpp:9:10: error: ‘arr’ was not declared in this scope
9 | cin >> arr[1];
| ^~~
xmas.cpp:12:10: error: ‘arr’ was not declared in this scope
12 | cout << arr[1];
| ^~~