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

洛谷 P1427 小鱼的数字游戏 更多...

#include <luogu.h>

静态 Public 成员函数

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

详细描述

洛谷 P1427 小鱼的数字游戏

在文件 luogu.h377 行定义.

成员函数说明

◆ main()

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

在文件 luogu.cpp1109 行定义.

1109 {
1110 unsigned int n;
1111 auto vec = vector<unsigned int>();
1112 while(true) {
1113 cin >> n;
1114 if(n == 0) {
1115 break;
1116 }
1117 vec.push_back(n);
1118 }
1119 for(auto i = vec.rbegin(); i != vec.rend(); ++i) {
1120 cout << *i << " ";
1121 }
1122 return 0;
1123 }
int vec[100010]
Definition: pat.cpp:5095

引用了 pat::a::a7_2::vec.

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


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