/in/foo.cc:1:20: warning: extra tokens at end of #include directive
#include <iostream>;
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:7:22: error: invalid types 'bool [194][double]' for array subscript
for(i=0;i<n;i++) l[i]=false;
^
/in/foo.cc:8:42: error: invalid operands of types 'double' and 'double' to binary 'operator%'
for(i=1;i<=n;i++) for(j=1;j<=n;j++) if(j%i==0) if(l[j-1]==true) l[j-1]=false;else l[j-1]=true;
~^~
/in/foo.cc:8:57: error: invalid types 'bool [194][double]' for array subscript
for(i=1;i<=n;i++) for(j=1;j<=n;j++) if(j%i==0) if(l[j-1]==true) l[j-1]=false;else l[j-1]=true;
^
/in/foo.cc:8:71: error: invalid types 'bool [194][double]' for array subscript
for(i=1;i<=n;i++) for(j=1;j<=n;j++) if(j%i==0) if(l[j-1]==true) l[j-1]=false;else l[j-1]=true;
^
/in/foo.cc:8:89: error: invalid types 'bool [194][double]' for array subscript
for(i=1;i<=n;i++) for(j=1;j<=n;j++) if(j%i==0) if(l[j-1]==true) l[j-1]=false;else l[j-1]=true;
^
/in/foo.cc:8:40: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
for(i=1;i<=n;i++) for(j=1;j<=n;j++) if(j%i==0) if(l[j-1]==true) l[j-1]=false;else l[j-1]=true;
^
/in/foo.cc:9:25: error: invalid types 'bool [194][double]' for array subscript
for(i=0;i<n;i++) if(l[i]) m++;
^