问题描述
Oh Jesus! The Minecraft Server of XadillaX's came across a bug!
There's one way to solve this bug in game. That is to get a bucket of water and a bucket of lava and mix them to obsidian. But ...
分类:
其他好文 时间:
2014-05-10 10:13:22
阅读次数:
307
Open the Dragon Scroll
Did you ever hear about 'Dragon Food' ? Its used to refer to the chocolates bought for your loved ones :). Po offers dragon food to master Shifu, who is a famous cook in th...
分类:
其他好文 时间:
2014-05-10 10:06:11
阅读次数:
382
链接:http://poj.org/problem?id=2421 或 http://acm.hdu.edu.cn/showproblem.php?pid=1102
Problem Description
There are N villages, which are numbered from 1 to N, and you should build some roads ...
分类:
其他好文 时间:
2014-05-10 09:34:09
阅读次数:
389
这在附另一个转柱形图的效果及代码.
原PHP报表效果:
转成Excel后的效果:
附上代码:
<?php
/**
* PHPExcel
*
* Copyright (C) 2006 - 2014 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify ...
分类:
Web程序 时间:
2014-05-10 02:19:56
阅读次数:
553
John is going on a fishing trip. He has h hours available (1 <= h <= 16), and there are n lakes in the area (2 <= n <= 25) all reachable along a single, one-way road. John starts at lake 1, but he can finish at any lake he wants. He can only travel from on...
分类:
其他好文 时间:
2014-05-07 08:48:52
阅读次数:
515
【题目】
原文:
1.3 Design an algorithm and write code to remove the duplicate characters in a string without using any additional buffer. NOTE: One or two additional variables are fine. An
extra copy of...
分类:
其他好文 时间:
2014-05-07 08:48:12
阅读次数:
372
题目大意:
有一种猜数字的游戏,你有G次机会以及L点生命值,游戏首先给定一个范围1~N,你要来猜在此范围内的一个数字X。你的每次猜测都会告诉你是猜高了还是低了,每次猜测都要损失一次猜测机会(即G--),但如果你猜的值比X高了,那么同时还要损失一点生命值(L--)。
现在主办人面临一个问题:若给定的范围太大,就有很有可能导致参赛者用尽机会和生命值也猜不到这个X;而范围太小的话又降低了趣味性。所以,需要你来帮忙,根据给定的G和L来确定一个尽量大的范围,同时确保该范围内的所有数字都是一定可以被猜到的。...
分类:
其他好文 时间:
2014-05-07 08:27:26
阅读次数:
387
ITeacherServiceImpl.java:
/**
* @Title:ITeacherServiceImpl.java
* @Package:com.you.service.impl
* @Description:
* @author:Youhaidong(游海东)
* @date:2014-5-5 下午11:08:39
* @version V1.0
*/
package...
分类:
Web程序 时间:
2014-05-07 07:11:05
阅读次数:
434
ITeacherService.java:
/**
* @Title:ITeacherService.java
* @Package:com.you.service
* @Description:教师Service接口
* @author:Youhaidong(游海东)
* @date:2014-5-5 下午11:06:24
* @version V1.0
*/
package c...
分类:
Web程序 时间:
2014-05-07 06:38:47
阅读次数:
504
Teacher.java:
/**
* @Title:Teacher.java
* @Package:com.you.model
* @Description:老师封装类
* @author:Youhaidong(游海东)
* @date:2014-5-5 下午11:03:13
* @version V1.0
*/
package com.you.model;
import ja...
分类:
Web程序 时间:
2014-05-07 06:23:18
阅读次数:
353