Skip to content

Commit 8898dfd

Browse files
committed
Fixed sonar
1 parent ca70fcc commit 8898dfd

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/g3501_3600/s3566_partition_array_into_two_equal_product_subsets

1 file changed

+1
-1
lines changed

src/main/java/g3501_3600/s3566_partition_array_into_two_equal_product_subsets/Solution.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
public class Solution {
66
public boolean checkEqualPartitions(int[] nums, long target) {
77
for (int num : nums) {
8-
if (target % (long) num != 0) {
8+
if (target % num != 0) {
99
return false;
1010
}
1111
}

0 commit comments

Comments
 (0)