码迷,mamicode.com
首页 >  
搜索关键字:mine number    ( 27191个结果
C - Minimum Inversion Number
DescriptionThe inversion number of a given number sequence a1, a2, ..., an is the number of pairs (ai, aj) that satisfy i aj.For a given sequence of ....
分类:其他好文   时间:2014-05-05 11:42:13    阅读次数:276
model number
// test.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include "winioctl.h"#define IOCTL_STORAGE_QU...
分类:其他好文   时间:2014-05-05 10:52:44    阅读次数:370
LeetCode: plusOne 题解
Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
分类:其他好文   时间:2014-05-04 19:46:18    阅读次数:372
poj 1430 Binary Stirling Numbers
Binary Stirling NumbersTime Limit:1000MSMemory Limit:10000KTotal Submissions:1761Accepted:671DescriptionThe Stirling number of the second kind S(n, m)...
分类:其他好文   时间:2014-05-04 19:34:32    阅读次数:434
codechef Permutation Cycles 题解
We consider permutations of the numbers 1,..., N for some N. By permutation we mean a rearrangment of the number 1,...,N. For example 2  4  5  1  7  6  3  8 is a permutation of 1,2,...,8. Of cours...
分类:其他好文   时间:2014-05-04 18:38:14    阅读次数:341
线段数 --- (单点更新、求逆序对)
Minimum Inversion Number Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description The inversion number of a given number seque...
分类:其他好文   时间:2014-05-04 12:27:07    阅读次数:349
pat 1038 Smallest Number解题心得
题目描述:1038. Recover the Smallest Number (30)Given a collection of number segments, you are supposed to recover the smallest number from them. For examp...
分类:其他好文   时间:2014-05-04 10:49:34    阅读次数:308
Distinct Subsequences
题目: Given a string S and a string T, count the number of distinct subsequences of T in S. A subsequence of a string is a new string which is formed from the original string by deleting some (c...
分类:其他好文   时间:2014-05-03 21:48:19    阅读次数:252
Linux 下vim 不能进行保存
折腾了一个中午,在终端输入  vim myProgram 然后编辑以下内容 #!/bin/bash clear echo "" echo "The Telephone Book" echo "" echo "1.Display A Telephone Number" ehco "2.Add A New Telephone Number" echo "" echo "Q Quit" ec...
分类:系统相关   时间:2014-05-03 21:26:33    阅读次数:483
UVA之11549 - Calculator Conundrum
【题目】 Problem C CALCULATOR CONUNDRUM Alice got a hold of an old calculator that can display n digits. She was bored enough to come up with the following time waster. She enters a number k t...
分类:其他好文   时间:2014-05-03 15:37:03    阅读次数:308
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!