码迷,mamicode.com
首页 >  
搜索关键字:hdu 1012 u calculate    ( 31774个结果
HDU-4370 0 or 1
Problem Description Given a nn matrix Cij (1<=i,j<=n),We want to find a nn matrix Xij (1<=i,j<=n),which is 0 or 1. Besides,Xij meets the following con ...
分类:其他好文   时间:2020-12-21 12:00:49    阅读次数:0
HDU 2594 Simpsons’ Hidden Talents KMP
#include<iostream> #include<string> using namespace std; void getNext(string s, int *nex) { nex[0] = -1; int i = 0, j = -1; int len = s.length(); whil ...
分类:其他好文   时间:2020-12-01 12:22:41    阅读次数:7
HDU - 4969(积分)
//将圆弧看成一段段的直线段,每个单元时间为dt //每一段路径长为 v1dt 和 v2dt //对于v2来说,存在径向速度vx(向外) 和 切向速度vy(绕圆) (vx^2 + vy^2 = v2^2) //又v1/R = w(角速度)= vy/r (r是运动过程中离圆心的距离)r属于[0, R] ...
分类:其他好文   时间:2020-11-20 11:47:20    阅读次数:4
hdu 6868
题意 $T$组数据$(n,m)$ 令$f(n)=\sum\limits_{d|n}|\mu(d)|$ 求$\sum\limits_^m f(ni)$ \(T\le 10^4,n,m\le 10^7\) 做法 显然$f(n)$是积性函数 则$f(ni)=\frac{f(n)f(i)}{f((n,i)) ...
分类:其他好文   时间:2020-11-11 16:07:42    阅读次数:5
HDU 1010 搜索 奇偶剪枝
#include<iostream> #include<cstring> #include<cmath> using namespace std; char map[8][8]; int n, m, t; int dir[4][2]={{1,0},{-1,0},{0,1},{0,-1}}; bool ...
分类:其他好文   时间:2020-11-08 17:14:10    阅读次数:17
SAPHANA学习(26):SQL Function 分类汇总
3.12 Aggregate Functions /*12. Aggregate Functions*/ /* Aggregate functions are analytic functions that calculate an aggregate value based on a group ...
分类:数据库   时间:2020-11-07 17:08:05    阅读次数:20
leetcode407 Trapping rain water II
use 3D version to calculate how much water the model can contain this problem need use dfs,from the edge part which mustn't be answer,for the edge can ...
分类:移动开发   时间:2020-10-29 10:06:29    阅读次数:25
ACM_HDU_2045_不容易系列之(3)—— LELE的RPG难题
Problem Description 人称“AC女之杀手”的超级偶像LELE最近忽然玩起了深沉,这可急坏了众多“Cole”(LELE的粉丝,即"可乐"),经过多方打探,某资深Cole终于知道了原因,原来,LELE最近研究起了著名的RPG难题: 有排成一行的n个方格,用红(Red)、粉(Pink)、 ...
分类:其他好文   时间:2020-10-26 11:29:27    阅读次数:26
hdu6230(求限制条件的回文个数,利用manacher+BIT求解)
题:http://acm.hdu.edu.cn/showproblem.php?pid=6230 题意:求一个字符串中(长度<=5e5)中指定字符串个数; 指定字符串约束为:类似俩个回文串“镶嵌”,设有俩个回文串的回文中心位置分别为x和y(x<y),前者的回文半径涵盖的范围必须包含y ,同时后者的回 ...
分类:其他好文   时间:2020-10-21 20:33:08    阅读次数:23
「题解」hdu 2973 YAPTCHA
题目 hdu 2973 YAPTCHA 求 \(s_n=\sum_{i=1}^{n}\left\lfloor\dfrac{(3k+6)!+1}{3k+7}-\left\lfloor\dfrac{(3k+6)!}{3k+7}\right\rfloor\right\rfloor\)。 思路 根据威尔逊定 ...
分类:其他好文   时间:2020-10-18 16:48:53    阅读次数:17
31774条   上一页 1 ... 3 4 5 6 7 ... 3178 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!