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_18784246_30771.cpp: In function 'int main()':
0_0_18784246_30771.cpp:72:3: error: 'thread' was not declared in this scope
   thread a1(th, 1);
   ^
0_0_18784246_30771.cpp:73:10: error: expected ';' before 'a2'
   thread a2(th, 2);
          ^
0_0_18784246_30771.cpp:74:10: error: expected ';' before 'a3'
   thread a3(th, 3);
          ^
0_0_18784246_30771.cpp:75:10: error: expected ';' before 'a4'
   thread a4(th, 4);
          ^
0_0_18784246_30771.cpp:76:3: error: 'a1' was not declared in this scope
   a1.join();
   ^
0_0_18784246_30771.cpp:77:3: error: 'a2' was not declared in this scope
   a2.join();
   ^
0_0_18784246_30771.cpp:78:3: error: 'a3' was not declared in this scope
   a3.join();
   ^
0_0_18784246_30771.cpp:79:3: error: 'a4' was not declared in this scope
   a4.join();
   ^


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-26 16:09:14, Gzip enabled