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

Common Board

A Pascal Question
Posted by Ivan Georgiev 13 Sep 2001 20:40
Aren't these two statements equivalent?

Move(Mas[l],Mas[l+1],(i-l)*2);

For j:=i downto l+1 do Mas[j]:=Mas[j-1];

Thank you.
I don't know really
Posted by Marat Bakirov 14 Sep 2001 15:27
Re
Posted by Ilya V. Elterman 18 Sep 2001 19:45
They are equivalent only if SizeOf(Mas[i])=2
SizeOf(Integer)=4 in Delphi compiler.