# heroinsformula/pa1_clone architecture

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

- Interactive diagram: https://gitdiagram.com/heroinsformula/pa1_clone
- Repository: https://github.com/heroinsformula/pa1_clone

## Overview

This repository is a set of independent C homework exercises, not one product workflow. Each implemented program reads input, applies its own checks or calculation, and prints a result or error; there is no shared runtime or documented integration. The graph keeps each assignment separate and connects the user only to programs whose excerpts show input prompts or reads. `hw01/main.c` is an empty entry point. The README contains no architecture or capability details.

Main entry points: [`hw00/main.c`](https://github.com/heroinsformula/pa1_clone/blob/hw04/hw00/main.c) (Quote lookup), [`hw02/main.c`](https://github.com/heroinsformula/pa1_clone/blob/hw04/hw02/main.c) (Equation check), [`hw03/main.c`](https://github.com/heroinsformula/pa1_clone/blob/hw04/hw03/main.c) (RGB conversion), [`hw04/delka_intervalu.c`](https://github.com/heroinsformula/pa1_clone/blob/hw04/hw04/delka_intervalu.c) (Time interval)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_hw00["Quote lookup"]
  node_quote_lookup["Quote lookup<br/>[main.c]"]
end

subgraph group_hw01["Empty exercise"]
  node_empty_exercise["Empty exercise<br/>[main.c]"]
end

subgraph group_hw02["Equation check"]
  node_equation_check["Equation check<br/>[main.c]"]
end

subgraph group_hw03["RGB conversion"]
  node_rgb_conversion["RGB conversion<br/>[main.c]"]
end

subgraph group_hw04["Time interval"]
  node_time_interval["Time interval<br/>[delka_intervalu.c]"]
end

node_user(("User"))

node_user -->|"provides index"| node_quote_lookup
node_user -->|"enters equation"| node_equation_check
node_user -->|"enters RGB"| node_rgb_conversion
node_user -->|"enters times"| node_time_interval

click node_quote_lookup "https://github.com/heroinsformula/pa1_clone/blob/hw04/hw00/main.c"
click node_empty_exercise "https://github.com/heroinsformula/pa1_clone/blob/hw04/hw01/main.c"
click node_equation_check "https://github.com/heroinsformula/pa1_clone/blob/hw04/hw02/main.c"
click node_rgb_conversion "https://github.com/heroinsformula/pa1_clone/blob/hw04/hw03/main.c"
click node_time_interval "https://github.com/heroinsformula/pa1_clone/blob/hw04/hw04/delka_intervalu.c"

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_quote_lookup,node_user toneBlue
class node_empty_exercise toneAmber
class node_equation_check toneMint
class node_rgb_conversion toneRose
class node_time_interval toneIndigo
```

## Components

### Quote lookup

- [Quote lookup](https://github.com/heroinsformula/pa1_clone/blob/hw04/hw00/main.c): `hw00/main.c`

### Empty exercise

- [Empty exercise](https://github.com/heroinsformula/pa1_clone/blob/hw04/hw01/main.c): `hw01/main.c`

### Equation check

- [Equation check](https://github.com/heroinsformula/pa1_clone/blob/hw04/hw02/main.c): `hw02/main.c`

### RGB conversion

- [RGB conversion](https://github.com/heroinsformula/pa1_clone/blob/hw04/hw03/main.c): `hw03/main.c`

### Time interval

- [Time interval](https://github.com/heroinsformula/pa1_clone/blob/hw04/hw04/delka_intervalu.c): `hw04/delka_intervalu.c`

### Other components

- **User**

## Connections

- User → Quote lookup: provides index (evidence: `hw00/main.c`)
- User → Equation check: enters equation (evidence: `hw02/main.c`)
- User → RGB conversion: enters RGB (evidence: `hw03/main.c`)
- User → Time interval: enters times (evidence: `hw04/delka_intervalu.c`)
