Search found 1 match

by vinitadroit
Fri Oct 03, 2008 10:50 am
Forum: Volume 4 (400-499)
Topic: 495 - Fibonacci Freeze
Replies: 222
Views: 60082

495:fibonacci freeze ..... getting WA as verdict

plz .. check where' s the mistake
code is in c++ :
plz reply soon i m nw in uva already frustrated...
:)


#include<iostream>
using namespace std;
int b[5001][1200]={0};
int arr[5001][1200];
void reverse(int a[][1200],int n)
{
int i=0,j;
while(a[n] !=-1) i++;
for(j=0;j<=i-1;j++) b[n][j]=a[n][i-j ...

Go to advanced search