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_21595119_30700.cpp:15:14: error: stray '#' in program
    if(s[i]=='h')
              ^
0_0_21595119_30700.cpp:15:20: error: stray '#' in program
    if(s[i]=='h')
                    ^
0_0_21595119_30700.cpp:17:14: error: stray '#' in program
    if(s[i]=='a')
              ^
0_0_21595119_30700.cpp:17:20: error: stray '#' in program
    if(s[i]=='a')
                    ^
0_0_21595119_30700.cpp:25:14: error: stray '#' in program
    if(s[i]=='p')
              ^
0_0_21595119_30700.cpp:25:20: error: stray '#' in program
    if(s[i]=='p')
                    ^
0_0_21595119_30700.cpp:30:14: error: stray '#' in program
    if(s[i]=='y')
              ^
0_0_21595119_30700.cpp:30:20: error: stray '#' in program
    if(s[i]=='y')
                    ^
0_0_21595119_30700.cpp: In function 'int main()':
0_0_21595119_30700.cpp:15:15: error: lvalue required as unary '&' operand
    if(s[i]=='h')
               ^
0_0_21595119_30700.cpp:15:17: error: expected ')' before ';' token
    if(s[i]=='h')
                 ^
0_0_21595119_30700.cpp:15:24: error: expected primary-expression before ')' token
    if(s[i]=='h')
                        ^
0_0_21595119_30700.cpp:17:15: error: lvalue required as unary '&' operand
    if(s[i]=='a')
               ^
0_0_21595119_30700.cpp:17:17: error: expected ')' before ';' token
    if(s[i]=='a')
                 ^
0_0_21595119_30700.cpp:17:24: error: expected primary-expression before ')' token
    if(s[i]=='a')
                        ^
0_0_21595119_30700.cpp:25:15: error: lvalue required as unary '&' operand
    if(s[i]=='p')
               ^
0_0_21595119_30700.cpp:25:17: error: expected ')' before ';' token
    if(s[i]=='p')
                 ^
0_0_21595119_30700.cpp:25:24: error: expected primary-expression before ')' token
    if(s[i]=='p')
                        ^
0_0_21595119_30700.cpp:30:15: error: lvalue required as unary '&' operand
    if(s[i]=='y')
               ^
0_0_21595119_30700.cpp:30:17: error: expected ')' before ';' token
    if(s[i]=='y')
                 ^
0_0_21595119_30700.cpp:30:24: error: expected primary-expression before ')' token
    if(s[i]=='y')
                        ^


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 19:38:07, Gzip enabled