problemscpp
A collection of my answers to algorithm problems in c++.
载入中...
搜索中...
未找到
acwing::acwing805类 参考

AcWing 805. x和y的最大值 更多...

#include <acwing.h>

静态 Public 成员函数

static int main (istream &cin, ostream &cout)
 
static int max (int x, int y)
 

详细描述

AcWing 805. x和y的最大值

在文件 acwing.h1364 行定义.

成员函数说明

◆ main()

int acwing::acwing805::main ( istream & cin,
ostream & cout )
static

在文件 acwing.cpp4400 行定义.

4400 {
4401 int x;
4402 int y;
4403 cin >> x >> y;
4404 cout << max(x, y);
4405 return 0;
4406 }
static int max(int x, int y)

引用了 max().

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

◆ max()

int acwing::acwing805::max ( int x,
int y )
static

在文件 acwing.cpp4408 行定义.

4408{ return x > y ? x : y; }

被这些函数引用 main().


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