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_21595147_9988.cpp:34:12: error: stray '#' in program
     if(c=='S')//如果p船可以借 
            ^
0_0_21595147_9988.cpp:34:18: error: stray '#' in program
     if(c=='S')//如果p船可以借 
                  ^
0_0_21595147_9988.cpp:39:12: error: stray '#' in program
     if(c=='E'&&t[p].state==1)//如果p船是被借走的状态,则p船可以还 
            ^
0_0_21595147_9988.cpp:39:18: error: stray '#' in program
     if(c=='E'&&t[p].state==1)//如果p船是被借走的状态,则p船可以还 
                  ^
0_0_21595147_9988.cpp: In function 'int main()':
0_0_21595147_9988.cpp:34:13: error: lvalue required as unary '&' operand
     if(c=='S')//如果p船可以借 
             ^
0_0_21595147_9988.cpp:34:15: error: expected ')' before ';' token
     if(c=='S')//如果p船可以借 
               ^
0_0_21595147_9988.cpp:34:16: error: 'S' was not declared in this scope
     if(c=='S')//如果p船可以借 
                ^
0_0_21595147_9988.cpp:34:22: error: expected primary-expression before ')' token
     if(c=='S')//如果p船可以借 
                      ^
0_0_21595147_9988.cpp:39:13: error: lvalue required as unary '&' operand
     if(c=='E'&&t[p].state==1)//如果p船是被借走的状态,则p船可以还 
             ^
0_0_21595147_9988.cpp:39:15: error: expected ')' before ';' token
     if(c=='E'&&t[p].state==1)//如果p船是被借走的状态,则p船可以还 
               ^
0_0_21595147_9988.cpp:39:16: error: 'E' was not declared in this scope
     if(c=='E'&&t[p].state==1)//如果p船是被借走的状态,则p船可以还 
                ^
0_0_21595147_9988.cpp:39:25: error: expected ';' before '[' token
     if(c=='E'&&t[p].state==1)//如果p船是被借走的状态,则p船可以还 
                         ^
0_0_21595147_9988.cpp:39:24: error: label 't' used but not defined
     if(c=='E'&&t[p].state==1)//如果p船是被借走的状态,则p船可以还 
                        ^


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-10-05 23:28:01, Gzip enabled