码迷,mamicode.com
首页 >  
搜索关键字:day    ( 6063个结果
苹果广告背景音乐大全【转】
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
Best Time to Buy and Sell Stock I && II && III
题目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
Sicily 1732 Alice and Bob (二进制数的最大公约数)
链接: 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
NYOJ219 An problem about date 【数学】
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
leetcode -day 15 Distinct Subsequences
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
Best Time to Buy and Sell Stock III
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
杭电2005
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
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, 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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!