原文地址:http://docs.orchardproject.net/Documentation/Adding-a-blog-to-your-site想要查看文档目录请用力点击这里最近想要学习了解orchard,但却没有找到相关的中文文档,只有英文文档。于是决定自行翻译,以便日后方便翻阅。转载请注...
分类:
其他好文 时间:
2015-03-03 08:37:03
阅读次数:
347
Activity界面绘制过程详解设置界面首先就是Activity.setContentView()方法:我们先看一下他的源码:/**
* Set the activity content from a layout resource. The resource will be
* inflated, adding all top-level views to the activity.
*...
分类:
其他好文 时间:
2015-03-02 11:10:49
阅读次数:
202
由于公司的svn服务器版本不兼容最新的svn 1.8.11导致 提交代码报错? images svn ci arrowico.png -m"add images for png ico"Adding (bin) arrowico.pngTransmitting file data .svn: E12...
分类:
其他好文 时间:
2015-02-27 11:47:29
阅读次数:
254
想显示dialog时,如果想显示的是自定义布局的dialog,并使用如下方式,则会报错requestFeature() must be called before adding contentAlertDialog dlg = new AlertDialog.Builder(this).create...
分类:
其他好文 时间:
2015-02-20 09:39:57
阅读次数:
162
01000001
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 10571
Accepted: 3345
Description
Adding binary numbers is a very simple task, and very similar t...
分类:
其他好文 时间:
2015-02-18 09:37:05
阅读次数:
141
这是一道水题,就是让你把给出的两个数倒置后相加再倒回来,模拟一下就行。#includeint n,m,x,y,t;int main(){ for(scanf("%d",&t);t;t--){ scanf("%d%d",&n,&m); x=0;y=0; ...
分类:
其他好文 时间:
2015-02-17 16:30:21
阅读次数:
106
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢
Path Sum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
For ex...
分类:
其他好文 时间:
2015-02-17 14:10:15
阅读次数:
145
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Fo...
分类:
其他好文 时间:
2015-02-15 14:54:50
阅读次数:
165
背景:使用OpenGL的GLFW3.1库的时候,使用其中一些代码报error adding symbols: DSO missing from command line因为使用的是Qcreator,解决方法是在.pro文件里加一些库LIBS +=-lpthreadLIBS +=-lX11 -lXra...
分类:
其他好文 时间:
2015-02-13 18:05:42
阅读次数:
192
这道题目的意思是给你提供a, b, n 三个数a为 输入的数字 ,你需要在a后面加n次 ,每次可以加0-9但要保证每次加上去的那个数字能被b整除 不过数据规模有点大,用搜索会MLE(即使开了个开栈挂#pragma comment(linker, "/STACK:16777216") //for c+...
分类:
其他好文 时间:
2015-02-09 22:52:31
阅读次数:
118