_覓 | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁 |
FrontPage › 蠏
|
|
蠏襯 伎 4!螻
#include <stdio.h> #include <stdlib.h> int r(int); int main(int argc, char *argv[]) { int n = 4; printf("%d!=%d\n", n, r(n)); system("PAUSE"); return 0; } int r(int n) { if (n < 0) return 0; else if (n == 0) return 1; else if (n == 1) return 1; else return n * r(n-1); }
鏤
|
襭 襭 蠍語企 螳螻 玖骸 苦 蠍語企 るゴ. |