码迷,mamicode.com
首页 >  
搜索关键字:纠正    ( 910个结果
leetcode_82_Remove Duplicates from Sorted List II
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢 Remove Duplicates from Sorted List II Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. ...
分类:其他好文   时间:2015-02-13 11:44:15    阅读次数:119
soj1080生化危机三
背景:由于对map使用的不熟悉,先一直无法编译通过,当纠正了map的错误后,一次ac。 思路:先用map对每个怪物需要消耗的子弹和一个怪物会伤害人多少血进行映射,然后就是简单模拟了。 学习:map的简单使用。#include #include using namespace std; map xue,zidan; int l,a; void judge(char guaiwu,int g_...
分类:其他好文   时间:2015-02-13 10:11:58    阅读次数:236
leetcode_01_Two sum
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢 Two sum Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbe...
分类:其他好文   时间:2015-02-12 18:32:47    阅读次数:162
leetcode_27_Remove Element
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢 Remove Element Given an array and a value, remove all instances of that value in place and return the new length. The order of elements can be changed. It doesn't...
分类:其他好文   时间:2015-02-12 18:30:54    阅读次数:159
leetcode_26_Remove Duplicates from Sorted Array
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢 Remove Duplicates from Sorted Array Given a sorted array, remove the duplicates in place such that each element appear only once and return the new  length. Do...
分类:其他好文   时间:2015-02-12 18:30:37    阅读次数:113
线索化二叉树的构建与先序,中序遍历(C++版)
贴出学习C++数据结构线索化二叉树的过程,方便和我一样的新手进行测试和学习同时欢迎各位大神纠正。不同与普通二叉树的地方会用背景色填充//BinTreeNode_Thr.h 1 enum PointTag 2 {Link,Thread}; 3 4 template 5 struct BinTreeN....
分类:编程语言   时间:2015-02-11 20:31:13    阅读次数:229
leetcode_56_Merge Intervals
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢 Merge Intervals Given a collection of intervals, merge all overlapping intervals. For example, Given [1,3],[2,6],[8,10],[15,18], return [1,6],[8,10],[15,18]. ...
分类:其他好文   时间:2015-02-11 18:42:12    阅读次数:129
leetcode_75_Sort Colors
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢 Sort Colors  Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white ...
分类:其他好文   时间:2015-02-11 18:41:01    阅读次数:116
HTML5中表单验证的8种方法(转)
在深人探讨表单验证之前,让我们先思考一下表单验证的真实含义。就其核心而言,表单验证是一套系统,它为终端用户检测无效的控件数据并标记这些错误。换言之,表单验证就是在表单提交服务器前对其进行一系列的检查并通知用户纠正错误。但是真正的表单验证是什么?是一种优化。之所以说表单验证是一种优化,是因为仅通过表单...
分类:Web程序   时间:2015-02-10 20:05:36    阅读次数:616
leetcode_84_Largest Rectangle in Histogram
麻烦各位朋友帮忙顶一下增加人气,如有错误或疑问请留言纠正,谢谢 Largest Rectangle in Histogram Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest ...
分类:其他好文   时间:2015-02-10 11:25:41    阅读次数:179
910条   上一页 1 ... 74 75 76 77 78 ... 91 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!