登录 | 首页 -> 华新鲜事 -> 求学狮城 | 切换到:传统版 / sForum | 树形列表
有没有高手会做Exercise 2啊?(cs1102)
<<始页  [1]  末页>> 

有没有高手会做Exercise 2啊?(cs1102)一定有的啦,:)
Lotto和Alian Language该怎么做啊?
我做LOTTO,前6个case通过,后4个wrong answer...
[紫羊 (2-16 20:42, Long long ago)] [ 传统版 | sForum ][登录后回复]1楼

[HINTS]Lotto and Alien Language1> Lotto is similar with Lab 2A Problem 1 and 2. The only difference is that you have to generate the permutations in Lotto, while maybe not necessary int Lab 2A. (Is this a hint for lab 2A? hehe)

2> Alien Language is mainly a small language parser. Main idea is recursion.
[不告诉你 (2-16 21:28, Long long ago)] [ 传统版 | sForum ][登录后回复]2楼

(引用 不告诉你:[HINTS]Lotto and Alien Language1> Lotto is similar with Lab 2A Problem 1 and 2. The only difference is that you have to generate...)具体点啊。。。[紫羊 (2-16 22:39, Long long ago)] [ 传统版 | sForum ][登录后回复]3楼

Brute force?可参考 IVLE forum 里所建议用六个 for loops ... ^_^[冰月 (2-16 23:38, Long long ago)] [ 传统版 | sForum ][登录后回复]4楼


<<始页  [1]  末页>> 
登录 | 首页 -> 华新鲜事 -> 求学狮城 | [刷新本页] | 切换到:传统版 / sForum