Search found 5 matches

by nguyenh3
Sat Aug 20, 2011 3:37 am
Forum: Volume 101 (10100-10199)
Topic: 10197 - Learning Portuguese
Replies: 45
Views: 23047

Re: 10197 - Learning Portuguese

Thank you annhy, my solution was finally accepted.

This shouldn't be an issue at all.
by nguyenh3
Sun Oct 31, 2010 8:49 pm
Forum: Volume 1 (100-199)
Topic: 124 - Following Orders
Replies: 49
Views: 12927

Re: 124 ....i don't know why WA

In your input test case, you have "z a m n a q" which is invalid - variables cannot have the same name.
by nguyenh3
Wed Sep 29, 2010 1:42 am
Forum: Volume 101 (10100-10199)
Topic: 10194 - Football (aka Soccer)
Replies: 121
Views: 64819

Re: 10194 - Football (aka Soccer)

This is getting repetitive but my code gets WA too.

import java.util.*;

public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);

Team[] teams;
Team team1, team2;
int number, goals1, goals2;
String[] game, string1, string2;
int tournaments ...
by nguyenh3
Thu Sep 23, 2010 9:51 pm
Forum: Volume 101 (10100-10199)
Topic: 10197 - Learning Portuguese
Replies: 45
Views: 23047

Re: 10197 - Learning Portuguese


Tip 1: Test these


ir is there something wrong?
ar ar
falar what is this
namer coder
jubir jubir



I see what you mean - that the English word doesn't necessarily start one space after the Portuguese word. So I added a trim() function which takes out all trailing spaces (before and at the end ...
by nguyenh3
Thu Sep 23, 2010 6:34 am
Forum: Volume 101 (10100-10199)
Topic: 10197 - Learning Portuguese
Replies: 45
Views: 23047

Re: 10197 - Learning Portuguese

I got WA with my code.
It has been a very frustrating experience.

import java.util.*;

public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);

char[] nos = {'n', 243, 's'};
char[] vos = {'v', 243, 's'};
String[][] conjugations = {{"eu", "tu ...

Go to advanced search