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_15686028_13357.cpp: In function 'int main()':
0_0_15686028_13357.cpp:34:17: error: 'clock' is not a member of 'std'
 const auto t0 = std::clock();
                 ^
0_0_15686028_13357.cpp:36:33: error: 'memset' was not declared in this scope
         memset(mem,-1,sizeof mem);
                                 ^
0_0_15686028_13357.cpp:42:16: error: 'clock' is not a member of 'std'
   while (1000*(std::clock() - t0) / CLOCKS_PER_SEC < 3000)
                ^
0_0_15686028_13357.cpp:42:37: error: 'CLOCKS_PER_SEC' was not declared in this scope
   while (1000*(std::clock() - t0) / CLOCKS_PER_SEC < 3000)
                                     ^


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-12-02 14:12:10, Gzip enabled