摘要: Java是一种区分大小写的强类型准动态语言, 没说jvm jre jdk的简单关系, 没说数据类型, 没写标识符,Java是一种区分大小写的强类型准动态语言遵循里氏替换原则 阅读全文
posted @ 2018-08-02 17:37 一根咸鱼干 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 转自: http://www.cnblogs.com/A-S-KirigiriKyoko/articles/6034572.html 我们知道当一个数为素数的时候,它的倍数肯定不是素数。所以我们可以从2开始通过乘积筛掉所有的合数。 将所有合数标记,保证不被重复筛除,时间复杂度为O(n)。 if(i 阅读全文
posted @ 2018-08-01 13:14 一根咸鱼干 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Java 学生管理系统使用JDBC了链接本地MySQL 数据库,因此在没有建立好数据库的情况下没法成功运行(数据库部分, Java界面部分, JDBC部分)资源下载: http://download.csdn.net/detail/deathislikethewind... 阅读全文
posted @ 2017-05-03 16:19 一根咸鱼干 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 原文地址1(连接MySQL图文) : http://www.cnblogs.com/GarfieldEr007/p/5746137.html 原文地址2 (修改MySQL图文): http://www.cnblogs.com/wuyuegb2312/p/3872607... 阅读全文
posted @ 2017-04-30 22:46 一根咸鱼干 阅读(2333) 评论(0) 推荐(1) 编辑
摘要: 凑算式 B DEF A + + = 10 C GHI (如果显示有问题,可以参见【图1.jpg】) 这个算式中A~I代表1~9的数字,不同的字母代表不同的数字。 比如: 6+8/3+952/714 就是一种解法, 5+3/1+972/486 是另一种解法。 这个算式一共有多少种解法? 注意:你提交应 阅读全文
posted @ 2017-03-23 20:49 一根咸鱼干 阅读(183) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <iostream> #include <algorithm> #include <stack> #include <cmath> #include <queue> using namespace std 阅读全文
posted @ 2017-02-09 18:25 一根咸鱼干 阅读(134) 评论(0) 推荐(0) 编辑
摘要: //克服假溢出现象 #include <stdio.h> #include <stdlib.h> #define LIST_INIT_SIZE 10 #define LISTINCREMENT 100 #define STACK_INIT_SIZE 100 #define STACKINCREMEN 阅读全文
posted @ 2017-01-02 22:13 一根咸鱼干 阅读(110) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #define LIST_INIT_SIZE 10 #define LISTINCREMENT 100 #define STACK_INIT_SIZE 100 #define STACKINCREMENT 10 #defi 阅读全文
posted @ 2017-01-02 22:11 一根咸鱼干 阅读(112) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #define LIST_INIT_SIZE 10 #define LISTINCREMENT 100 #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 阅读全文
posted @ 2017-01-02 22:10 一根咸鱼干 阅读(92) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <string.h> #include <stdlib.h> #define LIST_INIT_SIZE 10 #define LISTINCREMENT 100 #define STACK_INIT_SIZE 100 #define STA 阅读全文
posted @ 2017-01-02 22:08 一根咸鱼干 阅读(110) 评论(0) 推荐(0) 编辑