摘要:
``` #define _CRT_SECURE_NO_WARNINGS #include #include main() { int m[10],n, i, t, a, k; for (n = 2; n <= 1000; n++) //穷举n的取值范围 * { t = 0; a = n; k = 0 阅读全文
摘要:
``` #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<math.h> main() { int m[16],n, i, t, a; for (n = 100; n <= 999; n++) //穷举n的取值范围 * { t = 阅读全文
摘要:
``` #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #define N 10 void main() { int n[N]; int i, j, k, s = 0, flag, a; for (i = 0; i <= 256; i++) { a 阅读全文
摘要:
``` #define _CRT_SECURE_NO_WARNINGS #include main() { long i, j; for (i = 0; i <= 10000; i++) { for (j = 10;; j *= 10) if (i % j == i)break; if ((i * 阅读全文
摘要:
``` #define _CRT_SECURE_NO_WARNINGS #include main() { int i, j, s1, s2, n = 3000; for (j = 2; j j)printf("%d -- %d\n",j,s1); } } ``` ![](https://img20 阅读全文
摘要:
``` #define _CRT_SECURE_NO_WARNINGS #include main() { int i, j, s, n; printf("输入所范围的上限:"); scanf("%d", &n); for (j = 2; j <= n; j++) { s = 1; //保证每次循环 阅读全文
摘要:
``` #define _CRT_SECURE_NO_WARNINGS #include main() { int x, y, z, count = 1; printf("可能的兑换方法如下:\n"); for (x = 0; x <= 50; x += 10)/*x为1元硬币钱数,其取值为0,10 阅读全文
摘要:
``` #define _CRT_SECURE_NO_WARNINGS #include main() { int x, y, z, number = 0; printf(" Men Women Children\n"); /*将变量x的可能取值依次代入方程组*/ for (x = 0; x <= 阅读全文