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_21601205_28878.cpp:77:15: error: stray '#' in program
    if(cc[2]==':'){
               ^
0_0_21601205_28878.cpp:77:21: error: stray '#' in program
    if(cc[2]==':'){
                     ^
0_0_21601205_28878.cpp:78:31: error: stray '#' in program
                 num1=((cc[0]-'0')*10+(cc[1]-'0'))*60;
                               ^
0_0_21601205_28878.cpp:78:37: error: stray '#' in program
                 num1=((cc[0]-'0')*10+(cc[1]-'0'))*60;
                                     ^
0_0_21601205_28878.cpp:78:54: error: stray '#' in program
                 num1=((cc[0]-'0')*10+(cc[1]-'0'))*60;
                                                      ^
0_0_21601205_28878.cpp:78:60: error: stray '#' in program
                 num1=((cc[0]-'0')*10+(cc[1]-'0'))*60;
                                                            ^
0_0_21601205_28878.cpp:79:42: error: stray '#' in program
                 if(ll-3>=2) num2=(cc[3]-'0')*10+(cc[4]-'0');
                                          ^
0_0_21601205_28878.cpp:79:48: error: stray '#' in program
                 if(ll-3>=2) num2=(cc[3]-'0')*10+(cc[4]-'0');
                                                ^
0_0_21601205_28878.cpp:79:65: error: stray '#' in program
                 if(ll-3>=2) num2=(cc[3]-'0')*10+(cc[4]-'0');
                                                                 ^
0_0_21601205_28878.cpp:79:71: error: stray '#' in program
                 if(ll-3>=2) num2=(cc[3]-'0')*10+(cc[4]-'0');
                                                                       ^
0_0_21601205_28878.cpp:80:34: error: stray '#' in program
                 else num2=cc[3]-'0';
                                  ^
0_0_21601205_28878.cpp:80:40: error: stray '#' in program
                 else num2=cc[3]-'0';
                                        ^
0_0_21601205_28878.cpp:83:30: error: stray '#' in program
                 num1=(cc[0]-'0')*60;
                              ^
0_0_21601205_28878.cpp:83:36: error: stray '#' in program
                 num1=(cc[0]-'0')*60;
                                    ^
0_0_21601205_28878.cpp:84:42: error: stray '#' in program
                 if(ll-2>=2) num2=(cc[2]-'0')*10+(cc[3]-'0');
                                          ^
0_0_21601205_28878.cpp:84:48: error: stray '#' in program
                 if(ll-2>=2) num2=(cc[2]-'0')*10+(cc[3]-'0');
                                                ^
0_0_21601205_28878.cpp:84:65: error: stray '#' in program
                 if(ll-2>=2) num2=(cc[2]-'0')*10+(cc[3]-'0');
                                                                 ^
0_0_21601205_28878.cpp:84:71: error: stray '#' in program
                 if(ll-2>=2) num2=(cc[2]-'0')*10+(cc[3]-'0');
                                                                       ^
0_0_21601205_28878.cpp:85:34: error: stray '#' in program
                 else num2=cc[2]-'0';
                                  ^
0_0_21601205_28878.cpp:85:40: error: stray '#' in program
                 else num2=cc[2]-'0';
                                        ^
0_0_21601205_28878.cpp: In function 'int main()':
0_0_21601205_28878.cpp:77:16: error: lvalue required as unary '&' operand
    if(cc[2]==':'){
                ^
0_0_21601205_28878.cpp:77:18: error: expected ')' before ';' token
    if(cc[2]==':'){
                  ^
0_0_21601205_28878.cpp:77:19: error: expected primary-expression before ':' token
    if(cc[2]==':'){
                   ^
0_0_21601205_28878.cpp:77:25: error: expected primary-expression before ')' token
    if(cc[2]==':'){
                         ^
0_0_21601205_28878.cpp:82:4: error: 'else' without a previous 'if'
    else{
    ^
0_0_21601205_28878.cpp:83:31: error: lvalue required as unary '&' operand
                 num1=(cc[0]-'0')*60;
                               ^
0_0_21601205_28878.cpp:83:33: error: expected ')' before ';' token
                 num1=(cc[0]-'0')*60;
                                 ^
0_0_21601205_28878.cpp:83:40: error: expected primary-expression before ')' token
                 num1=(cc[0]-'0')*60;
                                        ^
0_0_21601205_28878.cpp:84:43: error: lvalue required as unary '&' operand
                 if(ll-2>=2) num2=(cc[2]-'0')*10+(cc[3]-'0');
                                           ^
0_0_21601205_28878.cpp:84:45: error: expected ')' before ';' token
                 if(ll-2>=2) num2=(cc[2]-'0')*10+(cc[3]-'0');
                                             ^
0_0_21601205_28878.cpp:84:52: error: expected primary-expression before ')' token
                 if(ll-2>=2) num2=(cc[2]-'0')*10+(cc[3]-'0');
                                                    ^
0_0_21601205_28878.cpp:84:75: error: expected primary-expression before ')' token
                 if(ll-2>=2) num2=(cc[2]-'0')*10+(cc[3]-'0');
                                                                           ^
0_0_21601205_28878.cpp:85:17: error: 'else' without a previous 'if'
                 else num2=cc[2]-'0';
                 ^
0_0_21601205_28878.cpp:85:35: error: lvalue required as unary '&' operand
                 else num2=cc[2]-'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-26 22:04:39, Gzip enabled