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

Commitbcaef7a

Browse files
fix build
1 parent4c6685f commitbcaef7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/main/java/com/fishercoder/solutions/_1343.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public static class Solution1 {
1010
publicintmaxProduct(TreeNoderoot) {
1111
Set<Long>set =newHashSet<>();
1212
inttotal =dfs(root,set);
13-
longresult =0l;
13+
longresult =0L;
1414
for (longsum :set) {
1515
result =Math.max(result,sum * (total -sum));
1616
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp