We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Beautiful Days at the Movies
Beautiful Days at the Movies
Sort by
recency
|
1760 Discussions
|
Please Login in order to post a comment
def beautifulDays(i, j, k): count=0 for day in range(i,j+1): d1=str(day) d2=d1[::-1] dif=abs(int(d1)-int(d2))%k==0 if dif: count += 1 return count # Write your
Much more optimal solution in java : `
import java.util.Scanner;
public class BeautifulDaysAtTheMovies {
} `
Here my java solution
public static int beautifulDays(int i, int j, int k) { int count = 0;
}
Cinegato sounds like an exciting platform for movies and films! If it helps filmmakers, producers, or movie enthusiasts discover, create, or stream content, it could be a game-changer in the industry. Whether cinegato offers reviews, recommendations, or filmmaking tools, it is always great to have innovative solutions in the entertainment space. Would love to know more about how it works and what makes it stand out from other platforms.
Cinegato sounds like an exciting platform for movies and films! If it helps filmmakers, producers, or movie enthusiasts discover, create, or stream content, it could be a game-changer in the industry. Whether cinegato offers reviews, recommendations, or filmmaking tools, it is always great to have innovative solutions in the entertainment space. Would love to know more about how it works and what makes it stand out from other platforms.