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

洛谷 P3954 [NOIP2017 普及组] 成绩 更多...

#include <luogu.h>

静态 Public 成员函数

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

详细描述

洛谷 P3954 [NOIP2017 普及组] 成绩

在文件 luogu.h122 行定义.

成员函数说明

◆ main()

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

在文件 luogu.cpp337 行定义.

337 {
338 unsigned short a;
339 unsigned short b;
340 unsigned short c;
341 cin >> a >> b >> c;
342 cout << (a * 2 + b * 3 + c * 5) / 10;
343 return 0;
344 }

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


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