![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
重新学编程之入门dp
ZZ --瑞 hopeACMer
WA就完事了
展开
-
C - 风之羽翼 (URAL - 1119 )
Many of SKB Kontur programmers like to get to work by Metro because the main office is situated quite close the station Uralmash. So, since a sedentary life requires active exercises off-duty, many of...原创 2019-07-01 20:33:42 · 135 阅读 · 0 评论 -
E - E Gym - 101492E (dp)
Teamwork is highly valued in the ACM ICPC. Since the beginning, the ICPC has distinguished itself from other programming contests in that teamwork is a key factor. The University of Beijing, host of ...原创 2019-08-19 19:56:16 · 100 阅读 · 0 评论 -
G - The Debut Album URAL - 2018 (dp滚动数组)
Pop-group “Pink elephant” entered on recording their debut album. In fact they have only two songs: “My love” and “I miss you”, but each of them has a large number of remixes. The producer of the gro...原创 2019-08-07 20:38:50 · 116 阅读 · 0 评论 -
C. Basketball Exercise(dp)
C. Basketball Exercise time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Finally, a basketball court has been opened in SIS, so Dem...原创 2019-08-06 20:31:05 · 216 阅读 · 0 评论 -
L - Tickets (dp)
L - Tickets Jesus, what a great movie! Thousands of people are rushing to the cinema. However, this is really a tuff time for Joe who sells the film tickets. He is wandering when could he go back hom...原创 2019-07-24 09:21:40 · 137 阅读 · 0 评论 -
M - Zigzag Gym - 101291M (dp求最大序列)
Download 此题要求增减序列的最大 #include <iostream> #include <bits/stdc++.h> using namespace std; int main() { int a,i,j,ans=0; int n[55]; int dp[55][2]; cin >> a; memse...原创 2019-07-23 16:35:54 · 214 阅读 · 0 评论 -
G - 炎之箭 (URAL - 1073 )
There live square people in a square country. Everything in this country is square also. Thus, the Square Parliament has passed a law about a land. According to the law each citizen of the country has...原创 2019-07-03 20:16:02 · 100 阅读 · 0 评论 -
D - 水之矢 (URAL - 1353 )
Vasya is the beginning mathematician. He decided to make an important contribution to the science and to become famous all over the world. But how can he do that if the most interesting facts such as ...原创 2019-07-03 19:27:35 · 119 阅读 · 0 评论 -
T - 地狱之门 (URAL - 1036 )
You are given a number 1 ≤N≤ 50. Every ticket has its 2N-digit number. We call a ticket lucky, if the sum of its firstNdigits is equal to the sum of its lastNdigits. You are also given the sum o...原创 2019-07-03 19:17:21 · 119 阅读 · 0 评论 -
F - 心灵之霞 (URAL - 1012 )
Let’s considerK-based numbers, containing exactlyNdigits. We define a number to be valid if itsK-based notation doesn’t contain two successive zeros. For example: 1010230 is a valid 7-digit numbe...原创 2019-07-03 19:16:28 · 126 阅读 · 0 评论 -
D - Weather Station Gym - 101243D (dp)
题目链接:https://vj.ti12z.cn/415c275cb0a15fcb4ede21b8cb5297de?v=1565375940 代码: //Full of love and hope for life #include <iostream> #include <algorithm> #include <stdio.h> #inclu...原创 2019-08-12 20:39:11 · 113 阅读 · 0 评论