Search found 7 matches

by rcrezende
Mon Oct 16, 2006 7:52 pm
Forum: Volume 111 (11100-11199)
Topic: 11122 - Tri Tri
Replies: 29
Views: 12284

Yeah... my previous testcase response is wrong...
I re-submit, without a fault (precision's stuffs), and I get Accepted.

:)

Rodrigo
by rcrezende
Sat Oct 14, 2006 7:09 pm
Forum: Volume 111 (11100-11199)
Topic: 11122 - Tri Tri
Replies: 29
Views: 12284

Your output is wrong!


11

0 0 2 0 0 2
1 1 3 3 2 3

0 0 2 0 0 2
3 0 5 0 4 2

0 0 1 0 1 1
0 0 1 0 1 1

0 0 0 1 1 0
0 0 3 1 1 3

0 0 100 0 0 100
1 1 3 1 1 3

1 1 3 1 1 3
0 0 100 0 0 100

0 0 2 0 0 2
0 0 1 0 0 1

0 0 1 0 0 1
0 0 2 0 0 2

0 0 0 1 1 0
0 1 1 0 1 1

0 0 1 0 0 1
0 0 -1 0 0 -1

0 0 1 0 0 ...
by rcrezende
Sun Aug 27, 2006 6:48 am
Forum: Volume 100 (10000-10099)
Topic: 10090 - Marbles
Replies: 43
Views: 28176

My WA approuch is, (please, help-me)

let n, c1,c2, v1, v2 (positives integers).

The Objective is minimize (v=v1*x+v2*y)
where n = c1*x + c2*y
x,y are integers >= 0

So, my idea is

From
1) n = c1*x + c2*y

I can write:

A) n - c2*y = c1*x
B) n - c1*x = c2*y

So,

A1) c1*x = n (mod c2)
B1) c2*y = n ...
by rcrezende
Sun Jun 11, 2006 4:46 am
Forum: Volume 5 (500-599)
Topic: 551 - Nesting a Bunch of Brackets
Replies: 56
Views: 20579

My program had WA because it was used a char variable to manage the string's position. I changed to integer and got ACCEPT!!!
This output above is CORRECT!!!!
by rcrezende
Sat May 06, 2006 1:58 am
Forum: Volume 5 (500-599)
Topic: 551 - Nesting a Bunch of Brackets
Replies: 56
Views: 20579

Some Help

I have submitted this code and was judged as WA. I dont know the problem, cause I tested a lot of inputs from eletronic board and the output is always the same.
Below is the code, an input and output.
Please, I need some help!!!

code removed, ACCEPTED

Input:

(
)
(*
*)
{dummy ...
by rcrezende
Sat May 06, 2006 1:56 am
Forum: Volume 5 (500-599)
Topic: 551 - Nesting a Bunch of Brackets
Replies: 56
Views: 20579

I have submitted this code and was judged as WA. I dont know the problem, cause I tested a lot of inputs from eletronic board and the output is always the same.
Below is the code, an input and output.
Please, I need some help!!!

Source removed, ACCEPTED

Input:

(
)
(*
*)
{dummy ...
by rcrezende
Fri May 05, 2006 12:35 am
Forum: Volume 3 (300-399)
Topic: 323 - Jury Compromise
Replies: 10
Views: 6616

NP=P???

Ol

Go to advanced search