码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果
80 remove duplicates from sorted array 2
| 分类 leetcode | Follow up for "Remove Duplicates":What if duplicates are allowed at most twice?For example,Given sorted array nums = [1,1,1,2,2,3],You... ...
分类:其他好文   时间:2020-01-29 12:53:10    阅读次数:91
锐捷交换机18010-X端口假死现象
一次上架锐捷交换机,由于ODF光衰不稳定,导致交换机端口down,排查很多发现以下故障: 重置18010-X端口发现提示一下命令: Port in violation! Use 'errdisable recovery' command to up the port! gz-sprine1#show ...
分类:其他好文   时间:2020-01-29 00:55:08    阅读次数:262
POJ1835 宇航员 模拟
一道模拟题:http://poj.org/problem?id=1835 back、forward、up、down都很好搞,而left和right困扰了我很久,最后我直接打表,将所有情况的left和right都搞出来 代码如下: #include <iostream> #include <cstdi ...
分类:其他好文   时间:2020-01-28 09:30:00    阅读次数:78
leetcode 1 Two Sum
题目内容 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would ha ...
分类:其他好文   时间:2020-01-27 19:08:41    阅读次数:65
1008 Elevator (20分)
1008 Elevator (20分) 题目: The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote ...
分类:其他好文   时间:2020-01-26 23:53:52    阅读次数:68
Lining Up
AtCoder - 2271-Lining Up 原创 fadedsun 最后发布于2017-08-07 10:10:15 阅读数 656 收藏 展开 Problem Statement There are N people, conveniently numbered 1 through N. T ...
分类:其他好文   时间:2020-01-25 20:47:12    阅读次数:81
[北大机试F]:Wireless Network(并查集)
总时间限制: 10000ms 内存限制: 65536kB描述An earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wireless network with ...
分类:Web程序   时间:2020-01-25 20:46:01    阅读次数:133
Android基础——高级UI组件:图像视图和图片切换器
layout代码 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.and ...
分类:移动开发   时间:2020-01-24 23:44:51    阅读次数:175
518. Coin Change 2
You are given coins of different denominations and a total amount of money. Write a function to compute the number of combinations that make up that a ...
分类:其他好文   时间:2020-01-24 09:18:30    阅读次数:75
[USACO][DAG上的动态规划]Sorting A Three-Valued Sequence
好美的图论,真的 light up my life!题意: 给出一个只含有若干1,2,3的数列,我们可以两两交换数列元素;要求输出让这个数列不减的最小交换次数。 思路: 首先看起来很像冒泡.....然鹅要最少交换次数——显然不是模拟冒泡了。 开始用深搜来着,显然没办法剪枝,果断T掉。这个时候就要想一 ...
分类:其他好文   时间:2020-01-23 21:09:24    阅读次数:59
7825条   上一页 1 ... 40 41 42 43 44 ... 783 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!