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_27877541_325.cpp:31:6: error: 'MAXN' was not declared in this scope
 } x1[MAXN], x2[MAXN], x[MAXN];
      ^
0_0_27877541_325.cpp:31:16: error: 'MAXN' was not declared in this scope
 } x1[MAXN], x2[MAXN], x[MAXN];
                ^
0_0_27877541_325.cpp:31:25: error: 'MAXN' was not declared in this scope
 } x1[MAXN], x2[MAXN], x[MAXN];
                         ^
0_0_27877541_325.cpp: In function 'int main()':
0_0_27877541_325.cpp:70:15: error: 'MAXN' was not declared in this scope
     char str1[MAXN], str2[MAXN], ans[MAXN];
               ^
0_0_27877541_325.cpp:73:20: error: 'str1' was not declared in this scope
         scanf("%s",str1);
                    ^
0_0_27877541_325.cpp:74:20: error: 'str2' was not declared in this scope
         scanf("%s",str2);
                    ^
0_0_27877541_325.cpp:75:16: error: 'x1' was not declared in this scope
         memset(x1,0,sizeof(x1));
                ^
0_0_27877541_325.cpp:76:16: error: 'x2' was not declared in this scope
         memset(x2,0,sizeof(x2));
                ^
0_0_27877541_325.cpp:77:16: error: 'x' was not declared in this scope
         memset(x,0,sizeof(x));
                ^
0_0_27877541_325.cpp:97:16: error: 'ans' was not declared in this scope
         memset(ans,0,sizeof(ans));
                ^


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 06:27:38, Gzip enabled