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_30089662_9282.cpp:78:5: error: redefinition of 'int n'
 int n, L;
     ^
0_0_30089662_9282.cpp:11:5: note: 'int n' previously declared here
 int n,l;
     ^
0_0_30089662_9282.cpp:79:10: error: conflicting declaration 'char s [30]'
 char s[30], ss[30], str[60];
          ^
0_0_30089662_9282.cpp:12:6: note: previous declaration as 'char s [102]'
 char s[maxl],ss[maxl],str[maxl];
      ^
0_0_30089662_9282.cpp:79:18: error: conflicting declaration 'char ss [30]'
 char s[30], ss[30], str[60];
                  ^
0_0_30089662_9282.cpp:12:14: note: previous declaration as 'char ss [102]'
 char s[maxl],ss[maxl],str[maxl];
              ^
0_0_30089662_9282.cpp:79:27: error: conflicting declaration 'char str [60]'
 char s[30], ss[30], str[60];
                           ^
0_0_30089662_9282.cpp:12:23: note: previous declaration as 'char str [102]'
 char s[maxl],ss[maxl],str[maxl];
                       ^


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-27 01:05:21, Gzip enabled