自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 TensorFlow2.0 入门教程实战案例

中文文档TensorFlow 2 / 2.0 中文文档知乎专栏欢迎关注知乎专栏 https://zhuanlan.zhihu.com/geektutu一、实战教程之强化学习TensorFlow 2.0 (九) - 强化学习 70行代码实战 Policy GradientTensorFlow 2.0 (八) - 强化学习 DQN 玩转 gym Mountain CarTen...

2019-07-09 13:00:00 1007

转载 Javascript 优化项目代码技巧之语言基础(二)

博客逐步迁移至 极客兔兔的小站上一篇随笔介绍了如何正确判断对象类型、避免变量污染,特殊值(null、undefined、NaN)的使用,以及其他Javascript中常用关键字与方法的优化,这篇随笔将着重介绍Javascript语言中的条件与循环优化。如有问题,请不吝指出,非常感谢;如果喜欢,右下角点个推荐吧~1.if、switch、查表1.1 if-else...

2016-03-30 19:21:00 266

转载 Javascript 优化项目代码技巧之语言基础(一)

博客逐步迁移至 极客兔兔的小站Javascript的弱类型以及函数作用域等规则使用编写Javascript代码极为容易,但是编写可维护、高质量的代码却变得十分困难,这个系列的文章将总结在项目开发过程中,能够改善代码可读性、可维护性及优化运行性能的一系列技巧。如有问题,请不吝指出,非常感谢;如果喜欢,右下角点个推荐吧~1.全局变量污染与变量提升定义全局变量的3...

2016-03-26 23:21:00 106

转载 Java Gradle入门指南之依赖管理(添加依赖、仓库、版本冲突)

推荐阅读Pandas 数据处理(三) - Cheat Sheet 中文版 pdfPandas 数据处理(二) - 筛选数据Pandas 数据处理(一) - DataFrame 与 Series0.前言开发任何软件,如何管理依赖是一道绕不过去的坎,软件开发过程中,我们往往会使用这样那样的第三方库,这个时候,一个好的依赖管理就显得尤为重要了。作为一个自动构建工作,Gradl...

2016-03-19 22:47:00 557

转载 Java Gradle入门指南之插件管理(类型、导入及java plugin使用)

博客逐步迁移至 极客兔兔的小站上一篇随笔介绍了如何使用Gradle内建任务,介绍了自定义Gradle任务类的三种方法(build文件,buildSrc文件夹、新建groovy项目),一个任务是一个原子操作,即不可分割的。项目开发过程中,我们往往需要按照一定顺序执行多个任务以完成某个特定功能(例如build、clean),多个任务及其属性、配置的集合称之为一个plugin...

2016-03-18 00:29:00 133

转载 Java Gradle入门指南之内建与定制任务类(buildSrc、Groovy等)

博客逐步迁移至 极客兔兔的小站上一篇随笔介绍了Gradle的安装与任务管理,这篇着重介绍Gradle的内建任务(in-built tasks)与自定义任务(custom tasks),借助Gradle提供的众多内建任务类型以及自己定制的任务类型,Java Web、Android等的开发、测试、部署将会变得非常容易。这篇随笔提供的都是非常简单的示例,但这对于读懂Gradle脚...

2016-03-16 21:16:00 213

转载 Java Gradle入门指南之简介、安装与任务管理

博客逐步迁移至 极客兔兔的小站这是一篇Java Gradle入门级的随笔,主要介绍Gradle的安装与基本语法,这些内容是理解和创建build.gradle的基础,关于Gradle各种插件的使用将会在其他随笔中介绍。有什么疑问欢迎在文末关注留言,如果本文对你有用,那在右下角点个推荐吧~1.Gradle简介与安装1.1 简介Gradle是一个基于Apache...

2016-03-15 19:27:00 79

转载 Java Gradle入门指南之gretty插件(安装、命令与核心特性)

