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

AcWing 721. 递增序列 更多...

#include <acwing.h>

静态 Public 成员函数

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

详细描述

AcWing 721. 递增序列

在文件 acwing.h754 行定义.

成员函数说明

◆ main()

int acwing::acwing721::main ( istream &  cin,
ostream &  cout 
)
static

在文件 acwing.cpp2164 行定义.

2164 {
2165 unsigned short x;
2166 while(cin >> x) {
2167 if(x == 0) {
2168 return 0;
2169 }
2170 for(int i = 1; i <= x; i++) {
2171 cout << i << " ";
2172 }
2173 cout << endl;
2174 }
2175 return 0;
2176 }

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


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