码迷,mamicode.com
首页 >  
搜索关键字:mathematics    ( 300个结果
计算机经典教材
(计算机牛人的必由之路) 1 前言 2 Mathematics (数学) 3 Data Structures & Algorithms (数据结构、算法) 4 Compiler (编译原理) 5 Operating System (操作系统)...
分类:其他好文   时间:2014-09-16 15:48:40    阅读次数:280
HDU 1205 吃糖果
水题,问题是 lld 不管是交G++还是C++都要WA。 我还是以为我做错了呢,改成 I64d 就AC了。 找出最多的糖,然后吃一颗这个,再吃其他的。只要其他的糖不比最多的糖少就满足了。 #include #include #include #include #include #include #include #include #include #include #...
分类:其他好文   时间:2014-09-12 10:15:33    阅读次数:174
我们为什么用卷积? Why should we use convolution?
Why should we use convolution? 问题限定: 仅对离散信号做分析 首先要回答什么是卷积的问题.               In mathematics and, in particular, functional analysis, convolution is a mathematical operation on...
分类:其他好文   时间:2014-09-11 20:59:12    阅读次数:222
[ACM] hdu 4403 A very hard Aoshu problem (DFS暴搜数字)
A very hard Aoshu problem Problem Description Aoshu is very popular among primary school students. It is mathematics, but much harder than ordinary mathematics for primary school students. T...
分类:其他好文   时间:2014-09-11 15:23:22    阅读次数:150
HDU 1018 Big Number
题意:给你一个数,计算他的阶乘有多少位。 算阶乘再看位数必超时。1 想每次%10 。一开始用int 果然有精度问题。于是double水了。600+ms 后来想到可以 log 10 () 。于是900+ms。 总觉得不对。应该有公式。看discuss 后终于知道了。 #include #include #include #include #inclu...
分类:其他好文   时间:2014-09-09 12:37:18    阅读次数:165
HDU 1042 N!
就是计算一个数的阶乘。 0 跟笔算一个样子。每一位用数组去存就好了。 我的挫代码:500+ms #include #include #include #include #include #include #include #include #include #include #include #define INF 0x7fffffff #define eps 1e-8 #def...
分类:其他好文   时间:2014-09-09 12:35:18    阅读次数:250
HDU4288-Coder(线段树+离线+离散化)
Coder Time Limit: 20000/10000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3183    Accepted Submission(s): 1254 Problem Description   In mathematics a...
分类:其他好文   时间:2014-09-03 15:04:36    阅读次数:246
数论 - 素数的运用 --- poj 2689 : Prime Distance
Prime DistanceTime Limit:1000MSMemory Limit:65536KTotal Submissions:12512Accepted:3340DescriptionThe branch of mathematics called number theory is abo...
分类:其他好文   时间:2014-09-02 17:28:25    阅读次数:196
求助 一个很简单的ACM题 java代码 自己电脑上测都是正确的 但提交总是wrong answer 先谢谢了
题意大致是,给出直角三角形a,b,c(c为斜边)中两个的值(都是正数),求值为-1的那个边。比如3 4 -1,就是求c的长度,输入0 0 0表结束,输出格式如下加粗部分,我自己测自己的运行结果都是正确的,不知为什么总是wa,求大神指点!Mathematics can be so easy when ...
分类:编程语言   时间:2014-09-02 17:12:54    阅读次数:259
HDU 2058 The sum problem
水题。 题意是说给一个N,M。 在序列: 1,2,3,……,N 中找到连续数列 的和为M。 设序列长度为d. 序列最长,从1 开始。可预知的和为 d*(d-1)/2  #include #include #include #include #include #include #include #include #include #include #include ...
分类:其他好文   时间:2014-09-01 15:41:53    阅读次数:204
300条   上一页 1 ... 26 27 28 29 30 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!