Search found 11 matches

by flavio
Mon May 01, 2006 8:41 pm
Forum: Volume 4 (400-499)
Topic: 416 - LED Test
Replies: 34
Views: 15102

I've got AC!
The correct output is:

Code: Select all

MISMATCH
Thanks!
by flavio
Mon May 01, 2006 8:23 pm
Forum: Volume 4 (400-499)
Topic: 416 - LED Test
Replies: 34
Views: 15102

What's the output for this input:

Code: Select all

2
NNNNNNN
YYYYYYY
???

Thanks in advance!
Barata
by flavio
Sat Aug 06, 2005 5:43 am
Forum: Volume 7 (700-799)
Topic: 790 - Head Judge Headache
Replies: 49
Views: 22771

Ryan Pai said:

"Assume that every team with a number between 1 and T exists, where T is the largest team number in the input case.

If a team has multiple submissions at the same contest time, consider all off the Y's to happen after the N's."

---------------

These are the hints!!!
I've got ...
by flavio
Sat Aug 06, 2005 5:10 am
Forum: Volume 7 (700-799)
Topic: 790 - Head Judge Headache
Replies: 49
Views: 22771

Hi Jan!!

What was wrong in your code?
I'm currently getting WA :(

I don't know what is my mistake!

Thanks!
by flavio
Sat May 07, 2005 12:45 pm
Forum: Volume 7 (700-799)
Topic: 726 - Decode
Replies: 36
Views: 13933

Exactly... the unique blank line is used to separate the KNOWN and the ENCODED texts. For example:

Code: Select all

your known text here
another line from known text
and other...

(encoded texto here)
See ya!
by flavio
Sat May 07, 2005 4:25 am
Forum: Volume 7 (700-799)
Topic: 726 - Decode
Replies: 36
Views: 13933

Because the blank line is used only to separate the encoded and decoded texts.

The decoded text has to be readen until find a blank line...
Imediately after the blank line, the encoded text has to be readen....

That is it!
Thanks
by flavio
Sat Apr 16, 2005 8:26 pm
Forum: Volume 3 (300-399)
Topic: 370 - Bingo
Replies: 8
Views: 6152

I/O Help!!

Does anybody can help me!?
I need some input/output...

I've tested my program and I don't know what is wrong... :o

INPUT and OUTPUT are very welcome!!

Help Help!

Thanks in advance! :(
by flavio
Thu Apr 14, 2005 9:53 pm
Forum: Volume 7 (700-799)
Topic: 726 - Decode
Replies: 36
Views: 13933

I think that the judge just input values following this rule:

"The mapping that defines the encoding is one-to-one." :)

So, both the answers are correct! \o/

Best regards!!
Flavio
by flavio
Thu Apr 14, 2005 1:22 pm
Forum: Volume 7 (700-799)
Topic: 726 - Decode
Replies: 36
Views: 13933

Accepted!

Thanks Raiyan!!

I did this and got ACCEPT!!
I've got confused because your case 4 was wrong:

Input:

123abbccc654987the remaining letters are gone :O

the quick brown fox jumped over the lazy dog


Output:

tne qbmod iravk haw sbjpec auer tne fgyx cal


I've ignored it. All the other cases ...
by flavio
Thu Apr 14, 2005 12:20 am
Forum: Volume 7 (700-799)
Topic: 726 - Decode
Replies: 36
Views: 13933

Ordering problem...

Well... my program ran only the first and second cases correctly... The case 3 is a little confusing...
The letter 'Y' maps to 'A' and I don't know why. Look at my table for case 3:

Frequencies in KNOWN text:
a = 1
b = 1
c = 1
d = 2
e = 4
f = 1
g = 1
h = 2
i = 1
j = 1
k = 1
l = 1
m = 1
n = 1
o = 4 ...
by flavio
Wed Apr 13, 2005 12:43 am
Forum: Volume 7 (700-799)
Topic: 726 - Decode
Replies: 36
Views: 13933

HELP!!!

Hi people...

I need some help...
I have been trying this question about a week...

I really don't know what is the problem! :(
Could anybody help me!?

Here is my C code:


#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>

#define MAX_CHAR 256
#define MAX_LINHA ...

Go to advanced search