尤伦
115
115
秩15
15
Badges8025
8025
分数
尤伦提交Solution 1349348至问题44405.返回基础:向您的代码添加评论 2019年6月24日 |
感谢您的链接,David Verrelli。我似乎记得“删除”按钮确实在不太遥远的速度(几个月前)中起作用,但也许我正在错误地记录事情。但是,老实说,我不介意这个错误,因为我认为当已经收到答复时无法删除评论是一件好事。否则,评论的线程将变得不可读。只有当我的错误评论尚未收到任何答复时,“删除”按钮原来是非功能的,我才会遇到一个轻微的“ aaargghh!”时刻,因为“删除”按钮的存在产生了不同的期望。:-)但是我真的不介意将我的错误评论置于新的评论中,就像我上面一样。
2017年11月19日 |
尤伦提交Comment至Problem 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日 |
尤伦提交解决方案1349367至问题2736.有害周年纪念问题 2017年11月19日 |
尤伦提交解决方案1349366至Problem 44409. 特定の値がベクトル内に含まれているかを確認するコードを書こう 2017年11月19日 |
尤伦提交解决方案1349364至Problem 44408. ゼロでない要素が一番多い行を探そう 2017年11月19日 |
尤伦提交解决方案1349361至问题44404.行列内素数平均をうう 2017年11月19日 |
尤伦提交解决方案1349360至问题44402.水平矩阵排序 2017年11月19日 |
尤伦提交解决方案1349355至问题44402.水平矩阵排序 2017年11月19日 |
尤伦提交Comment至Problem 44403. Goldbach's marginal conjecture - Write integer as sum of three primes
嗨,大卫·维雷利(David Verelli)。非常感谢您对我的第一个创建问题的评论,我非常感谢。抱歉,没有尽快回复任何内容,但是几天前我的计算机崩溃了。感谢您发现测试套件中的缺陷和错误。一些测试确实缺少有效的解决方案三重态,我现在已经修复了它们。我还修复了测试9中的拼写错误,以及随机整数选择的问题。您的解决方案现在应该通过(我不知道会撤退会花费多长时间)!再次感谢您的反馈,非常感谢!
on 18 Nov 2017 |
尤伦提交解决方案1339808至Problem 44401. Vertical matrix sort 2017年11月13日 |
尤伦提交解决方案1339800至Problem 44401. Vertical matrix sort 2017年11月13日 |
|
@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日 |
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日 |
尤伦提交Solution 1336269至问题3003. Mobius功能 2017年11月12日 |
尤伦likedSolution 579855 2017年11月12日 |
尤伦提交Solution 1336260至问题3003. Mobius功能 2017年11月12日 |
尤伦提交Solution 1336259至问题3003. Mobius功能 2017年11月12日 |
尤伦已收到Sequences & Series III Master徽章 2017年11月12日 |
尤伦提交Solution 1336239至问题3003. Mobius功能 2017年11月12日 |
尤伦提交解决方案1336193至Problem 3001. Sphenic number sequence 2017年11月12日 |
尤伦提交解决方案1336174至问题3012.自相似3-其他所有术语 2017年11月12日 |
尤伦提交Solution 1336156至问题3012.自相似3-其他所有术语 2017年11月12日 |
尤伦提交Solution 1336149至问题3012.自相似3-其他所有术语 2017年11月12日 |
尤伦提交Solution 1336139至问题3012.自相似3-其他所有术语 2017年11月12日 |
尤伦提交Solution 1336128至问题3012.自相似3-其他所有术语 2017年11月12日 |
尤伦提交Solution 1336109至问题3012.自相似3-其他所有术语 2017年11月12日 |
尤伦提交解决方案1336067至问题3011.自相似2-每三学期 2017年11月12日 |
尤伦提交解决方案1336063至问题3011.自相似2-每三学期 2017年11月12日 |
尤伦提交Solution 1334619至问题3070.模式识别3-可变单元和阵列长度(包括单元格数) on 11 Nov 2017 |
尤伦提交Solution 1334615至问题3070.模式识别3-可变单元和阵列长度(包括单元格数) on 11 Nov 2017 |
尤伦提交Solution 1334614至问题3070.模式识别3-可变单元和阵列长度(包括单元格数) on 11 Nov 2017 |
尤伦提交Solution 1334610至问题3070.模式识别3-可变单元和阵列长度(包括单元格数) on 11 Nov 2017 |
尤伦提交解决方案1334599至问题3070.模式识别3-可变单元和阵列长度(包括单元格数) on 11 Nov 2017 |
尤伦提交解决方案1334551至Problem 3068. Pattern Recognition 1 - Known Unit Length on 11 Nov 2017 |
尤伦提交解决方案1334549至Problem 3068. Pattern Recognition 1 - Known Unit Length on 11 Nov 2017 |
尤伦提交Solution 1334533至Problem 3016. Twin Primes on 11 Nov 2017 |
尤伦提交Solution 1334523至Problem 3016. Twin Primes on 11 Nov 2017 |
尤伦提交解决方案1334498至Problem 3016. Twin Primes on 11 Nov 2017 |
尤伦提交Solution 1334457至问题8047.加权金/银标准 on 11 Nov 2017 |
尤伦提交解决方案1334448至问题8047.加权金/银标准 on 11 Nov 2017 |
尤伦提交解决方案1334430至问题8047.加权金/银标准 2017年11月10日 |