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_20967029_6437.cpp:16:25: error: stray '#' in program
   for(int k=0; k<501; k++)
                         ^
0_0_20967029_6437.cpp:16:30: error: stray '#' in program
   for(int k=0; k<501; k++)
                              ^
0_0_20967029_6437.cpp:24:25: error: stray '#' in program
   for(int k=0; k<501; k++)
                         ^
0_0_20967029_6437.cpp:24:30: error: stray '#' in program
   for(int k=0; k<501; k++)
                              ^
0_0_20967029_6437.cpp:37:25: error: stray '#' in program
     int cc = (a[i]-'0')+(b[j]-'0')+carry;
                         ^
0_0_20967029_6437.cpp:37:40: error: stray '#' in program
     int cc = (a[i]-'0')+(b[j]-'0')+carry;
                                        ^
0_0_20967029_6437.cpp:40:15: error: stray '#' in program
     c[k] = cc+'0';
               ^
0_0_20967029_6437.cpp:47:25: error: stray '#' in program
     int cc = (a[i]-'0')+carry;
                         ^
0_0_20967029_6437.cpp:50:15: error: stray '#' in program
     c[k] = cc+'0';
               ^
0_0_20967029_6437.cpp:56:25: error: stray '#' in program
     int cc = (b[j]-'0')+carry;
                         ^
0_0_20967029_6437.cpp:59:15: error: stray '#' in program
     c[k] = cc+'0';
               ^
0_0_20967029_6437.cpp:64:21: error: stray '#' in program
   for(j=0; j<502; j++)
                     ^
0_0_20967029_6437.cpp:64:26: error: stray '#' in program
   for(j=0; j<502; j++)
                          ^
0_0_20967029_6437.cpp:66:18: error: stray '#' in program
   for(; j<502; j++)
                  ^
0_0_20967029_6437.cpp:66:23: error: stray '#' in program
   for(; j<502; j++)
                       ^
0_0_20967029_6437.cpp: In function 'int main()':
0_0_20967029_6437.cpp:16:28: error: expected ')' before ';' token
   for(int k=0; k<501; k++)
                            ^
0_0_20967029_6437.cpp:16:31: error: lvalue required as unary '&' operand
   for(int k=0; k<501; k++)
                               ^
0_0_20967029_6437.cpp:16:34: error: expected primary-expression before ')' token
   for(int k=0; k<501; k++)
                                  ^
0_0_20967029_6437.cpp:24:28: error: expected ')' before ';' token
   for(int k=0; k<501; k++)
                            ^
0_0_20967029_6437.cpp:24:31: error: lvalue required as unary '&' operand
   for(int k=0; k<501; k++)
                               ^
0_0_20967029_6437.cpp:24:34: error: expected primary-expression before ')' token
   for(int k=0; k<501; k++)
                                  ^
0_0_20967029_6437.cpp:64:24: error: expected ')' before ';' token
   for(j=0; j<502; j++)
                        ^
0_0_20967029_6437.cpp:64:27: error: lvalue required as unary '&' operand
   for(j=0; j<502; j++)
                           ^
0_0_20967029_6437.cpp:64:30: error: expected primary-expression before ')' token
   for(j=0; j<502; j++)
                              ^
0_0_20967029_6437.cpp:66:21: error: expected ')' before ';' token
   for(; j<502; j++)
                     ^
0_0_20967029_6437.cpp:66:24: error: lvalue required as unary '&' operand
   for(; j<502; j++)
                        ^
0_0_20967029_6437.cpp:66:27: error: expected primary-expression before ')' token
   for(; j<502; j++)
                           ^


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 20:45:23, Gzip enabled