洛谷 P1424 小鱼的航程(改进版)
更多...
#include <luogu.h>
|
static int | main (istream &cin, ostream &cout) |
|
洛谷 P1424 小鱼的航程(改进版)
在文件 luogu.h 第 202 行定义.
◆ main()
int luogu::P1424::main |
( |
istream & | cin, |
|
|
ostream & | cout ) |
|
static |
在文件 luogu.cpp 第 528 行定义.
528 {
529 unsigned short x;
532 x--;
533 unsigned int count =
n / 7 * 5 * 250;
535 for(
unsigned int i = 0; i <
n; i++) {
536 if((x + i) % 7 < 5) {
537 count += 250;
538 }
539 }
540 cout << count;
541 return 0;
542 }
被这些函数引用 luogu::TEST().
该类的文档由以下文件生成: