Skip to content

Commit 97bf089

Browse files
authored
Update 24-game.cpp
1 parent bff4efe commit 97bf089

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

C++/24-game.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
class Solution {
55
public:
66
bool judgePoint24(vector<int>& nums) {
7-
vector<double> fraction_nums;
8-
std::transform(nums.begin(), nums.end(), std::back_inserter(fraction_nums),
7+
vector<double> doubles;
8+
std::transform(nums.begin(), nums.end(), std::back_inserter(doubles),
99
[](const int num) { return double(num); });
10-
return dfs(fraction_nums);
10+
return dfs(doubles);
1111
}
1212

1313
private:

0 commit comments

Comments
 (0)