Search found 1 match

by computer_sc_girl
Fri Apr 07, 2006 12:51 pm
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 152635

hey i have a wrong answer to the same problem

may code is as follows :

#include<stdio.h>
#include<stdlib.h>
#include<iostream.h>

int main()
{
int x,arr[3000]={0},i=0,z[3000]={0},j=0,c=0;

while(cin>>x)
{
c=0;


for(i=0;i<x;i++)
{
cin>>arr ;

}
for(j=0;j<x-1;j++)
{
z[j]=abs(arr[j ...

Go to advanced search