problemscpp
A collection of my answers to algorithm problems in c++.
acwing
acwing616
静态 Public 成员函数
|
所有成员列表
acwing::acwing616类 参考
#include <
acwing.h
>
静态 Public 成员函数
static int
main
(istream &, ostream &)
详细描述
在文件
acwing.h
第
62
行定义.
成员函数说明
◆
main()
int acwing::acwing616::main
(
istream &
cin
,
ostream &
cout
)
static
在文件
acwing.cpp
第
121
行定义.
121
{
122
double
x1;
123
double
y1;
124
double
x2;
125
double
y2;
126
cin >> x1 >> y1 >> x2 >> y2;
127
cout << setiosflags(ios::fixed) << setprecision(4) << sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2));
128
return
0;
129
}
被这些函数引用
acwing::TEST()
.
该类的文档由以下文件生成:
acwing.h
acwing.cpp
制作者
1.9.2