foo.cc:7:19: error: stray '#' in program
7 | for(int i=#i1,i<=10;i++)cin>>a[i];
| ^
foo.cc:1:1: error: 'include' does not name a type
1 | include<iostream.h>
| ^~~~~~~
foo.cc: In function 'int main()':
foo.cc:7:20: error: 'i1' was not declared in this scope; did you mean 'i'?
7 | for(int i=#i1,i<=10;i++)cin>>a[i];
| ^~
| i
foo.cc:7:32: error: expected ';' before ')' token
7 | for(int i=#i1,i<=10;i++)cin>>a[i];
| ^
| ;
foo.cc:7:33: error: 'cin' was not declared in this scope
7 | for(int i=#i1,i<=10;i++)cin>>a[i];
| ^~~
foo.cc:8:9: error: 'cin' was not declared in this scope
8 | cin>>b;
| ^~~
foo.cc:16:9: error: 'cout' was not declared in this scope
16 | cout<<c;
| ^~~~
foo.cc:6:17: warning: unused variable 'A' [-Wunused-variable]
6 | int b,B,A;
| ^
[Hydro](https://hydro.ac)提供评测服务