Description
Happy Birthday
Today it's February 13th. It's a very special day: Miguel's birthday! Like every year, he's organised a big celebration for all his friends. He pr...
分类:
移动开发 时间:
2014-08-16 19:51:52
阅读次数:
267
小猪的Android入门之路 Day 7 part 1
Android的数据存储与访问之——文件
在开始本节之前先复习下前六天学到的知识点...
如果前面六天学的你都会了,就可以部署一些比较简单的App了,你可以做出一个自定义的UI界面,实现一些点击
页面跳转!好了,假如现在要我们做一个简单的记事本,相信大家都噼里啪啦地做出自己的界面来了,但是真正写
东西进去,那些信息保存去哪里?我们貌似只学过往Intent里putExtras()写入Bundle类型的数据,但是如果
我们下次重新开软件呢?之前写的东西都不...
分类:
移动开发 时间:
2014-08-16 13:53:00
阅读次数:
288
#计算两个时间的间隔#计算间隔天数select TIMESTAMPDIFF(day,'2014-06-01',date(now()))#计算间隔月数select TIMESTAMPDIFF(month,'2014-01-01',date(now()))#计算间隔年数select TIMESTAMPD...
分类:
数据库 时间:
2014-08-16 13:46:20
阅读次数:
259
Detect the Virus
Time Limit: 2 Seconds Memory Limit: 65536 KB
One day, Nobita found that his computer is extremely slow. After several hours' work, he finally found that it was a virus that...
分类:
其他好文 时间:
2014-08-16 09:44:50
阅读次数:
377
One day, Twilight Sparkle is interested in how to sort a sequence of integersa1,?a2,?...,?anin non-decreasing order. Being a young unicorn, the only o...
分类:
其他好文 时间:
2014-08-15 20:55:49
阅读次数:
206
Problem Description
Some people believe that there are three cycles in a person's life that start the day he or she is born. These three cycles are the physical, emotional, and intellectual cycles,...
分类:
其他好文 时间:
2014-08-15 17:58:59
阅读次数:
240
1 window.onload = function(){ 2 var uS = 604800; //后台提供 : 秒 3 var day=hour=minute=second=0, timer; 4 var demo = document.getElementById(...
分类:
Web程序 时间:
2014-08-15 17:45:29
阅读次数:
210
#include void main(){ int year,month,day,sum,m; printf("请输入年月日(如:1991,1,1)\n"); scanf("%d,%d,%d",&year,&month,&day); if((month==2&&day==30)||(month==2...
分类:
其他好文 时间:
2014-08-14 23:49:26
阅读次数:
243
Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may complet...
分类:
其他好文 时间:
2014-08-14 23:19:46
阅读次数:
240
#include void main(){ int year,month,day,daynum; printf("请输入年月日,用,号隔开,格式列(2014,5,12)\n"); scanf("%d,%d,%d",&year,&month,&day); switch(month) { case...
分类:
其他好文 时间:
2014-08-14 23:06:48
阅读次数:
276