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_23620105_2467.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_23620105_2467.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_23620105_2467.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_23620105_2467.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_23620105_2467.cpp: In function 'void dij(int)':
0_0_23620105_2467.cpp:25:25: error: 'memset' was not declared in this scope
  memset(d, INF,sizeof(d));
                         ^
0_0_23620105_2467.cpp:56:20: error: 'sort' was not declared in this scope
  sort(p, p + n, cmp);
                    ^
0_0_23620105_2467.cpp: In function 'int main()':
0_0_23620105_2467.cpp:62:22: error: expected ')' before ';' token
  while (scanf("%d",&n;)!=EOF)
                      ^
0_0_23620105_2467.cpp:62:22: error: expected ')' before ';' token
0_0_23620105_2467.cpp:62:23: error: expected primary-expression before ')' token
  while (scanf("%d",&n;)!=EOF)
                       ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-10 17:28:31, Gzip enabled