ICode9

精准搜索请尝试: 精确搜索
  • Codeforces Round #597 (Div. 2) E Hyakugoku and Ladders(概率DP)2020-02-04 17:05:42

    题目链接:https://codeforces.com/contest/1245/problem/E   题目大意:   一个10*10矩阵,左下角起点,左上角终点,按照S型前进,每次通过扔骰子确定行走步数,1~6概率相同,到最后只剩1~6的时候只能正好扔到所需点数才能到达。同时如果遇到梯子的话可以沿着梯子爬上去,问到达终点的期

  • CF1245E:Hyakugoku and Ladders2019-11-08 23:53:39

    CF1245E:Hyakugoku and Ladders 题意描述: 给你一个\(10*10\)的矩阵,矩阵描述如下 最开始的时候你在左下角,你的目标是到达左上角。 你可以走路径或者爬梯子。 路径的定义: 如果当前在一行的最右边,你可以网上爬一格。 如果在行内其他位置,你可以往旁边走。 每一回合你都要掷一个六面

  • Codeforces Round #597 (Div. 2) E. Hyakugoku and Ladders 概率dp2019-11-03 17:51:14

    E. Hyakugoku and Ladders Hyakugoku has just retired from being the resident deity of the South Black Snail Temple in order to pursue her dream of becoming a cartoonist. She spent six months in that temple just playing "Cat's Cradle" so now

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有