# ippilichinmayi/competitive-programming architecture

> Architecture diagram of the GitHub repository ippilichinmayi/competitive-programming, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-14). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ippilichinmayi/competitive-programming
- Repository: https://github.com/ippilichinmayi/competitive-programming

## Overview

This repository is a collection of eight independent Codeforces C++ solutions, not a shared application. Each file contains its own entry point, reads test cases from standard input, computes a problem-specific result, and writes it to standard output. The excerpts show these standalone workflows; they do not show shared runtime components or interactions among the programs.

Main entry points: [`CodeForces/A_Good_Contest.cpp`](https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/A_Good_Contest.cpp) (Good Contest), [`CodeForces/A_Rumb_Needs_a_Hand.cpp`](https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/A_Rumb_Needs_a_Hand.cpp) (Rumb Needs Hand), [`CodeForces/B_Knife_s_Pill_Farm.cpp`](https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/B_Knife_s_Pill_Farm.cpp) (Knife Pill Farm), [`CodeForces/B_Three_Piles.cpp`](https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/B_Three_Piles.cpp) (Three Piles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_solutions["Standalone solutions"]
  node_good_contest["Good Contest<br/>[A_Good_Contest.cpp]"]
  node_rumb["Rumb Needs Hand"]
  node_knife_pill["Knife Pill Farm"]
  node_three_piles["Three Piles<br/>[B_Three_Piles.cpp]"]
  node_and_or["AND OR Sort<br/>[C_AND_OR_Sort.cpp]"]
  node_print["Did Not Go Print"]
  node_convenience["Search Convenience"]
  node_bank["SauSeGe Bank<br/>[SauSeGe_Bank.cpp]"]
end

node_stdin(("Input"))
node_stdout(("Output"))

node_stdin -->|"reads cases"| node_good_contest
node_good_contest -->|"prints answers"| node_stdout
node_stdin -->|"reads cases"| node_rumb
node_rumb -->|"prints answers"| node_stdout
node_stdin -->|"reads cases"| node_knife_pill
node_knife_pill -->|"prints answers"| node_stdout
node_stdin -->|"reads cases"| node_three_piles
node_three_piles -->|"prints answers"| node_stdout
node_stdin -->|"reads cases"| node_and_or
node_and_or -->|"prints answers"| node_stdout
node_stdin -->|"reads cases"| node_print
node_print -->|"prints answers"| node_stdout
node_stdin -->|"reads cases"| node_convenience
node_convenience -->|"prints answers"| node_stdout
node_stdin -->|"reads cases"| node_bank
node_bank -->|"prints answers"| node_stdout

click node_good_contest "https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/A_Good_Contest.cpp"
click node_rumb "https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/A_Rumb_Needs_a_Hand.cpp"
click node_knife_pill "https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/B_Knife_s_Pill_Farm.cpp"
click node_three_piles "https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/B_Three_Piles.cpp"
click node_and_or "https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/C_AND_OR_Sort.cpp"
click node_print "https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/Did_Not_Go_To_Print.cpp"
click node_convenience "https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/In_Search_of_Convinience.cpp"
click node_bank "https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/SauSeGe_Bank.cpp"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_good_contest,node_rumb,node_knife_pill,node_three_piles,node_and_or,node_print,node_convenience,node_bank toneBlue
class node_stdin,node_stdout toneIndigo
```

## Components

### Standalone solutions

- [Good Contest](https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/A_Good_Contest.cpp): `CodeForces/A_Good_Contest.cpp`
- [Rumb Needs Hand](https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/A_Rumb_Needs_a_Hand.cpp): `CodeForces/A_Rumb_Needs_a_Hand.cpp`
- [Knife Pill Farm](https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/B_Knife_s_Pill_Farm.cpp): `CodeForces/B_Knife_s_Pill_Farm.cpp`
- [Three Piles](https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/B_Three_Piles.cpp): `CodeForces/B_Three_Piles.cpp`
- [AND OR Sort](https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/C_AND_OR_Sort.cpp): `CodeForces/C_AND_OR_Sort.cpp`
- [Did Not Go Print](https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/Did_Not_Go_To_Print.cpp): `CodeForces/Did_Not_Go_To_Print.cpp`
- [Search Convenience](https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/In_Search_of_Convinience.cpp): `CodeForces/In_Search_of_Convinience.cpp`
- [SauSeGe Bank](https://github.com/ippilichinmayi/competitive-programming/blob/main/CodeForces/SauSeGe_Bank.cpp): `CodeForces/SauSeGe_Bank.cpp`

### Other components

- **Input**
- **Output**

## Connections

- Input → Good Contest: reads cases (evidence: `CodeForces/A_Good_Contest.cpp`)
- Good Contest → Output: prints answers (evidence: `CodeForces/A_Good_Contest.cpp`)
- Input → Rumb Needs Hand: reads cases (evidence: `CodeForces/A_Rumb_Needs_a_Hand.cpp`)
- Rumb Needs Hand → Output: prints answers (evidence: `CodeForces/A_Rumb_Needs_a_Hand.cpp`)
- Input → Knife Pill Farm: reads cases (evidence: `CodeForces/B_Knife_s_Pill_Farm.cpp`)
- Knife Pill Farm → Output: prints answers (evidence: `CodeForces/B_Knife_s_Pill_Farm.cpp`)
- Input → Three Piles: reads cases (evidence: `CodeForces/B_Three_Piles.cpp`)
- Three Piles → Output: prints answers (evidence: `CodeForces/B_Three_Piles.cpp`)
- Input → AND OR Sort: reads cases (evidence: `CodeForces/C_AND_OR_Sort.cpp`)
- AND OR Sort → Output: prints answers (evidence: `CodeForces/C_AND_OR_Sort.cpp`)
- Input → Did Not Go Print: reads cases (evidence: `CodeForces/Did_Not_Go_To_Print.cpp`)
- Did Not Go Print → Output: prints answers (evidence: `CodeForces/Did_Not_Go_To_Print.cpp`)
- Input → Search Convenience: reads cases (evidence: `CodeForces/In_Search_of_Convinience.cpp`)
- Search Convenience → Output: prints answers (evidence: `CodeForces/In_Search_of_Convinience.cpp`)
- Input → SauSeGe Bank: reads cases (evidence: `CodeForces/SauSeGe_Bank.cpp`)
- SauSeGe Bank → Output: prints answers (evidence: `CodeForces/SauSeGe_Bank.cpp`)
