自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

博客

小白的探索之路

  • 博客(23)
  • 资源 (1)
  • 收藏
  • 关注

原创 解决Android Studio 的报错org.gradle.internal.exceptions.LocationAwareException

安装使用Android Studio真的是会出现各种各样的报错,在多次报错改错过程中,一个个新的错接踵而至。大多报错比较常见,易解决。在此记录一个可能因人而异的报错(即标题所示报错)的解决办法。目录具体报错解决办法我的报错的根本原因具体报错报错情况我没有进行记录,这里找了个差不多的。虽然都是如题所示的报错,但后面部分的介绍不同,有的直接可以看出要怎么做,而我的大概是配置过程...

2020-01-04 11:46:49 28820

原创 centos7中dockerfile方式安装nginx镜像 + 解决报错

记录一下我曲折的安装镜像之旅(扶额哭),报错5秒钟,改错三小时。看了很多网上的教程,但我用了 都或多或少有些问题,所以顺便总结记录一个避坑的步骤。我使用的是centos7,已经装好了docker,使用dockerfile安装nginx 1.17.1镜像目录安装和启动步骤1.安装centos基础镜像(或Ubuntu)(可略过)2.编辑Dockerfile内容,找一个位置,创建并编...

2019-07-11 17:32:07 3160

原创 解决VBox中CentOS的增强功能安装问题 及 vbox centos安装增强功能总结

震惊!增强功能安装失败,百般瞎折腾无效,没想到只需要一个小操作就能完美解决?记录一下我曲折的增强功能安装路程,并总结一下安装增强功能的步骤。我的是centos7,vbox5.28目录报错情况解决安装步骤1.确认增强包iso版本。2.其次,需要装好需要用到的全套大礼包2.1 安装Development Tools2.2 安装gcc环境3.kernel相关安...

2019-06-25 18:26:51 6007 5

原创 解决Failed to get a string value from com.hxtt.e.j:问题

我使用的是Access和eclipse,在使用sql中的修改更新操作(将用户名为000的用户 密码改为000,身份改为00)时,出现了以下报错。在网上没有搜到相关问题,记录一下。(解决了才发现,是个粗心的弱智问题Orz)java.sql.SQLException: Failed to get a string value from com.hxtt.e.j: false AND '000'...

2019-05-03 19:13:35 1023

原创 【UVA】10340 All in All

题目链接:All in All 题目:You have devised a new encryption technique which encodes a message by inserting between its characters randomly generated strings in a clever way. Because of pending patent is...

2018-08-15 10:43:47 161

原创 【UVA】202 Repeating Decimals

题目链接:Repeating Decimals题目:The decimal expansion of the fraction 1/33 is 0.03, where the 03 is used to indicate that the cycle 03 repeats indefinitely with no intervening digits. In fact, the deci...

2018-08-13 12:33:41 212

原创 【codeforces】1B Spreadsheets

