# trramim/codeforces-solutions architecture

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

- Interactive diagram: https://gitdiagram.com/trramim/codeforces-solutions
- Repository: https://github.com/trramim/codeforces-solutions

## Overview

This repository is a collection of independent Codeforces solutions, not a shared application. The user’s workflow is to select and run a problem’s standalone C or C++ program, provide its expected input, and read its result. The README confirms the collection’s purpose; sampled programs use standard input and output. The graph preserves every listed solution. Because several files were not excerpted, their individual runtime behavior and connections are not asserted.

## Diagram (Mermaid)

```mermaid
flowchart TD

node_s112a["Petya and Strings"]
node_s122a["Lucky Division"]
node_s158a["Next Round"]
node_s1a["Theatre Square"]
node_s2171a["Farm Legs"]
node_s2172a["ASCII Art Contest"]
node_s231a["Team<br/>[231a_team.cpp]"]
node_s236a["Boy or Girl"]
node_s282a["Bit plus plus"]
node_s318a["Even Odds<br/>[318A_Even_Odds.cpp]"]
node_s339a["Helpful Maths"]
node_s467a["Accommodation"]
node_s472a["Design Tutorial"]
node_s486a["Calculating Function"]
node_s50a["Domino Piling"]
node_s617a["Elephant<br/>[617A_Elephant.cpp]"]
node_s705a["Hulk<br/>[705A_Hulk.cpp]"]
node_s71a["Way Too Long Words"]
node_s791a["Bear and Big Brother"]
node_s977a["Wrong Subtraction"]

click node_s112a "https://github.com/trramim/codeforces-solutions/blob/main/112A_Petya_and_Strings.cpp"
click node_s122a "https://github.com/trramim/codeforces-solutions/blob/main/122A_Lucky_Division.cpp"
click node_s158a "https://github.com/trramim/codeforces-solutions/blob/main/158A_Next_Round.cpp"
click node_s1a "https://github.com/trramim/codeforces-solutions/blob/main/1A_Theatre_Square.cpp"
click node_s2171a "https://github.com/trramim/codeforces-solutions/blob/main/2171A_Shizuku_Hoshikawa_and_Farm_Legs.c"
click node_s2172a "https://github.com/trramim/codeforces-solutions/blob/main/2172A_ASCII_Art_Contest.c"
click node_s231a "https://github.com/trramim/codeforces-solutions/blob/main/231a_team.cpp"
click node_s236a "https://github.com/trramim/codeforces-solutions/blob/main/236A_Boy_or_Girl.cpp"
click node_s282a "https://github.com/trramim/codeforces-solutions/blob/main/282a_Bit_plus_plus.cpp"
click node_s318a "https://github.com/trramim/codeforces-solutions/blob/main/318A_Even_Odds.cpp"
click node_s339a "https://github.com/trramim/codeforces-solutions/blob/main/339A_Helpful_Maths.cpp"
click node_s467a "https://github.com/trramim/codeforces-solutions/blob/main/467A_George_and_Accommodation.cpp"
click node_s472a "https://github.com/trramim/codeforces-solutions/blob/main/472A_Design_Tutorial_Learn_from_Math.cpp"
click node_s486a "https://github.com/trramim/codeforces-solutions/blob/main/486A_Calculating_Function.cpp"
click node_s50a "https://github.com/trramim/codeforces-solutions/blob/main/50A_Domino_piling.cpp"
click node_s617a "https://github.com/trramim/codeforces-solutions/blob/main/617A_Elephant.cpp"
click node_s705a "https://github.com/trramim/codeforces-solutions/blob/main/705A_Hulk.cpp"
click node_s71a "https://github.com/trramim/codeforces-solutions/blob/main/71a_way_too_long_words.cpp"
click node_s791a "https://github.com/trramim/codeforces-solutions/blob/main/791A_Bear_and_Big_Brother.cpp"
click node_s977a "https://github.com/trramim/codeforces-solutions/blob/main/977A_Wrong_Subtraction.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_s112a,node_s122a,node_s158a,node_s1a,node_s2171a,node_s2172a,node_s231a,node_s236a,node_s282a,node_s318a,node_s339a,node_s467a,node_s472a,node_s486a,node_s50a,node_s617a,node_s705a,node_s71a,node_s791a,node_s977a toneTeal
```

