洛谷 P1046 [NOIP2005 普及组] 陶陶摘苹果
更多...
#include <luogu.h>
|
static int | main (istream &cin, ostream &cout) |
|
洛谷 P1046 [NOIP2005 普及组] 陶陶摘苹果
在文件 luogu.h 第 215 行定义.
◆ main()
int luogu::P1046::main |
( |
istream & | cin, |
|
|
ostream & | cout ) |
|
static |
在文件 luogu.cpp 第 570 行定义.
570 {
571 int h[10];
572 for(int &i: h) {
573 cin >> i;
574 }
575 int t;
576 cin >> t;
577 t += 30;
578 int count = 0;
579 for(const int i: h) {
580 if(t >= i) {
581 count++;
582 }
583 }
584 cout << count;
585 return 0;
586 }
被这些函数引用 luogu::TEST().
该类的文档由以下文件生成: