自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

which的博客

学习点滴

  • 博客(10)
  • 资源 (2)
  • 收藏
  • 关注

原创 升级Ubuntu 20.04后,无法调节亮度

升级Ubuntu 20.04后,无法调节亮度ubuntu18.04 升级到 20.04后,设置里面没有亮度条滑块控制亮度。按网上的说法,修改/etc/default/grub,将GRUB_CMDLINE_LINUX=""修改为GRUB_CMDLINE_LINUX="acpi_backlight=vendor"执行sudo update-grub,重启计算机即可。实际效果只能把亮度条滑块显示出来,调节滑块亮度并无变化。尝试发现将GRUB_CMDLINE_LINUX="acpi_backligh

2020-10-07 22:44:10 6171 7

原创 LeetCode | 8) String to Integer (atoi)

题目Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input ca

2016-10-05 01:08:34 308

原创 LeetCode | 7)Reverse Integer

题目Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321Have you thought about this? Here are some good questions to ask before coding. Bonus points for you

2016-10-04 23:19:01 410

原创 LeetCode | 6)ZigZag Conversion

题目The string “PAYPALISHIRING” is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)P- - - - A - - - H - - - NA

2016-10-04 18:31:29 274

原创 LeetCode | 5)Longest Palindromic Substring

题目Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring.Prototypeclass Solution {

2016-10-04 16:29:02 265

原创 LeetCode | 4)Median of Two Sorted Arrays

题目There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).Example 1: nums1 = [1, 3]

2016-10-04 12:59:58 365

原创 LeetCode | 3)Longest Substring Without Repeating Characters

题目Given a string, find the length of the longest substring without repeating characters. Examples: Given “abcabcbb”, the answer is “abc”, which the length is 3. Given “pwwkew”, the answer is “w

2016-10-03 15:48:05 247

原创 LeetCode | 2) Add Two Numbers

题目You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a lin

2016-10-02 18:03:16 433

原创 LeetCode | 1) Two sum

*Given an array of integers, return **indices** of the two numbers such that they add up to a specific target.**You may assume that each input would have **exactly** one solution.*

2016-10-02 15:51:02 312

原创 联想拯救者笔记本安装Win10、Ubuntu16.04双系统

UEFI+Win10+Ubuntu16.04+Nvidia双显卡原来的老爷机一直使用debian系统,最近挂了,换了个联想拯救者游戏本,性能还不错。新电脑装了正版的win10,可是对于我这种喜欢折腾linux系统的人来说,必须要装个双系统!双系统的安装1、电脑自带的是1T的机械硬盘,正好自己有一块256G的固态硬盘,换上SSD开始新旅程。2、在微软官网下载Win10家庭版,U...

2016-10-02 01:03:33 13875 4

求质数的程序bc写的

用bc写的关于一个数是不是质数的求法,用到了循环语句

2010-12-05

用c编写的一元二次方程的求解程序

以c语言编写的关于一元二次方程求解问题的程序,可以求复数解

2010-11-12

空空如也

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

TA关注的人

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