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_29699360_5675.cpp: In function 'int main()':
0_0_29699360_5675.cpp:4:2: error: 'cin' was not declared in this scope
  cin >> T;
  ^
0_0_29699360_5675.cpp:8:48: error: 'scanf' was not declared in this scope
          scanf("%lf%lf%lf%lf", &V1, &V2, &R, &D);
                                                ^
0_0_29699360_5675.cpp:9:44: error: 'asin' was not declared in this scope
          double ans = R / V1 * asin(V1 / V2);
                                            ^
0_0_29699360_5675.cpp:11:5: error: 'cout' was not declared in this scope
     cout << "Why give up treatment" << endl;
     ^
0_0_29699360_5675.cpp:11:40: error: 'endl' was not declared in this scope
     cout << "Why give up treatment" << endl;
                                        ^
0_0_29699360_5675.cpp:12:9: error: 'cout' was not declared in this scope
    else cout << "Wake up to code" << endl;
         ^
0_0_29699360_5675.cpp:12:38: error: 'endl' was not declared in this scope
    else cout << "Wake up to code" << 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-11-29 21:20:47, Gzip enabled