0_0_17911678_31800.cpp:75:25: error: stray '#' in program
<pre class="brush:cpp ">#include<iostream>
^
0_0_17911678_31800.cpp: In function 'int main()':
0_0_17911678_31800.cpp:63:43: error: 'memset' was not declared in this scope
memset( visited, false,sizeof(visited) );
^
0_0_17911678_31800.cpp: At global scope:
0_0_17911678_31800.cpp:74:2: error: expected unqualified-id before '<' token
}</pre>
^
0_0_17911678_31800.cpp:81:19: error: conflicting declaration 'bool visited [10010]'
bool visited[10010];
^
0_0_17911678_31800.cpp:9:6: note: previous declaration as 'bool visited [2500]'
bool visited[2500]; //visited[i] means Sum[i] is visited
^
0_0_17911678_31800.cpp: In function 'bool isRebuild()':
0_0_17911678_31800.cpp:93:6: error: redefinition of 'bool isRebuild()'
bool isRebuild() //判断是否可以重建数表
^
0_0_17911678_31800.cpp:15:6: note: 'bool isRebuild()' previously defined here
bool isRebuild()
^
0_0_17911678_31800.cpp: In function 'int main()':
0_0_17911678_31800.cpp:123:5: error: redefinition of 'int main()'
int main()
^
0_0_17911678_31800.cpp:44:5: note: 'int main()' previously defined here
int main()
^
0_0_17911678_31800.cpp:142:40: error: 'memset' was not declared in this scope
memset(visited,false,sizeof(visited));
^
|