Week 05 (Functions) - ICPC-Damnhour-Community/Level-0-2025 GitHub Wiki

Functions

Welcome to Week 5! πŸŽ‰ This week, we’ll explore functions in C++, essential tools for writing clean and efficient programs. By the end, you'll learn how to define and use functions, leverage built-in functions. Let’s get started! πŸš€


πŸ“ What Will We Learn This Week?

  • 🌱 Learn how to define functions in C++, understand their purpose, and how they make programming more organized and reusable.
  • πŸ’‘ Discover how to:
    • Define functions in C++.
    • Call functions and pass data to them.
    • Retrieve information from functions (return values).
  • πŸš€ Explore built-in functions in C++ that are critical for efficiency:
    • Built-in functions save significant effort by providing ready-made solutions.
    • They enhance code speed and brevity, allowing you to focus on more complex problems.

πŸ“š Resources

πŸ“ Topic Type πŸ”— Link
Functions (2024 Session) 🎬 Video β–Ά Watch Here until 02:06:23
Functions 1 - Intro 🎬 Video β–Ά Watch Here
Functions 2 - Practice 🎬 Video β–Ά Watch Here
Functions 3 - Homework 🎬 Video β–Ά Watch Here
Built-In Functions <algorithm> 🎬 Video β–Ά Watch Here
Cpp Reference: Functions πŸ“„ Article Read Here
Cpp Reference: Built-In Functions πŸ“„ Article Read Here

πŸŽ₯ Lecture Session

πŸ“ Topic πŸ”— Link
🎬 Recording Watch
πŸ“„ Slides View
πŸ” Problems Coming Soon
πŸ’» Codes and Solutions Codes

πŸ“„ Practice Sheet

πŸ” Problem Name πŸŽ₯ Video Solution πŸ’» Code Solution
A - Reverse Array Watch Solution Code
B - Summation Watch Solution Code
C - Search Watch Solution Code
D - Is Sorted? Watch Solution Code
E - Gravity Flip Watch Solution Code
F - Currency System in Geraldion Watch Solution Code
G - Songs Compression Watch Solution Code
H - Chores Watch Solution Code
I - I_love_%username% Watch Solution Code
J - Puzzles Watch Solution Code
K - Is your horseshoe on the other hoof? Watch Solution Code
L - Count Order Watch Solution Code
M - Tram Watch Solution Code
N - Arrival of the General Watch Solution Code
O - Twice Watch Solution Code

πŸ† Weekly Contest

πŸ” Problem πŸŽ₯ Video Tutorial πŸ”— Code Solution
A - Level 0 - Training Watch Solution Code
B - Recurring Challenges Watch Solution Code
C - Parity Puzzle Watch Solution Code
D - Round Number Representation Watch Solution Code
E - Sakr and Hagag Watch Solution Code
F - Ahmed and Digits Watch Solution Code
G - Ammar's Task Watch Solution Code

πŸ’¬ Community Support

For any questions, join the discussion in our Discord’s #community-chat. We’re here to help you every step of the way!


✨ Good luck, and have a great week! πŸŽ‰

⚠️ **GitHub.com Fallback** ⚠️