自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 问答 (1)
  • 收藏
  • 关注

原创 可以import torch但torch.cuda.is_available()返回false

pytorch安装

2022-12-29 01:34:58 971

原创 Sliding Window Problem--用简单数组解决滑动窗口问题

题目叙述: Input: 第一行有两个数字 n 和 k。窗口大小为k。第二行输入一个数组,有 n 个整数。 数据规模: 0 < k < n <= 1,000,000 Output: 输出一共n-k+1 个数字,为窗口从左向右滑动过程中,窗口里连续k个数中的最大值。 Example: 数组为[4,3,5,4,3,3,6,7],窗口大小为3时: [4 3 5]4 3 3 6 7 4[...

2020-03-02 16:45:38 183

原创 最大堆/最大优先队列——算法题

课程作业的Online Judge有一道算法题: Description The mall is running a T-day promotion. ·Every day, customers who shop at the mall can put their own receipts into a box to participate in the promotion. ·Every day...

2020-02-27 20:58:38 354

空空如也

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

TA关注的人

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