最基本的api 是对比色,对与我这种菜鸟来说,没有什么比在一个背景色下
用什么颜色的文字坑蛋疼的事情了,这个工具可以帮助大家很好解决这个问题api
地址http://compass-style.org/reference/compass/utilities/color/contrast/要是真的能实...
分类:
其他好文 时间:
2014-06-11 08:35:12
阅读次数:
209
1、求一串字符串中连续出现次数最多的字串
#include#include#includeusing namespace std;pair fun(const string &str){
vector substrs; int maxcount=1,count=1; string substr; i...
分类:
其他好文 时间:
2014-06-10 00:18:57
阅读次数:
266
//下面是关于字典的
//字典的格式[key:value]
//字典可以存放基本类型和对象类型的
//声明一个字典
var dictionary1=["key1":"鸭鸭","key2":"肉包"]
var keyValueCount=dictionary1.count//获取这个字典里面键值对的个数
dictionary1["key1"]="鸡鸡"//改变对应健的值
//updat...
分类:
其他好文 时间:
2014-06-09 23:44:46
阅读次数:
310
Count the stringTime Limit: 2000/1000 MS
(Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s):
4239Accepted Submission(s): 1977Pr...
分类:
其他好文 时间:
2014-06-09 22:52:14
阅读次数:
223
1、autorelease是什么?autorelease是一种支持引用计数的内存管理方式它可以暂时的保存某个对象(object),然后在内存池自己的排干(drain)的时候对其中的每个对象发送release消息注意,这里只是发送release消息,如果当时的引用计数(reference-counte...
分类:
其他好文 时间:
2014-06-09 22:37:52
阅读次数:
405
附网址:http://qt-project.org/doc/qt-5/qmlreference.html
The QML Reference
QML是用来创建高度动态应用程序的声明式语言。在QML中,应用程序通过类似UI组件这样的模块搭建起来,通过设置这些模块的属性可以定义应用程序的行为。当与JavaScript结合起来时,应用程序的行为将变得脚本化。另外,QML大量使用Qt,它允许Q...
分类:
其他好文 时间:
2014-06-08 17:55:58
阅读次数:
355
package com.hao947;
public class hao947 {
public static void main(String[] args) {
int a = 1;
int b = 2;
int c = 3;
int d = 4;
int count = 0;
for (int i = 0; i <= 12; i++) {
for (int...
分类:
编程语言 时间:
2014-06-08 16:51:26
阅读次数:
258
建表前如何判断表是否存在呢,因为table是不支持replace的。下面的sql能帮到你。create前先判断表是否存在。例如,如果存在则drop掉那个表。当然你也可以定义自己的操作。 declare
v_cnt Number;
begin
select count(*) into v_cnt from user_tables where upper(table_name) ...
分类:
数据库 时间:
2014-06-08 15:42:00
阅读次数:
329
题目
Given a string S and a string T, count the number of distinct subsequences of T in S.
A subsequence of a string is a new string which is formed from the original string by deleting some (can be...
分类:
其他好文 时间:
2014-06-08 14:49:14
阅读次数:
347
因为平常用的话只是vector的一些非常简单的功能,基本上把它当数组来用,现在也只是把这一部分写了一些。 1
template 2 class XVector { 3 public: 4 XVector(int
cacheSize):cacheSize(cacheSize), count(0...
分类:
其他好文 时间:
2014-06-07 23:28:39
阅读次数:
287