题目链接:Spreadsheets题目:Spreadsheetstime limit per test:10 secondsmemory limit per test:64 megabytesinput:standard inputoutput:standard outputIn the popular spreadsheets systems (for exampl...

2018-08-12 09:41:52 433

原创 【UVA】1368 DNA Consensus String

题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4114目录题目:InputOutputSample InputSample Output分析:代码: 题目:DNA (Deox...

2018-08-06 15:22:51 155

原创 【UVA】232 Crossword Answers

题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=168目录题目:InputOutputSample InputSample Output分析:代码:最初:最终: 题目:题...

2018-08-06 11:32:13 244

原创 【UVA】227 Puzzle

题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=163目录题目:InputOutputSample InputSample Output分析:代码: 题目:(题目中还带有示例图,...

2018-08-03 18:52:48 303

原创 【UVA】455 Periodic Strings

题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=396题目: A character string is said to have period k if it can be formed by concaten...

2018-08-03 13:46:47 145

原创 【UVA】1225 Digit Counting

题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3666题目:Trung is bored with his mathematics homeworks. He takes a piece of chalk an...

2018-08-03 11:38:27 154

原创 【HDU】1753 大明A+B

题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=1753题目: Problem Description 话说,经过了漫长的一个多月,小明已经成长了许多,所以他改了一个名字叫“大明”。 这时他已经不是那个只会做100以内加法的那个“小明”了,现在他甚至会任意长度的正小数的加法。 现在,给你两个正的小数A和B,你的...

2018-08-01 18:33:34 203

原创 【HDU】2054 A == B ?

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2054题目:Problem DescriptionGive you two numbers A and B, if A is equal to B, you should print "YES", or print "NO".Inputeach test case contains...

2018-07-31 15:03:52 618 2

原创 【HDU】 2035 人见人爱A^B

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2035题目:Problem Description求A^B的最后三位数表示的整数。说明:A^B的含义是“A的B次方”Input输入数据包含多个测试实例,每个实例占一行,由两个正整数A和B组成(1<=A,B<=10000),如果A=0, B=0,则表示输入数据的结束,不做...

2018-07-30 18:53:17 187

原创 【HDU】2034 人见人爱A-B

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2034题目:Problem Description参加过上个月月赛的同学一定还记得其中的一个最简单的题目,就是{A}+{B},那个题目求的是两个集合的并集,今天我们这个A-B求的是两个集合的差,就是做集合的减法运算。(当然,大家都知道集合的定义,就是同一个集合中不会有两个相同的元素,这里还是...

2018-07-29 19:05:58 176

原创 【HDU】1720 A+B Coming

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1720题目:Problem DescriptionMany classmates said to me that A+B is must needs.If you can’t AC this problem, you would invite me for night meal. ^_^...

2018-07-29 13:54:32 239

原创 【HDU】2057 A + B Again

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2057题目:Problem DescriptionThere must be many A + B problems in our HDOJ , now a new one is coming.Give you two hexadecimal integers , your task i...

2018-07-29 12:31:37 161

原创 【UVA】1586 Molar mass

目录题目内容:InputOutputSample InputSample Output题目分析: 代码: 题目链接 :https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4461题目内容:An ...

2018-07-28 22:15:44 302

原创 【HDU】2007 平方和与立方和

Problem Description 给定一段连续的整数,求出他们中所有偶数的平方和以及所有奇数的立方和。   Input 输入数据包含多组测试实例,每组测试实例包含一行,由两个整数m和n组成。   Output 对于每组输入数据,输出一行,应包括两个整数x和y,分别表示该段连续的整数中所有偶数的平方和以及所有奇数的立方和。 ...

2018-07-24 18:49:44 116

原创 【HDU】2000 ASCII码排序

Problem Description 输入三个字符后,按各字符的ASCII码从小到大的顺序输出这三个字符。   Input 输入数据有多组,每组占一行,有三个字符组成,之间无空格。   Output 对于每组输入数据,输出一行,字符中间用一个空格分开。   Sample Input qwe asd...

2018-07-24 18:40:33 233

原创 【UVA】1585 Score

There is an objective test result such as “OOXXOXXOOO”. An ‘O’ means a correct answer of a problem and an ‘X’ means a wrong answer. The score of each problem of this test is calculated by itself and ...

2018-07-24 18:21:55 485

原创 【codevs】1204 寻找子串位置

题目描述 Description给出字符串a和字符串b,保证b是a的一个子串,请你输出b在a中第一次出现的位置。输入描述 Input Description仅一行包含两个字符串a和b输出描述 Output Description仅一行一个整数样例输入 Sample Inputabcd bc

2017-12-05 17:55:17 360

jdbc连接使用jar包 Access_JDBC40.jar

连接Access数据库的jar包。如果使用Access_JDBC30.jar,代码没问题,数据库也已正常连接,能增删改查,但还是会报数据库连接错,可以换用此jar包,问题将解决。解压后即可使用。

2019-03-16

空空如也

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

TA关注的人

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