今天是公元二O一九年七月十二日星期五,我的收获如下:
数学学了分数裂差和裂和(1/2-1/3=1/6 (1/23)那1/23+1/3*4=1/2-1/3+1/3-1/4=1/2-1/4=1/4)
语文看了岳飞背景等
英语背了如下单词
depart delighted charge check in electronic disabled compare digital depressed complicated
#include <iostream>
using namespace std;
//寻找并输出11-999之间的数m,它满足m,me2,me3均为回文数,例如11e2=121,11e3=1331
//判断是否回文,除以10取余,将数翻转,比较原来的数,相等
bool symm (unsigned n){
unsigned i = n;
unsigned m = 0;
while (i>0){
m = m * 10 + i % 10;
i /= 10;
}
return m == n;
}
int main(){
for (unsigned m = 11; m < 1000; m++)
if (symm(m) && symm (m*m) && symm(m*m*m)){
cout << " m = " << m;
cout << "m * m = " << m * m;
cout << "m * m * m = " <<m * m * m <<endl;
}
return 0;
}