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

AcWing 16. 替换空格 更多...

class  Solution
 

函数

 TEST (acwing16, case1)
 

详细描述

AcWing 16. 替换空格

函数说明

◆ TEST()

acwing::acwing16::TEST ( acwing16  ,
case1   
)

在文件 acwing_test.cpp2347 行定义.

2347 {
2348 string input = "We are happy.";
2349 ASSERT_EQ("We%20are%20happy.", Solution::replaceSpaces(input));
2350 }

引用了 acwing::acwing16::Solution::replaceSpaces().