景苒的博客

导航

2022年3月24日 #

基于easyx的小时钟

摘要: #include <graphics.h> #include <math.h> #include <conio.h> #define PI 3.141592654 void Draw_Dial(); void Draw_Hand(int hour, int minute, int secend); 阅读全文

posted @ 2022-03-24 20:50 景苒 阅读(92) 评论(0) 推荐(0) 编辑

1.欧拉算法求100以内素数个数

摘要: class test { private static boolean[] check = new boolean[101];//这里定100会有越界错误 private static int[] primeList = new int[101]; private static void euler 阅读全文

posted @ 2022-03-24 20:39 景苒 阅读(219) 评论(0) 推荐(0) 编辑