码迷,mamicode.com
首页 >  
搜索关键字:brackets sequence    ( 6654个结果
JavaOOP面试题50题(含答案)(一)
1、什么是B/S架构?什么是C/S架构1.B/S(Browser/Server),浏览器/服务器程序2.C/S(Client/Server),客户端/服务端,桌面应用程序2、Java都有那些开发平台?1.JAVASE:主要用在客户端开发2.JAVAEE:主要用在web应用程序开发3.JAVAME:主要用在嵌入式应用程序开发3、什么是JDK?什么是JRE?1.JDK:javadevelopmentk
分类:编程语言   时间:2020-04-29 23:50:02    阅读次数:131
3. Longest Substring Without Repeating Characters
Problem : Given a string, find the length of the longest substring without repeating characters. Example 1: Example 2: Example 3: 思路 : Solution (C++) ...
分类:其他好文   时间:2020-04-29 21:42:00    阅读次数:51
二分二分二分——无名氏(题目名忘了)
题目英文版: The only difference between the easy and the hard versions is the maximum value of k. You are given an infinite sequence of form "1121231234123 ...
分类:其他好文   时间:2020-04-28 12:33:44    阅读次数:91
1105 Spiral Matrix
This time your job is to fill a sequence of N positive integers into a spiral matrix in non-increasing order. A spiral matrix is filled in from the fi ...
分类:其他好文   时间:2020-04-28 00:48:51    阅读次数:67
CPP:Fibonacci sequence
#include "stdafx.h" #include <iostream> #include <cstdlib> static int _sumFibSeq(const int n, int pArrayFib[]) { if (0 != pArrayFib[n - 1]){ return pA ...
分类:其他好文   时间:2020-04-28 00:33:16    阅读次数:42
cf1216E2 Numerical Sequence (hard version) 二分查找、思维题
题目描述 The only difference between the easy and the hard versions is the maximum value of k. You are given an infinite sequence of form "112123123412345 ...
分类:其他好文   时间:2020-04-27 22:17:24    阅读次数:94
[CF1216E] Numerical Sequence
题目 (直接上简陋翻译中文版了……)有一个无限长的数字序列,其组成为1 1 2 1 2 3 1 …… 1 2 …… n ……,即重复的1 ~ 1 , 1 ~ 2 …… 1 ~ n,给你一个 $k$ ,求第$k$个数字是什么。 解说 easy version 其实这个题是有两个版本的,easy ver ...
分类:其他好文   时间:2020-04-27 19:14:05    阅读次数:53
POJ2955 Brackets
POJ2955 Brackets 题目链接:https://vjudge.net/problem/POJ-2955 题意:求最长的合法括号子序列长度 思路: 基础的区间DP问题。用f[i][j]表示第i到第j区间内的最长合法括号子序列长度。 首先要进行预处理: 如果当前区间 [l,r] 的左端点和右 ...
分类:其他好文   时间:2020-04-26 21:05:13    阅读次数:51
A and B CodeForces - 1278B math
You are given two integers aa and bb. You can perform a sequence of operations: during the first operation you choose one of these numbers and increas ...
分类:其他好文   时间:2020-04-26 10:35:56    阅读次数:78
python问题记录
1、Linux环境下高亮打印:print "\033[93mWARNING:\033"2、断点: import pdb pdb.set-trace()3、self.assertEqual(a,b,msg=msg) #判断a与1.b是否一致,msg类似备注,可以为空4、lstrip([chars]) ...
分类:编程语言   时间:2020-04-25 23:19:32    阅读次数:84
6654条   上一页 1 ... 20 21 22 23 24 ... 666 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!