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_21595495_3556.cpp:61:29: error: stray '#' in program
                 if(str[i]=='*'){pos=i;continue;}
                             ^
0_0_21595495_3556.cpp:61:35: error: stray '#' in program
                 if(str[i]=='*'){pos=i;continue;}
                                   ^
0_0_21595495_3556.cpp:62:36: error: stray '#' in program
                 num[cnt]|=(str[i]-'0')<<i;
                                    ^
0_0_21595495_3556.cpp:62:42: error: stray '#' in program
                 num[cnt]|=(str[i]-'0')<<i;
                                          ^
0_0_21595495_3556.cpp: In function 'int main()':
0_0_21595495_3556.cpp:61:30: error: lvalue required as unary '&' operand
                 if(str[i]=='*'){pos=i;continue;}
                              ^
0_0_21595495_3556.cpp:61:32: error: expected ')' before ';' token
                 if(str[i]=='*'){pos=i;continue;}
                                ^
0_0_21595495_3556.cpp:61:36: error: lvalue required as unary '&' operand
                 if(str[i]=='*'){pos=i;continue;}
                                    ^
0_0_21595495_3556.cpp:61:39: error: expected primary-expression before ')' token
                 if(str[i]=='*'){pos=i;continue;}
                                       ^
0_0_21595495_3556.cpp:62:37: error: lvalue required as unary '&' operand
                 num[cnt]|=(str[i]-'0')<<i;
                                     ^
0_0_21595495_3556.cpp:62:39: error: expected ')' before ';' token
                 num[cnt]|=(str[i]-'0')<<i;
                                       ^
0_0_21595495_3556.cpp:62:46: error: expected primary-expression before ')' token
                 num[cnt]|=(str[i]-'0')<<i;
                                              ^


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-30 07:52:57, Gzip enabled