Peter Cook

134
Rank
16
徽章
7250
Score
1 – 50 of 751

Peter Cookreceived测验主badge forSolution 3501169

on 1 Nov 2020

Peter CookreceivedProject Euler I Masterbadge

on 11 Sep 2018

Peter Cookreceived科迪5:Hard Masterbadge

on 31 Dec 2017

Peter Cooksubmitted a评论toProblem 44347. Ned's queens

This was a fun problem, but I think lookup table solutions are possible given the way the way the test suite is configured. Maybe you could add a string parser to see if the test suite correct solutions are included in the answer code?

2017年11月17日

Peter Cook喜欢问题44376.滑动难题:3D

2017年11月17日

Peter Cooksubmitted a评论to问题44377.启蒙的五个步骤

@alfonso Consider the problem statement as the Diophantine equations X+Y=S & X*Y=P ⇔ x^2-S*X+P = 0; (X,Y)∈ℤ. In some of the test cases the list of tuples degenerates to 2, I have noticed for these scenarios both of the tuples satisfy these Diophantine equations, yet the correct solutions is thrown as true when the sum of each tuple is unique and the product of the tuples is equal, and false when the product of the tuples is unique and the sum of each tuple is equal. Is this consistent with your problem statement/explanation above?

2017年11月15日

Peter Cooksubmitted a评论toProblem 44378. Five-dimensional maze

@alfonso。感谢您的提示,这让我走了一个工作解决方案。在MATLAB中运行的PY.NETWORKX库中,在非训练环境中,这一点要容易得多。

on 27 Oct 2017

Peter Cooksubmitted a评论toProblem 44378. Five-dimensional maze

对于测试案例5,迷宫(10)= 01111,应该是迷宫第一页的底墙。如果它的底墙不应该意味着第一个数字应该是1而不是零,因为我不能走出迷宫?在您的2d Cody问题中,这是隐含的,是在这里不是这种情况,或者我正在欺骗二进制编码。

on 27 Oct 2017

Peter Cookreceived科迪5:Easy Masterbadge

2017年10月25日

Peter Cooksubmitted a评论toProblem 44345. MATLAB Counter

For anyone needing a gentle refresher (like I did) on nested anonymous functions: //www.tianjin-qmedu.com/matlabcentral/cody/problems/24-function-iterator

2017年10月25日

1 – 50 of 751