Problems
Queue
Competitions
Ranking
Articles
Signup
Signin
Users
MR.ISMAYIL
Profile
Punch card
Problems
Submissions
ISMAYIL
Last visit 3 hours ago
Azerbaijan, BAKU
#include<bits/stdc++.h> using namespace std; long long dp[31][31]; int main () { int n, m; cin >> m >> n; for (int i = 0; i < m; i++) dp[i][0] = 1; for (int j = 0; j < n; j++) dp[m - 1][j] = 1; for (int i = m - 1; i >= 0; i--) {
Joined October, 2022
Rank
749
Solved problems
568
Submissions
1879
Accepted submits
1127
Recently submitted problems
904
Increase by 2
16099 / 18215
908
Those that are divisible by 6
10948 / 12377
919
Number by 3
8513 / 9498
922
Shift the elements to the right
11424 / 12254
928
The sum of the largest and the smallest
14299 / 15270
2321
Sorting
8999 / 9566
7337
Discounts
5802 / 7006
7831
Sum without maximum
8326 / 9034
7843
Bigger than previous
5692 / 6067
8657
Difference of middle
1361 / 1484
8679
Divide by 3
1172 / 1237
8954
Print array 2
5869 / 6346
8955
Print array 3
6566 / 7408
8956
Print array 4
4545 / 5138
8957
Print array 5
4109 / 4573
8959
Difference between maximum and minimum
5386 / 5703
8966
Initial order
2827 / 2960
9617
Number of positive
1671 / 1741
9618
Sum of negative
1608 / 1663