How viniciusrodriguesai/competitive-programming works
This is an archive of independent C++ competitive-programming exercises and problem solutions, not a single application. The usual workflow is to choose a problem file, provide its input when run as a standalone program, and read its computed output. The graph highlights the current PACODE beginner focus, other PACODE practice, earlier basic-C++ study, and separate Luogu practice. README-described topics and collections are preserved; sampled files show independent programs, not shared runtime wiring.
Main entry points: A-vector-sort.cpp Vector sort · B-good-sequence.cpp Good Sequence · C-cards.cpp Cards · apartments.cpp Apartments
Components 16
Current PACODE
- Vector sort
Pacode/2026.2/turma_iniciante/Lista Iniciante - STL (Vector - Pair - Stack - Queue)/A - Vector-Sort/A-vector-sort.cpp - Good Sequence
Pacode/2026.2/turma_iniciante/Lista Iniciante - STL (Vector - Pair - Stack - Queue)/B - Good Sequence/B-good-sequence.cpp - Cards
Pacode/2026.2/turma_iniciante/Lista Iniciante - STL (Vector - Pair - Stack - Queue)/C - Cards/C-cards.cpp
PACODE practice
- Apartments
Pacode/2026/mashup_geral/apartments.cpp - Knapsack
Pacode/exercicios_avulsos/knapsack_1.cpp - Number theory
Pacode/Number_Theory_(Iniciante) - Dynamic programming
Pacode/progamação_dinamica(intermediario) - Range queries
Pacode/2026.2/turma_intermediaria/ListaIntermediaria_CoordinateCompression_SparseTable - OPI 2024
Pacode/OPI2024 - Graph and DSU
Pacode/OPI2024/G.cpp - OPI 2025
Pacode/opi_2025 - NTT solution
Pacode/opi_2025/problemaG.cpp
Independent study
- STL examples
study/basic-cpp
Luogu practice
- Shanghai replay
luogu/luoguicpc-2025-shanghai-regional-replay/A.cpp
Other components
- Problem input
- Computed output
Connections 28
- Problem input → Vector sort: provides input
- Vector sort → Computed output: prints result
- Problem input → Good Sequence: provides input
- Good Sequence → Computed output: prints result
- Problem input → Cards: provides input
- Cards → Computed output: prints result
- Problem input → STL examples: provides input
- STL examples → Computed output: prints result
- Problem input → Apartments: provides input
- Apartments → Computed output: prints result
- Problem input → Knapsack: provides input
- Knapsack → Computed output: prints result
- Problem input → Number theory: provides input
- Number theory → Computed output: prints result
- Problem input → Dynamic programming: provides input
- Dynamic programming → Computed output: prints result
- Problem input → Range queries: provides input
- Range queries → Computed output: prints result
- Problem input → OPI 2024: provides input
- OPI 2024 → Computed output: prints result
- Problem input → Graph and DSU: provides input
- Graph and DSU → Computed output: prints result
- Problem input → OPI 2025: provides input
- OPI 2025 → Computed output: prints result
- Problem input → NTT solution: provides input
- NTT solution → Computed output: prints result
- Problem input → Shanghai replay: provides input
- Shanghai replay → Computed output: prints result