在本机开发asp.net .rdlc报表后,部署到本地没有问题。当把网站发布后部署在IIS上,新电脑上(只安装了.net framwork4.5),提示如下错误:“Could not load file or assembly Microsoft.ReportViewer.WebForms, Ver...
分类:
其他好文 时间:
2014-06-25 19:11:41
阅读次数:
368
Write a function to find the longest common prefix string amongst an array of strings.public class Solution { public String longestCommonPrefix(Str...
分类:
其他好文 时间:
2014-06-25 17:03:03
阅读次数:
331
project(my)cmake_minimum_required(VERSION 2.8.9)set (CMAKE_PREFIX_PATH "C:\\Qt\\Qt5.3.0\\5.3\\msvc2010_opengl")set(CMAKE_INCLUDE_CURRENT_DIR ON)find_p...
分类:
其他好文 时间:
2014-06-25 16:59:54
阅读次数:
221
做Linux方面也有三个多月了,对代码中的有些结构一直不是非常明确,比方platform_device与platform_driver一直分不清关系。在网上搜了下,做个总结。两者的工作顺序是先定义platform_device -> 注冊 platform_device->,再定义 platfor....
分类:
其他好文 时间:
2014-06-25 16:43:10
阅读次数:
118
Given an arraySofnintegers, find three integers inSsuch that the sum is closest to a given number, target. Return the sum of the three integers. You m...
分类:
其他好文 时间:
2014-06-25 15:26:21
阅读次数:
203
当eclipse中新导入的Java Project的时候,往往会碰到各种各样的问题,下面是个典型的问题:
Cannot find the class file for javax.servlet.ServletContext.
如何解决该问题:
方案1. Project---》Properties--》Libraries 中添加
Tomcat中的 serverle...
分类:
编程语言 时间:
2014-06-25 00:16:45
阅读次数:
314
【题目】
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 complete at most two transactions.
Note:
You may not engage in multiple transactions at the same time (i...
分类:
其他好文 时间:
2014-06-24 23:28:43
阅读次数:
223
【题目】
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 complete as many transactions as you like (ie, buy one and sell one share of the stock multiple times). H...
分类:
其他好文 时间:
2014-06-24 19:40:53
阅读次数:
240
题目
Given a string S,
find the longest palindromic substring in S.
You may assume that the maximum length of S is
1000, and there exists one unique longest palindromic substring.
方法
...
分类:
其他好文 时间:
2014-06-24 19:36:55
阅读次数:
212
Given an array of integers, every element appears three times except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it without u...
分类:
其他好文 时间:
2014-06-24 15:52:58
阅读次数:
222