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_17772329_9332.cpp: In function 'int main()':
0_0_17772329_9332.cpp:25:33: error: expected primary-expression before '<' token
             a1[i]=a[al-i-1]-'0';<span style="white-space:pre"> </span>//将字符转化为数字存入整形数组
                                 ^
0_0_17772329_9332.cpp:25:34: error: 'span' was not declared in this scope
             a1[i]=a[al-i-1]-'0';<span style="white-space:pre"> </span>//将字符转化为数字存入整形数组
                                  ^
0_0_17772329_9332.cpp:26:25: error: expected ';' before ')' token
         for(i=0;i<bl;i++)<span style="white-space:pre">  </span>//从低位到高位存
                         ^
0_0_17772329_9332.cpp:33:34: error: expected primary-expression before '<' token
             c[i]=val+a1[i]+a2[i];<span style="white-space:pre"> </span>//val为进位数
                                  ^
0_0_17772329_9332.cpp:34:25: error: expected primary-expression before '<' token
             val=c[i]/10;<span style="white-space:pre">  </span>//进位
                         ^
0_0_17772329_9332.cpp:35:22: error: expected primary-expression before '<' token
             c[i]%=10;<span style="white-space:pre">   </span>//进位后取整
                      ^
0_0_17772329_9332.cpp:44:21: error: expected primary-expression before '<' token
             if(flag)<span style="white-space:pre">  </span><span style="font-family: 'Courier New', Courier, monospace;">//从后面往前面输出</span>
                     ^
0_0_17772329_9332.cpp:44:121: error: expected '}' at end of input
             if(flag)<span style="white-space:pre">  </span><span style="font-family: 'Courier New', Courier, monospace;">//从后面往前面输出</span>
                                                                                                                         ^
0_0_17772329_9332.cpp:44:121: error: expected '}' at end of input
0_0_17772329_9332.cpp:44:121: error: expected '}' at end of input


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-22 22:52:28, Gzip enabled