← Back to list

First Contest Editorial

I hope you enjoyed the contest we held this week. Below is a brief editorial that explains the problems, intended solutions, and…

Mohamed Aziz Chaibi · 2025-09-24 19:55 · 0 claps · 2.2 min read
#hhh
Open on Medium ↗

First Contest Editorial

I hope you enjoyed the contest we held this week. Below is a brief editorial that explains the problems, intended solutions, and implementation

Problem A : [Welcomee]

Statement (short recap):

You just need to read “GHLF” and output “GHLF”

Solution (in cpp):

[embed]Ideone.com Ideone is something more than a pastebin; it's an online compiler and debugging tool which allows to compile and run…ideone.com

Problem B: [Who Will Win]

Statement(Short Recap): Ahmad and Ahmad are playing a game you need to determine how will win

Key Idea / Approach: Both competitors name is Ahmad so we will Have always Ahmad as a winner(doesn t matter which one of them)

Solution (in cpp):

[embed]Ideone.com Ideone is something more than a pastebin; it's an online compiler and debugging tool which allows to compile and run…ideone.com

Problem C: [Help Hazem]

Statement: raise number 5 to the power of n and get last two digits of the number (n≥2)

Idea / Approach: the answer will always be 25 (you can proof that recursively or just do some observation and recognize the pattern)

Solution (in cpp): https://ideone.com/793VPb

Problem D: [Big Mama Trip]

Statement: you are given two numbers a and b you need to add them together

Key Idea / Approach: This is a straightforward sum of two integers. There are no tricky math observations — just add the two values.

Solution (in cpp): https://ideone.com/BEF2nj

Problem E: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]

📝 Problem F: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]

📝 Problem G: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]

📝 Problem H: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]

📝 Problem I: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]

📝 Problem J: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]

📝 Problem K: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]

📝 Problem L: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]

📝 Problem M: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]

📝 Problem O: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]

📝 Problem Q: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]

📝 Problem R: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]

📝 Problem S: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]

📝 Problem T: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]

📝 Problem U: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]

📝 Problem V: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]

📝 Problem W: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]

📝 Problem X: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]

📝 Problem Y: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]

📝 Problem B: [Problem Title]

Statement: […]

Key Idea / Approach: […]

Solution Outline: […]

Complexity: […]


메타데이터
post_id
2ff0e979a0ec
slug
first-contest-editorial-2ff0e979a0ec
url
https://medium.com/@mohamedaziz.chaibi/first-contest-editorial-2ff0e979a0ec
canonical_url
https://medium.com/@mohamedaziz.chaibi/first-contest-editorial-2ff0e979a0ec
author_url
https://medium.com/@mohamedaziz.chaibi
status
ok
fetched_at
2026-06-15 22:55:51