马上要去上海了,刷刷现场赛的题找找感觉~~~
这题。。。。。。。额,没什么好说的,太水。。
ZOJ Problem Set - 3819
Average Score
Time Limit: 2 Seconds
Memory Limit: 65536 KB
Bob is a freshman in Marjar University. He is cleve...
分类:
其他好文 时间:
2014-11-22 21:39:50
阅读次数:
382
ZOJ Problem Set - 3827
Information Entropy
Time Limit: 2 Seconds
Memory Limit: 65536 KB Special Judge
Information Theory is one of the most popular courses in Marjar University. In...
分类:
其他好文 时间:
2014-11-22 21:39:11
阅读次数:
376
Choosing number
Time Limit: 2 Seconds
Memory Limit: 65536 KB
There are n people standing in a row. And There are m numbers, 1.2...m. Every one should choose a number. But if two persons ...
分类:
其他好文 时间:
2014-11-22 14:44:25
阅读次数:
142
Java主线程等待所有子线程执行完毕在执行,其实在我们的工作中经常的用到,比如说主线程要返回一个响应用户的值,但这个值得赋值过程是由过个子线程来完成的(模拟一个实际开发的情景),所以主线程必须等待子线程执行完毕,再响应用户;否则,响应用户的是一个无意义的值。
那么如何确保所有的子线程执行完毕了。一般的有如下方法:
1 让主线程等待,或着睡眠几分钟。用Thread.sleep()或者TimeUnit.SECONDS.sleep(5);
2 使用Thread的join()等待所有的子线程执行完毕,...
分类:
编程语言 时间:
2014-11-22 00:50:19
阅读次数:
257
using UnityEngine;using System.Collections;public class time1 : MonoBehaviour { float time = 0; int minutes,seconds,microseconds; //publi...
分类:
编程语言 时间:
2014-11-21 14:16:49
阅读次数:
218
Problem B: Andy's First Dictionary
Time limit: 3 seconds
Andy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task for him, as the number of wo...
分类:
其他好文 时间:
2014-11-20 23:43:25
阅读次数:
299
Martian Addition
Time Limit: 2 Seconds Memory Limit: 65536 KB
In the 22nd Century, scientists have discovered intelligent residents live on the Mars. Martians are very fond of mathematics...
分类:
其他好文 时间:
2014-11-19 20:39:08
阅读次数:
205
Percona Toolkit 2.2.12 发布了,Percona Toolkit 是一组高级的命令行工具,用来管理 MySQL 和系统任务。改进内容包括:New Features:pt-stalknow gathersdmesgoutput from up to 60 seconds befor...
分类:
数据库 时间:
2014-11-19 10:40:29
阅读次数:
261
Most PowerfulTime Limit: 2 Seconds Memory Limit: 65536 KBRecently, researchers on Mars have discovered N powerful atoms. All of them are different. Th...
分类:
其他好文 时间:
2014-11-18 01:34:47
阅读次数:
208
Food Delivery
Time Limit: 2 Seconds Memory Limit: 65536 KB
When we are focusing on solving problems, we usually prefer to stay in front of computers rather than go out for lunch. At thi...
分类:
其他好文 时间:
2014-11-17 22:57:23
阅读次数:
529