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_21599986_10066.cpp:160:25: error: stray '#' in program
             if (s1[0]=='+') u=S;
                         ^
0_0_21599986_10066.cpp:160:31: error: stray '#' in program
             if (s1[0]=='+') u=S;
                               ^
0_0_21599986_10066.cpp:165:35: error: stray '#' in program
                     u=u*10+s1[j]-'0';
                                   ^
0_0_21599986_10066.cpp:165:41: error: stray '#' in program
                     u=u*10+s1[j]-'0';
                                         ^
0_0_21599986_10066.cpp:167:25: error: stray '#' in program
             if (s2[0]=='-') v=T;
                         ^
0_0_21599986_10066.cpp:167:31: error: stray '#' in program
             if (s2[0]=='-') v=T;
                               ^
0_0_21599986_10066.cpp:172:35: error: stray '#' in program
                     v=v*10+s2[j]-'0';
                                   ^
0_0_21599986_10066.cpp:172:41: error: stray '#' in program
                     v=v*10+s2[j]-'0';
                                         ^
0_0_21599986_10066.cpp: In function 'int main()':
0_0_21599986_10066.cpp:160:26: error: lvalue required as unary '&' operand
             if (s1[0]=='+') u=S;
                          ^
0_0_21599986_10066.cpp:160:28: error: expected ')' before ';' token
             if (s1[0]=='+') u=S;
                            ^
0_0_21599986_10066.cpp:160:32: error: lvalue required as unary '&' operand
             if (s1[0]=='+') u=S;
                                ^
0_0_21599986_10066.cpp:160:35: error: expected primary-expression before ')' token
             if (s1[0]=='+') u=S;
                                   ^
0_0_21599986_10066.cpp:161:13: error: 'else' without a previous 'if'
             else
             ^
0_0_21599986_10066.cpp:165:36: error: lvalue required as unary '&' operand
                     u=u*10+s1[j]-'0';
                                    ^
0_0_21599986_10066.cpp:167:26: error: lvalue required as unary '&' operand
             if (s2[0]=='-') v=T;
                          ^
0_0_21599986_10066.cpp:167:28: error: expected ')' before ';' token
             if (s2[0]=='-') v=T;
                            ^
0_0_21599986_10066.cpp:167:32: error: lvalue required as unary '&' operand
             if (s2[0]=='-') v=T;
                                ^
0_0_21599986_10066.cpp:167:35: error: expected primary-expression before ')' token
             if (s2[0]=='-') v=T;
                                   ^
0_0_21599986_10066.cpp:168:13: error: 'else' without a previous 'if'
             else
             ^
0_0_21599986_10066.cpp:172:36: error: lvalue required as unary '&' operand
                     v=v*10+s2[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-12-03 17:27:40, Gzip enabled