码迷,mamicode.com
首页 >  
搜索关键字:frog    ( 269个结果
每日随笔
我以前也考虑过这个问题,结果发现是个道德困境,这里有四种情况 1、小孩想出生+我生小孩 2、小孩想出生+我不生小孩 3、小孩不想出生+我生小孩 4、小孩不想出生+我不生小孩 其中1、4没有问题,2中不生小孩是我的权利,不应当被小孩所强迫,所以我也没错,只有3中我强迫小孩出生是不道德的。 在我不知道小 ...
分类:其他好文   时间:2021-06-04 18:54:18    阅读次数:0
【每日一题】403. 青蛙过河
https://leetcode-cn.com/problems/frog-jump/ 思路: 待补充 class Solution { private Boolean[][] rec; public boolean canCross(int[] stones) { int n = stones.l ...
分类:其他好文   时间:2021-04-30 12:33:41    阅读次数:0
Amazon EKS 与 JFrog Artifactory容器化CI/CD发布的最佳实践
报名链接:https://amazonaws-china.com/cn/about-aws/events/0628-eks-container/?trkCampaign=0628-eks-container&trk=Jfrog
分类:其他好文   时间:2020-06-24 10:28:31    阅读次数:63
Codeforces Round #521 (Div. 3) + DP
Codeforces链接: "https://codeforces.com/contest/1077" @[toc] A. Frog Jumping (签到) 题意 :一开始有一只青蛙在 $0$ 号位置,然后它有 $k$ 次跳跃的机会,奇数次是向右跳,偶数次是向左跳。 B. Disturbed Pe ...
分类:其他好文   时间:2020-04-25 18:55:56    阅读次数:76
B - Frogger POJ - 2253
Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone. He plans to visit her, but ...
分类:其他好文   时间:2020-03-31 01:24:28    阅读次数:79
codeforces 1324 C. Frog Jumps(贪心/二分)
There is a frog staying to the left of the string s=s1s2…sns=s1s2…sn consisting of nn characters (to be more precise, the frog initially stays at the ...
分类:其他好文   时间:2020-03-29 01:06:51    阅读次数:86
CF1324C Frog Jumps 题解
"原题链接" 简要题意: 现在河面上有 $n+2$ 块石头,编号 $0$ 到 $n+1$,$1$~$n$ 块石头每块上有一个方向,如果是 $L$,那么青蛙到这块石头上之后只能往左跳,如果是 $R$ 只能往右,当然,第 $0$ 块石头的方向是 $R$. 现在青蛙要从 $0$ 跳到 $n+1$,请问他应 ...
分类:其他好文   时间:2020-03-23 10:01:40    阅读次数:88
C - Frog Jumps
There is a frog staying to the left of the string s=s1s2…sns=s1s2…sn consisting of nn characters (to be more precise, the frog initially stays at the ...
分类:其他好文   时间:2020-03-14 23:29:12    阅读次数:56
POJ2253 Frogger
Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone. He plans to visit her, but ...
分类:其他好文   时间:2020-02-15 00:13:57    阅读次数:103
SDNU_ACM_ICPC_2020_Winter_Practice_4th
H - Triangle Mr. Frog has n sticks, whose lengths are 1,2, 3??n respectively. Wallice is a bad man, so he does not want Mr. Frog to form a triangle wi ...
分类:Windows程序   时间:2020-02-03 22:09:10    阅读次数:89
269条   1 2 3 4 ... 27 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!