摘要:
大数据求阶乘,例如求 1977! #include "stdio.h" int main() { int i, j, n, num[10005]; int x = 0, y, len = 1; n = 1977; num[0] = 1; for(i = 2; i <= n; i++) { for(j 阅读全文
摘要:
样例输入 I am a student 样例输出 student 1 #include <stdio.h> 2 #include <string.h> 3 int main() 4 { 5 char a[100005], b[100005]; 6 int i, num = 0; 7 while (s 阅读全文
摘要:
样例输入 one little two little three little boys 样例输出 5学会将一个字符串分为多个字符串比较。 1 #include <stdio.h> 2 #include <string.h> 3 4 char a[10100]; 5 int f(){ 6 int i 阅读全文