摘要:Problem A#include using namespace std;#include const int maxn=1010;int used[maxn];int link[maxn];vector V[maxn];bool dp(int u){ int size = V[u].size(); for(int i=0; i>k,k) { cin>>n>>m; for (int i=0;i>a>>b; V[a].push_back (b+500); }/* for (i=0;i<10;i++)...
阅读全文
摘要:Time Limit : 2000/1000ms (Java/Other)Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 45Accepted Submission(s) : 23#include #include using namespace std;char str1[1005]; char str2[1005]; int dp[1005][1005];int max(int a,int b){ int c=a>b?a:b; return c;}int main() { int i,j;...
阅读全文
摘要:寒冰王座Time Limit : 2000/1000ms (Java/Other)Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 62Accepted Submission(s) : 30Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem Description不死族的巫妖王发工资拉,死亡骑士拿到一张N元的钞票(记住,只有一张钞票),为了防止自己在战斗中频繁的死掉,他决定给自己买一些道具,于是他来到了地精商店前.死亡骑士:"我要买道具!
阅读全文
摘要:Time Limit : 2000/1000ms (Java/Other)Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 47Accepted Submission(s) : 21Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem DescriptionSpeakless很早就想出国,现在他已经考完了所有需要的考试,准备了所有要准备的材料,于是,便需要去申请学校了。要申请国外的任何大学,你都要交纳一定的申请费用,这可是很惊人的。Speakless
阅读全文
摘要:Time Limit : 2000/1000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 117Accepted Submission(s) : 42Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem DescriptionMany years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man li
阅读全文