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

Commit3286926

Browse files
authored
Update Solution.java
1 parent500d872 commit3286926

File tree

1 file changed

+0
-1
lines changed
  • src.save/main/java/g0401_0500/s0466_count_the_repetitions

1 file changed

+0
-1
lines changed

‎src.save/main/java/g0401_0500/s0466_count_the_repetitions/Solution.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public int getMaxRepetitions(String s1, int n1, String s2, int n2) {
2626
s1Count++;
2727
s2CountMap[s1Count] =s2Count;
2828
}
29-
3029
intn1Left =n1 -memo[s2Idx][0];
3130
intmatchedPatternCount =n1Left / (s1Count -memo[s2Idx][0]) * (s2Count -memo[s2Idx][1]);
3231
n1Left =n1Left % (s1Count -memo[s2Idx][0]);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp