Search found 1 match

by a96374177
Sat Aug 16, 2008 9:01 am
Forum: Volume 110 (11000-11099)
Topic: 11059 - Maximum Product
Replies: 96
Views: 51794

Re: 11059 - Maximum Product

Help!!!
I tried many sample input and got the correct answer.
But I still got WA.
THX~


#include<iostream>
using namespace std;

long long subseq(int* seq,int number,int nz,int zero);

int main()
{
int n,*seq,nz,*pos,count=0,zero,x;
long long max,tmp,prod;
while(cin>>n){
x=n;
++count;
seq ...

Go to advanced search