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_8120589_3131.c: In function `add':
0_0_8120589_3131.c:28: error: syntax error before '/' token
0_0_8120589_3131.c: At top level:
0_0_8120589_3131.c:37: error: redefinition of 'lengtha'
0_0_8120589_3131.c:31: error: previous definition of 'lengtha' was here
0_0_8120589_3131.c:37: error: `p' undeclared here (not in a function)
0_0_8120589_3131.c:37: error: initializer element is not constant
0_0_8120589_3131.c:38: error: redefinition of 'lengthb'
0_0_8120589_3131.c:32: error: previous definition of 'lengthb' was here
0_0_8120589_3131.c:38: error: `q' undeclared here (not in a function)
0_0_8120589_3131.c:38: error: initializer element is not constant
0_0_8120589_3131.c:40: error: conflicting types for 'max'
0_0_8120589_3131.c:33: error: previous definition of 'max' was here
0_0_8120589_3131.c:41: error: conflicting types for 'min'
0_0_8120589_3131.c:34: error: previous definition of 'min' was here
0_0_8120589_3131.c:43: error: redefinition of 'lengtha'
0_0_8120589_3131.c:37: error: previous definition of 'lengtha' was here
0_0_8120589_3131.c:43: error: redefinition of 'lengtha'
0_0_8120589_3131.c:37: error: previous definition of 'lengtha' was here
0_0_8120589_3131.c:43: error: initializer element is not constant
0_0_8120589_3131.c:44: error: redefinition of 'lengthb'
0_0_8120589_3131.c:38: error: previous definition of 'lengthb' was here
0_0_8120589_3131.c:44: error: redefinition of 'lengthb'
0_0_8120589_3131.c:38: error: previous definition of 'lengthb' was here
0_0_8120589_3131.c:44: error: initializer element is not constant
0_0_8120589_3131.c:46: error: syntax error before "for"
0_0_8120589_3131.c:60: error: syntax error before '++' token
0_0_8120589_3131.c:69: error: conflicting types for 'pp'
0_0_8120589_3131.c:29: error: previous declaration of 'pp' was here
0_0_8120589_3131.c:69: error: invalid initializer
0_0_8120589_3131.c:70: error: syntax error before '}' token
0_0_8120589_3131.c:81: error: syntax error before string constant
0_0_8120589_3131.c:81: error: conflicting types for 'printf'
0_0_8120589_3131.c:81: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
0_0_8120589_3131.c:81: error: conflicting types for 'printf'
0_0_8120589_3131.c:81: note: a parameter list with an ellipsis can't match an empty parameter name list declaration


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-17 04:00:26, Gzip enabled