Skip to content

Commit 7cfe73b

Browse files
fix build
1 parent d1a6451 commit 7cfe73b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/fishercoder/solutions/_1711.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ public int countPairs(int[] deliciousness) {
1212
long pairs = 0;
1313
for (int i = 0; i < deliciousness.length; i++) {
1414
int power = 1;
15-
for (int j = 0; j < 22; j++) {//we only need to go up to 21 since one of the constraints is: 0 <= deliciousness[i] <= 2 to the power of 20
15+
//we only need to go up to 21 since one of the constraints is: 0 <= deliciousness[i] <= 2 to the power of 20
16+
for (int j = 0; j < 22; j++) {
1617
if (map.containsKey(power - deliciousness[i])) {
1718
pairs += map.get(power - deliciousness[i]);
1819
pairs %= MODUALR;

0 commit comments

Comments
 (0)