Given a rod of length n and list of prices of rod of length i where 1<=i<=n find the optimal way to cut rod into smaller rods in order to maximize profit. Input Format To get the rod length. Output Format Outputs the profit. Constraints Integers only. Sample Input : 4 Sample Output : 10
active 2024-10-17 → 2025-01-11 (UTC)
Activity over time
Daily event counts in the loaded window
Line chart, 87 days from 2024-10-17 to 2025-01-11. Pushes: 0 total, peak 0 in a day. Pull requests: 0 total, peak 0 in a day. Issues: 0 total, peak 0 in a day. Comments: 0 total, peak 0 in a day. Stars: 1 total, peak 1 in a day.
- Pushes
- Pull requests
- Issues
- Comments
- Stars
Top contributors
Pushes, PRs, issues, reviews and comments — stars and forks excluded, so this is contribution rather than popularity
Nobody pushed, opened or commented here in the loaded window — this repo's activity is stars and forks only.
Recent activity
Latest issues, pull requests and releases
No issue or PR events — this repo's activity is pushes only.
Totals cover only the window loaded into ClickHouse and count events, not GitHub's lifetime totals — 1 stars here means stars gained during the window, not the repo's star count.