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
201803
-4 CSP认证 棋局评估 极大极小值搜索
(这应该是近几年最简单的第四题了吧,要是一直这样就好。)题目思路:裸的极大极小值搜索。dfs的时候先判断当前局面是不是有一方获胜,如果获胜那么就到叶子节点,直接返回结果,如果没有到叶子节点,要看是Alice要下(偶数层节点)还是Bob要下(奇数层节点)0层为第一层。如果偶数层返回儿子中的最大值,如果奇数层返回儿子中的最小值。#include#definelllonglongusingnamespa
我不管这题我就是不会做
·
2020-07-11 20:28
CCF
201803
-4棋局评估(博弈,极大极小值搜索,alpha_beta剪枝)
剪枝的情况#includeusingnamespacestd;constintmaxn=1e5+10;intN;inta[4][4];intalpha_beta(intturn,intalpha,intbeta);intcheck();intmain(){intalpha,beta;cin>>N;while(N--){for(inti=1;i>a[i][j];}}alpha=-100;beta=1
tshooting
·
2020-07-11 19:59
ccf
ccf
博弈
对抗搜索(学习了)
https://blog.csdn.net/weixin_39278265/article/details/80930233ccf能力认证(
201803
-4)问题描述试题编号:
201803
-4试题名称:
yyPurpose_forever
·
2020-07-11 15:50
搜索
CCF
201803
-4 棋局评估 极大极小搜索
题意:3X3的井字棋,1先走,2后走,给定一个状态。当前轮到1走,1,2都按照最优策略行棋,求最后的分数。#include#includeusingnamespacestd;constintINF=100;inta[10];intcheck(){intcnt=0;for(inti=1;i<=9;++i)if(!a[i])++cnt;for(inti=1;i<=3;++i)if(a[i]==1&&a
CoderCat.
·
2020-07-11 09:12
搜索
CCF
201803
-4棋局评估,对抗搜索,极大极小算法
先说说极大极小算法,是指给可能出现的所有状态赋予一个评估值,两个玩家通过计算不同下棋策略对应不同的评估值,来决定如何下棋。对于井字棋游戏来说,它的博弈树(各种走法组合形成的树)如下:Alice(MAX)下X,Bob(MIN)下O,直到到达了树的终止状态即一位棋手占领一行,一列、一对角线或所有方格都被填满。Utility指效用函数,定义游戏者在状态S下的数值。在这道题中,就是指:-对于Alice已经
alvin8787
·
2020-07-11 01:01
201803
-4棋局评估_极大极小值算法_对抗搜索(转载)
问题描述试题编号:
201803
-4试题名称:棋局评估时间限制:1.0s内存限制:256.0MB问题描述:问题描述Alice和Bob正在玩井字棋游戏。
姬小野
·
2020-07-10 19:50
弃用的分类:c++
图论
搜索
CCF
CCF2018092(C++)跳一跳 100分
问题描述试题编号:
201803
-1试题名称:跳一跳时间限制:1.0s内存限制:256.0MB问题描述:问题描述近来,跳一跳这款小游戏风靡全国,受到不少玩家的喜爱。
落叶无痕sd
·
2020-07-10 09:47
CCF真题
Ushio's每月书单
201803
这个月一共看了13本书,足以说明自己有多“闲”。除了快速翻阅了2本心理学教材之外也收获了不少其他的知识。值得庆祝的是最近终于把躺在书柜上好几年的《程序员的数学》给看完了,启发颇多,并且对数学重新产生了浓厚的兴趣,有趣的数学书还真是能够勾起与游戏一样的兴致。《一份不适合女人的工作》让我又收获到了一位英式推理的大家,细腻堪比纯文学的风格俘获了我的心。《无处不在的人格》、《小心,无良是一种病》、《行为心
喜欢唱歌的小狮子
·
2020-07-10 06:10
201803
-1(Python实现)
reList=list(map(int,input().split()))output=0count=0foreleinreList:ifele==2:count+=1else:count=0ifcount==0:ifele==1:output+=1else:output+=count*2print(output)
tmax
·
2020-07-08 23:13
如何通过Spring Boot配置动态数据源访问多个数据库
来源:https://www.2cto.com/kf/
201803
/730560.html下面以Mysql为例,先在本地建3个数据库用于测试。
修炼到救赎
·
2020-07-08 04:18
CCF认证历年试题解(python版本 + c语言版+c++版本)
试题编号试题名称最高得分试题链接备注201809-1卖菜100python201809-2买菜100python201809-3元素选择器201809-4再卖菜201809-5线性递推式
201803
-1
九天小牛
·
2020-07-05 07:12
python题解
CCF
CCF认证-
201803
-1-跳一跳-C语言代码实现(100分)
#includeintmain(){intn,flag=0,score=0,count=1;scanf("%d",&n);while(n!=0){if(n==1)flag=1;elseif(n==2&&(flag==1||count==1))flag=2;elseif(n==2&&flag%2==0)flag+=2;score+=flag;count++;scanf("%d",&n);}print
写bug战神
·
2020-07-05 07:04
初学算法
Tyger代课日志
201803
2018年2月28日,开学第三天,倒数第18次课教学步骤:目标:掌握45元音组合1.默写接力赛,一人一个组合。2.默写PK赛3.找出课本Unit5-6中的所有元音及组合正儿八经的第一次作业:根据课本单词制作元音闪卡10张默写PK赛,一人默写一个情感目标:英语单词不过如此,从战略上藐视单词。师生关系盘点:近距离走进了更多同学,特别注意到了一个杨同学。大多数同学追求快,杨同学追求好,值得肯定。Tyge
Tyger老师
·
2020-07-04 07:04
CCF CSP个人题解汇总
趁着这波考CCF热来骗一波访问量祝自己免修算法RP++区域赛RP++1、2题汇总在这:https://www.cnblogs.com/QAQorz/p/9650890.html
201803
-4棋局评估(
aoy29758
·
2020-07-01 17:23
2019-10-27第194天
每天抽点时间记录自己作息时间表2019.10.26(第194天星期六雨心情紧张)05:10~06:00清肠,洗衣服,洗漱、给大宝换衣服06:00~06:20更文06:20~07:20看试卷(201801-
201803
樱子姑娘
·
2020-06-30 22:38
转:云存储的核心技术之 虚拟化存储
转载:https://stor.51cto.com/art/
201803
/567094.htm导语虚拟化改变了计算机使用存储的方式。
orange-C
·
2020-06-29 15:00
CCF CSP 2018-3-1 跳一跳、2018-3-2 碰撞的小球(python实现)
2018-03-1跳一跳试题编号:
201803
-1试题名称:跳一跳时间限制:1.0s内存限制:256.0MB问题描述问题描述近来,跳一跳这款小游戏风靡全国,受到不少玩家的喜爱。
Anthony
·
2020-06-29 07:44
CCF
CSP考题
GitHub初体验——将项目代码保存到github仓库
201803
开启了github搬运工一路。记录了从0到1的过程:如何将自己学期初练习的第一个小项目搬运到github仓库。注:内容综合了几个版本+自己的内容,力求最全面的帮助像我一样的小白入门。
Daniel李_
·
2020-06-29 02:39
CCF刷题(一)
201803
-1跳一跳
问题描述试题编号:
201803
-1试题名称:跳一跳时间限制:1.0s内存限制:256.0MB问题描述:问题描述近来,跳一跳这款小游戏风靡全国,受到不少玩家的喜爱。
imissrc
·
2020-06-28 22:34
考试
ccf
201803
-1 跳一跳(Python实现)
一、原题问题描述试题编号:
201803
-1试题名称:跳一跳时间限制:1.0s内存限制:256.0MB问题描述:问题描述近来,跳一跳这款小游戏风靡全国,受到不少玩家的喜爱。
weixin_33910434
·
2020-06-28 07:53
CCF-CSP满分题解-python版
2019第一题2019-12-01报数2019-09-1小明种苹果2019-03-1小中大第二题2019-12-2回收站选址2018第一题201812-1小明上学201809-1卖菜
201803
-1跳一跳
Abby.R
·
2020-06-26 02:18
python
ccf-csp
CSP
201803
-2碰撞的小球 100分 0ms 408.0KB
试题编号:
201803
-2试题名称:碰撞的小球时间限制:1.0s内存限制:256.0MB问题描述:数轴上有一条长度为L(L为偶数)的线段,左端点在原点,右端点在坐标L处。
WM~hbu
·
2020-06-25 21:16
CSP试题
Android面试题整理(源自鸿洋大神公众号【
201803
】的一篇BAT面试题推送)
三月,想必各位程序员GG此刻想要的,莫过于一篇面试宝典。鄙人不才,也从未系统的刷过面试题,以鸿洋大哥一篇面试题为引,略加整理,希望能帮到各位不知道看什么小伙伴。(大部分知识都是有答案的).原文链接:[https://mp.weixin.qq.com/s/p3l9wr4DX976Lr62-dYe8w(只有题)]PS:其实在推送2天后就已经全部总结出来了,只是新的CSDN编辑器排版不会用,也没时间来整
唯爱丶卡卡西
·
2020-06-25 05:35
Android进阶
jquery插件集合之一
www.htmleaf.com/jQuery/Accordion/201612284289.htmljquery扁平风格的手风琴特效http://www.htmleaf.com/jQuery/Accordion/
201803
彤爱
·
2020-06-24 21:02
mysql数据库索引优化及注意事项,索引数据结构
blog.csdn.net/qq_37307063/article/details/70141679MySQL数据库几种常用的索引类型使用介绍https://www.2cto.com/database/
201803
m0_38140657
·
2020-06-24 12:49
mysql
mysql
优化
索引
从 SQL Server 到 MySQL (一):异构数据库迁移
201803
/migration-bird.png背景沪江成立于2001年,作为较早期的教育学习网站,当时技术选型范围并不大:Java的版本是1.2,C#尚未诞生,MySQL还没有被Sun收购,版本号是
alswl
·
2020-06-22 21:49
CSP/CCF计算机职业资格认证题目:[
201803
-1 跳一跳]【已解决】
/***问题描述近来,跳一跳这款小游戏风靡全国,受到不少玩家的喜爱。简化后的跳一跳规则如下:玩家每次从当前方块跳到下一个方块,如果没有跳到下一个方块上则游戏结束。如果跳到了方块上,但没有跳到方块的中心则获得1分;跳到方块中心时,若上一次的得分为1分或这是本局游戏的第一次跳跃则此次得分为2分,否则此次得分比上一次得分多两分即连续跳到方块中心时,总得分将+2,+4,+6,+8…)。现在给出一个人跳一跳
_干柿鬼鲛
·
2020-06-21 21:44
CSP/CCF
CCF
201803
-1python方法实现 跳一跳(100分)
问题描述近来,跳一跳这款小游戏风靡全国,受到不少玩家的喜爱。简化后的跳一跳规则如下:玩家每次从当前方块跳到下一个方块,如果没有跳到下一个方块上则游戏结束。如果跳到了方块上,但没有跳到方块的中心则获得1分;跳到方块中心时,若上一次的得分为1分或这是本局游戏的第一次跳跃则此次得分为2分,否则此次得分比上一次得分多两分(即连续跳到方块中心时,总得分将+2,+4,+6,+8...)。现在给出一个人跳一跳的
Boss_Xiao_Wang
·
2020-06-21 12:04
关于Linux运维常见故障排查和处理的33个技巧汇总
http://os.51cto.com/art/
201803
/567076.htm作为linux运维,多多少少会碰见这样那样的问题或故障,从中总结经验,查找问题,汇总并分析故障的原因,这是一个Linux
ArthurKingYs
·
2020-06-21 08:53
linux
201803
《脾虚的孩子爱感冒》读书笔记
#我为什么读这本书3月的读书主题是七个习惯与育儿相关的。挑选了李辛的书,是因为在推送文章里读过他对孩子健康的分析,其实已经是治疗与劝诫相辅相成,包含着正面管教的内容。然后在买书的时候,亚马逊又推荐了罗大伦的这本书,就一起读了。#关于作者罗大伦本身是医学博士出身,然后应该就是行医和医学科普一起在做。在2011年左右上了《百家讲坛》,然后又陆续的上节目,出书。#内容要点这本书呢,可以说针对的是为孩子身
香树维拉
·
2020-06-21 02:02
201803
-享受呼吸-另眼看帅哥——送给我年轻的女同事180308
201803
-享受呼吸-另眼看帅哥——送给我年轻的女同事180308缘起:春节前部门的年终聚会是组织看电影《无问西东》,然后务虚了一把电影里的帅哥们。
尔慷
·
2020-04-12 04:32
CCF 20180302 小球的碰撞
代码实现:#includeusingnamespacestd;/**
201803
-2碰撞的小球**输入样例13105468*输出样例1799*输入样例210223014
等一城烟雨
·
2020-04-12 00:00
201803
月总结
201803
月总结图片发自App此刻是2018.3.31晚上8:41,我在从坪洲回民乐的地铁上做月梳理~又是一个吃吃喝喝的周末~说真的还是很感谢我的小姐妹们让我即使一个人在这个城市里也能感受到满满的友情每次见面都吃吃喝喝逛逛吐槽吐槽把工作日工作的烦恼都一扫而空
简单在心
·
2020-04-08 03:55
201803
我的金沙子践行
第7天0325本周金沙子践行有好几次我开车等红绿灯时都不由自主拿起了手机,可会有一个声音温柔地提醒我:你不是说开车不看手机了吗?感谢主,看来是圣灵在与我同行每天早中晚三次处理微信没有做到,其实不止三次了,总担心会错过什么重要信息,这一点下周要再努力!一周看一次微信朋友圈,昨晚打开朋友圈通道,两分钟时间浏览,这样很好,平时没看真没有什么关系!!!第一天我来分享我的金沙子:关于手机管理昆明梅梅~男17
梅梅_MM
·
2020-03-31 02:17
201803
成语故事提纲:刀子嘴豆腐心
小猴贝贝什么事都想做好,可是什么事都做不好。他听写想要一百,可是只考六十。跆拳道过级想要优秀,可是成绩只有良。他想帮妈妈晾衣,可是衣服掉下去,掉到小溪里。做不好就做不好吧,下次再努力就行。小猴贝贝很乐观的。可是,每次妈妈一说话,小猴贝贝就乐观不起来,就会伤心。妈妈的嘴巴像刀子,总能把他的心割出一道一道口子,割得一下一下地疼。今天小猴贝贝主动写作文,这可是第一次,妈妈肯定会高兴。妈妈果然高兴。写好后
躲进小楼看灯火
·
2020-03-30 06:15
诗韵邳州
201803
“浅唱低吟”
目录1.春风的请柬(李法潮)2.姥姥的盆栽(时光稻子)3.又逢正月十五月儿圆(冯鹏)4.生日快乐(冰雨)5.春雨(李法潮)6.妈妈(李法潮)7.春声(冯鹏)8.春之夜(冯鹏)9.写给她的诗(岠山剑客)10.为你钟情(魏来)11.春声(李良甫)12.满地婆婆纳(岠山剑客)13.春之声(魏来)14.约(融雪)15.约(岠山剑客)16.春之声(骆驼)17.因为和你才有这么多的话(李良甫)18.春天的声音
岠山剑客
·
2020-03-11 06:16
201803
个人总结
好久没试过临近月底一两天才开始码个人总结,之前一般在第三周就开始回顾本月,然后沉淀几天,就开始写,定时在月底发送。而这个月如此紧迫,主要还是怪时间飞逝,不能怪自己懒散。哈哈哈。进入正题。01这个聚会应该去吗?两个标准即可判断以前有聚会,如果参与者是半生不熟或者根本不熟的人时,我都颇为纠结要不要去,想认识新朋友,却又担心彼此频道相差甚远。最近看到一篇关于女性社交的建议:去还是不去?判断标准很简单:或
隔着银河
·
2020-03-07 04:30
【2018.3.21】
http://m.cssn.cn/ddzg/ddzg_dfdt/
201803
/t20180320_3881286.htm读书感悟:《杀死一只知更鸟》—
初夏的夏lgq
·
2020-02-27 23:16
Spark Shell删除mysql主要测试用
java.sql.Connection=nullvarps:java.sql.PreparedStatement=nullvalsql="deletefrommodel_bin_resultwheremonth='
201803
HUAWEIMate20
·
2020-02-23 14:38
#Bullet Journal# 手帐
201803
三月主题依然参考萌主o(≧∇≦o),元宵节了,画上一点节日元素~em…我知道画的难看…图片发自AppWeek9下为啥要分上下?我忘记了…左页空了很久不知道画啥,4月看到禅绕画挺有意思,就试着画但画的不好…想买书来学,可能是禅绕画还比较小众,没找到教材,求推荐~图片发自AppWeek10都过了一周了才想好3月要画春天的元素,加上了枝条,配上树叶和小花~哦~本周三八节除了公司送的礼物,还自己去看了加拿
小語
·
2020-02-20 08:49
19讲 字典型数据学习
{键值对}>>>d={"201801":"小明","201802":"小红","
201803
":"小白"}>>>print(d["201802"])小红>>>d["201802"]="小绿">>>print
clccley
·
2020-02-19 16:29
读书月结
201803
这个月的计划完全变了,本来是准备主攻Antifragile,看了两天之后才知道原来这是三部曲中的最后一本。所以就从《随机漫步的傻瓜》开始看了。然后看了《黑天鹅》,暂时只看了一半。对于概率这个领域真没有思考过,这几本书和Beyondfeelings一样,让我有一种眼前一亮的感觉。前半个月的读书状态不好,我发现自己是要订好任务效率才会高的人。所以下个月还是先从订好计划开始。有声书听了Deliverin
哇620
·
2020-02-18 21:54
张宝凤最近书画作品
201803
3月份,是春暖花开的季节。在气象万千的日子里,创意思绪簇拥着我去开拓新的画域。同时两会的召开,新时代的主题旋律使我赞美中国大好河山的情绪高昂,创作了多幅唱响主旋律的作品,现展示给大家,请各位朋友斧正!图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片
凡鸟逸家
·
2020-02-18 04:18
月度检视03月-2018
【
201803
月度检视】没有反思的人生不值得过-苏格拉底3月,陪伴家人,沉淀自己,劳有所得❤【放个人相片】图片发自App【年度目标检视】1.坐飞机去北京爬长城2.存款2万3.阅读25本书4.易效能100
马净1887
·
2020-02-17 21:29
201803
(挖链网)89家A股上市公司区块链指数
2018-02-24重磅!挖链网发布2018中国区块链Top100强公司2018-03-22挖链网挖链独家|A股上市公司区块链指数重磅发布,深度分析A股“涉区”数据2018-03-22挖链独家|A股上市公司区块链指数重磅发布,深度分析A股“涉区”数据2017年末,作为首款基于区块链技术的成功应用-比特币,其价格暴涨成为全球焦点话题,相应地,资本市场凭借其敏锐的嗅觉纷纷布局了区块链这一新兴产业。作为
大圣2017
·
2020-02-13 23:58
无题
北京
201803
荒凉的街道,灰白的天空,风很大,车很多,步履艰辛。“嘟,嘟,嘟……”我站在北京六环某处的十字路口,听着斑马线红灯的倒计时,感觉到彻骨的孤独。“嘟!”
黄奕丁
·
2020-02-02 21:53
江城漫游之如何爱上一座城市(
201803
)
用脚步丈量到过的每一座城市,然后爱它~东湖。典型的城中湖,调节了气候,也润泽着心情。来此越冬的海鸥。户部巷的玉兰,在一片灰突突的老房子里,是一个惊喜。故人西辞黄鹤楼。比白天美得神秘。夕阳下的武汉长江大桥。虽然并不是第一次看到长江,仍然觉得很新鲜很喜欢。夜色里的武汉长江大桥。一条江将武汉分成了三个镇。江景。美而不自知……江边人很多,他们坐在堤上聊天、自拍,特别安逸,特别有情味。古德寺。混合了哥特式基
春天的李熊熊
·
2020-02-01 06:27
会“玩”才安全(
201803
)
图片发自App千呼万唤中,雪终于来了。不是鹅毛大雪,地面上也只有薄薄一层,可孩子们却惊喜万分。大清早,校园里就满是如小鸟般快乐的身影。一到课间,一股股小分队更是如流水般奔跑到操场上。摸摸树叶上的雪,捡起旗台上的雪,欣赏落在眼睫毛上的雪,团起雪球,扔给同学,2018年的第一场雪让校园充满了欢乐与笑声。图片发自App就在这美妙的演出里,出现了不和谐的声音:回教室去!摔倒怎么办?孩子们极不情愿,有的跟老
bj李晓萍
·
2020-01-04 21:58
思考工具——思维导图
书玉知识树思维导图主题(
201803
)一、导图优势让思考过程更加结构化,联结你的思考与行动。二、关键词1、放射状显化水平思考与垂直思考的结果。2、联结关系各信息点,关联新旧知识。
书玉2018
·
2020-01-01 07:49
2019-12-01
工作纪要时间:2019年11月30日星期六参加人员:Bruce1.准备并进行周六的课程(201932+
201803
+201916+星星火炬培训两场)8hrs2.安排周日的助教课问题30mins3.打扫卫生
BruceWangWithTL
·
2019-12-28 14:11
上一页
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
其他