自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(25)
  • 收藏
  • 关注

原创 2023秋招华为技术岗线上面试经历

2023秋招华为技术岗线上面试经历

2023-10-17 23:15:21 2815

原创 EasyConnect 自定义路由表

2020/07/02 如今有很多学校、企业选用 EasyConnect 套端作为远程网络连接的VPN。但 EasyConnect 的客户端高度支持服务端自定义,其中服务端访问ip权限、ip映射可由服务端细致定义。与此形成对比的是客户端的透明度差,几乎所有配置由客户端为用户自动完成,且没有查看和更改选项。 在我使用 EasyConnect 远程访问学校校园网时,尴尬的问题来了:EasyConnect 默认做全局代理,而我只是想用 EasyConnect 访问知网或校园网资源...

2020-07-02 23:48:42 7017 1

原创 如何阻止Windows 10自动更新

2020/05/25 本文参考知乎答案如何阻止Windows10自动更新?,选取一些实用有效的方法记录。 方法1:禁用自动更新服务 利用批处理程序的管理员权限禁用自动更新服务wuauserv以及它的无敌保镖WaaSMedicSvcnet stop bitsnet stop WaaSMedicSvcnet stop wuauservsc config BITS start= disabledsc failure BITS reset= 8...

2020-05-25 22:08:48 578

原创 Linux用户对GPU的日常管理(英伟达)

2020/05/19 我们在服务器上跑代码最常用的就是NVIDIA显卡,如GTX2080,下面记录一下我找到的常用代码。 在NVIDIA显卡可以正常使用以后,输入nvidia-smi就可以看到一个包含每张显卡型号、显存使用情况、利用率、占用线程等信息,非常全面。 这个命令配合 watch 可以实现实时监控,是我最常用的命令:watch -n 1 nvidia-smi其中 -n 1 设定每1秒执行一次nvidia-smi 命令。设定为...

2020-05-19 21:35:34 1315

原创 2019南京大学计算机系本科生开放日题目

2019/7/12,本地组这是据应届新生回忆的题目,表述方法可能不太严谨,并没有给出数据范围,仅作参考。另外,下面的时间复杂度均属于作者的思路,不代表AC解法。1. 给一个字符串S,由()和[]组成。其中()和[]的值为1,AB的值为A+B,(A)的值为A*2,[A]的值为A+1,若括号不配对输出-1。求S所代表的值。这是一个模拟多项式计算的小题目,重点考察括号匹配。由于(A)的存...

2019-07-12 11:31:25 2093

原创 Linux下的StarCraft II包环境需求

2019/04/26Linux下的StarCraft II包有不同版本,从3.16.1到4.7.1,其环境需求是一样的。下载链接:https://github.com/Blizzard/s2client-proto#linux-packages要求:GLIBC_2.18,对应包版本libgcc 4.8.6 以上 GLIBCXX_3.4.21,对应包版本libstdc++ 4...

2019-04-26 09:15:17 1301

原创 在CentOS7上开启VNCServer,与那些踩到的坑

在远程SSH登录的时候,拥有一个图形桌面会使人心情舒畅许多。我们的服务器经常有许多人同时登陆,而TeamViewer不好多开,这时VNC就是一个不错的替代解决方案。2019/04/23服务器的CentOS7系统自带TigerVNC。Shell执行vncserver即可一键开启VNCServer。其后可以跟参数以设定各种配置,包括用户,端口,分辨率等。例如vncserver ...

2019-04-23 23:49:27 2136

原创 cmake自定义generator

