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

洛谷 P5715 【深基3.例8】三位数排序 更多...

#include <luogu.h>

静态 Public 成员函数

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

详细描述

洛谷 P5715 【深基3.例8】三位数排序

在文件 luogu.h152 行定义.

成员函数说明

◆ main()

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

在文件 luogu.cpp404 行定义.

404 {
405 unsigned int abc[3];
406 cin >> abc[0] >> abc[1] >> abc[2];
407 sort(abc, abc + 3);
408 for(const auto i: abc) {
409 cout << i << " ";
410 }
411 return 0;
412 }

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


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