Search found 6 matches

by blodstone
Sat Feb 10, 2007 7:33 pm
Forum: Volume 4 (400-499)
Topic: 490 - Rotating Sentences
Replies: 212
Views: 48140

I think I did waht all you guys post here, trailing spaces, new line etc but why still got PE? Someone help me please.
#include <cstdio>
#include <string>
#include <iostream>
#include <vector>
using namespace std;

int main(){
freopen("input.in","r",stdin);
freopen("output.out","w",stdout ...
by blodstone
Wed Jan 10, 2007 5:10 pm
Forum: Volume 101 (10100-10199)
Topic: 10142 - Australian Voting
Replies: 82
Views: 45761

10142 TLE(Help Needed!!)

Hai guys!
I got TLE for this problem. What's wrong with it? Can somebody help me?

#include <iostream>
#include <cstdio>
#include <list>
#include <vector>
#include <deque>
#include <algorithm>
#include <string>
#include <cctype>
#include <sstream>
#include <cstdlib>
using namespace std;

struct val ...
by blodstone
Tue Dec 26, 2006 1:56 pm
Forum: Volume 102 (10200-10299)
Topic: 10267 - Graphical Editor
Replies: 190
Views: 77298

Thanks, it seems that my flood fill has messed up a little bit besides that I also have fixed the X2<X1 problem. I swap both value if X2<X1 and now I got an AC.
by blodstone
Mon Dec 25, 2006 8:02 pm
Forum: Volume 102 (10200-10299)
Topic: 10267 - Graphical Editor
Replies: 190
Views: 77298

Almost crazy.
I have checked every test case and it seems fine for me. But i still got WA.
What's wrong with my program?
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <vector>
#include <cstring>
using namespace std;

void fillRegion(int x, int y, char R,char C, char a[][250 ...
by blodstone
Mon Dec 25, 2006 2:28 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 108876

I have solved the problems, it seems that I've make a few fatal mistake. Thx for the help.
by blodstone
Sun Nov 19, 2006 6:04 am
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 108876

Help me with 101 (TLE)

Can someone help me with my program? The judge keep sending me a TLE but I still don't know where is the problem.


#include <iostream>
#include <list>
#include <sstream>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <algorithm>
using namespace std;

int search(list<int> arr ...

Go to advanced search