#!/usr/bin/env python # -*- coding: utf-8 -*- # @Date : 2018-04-29 12:16:23 # @Author : hjc (284738209@qq.com) # @Link : http://www.cnblogs.com/tootoo ...
分类:
其他好文 时间:
2018-05-01 12:23:52
阅读次数:
189
n个人,已知每个人体重。独木舟承重固定,每只独木舟最多坐两个人,可以坐一个人或者两个人。显然要求总重量不超过独木舟承重,假设每个人体重也不超过独木舟承重,问最少需要几只独木舟? Input Output Input示例 Output示例 ...
分类:
其他好文 时间:
2018-04-30 22:17:17
阅读次数:
198
Problem Description There are n houses in the village and some bidirectional roads connecting them. Every day peole always like to ask like this "How ...
分类:
编程语言 时间:
2018-04-30 18:03:26
阅读次数:
183
第五次作业:多线程电梯 多线程的协同和同步控制: 本次作业一共有以下几个线程:读入处理线程inputHandler,单个电梯运行线程elevatorRun*3,任务分派线程newNewDispatch。 inputHandler线程用来读入并判断是否合法,提取指令并将其放入总指令队列。 每个elev ...
分类:
其他好文 时间:
2018-04-30 18:01:58
阅读次数:
130
In this lesson I refactor a React component that utilizes a higher-order component for mutations to the new Mutation render prop component baked into ...
分类:
其他好文 时间:
2018-04-30 16:44:24
阅读次数:
189
In the Fibonacci integer sequence, F0 = 0, F1 = 1, and Fn = Fn ? 1 + Fn ? 2 for n ≥ 2. For example, the first ten terms of the Fibonacci sequence are: ...
分类:
其他好文 时间:
2018-04-30 13:28:31
阅读次数:
136
一 public class City implements Serializable 实现了Sericalizable接口,只是一种标志。表示可以被序列化。 java的ObjectOutputStream、ObjectInputStream类能对实现了Serializable接口的对象实现序列化与 ...
分类:
编程语言 时间:
2018-04-30 11:57:53
阅读次数:
2593
20165336 2016 2017 2 《Java程序设计》第9周学习总结 教材学习内容总结 1、URL类:URL类是java.net包中的一个重要的类,使用URL创建对象的应用程序称作客户端程序。 2、一个URL对象通常包含最基本的三部分信息:协议、地址、资源。 3、UEL构造方法: 4、读取U ...
分类:
编程语言 时间:
2018-04-29 22:40:11
阅读次数:
280
題目: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would hav ...
分类:
其他好文 时间:
2018-04-29 21:15:38
阅读次数:
148
一、教材内容学习总结 URL类 1、URL 类是 java.net 包中的一个重要的类,使用 URL 创建对象的应用程序称为客户端程序。 2、一个 URL 对象通常包含最基本的三部分信息:协议、地址和资源 3、URL 对象的构造方法: 4、URL 对象调用 方法可以返回一个输入流,该输入流指向 UR ...
分类:
编程语言 时间:
2018-04-29 19:54:56
阅读次数:
189