摘要:
You are to write a program that has to decide whether a given line segment intersects a given rectangle. An example: line: start point: (4,9) end poin 阅读全文
摘要:
Count the string It is well known that AekdyCoin is good at string problems as well as number theory problems. When given a string s, we can write dow 阅读全文
摘要:
Seek the Name, Seek the Fame Seek the Name, Seek the Fame The little cat is so famous, that many couples tramp over hill and dale to Byteland, and ask 阅读全文
摘要:
#include using namespace std; const int m = 110010; char s[m*2]; int mp[m*2]; char ma[2*m]; int l,len; void manacher(){ l = 0; ma[l++] = '$'; ma[l++] = '#'; for (int i = 0;i i ? min... 阅读全文
摘要:
YJJ's Salesman Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 253 Accepted Submission(s): 62 Pro 阅读全文
摘要:
Ignatius and the Princess III Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 25867 Accepted Subm 阅读全文