Search found 56 matches

by ithamar
Sun Jun 22, 2003 3:17 pm
Forum: Java
Topic: Convert data types
Replies: 2
Views: 2081

I dont know why are you reading the input like you do it.

I believe that its easier to read it like this

int n = Integer.parseInt(ReadLn(255).trim());

Where ReadLn is the method that you find here http://acm.uva.es/problemset/data/p100.java.html

Hope it helps
by ithamar
Mon Oct 28, 2002 4:29 am
Forum: Volume 103 (10300-10399)
Topic: 10303 - How Many Trees?
Replies: 19
Views: 3163

Pleas can you kindly edit the message that shows the answer to 1000.

It makes the board wideeeeeeeeeeeeeeeer and it doesnt look right.
by ithamar
Mon Oct 28, 2002 4:25 am
Forum: C
Topic: Unbelievable
Replies: 1
Views: 2035

I havent seen your code.

But this happen when you use the readline provided in the instruction page. This readline doesnt handle right the last line and when there are more than one line between the data.
by ithamar
Mon Oct 21, 2002 2:23 pm
Forum: Volume 103 (10300-10399)
Topic: 10332 - The Absent Minded Professor
Replies: 22
Views: 6207

Its C++ corner. not to bother for ur JAVA Stupid!!!!!!!!!! :evil: Wow. This is what we need in our world: People that ofend others when they are asking for help. Maybe cothevacothe ask the question in the wrong thread but this is not excuse to be irrespectful to him. Thanxs for ALL your help Jalal ...
by ithamar
Sat Oct 19, 2002 5:05 am
Forum: Other words
Topic: About new incoming features
Replies: 47
Views: 27993

What happen with the compiler upgrade?

Nobody talks about that in the board anymore. The upgrade is going to take place or just was a idea that can't be implemented.
by ithamar
Tue Oct 08, 2002 4:49 am
Forum: Volume 103 (10300-10399)
Topic: 10308 - Roads in the North
Replies: 30
Views: 9750

I has not solved this problem but from the problem statement i cant asure that the cities are numered sequentially 1, 2, ..., n. Maybe some data set could be 1, 2, 6, 12, maybe not. But the problem statement leave the second posibility open so you shuld take care of.
by ithamar
Mon Oct 07, 2002 5:38 am
Forum: Other words
Topic: compile error
Replies: 10
Views: 3474

Your problem its that your class name is not called Main. You shuld read the info about java suport.

Hope can help
by ithamar
Fri Sep 27, 2002 1:25 am
Forum: Volume 100 (10000-10099)
Topic: 10091 - The Valentine's Day
Replies: 12
Views: 3726

10091 - The Valentine's Day

Hi everybody. I try to solve this problem and i just get WA's. I think that this is a easy problem. I simulate month by month to get all the probabilities of every node at the end (This is done with each person). Later i get the probability that Bill and Marsha encounter in any node. Is my approach ...
by ithamar
Wed Sep 25, 2002 3:40 pm
Forum: Other words
Topic: Ranklist for people from one country
Replies: 3
Views: 1676

It would be nice to add this feature.

It is really useful. 8)
by ithamar
Fri Sep 20, 2002 11:44 am
Forum: Volume 103 (10300-10399)
Topic: 10342 - Always Late
Replies: 25
Views: 10988

10342 - Always Late

Hi I am trying to solve this problem but i have some problems, so i want to make sure that my understanding of the problem is correct. I just want to ask if there is a minimum path from a to b with cost c and exist another path from a to b with the same cost c. My question is: the path that must be ...
by ithamar
Thu Sep 19, 2002 5:33 pm
Forum: Volume 1 (100-199)
Topic: 116 - Unidirectional TSP
Replies: 226
Views: 36180

arc16 wrote:I'm getting TLE by using DFS.
Is there any faster method?
I think that this problem can be solved using DP. And i think that DP is a LOT more efficient that DFS.

Hope this can help.
by ithamar
Thu Sep 19, 2002 5:14 pm
Forum: Volume 100 (10000-10099)
Topic: 10002 - Center of Masses
Replies: 59
Views: 26442

Some test cases to think about it.

Code: Select all

    Input 
    4
    1 1
    1 3
    3 1
    1 2

    Output
    1.667 1.667
by ithamar
Thu Sep 19, 2002 5:06 pm
Forum: Volume 100 (10000-10099)
Topic: 10002 - Center of Masses
Replies: 59
Views: 26442

I am tired of problem whose data sets does not correspond to the problem description. This is one of them.

Forget this sentence in the problem statement if you want to solve this problem.
No three points are aligned in any polygon.
Hope this can help.
by ithamar
Wed Sep 18, 2002 11:20 pm
Forum: Java
Topic: What the fuck...
Replies: 11
Views: 7589

I think that a lot more people would use it here if it would have been properly supported. I am totally agree with you and i am fighting for that. Thats why i dont change the language. I prefer to fight to get my Language of choice properly configured here. Good Luck in your migration ... 8)
by ithamar
Wed Sep 18, 2002 6:53 pm
Forum: Java
Topic: What the fuck...
Replies: 11
Views: 7589

About the discussion about the best teams in the world i think that those teams are good in more than one language. The ACM competitions is about solving problems and the language it is just a tool to the final purpose. So if somebody is capable to do it with one tool it is just a matter of learn to...

Go to advanced search