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_24913910_8768.cpp: In function 'int main()':
0_0_24913910_8768.cpp:5:5: error: 'chara' was not declared in this scope
     chara[1001], b[1001];  
     ^
0_0_24913910_8768.cpp:5:18: error: 'b' was not declared in this scope
     chara[1001], b[1001];  
                  ^
0_0_24913910_8768.cpp:6:5: error: 'intn' was not declared in this scope
     intn, i, lena, lenb, len_max, x = 1, k;  
     ^
0_0_24913910_8768.cpp:6:11: error: 'i' was not declared in this scope
     intn, i, lena, lenb, len_max, x = 1, k;  
           ^
0_0_24913910_8768.cpp:6:14: error: 'lena' was not declared in this scope
     intn, i, lena, lenb, len_max, x = 1, k;  
              ^
0_0_24913910_8768.cpp:6:20: error: 'lenb' was not declared in this scope
     intn, i, lena, lenb, len_max, x = 1, k;  
                    ^
0_0_24913910_8768.cpp:6:26: error: 'len_max' was not declared in this scope
     intn, i, lena, lenb, len_max, x = 1, k;  
                          ^
0_0_24913910_8768.cpp:6:35: error: 'x' was not declared in this scope
     intn, i, lena, lenb, len_max, x = 1, k;  
                                   ^
0_0_24913910_8768.cpp:6:42: error: 'k' was not declared in this scope
     intn, i, lena, lenb, len_max, x = 1, k;  
                                          ^
0_0_24913910_8768.cpp:7:17: error: 'n' was not declared in this scope
     scanf("%d",&n);  
                 ^
0_0_24913910_8768.cpp:11:9: error: 'inta1' was not declared in this scope
         inta1[10001] = {0}, b1[10001] = {0}, s[20002] = {0};  
         ^
0_0_24913910_8768.cpp:11:29: error: 'b1' was not declared in this scope
         inta1[10001] = {0}, b1[10001] = {0}, s[20002] = {0};  
                             ^
0_0_24913910_8768.cpp:11:46: error: 's' was not declared in this scope
         inta1[10001] = {0}, b1[10001] = {0}, s[20002] = {0};  
                                              ^
0_0_24913910_8768.cpp:12:20: error: 'a' was not declared in this scope
         scanf("%s",a);  
                    ^
0_0_24913910_8768.cpp:16:13: error: 'a1' was not declared in this scope
             a1[i]= a[lena - 1 - i] - '0';  
             ^
0_0_24913910_8768.cpp:29:20: error: 'a1' was not declared in this scope
             s[i]= (a1[i] + b1[i] + k) % 10;  
                    ^
0_0_24913910_8768.cpp:46:5: error: 'return0' was not declared in this scope
     return0;  
     ^


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-07-06 01:09:28, Gzip enabled