码迷,mamicode.com
首页 >  
搜索关键字:sicily    ( 285个结果
Sicily 1814. 日期计算问题
【转自网络大神,由本人整理】 Description 试用 C++的类来表示日期,给定 2 个日期 yyyy.mm.dd 求两个日期间相差的天数。   Input 第 1 行为一个正整数T,表示测试数。 对于每个测试点,第 1 行与第 2 行分别有两个日期 yyyy.mm.dd。   Output 对于每个测试点,输出一行数字,表示相差的天数。...
分类:其他好文   时间:2015-04-28 16:16:09    阅读次数:183
Sicily 1780. Faulty Odometer Again
Description You are given a car odometer which displays the miles traveled as an integer. The odometer has a defect, however: it proceeds from the digit 1 to the digit 3, from the digit 4 to the di...
分类:其他好文   时间:2015-04-28 16:16:02    阅读次数:167
Sicily 14181. Flying Safely
14181. Flying Safely Constraints Time Limit: 1 secs, Memory Limit: 256 MB Description Due to budget cuts, even spies have to use commercial airlines nowadays to travel between cities...
分类:其他好文   时间:2015-04-27 10:00:29    阅读次数:195
sicily 有向图边的分类
http://soj.sysu.edu.cn/show_problem.php?pid=1005&cid=1779 1 #include 2 3 using namespace std; 4 5 int graph[101][101]; 6 int kind[101][101]; 7 int...
分类:其他好文   时间:2015-04-26 18:18:43    阅读次数:141
sicily 1028 Hanoi Tower Sequence
1 #include 2 3 using namespace std; 4 5 int a[250]; 6 7 int cal(int a[],int n) { 8 int cnt=1; 9 while (a[n-1]%2==0) {10 cnt++;11 ...
分类:其他好文   时间:2015-04-22 11:01:50    阅读次数:151
Sicily 14184. Incognito
14184. Incognito Constraints Time Limit: 1 secs, Memory Limit: 256 MB Description Spies use attributes to disguise themselves to make sure that they are not recognized. For example, ...
分类:其他好文   时间:2015-04-20 09:30:38    阅读次数:147
Sicily 7693. Cards
7693. Cards Constraints Time Limit: 15 secs, Memory Limit: 256 MB Description There are many blue cards and red cards on the table. For each card, an integer number greater than 1 is...
分类:其他好文   时间:2015-04-15 09:47:29    阅读次数:233
Sicily 13460. Passwords
13460. Passwords Constraints Time Limit: 1 secs, Memory Limit: 256 MB Description Mirko is an evil plotting genius and has gotten hold of a list of all possible passwords for a certa...
分类:其他好文   时间:2015-04-13 23:03:03    阅读次数:241
Sicily 13980. Record Keeping
13980. Record Keeping Constraints Time Limit: 1 secs, Memory Limit: 256 MB Description Farmer John has been keeping detailed records of his cows as they enter the barn for milking. E...
分类:其他好文   时间:2015-04-13 12:59:47    阅读次数:132
Sicily 13981. Cow Baseball
13981. Cow Baseball Constraints Time Limit: 1 secs, Memory Limit: 256 MB Description Farmer John's N cows (3 As Farmer John watches, he observes a group of three cows (X,Y,Z) com...
分类:其他好文   时间:2015-04-13 12:59:05    阅读次数:156
285条   上一页 1 ... 8 9 10 11 12 ... 29 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!