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 1255. Graveyard of the Cosa Nostra

What's wrong with my solution?
Posted by NoName00 16 Mar 2003 09:37
var
  n,k:longint;
  kl:longint;
begin
  readln(n,k);

  kl:=(n*n-(n*n mod k))div k;

  write(kl);
end.
Re: What's wrong with my solution?
Posted by NoName00 16 Mar 2003 09:48
Thank you. I understand! It's wrong :(