Problem management
User yq
Submission Time 2026-06-23 15:52:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
management.cpp: In function ‘int main()’:
management.cpp:11:10: error: ‘i’ was not declared in this scope
11 | cin>>A[i];
| ^
management.cpp:13:6: error: ‘inti’ was not declared in this scope; did you mean ‘int’?
13 | for(inti=0;i<N+1;i++){
| ^~~~
| int
management.cpp:13:13: error: ‘i’ was not declared in this scope
13 | for(inti=0;i<N+1;i++){
| ^
management.cpp:19:11: error: ‘i’ was not declared in this scope
19 | cout<<C[i]<<endl;
| ^