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_13212516_3323.cpp:26:1: error: stray '\241' in program
 กก   for(i=M;i>=0&&num1[i]==0;i--)
 ^
0_0_13212516_3323.cpp:26:1: error: stray '\241' in program
0_0_13212516_3323.cpp: In function 'void Add(char*, char*)':
0_0_13212516_3323.cpp:4:17: error: expected ']' before ';' token
 #define M 100000;
                 ^
0_0_13212516_3323.cpp:8:15: note: in expansion of macro 'M'
      int num1[M],num2[M],len1,len2;
               ^
0_0_13212516_3323.cpp:8:16: error: expected primary-expression before ']' token
      int num1[M],num2[M],len1,len2;
                ^
0_0_13212516_3323.cpp:8:24: error: expected primary-expression before ']' token
      int num1[M],num2[M],len1,len2;
                        ^
0_0_13212516_3323.cpp:10:6: error: 'len1' was not declared in this scope
      len1=strlen(s1);
      ^
0_0_13212516_3323.cpp:11:6: error: 'len2' was not declared in this scope
      len2=strlen(s2);
      ^
0_0_13212516_3323.cpp:13:14: error: 'num1' was not declared in this scope
              num1[j++]=s1[i]-'0';
              ^
0_0_13212516_3323.cpp:15:14: error: 'num2' was not declared in this scope
              num2[j++]=s2[i]-'0';
              ^
0_0_13212516_3323.cpp:16:17: error: expected primary-expression before ';' token
      for(i=0;i<M;i++)
                 ^
0_0_13212516_3323.cpp:16:17: error: expected ')' before ';' token
0_0_13212516_3323.cpp:16:21: error: expected ';' before ')' token
      for(i=0;i<M;i++)
                     ^
0_0_13212516_3323.cpp:41:5: 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-11-23 08:01:11, Gzip enabled