Replace global using declarations with explicit std:: qualifications.
Update ranges algorithms usage to std::ranges and fix permutation
iterator
offset to correctly handle 1-based k indexing.
- add problem 3518 implementation
- add build configuration with debug and release modes
- add test cases and examples
- add makefile for problem-specific build workflow