Company: Placewit
Difficulty: medium
Winter Break Game body { font-family: Arial, sans-serif; line-height: 1.6; margin: 20px; } .problem-container { max-width: 800px; margin: 0 auto; padding: 20px; border: 1px solid #ccc; border-radius: 8px; background-color: #f9f9f9; } h1, h2, h3 { color: #333; } .problem-description, .input-format, .output-format, .constraints, .examples { margin-bottom: 20px; } .example { background-color: #fff; padding: 15px; border: 1px solid #ddd; border-radius: 5px; margin-bottom: 15px; } pre { background-color: #f4f4f4; padding: 10px; border: 1px solid #ddd; border-radius: 5px; overflow-x: auto; } .explanation { margin-top: 10px; color: #555; } Winter Break Game Magnus is a high school student who is getting bored during his Winter holidays. To stay away from social media, he comes up with a game in which he selects two integers n and m and wants to know how many beautiful grids of n rows and m columns can be made. A grid is said to be beautiful if it contains only 0 and 1 and if each row of that