博客逐步迁移至 极客兔兔的小站Java Web应用开发时常使用Gradle来进行项目管理,可以十分便利地解决包依赖等问题。war插件的出现,让项目部署成为一个复制粘贴的过程,那有没有办法让Java web应用的部署,就像windows下安装软件,双击一下就可以呢?又或者Java web应用开发过程中,有没有办法自动检测项目变化,自动编译与加载呢?gretty支持热...

2016-03-11 20:46:00 333

转载 android Activity生命周期(设备旋转、数据恢复等)与启动模式

博客逐步迁移至 极客兔兔的小站1.Activity生命周期接下来将介绍 Android Activity(四大组件之一) 的生命周期, 包含运行、暂停和停止三种状态,onCreate、onStart、onResume、onPause、onStop、onDestroy六种系统调用方法。1.1 Activity生命周期简介与测试如图所示,Activity实例可以...

2016-03-08 18:23:00 132

转载 android 基本布局(RelativeLayout、TableLayout等)使用方法及各种属性

博客逐步迁移至 极客兔兔的小站本文介绍 Android 界面开发中最基本的四种布局LinearLayout、RelativeLayout、FrameLayout、TableLayout 的使用方法及这四种布局中常用的属性。LinearLayout 线性布局,布局中空间呈线性排列RelativeLayout 相对布局,通过相对定位的方式,控制控件位置FrameLay...

2016-03-05 20:11:00 217

转载 android 8种对话框(Dialog)使用方法汇总

推荐阅读TensorFlow 2.0 (九) - 强化学习 70行代码实战 Policy GradientTensorFlow 2.0 (八) - 强化学习 DQN 玩转 gym Mountain CarTensorFlow 2.0 (七) - 强化学习 Q-Learning 玩转 OpenAI gymTensorFlow 2.0 (六) - 监督学习玩转 OpenAI gym ...

2016-02-27 00:58:00 271

转载 android 基础控件(EditView、SeekBar等)的属性及使用方法

