自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (2)
  • 收藏
  • 关注

原创 LeetCode Palindrome 相关问题

Palindrome NumberDetermine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie, -1)If you are thinking of converting the integer to s

2015-07-16 14:47:08 359

原创 LeetCode Isomorphic Strings

Isomorphic Strings Given two strings s and t, determine if they are isomorphic.Two strings are isomorphic if the characters in s can be replaced to get t.All occurrences of a character

2015-06-06 19:41:39 278

转载 。。。

vector plusOne(vector &digits) { int i,j,carry=1; // traditional long addition.. for(i=digits.size()-1;i>=0&&carry;i--){ int sum=carry+digits[i]; carry=sum/10; digits[i]=sum%10; } if(carry){ // if car

2015-01-21 21:46:15 308

原创 pat 1061 字符串比较

#include #include #include #include using namespace std;int main(){//ifstream cin("a.txt");string str[4];string s;int i,j;char temp;string day[8] = {"MON","TUE","WED","THU","FR

2014-08-10 18:01:35 307

原创 pat1019 进制转换+回文数 部分正确

有两个用例没过

2014-07-10 12:44:08 433

转载 动态编译和静态编译

静态编译就是在编译的时候把你所有的模块都编译进exe里去,当你启动这个exe的时候所有模块都加载进来了。你写小程序没问题,但程序一大,加载的过程(就是当你运行程序时初始化的过程)就比较费力了。。大多数ppc的硬件配置还是很一般的。。。。。。动态编译就不一样了,你编译的时候那些模块都没有编译进去,一般情况下你可以把那些模块都编译成dll,这样你启动程序(初始化)的时候这些模块不会被加载,而是在运

2013-12-09 16:37:40 506

转载 cin、cin.get()、cin.getline()、getline()、gets()

cin、cin.get()、cin.getline()、getline()、gets()等函数的用法学C++的时候,这几个输入函数弄的有点迷糊;这里做个小结,为了自己复习,也希望对后来者能有所帮助,如果有差错的地方还请各位多多指教(本文所有程序均通过VC 6.0运行)转载请保留作者信息;1、cin1、cin.get()2、cin.getline()3、getline

2013-03-17 22:16:06 375

十个比较有用的学术搜索引擎

十个比较有用的学术搜索引擎推荐,学术论文撰写必备

2013-08-07

android阅读器 CoolReader

一个android阅读器,功能强大Coolreader

2013-04-24

空空如也

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

TA关注的人

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