fork download
  1. uses math;
  2.  
  3. var cislo : string;
  4. i, bin : integer;
  5.  
  6. begin
  7. readln(cislo);
  8. bin := 0;
  9.  
  10. for i := length(cislo) downto 1 do
  11. begin
  12. bin := bin * integer(cislo[i]);
  13. end;
  14.  
  15. writeln(bin);
  16. end.
Success #stdin #stdout 0.02s 400KB
stdin
Standard input is empty
stdout
0