Does anyone have any tricky test cases for this problem? My algorithm works on tescases from the problem and all other ones I can possibly make up.
Still I get WA. I even thought that the last line with the hyphen '-' should not have the newline character in the end, but this does not rescue me ...
Search found 2 matches
- Mon Oct 21, 2013 11:37 pm
- Forum: Volume 121 (12100-12199)
- Topic: 12192 - Grapevine
- Replies: 3
- Views: 3999
- Sat Apr 27, 2013 12:50 am
- Forum: Volume 119 (11900-11999)
- Topic: 11947 - Cancer or Scorpio
- Replies: 18
- Views: 7894
Re: 11947 - Cancer or Scorpio
Can anyone point me at a mistake in this code, please. It works fine on test cases from the problem, also I tested Capricorn test case. triple checked the zodiac sign spelling,etc. I am stuck...
import java.util.*;
public class Main {
private class Sign {
public String name;
public ...
import java.util.*;
public class Main {
private class Sign {
public String name;
public ...