Search found 3 matches

by Zin_tas
Mon Apr 06, 2015 4:43 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 32211

Re: 102 - Ecological Bin Packing

Thanksss a lott...... :) :) :) :) :)
by Zin_tas
Mon Apr 06, 2015 4:39 pm
Forum: Volume 103 (10300-10399)
Topic: 10397 - Connect the Campus
Replies: 75
Views: 25099

Re: 10397 - Connect the Campus

I don't know why I'm getting wa... can anybody plz help me???? ive tried all d sample inputs given here... #include<iostream> #include<vector> #include<algorithm> #include<cmath> #include<cstdio> using namespace std; class Building{ public: int x,y,serial; Building *parent; Building(int bx,int by, i...
by Zin_tas
Mon Feb 09, 2015 11:11 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 32211

problem with cin.eof()???

when I tried

while(!cin.eof()){...}
I got WA

and for

while(cin>>A[0][0]>>A[0][1]>>A[0][2]>>A[1][0]>>A[1][1]>>A[1][2]>>A[2][0]>>A[2][1]>>A[2][2]){...}

it got accepted....

can anyone please tell me why? Thanking in advance.... :)

Go to advanced search