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
201803
CSP
201803
-4棋局评估
问题描述Alice和Bob正在玩井字棋游戏。井字棋游戏的规则很简单:两人轮流往3*3的棋盘中放棋子,Alice放的是“X”,Bob放的是“O”,Alice执先。当同一种棋子占据一行、一列或一条对角线的三个格子时,游戏结束,该种棋子的持有者获胜。当棋盘被填满的时候,游戏结束,双方平手。Alice设计了一种对棋局评分的方法:-对于Alice已经获胜的局面,评估得分为(棋盘上的空格子数+1);-对于Bo
vdk
·
2019-12-27 21:00
CSP
201803
-4棋局评估
问题描述Alice和Bob正在玩井字棋游戏。井字棋游戏的规则很简单:两人轮流往3*3的棋盘中放棋子,Alice放的是“X”,Bob放的是“O”,Alice执先。当同一种棋子占据一行、一列或一条对角线的三个格子时,游戏结束,该种棋子的持有者获胜。当棋盘被填满的时候,游戏结束,双方平手。Alice设计了一种对棋局评分的方法:-对于Alice已经获胜的局面,评估得分为(棋盘上的空格子数+1);-对于Bo
vdk
·
2019-12-27 21:00
2019-11-29
妈妈这边我还在进行续费上的沟通3.5hrs2.解决周末新概念课程安排,已经安排完毕,2点-3点半1A,3点45-5点152A,需要和James妈妈沟通一下调课问题1hr3.准备周六的课程(201932+201916+
201803
BruceWangWithTL
·
2019-12-26 10:56
每周一图手机摄影丨聊赠春光
【
201803
沐滢
·
2019-12-24 09:45
书玉书单 思维导图(主题笔记要点复盘201708-
201803
)
一、写在前面1、写作目标。构建自有主题知识体系的过程产品;与同道人分享,获得反馈(如有),升级认知。2、采用快速阅读法,时间投入极少,未足额获取书中精华。仅记录各书对自我启发,鼓励阅读原著。3、书单排序为阅读的随机顺序记录。4、"**"为二读标识。二读书单源于极其功利读书法。基于本人目前阶段,无需精读。当某一时间阶段或某一场景发生时,提醒自己再次翻阅。二、主题书单(一)《别说你懂思维导图》案例详细
书玉2018
·
2019-12-24 08:18
201803
月检视
2018年3月回顾:1、听叶老师的时间管理,听到进阶五。2、学习宏亮老师的《好声音是这样练成的》,已听完。3、学习《青年好声音》练习普通话,学习第三个声母。4陪读绘本90,喜马拉雅录制30个绘本故事,每天陪读但没记录,绘本故事未录。5、晨间日记50篇,跑步50km。晨间日记每天都有坚持写,跑步改为健起已完成19公里。6、本人作息时间调整(晚10早6)7、孩子作息时间调整(晚10早7)8、精读两本书
芯施施妈妈
·
2019-12-15 18:37
201803
1,读书开始读英语,自己一定可以坚持100天,然后200天,再然后300天。2,丢了心爱钱包,身份证,银行卡,信用卡,驾驶证,特殊钱币,到最后还彻底丢了人。榆林米脂,冯学浩3,因为喝多了酒,赔了别人250元,觉得自己就是买傻逼250。4,两天没有做早操,一天因为喝多了,一天因为在派出所陪人(要想办法惩罚自己,在没有想到办法之前都先记着)5,看了《无问西东》,电影。觉得演的也挺好的。6,老同桌2月7
夜沐行者
·
2019-12-14 10:21
2019-11-24
目前为止还是没有合适学生可以和她们两个组一个班级B.与晚上试听的家长进行沟通,看看合适的话姐弟俩组一个一对二,他们的妈妈是我的朋友C.安排周日的新概念试听,将会于明天早上九点过来1hr2.进行周六的课程(201926+
201803
BruceWangWithTL
·
2019-11-29 11:30
201803
议题:关于职场
一.谁的青春不迷茫知道的并不多,会的也不多,选择有限,所以刚出来社会的时候就是能做什么就做什么,首先把自己的生存问题给解决了,首先,不能再问父母要钱了。这是我出来社会后一直坚守的原则,也算是给自己的压力。如今步入社会已经4年多了。当最基础的生存问题已经解决,我在想,我是否应该去个更大的舞台,把自己的满腔热血发挥出来,找到自己擅长且喜欢做的事情,然后一头扎进去。其实我特别羡慕那些早就找准方向的人儿,
玲夏ling
·
2019-11-04 14:24
99建筑索引 北京 - 1979
ChineseArchitectureMarking(Before1999)-Beijing-1979西苑医院http://blog.wenxuecity.com/myblog/38115/
201803
943cb46d38b0
·
2019-11-03 16:38
作业情况
19~27号组作业新闻链接:http://www.chinadaily.com.cn/a/
201803
/20/WS5ab09cefa3106e7dcc142bf3_1.html作业题目:Ifyouchooseamovietoseewhichoneyouwillchoose.Why
Prankster丶
·
2019-11-02 22:19
CCF
201803
-2碰撞的小球C++实现满分
思路小球的结构体:typedefstruct{intx;boolv;}Ball;x表示小球的位置,v表示小球的运动方向,true为向右,false为向左。该问题的核心是弄清楚小球每移动一步之后的位置以及方向何时改变,由此我们把问题分为两个小问题:1、小球的移动2、小球方向的改变为了记录小球的位置以便判断是否改变方向,我们定义一个数组dire[],初始化全为0,当有一个小球位于i位置时,dire[i
干戈~玉帛
·
2019-10-11 19:02
ccf csp 题目:碰撞的小球
试题编号:
201803
-2试题名称:碰撞的小球时间限制:1.0s内存限制:256.0MB问题描述:问题描述数轴上有一条长度为L(L为偶数)的线段,左端点在原点,右端点在坐标L处。
high five
·
2019-09-13 14:52
csp
CCF题目列表
4数据中心201812-3CIDR合并201812-2小明放学201812-1小明上学201809-1卖菜201809-2买菜201809-3元素选择器201809-4再卖菜201809-5线性递推式
201803
antRain
·
2019-09-12 20:43
python爬虫
ccf
python
bs4
CCF-
201803
-4-棋局评估
终于做了这道题,看网上说的是要用博弈论的人工智能的算法----对抗搜索,极大极小值算法。这个算法大概意思就是,定义一种得分情况,然后给每个局势定义一个得分,正数表示先手有利的,负数表示后手有利的,每次博弈,找最有利于自己的情况。对于先手来说,每次找所有可下棋位置的分值的最大值,后手就是最小值。这道题来说,深搜递归遍历所有出现的棋局,计算所有棋局的分值。复杂度为9!,不大,可以直接暴力搜索所有棋局。
AivenZ
·
2019-09-02 11:46
CCF
跳一跳
CSP----
201803
-1时间限制:1.0s内存限制:256.0MB问题描述:近来,跳一跳这款小游戏风靡全国,受到不少玩家的喜爱。
Aquamarine__
·
2019-09-02 11:01
CSP
C++
ValueError: Shape of passed values is (6, 3), indices imply (6, 6)
一般情况看看自己的创建dataframe是否有错误pdd_annual_transaction_value=pd.DataFrame([[pdd_201701_201712[0],pdd_201704_
201803
钢琴线与小刀
·
2019-08-22 13:07
python
pandas
python
数据处理
CCF
201803
-2 碰撞的小球
题目:问题描述数轴上有一条长度为L(L为偶数)的线段,左端点在原点,右端点在坐标L处。有n个不计体积的小球在线段上,开始时所有的小球都处在偶数坐标上,速度方向向右,速度大小为1单位长度每秒。当小球到达线段的端点(左端点或右端点)的时候,会立即向相反的方向移动,速度大小仍然为原来大小。当两个小球撞到一起的时候,两个小球会分别向与自己原来移动的方向相反的方向,以原来的速度大小继续移动。现在,告诉你线段
解家诚
·
2019-07-24 09:00
CCF
201803
-1 跳一跳
题目:问题描述近来,跳一跳这款小游戏风靡全国,受到不少玩家的喜爱。简化后的跳一跳规则如下:玩家每次从当前方块跳到下一个方块,如果没有跳到下一个方块上则游戏结束。如果跳到了方块上,但没有跳到方块的中心则获得1分;跳到方块中心时,若上一次的得分为1分或这是本局游戏的第一次跳跃则此次得分为2分,否则此次得分比上一次得分多两分(即连续跳到方块中心时,总得分将+2,+4,+6,+8...)。现在给出一个人跳
解家诚
·
2019-07-23 11:00
201803
-1
问题描述近来,跳一跳这款小游戏风靡全国,受到不少玩家的喜爱。简化后的跳一跳规则如下:玩家每次从当前方块跳到下一个方块,如果没有跳到下一个方块上则游戏结束。如果跳到了方块上,但没有跳到方块的中心则获得1分;跳到方块中心时,若上一次的得分为1分或这是本局游戏的第一次跳跃则此次得分为2分,否则此次得分比上一次得分多两分(即连续跳到方块中心时,总得分将+2,+4,+6,+8...)。现在给出一个人跳一跳的
TronyS
·
2019-07-04 21:55
csp刷题
CCF
201803
-4 棋局评估
解题思路首先分析,题目给出的是一个棋盘,让我们计算轮到1下时,当前局面的得分是多少。两人都以最优策略行棋。显然这是一个对抗搜索的问题,需要用到极大极小算法,由于数据量较小,不需要用到alpha-beta剪枝。构思设计算法。每一步都需要有一个判断是否已经结束的函数,和一个判断当前得分的函数,先设计好这两个基础函数,然后设计总的搜索算法。搜索。根据极大极小搜索算法不断深入,我们能判断出每一个终局的得分
lchaoer
·
2019-03-23 16:47
CCF
CSP历年真题
CCF CSP历年真题(2019年持续更新)
记录一下自己的刷题过程,限于个人水平,主要集中在第4题,为了方便读者以及自己及时复习,准备CCF考试,每个题目会附有简短的说明,指明该题类型题目分析201812-4数据中心最小生成树
201803
-4棋局评估对抗搜索
lchaoer
·
2019-03-23 11:46
CCF
CSP历年真题
CCF CSP 碰撞的小球 java python
201803
_2 100分
CCFCSP碰撞的小球javapython
201803
_2100分问题描述数轴上有一条长度为L(L为偶数)的线段,左端点在原点,右端点在坐标L处。
丿与你丿
·
2019-03-12 20:59
csp
CCF CSP
201803
-2 碰撞的小球 经验总结
问题描述试题编号:
201803
-2试题名称:碰撞的小球时间限制:1.0s内存限制:256.0MB问题描述:问题描述数轴上有一条长度为L(L为偶数)的线段,左端点在原点,右端点在坐标L处。
Superstarimage
·
2019-03-11 16:50
CCF
CSP
C++
CCF
201803
-3 URL映射
前言海岛老师写的真的好,感觉代码全篇没有一句废话,自己的代码能力还是太弱了,第一回交了只拿了30分,后来看了海岛老师的博客,更换了思路交了80分,最后完善后(自己的想法还是有漏洞),最终AC,强烈推荐看海岛老师的博客题解,在此发篇博客向海岛老师致敬,https://blog.csdn.net/tigerisland45/article/details/81697594收获感觉此次最大的收获竟然是—
三更半夜听相声
·
2019-02-24 17:59
字符串
CCF
CSP
CCF-CSP认证历年题目
2018.03第13次:CCF
201803
-1跳一跳(100分)【序列处理】CCF
201803
-2碰撞的小球(100分)【模拟】CCF
201803
-3URL映射(100分)【文本处理+暴力】2017.12
三更半夜听相声
·
2019-02-21 13:24
CCF
CSP
CCF
201803
-1 跳一跳 (python语言)
试题编号:
201803
-1试题名称:跳一跳时间限制:1.0s内存限制:256.0MB问题描述:问题描述近来,跳一跳这款小游戏风靡全国,受到不少玩家的喜爱。
SoftwareZhen
·
2019-01-23 13:29
CCF
ccf
python
Hadoop 集群安装Hive
参考:https://www.2cto.com/net/
201803
/731209.htmlHive简介概念Hive是一个数据仓库基础工具在Hadoop中用来处理结构化数据。
daoxu_hjl
·
2019-01-13 00:00
2018年终总结
四字形容就是惨不忍睹,因此也想在2019年之前把年终总结写好,2018的所有消极情绪止于此;六字总结:失去、成长、感恩工作:2018没有打破一年三份工作的魔咒,继承了2017的传统,一年跨越三家公司;1)201709—
201803
Captain_Li
·
2018-12-13 21:00
CSP认证 题目
201809-1卖菜代码链接201809-2买菜201809-3元素选择器201809-4再卖菜201809-5线性递推式
201803
-1跳一跳代码链接
201803
-2碰撞的小球
201803
-3URL映射
Gloming__zxy
·
2018-11-24 21:15
CSP
java9模块化demo
1.关于java9模块化的认识http://zhuanlan.51cto.com/art/
201803
/568615.htm2.demodemo的github地址https://github.com/zhangzhuo233
逐鹿之城
·
2018-10-31 21:47
Java
CCF刷题 第一天 跳一跳
从
201803
-1题目开始:问题描述近来,跳一跳这款小游戏风靡全国,受到不少玩家的喜爱。简化后的跳一跳规则如下:玩家每次从当前方块跳到下一个方块,如果没有跳到下一个方块上则游戏结束。
czjl6886
·
2018-10-28 11:13
CCF
CSP认证
201803
-3 URL映射
CSP认证
201803
-3URL映射链接:http://118.190.20.162/view.page?gpid=T71题意:从简条件下的URL映射URL映射URL映射模拟题。
Krone_
·
2018-10-22 19:27
模拟
CSP
CCF-CSP模拟试题
201803
-2 碰撞的小球 java
importjava.util.Scanner;publicclassMain{publicstaticvoidmain(String[]args){int[]pos=newint[100];inti=0,n,L,t;Scanners=newScanner(System.in);n=s.nextInt();L=s.nextInt();t=s.nextInt();for(i=0;i0){for(i=
LiuHuan_study
·
2018-09-21 18:55
CCFCSP
CCF Python题库
201803
-2碰撞的小球
问题描述试题编号:
201803
-2试题名称:碰撞的小球时间限制:1.0s内存限制:256.0MB问题描述:问题描述数轴上有一条长度为L(L为偶数)的线段,左端点在原点,右端点在坐标L处。
偷亲
·
2018-09-15 19:10
Python
python ccf 题解历年100分(2019/08/08更新)
分的代码编程中有不合理或改进的地方欢迎评论指出第一题pythonccf题解201903-1小中大pythonccf题解201812-1小明上学pythonccf题解201809-1卖菜pythonccf题解
201803
SL_logR
·
2018-09-15 11:09
python
ccf
PMP快速通过经验分享
参加了
201803
期PMP考试,并取得了5A的成绩。之前考完自己就写了一部分总结,最近不太忙就重新整理下发出来,希望对要考PMP的同学有所帮助。
kevinshengji
·
2018-09-13 16:15
CCF
201803
-2 碰撞的小球-Python版
问题描述数轴上有一条长度为L(L为偶数)的线段,左端点在原点,右端点在坐标L处。有n个不计体积的小球在线段上,开始时所有的小球都处在偶数坐标上,速度方向向右,速度大小为1单位长度每秒。当小球到达线段的端点(左端点或右端点)的时候,会立即向相反的方向移动,速度大小仍然为原来大小。当两个小球撞到一起的时候,两个小球会分别向与自己原来移动的方向相反的方向,以原来的速度大小继续移动。现在,告诉你线段的长度
dywforcoding
·
2018-09-12 15:34
CCF
Python
ccf csp考试
201803
-2碰撞的小球答案(python实现)
ccfcsp考试
201803
-2碰撞的小球答案(python实现)n,L,t=list(map(int,input().split()))positions=list(map(int,input().split
jack_zh_CN
·
2018-09-11 20:24
CCF
201803
-2 碰撞的小球
问题描述:试题编号:
201803
-2试题名称:碰撞的小球时间限制:1.0s内存限制:256.0MB问题描述:问题描述数轴上有一条长度为L(L为偶数)的线段,左端点在原点,右端点在坐标L处。
倏然希然_
·
2018-09-11 18:49
代码题目
CCF
CSP认证
CCF
201803
-3 URL映射(大模拟)
传送门:CCF
201803
-3URL映射做的第一道大模拟,代码一小时,debug四小时,很难受。
坤斤拷
·
2018-09-11 01:11
CCF
CSP认证题解
CCF
201803
-3 URL映射
参考:https://blog.csdn.net/wingrez/article/details/82320846问题描述试题编号:
201803
-3试题名称:URL映射时间限制:1.0s内存限制:256.0MB
倏然希然_
·
2018-09-10 21:17
代码题目
CCF
CSP认证
CCF CSP
201803
-4 棋局评估
#问题描述Alice和Bob正在玩井字棋游戏。井字棋游戏的规则很简单:两人轮流往3*3的棋盘中放棋子,Alice放的是“X”,Bob放的是“O”,Alice执先。当同一种棋子占据一行、一列或一条对角线的三个格子时,游戏结束,该种棋子的持有者获胜。当棋盘被填满的时候,游戏结束,双方平手。Alice设计了一种对棋局评分的方法:-对于Alice已经获胜的局面,评估得分为(棋盘上的空格子数+1);-对于B
IoT_fast
·
2018-09-09 11:23
CCF
CCF
201803
-4 棋局评估(DFS)
传送门:CCF
201803
-4棋局评估一道暴力搜索。由于两人都以最优策略行棋,故每当轮至1或2时,都对棋盘当前剩余的所有可走位置进行回溯dfs,以得出当前局面的最优结果。
坤斤拷
·
2018-09-08 15:34
CCF
CSP认证题解
深度学习模型的可视化技术总结
可视化技术总结关键字:Visualizingintermediateconvnetoutputs,DeepVisulizationToolslizhen星期四,06.九月
201803
:25下午修改---
修雨轩陈
·
2018-09-06 16:00
深度学习模型的可视化技术总结
可视化技术总结关键字:Visualizingintermediateconvnetoutputs,DeepVisulizationToolslizhen星期四,06.九月
201803
:25下午修改---
weixin_30590285
·
2018-09-06 16:00
python
matlab
人工智能
CCF
201803
-4-棋局评估 (对抗搜索)
原题地址:http://118.190.20.162/view.page?gpid=T70思路:具体参考博客然后这里因为是3*3的格子,所以情况不多,主要是用到了极小值极大值策略,如果数据再大,需要用到a-b剪枝。具体ac代码:#include#defineeps1e-8#defineINF0x3f3f3f3f#definePIacos(-1)#definelsonl,mid,rt<<1#defi
yiqzq
·
2018-09-05 00:44
ACM_搜索
【CCF-CSP】碰撞的小球
碰撞的小球试题编号:
201803
-2试题名称:碰撞的小球时间限制:1.0s内存限制:256.0MB问题描述:问题描述数轴上有一条长度为L(L为偶数)的线段,左端点在原点,右端点在坐标L处。
feng_zhiyu
·
2018-09-03 17:06
CCF-CSP
从CCF一道试题《碰撞的小球》看:面向过程与面向对象编程方式的差异
题目如下:试题编号:
201803
-2试题名称:碰撞的小球时间限制:1.0s内存限制:256.0MB问题描述:问题描述数轴上有一条长度为L(L为偶数)的线段,左端点在原点,右端点在坐标L处。
枯岭决
·
2018-08-31 22:11
学习资源积累
【ccf csp真题答案】20180302碰撞的小球
问题描述试题编号:
201803
-2试题名称:碰撞的小球时间限制:1.0s内存限制:256.0MB问题描述:问题描述数轴上有一条长度为L(L为偶数)的线段,左端点在原点,右端点在坐标L处。
cyw_qq1974029869
·
2018-08-24 17:01
上一页
1
2
3
4
5
6
下一页
按字母分类:
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
其他