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_17583122_27309.cpp:1:4: error: stray '#' in program
 1. #include<stdio.h>  
    ^
0_0_17583122_27309.cpp:2:4: error: stray '#' in program
 2. #define FINITY 0x7fffffff  
    ^
0_0_17583122_27309.cpp:3:4: error: stray '#' in program
 3. #define M 1005  
    ^
0_0_17583122_27309.cpp:1:1: error: expected unqualified-id before numeric constant
 1. #include<stdio.h>  
 ^
0_0_17583122_27309.cpp:5:1: error: expected unqualified-id before numeric constant
 5. typedef struct edge_t{  
 ^
0_0_17583122_27309.cpp:8:5: error: 'edge_t' does not name a type
 8. }edge_t;  
     ^
0_0_17583122_27309.cpp:9:1: error: expected unqualified-id before numeric constant
 9. edge_t m[M][M];  
 ^
0_0_17583122_27309.cpp:10:1: error: expected unqualified-id before numeric constant
 10. void dijkstra(int v0,int d[M],int p[M]){  
 ^


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-12-02 05:02:00, Gzip enabled