Search found 9 matches

by el cheeto
Mon Dec 07, 2009 6:15 am
Forum: Volume 116 (11600-11699)
Topic: 11626 - Convex Hull
Replies: 5
Views: 3900

Re: 11626 --getting WA

Are there some tricky cases?? I just keep getting WAs and I don't know what's going on, I need help. Thank's
by el cheeto
Thu Apr 16, 2009 11:11 pm
Forum: Volume 115 (11500-11599)
Topic: 11512 - GATTACA
Replies: 23
Views: 9360

Re: 11512 - GATTACA

Can anyone give me some hint to solve this problem? I tried to use map, but got TLE. Thanks in advance.
by el cheeto
Fri Mar 13, 2009 1:37 am
Forum: Volume 115 (11500-11599)
Topic: 11572 - Unique Snowflakes
Replies: 36
Views: 12440

Re: 11572 - Unique Snowflakes

Be careful!! I used map, and TLE using cin and cout. ACC in 1.120 using scanf and printf.
by el cheeto
Sat Oct 18, 2008 4:20 pm
Forum: Volume 2 (200-299)
Topic: 247 - Calling Circles
Replies: 21
Views: 8508

Re: 247 - Calling Circles

Got Accepted now. I changed all the C++ I/O for C I/O, change all the cin for scanf, and cout for printf, and quit all the classes of the standard library, such as map, vector, etc.. and use simple arrays. Hope it helps. I really don't know why this happens, but it worked.
by el cheeto
Fri Oct 17, 2008 11:51 pm
Forum: Volume 2 (200-299)
Topic: 247 - Calling Circles
Replies: 21
Views: 8508

Re: 247 - Calling Circles

Hi!! I,ve been using Tarjan's algorithm to solve this problem, but I keep getting WA. I don't know if there are some special (tricky) cases. I've used this algo for other problems and it had worked correctly until now. Any help would be great. Thank you. my code: #include <iostream> #include <cstrin...
by el cheeto
Wed Oct 08, 2008 4:09 am
Forum: Volume 115 (11500-11599)
Topic: 11503 - Virtual Friends
Replies: 49
Views: 17598

Re: 11503-Virtual Friends

ACC now!! I used map and got accepted. Thank you!!
by el cheeto
Wed Oct 08, 2008 1:05 am
Forum: Volume 115 (11500-11599)
Topic: 11503 - Virtual Friends
Replies: 49
Views: 17598

Re: 11503-Virtual Friends

Hi, I am also using Union-Find algorithm, but also getting TLE, any help would be great. Thank you. My union-find algorithm is the following: void make_set(int x) { p[x] = x; rank[x] = 0; } void link(int x, int y) { if (rank[x] > rank[y]) p[y] = x; else { p[x] = y; if (rank[x] == rank[y]) rank[y] = ...
by el cheeto
Mon Feb 13, 2006 7:04 am
Forum: Volume 109 (10900-10999)
Topic: 10994 - Simple Addition
Replies: 41
Views: 15526

Thank you chunyi81, I submited my code in C instead of C++ and get Accepted, but the true is that i don
by el cheeto
Mon Feb 13, 2006 12:59 am
Forum: Volume 109 (10900-10999)
Topic: 10994 - Simple Addition
Replies: 41
Views: 15526

10994 Compile Error

I have a problem with problem 10994, I only get CE and my solution seems to be okay. I'll thank any help

//erased after ACC

Go to advanced search