E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
1061
Hibernate 调用存储过程(二)
public List<SearchReportDto
1061
> shishiCount(String dwbh,
ConeyLiu
·
2011-11-10 14:00
Hibernate
HDU OJ 题目分类
基础题:1000、1001、1004、1005、1008、1012、1013、1014、1017、1019、1021、1028、1029、1032、1037、1040、1048、1056、1058、
1061
ju136
·
2011-10-12 20:40
ACM
HDU OJ 题目分类
基础题:1000、1001、1004、1005、1008、1012、1013、1014、1017、1019、1021、1028、1029、1032、1037、1040、1048、1056、1058、
1061
ju136
·
2011-10-12 20:00
数据结构
算法
calendar
Numbers
Allocation
combinations
hdu
1061
#include#include#defineI64__int64 intFuction(I64n){ intres=1; I64b=n; if(!n) //n==0,输出1 return1; if(!(n%10)) return0; while(b){ if(b&1){ res*=n;
fangzhiyang
·
2011-10-12 20:00
hdoj
1061
Rightmost Digit
比较水……一:#include #include usingnamespacestd; intmain() { intn,m,unit;//个位 inta[10][4]={{0},{1},{6,2,4,8},{1,3,9,7},{6,4},{5},{6},{1,7,9,3},{6,8,4,2},{1,9}}; intb[10]={1,1,4,4,2,1,1,4,4,2}; scanf
tanhaiyuan
·
2011-09-24 12:00
ZOJ
1061
Web Navigation_数据结构_栈
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=61数据结构,用C写的栈,不用STL确实复杂多了,WA了几次~Standardwebbrowserscontainfeaturestomovebackwardandforwardamongthepagesrecentlyvisited.Onewaytoimplementthesef
codepeng
·
2011-09-05 22:00
poj
1061
(线性同余方程。。。。)
线性同余方程a*x=b(modn);方程有解当且仅当b能够被a与n的最大公约数整除,即gcd(a,n)|b;如果解出一个解x0,那么方程所有的解克表示为( x0+k*(n/d))d为a和n的最大公约数;此题可以列出方程m*t+x=n*t+y(modL)即(m-n)*t=(y-x)(modL),然后求解即可#include usingnamespacestd; longlongex_gcd(lon
water_glass
·
2011-09-03 09:00
Aizu 1051-
1061
这次做的是日本OJ上的题目,他的题目的特点是英语难懂,读懂了容易题居多。Aizu1051求给出N个连续的号码,把他们变成连续的形式比如12351-35Aizu1052给定a[i],b[i]问是否存在一种排列s.t sigm(a[i])<=b[i]1<=i<=n贪心如果有一组排列可行,则把b换成非降序后肯定也可行所有只要b排序确定就可以了Aizu1053题目描述比较BT大意是一个半径为1的圆,中有一
zjsxzjb
·
2011-08-25 00:00
windows7下登录ubuntu的方法
这时需要下载xp下的远程桌面连接:xp远程桌面连接下载然后不直接安装,提取出“F1060_mstsc.exe”“F1059_mstscax.dll”“F
1061
_ms
mypop
·
2011-08-21 23:00
POJ
1061
POJ
1061
对于给定的x,y,m,n,L;当m=n的时候必定无解。
半壁江山の圣灵玉
·
2011-08-08 23:00
【扩展欧几里德】POJ
1061
+ zoj 2657
id=
1061
http://acm.zju.edu.cn/onlinejudge/showProblem.do?
基德KID.1412
·
2011-08-05 13:00
编程
C++
c
算法
ACM
Rightmost Digit ACM HDU
1061
Rightmost Digit Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12357 Accepted Submission(s): 4773
·
2011-07-31 20:00
right
杭电acm试题分类
4c345c0a626fb31295ca6b4b.html基础题:1000、1001、1004、1005、1008、1012、1013、1014、1017、1019、1021、1028、1029、1032、1037、1040、1048、1056、1058、
1061
东方快翔
·
2011-07-08 23:41
职场
ACM
休闲
杭电acm试题分类
4c345c0a626fb31295ca6b4b.html基础题:1000、1001、1004、1005、1008、1012、1013、1014、1017、1019、1021、1028、1029、1032、1037、1040、1048、1056、1058、
1061
东方快翔
·
2011-07-08 23:41
职场
休闲
acm
行走在acm道路上
WINCE音量设置(系统音按键音)
转载自:http://blog.sina.com.cn/s/blog_5be
1061
c0100b003.html 首先我们来看下,这些声音设置都在注册表:HKEY_CURRENT_USER/ControlPanel
hao507
·
2011-06-09 11:00
api
null
delete
dll
WinCE
winapi
GPS基本概念
转载自:http://blog.sina.com.cn/s/blog_5be
1061
c0100b0oq.html 1.现有的几大系统。
hao507
·
2011-06-09 11:00
Wince和Windows Mobile 区别与联系
转载自:http://blog.sina.com.cn/s/blog_5be
1061
c0100b578.html Wince为WindowsCE的简称,Wince是一种通用型操作系统。
hao507
·
2011-06-09 11:00
windows
server
shell
Microsoft
mobile
WinCE
PIC32嵌入式大赛最新视频作品展示
act=view&id=
1061
视频演示:高压平流泵控制系统_演示视频_BY_omniknighthttp://v.youku.com/v_show/id_XMjUzMTIwOTc2.html家用智能监控系统
soboer
·
2011-04-15 16:00
嵌入式
PIC32嵌入式大赛最新视频作品展示
act=view&id=
1061
视频演示:高压平流泵控制系统_演示视频_BY_omniknighthttp://v.youku.com/v_show/id_XMjUzMTIwOTc2.html 家用智能监控系统
yming0221
·
2011-04-15 16:00
生活
网络
嵌入式
2010
PIC32嵌入式大赛最新视频作品展示
act=view&id=
1061
视频演示:高压平流泵控制系统_演示视频_BY_omniknighthttp://v.youku.com/v_show/id_XMjUzMTIwOTc2.html家用智能监控系统
thecloud
·
2011-04-15 16:00
嵌入式
扩展欧几里得算法
poj
1061
题目,青蛙的约会。一开始想暴力求解的。但是之前提交过,tle...今天过来查一下,说是扩展欧几里得算法。我了个去。这么复杂的名字,得是有多深奥。查了才知道原来就是辗转相除法。
naughty610
·
2011-02-27 11:00
POJ
1061
青蛙的约会 数学题
开始用了暴力枚举,后来一看数据这么大,估计肯定超时,无奈上网搜索了一下,考察的是扩展欧几里德算法,还有比较大的整数_int64的处理。转自http://apps.hi.baidu.com/share/detail/16229280设过s步后两青蛙相遇,则必满足以下等式:(x+m*s)-(y+n*s)=k*l(k=0,1,2....)稍微变一下形得:(n-m)*s+k*l=x-y 令n-m=a
yangliuy
·
2010-12-17 23:00
c
算法
扩展
语言
poj
1061
扩展欧几里得
#includeintgcd(inta,intb){if(b==0)returna;returngcd(b,a%b);}voidexgcd(inta,intb,__int64&x,__int64&y){if(b==0){x=1;y=0;return;}exgcd(b,a%b,x,y);__int64t=x;x=y;y=t-a/b*y;return;}intmain(){__int64x,y,m,n
kingskyleader
·
2010-12-08 23:00
c
扩展
HDU
1061
The rightmost digit
题意: 给定一个整数N求N^N的结果的最后一位是多少,如3^3=3*3*3=27则此时最后一位为7。1charans[]={'1','4','7','6','5','6','3','6','9','0','1','6','3','6','5','6','7','4','9','0'};intmain(){#ifndefONLINE_JUDGEfreopen("in.txt","r",st
ACb0y
·
2010-12-07 21:00
数学专场
扩展欧几里得的较好讲解http://hi.baidu.com/blackstar08/blog/item/5a1b9a2687d07f08918f9d73.htmlpoj
1061
和2115 poj3292
mindmb
·
2010-11-05 17:00
杭电OJ题目分类
基础题:1000、1001、1004、1005、1008、1012、1013、1014、1017、1019、1021、1028、1029、1032、1037、1040、1048、1056、1058、
1061
acronix
·
2010-09-24 22:00
HDU
1061
HDU
1061
//解题思路:求一个数最右边的一位数,即%10,//故:N^N 的最右边的一位数是( N^N ) % 10,根据同余定理= (N % 10)^N//通过观察由 1 - 9的 N 次幂容易找出相应的规律
雪黛依梦
·
2010-09-11 22:00
3498 March of the Penguins //maxflow
MarchofthePenguinsTimeLimit: 8000MS MemoryLimit: 65536KTotalSubmissions: 2269 Accepted:
1061
DescriptionSomewherenearthesouthpole
hqd_acm
·
2010-09-06 20:00
layout
input
each
Social
output
distance
poj
1061
青蛙的约会
//poj
1061
扩展的欧几里德,数据要求longlong...
birdforever
·
2010-09-03 12:00
ext
System
扩展
poj
1061
如何求求a * x + b * y = n的整数解 (x y )
poj
1061
如何求求a*x+b*y=n的整数解(xy) 1、先计算Gcd(a,b),若n不能被Gcd(a,b)整除,则方程无整数解;否则,在方程两边同时除以Gcd(a,b),得到新的不定方程a'*x+
雪黛依梦
·
2010-08-28 22:00
青蛙的约会解题报告(转)
解题例程:pku
1061
青蛙的约会解题报告符号说明: mod表示:取模运算 ax≡b(mod m)表示:(ax-b)modm=0,即同余
ErenNo1
·
2010-07-29 20:00
pku
1061
(扩展欧几里德算法,中国剩余定理,模线性方程)
id=
1061
公式:(ans*m-x)=(ans*n-y)modL => (n-m)*ans=(x-y)modL,(ans表示跳跃的次数);直接代入模板就行啦。
shiren_Bod
·
2010-07-22 14:00
WINCE 半透明及透明位图的实现技术
原文地址::http://blog.sina.com.cn/s/blog_5be
1061
c0100azzz.html 绘制半透明位图 有的时侯,我们希望显示一幅半透明的位图。
xqhrs232
·
2010-07-08 18:00
关于工厂模式和spring的IOC
PHPSESSID=df81a3fde2d88ab19b2a3588347d1d6d http://gocom.primeton.com/modules/gSpace/pick
1061
.htm?
xinkong1010
·
2010-05-21 21:00
设计模式
spring
bean
xml
IOC
关于工厂模式和spring的IOC
PHPSESSID=df81a3fde2d88ab19b2a3588347d1d6d http://gocom.primeton.com/modules/gSpace/pick
1061
.htm?
xinkong1010
·
2010-05-21 21:00
设计模式
spring
bean
xml
IOC
poj
1061
线性同余
poj
1061
线性同余//推出同余式后直接上算法导论结论#include using namespace std;__int64 extgcd(__int64 a, __int64 b, __int64
wyiu
·
2010-03-31 22:00
pku
1061
青蛙的约会 解题报告
两只青蛙跳了t步A的坐标x+mtB的坐标y+nt相遇的充要条件: x+mt-y-nt=pL(p是整数)即 (n-m)*t+Lp=x-y (L>0)问题转化为:求满足(m-n)*t+Lp=(y-x) 的最小t(t>0)即求一次同余方程(m-n)*t=(y-x)(modL)的最小正整数解 #includelonglongmod(longlonga,longlongb){return(
zhuichao001
·
2010-03-31 08:00
struct
2010-02-01.ural
1061
-pku1754
2010-02-01.ural
1061
-pku17542010-02-01.ural
1061
-pku1754简单题,按照*分成不同的段,然后在每个段中线性扫描即可。
Why so serious? --[NKU]schindlerlee
·
2010-02-03 17:00
HDOJ-
1061
-Rightmost Digit (求n^n的最低位)
/*RightmostDigitTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):6515 AcceptedSubmission(s):2454ProblemDescriptionGivenapositiveintegerN,youshouldoutput
lovelyloulou
·
2010-01-22 23:00
Integer
input
each
output
pku
1061
青蛙的约会 同余方程
#includelonglongmod(longlonga,longlongb){return(a%b+b)%b;}structtriple{longlongd,x,y;};longlongEuclid(longlonga,longlongb){if(b==0)returna;elsereturnEuclid(b,mod(a,b));}tripleExtended_Euclid(longlong
xiaofengsheng
·
2009-11-17 17:00
struct
青蛙的约会 P
1061
ACM Problem
青蛙的约会 Description 两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。它们很高兴地发现它们住在同一条纬度线上,于是它们约定各自朝西跳,直到碰面为止。可是它们出发之前忘记了一件很重要的事情,既没有问清楚对方的特征,也没有约定见面的具体位置。不过青蛙们都是很乐观的,它们觉得只要一直朝着某个方向跳下去,总能碰到对方的。但是除非这两只青蛙在同一时间跳到同一点上,不然
zhang_xzhi_xjtu
·
2009-09-30 15:00
青蛙的约会 acm 递归
PKU
1061
解题报告 青蛙的约会 __用扩展欧几里得解模同余方程
题目描述: 两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。它们很高兴地发现它们住在同一条纬度线上,于是它们约定各自朝西跳,直到碰面为止。可是它们出发之前忘记了一件很重要的事情,既没有问清楚对方的特征,也没有约定见面的具体位置。不过青蛙们都是很乐观的,它们觉得只要一直朝着某个方向跳下去,总能碰到对方的。但是除非这两只青蛙在同一时间跳到同一点上,不然是永远都不可能碰面的。为了帮助这两只
SwordHoly
·
2009-08-07 18:00
input
扩展
output
PKU
1061
解题报告 青蛙的约会 __用扩展欧几里得解模同余方程
题目描述: 两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。它们很高兴地发现它们住在同一条纬度线上,于是它们约定各自朝西跳,直到碰面为止。可是它们出发之前忘记了一件很重要的事情,既没有问清楚对方的特征,也没有约定见面的具体位置。不过青蛙们都是很乐观的,它们觉得只要一直朝着某个方向跳下去,总能碰到对方的。但是除非这两只青蛙在同一时间跳到同一点上,不然是永远都不可能碰面的。为了帮助这两只
SwordHoly
·
2009-08-07 18:00
input
扩展
output
FZU
1061
矩阵连乘
矩阵连乘TimeLimit:1sMemorylimit:32MAcceptedSubmit:260TotalSubmit:969给定n个矩阵{A1,A2,...,An},考察这n个矩阵的连乘积A1A2...An。由于矩阵乘法满足结合律,故计算矩阵的连乘积可以有许多不同的计算次序,这种计算次序可以用加括号的方式来确定。矩阵连乘积的计算次序与其计算量有密切关系。例如,考察计算3个矩阵{A1,A2,A3
akof1314
·
2009-08-02 20:00
struct
测试
存储
ini
任务
n2
广告真不少呀!
就像今天写得这个,竟然全是在“安全”频道这一个频道发现的,而且好像只需要轻轻点击其页面中的几个子分类链接就可以发现…… 广告页面地址: [url]http://netsecurity.51cto.com/col/
1061
IT昆仑
·
2009-04-27 22:18
职场
安全
广告
休闲
51cto
解题报告
解题报告poj:2115 扩展欧几里得egcd()1995 __int64范围求幂的和的mod变成求幂的mod的和的mod
1061
由ax-by=gcd(a,b)求出一组解x0,y0 d
蔡东赟
·
2009-03-29 12:00
杭电ACM
1061
Rightmost Digit
题目是这样的ProblemDescriptionGivenapositiveintegerN,youshouldoutputthemostrightdigitofN^N. InputTheinputcontainsseveraltestcases.ThefirstlineoftheinputisasingleintegerTwhichisthenumberoftestcases.Ttestca
surgent
·
2009-03-08 08:00
Integer
input
each
output
。。。一种看着电脑发呆的状态。。。。。。。累,没有一点思维。。。。停滞状态
今天,可能是白天做那个
1061
的题,做郁闷了,他么的算法太次,这块真的是欠缺很多知识,唉很多基础的东西都没学过,唉,补吧SG,一道小题搞不出来。。。对将感觉一丝....现存,感觉真TM太累了。。。
hgd250
·
2008-11-22 19:00
ZOJ
1061
Web Navigation
原始版本:#include #include #include using namespace std;void ClearStack(stack& s){//清空栈 while (!s.empty()) { s.pop(); }}int main(void){ string command,newURL; int n,cases,i; cin>>
phinecos
·
2008-10-28 11:00
Web
command
Pku
1061
青蛙的约会
Pku
1061
青蛙的约会#include __int64 result;__int64 gcd( __int64 a, __int64 b, __int64& x, __int64& y ){
算法学习
·
2008-10-24 23:00
上一页
15
16
17
18
19
20
21
22
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他