function OnFinish(selProj, selObj){ try { var strProjectPath = wizard.FindSymbol('PROJECT_PATH'); var strProjectName = wizard.Find...
分类:
Web程序 时间:
2014-07-30 20:09:24
阅读次数:
268
Problem Description
Recently, scientists find that there is love between any of two people. For example, between A and B, if A don’t love B, then B must love A, vice versa. And there is no possibilit...
分类:
其他好文 时间:
2014-07-30 17:38:04
阅读次数:
287
POJ 1703 Find them, Catch them (数据结构-并查集)
题目大意:
T组测试数据,n个人,m组询问,D a b 表示 a,b 不在同一个gang(虽然不知道gang是什么意思?) ,A a b表示a和b的关系。
解题思路:
只需要并查集,再加入一个enemy数组记录某人的一个敌人即可。...
分类:
其他好文 时间:
2014-07-30 17:34:24
阅读次数:
249
Problem Description
Given a positive integer n, your task is to find a positive integer m, which is a multiple of n, and that m contains the least number of different digits when represented in decim...
分类:
其他好文 时间:
2014-07-30 14:46:03
阅读次数:
230
Single Number I
问题描述:
Given an array of integers, every element appears twice except for one. Find that single one.
解题思路:
既然除了某个元素出现一次外,其他所有元素都出现两次,那么可以异或数组的所有元素,得到的结果就是我们所要找的那个元素的值。
class Solu...
分类:
其他好文 时间:
2014-07-30 12:19:53
阅读次数:
184
Find DigitsProblem StatementGiven a number you have to print how many digits in that number exactly divides that number.Input formatThe first line con...
分类:
其他好文 时间:
2014-07-30 11:55:13
阅读次数:
250
1. 按条件查询:db.users.find({"name":"MM1"})2.find的第二个参数可以指定要返回的字段:这里1 表示要显示的字段,0 表示要剔除的字段db.users.find({"name":"MM1"},{"name":1,"age":1})db.users.find({"na...
分类:
数据库 时间:
2014-07-30 11:36:03
阅读次数:
236
通过手写qt代码来认识qt程序的构成,以及特性。设计一个查找对话框。下面是设计过程
1 新建一个empty qt project
2 配置pro文件
HEADERS += Find.h
QT += widgets
SOURCES += Find.cpp main.cpp
3 编写对话框的类
代码如下:
//Find.h
#ifndef FIND_H...
分类:
其他好文 时间:
2014-07-30 10:08:33
阅读次数:
298
分享一个MySQL 自定义函数CREATE FUNCTION的实例。mysql> delimiter $$mysql> CREATE FUNCTION myFunction-> (in_string VARCHAR(255),-> in_find_str VARCHAR(20),-> in_repl...
分类:
数据库 时间:
2014-07-30 07:37:53
阅读次数:
331
题目:Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may com....
分类:
编程语言 时间:
2014-07-30 05:35:13
阅读次数:
260