fork download
  1. var
  2. i,j,a,b,pom,n:integer;
  3. begin
  4. readln(n);
  5. for i:=1 to n do
  6. begin
  7. pom:=1;
  8. readln(a,b);
  9. for i:=1 to b do
  10. pom:=pom*a;
  11. writeln(pom);
  12. end;
  13. end.
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Free Pascal Compiler version 2.2.0 [2009/11/16] for i386
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Linux for i386
Compiling prog.pas
prog.pas(9,7) Error: Illegal assignment to for-loop variable "i"
prog.pas(13,4) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled)
stdout
Standard output is empty