## Components

### Other components

- [Petya and Strings](https://github.com/trramim/codeforces-solutions/blob/main/112A_Petya_and_Strings.cpp): `112A_Petya_and_Strings.cpp`
- [Lucky Division](https://github.com/trramim/codeforces-solutions/blob/main/122A_Lucky_Division.cpp): `122A_Lucky_Division.cpp`
- [Next Round](https://github.com/trramim/codeforces-solutions/blob/main/158A_Next_Round.cpp): `158A_Next_Round.cpp`
- [Theatre Square](https://github.com/trramim/codeforces-solutions/blob/main/1A_Theatre_Square.cpp): `1A_Theatre_Square.cpp`
- [Farm Legs](https://github.com/trramim/codeforces-solutions/blob/main/2171A_Shizuku_Hoshikawa_and_Farm_Legs.c): `2171A_Shizuku_Hoshikawa_and_Farm_Legs.c`
- [ASCII Art Contest](https://github.com/trramim/codeforces-solutions/blob/main/2172A_ASCII_Art_Contest.c): `2172A_ASCII_Art_Contest.c`
- [Team](https://github.com/trramim/codeforces-solutions/blob/main/231a_team.cpp): `231a_team.cpp`
- [Boy or Girl](https://github.com/trramim/codeforces-solutions/blob/main/236A_Boy_or_Girl.cpp): `236A_Boy_or_Girl.cpp`
- [Bit plus plus](https://github.com/trramim/codeforces-solutions/blob/main/282a_Bit_plus_plus.cpp): `282a_Bit_plus_plus.cpp`
- [Even Odds](https://github.com/trramim/codeforces-solutions/blob/main/318A_Even_Odds.cpp): `318A_Even_Odds.cpp`
- [Helpful Maths](https://github.com/trramim/codeforces-solutions/blob/main/339A_Helpful_Maths.cpp): `339A_Helpful_Maths.cpp`
- [Accommodation](https://github.com/trramim/codeforces-solutions/blob/main/467A_George_and_Accommodation.cpp): `467A_George_and_Accommodation.cpp`
- [Design Tutorial](https://github.com/trramim/codeforces-solutions/blob/main/472A_Design_Tutorial_Learn_from_Math.cpp): `472A_Design_Tutorial_Learn_from_Math.cpp`
- [Calculating Function](https://github.com/trramim/codeforces-solutions/blob/main/486A_Calculating_Function.cpp): `486A_Calculating_Function.cpp`
- [Domino Piling](https://github.com/trramim/codeforces-solutions/blob/main/50A_Domino_piling.cpp): `50A_Domino_piling.cpp`
- [Elephant](https://github.com/trramim/codeforces-solutions/blob/main/617A_Elephant.cpp): `617A_Elephant.cpp`
- [Hulk](https://github.com/trramim/codeforces-solutions/blob/main/705A_Hulk.cpp): `705A_Hulk.cpp`
- [Way Too Long Words](https://github.com/trramim/codeforces-solutions/blob/main/71a_way_too_long_words.cpp): `71a_way_too_long_words.cpp`
- [Bear and Big Brother](https://github.com/trramim/codeforces-solutions/blob/main/791A_Bear_and_Big_Brother.cpp): `791A_Bear_and_Big_Brother.cpp`
- [Wrong Subtraction](https://github.com/trramim/codeforces-solutions/blob/main/977A_Wrong_Subtraction.cpp): `977A_Wrong_Subtraction.cpp`
