码迷,mamicode.com
首页 >  
搜索关键字:space    ( 18273个结果
UVA 12486 Space Elevator(数位DP)
题目pdf:http://acm.bnu.edu.cn/v3/external/124/12486.pdf 大致题意:求第n个不包含"4"和"13"为子串的数是多少 , n 思路:就是一般的数位DP,二分答案,对答案的数求数位DP算出此数以内有多少个满足条件的数 但是....居然答案爆long long,要用unsigned long long 才能过,就这个坑点 // ...
分类:其他好文   时间:2015-08-15 01:34:31    阅读次数:135
sed小感悟
小感一点一、砖头勾引和田玉先说点自己对sed的目前掌控吧,sed是一个文本流编辑器,逐行处理文件。默认情况下并不直接改变原本文件内容(除非使用-i选项)。sed工作有两个空间patternspace和holdingspace。patternspace,sed逐行将文本行拿出,置于patternspace中,然后做相应处..
分类:其他好文   时间:2015-08-14 19:27:26    阅读次数:158
BNU 26351 Space Elevator 数位dp
Problem E Space Elevator China is building a space elevator, which will allow the launching probes and satellites to a much lower cost, enabling not only scienti?c research projects but also space ...
分类:其他好文   时间:2015-08-14 19:13:26    阅读次数:112
Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (i...
分类:其他好文   时间:2015-08-14 18:35:55    阅读次数:142
Oracle Install logs
oracle 11.2.0.4.0INFO: Using paramFile: /home/oracle/softs/database/install/oraparam.iniINFO: INFO: INFO: Checking Temp space: must be greater than 12...
分类:数据库   时间:2015-08-14 13:40:10    阅读次数:185
[LeetCode] Remove Duplicates from Sorted Array
Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a...
分类:其他好文   时间:2015-08-14 13:08:21    阅读次数:98
poj 2031 Building a Space Station 【最小生成树 Prim】
Building a Space Station   Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 5778   Accepted: 2874 Description You are a member of the space station engineering...
分类:其他好文   时间:2015-08-14 10:03:58    阅读次数:108
Ural 1780 Gray Code 乱搞暴力
原题链接:http://acm.timus.ru/problem.aspx?space=1&num=17801780. Gray CodeTime limit: 0.5 secondMemory limit: 64 MBDenis, Vanya and Fedya gathered at their...
分类:其他好文   时间:2015-08-13 20:06:14    阅读次数:136
Ural 1774 Barber of the Army of Mages 最大流
题目链接:http://acm.timus.ru/problem.aspx?space=1&num=17741774. Barber of the Army of MagesTime limit: 0.5 secondMemory limit: 64 MBPetr, elected as a war...
分类:其他好文   时间:2015-08-13 20:02:51    阅读次数:198
LeetCode解题报告--Palindrome Number
题目:回文数字的判断 Determine whether an integer is a palindrome. Do this without extra space.Some hints: Could negative integers be palindromes? (ie, -1)If you are thinking of converting the integer to strin...
分类:其他好文   时间:2015-08-13 17:59:30    阅读次数:129
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!