原题地址isalnum:判断是否是字符或数字toupper:将字符转换成大写,非字符不变代码: 1 bool isPalindrome(string s) { 2 string news; 3 for (auto c : s) 4 if (is...
分类:
其他好文 时间:
2015-02-02 17:20:32
阅读次数:
137
操作界面这个小系统一共包含4个脚本sh功能备注oneKey.sh主程序,调用其他程序,对外提供功能menu.sh勾画菜单function.sh提供操作数据库接口valid.sh操作mysql数据库,验证数据menu.sh画字符菜单#!/bin/bash
functionprint_main_menu(){
cat<<EOF
#######################..
分类:
数据库 时间:
2015-02-02 16:07:43
阅读次数:
329
源端:Oracle 11.1.0.7
目标端:Oracle 11.2.0.4
最近做的一个数据迁移的CASE中遇到的问题,一个VIEW在完成数据迁移后由VALID的状态变为了INVALID。
从源库中使用get_ddl拿到的该VIEW创建语句如下:
CREATE OR REPLACE FORCE VIEW "APPS"."IGW_BUDGET_CATEGORY_V1" ("PROPOSAL...
分类:
数据库 时间:
2015-02-02 15:59:54
阅读次数:
236
Given a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses substring.For"(()", the longest...
分类:
其他好文 时间:
2015-02-02 14:03:33
阅读次数:
101
Q:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without
repeating letters for "abcabcbb" is "abc", which the length is 3....
分类:
其他好文 时间:
2015-02-01 19:13:07
阅读次数:
163
HDSP0004 module: HDSP: 凭证打印
+---------------------------------------------------------------------------+
当前的系统时间为 01-02-2015 15:11:33
+--------------------------------------------------------------...
分类:
其他好文 时间:
2015-02-01 16:10:56
阅读次数:
1167
Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another express...
分类:
其他好文 时间:
2015-02-01 16:04:04
阅读次数:
125
uva 10340 All in All
You have devised a new encryption technique which encodes a message by inserting between its characters randomly generated strings in a clever way. Because of pending paten...
分类:
其他好文 时间:
2015-02-01 13:34:03
阅读次数:
139
Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in the correct ...
分类:
其他好文 时间:
2015-02-01 13:29:34
阅读次数:
148
# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'32: Longest Valid Parentheseshttps://oj.leetcode.com/problems/longest-valid-parentheses/Gi...
分类:
编程语言 时间:
2015-02-01 01:52:20
阅读次数:
319