- 博客(4)
- 资源 (2)
- 收藏
- 关注
原创 LeetCode题解---Plus One
题目: Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significant digit is at the head of the list. 思路: 在原数字上加1,
2015-08-29 21:58:20
295
原创 LeetCode题解----Add Binary
题目: Given two binary strings, return their sum (also a binary string). For example, a = "11" b = "1" Return "100". 思路: 从右向左逐位相加,而后进位; 代码: class Solution { public: string addBina
2015-08-29 21:53:34
294
原创 LeetCode题解----Number of 1 Bits
题目: Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight). For example, the 32-bit integer ’11' has binary representati
2015-08-29 21:47:22
314
原创 VS2010使用时的不常见错误
1、 调试时,程序不进入断点:源代码与原始版本不同 解决方案: 直接把整个文件格式化了一次,断点就可以用了:Ctrl + A全选-〉菜单-〉编辑-〉高级-〉设置选定内容的格式(Ctrl+K, Ctrl+F); 2、 写入程序数据库时出错;请检查是否是磁盘空间不足、路径无效或权限不够 解决方案: 即:当你编译某一项目时,该项目的pdb文件正被另一处于调试状态下的编译
2015-06-23 22:06:07
709
MFC+CSocket聊天室
2014-09-09
MFC+CSocket聊天室程序
2014-09-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