博客逐步迁移至 极客兔兔的小站android提供了大量的UI控件,本文将介绍TextView、ImageView、Button、EditView、ProgressBar、SeekBar、ScrollView、WebView的使用方法。在介绍各种控件之前,先简单介绍android UI控件最基本的几种属性:id: id是控件唯一标识符,可通过**findViewById(...

2016-02-19 22:11:00 173

转载 Linux与Windows共享文件夹之samba的安装与使用(Ubuntu为例)

博客逐步迁移至 极客兔兔的小站1.写在前面当你在Windows上安装了一台Linux的虚拟机,你想访问Linux中的文件夹,将虚拟机中的文件复制到Windows主机上,你会怎么做呢?如果这台Linux主机不是虚拟机,而是一台远程主机呢?有没有一种方法,打开Linux虚拟机中的文件夹就像在本地一样,输入路径就可以?你可能会想到FTP,本文介绍一个更简单的方法——s...

2016-02-16 23:07:00 404

转载 android 网络编程之HttpURLConnection与HttpClient使用与封装

博客逐步迁移至 极客兔兔的小站1.写在前面大部分andriod应用需要与服务器进行数据交互,HTTP、FTP、SMTP或者是直接基于SOCKET编程都可以进行数据交互,但是HTTP必然是使用最广泛的协议。本文并不针对HTTP协议的具体内容,仅探讨android开发中使用HTTP协议访问网络的两种方式——HttpURLConnection和HttpClient...

2016-02-16 03:06:00 132

转载 android JSON解析之JSONObject与GSON

推荐阅读TensorFlow 2.0 (八) - 强化学习 DQN 玩转 gym Mountain CarTensorFlow 2.0 (七) - 强化学习 Q-Learning 玩转 OpenAI gymTensorFlow 2.0 (六) - 监督学习玩转 OpenAI gym gameTensorFlow 2.0 (五) - mnist手写数字识别(CNN卷积神经网络)T...

2016-02-14 20:54:00 60

转载 优化博客园Markdown样式(代码行号、版权信息、章节目录等)

博客逐步迁移至 极客兔兔的小站1.写在前面 之前使用过有道云笔记和为知笔记,后来偶然喜欢上用Markdown写文档。被Markdown的简洁与大气所折服,因此抛弃了有道云,专心使用为知笔记,这样github上的文档和笔记都能统一起来了。最后索性把园子的编辑器改为Markdown了。 但是园子里的Markdown渲染效果和为知笔记、github上的比起来不...

2016-02-12 21:05:00 494

转载 git rebase与 git合并(error: failed to push some refs to)解决方法

推荐阅读Pandas 数据处理(三) - Cheat Sheet 中文版 pdfPandas 数据处理(二) - 筛选数据Pandas 数据处理(一) - DataFrame 与 Series1.遇到的问题本地有一个git仓库,在github上新建了一个空的仓库,但是更新了REWADME.md的信息,即在github上多了一个提交。关联远程仓库,操作顺序如下:git r...

2016-02-11 16:33:00 832

转载 sgu 104 Little shop of flowers 解题报告及测试数据

104. Little shop of flowerstime limit per test: 0.25 sec.memory limit per test: 4096 KB问题:你想要将你的花窗安排得最具美感。有F束花,每一束花都不一样,至少有F个按顺序排成一行的花瓶。花瓶从左到右,依次编号1-V。而花放置的位置是可以改变的,花依次编号1到F。花的序号有一个特征,即...

2015-03-21 21:31:00 107

转载 Spring-2-H Array Diversity(SPOJ AMR11H)解题报告及测试数据

Array DiversityTime Limit:404MS Memory Limit:0KB 64bit IO Format:%lld & %lluDescriptionHere we go!Let's define the diversity of a list of numbers to be the difference betw...

2015-03-06 00:00:00 59

转载 Spring-2-J Goblin Wars(SPOJ AMR11J)解题报告及测试数据

Goblin WarsTime Limit:432MS Memory Limit:0KB 64bit IO Format:%lld & %lluDescriptionThe wizards and witches of Hogwarts School of Witchcraft found Prof. Binn's History of Magic l...

2015-03-05 20:55:00 91

转载 Spring-2-B Save the Students(SPOJ AMR11B)解题报告及测试数据

Save the StudentsTime Limit:134MS Memory Limit:0KB 64bit IO Format:%lld & %lluDescriptionHogwarts is under attack by the Dark Lord, He-Who-Must-Not-Be-Named. To protect the s...

2015-03-05 20:50:00 94

转载 Spring-2-A Magic Grid(SPOJ AMR11A)解题报告及测试数据

Magic GridTime Limit:336MS Memory Limit:0KB 64bit IO Format:%lld & %lluDescriptionThanks a lot for helping Harry Potter in finding the Sorcerer's Stone of Immortality in October...

2015-03-05 20:49:00 72

转载 Spring-1-I 233 Matrix(HDU 5015)解题报告及测试数据

233 MatrixTime Limit:5000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uDescriptionIn our daily life we often use 233 to express our feelings. Actually, we may say 2333, 2...

2015-03-04 00:40:00 68

转载 Spring-1-H Number Sequence(HDU 5014)解题报告及测试数据

Number SequenceTimeLimit:2000MSMemoryLimit:65536KB64bitIOFormat:%I64d&%I64uProblem DescriptionThere is a special number sequence which has n+1 integers. For each number...

2015-03-03 22:26:00 88

转载 Spring-1-F Dice(HDU 5012)解题报告及测试数据

DiceTime Limit:1000MS Memory Limit:65536KBDescriptionThere are 2 special dices on the table. On each face of the dice, a distinct number was written. Consider a 1.a 2,a 3,a 4,a 5,a 6 to...

2015-03-03 21:01:00 106

转载 Spring-1-E Game(HDU 5011)解题报告及测试数据

GameTime Limit:1000MS Memory Limit:65536KBDescriptionHere is a game for two players. The rule of the game is described below:● In the beginning of the game, there are a lot of piles o...

2015-03-03 18:39:00 91

转载 Spring-1-A Post Robot(HDU 5007)解题报告及测试数据

Post RobotTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 KProblem DescriptionDT is a big fan of digital products. He writes posts about technological products almost e...

2015-03-03 18:22:00 182

转载 Winter-2-STL-F Ananagrams 解题报告及测试数据

Time Limit:3000MS Memory Limit:0KBDescriptionMost crossword puzzle fans are used to anagrams--groups of words with the same letters in different orders--for example OPTS, SPOT, STOP, P...

2015-02-24 22:44:00 81

转载 Winter-2-STL-G Team Queue 解题报告及测试数据

Time Limit:3000MS Memory Limit:0KBDescriptionQueues and Priority Queues are data structures which are known to most computer scientists. The Team Queue, however, is not so well known, tho...

2015-02-24 22:44:00 60

转载 Winter-2-STL-E Andy's First Dictionary 解题报告及测试数据

use stringstreamTime Limit:3000MS Memory Limit:0KBDescriptionAndy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task for him, as the number of word...

2015-02-24 22:43:00 77

转载 Winter-2-STL-D The Blocks Problem 解题报告及测试数据

Time Limit:3000MS Memory Limit:0KBDescriptionBackgroundMany areas of Computer Science use simple, abstract domains for both analytical and empirical studies. For example, an early AI st...

2015-02-24 22:42:00 143

转载 Winter-2-STL-B Brackets 解题报告及测试数据

Time Limit:2000MS Memory Limit:65536KBDescriptionGiven a string consisting of brackets of two types find its longest substring that is a regular brackets sequence.InputThere are mutip...

2015-02-24 22:38:00 104

转载 Winter-2-STL-C Where is the Marble? 解题报告及测试数据

Time Limit:3000MS Memory Limit:0KBDescriptionDownload as PDFRaju and Meena love to play with Marbles. They have got a lot of marbles with numbers written on them. At the beginning, Ra...

2015-02-24 22:38:00 67

转载 Winter-2-STL-A Argus 解题报告及测试数据

Time Limit:2000MS Memory Limit:65536KBDescriptionA data stream is a real-time, continuous, ordered sequence of items. Some examples include sensor data, Internet traffic, financial ticker...

2015-02-24 22:37:00 118

转载 Winter-1-F Number Sequence 解题报告及测试数据

Time Limit:1000MS Memory Limit:32768KBDescription​A number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.Given A, B, and n, you are to cal...

2015-02-24 13:35:00 102

转载 Winter-1-E Let the Balloon Rise 解题报告及测试数据

Time Limit:1000MS Memory Limit:32768KBDescriptionContest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is guessing the...

2015-02-24 10:52:00 134

转载 Winter-1-D Max Sum 解题报告及测试数据

Time Limit:1000MSMemory Limit:32768KBDescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the...

2015-02-24 01:56:00 103

转载 Winter-1-C A + B II 解题报告及测试数据

Time Limit:1000MSMemory Limit:32768KBDescriptionI have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B.InputThe first line of the i...

2015-02-24 00:29:00 78

转载 Winter-1-B Sum 解题报告及测试数据

Time Limit:500MSMemory Limit:32768KBDescription​Hey, welcome to HDOJ(Hangzhou Dianzi University Online Judge).In this problem, yourtask is to calculate SUM(n) = 1 + 2 + 3 + ... + n....

2015-02-23 15:49:00 111

转载 Winter-1-A A + B 解题报告及测试数据

Time Limit:1000MSMemory Limit:32768KBDescriptionCalculate A + B.InputEach line will contain two integers A and B. Process to end of file.OutputFor each case, output A + B in one li...

2015-02-23 15:38:00 59

空空如也

空空如也

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

TA关注的人

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