Why if to remove m=n*n and k=n. wrong answer??????/
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
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'
I do not know such type 'int64'.
How him to set?
Re: i didn't 'int64'
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!
You very good person!
Re: Thanks!
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???
How to enter the data?
How to deduce the data?
Re: How it is possible to solve problems on delphi???
You ask about using Delphi?
or about using type int64 in it?
See F.A.Q. for details about int64 type.
I ask about using Delphi? I always solved problems in TP7, but there was not present such as 'int64'
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