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_36486366_25824.cpp:3:9: error: 'pair' does not name a type
 typedef pair<int, int> PII;
         ^
0_0_36486366_25824.cpp: In function 'int main()':
0_0_36486366_25824.cpp:8:5: error: 'ios' has not been declared
     ios::sync_with_stdio(false);
     ^
0_0_36486366_25824.cpp:9:5: error: 'cin' was not declared in this scope
     cin.tie(0);
     ^
0_0_36486366_25824.cpp:15:76: error: 'cout' was not declared in this scope
         if(a >= b && a + (n - 1) * b <= n * c && (n - 1) * a + b >= n * c) cout << "yes\n";
                                                                            ^
0_0_36486366_25824.cpp:16:14: error: 'cout' was not declared in this scope
         else cout << "no\n";
              ^


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 06:56:56, Gzip enabled