上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 43 下一页
  2016年5月9日
摘要: Problem Description 有三个正整数a,b,c(0import java.util.Scanner;public class Main{ public static void main(String[] args) { Scanner sc= n... 阅读全文
posted @ 2016-05-09 13:45 cnxo 阅读(107) 评论(0) 推荐(0) 编辑
摘要: Problem Description 给你2个分数,求他们的和,并要求和为最简形式。Input 输入首先包含一个正整数T(T0){ int a = sc.nextInt(); int b =sc.nextInt(); ... 阅读全文
posted @ 2016-05-09 00:48 cnxo 阅读(114) 评论(0) 推荐(0) 编辑
  2016年5月8日
摘要: Problem Description 当寒月还在读大一的时候,他在一本武林秘籍中(据后来考证,估计是计算机基础,狂汗-ing),发现了神奇的二进制数。 如果一个正整数m表示成二进制,它的位数为n(不包含前导0),寒月称它为一个n二进制数。所有的n二进制数中,1的总个数被称为n对应... 阅读全文
posted @ 2016-05-08 18:06 cnxo 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Problem Description You are given N baskets of gold coins. The baskets are numbered from 1 to N. In all except one of the baskets, each gold ... 阅读全文
posted @ 2016-05-08 17:17 cnxo 阅读(160) 评论(0) 推荐(0) 编辑
摘要: UDP☆ UDP 将数据及源和目的封装成数据包中,不需要建立连接 每个数据报的大小在限制在64k内 因无连接,是不可靠协议 不需要建立连接,速度快DatagramSocket和DatagramPacket类 ☆ TCP 建立连接,形成传输数据的通道。 在连接中进行大数据量传输 通过... 阅读全文
posted @ 2016-05-08 16:15 cnxo 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 网络编程相关基础概念1、计算机网络与Internet 2、TCP/IP协议 3、Internet地址 - - -IP地址,形如xxx.xxx.xxx.xxx - - -域名系统。例如www.edu.cn *URL(统一资源定位符) 协议 :// 主机 [: 端口] ... 阅读全文
posted @ 2016-05-08 00:13 cnxo 阅读(219) 评论(0) 推荐(0) 编辑
  2016年5月6日
摘要: Problem Description You are the CEO of Nasty Hacks Inc., a company that creates small pieces of malicious software which teenagers may use to... 阅读全文
posted @ 2016-05-06 20:56 cnxo 阅读(146) 评论(0) 推荐(0) 编辑
摘要: Problem Description The International Clown and Pierrot Competition (ICPC), is one of the most distinguished and also the most popular events... 阅读全文
posted @ 2016-05-06 20:43 cnxo 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Problem Description Roy has just moved into a new apartment. Well, actually the apartment itself is not very new, even dating back to the day... 阅读全文
posted @ 2016-05-06 20:30 cnxo 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 说明:因为上个代码,总是要输入完整的绝对路径,比较麻烦,于是,就写了这个小程序,直接进入文件对话框选择需要运行的class文件。只需要提前输入完整的类名。注意:加的MyTest必须打个包,加上: import cn.hncu.myJuniitApp.vo.MyTest; 不然不是同... 阅读全文
posted @ 2016-05-06 19:51 cnxo 阅读(171) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 43 下一页