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_21600340_7323.cpp:61:23: error: stray '#' in program
             if(s[0]=='s')
                       ^
0_0_21600340_7323.cpp:61:29: error: stray '#' in program
             if(s[0]=='s')
                             ^
0_0_21600340_7323.cpp:65:27: error: stray '#' in program
                 if(s[0]=='a')
                           ^
0_0_21600340_7323.cpp:65:33: error: stray '#' in program
                 if(s[0]=='a')
                                 ^
0_0_21600340_7323.cpp: In function 'int main()':
0_0_21600340_7323.cpp:61:24: error: lvalue required as unary '&' operand
             if(s[0]=='s')
                        ^
0_0_21600340_7323.cpp:61:26: error: expected ')' before ';' token
             if(s[0]=='s')
                          ^
0_0_21600340_7323.cpp:61:30: error: invalid operands of types 'char [10]' and 'int' to binary 'operator&'
             if(s[0]=='s')
                              ^
0_0_21600340_7323.cpp:61:33: error: expected primary-expression before ')' token
             if(s[0]=='s')
                                 ^
0_0_21600340_7323.cpp:63:13: error: 'else' without a previous 'if'
             else
             ^
0_0_21600340_7323.cpp:65:28: error: lvalue required as unary '&' operand
                 if(s[0]=='a')
                            ^
0_0_21600340_7323.cpp:65:30: error: expected ')' before ';' token
                 if(s[0]=='a')
                              ^
0_0_21600340_7323.cpp:65:31: error: 'a' was not declared in this scope
                 if(s[0]=='a')
                               ^
0_0_21600340_7323.cpp:65:37: error: expected primary-expression before ')' token
                 if(s[0]=='a')
                                     ^
0_0_21600340_7323.cpp:67:17: error: 'else' without a previous 'if'
                 else
                 ^


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-06-29 12:25:03, Gzip enabled