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_35965626_25596.cpp: In function 'void tengxun_anpaijiqi()':
0_0_35965626_25596.cpp:26:25: error: 'scanf' was not declared in this scope
     scanf("%d%d", &n, &m);   //输入机器数量和任务数量
                         ^
0_0_35965626_25596.cpp:27:5: error: 'vector' was not declared in this scope
     vector<T_L> machine(n);
     ^
0_0_35965626_25596.cpp:27:15: error: expected primary-expression before '>' token
     vector<T_L> machine(n);
               ^
0_0_35965626_25596.cpp:27:26: error: 'machine' was not declared in this scope
     vector<T_L> machine(n);
                          ^
0_0_35965626_25596.cpp:28:15: error: expected primary-expression before '>' token
     vector<T_L> task(m);
               ^
0_0_35965626_25596.cpp:28:23: error: 'task' was not declared in this scope
     vector<T_L> task(m);
                       ^
0_0_35965626_25596.cpp:37:55: error: 'sort' was not declared in this scope
     sort(machine.begin(), machine.end(), mygreator_r());
                                                       ^
0_0_35965626_25596.cpp:64:35: error: 'printf' was not declared in this scope
     printf("%d %d\n", count,result);
                                   ^


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-17 02:31:53, Gzip enabled