Search found 4 matches

by pablo
Tue Aug 09, 2005 9:46 pm
Forum: Volume 102 (10200-10299)
Topic: 10267 - Graphical Editor
Replies: 190
Views: 52624

1 hour later...

well, i spend hours testing, reading carefully the code and going over every tip that was mentioned in the forum, and i keep getting WA, can anyone help me? #include <algorithm> #include <cstdio> #include <string> #include <vector> #include <iostream> #include <sstream> using namespace std; typedef ...
by pablo
Sat Mar 19, 2005 7:47 am
Forum: Volume 102 (10200-10299)
Topic: 10249 - The Grand Dinner
Replies: 19
Views: 12269

preflow-push TLE

I've implemented preflow-push and got accepted in a regular flow problem (internet bandwidth, 820) and then i started working on this one because a friend of mine told me he had implemented edmond-karp and got TLE and when reading in the board found out that preflow-push was the answer. I've already...
by pablo
Mon Jan 17, 2005 7:59 pm
Forum: Volume 103 (10300-10399)
Topic: 10315 - Poker Hands
Replies: 63
Views: 27539

why WA?

i dont know why this is giving me WA, i tested almost everything i came up with #pragma warning(disable:4786) #include <cstdio> #include <iostream> #include <list> #include <vector> #include <map> #include <algorithm> #include <string> using namespace std; #define forn(i,n) for(i=0;i<n;i++) #define ...
by pablo
Mon Jan 17, 2005 6:01 pm
Forum: Volume 103 (10300-10399)
Topic: 10315 - Poker Hands
Replies: 63
Views: 27539

10315 interpretation problemas with straight

it is not stated in the problem if A-2-3-4-5 is a straight (when it only says consecutivew values) if it IS to be considered a straight, it is a bigger one or a smaller one than, in example, 2-3-4-5-6 (because it says when you have two straights rank by their "highest card", which literally means th...

Go to advanced search