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

Commitfd1888a

Browse files
authored
Looks more meaningful (TheAlgorithms#2128)
Because in the future, the variable len is not used anywhere
1 parent40318a0 commitfd1888a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎DynamicProgramming/LongestValidParentheses.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ public static void main(String[] args) {
4949
if ("quit".equals(str)) {
5050
break;
5151
}
52-
intlen =getLongestValidParentheses(str);
53-
System.out.println(len);
52+
53+
System.out.println("Len is: " +getLongestValidParentheses(str));
5454
}
5555

5656
sc.close();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp