yurenchu
117
117
Rank15
15
徽章8025
8025
Score
yurenchusubmitted解决方案1349348to问题44405. Back to basics: adding comments to your code on 24 Jun 2019 |
yurenchusubmitted a评论to解决方案1307481
Thanks for the link, David Verrelli. I seem to remember that the "Delete" button did work in the not-too-distant-past (a few months ago), but maybe I'm misremembering things. However, to be honest, I don't mind this bug as much because I think it's a good thing that a comment can't be deleted when it has already received replies; otherwise a thread of comments would become unreadable. It's only when an erroneous comment of mine hasn't received any replies yet and the "Delete" button turns out to be non-functional that I experience a slight "Aaargghh!" moment, because the presence of the "Delete" button created different expectations. :-) But I don't really mind leaving my erroneous comment up and correcting myself in a new comment, as I did above.
on 19 Nov 2017 |
yurenchusubmitted a评论to问题44364.这是有效的TIC TAC脚趾状态吗?
@Jean-Marie Sainthillier:如果我们将网格的九个单元格编号为[1,4,7;2,5,8;3,6,9],然后一系列将导致x = [1,-1,-1;0,1,-1;1,0,1]没有X的“无意义”动作(开始派对)是:X:5,O:7,X:3,O:8,X:9,O:9,O:4,X:1;在这种情况下,X并没有错过胜利,也没有在胜利后继续比赛。
on 19 Nov 2017 |
yurenchusubmittedSolution 1349367to问题2736. Pernicious Anniversary Problem on 19 Nov 2017 |
yurenchusubmittedSolution 1349366to问题44409.特定のがベクトルにれてかを确认する书こう书こう on 19 Nov 2017 |
yurenchusubmittedSolution 1349364to问题44408.ゼロでないが一番行をうう on 19 Nov 2017 |
yurenchusubmittedSolution 1349361to问题44404. 行列内の素数の平均をとろう on 19 Nov 2017 |
yurenchusubmittedSolution 1349360to问题44402. Horizontal matrix sort on 19 Nov 2017 |
yurenchusubmittedSolution 1349355to问题44402. Horizontal matrix sort on 19 Nov 2017 |
yurenchusubmitted a评论to问题44403.戈德巴赫的边缘猜想 - 将整数写为三个素数的总和
Hi David Verelli. Thanks a lot for your comments regarding my first created problem, I really appreciate it. Sorry for not replying any sooner, but my computer broke down a few days ago. Thanks for discovering the flaws and errors in the test suite. A few of the tests were indeed missing valid solution triplets, I've fixed them now. I've also fixed the spelling error in test #9 and a problem with the random integer selection. Your solution should pass now (I don't know how long rescoring will take)! Again, thanks a lot for your feedback, much appreciated!
2017年11月18日 |
yurenchureceivedCreator徽章问题44403.戈德巴赫的边缘猜想 - 将整数写为三个素数的总和 on 14 Nov 2017 |
yurenchusubmitted问题44403.戈德巴赫的边缘猜想 - 将整数写为三个素数的总和to社区 on 14 Nov 2017 |
yurenchusubmittedSolution 1339808to问题44401。垂直矩阵排序 on 13 Nov 2017 |
yurenchusubmittedSolution 1339800to问题44401。垂直矩阵排序 on 13 Nov 2017 |
yurenchusubmitted a评论toSolution 1138264
Sorry, there's a small error in my previous comment: I wrote "until the sixth (= last) time", but that should be "until the seventh (= last) time".
on 13 Nov 2017 |
yurenchusubmitted a评论toSolution 1138264
@David Verelli: I've just looked into it and finally figured out why it works. According to the main description on the documentation pages, the function 'if Z' (and also 'while Z') proceeds into the conditional block when expression Z is "nonempty and contains only nonzero elements (logical or real numeric)". In other words, it doesn't consider only the first element, it actually considers all elements of Z; and when Z contains a zero, the if-block is exited/ignored. The reason why it works here in the case of test #6, is that the input matrix x = magic(10) is distributed "evenly enough" across the columns, so that every column contains at least one element greater than 63, and hence the row vector max(x) doesn't contain a 0 until the sixth (= last) time that the elements of x are reduced by the "fix(x/2)" step. So it works in this specific case, but to make this solution work generally for every case where x is a matrix, the line must be changed into "if max(x(:)),".
on 13 Nov 2017 |
yurenchusubmitted a评论to解决方案1328026
谢谢,彭刘!我本来希望[]作为单元变量的索引会导致错误,但显然MATLAB接受它并产生零项的逗号分隔列表(我现在意识到这显然与空矩阵有所不同,否则会分配“ ans = [];”)。无论如何,再次感谢您的评论,这确实帮助我更好地理解了Matlab!
on 12 Nov 2017 |
yurenchusubmitted解决方案1336269to问题3003. Mobius function on 12 Nov 2017 |
on 12 Nov 2017 |
yurenchusubmitted解决方案1336260to问题3003. Mobius function on 12 Nov 2017 |
yurenchusubmitted解决方案1336259to问题3003. Mobius function on 12 Nov 2017 |
yurenchureceived序列和系列III大师badge on 12 Nov 2017 |
yurenchusubmitted解决方案1336239to问题3003. Mobius function on 12 Nov 2017 |
yurenchusubmitted解决方案1336217to问题3002.不是无平方的数字序列 on 12 Nov 2017 |
yurenchusubmitted解决方案1336214to问题3002.不是无平方的数字序列 on 12 Nov 2017 |
yurenchusubmittedSolution 1336193to问题3001.脾脏数序列 on 12 Nov 2017 |
yurenchusubmittedSolution 1336174to问题3012. Self-similarity 3 - Every other pair of terms on 12 Nov 2017 |
yurenchusubmitted解决方案1336156to问题3012. Self-similarity 3 - Every other pair of terms on 12 Nov 2017 |
yurenchusubmitted解决方案1336149to问题3012. Self-similarity 3 - Every other pair of terms on 12 Nov 2017 |
yurenchusubmitted解决方案1336139to问题3012. Self-similarity 3 - Every other pair of terms on 12 Nov 2017 |
yurenchusubmitted解决方案1336128to问题3012. Self-similarity 3 - Every other pair of terms on 12 Nov 2017 |
yurenchusubmitted解决方案1336109to问题3012. Self-similarity 3 - Every other pair of terms on 12 Nov 2017 |
yurenchusubmittedSolution 1336086to问题3010.自相似1-其他术语 on 12 Nov 2017 |
yurenchusubmittedSolution 1336067to问题3011. Self-similarity 2 - Every third term on 12 Nov 2017 |
yurenchusubmittedSolution 1336063to问题3011. Self-similarity 2 - Every third term on 12 Nov 2017 |
yurenchusubmitted解决方案1335962to问题3010.自相似1-其他术语 on 12 Nov 2017 |
yurenchusubmittedSolution 1334567to问题3069.模式识别2-已知的单位长度,各种阵列长度(包括单元格数) 2017年11月11日 |
yurenchusubmittedSolution 1334551to问题3068.模式识别1-已知的单位长度 2017年11月11日 |
yurenchusubmittedSolution 1334549to问题3068.模式识别1-已知的单位长度 2017年11月11日 |
yurenchusubmitted解决方案1334533to问题3016.双胞胎素数 2017年11月11日 |
yurenchusubmitted解决方案1334523to问题3016.双胞胎素数 2017年11月11日 |
yurenchusubmittedSolution 1334498to问题3016.双胞胎素数 2017年11月11日 |
yurenchusubmitted解决方案1334457to问题8047. Weighted Gold/Silver Standard 2017年11月11日 |
yurenchusubmittedSolution 1334448to问题8047. Weighted Gold/Silver Standard 2017年11月11日 |
yurenchusubmittedSolution 1334430to问题8047. Weighted Gold/Silver Standard on 10 Nov 2017 |