摘要:
//统计[1,100]之间的素数个数,并求和 #include <stdio.h> #include <math.h> #include <stdbool.h> bool isPrime(int ); int main() { int num; // scanf("%d", &num); int s 阅读全文
posted @ 2020-06-14 19:23
profesor
阅读(927)
评论(0)
推荐(0)
摘要:
//把02.txt中的内容写入到05.txt中 import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; public class Backup { public static void mai 阅读全文
posted @ 2020-06-14 18:31
profesor
阅读(130)
评论(0)
推荐(0)
摘要:
public class ArrayDemo { public static void main(String[] args) { int[] a = {1, -9, 34, 67, 0, 12 ,34 ,5, 6, 11}; System.out.println(Sum(a)); } static 阅读全文
posted @ 2020-06-14 17:52
profesor
阅读(527)
评论(0)
推荐(0)
摘要:
//用PrintWriter写入文件 import java.io.IOException; import java.io.PrintWriter; public class PrintWriteDemo { public static void main(String[] args) throws 阅读全文
posted @ 2020-06-14 17:50
profesor
阅读(2885)
评论(0)
推荐(0)

浙公网安备 33010602011771号