摘要:
#include <stdio.h> int fun(int x) { int a, b, c; a = x / 100; b = x % 100 / 10; c = x % 10; if (x == a * a * a + b * b * b + c * c * c) return 1; else 阅读全文
摘要:
#include<stdio.h> int main() { int i, j, t; for (i = 2; i <= 1000; i++) { int t = 1; for (j = 2; j < i; j++) { if (i%j == 0) { t = 0; break; } } if (t 阅读全文