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 1336. Problem of Ben Betsalel

Why if to remove m=n*n and k=n. wrong answer??????/
Posted by Виктор Крупко 1 Apr 2005 00:50
help me++++++++
Re: Why if to remove m=n*n and k=n. wrong answer??????/
Posted by wwwwww 1 Apr 2005 03:41
Probably you output it in one string?
I can not so have understood a condition
Posted by famas 1 Apr 2005 03:59
[code deleted]

Edited by moderator 23.06.2006 17:18
Re: I can not so have understood a condition
Posted by Burunduk1 1 Apr 2005 20:06
I submited your program, it really have WA 12,
but when I changed 'extended' to 'int64' it has got AC.

Edited by author 01.04.2005 20:06

Edited by author 01.04.2005 20:06
i didn't 'int64'
Posted by Виктор Крупко 1 Apr 2005 22:32
I do not know such type 'int64'.
How him to set?
Re: i didn't 'int64'
Posted by Burunduk1 1 Apr 2005 23:21
It's AC modification of your program.

Here was AC solution :)

Please, write me when you read I will delete it.

Edited by author 02.04.2005 03:09
Thanks!
Posted by Виктор Крупко 2 Apr 2005 00:20

You very good person!
Re: Thanks!
Posted by Виктор Крупко 2 Apr 2005 00:28
but
But,
At me in pascal gives out a mistake (3)! Why?
What compiler do you use? (+)
Posted by mara 2 Apr 2005 03:08
in tpx7 this type is not work. Try delphi or free pascal
How it is possible to solve problems on delphi???
Posted by Виктор Крупко 2 Apr 2005 03:59
How to enter the data?
How to deduce the data?
Re: How it is possible to solve problems on delphi???
Posted by Burunduk1 2 Apr 2005 04:12
You ask about using Delphi?
or about using type int64 in it?
See F.A.Q. for details about int64 type.
Posted by Vladimir Yakovlev (USU) 2 Apr 2005 08:25
I ask about using Delphi? I always solved problems in TP7, but there was not present such as 'int64'
Posted by Виктор Крупко 2 Apr 2005 14:14
Very easy (+)
Posted by mara 2 Apr 2005 16:50
New -> ... Console Application.
I do not remember exactly, because I use c++, but I did so in past.

Than you will to wright all like in TP7, but many features will be added. For exaple type int64.

Sorry for poor English ;)

Edited by author 02.04.2005 16:52
Re: Why if to remove m=n*n and k=n. wrong answer??????/
Posted by wangyin 17 Jun 2006 14:46
Got AC.
Just use int64.
Let m=n^2,k=n,then it's so easy....

Edited by author 17.06.2006 14:48
Re: Why if to remove m=n*n and k=n. wrong answer??????/
Posted by charlie 23 Dec 2006 19:24
Can I see your AC program?I can't solve it.
My email:charlie-wang-72@163.com