Search found 1 match

by wawando
Mon Nov 26, 2012 6:54 pm
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 153104

Re: 10038 - Jolly Jumpers

hello, I need some help here, I dunno where's the mistake of my code, i keep getting WA.
pls help :)

#include <cstdio>
#include <iostream>
#include <math.h>

using namespace std;

int main()
{
long long arr[3001];
int n;
while(scanf("%d",&n)!=EOF)
{
bool jolly=true;
bool used[3001];
for(int ...

Go to advanced search