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_33626581_10635.cpp:10:1: error: stray '\243' in program
 const int maxn = £¨8e5 + 1010£©<< 1;
 ^
0_0_33626581_10635.cpp:10:1: error: stray '\250' in program
0_0_33626581_10635.cpp:10:1: error: stray '\243' in program
0_0_33626581_10635.cpp:10:1: error: stray '\251' in program
0_0_33626581_10635.cpp:10:35: error: invalid operands of types 'double' and 'int' to binary 'operator<<'
 const int maxn = £¨8e5 + 1010£©<< 1;
                                   ^
0_0_33626581_10635.cpp:11:32: error: invalid operands of types 'double' and 'int' to binary 'operator<<'
 const int Maxn = (8e5 + 10) << 1;
                                ^
0_0_33626581_10635.cpp:49:14: error: size of array 'head' is not an integral constant-expression
 int head[maxn], tot;
              ^
0_0_33626581_10635.cpp:59:13: error: size of array 'ss' is not an integral constant-expression
 char ss[maxn];
             ^
0_0_33626581_10635.cpp:60:14: error: size of array 'vis' is not an integral constant-expression
 bool vis[maxn];
              ^
0_0_33626581_10635.cpp:61:10: error: size of array 'd' is not an integral constant-expression
 ll d[maxn];
          ^
0_0_33626581_10635.cpp: In function 'void addedge(int, int, int)':
0_0_33626581_10635.cpp:64:5: error: 'e' was not declared in this scope
     e[++ tot] = Edge(y, head[x], d); head[x] = tot;
     ^
0_0_33626581_10635.cpp: In function 'long long int Dijkstra(int, int)':
0_0_33626581_10635.cpp:82:37: error: 'e' was not declared in this scope
         for(int i = head[x]; i; i = e[i].nxt)
                                     ^
0_0_33626581_10635.cpp:85:30: error: 'cost' was not declared in this scope
             if(d[y] > d[x] + cost)
                              ^


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-03 05:49:48, Gzip enabled