码迷,mamicode.com
首页 >  
搜索关键字:pairs    ( 1028个结果
24. Swap Nodes in Pairs
Given a linked list, swap every two adjacent nodes and return its head.Example:Given 1->2->3->4, you should return the list as 2->1->4->3.Note:Your al... ...
分类:其他好文   时间:2018-05-18 00:35:22    阅读次数:168
try1
C. Kuro and Walking Routetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputKuro is living in a cou ...
分类:其他好文   时间:2018-05-15 13:18:47    阅读次数:162
【TOJ 2176】Surprising Strings
描述 The D-pairs of a string of letters are the ordered pairs of letters that are distance D from each other. A string is D-unique if all of its D-pairs ...
分类:其他好文   时间:2018-05-14 13:19:15    阅读次数:186
【TOJ 3812】Find the Lost Sock
描述 Alice bought a lot of pairs of socks yesterday. But when she went home, she found that she has lost one of them. Each sock has a name which contain ...
分类:其他好文   时间:2018-05-05 23:05:48    阅读次数:198
Find the Lost Sock
描述 Alice bought a lot of pairs of socks yesterday. But when she went home, she found that she has lost one of them. Each sock has a name which contain ...
分类:其他好文   时间:2018-05-05 20:42:05    阅读次数:202
leetcode-561-Array Partition I
题目描述: Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1, b1), (a2, b2), ..., (an, bn) which makes s ...
分类:其他好文   时间:2018-05-03 15:32:45    阅读次数:161
24. Swap Nodes in Pairs
Given a linked list, swap every two adjacent nodes and return its head. Example: Given 1->2->3->4, you should return the list as 2->1->4->3. Note: You ...
分类:其他好文   时间:2018-05-03 15:29:02    阅读次数:162
c++复习:STL之容器
1 STL的string 1 String概念 string是STL的字符串类型,通常用来表示字符串。而在使用string之前,字符串通常是用char*表示的。string与char*都可以用来表示字符串,那么二者有什么区别呢。 string和char*的比较 string是一个类, char*是一... ...
分类:编程语言   时间:2018-05-02 23:53:33    阅读次数:188
memcached command
http://lzone.de/cheat-sheet/memcached memcached Cheat Sheet Telnet Interface How To Connect Use "ps -ef" to find out which IP and port was passed when ...
分类:系统相关   时间:2018-05-02 02:52:05    阅读次数:242
四川第七届 I Travel(bfs)
Travel The country frog lives in has nn towns which are conveniently numbered by 1,2,…,n1,2,…,n. Among n(n?1)2n(n?1)2 pairs of towns, mm of them are c ...
分类:其他好文   时间:2018-04-26 23:38:07    阅读次数:326
1028条   上一页 1 ... 29 30 31 32 33 ... 103 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!