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_21595895_15493.cpp:46:27: error: stray '#' in program
                 if(ch == '1') ++num[j];
                           ^
0_0_21595895_15493.cpp:46:33: error: stray '#' in program
                 if(ch == '1') ++num[j];
                                 ^
0_0_21595895_15493.cpp: In function 'int main()':
0_0_21595895_15493.cpp:46:28: error: lvalue required as unary '&' operand
                 if(ch == '1') ++num[j];
                            ^
0_0_21595895_15493.cpp:46:30: error: expected ')' before ';' token
                 if(ch == '1') ++num[j];
                              ^
0_0_21595895_15493.cpp:46:37: error: expected primary-expression before ')' token
                 if(ch == '1') ++num[j];
                                     ^
0_0_21595895_15493.cpp:47:17: error: 'else' without a previous 'if'
                 else num[j] = 0;
                 ^


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-11-25 00:26:40, Gzip enabled