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_39128605_10770.cpp:6:44: error: stray '\243' in program
    6 | int a [maxn] , b[maxn] , c [maxn];int main(<a3><a9>
      |                                            ^~~~
0_0_39128605_10770.cpp:6:45: error: stray '\251' in program
    6 | int a [maxn] , b[maxn] , c [maxn];int main(<a3><a9>
      |                                                ^~~~
0_0_39128605_10770.cpp:10:27: error: stray '\243' in program
   10 | int len = max (A. length()<a3><ac>B.length ( ) ) ;
      |                           ^~~~
0_0_39128605_10770.cpp:10:28: error: stray '\254' in program
   10 | int len = max (A. length()<a3><ac>B.length ( ) ) ;
      |                               ^~~~
0_0_39128605_10770.cpp:11:28: error: stray '\243' in program
   11 | for (int i = A.length() - 1<a3><ac>j = l; i >= 0; i--<a3><ac>j++)
      |                            ^~~~
0_0_39128605_10770.cpp:11:29: error: stray '\254' in program
   11 | for (int i = A.length() - 1<a3><ac>j = l; i >= 0; i--<a3><ac>j++)
      |                                ^~~~
0_0_39128605_10770.cpp:11:48: error: stray '\243' in program
   11 | for (int i = A.length() - 1<a3><ac>j = l; i >= 0; i--<a3><ac>j++)
      |                                                      ^~~~
0_0_39128605_10770.cpp:11:49: error: stray '\254' in program
   11 | for (int i = A.length() - 1<a3><ac>j = l; i >= 0; i--<a3><ac>j++)
      |                                                          ^~~~
0_0_39128605_10770.cpp:13:48: error: stray '\243' in program
   13 | for (int i = B.length () - 1,j = 1; i >= 0; i--<a3><ac>j++)
      |                                                ^~~~
0_0_39128605_10770.cpp:13:49: error: stray '\254' in program
   13 | for (int i = B.length () - 1,j = 1; i >= 0; i--<a3><ac>j++)
      |                                                    ^~~~
0_0_39128605_10770.cpp:6:39: error: cannot declare '::main' to be a global variable
    6 | int a [maxn] , b[maxn] , c [maxn];int main()
      |                                       ^~~~
0_0_39128605_10770.cpp:8:8: error: expected primary-expression before 'A'
    8 | string A,B;
      |        ^
0_0_39128605_10770.cpp:8:8: error: expected '}' before 'A'
0_0_39128605_10770.cpp:7:1: note: to match this '{'
    7 | {
      | ^
0_0_39128605_10770.cpp:8:7: error: expected ')' before 'A'
    8 | string A,B;
      |       ^~
      |       )
0_0_39128605_10770.cpp:6:43: note: to match this '('
    6 | int a [maxn] , b[maxn] , c [maxn];int main()
      |                                           ^
0_0_39128605_10770.cpp:8:10: error: 'B' was not declared in this scope
    8 | string A,B;
      |          ^
0_0_39128605_10770.cpp:9:1: error: 'cin' does not name a type
    9 | cin >>A>>B;
      | ^~~
0_0_39128605_10770.cpp:10:16: error: 'A' was not declared in this scope
   10 | int len = max (A. length(),B.length ( ) ) ;
      |                ^
0_0_39128605_10770.cpp:11:1: error: expected unqualified-id before 'for'
   11 | for (int i = A.length() - 1,j = l; i >= 0; i--,j++)
      | ^~~
0_0_39128605_10770.cpp:11:37: error: 'i' does not name a type
   11 | for (int i = A.length() - 1,j = l; i >= 0; i--,j++)
      |                                     ^
0_0_39128605_10770.cpp:11:45: error: 'i' does not name a type
   11 | for (int i = A.length() - 1,j = l; i >= 0; i--,j++)
      |                                             ^
0_0_39128605_10770.cpp:13:1: error: expected unqualified-id before 'for'
   13 | for (int i = B.length () - 1,j = 1; i >= 0; i--,j++)
      | ^~~
0_0_39128605_10770.cpp:13:37: error: 'i' does not name a type
   13 | for (int i = B.length () - 1,j = 1; i >= 0; i--,j++)
      |                                     ^
0_0_39128605_10770.cpp:13:45: error: 'i' does not name a type
   13 | for (int i = B.length () - 1,j = 1; i >= 0; i--,j++)
      |                                             ^
0_0_39128605_10770.cpp:15:1: error: expected unqualified-id before 'for'
   15 | for (int i = l; i <= len; i++){
      | ^~~
0_0_39128605_10770.cpp:15:17: error: 'i' does not name a type
   15 | for (int i = l; i <= len; i++){
      |                 ^
0_0_39128605_10770.cpp:15:27: error: 'i' does not name a type
   15 | for (int i = l; i <= len; i++){
      |                           ^
0_0_39128605_10770.cpp:20:1: error: expected unqualified-id before 'if'
   20 | if(c [ len + 1])//最后进位可能会导致位数增加
      | ^~
0_0_39128605_10770.cpp:22:1: error: expected unqualified-id before 'for'
   22 | for (int i = len;i >= 1; i--)
      | ^~~
0_0_39128605_10770.cpp:22:18: error: 'i' does not name a type
   22 | for (int i = len;i >= 1; i--)
      |                  ^
0_0_39128605_10770.cpp:22:26: error: 'i' does not name a type
   22 | for (int i = len;i >= 1; i--)
      |                          ^
0_0_39128605_10770.cpp:24:1: error: expected declaration before '}' token
   24 | }
      | ^


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-16 03:25:33, Gzip enabled