自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 playwright实现拖拽

如果你的页面依赖于正在调度的 dragover 事件,则你需要至少移动两次鼠标才能在所有浏览器中触发它。操作顺序为: 将鼠标悬停在拖动元素上,鼠标向下,将鼠标悬停在放置元素上,第二次将鼠标悬停在放置元素上,将鼠标向上悬停。https://playwright.nodejs.cn/docs/input (中文)出自:https://playwright.dev/docs/input (英文)

2023-10-19 14:36:59 482

原创 报错记录:ORA-01795

【代码】ORA-01795。

2023-09-05 17:01:59 208

原创 GNS3虚拟机导入报错

GNS3虚拟机导入报错

2023-08-31 14:50:05 236

原创 设置文件默认打开方式

设置文件默认打开方式

2023-08-25 17:07:28 99

原创 实验2

#include<iostream>using namespace std;char cha[100];typedef struct BiTNode { char data; struct BiTNode *lchild, *rchild;}BiTNode, *BiTree;struct Tag { BiTree p;};//链栈的存储结构typedef str...

2019-11-14 15:22:20 379

原创 Lake Counting

#include<iostream> #include<iomanip> int N, M;char field[100][101];using namespace std;void dfs(int x, int y) { field[x][y] = '.'; for (int dx = -1; dx <= 1; dx++) { for (int d...

2019-11-02 12:12:38 158

原创 选数

Description已知 n 个整数 x1,x2,…,xn,以及一个整数 k(k<n)。从 n 个整数中任选 k 个整数相加,可分别得到一系列的和。例如当 n=4,k=3,4 个整数分别为 3,7,12,19 时,可得全部的组合与它们的和为:3+7+12=22  3+7+19=29  7+12+19=38  3+12+19=34。现在,要求你计算出和为素数共有多少种。例如上例,只有一种的...

2019-10-27 12:47:56 280

原创 递归dfs

给定一串数字,判断是否可以从中挑出若干数,使它们的总和为k;1 <= n <= 20;-10^8 <= a1 <= 10^8;-10^8 <= k <=10^8;

2019-10-23 17:03:56 130

原创 ImportError: cannot import name 'issparse'?

在使用jupyter notebook时,出现了这个问题,突然发现是自己忘记下scipy了。解决:进入cmd输入:pip3 install scipy收工。

2019-08-13 19:32:10 6075

原创 TypeError: softmax() got an unexpected keyword argument 'axis'问题解决

原因:tensorflow 和 keras版本不匹配,可以将keras升级或降级到对应的版本。以下是已知版本的适配: tensorflow keras 1.5 2.1.4 1.4...

2019-08-13 19:18:45 600 1

原创 Java_001 foreach语句

1、for语句:1)表达式1:初始化表达式,负责完成变量的初始化。2)表达式2:循环条件表达式,值为boolean型的表达式,指定循环条件。3)表达式3:循环后操作表达式,负责休整变量,改变循环条件。2、foreach语句:是for语句的简化版本,不能完全取代for语句,但所有的foreach语句都可以改写为for语句(foreach并不是关键字)语法如下:for(元素变量x: 遍历...

2019-07-28 17:43:35 125

原创 HDU - 1213 How Many Tables

How Many TablesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 47784 Accepted Submission(s): 23809Problem DescriptionToday is Ignatius’ b...

2018-12-21 21:04:12 285

原创 HDU - 1002 A + B Problem II

A + B Problem IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 452860 Accepted Submission(s): 87794Problem DescriptionI have a very simp...

2018-12-21 20:36:13 111

原创 取石子游戏

取石子游戏Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 46054 Accepted: 15755Description有两堆石子,数量任意,可以不同。游戏开始由两个人轮流取石子。游戏规定,每次有两种不同的取法,一是可以在任意的一堆中取走任意多的石子;二是可以在两堆中同时取走相同数量的石子。最后把石子全部取完者为胜者...

2018-12-14 21:53:18 719

原创 整除的尾数

整除的尾数Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 51998 Accepted Submission(s): 22026Problem Description一个整数,只知道前几位,不知道末二位,被另一个整数除尽了,那...

2018-12-12 15:19:13 167

原创 Climbing Worm

Climbing WormTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 23393 Accepted Submission(s): 16011Problem DescriptionAn inch worm is at the...

2018-12-12 15:04:11 418

原创 A. Drazil and Date

A. Drazil and Datetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSomeday, Drazil wanted to go on date with Varda. Drazil and Varda live on Ca...

2018-12-09 18:30:34 99

原创 第几天

第几天?Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 207719 Accepted Submission(s): 72592Problem Description给定一个日期,输出这个日期是该年的第几天。Input输入...

2018-12-09 16:59:55 164

原创 三角形

三角形Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 124501 Accepted Submission(s): 40022Problem Description给定三条边,请你判断一下能不能组成一个三角形。Input输...

2018-12-09 10:03:57 124

原创 A + B Problem Too

A + B Problem TooTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 21236 Accepted Submission(s): 15554Problem DescriptionThis problem is al...

2018-12-07 21:47:23 99

原创 计算球体积

计算球体积Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 221511 Accepted Submission(s): 86453Problem Description根据输入的半径值,计算球的体积。Input输入数据有多...

2018-12-07 21:11:15 291

原创 ASCII码排序

ASCII码排序Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 237187 Accepted Submission(s): 93376Problem Description输入三个字符后,按各字符的ASCII码从小到大的顺序...

2018-12-07 20:55:33 906

原创 A + B Problem

Calculate A + B.InputEach line will contain two integers A and B. Process to end of file.OutputFor each case, output A + B in one line.Sample Input1 1Sample Output2问题链接:https://vjudge.net/pro...

2018-12-07 20:43:10 90

原创 Stones on the Table

Stones on the TableThere are n stones on the table in a row, each of them can be red, green or blue. Count the minimum number of stones to take from the table so that any two neighboring stones had d...

2018-12-07 20:34:10 119

原创 George and Accommodation

George and AccommodationGeorge has recently entered the BSUCP (Berland State University for Cool Programmers). George has a friend Alex who has also entered the university. Now they are moving into a...

2018-12-07 19:51:38 118

原创 String Task

String TaskTime limit2000 msMemory limit262144 kBSourceCodeforces Beta Round #89 (Div. 2)Tagsimplementation strings *1100EditorialAnnouncement Tutorial #1 Tutorial #2Problem DescriptionPetya st...

2018-12-07 19:34:43 228

空空如也

空空如也

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

TA关注的人

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