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_35762132_14118.cpp:4:11: error: 'k' was not declared in this scope
 int k_min(k[],n)//在一个数组中找出差值最小的两个数,并返回最小差值的绝对值
           ^
0_0_35762132_14118.cpp:4:13: error: expected primary-expression before ']' token
 int k_min(k[],n)//在一个数组中找出差值最小的两个数,并返回最小差值的绝对值
             ^
0_0_35762132_14118.cpp:4:15: error: 'n' was not declared in this scope
 int k_min(k[],n)//在一个数组中找出差值最小的两个数,并返回最小差值的绝对值
               ^
0_0_35762132_14118.cpp:4:16: error: expression list treated as compound expression in initializer [-fpermissive]
 int k_min(k[],n)//在一个数组中找出差值最小的两个数,并返回最小差值的绝对值
                ^
0_0_35762132_14118.cpp:5:1: error: expected ',' or ';' before '{' token
 {
 ^


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-04 15:51:31, Gzip enabled