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_21598157_5889.cpp:78:15: error: stray '#' in program
      d1=(ch=='*'||ch=='>')?2520/d:MAX;
               ^
0_0_21598157_5889.cpp:78:21: error: stray '#' in program
      d1=(ch=='*'||ch=='>')?2520/d:MAX;
                     ^
0_0_21598157_5889.cpp:78:32: error: stray '#' in program
      d1=(ch=='*'||ch=='>')?2520/d:MAX;
                                ^
0_0_21598157_5889.cpp:78:38: error: stray '#' in program
      d1=(ch=='*'||ch=='>')?2520/d:MAX;
                                      ^
0_0_21598157_5889.cpp:79:15: error: stray '#' in program
      d2=(ch=='*'||ch=='<')?2520/d:MAX;
               ^
0_0_21598157_5889.cpp:79:21: error: stray '#' in program
      d2=(ch=='*'||ch=='<')?2520/d:MAX;
                     ^
0_0_21598157_5889.cpp:79:32: error: stray '#' in program
      d2=(ch=='*'||ch=='<')?2520/d:MAX;
                                ^
0_0_21598157_5889.cpp:79:38: error: stray '#' in program
      d2=(ch=='*'||ch=='<')?2520/d:MAX;
                                      ^
0_0_21598157_5889.cpp:85:15: error: stray '#' in program
      d1=(ch=='*'||ch=='v')?2520/d:MAX;
               ^
0_0_21598157_5889.cpp:85:21: error: stray '#' in program
      d1=(ch=='*'||ch=='v')?2520/d:MAX;
                     ^
0_0_21598157_5889.cpp:85:32: error: stray '#' in program
      d1=(ch=='*'||ch=='v')?2520/d:MAX;
                                ^
0_0_21598157_5889.cpp:85:38: error: stray '#' in program
      d1=(ch=='*'||ch=='v')?2520/d:MAX;
                                      ^
0_0_21598157_5889.cpp:86:15: error: stray '#' in program
      d2=(ch=='*'||ch=='^')?2520/d:MAX;
               ^
0_0_21598157_5889.cpp:86:21: error: stray '#' in program
      d2=(ch=='*'||ch=='^')?2520/d:MAX;
                     ^
0_0_21598157_5889.cpp:86:32: error: stray '#' in program
      d2=(ch=='*'||ch=='^')?2520/d:MAX;
                                ^
0_0_21598157_5889.cpp:86:38: error: stray '#' in program
      d2=(ch=='*'||ch=='^')?2520/d:MAX;
                                      ^
0_0_21598157_5889.cpp: In function 'int Dijkstra(int, int)':
0_0_21598157_5889.cpp:25:26: error: 'memset' was not declared in this scope
  memset(vis,0,sizeof(vis));
                          ^
0_0_21598157_5889.cpp: In function 'int main()':
0_0_21598157_5889.cpp:78:16: error: lvalue required as unary '&' operand
      d1=(ch=='*'||ch=='>')?2520/d:MAX;
                ^
0_0_21598157_5889.cpp:78:18: error: expected ')' before ';' token
      d1=(ch=='*'||ch=='>')?2520/d:MAX;
                  ^
0_0_21598157_5889.cpp:78:22: error: lvalue required as unary '&' operand
      d1=(ch=='*'||ch=='>')?2520/d:MAX;
                      ^
0_0_21598157_5889.cpp:78:25: error: expected primary-expression before '||' token
      d1=(ch=='*'||ch=='>')?2520/d:MAX;
                         ^
0_0_21598157_5889.cpp:78:33: error: lvalue required as unary '&' operand
      d1=(ch=='*'||ch=='>')?2520/d:MAX;
                                 ^
0_0_21598157_5889.cpp:78:36: error: expected primary-expression before '>' token
      d1=(ch=='*'||ch=='>')?2520/d:MAX;
                                    ^
0_0_21598157_5889.cpp:78:39: error: lvalue required as unary '&' operand
      d1=(ch=='*'||ch=='>')?2520/d:MAX;
                                       ^
