fork download
  1. int factorial(int 5){
  2. int res=1;
  3. for(int i=5;i>0;i--){
  4. res *= i;
  5. }
  6. return res;
  7. }
  8.  
Runtime error #stdin #stdout 0.18s 159232KB
stdin
Standard input is empty
stdout
./prog.factor

1:       int factorial(int 5){
            ^
No word named “int” found in current vocabulary search path