Advertisement
CyberPascal

Untitled

Mar 26th, 2014
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.40 KB | None | 0 0
  1. Program Test; uses crt;
  2.  
  3. var time:longint absolute $0:$046C;
  4.     timestart,timeend: longint;
  5.  
  6. Begin clrscr;
  7. TimeStart:=Time; {Начало выполнения программы}
  8.  
  9. {Тело программы}
  10.  
  11. TimeEnd:=Time; {Конец выполнение программы}
  12.  
  13. Writeln(' Время выполнения программы: ',(TimeEnd-TimeStart)/18.2:2:5,' сек.');
  14. Readln;
  15. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement