ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1007. Code Words

Problem with 1007
Posted by ValkaVales 21 Oct 2000 03:25
Problem 1007 is simple, but I can't get 'accept'.
Can somebody help me?
Re: Problem with 1007
Posted by Dinh Quang Hiep (mg9h@yahoo.com) 22 Oct 2000 13:40
are u sure your program is not wrong????

> Problem 1007 is simple, but I can't get 'accept'.
> Can somebody help me?
>
Re: Problem with 1007
Posted by ValkaVales 22 Oct 2000 15:32
> are u sure your program is not wrong????
>
> > Problem 1007 is simple, but I can't get 'accept'.
> > Can somebody help me?
> >
Re: Problem with 1007
Posted by ValkaVales 22 Oct 2000 16:54
> are u sure your program is not wrong????
>
> > Problem 1007 is simple, but I can't get 'accept'.
> > Can somebody help me?
> >

if I've understood the problem's conditions right, my
program is absolutly right too (I think so). I've check it
by a lot of different tests.

But I am not sure in the following propety of original
words:

"Лach original word has the following property: the sum of
positions where symbols 1 are located is a multiple of
(N+1) or equal to zero".

Is it true ?
Or I must calculate this sum for ALL original words ?