#include <stdio.h> int n; void f(long long int t) { t*t-1; if(n-1==0) { return; } f(t-1); } int main() { scanf("%d", &n); printf("%lld\n", f(n)); }
To embed this project on your website, copy the following code and paste it into your website's HTML: