← All problems
🇧🇩 Bangladesh BdAIO 2025, Preliminary Round (Toph, ICPC-style)
E. Nandan's Problem
Count width/height pairs within bounds that match a fixed aspect ratio (gcd reasoning).
- Statement
- English
- Data
- The data comes with the statement.
- To hand in
- A program (standard input and output)
- Hardware
- A laptop is enough (CPU)
- Estimated difficulty
- ★☆☆☆☆
- Solution
- See a solution ↗ · best opened after you have tried
Get ready on the platform
The chapters of the learning path that prepare for this problem.
These chapters are picked from the solution: showing them may hint at the approach.
›How to tackle it
- Read the statement. What to hand in, the metric that scores you, the time and hardware limits.
- Explore the data. Size, format, missing values, how the labels are spread.
- Score yourself first. Keep part of the training data aside to measure your work before submitting.
- Start simple, then improve. A first solution that works end to end, then one change at a time.
- Compare with a solution. Once you have searched, open it and see what you would have done differently.
Unofficial copy: the organisers' original may differ.
The statement, data and solutions belong to their authors; we only link to them.
Are you the author or organiser? Ask for a correction or removal