Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as C++ by thinh0212_Uneti ( 5 years ago )
#include <iostream>

using std::cout;
using std::cin;
using std::endl;

long long tich_Chan_Le(int n) {
	if(n <= 1) return 1;
	return n * tich_Chan_Le(n - 2);
}

int main() {
	int n;
	cin >> n;
	cout << "Tich Chan Le: " << tich_Chan_Le(n) << endl;
	return 0;
}

 

Revise this Paste

Parent: 116131
Your Name: Code Language: