/in/foo.cc: In function 'int main()':
/in/foo.cc:12:13: warning: unused variable 'cont' [-Wunused-variable]
int cont=0,qaq;
^~~~
/in/foo.cc:12:20: warning: unused variable 'qaq' [-Wunused-variable]
int cont=0,qaq;
^~~
/in/foo.cc:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(s==t)
^~
/in/foo.cc:13:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
for(int i=1;i<=n;++i)scanf("%d",&qaq),cont+=((qaq%s)==0);
^~~
/in/foo.cc:13:42: error: 'qaq' was not declared in this scope
for(int i=1;i<=n;++i)scanf("%d",&qaq),cont+=((qaq%s)==0);
^~~
/in/foo.cc:13:47: error: 'cont' was not declared in this scope
for(int i=1;i<=n;++i)scanf("%d",&qaq),cont+=((qaq%s)==0);
^~~~
/in/foo.cc:14:23: error: 'cont' was not declared in this scope
printf("%d\n",cont);return 0;
^~~~
/in/foo.cc: At global scope:
/in/foo.cc:16:5: error: expected unqualified-id before 'for'
for(int i=1;i<=n;i++)scanf("%d",&a[i]);
^~~
/in/foo.cc:16:17: error: 'i' does not name a type
for(int i=1;i<=n;i++)scanf("%d",&a[i]);
^
/in/foo.cc:16:22: error: 'i' does not name a type
for(int i=1;i<=n;i++)scanf("%d",&a[i]);
^
/in/foo.cc:17:9: error: expected constructor, destructor, or type conversion before '(' token
sort(a+1,a+n+1);a[0]=0;f[0]=0;
^
/in/foo.cc:17:21: error: 'a' does not name a type
sort(a+1,a+n+1);a[0]=0;f[0]=0;
^
/in/foo.cc:17:28: error: 'f' does not name a type
sort(a+1,a+n+1);a[0]=0;f[0]=0;
^
/in/foo.cc:18:5: error: 'far' does not name a type
far[n+1]=min(p-a[n],100);p=0;
^~~
/in/foo.cc:18:30: error: 'p' does not name a type
far[n+1]=min(p-a[n],100);p=0;
^
/in/foo.cc:19:5: error: expected unqualified-id before 'for'
for(int i=1;i<=n;i++)far[i]=min(a[i]-a[i-1],90),p+=far[i],flag[p]=1;
^~~
/in/foo.cc:19:17: error: 'i' does not name a type
for(int i=1;i<=n;i++)far[i]=min(a[i]-a[i-1],90),p+=far[i],flag[p]=1;
^
/in/foo.cc:19:22: error: 'i' does not name a type
for(int i=1;i<=n;i++)far[i]=min(a[i]-a[i-1],90),p+=far[i],flag[p]=1;
^
/in/foo.cc:20:5: error: 'p' does not name a type
p+=far[n+1];
^
/in/foo.cc:21:5: error: expected unqualified-id before 'for'
for(int i=1;i<=p+9;i++)
^~~
/in/foo.cc:21:17: error: 'i' does not name a type
for(int i=1;i<=p+9;i++)
^
/in/foo.cc:21:24: error: 'i' does not name a type
for(int i=1;i<=p+9;i++)
^
/in/foo.cc:27:5: error: expected unqualified-id before 'for'
for(int i=p;i<=p+9;i--)
^~~
/in/foo.cc:27:17: error: 'i' does not name a type
for(int i=p;i<=p+9;i--)
^
/in/foo.cc:27:24: error: 'i' does not name a type
for(int i=p;i<=p+9;i--)
^
/in/foo.cc:29:11: error: expected constructor, destructor, or type conversion before '(' token
printf("%d",minn);
^
/in/foo.cc:30:1: error: expected declaration before '}' token
}
^