0_0_36787324_23145.cpp:1:1: error: 'include' does not name a type
include<iostream>
^
0_0_36787324_23145.cpp: In function 'int round(double)':
0_0_36787324_23145.cpp:6:19: error: ambiguating new declaration of 'int round(double)'
int round(double a){
^
In file included from 0_0_36787324_23145.cpp:2:0:
GCC4.9.2/x86_64-w64-mingw32/include/math.h:874:25: note: old declaration 'double round(double)'
extern double __cdecl round (double);
^
0_0_36787324_23145.cpp: In function 'int main()':
0_0_36787324_23145.cpp:19:5: error: 'cin' was not declared in this scope
cin>>n1>>n3;//n1是接力人数,n3是公里数
^
0_0_36787324_23145.cpp:22:9: error: 'cout' was not declared in this scope
cout.width(3);
^
0_0_36787324_23145.cpp:35:28: error: 'endl' was not declared in this scope
cout<<"-"<<endl;
^
0_0_36787324_23145.cpp:78:26: error: 'endl' was not declared in this scope
cout<<" min/km"<<endl;
^
|