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_6037676_2545.c:2: error: syntax error before '/' token
0_0_6037676_2545.c:7: error: syntax error before string constant
0_0_6037676_2545.c:7: error: conflicting types for 'scanf'
0_0_6037676_2545.c:7: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
0_0_6037676_2545.c:7: error: conflicting types for 'scanf'
0_0_6037676_2545.c:7: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
0_0_6037676_2545.c:11: error: syntax error before string constant
0_0_6037676_2545.c:16: error: syntax error before "for"
0_0_6037676_2545.c:19: error: syntax error before string constant
0_0_6037676_2545.c:20: error: syntax error before '+=' token
0_0_6037676_2545.c:24: error: redefinition of 'max_index'
0_0_6037676_2545.c:14: error: previous definition of 'max_index' was here
0_0_6037676_2545.c:24: error: `j' undeclared here (not in a function)
0_0_6037676_2545.c:25: error: syntax error before '}' token
0_0_6037676_2545.c:31: error: redefinition of 'y'
0_0_6037676_2545.c:15: error: previous definition of 'y' was here
0_0_6037676_2545.c:31: error: initializer element is not constant
0_0_6037676_2545.c:32: error: redefinition of 'result'
0_0_6037676_2545.c:13: error: previous definition of 'result' was here
0_0_6037676_2545.c:32: error: initializer element is not constant
0_0_6037676_2545.c:33: error: syntax error before '}' token
0_0_6037676_2545.c:37: error: redefinition of 'y'
0_0_6037676_2545.c:31: error: previous definition of 'y' was here
0_0_6037676_2545.c:37: error: redefinition of 'y'
0_0_6037676_2545.c:31: error: previous definition of 'y' was here
0_0_6037676_2545.c:38: error: redefinition of 'result'
0_0_6037676_2545.c:32: error: previous definition of 'result' was here
0_0_6037676_2545.c:38: error: redefinition of 'result'
0_0_6037676_2545.c:32: error: previous definition of 'result' was here
0_0_6037676_2545.c:38: error: `t' undeclared here (not in a function)
0_0_6037676_2545.c:39: error: syntax error before '}' token
0_0_6037676_2545.c:40: error: redefinition of 'min'
0_0_6037676_2545.c:13: error: previous definition of 'min' was here
0_0_6037676_2545.c:41: error: redefinition of 'max'
0_0_6037676_2545.c:13: error: previous definition of 'max' was here
0_0_6037676_2545.c:41: error: initializer element is not constant
0_0_6037676_2545.c:42: error: redefinition of 'sum'
0_0_6037676_2545.c:12: error: previous definition of 'sum' was here
0_0_6037676_2545.c:43: error: redefinition of 'min_index'
0_0_6037676_2545.c:14: error: previous definition of 'min_index' was here
0_0_6037676_2545.c:44: error: redefinition of 'max_index'
0_0_6037676_2545.c:24: error: previous definition of 'max_index' was here
0_0_6037676_2545.c:44: error: redefinition of 'max_index'
0_0_6037676_2545.c:24: error: previous definition of 'max_index' was here
0_0_6037676_2545.c:45: error: syntax error before '}' token
0_0_6037676_2545.c:50: error: redefinition of 'y'
0_0_6037676_2545.c:37: error: previous definition of 'y' was here
0_0_6037676_2545.c:50: error: redefinition of 'y'
0_0_6037676_2545.c:31: error: previous definition of 'y' was here
0_0_6037676_2545.c:50: error: initializer element is not constant
0_0_6037676_2545.c:51: error: redefinition of 'result'
0_0_6037676_2545.c:38: error: previous definition of 'result' was here
0_0_6037676_2545.c:51: error: redefinition of 'result'
0_0_6037676_2545.c:32: error: previous definition of 'result' was here
0_0_6037676_2545.c:51: error: initializer element is not constant
0_0_6037676_2545.c:52: error: syntax error before '}' token
0_0_6037676_2545.c:53: error: syntax error before string constant
0_0_6037676_2545.c:53: error: conflicting types for 'printf'
0_0_6037676_2545.c:53: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
0_0_6037676_2545.c:53: error: conflicting types for 'printf'
0_0_6037676_2545.c:53: 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-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-11 04:02:36, Gzip enabled