2019\01\22windows下的cmake优先使用VS的编译器,在编译某些包时令人苦不堪言。在需要cmake的包的根目录创建PreLoad.cmake,PreLoad.cmake会在cmake时自动加载。以文本方式打开PreLoad.cmake,添加一行:set(CMAKE_GENERATOR "MinGW Makefiles" CACHE INTERNAL "" FORC...

2019-01-22 21:22:56 5349 7

原创 关于转移Anaconda目录——注册表、系统变量、Qt报错

2019/01/17环境:Anconda,Win10 x64今天在Win10下转移Anaconda目录时,遇到一些问题,查资料的过程令人头疼,这里总结一下。除去简单地移动文件,配置信息中的目录也要改,这才能顺利使用python,包括与cmd、pycharm的联动等等。python的配置信息主要有两部分:注册表信息、系统变量PATH。Anaconda的目录就是python的目录。...

2019-01-18 00:08:09 2649

转载 pyinstaller打包程序时遇到的一系列问题:AttributeError、No module named和PyQt5

Anconda+Python3.6,64位系统。pip安装好pyinstaller,打包时遇到错误。发生的错误和下文一模一样,贴网址记录一下。https://www.jianshu.com/p/1627dd454612

2018-12-18 22:53:18 1630

原创 CCSP 2018,杭州电子科技大学,2018/10/25

前言    杭州东站到杭电蛮近的。支付宝真是个好东西。    10月是杭州的旅游旺季,真的很难找到还不错的酒店住,建议提前3个月预定。比赛    竞赛前相关:https://www.ccf.org.cn/c/2018-10-16/653190.shtml    本次题目相关:https://git.thusaac.org/publish/CCSP2018    关于本次比赛...

2018-10-31 01:15:52 589 1

原创 Turtlebot入门-ROS系统安装

    最近接触Turtlebot,发现百度到的一些经验帖比较片面,这里写一份傻瓜式攻略。    本文参考:http://wiki.ros.org/indigo/Installation/UbuntuUbuntu和ROS的版本、安装方式选择    特定的ROS版本只能在对应的Ubuntu版本上安装。对应关系如下表——    图片来源:http://f.dataguru.cn/t...

2018-10-06 22:37:23 536

原创 清华大学深圳研究生院自动化系九推,2018/9

序幕 清华各个院九推都和本部走一样的流程,要到北京清华大学参加笔试面试。 清华研招网的打印申请表被用纯html语言生成,巨难看,没换行。不过有心动手的话自己很容易改,这个没什么影响。 日程安排15号(周六)上午笔试,下午报到,16号博士面试,17号本部工硕,18号深研院,19号贵州大数据院。 清华附近的宾馆非常难订,最后住到了北理工国际交流中心。 ...

2018-09-15 17:54:32 7515 2

原创 Codeforces #506 F. Multicolored Markers

F. Multicolored Markerstime limit per test: 3 secondsmemory limit per test: 256 megabytesinput: standard inputoutput: standard outputThere is an infinite board of square tiles. Initially all t...

2018-08-28 18:59:12 301

原创 Codeforces #506 E. Tree with Small Distances

E. Tree with Small Distancestime limit per test: 1 secondmemory limit per test: 256 megabytesinput: standard inputoutput: standard outputYou are given an undirected tree consisting of n vertic...

2018-08-27 19:41:33 675

原创 Codeforces #506 D. Concatenated Multiples

D. Concatenated Multiplestime limit per test: 2 secondsmemory limit per test: 256 megabytesinput: standard inputoutput: standard outputYou are given an array a, consisting of n positive intege...

2018-08-27 16:51:41 399

原创 Codeforces #506 C. Maximal Intersection

C. Maximal Intersectiontime limit per test: 3 secondsmemory limit per test: 256 megabytesinput: standard inputoutput: standard outputYou are given n segments on a number line; each endpoint of...

2018-08-26 19:26:30 257

原创 Codeforces #506 B. Creating the Contest

B. Creating the Contesttime limit per test: 1 secondmemory limit per test: 256 megabytesinput: standard inputoutput: standard outputYou are given a problemset consisting of n problems. The dif...

2018-08-26 18:21:42 204

原创 Codeforces #506 A. Many Equal Substrings

A. Many Equal Substringstime limit per test: 1 secondmemory limit per test: 256 megabytesinput: standard inputoutput: standard outputYou are given a string t consisting of n lowercase Latin le...

2018-08-26 17:35:55 369

原创 LeetCode 887. Super Egg Drop

You are given K eggs, and you have access to a building with N floors from 1 to N. Each egg is identical in function, and if an egg breaks, you cannot drop it again.You know that there exists a f...

2018-08-18 15:28:45 1371

原创 LeetCode 650. 2 Keys Keyboard

Initially on a notepad only one character 'A' is present. You can perform two operations on this notepad for each step:Copy All: You can copy all the characters present on the notepad (partial copy...

2018-08-17 19:17:14 162

原创 南京大学计算机系本科生开放日,2018/7

2018/7/26环境计算机系位于南大仙林校区,树很多,绿化不错。开放日全程包食宿,食堂很好吃,南大国际会议中心的早餐更厉害。外地学生住南大国际会议中心或中公汇悦酒店。南大国际会议中心标准双人间,800一晚,就算来住两晚也值了!住进来真的舒服。可以自选室友,注册时还顺眼看到情侣一间房,受到成吨打击。校内很多小蓝车,南门就是地铁站,出行很方便;但仙林校区周围没有什么大店,逛吃经常...

2018-07-26 23:00:37 3715 5

原创 HDOJ 1528. Card Game Cheater

概述    两个人在用一幅扑克牌比大小,给定牌,问第二个人最多能赢第一个人几张牌。 思路    乍一看是典型的二分匹配,实际无需繁琐的建图过程。    贪心策略是显而易见的:如果要选择一张牌赢或不赢,赢比不赢好,而且赢越大的牌越好。    因此对两组牌从大向小遍历即可。代码#include<bits\stdc++.h> typedef long long...

2018-07-23 21:22:26 177

原创 SGU 226. Colored graph

226. Colored graphtime limit per test: 0.25 sec.memory limit per test: 4096 KBYou are given an oriented graph. Each edge of the graph is colored in one of the three colors. Your task is to find ...

2018-07-23 15:51:17 299

原创 SGU 101. Domino (多米诺骨牌)

101. Dominotime limit per test: 0.25 sec. memory limit per test: 4096 KBDominoes – game played with small, rectangular blocks of wood or other material, each identified by a number of dots, or p...

2018-07-22 20:58:20 561

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除