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
SOJ
sicily 1153 马的周游问题
http://
soj
.me/1153
Dijason
·
2012-11-03 11:00
sicily 1762
题目:http://
soj
.me/1762这题其实只要想清楚就不难的了。就是按什么规则来选择哪两行或者哪两列直接是否该间隔。我的规则就是记录每两行或者两列有交谈的对数。
Dijason
·
2012-11-02 19:00
sicily 1639
题目链接:http://
soj
.me/1639 这是一道不算水题的水题! 因为你粗心了就是就不算水题,细心了简直就是超级水题。
Dijason
·
2012-11-01 16:00
智力题算法题
sicily1240http://www.
soj
.me/1240Youaregivenacarodometerwhichdisplaysthemilestraveledasaninteger.Theodometerhasadefect
sunmenggmail
·
2012-10-27 21:00
Android JNI技术介绍
调用顺序如下:java----->libxxx_jni.so----->libxxx.
soJ
ava在调用C/C++函数之前,需要加载JNI库,例如在SystemServer中System.loadLibrary
yangwen123
·
2012-10-18 15:00
java
android
server
jni
System
Android学习笔记--service部分
frameworks\base\services分三个目录,java,jni,tests三个目录jni目录下为用c实现的服务代码,所有的服务被编译成一个jni动态库,libandroid_servers.
soj
ava
Skypine_Lee
·
2012-10-13 17:00
java
android
server
String
jni
frameworks
b
soj
2238 【NOI2007】货币兑换 (DP+斜率优化+splay维护)
【NOI2007】货币兑换TimeLimit:10000MS MemoryLimit:65536KTotalSubmit:193Accepted:50 CaseTimeLimit:1000MSDescription InputOutputSampleInputSampleOutputHint Sourcexinyue题目:http://mail.bashu.cn:8080/bs_oj/showpr
fp_hzq
·
2012-10-11 11:00
c
优化
input
insert
output
联想
b
soj
2246 【NOI2005】维护数列(splay解法)
【NOI2005】维护数列TimeLimit:20000MS MemoryLimit:200000KTotalSubmit:274Accepted:90DescriptionInputOutputSampleInputSampleOutputHint Sourcexinyue题目:http://mail.bashu.cn:8080/bs_oj/showproblem?problem_id=22
fp_hzq
·
2012-10-10 16:00
优化
delete
input
Build
insert
output
b
soj
1482 【NOI2004】郁闷的出纳员(splay入门)
【NOI2004】郁闷的出纳员 TimeLimit:10000MS MemoryLimit:65536KTotalSubmit:466Accepted:178 CaseTimeLimit:2000MSDescriptionOIER公司是一家大型专业化软件公司,有着数以万计的员工。作为一名出纳员,我的任务之一便是统计每位员工的工资。这本来是一份不错的工作,但是令人郁闷的是,我们的老板反复无常,经常调
fp_hzq
·
2012-10-03 17:00
b
soj
1512 金明的预算方案(树型DP)
【NOIP2006提高】金明的预算方案 TimeLimit:10000MS MemoryLimit:65536KTotalSubmit:485Accepted:222 CaseTimeLimit:1000MSDescription金明今天很开心,家里购置的新房就要领钥匙了,新房里有一间金明自己专用的很宽敞的房间。更让他高兴的是,妈妈昨天对他说:“你的房间需要购买哪些物品,怎么布置,你说了算,只要不
fp_hzq
·
2012-09-26 14:00
C++
c
优化
input
output
b
soj
1660 选课(树形DP)
【模拟试题】选课 TimeLimit:10000MS MemoryLimit:65536KTotalSubmit:365Accepted:166 CaseTimeLimit:1000MSDescription在大学里每个学生,为了达到一定的学分,必须从很多课程里选择一些课程来学习,在课程里有些课程必须在某些课程之前学习,如高等数学总是在其它课程之前学习。现在有N门功课,每门课有个学分,每门课有一门
fp_hzq
·
2012-09-26 14:00
C++
c
优化
input
output
smart pointers - C++11, 15 of n
ThesmartpointersprovidedbyC++11isstraightforwardenough.
Soj
ustprovidingtheinterfacehereforreference.1)
CPP_CHEN
·
2012-09-24 15:00
C++
c
interface
Pointers
b
soj
2430 HNOI2008 玩具装箱(DP+斜率优化)
【HNOI2008】玩具装箱 TimeLimit:10000MS MemoryLimit:65536KTotalSubmit:288Accepted:132 CaseTimeLimit:1000MSDescriptionP教授要去看奥运,但是他舍不下他的玩具,于是他决定把所有的玩具运到北京。他使用自己的压缩器进行压缩,其可以将任意物品变成一堆,再放到一种特殊的一维容器中。P教授有编号为1...N的
fp_hzq
·
2012-09-17 18:00
SOJ
1822. Fight Club(区间DP)
连接:http://
soj
.me/1822#include #include #include
binwin20
·
2012-09-17 15:00
ini
b
soj
2684 锯木场选址(DP+斜率优化)
【模拟试题】锯木场选址TimeLimit:10000MS MemoryLimit:65536KTotalSubmit:464Accepted:153 CaseTimeLimit:1000MSDescription从山顶上到山底下沿着一条直线种植了n棵老树。当地的政府决定把他们砍下来。为了不浪费任何一棵木材,树被砍倒后要运送到锯木厂。 木材只能按照一个方向运输:朝山下运。山脚下有一个锯木厂。另外两个
fp_hzq
·
2012-09-17 15:00
优化
input
任务
output
Sicily 1721 Gray code[Special judge]
/* *url:http://
soj
.me/show_problem.php?
zone_programming
·
2012-08-28 16:00
String
url
int,float怎么保存在NSMutableArray,这样的COCOA对象里面
像NSArray,NSMutableArray这些集合类只能收集cocoa对象(N
SOj
bect对象),如果想保存一些原始的C数据(例如,int,float,double,BOOL等),则需要将这些原始的
zhangkongzhongyun
·
2012-08-24 15:00
c
cocoa
float
【
SOJ
-1865整数划分】优化
#defineN501 lld[N][N]; llq(lln,llm) { if((n0)d[i][j]+=d[i-j][j]; } } } lln; while(scanf("%lld",&n)==1&&n){ printf("%lld\n",d[n][n]); } return0; }
famousDT
·
2012-08-02 10:00
优化
【
SOJ
-2680】dollars变形
求一个数能被平方数组合的种数intmain() { lli,j; lld[1000]; for(i=1;i>n,n){ cout<<ans[n]<<endl; } return0; }如1010=4+4+1+1;10=9+110=1+1+…+110=4+1+1+…+1;所以答案是4一定记住,dollars第一个for循环是币值第二个for循环是各个币值能换多少钱的结果,切记
famousDT
·
2012-08-01 17:00
【
SOJ
-2652,2307-KMP】计算模式串在源串中的出现次数
源代码如下:charT[1000005]; charP[10005]; intnext[10005]; voidGet_Next(char*P) { intTLength=strlen(P); next[0]=-1; inti=0,j=-1; while(i
famousDT
·
2012-08-01 16:00
数据结构
企业实施单元测试现状调查(浙江大学管理学院 李云)
http://www.
soj
ump.com/jq/1423894.aspx
cheny_com
·
2012-07-31 10:00
单元测试
soj
3690 Keywords Search AC自动机
这道是个典型的AC自动机。在trie的基础上添加fail指针,指向类似于KMP的next处。大意是求一段文字中出现过多少某字典的词。主要用于多串匹配。 #include #include #include #include using namespace std; #define show(array,n) for( i = 0 ;
bin314
·
2012-07-30 23:59
C++
AC自动机
soj
3690 Keywords Search AC自动机
这道是个典型的AC自动机。在trie的基础上添加fail指针,指向类似于KMP的next处。大意是求一段文字中出现过多少某字典的词。主要用于多串匹配。#include #include #include #include using namespace std; #define show(array,n) for( i = 0 ; i next[str[i]-'a'] == NULL
bin314
·
2012-07-30 23:59
c++
AC自动机
soj
soj
2829binary strings 广搜
链接:http://cstest.scu.edu.cn/
soj
/problem.action?
bin314
·
2012-07-30 23:50
搜索
soj
soj
soj
2829binary strings 广搜
链接:http://cstest.scu.edu.cn/
soj
/problem.action?
bin314
·
2012-07-30 23:50
搜索
soj
Job Interview Preparation Tips
educationalqualifications,priorexperiencesandpersonalitysuitthejob.Justasthesethingsarejudged,therecruitersal
soj
udgethecandidat
anathames
·
2012-07-30 18:00
jobs
resumes
interview
career
Job Interview Preparation Tips
educationalqualifications,priorexperiencesandpersonalitysuitthejob.Justasthesethingsarejudged,therecruitersal
soj
udgethecandidatefor
anathames
·
2012-07-30 18:00
interview
jobs
career
resumes
Job Interview Preparation Tips
educationalqualifications,priorexperiencesandpersonalitysuitthejob.Justasthesethingsarejudged,therecruitersal
soj
udgethecandidat
anathames
·
2012-07-30 18:00
jobs
resumes
interview
career
算法学习【17】—— 1193. Up the Stairs
题目来源: http://
soj
.me/11931193.UptheStairsConstraintsTimeLimit:1secs,MemoryLimit:32MBDescriptionJohnismovingtothepenthouseofatallsky-scraper.Hepackedallhisstuffinboxesanddrovethemtotheentranceofthebuild
BetaBin
·
2012-07-26 12:00
算法学习【16】—— 1119. Factstone Benchmark
题目来源:http://
soj
.me/11191119.FactstoneBenchmarkConstraintsTimeLimit:1secs,MemoryLimit:32MBDescriptionAmtelhasannouncedthatitwillreleasea128
BetaBin
·
2012-07-26 11:00
算法
Date
Integer
input
each
output
算法学习【15】—— 1176. Two Ends
题目来源:http://
soj
.me/11761176.TwoEndsConstraintsTimeLimit:1secs,MemoryLimit:64MBDescriptionInthetwo-playergame"TwoEnds
BetaBin
·
2012-07-25 22:00
算法
Integer
input
each
output
Numbers
算法学习【14】—— 1190. Reduced ID Numbers
题目来源:http://
soj
.me/11901190.ReducedIDNumbersConstraintsTimeLimit:2secs,MemoryLimit:32MBDescriptionT.ChurteachesvariousgroupsofstudentsatuniversityU.EveryU-studenthasauniqueStudentIdentificationNumber
BetaBin
·
2012-07-25 18:00
算法
Integer
input
each
output
Numbers
Sicily、uva、pc部分题目分类
ClassifiedProblemsonOnlineJudge练习题选自以下在线测评系统 *sicily:http://
soj
.me,中山大学Sicily在线测评系统 *UVAOnlineJudge
cs_zlg
·
2012-07-24 08:00
数据结构
tree
search
dependencies
sorting
Numbers
Sicily、uva、pc部分题目分类
ClassifiedProblemsonOnlineJudge练习题选自以下在线测评系统*sicily:http://
soj
.me,中山大学Sicily在线测评系统*UVAOnlineJudge,题号前缀为
weixin_34306593
·
2012-07-24 08:00
数据结构与算法
人工智能
postman
SOJ
-3305(斯德哥尔摩数)
【题目描述】求第k个二进制表示1的个数为偶数的数【解题思路】要么是2*k要么是2*k+1
famousDT
·
2012-07-23 17:00
Unity3D 一个设置方向键移动和空格起跳的脚本
///Ital
soj
umpswhenpressingspace.///Makesuretoattachacharactercontrollertothesamegameobject.
janpylx
·
2012-07-21 16:13
Unity3D
Unity3D 一个设置方向键移动和空格起跳的脚本
///Ital
soj
umpswhenpressingspace. ///Makesuretoattachacharactercontrollertothesamegameobject.
janpylx
·
2012-07-21 16:00
vector
脚本
文档
character
float
SOJ
2325:Word Transformation _floyd
Acommonwordpuzzlefoundinmanynewspapersandmagazinesisthewordtransformation.Bytakingastartingwordandsuccessivelyalteringasinglelettertomakeanewword,onecanbuildasequenceofwordswhichchangestheoriginalword
duanxian0621
·
2012-07-19 09:00
一些解决方案和实用的工具
安排活动/会议,notGoogledooles,性能有点慢2、免费在线调查工具——调查派http://www.diaochapai.com/3、问卷星——全球最大的免费问卷调查平台http://www.
soj
ump.com
peachpi
·
2012-07-17 16:00
测试
活动
Google
工具
visio
soj
4150
题目网址如下:http://cstest.scu.edu.cn/
soj
/problem.action?id=4150最长递增子序列的变种。
bin314
·
2012-07-15 20:12
C++
ACM
soj
noip
soj
4150
题目网址如下:http://cstest.scu.edu.cn/
soj
/problem.action?id=4150最长递增子序列的变种。
bin314
·
2012-07-15 20:12
c++
acm
noip
soj
SOJ
-3330(bfs)
111011000000求所有0到1的最短距离structmy { intx,y,z; }wo; intd[1001][1001]; inttag[1001][1001]; intmain() { intcases,a,b; scanf("%d",&cases); while(cases--){ scanf("%d%d",&a,&b); inti,j; memset(tag,0,sizeof(ta
famousDT
·
2012-07-10 17:00
struct
SOJ
-3450(一个数的约数有哪些,需要列举)
【解析】分成两段intmain() { intn; while(scanf("%d",&n)==1){ inti,end=sqrt(n*1.0)+1; intans[10005],index=0; intflag=-1; for(i=1;i=0;--i){ if(flag!=-1&&flag>ans[i]) printf("%d\n",ans[i]); } printf("\n"); } retu
famousDT
·
2012-07-10 17:00
*planchas ghd baratas
Sr.Bloomlevantódosdedosdudosoasuslabios.Su
soj
osdijeron.
Charlesarmander
·
2012-06-19 17:00
Collection
Midnight
españa
ghd
C++课程教学改革问卷调查
同学们今天晚上务必完成这份问卷,问卷的链接http://www.
soj
ump.com/jq/1641518.aspx
xgcfxl2011
·
2012-06-04 18:00
C++
问卷调查
SOJ
-1748(求约数个数)
inti,j; for(i=1;i<=1000;++i){ d[i*i]++; for(j=i+1;j*i<=1000000;++j) d[i*j]+=2; }
famousDT
·
2012-06-04 11:00
soj
1001. Alphacode
这题感觉出得不错,中大的确靠谱啊有木有!问题:给出由0-9组成的序列,而1-26对应的是a-z。求出decode的种数!思路:dp。1、如果一段序列中出现了0,>3的数,明显,这些数是不能和后面的数组合的,所以应该将之分开。分成类似11111111这样的段,1122,2211,这些也类似!(有点难表述)。于是这样的段的情况数可分为两种情况,到n位时,(1)s[n] 独立算一个字母,这样的情况总数是
xxx_bug
·
2012-05-28 21:00
soj
2714
soj
1678的字符界面版本。通过计算空格从底向上推即可。
bin314
·
2012-05-27 22:59
c++
算法
soj
soj
soj
2714
soj
1678的字符界面版本。通过计算空格从底向上推即可。
bin314
·
2012-05-27 22:59
C++
算法
soj
soj
1678解题报告
昨天没事干,本来切了2道水题,可以oj又挂了就没交上。今天交WA了一次,因为一个参数写错了==简单总结一下。题目大意:抽象出如下序列:1,1、1,2,1、1、1,1、2,3....第i串序列要么其和比前面的长,要么字典序比前面的大。序列和显然从1,2,3,……,n。序列长度为i时,其个数有f[i]=f[i-1]+f[i-2]+...+f[1]+f[0];最左边为1的为f[i-1]个,最左边为2的为
bin314
·
2012-05-26 21:13
c++
计数
soj
soj
上一页
23
24
25
26
27
28
29
30
下一页
按字母分类:
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
其他