Search found 17 matches

by oldbam
Wed May 25, 2005 12:56 pm
Forum: Volume 108 (10800-10899)
Topic: 10850 - The Gossipy Gossipers Gossip Gossips
Replies: 11
Views: 2945

I tested it at my home PC with the input and receive right answer
by oldbam
Wed May 25, 2005 11:28 am
Forum: Volume 108 (10800-10899)
Topic: 10850 - The Gossipy Gossipers Gossip Gossips
Replies: 11
Views: 2945

Still WA. I receive right answer on 4 1 1 0 2 4 1 1 3 4 1 1 I use BFS search. Why here can be a problem. All the times i keep in the array c[][][], where c [j][0]-number of times when person i meets person j. I post my code. Maybe someone will see some mistakes, as i'm already tired of thinking abou...
by oldbam
Sat May 21, 2005 1:23 pm
Forum: Volume 108 (10800-10899)
Topic: 10850 - The Gossipy Gossipers Gossip Gossips
Replies: 11
Views: 2945

10850 - The Gossipy Gossipers Gossip Gossips

Hi! Give me please critical input for this problem.
by oldbam
Tue Apr 12, 2005 2:42 pm
Forum: Volume 1 (100-199)
Topic: 116 - Unidirectional TSP
Replies: 226
Views: 37949

116 How to find lexikografically smallest path?

Hi! Could you help me with finding lexikografically smallest path? I use DP from left to right. Should i check all the paths with the same weight from the last column and then find the smallest path or there is easier solution?
by oldbam
Mon Oct 18, 2004 11:09 pm
Forum: Volume 6 (600-699)
Topic: 640 - Self Numbers
Replies: 47
Views: 18454

640

Hi! I saw that some guys solved 640 in 0.00 or something like that. Is it possible to find such a quick algorithm or they just did precalculation?
by oldbam
Sat Sep 25, 2004 3:04 pm
Forum: Other words
Topic: Q to Admin: "About the online-judge system"
Replies: 0
Views: 910

Q to Admin: "About the online-judge system"

Hi! I'm rostik. I'm a student of the NaUKMA University (Kiev, Ukraine). We ' d like to install an online-judge system on our university server. I'm one of the group of students who is responsible for doing this. i'd be very grateful for getting any possible information from you about the online-judg...
by oldbam
Fri Sep 17, 2004 6:55 pm
Forum: C++
Topic: Have you ever been to USACO? Problem with submitting in C++
Replies: 1
Views: 1916

Have you ever been to USACO? Problem with submitting in C++

Hi! I can't submit my programme on USACO - the grade shows Your program ('prg') exited with signal #139 () when presented with test case 2, shown below... I consider the problem is with my I/O, as the first test my programme passes. Here is my code: [cpp] #include <stdio.h> #include <stdlib.h> [glob...
by oldbam
Fri Sep 17, 2004 6:44 pm
Forum: C++
Topic: Compile Error... STL?
Replies: 6
Views: 2653

Try to write
[cpp]#include <cstdio>[/cpp]
instead of [cpp]include <stdio.h>[/cpp]
by oldbam
Fri Sep 17, 2004 4:07 pm
Forum: C++
Topic: Is it possible to install gcc compiler under Windows?
Replies: 11
Views: 3260

Great thanks! :lol:
by oldbam
Fri Sep 17, 2004 4:07 pm
Forum: C++
Topic: Is there the same function in c++ as FILLCHAR in Pascal?
Replies: 5
Views: 4052

Great thanks! :lol:
by oldbam
Fri Sep 17, 2004 10:43 am
Forum: C++
Topic: Is it possible to install gcc compiler under Windows?
Replies: 11
Views: 3260

OK. Thanks, maybe i have problems with my cygwin, as there are no files in the bin directory... And my cygwin.bat returns "Bad name file"
by oldbam
Fri Sep 17, 2004 10:40 am
Forum: C++
Topic: Is there the same function in c++ as FILLCHAR in Pascal?
Replies: 5
Views: 4052

And what about non-char array?
by oldbam
Thu Sep 16, 2004 5:37 pm
Forum: C++
Topic: Is it possible to install gcc compiler under Windows?
Replies: 11
Views: 3260

And what do i have to write in the cygwin.bat to use gcc compiler?
by oldbam
Thu Sep 16, 2004 10:19 am
Forum: C++
Topic: Is there the same function in c++ as FILLCHAR in Pascal?
Replies: 5
Views: 4052

Is there the same function in c++ as FILLCHAR in Pascal?

Is there the same function in c++ as FILLCHAR in Pascal?
How to fill the array will special value quickly?
by oldbam
Thu Sep 16, 2004 10:16 am
Forum: C++
Topic: Is it possible to install gcc compiler under Windows?
Replies: 11
Views: 3260

Thanks a lot! I'll try it ...

Go to advanced search