码迷,mamicode.com
首页 >  
搜索关键字:have    ( 8669个结果
Single Number
Single NumberGiven an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runti...
分类:其他好文   时间:2014-07-22 23:07:14    阅读次数:337
uva 11324
Problem B: The Largest CliqueGiven a directed graphG, consider the following transformation. First, create a new graphT(G)to have the same vertex set ...
分类:其他好文   时间:2014-05-01 14:09:34    阅读次数:357
【USACO】beads
题目:You have a necklace of N red, white, or blue beads (3#include #include #define MAXN 400char necklace[MAXN];int len;/* * Return n mod m. The C % o.....
分类:其他好文   时间:2014-05-01 12:04:19    阅读次数:497
LA 3211
As you must have experienced, instead of landing immediately, an aircraft sometimes waits in a holding loop close to the runway. This holding mechanis...
分类:其他好文   时间:2014-05-01 03:51:48    阅读次数:477
[ACM] poj 1064 Cable master (二分查找)
Cable master Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 21071   Accepted: 4542 Description Inhabitants of the Wonderland have decided to hold a regional p...
分类:其他好文   时间:2014-04-29 13:44:22    阅读次数:360
sicily 1007 To and Fro (基础题)
链接:http://soj.me/show_problem.php?pid=1007 Description Mo and Larry have devised a way of encrypting messages. They first decide secretly on the number of columns and write the message (letter...
分类:其他好文   时间:2014-04-29 13:23:21    阅读次数:293
poj 3468 A Simple Problem with Integers
A Simple Problem with Integers Time Limit: 5000MS   Memory Limit: 131072K Total Submissions: 55626   Accepted: 16755 Case Time Limit: 2000MS Description You have N...
分类:其他好文   时间:2014-04-28 10:23:41    阅读次数:282
sdut 2416:Fruit Ninja II(第三届山东省省赛原题,数学题)
Fruit Ninja IITime Limit: 5000MS Memory limit: 65536K题目描述Have you ever played a popular game named "Fruit Ninja"?Fruit Ninja (known as Fruit Ninja HD ...
分类:其他好文   时间:2014-04-28 05:10:47    阅读次数:582
LA 4256
Traveling salesmen ofnhn. (the prestigious Korean internet company) report their current location to the company on a regular basis. They also have to...
分类:其他好文   时间:2014-04-28 01:25:55    阅读次数:582
8669条   上一页 1 ... 865 866 867
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!