摘要:
#include <iostream> using namespace std; int main(int argc, char const *argv[]) { // 乘法口诀表 for(int i=1; i<10; i++) { for(int j=1; j<=i; j++) { cout << 阅读全文
posted @ 2021-10-14 00:10
十一的杂文录
阅读(40)
评论(0)
推荐(0)
摘要:
int i, a, b; for (i = 1000; i < 10000; i++) { a = i / 100; b = i % 100; if ((a + b) * (a + b) == i) cout << i << endl; } 阅读全文
posted @ 2021-10-14 00:09
十一的杂文录
阅读(145)
评论(0)
推荐(0)
摘要:
int i, x, y, z; for (i = 100; i < 1000; i++) { x = i % 10; y = i / 10 % 10; z = i / 100; if (x * x * x + y * y * y + z * z * z == i) cout << i << endl 阅读全文
posted @ 2021-10-14 00:08
十一的杂文录
阅读(54)
评论(0)
推荐(0)


浙公网安备 33010602011771号