- 博客(85)
- 收藏
- 关注
原创 NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver.
https://www.jianshu.com/p/3cedce05a481
2021-07-28 15:52:11
155
原创 拉普拉斯矩阵
半正定证明:https://www.liufr.com/2018/11/19/%E6%A8%A1%E5%BC%8F%E8%AF%86%E5%88%AB/2018-11-19-%E8%AF%81%E6%98%8E%E6%8B%89%E6%99%AE%E6%8B%89%E6%96%AF%E7%9F%A9%E9%98%B5%E6%98%AF%E5%8D%8A%E6%AD%A3%E5%AE%9A%E7%9F%A9%E9%98%B5/
2020-10-21 23:06:30
353
原创 bazel超时
https://github.com/bazelbuild/bazel/issues/587#issuecomment-412531604https://xbuba.com/questions/52311486
2020-10-07 22:48:41
1351
原创 Ubuntu18.04美化
https://www.jianshu.com/p/5bd14cbf7186https://blog.nowcoder.net/n/c5cd660cc08b43f28c311b532ecff887
2020-04-30 14:48:23
261
原创 ubuntu18.04安装deepin-wine
https://blog.youkuaiyun.com/superbfly/article/details/103505616https://bbs.deepin.org/forum.php?mod=viewthread&tid=183464https://github.com/wszqkzqk/deepin-wine-ubuntu
2020-04-30 11:17:05
494
原创 远程访问服务器TensorBoard
https://stackoverflow.com/questions/37987839/how-can-i-run-tensorboard-on-a-remote-server
2020-03-11 16:36:20
278
原创 Ubuntu18.04上安装Dropbox
https://www.sunzhongwei.com/dropbox-ubuntu-installation
2020-02-24 16:00:37
224
原创 win10+ubuntu18.04双系统安装
https://blog.youkuaiyun.com/qq_42815188/article/details/90301712
2020-02-19 12:32:21
189
原创 本地直接修改服务器代码
为了能够在本地修改服务器端的代码,本文将介绍如何通过sshfs实现该需求一、什么是 SSHFSSSHFS(Secure SHell FileSystem)是一个客户端,可以让我们通过 SSH 文件传输协议(SFTP)挂载远程的文件系统并且在本地机器上和远程的目录和文件进行交互ubuntu 18.04:sudo apt install sshfs二、假设有两台机器服务器目录/home...
2020-02-07 21:50:03
1992
原创 ubuntu18.04中文输入法设置
https://blog.youkuaiyun.com/github_39533414/article/details/85211012
2020-02-05 19:50:20
308
原创 precision, recall, AP, mAP
explanation:https://www.zhihu.com/question/41540197/answer/416678470code:https://www.zhihu.com/question/41540197/answer/308118200
2020-02-05 15:40:05
147
原创 ImportError: cannot import name 'PILLOW_VERSION' from 'PIL'
import torchvision.transforms as transforms时报ImportError: cannot import name 'PILLOW_VERSION' from 'PIL'的错误解决方案:https://github.com/pytorch/vision/issues/1712
2020-01-13 16:17:48
1694
原创 欧拉角与旋转矩阵之间的转化公式
https://blog.youkuaiyun.com/loongkingwhat/article/details/82765388
2020-01-07 15:44:20
541
原创 本地电脑使用服务器的Jupyter Notebook
https://blog.youkuaiyun.com/seniusen/article/details/81086995
2019-11-15 16:33:20
202
原创 leetcode 33. Search in Rotated Sorted Array
class Solution {public: int search(vector<int>& nums, int target) { int l=0,r=nums.size(); while(l<r){ int m=l+r>>1; if(target==nums[m])...
2019-08-24 22:20:36
139
原创 leetcode 32. Longest Valid Parentheses
class Solution {public: int longestValidParentheses(string s) { stack<int> stk; vector<int> num(s.size(),0); int mxx=0; for(int i=0;i<s.size();++i){...
2019-08-24 21:58:14
139
原创 leetcode 31. Next Permutation
class Solution {public: void nextPermutation(vector<int>& nums) { int p=-1; for(int i=(int)nums.size()-2;i>=0;i--){ if(nums[i]<nums[i+1]){ ...
2019-08-24 20:22:07
121
原创 leetcode 30. Substring with Concatenation of All Words
双指针class Solution {public: vector<int> findSubstring(string s, vector<string>& words) { if(s==""||!words.size()) return vector<int>(); unordered_map<stri...
2019-08-24 09:12:57
147
原创 百练 4119: 复杂的整数划分问题
背包问题#define _CRT_SECURE_NO_WARNINGS#include<cstdio>#include<cstring>#include<algorithm>#include<vector>using namespace std;typedef long long ll;const int N = 50 + 5;...
2019-07-01 23:38:12
521
原创 百练 4120: 硬币
01背包+容斥,f[j]:构成j的方案数,g[j]:除去a[i]后构成j的方案数#define _CRT_SECURE_NO_WARNINGS#include<cstdio>#include<cstring>#include<algorithm>#include<vector>using namespace std;const int...
2019-06-30 19:44:17
506
原创 百练 4124: 海贼王之伟大航路
状压dp#define _CRT_SECURE_NO_WARNINGS#include<cstdio>#include<algorithm>#include<cstring>using namespace std;const int N = 20;int mp[N][N];int dp[1 << N][N];int main(...
2019-06-28 23:46:14
394
原创 百炼 4129: 变换的迷宫
记录状态,走过的无需再走#define _CRT_SECURE_NO_WARNINGS#include<cstdio>#include<queue>#include<cstring>using namespace std;const int N = 100 + 5;char s[N][N];int r, c, k, si, sj, dir[2...
2019-05-31 15:21:15
892
原创 百炼 4130: Saving Tang Monk
同一个S可能需要多次经过,只需杀一次。#define _CRT_SECURE_NO_WARNINGS#include<cstdio>#include<algorithm>#include<queue>using namespace std;const int N = 100 + 5;char s[N][N];int si, sj, n, m,...
2019-05-31 14:58:24
395
原创 百练 4132: 四则运算表达式求值
#define _CRT_SECURE_NO_WARNINGS#include<cstdio>#include<cstring>#include<string>#include<vector>#include<stack>using namespace std;const int N = 1e5 + 5;struct ...
2019-05-17 09:34:54
388
原创 百练 4144: 畜栏保留问题
贪心#define _CRT_SECURE_NO_WARNINGS#include<cstdio>#include<cstring>#include<algorithm>#include<queue>using namespace std;typedef long long ll;const int N = 50000 + 5;...
2019-05-16 16:55:20
468
原创 百练 4149: 课程大作业
dp好题,麻烦的是需要字典序最小,每次更新dp需要进行判断。#define _CRT_SECURE_NO_WARNINGS#include<cstdio>#include<algorithm>#include<cstring>#include<vector>using namespace std;const int N = 15 + ...
2019-05-16 15:11:20
944
原创 百练 4150: 上机
dp好题#define _CRT_SECURE_NO_WARNINGS#include<cstdio>#include<algorithm>#include<cstring>using namespace std;const int N = 10000 + 5;int a[N], b[N], c[N], dp[N][4];int main(...
2019-05-16 13:47:42
248
原创 百练 4152: 最佳加法表达式
#define _CRT_SECURE_NO_WARNINGS#include<cstdio>#include<algorithm>#include<string>#include<cstring>using namespace std;const int N = 100 + 5;char ss[N];string dp[N][...
2019-05-16 10:50:15
476
原创 高斯函数
https://blog.youkuaiyun.com/yangziluomu/article/details/55049924http://www.tina-vision.net/docs/memos/2003-003.pdf
2019-05-10 16:36:50
520
原创 Github使用
https://blog.youkuaiyun.com/yuanfengpan/article/details/83047341
2019-05-05 12:08:35
207
原创 leetcode 241. Different Ways to Add Parentheses
枚举每个符号作为中间符号,递归计算两边所有可能,组合在一起即可class Solution {public: vector<int> num; vector<char> op; vector<int> dfs(int l,int r) { if(l==r) return {num[l/2]}; ...
2019-03-14 18:56:24
329
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人