0_0_21598157_5889.cpp:78:42: error: expected primary-expression before ')' token
      d1=(ch=='*'||ch=='>')?2520/d:MAX;
                                          ^
0_0_21598157_5889.cpp:79:16: error: lvalue required as unary '&' operand
      d2=(ch=='*'||ch=='<')?2520/d:MAX;
                ^
0_0_21598157_5889.cpp:79:18: error: expected ')' before ';' token
      d2=(ch=='*'||ch=='<')?2520/d:MAX;
                  ^
0_0_21598157_5889.cpp:79:22: error: lvalue required as unary '&' operand
      d2=(ch=='*'||ch=='<')?2520/d:MAX;
                      ^
0_0_21598157_5889.cpp:79:25: error: expected primary-expression before '||' token
      d2=(ch=='*'||ch=='<')?2520/d:MAX;
                         ^
0_0_21598157_5889.cpp:79:33: error: lvalue required as unary '&' operand
      d2=(ch=='*'||ch=='<')?2520/d:MAX;
                                 ^
0_0_21598157_5889.cpp:79:36: error: expected primary-expression before '<' token
      d2=(ch=='*'||ch=='<')?2520/d:MAX;
                                    ^
0_0_21598157_5889.cpp:79:39: error: lvalue required as unary '&' operand
      d2=(ch=='*'||ch=='<')?2520/d:MAX;
                                       ^
0_0_21598157_5889.cpp:79:42: error: expected primary-expression before ')' token
      d2=(ch=='*'||ch=='<')?2520/d:MAX;
                                          ^
0_0_21598157_5889.cpp:85:16: error: lvalue required as unary '&' operand
      d1=(ch=='*'||ch=='v')?2520/d:MAX;
                ^
0_0_21598157_5889.cpp:85:18: error: expected ')' before ';' token
      d1=(ch=='*'||ch=='v')?2520/d:MAX;
                  ^
0_0_21598157_5889.cpp:85:22: error: lvalue required as unary '&' operand
      d1=(ch=='*'||ch=='v')?2520/d:MAX;
                      ^
0_0_21598157_5889.cpp:85:25: error: expected primary-expression before '||' token
      d1=(ch=='*'||ch=='v')?2520/d:MAX;
                         ^
0_0_21598157_5889.cpp:85:33: error: lvalue required as unary '&' operand
      d1=(ch=='*'||ch=='v')?2520/d:MAX;
                                 ^
0_0_21598157_5889.cpp:85:36: error: 'v' was not declared in this scope
      d1=(ch=='*'||ch=='v')?2520/d:MAX;
                                    ^
0_0_21598157_5889.cpp:85:42: error: expected primary-expression before ')' token
      d1=(ch=='*'||ch=='v')?2520/d:MAX;
                                          ^
0_0_21598157_5889.cpp:86:16: error: lvalue required as unary '&' operand
      d2=(ch=='*'||ch=='^')?2520/d:MAX;
                ^
0_0_21598157_5889.cpp:86:18: error: expected ')' before ';' token
      d2=(ch=='*'||ch=='^')?2520/d:MAX;
                  ^
0_0_21598157_5889.cpp:86:22: error: lvalue required as unary '&' operand
      d2=(ch=='*'||ch=='^')?2520/d:MAX;
                      ^
0_0_21598157_5889.cpp:86:25: error: expected primary-expression before '||' token
      d2=(ch=='*'||ch=='^')?2520/d:MAX;
                         ^
0_0_21598157_5889.cpp:86:33: error: lvalue required as unary '&' operand
      d2=(ch=='*'||ch=='^')?2520/d:MAX;
                                 ^
0_0_21598157_5889.cpp:86:36: error: expected primary-expression before '^' token
      d2=(ch=='*'||ch=='^')?2520/d:MAX;
                                    ^
0_0_21598157_5889.cpp:86:39: error: lvalue required as unary '&' operand
      d2=(ch=='*'||ch=='^')?2520/d:MAX;
                                       ^
0_0_21598157_5889.cpp:86:42: error: expected primary-expression before ')' token
      d2=(ch=='*'||ch=='^')?2520/d:MAX;
                                          ^


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 12:57:43, Gzip enabled