FACTORIAL PROBLEM

https://www.spoj.com/problems/FIBEZ/ PROBLEM
https://ide.geeksforgeeks.org/XFgPatzFhm SOLUTION
GETTING WA PLEASE HELP

why you are using i*res(i). u have to calculate fibonacci no here

refer here for the working code