自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Catharina官方博客

要有最朴素的生活,与最遥远的梦想,即使明天天寒地冻,路远马亡!

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

原创 [LeetCode-258]Add Digits(java)

Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is like: 3 + 8 = 11, 1 + 1 = 2. Since 2 has only one digi

2016-09-30 00:58:24 418

原创 [慕课网作业-安卓]简易计算器

最近在慕课网上学习Android,小白上岗,智商感人,只能笨鸟先飞,在这里做个记录,方便后期查看。使用AndroidStudio开发,跟随老师视频教学,手动敲代码,调试bug,最后好歹可以运行(汗颜!)这里是我的github上的完整代码(https://github.com/xh-2016/CalculatorDemo.git),下面也会附上主要代码部分。1.xml配置部分代码最终

2016-09-29 18:53:38 2902 1

原创 怎么通过Git托管个人项目到Github?

最近开始接触Github这个开源平台,在上面不仅可以下载他人共享的开源程序代码进行学习,还可以托管自己的代码并更新等,既保证了不会遗失,同时也可以共享给他人一起学习,岂不乐哉! 作为小白一枚,这里记录下怎么通过git将自己的项目托管到github。 要将项目托管到Github上,首先要有一个github账号,如果你还没有赶快去https://github.com/注册吧~注册一个github账

2016-09-29 16:19:16 1836

原创 [LeetCode-136]Single Number(java)

Given an array of integers, every element appears twice except for one. Find that single one. Note: our algorithm should have a linear runtime complexity. Could you implement it without using extra

2016-09-29 01:03:43 464

原创 Android146种配色

这里以xml的格式整理下Android中146种颜色,方便后期配色查看。<span style="font-size:18px;"><?xml version="1.0" encoding="utf-8"?> <resources> <color name="white">#FFFFFF</color> <!--白色 --> <color name="ivory">#F

2016-09-28 21:55:14 847

原创 [FreeCodeCamp-JavaScript]Basic Algorithm

最近在freecodecamp上学习js基本知识,在这里做个记载,方便后面复习查看。 1.Reverse a String 翻转字符串,先把字符串转化成数组,再借助数组的reverse方法翻转数组顺序,最后把数组转化成字符串。你的结果必须得是一个字符串function reverseString(str) { return str.split('').reverse().join('');

2016-09-27 22:07:41 1740

原创 [LeetCode-292]Nim Game(c++)

You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 stones. The one who removes the last stone will be the

2016-09-27 20:58:53 457

原创 [LeetCode-344]Reverse String(c++)

Write a function that takes a string as input and returns the string reversed.Example:Given s = "hello", return "olleh".

2016-09-27 17:45:21 484

原创 [LeetCode-371]Sum of Two Integers(C)

Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.Example:Given a = 1 and b = 2, return 3.分析:首先不能使用加减运算,那只有位运算了;17+5=22的过程,先不考虑进位,即17+05=

2016-09-25 18:28:03 300

原创 [LeetCode-2]Add Two Numbers(java)

You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a link

2016-09-25 16:44:51 320

原创 新建项目,Android模拟器报错:Could not initialize OpenglES emulation, use ‘-gpu off’ to disable it.

小白博主刚安装好Android Studio,新建了第一个项目,没做任何更改,依照推荐选择了模拟器,直接运行,模拟器就报错:emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored. init: Could not find w

2016-09-12 11:02:24 2855

原创 AndroidStudio安装与配置

最近准备学习下安卓,这不,第一步安装工具Android Studio,这里简单记录下.首先建议各种工具的下载地址,首选AndroidStudio中文社区http://tools.android-studio.org/index.php/85-tools/109-android-tools-download (推荐网盘下载,方便快捷,还可以自己备份一份;官网下载需要翻墙,不友好)1.安装jd

2016-09-12 10:43:13 670

中文酒店情感分析语料,标注了打分1-5分,可用于多分类,train12000,条,test4000条,非utf-8编码

中文酒店情感分析语料,标注了打分1-5分,可用于多分类,train12000,条,test4000条,非utf-8编码

2018-01-13

空空如也

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

TA关注的人

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