Repository navigation
06.Problem Setting & Judging
Guide for creating problems, running contests, and processing results.
Template:
# Problem Title
## Problem Statement
Clear, concise description of what the problem asks.
## Constraints
- Time limit: 1 second
- Memory limit: 256 MB
- Number of test cases: 1
- n ≤ 10^5
- ai ≤ 10^9
## Input Format
Description of input structure.
## Output Format
Description of expected output.
## Example Input5 1 2 3 4 5
## Example Output
15
## Explanation
Brief walkthrough of the example.
Create at least 5 test cases per problem:
- Sample Test: Provided to participants (easy warm-up).
- Edge Cases: Boundary values (n=1, n=10^5, etc.).
- Strong Cases: Medium difficulty, typical scenarios.
- Weak Case Detection: Cases that catch common mistakes.
- Stress Test: Large inputs (near constraints).
Store locally:
problems/
├── problem-001/
│ ├── statement.md
│ ├── input1.txt (sample)
│ ├── output1.txt
│ ├── input2.txt (hidden)
│ ├── output2.txt
│ └── editorial.md
├── problem-002/
│ └── ...
For Iconcoderz-2k26 (approx. 5–6 problems):
| Problem | Difficulty | Topics | Expected Solve% |
|---|---|---|---|
| 1 | Easy | Arrays/Strings | 80–90% |
| 2 | Easy | Math/Number Theory | 60–70% |
| 3 | Medium | Sorting/Searching | 40–50% |
| 4 | Medium | Dynamic Programming | 20–30% |
| 5 | Hard | Graphs/Trees | 5–15% |
| 6 (Optional) | Hard | Advanced DP/Geometry | 1–5% |
- Log into HackerRank → Create → Contests.
- Contest type: Algorithm (or Custom).
- Set metadata:
- Title:
Iconcoderz-2k26 - Description: (brief overview)
- Start time:
2026-02-23 13:30 UTC+5:30 - Duration:
4 hours - Public/Private: Private (only registered participants)
- Title:
For each problem:
- Click Add Challenge.
- Upload problem statement (in Markdown or HTML).
- Upload sample test cases (visible to participants).
- Upload hidden test cases (for judging).
- Set:
- Time limit: 1–2 seconds (adjust per problem).
- Memory limit: 256 MB.
- Score: Typically equal weight per problem or vary by difficulty.
- ICPC-style: Fewer wrong submissions = higher rank.
- Codeforces-style: Time taken penalty (e.g., 1 min per WA).
- Simple: Points = problems solved (then by time).
For Iconcoderz-2k26, recommend: ICPC-style (problems solved, then penalty time).
Enable: C, C++, Java, Python (minimum).
Optionally: JavaScript, Go, Rust.
Walkthrough / Tutorial (optional): Upload editorials for 2–3 easy problems so participants see solutions post-contest.
- Real-time submissions (should see activity within first 30 min).
- Check for errors: TLE, MLE, CE, RE.
- Monitor server load (should be fine with ~150 participants).
| Issue | Resolution |
|---|---|
| Participant complains problem is wrong | Review their submission; if logic is correct, clarify statement via contest announcement. |
| Many RTE errors on a single problem | Check if problem has I/O issues (e.g., requires flushing output). |
| Submission queue slow | Contact HackerRank support; usually resolves in <5 min. |
- HackerRank → Contest → Leaderboard.
- Click Download leaderboard (CSV).
- Format:
rank, username, email, problems_solved, penalty_time, last_submit_time.
- Check top 10 for any anomalies.
- Spot-check a few submissions for correct scoring.
- Save CSV as
leaderboard-2026-02-23.csv. - Upload to website (admin panel).
- Website shows top 10 + option to view full rankings.
Optional (if you want participants to learn):
- Create solution walkthroughs for 2–3 easiest problems.
- Post on website or share via email.
If Iconcoderz-2k27 uses a custom judge (instead of HackerRank):
Participant submits code
↓
Backend queues submission (SQS/Redis)
↓
Judge worker (Docker sandbox)
- Compile code
- Run against each test case
- Measure time/memory
↓
Write result (AC/WA/TLE) back to DB
↓
Frontend updates leaderboard in real-time
- Queue: AWS SQS or Redis.
- Judge: Custom worker in Docker.
- Scoring: Simple AC/WA, or partial scoring logic.
- Leaderboard: WebSocket or polling.
See Retrospective & Roadmap for more details.
Last updated: Jan 2026
Organization: SRKR Coding Club | Event: Competitive Programming Contest | Date: Feb 23, 2026
Email: srkrcodingclub@gmail.com | Website: https://srkrcodingclub.in | Instagram: @srkrcodingclub
- ❓ Questions? Check the Support SOP for common issues.
- 🚀 Setting up? Read the Deployment Guide for step-by-step instructions.
- 📋 Running an event? Follow the Event Runbook.
| Item | Details |
|---|---|
| Registration Fee | ₹100 per participant |
| Contest Duration | 3 hours (1:30 PM – 4:30 PM IST) |
| Eligibility | 1st, 2nd, 3rd and 4th year SRKR students |
| Participation | Individual only (no teams) |
| Platform | HackerRank (with custom registration) |
Last Updated: Jan 2026 | Maintained By: SRKR Coding Club
- Home – Overview & key info
- Event Runbook – Contest day operations
- System Architecture – Tech stack overview
- Deployment Guide – AWS, Terraform, Cloudflare setup
- Data Model & APIs – Database & endpoints
- Problem Setting & Judging – Contests & judging
- Support SOP – Common issues & solutions
- Retrospective & Roadmap – Post-event & future
Last updated: Jan 2026
Event Date: Feb 23, 2026 | Eligibility: SRKR Students | Fee: ₹100