Laster_Alex

KV3-NO1

Feb 15th, 2022 (edited)
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. var n: integer;
  2. begin
  3. readln(n);
  4. writeln(trunc(sqrt(1+(n*n*(n+1)*(n+1))/4)));
  5. end.
Add Comment
Please, Sign In to add comment