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_21595176_23633.cpp:195:23: error: stray '#' in program
             if(s[0]=='E')
                       ^
0_0_21595176_23633.cpp:195:29: error: stray '#' in program
             if(s[0]=='E')
                             ^
0_0_21595176_23633.cpp:199:23: error: stray '#' in program
             if(s[0]=='D')
                       ^
0_0_21595176_23633.cpp:199:29: error: stray '#' in program
             if(s[0]=='D')
                             ^
0_0_21595176_23633.cpp:208:27: error: stray '#' in program
                 if(s[0]=='C')
                           ^
0_0_21595176_23633.cpp:208:33: error: stray '#' in program
                 if(s[0]=='C')
                                 ^
0_0_21595176_23633.cpp:247:27: error: stray '#' in program
             if(ask[i].c=='D')
                           ^
0_0_21595176_23633.cpp:247:33: error: stray '#' in program
             if(ask[i].c=='D')
                                 ^
0_0_21595176_23633.cpp:265:32: error: stray '#' in program
             else if(ask[i].c=='Q')
                                ^
0_0_21595176_23633.cpp:265:38: error: stray '#' in program
             else if(ask[i].c=='Q')
                                      ^
0_0_21595176_23633.cpp: In function 'int main()':
0_0_21595176_23633.cpp:195:24: error: lvalue required as unary '&' operand
             if(s[0]=='E')
                        ^
0_0_21595176_23633.cpp:195:26: error: expected ')' before ';' token
             if(s[0]=='E')
                          ^
0_0_21595176_23633.cpp:195:27: error: 'E' was not declared in this scope
             if(s[0]=='E')
                           ^
0_0_21595176_23633.cpp:195:33: error: expected primary-expression before ')' token
             if(s[0]=='E')
                                 ^
0_0_21595176_23633.cpp:199:24: error: lvalue required as unary '&' operand
             if(s[0]=='D')
                        ^
0_0_21595176_23633.cpp:199:26: error: expected ')' before ';' token
             if(s[0]=='D')
                          ^
0_0_21595176_23633.cpp:199:27: error: 'D' was not declared in this scope
             if(s[0]=='D')
                           ^
0_0_21595176_23633.cpp:199:33: error: expected primary-expression before ')' token
             if(s[0]=='D')
                                 ^
0_0_21595176_23633.cpp:205:13: error: 'else' without a previous 'if'
             else
             ^
0_0_21595176_23633.cpp:208:28: error: lvalue required as unary '&' operand
                 if(s[0]=='C')
                            ^
0_0_21595176_23633.cpp:208:30: error: expected ')' before ';' token
                 if(s[0]=='C')
                              ^
0_0_21595176_23633.cpp:208:31: error: 'C' was not declared in this scope
                 if(s[0]=='C')
                               ^
0_0_21595176_23633.cpp:208:37: error: expected primary-expression before ')' token
                 if(s[0]=='C')
                                     ^
0_0_21595176_23633.cpp:247:28: error: lvalue required as unary '&' operand
             if(ask[i].c=='D')
                            ^
0_0_21595176_23633.cpp:247:30: error: expected ')' before ';' token
             if(ask[i].c=='D')
                              ^
0_0_21595176_23633.cpp:247:31: error: 'D' was not declared in this scope
             if(ask[i].c=='D')
                               ^
0_0_21595176_23633.cpp:247:37: error: expected primary-expression before ')' token
             if(ask[i].c=='D')
                                     ^
0_0_21595176_23633.cpp:265:13: error: 'else' without a previous 'if'
             else if(ask[i].c=='Q')
             ^
0_0_21595176_23633.cpp:265:33: error: lvalue required as unary '&' operand
             else if(ask[i].c=='Q')
                                 ^
0_0_21595176_23633.cpp:265:35: error: expected ')' before ';' token
             else if(ask[i].c=='Q')
                                   ^
0_0_21595176_23633.cpp:265:36: error: 'Q' was not declared in this scope
             else if(ask[i].c=='Q')
                                    ^
0_0_21595176_23633.cpp:265:42: error: expected primary-expression before ')' token
             else if(ask[i].c=='Q')
                                          ^
0_0_21595176_23633.cpp:270:13: error: 'else' without a previous 'if'
             else
             ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-17 13:18:25, Gzip enabled