Search found 14 matches

by Rodrigo
Thu Jun 24, 2004 2:59 pm
Forum: C
Topic: Exchanging two integers
Replies: 5
Views: 3062

Sure, using XOR

a ^= b ^= a ^= b;

or additions and subtractions:

a += b; a -= b = a - b;

I think there was a third way, but I can't remember it now.
by Rodrigo
Tue May 18, 2004 2:03 pm
Forum: Off topic (General chit-chat)
Topic: AVI+Text file = Movie with subtitles
Replies: 1
Views: 1591

AVI+Text file = Movie with subtitles

Hi people I'm looking for a software that takes as input a video file and a text file (with subtitles in SRT format, preferably) and produces as output the video with subtitles. I know that there are some programs that allow you to view both at the same time in your computer without necessarily merg...
by Rodrigo
Thu Sep 04, 2003 5:27 am
Forum: Off topic (General chit-chat)
Topic: Domestic LAN
Replies: 2
Views: 1720

Never mind, it works now. It was only a matter of finding the right drivers.

Thanks anyway.
by Rodrigo
Fri Aug 22, 2003 8:06 pm
Forum: Off topic (General chit-chat)
Topic: Domestic LAN
Replies: 2
Views: 1720

Domestic LAN

Hi

I have 2 computers running Windows 98, and I would like to connect them (mostly because of games :D ). I tried to, but I failed; I have no idea what's missing. Could anyone point out the main steps to connect the computers?

Thanks in advance,

Rodrigo
by Rodrigo
Sun Mar 16, 2003 7:26 am
Forum: Volume 1 (100-199)
Topic: 116 - Unidirectional TSP
Replies: 226
Views: 39272

Hi

Thanks for your reply, but mine solves that one too. :-?

I gave up on this problem a long time ago, I'm definitely waiting for a re-judgement.

Rodrigo
by Rodrigo
Mon Dec 23, 2002 4:30 am
Forum: Volume 1 (100-199)
Topic: 116 - Unidirectional TSP
Replies: 226
Views: 39272

Same with me. I've covered all these points too, but I still get WA :/.
by Rodrigo
Mon Dec 16, 2002 3:43 am
Forum: Algorithms
Topic: Primality checking is NP?
Replies: 2
Views: 1999

No, it doesn't. There never was any proof that primality checking was NP-Complete. The question between P and NP remains.
by Rodrigo
Mon Dec 16, 2002 3:40 am
Forum: Algorithms
Topic: Primality checking is NP?
Replies: 2
Views: 1999

No, it doesn't. There never was any proof that primality checking was NP-Complete. The question between P and NP remains.
by Rodrigo
Fri Nov 29, 2002 3:48 am
Forum: C++
Topic: Old G++ version unacceptable
Replies: 4
Views: 2931

Give it a shot, there are a lot of really interesting problems.
by Rodrigo
Tue Nov 26, 2002 5:43 pm
Forum: C++
Topic: Grow Array Size
Replies: 13
Views: 4714

If I understood your code, it looks to me that you're not returning the zeroth element of the array in the first one. This could cause trouble when freeing the returned string.

Rodrigo
by Rodrigo
Sun Jul 28, 2002 12:55 am
Forum: Volume 2 (200-299)
Topic: 290 - Palindroms <---> smordnilaP
Replies: 31
Views: 7594

The example is totally messed up! Base 15 87 + 78 = 110 110 + 011 = 121 2 steps Base 14 87 + 78 = 111 1 step <-- it should be "121 1 step" Base 13 87 + 78 = 132 132 + 231 = 363 2 steps Base 12 87 + 78 = 143 143 + 341 = 484 2 steps Base 11 87 + 78 = 154 154 + 451 = 5A5 2 steps Base 10 87 + 78 = 165 1...
by Rodrigo
Wed Jul 24, 2002 8:01 pm
Forum: Volume 1 (100-199)
Topic: 195 - Anagram
Replies: 242
Views: 29183

Weird...

I got AC without giving a damn about empty lines...

And your error was that you weren't treating them? :-?
by Rodrigo
Sun Jul 07, 2002 2:56 pm
Forum: Volume 3 (300-399)
Topic: 369 - Combinations
Replies: 101
Views: 18941

Picard, my man :), thanks! You're right, the mail program was messing up long lines. I finally got this problem and other one I was working on this weekend to get accepted.

I no longer want to shoot my computer. I'm just pissed with Yahoo Mail. :)

Rodrigo
by Rodrigo
Sun Jul 07, 2002 12:18 am
Forum: Volume 3 (300-399)
Topic: 369 - Combinations
Replies: 101
Views: 18941

Ok, people, there's something REALLY wrong about this problem. I tried tons of different approaches, and I got more W.A.'s than I can remember. But, for each one of them, I couldn't find one single test case for which my solution was wrong. :cry: Anyway, my last desperate attempt was to use a Big In...

Go to advanced search