摘要:
题目传送门 Balanced Lineup Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 64655 Accepted: 30135 Case Time Limit: 2000MS Description For the dai 阅读全文
摘要:
Drainage Ditches Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 85250 Accepted: 33164 Description Every time it rains on Farmer John's fie 阅读全文
摘要:
题目描述: 链接:https://www.nowcoder.com/acm/contest/141/C来源:牛客网Eddy likes to play cards game since there are always lots of randomness in the game. For most 阅读全文
摘要:
int n,m; int v[MAX],w[MAX]; int dp[MAX]; bool path[MAX][MAX]; int V; void solve() { memset(dp,0,sizeof(dp)); memset(path,false,sizeof(path)); for(int i=0;i=w[i];j--) if(dp[j-w[i]]+v... 阅读全文
摘要:
题目传送门 J - Fire! Joe works in a maze. Unfortunately, portions of the maze have caught on fire, and the owner of the maze neglected to create a fire escap 阅读全文