foo.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
include<iostream>
^
foo.c:8:1: error: unknown type name 'bool'
bool Hash[400000]={0};
^
foo.c:11:1: error: unknown type name 'bool'
bool Flag(int a,int b)
^
foo.c: In function 'Kto':
foo.c:29:1: error: unknown type name 'bool'
bool h[9]={0};
^
foo.c:41:1: warning: implicit declaration of function 'coJst' [-Wimplicit-function-declaration]
hs+=coJst(9-i);
^
foo.c: At top level:
foo.c:45:1: warning: return type defaults to 'int' [-Wreturn-type]
main()
^
foo.c: In function 'main':
foo.c:47:1: error: unknown type name 'bool'
bool flag;
^
foo.c:50:1: error: 'cin' undeclared (first use in this function)
cin>>s;
^
foo.c:50:1: note: each undeclared identifier is reported only once for each function it appears in
foo.c:101:1: error: 'cout' undeclared (first use in this function)
cout<<d[head].ans+1;
^
foo.c:48:7: warning: unused variable 'conut' [-Wunused-variable]
int b,conut=0,i,j,t;
^
foo.c:102:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^