码迷,mamicode.com
首页 >  
搜索关键字:simple example    ( 24106个结果
【LeetCode】Permutations
Given a collection of numbers, return all possible permutations.For example,[1,2,3]have the following permutations:[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,...
分类:其他好文   时间:2014-05-27 02:42:35    阅读次数:202
d3 library example for scatter chart
d3 library example for scatter chart
分类:其他好文   时间:2014-05-27 02:23:46    阅读次数:191
ZOJ 3593 One Person Game
One Person GameTime Limit:2 Seconds Memory Limit:65536 KBThere is an interesting and simple one person game. Suppose there is a number axis under your...
分类:其他好文   时间:2014-05-24 07:02:17    阅读次数:310
c++11
devcpp增加对c++11的支持工具→编译选项如图,增加c++11支持c++11 random头文件对随机数的支持// random_device example#include #include int main (){ std::random_device rd; std::cout #i.....
分类:编程语言   时间:2014-05-24 04:52:52    阅读次数:311
【LeetCode】Rotate List
Given a list, rotate the list to the right bykplaces, wherekis non-negative.For example:Given1->2->3->4->5->NULLandk=2,return4->5->1->2->3->NULL.start...
分类:其他好文   时间:2014-05-19 16:25:44    阅读次数:234
汇编语言-求分段函数值
计算函数值题目:计算给定函数值要求:编制程序,计算下面函数值 其中,从键盘输入x,y,输出数据为a。输入输出时候都要求有提示信息。考查知识点:分支结构的应用。代码如下: 1 ; Example assembly language program -- 2 ; Author: karllen 3 .....
分类:编程语言   时间:2014-05-19 16:11:03    阅读次数:426
【LeetCode】Add Binary
Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".public class Solution { public String addBin...
分类:其他好文   时间:2014-05-19 12:15:49    阅读次数:220
LeetCode: Remove Nth Node From End of List [019]
【题目】 Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the end, the linked list becomes 1->2->3->5. Note: Given n will ...
分类:其他好文   时间:2014-05-18 18:48:03    阅读次数:269
LeetCode 016 3Sum Closest
【题目】 Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have exactly one solution. For example, given array S = {...
分类:其他好文   时间:2014-05-18 10:37:57    阅读次数:269
javascript异步延时加载及判断是否已加载js/css文件
/**=========================================** | 异步延时加载js/css文件 | @example loadasync("http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"); | @author liuensong@gmail.com | @param stri...
分类:编程语言   时间:2014-05-18 06:16:24    阅读次数:299
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!