自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

欢迎访问胡宝全的博客

欢迎大家拍砖,和大家一起进步!

  • 博客(4)
  • 资源 (14)
  • 收藏
  • 关注

原创 PTA 5-7 12-24小时制 (15分)

编写一个程序,要求用户输入24小时制的时间,然后显示12小时制的时间。输入格式:输入在一行中给出带有中间的:符号(半角的冒号)的24小时制的时间,如12:34表示12点34分。当小时或分钟数小于10时,均没有前导的零,如5:6表示5点零6分。提示:在scanf的格式字符串中加入:,让scanf来处理这个冒号。输出格式:在一行中输出这个时间对应的12小时制的时

2016-07-29 09:21:38 4455

原创 PTA 5-13 日K蜡烛图 (15分)

股票价格涨跌趋势,常用蜡烛图技术中的K线图来表示,分为按日的日K线、按周的周K线、按月的月K线等。以日K线为例,每天股票价格从开盘到收盘走完一天,对应一根蜡烛小图,要表示四个价格:开盘价格Open(早上刚刚开始开盘买卖成交的第1笔价格)、收盘价格Close(下午收盘时最后一笔成交的价格)、中间的最高价High和最低价Low。如果CloseOpen,表示为“BW-Solid”(即“实心蓝白蜡

2016-07-29 09:19:21 2953

原创 PTA 5-4 BCD解密 (10分)

BCD数是用一个字节来表达两位十进制的数,每四个比特表示一位。所以如果一个BCD数的十六进制是0x12,它表达的就是十进制的12。但是小明没学过BCD,把所有的BCD数都当作二进制数转换成十进制输出了。于是BCD的0x12被输出成了十进制的18了!现在,你的程序要读入这个错误的十进制数,然后输出正确的十进制数。提示:你可以把18转换回0x12,然后再转换回12。输入格式:输

2016-07-29 09:05:32 3629

原创 PTA 5-2 然后是几点

有时候人们用四位数字表示一个时间,比如1106表示11点零6分。现在,你的程序要根据起始时间和流逝的时间计算出终止时间。读入两个数字,第一个数字以这样的四位数字表示当前时间,第二个数字表示分钟数,计算当前时间经过那么多分钟后是几点,结果也表示为四位数字。当小时为个位数时,没有前导的零,即5点30分表示为530。注意,第二个数字表示的分钟数可能超过60,也可能是负数。输入格式:

2016-07-29 08:46:37 3416

WindowsPCHealthCheckSetup.msi电脑健康状况检查Windows11/Win11升级检查

电脑健康状况检查,Windows11/Win11升级检查

2021-06-26

华为ADB驱动.rar

华为ADB驱动.rar华为ADB驱动.rar华为ADB驱动.rar华为ADB驱动.rar

2017-10-13

adb_tools-2.0

adb_tools-2.0,android调adb以及fastboot。adb_tools-2.0,android调adb以及fastboot。

2017-10-13

busybox1.27.1_binary

非安装版,包含382个busybox小工具,直接解压可用。Linux和Android都可以。

2017-10-13

jython.jar

Welcome to Jython 2.5.2 ======================= This is the final 2.5.2 release of Jython. It contains the fixes of the blocker bugs since 2.5.2 release candidate 3. This release fixes bugs related to resource leaks, Java integration, and a number of other issues. See the NEWS file for more details. In particular, we did not completely fix #1327, "Classloaders cannot GC, which exhausts permgen." Jython uses instances of ThreadLocal-managed class, ThreadState, to manage its execution state, including frames, exceptions, and the global namespace. The ThreadState also indirectly refers to the ClassLoaders used by Jython. Such usage can cause resource leaks when a Jython application is restarted under certain app containers, because the ThreadState often may not cleaned up by the app server's thread pool. Fixing this problem without a backwards breaking API change appears to be difficult. Therefore we recommend exploring workarounds, such as the one published in this blog post, http://weblogs.java.net/blog/jjviana/archive/2010/06/09/dealing-glassfish-301-memory-leak-or-threadlocal-thread-pool-bad-ide Jython 2.6 will introduce limited backwards breaking API changes, so it will be possible to fully resolve this bug, and related issues, in that version instead. And -- last but not least -- please help spread the word: Organizations using Jython 2.2.1, or earlier, should test their code against 2.5.2 beta 2 now so that bug fixes and/or workarounds may be identified. In particular, please note the following: * No additional work is anticipated on Jython 2.2. * Jython 2.5.2 is the last release in Jython 2.5.x series that will address non-severe issues, including Java integration issues. * Jython 2.6 development will begin immediately following the 2.5.2 release. Jython 2.6 will require the use of JDK 6. The release was compiled on Mac OS X with JDK 5 and requires JDK 5 to run. Please try it out and report any bugs at http://bugs.jython.org.

2016-07-29

TI CC2540 USB CDC Serial Port

TI CC2540 USB CDC Serial Port

2016-07-29

Calculator VC MFC 做的简单计算器

Calculator VC MFC 做的简单计算器 包里有:基于VC的MFC计算器案例步骤及源代码,从网上下载的一个支持表达式计算的计算器源码包,自己做的一个简单计算器,能实现加减乘除等基本计算,可以不清零直接进行后续计算,包括使用上次结果计算和重新开始一次计算

2016-07-29

设计一个模拟计算器的程序,要求能对包含加、减、乘、除、括号运算符及SQR和ABS函数的任意整型表达式进行求解。

设计一个模拟计算器的程序,要求能对包含加、减、乘、除、括号运算符及SQR和ABS函数的任意整型表达式进行求解。

2016-07-29

crawler4j-3.5-all.rar crawler4j最新依赖包+ 源码 3.5版本

crawler4j最新依赖包+ 源码 3.5版本

2016-07-29

org.apache.http jar包

import org.apache.http.Header; import org.apache.http.HttpException; import org.apache.http.HttpRequest; import org.apache.http.HttpRequestInterceptor; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; import org.apache.http.NameValuePair; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.conn.scheme.Scheme; import org.apache.http.conn.ssl.SSLSocketFactory; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.message.BasicNameValuePair; import org.apache.http.params.CoreConnectionPNames; import org.apache.http.protocol.HttpContext; jar包

2016-07-29

使用SQL Server开发服务器端应用程序

在学生-课程数据库中,编写存储过程或触发器,完成以下功能: 1.将一个新学生元组(通过实参得到)插入student表中; 2.将一个新课程元组(通过实参得到)插入course表中; 3.输入某个学生的某门课程成绩(通过实参得到); 4.逐条(使用游标)浏览某个系(通过实参得到)的学生记录; 5.统计任意一门课程的成绩分布情况,即按照各分数段统计人数; 6.统计每个学生(通过实参得到)的平均成绩及排名; 7.将学生选课成绩从百分制改为等级制(即A、B、C、D、E)显示。 8.创建一个触发器,删除学生表中记录的同时删除选修表中相应的选课记录。

2016-06-06

Java数据结构和算法

Java数据结构和算法

2016-06-06

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除