- 博客(12)
- 收藏
- 关注
原创 解决扩展屏幕之后图标一直显示在副屏的问题
一开始只显示在一块屏幕上,然后点击扩展屏幕之后,会显示到两块屏幕上。之后无论设置哪块屏幕为主屏幕,右下角的图标都只会显示在初始的那一块屏幕上。
2023-12-11 19:44:18
6781
1
原创 pip快速安装torch
pip快速安装torchwin10上的安装命令若出现报错torch has an invalid wheel.win10上的安装命令pip install torch===1.7.1 torchvision===0.4.1 -i https://pypi.tuna.tsinghua.edu.cn/simple我是清华镜像源中安装的,torch版本1.7.1, torchvision版本0.4.1若出现报错torch has an invalid wheel.一开始我安装的torch版本1.7.0
2022-04-15 21:31:19
15826
原创 数字系统实验日志(1)2/29
2020/2/29一、笔记1.四位数码管中段选数字共用,位选一对一;2.四位数码管的共阴:位选信号引脚公共地接到二极管的负极二、测试题目2.3.4.5.6.7.应该选a8.改:a9.全选10.全选11.12....
2020-02-29 18:48:38
259
原创 生日蛋糕(POJ 1190)
#include<bits/stdc++.h>using namespace std;int minA[21],minV[21],N,M;//minA表示i层蛋糕的侧面积,minV表示i层蛋糕的体积 int area=0,minarea=1<<30;int MaxPossibloV(int c,int maxr,int maxh){ int v=0; for(...
2019-08-02 21:44:31
230
原创 DFS 城堡问题百练2815
输入程序从标准输入设备读入数据。第一行是两个整数,分别是南北向、东西向的方块数。在接下来的输入行里,每个方块用一个数字(0≤p≤50)描述。用一个数字表示方块周围的墙,1表示西墙,2表示北墙,4表示东墙,8表示南墙。每个方块用代表其周围墙的数字之和表示。城堡的内墙被计算两次,方块(1,1)的南墙同时也是方块(2,1)的北墙。输入的数据保证城堡至少有两个房间。输出城堡的房间数、城堡中最大房间所...
2019-07-31 16:38:02
163
原创 暑期第四次题目E Fishermen
Problem DescriptionThe ocean can be represented as the first quarter of the Cartesian plane. There are n fish in the ocean. Each fish has its own coordinates. There may be several fish at one point....
2019-07-30 20:52:27
443
原创 LIS(百练2757)
#includeusing namespace std;int n;int f(int a[],int i,int pre){ if(i==n) return 0; if(a[i]>pre) return max(1+f(a,i+1,a[i]),f(a,i+1,pre)); else return f(a,i+1,pre);}int main(...
2019-07-26 17:22:27
135
原创 Stall Reservations(百练3190)
DescriptionOh those picky N (1 <= N <= 50,000) cows! They are so picky that each one will only be milked over some precise time interval A…B (1 <= A <= B <= 1,000,000), which includes ...
2019-07-26 15:38:47
114
原创 Radar Installation
百练1328:Radar Installation描述Assume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating in the sea side. And any radar i...
2019-07-25 20:00:50
135
原创 由前序和中序求二叉树的深度
//求二叉树的深度#include<iostream>using namespace std;struct tree{ int root; tree*right,*left;}; int depth(tree* t){ if(t==NULL) return 0; return 1+max(depth(t->left),depth(t->right))...
2019-07-24 16:56:49
562
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人