Unshuffle Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 148 Accepted Submission(s): 43Special Judge Problem Description A shuffle of two strings is formed by interspersing the characters in…
每层找一对相等的整数,分别放在两个不同的串中. 参考了学弟的解法,果断觉得自己老了…… #include <cstdio> #include <cstring> #include <cstdlib> ; int n; int num[MAXN]; int vis[MAXN]; bool DFS( int st, int last, int cur ) { ) return true; for ( int i = st; i < n; ++i ) ) { vis[i…
Cannon Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 965 Accepted Submission(s): 556 Problem Description In Chinese Chess, there is one kind of powerful chessmen called Cannon. It can move…
Lamp Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 771 Accepted Submission(s): 230 Special Judge Problem Description There are several switches and lamps in the room, however, the connecti…
题目链接 problem description Little Ruins is a studious boy, recently he learned addition operation! He was rewarded some number bricks of 11 to 99 and infinity bricks of addition mark '+' and equal mark '='. Now little Ruins is puzzled by those bricks b…
Tempter of the Bone Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 107138 Accepted Submission(s): 29131 Problem Description The doggie found a bone in an ancient maze, which fascinated him a…