Given two binary strings, return their sum (also a binary string).
For example,
a = "11"
b = "1"
Return "100".
Show Tags
Have you been asked this question in an interview?
...
分类:
其他好文 时间:
2014-10-23 17:47:23
阅读次数:
229
android 几种发送短信的方法http://www.oschina.net/question/163910_27409package com.union.matchfighter;import android.app.PendingIntent;import android.telephony....
分类:
移动开发 时间:
2014-10-23 17:34:02
阅读次数:
223
参考文章:1) http://www.oschina.net/question/12_769552) http://rudamoura.com/luaonmacosx.html 最近在为iOS开发游戏,我的开发机是iPhone5。在开发的游戏项目中需要使用Lua语言,所以想在我的苹果MacBook ...
分类:
系统相关 时间:
2014-10-23 13:59:34
阅读次数:
299
连接:http://www.oschina.net/question/29420_138135 看到有一篇博文介绍Golang与PHP性能对比,在此回复一下。这测试结果明显是误导人的。? 1,PHP未开启OpCache,那么每次都要读磁盘文件。并且编译PHP为OpCod...
分类:
Web程序 时间:
2014-10-23 07:06:21
阅读次数:
524
question: 1: chomp是? 2: first_name.capitalize!后面的感叹号有什么作用? 3: #{first_name} 1 print "What's your first name?" 2 first_name = gets.chomp 3 first_nam...
分类:
其他好文 时间:
2014-10-22 21:38:03
阅读次数:
224
参考: http://blog.163.com/zhaoxiaosen_2008@126/blog/static/10579723920130575313569/ http://zhidao.baidu.com/question/808824591758815292.html sudo?add-apt-repository?ppa:ubuntu-wine/ppa
sudo?apt...
# This Python file uses the following encoding: utf-8# Starting in the top left corner of a 2×2 grid, and only being able to move to the right and dow...
分类:
编程语言 时间:
2014-10-22 08:43:00
阅读次数:
139
# This Python file uses the following encoding: utf-8# The Fibonacci sequence is defined by the recurrence relation:# Fn = Fn?1 + Fn?2, where F1 = 1 a...
分类:
编程语言 时间:
2014-10-21 23:10:42
阅读次数:
204
# This Python file uses the following encoding: utf-8# 215 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.# What is the sum of the digits...
分类:
编程语言 时间:
2014-10-21 23:07:02
阅读次数:
203
原文地址 :http://www.oschina.net/question/12_147761菜单:Help > Install New Software...输入如下 URL 地址:http://build.eclipse.org/eclipse/builds/4P/siteDir/updates...
分类:
编程语言 时间:
2014-10-20 19:18:38
阅读次数:
265