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_21599815_7105.cpp:82:31: error: stray '#' in program
         if (goal==0&&str[1]=='0') break;
                               ^
0_0_21599815_7105.cpp:82:37: error: stray '#' in program
         if (goal==0&&str[1]=='0') break;
                                     ^
0_0_21599815_7105.cpp:88:26: error: stray '#' in program
             a[i]=str[i]-'0';
                          ^
0_0_21599815_7105.cpp:88:32: error: stray '#' in program
             a[i]=str[i]-'0';
                                ^
0_0_21599815_7105.cpp:89:28: error: stray '#' in program
             x=x*10+str[i]-'0';
                            ^
0_0_21599815_7105.cpp:89:34: error: stray '#' in program
             x=x*10+str[i]-'0';
                                  ^
0_0_21599815_7105.cpp: In function 'int main()':
0_0_21599815_7105.cpp:82:32: error: lvalue required as unary '&' operand
         if (goal==0&&str[1]=='0') break;
                                ^
0_0_21599815_7105.cpp:82:34: error: expected ')' before ';' token
         if (goal==0&&str[1]=='0') break;
                                  ^
0_0_21599815_7105.cpp:82:41: error: expected primary-expression before ')' token
         if (goal==0&&str[1]=='0') break;
                                         ^
0_0_21599815_7105.cpp:88:27: error: lvalue required as unary '&' operand
             a[i]=str[i]-'0';
                           ^
0_0_21599815_7105.cpp:89:29: error: lvalue required as unary '&' operand
             x=x*10+str[i]-'0';
                             ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-28 07:41:24, Gzip enabled