速求一个英语短片 40分钟左右 急用!!!!!
deceit some day more kids like play ball in the noon . also that is bad road in run go to ball place day i watch more kids run to ball place but i not told them not go it i only say to them so hot day go to swimming cause i not let them lose ball dream i say "who do swimming winer who win 100 dollar . so them not go do that bad way to play ball only go to river
public class test08 {
public static void main(String[] args) // 输出400以内的smith数
{
test08 tt = new test08();
int i, j, r, t = 0, sum = 0, sum1 = 1;
for (i = 0; i < 400; i++) {
t = i / 100 + i % 100 / 10 + i % 100 % 10; // 取i的各位数字和
for (j = 2; j < i; j++) {
if (i % j == 0) // 判断是否为i的一个因子
{
boolean isExist = false; // 判断是否需要重复加此素数
boolean b = tt.isSs(j); // 盘算是否是素数
if (i % (j * j) == 0 && i != j * j)
isExist = true;
if (b) {
r = j % 100 / 10 + j % 100 % 10; // 取因子各位数字和
sum1 *= j; // 素数因子累乘和
sum += r; // 因子数位累加和
if (isExist)
sum += r;
}
}
}
if (sum1 == i)// 输出满足的smith数
if (t == sum)
System.out.print(i + " ");
sum1 = 1;
sum = 0;
}
}
public boolean isSs(int j) { // 单独拿出来判断是否位素数 这样逻辑清晰一些
boolean b = true;
for (int k = 2; k <= Math.sqrt(j); k++) // 判断是否为素数
{
if (j % k == 0) {
b = false;
break;
}
}
return b;
}
}
http://www.xfjy9.com/ysyy/index.htm 英语动画有英语,英语下面是文字
阿基拉与拼字比赛(中间你选一部分就好了)
速求一个英语短片 40分钟左右 急用!!!!!视频
相关评论: