This commit is contained in:
James 2020-04-24 13:51:21 +08:00
parent af24f23707
commit e862efa6c7
3 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@ long long dg(long long n){
if(n==1){ if(n==1){
return 1; return 1;
} }
return n+dg(n-1); return n*dg(n-1);
} }
int main() int main()
{ {

Binary file not shown.

View File

@ -1,18 +1,18 @@
## z:\Chao\src\1659_n!\test\in.txt ## z:\Chao\src\1659_n!\test\in.txt
2020/04/24 周五 13:42:16.59 2020/04/24 周五 13:46:26.28
1 1
----------------------------------------------- -----------------------------------------------
Process exited after 190 ms with return value 0 Process exited after 140 ms with return value 0
## z:\Chao\src\1659_n!\test\in2.txt ## z:\Chao\src\1659_n!\test\in2.txt
2020/04/24 周五 13:42:16.59 2020/04/24 周五 13:46:26.28
1307674368000 1307674368000
----------------------------------------------- -----------------------------------------------
Process exited after 100 ms with return value 0 Process exited after 90 ms with return value 0
## z:\Chao\src\1659_n!\test\in3.txt ## z:\Chao\src\1659_n!\test\in3.txt
2020/04/24 周五 13:42:16.59 2020/04/24 周五 13:46:26.28
24 24
----------------------------------------------- -----------------------------------------------
Process exited after 110 ms with return value 0 Process exited after 180 ms with return value 0