Jon Agustsson

6693
排名
4
徽章
540
分数
1 - 50 / 74

Jon Agustsson收到了著名的徽章解决方案103476

2016年12月7日

Jon Agustsson提交了一份评论解决方案133859

有趣的是,这个feval(@eval, '[~, ans] = max(x==y);')的大小比这个[~,ans] = max(x==y)小;

2012年9月6日

Jon Agustsson提交了一份评论解决方案4286

奇怪,我不能删除我的第一条评论。我想把它格式化得更好一点:)

2012年7月6日

Jon Agustsson收到了评论者徽章解决方案4286

2012年7月6日

Jon Agustsson提交了一份评论解决方案4286

确实不错。我很惊讶,用递归函数解决这个问题比while循环更有效。这个解决方案的大小为43:while n(end) > 1 n = [n mod(n(end),2)*(n(end)*2.5+1) + n(end)/2];循环开销大于递归开销吗?还是弱点必须在每次迭代中到达n(结束)?

2012年7月6日

1 - 50 / 74