摘要:
//算法实现#include #include using namespace std;typedef struct Node{ int num; int code; struct Node *next;}NODE;int n,m,len;int resultnum[500];in... 阅读全文
摘要:
Ignatius and the Princess IIITime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15794Accepted Submiss... 阅读全文
摘要:
小希的迷宫 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路... 阅读全文
摘要:
Filthy Rich Time Limit:5000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description They say that in Phrygia, the streets are paved with gol... 阅读全文
摘要:
Can you find it? Time Limit:3000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u DescriptionGive you three sequences of numbers A, B, C, then we... 阅读全文
摘要:
转自 https://blog.csdn.net/sun897949163/article/details/49559679?utm_source=blogxgwz5 https://www.cnblogs.com/ghostTao/p/3974115.html 另附 动态规划讲解(股票问题) ht 阅读全文
摘要:
Max Sum Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u DescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to cal... 阅读全文
摘要:
三角形 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description 用N个三角形最多可以把平面分成几个区域?Input 输入数据的第一行是一个正整数T(1 2 #include 3 4 d... 阅读全文
摘要:
畅通工程续 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description某省自从实行了很多年的畅通工程计划后,终于修建了很多路。不过路多了也不好,每次要从一个城镇到另一个城镇时,都有许多种道路方案可... 阅读全文
摘要:
Catch That CowTime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u DescriptionFarmer John has been informed of the location of a fugit... 阅读全文