<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[NanshanGly的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/NanshanGly</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; NanshanGly]]></copyright><item><title><![CDATA[Downloading torch-2.3.0-cp38-cp38-manylinux1_x86_64.whl No space left on device]]></title><link>https://blog.youkuaiyun.com/NanshanGly/article/details/139104706</link><guid>https://blog.youkuaiyun.com/NanshanGly/article/details/139104706</guid><author>NanshanGly</author><pubDate>Wed, 22 May 2024 16:13:22 +0800</pubDate><description><![CDATA[因为服务器多人使用，df -h 发现空间不够了，但又没法删东西，可用 --no-cache-dir，会直接安装torch，而不把缓存放在 /home目录下导致报错。安装 torch 时发现很慢，可用清华源 -i https://pypi.tuna.tsinghua.edu.cn/simple。]]></description><category></category></item><item><title><![CDATA[linux修改conda环境位置]]></title><link>https://blog.youkuaiyun.com/NanshanGly/article/details/135795704</link><guid>https://blog.youkuaiyun.com/NanshanGly/article/details/135795704</guid><author>NanshanGly</author><pubDate>Tue, 23 Jan 2024 23:04:35 +0800</pubDate><description><![CDATA[原来已有的环境还在原路径，可以复制过来（如下），也可以不移；新创建的环境会在新的路径。]]></description><category></category></item><item><title><![CDATA[ImportError: cannot import name ‘AES‘ from ‘Crypto.Cipher‘ (unknown location)]]></title><link>https://blog.youkuaiyun.com/NanshanGly/article/details/129525619</link><guid>https://blog.youkuaiyun.com/NanshanGly/article/details/129525619</guid><author>NanshanGly</author><pubDate>Tue, 14 Mar 2023 13:54:50 +0800</pubDate><description><![CDATA[ImportError: cannot import name 'AES' from 'Crypto.Cipher']]></description><category></category></item><item><title><![CDATA[SSH 免密登录]]></title><link>https://blog.youkuaiyun.com/NanshanGly/article/details/128603182</link><guid>https://blog.youkuaiyun.com/NanshanGly/article/details/128603182</guid><author>NanshanGly</author><pubDate>Sun, 08 Jan 2023 17:35:17 +0800</pubDate><description><![CDATA[SSH 免密码登录]]></description><category></category></item><item><title><![CDATA[leetcode第2题 两数相加 C语言实现]]></title><link>https://blog.youkuaiyun.com/NanshanGly/article/details/127461341</link><guid>https://blog.youkuaiyun.com/NanshanGly/article/details/127461341</guid><author>NanshanGly</author><pubDate>Sat, 22 Oct 2022 14:23:57 +0800</pubDate><description><![CDATA[leetcode第2题 两数相加 C语言实现]]></description><category></category></item><item><title><![CDATA[leetcode第1题 两数之和 C语言实现]]></title><link>https://blog.youkuaiyun.com/NanshanGly/article/details/127247919</link><guid>https://blog.youkuaiyun.com/NanshanGly/article/details/127247919</guid><author>NanshanGly</author><pubDate>Mon, 10 Oct 2022 16:56:22 +0800</pubDate><description><![CDATA[暴力破解：双层循环遍历数组，注意k≠i，所以第二重循环每次从i+1开始。]]></description><category></category></item><item><title><![CDATA[ImportError: cannot import name ‘NoReturn‘]]></title><link>https://blog.youkuaiyun.com/NanshanGly/article/details/125115573</link><guid>https://blog.youkuaiyun.com/NanshanGly/article/details/125115573</guid><author>NanshanGly</author><pubDate>Fri, 03 Jun 2022 20:34:15 +0800</pubDate><description><![CDATA[ImportError: cannot import name 'NoReturn']]></description><category></category></item><item><title><![CDATA[安装microsoft store]]></title><link>https://blog.youkuaiyun.com/NanshanGly/article/details/125082652</link><guid>https://blog.youkuaiyun.com/NanshanGly/article/details/125082652</guid><author>NanshanGly</author><pubDate>Wed, 01 Jun 2022 14:30:09 +0800</pubDate><description><![CDATA[windows10安装microsoft store]]></description><category></category></item><item><title><![CDATA[阿里云部署rabbitMQ报错Err:1 http://mirrors.cloud.aliyuncs.com/ubuntu focal-updates/]]></title><link>https://blog.youkuaiyun.com/NanshanGly/article/details/124905363</link><guid>https://blog.youkuaiyun.com/NanshanGly/article/details/124905363</guid><author>NanshanGly</author><pubDate>Sun, 22 May 2022 00:03:12 +0800</pubDate><description><![CDATA[Err:1 http://mirrors.cloud.aliyuncs.com/ubuntu focal-updates/main amd64 locales-all amd64 2.31-0ubuntu9.2
  404  Not Found [IP: 100.100.2.148 80]
E: Failed to fetch http://mirrors.cloud.aliyuncs.com/ubuntu/pool/main/g/glibc/locales-all_2.31-0ubuntu9.2_amd.]]></description><category></category></item><item><title><![CDATA[快速排序（C语言实现）]]></title><link>https://blog.youkuaiyun.com/NanshanGly/article/details/122146679</link><guid>https://blog.youkuaiyun.com/NanshanGly/article/details/122146679</guid><author>NanshanGly</author><pubDate>Sat, 25 Dec 2021 18:21:18 +0800</pubDate><description><![CDATA[将int型数组快排，数组大小为n.

快排算法见《算法导论》第七章，关键是PARTITION过程，然后递归调用QUICKSORT. 这里为了更快，PARTITION采用随机化的RANDOMIZED-PARTITION（《算法导论》7.3节）.

代码如下：


#include&lt;stdio.h&gt;
//数组排序

int partition(int a[],int p,int r){
	int i=p-1;
	int temp,j;
	int piv=rand()% (r - p + 1) + p]]></description><category></category></item><item><title><![CDATA[怎样删除管理员账户]]></title><link>https://blog.youkuaiyun.com/NanshanGly/article/details/121619839</link><guid>https://blog.youkuaiyun.com/NanshanGly/article/details/121619839</guid><author>NanshanGly</author><pubDate>Mon, 29 Nov 2021 21:19:51 +0800</pubDate><description><![CDATA[在非管理员账户里点击“Win+X”，再点“Windows PowerShell（管理员）”，输入“net user administrator /active:no”，回车即可。



若要打开管理员账户，则把“no”换成“yes”。
]]></description><category></category></item></channel></rss>