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_3186709_8897.cpp:11: error: variable or field `function' declared void
0_0_3186709_8897.cpp:11: error: expected `)' before "n"
0_0_3186709_8897.cpp:11: error: expected `)' before "m"
0_0_3186709_8897.cpp:11: error: initializer expression list treated as compound expression
0_0_3186709_8897.cpp:11: error: invalid conversion from `time_t (*)(time_t*)' to `int'
0_0_3186709_8897.cpp: In function `int main()':
0_0_3186709_8897.cpp:19: error: expected `;' before "t1"
0_0_3186709_8897.cpp:20: error: `t1' undeclared (first use this function)
0_0_3186709_8897.cpp:20: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_3186709_8897.cpp:21: error: `t2' undeclared (first use this function)
0_0_3186709_8897.cpp:22: error: `function' cannot be used as a function
0_0_3186709_8897.cpp: At global scope:
0_0_3186709_8897.cpp:26: error: variable or field `function' declared void
0_0_3186709_8897.cpp:26: error: redefinition of `int function'
0_0_3186709_8897.cpp:11: error: `int function' previously declared here
0_0_3186709_8897.cpp:26: error: expected `)' before "n"
0_0_3186709_8897.cpp:26: error: expected `)' before "m"
0_0_3186709_8897.cpp:27: 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-11-30 05:47:14, Gzip enabled