problemscpp
A collection of my answers to algorithm problems in c++.
静态 Public 成员函数 | 所有成员列表
luogu::P5706类 参考

洛谷 P5706 【深基2.例8】再分肥宅水 更多...

#include <luogu.h>

静态 Public 成员函数

static int main (istream &cin, ostream &cout)
 

详细描述

洛谷 P5706 【深基2.例8】再分肥宅水

在文件 luogu.h62 行定义.

成员函数说明

◆ main()

int luogu::P5706::main ( istream &  cin,
ostream &  cout 
)
static

在文件 luogu.cpp197 行定义.

197 {
198 double t;
199 int n;
200 cin >> t >> n;
201 cout << setiosflags(ios::fixed) << setprecision(3) << t / n << endl
202 << n * 2;
203 return 0;
204 }

被这些函数引用 luogu::TEST().


该类的文档由以下文件生成: