Search found 6 matches

by ErickNascimento
Tue Aug 15, 2006 3:19 pm
Forum: Volume 110 (11000-11099)
Topic: 11059 - Maximum Product
Replies: 96
Views: 36870


Try the following one:
Code:
17
-10 -5 9 -2 -7 -3 -2 -9 4 -4 -7 8 -9 2 -6 2 -7

The correce output:
Code:
Case #1: The maximum product is 1191778304.
Macko, my program works for your test, but I still got WA.
What's wrong? Thanks for your time.
by ErickNascimento
Tue Aug 15, 2006 6:55 am
Forum: Volume 110 (11000-11099)
Topic: 11059 - Maximum Product
Replies: 96
Views: 36870

WA

My program has passed all the tests given in this topic, but I still got WA. Can anyone give me more test cases with correct output. Please Help me! I am getting crazy with this problem. Thanks in advance! This problem requires long long (64 bit) variables instead of int (32 bit) ? Here is my code: ...
by ErickNascimento
Fri Apr 07, 2006 7:01 pm
Forum: Volume 3 (300-399)
Topic: 323 - Jury Compromise
Replies: 10
Views: 3200

323 - Jury Compromise WA - Please, Help!

I am getting WA, but don't know why. My code works for the sample input. Someone please give me inputs and outputs for this problem. Thank you. #include <stdio.h> #define MOD(a) ((a)>=0?(a):(-(a))) #define MAXN 200+10 #define MAXM 20+10 #define INFINITO 99999999 #define UP 1 #define UP_LEFT 2 int nC...
by ErickNascimento
Tue Feb 07, 2006 5:51 pm
Forum: Volume 109 (10900-10999)
Topic: 10986 - Sending email
Replies: 65
Views: 26576

How did you used BFS in a unweighted graph?
by ErickNascimento
Tue Feb 07, 2006 5:50 pm
Forum: Volume 109 (10900-10999)
Topic: 10986 - Sending email
Replies: 65
Views: 26576

How did you used BFS in a unweighted graph?
by ErickNascimento
Tue Feb 07, 2006 12:00 am
Forum: Volume 109 (10900-10999)
Topic: 10986 - Sending email
Replies: 65
Views: 26576

10986 - Sending email

I dont know why my program get WA after WA, can anybody who gets acc help me? Is there any trick in the input? Give some inputs for this, please! here is my code: #include <cstdio> #include <queue> #include <vector> #include <list> #include <algorithm> #include <limits.h> using namespace std; #defin...

Go to advanced search