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

Commit 45ca712

Browse files
committed
Update romanToInt.java
1 parent 97aa965 commit 45ca712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎LeetCode/romanToInt.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static int toRoman(String s){
4646
}
4747

4848

49-
return sum+nums[nums.length-1]; //return the sum+ variable at last index-1
49+
return sum+nums[nums.length-1]; //return the sum variable at last index-1
5050

5151
}
5252
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /