Eclipse 学习笔记标签(空格分隔): 未分类备注:
视频教程—–《跟老谭玩转Eclipse》1基本设置:*首选项设置:window->preferences1主题设置:General->Appearance
直接在右侧面板即可修改主题
2字体设置:General->Appearance->Colors and Fonts
右边面板选择Basic(即适用与全局的意思),在...
分类:
系统相关 时间:
2016-05-12 22:28:47
阅读次数:
249
思路:暴力出奇迹#include
using namespace std;
const int maxn =5005;
int a[maxn];
int vis[maxn];
int ans[maxn];
int main()
{
int n;
scanf("%d",&n);
for (int i = 1;i<=n;i++)
scanf("%d",&a[i]);
for (int i ...
分类:
其他好文 时间:
2016-05-12 14:49:06
阅读次数:
132
ColorStateList value = new ColorStateList(states, colors);看到ColorStateList的构造方法,我们知道要想获得一个ColorStateList,需要有一个int[][]
和一个存放ColorRes的
int[]
先看看一个很常用selector结构的color.xml
<selector
xmlns:andro...
分类:
其他好文 时间:
2016-05-12 14:27:55
阅读次数:
189
题目 here is a fence with n posts, each post can be painted with one of the k colors.You have to paint all the posts such that no more than two adjacent ...
分类:
其他好文 时间:
2016-05-10 12:50:24
阅读次数:
136
1、窗口最大化:ctrl+shift+F12
2、修改编辑窗口字体大小:
Settings-->Editor-->Colors&Fonts-->Font-->Save As-->自定义一个文件名称,并指定文字大小
3、显示行号:
Settings-->Editor-->Appearance-->Show line numbers
4、滚动鼠标轮调整字体大小
Settings-->Edi...
分类:
移动开发 时间:
2016-05-06 16:24:59
阅读次数:
174
There is a fence with n posts, each post can be painted with one of the k colors.You have to paint all the posts such that no more than two adjacent f ...
分类:
其他好文 时间:
2016-04-30 13:01:23
阅读次数:
214
There are a row of n houses, each house can be painted with one of the three colors: red, blue or green. The cost of painting each house with a certai ...
分类:
其他好文 时间:
2016-04-30 13:00:19
阅读次数:
140
There are a row of n houses, each house can be painted with one of the k colors. The cost of painting each house with a certain color is different. Yo ...
分类:
其他好文 时间:
2016-04-30 12:44:50
阅读次数:
215
◆ 创建数组的基本方式有两种。 ①第一种是使用Array构造函数,new关键字可省略 ②第二种是使用字面量表示法 ◆ 读取和设置数组的值 ◆ length属性,可以通过设置该属性移除或添加数组中的项目 利用length属性可以在数组末尾添加项: colors [ colors.length ] = ...
分类:
其他好文 时间:
2016-04-30 06:30:46
阅读次数:
218