Search found 5 matches
- Sun Oct 27, 2013 8:22 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11167 - Monkeys in the Emei Mountain
- Replies: 30
- Views: 21074
Re: 11167 - Monkeys in the Emei Mountain
How exactly can the intervals be contracted to 200 ?
- Fri Oct 25, 2013 12:39 am
- Forum: Volume 114 (11400-11499)
- Topic: 11418 - Clever Naming Patterns
- Replies: 9
- Views: 7054
Re: 11418 - Clever Naming Patterns
Yes you are right but in the sample output for test 4, the name of the first problem is "Ad".
I thought that the set of possible values for the first problem, in test 4, are "Aa Ba Ca Da". How come that "Ad" is selected? shouldn't "Ad" be allowed as a name only for the fourth problem?
I thought that the set of possible values for the first problem, in test 4, are "Aa Ba Ca Da". How come that "Ad" is selected? shouldn't "Ad" be allowed as a name only for the fourth problem?
- Thu Oct 24, 2013 12:08 am
- Forum: Volume 114 (11400-11499)
- Topic: 11418 - Clever Naming Patterns
- Replies: 9
- Views: 7054
11418 - Clever Naming Patterns
Hello,
Can someone explain to me, why in the last test case (4) of the provided input, "Ad" is listed as the name for the first test case?
How I understant it, the only set of words for the first problem in the fourth test case is "Aa Ba Ca Da", so no "Ad" in that set.
Many thanks!
Can someone explain to me, why in the last test case (4) of the provided input, "Ad" is listed as the name for the first test case?
How I understant it, the only set of words for the first problem in the fourth test case is "Aa Ba Ca Da", so no "Ad" in that set.
Many thanks!
- Thu Jun 20, 2013 1:30 pm
- Forum: Volume 116 (11600-11699)
- Topic: 11619 - SPAM! (or not)
- Replies: 3
- Views: 1631
Re: 11619 - SPAM! (or not)
Hi,
Many thanks for your posts. :) I've got ACCEPTED :D
Other possible test case:
MESSAGE SPAM
replica
rolex
==
MESSAGE SPAM
replica rolex
==
MESSAGE HAM
Hello all
==
MESSAGE CLASSIFY
Hello Replica
==
MESSAGE CLASSIFY
replica rolex and
some other things
==
MESSAGE CLASSIFY
abc
def ghi jkl ...
Many thanks for your posts. :) I've got ACCEPTED :D
Other possible test case:
MESSAGE SPAM
replica
rolex
==
MESSAGE SPAM
replica rolex
==
MESSAGE HAM
Hello all
==
MESSAGE CLASSIFY
Hello Replica
==
MESSAGE CLASSIFY
replica rolex and
some other things
==
MESSAGE CLASSIFY
abc
def ghi jkl ...
- Sun Jun 16, 2013 12:11 pm
- Forum: Volume 116 (11600-11699)
- Topic: 11619 - SPAM! (or not)
- Replies: 3
- Views: 1631
11619 - SPAM! (or not)
Hello everybody,
I'm struggling to solve problem 11619.
I have coded it in Java, but I have a problem because I'm still getting WA.
Approach:
- use logarithm to calculate big formula
- assign probability spam/ham words (wordSpamFreq/totalSpamWords) or (wordFreqHam/totalHamWords).
Sample input ...
I'm struggling to solve problem 11619.
I have coded it in Java, but I have a problem because I'm still getting WA.
Approach:
- use logarithm to calculate big formula
- assign probability spam/ham words (wordSpamFreq/totalSpamWords) or (wordFreqHam/totalHamWords).
Sample input ...