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_21597775_4409.cpp:33:29: error: stray '#' in program
             if (Time[0] == '#')
                             ^
0_0_21597775_4409.cpp:33:33: error: stray '#' in program
             if (Time[0] == '#')
                                 ^
0_0_21597775_4409.cpp:33:35: error: stray '#' in program
             if (Time[0] == '#')
                                   ^
0_0_21597775_4409.cpp:36:39: error: stray '#' in program
             int hh = 10 * (Time[0] - '0') + Time[1] - '0';
                                       ^
0_0_21597775_4409.cpp:36:45: error: stray '#' in program
             int hh = 10 * (Time[0] - '0') + Time[1] - '0';
                                             ^
0_0_21597775_4409.cpp:36:64: error: stray '#' in program
             int hh = 10 * (Time[0] - '0') + Time[1] - '0';
                                                                ^
0_0_21597775_4409.cpp:36:70: error: stray '#' in program
             int hh = 10 * (Time[0] - '0') + Time[1] - '0';
                                                                      ^
0_0_21597775_4409.cpp:37:39: error: stray '#' in program
             int mm = 10 * (Time[3] - '0') + Time[4] - '0';
                                       ^
0_0_21597775_4409.cpp:37:45: error: stray '#' in program
             int mm = 10 * (Time[3] - '0') + Time[4] - '0';
                                             ^
0_0_21597775_4409.cpp:37:64: error: stray '#' in program
             int mm = 10 * (Time[3] - '0') + Time[4] - '0';
                                                                ^
0_0_21597775_4409.cpp:37:70: error: stray '#' in program
             int mm = 10 * (Time[3] - '0') + Time[4] - '0';
                                                                      ^
0_0_21597775_4409.cpp: In function 'int main()':
0_0_21597775_4409.cpp:33:30: error: lvalue required as unary '&' operand
             if (Time[0] == '#')
                              ^
0_0_21597775_4409.cpp:33:32: error: expected ')' before ';' token
             if (Time[0] == '#')
                                ^
0_0_21597775_4409.cpp:33:36: error: lvalue required as unary '&' operand
             if (Time[0] == '#')
                                    ^
0_0_21597775_4409.cpp:33:39: error: expected primary-expression before ')' token
             if (Time[0] == '#')
                                       ^
0_0_21597775_4409.cpp:36:40: error: lvalue required as unary '&' operand
             int hh = 10 * (Time[0] - '0') + Time[1] - '0';
                                        ^
0_0_21597775_4409.cpp:36:42: error: expected ')' before ';' token
             int hh = 10 * (Time[0] - '0') + Time[1] - '0';
                                          ^
0_0_21597775_4409.cpp:36:49: error: expected primary-expression before ')' token
             int hh = 10 * (Time[0] - '0') + Time[1] - '0';
                                                 ^
0_0_21597775_4409.cpp:37:40: error: lvalue required as unary '&' operand
             int mm = 10 * (Time[3] - '0') + Time[4] - '0';
                                        ^
0_0_21597775_4409.cpp:37:42: error: expected ')' before ';' token
             int mm = 10 * (Time[3] - '0') + Time[4] - '0';
                                          ^
0_0_21597775_4409.cpp:37:49: error: expected primary-expression before ')' token
             int mm = 10 * (Time[3] - '0') + Time[4] - '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-12-04 15:42:09, Gzip enabled