<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener("load", function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <iframe src="http://www.blogger.com/navbar.g?targetBlogID=8658656&amp;blogName=5+rOx!!&amp;publishMode=PUBLISH_MODE_BLOGSPOT&amp;navbarType=BLACK&amp;layoutType=CLASSIC&amp;searchRoot=http://huishan05.blogspot.com/search&amp;blogLocale=en_US&amp;homepageUrl=http://huishan05.blogspot.com/&amp;vt=2976195569234063937" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" height="30px" width="100%" id="navbar-iframe" allowtransparency="true" title="Blogger Navigation and Search"></iframe> <div></div>
20.1.12?


#include
#define maxV 100

int V,E,x,y,i;
int a[maxV][maxV];
int count=0;
int component=0;
int visit[maxV];
void read_graph(void);
void print_graph(void);
void main()
{

  read_graph();
  for (i=1; i<=maxV; i++)
 {
     visit[i]==0;
 }
   for (i=1; i<=maxV; i++)
      {
       if (visit[i]==0)
       {
        component=component+1;
        dfs(i);
        printf("\n%d",x);
      }
       if(component==1)
       {
           printf("this graph is connected");
       }
       else
       {
           printf("this graph is disconnected");
       }
}

void dfs(int v)
{
    count=count+1;
    visit[v]=count;
    for (i=1; i<=maxV; i++)
    {
     if (a[v][i]!=0 && visit [i]==0)
        {
          dfs(i);
        }
    }
}

void read_graph(void)
{
  int edge,x;
  printf("\nInput number of vertices:");
  scanf("%d",&V);
  if (V>maxV)
    printf("Exceed the maximum number of vertices permitted");
  else
  {
    for (x=1; x<=V; x++)
        {
            for (y=1; y<=V; y++)
              a[x][y]=0;
        }
    for (x=1; x<=V; x++)
         for (y=x; y<=V; y++)
         {
           printf("\na[%d][%d]=",x,y);
           scanf("%d", &edge);
           a[x][y]=edge;
           a[y][x]=edge;
         }
  }
}
void print_graph(void)
{
int x, y;
for (x=1;x      {
         for (y=1;y<=V;y++)
         {
             printf("%d",a[x][y]);
         }
     }
}

domo

Blogged @ 10:19 AM


15.1.12?


Gonna do masking everyday till cny Haha .. today using this mark .. Japanese hydrangea mark ... Smell nice ... And also got cooling effect ... Not bad Haha ... Tml is ft island concert day ...looking forward .. Haha .... And this morning pei pei bought our SS 4 ticket ... Lucky girl .. Haha

posted from Bloggeroid


domo

Blogged @ 10:27 PM




Went to ft island concert today .. now in train going back home ... Ft island concert is Damn high .. I enjoy myself there even though a bit far .. and very high over there .. keep spamming and jumping around for 2 hours ... I wonder where my stamina comes from .. Haha ... I love hong ki voice so much .. so powerful ... And he sing straight for 2 hour in between only few minute rest only ... Damn god ... Talented guys ... We have three encore song .. these three songs is awesome and really Damn high ... My favourite , bad women .. is one of it ... Is a nice experience .. thanks ft island ... And a lesson learn again .. attend concert please bring lightstick along ... I only Can throw my hands up in the air ... Overall I really very enjoy this concert ... And their English is Damn cute .. Haha .. thanks .... Love you guys .. next month SS 4 I believe I will more high den today ...

posted from Bloggeroid


domo

Blogged @ 10:26 PM


9.1.12?


I think my kimchi expire ... My stomach keep roaring .. Haha .. or because of my strawberry milk .... Bleh ... Stomach not good...
Today first day of my school .... Yo ... Still not bad .. because first week .. this week no tutorial .. ha .. so can go home earlier yo.. Haha... After school finally our dip group meet ... And go and find our prof ... So we chat with him about our project stuff ... Like finally lo .. yo .. Haha ... Den I saw our math exam paper in his room but we can't see our name .. but Haha .x I saw some one marks ... 7 lol .. what the hell , 7 marks Leh how he get de siax ... Hmmm ... La la kbt... Finish packing my lecture notes ... Yea ... So my bag will lighter .. Don need to bring whole stack lecture notes ... Ha ... Yo yo yo .... Gonna go home soon and also gonna do my notes as soon as possible ...

posted from Bloggeroid


domo

Blogged @ 8:19 PM


6.1.12?


I feel like I just have a break up ... Very moody ... Feel like crying ... Haix why hae must join WGM .. I dying .. 我失戀了...
Tml going Malaysia lo ... Gonna go home and take my pass port and my money ...
Gonna start school soon ... 3 more days ... He'll gate opening... I sad .. cry cry

posted from Bloggeroid


domo

Blogged @ 5:37 PM


30.12.11?


This week many stuff happen ... First ... Pei pei and Eliza stuff .. Eliza just put a bomb in our conversation and cry whole night and I gonna listen to her story I have forget ... Both party are so innocent ... And main wrong is that guy ... Till now I still can't believe him is such a bad ass ...
After that matter hae blown out pei pei not that active in whatsaps and make me feel like talkin to the air .. the the supper gathering is just a mess ... Every one just Don want to reply any thing .. and make me look like a clown keep entertain the question ... So today I settle the place , but there are few whole day Don one to reply whether they comin a not .. hey I give up my kbs gayo give up my suju Oppa and attend this .. they just Don give a Damn to reply ... From now I not going to plan stuff ... And I think I does not have the time to plan when I starting school soon ...
Last sbs gayo also big matter .. SM and sbs treat elf and suju like Shit .. they never say anything about the pre recorded ... And only few elf attended .. making the whole live stage so empty ... And my Oppa was so angry and frustrated in twitter ... And today saw a elf post ing a fan account about yesterday and make me more fed up ...
I so angry this week ... 2011last few days .. I not enjoying and throwing my temper anywhere

posted from Bloggeroid


domo

Blogged @ 10:56 PM


29.12.11?


Just hope suju will leave SM one day ... SM I hate you much much why ?

posted from Bloggeroid


domo

Blogged @ 5:46 PM


26.12.11?


my bintan trip ,,
ealry mondya morning drive to temple there and return my taisui wif my mum haha ..after dat go to market and do my money change .... rupiah ..wahhh realli many zero behind lo .. haha ... after dat went back home do my last min packing .... and meete hao and ying at 12 ...taking a cab and went to changi dere totake ferrry ..... wahh .. bcos it rainin so the wave is like ..wahh .. bumby . and i vomit twice in the ferry .. and around me ..dere are freakin many ppl vomitin too haha ... so when we reach bintan ... the weather still look nt good ... and we are a private car to our banyan tree villa .... at the reception area ... they serve and cold towel and drink ... after awhile we take the buggy and go to our villa ... wwhen we reach our villa the first we see the our jacuzzi haha .. but bcos is rainin the whole day we didn't took the jacuzzi on firs day ... so we stay in our villa for the whole day ... we take a tour in our villa .and keep taking photo around .. haha .. night we wen to saffron to have our dinner a thai cuisine and taste nice and the service is good.. ahah ... but it cost us 200 bucks sing dollar .. first day first dinner we cost a bomb already ... haha ...
second day .... we wake up at 7 and went to eat breakfast .... buffet style ... and nt bad luh .. quite nice .. they still offer champagne in the ealry mornin .. and i love thier waffle and bread . haha .. :) ,,, and went back to our villa and 9 even though it still drizzlin we still ask someone to clean our jacuzzi ... den we three went inside and make a whole pool into a bubble pool so fun haha .soak inside for 1 hr ..and took pic too ... so around 11 i feel hungry again .. hhaha .. we take turn to bath and call a bugggy to lobby ... we took a car out to pasar oleh oleh before that we went to a market to have lunch at a market first ... we eat malay stlye zacai fan .. realli nt bad lo .. just tat haha ... the curry sauce taste liek tomyam .. but it still taste nice .. after our lunch we went to olehloeh .. haha ... walk around and bought our cup noodle .. haha .. our dinner ... we went back villa around 2.45 and we took a nap .. before heading to the beach .. so cooling haha ... the beach area .... realli relaxing nt many ppl on the beach bcos the wave qiute big ... and we took lots of photo too ... den we sit on the beach chair and enjoy the breeze ..... den went back to villa rest again and eat our cup noodle ... den 7 we go to lobby again and took a car to go our firefly trip ... yea .. we took a boat to the swamp .. and i realli saw fireflies .. so cute ..and easily catch .. haha .. so fun ... haha ... and i still catch a firefly into y empty cup .. but i decide to let it go when we heading pack to the pier ... but end up it still follow me ... it stay in my life jacket lo .. haha ... then we went back to our villa at 9pm.. we we bath and rest and aroudn 10 we call for dine in supper ... nice western food again ..and this time round it cost cheaper .. 75usd .. haha .. and i fall as sleep at 11pm so ealry ahha
the last day .. the weather is the best ... we go and haf breakfast again ... and we choose a outdoor dining area .. can see the seaview ... so nice so relaxing damn god . haha .. if i have another day .. i will stay on the swimmin pool and see the sea view... arhh nice ~~ .. haha ... but we goin home ... nothing special on the last day .. and i didnt vomit when i back . wahah ..
overall bintan, banyann tree left a not bad impression .. realli is a very relaxing trip .. haha ... and thier serivce is realli good .. all speak good english ... nice .. i love the place .... realli .. haha ..

domo

Blogged @ 10:29 PM