码迷,mamicode.com
首页 >  
搜索关键字:calculate    ( 959个结果
Shell cmd set note
1,expra)expr calculate//a=10;echo `expr $a - 1 `b)string index //a='abcde';echo `expr index $a "b"`|| string substr// a='abcde'; echo `expr substr $a ...
分类:系统相关   时间:2014-10-28 12:07:51    阅读次数:270
leetcode-distinct sequences
Solution: when see question about two strings , DP should be considered first.We can abstract this question to calculate appear times for string T wit...
分类:其他好文   时间:2014-10-26 00:12:57    阅读次数:211
bzoj 2226: [Spoj 5971] LCMSum 数论
2226: [Spoj 5971] LCMSumTime Limit:20 SecMemory Limit:259 MBSubmit:578Solved:259[Submit][Status]DescriptionGiven n, calculate the sum LCM(1,n) + LCM(2...
分类:其他好文   时间:2014-10-22 23:40:27    阅读次数:389
水题/hdu 1012 u Calculate e
题意 求n=0~9时的sigma(1/n!)分析 因为刚学c++ 所以对浮点操作还是很不熟练,正好来了这么一道题Accepted Code 1 /* 2 PROBLEM:hdu 1012 3 AUTHER:Nicole Lam 4 MEMO:水题 5 */ 6 #incl...
分类:其他好文   时间:2014-10-20 23:11:29    阅读次数:218
zoj3772【线段树+矩阵相乘】
Calculate the FunctionTime Limit:2 Seconds Memory Limit:65536 KBYou are given a list of numbersA1A2..ANandMqueries. For the i-th query:The query has t...
分类:其他好文   时间:2014-10-20 18:51:12    阅读次数:153
Sicily 1381. a*b
ConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionGive two positive integers a and b, please help us calculate a*b.InputThe first line of t...
分类:其他好文   时间:2014-10-16 14:06:42    阅读次数:135
JAVA中的策略模式strategy
原文出自:http://ttitfly.iteye.com/blog/1364671. 以一个算术运算为例,传统做法为:java 代码package org.common; public class Calculate { public String getResu...
分类:编程语言   时间:2014-10-15 13:17:30    阅读次数:214
orientation of a given circle
sqwswwEEEeUntitled Document 复习提纲 stereographic projection (definition and the way to find a projecting point) calculate square root for a given complex number triangle inequality differentiatio...
分类:其他好文   时间:2014-10-14 14:01:29    阅读次数:412
Codeforces Round #272 (Div. 1) A. Dreamoon and Sums(数论)
题目链接Dreamoon loves summing up something for no reason. One day he obtains two integersaandboccasionally. He wants to calculate the sum of allniceinteg...
分类:其他好文   时间:2014-10-13 23:10:27    阅读次数:221
hdoj 3501
Problem DescriptionGiven a positive integer N, your task is to calculate the sum of the positive integers less than N which are not coprime to N. A .....
分类:其他好文   时间:2014-10-11 16:30:15    阅读次数:172
959条   上一页 1 ... 85 86 87 88 89 ... 96 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!