码迷,mamicode.com
首页 >  
搜索关键字:aa    ( 3606个结果
B - Yet Another Palindrome Problem
You are given an array aa consisting of nn integers. Your task is to determine if aa has some subsequence of length at least 33 that is a palindrome. ...
分类:其他好文   时间:2020-03-14 23:35:49    阅读次数:96
LeetCode——palindrome-partitioning-ii*
Q:给出一个字符串s,分割s使得分割出的每一个子串都是回文串 计算将字符串s分割成回文分割结果的最小切割数 例如:给定字符串s="aab", 返回1,因为回文分割结果["aa","b"]是切割一次生成的。 A: 动态规划问题。 cut[i] 表示子串(0,i)的最小回文切割,则最优解在cut[s.l ...
分类:其他好文   时间:2020-03-13 18:59:48    阅读次数:57
spring 中 bean的初使用+bean的继承+bean调用前与调用后的调用
新建Product 的bean: package com.my; public class Product { private String aa; private String cc; private String ee; public void setAa(String aa){ this.aa ...
分类:编程语言   时间:2020-03-13 18:27:45    阅读次数:64
fmt格式
fmt的格式packagemainimport"fmt"//import"fmt"funcmain(){vars1int=19varst="abc"fmt.Printf("aa:%T\n",s1)//查看变量的类型fmt.Printf("aa:%v\n",st)//查看变量的值fmt.Printf("aa:%#v\n",st)//查看变量的值,字符串带双引号fmt.Printf("aa:%s\n"
分类:其他好文   时间:2020-03-12 17:06:35    阅读次数:182
数据类型之元组介绍
元组就是"一个不可变的列表" 1、作用:按照索引/位置存放多个值,只用于读不用于改 2、定义:()内用逗号分隔开多个任意类型的元素 t=(1,1.3,'aa') # 相当于t=tuple((1,1.3,'aa')) print(t,type(t)) # (1, 1.3, 'aa') <class ' ...
分类:其他好文   时间:2020-03-11 19:35:27    阅读次数:73
linux 删除指定文件以外的文件
使用find 排除 找到./tools/dbsetup/startlibs/config/suconfig/ 下除了以下文件名的文件 find ./tools/dbsetup/startlibs/config/suconfig/ ! -name 'su_aa.json' \ ! -name 'su_ ...
分类:系统相关   时间:2020-03-09 13:27:43    阅读次数:67
C++ 随笔练习
//例题:求Sn=a+aa+aaa+…+aa…aaa(有n个a)之值,其中a是一个数字,为2。 例如,n=5时=2+22+222+2222+22222,n由键盘输入。//题目来源:https://www.dotcpp.com/oj/problem1013.html#include <stdio.h> ...
分类:编程语言   时间:2020-03-08 14:30:23    阅读次数:70
selenium getAttribute
用getAttribute要得到属性如下:selenium.getAttribute("//div[@id='mydiv']@style")这里要得到id 为mydiv的层的style的属性 innerHTML在JS是双向功能:获取对象的内容 或 向对象插入内容;如:<div id="aa">这是内 ...
分类:其他好文   时间:2020-03-03 19:05:57    阅读次数:82
建设检验
假设检验 https://wiki.mbalib.com/wiki/%E5%81%87%E8%AE%BE%E6%A3%80%E9%AA%8C H0 记忆方法 采用标准或无差异做为H0 α 拒真的概率 b 弃伪的概率 分类 正态分布检验、正态总体均值分布检验、非参数检验。 正态分布检验包括三类:JB检 ...
分类:其他好文   时间:2020-03-03 15:09:36    阅读次数:140
python 加密算法sha和base64
# coding=utf-8import base64from hashlib import sha1sha= sha1()sha.update(b"aaa"+b"bbb") # 字符串相加等价于两次update# sha.update(b'bbb')aa=sha.hexdigest()str=aa ...
分类:编程语言   时间:2020-03-02 21:05:22    阅读次数:98
3606条   上一页 1 ... 19 20 21 22 23 ... 361 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!