Problem reverse
User cry0rsa
Submission Time 2025-06-18 10:02:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

reverse.cpp: In function ‘int main()’:
reverse.cpp:5:8: error: ‘i’ was not declared in this scope
5 | int A(i), N;
| ^
reverse.cpp:6:12: error: ‘A’ cannot be used as a function
6 | cin >> A(i) >> N;
| ^
reverse.cpp:8:6: error: redeclaration of ‘int N’
8 | int N = 1;
| ^
reverse.cpp:5:12: note: ‘int N’ previously declared here
5 | int A(i), N;
| ^