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

AcWing 739. 数组选择 更多...

#include <acwing.h>

静态 Public 成员函数

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

详细描述

AcWing 739. 数组选择

在文件 acwing.h938 行定义.

成员函数说明

◆ main()

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

在文件 acwing.cpp2856 行定义.

2856 {
2857 double a;
2858 cout << setiosflags(ios::fixed) << setprecision(1);
2859 for(int i = 0; i < 100; i++) {
2860 cin >> a;
2861 if(a <= 10) {
2862 cout << "A[" << i << "] = " << a << endl;
2863 }
2864 }
2865 return 0;
2866 }

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