CodeForces 1006D You are given two strings a and b consisting of lowercase English letters, both of length n. The characters of both strings have indi ...
分类:
其他好文 时间:
2018-07-30 11:23:19
阅读次数:
159
题目描述 You are given a string s consisting of lowercase English letters. Extract all the characters in the odd-indexed positions and print the string ob ...
分类:
其他好文 时间:
2018-07-29 20:01:28
阅读次数:
170
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: No ...
分类:
其他好文 时间:
2018-07-28 16:00:29
阅读次数:
160
Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
分类:
其他好文 时间:
2018-07-28 00:12:27
阅读次数:
119
spring boot在Post接受一个对象参数的时候可以使用@Valid去验证,如下代码 在创建一个User类 上面的@NotBlank和@Past就做了一个判断,如何做类似的注解用来验证数据 创建一个MyConstraint的接口 @Retention :用来说明该注解类的生命周期。它有以下三个 ...
分类:
编程语言 时间:
2018-07-27 17:26:42
阅读次数:
258
文件,放在site-package \Python27\Lib\site-packages sitecustomize.py # -*- coding: utf-8 -*- import sys reload(sys) sys.setdefaultencoding('utf8') ...
分类:
Web程序 时间:
2018-07-25 17:04:54
阅读次数:
461
啥是正则表达式? 一个正则表达式(regular expression)就是包含正常字符串和特殊元字符(meta characters)或元序列(meta sequences)的字符串。正常字符串匹配它们自己。元字符和元序列是字符或表示数量、位置或字符类型的字符序列。 这里只是记录一下学习过程,学习 ...
分类:
Web程序 时间:
2018-07-25 16:16:11
阅读次数:
202
一、撰写EBS接口 通过ebs提供的inv_item_grp.update_item接口,存储过程如下: 二、个性化菜单 这里的执行过程代码为: 这里的消息调用valid_record_msg函数。valid_record_msg函数其实就是取上面存储过程返回的g_message: 这里的消息文本还 ...
分类:
其他好文 时间:
2018-07-25 13:48:08
阅读次数:
744
Given a string, find out if its characters can be rearranged to form a palindrome. Example For inputString = "aabb", the output should bepalindromeRea ...
分类:
其他好文 时间:
2018-07-24 23:47:05
阅读次数:
246
第一步:添加依赖: <!--jsr 303--> <dependency> <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId> <version>1.1.0.Final</version> </dep ...
分类:
Web程序 时间:
2018-07-24 20:56:25
阅读次数:
445