Tuesday, January 20, 2009

stupidty just come with everything else.

Tutorial Allocation Results

Dear TAN ZHENXIU,

You have been successfully allocated the following discussion group/tutorial/laboratory classes in this round of exercise:

CS1102X TUTORIAL 7
CS1231 TUTORIAL 13
CS2100 LABORATORY 11
CS2100 TUTORIAL 10

The following classes are not allocated to you due to the following reasons:

CS1102X LABORATORY 2 (No more vacancy in class)
CS2250 TUTORIAL 2 (No more vacancy in class)
CS2250 TUTORIAL 3 (No more vacancy in class)


Wee~~

I got 4 out of my 6 first choices for the different labs/tutorials I'm supposed to ballot for!(which means rank 1 to rank 4 if u know how tutorial balloting works in NUS.) =D As expected, I didn't manage to get my CS1102X Lab & CS2250 tutorial!

So... it means another round of appealing AGAIN! =D

And see what I've been STUPIDLY been solving in the past hour!

.....
.....

int cycle = 1;

while (n != 1){
if (n % 2 != 0){
n = 3 * n + 1;
cycle++;
} else {
n = n / 2;
cycle++;
}
}

if (cycle >= maxCycle){
cycle = maxCycle;
//well... it should be maxCycle = cycle;
}
.....
.....

No comments: