尤伦

115
15
Badges
8025
分数
2,621中的1 - 50

尤伦提交CommentSolution 1307481

感谢您的链接,David Verrelli。我似乎记得“删除”按钮确实在不太遥远的速度(几个月前)中起作用,但也许我正在错误地记录事情。但是,老实说,我不介意这个错误,因为我认为当已经收到答复时无法删除评论是一件好事。否则,评论的线程将变得不可读。只有当我的错误评论尚未收到任何答复时,“删除”按钮原来是非功能的,我才会遇到一个轻微的“ aaargghh!”时刻,因为“删除”按钮的存在产生了不同的期望。:-)但是我真的不介意将我的错误评论置于新的评论中,就像我上面一样。

2017年11月19日

尤伦提交CommentProblem 44364. Is this a valid Tic Tac Toe State?

@Jean-Marie Sainthillier: If we'd number the nine cells of the grid as [1,4,7; 2,5,8; 3,6,9], then a series of moves that would lead to x = [1,-1,-1; 0,1,-1; 1,0,1] without "insensible" moves for X (the commencing party) would be: X:5, O:7, X:3, O:8, X:9, O:4, X:1 ; in that case, X did not miss a win nor continue to play after a win.

2017年11月19日

尤伦提交CommentProblem 44403. Goldbach's marginal conjecture - Write integer as sum of three primes

嗨,大卫·维雷利(David Verelli)。非常感谢您对我的第一个创建问题的评论,我非常感谢。抱歉,没有尽快回复任何内容,但是几天前我的计算机崩溃了。感谢您发现测试套件中的缺陷和错误。一些测试确实缺少有效的解决方案三重态,我现在已经修复了它们。我还修复了测试9中的拼写错误,以及随机整数选择的问题。您的解决方案现在应该通过(我不知道会撤退会花费多长时间)!再次感谢您的反馈,非常感谢!

on 18 Nov 2017

尤伦提交Comment解决方案1138264

抱歉,我以前的评论中有一个小错误:我写了“直到第六次(=最后一次)”,但这应该是“直到第七(=最后一次)”。

2017年11月13日

尤伦提交Comment解决方案1138264

@David Verelli:我只是研究了它,最后弄清楚了它的作用。根据文档页面上的主要描述,当表达式z是“非exprenty,并且仅包含非零元素(逻辑或真实数字)”时,函数“如果z”(以及Z')进入条件块。换句话说,它不仅考虑了第一个元素,它实际上考虑了z的所有元素。当z包含零时,if-block被退出/忽略。在测试#6的情况下,它在这里工作的原因是,输入矩阵x =魔术(10)在整列上分布“足够均匀”,因此每个列包含至少一个大于63的元素,因此行矢量最大(x)不包含0,直到第六(=最后一个时间)x的元素被“ fix(x/2)”步骤减少。因此,它在这种特定情况下起作用,但是要使该解决方案通常在x为矩阵的每个情况下都可以使用,则必须将行更改为“如果max(x(:)),”。

2017年11月13日

尤伦提交CommentSolution 1328026

Thanks, Peng Liu! I would have expected that [] as an index of a cell variable would lead to an error, but apparently MATLAB accepts it and produces a comma-separated list of zero terms (which I now realize is apparently different from an empty matrix, otherwise it would have assigned "ans = [];"). Anyway, again, thanks for your comments, it really helped me understanding MATLAB better!

2017年11月12日

尤伦likedSolution 579855

2017年11月12日

尤伦已收到Sequences & Series III Master徽章

2017年11月12日

2,621中的1 - 50