Problem 3nplus1
User claireau
Submission Time 2023-11-08 14:26:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:7:12: error: expected ‘;’ before ‘!’ token
7 | for (int n!1; i++){
| ^
| ;
3nplus1.cpp:7:16: error: ‘i’ was not declared in this scope
7 | for (int n!1; i++){
| ^
3nplus1.cpp:8:14: error: ‘arr’ was not declared in this scope
8 | cin>>arr[n]}
| ^~~