我以前也考虑过这个问题,结果发现是个道德困境,这里有四种情况 1、小孩想出生+我生小孩 2、小孩想出生+我不生小孩 3、小孩不想出生+我生小孩 4、小孩不想出生+我不生小孩 其中1、4没有问题,2中不生小孩是我的权利,不应当被小孩所强迫,所以我也没错,只有3中我强迫小孩出生是不道德的。 在我不知道小 ...
分类:
其他好文 时间:
2021-06-04 18:54:18
阅读次数:
0
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
报名链接: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链接: "https://codeforces.com/contest/1077" @[toc] A. Frog Jumping (签到) 题意 :一开始有一只青蛙在 $0$ 号位置,然后它有 $k$ 次跳跃的机会,奇数次是向右跳,偶数次是向左跳。 B. Disturbed Pe ...
分类:
其他好文 时间:
2020-04-25 18:55:56
阅读次数:
76
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
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
"原题链接" 简要题意: 现在河面上有 $n+2$ 块石头,编号 $0$ 到 $n+1$,$1$~$n$ 块石头每块上有一个方向,如果是 $L$,那么青蛙到这块石头上之后只能往左跳,如果是 $R$ 只能往右,当然,第 $0$ 块石头的方向是 $R$. 现在青蛙要从 $0$ 跳到 $n+1$,请问他应 ...
分类:
其他好文 时间:
2020-03-23 10:01:40
阅读次数:
88
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
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
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 ...