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_16944379_16075.cpp:1:2: error: invalid preprocessing directive #iinclude
 #iinclude<iostream>
  ^
0_0_16944379_16075.cpp: In function 'int main()':
0_0_16944379_16075.cpp:8:8: error: 'cin' was not declared in this scope
  while(cin>>x1>>y1>>x2>>y2)
        ^
0_0_16944379_16075.cpp:10:45: error: 'sqrt' was not declared in this scope
   res = sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1));
                                             ^
0_0_16944379_16075.cpp:11:3: error: 'cout' was not declared in this scope
   cout<<setprecision(2)<<setiosflags(ios::fixed | ios::showpoint)<<res<<endl;
   ^
0_0_16944379_16075.cpp:11:38: error: incomplete type 'std::ios {aka std::basic_ios<char>}' used in nested name specifier
   cout<<setprecision(2)<<setiosflags(ios::fixed | ios::showpoint)<<res<<endl;
                                      ^
0_0_16944379_16075.cpp:11:51: error: incomplete type 'std::ios {aka std::basic_ios<char>}' used in nested name specifier
   cout<<setprecision(2)<<setiosflags(ios::fixed | ios::showpoint)<<res<<endl;
                                                   ^
0_0_16944379_16075.cpp:11:73: error: 'endl' was not declared in this scope
   cout<<setprecision(2)<<setiosflags(ios::fixed | ios::showpoint)<<res<<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-12-02 08:30:44, Gzip enabled