<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[yangpancheng的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/yangpancheng</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; yangpancheng]]></copyright><item><title><![CDATA[来追梦F1003 编程求解1+2+3+...+n]]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/129713512</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/129713512</guid><author>yangpancheng</author><pubDate>Wed, 22 Mar 2023 16:44:25 +0800</pubDate><description><![CDATA[题目链接：https://gonoi.com.cn/problem/F1003。]]></description><category></category></item><item><title><![CDATA[P1220 关路灯 区间dp]]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/123118946</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/123118946</guid><author>yangpancheng</author><pubDate>Thu, 24 Feb 2022 19:24:16 +0800</pubDate><description><![CDATA[#include&lt;bits/stdc++.h&gt;

using namespace std;
const int maxn = 1005;  
int dp[maxn][maxn][2], x[maxn],w[maxn] ,n,c, sum[maxn];  
int main()
{
	cin &gt;&gt; n&gt;&gt;c;  
	memset(dp, 0x3f, sizeof(dp));  
	for(int i=1; i&lt;=n; i++)
	{
		cin &gt;&gt;x[]]></description><category></category></item><item><title><![CDATA[最大食物链计数（拓扑排序）]]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/122700918</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/122700918</guid><author>yangpancheng</author><pubDate>Wed, 26 Jan 2022 14:23:41 +0800</pubDate><description><![CDATA[最大食物链计数
题目背景
你知道食物链吗？Delia 生物考试的时候，数食物链条数的题目全都错了，因为她总是重复数了几条或漏掉了几条。于是她来就来求助你，然而你也不会啊！写一个程序来帮帮她吧。
题目描述
给你一个食物网，你要求出这个食物网中最大食物链的数量。 （这里的“最大食物链”，指的是生物学意义上的食物链，即最左端是不会捕食其他生物的生产者，最右端是不会被其他生物捕食的消费者。） Delia 非常急，所以你只有 111 秒的时间。 由于这个结果可能过大，你只需要输出总数模上 80112002801120]]></description><category></category></item><item><title><![CDATA[1808: 地铁 湖南省第十二届大学生计算机程序设计竞赛]]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/122691962</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/122691962</guid><author>yangpancheng</author><pubDate>Tue, 25 Jan 2022 20:54:44 +0800</pubDate><description><![CDATA[来追梦
Description
Bobo 居住在大城市 ICPCCamp。
ICPCCamp 有 n 个地铁站，用 1,2,…,n 编号。 m 段双向的地铁线路连接 n 个地铁站，其中第 i 段地铁属于 ci 号线，位于站 ai,bi 之间，往返均需要花费 ti 分钟（即从 ai 到 bi 需要 ti 分钟，从 bi 到 ai 也需要 ti 分钟）。
众所周知，换乘线路很麻烦。如果乘坐第 i 段地铁来到地铁站 s，又乘坐第 j 段地铁离开地铁站 s，那么需要额外花费 |ci-cj | 分钟。注意，换乘只能在]]></description><category></category></item><item><title><![CDATA[2018 Multi-University Training Contest 7 Age of Moyu]]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/122691867</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/122691867</guid><author>yangpancheng</author><pubDate>Tue, 25 Jan 2022 20:48:04 +0800</pubDate><description><![CDATA[Age of Moyu
来追梦
Problem Description
Mr.Quin love fishes so much and Mr.Quin’s city has a nautical system,consisiting of N ports and M shipping lines. The ports are numbered 1 to N. Each line is occupied by a Weitian. Each Weitian has an identification numb]]></description><category></category></item><item><title><![CDATA[Triangles三角形牧场]]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/102557648</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/102557648</guid><author>yangpancheng</author><pubDate>Tue, 07 Dec 2021 20:05:12 +0800</pubDate><description><![CDATA[usaco]]></description><category></category></item><item><title><![CDATA[Sleepy Cow Sorting犯困的奶牛排序(思维)]]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/121777199</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/121777199</guid><author>yangpancheng</author><pubDate>Tue, 07 Dec 2021 19:51:06 +0800</pubDate><description><![CDATA[usaco]]></description><category></category></item><item><title><![CDATA[Mad Scientist 疯狂的科学家（水题）]]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/121725292</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/121725292</guid><author>yangpancheng</author><pubDate>Sun, 05 Dec 2021 09:01:07 +0800</pubDate><description><![CDATA[usaco]]></description><category></category></item><item><title><![CDATA[Shell Game坚果游戏（模拟）]]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/121711336</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/121711336</guid><author>yangpancheng</author><pubDate>Sat, 04 Dec 2021 09:51:44 +0800</pubDate><description><![CDATA[usaco]]></description><category></category></item><item><title><![CDATA[Guess the Animal猜动物（暴力）]]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/121710978</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/121710978</guid><author>yangpancheng</author><pubDate>Sat, 04 Dec 2021 08:51:39 +0800</pubDate><description><![CDATA[usaco]]></description><category></category></item><item><title><![CDATA[problem D Space Golf（枚举）]]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/80359979</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/80359979</guid><author>yangpancheng</author><pubDate>Sun, 30 May 2021 14:29:54 +0800</pubDate><description><![CDATA[题目链接：点击打开链接

文章转载自：xuanqis.com



Description

You surely have never heard of this new planet surface exploration scheme, as it is being carried out in a project with utmost secrecy. The scheme is ex...]]></description><category></category></item><item><title><![CDATA[olaindex设置id和secret没有显示]]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/104601405</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/104601405</guid><author>yangpancheng</author><pubDate>Sun, 01 Mar 2020 21:57:14 +0800</pubDate><description><![CDATA[在安装olaindex的时候，在请确认以下信息的页面中，id等信息为空的，这是因为没有写入的权限，在安装的时候storage的权限是755，实际上需要改为775或者777.

宝塔面板可以直接打勾进行设置，注意应用到子目录。


...]]></description><category></category></item><item><title><![CDATA[Kotlin plugin should be enabled before 'kotlin-android-extensions']]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/103883972</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/103883972</guid><author>yangpancheng</author><pubDate>Wed, 08 Jan 2020 00:52:37 +0800</pubDate><description><![CDATA[Kotlin plugin should be enabled before 'kotlin-android-extensions'

在另一台电脑没有这个问题。




'kotlin-android'需要放在'kotlin-android-extensions'的前面
]]></description><category></category></item><item><title><![CDATA[瓦力打包NullPointerException]]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/103012803</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/103012803</guid><author>yangpancheng</author><pubDate>Mon, 11 Nov 2019 17:09:03 +0800</pubDate><description><![CDATA[FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
&gt; java.lang.NullPointerException (no error message)

* Try:
Run with --stacktrace option ...]]></description><category></category></item><item><title><![CDATA[Uri.fromFile和fileprovider得到的uri]]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/102997690</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/102997690</guid><author>yangpancheng</author><pubDate>Sun, 10 Nov 2019 14:58:46 +0800</pubDate><description><![CDATA[一个是真的File形式的，一个是内容提供器形式的
]]></description><category></category></item><item><title><![CDATA[Activity class {......aimath.activity.LaunchActivity} does not exist.]]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/102910305</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/102910305</guid><author>yangpancheng</author><pubDate>Tue, 05 Nov 2019 09:54:10 +0800</pubDate><description><![CDATA[1. clean project 然后重启android studio，build project，再运行。

2. 终端运行 gradlew uninstallAll卸载掉
]]></description><category></category></item><item><title><![CDATA[flutter移动端向web端移植]]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/101862846</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/101862846</guid><author>yangpancheng</author><pubDate>Mon, 04 Nov 2019 11:22:11 +0800</pubDate><description><![CDATA[项目中使用的flutter1.7.8版本中还未将web端与移动端进行统一，所以将web端与移动端分为两个项目。

在包方面

Web端与移动端在package方面主要的差异有移动端使用Flutter的包，web端使用flutter_web包
	移动端能够使用的dart:io包在web端使用不了，web有个io.dart用来替代dart:io，因为flutter对web的支持时间还比较短，其中...]]></description><category></category></item><item><title><![CDATA[工作必须掌握的git命令]]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/101864704</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/101864704</guid><author>yangpancheng</author><pubDate>Mon, 04 Nov 2019 11:21:59 +0800</pubDate><description><![CDATA[一、代码提交之前的pull及冲突解决

还没有commit：

通过git stash save "save message"将自己写的东西存起来。
	通过git pull --rebase拉取代码并将自己放在最新，rebase和merge的区别可以另外了解下。
	通过git stash pop或者 git stash apply将保存的恢复，其中pop是直接删掉这个stash，apply是不...]]></description><category></category></item><item><title><![CDATA[湖南师范大学2018年大学生程序设计竞赛新生赛 I 巨巨的提问]]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/80599084</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/80599084</guid><author>yangpancheng</author><pubDate>Mon, 04 Nov 2019 11:21:48 +0800</pubDate><description><![CDATA[链接：https://www.nowcoder.com/acm/contest/127/I
来源：牛客网
文章转载自：xuanqis.com

题目描述

盼成巨巨是511的学神！
  有一天，宇鑫大佬在玩硬币，将硬币摆成一排，巨巨走过来看了一眼，向宇鑫大佬提出问题：“假如显示出正面的硬币为’(‘，反面的硬币为‘)’我可以将一段区间的括号同时翻转（‘(’&lt;----&gt;‘)’），至少需...]]></description><category></category></item><item><title><![CDATA[OPEN-PIT MINING]]></title><link>https://blog.youkuaiyun.com/yangpancheng/article/details/80471609</link><guid>https://blog.youkuaiyun.com/yangpancheng/article/details/80471609</guid><author>yangpancheng</author><pubDate>Mon, 04 Nov 2019 11:21:15 +0800</pubDate><description><![CDATA[题目链接点击打开链接
文章转载自：xuanqis.com

Description

Open-pit mining is a surface mining technique of extracting rock or minerals from the earth by their removal from an open pit or borrow. Open-pit mines are u...]]></description><category></category></item></channel></rss>