摘要:
1 #include<stdio.h> 2 #include<math.h> 3 4 int prime(int p); 5 void Goldbach(int n); 6 7 int main() 8 { 9 int m, n, i, cnt; 10 11 scanf_s("%d %d", &m, 阅读全文
摘要:
1 #include<stdio.h> 2 3 int fib(int n); 4 void PrintFN(int m, int n); 5 int main(void) 6 { 7 int m, n, t; 8 9 scanf_s("%d %d %d", &m, &n, &t); 10 prin 阅读全文
摘要:
1 #include<stdio.h> 2 3 int factorsum(int number); 4 void PrintPN(int m, int n); 5 6 int main(void) 7 { 8 int m, n; 9 10 scanf_s("%d %d", &m, &n); 11 阅读全文
摘要:
1 #include 2 3 int fn(int a, int n); 4 int SumA(int a, int n); 5 6 int main() 7 { 8 int a, n; 9 10 scanf_s("%d %d", &a, &n); 11 printf("fn(%d, %d) = %d\n", a, n, fn(a, n)); 1... 阅读全文
摘要:
1 #include 2 3 int main() 4 { 5 6 int i; 7 char ch_lower, ch_upper; 8 9 for (i = 1; i = 'a' && ch_lower %c->%d\n", ch_lower, ch_upper, ch_upper % 10); 16 } 17 ... 阅读全文
摘要:
1 #include 2 3 int main() 4 { 5 char ch; 6 printf("input characters:"); 7 ch = getchar(); 8 while (ch!='\n') 9 { 10 if (ch >= 'A' && ch = 'a' && ch <= 'z') 17 ... 阅读全文