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

Commit2aba62d

Browse files
committed
dp
1 parente02af9c commit2aba62d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎dp/WordBreak2.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,15 @@ public static void main(String[] strs) {
5454
System.out
5555
.println("Computing time with DFS3: "
5656
+timer3.elapsedTime() +" millisec.");
57+
58+
Algorithms.permutation.Stopwatchtimer4 =newAlgorithms.permutation.Stopwatch();
5759

5860
// DP + DFS
5961
wordBreak4(s,dict);
6062

6163
System.out
6264
.println("Computing time with DFS4: "
63-
+timer3.elapsedTime() +" millisec.");
65+
+timer4.elapsedTime() +" millisec.");
6466

6567
//System.out.println(list.toString());
6668
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp