1.music every day 广告背景音乐(作者是rob
simonsen,曲名red)2.photo every day 广告背景音乐(作者是rob simonsen,曲名red)3.wwdc 2013
开场动画背景音乐(作者:Keith Kenniff 曲名 receives)下表介绍了苹...
分类:
移动开发 时间:
2014-05-17 14:09:23
阅读次数:
860
题目1:Best Time to Buy and Sell Stock
Say you have an array for which the ith element is the price of a given stock on day i.
If you were only permitted to complete at most one transaction (ie,...
分类:
其他好文 时间:
2014-05-16 01:46:15
阅读次数:
460
void GregorianDay(struct rtc_time * tm){ int
leapsToDate; int lastYear; int day; int MonthOffset[] = {
0,31,59,90,120,151,181,212,243,273,304,334 }; l...
分类:
其他好文 时间:
2014-05-15 11:38:36
阅读次数:
488
链接: http://soj.me/1732
Constraints
Time Limit: 1 secs, Memory Limit: 32 MB
Description:
Alice is a beautiful and clever girl. Bob would like to play with Alice.
One day, Alice got a very ...
分类:
其他好文 时间:
2014-05-15 03:20:59
阅读次数:
383
An problem about date
时间限制:2000 ms | 内存限制:65535 KB
难度:2
描述
acm的iphxer经常忘记某天是星期几,但是他记那天的具体日期,他希望你能写个程序帮帮他。
输入每行有三个整数 year,month,day,日期在1600年1月1日到9600年1月1日之间;
输出输出对应的星期,用一个整...
分类:
其他好文 时间:
2014-05-15 00:19:14
阅读次数:
380
1、
??
Distinct Subsequences
Given a string S and a string T, count the number of distinct subsequences of T in S.
A subsequence of a string is a new string which is formed from the original str...
分类:
其他好文 时间:
2014-05-14 20:22:58
阅读次数:
275
Total Accepted: 8400 Total Submissions: 38235 My Submissions
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 profi...
分类:
其他好文 时间:
2014-05-14 19:39:53
阅读次数:
275
1 #include 2 #include 3 using namespace std; 4
5 int main() 6 { 7 int year,month,day; 8 9 char a;10 int days_of_month1[13] =
{0,31,29...
分类:
其他好文 时间:
2014-05-13 22:03:48
阅读次数:
375
原题:
Say you have an array for which the ith element is the price of a given stock on day i.
If you were only permitted to complete at most one transaction (ie, buy one and sell one share of th...
分类:
其他好文 时间:
2014-05-13 14:12:41
阅读次数:
342
表驱动法:是一种编程模式将选择条件ifelse查表换成直接查表switch(month){case1,3,5,7,8,10,12:day=30;break;case2:day=28;break;default:day=30;break;}换成:day【mouthLen】={31283130313031,,,}
分类:
其他好文 时间:
2014-05-13 04:13:07
阅读次数:
242