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_10334507_478.cpp: In function `int main()':
0_0_10334507_478.cpp:36: error: `memset' undeclared (first use this function)
0_0_10334507_478.cpp:36: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_10334507_478.cpp: At global scope:
0_0_10334507_478.cpp:51: error: redefinition of `int D'
0_0_10334507_478.cpp:2: error: `int D' previously declared here
0_0_10334507_478.cpp:51: error: redefinition of `int A'
0_0_10334507_478.cpp:2: error: `int A' previously declared here
0_0_10334507_478.cpp:51: error: redefinition of `int K'
0_0_10334507_478.cpp:2: error: `int K' previously declared here
0_0_10334507_478.cpp:51: error: redefinition of `int X'
0_0_10334507_478.cpp:2: error: `int X' previously declared here
0_0_10334507_478.cpp:51: error: redefinition of `int N'
0_0_10334507_478.cpp:2: error: `int N' previously declared here
0_0_10334507_478.cpp: In function `long long int sum(long long int*)':
0_0_10334507_478.cpp:53: error: redefinition of `long long int sum(long long int*)'
0_0_10334507_478.cpp:4: error: `long long int sum(long long int*)' previously defined here
0_0_10334507_478.cpp: In function `void datatype_birth(long long int*, long long int*)':
0_0_10334507_478.cpp:61: error: redefinition of `void datatype_birth(long long int*, long long int*)'
0_0_10334507_478.cpp:12: error: `void datatype_birth(long long int*, long long int*)' previously defined here
0_0_10334507_478.cpp: In function `void datatype_death(long long int*)':
0_0_10334507_478.cpp:70: error: redefinition of `void datatype_death(long long int*)'
0_0_10334507_478.cpp:21: error: `void datatype_death(long long int*)' previously defined here
0_0_10334507_478.cpp: In function `int main()':
0_0_10334507_478.cpp:76: error: redefinition of `int main()'
0_0_10334507_478.cpp:27: error: `int main()' previously defined here
0_0_10334507_478.cpp:85: error: `memset' undeclared (first use this function)


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-16 13:02:42, Gzip enabled