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_15198441_5008.cpp: In function 'int main()':
0_0_15198441_5008.cpp:38:2: error: incomplete type 'std::ios {aka std::basic_ios<char>}' used in nested name specifier
  ios::sync_with_stdio(false);
  ^
0_0_15198441_5008.cpp:39:2: error: 'cin' was not declared in this scope
  cin >> tst_case;
  ^
0_0_15198441_5008.cpp:44:3: error: 'cout' was not declared in this scope
   cout << setiosflags(ios::fixed) << setprecision(3) << ans << endl;
   ^
0_0_15198441_5008.cpp:44:23: error: incomplete type 'std::ios {aka std::basic_ios<char>}' used in nested name specifier
   cout << setiosflags(ios::fixed) << setprecision(3) << ans << endl;
                       ^
0_0_15198441_5008.cpp:44:64: error: 'endl' was not declared in this scope
   cout << setiosflags(ios::fixed) << setprecision(3) << ans << endl;
                                                                ^


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-07-07 05:30:42, Gzip enabled