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

洛谷 P5713 【深基3.例5】洛谷团队系统 更多...

#include <luogu.h>

静态 Public 成员函数

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

详细描述

洛谷 P5713 【深基3.例5】洛谷团队系统

在文件 luogu.h146 行定义.

成员函数说明

◆ main()

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

在文件 luogu.cpp391 行定义.

391 {
392 unsigned int n;
393 cin >> n;
394 const unsigned int local = n * 5;
395 const unsigned int luogu = 11 + 3 * n;
396 if(local < luogu) {
397 cout << "Local";
398 } else {
399 cout << "Luogu";
400 }
401 return 0;
402 }
Definition: luogu.cpp:18

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


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