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

洛谷 P5712 【深基3.例4】Apples 更多...

#include <luogu.h>

静态 Public 成员函数

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

详细描述

洛谷 P5712 【深基3.例4】Apples

在文件 luogu.h140 行定义.

成员函数说明

◆ main()

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

在文件 luogu.cpp380 行定义.

380 {
381 unsigned short x;
382 cin >> x;
383 cout << "Today, I ate " << x << " apple";
384 if(x > 1) {
385 cout << "s";
386 }
387 cout << ".";
388 return 0;
389 }

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


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