Ayman Shalaby
@aymanshalaby539• Apr 7, 2023
Problem - C - Codeforces
You are given a permutation aaa of size nnn and you should perform nnn operations on i
An inversion in an array aaa is a pair of indices (i,j)(i,j)(i, j) such that i>ji>ji > j and ai<ajai<aja_{i} < a_{j}.
Problem - C - Codeforcescodeforces.com
Ayman Shalaby
@aymanshalaby539• Mar 16, 2023
مش اوكيه ديس تراك مروان موسى على ابيوسف - YouTube

0:45
مش اوكيه ديس تراك مروان موسى على ابيوسف - YouTubewww.youtube.com
Ayman Shalaby
@aymanshalaby539• Mar 12, 2023
Basic Math & Number Theory: Part 1 - YouTube

1:38:00
Basic Math & Number Theory: Part 1 - YouTubewww.youtube.com
Ayman Shalaby
@aymanshalaby539• Mar 9, 2023
B. Settlement of Guinea Pigs - CODEFORCES ROUND 857 (Code + Explanation in details) - YouTube

0:07
B. Settlement of Guinea Pigs - CODEFORCES ROUND 857 (Code + Explanation in details) - YouTubewww.youtube.com
Ayman Shalaby
@aymanshalaby539• Feb 25, 2023
Problem - H - Codeforces
The i-th element of p will be denoted as p
For all pairs of distinct integers i, j between 1 and n
he wrote the number ai, j = min(pi, pj)
Problem - H - Codeforcescodeforces.com
Ayman Shalaby
@aymanshalaby539• Feb 25, 2023
H. Guess the Permutation - YouTube

22:25
H. Guess the Permutation - YouTubewww.youtube.com
Ayman Shalaby
@aymanshalaby539• Feb 23, 2023
Problem - B - Codeforces
Petya's got n non-transparent glasses
standing in a row
First Petya puts a marble under the glass in position s
Problem - B - Codeforcescodeforces.com
Ayman Shalaby
@aymanshalaby539• Feb 20, 2023
First Bad Version - LeetCode
and you want to find out the first bad one,
First Bad Version - LeetCodeleetcode.com
Ayman Shalaby
@aymanshalaby539• Feb 19, 2023
Problem - 1784A - Codeforces
you are fighting against nnn monsters
Monster number iii has aiaia_i health points
monster is alive while it has at least 111 health point.
Problem - 1784A - Codeforcescodeforces.com
Ayman Shalaby
@aymanshalaby539• Feb 19, 2023
Problem - 1702D - Codeforces
The string www and the integer p
the price of the string abca is 1+2+3+1=71+2+3+1=71+2+3+1=7
Remove the minimal number of letters from www so that its price becomes less than or equal to ppp and print the resulting string
Problem - 1702D - Codeforcescodeforces.com