0_0_32866705_28446.cpp:1:30: error: stray '#' in program
<span style="color:#000000;">#include<stdio.h>
^
0_0_32866705_28446.cpp:1:1: error: expected unqualified-id before '<' token
<span style="color:#000000;">#include<stdio.h>
^
0_0_32866705_28446.cpp: In function 'int main()':
0_0_32866705_28446.cpp:9:24: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)&&n>=0)
^
0_0_32866705_28446.cpp:20:13: error: 'c1' was not declared in this scope
c1[i]=0;
^
0_0_32866705_28446.cpp:21:13: error: 'c2' was not declared in this scope
c2[i]=0;
^
0_0_32866705_28446.cpp:23:9: error: 'c1' was not declared in this scope
c1[0]=1;
^
0_0_32866705_28446.cpp:37:25: error: 'c2' was not declared in this scope
c2[j+k]=1;
^
0_0_32866705_28446.cpp:40:21: error: 'c2' was not declared in this scope
c2[j]=1;
^
0_0_32866705_28446.cpp:44:23: error: 'c2' was not declared in this scope
c1[j]=c2[j];
^
0_0_32866705_28446.cpp:53:31: error: 'printf' was not declared in this scope
printf("%d %d\n",s-i,i);
^
0_0_32866705_28446.cpp: At global scope:
0_0_32866705_28446.cpp:56:2: error: expected unqualified-id before '<' token
}</span>//https://blog.csdn.net/Magic____/article/details/8057484
^
|