洛谷 P5710 【深基3.例2】数的性质
更多...
#include <luogu.h>
|
static int | main (istream &cin, ostream &cout) |
|
洛谷 P5710 【深基3.例2】数的性质
在文件 luogu.h 第 128 行定义.
◆ main()
int luogu::P5710::main |
( |
istream & |
cin, |
|
|
ostream & |
cout |
|
) |
| |
|
static |
在文件 luogu.cpp 第 346 行定义.
349 const bool b1 = x % 2 == 0;
350 const bool b2 = x > 4 && x <= 12;
351 cout << static_cast<int>(b1 && b2) <<
" " <<
static_cast<int>(b1 || b2) <<
" " << (b1 xor b2) <<
" " <<
static_cast<int>(!b1 && !b2);
被这些函数引用 luogu::TEST().
该类的文档由以下文件生成: