Problem xmas
User Armnotsostrong123456
Submission Time 2025-02-15 11:11:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

xmas.cpp: In function ‘int main()’:
xmas.cpp:8:28: error: lvalue required as increment operand
8 | for(int i= 1 ; i<= n; 1++){
| ^~
xmas.cpp:11:29: error: expected ‘)’ before numeric constant
11 | for(int x = 1; x<=n; x++1){
| ~ ^
| )
xmas.cpp:11:30: error: expected ‘;’ before ‘)’ token
11 | for(int x = 1; x<=n; x++1){
| ^
| ;
xmas.cpp:15:9: error: ‘nt’ was not declared in this scope; did you mean ‘n’?
15 | for(nt i=1; 1<=n; i++){
| ^~
| n
xmas.cpp:15:23: error: ‘i’ was not declared in this scope
15 | for(nt i=1; 1<=n; i++){
| ^