#938. 谜之阶乘(factorial)
谜之阶乘(factorial)

【输入样例 1】
3
1
6
120
【输出样例 1】
-1
2
3 1
6 5
3
5 1
6 3
120 119

Statistics
Related
In following contests:

3
1
6
120
-1
2
3 1
6 5
3
5 1
6 3
120 119

In following contests:
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.