F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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));
                                        ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-29 11:57:51, Gzip enabled