Skip to content

Commit 603ec1d

Browse files
committed
Fixed style
1 parent ed52bd5 commit 603ec1d

File tree

1 file changed

+2
-1
lines changed
  • src/main/java/g3501_3600/s3503_longest_palindrome_after_substring_concatenation_i

1 file changed

+2
-1
lines changed

src/main/java/g3501_3600/s3503_longest_palindrome_after_substring_concatenation_i/Solution.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ public int longestPalindrome(String s, String t) {
2323
boolean isPalindrome = true;
2424
for (int p = 0; p < totalLength / 2; p++) {
2525
int q = totalLength - 1 - p;
26-
char c1, c2;
26+
char c1;
27+
char c2;
2728
if (p < m) {
2829
c1 = s.charAt(i + p);
2930
} else {

0 commit comments

Comments
 (0)