0_0_38812656_26173.cpp:9:7: error: missing terminating " character
9 | scanf("%d
| ^~~
0_0_38812656_26173.cpp:10:1: error: missing terminating " character
10 | ",&m);
| ^~~~~~
0_0_38812656_26173.cpp:15:8: error: missing terminating " character
15 | printf("
| ^
0_0_38812656_26173.cpp:16:1: error: missing terminating " character
16 | ");
| ^~~
0_0_38812656_26173.cpp:30:8: error: missing terminating " character
30 | printf("
| ^
0_0_38812656_26173.cpp:31:1: error: missing terminating " character
31 | ");
| ^~~
0_0_38812656_26173.cpp: In function 'int main()':
0_0_38812656_26173.cpp:8:1: error: 'scanf' was not declared in this scope
8 | scanf("%d ",&n);
| ^~~~~
0_0_38812656_26173.cpp:11:1: error: expected primary-expression before 'for'
11 | for(i=0;i<n;i++)
| ^~~
0_0_38812656_26173.cpp:11:16: error: expected ';' before ')' token
11 | for(i=0;i<n;i++)
| ^
| ;
0_0_38812656_26173.cpp:17:1: error: expected primary-expression before 'for'
17 | for(i=0;i<n;i++)
| ^~~
0_0_38812656_26173.cpp:17:16: error: expected ';' before ')' token
17 | for(i=0;i<n;i++)
| ^
| ;
0_0_38812656_26173.cpp:29:1: error: 'printf' was not declared in this scope
29 | printf("%d ",a[i]);
| ^~~~~~
0_0_38812656_26173.cpp:1:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | int main()
0_0_38812656_26173.cpp:32:1: error: expected primary-expression before 'return'
32 | return 0;
| ^~~~~~
|