problemscpp
A collection of my answers to algorithm problems in c++.
载入中...
搜索中...
未找到
acwing::acwing87 命名空间参考

AcWing 87. 把字符串转换成整数 更多...

class  Solution
 

函数

 TEST (acwing87, case1)
 

详细描述

AcWing 87. 把字符串转换成整数

函数说明

◆ TEST()

acwing::acwing87::TEST ( acwing87 ,
case1  )

在文件 acwing_test.cpp2354 行定义.

2354 {
2355 ASSERT_EQ(123, Solution::strToInt("123"));
2356 }
static int strToInt(string str)

引用了 acwing::acwing87::Solution::strToInt().