shaping-problems

Define mathematical constraints and subtask structures for competitive programming problems.

Updated Jul 29, 2026
One-click install
npx skills add https://github.com/LLaammTTeerr/competitive-programming --skill shaping-problems
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shaping-problems
Source: https://github.com/LLaammTTeerr/competitive-programming/tree/main/skills/shaping-problems
Command: npx skills add https://github.com/LLaammTTeerr/competitive-programming --skill shaping-problems

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill resolves the ambiguity in competitive programming problem design by mathematically defining constraints, difficulty, and subtask structures, ensuring the intended solution is distinct from naive approaches.

Core Features & Use Cases

  • Constraint Optimization: Calculates the N that separates intended algorithmic complexity from naive solutions to ensure problem quality.
  • Subtask Ladder Design: Defines subtask rungs that reward distinct insights rather than mere implementation effort.
  • Use Case: When you have a rough idea for a graph problem, use this skill to determine the optimal N, define the subtask points, and generate the required problem.json configuration for the pipeline.

Quick Start

Invoke the shaping-problems skill to define the constraints and subtask ladder for your new problem idea.

Frequently Asked Questions about shaping-problems

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design constraints for competitive programming problems to separate intended solutions from brute force?

To design constraints for competitive programming, calculate the optimal input size N that mathematically separates the intended algorithmic complexity from naive brute-force solutions. This ensures proper difficulty separation and validates problem quality.

What is subtask ladder design in competitive programming problem setting?

Subtask ladder design in competitive programming defines progressive scoring rungs that reward distinct algorithmic insights rather than mere implementation effort. It structures problem difficulty to guide contestants through partial solutions toward the final approach.

How do I generate a valid problem.json configuration for a problem-setting pipeline?

Generating a valid problem.json configuration requires defining mathematical constraints and subtask structures for your problem idea. This ensures the file integrates with the broader competitive programming problem-setting pipeline correctly.

Can I use algorithm-design techniques to calculate the optimal input size N for a graph problem?

Yes, applying algorithm-design techniques allows you to calculate the optimal N for a graph problem by analyzing intended algorithmic complexity. This constraint optimization ensures the naive solution fails while the target approach succeeds.

What are the limitations of relying on manual constraint optimization for competitive programming?

Manual constraint optimization for competitive programming risks ambiguity where naive brute-force methods overlap with intended solutions. Without mathematically defined constraints and subtask structures, problem quality and difficulty separation may degrade.