Skip to content

Commit 82ede65

Browse files
committed
Fixed format
1 parent c9baa7a commit 82ede65

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/g1801_1900/s1815_maximum_number_of_groups_getting_fresh_donuts

1 file changed

+1
-1
lines changed

src/main/java/g1801_1900/s1815_maximum_number_of_groups_getting_fresh_donuts/Solution.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public int maxHappyGroups(int batchSize, int[] groups) {
3838
private int get(int[] ar, int batchSize, int rem, Map<Long, Integer> cache) {
3939
long hash = 0;
4040
for (int e : ar) {
41-
hash = hash * 69l + e;
41+
hash = hash * 69L + e;
4242
}
4343
Integer fromCache = cache.get(hash);
4444
if (fromCache != null) {

0 commit comments

Comments
 (0)