problemscpp
A collection of my answers to algorithm problems in c++.
| 函数
luogu::P5744 命名空间参考

洛谷 P5744 【深基7.习9】培训 更多...

class  P5744
 
struct  Student
 学员 更多...
 

函数

 TEST (P5744, case1)
 

详细描述

洛谷 P5744 【深基7.习9】培训

函数说明

◆ TEST()

luogu::P5744::TEST ( P5744  ,
case1   
)

在文件 luogu_test.cpp1411 行定义.

1411 {
1412 istringstream in("3\n"
1413 "kkksc03 24 0\n"
1414 "chen_zhe 14 400\n"
1415 "nzhtl1477 18 590");
1416 auto out = ostringstream();
1417 P5744::main(in, out);
1418 const auto ans = out.str();
1419 ASSERT_EQ("kkksc03 25 0\n"
1420 "chen_zhe 15 480\n"
1421 "nzhtl1477 19 600\n",
1422 ans);
1423 }
int main(int argc, char **argv)
Definition: main.cpp:5

引用了 main().