tbs0006.pp 254 B

123456789101112131415161718
  1. uses
  2. erroru;
  3. var
  4. a,b,c,d,e,f,g,r : double;
  5. begin
  6. a:=10.0;
  7. b:=11.0;
  8. c:=13.0;
  9. d:=17.0;
  10. e:=19.0;
  11. f:=23.0;
  12. r:=2.0;
  13. a:= a - 2*b*e - 2*c*f - 2*d*g - Sqr(r);
  14. writeln(a,' (must be -1010)');
  15. if a<>-1010.0 then
  16. Error;
  17. end.