Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit44b2ef2

Browse files
refactor 1
1 parent5622cd0 commit44b2ef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎cpp/_1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Solution {
2323
if (m.find(nums[i]) == m.end() ) {
2424
// store the first one poisition into the second one's key
2525
m[target - nums[i]] = i;
26-
}else {
26+
}else {
2727
// found the second one
2828
result.push_back(m[nums[i]]);
2929
result.push_back(i);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp