洛谷 P2433 【深基1-2】小学数学 N 合一
更多...
#include <luogu.h>
|
static int | main (istream &cin, ostream &cout) |
|
洛谷 P2433 【深基1-2】小学数学 N 合一
在文件 luogu.h 第 78 行定义.
◆ main()
int luogu::P2433::main |
( |
istream & |
cin, |
|
|
ostream & |
cout |
|
) |
| |
|
static |
在文件 luogu.cpp 第 217 行定义.
221 cout <<
"I love Luogu!";
223 cout << 2 + 4 <<
" " << 10 - 2 - 4;
225 cout << 14 / 4 << endl
226 << 14 / 4 * 4 << endl
229 cout << setiosflags(ios::fixed) << setprecision(3) << 500.0 / 3.0;
231 cout << (260 + 220) / (12 + 20);
233 cout << sqrt(6 * 6 + 9 * 9);
237 cout << deposit << endl;
239 cout << deposit << endl;
241 cout << deposit << endl;
243 cout << 2 * 5 * 3.141593 << endl;
244 cout << 5 * 5 * 3.141593 << endl;
245 cout << 4 * 5 * 5 * 5 * 3.141593 / 3 << endl;
248 cout << (((peach + 1) * 2 + 1) * 2 + 1) * 2;
254 cout <<
'M' -
'A' + 1 << endl;
255 cout << static_cast<char>(
'A' - 1 + 18);
258 const double r2 = 10;
259 const double v1 = 4 * r1 * r1 * r1 * 3.141593 / 3;
260 const double v2 = 4 * r2 * r2 * r2 * 3.141593 / 3;
261 cout << static_cast<int>(pow(v1 + v2, 1.0 / 3.0));
被这些函数引用 luogu::TEST().
该类的文档由以下文件生成: