java
JINKELA_
坚持做你自己
展开
-
hdoj2003求绝对值(java)
求绝对值Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 108433 Accepted Submission(s): 53309Problem Description求实数的绝对值。 Input原创 2016-04-26 12:53:27 · 681 阅读 · 0 评论 -
hdoj2014(java)青年歌手大奖赛_评委会打分(数组万岁!!!)
青年歌手大奖赛_评委会打分Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 72309 Accepted Submission(s): 35903Problem Description青年歌手大奖赛中,评委会原创 2016-05-03 11:17:10 · 2198 阅读 · 0 评论 -
hdoj2021 (java) 发工资咯:)(二维数组&&绝对值)
发工资咯:)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 49697 Accepted Submission(s): 27113Problem Description作为杭电的老师,最盼望的日子就是每原创 2016-05-14 18:31:54 · 692 阅读 · 0 评论 -
hdoj2021 (java) 发工资咯:)(二维数组&&绝对值)
海选女主角Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 50656 Accepted Submission(s): 22455Problem Descriptionpotato老师虽然很喜欢教书,但是原创 2016-05-14 18:36:15 · 528 阅读 · 0 评论 -
hdoj2023(java)求平均成绩(二维数组+一维数组+格式问题+行转化列)
求平均成绩Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 100836 Accepted Submission(s): 23407Problem Description假设一个班有n(n I原创 2016-05-15 22:12:28 · 1640 阅读 · 0 评论 -
hdoj 1089~1096 八道简单A+B问题 (JAVA)
1089Sample Input1 510 20Sample Output630import java.util.*;import java.math.*;import java.io.*;public class Main1 { public static void main(String[] args) { // TODO Auto-generated原创 2016-04-24 10:10:40 · 1386 阅读 · 1 评论 -
hdoj2015(java)偶数求和 (找规律,总结)常看
偶数求和Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 72936 Accepted Submission(s): 31032Problem Description有一个长度为n(n Input原创 2016-05-08 17:59:37 · 1358 阅读 · 0 评论 -
hdoj2016(java)数据的交换输出(数组交换)
数据的交换输出Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 86725 Accepted Submission(s): 32499Problem Description输入n(n Inpu原创 2016-05-08 18:02:13 · 683 阅读 · 0 评论 -
hdoj2017字符串统计(字符串转换字符串数组)常看
字符串统计Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 66335 Accepted Submission(s): 36304Problem Description对于给定的一个字符串,统计其中数字字符出原创 2016-05-08 18:05:24 · 776 阅读 · 0 评论 -
hdoj2001 计算两点间的距离
计算两点间的距离Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 171998 Accepted Submission(s): 60365Problem Description输入两点坐标(X1,Y1),(X原创 2016-04-24 15:43:53 · 524 阅读 · 0 评论 -
hdoj 2002计算球体积(java)
计算球体积Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 127473 Accepted Submission(s): 52034Problem Description根据输入的半径值,计算球的体积。原创 2016-04-24 16:12:29 · 676 阅读 · 0 评论 -
android—DatePicker 和TimePicker显示日期以及使用TimePickerDialog,DatePickerDialog来专门实现时间选择对话框
datePicker 和timePicker 显示日期和时间的控件1.二个控件初始化2.int定义 年 月 日 时 分3.Calendar 类时间操作 创建Calendar对象 要 Calendar.getinStance();4. year=calendar.get(Calendar.Year); Month=calendar.get(Calendar.原创 2016-07-26 10:35:00 · 1574 阅读 · 0 评论 -
android----Spinner下拉列表控件
Spinner就是有下拉列表功能的控件1.在布局文件新建TextView,Spinner2.初始化它们3.新建一个数据源list List new Arraylist4.添加数据list.add();5.新建一个适配器数组适配器 arrayAdapter=new ArrayAdapter(this,android.R.layout.simple_list_item_1原创 2016-07-26 17:46:24 · 795 阅读 · 0 评论 -
hdoj2013(java) 找规律 蟠桃记
蟠桃记Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 52568 Accepted Submission(s): 39179Problem Description喜欢西游记的同学肯定都知道悟空偷吃蟠桃的故事原创 2016-05-03 11:15:39 · 1084 阅读 · 0 评论 -
hdoj2012(java)素数判定
素数判定Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 113999 Accepted Submission(s): 40076Problem Description对于表达式n^2+n+41,当n在(x,原创 2016-05-03 11:13:40 · 909 阅读 · 0 评论 -
hdoj2011 (java)多项式求和
多项式求和Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 65082 Accepted Submission(s): 37387Problem Description多项式的描述如下:1 - 1/2 +原创 2016-05-03 11:12:16 · 1401 阅读 · 0 评论 -
hdoj2004(java)成绩转换
成绩转换Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 117317 Accepted Submission(s): 51466Problem Description输入一个百分制的成绩t,将其转换成对应的原创 2016-04-26 12:56:45 · 1036 阅读 · 0 评论 -
hdoj 1002 A + B Problem II 大数
A + B Problem IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 302658 Accepted Submission(s): 58410Problem DescriptionI have a原创 2016-04-09 21:08:18 · 383 阅读 · 0 评论 -
1005 hdoj Number Sequence (java函数格式)
Number SequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 145944 Accepted Submission(s): 35462Problem DescriptionA number se原创 2016-04-09 22:08:22 · 673 阅读 · 0 评论 -
hdoj 2005(java) 第几天?
第几天?Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 120906 Accepted Submission(s): 43862Problem Description给定一个日期,输出这个日期是该年的第几天原创 2016-04-26 16:18:05 · 902 阅读 · 0 评论 -
hdoj2006(java)求奇数的乘积
求奇数的乘积Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 75486 Accepted Submission(s): 47250Problem Description给你n个整数,求他们中所有奇数的乘积。原创 2016-04-26 22:20:40 · 609 阅读 · 0 评论 -
hdoj2007(java)平方和与立方和
平方和与立方和Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 139859 Accepted Submission(s): 44757Problem Description给定一段连续的整数,求出他们中所有原创 2016-04-27 19:06:13 · 2261 阅读 · 0 评论 -
hdoj2008 (java)数值统计
数值统计Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 86803 Accepted Submission(s): 42574Problem Description统计给定的n个数中,负数、零和正数的个数。原创 2016-04-27 19:08:19 · 947 阅读 · 0 评论 -
hdoj2009 (java)求数列的和
求数列的和Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 67832 Accepted Submission(s): 41372Problem Description数列的定义如下:数列的第一项为n,以原创 2016-04-27 19:10:41 · 1352 阅读 · 0 评论 -
hdoj2010(java)水仙花数 格式格式!!!!!!!!!!!!!!
水仙花数Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 158259 Accepted Submission(s): 45537Problem Description春天是鲜花的季节,水仙花就是其中最迷人的原创 2016-04-28 18:39:03 · 869 阅读 · 0 评论 -
hdoj 2018(java)母牛的故事(斐波那契数列)
母牛的故事 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)原创 2016-05-12 19:05:17 · 749 阅读 · 0 评论 -
hdoj 2019(java)数列有序!(数组+for循环 ;i<n;i++)
数列有序!Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 72671 Accepted Submission(s): 30762Problem Description有n(n Inp原创 2016-05-12 19:08:08 · 1033 阅读 · 0 评论 -
hdoj 2020 (java)绝对值排序(Math.abs()函数应用以及数组冒泡排序)
绝对值排序Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 64703 Accepted Submission(s): 31130Problem Description输入n(n In原创 2016-05-12 19:10:27 · 1475 阅读 · 0 评论 -
IO流之字节流
io流 :就是应用于程序之间进行信息交互。可以分为字节流和字符流。也可以分为输入流和输出流。字节流就是以二进制的形式进行传输,究其本质,最终都转换成二进制代码进行交互。 我们可以把文件传输看成管道传输。 文件输入流:package io;import java.io.*;public class test { public static void main(String[原创 2016-12-19 16:15:37 · 399 阅读 · 0 评论